The invention relates to a method and to a device for stabilizing a transfer function of a digital phase locked loop.
The binary phase detector (BPD) determines a digital binary phase difference signal ε between a feedback clock signal fc and a reference clock signal rc. The binary phase detector provides the digital phase difference signal ε at the input of the loop filter LF. The loop filter LF generates in dependence on the digital phase difference signal ε provided an oscillator control signal ω by means of which the digitally controlled oscillator device (DCO) can be controlled. To generate the oscillator control signal Ω, the loop filter LF has a first loop filter path LFP1 and a second loop filter path LFP2. The first loop filter path LFP1 is constructed as a proportional path for amplifying the digital phase difference signal ε provided. To provide higher gains, the second loop filter path LFP2 is constructed as an integral path. The first loop filter path LFP1 has a first amplifying unit VE1 and a first timing element ZG1. The first amplifying unit VE1 receives at its input the digital phase difference signal ε and amplifies it by the gain factor β. The phase difference signal ε amplified by the gain factor β is supplied to the first timing element ZG1 which models latency times based on the hardware and delays the amplified phase difference signal ε.
The second loop filter path LFP2 has an integrator unit IE, a second amplifying unit VE2 and a second timing element ZG2. The integrator unit IE has a first addition device AV1 which adds the digital phase difference signal ε and an integrated phase difference signal ψ fed back via a third timing element ZG3. The integrated phase difference signal ψ is amplified by a gain factor α of the second loop filter path LFP2 by means of the second amplifying unit VE2. The second timing element ZG2, like the first timing element ZG1, models latency times based on the hardware and delays the integrated phase difference signal ψ.
In addition, the digital phase locked loop PLL has a second addition device AV2 which adds the output signals of the first loop filter path LFP1 and of the second loop filter path LFP2 for forming the oscillator control signal ω.
The oscillator device DCO can be controlled by means of the oscillator control signal ω and outputs a digital output clock signal dco in dependence on the oscillator control signal ω received.
The digital phase locked loop PLL also has a feedback branch between the oscillator device DCO and the phase detector BPD. In the feedback branch, a divider device TV is provided which divides the output clock signal dco of the oscillator device DCO by means of a divider factor N and provides the feedback clock signal fc at the output end. The feedback clock signal fc has an N-fold frequency of the output clock signal dco, where N is the divider factor of the divider device TV. The feedback clock signal fc is also used for clocking the loop filter LF.
Kbpd=2/(√{square root over (2πσtr)}) (1)
Due to the dependence of the transfer function of the phase locked loop PLL according to
Since the statistical characteristics of the reference clock signal rc are unknown a priori, the disturbances caused by the jitter σtr can also not be eliminated a priori.
Some methods and circuits have hitherto become known which attempt to solve the problem of the jitter of the reference clock signal. For example, in “Jitter Transfer Analysis of Tracked Oversampling Techniques for Multigigabit Clock and Data Recovery,” IEEE Trans. on Circ. Syst. Part II, vol. 50, November 2003, Y. Choi, D. K. Jeong and W. Kim, a circuit is described in which the number of quantization stages in the phase detector BPD is increased. This method can be used when the jitter is sufficiently large. However, if the jitter values are small, this method is reduced to a conventional one-bit phase detector so that the problem as such can no longer be solved at all. However, the setting-up of a number of quantization stages also means a much higher and thus more expensive hardware complexity. In addition, more energy and more chip area is needed by using the multiplicity of quantization stages.
From “A2.5-10 Gb/s CMOS transceiver with alternating edge sampling phase detector for loop characteristic stabilization,” in ISSCC Dig. Tech. Papers, 2003, B. J. Lee, M. S. Hwang, S. Lee and D. K. Jeong, and “A 5 Gb/s/s 0.25 μm CMOS jitter tolerant variable interval oversampling clock/data recovery circuits,” in ISSCC Dig. Tech. Papers 2002, S. Lee, M. S. Hwang, Y. Choi, S. Kim, Y. Moon, B. J. Lee, D. K. Jeong, K. Kim, Y. J. Park and G. Ahn, analogous methods or circuits have been known which adjust the gain Kbpd of the phase detector BPD for meeting bandwidth and signal/noise ratio requirements of the phase locked loop.
A disadvantage of these methods or circuits which have become known is generally that they require an increased outlay of analog circuits. An increased outlay of analog circuits means a higher consumption of chip area and energy and is thus cost-intensive. In addition, these known methods and circuits only have the aim of adjusting the gain Kbpd of the phase detector. This leaves out of consideration an adaptation of gain KT of the oscillator device which can change over time due to disturbances.
A method for stabilizing a transfer function of a digital phase locked loop, wherein the transfer function is dependent on a phase locked loop gain of the phase locked loop which changes with time due to disturbances, comprises the following steps:
A device for stabilizing a transfer function of a digital phase locked loop, wherein the transfer function is dependent on a phase locked loop gain of the phase locked loop which changes with time due to disturbances, comprises a stabilizing device which comprises:
Advantageously, the transfer function of the digital phase locked loop may now be adjustable in dependence on the estimated impulse response according to the invention. This means that, by estimating the impulse response, a possibility is provided for adapting the transfer function in such a manner that the operating point of the phase locked loop remains within a permissible operating point range. The adapted and thus stabilized transfer function of the phase locked loop ensures that the digital phase locked loop can adhere to all predeterminable criteria such as bandwidth or signal/noise ratio over the entire operation. In particular, changes in the gain of the phase detector and the gain of the oscillator device are taken into consideration in the adjustment of the transfer function of the phase locked loop according to the invention.
According to one embodiment of the inventive method, the method further comprises the steps of:
The setting of the transfer function of the phase locked loop in dependence on the estimated impulse response may comprise the following method substeps:
The inventive device may further comprise:
A damping unit may be provided which damps the random digital signal by means of an adjustable damping factor before it is fed into the phase locked loop.
A digital filter device may be provided which calculates the estimated impulse response by means of a quotient from the cross correlation function provided and the predetermined variance of the random signal fed in.
The digital filter device may calculate an estimated phase locked loop gain from the estimated impulse response, the damping factor and the variance of the random signal fed in.
A lookup table device may be provided which provides a first gain factor of a first loop filter path of a loop filter of the phase locked loop and a second gain factor of a second loop filter path of the loop filter in dependence on the calculated estimated phase locked loop gain. The lookup table device preferably has a RAM memory.
A first amplifying unit may be provided in the first loop filter path which is adjustable by means of the first gain factor provided, and a second amplifying unit may be provided in the second loop filter path which is adjustable by means of the second gain factor provided.
An addition device may be provided which adds the output signals of the loop filter paths of the loop filter to the random signal and feeds these to an oscillator circuit.
In all figures, identical or functionally identical elements and signals have been provided with the same reference symbols unless otherwise specified.
The device according to the invention contains a phase locked loop 1 which has a phase detector 2, a loop filter 3, a digitally controlled oscillator device 4 and a divider device 5.
The binary phase detector 2 determines a digital binary phase difference signal ε between a feedback clock signal fc and a reference clock signal rc. The binary phase detector 2 provides the digital phase difference signal ε at the input of the loop filter 3. The loop filter 3 generates in dependence on the digital phase difference signal ε provided, an oscillator control signal ω by means of which the digitally controlled oscillator device 4 can be controlled. To generate the oscillator control signal ω, the loop filters 3 has a first loop filter path 6 and a second loop filter path 7. The first loop filter path 6 is constructed as a proportional path for the amplification of the digital phase difference signal ε provided. To provide higher gains, the second loop filter path 7 is constructed as an integral path.
The first loop filter path 6 has a first amplifying unit 8 and a first timing element 11. The first amplifying unit 8 receives at its input the digital phase difference signal ε and amplifies it by the gain factor β. The phase difference signal ε amplified by the gain factor β is supplied to the first time element 11 which models latency time based on hardware and delays the amplified phase difference signal ε.
The second loop filter path 7 has an integrator unit 10, a second amplifying unit 9 and a second timing element 12. The integrator unit 10 contains a first addition device 15 which adds the digital phase difference signal ε and an integrator phase difference signal ψ fed back via a third timing element 13. The integrated phase difference signal ψ is amplified by a gain factor α of the second loop filter path 7 by means of the second amplifying unit 9. The second timing element 12, like the first timing element 11, models latency times based on hardware and delays the integrated phase difference signal ψ.
In addition, the digital phase locked loop 1 has a second addition device 14 which adds the output signals of the first loop filter path 6 and of the second loop filter path 7 for forming the oscillator control signal ω.
The oscillator device 4 can be controlled by means of the oscillator control signal ω and outputs a digital output clock signal dco in dependence on the received oscillator control signal ω.
The digital phase locked loop 1 also has a feedback branch between the oscillator device 4 and the phase detector 2. In the feedback branch, a divider device 5 is provided which divides the output clock signal dco of the oscillator device 4 by means of a divider factor N and provides the feedback clock signal fc at its output. The feedback clock signal fc has an N-fold frequency of the output clock signal dco. The feedback clock signal fc can also be used for clocking the loop filter 3.
The phase locked loop 1 according to
With respect to
K=KbpdNKT (2)
To illustrate the invention, the following consideration of system theory is useful.
The above figure shows a system which has a discrete time signal r as input and the signal ε as output, the impulse response h of the system being unknown. Furthermore, a disturbance variable designated by w is assumed to exist. The signal ε can thus be expressed by the following equation:
where v is the distribution of the disturbance variable w at the output and ĥ is an estimate of the impulse response h. Following this, the correlation function Rεr between ε and r is calculated:
Assuming, that the signal r is white Gaussian noise and v is orthogonal to r, the correlation function Rr(m−n) is obtained as:
Rr(m−n)=σm−n*σr2 (5)
and thus the estimated impulse response ĥm as:
Equation (6) thus produces a formula for estimating the impulse response ĥm from the correlation between the input and output signals of the system. It will be shown below that equation (6) is an estimator of the least error squares. In fact, the least error square Q is defined as (E[ ] is the expected-value operator):
after algebraic transformations, the following is obtained:
where the last term can be set to zero with the assumption that v is orthogonal to r. The condition for minimizing the error Q can be written as:
differentiation resulting in the equation (10) below:
equation (10) satisfies equation (6) and it is thus shown that the estimated impulse response ĥm according to (6) is a least error squares estimator. The correlation function Rεr and the variance σr2 can be estimated from a finite sequence of N samples, using the following equations:
The device according to the invention according to
The random digital signal r damped by the damping unit 16 is supplied to a fourth timing element 17 which models latency times of the chip and delays the damped random digital signal r. In the frequency domain, this latency time can be represented by z=Dγ. The damped and time-delayed random signal r is then supplied to a first addition device 14 which adds the output signals of the loop filter paths 6, 7 of the loop filter 3 to the random signal r and thus provides an oscillator control signal ω for the oscillator device 4.
Furthermore, the stabilizing device 23 has a correlation device 19 which cross correlates the phase difference signal ε determined by the phase detector 2 with the random signal r generated for providing the cross correlation function Rεr. The generated random digital signal r is preferably delayed by means of a fifth timing element 20 which models the latency times on the chip.
In addition, a digital filter device 2 is provided which estimates the impulse response ĥm between the random signal r fed in and the phase difference signal ε by means of the cross correlation function Rεr provided and the predetermined variance σr2 of the random signal r fed in (compare equation 6). The digital filter device 21 preferably calculates the estimated impulse response ĥm by means of a quotient from the cross correlation function Rεr provided and the predetermined variance σr2 of the random signal r fed in. From the estimated impulse response ĥm, the damping factor γ and the variance σr2 of the random signal r fed in, the digital filter device 21 preferably calculates an estimated phase locked loop gain {circumflex over (K)} for the phase locked loop gain K of the phase locked loop 1.
The stabilizing device 23 also preferably contains a lookup table device 22 which provides the first gain factor β of the first loop filter path 6 of the loop filter 3 of the phase locked loop 1 and the second gain factor α of the second loop filter path 7 of the loop filter 3 in dependence on the calculated estimated phase locked loop gain {circumflex over (K)}. The first gain factor β provided and the second gain factor α are used for adjusting the first amplifying unit 8 and the second amplifying unit 9, respectively, in such a manner that the change with time of the phase locked loop gain K is compensated for and thus the total transfer function of the phase locked loop 1 remains stable.
According to
Assuming that the phase locked loop 1 is a causal system, the impulse response hr,ε(m) is zero for all points in time m<Dγ and the first possible value not equal to zero obtained is:
so that the phase locked loop gain K can be estimated by:
where the following is obtained, using equation (6) for the estimated phase locked loop gain {circumflex over (K)}:
the first gain factor β and the second gain factor α can then be provided preferably by means of the calculated estimated phase locked loop gain {circumflex over (K)}.
Method Step a:
A random digital signal r which is characterized by a predetermined variance σr2 is fed into the phase locked loop 1. Before being fed into the phase locked loop 1, the random digital signal r is preferably damped by means of an adjustable damping factor γ.
Method Step b:
A digital phase difference signal ε is determined between a feedback clock signal fc of the phase locked loop 1 and a reference clock signal rc.
Method Step c:
The phase difference signal ε determined is cross correlated with the random signal r fed in for providing a cross correlation function Rεr.
Method Step d:
An impulse response m between the random signal r fed in and the phase difference signal ε is estimated by means of the cross correlation function Rεr provided and the predetermined variance σr2 of the random signal fed in. The estimated impulse response is preferably calculated by means of a quotient from the cross correlation function Rεr provided and the predetermined variance σr2 of the random signal r fed in.
Method Step e:
The transfer function of the phase locked loop 1 is set in dependence on the estimated impulse response ĥm for stabilization.
Method Step e1:
An estimated phase locked loop gain {circumflex over (K)} is calculated from the estimated impulse response ĥm of the damping factor γ and the variance σr2 of the random signal r fed in.
Method Step e2:
A first gain factor β of a first loop filter path 6 of a loop filter 3 of the phase locked loop 1 and a second gain factor α of a second loop filter path 7 of the loop filter 3 are provided in dependence on the calculated estimated phase locked loop gain {circumflex over (K)}.
Method Step e3:
The first amplifying unit 8 of the first loop filter path 6 is set by means of the first gain factor β provided. The second amplifying unit 9 of the second loop filter path 7 is set by means of the second gain factor α provided. Setting the gain factors α and β is used for stabilizing the transfer function so that the operating point of the phase locked loop 1 remains within permissible operating point range.
Method Step S1:
Feeding a random digital signal r with a predetermined variance σr2 into the phase locked loop 1.
Method Step S2:
Cross correlating a signal ω,dco,fc,ε of the phase locked loop 1 with the random signal r fed in for providing a cross correlation function Rεr.
Method Step S3:
Estimating an impulse response ĥm between the random signal r fed in and the signal ω,dco,fc,ε of the phase locked loop 1 by means of the cross correlation function Rεr provided and the predetermined variance σr2 of the random signal r fed in.
Method Step S4:
Setting the transfer function of the phase locked loop 1 in dependence on the estimated impulse response ĥm.
Although the present invention has been described above by means of the preferred exemplary embodiments, it is not restricted to these but can be modified in many ways. For example, the present invention can be applied not only for the phase locked loop described in the figure but to any phase locked loop.
Number | Date | Country | Kind |
---|---|---|---|
102005030949.6 | Jun 2005 | DE | national |