3.83333

3.8 | 6 ratings Rate this file 274 downloads (last 30 days) File Size: 390.33 KB File ID: #14868

Phase Locked Loop tutorial

by Giorgia Zucchelli

 

04 May 2007 (Updated 04 May 2007)

Code covered by BSD License  

A tutorial showing how Phase-Locked Loops, both analog and digital can be efficiently modeling in Si

Download Now | Watch this File

File Information
Description

This tutorial starts with a simple conceptual model of an analog Phase-Locked Loop (PLL). Through elaboration it ends at a model of an all digital and fixed-point phase-locked loop. The final model can serve a starting point for code generation (both ANSI C or synthesizable HDL).

The step-wise elaboration of the model illustrates how Simulink® forms the basis a model-based design where continuous verification of the model reduces errors.

Required Products Communications Blockset
Communications Toolbox
Control System Toolbox
Fixed-Point Toolbox
Signal Processing Blockset
Signal Processing Toolbox
SimPowerSystems
Simulink
Simulink Fixed Point
Stateflow
MATLAB release MATLAB 7.4 (R2007a)
Other requirements Not all the products are required for all the models (see the published m-file for more details)
Zip File Content  
Published M Files Demo: Phase Locked Loop
Other Files
cppll.mdl,
dpll.mdl,
dpll_fixpt.mdl,
linearpll.mdl,
plldemo.m,
powerpll.mdl,
html/fixpttool.jpg,
html/Thumbs.db,
html/plldemo.png,
html/plldemo_01.png,
html/plldemo_02.png,
html/pfd.jpg,
html/plldemo_04.png,
html/plldemo_05.png,
html/plldemo_06.png,
html/plldemo_07.png,
html/plldemo_08.png,
html/plldemo_09.png,
html/plldemo_10.png,
html/plldemo_11.png,
html/plldemo_eq79689.png,
html/plldemo_03.png
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (8)
01 Nov 2007 George Kipens  
20 Nov 2007 Master Pic  
20 Jan 2008 Alex RB  
30 Mar 2008 Evgeny Yankevich

I am looking for fully digital freq traking loop

16 Apr 2008 XIMENA TARIFA PEREZ  
03 Jun 2008 xiaojian mao  
08 May 2009 Niceseb cheung

cp_pll has run time error
"Error reported by S-function 'scominhshape' in cppll/Continous time VCO/Inherit Shape1"
Input and output frame status or dimension are invalid.

?

Also how to plot the 2 input scope on top of each other so I can see the phase offset?

23 Nov 2009 M. Cirillo

You can plot the two curves on one axis using a Mux (in Signal Routing). Run the Mux output to the scope and you'll be able to see the offset more clearly.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
dsp Giorgia Zucchelli 22 Oct 2008 09:11:34
pll vco nco phase locked loop control charge pump Giorgia Zucchelli 22 Oct 2008 09:11:34
dsp Anand Sharma 07 Oct 2009 01:32:34
pll vco nco phase locked loop control charge pump Anand Sharma 07 Oct 2009 01:32:37
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com