资源简介

锁相环 PLL matlab 建模 很不错的资料

资源截图

代码片段和文件信息

function [bandwidth pm] = pll_simulation(cap res ipump vco_sensitivity fout fcomp )

% Simulates 2nd 3rd and 4th order PLL loops for the topologies shown
% below using basic control systems theory.  This is useful for design
% verification.  
%
% Input 
%       - cap is the capacitors of the loop in Farads [C1 C2 C3 C4].  If
%           these components are not present in the loop set their value
%           to zero.
%       - res is the resistors of the  loop in Ohms [ R2 R3 R4].  If
%           these components are not present in the loop set their value to zero.  
%       - order of the loop either 23 or 4.
%       - ipump is the charge pump current in Amperes
%       - vco_sensitivity is the VCO sensitivity in Hertz/Volt
%       - fout is the output frequency in Hertz
%       - fcomp is the comparison frequency in Hertz
%      
% Output  
%       - bandwidth is the open loop bandwidth in Hertz
%       - pm is the phase margin in degrees
%
% The methods used here are derived from those presented in Dean Banerjee‘s
% Book “PLL Performance Simulation and Design“ 4th Ed available at
% National Semiconductors site www.national.com.  Most of the work is
% derived from Chapter 8 pp.43-47 and Chapter 9 pp. 48-53.
%

% Loop Topologies
% 2nd Order
%        +  _____                                   ______
% fcomp -->|Phase|----------------------------------| VCO |---->fout
%          |Det. |     |      |                     |     |  |
%           -----      |      |                      -----   |
%            ^ -      C1     R2                              |
%            |         |      |                              |
%            |        GND    C2                              |
%            |                |                              |
%            |               GND         _______             |
%            ----------------------------| 1/N |--------------
%                                        -------    
%
% 3rd Order 
%        +  _____                                   ______
% fcomp -->|Phase|-----------------R3---------------| VCO |---->fout
%          |Det. |     |      |         |           |     |  |
%           -----      |      |         |            -----   |
%            ^ -      C1     R2        C3                    |
%            |         |      |         |                    |
%            |        GND    C2        GND                   |
%            |                |                              |
%            |               GND         _______             |
%            ----------------------------| 1/N |--------------
%                                        -------    
%
%
% 4th Order
%        +  _____                                   ______
% fcomp -->|Phase|-----------------R3------R4-------| VCO |---->fout
%          |Det. |     |      |         |     |     |     |  |
%           -----      |      |         |     |      -----   |

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        1538  2009-05-20 02:25  license.txt
     文件        6588  2009-04-07 15:39  pll_simulation.m
     文件        2691  2009-04-07 15:39  pll_synth_2nd_order.m
     文件        3321  2009-04-07 15:39  pll_synth_3rd_order.m
     文件        4091  2009-04-07 15:39  pll_synth_4th_order.m

评论

共有 条评论