1. Technical Field
The present application relates generally to an improved phase locked loop circuit. More specifically, the present application is directed to a phase locked loop (PLL) that implements a hybrid architecture that utilizes features of a conventional resistance/capacitance (RC) PLL and features of a conventional feed-forward PLL to stabilize the dynamic response of the hybrid PLL.
2. Description of Related Art
A phase locked loop (PLL) is a closed loop feedback control system that generates an output signal in relation to the frequency and phase of an input, or reference, signal. The PLL automatically responds to the frequency and phase of the input signal by raising or lowering the frequency of a controlled oscillator until it is matched to the reference in both frequency and phase.
PLLs are widely used in computing devices, telecommunications systems, radio systems, and other electronic applications where it is desired to stabilize a generated signal or to detect signals in the presence of noise. Since an integrated circuit can hold a complete PLL, the use of PLLs in modem electronic devices is widespread.
PLLs generally include a phase detector circuit, a low pass filter circuit, and a voltage controlled oscillator (VCO) placed in a negative feedback configuration. In addition to these elements, a frequency divider circuit may be provided in the feedback path, the reference signal path, or both, in order to make the PLL's output signal an integer multiple of the reference signal. The phase detector compares the phase of two inputs and outputs a corrective signal to control the VCO such that the phase difference between the two inputs becomes zero. The two inputs are a reference signal and the divided output of the VCO.
Various types of phase detector circuits are known including simple OR gates, four-quadrant multiplier (or “mixer”) circuits, proportional phase detector circuits, and the like. A more complex phase detector uses a simple state machine to determine which of the two signals has a zero-crossing earlier or more often. This brings the PLL into lock even when it is off frequency. This type of phase detector circuit is known as a phase frequency detector (PFD).
The VCO is used to generate a periodic output signal. For example, if the VCO is at approximately the same frequency as the reference signal, if the phase of the VCO falls behind the phase of the reference signal, the phase detector circuit causes a charge pump of the PLL to charge the control voltage so that the VCO speeds up. Likewise, if the phase of the VCO progresses ahead of the phase of the reference signal, the phase detector circuit causes the charge pump to change the control voltage to slow down the VCO. The low-pass filter smooths out the abrupt control inputs from the charge pump. Since the frequency of the VCO may be far from the frequency of the reference signal, practical phase detectors may also respond to frequency differences, such as by using a phase frequency detector (PFD), so as to increase the lock-in range of allowable inputs.
As discussed above, most PLLs also include a frequency divider circuit between the VCO and the feedback input to the phase detector circuit in order to produce a frequency synthesizer. This frequency divider circuit may be programmable so as to achieve different output or feedback frequencies of the output signal. Some PLLs may also include a frequency divider circuit between the reference clock input and the reference input to the phase detector circuit. If this frequency divider circuit divides the frequency of the reference signal by M, the inclusion of this frequency divider circuit between the reference clock input and the reference input to the phase detector circuit allows the VCO to multiply the reference signal's frequency by N/M, where N is the multiplier provided by the VCO.
PLLs are used in a number of different ways in modem electronic systems. One use of PLLs is to provide clock signals for processors and other electronic devices. Typically, the clock signals supplied to these processors and other electronic devices come from clock generator PLLs which multiply a lower-frequency reference clock signal up to an operating frequency required by the processor or electronic device. Clock distribution logic may then distribute the clock signal generated by the PLL to various endpoints in the processor or electronic device.
Another use of PLLs is to provide a spread spectrum functionality to reduce interference with other electronic devices by spreading the energy of an input signal over a larger portion of the frequency spectrum of the PLL output. All electronic devices or systems emit some unwanted energy. Various regulatory agencies, such as the Federal Communications Commission (FCC), impose limits on this emitted energy and any interference it may cause on other electronic devices. This emitted interference, or noise, generally appears as sharp spectral peaks, usually at the operating frequency of the device generating the noise, and a few harmonics of this operating frequency. A system designer may use a spread-spectrum PLL to reduce interference with high-Q receivers by spreading the energy over a larger portion of the frequency spectrum of the PLL output. For example, by changing the operating frequency up and down by a small amount, a device running at hundreds of megahertz can spread its interference evenly over a few megahertz of spectrum. This drastically reduces the amount of noise seen by other electronic devices.
The dynamic responsiveness of a PLL is measured primarily with regard to the PLL's damping factor and loop bandwidth. The damping factor is a measure of how responsive the PLL is to changing the phase/frequency of the reference input signal. If a PLL takes too much time to adjust its response to achieve a desired phase/frequency, the PELL is over-damped. If the PLL tends to oscillate towards its desired phase/frequency, then the PLL is under-damped. A PLL that does not overshoot the desired phase/frequency and achieves the desired phase/frequency within a minimum period of time is determined to be critically damped.
The loop bandwidth represents the frequencies of reference signals or input signals that the PLL will detect. The PLL acts as a filter meaning that input signals having a frequency within a specific range will be detected for adjustment by the PLL. Other input signals outside of the range, or bandwidth, will not be detected by the circuitry of the PLL and thus, are essentially filtered-out. Large loop bandwidth PLLs tend to lock onto the reference input signal more quickly than small loop bandwidth PLLs. Small loop bandwidth PLLs take longer to lock, but are able to filter out more noise or jitter.
Phase locked loop (PLL) circuits for applications, such as processor core clock generation, usually require damping factors between 0.5 and 1.0, 1.0 being a critically damped PLL circuit, and loop bandwidths of at least 100 times the spread spectrum modulation frequency for proper spread spectrum tracking with no additional spread spectrum induced jitter penalty, e.g., 50 KHz modulation frequency means 5 MHz minimum PLL bandwidth is required. However, excessive PLL bandwidth will cause larger jitter due to external noise. Thus, it is important to optimize the bandwidth of a PLL circuit so as to obtain as small a PLL bandwidth as possible, while still providing proper spread spectrum tracking. Moreover, it is important to obtain as close to an optimal damping factor as possible with PLL circuits.
While PLLs provide the ability to adjust the phase and frequency of input signals, the dynamic responsiveness of PLLs must be selected carefully to meet the requirements of the system in which they are utilized. Optimization of the dynamic response of PLLs is often very difficult to achieve because the damping factor and natural frequency/loop bandwidth cannot be set independently for conventional PLL designs. That is, in conventional PLL designs, any modification to the damping factor of the PLL will also cause a modification in the loop bandwidth. Similarly, modifications to the loop bandwidth will cause a change in the damping factor of the PLL. It is not currently possible to adjust one dynamic response parameter of a PLL independently of the other.
The mechanisms of the illustrative embodiments provide a hybrid phase locked loop (PLL) circuit for obtaining stabilized dynamic response and independent adjustment of damping factor and loop bandwidth. The hybrid PLL circuit of the illustrative embodiments includes the resistance/capacitance (RC) filter elements of a conventional RC PLL and the feed-forward path from the output of the phase frequency detector to the voltage controlled oscillator (VCO). The hybrid PLL essentially enhances the performance of the conventional feed-forward PLL by providing the RC filter whose components can be weighted to provide a dynamic response that is significantly less sensitive to parameter variation and which allows loop bandwidth optimization without sacrificing damping.
The hybrid PLL takes advantage of the fact that the natural frequency relationships for the RC PLL and the feed-forward PLL are identical, but the damping factor for the RC PLL is directly proportional to the square root of the charge pump current while the damping factor for the feed-forward PLL is inversely proportional to the square root of the charge pump current. Thus, by creating a hybrid PLL which has both RC filtering and feed-forward operations, the mechanisms of the illustrative embodiments create a circuit with a damping factor in which components of the damping factor offset each other as the charge pump current is varied. As a result, the damping factor of the hybrid PLL may be made insensitive to charge pump current. Therefore, the damping factor and natural frequency/bandwidth can be set independently of each other.
In one illustrative embodiment, a phase locked loop circuit is provided that comprises a phase frequency detector, a charge pump coupled to the phase frequency detector, a filter coupled to the charge pump (the filter comprising a resistor) an oscillator coupled to the filter, and a feed-forward path coupled to the phase frequency detector and the oscillator. The filter may further comprise a capacitor coupled to the resistor. By virtue of the resistor and the feed-forward path, a damping factor and a bandwidth of the phase locked loop circuit may be independently set.
The phase frequency detector may receive as inputs a reference signal and a feedback signal. The phase frequency detector may generate and provide a control signal input to the charge pump to thereby increase or decrease a current of the charge pump based on a detected difference in at least one of phase or frequency of the reference signal and the feedback signal. The control signal input generated by the phase frequency detector may be provided to the oscillator via the feed-forward path and to the charge pump.
The resistor and the feed-forward path may generate components used in the determination of the damping factor of the phase locked loop circuit that offset each other as charge pump current is varied. The damping factor of the phase locked loop circuit may be insensitive to charge pump current due to the inclusion of both the feed-forward path and the resistor in the filter.
The phase locked loop circuit may provide a frequency modulation for a spread spectrum integrated circuit device. The oscillator may provide a clock signal output to an integrated circuit device. The integrated circuit device may be a processor and the clock signal output may be a core clock signal for the processor.
In another illustrative embodiment, an integrated circuit device is provided that comprises a plurality of functional units and a phase locked loop circuit that generates an internal signal for synchronizing the plurality of functional units. The phase locked loop circuit may comprise a phase frequency detector, a charge pump coupled to the phase frequency detector, a filter coupled to the charge pump (the filter comprising a resistor), an oscillator coupled to the filter, and a feed-forward path coupled to the phase frequency detector and the oscillator. The filter may farther comprise a capacitor coupled to the resistor. By virtue of the resistor and the feed-forward path, a damping factor and a bandwidth of the phase locked loop circuit may be independently set.
The phase frequency detector may receive as inputs a reference signal and a feedback signal. The phase frequency detector may generate and provide a control signal input to the charge pump to thereby increase or decrease a current of the charge pump based on a detected difference in at least one of phase or frequency of the reference signal and the feedback signal. The control signal input generated by the phase frequency detector may be provided to the oscillator via the feed-forward path and to the charge pump.
The resistor and the feed-forward path may generate components used in the determination of the damping factor of the phase locked loop circuit that offset each other as charge pump current is varied. The damping factor of the phase locked loop circuit may be insensitive to charge pump current due to the inclusion of both the feed-forward path and the resistor in the filter.
The integrated circuit device may be a spread spectrum integrated circuit device and the phase locked loop circuit provides a frequency modulation for the spread spectrum integrated circuit device. Moreover, the integrated circuit device may be a processor of a data processing device.
In yet another illustrative embodiment, a method of generating an output signal based on a reference input signal is provided. The method may comprise receiving a reference input signal, comparing the reference input signal to a feedback signal, and generating a charge pump input signal for controlling an increase, decrease, or maintaining of an input voltage to a voltage controlled oscillator based on results of the comparison. The method may further comprise inputting the charge pump input signal to a charge pump that generates a control input signal for controlling an operation of the voltage controlled oscillator and inputting the control input signal to a filter which generates a filtered control input signal that is input to the voltage controlled oscillator. Moreover, the method may comprise inputting the charge pump input signal to the voltage controlled oscillator and generating, by the voltage controlled oscillator, an output signal based on the charge pump input signal and the filtered control input signal.
These and other features and advantages of the present invention will be described in, or will become apparent to those of ordinary skill in the art in view of, the following detailed description of the exemplary embodiments of the present invention.
The invention, as well as a preferred mode of use and further objectives and advantages thereof will best be understood by reference to the following detailed description of illustrative embodiments when read in conjunction with the accompanying drawings, wherein:
The conventional RC PLL circuit 100 operates in a manner generally known in the art. That is, assuming the RC PLL circuit 100 is used for generating a core clock signal for a processor or other integrated circuit device, a reference clock signal is provided to the RC PLL circuit 100 via receiver 110. Preferably, the input to the receiver 110 is coupled to an external reference clock while the output of the first divider 150 is coupled to a clock input of a processor or other integrated circuit device. This reference clock signal is input to the phase frequency detector 115 which also receives as an input a feedback clock signal from the second divider 155, which divides the feedback signal from the first divider 150 by a programmable amount. The phase frequency detector 115 compares the feedback clock signal from the second divider 155 and detects a difference in phase and frequency between the reference clock signal and the feedback clock signal. The phase frequency detector 115 then generates an “up” or “down” control signal based on whether the feedback clock signal frequency is lagging or leading the reference clock signal frequency. These “up” or “down” control signals determine whether the VCO 145 needs to operate at a higher or lower frequency, respectively.
The PFD 115 outputs these “up” and “down” signals to the charge pump 120. If the charge pump 120 receives an “up” control signal, current is driven into the RC filter 140. Conversely, if the charge pump 120 receives a “down” control signal, current is drawn from the RC filter 140. The RC filter 140 converts these control signals into a control voltage that is used to bias the VCO 145. Based on the control voltage, the VCO 145 oscillates at a higher or lower frequency, which affects the phase and frequency of the feedback clock signal. If the PFD) 115 produces an “up” control signal, then the VCO 145 frequency is increased. If the PFD 115 produces a “down” control signal, then the VCO 145 frequency is decreased. The VCO stabilizes once the reference clock signal and the feedback clock signal have the same phase and frequency. When the reference clock signal and the feedback clock signal are aligned, the RC PLL circuit 100 is considered locked.
The RC filter 140 operates to filter out jitter from the charge pump 120 output and to prevent voltage overshoot. Thus, the operation of the RC filter 140 affects the damping factor of the RC PLL circuit 100. The first and second dividers 150 and 155 operate to increase the VCO 145 frequency above the reference frequency of the reference clock signal. That is, the VCO 145 frequency is equal to a multiple of the reference clock signal frequency which may then be reduced by the divider circuits 150 and 155.
The PLL shown in
As discussed above, it is desirable to obtain a damping factor of 0.5 to 1.0 in the PLL since the PLL will tend not to overshoot the target phase/frequency (i.e. be under-damped) and will not take too long to achieve the target phase/frequency (i.e. be over-damped). A critically damped PLL is achieved when the damping factor is 1. Thus, using a 600 Ohm resistor, a critically damped RC PLL can be achieved at a loop bandwidth of approximately 5.5 MHz which corresponds to the fifth highest charge pump current setting. Variations in charge pump current, as well as other design parameters such as VCO gain (not shown in the plot), cause significant deviation from the nominal setting. Thus, it is important to stabilize these parameters as much as possible. However, the circuit designer usually has limited influence since process variation and modeling errors are quite large and may cause the performance/operation of the circuit to be far from the intended (optimal) case.
Moreover, damping factor and loop bandwidth are dependent upon each other in the known RC PLL architecture such that a change in one causes a change in the other, as illustrated in the plot shown in
In the plot shown in
Both the example in
It should be appreciated that a hybrid PLL architecture was not known prior to the present invention since the relationship between damping factor and loop bandwidth was not fully appreciated and thus, there was no motivation to attempt to generate such a hybrid PLL. To the contrary, if a designer has access to a precision resistor process, and cost is not as much of an issue, then one would generally use the known RC PLL architecture. Feed-forward PLLs, on the other hand, are more complex and require a VCO that is modified to accommodate the feed-forward input. Without an understanding of the relationship between the feed-forward operation of a feed-forward PLL, the RC filtering of an RC PLL, and their affect on damping factor and loop bandwidth, one would have no motivation to combine the feed-forward and RC PLL architectures into a hybrid PLL architecture such as that set forth in the illustrative embodiments herein.
In addition to these elements, a feed-forward line 590 is provided between the PFD 515 and the VCO 545 in a similar manner to that of the conventional feed-forward PLL circuit 200 in
The ability to independently set the damping factor and natural frequency/bandwidth of the hybrid PLL 500 is especially important to spread spectrum applications. As discussed above, with spread spectrum applications it is desirable to achieve a damping factor of approximately 0.5 to 1.0 while being able to adjust the bandwidth to achieve a proper spread spectrum modulation frequency while reducing jitter due to external noise. The mechanisms of the hybrid PLL 500 allow the damping factor to be set to a desired level, e.g., damping factor of 1, and then to allow the bandwidth to be adjusted while maintaining the set damping factor. In this way, the bandwidth may be adjusted to achieve a proper spread spectrum modulation frequency while reducing jitter due to external noise by setting the bandwidth to a level that is small enough to reduce the jitter detected by the hybrid PLL 500 but large enough to provide the proper spread spectrum modulation frequency.
As an example, consider a situation where a 50 KHz modulation frequency is desired. According to Federal Communications Commission (FCC) regulations, a minimum of 100 times the spread spectrum modulation frequency is required for proper spread spectrum tracking with no spread spectrum induced jitter penalty. Thus, a minimum of 5 MHz of loop bandwidth is required so that the noise may be spread out over this range of frequencies. With the mechanisms of the illustrative embodiments, for the same resistance value and feed-forward delta f values, any of a number of various bandwidths, and thus, modulation/natural frequencies may be selected while still achieving a critically damped PLL. Thus, the same hybrid PLL circuit may be used with various required modulation frequencies and bandwidths leading to a more versatile circuit.
As shown in
It should be appreciated that the resistance value of 300 Ohms was selected for this example since a combination of a 300 Ohm resistor and a feed-forward delta f value of 210 MHz provides a damping factor of approximately 1, i.e. critically damped. Other combinations of resistance values and feed-forward delta f values may be selected to achieve the same or different damping factors as desired for the particular implementation.
In order to illustrate the operation of the hybrid PLL, the following is a mathematical derivation of a second order charge-pump PLL with feed-forward in accordance with the illustrative embodiments. First, the conventional RC PLL will be addressed, followed by the feed-forward PLL, and finally the hybrid RC-feed-forward PLL. The derivation is used to illustrate how the hybrid PLL stabilizes the damping factor with respect to the charge pump current while allowing a variability of frequency, i.e. loop bandwidth, similar to that in the feed-forward PLL architecture.
With regard to the conventional RC PLL, using the convention of Gardner “Charge-Pump Phase-Locked Loops,” IEEE Trans. Comm., vol. COM-28, pp. 1849-1858, November 1980, the average error current over a cycle is determined as follows:
i
d=(Iptp)/Ti=(Ipθc/ωi)/(2π/ωi)=Ipθc/2π A, (1)
where Ip is the peak charge-pump current, as may be specified by the control input via the PMP bus, tp is the ON time of the phase detector output, Ti and ωi are the respective input period and radian frequency, and θe is the magnitude of the phase error between the input and the output of the PLL as determined by:
θe=|θi−θo| rad, (2)
A conventional second-order charge pump with a loop filter impedance produces an oscillator control voltage given by:
V
c(s)=Id(s)Z(s)=((Ipθc(s)/2π)R2+(Ipθe(s)/2πCs) V, (3)
where Z(s) is the loop filter impedance, Id(s) is the Laplace transform of id(t) (equation 1), R2 is the resistance value for the resistor in the loop filter, C is the capacitance value for the capacitor in the loop filter, and s is the frequency domain variable for the Laplace transform (s=σ+σω)). The first term is related to the instantaneous voltage step on the loop filter:
Δvc=IpR2 V, (4)
while the second term is related to the average value of the loop filter voltage. This voltage step produces an instantaneous frequency step as follows:
Δω=ΔvcK0=K0IpR2 rad/sec, (5)
where K0 represents the VCO gain at the control input in rad/sec/V and Δω is the instantaneous frequency change in rad/sec.
If Nv and Nf represent the divider values of a VCO divider, e.g., 550 in
θ0(s)=(K0Vc(s))/(sNvNf) rad, (6)
which combined with equation (3) above becomes
θ0(s)=(K0Ipθe(s))/(2πsNvNf)*(R2+1/(sC)) (7)
Other relationships that are important in the conventional case include the following “reference” relationships:
G(s)=K(s+ω2)/s2 (R1)
where G(s) is the open loop transfer function, K is the loop gain, and ω2 is the frequency of the pole created by R2 and C, and
K=(K0IpR2)/(2πNvNf) (R2)
ω2=1/(R2C)=1/τ2 (R3)
H(s)=K(s+ω2)/(s2+Ks+Kω2)=(2ζωns+ωn2)/(s2+2ζωns+ωn) (R4)
where H(s) is the PLL transfer function, ζ is the PLL damping factor, and ωn is the PLL natural frequency.
K=2ζωn (R5)
ωn2=Kω2 (R6)
1-H(s)=s2/(s2+Ks+Kω2) (R7)
where 1-H(s) is an error function for the PLL.
ωn=sqrt(K0Ip/(2πCNvNf)) (R8)
ζ=½τ2*sqrt(K0Ip/(2πCNvNf)) (R9)
where τ2 is the time constant of the R2 and C combination, and
ζ=½ R2*sqrt(i K0IpC/(2πNvNf)) (R10)
ζ/ωn=τ2/2 (R11)
|H(jω)|2=K2(ω22+ω2)/(K2 ω22+K2ω2+ω4−2Kω2ω2) (R12)
where |H(jω)|2 is the square of the magnitude of the closed loop transfer function, H(jω) is a complex function, i.e. R+jx where R is the real portion and jx is the imaginary portion, ω2 is the pole frequency, and ω is a frequency variable in rad/s.
ω3 dB=ωn*sqrt(2ζ2+1+sqrt(4ζ4+4ζ2+2)) (R13)
where ω3 dB is bandwidth (measured at −3 dB frequency relative to DC.
θv=ΔΩ/Kv (R14)
K
v=(K/R2)*Z(0) (R15)
where θv is a steady state phase error, ΔΩ is a mistuning of frequency offset, Kv is a DC loop gain, and Z(0) is the filter impedance at DC.
If the PLL implementation does not include a physical resistor in the filter, such as in the feed-forward PLL architecture, it is useful to consider an equivalent resistance term Req derived from the charge pump, filter, and VCO characteristics. To accommodate a resistorless filter, a special feed-forward current port on the VCO may be used with an auxiliary charge pump, current source, or voltage source providing a signal proportional to the error signal.
For the case where the VCO has a feed-forward current port with current gain Kj (rad/sec/A), a feed-forward current If (A) is injected by an auxiliary charge-pump such that:
Δω=Kj If rad/sec, (8)
and
R
eq=(KjIf)/(K0Ip) Ohms, (9)
It is important to point out that since the equivalent resistance Req is not a physical resistor, it is not a constant value, and in fact can vary significantly with the variation of loop parameters, e.g., Δω, Ip, K0, Kj, If, and process tolerances.
For a resistorless design, the first term from equation (3) above becomes
(IpReqθc(s))/2π=(Δωθe(s))/(2πK0) (10)
and is removed from the expression for Vc(s) and added to the VCO output expression so that
V
c(s)=((Ipθc(s))/(2πCs)) (11)
and
θ0(s)=(K0Ipθe(s))/(2πsNvNf)*(R2+1/(sC))=(Δωθe(s))/(2πsNvNf)+(K0Ipθc(s))/(2πs2CNvNf) (12)
It should be noted that although equation (11) is very different from equation (3) above, due to the R term being dropped, equation (12) is similar to equation (7) since the effect of the Req term has been added through the VCO feed-forward port.
Solving for C(s), one gets;
G(s)=θ0(s)/θe(s)=(Δω(s+(K0Ip)/(ΔωC)))/(2πs2NvNf) (13)
which can be rewritten as:
G(s)=K(s+ωeq)/s2 (14)
where ωeq is an equivalent pole frequency for the feed-forward case, and where
K=Δω/(2πNvNf)=(K0IpReq)/(2πNvNf) rad/sec (15)
and
ωeq=(K0Ip)/(ΔωC)=1/ReqC=1/τeq rad/sec (16)
where τeq is an equivalent time constant for the feed-forward case,
or
τeq=(ΔωC)/(K0Ip) sec (17)
These relationships shown in equations (14)-(17) are similar to the relationships found in conventional RC filter PLL implementations. For example, the expression for G(s) in the conventional RC filter PLL implementation is:
G(s)=K(s+ω2)/s2
Since G(s) in equation (14) is similar to the conventional RC filter PLL implementation, the feed-forward expressions for the transfer function of the feed-forward PLL and error function of the feed-forward PLL are also similar to the conventional RC filter PLL implementation. The transfer function for the feed-forward case is:
H(s)=θ0(s)/θi(s)=G(s)/(1+G(s))=K(s+ωeq)/(s2+Ks+Kωeq)=(2ζωns+ωn2)/(s2+2 ζωns+ωn2) (18)
where ωn is the natural frequency of the feed-forward PLL and ζ is the damping factor of the feed-forward PLL, and wherein K=2ζωn and ωn2=Kωeq. These relationships for K and ωn2 are similar to the conventional RC filter PLL implementation. By substituting equations (15) and (16) into these relationships for K and ωn2 one obtains:
ωn=sqrt(Kωeq)
ωn=sqrt((K0Ip)/(2πCNvNf)) (19)
and
ζ=K/2ωn (20)
ζ=(Δω/2)sqrt(C/(2πNvNfK0Ip)) (20a)
ζ=½Req*sqrt(K0IpC/(2πNvNfr)) (20b)
ζ=½ sqrt(Kπeq) (20c)
ζ=½ τeq sqrt(K0Ip/(2πCNvNf)) (20d)
The natural frequency in equation (19) is identical to the natural frequency of the conventional RC filter PLL implementation. The relationships in the equations (20b) and (20d) are similar to that of the conventional RC filter implementation, but differ by the fact that the Req factor is not constant as the PLL parameters are varied, as discussed previously. The form of equation (20a) is preferred for describing the damping in the feed-forward case since Δω is constant, not Req or τeq. As can be seen from equation (20a), especially when comparing it to similar relationships for the conventional RC PLL implementation, it is clear that the damping factor is a strong function of design parameters K0 and Ip (as well as C, Nv, and Nf), but the dependence on sqrt(K0Ip) is directly proportional for the conventional RC filter PLL implementation yet inversely proportional for the feed-forward PLL implementation.
By substitution, one can see that the damping and natural frequency for the feed-forward PLL implementation are related by the loop time constant:
ζ/ωn=τeq/2=½ωeq (21)
which is similar to the relationship of the conventional RC filter PLL implementation set forth above in equation (R11). The error function for the feed-forward PLL implementation is also similar to the conventional RC filter PLL implementation, represented by equation (R7), and is described by:
1-H(s)=θe(s)/θi(s)=s2/(s2+Ks+Kωeq) (22)
The loop bandwidth for the feed-forward PLL implementation is also similar to the conventional RC filter PLL implementation represented by equation (R12), and is described by:
|H(jω)|2=K2(ωeq2+ω2)/(K2 ωeq2+K2ω2+ω4−2Kωeqω2) (23)
which is set equal to 0.5 to solve for ω to give the ½ power frequency which is identical to the relationship in equation (R13):
ω3 dB=ωn*sqrt(2ζ2+1+sqrt(4ζ4+4ζ2+2)) rad/sec (24)
Solving the expression for 0≦ζ≦1 one sees that 1.55≦ω3 dB/ωn≦2.25. Thus, for most PLLs of interest, the loop bandwidth will be approximately twice the natural frequency.
From equation (22) the following relationship may be determined:
θe(s)=s2 θi(s)/(s2+Ks+Kωeq) (25)
and the steady-state phase error θv can be found using the final value theorem:
θv=lim θe(t)=lim (s3θi(s)/(s2+Ks+Kωeq)) rad (26)
t→∞ s→0
For a frequency offset ΔΩ (in rad/sec) between the input and the free-running (zero control voltage) frequency of the VCO, it is required that:
dθ
i(t)/dt=ΔΩ u(t) (27)
where u(t) is a unit step function,
or
θj(t)=ΔΩ t u(t) (28)
hence
θi(s)=ΔΩ/s2 (29)
The relationship in equation (26) may now be rewritten as:
θv=(2πNvNfΔΩ)/(K0IpZ(0))=(ReqΔΩ)/(KZ(0))=ΔΩ/Kv (30)
where
K
v=(K/Req)*Z(0) rad/sec (31)
wherein Kv is the DC loop gain. Equations (30) and (31) identical to the conventional RC filter PLL, see equations (R14) and (R15), and thus, one would expect that the static phase error θv would go to zero for both conventional and feed-forward approaches since for both implementations Z(0)=∞.
As pointed out above, the damping factor is sensitive to the charge-pump current. If a PLL is constructed that uses a weighted combination of both RC filtering and feed-forward approaches, as in the hybrid PLL architecture of the present invention, the damping factor may be stabilized with respect to the charge-pump current variations. Combining the relationships in equations (R10) and equation (20b) one obtains:
ζ=½(R2*+Req*)*sqrt(K0IpC/(2πNvNr)) (32)
where the sum of the resistors is equal to the total effective damping resistance required:
R
2
*+R
eq
*=R
2 for the RC filter PLL implementation (33)
or
R
2
*+R
eq
*=R
eq for the feed-forward PLL implementation (34)
substituting the equivalent resistance for a resistorless PLL design, i.e. Req*=Δω*/(K0Ip), one obtains:
ζ=½(R2*+Δω*/(K0Ip))*sqrt(K0IpC/(2πNvNf)) (35)
and rearranging:
ζ=½sqrt(C/(2πNvNf){R2*sqrt(K0Ip)+Δω*sqrt(I/K0Ip)} (36)
Here it can be seen that an increase in the square root of Ip will cause the term containing R2* to increase and the term containing Δω* to decrease, effectively stabilizing the damping factor with respect to charge pump current. If the two terms are made equal:
R
2
*sqrt(K0Ip)=Δω*sqrt(1/K0Ip) (37)
then
R
2*=Δω*/(K0Ip)=Req* (38)
and define
R=R
2
*=R
2/2=Req*=Req*/2 (39)
such that
ζ=½(R2/2+Req/2)*sqrt((K0IpC)/(2πNvNf))=½ R sqrt((K0IpC)/(2πNvNf)) (40)
which is similar to equations (RIO) and (20b).
Thus, the illustrative embodiments provide a hybrid PLL circuit for obtaining stabilized dynamic response and independent adjustment of damping factor and loop bandwidth. The hybrid PLL circuit of the illustrative embodiments includes the RC filter elements of a conventional RC PLL and the feed-forward path from the output of the phase frequency detector to the VCO, as in a conventional feed-forward PLL. The hybrid PLL essentially enhances the performance of the conventional feed-forward PLL by providing the RC filter whose components can be weighted to provide a dynamic response that is significantly less sensitive to parameter variation and which allows loop bandwidth optimization without sacrificing damping.
The hybrid PLL takes advantage of the fact that the natural frequency relationships for the RC PLL and the feed-forward PLL are identical, but the damping factor for the RC PLL is directly proportional to the square root of the charge pump current while the damping factor for the feed-forward PLL is inversely proportional to the square root of the charge pump current. Thus, by creating a hybrid PLL which has both RC filtering and feed-forward operations, the mechanisms of the illustrative embodiments create a circuit with a damping factor in which components of the damping factor offset each other as the charge pump current is varied. As a result, the damping factor of the hybrid PLL may be made insensitive to charge pump current. Therefore, the damping factor and natural frequency/bandwidth can be set independently of each other.
As shown in
After receiving the reference clock signal, the reference clock signal is compared with a feedback signal (step 715) that is indicative of the frequency of the clock signal output by the PLL circuit. If the feedback signal has a higher frequency than the reference signal (step 720) then a decrease signal is transmitted to a charge pump to decrease the voltage output of the charge pump (step 740). As a result, the charge pump reduces the voltage at the input of a VCO (step 745). The process then proceeds to step 760 as described below.
On the other hand, if the feedback signal is not a higher frequency than the reference clock signal (step 720), but is a lower frequency than the reference clock signal (step 725), then an increase signal is transmitted to the charge pump to increase the output voltage of the charge pump (step 750). The charge pump may then respond to the increase signal by increasing the voltage at the input of the VCO (step 755). The process then proceeds to step 760 as described below.
Otherwise, when the feedback signal matches the reference clock signal fairly closely, no increase or decrease signal may be transmitted to the charge pump (step 730). In some illustrative embodiments, a signal may be transmitted to the charge pump indicating that no change may be made to the output voltage of the charge pump.
The charge pump, based on the signal indicating to increase, decrease, or maintain the voltage at the input to the VCO, generates an output signal that is filtered by an RC filter and provided to the VCO control input (step 760). In addition to sending a signal to increase, decrease, or maintain the voltage at the input of the VCO to the charge pump, this signal is also provided as a feed-forward input to the VCO via a feed-forward line (step 765). Based on the feed-forward input and the filtered output of the charge pump, the VCO generates a clock output signal having a frequency that, preferably, more closely approximates the frequency of the reference clock signal (step 770). The clock output signal may be divided by a frequency divider to generate a feedback signal as well as a clock output signal of the hybrid PLL (step 775). Thereafter, the operation ends.
It should be noted that the above operation may be repeated in a periodic or continuous manner until a desired relationship between the reference clock signal and the clock output signal of the hybrid PLL is achieved. By virtue of the feed-forwarding of the input signal to the charge pump, to the VCO, as well as utilizing an RC filter, the characteristics of the hybrid PLL circuit, such as a weighting of the resistance/capacitance of the RC filter components, may be selected so as to provide a dynamic response that is significantly less sensitive to parameter variation and which allows loop bandwidth optimization without sacrificing damping. In other words, the circuitry arrangement of the hybrid PLL allows the characteristics of the PLL to be selected such that changes to damping factor of the PLL may be made independently of changes to the loop bandwidth.
The hybrid PLL of the illustrative embodiments maybe implemented in a number of different types of circuit devices. One particular implementation of the hybrid PLL of the illustrative embodiments to note is in the generation of internal clock signals for processors of data processing devices.
In one illustrated embodiment, CPU 800 includes internal instruction cache (1-cache) 840 and data cache (D-cache) 842 which are accessible to memory (not shown in
An instruction queue 860 may interface fetcher 856 and dispatch unit 848. In response to dispatched instructions, data retrieved from D-cache 842 by load/store unit 846 can be operated upon by one of fixed point unit (FXU) 861, FXU 862 or floating point execution unit (FPU) 864. Additionally, CPU 800 provides for parallel processing of multiple data items via vector execution unit (VXU) 866. VXU 866 may include a vector permute unit 868 that performs permutation operations on vector operands, and a vector arithmetic logic unit (VALU) 870 that performs vector arithmetic operations such as fixed-point and floating-point operations on vector operands.
Each unit, such as instruction unit 854, VXU 866, FXUs 861 and 862, LSU 846, and FPU 864, along the instruction pipelines, are enabled and synchronized by an internal clock signal 895. Such an internal clock signal 895 may be generated using an output of the hybrid PLL 890 of the illustrative embodiments and may be distributed to the various units via clock distribution circuitry 899. While the hybrid PLL 890 of the illustrative embodiments may be used to provide a clock signal for enabling and synchronizing the units of the processor 800, the hybrid PLL of the illustrative embodiments may be used to provide other types of signals as well depending upon the particular use to which the hybrid PLL is put.
The hybrid PLL circuit as described above may be part of the design for an integrated circuit chip, such as a chip in which the processor 800 of
The resulting integrated circuit chips can be distributed by the fabricator in raw wafer form (that is, as a single wafer that has multiple unpackaged chips), as a bare die, or in a packaged form. In the latter case the chip is mounted in a single chip package (such as a plastic carrier, with leads that are affixed to a motherboard or other higher level carrier) or in a multichip package (such as a ceramic carrier that has either or both surface interconnections or buried interconnections). In any case the chip is then integrated with other chips, discrete circuit elements, and/or other signal processing devices as part of either (a) an intermediate product, such as a motherboard, or (b) an end product. The end product can be any product that includes integrated circuit chips, ranging from toys and other low-end applications to advanced computer products having a display, a keyboard or other input device, and a central processor. Moreover, the end products in which the integrated circuit chips may be provided may include game machines, game consoles, hand-held computing devices, personal digital assistants, communication devices, such as wireless telephones and the like, laptop computing devices, desktop computing devices, server computing devices, or any other computing device.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.