# How Does a Frequency Counter Work

### There are different types of frequency counter, but the basic direct counting frequency counter operates by counting the number of counts, or times the signal crosses a trigger value in a given time.

Frequency Counter Timer Tutorial Includes:
Frequency counter     How does a frequency counter work     Interval timer     How to use a counter     Specifications     Accuracy

When using a frequency counter, it helps to understand how the frequency counter works to be able to use it to its best and gain the most accurate readings.

As frequency counters are widely used within RF laboratories and in many other areas, a good basic understanding of their operation and how they work comes in very useful.

## RF frequency counter basics

RF frequency counters and timers are items of test equipment that operate by counting events within a set period or discovering what a period is by counting a number of precisely timed events. The time periods within which events are counted, or the precisely timed events can be generated using a highly stable quartz crystal oscillator. This may even be oven controlled, and in this way a very accurate reference is obtained.

The frequency is equal to the number of crossings of the trigger level in one second. Therefore for shorter gate times, it is possible to easily calculate the frequency from the number of trigger level crossings.

To look at the way in which a frequency counter or timer works, it is necessary to described the two approaches separately. The two approaches may be termed direct counting and reciprocal counting.

## Direct counting frequency counter

Those digital frequency counters that use a direct counting approach count the number of times the input signal crosses a given trigger voltage (and in a given direction, e.g. moving from negative to positive) in a given time. This time is known as the gate time Basic block diagram of a frequency counter

Within the basic counter there are several main blocks:

• Input:   When the signal enters the frequency counter it enters the input amplifier where the signal is converted into a logic rectangular wave for processing within the digital circuitry in the rest of the counter. Normally this stage contains a Schmitt trigger circuit so that noise does not cause spurious edges that would give rise to additional pulses that would be counted.

It is often possible to control the trigger level and also the sensitivity, although many counters achieve this automatically. It is also worth bearing in mind the maximum input levels at this point - often this is printed on the front panel as a guide and warning.
• Accurate time-base / clock:   In order to create the various gate / timing signals within the frequency counter an accurate timebase or clock is required. This is typically is a crystal oscillator and in high quality test instruments it will be an oven controlled crystal oscillator. In many instruments, there will be the capability to use a better quality external oscillator, or to use the frequency counter oscillator for other instruments. This is also beneficial when it is necessary to lock a number of instruments to the same standard.
• Decade dividers and flip-flop:   The clock oscillator is used to provide an accurately timed gate signal that will allow through pulses from the incoming signal. This is generated fromth e clock by dividing the clock signal by decade dividers and then feeding this into a flip flop to give the enabling pulse for the main gate
• Gate:   The precisely timed gate enabling signal from the clock is applied to one input of a gate and the other has a train of pulses from the incoming signal. The resultant output from the gate is a series of pulses for a precise amount of time. For example if the incoming signal was at 1 MHz and the gate was opened for 1 second, then 1 million pulses would be allowed through.
• Counter/ latch:   The counter takes the incoming pulses from the gate. It has a set of divide-by-10 stages (number equal to the number of display digits minus 1). Each stage divides by ten and therefore as they are chained the first stage is the input divided by ten, the next is the input divided by 10 x 10, and so forth. These counter outputs are then used to drive the display.

In order to hold the output in place while the figures are being displayed, the output is latched. Typically the latch will hold the last result while the counter is counting a new reading. In this way the display will remain static until a new result can be displayed at which point the latch will be updated and the new reading presented to the display.
• Display:   The display takes the output from the latch and displays it in a normal readable format. LCD, or LED displays are the most common. There is a digit for each decade the counter can display. Obviously other relevant information may be displayed on the display as well.

It is important that the gate time is accurately generated. This is done by having a highly accurate frequency source within the frequency counter. Typically these will operate at a frequency of 10 MHz and this needs to be divided to give the required gate time. Figures of 0.01, 0.1, 1, and 10 seconds may be selected. The shorter times obviously enable the display to be refreshed more often, but against this the count accuracy is less.

The reason that the gate time determines the resolution of the frequency counter is that it can normally only count complete cycles, as each crossing represents a cycle. This a gate time of one second will enable frequency resolutions of 1 Hz to be gained, and a ten second gate time will enable resolutions down to 0.1 Hz. It is worth noting that the measurement resolution is a not a percentage of the measurement, but instead it is fixed amount relating only to the gate time.

## Reciprocal frequency counters

Another method of measuring the frequency of a signal is to measure the period for one cycle of the waveform and then take the reciprocal of this. Although this approach is slightly more expensive to implement than direct counting and it is not as widely used, it does have some advantages. The main one is that it always will always display the same number of digits of resolution regardless of the input frequency. As a result, reciprocal frequency counters are specified in terms of the number of digits for a given gate time, e.g. 10 digits per second. In view of this it can be seen that reciprocal counters give a higher resolution at low frequencies. At 1 kHz, a direct counter gives a resolution of 1 Hz (4 digits). A 10 digit/second reciprocal counter gives a resolution of 10 digits.

The other advantage is that these counters can make very fast readings. A reciprocal counter will give 1 mHz resolution in 1 ms, whereas a direct counter takes a second to give a reading with a resolution of 1 Hz.

Frequency counters are widely used within any RF lab. They provide a quick, easy and accurate method of measuting frequency, and they are also relatively cost effective. They may also be a requirement for ensuring that transmitter frequencies are being transmitted within the required bands.