Frequency Counter : Block Diagram, Circuit, Types and Its ...

06, May. 2024

 

Frequency Counter : Block Diagram, Circuit, Types and Its ...

In digital electronics, counters are used to count the no.of pulses or events that have occurred. Counters store the data and made up of a group of flip-flops with an applied clock signal. Counters are capable of measuring frequency and time along with the counting process. These can increment memory addresses according to the application. Counters are divided into two types they are synchronous counters and asynchronous counters. The ‘mod’ of the counter indicates the no.of states should be applied before counting the pulses. These are used in various digital applications such as analog to digital converters, digital clocks, frequency dividers, timer circuits, and many more. This article is all about the frequency counter.

For more Application Of Frequency Counterinformation, please contact us. We will provide professional answers.


What is the Frequency Counter?

Definition: The test instruments which are associated with a wide range of radio frequencies that the frequency and time of digital signals are called frequency counters. These are capable of measuring the frequency and time of repeated digital signals accurately. These are also known as frequency meters, used to measure the frequency and time of square wave and input pulses. These are used various applications with RF range. These counters use Prescaler to reduce the frequency and operates the digital circuit. The frequency of the digital or analog signals is displayed on its display in HZ.

When the no.of pulses or events occurred in a specific period of time, the counter counts the pulses and transfers it to the frequency counter to display the frequency range of pulses and counter is set to zero. It is very easy to use and measure the frequency, and displays in digital form. These are available at affordable rates with more accuracy.

Block Diagram

The frequency counter block diagram contains input signal, input conditioning, and threshold, AND gate, counter or latch, accurate timebase or clock, decade dividers, flip-flop, and display.

Input

When the input signal with high input impedance and low output impedance is applied to this counter, then it will be fed to the amplifier to convert the signal into a square wave or rectangular wave for processing within the digital circuit. The input signal is buffered and amplified by using the input conditions and thresholds. In this stage, Schmitt trigger is used to control the counting additional pulses occurred due to noise at the edges. To reduce the counting additional pulses, the trigger level and sensitivity of the counter can be controlled.

Clock (Accurate Time-base)

Clock or accurate time-base is necessary to produce various timing signals at precise time intervals. It uses a crystal oscillator with high quality for controlled and accurate timing signals. The clock is applied to decade dividers.

Decade Dividers and Flip-Flop

Pulses generated from the incoming signal and clock signal are fed to the decade dividers to divide the clock signal and the output is given to the flip-flop to produce enabling pulse for the main AND gate.

Gate

The accurate enabling pulse from the flip-flop and the train of pulses from the input signal is applied to the gate ( AND gate ) to produce a series of pulses at a precise time interval. If the input signal/incoming signal is at 1 MHZ and for the 1-second gate should be opened, then 1 million pulses are produced as a resultant output signal.

Counter or Latch

The output of the gate is fed to the counter to count the no.of pulses that occurred from the input signal. The latch is used to hold the output signal while displaying the figures, meanwhile, the counter counts the pulses. It will have 10 stages to count and hold the pulses.

Display

The output of the counter and the latch are given to the display to provide the output in a readable format. The frequency of the output signal is displayed. The most commonly used displays are LCD or LED. Since there will be one digit for each decade counter and the related information is displayed on the display.

Frequency Counter Circuit Diagram

The circuit diagram of this can be done using two timers, counters, 8051 microcontrollers, potential resistors, square wave generator, and LCD display. The basic circuit diagram is shown below.

The frequency counter uses IC 555 timer to provide clock signals at a precise time interval of one second. Arduino UNO is used as a square wave generator. An IC 555 timer and square wave generator can be configured as an astable multivibrator. The 16×2 LCD display is used to display the frequency of the output signal in Hertz.

The circuit of this can be done by using IC 555 timer and timer/counter of 8051 microcontrollers. To generate the oscillating signals with a duty cycle (99%) with the highest time period of the output signal, the IC 555 timer is used. The threshold and discharge resistors can be adjusted to get a desired value of the duty cycle. The formula for the duty cycle is D= (R1+R2)/(R1+2R2).

The timer/counter of 8051 microcontrollers is used to generate the frequency of the pulse in Hertz. Since 8051 has two timers acts as timer 0 and timer 1 and operated in mode 0 and mode 1. Timer 0 is used to produce a time delay. The pulses out from the square wave generator are counted by using timer 1.

The circuit design of the frequency counter using IC 555 timer is shown below.

Frequency Counter Circuit Operating Principle

The pulses generated from the square wave generator are fed to the counter/timer of 8051. It is operated in two modes to generate time delay and count the pulses. The counter/timer of 8051 counts the no.of pulses from the input signal at a time interval. The output from the counter is given to the 16×2 LCD display to display the frequency of the signal (no.of cycles/second) in Hz at a particular time interval. This is the operating principle of the frequency counter.

Frequency Counter Working

The working of the frequency counter can be explained from the above circuit diagram. The pulse generated from the square wave generator (Arduino UNO) is given to the pin 3.5 (port 3) of 8051 microcontrollers. Pin 3.5 of 8051 acts as timer 1 and configured as a counter. TCON TR1 bit can be set to HIGH and LOW to count the pulses. The final count is stored in TH1 and TL1 registers (timer 1). The frequency of the pulse can be calculated by using the formula,

F = ( TH1 X 256 ) + TL1

To convert the values of the pulse in hertz, the resultant value is multiplied by 10 i.e., frequency in cycles per second. After some calculations inside the frequency counter, the frequency of the pulse is displayed on 16×2 LCD.

Types of Frequency Counter

The frequency of the pulse can be measured by using two types of frequency counters. They are,

  • Direct counting frequency counter
  • Reciprocal frequency counter.

Direct Counting Frequency Counter

This is one of the simplest methods of measuring the frequency of an input pulse. After counting the no.of cycles of the input pulse per second, the frequency can be calculated by using a simple counter circuit. This conventional method is limited to measure low-frequency resolution. To get the highest resolution, the gate time can be expanded. For example, to measure resolution at 1MHZ, then 1000 seconds time period is needed to measure at one time.

Reciprocal Frequency Counter

This method is used to overcome the disadvantages of the direct counting method. It measures the time period of input pulse instead of calculating no.of cycles per second. The frequency of the pulse can be calculated by using F = 1/T. The final frequency resolution depends on temporal resolution and independent of the input frequency. It can measure the low frequency at the highest resolution very quickly and reduces the noise by adjusting the trigger level. It measures the time period of input pulse ( contains several cycles ) and maintains sufficient time resolution. This can be carried out at a low cost.

The other types of frequency counters are

  • The bench frequency counter is used for electronics test equipment
  • PXI frequency counter displays frequency in a PXI format and used for test and control systems.
  • Handheld frequency counter
  • Frequency counter using a digital multimeter
  • Panel meter

Advantages

The advantages of frequency counter are

  • It measures the frequency of the pulse generated from the square wave generator at a precise time interval.
  • These are widely used to measure frequency within the RF range
  • These counters provide accurate frequency values very quickly and easily.
  • It is cost-effective depending on the application.
  • Ensures that all the frequencies are transmitted within the specified bands.

Applications

The applications of frequency counter are

  • Used to determine the frequency of the pulse obtained from the square wave generator.
  • Used to measure the frequency of the pulse very accurately
  • Measures the frequency of the incoming signal at the transmitter and receiver on a line
  • Used in data transmissions because of the clock pulse.
  • Frequency of an oscillator can be measured
  • Used in RF Range
  • Detects the frequency of a high power data transmissions

FAQs

1). What is the unit of frequency?

Frequency of the signal is measured in Hertz (HZ)

2). What is the use of a frequency counter?

These are used to measure the accurate frequency of a signal generated from a square wave generator or an oscillator.

3). What type of counters are used to measure high frequencies?

Synchronous and asynchronous counters are used to measure high frequencies.

4). What do you mean by the mod counter?

Mod counter or modulus counter is defined as the no.of states that counter counts the pulse in sequence by applying a clock signal.

5). What are the two methods of frequency counter?

The methods are Direct counting and Reciprocal

Thus, this is all about the definition, block diagram, circuit diagram, circuit design, operating principle, working, types, advantages and applications of the frequency counter. Here is a question for you, what are the disadvantages of a frequency counter?

The RF Engineer's Essential Guide to Frequency Counters

The RF Engineer's Essential Guide to Frequency Counters


Frequency counters must be an essential instrument on every RF engineer and precision electronic engineer's desk. In this article, learn:

  • The necessity of a frequency counter
  • The different types of counters
  • The industries that use them
  • Their construction and working principle
  • Tips to select and use them effectively

What Is a Frequency Counter?

A frequency counter accurately measures the frequencies of signals whose waveforms are sinusoidal, square, triangle, sawtooth, or other regular, repetitive patterns.

These instruments can measure frequencies and timing characteristics of both analog and digital signals.

Do You Need Frequency Counters? Frequency Counters vs. Oscilloscopes and Other Devices

Other instruments like oscilloscopes, spectrum analyzers, and frequency meters (like old analog-style needle gauges) can also measure frequency.

However, what sets frequency counters apart is their extremely high accuracy and precision.

While other instruments use software to measure frequency and other characteristics from digitized data, frequency counters use carefully engineered hardware circuits to precisely measure them directly on the input signal.

Want more information on Difference Between Function Generator And Oscilloscope? Feel free to contact us.

In addition, remember the following while choosing an instrument:

  • They offer high precision and resolution even at very high gigahertz frequencies.
  • They're better for continuous wave signals while software-based measurements work better for pulse signals.
  • You can reliably use them for long-term frequency measurements.
  • They are simpler and faster to use compared to oscilloscopes or spectrum analyzers.

What Are the Different Types of Frequency Counters?

Frequency counters come with a wide variety of capabilities and form factors. We first look at the different types based on capabilities.

Types of Frequency Counters by Capability

The primary method of categorization is based on their target industries and capabilities.

1. Universal Counters

Instead of pure frequency counters, many customers prefer all-in-one universal counters that support common ancillary measurement capabilities, like signal timing, along with frequency measurement. They can typically measure:

  • Frequency: This is the number of full cycles completed in unit time.
  • Period: This is the time interval of a full cycle of the signal.
  • Frequency ratio: It measures the frequency ratio of two input signals.
  • Time interval: This measures the time delay between events of two input signals.
  • Time interval error: This measures the variation in timing relative to an expected or ideal value.
  • Pulse width: This measures the time taken by a pulse, typically the high of a digital signal.
  • Rise and fall times: These are the times taken by a digital signal to go from low to high states and back.
  • Phase angle: This measures the phase difference between two input signals.
  • Duty cycle: This is the percentage of a full cycle for which the signal, typically a square wave, is high.
  • Voltages: The maximum, minimum, and peak-to-peak voltages of a signal are reported.
  • Signal power: Some universal counters include built-in power meters to report the signal power.

In addition, these instruments support higher-level statistical and analytical functions like:

  • Histogram plots to view the distribution of frequency measurements and detect stability or noise issues
  • Trend plots of frequencies to detect drift and similar problems
  • Statistics of frequency measurements to detect jitter
  • Totalized metrics of frequency readings
  • Allan deviation, a measure of frequency stability

2. Radio Frequency Counters

Radio frequency (RF) counters, or microwave frequency counters, are heavily used in RF engineering. Their measurable frequencies range from a few kilohertz (kHz) to hundreds of megahertz (MHz) and even tens of gigahertz (GHz). For example, the Keysight 53230Auniversal counter/timer base model supports up to 350 MHz while an advanced model supports up to 15 GHz.

RF counters are built differently because digital circuit elements like flip-flops are too slow to keep up with the high-speed transitions of GHz-range radio signals. So RF counters use prescalers or other frequency downscaling components to first reduce the frequencies of input signals to the MHz range.

3. Counter Timers

These are also called time interval analyzers and are optimized for precise time interval measurements.

4. Modulation Domain Counters

These counters are specialized for analyzing modulated signals where the carrier signal is periodic but that pattern's obfuscated by a frequency modulation scheme.

Types of Frequency Counters Based on Form Factors

Frequency counters can also be classified based on their form factors and interfaces into:

  1. Benchtop instruments
  2. Handheld instruments
  3. Hardware modules that plug into modular test equipment
  4. Embedded blocks in application-specific integrated circuits
  5. Logic blocks in field-programmable gate arrays

Which Industries Use Frequency Counters?

The different types of frequency counters are used wherever very precise frequency and timing measurements are required, like the industries below.

Electronic Component Manufacturing

Precise frequency and timing measurement are essential for the quality control of a variety of electronic components like:

  • Oscillators
  • Phase-locked loops
  • Clock modules
  • Analog to digital converters
  • Timer circuits
  • Frequency dividers

Frequency counters are used as testers in these industries.

Defense

RF counters are used for the quality control of critical radar and sonar systems.

GNSS constellations like the Global Positioning System heavily rely on precision in timing and frequency characteristics.

Telecommunication Systems

Similarly, frequency counters are used to achieve precise timing and frequency characteristics in wireless telecommunication equipment like 5G base stations.

How Does a Frequency Counter Measure Frequency?

Frequency measures the number of complete cycles of a signal in unit time. There are two frequency measurement approaches.

The first, called the direct frequency measurement technique, just counts the number of cycles completed in a fixed time interval called the gate time. This works as follows:

  • A very precise clock called a timebase does the gating, which is the process of measuring the number of cycles completed during a fixed gate time interval.
  • It reports the frequency as the number of cycles measured divided by the gate time.

Some disadvantages are obvious here:

  • The gate time need not coincide with the signal's cycle, leading to inaccurate measurement of the number of cycles.
  • For low-frequency signals, each cycle may take a long time. The counter has to set a long gate time to measure the cycles accurately.

An alternative and better approach is the reciprocal measurement technique. Instead of counting the number of cycles completed in a fixed gate time:

  • It waits for a fixed (internally configured) number of cycles to complete.
  • It precisely measures the time taken for these many cycles to complete, using a high-precision internal or external timebase. That time is its gate time.
  • It calculates frequency by dividing the number of cycles by the measured gate time; hence the name reciprocal because it's measuring the time per cycle and then taking its inverse to calculate frequency.

The reciprocal technique's advantages include:

  • The same number of digits of frequency resolution regardless of the input frequency, be it hertz or gigahertz
  • Very accurate at very low and very high frequencies

However, reciprocal frequency counters are more expensive to build.

What Are the Key Components of a Frequency Counter?

The precision of frequency counters is because of the components that constitute them as explained in the sections below.

1. Precision Timebase

The timebase is an internal clock and gating circuit used for precise measurement of cycles or timing based on the measurement technique.

It's typically one of the following crystal oscillator circuits:

  • Room temperature crystal oscillator: It uses a simple quartz crystal that maintains a fairly stable frequency at typical room temperatures and is suitable for non-critical uses.
  • Temperature-compensated crystal oscillator: It's able to maintain stable frequencies by compensating for temperature fluctuations due to operating conditions or environmental changes.
  • Oven-controlled crystal oscillator (OCXO): Also called a high-stability oven timebase, the oscillator is housed in a mini-oven that maintains a constant temperature to achieve extremely high stability and accuracy.

Timebases are prone to timebase errors from aging and temperature effects. To maintain the highest stability and accuracy over time, ensure meticulous maintenance and regular calibration.

2. Input Amplifier, Attenuator, and Prescaler

These components modify the input signal to match the counter's circuitry. They boost weak signals, reduce strong signals, block high-frequency noise, and provide impedance matching.

RF counters must ensure that the high input signal frequencies are downscaled so that the digital circuits downstream can keep up with their transitions. So they use high-speed prescalers, transfer oscillators, or heterodyne converters.

3. Trigger or Comparator Circuit

The trigger circuit determines exactly when each cycle of the input wave starts and ends.

4. Counter Circuit

This is where the actual counting of cycles and measurement of time occurs. It consists of digital logic circuits with components like flip-flops and NAND gates that are actuated by the input signal whenever it crosses the trigger levels.

5. Microprocessor

A microprocessor:

  • Controls the frequency counter's operations
  • Stores and transfers data
  • Performs statistical and other analyses
  • Communicates with users or other devices

6. Power Supply

A frequency counter uses a high-quality power supply with very low ripple and noise.

7. Interface Circuit and External Interfaces to Other Equipment

Most modern frequency counters can interface with personal computers and automated test equipment through the following input/output interfaces:

  • General Purpose Interface Bus (GPIB): This is a hardware and data exchange standard for attaching programmable instruments to a computer. It includes the Standard Commands for Programmable Instrumentation (SCPI) standard that specifies a set of commands and semantics for each instrument class.
  • Universal serial bus (USB): Frequency counters can transfer the measured data to USB storage devices.
  • RS-232: This serial bus can be used to transfer data to a computer in custom binary formats.
  • LAN extensions for instruments (LXI-C): This is an SCPI over ethernet protocol that enables browser-based control of instruments.

8. Display Circuit

If the frequency counter is a standalone instrument, it's typically equipped with a liquid crystal display (LCD) and a display circuit to show measurements, analysis results, and graphical outputs like histograms.

What Are the Key Specifications of Frequency Counters?

Review these key specifications when you choose a frequency counter:

  • Number of input channels
  • Frequency range and maximum frequency of each channel
  • Frequency resolution, which is the precision of the frequency expressed as the number of digits
  • Time resolution, which is the smallest measurable time difference between two events in a single shot and expressed in nanoseconds or picoseconds
  • Phase resolution in degrees
  • Timebase error, timebase aging coefficient in parts per year or parts per million, and the timebase uncertainty
  • Data transfer rate to external interfaces

Tips for Achieving High Accuracy and Precision

Follow our tips for accurate measurements usingfrequency counters:

  1. Avoid automatic arming mode because it's the least accurate. Both the time resolution and the systematic uncertainty, which contribute to the overall measurement error, can be improved by using one of the other arming modes — external, time, or digit.
  2. Keep the timebase warm by always having it powered up. This gives an order of magnitude improvement in the annual aging rate compared to regularly powering down.
  3. Use the best available timebase. A high-stability oven timebase doesn't require frequent calibration, but it's recommended for less stable ones.
  4. Pay attention to trigger levels and trigger level timing errors, especially when the signal is noisy.
  5. Lock all timebases to a single clock to avoid jitter due to independent timebases.
  6. Set the trigger level so that it intersects the signal at the point of maximum slew rate to minimize the amount of time taken for the trigger condition.
  7. Don't set the trigger band so narrowly that any noise gets counted as zero crossings.

We implement all these measures in our frequency counters products described next.

Keysight Frequency Counters

Keysight's 53200 Series RF and universalfrequency counters offer the following state-of-the-art features:

  • One to three input channels
  • High-quality temperature-compensated timebases with just one part per million annual aging
  • Optional high-stability oven timebases with as low as 50 parts per billion annual aging
  • Extremely high, 12 digits frequency resolution
  • Single-shot time resolution as low as 20 picoseconds
  • Built-in advanced data analysis and graphing capabilities

Learn more through our Frequency Counter page or datasheets of our three models for very detailed specifications and accuracy calculations:

Achieve Unbeatable Accuracy With Keysight Frequency Counters

In this guide, you got an overview of the internals and applications of frequency counters. Contact us if you have any questions about our products!

If you are looking for more details, kindly visit digital frequency generator.