Getting The Most by Keysight
Getting The Most by Keysight
• Universal counters
• RF frequency counters
The resolution of a counter is the smallest change it can detect in closely spaced
frequencies. All other things being equal (such as measurement time and product
cost), more digits are better—but the digits you see on the display need to be
supported by accuracy. Digits can be deceptive when other errors push the
counter’s resolving ability away from the actual frequency. In other words, it’s
possible for a counter to give you a very accurate reading of an incorrect frequency.
Random and systematic errors both determine a counter’s accuracy. Random errors
are the source of resolution uncertainties and include:
• Quantization error
• Trigger error
Noise spikes can be triggered by noise on the input signal or noise from the input
channels of the counter.
• Timebase error
Any error resulting from the difference between the actual time base oscillator
frequency and its nominal frequency is directly translated into measurement error.
Systematic errors are biases in the measurement system that push its readings away
from the actual frequency of the signal. This group includes effects on the time base
crystal such as aging, temperature and line voltage variations.
Compare the two counters in Figure 1. Counter A has good resolution but a serious
systematic error, so its displayed result in most cases will be less accurate than those
of Counter B, which has poorer resolution but a smaller systematic bias error.
Actual f = 100 Hz
Frequency counters fall into two basic types: direct counting and reciprocal
counting. Understanding the effects of the two different approaches will help you
choose the best counter for your needs and use it correctly.
Direct counters simply count cycles of the signal for a known period – the gate
time. The resulting count is sent directly to the counter’s readout for display.
This method is simple and inexpensive, but it means that the direct counter’s
resolution is fixed in Hertz. For example, with a 1 second gate time, the lowest
frequency the counter can detect is 1 Hz (since 1 cycle of the signal in 1 second is
1 Hz, by definition). Thus, if you are measuring a 10 Hz signal, the best resolution
you can expect for a 1 second gate time is 1 Hz, or 2 digits in the display. For a 1
kHz signal and a 1 second gate, you get 4 digits. For a 100 kHz signal, 6 digits,
and so on. Figure 2 illustrates this relationship. Also note that a direct counter’s
gate times are selectable only as multiples and sub-multiples of 1 second, which
could limit your measurement flexibility.
10
Number of digits
10 1K 100 K 10 M 1 G 100 G
Frequency (Hz)
Figure 2. The number of digits displayed by a direct counter versus frequency (for a 1
second gate time).
Reciprocal counters, in contrast, measure the input signal’s period, then reciprocate
it to get frequency. Given the measurement architecture involved, the resulting
resolution is fixed in the number of digits displayed (not Hertz) for a given gate time.
In other words, a reciprocal counter will always display the same number of digits
of resolution regardless of the input frequency. Note that you’ll see the resolution of
a reciprocal counter specified in terms of the number of digits for a particular gate
time, such as “10 digits per second.”
1 second gate
10
0.1 second gate
9
10 ms gate
8
1 ms gate
7
10 Hz 100 GHz
Frequency (Hz)
Figure 3. Comparing resolution for direct and reciprocal counters (for a 1 second
gate time).
12
Reciprocal
10
Number of digits
6 ct
re
Di
4
10 1K 100 K 10 M 1 G 100 G
Frequency (Hz)
Figure 4. Here are the gate times needed to yield various resolutions with a 10 digits/
second reciprocal counter.
In this technique, the crystal oscillator is housed in an oven which holds its
temperature at a specific point in the thermal response curve. The result is
much better timebase stability, with typical errors as small as 0.0025 ppm
(±0.0025 Hz on a 1 MHz signal). Additionally, oven-controlled timebases also
help with the effects of crystal aging, which means you don’t have to take your
counter out of service for calibration as often.
2. Time-variant counter performance factors (such as the aging rate of the timebase)
Item #2 is where calibration plays a role. Although counters are electronic instruments
measuring electrical signals, the quartz crystal that is the heart of every counter’s
time-base is a mechanical device. Since it is a mechanical device, the crystal is
susceptible to physical disturbances that can change the frequency at which it
vibrates which ultimately affects the counter’s accuracy. The cumulative effect of
these various disturbances is known as crystal aging, and it is this aging that you are
compensating for when you calibrate the counter.
Aging is a factor that is fairly easy to predict and easy to compensate for through
calibration. You can determine if calibration is required by looking at the aging rate
specification in your counter’s data sheet.
For example: If the aging rate is 4 x 10-8 per day and it has been 300 days since
calibration, aging will add a timebase error of 1.2 x 10-5 into the overall accuracy
calculation. If this uncertainty (±12 Hz on a 1 MHz signal), in addition to the other
inherent errors reviewed earlier is acceptable for your measurements, calibration is
not required. Otherwise, calibrate.
The quality of the timebase and how often you calibrate will affect your
measurement accuracy. For most applications, you can make a tradeoff
between accuracy, timebase quality, and calibration period. If you purchase
a higher-quality timebase, you can lengthen the time between calibrations.
If you calibrate more frequently, you may be able to meet your accuracy
requirements with a less-costly timebase. The timebase does not need to be
housed within the frequency counter. You can use a precision source or a
house standard external to the counter to improve measurement accuracy.
-- Keep your counter in a spot where you don’t have to unplug it, so it can
alternate between on and standby mode.
-- When you calibrate the timebase, bring the calibration equipment to the
counter, rather than the other way around, so you don’t have to unplug
the instrument.
-- Keeping your frequency counter out of drafts and protecting it from
changes in temperatures will also improve its stability.
When you remove power from the counter, however briefly, the aging rate
must start over from the daily aging rate.
When you make timing measurements (time interval, pulse width, rise time,
fall time, phase, and duty cycle), you need to consider the effects of the
trigger level timing error. There are several factors to consider: resolution and
accuracy of the trigger level circuit, fidelity of the input amplifier, slew rate of
the input signal at the trigger point, and width of the input hysteresis band.
To reduce these effects, trigger at the offset value of the sine wave or square
wave signal. Doing so will give you the highest slew rate, and it also will
minimize errors of the hysteresis band. If you measure from offset-to-offset
(such as a complete period, 0 degrees phase between two signals) then the
effects of the hysteresis window may actually cancel out. Note that most
counters are optimized for a 0 V trigger level setting.
The skew and/or jitter that occurs between two independent timebases will
add to error. Using independent timebases is like watching a movie with
the video and the audio tracks on different systems. At the beginning of the
movie, the audio and video may be synchronized, but as time passes, small
differences between the two become more noticeable. In many applications
using modern test and measurement equipment, this skew is negligible.
You can configure a modern frequency counter to make hundreds of readings per
second, which can be useful for characterizing a signal that changes over time.
Keep in mind that frequency counters are optimized for measuring a stable or
slowly changing signal. Also remember, for making accurate readings, it is better
to make a single good reading than trying to average lots of readings.
This will prevent a delay as the instrument converts the data to a different
format during post processing.
When you disable these functions, the processor dedicates its resources
to making the readings and sending them to the computer, rather than
responding to extra interrupts, such as updating the display.
The Keysight Technologies, Inc. 53100 series of counters has the ability to
optimize their configuration based on the frequency you are measuring. The
actual signal being measured must be within 10% of the value you provide in
the command.
The input signal will create a trigger condition as it passes through the level
set in the command. Set the trigger level so that it intersects the signal at its
maximum slew rate, this will minimize the amount of time it takes to satisfy the
trigger condition. A sine or a square wave has the maximum slew rate at the
zero crossing (assuming a 0 V offset).
1 2 3 4
Trigger
band
Figure 5. The two small peaks (spurious signals in this case) generate unwanted triggers
at point 1 and point 3 because the trigger band is set too narrow.
By adjusting the trigger band to make the counter less sensitive, you can avoid
these spurious triggers. In Figure 6, the trigger band is wide enough (the sensitivity
is low enough) that the spurs don’t get counted as zero crossings. The counter
registers two valid zero crossings and goes on to computer the appropriate
frequency. If you think your signal might have some noise problems, try switching
your counter into low sensitivity mode. If the displayed frequency changes,
chances are you were triggering on noise.
1 2
0V Trigger
band
Figure 6. Lowering the trigger sensitivity by expanding the trigger band produces the
desired count.
A jumpy display, where the last several digits fluctuate rapidly, can be a challenge if you’re
trying to adjust a circuit in real time or perform some other task based on the counter’s
display. Depending on your counter’s capabilities, you have several options:
Most counters have a “Fewer Digits” function. While this can quiet the display, it
might hide information you need to make decisions about circuit behavior. Note this is
strictly a display function that does not have any effect on the actual measurement.
If you only need to know whether a signal is within a certain band of frequencies, use
limit testing with a visual indicator if your counter has this capability.
Hint #7 discussed the problem of triggering on noise in your signal. This problem can be
even more acute with low frequency signals (roughly 100 Hz and below), since the chance
of spurious triggering on irrelevant high-frequency components is increased. In addition,
the signal’s slew rate affects trigger accuracy – the lower the slew rate, the more chance
there is for error.
Some steps you can take to help improve the quality of counter measurements on low-
frequency signals:
If the option is available, this can reduce the chance of triggering on harmonics and
high-frequency noise.
• Use DC coupling
A low frequency signal may have a low slew rate – meaning the signal is
slow to change states. The slower the slew rate, the harder it is to create a
repeatable trigger. Decreasing the counters sensitivity will help. In order for a
counter to successfully trigger, the signal will need to pass through a lower
and an upper threshold. The trigger band, the delta between the upper and
lower threshold is determined by the counter’s sensitivity. Decreasing the
counter sensitivity will increase the difference between the upper and lower
threshold, widening the trigger band.
A low frequency measurement can take time to complete. If you are controlling
the counter from a computer, you may want to check the status register
before requesting a reading. The counter will continue to make a measurement
until it receives a second valid trigger condition, indicating the end of the
measurement. If the input signal becomes disconnected, the counter will wait
indefinitely for the measurement to complete. If you request a measurement
the computer will be stuck waiting until the counter measurement finishes
before responding to the query. To avoid this, start the measurement and then
check the status register to be certain a measurement has completed before
requesting the reading.
It is not uncommon for a counter to produce a reading with 10-12 digits every second.
Limit testing can enable you to interpret the readings easier. You can configure and
implement limit tests several different ways:
You can combine limit testing with your counter’s statistics, scale and offset features.
Scale and offset are often used to convert a frequency measurement to a physical
measurement (for example, speed or rpm).
Lastly, you can configure the counter to continue or to stop taking readings after a limit
has been exceeded. If your counter seems to stop triggering, it may be because it is
configured to stop after an out-of-limit reading. Also, when you configure your counter
to output an external signal, it will cycle power and come up in a default state, so make
sure you save and recall the frequency counter setup.