Frequency, time interval and phase measurement

Universal counters in frequency, period and time-interval modes with the plus-or-minus one count error and crossover frequency, and phase and frequency comparison by dual-trace and Lissajous methods.

Drafted with Aria, reviewed by the AiCanCode.org team. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Frequency is the quantity we can measure most accurately, because it reduces to counting cycles against a crystal clock. Grid frequency, oscillator calibration, motor speed from encoder pulses, propagation delays and the phase shift of a filter or amplifier are all measured with the same few techniques: counting, time-interval measurement and comparison on an oscilloscope.

Key ideas

Frequency by counting (universal counter). The input is shaped into pulses by a Schmitt trigger and passed through a main gate opened for an accurately known gate time Tg, derived from a crystal oscillator through decade dividers. The counter totals the pulses: f = N/Tg.

  • ±1 count error: the gate opening is not synchronised with the input, so the count can be one more or one less than the true value. The relative error is ±1/N = ±1/(f·Tg), which is large at low frequencies.
  • Time-base error: the crystal's fractional frequency error appears directly in the result (and an oven-controlled crystal reduces it).
  • Trigger error: noise on the input can shift the trigger instant — important in period mode.

Period mode. For low frequencies the roles are reversed: the input signal opens the gate for one period (or an average of 10ⁿ periods), and clock pulses of frequency fc are counted: T = N/fc. Relative ±1 error = ±1/N = ±f/fc.

  • The two modes have equal ±1 error at the crossover frequency f = √(fc/Tg). Below it use period mode, above it frequency mode.
  • A reciprocal counter always measures period internally and computes 1/T, giving constant resolution at all frequencies.

Time-interval measurement. Separate start and stop channels open and close the gate; clock pulses are counted between the two events: Δt = N/fc. Used for propagation delay, pulse width and the time between zero crossings of two signals (and hence phase).

Phase measurement.

  • Dual-trace oscilloscope: measure the time shift Δt between corresponding zero crossings and the period T: φ = 360°·Δt/T.
  • Lissajous (X–Y) method: apply one signal to X and the other to Y with equal amplitude scales. Equal-frequency signals give an ellipse; sin φ = y₀/y_max, where y₀ is the intercept on the Y axis and y_max the maximum vertical deflection. A straight line means 0° or 180°; a circle (equal gains) means 90°. The ellipse cannot tell leading from lagging.
  • Time-interval counter between zero crossings, or a dedicated digital phase meter (XOR gate or flip-flop whose average output is proportional to φ).
  • Electrodynamometer power-factor meter at power frequency.

Frequency comparison with Lissajous figures. With an unknown fy on Y and a known fx on X, a stationary pattern forms when the ratio is a rational number: fy/fx = (points where the figure touches a horizontal line)/(points where it touches a vertical line). Count tangencies on a side, not crossings through the centre.

Other methods. Frequency-sensitive bridges (Wien bridge — see AC bridges), vibrating-reed and electrodynamometer frequency meters at power frequency, heterodyne (beat) methods and prescalers at RF, where the input is divided down before counting.

Formulas

f = N / Tg ; ±1 count error = ±1/(f·Tg) (frequency mode) N = count; Tg = gate time (s); f in Hz.

T = N / fc ; ±1 count error = ±f/fc (period mode, single period) fc = clock (time-base) frequency (Hz). Averaging over M periods divides the error by M.

f_crossover = √(fc / Tg)

Δt = N / fc (time interval)

φ = 360°·Δt / T (dual trace) ; sin φ = y₀ / y_max (ellipse)

fy / fx = n_h / n_v n_h = tangencies on a horizontal edge; n_v = tangencies on a vertical edge.

Worked examples

Example 1 — choosing the counter mode. A counter has a 10 MHz time base and a 1 s gate. Measure a 2.5 kHz signal. Find the ±1 count error in frequency mode and in single-period mode, and the crossover frequency.

  1. Frequency mode: N = 2500 × 1 = 2500 → error = 1/2500 = 0.04 %.
  2. Period mode: T = 0.4 ms; N = 10⁷ × 0.4 × 10⁻³ = 4000 → error = 1/4000 = 0.025 %.
  3. f_crossover = √(10⁷/1) = 3162 Hz.

Answer: 0.04 % (frequency mode) versus 0.025 % (period mode); crossover 3.16 kHz, so period mode is slightly better at 2.5 kHz. Averaging 10 periods would reduce it to 0.0025 %.

Example 2 — Lissajous figures (GATE level). (a) With a 1 kHz signal on X, a stationary pattern touches a horizontal tangent line at 2 points and a vertical tangent line at 5 points. Find fy. (b) Two equal-frequency signals give an ellipse whose Y-axis intercept is 3 divisions and maximum vertical deflection is 5 divisions. Find the phase difference.

  1. (a) fy = fx·n_h/n_v = 1000 × 2/5 = 400 Hz.
  2. (b) sin φ = 3/5 = 0.6 → φ = 36.87° (or 180° − 36.87° = 143.13° if the ellipse's major axis lies in the second and fourth quadrants).

Answer: (a) 400 Hz; (b) φ ≈ 36.9°.

Example 3 — dual-trace phase. On a dual-trace scope at 0.5 ms/div, one period occupies 8 divisions and the zero crossings of the two traces are 1.2 divisions apart. Find the frequency and phase difference.

  1. T = 8 × 0.5 = 4 ms → f = 250 Hz.
  2. φ = 360° × 1.2/8 = 54°.

Answer: 250 Hz, 54°.

Common mistakes

  • Using frequency mode for a 10 Hz signal with a 1 s gate — the ±1 count error is 10 %.
  • Inverting the Lissajous ratio: fy/fx = horizontal tangencies / vertical tangencies.
  • Taking the ellipse intercept on the wrong axis, or measuring intercepts with unequal X and Y gains.
  • Assuming the Lissajous ellipse shows whether a signal leads or lags; it does not.
  • Measuring phase between zero crossings on traces with different DC offsets (use AC coupling).

For GATE IN

Expect NAT questions on ±1 count error in frequency and period modes, crossover frequency, gate-time selection, Lissajous frequency ratios and phase from an ellipse, and phase from a dual-trace display. MCQs test the blocks of a universal counter and why period mode suits low frequencies. Practise reading tangency counts from described figures.

Quick check

  1. A counter with a 0.1 s gate counts 4572. Frequency?
  2. What is the ±1 count error measuring 50 Hz with a 1 s gate?
  3. An ellipse has y₀/y_max = 1. Phase?
  4. A Lissajous figure touches a horizontal line at 3 points and a vertical line at 1 point, fx = 100 Hz. fy? Answers: 1. 45.72 kHz; 2. 2 %; 3. 90°; 4. 300 Hz.

Try answering each one aloud before you open it.

  1. 1.What is frequency measurement and why is it important in electrical and electronic systems?Concept

    Frequency measurement refers to the process of determining the number of cycles per second of a periodic signal. It is important because it helps in analyzing the behavior of electrical and electronic systems, ensuring they operate within their designed frequency ranges. Accurate frequency measurement is crucial for applications like communication systems, power systems, and signal processing.

  2. 2.Explain the concept of time interval measurement and its significance.Concept

    Time interval measurement involves determining the time duration between two events. It is significant in applications where precise timing is crucial, such as in digital circuits, radar systems, and synchronization of communication networks. Accurate time interval measurement ensures that systems operate in harmony and maintain their performance standards.

  3. 3.What is phase measurement and how is it used in electrical engineering?Concept

    Phase measurement refers to determining the phase difference between two periodic signals. It is used in electrical engineering to analyze the synchronization and alignment of signals, which is essential in applications like power systems, communication systems, and control systems. Accurate phase measurement helps in optimizing system performance and reducing signal interference.

  4. 4.Why is a frequency counter used in electronic measurements?Application

    A frequency counter is used to measure the frequency of an input signal accurately. It is essential in electronic measurements because it provides precise frequency readings, which are crucial for calibrating and testing electronic devices. Frequency counters are widely used in laboratories, manufacturing, and field service applications to ensure devices operate within their specified frequency ranges.

  5. 5.What happens if there is an error in phase measurement in a power system?Application

    If there is an error in phase measurement in a power system, it can lead to issues such as inefficient power transfer, increased losses, and potential damage to equipment. Accurate phase measurement is crucial for synchronizing generators and ensuring the stability and reliability of the power grid. Errors can also cause problems in load sharing and power quality.

  6. 6.How does a digital oscilloscope measure frequency and phase?Application

    A digital oscilloscope measures frequency by counting the number of cycles of a waveform over a specific time period. For phase measurement, it compares the time difference between two waveforms and calculates the phase angle. The oscilloscope displays these measurements, allowing engineers to analyze signal characteristics and make necessary adjustments.

  7. 7.Calculate the frequency of a signal if the time period is 0.02 seconds.Numerical

    Frequency (f) is the reciprocal of the time period (T). Therefore, f = 1 / T. Given T = 0.02 seconds, f = 1 / 0.02 = 50 Hz. Thus, the frequency of the signal is 50 Hz.

  8. 8.Explain how a phase-locked loop (PLL) is used for frequency synthesis.Application

    A PLL has a phase detector, a loop filter and a voltage-controlled oscillator; for synthesis a divide-by-N counter is placed between the VCO output and the phase detector. The loop adjusts the VCO until the divided output is locked in phase to a stable crystal reference fref, so the output is fout = N·fref. Changing N steps the output in increments of fref with the stability of the crystal, which is how signal generators and the time bases of counters produce many accurate frequencies from one reference.

  9. 9.What are the challenges in measuring very high frequencies accurately?Application

    Counter logic can only toggle up to a few hundred megahertz, so higher frequencies are first divided by a prescaler or mixed down with a heterodyne converter before counting. At RF the input must be impedance-matched (usually 50 Ω) to avoid reflections, and stray capacitance and lead inductance of probes load the circuit. The accuracy is ultimately limited by the time-base crystal, so an oven-controlled or externally disciplined reference is used for precise work.

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?