Phase-locked loop

Version 1.0.0 (2,32 KB) von Tom Moir
A type II phase-locked loop (PLL). It is shown here demodulating frequency modulation (FM).
568 Downloads
Aktualisiert 23. Dez 2019

Lizenz anzeigen

Phase Locked Loop (PLL)

This simulates a PLL demodulating FM
The VCO is sinusoidal but can be made a squarewave if needed
Suggested parameters: Sample at 10000Hz,Carrier freq 1000Hz = VCO free running freq
Make baseband freq 8Hz and frequency deviation 100Hz.
Make run time 0.2 second
When you run this you will see the demodulated sinewave (8Hz)
It will have 2fcarrier (2fc) superimposed on top of it (as in a real PLL)

The VCO already has an integrator in the loop (the VCO). We add a second and phase-lead compensation for stability.
This gives a type II PLL.

Zitieren als

Tom Moir (2026). Phase-locked loop (https://de.mathworks.com/matlabcentral/fileexchange/73763-phase-locked-loop), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2019b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Modulation finden Sie in Help Center und MATLAB Answers
Version Veröffentlicht Versionshinweise
1.0.0