Multi-phase triangular wave synthesizer for phase-to-frequency converter

Information

  • Patent Grant
  • 5646967
  • Patent Number
    5,646,967
  • Date Filed
    Thursday, May 9, 1996
    28 years ago
  • Date Issued
    Tuesday, July 8, 1997
    27 years ago
Abstract
A triangular waveform synthesizer for a phase-to-frequency converter generates a saw tooth and triangular wave using both PDM and a DC modulation scheme. To minimize both delay and logic, while continuing to provide reasonable resolution, a 4-bit PDM and associated logic generates the PDM output waveform with polarity information and two switching waveforms that encode the DC level information to provide a resultant sum. The resulting waveform, after filtering, is the triangular waveform. Since the switching and adding of the DC levels occurs in real time, the actual delay for the resultant triangular wave is only that of the 4-bit PDM.
Description

RELATED APPLICATION
This application is related to commonly-assigned application Ser. No. 08/644,036, filed May 9, 1996, titled "A THIRD HARMONIC SUPPRESSION SCHEME FOR A WAVE USED IN A PHASE-TO-FREQUENCY CONVERTER", which application is hereby incorporated by reference in its entirety to provide additional background information regarding the present invention.
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to very high frequency phase locked loops (PLLs) and, in particular, to a triangular wave synthesizer that uses a single saw tooth counter to create multiple phase triangular waveforms at greater than original amplitude.
2. Discussion of the Related Art
Commonly-assigned U.S. Pat. No. 5,224,125, issued Jun. 29, 1993, to Hee Wong et al., discloses a signed phase-to-frequency (P-to-F) converter for use in a very high frequency PLL. Referring to FIG. 1, the quasi-digital, high frequency PLL 10 disclosed in the '125 patent includes a phase detector 12, a signed P-to-F converter 14, a 3-phase ring oscillator 16 and a frequency controlled oscillator (FCO) 18. FCO 18 and P-to-F converter 14 allow the use of a clock frequency which is no higher than the generating frequency of the PLL 10 to achieve acceptable phase resolution.
The P-to-F converter 14 converts the phase error information generated by the phase detector 12, which is in the form of UP, DOWN and HOLD signals, to multi-phase analog waveforms (PHASE 1, PHASE 2, PHASE 3) that can be used to drive the FCO 18. The output frequency of the P-to-F converter 14 determines the locking range of the PLL 10. The phase error direction, either plus or minus, is represented by the phase relationship, either leading or lagging, of the multi-phase outputs of the P-to-F converter 14, which the FCO 18 interprets as either an increase, a decrease or no change in the operating frequency.
As shown in FIG. 2, the P-to-F converter 14 disclosed in the '125 patent includes a counting circuit 21 that converts the plus/minus phase error signal UD.sub.-- PI provided by the phase detector 12 into a 7-bit count signal. The three most significant bits (MSB) of the count signal, i.e., the HI.sub.-- CNT signal, are used by a 3-phase waveform generator 25 to generate a 3-phase sawtooth pattern. The four least significant bits (LSB) of the count signal, i.e., the LO.sub.-- CNT signal, are utilized by a pulse density modulation (PDM) circuit 28 to generate a signal that indicates the binary weight of the LSB part of the count. The output of the LSB PDM circuit 28 and the 3-phase sawtooth pattern are applied to three MSB PDM circuits 36, 38, 40. The three carry outputs of the MSB PDM circuits 36, 38, 40 are the digital outputs of the P-to-F converter 14. Following buffering, the three digital outputs of the P-to-F converter 14 are converted to analog signals (PHASE I, PHASE 2, PHASE 3) by RC filters. The plus/minus phase is indicated by the leading/lagging phase relationship among the output waveforms.
While the P-to-F converter 14 disclosed in the '125 patent is a simple, yet elegant solution to a difficult problem, and has been commercially successful, there is always room for improvement. A problem associated with this solution is real time delay. That is, since generation of the triangular waveform is within the PLL tracking loop, the time required for synthesis directly impacts upon the response time of the phase error correction, which increases the phase jitter of the recovered clock.
U.S. Pat. No. 5,224,125 is hereby incorporated by reference in its entirety.
SUMMARY OF THE INVENTION
The present invention provides a triangular waveform synthesizer for a phase-to-frequency converter. The synthesizer generates a sawtooth and triangular wave using both Pulse Density Modulation (PDM) and a DC modulation scheme. To minimize both delay and logic, while continuing to provide reasonable resolution, a PDM and associated logic generates both the PDM output waveform with polarity information and two switching waveforms that encode the DC level information to provide a resultant sum. The resulting waveform, after filtering, is the triangular waveform. Since the switching and adding of the DC levels occurs in real time, the actual delay for the resultant triangular wave is only that of the PDM.





These and other features and advantages of the present invention will be better understood and appreciated upon consideration of the following detailed description and the accompanying drawings which set forth an illustrative embodiment in which the principles of the invention are utilized.
DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram illustrating a known digital phase locked loop.
FIG. 2 is a block diagram illustrating a known phase-to-frequency converter that may be utilized in the FIG. 1 PLL.
FIG. 3 is a block diagram illustrating a three phase triangular wave synthesizer in accordance with the present invention that may be utilized in the FIG. 1 PLL.
FIG. 4 is an oscilloscope waveform illustrating the three phases of the triangular wave generated by the FIG. 3 wave synthesizer.
FIG. 5 illustrates the three output waveforms from the upper PDM block of the FIG. 3 circuit necessary to create phase 1 of the triangular waveform.
FIG. 6 is a magnification of the FIG. 5 waveforms illustrating the positive peak.
FIG. 7 is a magnification of the FIG. 5 waveforms illustrating the negative peak.
FIG. 8 is a further magnification of the FIG. 6 waveforms.
FIG. 9 is a further magnification of the FIG. 7 waveforms.
FIG. 10 illustrates the PDM.1 waveform.





DETAILED DESCRIPTION OF THE INVENTION
FIG. 3 shows a block diagram of a phase-to-frequency (P-to-F) converter circuit 100 that includes a 3-phase triangular wave synthesizer in accordance with the present invention. The P-to-F converter circuit 100 can be used to replace the P-to-F converter 14 in the FIG. 1 PLL circuit 10 described in the '125 Wong et al. patent.
P-to-F converter 100 receives two signals, an up/down signal U/D that represents the .+-. phase error quantities generated by the digital phase detector 12 and a count enable signal En.sub.-- cnt. Input signal U/D controls the count direction of up/down counter 101 causing the counter 101 to count up when U/D=logic "1" and to count down when U/D=logic "0". The count enable signal En.sub.-- cnt enables the counter 101 when in logic "1" and stops the counter 101 when in logic "0". Clock signals CCLKA and CCLKB are equivalent and are both derived from the output of the 3-phase ring oscillator 16 (FIG. 1).
Counter 101 may be a conventional up/down counter viewed as a lower 4-bit LSB binary up/down counter 102 and an upper 3-bit MSB binary up/down counter 104. The lower 4-bit counter 102 receives both the phase error signal U/D and the enable signal En.sub.-- cnt. Thus, lower counter 102 stops if En.sub.-- cnt=0. The carry output signal Cry of the 4-bit lower counter 102, together with a carry enable signal En.sub.-- P, is fed into the upper 3-bit counter 104 that counts from 0 to 5. The lower counter 102 generates a four LSB output (Lcnt[0]-[3]) that is provided to a lower 4-bit PDM circuit 106 which operates in a manner similar to that described in the '125 patent. Lower PDM circuit 106 comprises a 4-bit adder 108 and a 5-bit register 110; the output of the 4-bit adder 108 is connected to the input of the 5-bit register 110. The lower PDM circuit 106 adds the previous contents of the register 110 to the current value of the LSB output (Lcnt[0]-[3]) of the lower counter 102. The operation is repetitious at every cycle of the CCLKA clock. The carry output signal PDM.sub.-- out of the lower PDM circuit 106 becomes the saw tooth wave. Simply by inverting the PDM.sub.-- out signal digitally causes a 180.degree. phase shift. Hence, a triangular wave is formed by inverting the PDM.sub.-- out signal every other full period of the clock signal.
The upper counter 104 generates a three MSB output (Hcnt[0]-[2]) based upon the phase error signal U/D. The three bits (Hcnt[0]-[2]) from the upper counter 104 and the carry output signal PDM.sub.-- out of the lower PDM circuit 106 are provided to an upper PDM circuit 112 that generates three outputs per each phase P1, P2, P3: add1.sub.-- n, add2.sub.-- n and PDM.sub.-- n (where n=1,2,3), as shown in FIG. 3. FIG. 4 is the scope waveform of the three phases of the triangular wave.
A description of the logic implementation of the upper PDM circuit 112 is provided below. For an actual implementation, reference is made to the gal equations provided in Appendix A at the end of this detailed description (Appendix A is an integral part of this patent specification).
The core of the upper PDM circuit 112 is a decoder that decodes the count from count 0 to count 5 of the upper counter 104. The logic equations of the three-per-phase outputs add1.sub.-- n, add2.sub.-- n and PDM.sub.-- n of the upper PDM circuit 112 are as follows:
add1.sub.-- 1=((count>=1)&&(count<=4)) ?(1):(0)
add2.sub.-- 1=((count>=2)&&(count<=3)) ?(1):(0)
PDM.sub.-- 1=invt PDM.sub.-- out
invt=((count>=3)&&(count<=5)) ?(1):(0)
FIG. 5 shows the three necessary outputs to create phase 1 (P1) of the triangular wave. The signal add1.sub.-- 1 is asserted during counts 1, 2, 3, and 4. The signal add2.sub.-- 1 is asserted during counts 2 and 3. PDM.sub.-- 1 is the PDM.sub.-- out during count 0, 1, and 2; during count 3, 4, and 5, PDM.sub.-- out is inverted. The resulting DC-modulated triangular waveform P1 is shown in FIG. 5.
More specifically, as shown in FIG. 5, during count 0, both the add1.sub.-- 1 and add2.sub.-- 1 switching outputs are de-asserted and the P1 phase output reflects the PDM.sub.-- 1 waveform. During count 1, switching output add1.sub.-- 1 is asserted, but switching output add2.sub.-- 1 remains de-asserted, resulting in the DC component of the waveform being added to PDM.sub.-- 1. During count 2, both the add1.sub.-- 1 and the add2.sub.-- 1 switching outputs are asserted and 2.times. the DC component is added to PDM.sub.-- 1. The reverse sequence for the switching outputs add1.sub.-- 1 and add2.sub.-- 1 occurs during counts 3, 4 and 5, but with PDM.sub.-- 1 inverted to provide the "downslope" of the FIG. 5 triangular waveform for phase P1.
To generate phase 2 (P2) of the triangular wave, the counter value must be offset by 2, which translates to a 120 degree phase shift. Similarly, offsetting the counter value by 4 provides a 240 degree phase shift for the phase 3 (P3) of the triangular wave.
FIGS. 6 through 10 are various magnifications of the FIG. 5 waves.
Resistors R in the FIG. 3 circuit 100 are all equally weighted.
It should be understood that various alternatives to the embodiments 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 that structures and methods within the scope of these claims and their equivalents be covered thereby. ##SPC1##
Claims
  • 1. A phase-to-phase frequency (P-to-F) converter that converts a digital phase error signal that indicates positive and negative phase errors into a plurality of phase-separated triangular waveforms, the P-to-F converter comprising:
  • an up/down counter that counts the positive and negative phase errors and generates a multibit, parallel digital counter output signal that indicates a cumulative current value of the phase errors, the counter output signal including a least significant bit (LSB) portion and a most significant bit (MSB) portion;
  • a pulse density modulator (PDM) that converts the LSB portion of the counter output signal to a corresponding serial, digital PDM signal; and
  • a multi-phase triangular wave synthesizer that combines the MSB portion of the counter output signal and the PDM signal to provide a plurality of DC-modulated, phase-separated triangular waveforms, the multi-phase triangular wave synthesizer being driven by periodic counts of a clock signal and responding to the MSB portion of the counter output signal and the PDM signal to provide, for each of a plurality of phase-separated output signals of the wave synthesizer, (i) a PDM output waveform with polarity information, (ii) a first switching signal for modulating the PDM output waveform on first specified counts of the clock signal, and (iii) a second switching signal for modulating the PDM output waveform on second specified counts of the clock signal, and
  • for each phase-separated output signal of the wave synthesizer, output filter circuitry that responds to the PDM output waveform and the first and second switching waveforms of said phase-separated output by providing a corresponding analog output signal.
  • 2. A phase-to-frequency (P-to-F) converter that converts a digital plus/minus phase error input signal that indicates positive and negative phase errors into a plurality of phase-separated triangular waveforms, the P-to-F converter comprising:
  • a counter system that includes both a lower LSB binary up/down counter section that receives the phase error input signal and generates a multi-bit LSB output and a carry output signal and an upper MSB binary up/down counter that receives the phase error input signal and the carry output signal and generates multi-bit MSB output;
  • a lower multi-bit PDM circuit that includes a multi-bit adder that receives the LSB output of the counter system and a multi-bit register that receives an output of the multi-bit adder such that the lower multi-bit PDM circuit adds previous contacts of the multi-bit register to a current value of the LSB output to provide a PDM carry output signal;
  • a multi-bit upper PDM circuit that responds to the MSB output and the PDM carry output signal a plurality of phase separated output signals; and
  • for each phase separated output signals, LC filter circuitry that converts said phase separated output signals to a corresponding analog output signal.
  • 3. A phase-to-frequency (P-to-F) converter that converts a digital plus/minus phase error input signal that indicates positive and negative phase errors into three phase-separated triangular waveforms, the P-to-F converter comprising:
  • a counter system that includes a lower 4-bit LSB binary up/down counter and an upper 3-bit MSB binary up/down counter that counts from count 0 to count 5, and wherein the lower counter receives the phase error input signal and generates a 4-bit lower LSB output count signal and a LSB carry output signal, and wherein the upper counter receives the phase error input signal and the LSB carry output signal and generates a 3-bit upper MSB output count signal representing count 0 to count 5;
  • a lower PDM circuit that includes a 4-bit adder that receives the 4-bit lower LSB output count signal and a 5-bit register, the output of the 4-bit adder being connected to the input of the 5-bit register such that the lower PDM circuit adds the previous contents of the register to the current value of the 4-bit lower LSB output count signal to provide a lower PDM carry output signal;
  • an upper PDM circuit that is driven by periodic counts of a clock signal and that responds to the 3-bit upper MSB output count signal and the lower PDM carry output signal to provide, for each of three phase-separated output signals of the upper PDM circuit, (i) an output waveform PDM with polarity information, (ii) a first switching signal add1.sub.-- n that modulates the PDM output waveform on first specified counts of the clock signal, and (iii) a second switching signal add2.sub.-- n that modulates the PDM output waveform on second specified counts of the clock signal; and
  • for each phase-separated output signal of the wave synthesizer, output filter circuitry that responds to the PDM output waveform and the first and second switching waveforms of said phase-separated output by providing a corresponding analog output signal.
  • 4. A P-to-F converter as in claim 3 and wherein the upper PDM circuit includes a decoder that decodes the count 0 to count 5 provided by the upper MSB counter in accordance with the following logic equations
  • add1.sub.-- 1=((count>=1)&&(count<=4)) ?(1):(0)
  • add2.sub.-- 1=((count>=2)&&(count<=3)) ?(1):(0)
  • PDM.sub.-- 1=invt PDM.sub.-- out
  • invt=((count>=3)&&(count<=5)) ?(1):(0)
  • such that, for each PDM output waveform n, the first switching signal add1.sub.-- n is asserted during counts 1, 2, 3 and 4, the second switching signal add.sub.2.sub.-- n is asserted during counts 2 and 3, the PDM output waveform is the output signal during counts 0, 1 and 2, and during counts 3, 4 and 5, the PDM output waveform is inverted.
US Referenced Citations (2)
Number Name Date Kind
5056054 Wong et al. Oct 1991
5224125 Wong et al. Jun 1993