Catto / Topic Map · Electronic Measurements II Level 5
Electronic Measurements II · 120 h · Topic 6 of 10

Time and frequency measurements

A direct-counting counter with a 1 s gate measures 10 Hz with a 10% error. A reciprocal one, with one part in ten billion: the difference lies in what is counted.

Frequency standards Allan deviation Direct counting Reciprocal counter Timebase

01The best-measured quantity

Time is the quantity that is measured with the greatest accuracy. Since 1967, the second of the International System has been defined by the radiation of cesium 133: 9,192,631,770 periods of a transition of its atom. The cesium atomic clocks of the national laboratories realize it with uncertainties of 10⁻¹⁵ or less, and that reference reaches measurement laboratories through radio signals, networks and satellites.

ReferenceTypical accuracyUse
Ordinary crystal (XO)10 to 50 ppmMicrocontrollers, clocks
Temperature-compensated crystal (TCXO)0.5 to 2 ppmPhones, GPS receivers
Oven-controlled crystal (OCXO)0.001 to 0.1 ppmLaboratory instruments
Rubidium10⁻¹⁰ to 10⁻¹¹Base stations, laboratories
GPS-disciplined oscillator10⁻¹² over long averagesTraceable laboratory reference

Besides accuracy, stability matters: how much the frequency changes over a given interval. It is expressed with the Allan deviation for each averaging time; a crystal is very stable over one second but drifts over hours, and GPS the other way around: that is why they are combined in disciplined oscillators.

02The direct-counting counter

The simplest counter opens a gate for a time \( T_g \), derived from its timebase, and counts the edges of the signal. Since the gate is not synchronized with the signal, one edge more or one less can get in: the ±1 count error. The relative resolution is:

\[ \frac{\delta f}{f} = \frac{1}{f\, T_g} \] With a 1 s gate, 1 Hz is resolved: excellent for 100 MHz (10⁻⁸), useless for 10 Hz (10%). For low frequencies it is better to measure the period.

03The reciprocal counter

The reciprocal counter synchronizes the gate with the edges of the signal: it counts an integer number of periods of the input and, at the same time, measures with the timebase, and a high-resolution interpolator, the exact time they lasted. The frequency is the quotient. Its resolution no longer depends on the input frequency, but on the time resolution \( t_{res} \) of the interpolator:

\[ \frac{\delta f}{f} \approx \frac{t_{res}}{T_g} \] With 100 ps of resolution and a 1 s gate, 10⁻¹⁰: about ten digits per second, at any frequency. The same instruments measure time intervals between two signals with the same resolution.

No method outdoes its timebase: the relative error of the reference adds directly to the result. That is why laboratory counters have an external 10 MHz reference input, to share a better standard.

Lab · direct and reciprocal counting

The relative resolution of the two methods as a function of frequency, for the chosen gate time (the reciprocal one with a 100 ps interpolator). The horizontal line is the timebase error; the uncertainty of each method is the sum.

04In the laboratory

Activity 1 · ±1 count

Measure a 50 Hz signal with a direct-counting counter and a reciprocal one, with several gates, and compare the scatter of the readings.

Activity 2 · External reference

Measure the frequency of a generator with the counter free-running and with both instruments locked to the same 10 MHz reference.

Activity 3 · Drift of a crystal

Record for an hour the frequency of an ordinary crystal oscillator while warming it with your hand, against a GPS-disciplined reference.

05Common mistakes

  • Measuring low frequencies by direct counting. The ±1 count error dominates; it is better to measure the period or use a reciprocal counter.
  • Trusting every digit on the display. The timebase limits the accuracy even if the resolution is high.
  • Confusing accuracy with stability. An oscillator can be very stable and be off frequency.
  • Forgetting the noise at the trigger. Signal noise shifts the edges and adds uncertainty.

06Self-assessment

What resolution does a direct counter give with a 0.1 s gate?

10 Hz.

A counter with a 1 ppm TCXO measures 100 MHz. What is the timebase error?

100 Hz.

Why does the reciprocal counter have the same resolution at any frequency?

Because it measures the time of an integer number of periods, and its resolution depends on the interpolator, not on the frequency.

How many cesium periods define the second?

9,192,631,770.

07Further reading

  • Michael A. Lombardi. Fundamentals of Time and Frequency. In The Mechatronics Handbook, CRC Press, 2002; also published by NIST. A clear introduction to standards, stability and traceability.
  • Keysight Technologies. Fundamentals of the Electronic Counters. Application Note 200, Keysight. Direct counting, reciprocal counting and time interval measurement.
  • David W. Allan. Statistics of Atomic Frequency Standards. Proceedings of the IEEE, 54(2), 1966. The paper that introduced the Allan variance.
Development of the topic “Time and frequency measurements” of Electronic Measurements II (Level 5), based on the curriculum of the UTN Electronic Engineering program, 2023 curriculum — Ordinance No. 1849 of the UTN Higher Council. Back to the Topic Map · catto.ar