PLL-based Frequency Discriminator Using The Loop Filter As An Estimator - Izadi2002
PLL-based Frequency Discriminator Using The Loop Filter As An Estimator - Izadi2002
Transactions Briefs__________________________________________________________________
PLL-Based Frequency Discriminator Using the Loop Filter
as an Estimator
Mohammad Hadi Izadi and Bosco Leung
Fig. 1. Digital FM discriminator.
Abstract—In this paper we present a new phase-locked-loop-based fre-
quency discriminator architecture that performs both A/D conversion and
frequency demodulation. In addition, the loop filter is designed as a linear
estimator. Two forms of linear estimators are investigated. Simulation re-
sults show that for a minimum shift key signal at 400 MHz IF, the proposed
frequency discriminator achieves an SNR improvement of up to 5 dB over
a large variety of noise/fading conditions.
Index Terms—Adaptive systems, Kalman filters, phase locked loops
(PLLs).
I. INTRODUCTION
Fig. 2. Block diagram of proposed frequency discriminator.
Traditionally, IF signal processing consists of an analog frequency
discriminator. Precise analog frequency discriminators, however, are
difficult to implement in CMOS technology. Alternatively, the IF signal noise and fading conditions, which are common in a wireless environ-
can be first digitized using either bandpass or passband analog-to-dig- ment. This adaptiveness results in a reduced requirement on the SNR
ital converters (ADCs) and then processed by a digital signal processor and, hence, dynamic range of the frequency discriminator. Two filter
(Fig. 1). Implementing these passband or bandpass ADCs poses great design approaches are explored. The first is a Weiner-based LMS adap-
design challenges [1], [2]. tive filter and the second is a first-order Kalman filter.
Recently, there have been other works on frequency discriminators Section II introduces our proposed architecture and discusses its use
[3]–[6]. Specifically, [5] works on trying to perform the A/D conversion with a Wiener filter as the loop filter. Section III investigates the use
function directly in the phase domain by using a 16 -based feedback of the Kalman filter in the proposed architecture. Section IV explains
loop. One of the disadvantages of 16 -based discriminators, however, the implementation of the architecture using a Wiener filter and for an
is that noise effects are not alleviated by threshold extension. This FM MSK input. Simulation results are then presented. Section V explains
threshold extension is defined as the point when the output SNR dete- the implementation using a Kalman filter and discusses simulation re-
riorates rapidly with decreasing carrier-to-noise (CNR) ratio. sults. Section VI contains the conclusions.
Our present approach also consists of doing the A/D conversion
in the phase domain. Essentially, we try to use a phase-locked-loop II. PROPOSED ARCHITECTURE USING THE WIENER FILTER AS AN
(PLL)-type structure to perform frequency demodulation and OPTIMUM LOOP FILTER
analog-to-digital conversion in a single step, which we call frequency
discrimination. A PLL structure has the benefit of threshold extension, The architecture that we propose is shown in Fig. 2. Referring to
which translates into low bit error rate (BER) detection in the case of Fig. 2, A/D conversion is done in the combined block of phase de-
digital FM signals, such as minimum shift key (MSK), at low SNR tector/phase-to-digital converter. Specifically, by using a digital filter
levels. A PLL extends this threshold level since it acts as a narrow as the loop filter, we are directly performing frequency-to-digital con-
tracking filter where the noise bandwidth it responds to is centered version, such that the output stream represents our demodulated wave-
about the instantaneous carrier frequency. form in the digital domain. Since it is a PLL-based discriminator, we
In addition, it has been shown that the optimum angle demodulator will be able to obtain threshold extension, which will translate into in-
for continuous-time signals, under certain approximations, is an analog creased BER performance.
phase locked loop [7]. We further assume, then, that a digital phase We are now in a position to discuss the loop filter design from an
locked loop, neglecting quantization effects, is also an optimum, or optimum discrete-time estimator viewpoint. Here, the loop filter is op-
near-optimum angle demodulator. In fact, it has been shown that under timized to make the PLL the best estimator. Since this use of loop filter
high SNR conditions, the optimum digital PLL (DPLL) loop filter is is quite different from its conventional use in a PLL (such as reducing
the Kalman filter [8]. phase noise, spurious tone, stability), it is worth elaboration.
A PLL with a fixed loop filter is not optimal when the input condi- We will first discuss using the nonadaptive Wiener filter as the loop
tions are changing. This paper explores the optimal design of a PLL- filter, as shown in Fig. 3(a). We will then show the limitation with
based frequency discriminator that will adapt its loop filter to changing this method for our application and show that making the Wiener filter
adaptive will overcome the limitation.
A discrete-time Wiener filter can be implemented using either a fi-
Manuscript received May 7, 2002; revised November 25, 2002. This paper nite-impulse response (FIR) or infinite-impulse response (IIR) filter.
was recommended by Associate Editor P. Carbone. We will only consider the FIR Wiener implementation. The input to
The authors are with the Department of Electrical and Computer Engi-
() ()
our filter, denoted as y k , consists of the desired message x k and
neering, University of Waterloo, Waterloo, ON N2L 3G1, Canada (e-mail:
[email protected]). ()
noise v k , as given by y k ( ) = ( )+ ( ) ( )
xk v k . x k is basically the
Digital Object Identifier 10.1109/TCSII.2002.807572 original message. It is first modulated and sent across a noisy channel
Fig. 2, that the noise introduced can be incorporated in a model, the Kalman filter to work correctly and, thus, have optimal per-
called the observation model, as shown in Fig. 4. The observa- formance, the system and model parameters must be “tuned” ac-
tion model is described by a linear combination of the message cordingly. A starting point to check the optimality of the Kalman
x(k ) and the observation noise ~
~ v (k ), which is zero mean and filter are the innovation terms referred to as the innovation se-
white. ~v (k) is referred to as the observation noise because it af- quence. A necessary and sufficient condition for a Kalman filter
fects the observed loop filter input ~ y (k ) and it can come from, to be optimal is that the innovation sequence is zero mean and
for example, channel noise white [10].
y (k )
~ = x(k )
C~ +~
v (k ): (8) We have now finished coming up with the Kalman filter as the op-
timum loop filter for our architecture. In Section V we will discuss its
Here, C is an observation model parameter that relates the
implementation.
x(k ) to the observed signal ~
desired signal ~ y (k ).
an identical frequency, controlled by the digital input, whereas each of signal; therefore, the output will oscillate. The output of the loop filter
their phases are offset by the smallest quantization step. In our design is integrated over one symbol period at the VCO sampling frequency.
we choose the quantization step to be 11.25 , and so the DCO has 32 The output of the Integrate-and-Dump (I/D) filter is passed to a de-
taps. One convenient implementation for the DCO would be to use a cision device, which forms decisions based upon a predetermined av-
32 stage ring oscillator. These 32 square waves serve as references to erage output corresponding to logic 0 and logic 1 baseband values. Thus
the phase detector (PD). Conceptually, the PD can be thought of as a the difference between the decision device output (expected value) and
bank of 32 1-bit phase detectors. Each of these 1-bit phase detectors is the output of the I/D (estimated value) is used to generate an error signal
similar to the PD used in a conventional PLL. Each receives two inputs: which is fed back to the adaptive Wiener to adjust the tap coefficients
one from the analog IF input and the other from one of the 32 square in a manner that will reduce symbol error.
waves generated by the DCO. The 1-bit output of the PD then tells us Under zero noise conditions we can determine the value of x ^(k ),
which one of the two inputs are leading. In this way the PD acts like a which in our case is the output of the I/D, not the filter. We have chosen
flash ADC, except the digitization is performed in the phase domain. to do this because it allows us to average the output under heavy noise,
The phase to digital converter is analogous to the thermometer code which would otherwise lead to many errors. By taking a statistical av-
decoder in a flash ADC. The output y (k) is then a quantized version erage of the input waveform, we can find Ryy 01 , and thus apply this value
of the demodulated, corrupted MSK signal (corrupted by noise and to determine the updated value and then apply it to our filter tap coef-
fading). The loop filter then cleans the corruption and outputs the final ficients. Since we are using the output of the I/D, and not the output of
digital demodulated output. the filter, we will need to scale Ryy01 accordingly. Likewise, the value
of y (k) in (6) is the average value of y (k) over a symbol period.
In Section IV-D we present the simulation results of the frequency
C. Loop Filter Using Adaptive Wiener Filter discriminator based on this filter, and compare the results to a frequency
discriminator with a conventional FIR filter.
It is known that the general shape of the loop filter in a PLL should
be that of a low-pass filter [7]. In conventional frequency discriminator
PLL design, the bandwidth of the loop filter is designed such that it is
at least as large as the bandwidth of the message being demodulated D. Simulation Results
[11], which in our case is 200 KHz. To be precise, the message band-
width is larger than 200 kHz due to the spectral spreading caused by We performed simulations of the frequency discriminator using an
the FM modulation process and due to the fact that we are dealing with adaptive Wiener filter in a noisy environment with and without fading.
a square wave and not a sine wave; however, we can neglect these for The IF input is 400 MHz, message bandwidth is 200 kHz, and DCO
two reasons. First, since we are dealing with an MSK signal, which has gain is 390 kHz/V. The amplitude and phase gain variations due to
a modulation index of 0.5 (narrowband FM signal), spectral spreading fading are uniformly distributed between 0.2–1.8 and 6=4, respec-
is negligible. Second, since we will be implementing the FIR filter with tively. Referring to Node 1 of Fig. 2, since the signal y (k) contains
only a small number of taps (for reasonable chip area), the frequency the demodulated waveform, the essential information lies in a band of
response is not very sharp, so designing for a bandwidth of 200 kHz is 200 kHz; therefore, we pick a loop filter bandwidth that can pass this
adequate. information. Fig. 9 shows a plot of the BER of the discriminator em-
As mentioned in Section IV-C, we have decided to implement a form ploying the adaptive Wiener and conventional loop filters, as a func-
of adaptive Wiener filter using the orthogonalized LMS algorithm. In tion of the input SNR to the frequency discriminator in the presence
addition, for the present application, we have chosen to implement it of channel noise. The plots are extrapolated between two sets of data.
using an FIR filter because of its simpler structure. In implementing this Fig. 10 shows a similar plot, but with both channel noise and fading.
FIR filter, we have used a conventional nonpipelined FIR filter struc- The conventional filter used in the simulations is an eight-tap
ture in order to reduce the latency in the loop. We have implemented low-pass FIR filter designed using the Kaiser window approach.
the loop filter using only eight taps to reduce the complexity and in-
As can be seen from the plots, the adaptive Wiener filter performs
crease the speed of the circuit. The initial values of our filter taps are
better than the conventional filter in both cases. Due to the nature of the
set such that they correspond to a low-pass filter. This obviates the need
PLL, the input to the loop filter is time varying. The mixing operation
to send a training sequence to the adaptive filter. Adjustments are made
inherent in the sample-and-hold phase detector along with the nonuni-
to the filter tap coefficients every symbol, allowing the filter to change
form sampling brings about the time-varying nature of the filter input.
under different noise and fading conditions. A block diagram of the
The adaptive Wiener filter is able to adapt itself to the changing input
implementation of this adaptive Wiener filter is shown in Fig. 7, which
and, thus, produce better results than the conventional loop filter. We
maps closely with the high-level block diagram of Fig. 3(b). Here, clk
can see from Figs. 9 and 10 that the adaptive Wiener filter performs
is from the output of the DCO, and is used to clock in data from the
quite well at low SNR values, making it potentially better than [5].
output of the phase-to-digital converter. Coeff clk is used to update the
We assume the channel is frequency nonselective and therefore the
tap coefficients of the adaptive Wiener filter and averaged y (k) refers
to y (n 0 k) from (6).
fading is predominantly Rayleigh (envelope) fading [12]. Therefore,
the fading introduced into the channel does not cause intersymbol inter-
Fig. 8 shows a block diagram of the Matlab model used to simulate ference (ISI), however, it does increase the BER. The fading causes the
the frequency discriminator employing this adaptive Wiener filter. The amplitude and phase of the carrier signal to vary in a random manner.
sample-and-hold and A/D block correspond to the phase detector and When sampled by the PLL PD, this variation in the phase and ampli-
phase-to-digital converter block in Fig. 2. The adaptive Wiener filter tude are translated into noise-like behavior in the loop filter input. As in
block corresponds to the adaptive Wiener filter in Fig. 7. the case with noise alone, the adaptive Wiener filter is able to adapt it-
Under ideal conditions, without noise or fading, the output of our self to this changing input condition and produce better results than the
filter, x
^(k ), just consists of two values corresponding to the two fre- conventional loop filter, which is shown in Fig. 10. Finally, because of
quencies used to represent a 0 bit or a 1 bit. this increase in noise due to fading, when comparing the curves for the
The output of the filter is the recovered baseband data. Due to quan- adaptive Wiener filter in Figs. 9 and 10, the one in Fig. 10 has poorer
tization effects, however, our loop cannot precisely track the baseband results.
IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS—II: ANALOG AND DIGITAL SIGNAL PROCESSING, VOL. 49, NO. 11, NOVEMBER 2002 725
Fig. 8. Block diagram of frequency discriminator employing adaptive Wiener filter used for simulation.
V. IMPLEMENTATION OF ARCHITECTURE USING KALMAN FILTER FOR A. Loop Filter Using Kalman Filter
MSK INPUT AND CORRESPONDING SIMULATIONS
As discussed in Section III, in designing our Kalman filter, we need
In this section, the same frequency discriminator as in Section IV to determine our signal and observation models, which are given by (7)
will be used, except the loop filter will be implemented using a Kalman and (8).
filter. We start with the Kalman filter developed in Section III. This Since the signal model is responsible for generating the message, we
Kalman filter, in vector form, can be simplified for our present applica- need to know what the message is. We know that for MSK modulation,
tion because the frequency discriminator is designed for an MSK-mod- the message wavefrom comes from a binary source (see Fig. 6) and,
ulated signal. We will now discuss this simplification. therefore, the message is a square wave in shape, so we can expect
726 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS—II: ANALOG AND DIGITAL SIGNAL PROCESSING, VOL. 49, NO. 11, NOVEMBER 2002
VI. CONCLUSION
We have presented a new PLL-based frequency discriminator archi-
tecture that performs both frequency demodulation and A/D conver-
sion. The loop filter is designed from a linear estimator viewpoint. Two
such forms of loop filters were investigated. Simulation results show
that for MSK signals at 400 MHz IF, an SNR improvement of up to 5
dB is achieved over a large variety of noise/fading conditions.
ACKNOWLEDGMENT
The authors would like to thank M. Sharifkhani for valuable discus-
sions.
REFERENCES
[1] A. Namdar and B. Leung, “A 400 MHz, 12-bit, 18 mW IF digitizer with
mixer inside a 61 modulator loop,” IEEE J. Solid-State Circuits, vol.
34, pp. 1765–1776, Dec. 1999.
Fig. 14. Comparison of discriminator performance using Kalman versus
conventional fixed loop filter. Both noise and fading are present in the channel.
[2] S. A. Jantzi, K. W. Marth, and A. S. Sedra, “Quadrature bandpass 16
modulation for digital radio,” IEEE J. Solid-State Circuits, vol. 32, pp.
Testing conditions: 400-MHz IF MSK signal, 200-kHz message bandwidth,
=
DCO gain 390 kHz/V; fading conditions: phase gain variation =6 4 = rad,
1935–1950, Dec. 1997.
16
=
amplitude gain variation 0.2 –1.8.
[3] I. Galton et al., “A PLL for 14-b, 50 kSample/s frequency-to-digital
conversion of a 10 MHz FM signal,” IEEE J. Solid-State Circuits, vol.
33, pp. 2042–2053, Dec. 1998.
[4] I. Galton, “Analog-input digital phase-locked loops for precise fre-
the IF input is 400 MHz, message bandwidth is 200 kHz, and DCO gain quency and phase demodulation,” IEEE Trans. Circuits Syst. II, vol.
is 390 kHz/V. The amplitude and phase gain variations due to fading are 42, pp. 621–630, Oct. 1995.
uniformly distributed between 0.2–1.8 and 6=4, respectively. Fig. 13 [5] R. D. Beards and M. A. Copeland, “An oversampling 16 frequency
discriminator,” IEEE Trans. Circuits Syst. II, vol. 41, pp. 26–32, Jan.
shows a plot of the bit error rate of the discriminator employing the 1994.
Kalman and conventional loop filters as a function of the input SNR [6] E. J. van der Zwan et al., “A 10.7 MHz IF-to-baseband 16 A/D conver-
to the frequency discriminator in the presence of channel noise. The sion system for AM/FM radio receivers,” IEEE J. Solid-State Circuits,
curves are extrapolated between simulated data points. Fig. 14 shows vol. 35, pp. 1810–1819, Dec. 2000.
[7] A. J. Viterbi, Principles of Coherent Communications. New York: Mc-
a similar plot, but with both channel noise and fading.
Graw-Hill, 1966.
As can be seen from the plots, the Kalman filter performed better [8] S. C. Gupta, “Phase-locked loops,” Proc. IEEE, vol. 63, pp. 291–306,
than the conventional loop filter in both cases. These better results are Feb. 1975.
in part due to our tuning of the Kalman filter bandwidth until the in- [9] S. Qureshi, “Adaptive equalization,” Proc. IEEE, vol. 73, pp.
1349–1386, Sept. 1985.
novation sequence is white. We can see from Figs. 13 and 14 that the
[10] J. V. Candy, Signal Processing: The Model-Based Approach. New
Kalman filter performs quite well at low SNR values. York: McGraw-Hill, 1986.
Fig. 15 shows the BER versus SNR trends in a noisy environment [11] D. H. Wolaver, Phase-Locked Loop Circuit Design. Englewood Cliffs,
of a discriminator with all the three different filters as loop filters. The NJ: Prentice-Hall, 1991.
adaptive Wiener-filter-based discriminator outperforms all other filters [12] B. Leung, VLSI for Wireless Communication. Englewood Cliffs, NJ:
Prentice-Hall, 2002.
under heavy noise conditions. When the input noise is not so severe, [13] M. H. Izadi, “PLL-based frequency discriminator using an estimation
it appears that the Kalman-filter-based discriminator performance is loop filter,” MASc. thesis, Dept. Elect. Comput. Eng., Univ. Waterloo,
better than the adaptive Wiener-filter-based discriminator. Waterloo, ON, Canada, 2002.