Information
-
Patent Grant
-
5056054
-
Patent Number
5,056,054
-
Date Filed
Wednesday, May 2, 199034 years ago
-
Date Issued
Tuesday, October 8, 199133 years ago
-
Inventors
-
Original Assignees
-
Examiners
- Harkcom; Gary V.
- Nguyen; Long T.
Agents
- Limbach, Limbach & Sutton
-
CPC
-
US Classifications
Field of Search
US
- 364 72401
- 364 825
- 364 829
- 375 22
- 375 118
- 375 119
- 375 120
- 375 21
-
International Classifications
-
Abstract
A digital loop filter translates a multi-bit phase error input into a high resolution control signal utilizable as an advance-retard control for a multi-phase clock generator. The digital filter couples the multi-bit phase error input to the clock generator via a pulse density modulation (PDM) accumulator, providing multi-phase adjustment in a single sample clock cycle based on the overflow or underflow of the PDM accumulator. Variable PDM cycles are used to control loop filter bandwidth, permitting adjustable capture sequences. Thus, real proportional control of the multi-phase clock generator is limited only by the word size of the phase error input.
Description
COPYRIGHT NOTICE
Portions of the disclosure of this patent document, in particular Appendices A-F, contain unpublished material which is subject to copyright protection. The copyright owner, National Semiconductor Corporation, has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the U.S. Patent and Trademark Office patent files or records, but otherwise reserves all rights whatsoever.
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to phase locked loop systems and, in particular, to a pulse density modulation technique for translating a multi-bit phase error input into a high resolution control signal for a stepped multi-phase clock generator.
2. Discussion of the Prior Art
A phase locked loop (PLL) is a frequency-selective feedback system which synchronizes with an input signal and then tracks changes in input signal frequency.
As shown in the FIG. 1, a basic analog PLL 10 includes three primary elements: a phase detector, a loop filter with some gain, and a voltage controlled oscillator (VCO).
The frequency of the input signal to the PLL 10 has an instantaneous phase .phi..sub.i (s). The instantaneous phase of the VCO output frequency is .phi..sub.o (s). The input and output phases are compared by the phase detector to provide a phase error .phi..sub.e (s).
The phase error .phi..sub.e (s) can be expressed in Laplace notation as ##EQU1## where K.sub.d (volts per radian) is the gain constant of the phase detector.
The output voltage of the phase detector is filtered by the loop filter utilizing a loop transfer function F(s) which rejects out-of-band noise and high-frequency signal components. The output voltage of the loop filter is given by ##EQU2##
The corresponding change in the output frequency of the VCO is
.DELTA.W=K.sub.2 V.sub.2 (s)
where K.sub.2 (radians per second per volt) is the gain constant of the VCO.
Since ##EQU3##
Combining the above equations provides the basic loop transfer function ##EQU4## where K=K.sub.2 K.sub.d. Also, as stated above
.phi..sub.e (s)=.phi..sub.i (s)-.phi..sub.o (s)
Therefore, ##EQU5##
The PLL 10 behaves like any feedback system. For proper operation of the loop 10, three parameters must be chosen independently, depending upon the application: (1) the natural frequency W.sub.n of the loop, (2) a damping factor .zeta., and (3) the DC loop gain K.sub.v =KF(o), where F(o) is the DC gain of the loop filter 14.
For a basic first-order PLL, the loop filter is omitted. Thus, F(S)=1 and the basic loop transfer function becomes ##EQU6##
Since the only variable in a first-order loop is K.sub.v =K, the usefulness of a first-order loop is very limited.
In many applications, it is desirable to utilize a second-order loop filter configured as shown in FIG. 2, which illustrates an active filter using an operational amplifier. For this configuration, the loop transfer function becomes ##EQU7##
The active filter transfer function is given by ##EQU8##
This is referred to as a proportional-plus-integral control, since the transfer function F(s) comprises the sum of a term which is proportional to the phase error and a term which represents the integration or accumulation of the phase error over time.
As shown in FIG. 3, the transfer function F(s) may be realized by two active filters operating in parallel, one for the proportional term R.sub.2 /R.sub.1 and one for the integral term 1/SCR.sub.1. The proportional and integral terms are then added to provide the control signal for the VCO 16.
Both of these latter configurations permit independent choice of W.sub.n, .zeta., and K.sub.v, and are widely used in practical PLL designs. The active filter has the added advantage that the presence of the amplifier makes the DC loop gain K.sub.v very high compared to that obtainable with the passive configuration. The active second-order loop filter is, therefore, the most attractive choice for most applications.
A digital PLL (DPLL) is a discrete time version of the above-described analog PLL. In a DPLL, the phase error is sampled and quantized in an analog-to-digital (A/D) converter and then processed in a digital discrete time filter. The discrete output of the filter is converted into analog samples by a digital/analog converter and then held in a zero-order hold circuit the output of which controls the VCO.
A simpler type of digital PLL, sometimes referred to as a digital phase synchronizer, can be used to provide a stepping signal for advancing or retarding a multi-phase clock generator or digitally controlled clock. In this type of PLL, the sign of the discrete phase error value generated by the A/D converter determines whether the control output of the PLL will advance or retard the stepped clock generator. That is, if during a cycle of the sample clock generated by the clock generator, the input phase advances relative to the phase of the sample clock, then an advance signal is provided to the clock generator to cause a forward phase jump. Conversely, if the input phase lags relative to the phase of the sample clock output of the clock generator, then a retard signal is provided to cause a backward phase jump.
A major problem associated with this so-called "bang-bang" approach to phase clock control is that the single-bit sign value utilized to drive the advance/retard signal can only implement single-phase movement of the clock generator in a given cycle of the sample clock and, therefore, does not provide the fine resolution required in high speed data recovery applications.
SUMMARY OF THE INVENTION
The present invention provides a pulse density modulation (PDM) accumulator, second-order loop filter system that translates a multi-bit phase error input to a high resolution control signal utilizable as an advance/retard control for a multi-phase clock generator (or stepped digitally controlled clock). That is, a digital loop filter couples the multi-bit phase error input to the stepped clock generator via a PDM accumulator, thus providing for multi-phase adjustment of the clock generator within a single cycle of the sample clock output. Variable PDM cycles are used to control loop bandwidth, permitting a high speed initial capture sequence which then can be slowed down as the loop locks on the incoming signal. Use of a digital integrator allows the selection of a large number of discrete values of frequency that will not change, as in conventional RC integrators, due to charge leakage. This allows tracking and retransmission of incoming data using a low cost reference crystal. Real proportional control of the clock generator is limited only by the word size of the phase error input.
A PDM accumulator second-order loop filter system in accordance with the present invention comprises a proportional accumulator responsive to the multi-bit phase error input signal for generating a multi-bit proportional term, an integrator accumulator responsive to the proportional term for iteratively accumulating the proportional term to provide an integral term, integrator-plus-proportional means for summing the proportional term and the integral term to provide a multi-bit integrator-plus-proportional term, and a PDM accumulator for accumulating the multi-bit integrator-plus-proportional term to provide a PDM accumulator control signal indicative of both the number of phase jumps to be taken by a stepped clock generator responsive to the PDM control signal and the direction of the phase jumps.
A better understanding of the features and advantages of the present invention will be obtained by reference to the following detailed description and accompanying drawings which set forth an illustrative embodiment in which the principles of the invention are utilized.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram illustrating a basic analog phase locked loop.
FIG. 2 is a schematic diagram illustrating an active filter of the type utilizable in a conventional analog phase locked loop.
FIG. 3 is a schematic diagram illustrating the realization of the active filter shown in FIG. 2 utilizing two active filters in parallel to generate proportional and integral terms.
FIG. 4 is a block diagram illustrating a receiver system that utilizes a PDM accumulator, second-order loop filter system in accordance with the present invention to recover digital data from an analog input signal.
FIG. 5 is a block diagram illustrating an embodiment of a PDM accumulator, second-order loop filter system in accordance with the present invention.
FIG. 6 is a map for FIGS. 6A-6I.
FIGS. 6A-6I combine to provide a schematic diagram illustrating a circuit embodiment of a PDM accumulator, second-order loop filter system in accordance with the present invention.
FIG. 7 is a diagram illustrating time slot allocation for the PDM accumulator of the system shown in FIGS. 6A-6I for different bandwidth settings.
DETAILED DESCRIPTION OF THE INVENTION
FIG. 4 shows a simple block diagram of a receiver system for recovering digital data from an analog input signal.
As shown in FIG. 4, an incoming analog modulated carrier waveform received from a communications channel is first processed by a analog front end 10 in the conventional manner; this initial processing typically includes prefiltering of the received signal and automatic gain control. The output signal 12 of the analog front end -0 is then provided to an analog-to-digital (A10) converter 14. The A/D converter 14 relies on a sample clock signal 16 to recover a digitized replica 18 of the analog input signal from the output of the analog front end 10. This digitized replica 18 is then processed by a digital signal processor (DSP) 20 in accordance with a dedicated DSP algorithm to recover the incoming digital data. The DSP 20 also generates a multi-bit phase error signal 22 which is representative of the phase difference between the incoming signal and the current sample clock output 16 of a multi-phase clock generator or digitally controlled clock 24.
As stated above in the Background of the Invention section of this patent document, in a conventional digital phase locked loop, the sign of the digital phase error signal 22, i.e. a single bit signal, is utilized to either advance or retard the phase of the sample clock 16 provided by the multi-phase clock generator 24. Adjustment of the multi-phase clock generator 24 in this manner is limited to a single phase jump per cycle of the sample clock 16.
However, in accordance with the present invention, the multi-bit phase error signal 22 is provided to a pulse density modulation (PDM) accumulator, second-order digital loop filter system 100 that, as described in greater detail below, translates the multi-bit phase error signal 22 into a high resolution, control signal utilizable by the multi-phase stepped clock generator 24. The control signal provided by the PDM accumulator system 100 includes components indicative of both the number of phase jumps to be taken by the stepped clock generator 24 in a single cycle of the sample clock 16 and the direction of the phase jumps. Thus, real proportional control of the multi-phase clock generator 24 is limited only by the word size of the phase error input signal 22 to the loop filter 100.
An example of a stepped clock generator 24 which may be utilized in practicing the present invention is disclosed in copending and commonly assigned U.S. patent application Ser. No. 369,474 filed by Hee Wong et al on June 21, 1989 for a High Resolution Sample Clock Generator with Deglitcher; the just-referenced Wong et al application is hereby incorporated by reference to provide additional background information regarding the subject invention.
FIG. 5 shows a block diagram of a PDM accumulator, second-order loop filter system 100 in accordance with the present invention.
The system 100 shown in FIG. 5 includes a proportional accumulator 102 which receives a 16-bit phase error input signal from the DSP 20 (FIG. 4). The 16-bit phase error input signal is stabilized in an input register 104 and then divided by divider 106 to provide a 16-bit phase error term proportional to the phase error input signal. The 16-bit proportional term is provided both to an integrator accumulator 108 as well as to integrator-plus-proportional summing circuitry 110.
The integrator accumulator 108, which includes a 32-bit adder 112 and a 32-bit register 114, continually accumulates the 16-bit proportional term in the conventional manner to provide an integral term to the summing circuitry 110.
The integral-plus-proportional summing circuitry 110, which includes a 16-bit adder 116 and 16-bit register 118, receives the proportional term from the proportional filter 102 and the integral term from the integrator accumulator 108 and sums them in the conventional manner to provide a corresponding 16-bit integrator-plus-proportional term. That is, the 16-bit phase error input signal from the proportional filter 102 is provided to the 16-bit adder 116. The 16-bit adder 116 also receives the 16 most significant bits (MSB) of 32-bit output of the integrator accumulator 108. The 16-bit output of the adder 116 is allowed to stabilize in the 16-bit register 118 which then provides the 16-bit integral-plus-proportional output term to a pulse density modulation (PDM) accumulator 120.
As described in greater detail below, the PDM accumulator 120 interfaces the 16-bit integral-plus-proportional term to the multi-phase clock generator 24 (FIG. 4). The PDM accumulator 120 accumulates the integral-plus-proportional term, using a 16-bit adder 122, either 3, 6, 12 or 24 times per period of the sample clock 16 (FIG. 4), depending on a bandwidth control setting. Each time an overflow or underflow of adder 122 occurs, the multi-phase clock generator 24 is enabled via the shift/idle signal PJEN to jump one phase period. The FSLOW signal component of the output of adder 16 provides the direction of the phase jump, which depends on whether an overflow or underflow condition occurred.
It should be noted that the adder 122 does not reset when an overflow or underflow condition occurs. This allows the residue of the previous cycle to be added to the present integral-plus-proportional terms via 16-bit register 124. This further reduces the overall jitter of the sample clock output 16 provided by the multi-phase clock generator 24 (FIG. 4) by eliminating truncation errors.
Those familiar with the art will understand that, in the interests of efficiency and conserving integrated circuit die area, the PDM accumulator, second-order loop filter system 100 may be implemented utilizing an 8-bit ALU as its core, the ALU being time-multiplexed to perform the various arithmetic functions of the system 100. The control and bandwidth selection functions of the filter 100 may then be implemented utilizing conventional circuitry.
FIGS. 6A-6I combine to provide a schematic diagram of an embodiment of a PDM accumulator, second-order loop filter circuit 100 that utilizes a time-multiplexed ALU in accordance with the present invention.
The core of the circuit 100 is provided by an 8-bit arithmetic logic unit (ALU) 200, shown in FIG. 6, which performs different arithmetic functions during different groups of its cycles.
Brief reference to the FIG. 7 time slot allocation diagram will be helpful in understanding the time-multiplexed operation of the ALU.
The upper waveform in FIG. 7 represents the 15.36 MHz system clock that drives the PDM accumulator, second-order loop filter circuit 100. The second waveform in FIG. 7 represents the 80 KHz sample clock output 16 of the stepped clock generator 24 (FIG. 4). The next four waveforms represent, in sequence, the time-multiplexed operation of the ALU 200 at four different bandwidth settings (1.times., 2.times., 4.times., 8.times.) of the PDM accumulator operation performed by the ALU 200. The 1.times., 2.times., 4.times. and 8.times. bandwidth settings correspond to 3, 6, 12 and 24 PDM cycles, respectively.
As shown in FIG. 7, during a one cycle group of the system clock, the ALU 200 performs the function of the integrator/accumulator 108 (FIG. 5), adding the current 16-bit phase error input signal, which is generated by ROMs 201a and 201b and then provided at the outputs of D flip-flops 202, 204, and the previously calculator integral term retrieved from four 8-bit integral term ledger registers 206, 208, 210, 212; the result of this integrator/accumulator operation is then stored to the four integral term ledger registers 206, 208, 210, 212, replacing the previous term. The ROMs 201a and 201b utilize a full word control code SGSEL1.SRC and SGSEL2.SRC, respectively, to generate the phase error input (the source listings for these two programs are provided as Appendix A at the end of the detailed description.
During a second cycle group, the ALU 200 performs the function of the integrator-plus-proportional accumulator 110 (FIG. 1), adding the current 16-bit phase error input signal and the previously-calculated integral-plus-proportional term retrieved from two 8-bit integrator-plus-proportional ledger registers 214, 216; the result of this integral-plus-proportional accumulator operation is then stored to the integral-plus-proportional ledger registers 214, 216; replacing the previous integral-plus-proportional term.
During a third cycle group, the ALU 200 performs the function of the PDM accumulator 120 (FIG. 1), adding the current integral-plus-proportional term retrieved from the integral-plus-proportional ledger registers 214, 216 and the previously-calculated PDM accumulator term stored in two 8-bit PDM accumulator ledger registers 218, 220; the result of this PDM accumulator operation is then stored to the PDM accumulator ledger registers 218, 220, replacing the previous PDM accumulator term.
During the PDM accumulator operation, the overflow/underflow of the ALU is monitored by a PDM controller that comprises a ROM 222 that stores an overflow/underflow and direction code PLLODD.SRC, the source listing for which is provided as Appendix B at the end of this detailed description. This code provides a 2-bit output PSLOW and PJEN via stabilizing latch 224. The PJEN bit indicates whether a phase jump is to be taken by the associated multi-phase clock generator 24; the PSLOW bit indicates the direction of the phase jump.
The ALU 200 is controlled by an ALU controller comprising a ROM 226 and associated D flip-flop 228. The ROM stores a control code PLLCTL.SRC, the source listing for which is provided as Appendix C at the end of this detailed description, and responds to a set of control setting inputs provided to ROM 226 via latch 230.
The clocking and output enable cycles that synchronize the retrieval of information from and storage of information to the various ledger registers for the corresponding operations of the ALU 200 is controlled by a ledger controller that includes ROMS 232 and 234 that stores code PLLCKC.SRC the source listing for which are provided as Appendix D at the end of this detailed description.
Both the ALU controller and the ledger controller are driven by a sequencer that performs time slot allocation for the various cycle groups that the ALU 200 is to perform. A sequencer ROM 236 stores a program code PLLTSA.SRC, the source listing for which is provided as Appendix E at the end of this detailed description, which is a time slot allocation program for the ALU.
As stated above, FIG. 7 provides a timing diagram illustrating time slot allocation for the PDM accumulator, second-order loop filter system 100 shown in FIGS. 6A-6I. Time slot allocation waveforms are shown for four bandwidth settings: 1.times., 2.times., 4.times. and will show that the 1.times., 2.times., 4.times. and 8.times. bandwidth settings provide 3, 6, 12 and 24 PDM cycles, respectively, per sample clock period. Each PDM cycle is illustrated as a positive step within the PDM cursor boundary.
The time slot allocation signals shown in FIG. 7 were obtained utilizing a digital-to-analog converter at the outputs of a 4-bit D flip-flop, which was used to stabilize the monitored signals. The inputs of the D flip-flop were connected to pins 1-4 of controller ROM 226. The clock of the D flip-flop was connected to CLK input of component 228.
As further shown in FIG. 7, there are 96 cycles of the system clock in one sample clock period (12.5 .mu.sec. The source program provided as Appendix F at the end of this detailed description provides the details of these cycles.
It should be understood that various alternatives to the embodiment of the invention described herein may be employed in practicing the invention. It is intended that the following claims define the scope of the invention and its structure and methods within the scope of these claims and their equivalents be covered thereby. ##SPC1##
Claims
- 1. A digital phase locked loop (DPLL) for tracking changes in the frequency of an incoming analog signal, the DPLL comprising:
- (a) a multi-phase clock generator responsive to a control signal for selecting one of a plurality of phase-separated clock signals generated by the multi-phase clock generator as a sample clock output signal;
- (b) phase comparator means for generating a multi-bit phase error signal corresponding to the phase difference between the incoming analog signal and the sample clock output signal;
- (c) proportional means responsible to the multi-bit phase error signal for generating a current multi-bit proportional term;
- (d) integrator accumulator means for accumulating the current proportional term to generate a current integral term;
- (e) summing means responsive to the current proportional term and the current integral term for generating a current multi-bit integral-plus-proportional term; and
- (f) pulse density modulation (PDM) accumulator means for accumulating the current multi-bit integral-plus-proportional term to generate the control signal, the control signal comprising components indicative of both the number of phase jumps to be taken by the multi-phase clock generator and the direction of the phase jumps.
- 2. A digital phase locked loop as in claim 1 wherein the proportional means comprises a proportional accumulator that includes an input register for stabilizing the multi-bit phase error signal and a divider responsive to the stabilized multi-bit phase error signal received from the input register for generating the current multi-bit proportional term.
- 3. A digital phase locked loop (DPLL) as in claim 1 wherein the integrator accumulator means comprises an integral term ledger storage means for storing a previously-calculated integral term and an adder for adding the current multi-bit proportional term and the previously-calculated integral term to generate the current integral term, the current integral term replacing the previously-calculated integral term stored in the integral term ledger storage means.
- 4. A digital phase locked loop (DPLL) as in claim 1 wherein the summing means comprises an integrator-plus-proportional ledger storage means for storing a previously-calculated integral-plus-proportional term and an adder for adding the current multi-bit proportional term and the current integral term to generate the current integral-plus-proportional term, the current integral-plus-proportional term replacing the previously-calculated integral-plus-proportional term in the integrator-plus-proportional ledger storage means.
- 5. A digital phase locked loop (DPLL) as in claim 1 wherein the pulse density modulation (PDM) accumulator means comprises a PDM accumulator ledger storage means for storing a previously-calculated PDM accumulator term and an adder for adding the current integral-plus-proportional term and the previously-calculated PDM accumulator term to generate the control signal and a current PDM accumulator term which replaces the previously-calculated PDM accumulator term in the PDM accumulator ledger storage means.
- 6. A digital phase locked loop (DPLL) for tracking changes in the frequency of an incoming analog signal, the DPLL comprising:
- (a) a multi-phase clock generator responsive to a control signal for selecting one of a plurality of phase-separated clock signals generated by the multi-phase clock generator as a sample clock output signal;
- (b) phase comparator means for generating a multi-bit phase error signal corresponding to the phase difference between the incoming analog signal and the sample clock output signal;
- (c) proportional means responsive to the multi-bit phase error signal for generating a current multi-bit proportional term; and
- (d) time-multiplexed arithmetic means responsive to an externally generated system clock for performing a plurality of arithmetic functions during a time period defined by a selected number of system clock cycles, the time period comprising a plurality of system clock cycle groups, the time-multiplexed arithmetic means including
- (i) integrator accumulator means for accumulating the current proportional term during a first system clock cycle group to generate a current integral term;
- (ii) summing means responsive to the current proportional term and the current integral term during a second system clock cycle group for generating a current multi-bit integral-plus-proportional term; and
- (iii) pulse density modulation (PDM) accumulator means for accumulating the current multi-bit integral-plus-proportional term during a third system clock cycle group to generate the control signal.
- 7. A digital phase locked loop (DPLL) as in claim 6 wherein the control signal comprises components indicative of both the number of phase jumps to be taken by the multi-phase clock generator and the direction of the phase jumps.
- 8. A digital phase locked loop (DPLL) as in claim 6 wherein the pule density modulation accumulator means includes bandwidth control means responsive to an externally generated bandwidth control signal for varying the number of system clock cycles included in the third system clock cycle group.
- 9. A digital phase locked loop (DPLL) as in claim 6 wherein the proportional means comprises a proportional accumulator that includes an input register for stabilizing the multi-bit phase error signal and a divider responsive to the stabilized multi-bit phase error signal received from the input register for generating the current multi-bit proportional term.
- 10. A digital phase locked loop (DPLL) as in claim 9 wherein the integrator accumulator means comprises an integral term ledger storage means for storing a previously-calculated integral term and an adder for adding the current multi-bit proportional term and the previously-calculated integral term to generate the current integral term, the current integral term replacing the previously-calculated integral term stored in the integral term ledger storage means.
- 11. A digital phase locked loop (DPLL) as in claim 10 wherein the summing means comprises an integrator-plus-proportional ledger storage means for storing a previously-calculated integral-plus-proportional term and an adder for adding the current multi-bit proportional term and the current integral term to generate the current integral-plus-proportional term, the current integral-plus-proportional term replacing the previously-calculated integral-plus-proportional term in the integrator-plus-proportional ledger storage means.
- 12. A digital phase locked loop (DPLL) as in claim 11 wherein the pulse density modulation (PDM) accumulator means comprises a PDM accumulator ledger storage means for storing a previously-calculated PDM accumulator term and an adder for adding the current integral-plus-proportional term and the previously-calculated PDM accumulator term to generate the control signal and a current PDM accumulator term which replaced the previously-calculated PDM accumulated term in the PDM accumulator ledger storage means.
- 13. A digital phase locked loop (DPLL) as in claim 12 wherein the control signal comprises components indicative of both the number of phase jumps to be taken by the multi-phase clock generator and the direction of the phase jumps.
US Referenced Citations (2)
Number |
Name |
Date |
Kind |
4689802 |
McCambridge |
Aug 1987 |
|
4700360 |
Visser |
Oct 1987 |
|