- Introduced by
- Floyd M. Gardner
- Year
- 1966
- Type
- Feedback control loop for frequency and phase synchronization
- Family
- Control systems, signal processing
What does it do?
A phase-locked loop (PLL) is a feedback circuit that adjusts the frequency of a local oscillator until its phase tracks the phase of an input signal. It compares the two phases, filters the resulting error, and uses the filtered error to steer the oscillator.
PLLs are used in communication receivers, clock generation and distribution, and frequency synthesis; Gardner's 1966 monograph *Phaselock Techniques* is cited here for the formal feedback theory.
The intuition behind the method
A phase detector compares the phase of the incoming signal with the phase of the local oscillator and produces an error voltage proportional to their difference. A loop filter smooths this error, and the voltage-controlled oscillator (VCO) changes its frequency in response. When the error settles at zero, the oscillator is locked to the input. Because the correction is continuous, the loop keeps tracking small changes in the input frequency without external retuning. The loop filter sets how quickly the correction happens and how much noise passes through it.
History
Gardner's 1966 monograph *Phaselock Techniques* is the cited source for the formal feedback theory of phase-locked loops. A 1979 review of a PLL text in the IEEE Transactions on Systems, Man, and Cybernetics notes that the coverage was confined to analogue loops, while digital phase-locked loops were already extensively used in frequency synthesis, which had by then become a major topic in its own right. Modern integrated frequency synthesisers use integer-N and fractional-N division, and fractional-N designs commonly use sigma-delta modulation of the division ratio.
When to use it
Choose a PLL when a signal or clock must be locked in frequency and phase to a reference. Typical cases are carrier and clock recovery in receivers, frequency synthesis for local oscillators, Doppler tracking, and grid synchronisation. Clock recovery in high-speed serial links, where the recovered clock must be phase-aligned with the data, is another typical case. Do not use a PLL when timing is independent of any reference. Avoid it when the initial frequency error may exceed the capture range without extended-range techniques, or when the input is too weak or noisy for the phase detector to produce a usable error signal. Confirm lock range and loop bandwidth against the application before committing to a design.
Limitations and considerations
- Lock time depends on loop bandwidth and damping. Increasing bandwidth speeds settling but admits more noise, so lock time and noise must be traded against each other.
- Lock is only maintained within a finite range. The linear small-signal model describes behaviour near lock; capture from a large initial frequency error may fail or need extended-range techniques, such as frequency-aided acquisition or sweep-based acquisition.
- Phase noise from the VCO, the reference and the frequency divider appears at the output. VCO noise is suppressed inside the loop bandwidth and passes through outside it, while reference and divider noise pass through inside the bandwidth.
- Nonlinear effects such as cycle slipping lie outside the linear analysis, which applies only for small phase error near lock. Large-signal behaviour is treated in the cited texts.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- The feedback loop tracks slow drifts in the input frequency and phase without a separate calibration step.
- Narrowing the loop bandwidth reduces the input noise that passes through, so a noisy reference can be cleaned up, at the cost of slower response.
- A divider between the VCO and the phase detector lets the output be a multiple or fraction of the input, which is the basis of frequency synthesis.
- The same feedback structure can be implemented in analogue or digital form.
Applications
- Carrier and clock recovery in wireless communication receivers
- Frequency synthesis for RF local oscillators and signal generators
- Clock distribution and synchronization in digital systems and ICs
- Grid synchronization in power systems and microgrids
- Doppler tracking in radar and sonar systems
How it works
How it works
The input signal to be synchronised (an RF or IF carrier, or a reference clock) is applied to the loop.
The phase detector compares the input phase with the VCO output phase and produces an error voltage proportional to the phase difference.
The loop filter, usually a proportional path combined with an integrator, smooths the error voltage. Its components set the loop bandwidth and damping, which determine how the loop responds and how much noise it passes. Near lock the loop can be analysed as a linear feedback system; the linear models and design procedures are developed in the cited texts.
The VCO changes its output frequency in response to the filtered error voltage. The output first moves toward the input frequency (frequency lock) and then aligns its phase with the input (phase lock).
Lock time, steady-state phase error, and jitter or phase noise at the output are measured. Tracking range and phase noise are checked against the requirements of the application.
Common pitfalls
- Poor loop compensation can produce ringing or slow lock. The filter must be designed for both damping and bandwidth, not bandwidth alone.
- Designing from the linear model alone and ignoring large-signal capture or cycle slipping can lead to unexpected behaviour during start-up or after input disturbances.
- Neglecting supply noise is a common error: ripple on the VCO supply modulates its frequency directly and appears as jitter at the output.
- Treating phase noise and jitter as secondary can leave too little timing margin for the circuit that uses the recovered clock.
Frequently asked questions
What is the difference between frequency lock and phase lock?
Frequency lock means the output frequency equals the input frequency while the phase may still differ. Phase lock means the output phase also matches the input phase, which implies frequency lock. Frequency lock is usually reached first, and phase lock is the goal of the loop.
What determines the PLL lock range?
The lock range is the band of input frequency error over which the loop stays locked. It depends on the loop filter and the VCO gain. Capture range, the band from which the loop acquires lock, is a separate quantity and can be narrower. Loop bandwidth sets how quickly the loop settles and how much noise passes through it, so the bandwidth is chosen as a trade-off between response speed and noise.
What is phase noise and why does it matter?
Phase noise is random variation in the phase of the output oscillator, which appears as jitter. In communications it widens the signal spectrum and can cause receiver errors. In clock distribution it causes timing uncertainty. VCO phase noise is a central limit on output purity, and the loop reduces it only within its bandwidth.
How do I design a stable PLL?
Use a loop filter, for example a proportional-integral filter (a proportional path combined with an integrator, as described in the analysis step), to set the loop bandwidth and damping. Check the open-loop Bode plot for phase margin adequate to the application. The required margin is set by the application requirements and is not specified on this page; the cited texts give the design procedures. Simulate the transient response and jitter before building the circuit: SPICE for analogue designs and behavioural models for digital ones.
Related methods
Sources
Gardner, F. M. (1966). Phaselock Techniques. Wiley & Sons.
Open publication referenceWolaver, D. H. (1991). Phase-Locked-Loop Circuit Design. Prentice Hall.
Open publication referenceBest, R. E. (2007). Phase-Locked Loops: Design, Simulation, and Applications (5th ed.). McGraw-Hill.
Open publication referenceIEEE Transactions on Systems, Man, and Cybernetics, vol. SMC-9, no. 7 (July 1979), book review, p. 403