A frequency counter is an
electronic instrument, or
component
Component may refer to:
In engineering, science, and technology Generic systems
*System components, an entity with discrete structure, such as an assembly or software module, within a system considered at a particular level of analysis
* Lumped e ...
of one, that is used for measuring
frequency
Frequency is the number of occurrences of a repeating event per unit of time. Frequency is an important parameter used in science and engineering to specify the rate of oscillatory and vibratory phenomena, such as mechanical vibrations, audio ...
. Frequency counters usually measure the number of cycles of oscillation or pulses per second in a periodic electronic
signal
A signal is both the process and the result of transmission of data over some media accomplished by embedding some variation. Signals are important in multiple subject fields including signal processing, information theory and biology.
In ...
. Such an instrument is sometimes called a cymometer, particularly one of Chinese manufacture.
Operating principle
All frequency counters rely on an internal
electronic oscillator
An electronic oscillator is an electronic circuit that produces a periodic, oscillating or alternating current (AC) signal, usually a sine wave, square wave or a triangle wave, powered by a direct current (DC) source. Oscillators are found ...
, known as the ''
timebase A time base generator (also timebase or time base) is a special type of function generator, an electronic circuit that generates a varying voltage to produce a particular waveform. Time base generators produce very high frequency sawtooth waves spec ...
'', which serves as a time reference for measurements.
Most frequency counters work by using a
digital counter to count the number of rising or falling signal edges occurring in the measured signal within a specific period of time, known as the ''gate time''. At the end of the gate time, the accumulated count is transferred to a holding register and the counter is reset to zero to prepare for the next measurement. The value stored in the holding register directly indicates the measured frequency in Hertz (Hz) when the gate time is one second; for other gate times the holding register value must be scaled to convert it to Hz. In frequency counter instruments, the measured frequency is typically output to a display.
If the frequency of the measured signal is sufficiently stable and significantly lower than that of the timebase, the measurement resolution may be improved by measuring the period of the measured signal and computing the reciprocal to obtain frequency; this is sometimes referred to as the ''reciprocal measurement technique''. Period measurement is done by measuring the time required for an integer number of cycles, rather than counting cycles for a constant gate time, and dividing that time by the number of cycles.
If the frequency to be measured is already in electronic form, simple interfacing with the instrument is all that is required. More complex signals may need some conditioning to make them suitable for counting. Most general-purpose frequency counters will include some form of
amplifier
An amplifier, electronic amplifier or (informally) amp is an electronic device that can increase the magnitude of a signal (a time-varying voltage or current). It is a two-port electronic circuit that uses electric power from a power su ...
,
filtering, and shaping circuitry at the input.
DSP technology, sensitivity control and
hysteresis
Hysteresis is the dependence of the state of a system on its history. For example, a magnet may have more than one possible magnetic moment in a given magnetic field, depending on how the field changed in the past. Plots of a single component of ...
are other techniques to improve performance. Other types of periodic events that are not inherently electronic in nature will need to be converted using some form of
transducer
A transducer is a device that Energy transformation, converts energy from one form to another. Usually a transducer converts a signal in one form of energy to a signal in another.
Transducers are often employed at the boundaries of automation, M ...
. For example, a mechanical event could be arranged to interrupt a light beam, and the counter made to count the resulting pulses.
Frequency counters designed for
radio frequencies (RF) are also common and operate on the same principles as lower frequency counters. Often, they have more range before they overflow. For very high (
microwave
Microwave is a form of electromagnetic radiation with wavelengths shorter than other radio waves but longer than infrared waves. Its wavelength ranges from about one meter to one millimeter, corresponding to frequency, frequencies between 300&n ...
) frequencies, many designs use a high-speed
prescaler
A prescaler is an electronic counting circuit used to reduce a high frequency electrical signal to a lower frequency by integer division. The prescaler takes the basic timer clock frequency (which may be the CPU clock frequency or may be some hig ...
to bring the signal frequency down to a point where normal digital circuitry can operate. The displays on such instruments consider this so they still display the correct value. Microwave frequency counters can currently measure frequencies up to almost 56
GHz
The hertz (symbol: Hz) is the unit of frequency in the International System of Units (SI), often described as being equivalent to one event (or Cycle per second, cycle) per second. The hertz is an SI derived unit whose formal expression in ter ...
. Above these frequencies, the signal to be measured is combined in a
mixer with the signal from a
local oscillator
In electronics, the term local oscillator (LO) refers to an electronic oscillator when used in conjunction with a Frequency mixer, mixer to change the frequency of a signal. This frequency conversion process, also called Heterodyne, heterodyning ...
, producing a signal at the difference frequency, which is low enough to be measured directly.
Accuracy and resolution

The accuracy of a frequency counter is strongly dependent on the stability of its timebase. In particular, timebase stability may be degraded by vibration, electromagnetic interference, drift due to age, and temperature variations, thus making the measured frequency seem higher or lower than the actual value. Consequently, highly stable timebase circuits are usually employed in frequency counters. Simple
crystal oscillator
A crystal oscillator is an electronic oscillator Electrical circuit, circuit that uses a piezoelectricity, piezoelectric crystal as a frequency selective surface, frequency-selective element. The oscillator frequency is often used to keep trac ...
s are commonly used when high accuracy is not required; for higher accuracy measurements, a
GPS disciplined oscillator or
oven-controlled oscillator is typically used.
Accuracy is often limited by the available
resolution of the measurement. The resolution of a single count is generally proportional to the timebase oscillator frequency and the gate time. Improved resolution can be obtained by several techniques such as
oversampling
In signal processing, oversampling is the process of sampling (signal processing), sampling a signal at a sampling frequency significantly higher than the Nyquist rate. Theoretically, a bandwidth-limited signal can be perfectly reconstructed if ...
/averaging.
Additionally, accuracy can be significantly degraded by jitter on the signal being measured. It is possible to reduce this error by oversampling/averaging techniques.
It is also possible to measure frequency using the same techniques in software in an
embedded system
An embedded system is a specialized computer system—a combination of a computer processor, computer memory, and input/output peripheral devices—that has a dedicated function within a larger mechanical or electronic system. It is e ...
. A
central processing unit
A central processing unit (CPU), also called a central processor, main processor, or just processor, is the primary Processor (computing), processor in a given computer. Its electronic circuitry executes Instruction (computing), instructions ...
(CPU), for example, can be arranged to measure its own frequency of operation, provided it has some reference timebase to compare with.
I/O Interfaces
I/O interfaces allow the user to send information to the frequency counter and receive information from the frequency counter. Commonly used interfaces include
RS-232
In telecommunications, RS-232 or Recommended Standard 232 is a standard introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a ''DTE'' (''data terminal equipment'') such as a compu ...
,
USB
Universal Serial Bus (USB) is an industry standard, developed by USB Implementers Forum (USB-IF), for digital data transmission and power delivery between many types of electronics. It specifies the architecture, in particular the physical ...
,
GPIB
Glycoprotein Ib (GPIb), also known as CD42,
is a component of the GPIb-V-IX complex on platelets. The GPIb-V-IX complex binds von Willebrand factor, allowing platelet adhesion and platelet plug formation at sites of vascular injury. Glycoprotei ...
and
Ethernet
Ethernet ( ) is a family of wired computer networking technologies commonly used in local area networks (LAN), metropolitan area networks (MAN) and wide area networks (WAN). It was commercially introduced in 1980 and first standardized in 198 ...
. Besides sending measurement results, a counter can notify users when user-defined measurement limits are exceeded. Common to many counters are the
SCPI
The Standard Commands for Programmable Instruments (SCPI; often pronounced "skippy") defines a standard for syntax and commands to use in controlling programmable test and measurement devices, such as automatic test equipment and electronic tes ...
commands used to control them. A new development is built-in LAN-based control via Ethernet complete with
GUI's. This allows one computer to control one or several instruments and eliminates the need to write SCPI commands.
See also
*
Frequency meter
References
External links
* Agilent's AN200: Fundamentals of electronic frequency counter
12
LCD Frequency Counter
How to build your own Frequency Counter
{{Authority control
Digital electronics
Counting instruments
Electronic test equipment