US5440602A - Method and device for counting clock pulses for measuring period length - Google Patents

Method and device for counting clock pulses for measuring period length Download PDF

Info

Publication number
US5440602A
US5440602A US08/234,155 US23415594A US5440602A US 5440602 A US5440602 A US 5440602A US 23415594 A US23415594 A US 23415594A US 5440602 A US5440602 A US 5440602A
Authority
US
United States
Prior art keywords
counter
channel
period
measuring
count
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
US08/234,155
Inventor
Helmut Gimmler
Ulrich Nester
Dinh D. Tu
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Daimler Benz AG
Original Assignee
Daimler Benz AG
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daimler Benz AG filed Critical Daimler Benz AG
Assigned to DAIMLER BENZ reassignment DAIMLER BENZ ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: TU, DINH DINH, GIMMLER, HELMUT, NESTER, ULRICH
Application granted granted Critical
Publication of US5440602A publication Critical patent/US5440602A/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/02Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage
    • G01R23/10Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage by converting frequency into a train of pulses, which are then counted, i.e. converting the signal into a square wave
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/02Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage

Definitions

  • the invention relates to a method and a device for counting clock pulses for the purpose of measuring period lengths which occur in one or more measuring channels arranged in parallel.
  • Such a method is used, for example, for the high-precision measurement of the speed characteristic of shafts and wheels of driving or driven systems.
  • a co-rotating device for example a toothed wheel or an optical pulse disc
  • incremental marks are arranged at an equidistant angular spacing.
  • the incremental marks pass by a sensor head and cause measurement events there, for example the transition from optical transparency to opacity and vice versa in the case of an optical pulse disc, the temporal spacing of which events is a measure of the rotational angle of the rotating system. It is possible in this way to determine the speed via a period length measurement by counting temporally equidistant clock pulses during a respective period situated between two such events.
  • Such pulse counting is performed in one or more measuring channels each of which is assigned a specific period length sequence.
  • a measuring channel corresponds to each disc track in the case of an optical pulse disc.
  • the period lengths can vary between very high values, corresponding to a very slowly rotating system, and very small values, corresponding to a very quickly rotating system. If period lengths within a large range of values are to be detected, resolving short period lengths requires the use of a high reference clock frequency for the clock pulses, which can be over 10 MHz, for example, while detecting long period lengths, a correspondingly high counting capacity for the pulse counting is required. If one individual, separate counter is provided per measuring channel, this counter is therefore to be dimensioned appropriately large, that is to say its counting capacity must cover the longest period to be expected. In the case of high clock frequencies, the readout time required for such a counter can become larger than the spacing between two clock pulses.
  • the known period measurement by means of pulse counting using two alternating counters per measuring channel is a relative time measurement, that is to say the absolute time from the start of measurement is yielded by summing all the measured individual period lengths of a measuring channel, as a result of which there is the risk that individual errors are likewise summed, and this can be attended by the loss of a correct time reference between different measuring channels.
  • An object of the present invention is to provide a method and a device for counting clock pulses which in conjunction with a low outlay on components permits error-free measurement even of comparatively long period lengths in simultaneous conjunction with a high temporal resolution for comparatively short period lengths.
  • the present invention provides a method for counting clock pulses for measuring period lengths in a number n of measuring channels with n greater than or equal to one, during a prescribed measurement period, comprising the steps:
  • the present invention has the advantage that only a single channel counter and a main counter common to all the channels are required per measuring channel.
  • the low outlay on components is the more effective the more measuring channels are present.
  • a high clock frequency can be used for the purpose of period length measurement, since the main counter continues to count uninterruptedly.
  • the lower-order count position part corresponding in its counting capacity to the respective channel counter, therefore does not need to be stopped, since the corresponding counting result is taken from the channel counter and is therefore able to count further even during a readout operation of a channel counter and of the higher-order count position part of the main counter. Consequently, even the clock pulses occurring during a readout operation, which by their nature have a stronger effect in changing a count position the lower the order of the count position, can be detected without gaps, that is to say counted. This permits the use of clock frequencies which the time intervals of the pulses are smaller than the time required to read out the counter, without there being a need to provide for each counting channel two channel counters or in each case a large channel counter corresponding in capacity to the existing main counter.
  • each measuring channel is additionally assigned a carry counter and a register therefor, the carry counter needing to have only a very low counting capacity, that is to say one or a few count positions. Its count positions adjoin the highest-order count position of the respective channel counter and to this extent overlap with the lower-order range of the higher-order count position part of the main counter.
  • a correct count value is obtained even if one or more of the channel counters should overflow in the meantime during reading out of a count value, previously obtained and stored in the main counter register, from this register.
  • Each such overflowing of a channel counter then results in an increase by one in the count value in the assigned carry counter.
  • the main counter is to be at least so large that it can count all the pulses occurring within a period of maximum length, while the channel counters together with optionally provided carry counters must be so large that they are able to detect the pulse number during the readout time for all active channels by means of a control computer.
  • the main counter is so large that it can count all the pulses occurring within the total measurement period, and the channel is dimensioned together with the carry counters in such a way that they are able to count a period of maximum length occurring in the respective measuring channel. This permits continuous measurement of absolute time during the total measurement period without additional software measures, and this overcomes the difficulties of the known relative time measurement.
  • the juxtaposition of the individual period lengths means that even a single occurrence of a stochastic error, for example a peak on the measurement signal, leads to shifting of all the following measured values on the time axis, which in the case of multichannel measurements of period lengths or in the case of a measurement, carried out in parallel, of other physical quantities, for example a pressure or torque, leads to a loss of the mutual time reference between the measuring channels.
  • a stochastic error for example a peak on the measurement signal
  • other physical quantities for example a pressure or torque
  • FIG. 1 shows a block diagram of a device for multi channel counting of clock pulses, construed in accordance with an embodiment of the present invention.
  • FIG. 2 shows a diagrammatic representation of a speed measuring device and of the measurement signal generated by it.
  • the counting device in FIG. 1 is used to determine period lengths of an incremental mark speed measuring device as represented in FIG. 2.
  • a toothed wheel (2) of which only a detail is shown and on which a measuring head (1) is arranged, is provided as the incremental mark device.
  • the measuring head (1) supplies a measurement signal (3) whose time-dependent amplitude characteristic is shown diagrammatically in FIG. 2, in a graph.
  • the respective period lengths tp 1 , tp 2 , . . .
  • the instant (E 10 , E 11 , . . .) of the positive zero crossing of the measurement signal (3) is selected in each case as the beginning or end of a period.
  • the period lengths (tp 1 , . . .) are determined for their part due to the fact that the pulses of a reference clock source, which occur respectively during a period length, are counted by the counting device of FIG. 1, which is described in more detail below. For this purpose, it is preferable to use clock frequencies of 10 MHz or higher for a high precision speed measurement.
  • the counting device in FIG. 1 has one m-digit channel counter (KZ 1 , . . . . KZ n ), that is to say m i 32 m for all i from 1 to n, for each of a number n of measuring channels.
  • the counting device also has a singler h-digit main counter (HZ), which is divided symbolically in FIG. 1 into a lower main part, (lower-order count position part) (HZu) and an upper main part, (higher-value count position part) (HZo).
  • the lower part (HZu) forms an m-digit counter part having a lowest-order count position s 0 and adjoining count positions s 1 to s m-1 , and thus corresponds to the similarly dimensioned m-digit channel counters (KZ 1 , . . . KZ n ).
  • the counting device of FIG. 1 in each case comprises a carry counter (UZ n , . . ., UZ n ) for each of the n measuring channels.
  • These carry counters (Z 1 to UZ n ) are of e,uml u ⁇ -digit design in each case and adjoin the highest-order count position (s m-1 ) of the channel counters (KZ.sub. 1 to KZ n ), with the result that they overlap with the u lower-order count positions (s m to s u+m-1 ) of the upper main counter part (HZo) of the main counter (HZ).
  • All the counters are binary counters, since their outputs signals are particularly suitable for further processing inside a computer, so that, for example, the maximum count value of the m-digit channel counters (KZ 1 to KZ n ) is in each case 2 m -1 and that of the h-digit main counter (HZ) is 2 h -1.
  • the maximum count value of the m-digit channel counters KZ 1 to KZ n
  • the h-digit main counter HZ
  • the channel counters (KZ 1 to KZ n ), the carry counters (UZ 1 to UZ n ) and the upper main counter part (HZo) are each assigned a dedicated register (KR 1 to KR n ), (UR 1 to UR n ) and (HZR), in which count values can be intermediately stored and thereafter spread out therefrom.
  • the two counters (HZ, KZ 1 ) are simultaneously started from the value of zero in order to count clock pulses of a reference clock source (not shown).
  • the end of a period is detected in the first measuring channel which in this example is the only active one and the channel counter (KZ 1 ) is stopped. Its value is intermediately stored in the assigned channel counter register (KR 1 ).
  • the value of the higher-order main counter part (HZo) is likewise stored in the main counter register (HZR).
  • storage of the respective current count values is performed continuously, but it is also possible not to undertake storage in each case until the detection of stopped counters.
  • registers (KR 1 , HZR) are subsequently read out by a control computer (not shown).
  • the two count values read out are recombined in the computer to form a total count value whose m lower-order digits result from the channel counter (KZ 1 ) and whose h-m higher-order digits result from the upper main counter part (HZo), and which represent a measure of the period of time (ta 1 ) which has elapsed between the start of measurement at the instant (E 10 ) and the end of the first measurement period at the instant (E 11 ).
  • this channel counter (KZ 1 ) After storage of the count value of the stopped channel counter (KZ 1 ) in its register (KR 1 ), this channel counter (KZ 1 ) is reactivated and synchronized with the counter reading of the lower main counter part (HZu), which has not been stopped, with the result that this channel counter (KZ 1 ) again recovers the counting pulses possibly occurring in the meantime and otherwise lost by the stoppage of the channel counter (KZ 1 ).
  • this type of measurement of the absolute time intervals (ta 1 , ta 2 etc.) from the start of measurement preserves the information on the temporal relationship to period characteristics on other measuring channels and/or measurements, carried out simultaneously, of other magnitudes such as, for example, a measurement of pressure or torque.
  • this type of absolute time measurement in which the main counter carries on counting from the start of measurement up to the end of measurement without interruption, there is no occurrence of errors as in the known relative time measurement of respectively the individual period lengths (tp 1 , tp 2 , etc.) and their subsequent joining together. Such errors can be produced due to an accumulation of individual errors in the time determination of an individual measurement period.
  • KZ i a further channel counter
  • KR i associated channel counter register
  • the invention produces a considerable saving in components, particularly for a large number of measuring channels, since there is a need to provide only a single large main counter and, for each measuring channel, only a single channel counter.
  • This blockage is terminated when all the channel and carry counters which correspond to the previous state of the upper main counter part (HZo) have been read out by the control computer.
  • the channel counters are synchronized again with the lower main counter part (HZu).
  • the control computer adds the count value coming from the carry counter to the count value coming from the main counter register (HZR) and subsequently combines this in turn with the counter reading from the associated channel counter register.
  • the arrangement of tile carry counters is favorable in particular in the case of a large number of measuring channels, since readout operations are to be sequentially carried out correspondingly frequently in different measuring channels, while the latter are respectively blocked from storing the current counter reading of the upper main counter part (HZo).
  • Carry and channel counters are to be designed together such that the maximum channel-specific count value they can achieve is just greater than the product of the number of the channels, the readout time for a channel and the frequency of the reference clock pulse, in order to ensure an error-free determination of all the period-end count values.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Frequencies, Analyzing Spectra (AREA)
  • Measurement Of Unknown Time Intervals (AREA)

Abstract

Method and device for counting clock pulses for the purpose of determining period length works in accordance with an absolute time measuring principle, provides at least a single main counter which runs uninterruptedly from the start of measurement to the end of measurement and a channel counter for each of a number n of measuring channels. By stopping a channel counter at the associated measurement period end and reading out the counter reading thereof as well as that of a supplementary upper main counter part which contains the higher-order count positions, a determination is made of the total time elapsed from the start of measurement up to the respective detected period end, and thereafter the target period lengths are determined by forming the difference of successive count values. The invention can be used, for example, for the high-precision measurement of the speed of a system rotating about an axis.

Description

BACKGROUND AND SUMMARY OF THE INVENTION
The invention relates to a method and a device for counting clock pulses for the purpose of measuring period lengths which occur in one or more measuring channels arranged in parallel.
Such a method is used, for example, for the high-precision measurement of the speed characteristic of shafts and wheels of driving or driven systems. In this case, a co-rotating device, for example a toothed wheel or an optical pulse disc, is provided on which incremental marks are arranged at an equidistant angular spacing. The incremental marks pass by a sensor head and cause measurement events there, for example the transition from optical transparency to opacity and vice versa in the case of an optical pulse disc, the temporal spacing of which events is a measure of the rotational angle of the rotating system. It is possible in this way to determine the speed via a period length measurement by counting temporally equidistant clock pulses during a respective period situated between two such events. Such pulse counting is performed in one or more measuring channels each of which is assigned a specific period length sequence. Thus, a measuring channel corresponds to each disc track in the case of an optical pulse disc.
The period lengths can vary between very high values, corresponding to a very slowly rotating system, and very small values, corresponding to a very quickly rotating system. If period lengths within a large range of values are to be detected, resolving short period lengths requires the use of a high reference clock frequency for the clock pulses, which can be over 10 MHz, for example, while detecting long period lengths, a correspondingly high counting capacity for the pulse counting is required. If one individual, separate counter is provided per measuring channel, this counter is therefore to be dimensioned appropriately large, that is to say its counting capacity must cover the longest period to be expected. In the case of high clock frequencies, the readout time required for such a counter can become larger than the spacing between two clock pulses. In order not to lose any pulses, which could give rise to measurement errors, it is known to arrange two similar channel counters per measuring channel in each case. Of these, one is respectively in counting operation during a period while the other is stopped, and its value is stored in an associated register and thereupon said counter is reset to zero and restarted at the beginning of the next period. At the end of one period and the simultaneous start of the next period, the active counting functions of the two counters alternate correspondingly. It is therefore necessary in this mode of procedure either to provide two counters per measuring channel with a counting capacity adapted to the longest period to be expected, or else to provide prescaling of the reference clock frequency. The first solution necessitates a corresponding outlay on components, and the second solution can impair the measurement accuracy, and leads to complicated and error-rife case discriminations in the evaluation of measured data.
The known period measurement by means of pulse counting using two alternating counters per measuring channel is a relative time measurement, that is to say the absolute time from the start of measurement is yielded by summing all the measured individual period lengths of a measuring channel, as a result of which there is the risk that individual errors are likewise summed, and this can be attended by the loss of a correct time reference between different measuring channels.
An object of the present invention is to provide a method and a device for counting clock pulses which in conjunction with a low outlay on components permits error-free measurement even of comparatively long period lengths in simultaneous conjunction with a high temporal resolution for comparatively short period lengths.
This and other objects are achieved by the present invention which provides a method for counting clock pulses for measuring period lengths in a number n of measuring channels with n greater than or equal to one, during a prescribed measurement period, comprising the steps:
a) simultaneously starting, at a start of measurement, of mi -digit channel counters separately provided for each measuring channel, and an h-digit main counter, h being greater than all the m1,
b) upon occurrence of a period end in one of the measuring channels, stopping the channel counter of that measuring channel and reading out mj count positions from that channel counter, reading out h-mj higher-order count positions of the main counter and forming an L-digit total count value, which combines the two read-out count positions and represents a temporal spacing of said period end from the start of measurement,
c) after readout of the channel counter, starting this channel counter again and synchronized with the mj lower-value count positions of the main counter, which have continued to run,
d) repeating steps b) and c) up to a specifiable measurement period end, and
e) respectively determining the number of counting pulses which has occurred between the start and the end of each period of each measuring channel and is representative of the respective period length, by subtracting the count value belonging to the period start from the count value belonging to the period end for each period.
The present invention has the advantage that only a single channel counter and a main counter common to all the channels are required per measuring channel. The low outlay on components is the more effective the more measuring channels are present. A high clock frequency can be used for the purpose of period length measurement, since the main counter continues to count uninterruptedly. By stopping the associated channel counter at the end of each period within a measuring channel and reading out the value counted by this counter as well as reading out the higher-order count position part of the main counter, the absolute duration of the time elapsed from the start of measurement up to this period end is detected in each case, and the respective period length is determined by forming the difference of two successive count values.
The lower-order count position part, corresponding in its counting capacity to the respective channel counter, therefore does not need to be stopped, since the corresponding counting result is taken from the channel counter and is therefore able to count further even during a readout operation of a channel counter and of the higher-order count position part of the main counter. Consequently, even the clock pulses occurring during a readout operation, which by their nature have a stronger effect in changing a count position the lower the order of the count position, can be detected without gaps, that is to say counted. This permits the use of clock frequencies which the time intervals of the pulses are smaller than the time required to read out the counter, without there being a need to provide for each counting channel two channel counters or in each case a large channel counter corresponding in capacity to the existing main counter.
In certain embodiments of the invention, there are arranged, for a higher-order count position part of the main counter and for each channel counter, registers in which the existing count value is stored at the period end in order for it to be read out from there for further processing, for example in a computer.
In certain embodiments of the invention, each measuring channel is additionally assigned a carry counter and a register therefor, the carry counter needing to have only a very low counting capacity, that is to say one or a few count positions. Its count positions adjoin the highest-order count position of the respective channel counter and to this extent overlap with the lower-order range of the higher-order count position part of the main counter. When such carry counters are arranged, a correct count value is obtained even if one or more of the channel counters should overflow in the meantime during reading out of a count value, previously obtained and stored in the main counter register, from this register. Each such overflowing of a channel counter then results in an increase by one in the count value in the assigned carry counter.
The main counter is to be at least so large that it can count all the pulses occurring within a period of maximum length, while the channel counters together with optionally provided carry counters must be so large that they are able to detect the pulse number during the readout time for all active channels by means of a control computer. This guarantees in satisfying a real-time condition for readout that no readout errors occur even in the most unfavorable case in which in each case an immediately adjacent channel and carry counter stops shortly before the end of the readout operation for a preceding measuring channel and is due for readout. It is preferred for all the carry counters to be reset jointly to zero after the end of such a readout chain, but it is also possible to reset each carry counter separately after its readout.
In certain embodiments of the invention, the main counter is so large that it can count all the pulses occurring within the total measurement period, and the channel is dimensioned together with the carry counters in such a way that they are able to count a period of maximum length occurring in the respective measuring channel. This permits continuous measurement of absolute time during the total measurement period without additional software measures, and this overcomes the difficulties of the known relative time measurement.
In the known relative time measurement the juxtaposition of the individual period lengths means that even a single occurrence of a stochastic error, for example a peak on the measurement signal, leads to shifting of all the following measured values on the time axis, which in the case of multichannel measurements of period lengths or in the case of a measurement, carried out in parallel, of other physical quantities, for example a pressure or torque, leads to a loss of the mutual time reference between the measuring channels. By contrast, the absolute time measurement according to the present invention has the further advantage that only the time reference of the defective measured value is lost, whereas the time reference of all of the following measured values is retained, and this permits the mutual temporal assignment.
Furthermore, in the known relative time measurement using two counters per measuring channel, switching over between these could lead to inaccuracies in counting the reference frequency, which add up given the juxtaposition of the individual period lengths to form the time characteristic of the entire measurement operation. The absolute time measurement of the present invention, with the continuously counting, non-stop main counter avoids this potential source of error.
In addition, during an operation with essentially similar period lengths it is possible with this absolute time measurement for missing measured values due to stochastic errors, for example in the case of storage of count values, to be detected as outliers which have approximately double the period length, whereas in the known relative time measurement such errors likewise cannot be detected in normal operation.
Other objects, advantages and novel features of the present invention will become apparent from the following detailed description of the invention when considered in conjunction with the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 shows a block diagram of a device for multi channel counting of clock pulses, construed in accordance with an embodiment of the present invention.
FIG. 2 shows a diagrammatic representation of a speed measuring device and of the measurement signal generated by it.
DETAILED DESCRIPTION OF THE DRAWINGS
In the illustrated exemplary embodiment of the present invention, the counting device in FIG. 1 is used to determine period lengths of an incremental mark speed measuring device as represented in FIG. 2. A toothed wheel (2), of which only a detail is shown and on which a measuring head (1) is arranged, is provided as the incremental mark device. The measuring head (1) supplies a measurement signal (3) whose time-dependent amplitude characteristic is shown diagrammatically in FIG. 2, in a graph. In order to determine the speed of an element, which is not shown in more detail and rotates with the toothed wheel (2), the respective period lengths (tp1, tp2, . . .) are detected, one period corresponding to the rotational angle spacing of two teeth of the toothed wheel (2). The instant (E10, E11, . . .) of the positive zero crossing of the measurement signal (3) is selected in each case as the beginning or end of a period. The period lengths (tp1, . . .) are determined for their part due to the fact that the pulses of a reference clock source, which occur respectively during a period length, are counted by the counting device of FIG. 1, which is described in more detail below. For this purpose, it is preferable to use clock frequencies of 10 MHz or higher for a high precision speed measurement.
The counting device in FIG. 1 has one m-digit channel counter (KZ1, . . . . KZn), that is to say mi 32 m for all i from 1 to n, for each of a number n of measuring channels. The counting device also has a singler h-digit main counter (HZ), which is divided symbolically in FIG. 1 into a lower main part, (lower-order count position part) (HZu) and an upper main part, (higher-value count position part) (HZo). The lower part (HZu) forms an m-digit counter part having a lowest-order count position s0 and adjoining count positions s1 to sm-1, and thus corresponds to the similarly dimensioned m-digit channel counters (KZ1, . . . KZn). Moreover, the counting device of FIG. 1 in each case comprises a carry counter (UZn, . . ., UZn) for each of the n measuring channels. These carry counters (Z1 to UZn) are of e,uml u×-digit design in each case and adjoin the highest-order count position (sm-1) of the channel counters (KZ.sub. 1 to KZn), with the result that they overlap with the u lower-order count positions (sm to su+m-1) of the upper main counter part (HZo) of the main counter (HZ).
All the counters are binary counters, since their outputs signals are particularly suitable for further processing inside a computer, so that, for example, the maximum count value of the m-digit channel counters (KZ1 to KZn) is in each case 2m -1 and that of the h-digit main counter (HZ) is 2h -1. Depending on the application, however, it is also possible, of course, to use counters having more than two possible states per count position.
The channel counters (KZ1 to KZn), the carry counters (UZ1 to UZn) and the upper main counter part (HZo) are each assigned a dedicated register (KR1 to KRn), (UR1 to URn) and (HZR), in which count values can be intermediately stored and thereafter spread out therefrom.
The functioning of the counting device is explained below firstly in connection with the single channel speed measuring arrangement according to FIG. 2 and the measurement signal graph represented there. The use of the main counter (HZ) and of the first channel counter (KZ1) as well as of their associated registers (HZR, KR1) suffice to detect the single-channel measurement signal (3) represented.
At the start of measurement at the instant (E10), the two counters (HZ, KZ1) are simultaneously started from the value of zero in order to count clock pulses of a reference clock source (not shown). At the instant (E11), the end of a period is detected in the first measuring channel which in this example is the only active one and the channel counter (KZ1) is stopped. Its value is intermediately stored in the assigned channel counter register (KR1). The value of the higher-order main counter part (HZo) is likewise stored in the main counter register (HZR). In this embodiment, storage of the respective current count values is performed continuously, but it is also possible not to undertake storage in each case until the detection of stopped counters. These registers (KR1, HZR) are subsequently read out by a control computer (not shown). The two count values read out are recombined in the computer to form a total count value whose m lower-order digits result from the channel counter (KZ1) and whose h-m higher-order digits result from the upper main counter part (HZo), and which represent a measure of the period of time (ta1) which has elapsed between the start of measurement at the instant (E10) and the end of the first measurement period at the instant (E11). After storage of the count value of the stopped channel counter (KZ1) in its register (KR1), this channel counter (KZ1) is reactivated and synchronized with the counter reading of the lower main counter part (HZu), which has not been stopped, with the result that this channel counter (KZ1) again recovers the counting pulses possibly occurring in the meantime and otherwise lost by the stoppage of the channel counter (KZ1).
If at a later instant (E12) the end of the next measurement period is detected in this first measuring channel, the procedure described above for the instant (E11) is repeated, that is to say the associated channel counter (KZ1) is stopped and its counter reading and that of the upper main counter part (HZo) are stored in their respective registers (KR1, HZR) and read out from there, after which the channel counter (KZ1) is reactivated and synchronized with the lower main counter part (HZu). The total count value then determined corresponds to the time (ta2) which has elapsed from the instant (E10) of the start of measurement up to the instant (E12) of the measurement period end now detected.
This results in a sequence of time periods ta1, ta2, . . ., which is represented by the sequential count values for a measuring channel and corresponds to the temporal spacing of a respective measurement period end (E1i ; i=1, 2, . . .) from the start of measurement (E10), as follows from the graph part of FIG. 2. It is now possible from this to use the control computer to determine the individual target period lengths (tp1, tp2, . . .) by subtracting the preceding total count value from a subsequent total count value. The count value resulting therefrom clearly corresponds to the length of the measurement period between the two instants that belong to these total count values. At the same time, this type of measurement of the absolute time intervals (ta1, ta2 etc.) from the start of measurement preserves the information on the temporal relationship to period characteristics on other measuring channels and/or measurements, carried out simultaneously, of other magnitudes such as, for example, a measurement of pressure or torque. In this type of absolute time measurement, in which the main counter carries on counting from the start of measurement up to the end of measurement without interruption, there is no occurrence of errors as in the known relative time measurement of respectively the individual period lengths (tp1, tp2, etc.) and their subsequent joining together. Such errors can be produced due to an accumulation of individual errors in the time determination of an individual measurement period.
If the measuring device has further measuring channels, for example in the use of a plurality of mutually independent incremental mark toothed wheels or of a multitrack optical pulse disc in an arrangement otherwise similar to FIG. 2, these further measuring channels are assigned by the counting device of FIG. 1 in each case a further channel counter (KZi ; i=2, . . .) and an associated channel counter register (KRi). Whenever in one of the measuring channels a period end is detected, the associated channel counter is stopped and, just like that of the upper main counter part (HZo), its counter value is stored in the associated register and subsequently read out, while the main counter (HZ) and the remaining channel counters continue to run. Thereafter, the previously stopped channel counter is synchronized again with the lower main counterpart (HZu) and thus also with the remaining channel counters, which all count the same time.
Clearly, the invention produces a considerable saving in components, particularly for a large number of measuring channels, since there is a need to provide only a single large main counter and, for each measuring channel, only a single channel counter.
For multichannel applications, it is very expedient to arrange respectively one carry counter (UZ1, . . ., UZn) per measuring channel and one respectively assigned carry counter register (UR1, . . ., URn), such as the counting device shown in FIG. 1 has. To be specific, as long as the main counter register (HZR) has not yet been read out, it is necessary to prevent the same from being overwritten. Such an overwrite request can result from the fact that during the readout operation of a count value belonging to a previously determined period end of one measuring channel, a period end is likewise detected shortly thereafter in another measuring channel, and this requires the detection of the associated new count value. However, during the readout operation storage of new values in the main storage register (HZR) is blocked in order not to falsify the count value to be read out. There can be a change in the count value in the upper main counter register part (HZo) that occurred between the previously detected period end of the one measuring channel and the newly detected period end of the other measuring channel, for example a change in the value of the lowest-order count position (sm) of this upper main counter part (HZo) due to a running full or overrunning of the lower main counter part (HZu) and, synchronous therewith, of the channel counters (KZ1 to KZn) with the exception of the stopped channel counter. In this case, the protection against storing the value of the upper main counter part (HZo) in the main counter register (HZR) could lead to a defective determination of the count value for the newly detected period end, since the intermediate change in counter reading of the upper main counter part (HZo) would not be detected. This potential problem is prevented by the carry counters (UZ1 to UZn) provided by the present invention. Their u count positions adjoin the highest-order count position (sm-1) of the respective channel counter. In this case, their count position number u is preferably substantially smaller than the count position number m of the channel counters. In simple variant embodiments, a respectively single-digit carry counter, that is to say u=1, is sufficient in itself.
If during a readout operation one of the channel counters which has not been stopped overruns, and in association therewith the counter reading of the upper main counter part (HZo) changes, this information is not lost but is retained as a change in the counter reading of the assigned carry counter. If a period end is subsequently detected in such a measuring channel, the channel counter and the carry counter of this measuring channel are stopped and the counter readings are stored in their assigned registers. The carry counter of all the measuring channels are reset again to zero as soon as the blockage which prevents storage of the upper main counter part (HZo) in the associated register (HZR) during the readout operation is removed. This blockage is terminated when all the channel and carry counters which correspond to the previous state of the upper main counter part (HZo) have been read out by the control computer. In addition, the channel counters are synchronized again with the lower main counter part (HZu). In order to obtain the correct total count value belonging to the detected period end, the control computer adds the count value coming from the carry counter to the count value coming from the main counter register (HZR) and subsequently combines this in turn with the counter reading from the associated channel counter register.
The arrangement of tile carry counters is favorable in particular in the case of a large number of measuring channels, since readout operations are to be sequentially carried out correspondingly frequently in different measuring channels, while the latter are respectively blocked from storing the current counter reading of the upper main counter part (HZo). Carry and channel counters are to be designed together such that the maximum channel-specific count value they can achieve is just greater than the product of the number of the channels, the readout time for a channel and the frequency of the reference clock pulse, in order to ensure an error-free determination of all the period-end count values.
Modifications of the exemplary embodiment to fit a particular application are possible within the scope of the invention. Thus, only a portion of the measuring channels can be fitted with carry counters, or channel counters can be provided with a different count position number mi, the control computer then determining the higher-order, upper main counter part, which can then be selected differently for different channel counters, in order to determine the respective total count value.
Although the invention has been described and illustrated in detail, it is to be clearly understood that the same is by way of illustration and example, and is not to be taken by way of limitation. The spirit and scope of the present invention are to be limited only by the terms of the appended claims.

Claims (9)

What is claimed is:
1. Method for counting clock pulses for measuring period lengths in a number n of measuring period lengths in a number n of measuring channels with n greater than or equal to one, during a prescribed measurement period, comprising the steps:
a) simultaneously starting, at a start of measurement (Ei0 ; 1,. . .,n) , of mi -digit channel counters (KZi) separately provided for each measuring channel, and an h-digit main counter (HZ), h being greater than all the mi,
b) upon occurrence of a period end (Ejk ; k=1, 2, . . .) in one (j) of the measuring channels, stopping the channel counter (KZi) of that measuring channel and reading out mj count positions from that channel counter, reading out h-mj higher-order count positions of the main counter (HZ) and forming an h-digit total count value, which combines the two read-out count positions and represents a temporal spacing of said period end from the start (Ej0) of measurement,
c) after readout of the channel counter (KZj), starting this channel counter again and synchronized with the mj lower-value count positions of the main counter (HZ), which have continued to run,
d) repeating steps b) and c) up to a specifiable measurement period end, and
e) respectively determining the number of counting pulses which has occurred between the start (Ejk-1) and the end (Ejk) of each period (k; k=1, 2, . . .) of each measuring channel (i; i=1, . . .n) ) and is representative of the respective period length, by subtracting the count value belonging to the period start (Ejk-1) from the count value belonging to the period end (Ejk) for each period.
2. Method according to claim 1, further comprising intermediately storing in registers KRi ; i=1, 2 . . .n; HZR) respectively provided therefor the counter values, which are to be read out, of the channel counters (KZi), which all have the same number m of count positions, and the h-m higher-order count positions of the main counter (HZ).
3. Method according to claim 2, wherein during a readout operation initiated before the occurrence of a period end in one of at least two measuring channels provided, protecting the main counter register (HZR) against an overwrite which results from an intermediate storage request caused in one of the other measuring channels by the occurrence of a later-occurring period end, and
during this readout operation, producing a carry for the measuring channel of the later-occurring period end after the channel counter has reached the maximum count value is detected by a respectively u-digit carry counter (UZi ; i=1, 2, . . .n) which is separately provided for each channel and overlaps with the u-lower-order count positions of the upper main counter part (HZ0) formed from the h-m higher-order count positions,
upon the occurrence of the later period end, stopping the associated carry counter with the channel counter, intermediately storing a count value of the carry counter in a respectively assigned carry counter register (URi ; i=1, 2, . . .n) and adding the count value of the carry counter to a previous value of the main counter register (HZR) in order to obtain the count value belonging to said period end.
4. Method according to claim 3, wherein after the end of the protection, determined by the readout time, of the main counter register against an overwrite by the upper main counter part, further comprising the step of jointly resetting the carry counters to zero.
5. Method according to claim 4, wherein a respective maximum pulse number which can be detected by the channel counters together with the carry counters is at least as large as a pulse number occurring in a period of maximum length, and a maximum pulse number which can be detected by the main counter is at least as large as a pulse number occurring overall during the total measurement period, which comprises the individual period lengths.
6. Method according to claim 3, wherein a respective maximum pulse number which can be detected by the channel counters together with the carry counters is an least as large as a pulse number occurring in a period of maximum length, and a maximum pulse number which can be detected by the main counter is at least as large as a pulse number occurring overall during the total measurement period, which comprises the individual period lengths.
7. Device for counting clock pulses for measuring period lengths in a number n of measuring period lengths in a number n of measuring channels with n greater than or equal to one, during a prescribed measurement period, in which the device a) simultaneously starts, at a start of measurement, mi -digit channel counters (KZi) separately provided for each measuring channel, and an h-digit main counter (HZ), h being greater than all the mi ; and b) upon occurrence of a period end in one of the measuring channels, stops the channel counter of that measuring channel and reads out mj count positions from that channel counter, reads out h-mj higher-order count positions of the main counter and forms an h-digit total count value, which combines the two read-out count positions and represents a temporal spacing of said period end from the start of measurement; and c) after readout of the channel counter, starts this channel counter again and synchronized with the mj lower-value count positions of the main counter, which have continued to run; and d) repeats steps b) and c) up to a specifiable measurement period end, and e) respectively determines the number of counting pulses which has occurred between the start and the end of each period of each measuring channel and is representative of the respective period length, by subtracting the count value belonging to the period start from the count value belonging to the period end for each period; wherein the main counter (HZ) of the device has a number h of count positions, and the channel counters (KZi) have a respective number mi of count positions, all the mi being smaller than h and each of the n measuring channels being assigned a channel counter.
8. Device according to claim 7, wherein all the channel counters (KZi) have the same number m of count positions, and further comprising registers (KRi ; i=1, . . . .n), with one said register respectively assigned to one of said channel counters and to the upper main counter part (HZ0), wherein the registers consist of the h-m higher-order count positions of the main counter (HZ), in order to store count values produced there.
9. Device according to claim 8, wherein a carry counter (UZi ; i=1, . . .n) and an assigned register (URi ; i=1, . . .n) is provided additionally for each measuring channel.
US08/234,155 1993-04-27 1994-04-28 Method and device for counting clock pulses for measuring period length Expired - Fee Related US5440602A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE4313780A DE4313780C1 (en) 1993-04-27 1993-04-27 Method and device for counting clock pulses for period measurement
DE4313780.6 1993-04-27

Publications (1)

Publication Number Publication Date
US5440602A true US5440602A (en) 1995-08-08

Family

ID=6486512

Family Applications (1)

Application Number Title Priority Date Filing Date
US08/234,155 Expired - Fee Related US5440602A (en) 1993-04-27 1994-04-28 Method and device for counting clock pulses for measuring period length

Country Status (4)

Country Link
US (1) US5440602A (en)
DE (1) DE4313780C1 (en)
FR (1) FR2704701B1 (en)
GB (1) GB2277647B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5689539A (en) * 1995-07-31 1997-11-18 Nec Corporation Time interval measurement system and a method applied therein
US5812625A (en) * 1995-02-22 1998-09-22 Dessault Electronique Apparatus and method for accurately measuring the time of an event
US20030194046A1 (en) * 2002-04-11 2003-10-16 Shirar Jerry Lester Method for period counting using a tunable oscillator
US20040205367A1 (en) * 2003-04-10 2004-10-14 Keithley Douglas Gene Integrated circuit with oscillating signal detector
US20050232384A1 (en) * 2002-10-22 2005-10-20 Jetter Ag Method for the synchronization of subscribers of a network
US20060202946A1 (en) * 2005-03-14 2006-09-14 Mitsumi Electric Co., Ltd. Channel data setting circuit and light emitting element drive circuit using the same
US20070118327A1 (en) * 2005-11-18 2007-05-24 Hamilton Sundstrand Corporation Speed sensor
US20160281527A1 (en) * 2015-03-27 2016-09-29 United Technologies Corporation Oil scoop with integrated sensor
CN113933601A (en) * 2021-09-13 2022-01-14 北京车和家信息技术有限公司 Pulse width modulation signal acquisition method and device, computer equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19634715A1 (en) * 1996-08-28 1998-03-05 Teves Gmbh Alfred Arrangement for detecting the turning behavior of a wheel

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1603956A (en) * 1978-01-14 1981-12-02 Bosch Gmbh Robert Measuring apparatus for determining the cycle duration of an ac waveform
US4695781A (en) * 1985-09-30 1987-09-22 Kabushiki Kaisha Toshiba Digital time interval measuring apparatus
US5323436A (en) * 1991-11-18 1994-06-21 Samsung Electronics, Co., Ltd. Apparatus of and method for counting a number of revolutions of a servo motor
US5333162A (en) * 1993-02-23 1994-07-26 The United States Of America As Represented By The United States Department Of Energy High resolution time interval counter

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3336359A1 (en) * 1983-10-06 1985-04-18 Elster AG, Meß- und Regeltechnik, 6700 Ludwigshafen Method for measuring frequency or period

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1603956A (en) * 1978-01-14 1981-12-02 Bosch Gmbh Robert Measuring apparatus for determining the cycle duration of an ac waveform
US4695781A (en) * 1985-09-30 1987-09-22 Kabushiki Kaisha Toshiba Digital time interval measuring apparatus
US5323436A (en) * 1991-11-18 1994-06-21 Samsung Electronics, Co., Ltd. Apparatus of and method for counting a number of revolutions of a servo motor
US5333162A (en) * 1993-02-23 1994-07-26 The United States Of America As Represented By The United States Department Of Energy High resolution time interval counter

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5812625A (en) * 1995-02-22 1998-09-22 Dessault Electronique Apparatus and method for accurately measuring the time of an event
US5689539A (en) * 1995-07-31 1997-11-18 Nec Corporation Time interval measurement system and a method applied therein
US20030194046A1 (en) * 2002-04-11 2003-10-16 Shirar Jerry Lester Method for period counting using a tunable oscillator
US20050232384A1 (en) * 2002-10-22 2005-10-20 Jetter Ag Method for the synchronization of subscribers of a network
US20040205367A1 (en) * 2003-04-10 2004-10-14 Keithley Douglas Gene Integrated circuit with oscillating signal detector
US20060202946A1 (en) * 2005-03-14 2006-09-14 Mitsumi Electric Co., Ltd. Channel data setting circuit and light emitting element drive circuit using the same
US20070118327A1 (en) * 2005-11-18 2007-05-24 Hamilton Sundstrand Corporation Speed sensor
US7328122B2 (en) * 2005-11-18 2008-02-05 Hamilton Sundstrand Corporation Speed sensor
US20160281527A1 (en) * 2015-03-27 2016-09-29 United Technologies Corporation Oil scoop with integrated sensor
US9797268B2 (en) * 2015-03-27 2017-10-24 United Technologies Corporation Oil scoop with integrated sensor
CN113933601A (en) * 2021-09-13 2022-01-14 北京车和家信息技术有限公司 Pulse width modulation signal acquisition method and device, computer equipment and storage medium
CN113933601B (en) * 2021-09-13 2023-09-15 北京车和家信息技术有限公司 Pulse width modulation signal acquisition method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
FR2704701A1 (en) 1994-11-04
GB2277647B (en) 1996-11-27
GB9407290D0 (en) 1994-06-08
GB2277647A (en) 1994-11-02
DE4313780C1 (en) 1994-07-28
FR2704701B1 (en) 1998-05-07

Similar Documents

Publication Publication Date Title
US5440602A (en) Method and device for counting clock pulses for measuring period length
US5347277A (en) Dual phase resolver to digital converter
EP0666520B1 (en) Position detecting method and apparatus
US4255809A (en) Dual redundant error detection system for counters
US6300884B1 (en) Method for decoding a quadrature encoded signal
KR930002719B1 (en) Apparatus and method for increasing the accuracy of the encoder output
US3794899A (en) Servo motor driven encoder error evaluation system
JPH0363155B2 (en)
JPS60129613A (en) Rotation detector
JPS59180319A (en) Incremental form displacement measuring device
SU1742619A1 (en) Device for checking circular pitch of gears
SU1243095A1 (en) Multichannel frequency-to-digital converter
SU1365104A1 (en) Article-counting device
JPH0353565B2 (en)
SU1101740A1 (en) Pickup of angular position,speed and acceleration of rotating shaft
SU1573149A1 (en) Device for checking rotation speed of turbodrill
JP4858707B2 (en) Displacement detector
SU1117533A1 (en) Device for checking number of revolutions
RU2091708C1 (en) Gear measuring linear and angular movements
SU1024846A1 (en) Rotation speed digital meter
SU1170466A1 (en) Device for determining reliability value of object
SU1582133A1 (en) System for measuring parameters of rotary motion
SU805177A1 (en) Speed measuring device
SU841013A1 (en) Device for automatic testing of shaft angular position-to-code converters
SU599161A1 (en) Information recording arrangement

Legal Events

Date Code Title Description
AS Assignment

Owner name: DAIMLER BENZ, GERMANY

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:GIMMLER, HELMUT;NESTER, ULRICH;TU, DINH DINH;REEL/FRAME:007065/0209;SIGNING DATES FROM 19940422 TO 19940430

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

FEPP Fee payment procedure

Free format text: PAYER NUMBER DE-ASSIGNED (ORIGINAL EVENT CODE: RMPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
FP Lapsed due to failure to pay maintenance fee

Effective date: 20030808

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362