Resources Contact Us Home
Browse by: INVENTOR PATENT HOLDER PATENT NUMBER DATE
 
 
Period and frequency measuring instrument
RE32845 Period and frequency measuring instrument

Patent Drawings:
Inventor: Hayashi
Date Issued: January 24, 1989
Application: 07/013,060
Filed: February 10, 1987
Inventors: Hayashi; Mishio (Saitama, JP)
Assignee: Advantest Corporation (Gyoda, JP)
Primary Examiner: Tokar; Michael J.
Assistant Examiner:
Attorney Or Agent: Staas & Halsey
U.S. Class: 324/76.16; 324/76.17; 324/76.39; 324/76.41; 324/76.48; 324/76.62; 324/77.11; 377/52; 968/846
Field Of Search: 324/78R; 324/79R; 324/78D; 324/79D; 324/78E; 324/78Z; 377/39; 377/52; 328/140; 328/141; 364/484
International Class:
U.S Patent Documents: 3133189; 4112358; 4150432; 4216463; 4257003; 4301405; 4310800; 4330746; 4350950; 4456876
Foreign Patent Documents:
Other References: "Automatic Measurements with a High-Performance Universal Counter", Sep., 1980, Hewlett-Packard Journal, by Gary D. Sasaki & Ronald C. Jensen,pp. 21-28..

Abstract: A device for determining with high accuracy the period and frequency of an input signal by taking into account the fractions of a clock signal that are normally ignored. A gate signal with an integral number of clock pulses is generated. Each fractional time is accurately measured by first and second integrators, and an up-down counter provides the difference between the fractional times for the final determination.
Claim: What is claimed is:

1. An instrument for determining the period and frequency of an input signal, comprising clock means for providing first and second clock signals,

first divider means for dividing said input signal by a predetermined division factor to output a divided signal having a minimum period, wherein a first fractional time is defined between a first output of said first divider means and the firstclock pulse of said first clock signal thereafter, and a second fractional time is defined between the following output of said first divider means and the first clock pulse of said first clock .[.means.]. .Iadd.signal .Iaddend.thereafter,

gate signal generating means for generating a gate signal synchronized with said first clock signal,

counter means for counting the clock pulses of said first clock signal during said gate signal,

expansion means for expanding each said fractional time, at least the expanded first fractional time being shorter than the minimum period of said divided signal, .Iadd.less said first fractional time.Iaddend.,

up-down counter means .Iadd.for counting said second clock pulses during the expanded first fractional time, and for counting in the opposite sense said second clock pulses during the expanded second fractional time, .Iaddend.for providing acount .[.of the clock pulses of said second clock signal.]. corresponding to the difference between the first and second expanded fractional times, and

calculator means for calculating the period and frequency of said input signal by adding the count from said counter means to a value corresponding to the count from the up-down counter means.

2. The instrument of claim 1, comprising

said expansion means including a first integrator for integrating a first voltage level with a first time constant during a period of time equal to each said fractional time plus a predetermined integral number of clock pulses of the first clocksignal, and a second integrator for integrating a second voltage level with a second time constant for each respective expanded fractional time to obtain an integrated value that is the same as each respective final integrated value of the first voltagelevel,

wherein the first and second voltage levels and time constants are selected to provide, for each said fractional time, smaller slope in time for the absolute value of the integrated value of the second voltage level than for the slope of theabsolute value of the integrated value of the first voltage level.

3. The instrument of claim 1, said up-down means counter up-counting the clock pulses of said second clock signal during the expanded first fractional time and down-counting the clock pulses of said second clock signal during the expanded secondfractional time.

4. The instrument of claim 2, comprising said first and second clock signals having periods T.sub.01 and T.sub.02, respectively,

said first and second voltage levels being V.sub.1 and V.sub.2, respectively,

said first and second time constants being R.sub.1 C.sub.1 and R.sub.2 C.sub.2 corresponding to respective resistance and capacitive elements of said first and second integrators, respectively,

said division factor of said divider means being 1/M, wherein M is an integer larger than one,

said counter means counting N of said clock pulses of said first clock signal during said gate signal, and

said up-down counter means up-counting n.sub.1 of said second clock pulses during the expanded first fractional time and down-counting n.sub.2 of said second clock pulses during the expanded second fractional time,

wherein the period P and frequency F of said input signal are calculated by said calculator means as:

and its inverse, respectively.

5. The instrument of claim 4, said second clock signal being the same as said first clock signal.

6. The instrument of claim 1, 2, 3, 4 or 5 said minimum period of the output of the first divider means being equal to or longer than each respective sum of any one of said fractional times, plus said predetermined number of clock pulses of thefirst clock signal, plus the respective expanded fractional time. .Iadd.

7. A device for determining a number corresponding to the period between first and second input pulses, comprising

clock means for providing at least a first clock signal of first clock pulses with which said number corresponding to the period is to be determined, whereby a first fractional time is defined by the time between said first input pulse and thenth of said first clock pulses after said first input pulse, where n is a predetermined integer greater than zero, and a second fractional time is defined by the time between said second pulse and the nth of said first clock pulses after said secondinput pulse,

a gate signal generator for generating a gate signal synchronized with respective ones of said first clock pulses, said gate signal having a period equal to a predetermined number of periods of said first clock signal,

first counter means for counting said first clock signal during said gate signal,

first integrator means including a first capacitor for integrating a respective reference signal with a respective time constant during said first fractional time, and subsequently during said second fractional time, and for providing arespective output after each of the integrations,

second integrator means including a second capacitor for integrating a respective reference voltage with a respective time constant after each said integration of the first integrator means, and for providing a respective output value is equal tothe respective integrated value of said first integrator means,

comprising comparator means for comparing said output of said first and second integrator means, for providing a corresponding output when they become equal,

up-down counter means for being counted up by clock signal corresponding to said first clock signal during the integration by said second integrator means corresponding to said first fractional time, and for being counted down by said clocksignal during the integration by said second integrator means corresponding to said second fractional time, and

calculation means for determining a number corresponding to said period between said first and second input pulses from counts of said first and up-down counter means,

wherein each of said up and down counting by said up-down counter means is terminated by a signal corresponding to the output of said comparator means..Iaddend. .Iadd.

8. The device of claim 7, comprising a first divider for dividing a repetitive external signal by a predetermined integer for providing as a respective output said first and second input pulses..Iaddend. .Iadd.9. The device of claim 8,comprising

a first flip-flop to which the output of said divider is provided, said first flip-flop having an output Q which initiates the integration by said first integration means during said first fractional time,

a second divider having as an input said first clock signal gated by said output Q of said first flip-flop, wherein said second divider determines said predetermined integer number n for said first and second fractional time, and having acorresponding output,

a second flip-flop having as an input said output of said further divider and providing a respective Q output for ending such said integration of said first integrator means and initiating the respective integration of said second integratormeans,

a third flip-flop, included in said gate signal generator and controlled by said Q output of said second flip-flop for providing as a respective Q output said synchronized gate signal, and

the output of said comparator determines the end of each integration of said second integrator means..Iaddend. .Iadd.10. The device of claim 9, wherein the first gate signal plus said fractional time less said second fractional time determinesthe period between said first and second input pulses..Iaddend.
Description: BACKGROUND OF THE INVENTION

This invention relates to a period and frequency measuring instrument which measures period and frequency of a relatively low frequency input signal with high accuracy.

In measuring frequency or period of an input signal of relatively low frequency by a period and frequency measuring instrument, the input signal is used as a gate signal for gating internal clock signals to a counter which counts the number ofclock pulses to determine the period and thus the frequency of the input signal.

FIG. 1 shows one of the conventional period and frequency measuring instruments of this kind. A division factor M of a divider 102 which divides the number of pulses in an input signal into 1/M pulses is selected corresponding to the frequencyof the input signal. FIG. 2A shows that an input signal 201 that is to be measured is supplied at an input terminal 101 and provided to the divider 102 whose output generates the divided output 203 shown in FIG. 2C. The divided output 203 istransmitted to a gate signal generator 103 comprising, for example, a toggle-type flip-flop. The gate signal generator 103 generates the gate signal 204 shown in FIG. 2D which has the length of one period of the divided input signal 203 derived from thedivider 102. The gate signal 204 thus generated is supplied to an AND gate 104 to open the AND gate 104 with its high level.

The other input terminal of the AND gate 104 is provided with a clock signal 205 having a constant period T.sub.0 from a clock signal generator 105 as shown in FIG. 2E. When the gate signal 204 is at high level, the clock signal 205 is suppliedvia the AND gate 104 to a counter 106. FIG. 2F shows the gated clock signal 205 derived from the AND gate 104. The total number of the gated clock pulses N is counted by the counter 106.

The counted result is provided to a calculator 107 wherein the frequency F and the period P of the input signal 201 are calculated. Namely, in the case that the number of the clock signals 205 counted by the counter 106 is N, the input frequencyand period are obtained by calculating, F=M/NT.sub.0 and P=NT.sub.0 /M, respectively. The calculated frequency or period is displayed by a display 108. The operation described above starts after a reset signal 202 provided from a terminal 221 as shownin FIG. 2B.

In this conventional period and frequency measuring instrument, there arise fractional times .DELTA.T.sub.x1 and .DELTA.T.sub.x2 corresponding to the time differences between the rise of the gate signal 204 and the first gated clock signal andbetween the fall of the gate signal 204 and the immediately following clock signal as illustrated in FIG. 2F. In order to make the fractional times .DELTA.T.sub.x1, .DELTA.T.sub.x2 small so as to improve measurement accuracy, it is necessary to useclock signals of higher frequency. However, utilization of the higher frequency clock signals requires both the AND gate and the counter 106 to operate at high speed, which makes the instrument expensive. Although the fractional times .DELTA.T.sub.x1,.DELTA.T.sub.x2 represent information effecting the accuracy of the calculated period or frequency of the input signal, conventional instruments are not able to take these fractional times into account.

SUMMARY OF THE INVENTION

It is an object of the present invention to provide a measuring instrument which is capable of measuring period and frequency of an input signal with high accuracy without using high frequency clock signals.

According to this invention, the first and second fractional times .DELTA.T.sub.x1, .DELTA.T.sub.x2 that are caused by the differences between the rise and fall of the divided input signal and the respective clock signals, are expanded by anexpansion circuit of simple construction, so that the expanded fractional times can be measured even by a relatively low frequency clock signal with high resolution. Therefore, an accurate input signal period or frequency can be obtained by using boththe number of the clock pulses gated by a gate signal, which is derived from the divided input signal and synchronized with the clock signal, and as well the number of clock pulses counted during the expanded fractional times.

BRIEF DESCRIPTIONOF THE DRAWINGS

FIG. 1 shows a circuit diagram of a conventional period and frequency measuring instrument.

FIGS. 2A to 2F are timing charts for explaining the operation of the conventional instrument of FIG. 1.

FIG. 3 is a circuit diagram showing an embodiment of a period and frequency measuring instrument of the present invention.

FIGS. 4A to 4N are timing charts for explaining the operation of the embodiment of FIG. 3.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 3 shows one of the embodiments in accordance with the present invention and FIGS. 4A to 4N are timing charts for explaining the operation of the embodiment of FIG. 3. In FIG. 3 the components that are identical to those in FIG. 1 aredenoted by the same reference characters.

An expansion circuit 301 is provided for expanding the fractional times .DELTA.T.sub.x1, .DELTA.T.sub.x2 by predetermined amounts. The main components comprising the expansion circuit 301 are D-type flip-flops 302 and 305, a divider 304,integrators 306 and 308, a voltage comparator 309 and a hold switch 307. The embodiment of FIG. 3 also employs a control circuit 313 for generating a start signal, an up-down counter 321 for counting the difference between the two fractional times.DELTA.T.sub.x1, .DELTA.T.sub.x2 and AND gates 319 and 322 for supplying the clock signals to the up-down counter 321.

The input signal 201 that is to be measured is provided from a terminal 101 to the divider 102 which divides the input signal by a division factor M. The divided input signal from the divider 102 is supplied to the T terminal of a D-typeflip-flop 302 whose Q output is connected to an AND gate 303 and also to the integrator 306 through an inverter 314 to control the time for starting the integrator 306. The AND gate 303 provides the clock signal 205 from the clock signal generator 105to the divider 304 when the Q output of the flip-flop 302 is at high level. The divider 304 divides the clock signal by a predetermined factor B and provides the divided clock signal to the D-type flip-flop 305. The integrator 306 integrates a constantvoltage V.sub.1 from a voltage source 311 with an integration time constant R.sub.1 C.sub.1. The integrator 308 integrates a constant voltage V.sub.2 from a voltage source 312 with an integration time constant R.sub.2 C.sub.2. The Q output of theflip-flop 305 is connected to the integrator 308 via an inverter 318 to control the time for starting the integration. The Q output of the flip-flop 305 is also provided via a buffer 316 to the hold switch 307 to control the hold timing of theintegrator 306.

Both outputs of the integrators 306 and 308 are supplied to a voltage comparator 309 whereby coincidence in the voltages of both outputs is detected. The output of the voltage comparator 309 is provided to the reset terminal of the flip-flops302 and 305 and the divider 304 through an OR gate 324. The control circuit 313 is comprised, for example, of a D-type flip-flop with the D terminal provided with a high level signal and the T terminal connected .Iadd.through an inverter .Iaddend.to a Qterminal of the gate signal generator 103. The Q output of the control circuit 313 is provided to the D terminal of the flip-flop 302. The reset signal 202 from the terminal 221 is provided to the gate signal generator 103 and the control circuit 313and through the OR gate 324 to the flip-flops 302, 305 and the divider 304.

At the beginning of the operation, by the reset signal 202 from the terminal 221, the control circuit 313 is changed to high level to yield a start signal 401 shown in FIG. 4I which is provided to the terminal of the flip-flop 302. Thus theflip-flop 302 is turned to high level by the first divided input signal 203a provided from the divider 102 so as to open the AND gate 303 and to provide the clock signal 205 from the clock signal generator 105 to the divider 304 as in FIGS. 4C and 4D. At the same time a FET switch 315 is opened by the low level signal of the inverter 314 so that the integrator 306 starts integrating the constant voltage V.sub.1 supplied through the hold switch 307. The hold switch 307 is closed at this time since theflip-flop 305 is reset. Further, the integrator 308 is not in operation at this time since the FET switch 317 is closed by the high level output of the inverter 318 derived from the low level signal of the Q output of the flip-flop 305. The integratedoutput of the integrator 306 gradually goes down in accordance with the integrating time constant R.sub.1 C.sub.1 until the hold switch 307 is opened as shown in FIG. 4L.

The divider 304 divides the clock signal 205 provided through the AND gate 303 into 3, for example, that is, the division factor B of the divider 304 is selected to be 3 in this case. Thus by the third clock pulse after the first divided input203a the divider 304 yields the first divided clock pulse 402a at its output. By the first divided clock pulse 402a supplied from the divider 304 at time t.sub.1, the state of the flip-flop 305 is changed to high level, thus making the hold switch 307open so that the integrator 306 stops the integration and holds the integrated voltage E.sub.1 as in FIG. 4L. Therefore, the time interval T.sub.a during which the integrator 306 integrates the constant voltage V.sub.1 becomes .DELTA.T.sub.x1 +2T.sub.0,where T.sub.0 is the period of the clock signal 205. The reason for integrating the constant voltage V.sub.1 longer than the first fractional time .DELTA.T.sub.x1 by 2T.sub.0, in this embodiment, is to obtain a sufficiently large value of the integratedvoltage at the output of the integrator 306 without using a high speed operation amplifier in the integrator 306, in other words that the integrator 306 can be low in cost.

At time t.sub.1, by the Q output of the flip-flop 305 supplied via the inverter 318, the FET switch 317 is opened so that the integrator 308 starts integrating the constant voltage V.sub.2 from the voltage source 312 with an integration timeconstant of R.sub.2 C.sub.2. The time constant R.sub.2 C.sub.2 and the constant voltage V.sub.2 are selected to generate an integrated output with a smaller slope than that generated by the integrator 306 for expanding the fractional times. Also attime t.sub.1, by the high level signal from the flip-flop 305, the gate signal generator 103 is turned to high level as in FIG. 4F so as to open the AND gate 104. Thus the clock signal from the clock signal generator 105 is supplied to the counter 106whereby the number of clock pulses is counted in accordance with FIG. 4G. At the same time, by the high level signals from both the flip-flop 305 and the gate signal generator 103, the AND gate 319 is opened and provides the clock signal to an up-countterminal 321a of the up-down counter 321. Therefore the up-down counter 321 up-counts the clock pulses until the AND gate 319 is closed.

When the integrated output of the integrator 308 coincides with the hold voltage E.sub.1 of the integrator 306, the voltage comparator 309 generates a coincidence signal 403a at time t.sub.2 as in FIG. 4N. The flip-flops 302, 305 and the divider304 are reset by the coincidence signal 403a provided through a buffer 323 and the OR gate 324. Because of the changing state of the flip-flop 305, the AND gate 319 is closed and thus the up-down counter 321 stops up-counting the clock pulses. Thus thenumber of the clock pulses counted in the up-down counter 321 is n.sub.1 as in FIG. 4G in this example.

The time period T.sub.1 during which the AND gate 319 is open, in other words during which the number of the clock pulses is counted by the up-down counter 321, is equal to the product of (.DELTA.T.sub.x1 +2T.sub.0) and R.sub.2 C.sub.2 V.sub.1/R.sub.1 C.sub.1 V.sub.2. In other words, the time period Ta produced by the integrator 306 corresponding to the fractional time .DELTA.T.sub.x1 is expanded by the integrator 308 by an expansion factor A=R.sub.2 C.sub.2 V.sub.1 /R.sub.1 C.sub.1 V.sub.2,so that even a low frequency clock signal can be used to measure the fractional time with high resolution.

For measuring the second fractional time .DELTA.T.sub.x2 the embodiment of FIG. 3 works as follows. Since the flip-flops 302 and 305 are reset by the coincidence signal 403a, the integrators 306 and 308 are set to their initial conditions, thatis, the hold switch 307 and the FET switches 315 and 317 are closed. Then the divider 102 provides the second divided input signal 203b at time t.sub.3 as shown in FIG. 4C to the flip-flop 302. The division factor M of the divider 102 is selectedaccording to the frequency of the input signal 201 for generating a divided signal having a longer period than the time required for measuring the expanded fractional time. In other words, the division factor M is selected to generate the second dividedinput signal 203b shown in FIG. 4C after the time t.sub.2 as in FIG. 4. The flip-flop 302 goes to high level in response to the second divided input signal 203b, so that the AND gate 303 is opened and the integrator 306 starts integrating with the timeconstant R.sub.1 C.sub.1.

The divider 304 again divides the clock signal 205 and generates the divided signal 402b shown in FIG. 4E in synchronism with the third clock pulse of the clock signal 205 supplied via the AND gate 303. By the divided signal 402b the output Q ofthe flip-flop 305 is changed to high level as in FIG. 4H so that the hold switch 307 opens and thus the integrator 306 holds the integrated output E.sub.2 at time t.sub.4. Therefore, the time interval Tb between t.sub.3 and t.sub.4 during which theintegrator 306 integrates the constant voltage V.sub.1 is .DELTA.T.sub.x2 +2T.sub.0. Thus the hold voltage E.sub.2 is dependent on the second fractional time .DELTA.T.sub.x2.

At the same time the gate signal generator 103 is turned to low by the rise of the output signal of the flip-flop 305 so as to close the AND gate 104. Accordingly, the counter 106 stops counting the number of clock signal 205 supplied throughthe AND gate 104. The counted data in the counter 106 becomes N in accordance with FIG. 4G. As has been mentioned above, the gate signal 204 that is generated by the gate signal generator 103 is synchronized with the clock signal 205. The reason forsynchronizing the gate signal 204 with the clock signal 205 is to separate the period Tx shown in FIG. 4C from the fractional times since the fractional times are measured by the up-down counter 321.

At time t.sub.4 the integrator 308 starts integrating the constant voltage V.sub.2 with the time constant R.sub.2 C.sub.2. Also at time t.sub.4, the other output of the gate signal generator 103 opens the AND gate 322 whose output is connectedto a down-count terminal 321b of the up-down counter 321. Thus the up-down counter 321 down-counts the number of the clock pulses, that is, subtracts the number of clock pulses from the data already counted during the time period T.sub.1. The low levelsignal from the gate signal generator 103 is also supplied to the control circuit 313 so that the start signal 401 shown in FIG. 4I is changed and remains at low level until the next reset signal 202 is applied.

When the integrated output of the integrator 308 reaches the hold voltage E.sub.2 the voltage comparator 309 generates a coincidence signal 403b shown in FIG. 4N at time t.sub.5. By the coincidence signal 403b the flip-flops 302, 305 and thedivider 304 are reset, and thusly the AND gates 303, 322 are closed and both the integrators 306 and 308 are set to their initial conditions. Therefore the AND gate 322 provides the clock signal to the up-down counter 321 during the time intervalT.sub.2 which starts at the beginning of the integration of the integrator 308 and ends at the occurrence of the coincidence signal 403b.

Similarly as in regard to the period T.sub.1, the time period T.sub.2 is equal to the product of (.DELTA.T.sub.x2 +2T.sub.0) and R.sub.2 C.sub.2 V.sub.1 /R.sub.1 C.sub.1 V.sub.2. That is, the number of clock pulses n.sub.2 applied to the up-downcounter 321 during the period T.sub.2 is dependent on to the expanded value of the second fractional time .DELTA.T.sub.x2.

As has been mentioned above, since the clock signal is up-counted during the period T.sub.1 and down-counted during the period T.sub.2, the counted data n.sub.1 -n.sub.2 which is obtained by the up-down counter 321 corresponds to the differencebetween the first and the second fractional times .DELTA.T.sub.x1 -.DELTA.T.sub.x2.

In regard to the first fractional time .DELTA.T.sub.x1, the following expression is obtained:

wherein A=R.sub.2 C.sub.2 V.sub.1 /R.sub.1 C.sub.1 V.sub.2, n.sub.1 is the number of pulses up-counted by the up-down counter 321, T.sub.0 is the time period of the clock signal 205, B is the division factor of the divider 304 and A is theexpansion factor of the expansion circuit 313.

Similarly, as to the second fractional time .DELTA.T.sub.x2 the following expression is obtained:

wherein n.sub.2 represents the number of clock pulses down-counted by the up-down counter 321.

The time interval T.sub.x between the divided input signals 203a and 203b is obtained by the following expression:

wherein N is the number of clock pulses counted by the counter 106. Therefore, by using equations (1) and (2), equation (3) becomes, ##EQU1##

Since the values of T.sub.0 and V.sub.2 R.sub.1 C.sub.1 /V.sub.1 R.sub.2 C.sub.2 are already known, and since the counted data N and (n.sub.1 -n.sub.2) are provided, from the counter 106 and the up-down counter 321, respectively, the time periodT.sub.x can be calculated by the calculator 107.

Assuming that the division factor of the divider 102 is represented by M, the time period of the input signal 201 to be measured is calculated as follows: ##EQU2## Also, the frequency F of the input signal 201 is ##EQU3## The period P orfrequency F of the input signal 201 thusly obtained is displayed by the display 108.

In the above description, the same clock signal is supplied to both the counter 106 and the up-down counter 321, but it is possible to use different clock signals. In the case that the time period of the clock signal that is provided to thecounter 106 is T.sub.01, and the time period of the clock signal provided to the up-down counter 321 is T.sub.02, the period P and the frequency F of the input signal to be measured are obtained by the following expressions: ##EQU4##

* * * * *
 
 
  Recently Added Patents
Cap for a writing instrument
Channel estimation for OFDM communication systems including IEEE 802.11A and extended rate systems
Food tray
Three-dimensional image measuring apparatus
Buffer management device, record and reproduction apparatus and management method for buffer memory
Cell-permeable fluorescent proteins
Interactive neural training device
  Randomly Featured Patents
Acrylonitrile-modified toner compositions and processes
Collapsible platform assembly
Process for the preparation of chlorinated carboxylic acid esters
High strength lever handle lock mechanism
Recoloring art work
Device for the automatic selective harvesting of mushrooms
Silver halide photographic emulsion and silver halide photographic light sensitive material applied therewith
Polyurethanes derived from oligoperfluoroalkyl alcohols
Image forming apparatus with control for varying conveying speed between a registration section and a decelerating position
Circuit protection device