5.0

5.0 | 2 ratings Rate this file 34 Downloads (last 30 days) File Size: 1.77 KB File ID: #24167

Simple PLL demostration

by J C

 

18 May 2009

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  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
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

16 Sep 2011 Fernando Gregorio  
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

Please login to add a comment or rating.

Contact us at files@mathworks.com