Browse Prior Art Database

A simple method for measuring, accumulating and multiple reading of total durations (holding times) within given consecutive time intervals

IP.com Disclosure Number: IPCOM000011417D
Published in the IP.com Journal: Volume 3 Issue 3 (2003-03-25)
Included in the Prior Art Database: 2003-Mar-25
Document File: 2 page(s) / 70K

Publishing Venue

Siemens

Related People

Juergen Carstens: CONTACT

Abstract

The idea is to use a structure with one single and three triple counters instead of a special counter structure used up to now to realize a simple method for measuring, accumulating and multiple reading of total duration within given consecutive accumulation time intervals. (A) # CURRENT ACTIVE STATES (B1) # BEGIN TIMES (B2) # BEGIN TIMES (B3) # BEGIN TIMES (C1) # END TIMES (C2) # END TIMES (C3) # END TIMES (D1) HELP VALUE (D2) HELP VALUE (D3) HELP VALUE

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 50% of the total text.

Page 1 of 2

S

© SIEMENS AG 2003 file: 2002J18328.doc page: 1

A simple method for measuring, accumulating and multiple reading of total durations (holding times) within given consecutive time intervals

Idea: Matthias Kesper, DE-Munich; Thomas Haiduk, DE-Munich

The idea is to use a structure with one single and three triple counters instead of a special counter structure used up to now to realize a simple method for measuring, accumulating and multiple reading of total duration within given consecutive accumulation time intervals.

(A) # CURRENT ACTIVE STATES

(B1) # BEGIN TIMES (B2) # BEGIN TIMES (B3) # BEGIN TIMES

(C1) # END TIMES (C2) # END TIMES (C3) # END TIMES

(D1) HELP VALUE (D2) HELP VALUE (D3) HELP VALUE

One part (B1), (C1), (D1) of the triple counters is active, so it can be incremented or decremented by according events. A second part (B2), (C2), (D2) is passive. It contains the values of the last completed time interval and can be read out by user applications. The third idle part (B3), (C3), (D3) is or will be initialized.

At the moment of time interval switching (the end of a accumulation time interval) the active part becomes passive, the passive part becomes idle and the idle part becomes active. This is realized via a simple array index switch.

With this triple counter construction the passive counters can be read out as often as necessary. There is no special synchronizing of multiple reading out and initializing processes necessary. This means that the total duration can be calculated from the passive part of the counters at any time the counters are read and there is an independent idle part that is prepared to get the new active part with the next interval switch.

The counter '# CURRENT ACTIVE STATES' (A) contains the total number of active states currently included in the measurement. It is incremented with a begin event and decremented with an end event. So, it is the current number of begin events for that no end events were received until now.

The counter '# BEGIN TIMES' (Bx) contains the number of begin events registered during the actual interval (B1) respectively during the last completed interval (B2).

The counter '# END TIMES' (Cx) contains the number of begin events registered during the actual interval (C1) respectively during the last completed interval (C2).

The 'HELP VALUE' (Dx) contains the sum of the negative time reference counter value (NEGATIVE_REF_TIME) of the moments of all begin events and the positive time reference counter value (POSITIVE_REF_TIME) of the moments of all end events during the actual interval (D1) respectively the last interval (D2).

A system clock provides the two complementary time reference counters NEGATIVE_REF_TIME. POSITIVE_REF_TIME is incremented every second. The sum of these two counters is always zero at the same time.

The counters of the structure are handled in the following way:

With t...