Code covered by the BSD License  

Highlights from
Simple PLL demostration

4.66667

4.7 | 3 ratings Rate this file 55 Downloads (last 30 days) File Size: 1.77 KB File ID: #24167

Simple PLL demostration

by

 

This m-file demonstrates PLL operation

| Watch this File

File Information
Description

This m_file uses a PLL to demodulate an FM modulated carrier.

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
29 Apr 2013 Anderson

Thank you very much for this simple PLL implementation. However, I noticed it uses both the real and imaginary parts of the Signal. In a physical implementation we only have access to the real part of the signal, right? So how can this be applied to a real, physical signal?

11 Jul 2012 Mike Woodward

You might also be interested in our new PLL design page: http://www.mathworks.com/mixed-signal-systems/pll-design.html

22 Nov 2011 Mike Woodward

If you're interested in this submission, you might also like the new, free mixed-signal library available from here: http://www.mathworks.com/programs/mixed-signal/index.html

16 Sep 2011 Fernando Gregorio  
17 May 2010 Andres Camilo Cuervo Pinilla

PLEASE SR I WOULD LIKE TO KNOW THE MEAN OF SOME VARIABLES:

phi_hat(1)=30;
e(1)=0;
phd_output(1)=0;

vco(n)=conj(exp(1i*(2*pi*n*f/fs+phi_hat(n-1))));%Compute VCO
phd_output(n)=imag(Signal(n)*vco(n));%Complex multiply VCO x Signal input
e(n)=e(n-1)+(kp+ki)*phd_output(n)-ki*phd_output(n-1);%Filter integrator
phi_hat(n)=phi_hat(n-1)+e(n);%Update VCO

ALSO I WOULD LIKE TO KNOW HERE I COULD FIND SOME BOOKS TO READ ABOUT PLL

THANKS
AC

Contact us