Choosing a Method for Measuring Frequency

The best method to measure frequency depends on several factors including the expected frequency of the signal to measure, the desired accuracy, how many counters are available, and how long the measurement can take. For all frequency measurement methods, assume the following:
fxis the frequency to be measured if no error
fkis the known source or gate frequency
Measurement Time (T)is the time it takes to measure a single sample
Divide down (N)is the integer to divide down measured frequency, only used in large range two counters
fsis the sample clock rate, only used in sample clocked frequency measurements
Here is how these variables apply to each method, summarized in the table below.
  • One counter—With one counter measurements, a known timebase is used for the source frequency (fk). The measurement time is the period of the frequency to be measured, or 1/fx.

  • Two counter high frequency—With the two counter high frequency method, the second counter provides a known measurement time. The gate frequency equals 1/measurement time.

  • Two counter large range—The two counter larger range measurement is the same as a one counter measurement, but now the user has an integer divide down of the signal. An internal timebase is still used for the source frequency (fk), but the divide down means that the measurement time is the period of the divided down signal, or N/fx where N is the divide down.

  • Sample clocked—For sample clocked frequency measurements, a known timebase is counted for the source frequency (fk). The measurement time is the period of the sample clock (fs).

Table 23. Frequency Measurement Methods
Variable Sample Clocked One Counter Two Counters
High Frequency Large Range
f k Known timebase Known timebase
1gating period
Known timebase
Measurement time
1fs
1fx
gating period
Nfx
Max. frequency error
fx×fxfk×[fxfs1]
fx×fxfkfx
fk
fx×fxN×fkfx
Max. error %
fxfk×[fxfs1]
fxfkfx
fkfx
fxN×fkfx
Note Accuracy equations do not take clock stability into account. Refer to the device specifications for your model for information about clock stability.