🔗 Phase-Locked Loop

Written by MySimulator Team · Reviewed by MySimulator Editorial Review

Last updated: 5 July 2026

Watch the VCO track the input signal

UNLOCKED

Frequently asked questions

What is a phase-locked loop (PLL)?

A PLL is a feedback control system that makes a local oscillator track the frequency and phase of an incoming reference signal. It contains a phase detector, a loop filter and a voltage-controlled oscillator (VCO).

What does the phase detector do?

The phase detector compares the input signal with the VCO output and produces an error voltage proportional to the phase difference between them. In this simulation it is modelled as a multiplier whose low-frequency component is proportional to the sine of the phase error.

What is the role of the loop filter?

The loop filter is a low-pass filter that smooths the phase-detector output, removing high-frequency components and noise so that only the slowly varying control voltage drives the VCO. Its bandwidth sets the loop's speed and stability.

What is a VCO?

A voltage-controlled oscillator generates a periodic signal whose frequency depends on its input control voltage. The PLL adjusts that voltage until the VCO frequency and phase match the input reference.

What is the difference between capture range and lock range?

The capture range is the band of input frequencies over which an unlocked PLL can acquire lock. The lock (hold) range is the wider band over which an already-locked PLL stays locked. The lock range is generally larger than the capture range.

Why does the phase error settle to a constant value?

In a first-order loop, a constant steady-state phase error is needed to produce the control voltage that keeps the VCO at the input frequency. The larger the frequency offset, the larger the steady-state phase error required.

What happens when I step the input frequency?

A sudden change in input frequency creates a growing phase error. The loop responds by changing the VCO frequency to chase the new input, and after a transient the phase error settles again — this is re-locking.

How do loop gain and filter bandwidth affect behaviour?

Higher loop gain widens the capture and lock ranges and speeds acquisition but can cause overshoot or ringing. A wider filter bandwidth makes the loop faster but lets more noise through; a narrower bandwidth is cleaner but slower.

Where are PLLs used in real life?

PLLs are everywhere: FM radio demodulators, clock recovery in data links, frequency synthesizers in radios and CPUs, tone decoders, and motor speed control. Almost every modern radio and digital chip relies on them.

Is this a physically exact PLL model?

It is a faithful behavioural model of a first-order analog PLL using a multiplier phase detector, an RC-style low-pass loop filter and a sinusoidal VCO. It captures lock, re-lock, capture/hold range and the gain/bandwidth trade-offs without simulating transistor-level circuitry.