4.09091

4.1 | 11 ratings Rate this file 227 Downloads (last 30 days) File Size: 390 KB File ID: #14868
image thumbnail

Phase Locked Loop tutorial

by

 

04 May 2007 (Updated )

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

| 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 System Toolbox
Control System Toolbox
Fixed-Point Designer
DSP System Toolbox
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)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (15)
17 Apr 2014 bo

i am looking forwad

26 Dec 2013 Ravi

I need how to generate verilog/VHDL code for DPLL_fxdpt.

I am facing few errors with state flow concept.

Please help me... kindly...

17 Nov 2012 truepeak  
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

17 Nov 2011 Yue Wu

??? Error using ==> construct_error at 109
DOS commands may not be executed when the current
directory is a UNC pathname

Please change the current directory to a local directory
or use a network drive mapped to the current directory.

Warning: Unable to load block diagram 'powerlib'
> In plldemo at 181
??? Error using ==> plldemo at 181
Failed to load library 'powerlib' referenced by
'powerpll/Charge Pump Loop Filter/+10V'.

Caused by:
Error using ==> plldemo at 181
Unable to open file for reading: "powerlib.mdl".

25 Nov 2010 Dhaval Shah  
01 Oct 2010 Noura Ben Ameur

i have matlab 7.0 release and the file "dpll.m" does'nt work due to "NCO" block. How can i do?

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.

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?

03 Jun 2008 xiaojian mao  
16 Apr 2008 XIMENA TARIFA PEREZ  
30 Mar 2008 Evgeny Yankevich

I am looking for fully digital freq traking loop

20 Jan 2008 Alex RB  
20 Nov 2007 Master Pic  
01 Nov 2007 George Kipens  

Contact us