Reference VCO output Error (mixer) Control voltage

Phase-Locked Loop โ€” 2D Mixer, Loop Filter & VCO

This is a genuine 2D control-loop simulation of a phase-locked loop, not an animated diagram. An analog-multiplier phase detector compares the real reference and VCO waveforms every sample, a one-pole low-pass loop filter smooths that mixer output into a control voltage, and the VCO's own frequency shifts in proportion to that voltage before being integrated back into phase — closing the loop exactly like real PLL hardware. Step the reference frequency to see a real lock-in transient, and adjust the loop filter's bandwidth to explore the classic lock-speed-versus-stability tradeoff.