STEERED FREQUENCY PHASE LOCKED LOOP

Abstract: A Steered Frequency Phase Lock Loop (SFPLL) comprises a phase loop that functions like a normal phase locked loop (PLL) and locks to the input signal, and a frequency loop that uses a reference frequency to influence the phase loop and effectively confines the output frequency of the phase loop and the SFPLL to be in a range of frequencies close to the reference frequency. The reference frequency is chosen to be very close to the input signal frequency that it is desired the SFPLL lock to. The SFPLL comprises a phase detector (10), a frequency detector (22), first and second gain components (12, 24), first, second and third filter components (14, 18, 26), a summer (16) and a voltage controlled oscillator (VCO) (20). By a judicious choice of the gains in the phase and frequency loops the SFPLL can be designed so that the range of frequencies to which the SFPLL will lock can be confined to an arbitrarily small region around the reference frequency ( omega 'r). Applications of the SFPLL include demodulation in CW modulation systems and timing recovery from NRZ data. Three advantages of the SFPLL are that the output frequency is equal or close to the reference frequency when no input signal is present, and the range of frequencies to which the SFPLL can lock is confined to a region around the reference frequency, and the phase and frequency instabilities of the VCO can be reduced.

Description: STEERED FREQUENCY PHASE LOCKED LOOP FIELD OF THE INVENTION This invention relates to improvements in Phase Locked Loops (PLL) and relates particularly to a Steered Frequency Phase Locked Loop (SFPLL) . The SFPLL is a system that exhibits PLL like behaviour but the range of frequencies to which it can lock is controlled. This invention has applications in many diverse areas of electronics, for example: timing recovery in base-band digital transmission, demodulation in continuous wave (CW) modulation systems, and filtering of electrical signals. BACKGROUND TO THE INVENTION Most conventional PLLs have problems with false locking onto unwanted input signals, or unwanted spectral components of the input signal. The SFPLL avoids this false locking problem as the range of frequencies to which the SFPLL can lock can be confined to an arbitrarily small region around the desired input signal (providing of course the frequency of the input signal is known with sufficient accuracy) . The SFPLL typically will not false lock providing there are no unwanted input signals, or unwanted spectral components of the input signal, in the range of frequencies to which the SFPLL can lock. Exceptionally accurate positioning and confinement of the locking range of the SFPLL can be achieved by use of precise frequency detectors and an accurate reference frequency ω' r . SUMMARY OF THE INVENTION According to one aspect of the present invention there is provided a steered frequency phase locked loop (SFPLL) comprising: a phase loop having a first input signal and an output signal and which is adapted to lock the phase of the output signal to that of the input signal; and, a frequency loop operatively coupled to the phase loop and having a second input signal providing a reference frequency, wherein the frequency loop uses the reference frequency to steer the phase loop and effectively confines the range of frequencies to which the phase loop can lock close to the reference frequency. Preferably said phase loop comprises a phase detector, and a voltage controlled oscillator operatively coupled to an output of said phase detector, an output of said voltage controlled oscillator being connected to an input of said phase detector to complete the phase loop. Preferably said frequency loop comprises a frequency detector, and means for summing respective output signals of said phase detector and frequency detector and supplying the sum to said voltage controlled oscillator, the output of said voltage controlled oscillator being connected to an input of said frequency detector to complete the frequency loop. Preferably said phase loop and frequency loop further comprise first and second gain components respectively. Preferably said SFPLL further comprises a first signal filtering means operatively connected between said summing means and said voltage controlled oscillator. Typically said phase loop has a second signal filtering means operatively connected to the output of said phase detector for filtering the output signal from said phase detector. Typically said frequency loop has a third signal filtering means operatively connected to an output of said frequency detector for filtering the output signal of said frequency detector. Advantageously the SFPLL can be applied to demodulation in continuous wave (CW) modulation systems (both AM and FM) , or to timing recovery from a data stream. Like conventional PLLs the SFPLL takes an input signal which it is required to phase lock to. In addition to this input signal, the SFPLL has an accurate reference frequency input of frequency ω' r . The reference frequency ω' r is chosen to be close to (though not necessarily the same as) the frequency of the input signal which the SFPLL is required to phase lock to. Three key advantages of the SFPLL are: the output frequency is ω' r (or is close to ω' r ) when no input signal is present, the range of frequencies to which the SFPLL can lock is confined to a region around ω' r , and the phase and frequency instabilities of the VCO are reduced. BRIEF DESCRIPTION OF THE DRAWINGS In order to facilitate a more comprehensive understanding of the nature of the invention a preferred embodiment of the SFPLL will now be described in detail together with some possible applications, by way of example only, with reference to the accompanying drawings in which: Figure 1 is a functional block schematic circuit diagram for a preferred embodiment of the SFPLL; Figure 2 is a modification of the SFPLL illustrated in Figure 1 with offset in the frequency loop; Figure 3 is a modification of the SFPLL illustrated in Figure 1 with correction of induced phase error; Figure 4 is a modification of the SFPLL illustrated in Figure 1 with zero phase and frequency error; Figure 5 is a functional block schematic circuit diagram of a phase detector for an application of the SFPLL to AM demodulation; Figure 6 is a functional block schematic circuit diagram of a phase detector for an application of the SFPLL to FM demodulation; Figure 7 is a functional block schematic circuit diagram of a phase detector for an application of the SFPLL to timing recovery from a NRZ data stream; Figure 8 is a timing diagram for the phase detector of Figure 7; Figure 9 is a graphical representation of the output of the phase detector of Figure 7 versus phase error; Figure 10 is a graphical representation of the characteristic of a rotational frequency detector used in the application of the SFPLL to timing recovery from a NRZ data stream; Figure 11 is a functional block schematic circuit diagram of the timing recovery system; Figure 12 is a functional block schematic circuit diagram of a variant of the timing recovery system; Figure 13 illustrates how a pulse from the frequency detector of Figure 10 can be broken up into a large number of smaller pulses; Figure 14 is a functional block schematic circuit diagram of a Binary Rate Multiplier (BRM) based digital filter; Figure 15 illustrates one example of a practical implementation of the circuit of Figure 11; and, Figure 16 illustrates a simplified digital filter used in the practical implementation of Figure 15. DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS A circuit diagram for a preferred embodiment of the SFPLL is illustrated in Figure 1 in functional block schematic form. Each of the components of the preferred embodiment of the SFPLL are connected by electrical connections represented in Figure 1 by arrowed lines. The signal information on the electrical connections may be in the form of a static or time varying voltage or current. In Figure 1 the signal value on the electrical connections is generally denoted by "X" with a subscript. The only exceptions are the input and output signals. The SFPLL has two electrical input signals, a first input signal θ'i radians, which is a time varying signal that the SFPLL will try to lock to, and a second input signal which is a time varying signal providing a reference frequency ω' r radians per second. The first input signal has a frequency ω' and a phase of θ'i. The SFPLL has one output signal which is a time varying signal of frequency C0' o radians per second and phase Θ' Q . The preferred embodiment of the SFPLL as illustrated in Figure 1 comprises a phase detector 10, a first gain component 12, a first filter component 14, a summer 16, a second filter component 18, a voltage controlled oscillator (VCO) 20, a frequency detector 22, a second gain component 24 and a third filter component 26. The phase detector 10 outputs a signal that is in the ideal case a linear function of the phase difference between the two inputs θ'i and θ' 0 : where K^ is the phase detector gain. The frequency detector 22 outputs a signal that is in the ideal case a linear function of the frequency difference between the two inputs (o' r and ω' D : X^ = K fd (ω' r - ω' 0 ) (2) where K £d is the frequency detector gain. The first gain component 12 simply introduces a constant gain of K p to the output signal of the phase detector 10: X kp = KpXβε (3) The second gain component 24 simply introduces a constant gain of K f to the output signal of frequency detector 22: X kf = K.., (4) The first filter component 14 filters the output signal of the first gain component 12 and may be described by a transfer function of the form: There are n p zeros at frequencies: ω zl , ω z2 , ... ω znp . There are ni p poles at frequencies: (0^, 03 p2 , ... Cύ p ^. Note that there are no poles or zeros with ω z or α> p equal to 0, i.e., no poles or zeros at the origin. In the frequency domain the output of the first filter component 14 is related to the input as follows: X £p (s) = F p lsjX^s) (6) The second filter component 26 filters the output signal of the second gain component 24 and may be described by a transfer function of the form: There are n £ zeros at frequencies: ω zl , ω z2 , ... ω znf . There are m £ poles at frequencies: 0^, tjϋ p2 , ... Cϋ pm£ . Note that there are no poles or zeros with ω z or Cύ p equal to 0, i.e., no poles or zeros at the origin. In the frequency domain the output of the first filter component 14 is related to the input as follows: X £f (s) = F £ (s)X k£ (s) (8) The output of the summer 16 is the sum of its two inputs, and in the ideal case the summer is described by the following equation: X Σ = X £p + X ££ (9) The third filter component filters the output of the summer 16, and may be described by a transfer function of the form: There are n c zeros at frequencies: ω zl , ω z2 , ... ω znc . There are m c poles at frequencies: 00^, {B p2 , ... Cύ p ,,,-.. Note that there are no poles or zeros with ω z or Cύ p equal to 0, i.e., no poles or zeros at the origin. The transfer function may also contain one or more poles at the origin and thus can also be of the form: In the frequency domain the output of the first filter is related to the input as follows: X £c (s) = F c (s)X ε (S) (12) The VCO 20 produces a signal of frequency ω' 0 at its output. The VCO 20 has a free running frequency of ω c (i.e. when the input is zero) . The VCO deviates from the free running frequency depending on the input. Ideally the relationship between the input and the output frequency is linear as follows: The SFPLL may be considered as two subsections: (i) a phase loop consisting of the phase detector 10, first gain component 12, first filter component 14, summer 16, third filter component 18 and VCO 20; and, (ii) a frequency loop consisting of the frequency detector 22, second gain component 24, third filter component 26, summer 16, second filter component 18 and VCO 20. In operation the phase loop functions like a normal phase locked look (PLL) and locks to the input signal θ'i. The frequency loop uses the reference frequency ω' r to confine the output frequency of the phase loop and the SFPLL, ω' 0 , to be in a range of frequencies close to the reference frequency ω' r . The reference frequency is chosen to be close to the input signal frequency ω'i that it is desired the SFPLL lock to. The confining of the output frequency ω' Q by the frequency loop may be understood as follows: The detectable phase difference between θ' c and θ'i is limited to an absolute value, θ eπax , typically less than or equal to 2π. Hence the phase error output of the phase detector 10 is limited to Xωe ma - X^ = K p eθ^ (14) Hence the average value of the phase loop input to the summer 16 is limited to X £pιrjιx ; Xfpmax = ( 15 ) The average value of the frequency loop into the summer 16 may then be represented as follows: X £f = K £ K £d (ω' r -ω' 0 ) (16) By a judicious choice of the gains in the phase and frequency loops (i.e. K pd , K £d , K p , K £ ) the average value of the frequency loop input to the summer 16, X ££ , can be made greater than X £pmax when (0' o deviates from ω' r by more than a chosen amount CUL^,,,,. Thus the phase loop is unable to lock to frequencies that deviate more than Cfl axdev from ω' r as the phase loop cannot overcome the frequency loop pulling of the VCO frequency back towards ω' r . In this way, the frequency loop steers the operation of the phase loop so as to confine the output frequency ω' Q to be in a range of frequencies close to the reference frequency ω' r . An analysis of a small signal linear model of the SFPLL illustrated in Figure 1 reveals the following characteristics: 1. For the case where F c (s) doesn't contain a pole at the origin, the output frequency of the SFPLL tends to ω' r as the product of all the gains in the frequency loop K £1 tends to infinity, when the phase error θ ε (s) = 0, for example when the input signal is zero. 2. For the case where F c (s) does contain a pole at the origin, the output frequency of the SFPLL equals ω' r when θ ε (s) = 0. 3. If the SFPPL is to lock to a constant input frequency ω. Then a constant phase error between the input phase θ and the output phase θ 0 , is induced by the SFPLL. The magnitude of this phase error depends upon the difference between the input frequency ω and reference frequency ω' r . And also the ratio of the product of all the gains in the frequency loop K £1 , to the product of all the gains in the phase loop K pl . 4. Due to the finite amount of phase error (induced by the process described in the above paragraph) the range of frequencies to which the SFPLL can lock is limited. The range of frequencies is exactly centred on OIL for the case where F c (s) does contain a pole at the origin. The extent of the range is determined by the ratio of K pα and K £1 . 5. With the filters F p (s) , F £ (s) and F c (s) selected appropriately, the action of the frequency loop can reduce the phase and frequency instabilities of the VCO. The three key advantages of the preferred embodiment of the SFPLL are: the output frequency is equal to the reference frequency ω_ (or is close to ω r ) when no input signal is present. The range of frequencies to which the SFPLL can lock is confined to a region around 0^. And, the phase and frequency instabilities of the VCO can be reduced by the action of the frequency loop. In the following sections a number of extensions to the basic SFPLL are described. These extensions may be used individually or in combination, depending on the requirements of the particular application. Offset in frequency loop to change effective reference frequency The apparent reference frequency (ω' rap ) can be offset from the real reference frequency (ω' r ) by adding a constant offset signal into the frequency loop. A SFPLL modified to achieve this frequency offset is shown in Figure 2. The components numbered 10 to 26 in Figure 2 are the same as components 10 to 26 in Figure 1, and are described above. The inputs and output are also the same as the inputs and output in Figure 1. .An additional component in Figure 2, is a summer 28 which in the ideal case is described by the following equation: Xωεap = -^ωε + -^toof£ 11 ' ) From an analysis of a small signal linear model for the SFPLL with reference frequency offset, it becomes evident that the effect of the constant offset signal is to offset the real reference frequency to an apparent reference frequency (CO rop ) . The apparent reference frequency OJ ΛP can be precisely and arbitrarily offset from the real reference frequency, provided the frequency detector 22 is precise and linear, and the summer 28 is precise. This offsetting of the reference frequency is very useful in some applications as the SFPLL can be centred on any number of arbitrary frequencies just by changing the offset value X^ f . Using frequency error information to correct induced phase error The frequency error output from the frequency detector 22 in Figure 1 can be used to correct the induced phase error ω ε in the SFPLL output ω' c . The modified SFPLL to perform this function is shown in Figure 3. The components numbered 10 to 26 in Figure 3 are the same as components 10 to 26 in Figure 1, and will not be described again here. The inputs and output are also the same as the inputs and output in Figure 1, however there is an additional output, θ"o, which is in phase with the input signal θ'i. In Figure 3 the circuit of Figure 1 is modified by the addition of a variable phase shifter 30 which in the ideal case shifts the phase Θ' Q of the output signal by Θ Δ radians according to the equation: Θ Δ = K p K p (18) This phase shift Θ Δ radians corrects the phase error Θ E induced by the SFPLL. Dual SFPLL configuration to achieve zero phase and frequency error It is possible to use two SFPLLs to correct the induced phase error Θ ε , and obtain an output θ' 0 that is in phase with the input θ'i. The arrangement of two SFPLLs 40,42 is shown in Figure 4. The Dual SFPLL configuration has a reference frequency input ω' r , a signal input θ'i, and an output ω' 0 (θ' c ) . These two inputs and output correspond to the two inputs (θ'i and ω' r ) and output (C0' o ) of the standard SFPLL illustrated in Figure 1. The reference frequency input (ω' r ) is used by SFPLL 40. SFPLL 40 extracts the frequency of the signal input (θ'i) and passes this output (ω' 0l ) to the reference frequency input of SFPLL 42. Since the reference frequency input of SFPLL 42 is the frequency of the signal input (θ'i), no phase error is induced in SFPLL 42, and there is no phase difference between ω'i and ω' D . Example application 1; demodulation in CW modulation systems This section shows how the SFPLL system can be applied to the problem of demodulation in CW modulation systems. AM demodulation To achieve AM demodulation the preferred SFPLL structure shown in Figure 1 can be used. A specific form of phase detector (component 10 in Figure 1) is required though. A phase detector which is suitable for AM demodulation is shown in Figure 5. The phase detector of Figure 5 has two electrical inputs: (1) A radio frequency (RF) input θ'i, which corresponds to the θ'i, input of the SFPLL in Figure 1. Typically the RF input will contain a limited range of frequencies which contain a number of AM channels e.g. broadcast AM with a frequency range of 531 to 1602 kHz. The task of the SFPLL is to filter out and demodulate a particular AM channel. (2) The input from the VCO Θ' D . This corresponds to the Θ' c , input of the phase detector 10 in Figure 1. The phase detector of Figure 5 has two electrical outputs: (1) The output X θε to the rest of the SFPLL, which corresponds to the X βε output of the phase detector 10, in Figure 1. (2) The demodulated signal output and the gain control output, for example: in broadcast AM demodulation these outputs would go to an audio amplifier and speaker for conversion into sound. The phase detector for AM demodulation illustrated in Figure 5 comprises a first mixer 44 which mixes the RF input θ'i and the VCO input θ' 0 , down-converting the desired AM channel frequency down to DC (direct current) . A second mixer 46 mixes the RF input θ'i and the VCO θ' 0 shifted by minus 90° by a phase shifter 48, down-converting the desired .AM channel frequency down to DC (direct current) . Note that the RF port of both the first and second mixers 44, 46 is linear. The phase detector of Figure 5 further comprises a first low pass filter (LPF A) which filters out higher frequencies from the mixer 44, allowing only DC and low frequencies through. A second low pass filter (LPF B) filters out higher frequencies from the mixer 46, allowing only DC and the frequencies associated with the demodulated signal through. For example, for broadcast AM the filter LPF B would block all frequencies above 7.5 kHz, which is the highest frequency of the demodulated signal. A variable gain amplifier (VGA) 50 amplifies the output of LPF A. The amount of amplification (gain) is variable and is controlled by the output of a peak detector 52. The peak detector and filter 52 determines the peak amplitude of the output signal from LPF B, and also filters this peak amplitude value. The reference frequency input for the SFPLL ω' r is set to be very close to the frequency of the desired AM channel. Mixer 44 acts as a phase detector. Since the amplitude of the RF input signal θ'i at the desired AM channel frequency is unknown, the magnitude of the output of mixer 44 and hence the output of LPF A is unknown. Mixer 46 is used to determine the amplitude of the RF input signal θ'i at the desired AM channel frequency. The peak detector 52 determines the amplitude of the RF input signal from the peaks of the signal output from LPF B. Some filtering of this peak value from the peak detector is required since for AM the RF input signal is amplitude modulated. The information about the amplitude of the RF input signal θ'i at the desired AM channel frequency is used by the VGA 50. The VGA 50 amplifies the phase error information from LPF A and mixer 44. The output of the VGA 50 now contains phase error information X θε with a known and fixed phase error to amplitude relationship (i.e. K pd in equation (1) is fixed) . The phase error information X βε is then fed to the rest of the SFPLL. In steady state operation the SFPLL locks to the carrier of the desired AM channel, and the demodulated output can be taken from the output of LPF B. In this application the SFPLL can be confined to lock only to a range of frequencies very close to the carrier frequency of the desired AM channel. Thus locking onto side-bands or other AM channels is avoided. This ability to lock to only a small range of frequencies near the desired frequency avoids the need to use intermediate frequency (IF) filters and circuits to separate out the desired AM channel from other AM channels. Effectively the SFPLL performs the function of an accurately positioned narrow bandwidth band-pass tracking filter. With no IF stages all of the circuits besides the VCO (component 20 Figure 1) , the RF input signal circuits and mixers 44 & 46 operate at only the demodulated signal frequency or lower. These lower frequency circuits can be made with low performance and low cost components. To select various AM channels the method to change the reference frequency CD' r as described above with reference to Figure 2 can be used. Using this frequency offsetting technique only one accurate reference frequency is required to receive all AM channels. Mixer B requires its input Θ' D to be exactly in phase with θ'i to get maximum demodulated signal output. Some phase error θ e will be induced by the SFPLL. The phase error may be significant if the SFPLL is tightly confined close to the carrier frequency. The techniques described above with reference to Figures 3 and 4 can be used to eliminate this phase error. FH demodulation The application of a SFPLL for FM (frequency modulation) demodulation turns out to be very similar to the application of a SFPLL for AM demodulation. To achieve FM demodulation the preferred SFPLL structure shown in Figure 1 can again be used. A specific form of phase detector 10 is required though. A phase detector which is suitable for FM demodulation is shown in Figure 6. The phase detector of Figure 6 has two electrical inputs: (1) The radio frequency (RF) input θ'i which corresponds to the θ'i, input of the SFPLL in Figure 1. Typically the RF input will contain a limited range of frequencies which contains a number of FM channels e.g. broadcast FM with a frequency range of 88 to 108 MHz. The task of the SFPLL is to filter out and demodulate a particular FM channel. (2) The input from the VCO θ' 0 , which corresponds to the θ' 0 , input of the phase detector 10 in Figure 1. The phase detector of Figure 6 has one electrical output: (1) The output X βε to the rest of the SFPLL which corresponds to the X βε output of the phase detector 10 Figure 1. The phase detector for FM demodulation illustrated in Figure 6 comprises a first mixer 54 which mixes the RF input θ'i and the VCO input Θ' Q , down-converting the desired FM channel frequency down to DC (direct current) . A second mixer 56 mixes the RF input θ'i and the VCO input Θ' D shifted by -90° by a phase shifter 58, down-converting the desired FM channel frequency down to DC (direct current) . Note that the RF port of both the first and second mixers 54, 56 is linear. The phase detector of Figure 6 further comprises a first low pass filter A (LPF A) which filters out higher frequencies from the first mixer 54, allowing only DC and the frequencies associated with the demodulated signal through. For example, for broadcast FM the filter LPF A would block all frequencies above 15 kHz, which is the highest frequency of the demodulated signal. A second low pass filter B (LPF B) filters out higher frequencies from the second mixer 56, allowing only DC and low frequencies through. A variable gain amplifier (VGA) 60 amplifies the output signal of LPF A. The amount of amplification (gain) is variable and is controlled by the output of a peak detector 62. Peak detector and filter 62 determines the peak amplitude of the signal coming out of the second low pass filter LPF B, and also filters this peak amplitude value. The reference frequency input for the SFPLL ω' r is set to be very close to the frequency of the desired FM channel. Mixer 54 acts as a phase detector. Since the amplitude of the RF input signal θ'i at the desired FM channel frequency is unknown, the magnitude of the output of mixer 54 and hence the output of LPF A is unknown. Mixer 56 is used to determine the amplitude of the RF input signal θ'i at the desired FM channel frequency. The peak detector 62 determines the amplitude of the RF input signal from the peaks of the signal output from LPF B. Some filtering of this peak value from the peak detector is required as when the SFPLL isn't locked to θ'i at start-up, the output of the LPF B will be a time varying value. The information about the amplitude of the RF input signal θ' at the desired FM channel frequency is used by the VGA 60. The VGA 60 amplifies the phase error information from LPF A and mixer 54. The output of the VGA now contains phase error information X θε with a known and fixed phase error to amplitude relationship (i.e. K pd in equation (1) is fixed). The phase error information X θε is then fed to the rest of the SFPLL. In steady state operation the SFPLL locks to and tracks the varying frequency of the desired FM channel. The demodulated output is taken from input of the VCO (component 20 Figure 1) X £c . The SFPLL can be confined to lock in the long term only to a range of frequencies very close to the centre frequency of the desired FM channel. Thus locking onto side-bands or other FM channels is avoided. This ability to lock to only a small range of frequencies near the desired frequency avoids the need to use intermediate frequency (IF) filters and circuits to separate out the desired FM channel from other FM channels. Effectively the SFPLL performs the function of an accurately positioned narrow bandwidth band-pass tracking filter. With no IF stages all of the circuits besides the VCO (component 20 Figure 1) , the RF input signal circuits and mixers 54 & 56 operate at only the demodulated signal frequency or lower. These lower frequency circuits can be made with low performance and low cost components. To select various FM channels the method of changing the reference frequency ω' r as described above with reference to Figure 2 can be used. Using this frequency offsetting technique only one accurate reference frequency is required to receive all FM channels. Example Application 2: Timing Recovery from NRZ Data This section presents a system that employs the SFPLL technique to recover timing from a NRZ (NonReturn to Zero) data stream. Firstly the phase and frequency detector used in the SFPLL timing recovery system are described. A possible structure of the timing recovery system is presented in the System Overview section. Then in subsequent sections, timing recovery system components are examined, and parameters for the components are determined and related back to system requirements. The features and advantages of the SFPLL are discussed. Finally, full details of an actual implementation are given. Phase and Frequency Detectors This section describes the phase and frequency detectors used in the SFPLL timing recovery system. The particular phase and frequency detectors were chosen for their digital nature, allowing them to be easily realised with digital integrated circuit technology. Also, the digital nature of the frequency detector allows its output to be measured and manipulated to whatever degree of accuracy is required. The structure of a preferred embodiment of the phase detector for the SFPLL timing recovery system is illustrated in Figure 7. This particular phase detector is suitable for timing recovery from a NRZ data stream, because phase error output is only generated when there is a transition in the input data stream. When the input data stream is absent (i.e. no transitions) the output of the phase detector is zero. An edge to pulse convertor 66 of the phase detector generates pulses of width τ when a transition occurs in the input data stream. The pulse from the edge to pulse convertor is ANDed (68) with the VCO clock and the inverse (70) of the VCO clock. The output of the two AND gates is summed (72) to form a ternary output i.e. 1, 0, -1. The actual phase error is found by taking the average value of the ternary output. The zero phase error position occurs when the pulse from the edge to pulse convertor straddles the one to zero transition of the VCO clock. This zero phase error position is illustrated in Figure 8. A plot of average value of the ternary output versus phase error is given in Figure 9. Note that positive phase error is defined as the input data stream transitions leading the zero phase error position on the VCO clock (as shown in Figure 8) . Negative phase error is defined as input data stream transitions lagging the zero phase error position. The linear region occurs between -πτ/T 0 and πτ/T 0 and the phase detector gain K pd is 1/π. Note also that the maximum value of τ is To/2, giving a maximum phase error of π/2. The frequency detector used is described by D.G. Messerschmitt in "Frequency Detectors for PLL Acquisition in Timing and Carrier Recovery, " IEEE Transactions on Communications, Vol. COM-27, No. 9, September 1979, p. 1288 and is called a rotational frequency detector. It is implemented using purely digital components such as flip flops and logic gates. The paper written by Messerschmitt should be consulted for a description of operation. The rotational frequency detector outputs a positive or negative pulse every time the reference clock (ω' r ) phase 'slips' past the VCO clock (Cύ' 0 ) . The rate at which the detector outputs pulses indicates the magnitude of the frequency difference ω' r -ω' 0 . The rotational frequency detector characteristic is shown in Figure 10. The output pulse rate has a maximum of one pulse every four VCO clock cycles. The rotational frequency detector characteristic is linear over the range |ω' r -ω' 0 | < ω' r /4, and has a useable range of |ω' r -ω' 0 | < ω' r /2. The gain of the rotational frequency detector, K £d is l/ω' r . The output of the rotational frequency detector is in pulse rate form, so it needs to be averaged over a number of ω' 0 cycles before being interpreted. For increased precision in the measurement of ω' r -ω' 0 , the number of ω' Q cycles over which the frequency detector output is averaged must be increased. Hence an instantaneous measurement of frequency difference is not available, rather time is required for averaging. The rotational frequency detector measures frequency difference indirectly by observing phase slips of one ω' Q cycle. So for short term frequency variations that cause less than the one ω' 0 cycle phase slip, the rotational frequency detector will not respond. The rotational frequency detector does provide measurements of arbitrary precision, as all phase slips of one ω' Q cycle are counted. However, it takes a large number of reference clock cycles to average the output for high precision. System Overview Generic requirements for a NRZ data timing recovery system include: (1) Very narrow system bandwidth. (2) Range of frequencies that the timing recovery system can lock to is confined close to the nominal data rate. (3) Output clock at nominal data rate when input data stream is not present. A SFPLL with a filter F c (s) (component 18 Figure 1) that has a pole at the origin best meets these generic requirements. Hence the SFPLL with F c (s) containing a pole at the origin will be used for the timing recovery system. A major goal of the timing recovery system is to implement as much of it as possible in digital IC (Integrated Circuit) technology. Implementation in digital IC technology allows integration of the timing recovery system with higher layer functions. And since digital IC technology tends to progress quicker and is more readily available than analog IC technology, the timing recovery system can operate at higher speeds and be made cheaply. A block diagram of one form of the timing recovery system is shown in Figure 11. A variant with slightly better characteristics is shown in Figure 12. The system of Figure 11 comprises a frequency detector 76, a phase detector 78, a digital filter 80, a voltage controlled oscillator (VCO) 82 and a digital combiner 84. The system of Figure 12 is similar but does not employ a digital combiner. The outputs of the digital circuits to the analog components: R and C, are ternary current pulses of possible values +1, 0, -I amps. The widths of the current pulses are continuously variable. The analog output back to the VCO 82, is a voltage referenced to ground. Two very similar timing recovery systems are discussed in this section: (1) The first, as shown in Figure 11, has the phase and frequency detector outputs combined digitally before they are sent to the R and C. This timing recovery system requires only one output pin with a ternary current pump, since phase and frequency detector outputs are combined. In the rest of this example application this timing recovery system will be called 'the timing recovery system'. (2) The second, as shown in Figure 12, has the phase detector output going through the R to the C. But, the frequency detector output goes directly to the C. This configuration requires two output pins with ternary current pumps, but offers slightly better performance than the first timing recovery system. In the rest of this example application this timing recovery system will be called 'the timing recovery system variant' . The components of Figure 11 and Figure 12 are now described and related back to the SFPLL definition shown in Figure 1. In the timing recovery system of Figure 11 the phase detector 78 corresponds to the phase detector 10 in Figure 1, and frequency detector 76 corresponds to the frequency detector 22 in Figure 1. The digital filter 80 in Figure 11 corresponds to the third filter component 26 in Figure 1, and the resistor R and capacitor C implement the second filter component 18 in Figure 1. The VCO 82 in Figure 11 corresponds to the VCO 20 in Figure 1, and the digital combiner 84 corresponds to the summer 16 in Figure 1. In the timing recovery system variant illustrated in Figure 12 the phase detector 78 corresponds to the phase detector 10 in Figure 1, and the frequency detector 76 corresponds to the frequency detector 22 in Figure 1. The digital filter 80 in Figure 12 corresponds to the third filter component 26 in Figure 1, and the resistor R along with capacitor C implement the first filter component 14 in Figure 1. Fxirthermore, in the system variant of Figure 12 the capacitor C also implements the second filter component 18 in Figure 1 and is the point where the frequency and phase loops are summed, corresonding to summer 16 in Figure 1. The VCO 82 corresponds to the VCO 20 in Figure 1. The value of the resistor R and capacitor C analog components in the loop filter can be determined from system parameters, such as band width and dampening using basic PLL theory. The open loop crossover frequency of the phase loop, ω c is approximately equal to the closed loop band width. The closed loop band width (and hence ω c ) and the phase loop dampening factor: ζ p will be determined by the phase jitter transfer characteristics specified in standards like Bellcore, TR-NWT-000253, "Synchronous Optical Network (SONET) Transport Systems: Common Generic Criteria, " Issue2, December 1991. The output from the phase detector is a current of maximum value I pd which when related to previous discussed SFPLL parameters, equals the gain K p . Thus using basic PLL theory the values for the resistor and capacitor are: C * 400^.,; (20) lKxf c R * πω c ( 21 ) An extra gain factor α is used to take into account the fact that in an NRZ data stream a data transition does not generally occur every clock cycle. Over a period of time there will be an average number of clock cycles per data transition. α is defined as the inverse of this average number of clock cycles per data transition. As such α is always less than or equal to one. A confinement factor β is defined by: β = CO'.. (22) where ω' r is the reference frequency and o is the frequency furthest from ω' r to which the phase loop is to be allowed to lock. The output of the frequency detector is a current of maximum value I' £d which when related to previously discussed SFPLL parameters, equals the gain K £ . Relating to K £ to previously defined parameters, I' £d = K £ = αβ K p (23) 2 When the frequency detector pumps current into the capacitor C it causes phase and frequency disturbances to the phase loop. If these disturbances are too great they will cause the phase loop to loose lock. There are two disturbance mechanisms: The first disturbance is a phase disturbance. It is caused when the frequency detector pumps current through resistor R, thus causing a short term shift in the VCO voltage and hence a phase jump. The timing recovery system variant does not suffer from this disturbance as it bypasses resistor R, pumping instead directly into the capacitor C. This phase disturbance is denoted θ d . The second disturbance is a frequency disturbance. It is caused by the voltage on capacitor C being shifted as a result of current being pumped into C. Hence the VCO has a shifted voltage applied to it. The phase loop will eventually counter act this through its phase error, θ ε , as long as the phase loop remains locked. This disturbance is common to both the timing recovery system and timing recovery system variant. This frequency disturbance is denoted ω d . Considering now the situation where the reference clock input is not ω' r , but instead is a sub-multiple, i.e. the frequency has been divided by an integer m. This situation will likely be the norm as the range of frequencies at which low cost crystal oscillators (which will most likely provide ω' r ) operate is limited to a few tens of megahertz. With Cύ' r now a sub-multiple m, the rate at which the frequency detector emits pulses is reduced by a factor of m. To maintain the same frequency loop gain the duration of the frequency detector current pulse width must be increased m times, or the current I' £d increased m times. Either way the disturbance to the phase loop is increased m times, even though it will occur m times less often. One method of reducing the sudden phase and frequency disturbance of each pulse from the frequency detector would be to spread the pulse out over a long time. This could be done by breaking the pulse up into a large number of smaller pulses as shown in Figure 13. Each frequency detector pulse is broken up into N s smaller pulses, each of N w VCO clock periods wide, and spaced at N P N W VCO clock periods. Thus I' fd is reduced, effectively decoupling it from K £ . The new frequency loop output current I £d is defined: ltd = I'M _SL_ ( 24 ) JUja. Having I £d now decoupled from K £ provides some freedom in choosing I £d . The frequency loop only has to nullify the phase loop output (in this case current is output) to steer and confine the VCO (as F c (s) has a pole at the origin) and hence ω' c to whatever value it likes. For the particular phase detector employed, the maximum average output current -*-mxapd -"-S * Irnxapd = p = pd ( 25 ) 2 2 Hence require: αi -fd 2 (26) Fast steering of the VCO is what is sacrificed by making Ifd small. But apart from system power up, when capacitor C is discharged and the VCO input is zero, the VCO is always very close to the steady state value of ω' G . So fast steering (and a large I £d ) is not really required. Choosing: satisfies equation (26) and allows the frequency detector and phase detector outputs to be combined digitally, and only one ternary current pump is required. Even with the timing recovery system variant, where individual current pumps are used for phase and frequency detectors, using the same current pump for both could reduce design costs. The digital filter system (component 80 figures 11 and 12) performs the pulse spreading scheme which reduces the phase and frequency disturbances mentioned above. Also it introduces a pole at frequency (u p in the open loop frequency response of the frequency loop. In operation the frequency loop (which includes the digital filter) needs to be stable. Closed loop stability in this case can be specified by a frequency loop damping factor ζ £ . With a sufficiently high ζ £ the frequency loop will be stable. Cύ p can be determined in terms of ζ £ and other system parameters: πβζ^ω 2 . (28) Cύ p = 2ζ 2 p ω' r The digital filter was constructed using 'Operational digital' techniques which employ Binary Rate Multipliers (BRM) (see M. A. Meyer, "Digital Techniques in Analog Systems," IRE Transactions - Electronic Computers, EC-3 (June 1954) , pp. 23-29. for a description of these concepts . ) BRMs take an n bit binary number, B (between 0 and 2"-l) , and produce an output pulse stream which has a ratio of ones to zeros given by: B (29) 2 n n is related to N p : N p = 2 n (30) A single pole system with input u(t), and output y(t) is described by the following differential equation dy = cιyj(t)dt - Cθ p y(t) dt (31) A system of integrators and BRMS that implements the above equation is shown in Figure 14. The BRM based system runs off a clock of period N w 2π/ω' 0 . The integrator block accumulates the n bit value y(t) , which is then fed into a BRM to produce the output pulse stream. The integrator block is implemented with an up down counter. The pulse stream from the frequency detector forms the input u(t)dt. The fractional multiplier ω' p is assigned a value so that the BRM based system has an identical time response as the system described in equation (31) . ω' p is determined as follows. For the continuous time system, from equation (31), in time dt seconds y(t) is reduced by C0 p y(t)dt (32) In the BRM system, y(t) is reduced by Cύ' p y(t) when ω'ιy(t) pulses leave BRM B. For ω' p y(t) pulses to leave BRM B requires y(t) pulses to be input to BRM B. To input y(t) pulses requires 2" clocks (n is the length of BRM C) , which is a time of 2 n N w 2π/ω' 0 seconds. In the BRM system dt seconds corresponds to dt/ (2 n N w 2π/ω' 0 ) cycles of BRM C and hence in dt seconds y(t) is reduced by ω' r v(t) dt (33) 2 n N...2π ω, Equating (32) and (33) and substituting in (30) we obtain ω' p = ύ p N p w 2π ω' D ( 34 ) The output of the frequency detector is in pulse rate form and is fed directly into the system as u(t)dt. Every increment in y(t) produces 1/Cύ' p pulses at the system output, before that increment in y(t) is nullified by a pulse at the negative input of the integrator block. To produce an increment in y(t) requires l/ω' p pulses from the frequency detector. The pulse spreading scheme requires that N s pulses be generated from every frequency detector pulse though. N s pulses from every frequency detector pulse can be achieved by either multiplying the input pulse rate by N s . Or simply changing the fractional multiplier of BRM A ω' p to ω' p N s i.e. don't divide by so much. The latter is the more preferable method, as no extra hardware is required. Though because the new fractional multiplier must be less than or equal to one, a new constraint is created: ω' p N s ≤l (35) From (34) and (35) the following relating N p to other system parameters is obtained C0' o (36) N < 2πN s N w co p If ω' p N s = 1 (37) then BRM A is eliminated and the frequency detector output is fed directly into the integrator. Implementation Details for Sonet STS-3c Timing Recovery The above sections have shown that it is possible to implement an SFPLL system to perform timing recovery almost entirely out of digital components. A working prototype of a SFPLL based timing recovery system employing the theory developed in the above sections is shown in Figure 15. Components 76 through to 84 of Figure 15 correspond to components 76 through to 84 of Figure 11. The D type flip flop 84 re-clocks the NRZ data input with the recovered timing. Components 76,78,80,84 and 88 are all implemented in a Xilinx XC3130-3PC84C programmable logic device (PLD) . To implement a ternary current pump the digital combiner output used a tristate buffer. The output of this tristate buffer is connected to a 25 Ω resistor. The ternary current pump works as follows: When no current needs to be pumped, the tristate buffer is left in the tristate condition, and no current flows. When positive current needs to be pumped the tristate buffer is turned on to a '1', which makes the buffer output 5 volts. A voltage difference is developed across the 25kΩ resistor and current flows into the R and C filter. The voltage on the VCO 82 is assumed to be around 2.5 volts, so the amount of current pumped is: (5-2.5)volts/25 Ω = 100 μamps. Similarly when negative current needs to be pumped the tristate buffer is turned on to a '0', which makes the buffer output 0 volts, and -100 μamps flows through the 25kΩ resistor. Also, by a judicious choice of parameters, the digital filter implementation (80 in Figure 15) is simplified to the implementation shown in Figure 16. Advantages of the SFPLL Timing Recovery System The SFPLL was applied to the problem of recovering timing from a NRZ data stream. The SFPLL based timing recovery system described employed predominately digital integrated circuit technology. Very accurate steering and confinement of the SFPLL based timing recovery system is possible due to the following reasons: (1) Use of an accurate reference clock. (2) Use of a precise digital frequency detector. (3) The above two components are coupled together in a feedback loop. The accurate output clock when no data input is present and accurate confinement are characteristics associated with expensive VCXO (Voltage Controlled Crystal Oscillator) based timing recovery systems. The SFPLL based timing recovery system provides VCXO features at much lower cost. In addition it allows the phase loop bandwidth and range of frequencies to which the system will lock to be set freely. VCXO based timing recovery systems generally have very low bandwidth and a very limited range of frequencies to which they will lock. The SFPLL based timing recovery system has the following features: 1. The basic implementation introduces some jitter into the recovered timing. Though this jitter can be made small (especially for the timing recovery system variant) in comparison to other sources of jitter. The introduced jitter is due to the discrete nature of the digital frequency detector used. 2. A static phase error will be present, though for typical applications the phase error will be very small. 3. The spectral characteristics of the output clock are not known when data is not present at the input, since the output clock is not phase locked. 4. Accuracy of the steering and confinement of the timing recovery system will be limited by leakage currents from the integrator, C. These leakage currents are due to the digital I/O pins and the integrator capacitor C. Through careful design and choice of components these leakage currents can be made insignificant. 5. The reference clock used by the SFPLL is only a reference and is not modified. Hence one reference clock source can be used by multiple SFPLLs in a system. Or the reference clock may be used in other components of the system in which the SFPLL is employed. 6. It is low cost and can operate at high speeds as it uses predominately digital IC technology. 7. There is the potential for integration with higher layer functions, such as serial to parallel conversion of the data stream. 8. The timing output when there is no data at the input is very close to the reference clock. 9. There is very rapid locking to an input data stream as the initial positioning of the VCO frequency is very close to the input data stream rate. 10. False locking onto data side-bands can be eliminated. 11. The phase loop bandwidth can be set independent of any pull-in range requirements. 12. Low cost VCOs with poorly specified centre frequencies can be used. From the above description of the preferred embodiment of the SFPLL according to the invention together with several applications thereof, it will be apparent that the SFPLL has a number of advantages over conventional PLLS; including the following: 1. The SFPLL will phase lock to an input signal, as with a conventional Phase Locked Loop (PLL) , but additionally the SFPLL will only lock to input signals whose frequency is in a range close to the frequency of the reference input. Through proper choice of SFPLL parameters the range of frequencies around the local reference frequency to which the SFPLL will lock can be made arbitrarily small. The mechanism that confines the SFPLL to the desired range of frequencies around the reference frequency is continuously acting and does not require any monitoring nor any decision to be made. The mechanism that confines the SFPLL to the desired range of frequencies relies on the following. As the frequency of the VCO deviates from the reference frequency, a phase error is induced in the phase loop to counteract the effect of the frequency loop pulling the VCO frequency back to that of the reference. 2. When no input signal is present the output of the SFPLL has a frequency close to the reference input frequency. Whereas in a PLL the output frequency will be unspecified when there is no input signal. 3. The phase and frequency instabilities of the VCO used in the construction of a PLL can effect greatly the performance of the PLL. The SFPLL structure on the other hand reduces the effect of these phase and frequency instabilities (named phase noise) greatly, allowing much better performance using an identical VCO than would be possible with a PLL. 4. The major components which constitute the SFPLL, in particular the frequency loop components, can be implemented in digital technology. This implementation in digital technology was demonstrated in the example application to timing recovery for NRZ data streams. The implementation in digital technology is highly advantageous as it permits extremely accurate and controllable positioning of the range of frequencies to which the SFPLL can lock. Now that a preferred enbodiment of the SFPLL and several applications have been described in detail, numerous variations and modifications will suggest themselves to persons skilled in the electronics arts, in addition to those already described, without departing from the basic inventive concepts. For example, there are many other applications where the SFPLL of the present invention may be usefully implemented. All such variations and modifications are to be considered within the scope of the present invention, the nature of which is to be determined from the foregoing description and the appended claims.

Claims: THE CLAIMS DEFINING THE INVENTION ARE AS FOLLOWS: 1. A steered frequency phase locked loop (SFPLL) comprising: a phase loop having a first input signal and an output signal and which is adapted to lock the phase of the output signal to that of the input signal; and, a frequency loop operatively coupled to the phase loop and having a second input signal providing a reference frequency, wherein the frequency loop uses the reference frequency to steer the phase loop and effectively confines the range of frequencies to which the phase loop can lock close to the reference frequency. 2. A steered frequency phase locked loop as defined in claim 1, wherein said phase loop comprises a phase detector, and a voltage controlled oscillator operatively coupled to an output of said phase detector, an output of said voltage controlled oscillator being connected to an input of said phase detector to complete the phase loop. 3. A steered frequency phase locked loop as defined in claim 2, wherein said frequency loop comprises a frequency detector, and means for summing the respective output signals of said phase detector and frequency detector and supplying the sum to said voltage controlled oscillator, the output of said voltage controlled oscillator being connected to an input of said frequency detector to complete the frequency loop. 4. A steered frequency phase locked loop as defined in claim 3, further comprising a first signal filtering means operatively connected between said summing means and said voltage controlled oscillator. 5. A steered frequency phase locked loop as defined in claim 3, wherein said phase loop further comprises a second signal filtering means operatively connected to the output of said phase detector for filtering the output signal from said phase detector. 6. A steered frequency phase locked loop as defined in claim 3, wherein said frequency loop further comprises a third signal filtering means operatively connected to an output of said frequency detector for filtering the output signal of said frequency detector. 7. A steered frequency phase locked loop as defined in claim 3, wherein said phase loop and frequency loop further comprise first and second gain components respectively. 8. A steered frequency phase locked loop as defined in claim 7, wherein said frequency loop further comprises a second summing means for adding a constant offset signal into the frequency loop wherein the reference frequency can be offset to an apparent reference frequency whereby, in use, the SFPLL can be centred on any selected reference frequency simply by changing the value of the offset signal. 9. A steered frequency phase locked loop as defined in claim 7, further comprising a variable phase shifter for shifting the phase of the output signal so as to correct any phase error induced by the SFPLL. 10. A steered frequency phase locked loop as defined in claim 7, connected in cascade with a second SFPLL of the same configuration, and wherein the output signal of the first SFPLL provides the reference frequency for the second SFPLL whereby, in use, the output of the second SFPLL has zero phase and frequency error. 11. A steered frequency phase locked loop as defined in any one of claims 2 to 10, adapted so as to provide demodulation in continuous wave (CW) modulation systems, the phase detector of the SFPLL having an RF input signal with a limited range of frequencies which contain a number of radio channels, and wherein the SFPLL is adapted to filter out and demodulate a particular input radio channel selected by adjusting the reference frequency. 12. A steered frequency phase locked loop as defined in any one of claims 3 to 10, adapted so as to provide a system for timing recovery from a data stream. 13. A steered frequency phase locked loop as defined in claim 10, wherein said timing recovery system is implemented using a digital integrated circuit, said third filtering means comprising a digital filter and said first filtering means comprising a resistor/capacitor combination. 14. A steered frequency phase locked loop as defined in claim 13 wherein said phase detector for the timing recovery system is implemented using an edge to pulse converter which receives an input data stream and generates a pulse of width τ when a transition occurs, in the input data stream, said pulse being ANDed in two AND gates with an output signal from the voltage controlled oscillator (VCO) and with the inverse of the VCO output signal respectively. 15. A steered frequency phase locked loop as defined in claim 14, wherein the outputs of said two AND gates is summed to form a ternary output, the actual phase error being determined by taking an average value of said ternary output. 16. A steered frequency phase locked loop as defined in claim 13, wherein said frequency detector for the timing recovery system is implemented using a rotational frequency detector which generates an output pulse every time the phase of the reference frequency signal slips past the output signal from the voltage controlled oscillator, wherein the rate at which the frequency detector outputs pulses indicates the magnitude of the frequency difference. 17. A steered frequency phase locked loop as defined in claim 13, wherein said digital filter is implemented using Binary Rate Multipliers (BRMs) and an integrator to perform a pulse spreading function whereby phase and frequency disturbances in the phase loop can be reduced.

Inventors: HILL MARTIN, HILL, MARTIN
Applicants: HILL MARTIN, UNIV CURTIN TECH, CURTIN UNIVERSITY OF TECHNOLOGY, HILL, MARTIN
Application year: 1995
Main classification: H03L7
IPC codes: H03L7, H04L7