You are on page 1of 11

FUZZY CONTROLLED detector (PD) and a low pass filter.

The
VCO adjusts its own frequency until it is
PHASE LOCKED LOOP equal to that of the input sinusoidal
signal such that the frequency and phase
of the two signals are in synchronism.
Document By
SANTOSH BHARADWAJ REDDY
Email: help@matlabcodes.com
Engineeringpapers.blogspot.com This paper deals with the
More Papers and Presentations available
on above site some aspects of design and analysis of
Fuzzy Controlled PLL. It considers
ABSTRACT
control of the loop gain by studying the
Phased locked loop operates
phase variation between the two signals.
on the principle of feed back control,
The fuzzification deals with triangular
except that the feed back quantity is not
membership functions for phase angle of
the amplitude but the phase of the
the input signal and the voltage Vdc of
sinusoidal input signal. If the input
the output signal. Fuzzy interference is
sinusoid is noise, the PLL not only
drawn using IF-THEN rules.
tracks the sinusoidal signal, but also
Defuzzification is carried out using
cleans it up. The PLL can be used as an
height defuzzification method. We
FM demodulator and frequency
report improvement in SNR and the lock
synthesizer. The PLL, being a relatively
in range frequency of a fuzzy controlled
inexpensive integrated circuit, has
PLL as compared with that of classic
become one of the most frequently used
PLL.
communication circuit. PLL is also used
1. INTRODUCTION TO PHASE
in space-vehicle-to-earth data links
LOCKED LOOP:
where there is a premium on transmitter
Weight or where the loss along the In a feed back system, the
transmission path is very large. signal fed back tends to follow the input
A classic PLL signal, if the signal feed back is not fed
consists of a voltage controlled oscillator to the input signal, the difference will
(VCO), a multiplier serving as a phase change signal feed back until it is close
to the input signal. A PLL operate on the
same principle that the quantity feed 4. Digital loop present synthesizer
back and compared is not the amplitude (DLPS) for high-speed frequency
but the phase. VCO adjusts its own switching.
frequency until it is equal to that of input 5. Design of a control system
sinusoidal signal. At this point the implementing fuzzy logic in
frequency and phase of the signal are in programmable switching.
synchronism.
The PLL consists of:
PLL has emerged as one of the
1. a phase detector,
fundamental building block in
electronics technology. The PLL 2. a low pass filter,
principle is used in FM demodulators, 3. a voltage controlled oscillator.
frequency synthesized transmitters and
The phase detector compares the
receivers, FSK decoders for the
input frequency fin with the feedback
generation of local oscillator frequency.
frequency fout. The output of the phase
Fuzzy controlled phase locked loops are
detector is proportional to the phase
comparatively lower lock in range,
difference between fin and fout. The output
higher signal to noise ratio.
voltage of a phase detector is DC voltage
A few applications of fuzzy controlled (Vdc), is often referred to as the error
phase locked loops are: voltage. The output of the phase detector
1. Fuzzy logic approach to direct is then applied to the low pass filter,
phase control converter DC machine which removes the high frequency noise
drive. and produces a dc level. This DC level,
in turn is the input to the VCO. The LPF
2. Fuzzy control for output current
also helps in establishing the dynamic
phase controlled rectifier.
characteristics of the PLL circuit. The
3. Application of fuzzy logic in the output frequency of the VCO is directly
phase locked speed control of proportional to input DC level. The
induction motors. VCO frequency is compared with the
input frequency and adjusted until it is
equal to the input frequency. In short the
PLL works in three states: free running, programmable bandwidth and center
capture and phase lock. Before input is frequencies. In the digital technology,
applied the PLL is in free running state. very high loop gain is achieved, and
Once input is applied the VCO higher order loops are easy to construct
frequency starts to change and PLL is by simple cascading. Unlike in the
said to be in the capture mode. The VCO analog PLL, Where the error signal
frequency continues to change until it is provided by the PD corrects the VCO
equal to the input frequency and phase frequency, in digital PLL the error signal
locked state is obtained. When phase controls the direction of the up-down
locked, the loop tracks any change in the counter.
input frequency through its repetitive A class of integrated hybrid
action. PLLs, including an analog VCO, an
In many applications the input signal amplifier and a low pass
dynamic characteristics of PLL play an filter, are commercially available. Ex:
important role, mainly in the reduction SE/NE 560 series, some digital PLL ICs
of acquisition time and improvement in 4046, SP8850.Digital PLL ICs using
noise immunity. The time needed to CMOS or TTL technologies are usually
reach the quasi-stationary regime, for a hybrid while the true digital PLLs are
given hop in frequency/phase is most named “all digital PLLs”.
usually determined in terms of V
equivalent number of periods. These
fi PHASE LOW PASS d VOLTAGE
fo
n DETECTOR FILTER c CONTROLLED ut
OSCILLATOR
characteristics are important in FM/FSK
demodulator and in the fast switching
Feedbac
frequency synthesizers that must often k Path
change the output frequency.

In the last two decades, PLLs


turned from the analog technology to
Digital one, due to some important
advantages like high frequency range,
insensitivity to changes in temperature
and power supply voltage,
2.

DESIGN ASPECT OF CLASSIC PHASE LOCKED LOOP:

as fL=8 fout / v,
fout=1.2 / ( 4R1C1 ).

The frequency lock-in- range for


For NE 565 PLL circuit
classic PLL is 1.40kHz.The output
R1=15kohms, C1=0.01µ f,C2=10µ f,
frequency of phase locked loop is
C3=0.001µ f, supply voltage=5.7v,
2kHz.These values are corresponds to
Frequency range is 12kHz to
the classic PLL. To obtain smaller
1.52kHz.The lock-in- range (fL) and
values of fL larger values of fout with
output frequency (fout) can be calculated
higher s/n ratio, we consider application attenuator or in the feed back loop of an
of fuzzy logic controller to the classic amplifier.
PLL. In case of second order analog
PLL, the gain loop control, also has
another advantage, namely it can speed-
up loop acquisition time and also
compensate for the change of static lock
–in characteristics.

Indeed it is well know that the


lock-In characteristics of an analog PLL
change with input frequency. It is
3. POSSIBILITIES OF FUZZY
relatively simple to achieve the desired
CONTROL IN PLLs:
performance of the PLL at a fixed
Both analog and digital PLLs can frequency by design, but the change of
be controlled by fuzzy phase controller frequency causes the variation of certain
(FPhC). Moreover the control may act at internal parameters. Thus, the transient
various stages of the loop, according to behavior of the loop as well as sideband
the typical applications. A brief analysis noise is degraded. Varying either the
of different ways of control is discussed phase detector characteristics, or the
as follows. loop filter characteristics can alter the
3.1 Control of the loop gain: loop gain frequency characteristics. On
the other hand the loop filter
For the analog PLLs, probably
characteristic is rather difficult to alter,
the simplest method to control the loop
as this operation requires switching of R,
is that of changing the loop gain and thus
and/or C components. Switching
input control voltage to the VCO. This
capacitors or resistors are undesirable
may be simply performed using an
since change in DC voltage on the
automatic gain control (AGC) amplifier
switched capacitors can introduce severe
in the loop. Such AGC amplifiers can be
transient inputs into the PLL. In general,
implemented either by using a controlled
the R and C components of the filter are
resistance in the input or output
fixed value, components. Although it is
possible to use FET as variable resistor, PLLs, at least one range of control is
or active filters to get a controlled filter, discrete.
technological reasons limit the use of 4. DESIGN ASPECTS OF THE
this alternative. FUZZY CONTROLLED PLL:
A reasonable control will provide The figure shows the fuzzy
a high loop gain in the acquisition phase control is inserted between the phase
to achieve fast acquisition and a constant detector and the low pass filter, based on
gain versus frequency in the almost the classical diagram of the PLL device.
locked in situation to minimize the phase V1 represents the first input in the fuzzy
noise and to maximize spurious signal controller and stands for the phase error
suppression. A fuzzy control seems to
dΦ (n) on the current moment (t=tn) and
perform this task. Hence this paper deals
V2 represents the second input in the
with the fuzzy control of an analog PLL
fuzzy controller and stands for the phase
(SE/NE 565).
error dΦ (n-1) the antecedent moment
(t=tn-1). The controller inputs are
3.2 FUZZY CONTROL OF THE dΦ (n-1)=Φ input(n-1)-Φ vco(n-2)
PHASE COMPARATOR:
dΦ (n)=Φ input(n-1)-Φ vco(n-1)
The use of a controlled phase
Where Φ input is the input signal,Φ vco is
comparator (PhC) in an adaptive PLL is
the VCO signal and the symbols (n-1),
a standard solution even in the crisp
(n) represents the values of the variables
PLL. This can be easily extended to
at successive moments. The fuzzy
provide a fuzzy control of the PhC, thus
control is determined five membership
turning the crisp loop into a fuzzy loop.
functions in antecedence on each of the
In fact this possibility is used, in our first
inputs. The membership functions are
attempt, to demonstrate the feasibility of
sketched in fig. This number of input
an all digital fuzzy control PLL.The
membership functions is a compromise
advantage of the fuzzy control of the
between the quality of the control and
PhC is the of ease of continuous control
dimension of Rule base. Five triangular
over the entire frequency range, while in
membership functions with equal bases
most Implementations of crisp adaptive
overlapping, sketched in fig used as The first step is the
consequent (i.e. output). The fuzzy fuzzification of input and
controller yields a control voltage Vvco output variables after
applied to the VCO input. carrying out experimental
observations. Phase
difference (Φ ) is selected as
input variable and the output,
Vdc is output variable. These
Fuzzy
twoModule
variables are fuzzified
f in V1
over their practical domains
PHASE FUZZIFICATIO
DETECTO Nas shown in fig. The fuzzy set
R V2
have been Rulebas
linguistically
e LOW PASS
INFERENCE
labeled as: AR Databas
(around), FILTER
ZR=Zero, VL=very e low.
L=low, ML=Medium Low,
DEFUZZIFICATIO
NMH=medium high H=high.

VOLTAGE
CONTROLLE
fout D Vdc
OSCILLATOR
Steps involved in Fuzzy control phase
locked loop:

1. Fuzzification,

2. Knowledge representation, 5.2 KNOWLEDGE


REPRESENTATION:
3. Inferences,
The whole process of the phase
4. Defuzzification.
locking is rule based on one hand and
data based on other hand. Thus
5.1 FUZZIFICATION: knowledge representation consists of
rule base and database
Database: This module provides
information like domains; membership
functions for input parameters Φ and vd.
5.4 DEFUZZIFICATION
Rule Base: The following rules have
This is last step in the
been formulated to optimize the phase
implementation of output of FCPLL.
locking process. The membership
This gives compromised decision
functions were tuned to decide the
regarding the dc voltage. Defuzzification
weightage of each rule.
converts overall fuzzy output of fuzzy
5.3 FUZZY INFERENCE: inference into crisp value that
Ours is the single input single corresponds to exact value of dc voltage.
output (SI-SO) System. Therefore Several defuzzification methods
Mamadani’s inference scheme is used. are available, however, due to
Here contribution of each fuzzy rule is computational simplicity higher
evaluated to compute overall fuzzy defuzzification is used. The crisp value
decision outcome about output the dc of dc voltage commutated by following
voltage. In the process of inference, each formula.
rule is individually fired by crisp value
q
Vdc∗=Σ r=1 (Pk(r) h(r)/h(r))
of phase angle. This in turn generates
clipped fuzzy sets (CFS). These Q=number of rules fired

represent overall fuzzy output Vdc. Pk(r)=peak value of rth clipped

Database for Φ and Vdc fuzzy set


Fuzzy if then rules
Input data H(r)=height of rth clipped fuzzy
Rule 1:if Φ is AR (0), then Vdc is H
µ AR0 (Φ )=L (Φ , 0,45) set
µ AR45 (Φ )=A (Φ , 0,45,90) Rule 2:if Φ is AR (45), then Vdc is MH

µ AR90 (Φ )=A (Φ , 45,90,135) Rule 3:if Φ is AR(90), then Vdc ML

µ AR135 (Φ )=A (Φ , 90,135,180) Rule 4:if Φ is AR(135), then Vdc is L


µ AR135 (Φ )=Γ (Φ ,135,180). 6. Rule 5f Φ is AR(180),
FREQUENCY LOCK INVL
then Vdc is
output data RANGE OF FUZZY CONTROLLED
µ VL(Vdc)=L(Vdc,4.4,6.2) PLL:
µ L(VLdc)=A(Vddc,4.5,6.2,8.12)
µ ML(Vdc)=A(Vdc,6.2,8.12,10.18)
µ MH(Vdc)=A(Vdc,8.12,10.18,12.0)
µ H(Vdc)=(Vdc,10.18,122)
Step 1: Define inputs and outputs for the These rules usually take the form
FC-PLL IF-THEN rules of the fuzzy rule base
firing at once, because the inputs have
The range of values that inputs and
been fuzzified. We have to arrive at a
outputs may take is called the universe
single crisp output number. These are
of discourse. We need to define the
actually several different strategies for
universe of discourse for all of the inputs
this. We consider one of the most height
and outputs of the FC-PLL, which are all
defuzzification method.
crisp values.
7. CALCULATING THE CRISP
Step 2: fuzzy the inputs:
VALUE:
We are using triangular
With FCPLL, frequency lock in range is
membership functions to fuzzy the
as follows.
inputs. There are some guidelines to be
kept in mind, when we determine the Fuzzy output with membership (IF-
range of the fuzzy variables as related to THEN) rules
the crisp inputs. 1. Very low 4.4v and low
1. Symmetrically distribute the 6.2v.
fuzzfied across universe of 2. low 6.2v and medium
discourse. low 8.12v
2. Use an odd fuzzy sets for each 3. Medium low 8.12v and
variable so that some set is medium high 10.18v.
assured to be in the middle.
4. Medium high 10.18v and
The optimization of these assignment of high 12v.
often done through trail and error for
First we must determine for each of the
achieving the best performance of the
AND clause in the IF-THEN rules.
FCPLL.

1.
Step 3: setup fuzzy membership function
for outputs. (4.4v)∧(6.2v)=4.4v
Step 4: create a fuzzy rule base:
2.
For the classic PLL, frequency lock in
range is 1.4kHz;with FCPLL frequency
(6.2v)∧(8.12v)=6.2v
lock in range is 1.33kHz.hence the lock
in range is reduced by 10%. For classic
PLL the signal to noise ratio is as

3. (8.12v)∧(10.18v)=8.12v
follows:

SNR=20 ( logVs / Vn ) Where Vs is


voltage of signal without noise,

4.
Vn is the voltage
of signal with noise.
(10.18v)∧(12v)=10.18v
Here
Vs=1.98v, Vn=0.001v.
By using the fuzzy rule base, we
have the following inputs. We must
combine the recommendation to arrive at
a single crisp value. SNR=20 ( log Vs / Vn) = 65.93dB
(4.4)∨(6.2)∨(8.12)∨(10.18)∨(12). For FCPLL, Vs=1.85v, Vn=1.74V.
Here we use a disjunction or maximum SNR=79.32dB.
operator to combine the values. The
Hence improvement of SNR of the order
crisp output value is 2\12v. Using this
of 13dB has been achieved.
value of Vdc the output frequency and
lock in range can be calculated as
follows

Fout=1.2/(4R1C1)

=2kHz

fL=8fout/V

=1.33kHz
IETE research paper on Fuzzy
controlled PLL by S.R.SAWANT and
CONCLUSION:
R.R.MUDHOLKAR from Shivaji
The Characteristics of PLL (IC
Universilty.
565) were studied in frequency range
1.2kHz-1.52kHz for classic PLL. The
Document By
said PLL showed the lesser signal to SANTOSH BHARADWAJ REDDY
noise ratio and larger lock-in-range. Email: help@matlabcodes.com
Engineeringpapers.blogspot.
With introduction of Fuzzy controller at
com
appropriate signal to noise ratio
More Papers and
improved by 13dB and lock-in-range of Presentations available on
frequency is reduced by 10%. Thus, above site
Fuzzy logic PLL performs better than
the said analog classic PLL.

REFERENCES:

1. Technical paper on FCPLL by


A.B.KULKARNI and
S.V.HALSE from Gulbarga
University.

2. OP-Amplifiers and Linear


Integrated Circuits by
R.A.Gayakward.

3. Electronics Principles by
Malvino from Tata McGraw Hill.

4. Fuzzy Logic with Engineering


Applications by Timothy Ross.

You might also like