Unless otherwise indicated herein, the approaches described in this section are not prior art to the claims in this application and are not admitted to be prior art by inclusion in this section.
At 117, a summary of the waveforms for signals received and output at PFD 110 is shown. At 118, reference clock clkref is shown; at 120, feedback clock clkfb is shown; at 122, an up signal is shown; and at 124, a down signal is shown. The even and odd cycles of reference clock clkref are not the same length. The up signal is generated by PFD 110 when a rising edge of reference clock clkref is before a rising edge of the feedback clock clkfb. The down signal is generated when the rising edge of the reference clock clkref is after a rising edge of the feedback clock clkfb. The up and down signals alternate every even and odd dock period.
The up and down signals deliver charge to capacitors C1 and C2 that cancel each other. However, uncorrelated noise may be received and increases in-band noise. For example, at 128, VCO 114 up-converts the noise received into reference spurs. One solution to correct the mismatch is to add digital and analog tuning to adjust the duty cycle of reference clock clkref. However, the analog tuning increases the noise. Also, digital tuning cannot track temperature variation without introducing large glitches to the output clock.
In one embodiment, a method includes determining a phase difference between a reference clock and a feedback clock in even and odd cycles for a phase lock loop (PLL). The even and odd cycles are alternating clock periods. A delta value based on the phase difference is determined. The method the adjusts a division value used by a divider to generate the feedback clock during the even cycle based on the delta value where the delta value is of a first polarity. Also, the method adjusts the division value used by the divider to generate the feedback clock during the odd cycle based on the delta value where the delta value is of a second polarity.
In one embodiment, adjusting the division value includes: if the even cycle of the reference clock is longer than the odd cycle, adjusting the division value used by the divider to generate the feedback clock during the even cycle by a negative delta value and adjusting the division value used by the divider to generate the feedback clock during the odd cycle by a positive delta value and if the odd cycle of the reference clock is longer than the even cycle, adjusting the division value used by the divider to generate the feedback clock during the even cycle by the positive delta value and adjusting the division value used by the divider to generate the feedback clock during the odd cycle by the negative polarity.
In one embodiment, the method determines an average phase difference for the even and odd cycles, wherein the average phase difference is used to determine the delta value.
In one embodiment, the delta value of the first polarity and the delta value of the second polarity are alternatively applied to a sigma delta modulator configured to control the divider.
In one embodiment, an apparatus includes: circuitry configured to determine a phase difference between a reference clock and a feedback clock in even and odd cycles for a phase lock loop (PLL), the even and odd cycles being alternating clock periods; circuitry configured to determine a delta value based on the phase difference; circuitry configured to adjust a division value used by a divider to generate the feedback clock during the even cycle based on the delta value, wherein the delta value is of a first polarity; and circuitry configured to adjust the division value used by the divider to generate the feedback clock during the odd cycle based on the delta value, wherein the delta value is of a second polarity.
The following detailed description and accompanying drawings provide a more detailed understanding of the nature and advantages of the present invention.
Described herein are techniques for a PLL. In the following description, for purposes of explanation, numerous examples and specific details are set forth in order to provide a thorough understanding of embodiments of the present invention. Particular embodiments as defined by the claims may include some or all of the features in these examples alone or in combination with other features described below, and may further include modifications and equivalents of the features and concepts described herein.
A divider 306 is configured to divide the output of oscillator 304 by a division value of the reference frequency. Divider 306 may be a fractional N divider. With a modulus controller, N is toggled among multiple values so that oscillator 304 generates is frequency that is time-averaged N multiple of the reference frequency. This divides the output of oscillator 304 to adjust the frequency of the feedback clock clkfb. Particular embodiments use a control circuit 308 to control a sigma delta modulator (SDM) 310 that changes the division value that is used to divide the output of oscillator 304 at divider 306. Changing the division value that is used to divide the output of oscillator 304 to generate the feedback signal clkfb is used to correct the reference clock clkref, which may have a different even/odd clock period. Using different division values can better align the feedback clock clkfb to the reference clock signal clkref. The feedback signal clkfb may be aligned to the desired even and odd reference clock edges. Also, the reference clock clkref does not need to be altered, which lowers the noise introduced by a reference doubler with duty cycle correction. The altering of the division value also can track processing and temperature variations since the division value is changed based on waveforms detected by control circuit 308.
Control circuit 308 determines an adjustment to the division value based on the up and down signals. For example, at 410, two calculations are shown for the even cycle and the odd cycle. At 412, the even cycle up signal is subtracted from the down signal. For example, at 412, the odd cycle up value is “0” and the odd cycle down is “−1”, which yields 0−−1=1. At 414, the odd cycle up is subtracted from the down signal. For example, the even cycle up is “1” and the even cycle down is “0”, which yields 1−0=1. The result of the calculations is shown at 420.
At 420, the difference is shown and an average Vxavg is determined via a low pass filter. The average Vxavg is used to determine the division value of divider 306. For example, if the average Vxavg is positive, the even cycle period Teven>odd cycle period Todd. That is, the period of the even cycle (Teven) is longer than the period of the odd cycle (Todd) for the reference clock clkref. To make the feedback clock clkfb more aligned, with the reference clock clkref, the period of the even cycle is decreased and the period of the odd cycle is increased for the feedback clock. If the average Vxavg is negative, then Teven<Todd. That is, the odd cycle is longer than the even cycle in the reference clock clkref. To make the feedback clock clkfb more aligned with the reference clock clkref, the period of the odd cycle is decreased and the period of the even cycle is increased for the feedback clock. The clock period is reduced if a smaller divider value is used and the clock period is increased if a larger division value is used. Particular embodiments determine a delta value Δ for the even and odd cycles to apply to SDM 310 to adjust the multiplier used by divider 316. The delta value may be a value to change the multiplier used. Additionally, different polarities for the delta value may be applied to the even and odd cycles. For example, a −2 delta value is applied to the even cycle and a +2 delta value is applied to the odd cycle. This reduces the period of the even cycle and increases the period of the odd cycle.
For the example shown in
The input to SDM 310 is the delta values for the even and odd cycles. SDM 310 uses a delta-sigma transfer function. The output of SDM 310 may be the sum of the following terms: a sequence delta values with alternating polarity (+delta, −delta, +delta, −delta, . . . ), PLL multiplication value, and quantization noise. The output is a division sequence (e.g., integer division sequence) for divider 316 that reflects the delta values input while shifting the quantization noise to higher frequencies that can be removed by the loop-filter. Particular embodiments may implement a digital solution that results in no analog noise and also tracks processing variations.
Different implementations for PLL 300 are provided according to particular embodiments.
An even/odd up/down pulses split circuit 508 receives the up and down signals from PFD 502 and splits the even/odd signals into an dn_even signal, an up_even signal, a dn_odd signal, and an up_odd signal. The signals are input into charge pumps 510 to detect the phase error difference in the even and odd cycles for the reference clock and the feedback clock. A comparator 512 (or a delta-sigma analog to digital converter (ADC)) is used to convert the phase-error difference in the even and odd cycles to digital values. A current digital to analog (IDAC) 516 is used to convert digital values back into analog values for input back into the comparator. A low pass filter 514 determines the average phase error Vxavg and cleans up high frequency divider SDM 316 activities and noise. Thus, low pass filter 514 outputs an estimate of the relative difference in the even and odd cycles. A multiplexer 516 is used to apply alternating polarity to the estimated phase difference in the even and odd cycles, and the result is added and input to SDM 316. The result is a positive delta value +Δ value and a negative delta value −Δ to input into SDM 310, which changes the division value of divider 306 for the even and odd clock periods. Thus, a negative feedback loop is formed to cancel the difference of average phase error between the oven and odd samples.
For control circuit 308, a circuit 610 receives phase error difference information that is already in digital form and separates the phase error difference in the even and odd cycles. A low pass filter 612 determines the average phase error Vxavg and cleans up high frequency divider SDM 316 activities and noise. Thus, low pass filter 612 outputs an estimate of the relative phase difference in the even and odd reference clock periods. An accumulator 614 is used to apply alternating polarity to the estimated phase difference in the even and odd clock periods, and the result is added and input to SDM 316. The result is a positive delta value +Δ value and negative delta value −Δ to input into SDM 316, which changes the division value of divider 306.
Accordingly, a reference spur is reduced due to the equal averaged phase error for even and odd clock cycles after compensation. Additionally, the presented compensation technique tracks temperature variations, and such tracking capability is difficult to realize with reference doubler duty cycle compensation circuits.
As used in the description herein and throughout the claims that follow, “a”, “an”, and “the” includes plural references unless the context clearly dictates otherwise. Also, as used in the description herein and throughout the claims that follow, the meaning of “in” includes “in” and “on” unless the context clearly dictates otherwise.
The above description illustrates various embodiments of the present invention along with examples of how aspects of the present invention may be implemented. The above examples and embodiments should not be deemed to be the only embodiments, and are presented to illustrate the flexibility and advantages of the present invention as defined by the following claims. Based on the above disclosure and the following claims, other arrangements, embodiments, implementations and equivalents may be employed without departing from the scope of the invention as defined by the claims.
This application is a continuation of U.S. patent application Ser. No. 14/050,911, filed Oct. 10, 2013 (now pending), which is a continuation of U.S. patent application Ser. No. 13/364,185, filed Feb. 1, 2012 (now U.S. Pat. No. 8,564,342), which claims priority to U.S. Provisional Application No. 61/439,784, filed Feb. 4, 2011, each of which is incorporated herein by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
5640523 | Williams | Jun 1997 | A |
6888412 | Kim et al. | May 2005 | B2 |
7015738 | Cao | Mar 2006 | B1 |
7675332 | Kwasniewski et al. | Mar 2010 | B1 |
7940098 | Kwasniewski et al. | May 2011 | B1 |
8193866 | Chang | Jun 2012 | B2 |
8290113 | Marienborg et al. | Oct 2012 | B2 |
8395453 | Chang et al. | Mar 2013 | B2 |
8429487 | Chang et al. | Apr 2013 | B2 |
20040263225 | Perrott et al. | Dec 2004 | A1 |
20050141662 | Sano et al. | Jun 2005 | A1 |
20050248413 | Zhu et al. | Nov 2005 | A1 |
20060119493 | Tal et al. | Jun 2006 | A1 |
20060220750 | Akamine et al. | Oct 2006 | A1 |
20080048791 | Fahim | Feb 2008 | A1 |
20080143398 | Fujiwara | Jun 2008 | A1 |
20090021281 | Liu | Jan 2009 | A1 |
20090041173 | Lin | Feb 2009 | A1 |
20090096535 | Chang | Apr 2009 | A1 |
20090096537 | Zhan et al. | Apr 2009 | A1 |
20090096538 | Chang et al. | Apr 2009 | A1 |
20090096539 | Chang et al. | Apr 2009 | A1 |
20090097609 | Chang et al. | Apr 2009 | A1 |
20100045395 | Fu et al. | Feb 2010 | A1 |
20100166084 | Galton et al. | Jul 2010 | A1 |
20100277244 | Chang et al. | Nov 2010 | A1 |
20100315140 | Mayer et al. | Dec 2010 | A1 |
20100327916 | Ahmadi et al. | Dec 2010 | A1 |
20110006938 | Ihs et al. | Jan 2011 | A1 |
20110099450 | Chang et al. | Apr 2011 | A1 |
20120200328 | Yao | Aug 2012 | A1 |
20120235714 | Marienborg et al. | Sep 2012 | A1 |
20130002317 | Frantzeskakis et al. | Jan 2013 | A1 |
20130033293 | Zhang | Feb 2013 | A1 |
20130093468 | Rebel et al. | Apr 2013 | A1 |
20130136220 | Lee et al. | May 2013 | A1 |
20130229212 | Dunworth et al. | Sep 2013 | A1 |
20140077849 | Chen et al. | Mar 2014 | A1 |
20140240012 | Yao | Aug 2014 | A1 |
20150222284 | Evans | Aug 2015 | A1 |
Entry |
---|
Abdollahi-Alibeik et al., A 65nm Dual-Band 3-Stream 802.11n MIMO WLAN Soc, 2011 IEE International Solid-State Circuits Conference, Digest of Technical Papers, ISSCC 2011, Feb. 22, 2011, pp. 170-171. |
Chih-Wei Yao, Digital Reference Doubler Compensation, Marvell Reference Paper, Aug. 2, 2011, pp. 1-9. |
International Search Report, PCT Application No. PCT/US2012/023535, mailed Apr. 2, 2012. |
Number | Date | Country | |
---|---|---|---|
20140240012 A1 | Aug 2014 | US |
Number | Date | Country | |
---|---|---|---|
61439784 | Feb 2011 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14050911 | Oct 2013 | US |
Child | 14267747 | US | |
Parent | 13364185 | Feb 2012 | US |
Child | 14050911 | US |