Digital receive phase lock loop with cumulative phase error correction
Assignee3Com Corporation
InventorEric Stine
Life of this patent
Estimating the term…
Abstract
A digital PLL's stability and immunity to jitter are improved by deriving the correction to the state machine count from an average over several computations of the phase error. The PLL stability is improved by retaining all of the phase errors measured during a succession of plural phase measurement intervals. The plurality of phase errors thus obtained are averaged together, and the state machine internal count is corrected (updated) in accordance with this average, rather than according to an instantaneous phase error. As a result, the performance of the PLL is less susceptible to jitter-induced temporary excursions in the phase error, a significant advantage.
Claims27
A digital phase lock loop (PLL) employing cumulative phase error correction, said PLL having an internal PLL clock and comprising:
- a data signal input at which an incoming data signal is received, said data signal comprising successive pulses having a characteristic pulse edge rate, said internal PLL clock having a clock rate about M times said pulse edge rate to define M successive samples of each one of said successive pulses;
- a state machine having an internal cyclic count of modulus M incremented in synchronism with said internal PLt clock, corresponding to M successive samples of each one of said successive pulses, said state machine having a control input for advancing or retarding said internal cyclic count, said internal cyclic count including:
- (a) a predetermined center count value tending to coincide with center regions of said successive pulses, and
- (b) a predetermined edge count value offset from said center count value by approximately one half of one pulse width of said successive pulses and tending to coincide with edges of the successive pulses;
- sampling logic connected to receive said data signal and having a sampling control input connected to an output of said state machine, said sampling logic being capable of selecting a current one of said M successive samples whenever said internal count reaches the predetermined center count value;
- an edge detector;
- an error detector for sampling said internal count from said state machine in synchronism with said edge detector whereby to sense a phase error between the time of occurrence of a current one of said successive edges and the time of occurrence of said edge count value of said internal count;
- a cumulative phase error register;
- and
- an adder having a first input connected to receive said phase error from said error detector, a second input connected to an output of said cumulative phase error register, and an adder output connected to an input of said cumulative phase error register, whereby to store in said cumulative phase error register a cumulative phase error of phase errors summed over successive edges of said data signal;
- and
- a correction circuit responsive upon accumulation of a predetermined number N of phase errors for applying a correction signal corresponding to said cumulative phase error to said control input of said state machine.
A method of synchronizing a digital circuit with the phase of an incoming data signal, said data signal comprising successive pulses having a characteristic pulse edge rate, said digital circuit having an internal PLL clock with a clock rate about M times said pulse edge rate to define M successive samples of each one of said successive pulses, said method comprising:
- incrementing a state machine through an internal cyclic count of modulus M in synchronism with said internal PLL clock, corresponding to M successive samples of each one of said successive pulses, said internal cyclic count including:
- (a) a predetermined center count value tending to coincide with center regions of said successive pulses, and
- (b) a predetermined edge count value offset from said center count value by approximately one half of one pulse width of said successive pulses and tending to coincide with edges of the successive pulses;
- selecting a current one of said M successive samples whenever said internal count reaches the predetermined center count value;
- sensing receipt of said edges of said successive pulses, and producing for each edge a phase error between the time of occurrence of the edge and the time of occurrence of said edge count value of said internal count;
- summing the phase errors of a predetermined number N of successive edges to compute a cumulative phase error in N edges of said data signal, and resetting said cumulative phase error in preparation for summing the phase errors of the next N successive edges, whereby to compute successive cumulative phase errors;
- with each computation of a successive cumulative phase error, advancing or retarding said internal count by a correction value corresponding to the latest cumulative phase error.
A digital phase lock loop (PLL) having cumulative phase error correction, said PLL having an internal PLL clock and comprising:
- a state machine having an internal count cycle of modulus M incremented in synchronism with said internal PLL clock, corresponding to M successive samples of each one of said successive pulses;
- sampling logic responsive to said state machine for sampling a current one of said pulses during one predetermined count of said internal count cycle;
- a phase error detector detecting a phase difference between the time of occurrence of at least one of said successive edges and the time of occurrence of said one predetermined count;
- a cumulative phase error register which receives said phase difference;
- an adder having a first input connected to receive said instantaneous phase error from said subtractor and a second input connected to an output of said cumulative phase error register and an adder output connected to an input of said cumulative phase error register, whereby to produce a cumulative phase error of phase differences summed over a predetermined number of edges, said cumulative phase error providing a correction output signal;
- and
- said state machine further comprising a control input for advancing or retarding said internal count, said control input receiving at least a portion of said correction output signal.
Dependencies are inferred from the claim text.