Dual mode phase-locked loop

Abstract: A phase-locked loop for generating an output signal having a selectable frequency, comprising: reference means (10) for generating a reference signal: phase comparator means (30) responsive to said output signal and said reference signal for generating a lead output signal and a lag output signal; a lowpass filter (34) including a lag circuit (36) for providing a relatively low cutoff frequency and a lead circuit (37) for providing a relatively high cutoff frequency; a voltage-controlled oscillator (16)coupled to the output of said lowpass filter (34), the output of said voltage-controlled oscillator (16) providing said phase-locked loop output signal; and driver means (31,32) coupled to said phase comparator means (30) and said lowpass filter (34) for charging said lag circuit (36) in response to said lag output signal and for discharging said lag circuit (36) in response to said lead output signal, said driver means for sensing a transient condition of said phase-locked loop and if a transient condition is sensed then for charging said lead circuit (37) in response to said lead output signal and for discharging said lead circuit (37) in response to said lag output signal.

Description: The present invention relates in general to phase-locked loops and more specifically to a phase-locked loop providing a first response during a steady-state or locked operating condition and a second response during a transient or unlocked operating condition. The phase-locked loop (PLL) is widely used as a frequency synthesizer in radio receivers. In particular, a PLL is employed to generate a mixing signal having a commanded frequency for shifting a desired radio frequency (RF) signal to a fixed intermediate frequency (IF) signal. A variable frequency divider is employed connected between the voltage-controlled oscillator (VCO) and the PLL phase detector so that any of a number of predetermined frequencies can be selected. For each particular value of the frequency divider, the phase-locked loop "locks-in" to maintain a fixed phase relationship between the divided VCO output signal and a reference signal. When the frequency divider is changed to a new value, the control voltage to the VCO is altered until the PLL locks at the new output frequency. When a PLL is locked, it is desirable to reject any disturbances (other than a change in the frequency divider command) such as noise in the phase detector or the loop filter which might alter the PLL output. A loop filter with a narrow bandpass (i.e., a long time constant) is known to provide the best disturbance rejection for the PLL. When switching to a new synthesized frequency, it is desirable to quickly lock-in at the new frequency. Fast frequency shifting is important in scan tuning operations and in radios which sample received signal strength at frequencies other than the currently received signal for comparison and selection of the best signal (e.g., as in the radio data system or RDS). It is known that the fastest frequency switching is obtained by providing a wide bandwidth (i.e., short time constant) in the loop filter. Therefore, a tradeoff has been required in designing PLL systems in order to maximize noise immunity when locked (i.e., at steady-state mode) and to minimize the response time in locking into a new frequency (i.e., at transient mode). Some improvement in PLL characteristics has been obtained in the prior art by providing a selectable time constant for the loop filter, e.g., by using switched resistance in the filter. Specifically, the time constant is reduced (i.e., loop filter bandwidth is increased) when a variable frequency divider command is changed in order to quickly lock-on and synthesize a new output frequency. Once the new frequency is reached, the time constant is increased (i.e., loop filter bandwidth is reduced) so that frequency lock is maintained during noise disturbances or flutter in the PLL inputs. These techniques are employed, for example, in Norimatsu U.S. Patent No. 5,113,152 and Okada U.S. Patent No. 4,546,330. The upper and lower time constants (i.e., the two selectable values for the upper cutoff frequency of the loop filter) that can be used in the prior art are constrained by the requirement that the feedback system be stable throughout the operating range of the PLL. In the prior art, it has not been possible to simultaneously obtain high disturbance rejection at steady-state mode and very fast (i.e., near deadbeat) frequency switching during transient mode. US-A-3,719,896 discloses a phase lock oscillator for use in a random access magnetic disk file wherein the oscillator operates in a high gain, fast lock-on mode during transport of a head assembly from one data track to another, and in a low gain, tracking mode when the head assembly is stationed over a data track. The circuit comprises a voltage-controlled oscillator means for providing an output signal having a nominal frequency, a signal source for providing a reference signal at the frequency of the nominal frequency, means coupled to said voltage controlled oscillator means and said signal source for comparing the output signal of the voltage controlled oscillator means and the reference signal to produce a phase error signal, gating means coupled to a control unit and to said comparing means, responsive to a control signal for determining the mode of operation of said phase lock oscillator, means coupled to said signal comparing means for compensating for said phase error signal, said compensating means including first and second capacitors connected in series, said first capacitor having one plate connected to a source of reference potential and the other plate coupled to one plate of the second capacitor through a junction, a signal conducting path connected to the second plate of said second capacitor and to the input of said voltage controlled oscillator means, and resistance means connected at one end ot said junction and at the other end to said signal path. It is an object of the present invention to provide a near deadbeat transient response in a phaselocked loop system simultaneously having maximum disturbance rejection during steady-state mode. According to the invention there is provided a phase-locked loop for generating an output signal having a selectable frequency, comprising: reference means for generating a reference signal: phase comparator means responsive to said output signal and said reference signal for generating a lead output signal and a lag output signal; a lowpass filter including a lag circuit for providing a relatively low cutoff frequency and a lead circuit for providing a relatively high cutoff frequency; a voltage-controlled oscillator to the output of said lowpass filter, the output of said voltage-controlled oscillator providing said phase-locked loop output signal; transient means for comparing a phase error detected by said phase comparator to a predetermined phase error; and driver means coupled to said phase comparator means said transient means and said lowpass filter for charging said lag circuit in response to said lag output signal and for discharging said lag circuit in response to said lead output signal, and wherein if a transient condition is sensed by said transient means, said lead circuit is charged and discharged respectively in response to said lead and lag output signal only. The invention will now be described further, by way of example, with reference to the accompanying drawings, in which: Figure 1 is a block diagram showing a phase-locked loop according to the prior art. Figure 2 is a schematic diagram showing a loop filter having a selectable time constant as employed in the prior art. Figure 3 is a block diagram showing a preferred embodiment of the PLL of the present invention. Figure 4 illustrates the relationship between phase error and loop filter bandwidth as employed in the present invention. Figure 5 is a schematic diagram showing the embodiment of Figure 3 in greater detail. Figures 6A-6E are waveform diagrams illustrating voltage signals at various points in Figure 5. Figure 7 is a block diagram showing transfer functions associated with the preferred embodiment of the invention. Referring to Figure 1, a prior art phase-locked loop includes a reference frequency generator 10 providing a reference frequency to one input of a phase comparator 11. A lag output 12 and a lead output 13 from phase comparator 11 are connected to a driver circuit 14, sometimes referred to in the prior art as a charge pump. The output of driver 14 is connected to a loop filter comprised of a lowpass filter (LPF) 15. A SELECT signal is provided to LPF 15 and/or driver 14 for selecting a long or short time constant as described below. The output of LPF 15 is connected to a voltage-controlled oscillator (VCO) 16 which provides the PLL output signal. The PLL output signal is further connected to the input of a variable divider 17 which divides the frequency of the PLL output signal by a factor N as determined by an N command signal from a radio tuner control (not shown). The divided output signal from divider 17 is provided to the second input of phase comparator 11. Phase comparator 11 is shown as a type-II phase detector, the output of which depends on the relative timing between signal edges of the reference signal and the divider output signal. If the divider output signal has an edge occurring before the corresponding edge of the reference signal, phase comparator 11 outputs a lead signal having a duration proportional to (typically equal to) the time difference between the edges. Correspondingly, if the divider output signal edge occurs after the corresponding reference signal edge, phase detector 11 outputs a lag signal having a duration proportional to (equal to) the time difference. In response to the lag signal on output 12, driver 14 supplies current to charge LPF 15 thereby increasing the frequency of VCO 16 and restoring the proper phase relationship. In response to the lead signal on output 13, driver 14 sinks current from LPF 15 to discharge LPF 15 and reduce the output frequency produced by VCO 16. The SELECT signal provided to LPF 15 and/or driver 14 is used to select between long or short time constants depending on the desired response for the phase-locked loop. For example, a short time constant is selected during a time where the PLL output is changing from one frequency to another. A long time constant is selected while the PLL is locked to the desired frequency. As shown in Figure 2, a prior art LPF 15 includes a resistor 20 having one end connected to driver 14 and the other end connected to one end of a resistor 21. The other end of resistor 21 is connected to the input of an amplifier 22. A capacitor 23 and a resistor 24 are connected in series between the input and the output of amplifier 22. The output of amplifier 22 is connected to the input of VCO 16. A field-effect transistor (FET) switch 25, such as a junction FET (JFET) or a metal-oxide semiconductor FET (MOSFET), has its output connected across resistor 20 and receives the SELECT signal at its gate input terminal. When FET 25 is non-conductive, the time constant of LPF 15 depends on the resistance of resistors 20, 21, and 24, and the capacitance of capacitor 23. When the SELECT signal renders FET 25 conductive, a shorter time constant is obtained since the resistance from resistor 20 is cancelled. Although changing the time constant of the lowpass filter as employed in the prior art obtains fast or slow PLL response times as desired, the effect is limited since the addition or subtraction of resistance in the lowpass filter beyond certain limits results in instability of the phase-locked loop. The present invention for maximizing disturbance rejection at steady state and for achieving near deadbeat response in a transient state is shown in Figure 3. A phase comparator 30 provides lag and lead signals to a first driver 31 and to a second driver 32. The lead and lag signals are further connected to a transient detector 33. A lowpass filter 34 is an active filter including an operational amplifier (op amp) 35. A lag circuit 36 is connected to the inverting input and the output of op amp 35 and to first driver 31. A lead circuit 37 is connected to the noninverting input of op amp 35 and second driver 32. The output of op amp 35 provides the output of LPF 34 and is connected to the VCO. Phase detector 30 and first driver 31 operate to charge lag circuit 36 in response to the lag signal and to discharge lag circuit 36 in response to the lead signal. Since the duration of each lag signal and each lead signal is proportional to the phase error from the reference frequency, transient detector 33 is able to detect the transient mode whenever the duration of either the lag signal or the lead signal is greater than a predetermined duration. Second driver 32 is activated whenever a transient mode is detected by transient detector 33 and operates to charge lead circuit 37 in response to the lead signal and to discharge lead circuit 37 in response to the lag signal. Since only lag circuit 36 is active during the steady-state mode, the characteristics of lag circuit 36 are designed to provide the best disturbance rejection at steady-state mode without regard for performance in the transient mode. Since lead circuit 37 and lag circuit 36 are active during the transient mode, the characteristics of lead circuit 37 are designed to provide a near deadbeat response in conjunction with lag circuit 36. Thus, lead circuit 37 is designed to compensate for the system poles, zeros, and gain in order to obtain such near deadbeat response. As shown in Figure 4, the bandwidth of LPF 34 is low (e.g., 10 Hertz) when the phase error is below a predetermined phase error (i.e., the PLL is locked) and has a high bandwidth (e.g., at least 10 kHz) when the phase error is greater than the predetermined phase error (i.e., a PLL is unlocked). Figure 5 shows the embodiment of Figure 3 in greater detail. First driver 31 is comprised of an n-channel MOSFET 40 and a p-channel MOSFET 41 connected in series between a supply voltage V DD and ground. The gate of MOSFET 40 receives the lag signal and the gate of MOSFET 41 receives the lead signal. The junction of MOSFETs 40 and 41 is connected to a resistor 42 in lag circuit 36. The other side of resistor 42 is connected to the inverting input of op amp 35. Lag circuit 36 also includes a resistor 43 connected in series with a capacitor 44 between the inverting input and the output of op amp 35. Steady-state mode response of the PLL is thus determined by resistors 42 and 43, capacitor 44 and op amp 35. Lag circuit 36 is charged via MOSFET 40 during a lag signal and is discharged via MOSFET 41 during a lead signal. The filter poles for lag circuit 36 provide an upper cutoff frequency of about 10 Hertz to optimize performance during steady-state mode. Transient detector 33 includes AND gate 45 having one input connected to receive the lead signal from phase comparator 30. The other input of AND gate 45 receives the lead signal through a delay circuit 46. Delay circuit 46 introduces a fixed delay time t d for transmitting the lead signal and may be comprised of a plurality of series connected buffer amplifiers or an RC timing circuit, for example. Likewise, an AND gate 47 receives the lag signal at one input and receives a delayed lag signal via a delay circuit 48 at its other input. The duration of fixed delay time t d depends on the desired response in any particular application. In general, the duration is equal to between about 12.5% and 25% of the period of the reference frequency. For example, a PLL frequency synthesizer in an FM tuner typically uses a reference frequency of 200 kHz which corresponds to the FM channel spacing. The period of this signal is 5 microseconds. Thus, delay time t d has a duration in the range of 1.2 to .6 microseconds. Second driver 32 includes an n-channel MOSFET 50 connected in series with a p-channel MOSFET 51 between supply voltage V DD and ground. The output of AND gate 45 is connected to the gate input of MOSFET 50 and the output of AND gate 47 is connected to the gate input of MOSFET 51. Lead circuit 37 includes a resistor 52 having one end connected to the junction between MOSFETs 50 and 51 and its other end connected to a capacitor 53. The other end of capacitor 53 is connected to the noninverting input of op amp 35. A resistor 54 is connected in parallel with capacitor 53. A resistor 55 is connected between the noninverting input of op amp 35 and ground. The operation of transient detector 33 and second driver 32 will be described with reference to the timing diagrams of Figure 6. Figure 6A shows the lag signal having a voltage at point v₁. When phase comparator 30 detects a lagging phase difference, the v₁ signal transitions from a low logic level to a high logic level as shown at 60. After a duration proportional to the lagging phase difference, signal v₁ transitions back to a low level at 61. A signal at point v₂ is produced by delay circuit 48 and is shown in Figure 6B. During the time that both signals v₁ and v₂ are at a high logic level, the output of AND gate 47 is also at a high logic level and MOSFET 51 is rendered conductive. A signal v₃ at the junction of MOSFETs 50 and 51 is thus driven to ground potential as shown at 62 in Figure 6C. Lead circuit 37 is thus discharged during the transient mode at the same time that lag circuit 36 is charged through MOSFET 40. Figure 6A shows another lag signal of relatively shorter duration at 63. However, since the lag signal at 63 (Fig. 6A) is still of a duration longer than the delay time t d , the time delayed signal v₂ at 64 (Fig 6B) is still overlapping and signal v₃ is driven to ground at 65 (Fig 6C). A further lag signal 66 in Figure 6A has a duration less than the delay time t d . Thus, a time delayed signal v₂ at 67 in Figure 6B does not overlap in time and no corresponding output is provided by second driver 32 (i.e., no change in Figure 6C). Thus, the phase-locked loop remains in the steady-state mode and only the lag circuit is charged/discharged. Similarly, the lead signal from phase comparator 30 provides a voltage signal v₄ as shown in Figure 6D. When a high logic level signal at v₄ has a duration greater than time delay t d (as shown at 70 in Figure 6D), the time delayed output signal at point v₅ from delay circuit 46 (shown in Figure 6E at 71) overlaps. During the overlapping portion, MOSFET 50 is rendered conductive and voltage signal v₃ is driven to the supply voltage V DD as shown at 72 in Figure 6C, thereby charging lead circuit 37 during the transient mode at the same time that lag circuit 36 is discharged via MOSFET 41. During the transient mode, both lead circuit 37 and lag circuit 36 are active. Resistors 52, 54 and 55 and capacitor 53 in lead circuit 37 are selected to provide (in conjunction with previously selected resistors 42 and 43 and capacitor 44) filter poles, zeros and gain which provide a near deadbeat response. Figure 7 shows the transfer functions which model the phase-locked loop of the present invention. The reference signal R(z) is coupled to one input of a summer 75. The output of the summer is connected to a block 76 having a transfer function D(z) modeling the phase comparator. The output of block 76 is connected to the input of a block 77 having a transfer function H(0) known as a zero-order hold for modeling the driver circuits. During a steady-state mode, a pair of ganged switches 78 and 79 select a block 80 having a transfer function G₁(s) which models the lowpass filter with only the lag circuit being active. During the transient mode, gang switches 78 and 79 select a block 81 having a transfer function G₂(G₁(s)) for modeling the lowpass filter when both the lag circuit and the lead circuit are active. The output of switch 79 is connected to the input of a block 82 having a transfer function G₀(s) for modeling the voltage-controlled oscillator. The output of block 82 is connected through a sampling switch 83 (having a sample rate equal to 1/N) to a block 84 having a transfer function H(z). Together, switch 83 and block 84 model the divider. The output of block 84 is connected to the second input of summer 75. As is apparent from Figure 7, the characteristics of the phase-locked loop of the present invention can be arbitrarily determined at steady-state operation. The operating characteristics during the transient mode can then be separately designed in a manner which compensates separately for the systems poles, zeros and gain to reach a near deadbeat response.

Claims: A phase-locked loop for generating an output signal having a selectable frequency, comprising: reference means (10) for generating a reference signal: phase comparator means (30) responsive to said output signal and said reference signal for generating a lead output signal and a lag output signal; a lowpass filter (34) including a lag circuit (36) for providing a relatively low cutoff frequency and a lead circuit (37) for providing a relatively high cutoff frequency; a voltage-controlled oscillator (16)coupled to the output of said lowpass filter (34), the output of said voltage-controlled oscillator (16) providing said phase-locked loop output signal; transient means (33) for comparing a phase error detected by said phase comparator (30) to a predetermined phase error; and driver means (31,32) coupled to said phase comparator means (30) said transient means (33) and said lowpass filter (34) for charging said lag circuit (36) in response to said lag output signal and for discharging said lag circuit (36) in response to said lead output signal, and wherein if a transient condition is sensed by said transient means, said lead circuit (37) is charged and discharged respectively in response to said lead and lag output signal only. A phase-locked loop as claimed claim 1, wherein said lead circuit (37) has an impedance which compensates for poles, zeros, and gain of said phase-locked loop to obtain a near deadbeat response. A phase-locked loop as claimed in claim 1, wherein said transient means (33) compares the duration of each lag output signal and each lead output signal with a predetermined duration. A phase-locked loop as claimed in claim 3, wherein said predetermined duration is less than about 25% of the period of said reference signal. A phase-locked loop as claimed in claim 1, wherein said lowpass filter (34) further includes an amplifier (35) having an inverting input and a noninverting input, and wherein said lag circuit (36) is coupled to said inverting input and said lead circuit (37) is coupled to said noninverting input. A phase-locked loop as claimed in claim 1, wherein said lag circuit (36) acting alone provides a cutoff frequency of about 10 Hz, and wherein said lag circuit (36) and said lead circuit (37) acting together provide a cutoff frequency of about 10 kHz or more.

Inventors: KUO YAO HSIEN, KUO, YAO HSIEN
Applicants: FORD MOTOR CO, FORD MOTOR COMPANY
Application year: 1993
Main classification: H03L7
IPC codes: H03L7