Escolar Documentos
Profissional Documentos
Cultura Documentos
environment, system-level PLL is directly modeled by using DSP
Builder
+
= ==
+ + +
1
where
1
K means proportional control parameters,
2
K integral control parameters, they have following
relationship with parameters
n
and :
1
2 2
2
2
n
n
K T
K T
2
Where
n
denotes the system's natural frequency,
the damping oefficient, and
T
the sampling period.
Figure 1 Model of PI control based second-order DPLL in
discrete domain
7150
978-1-4244-9439-2/11/$26.00 2011 IEEE
Closed-loop transfer function of second-order analog PLL
can also be represented by the standard closed-loop transfer
function of second-order system:
2
2 2
( ) 2
( )
( ) 2
+
= =
+ +
out n n
APLL
in n n
s s
H s
s s s
The above transfer function of second-order PLL in
continuous domain can be transformed into the following
discrete domain transfer function by using bilinear
transformation method:
( ) ( ) ( )
( ) ( ) ( )
2 2 2
1 2
2 2 2
1 2
[4 ] 2 [ 4 ]
( )
[4 4 ] [2 8] [4 4 ]
n n n n n
ADPLL
n n n n n
T T T z T T z
H z
T T T z T T z
+ + +
=
+ + + + + +
4
On comparing equation (1) and (4), we found that the two
expressions are for the same system, and then obtain the
expression about parameters
1
K and
2
K as following:
( )
( )
( )
1 2
2
2 2
8
4 4
4
4 4
n
n n
n
n n
T
K
T T
T
K
T T
+ +
+ +
5
B. Performance analysis of fuzzy PI control based DPLL
System architecture of DPLL based on fuzzy PI control is
shown as figure 2. The DPLL includes a digital phase detector
(DPD), a fuzzy controller, a digital loop filter (DLF) and a
numerically controlled oscillator (NCO). In the figure,
) (n
rfe
represents the input signal, ) (n
out
output signal,
) (n
err
error signal (including a phase error
e
and change
rate of phase error
'
e
).
Figure 2 System model of second-order DPLL based on
fuzzy PI control
When the PLL begins to work or some external
disturbances occur, the phase error
e
and change rate of the
phase error
'
e
are both high, fuzzy control parameter
L
B
will be increased by the fuzzy controller, and also an increase
to the loop noise bandwidth, and thus through PI control the
system dynamic process as well as the process of arriving
phase-locked state is sped up; when PLL is locked in a phase
steady state,
e
and
'
e
are both relatively small, fuzzy
control parameter
L
B will be decreased by the fuzzy
controller, and followed by an decrease to the loop noise
bandwidth, and through the PI control steady state error is
eliminated, while anti-interference ability is enhanced and the
phase jitter is reduced.
Noise hemi-bandwidth of the loop is defined as:
( )
2
0
L
B H j df
6
In equation (3), let j s = , we obtain frequency
response ) ( j H of the closed-loop system, with which and
from Eq (6) the loop noise bandwidth is represented as:
2
(1 4 )
8
n
L
B
= + 7
Under MATLAB
, the relationship of
n
L
B
and can
be obtained according to
8
4 1
2
+
=
n
L
B
and shown as curve
in Figure 3. As can be seen from the figure, given a
narrow-band Gaussian white noise,
L
B of the ideal
second-order PLL has a unique minimum
n L
B 5 . 0
min
= ,
when 5 . 0 = holds, and from the point view of noise
suppression, the best damping coefficient of the ideal
second-order PLL system should be selected as 5 . 0 = .
Considering that the transient response of second-order system
should not last too long, its best to make the system work in
the critical damping state, so we take 707 . 0 = , when
n L
B 53 . 0
min
= , almost the same with the minimum value.
Taken together, the system damping coefficient can be chosen
as 707 . 0 = .
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
2
B
L
/
n
BL/n--
Figure 3 Curve for relationship / ~
L n
B
7151
Substitute
1 4
8
2
+
=
L
n
B
into equation (5) we have:
2 2 2 2 2
2
1
) ( 64 ) 4 1 ( 32 ) 1 4 ( 4
64
T B T B
T B
K
L L
L
+ + + +
=
8
2 2 2 2 2
2
2
) ( 64 ) 4 1 ( 32 ) 4 1 ( 4
) ( 256
T B T B
T B
K
L L
L
+ + + +
=
9
From above analysis we have, once and T are
chosen, the relationship between
L
B and
1
K also
2
K is
determined. Therefore, when the loop noise bandwidth
L
B changes, the proportional and integral control parameters
1
K and
2
K would change accordingly, and then through
the digital loop filter the NCO is controlled.
III. DESIGN OF PHASE LOCK SYSTEM
A. Design of Fuzzy Controller
Since the relationship between the error signal and the
loop noise bandwidth is difficult to be accurately modeled, a
fuzzy scheme is used [7-9]. Here we adopt a two-input
single-output fuzzy controller. Membership functions of input
and output variables are all chosen as trigonometric functions,
the linguistic variables for the input phase error
e
and change
rate of phase error
'
e
and
'
e
, the
self-tuning of parameter
L
B
should meet the following rules:
(1) if
e
and '
e
and '
e
and '
e
Structure model of the Fuzzy PI control based PLL is
constructed under MATLAB/Simulink
'
e
7152
control.
IV. DESIGN OF PLL HARDWARE
DSP Builder
, it
make the design of complex digital systems be implemented
through graphical user interface. As a third-party software of
Quartus
provides module
named Signal Compiler as interface for Quartus
II and
Matlab
II environment,
compiled code can be downloaded to an FPGA chip, which
may be our target circuit.
Above mentioned ADPLL can be automatically converted
to VHDL code by using DSP Builder
, under Quartus
we
get simulation results of ADPLL based on fuzzy PI control (as
Figure 5). The simulation results indicate that when a jump
occurs on the frequency of input signal, the system can arrive
phase re-locked state in a few clock cycles.
Figure 5: simulation results of ADPLL based on fuzzy PI control
V. CONCLUSIONS
This paper presents a fuzzy PI control algorithm based
DPLL, including performance analysis and design methods of
this kind of DPLL. Under Matlab/ Simulink environment,
system-level model is also established by using DSP
Builder, modeling and simulation results have been
obtained under Quartus . Software simulation confirms
the correctness and feasibility of the design. The PLL can
automatically adjust the noise bandwidth according to the
system working conditions, through which overcomes the
contradiction between increasing the speed of PLL for
arriving phase locked state and enhancing system
performance on anti-Interference, and it is characterized small
phase jitter, outstanding anti-Interference performance and
prone to integration. Furthermore, it can be as modules
embedded within the SOC, and owns a wide range of
applications.
REFERENCES
[1] Huachun Hu, Yu Hu. Principle and applications of digital phase locked
loop [M]. Shanghai: Shanghai Science and Technology Press, 1990 (In
Chinese).
[2] Juesheng Zhang. Phase Lock Technology [M]. Xi'an: Xidian
University Press, 1994 (In Chinese).
[3] Changhong Shan, XieYuan Meng. Design of DPLL based on FPGA
[J]. Electronic Technology Application, 2001 (9): 58 ~ 60 (In
Chinese).
[4] Wenli Wang, Zhang Xia. Design of DPLL based on FPGA[J].
Electronic Design Engineering, 2009 17 (1): 39 ~ 43 (In Chinese).
[5] Hao Pang, sky ZU, Zan-ji Wang. A new all-digital phase-locked loop
[J]. CSEE, 2003,23 (2) :37-41 (In Chinese).
[6] Changhong Shan, Yan Wang, Chen Wen-Guang, Zhongze Chen.
Design and implementation of FPGA-based high-order ADPLL[J].
Circuits and Systems .2005,10 (3): 76 ~ 79 (In Chinese).
[7] Yao-nan Wang, Wei SUN. Intelligent Control Theory and
Applications[M]. Machinery Industry Press, 2008 (In Chinese).
[8] Xue-Yi Qi, Yijiang Cai, Jiang Wu. Simulation of Air Conditioner
System with Variable Air Volume Based on Fuzzy PID Control[J].
Jiangsu University (Natural Science), 2005,26 (4) :364-368 (In
Chinese).
[9] J. Kim, M.A. Horowitz, and G. Wei, Design of CMOS
adaptive-bandwidth PLL/DLLs: A general approach, IEEE
Trans.CIircuits and SystemsII: Analogand Digital Signal
Processing,Vol. 50, pp. 860-869, Nov. 2003.
[10] Jinkun Liu. Advanced PID control and simulation under Matlab[M].
Electronic Industry Press, 2003 (In Chinese).
7153