Spur cancellation for spur measurement

Information

  • Patent Grant
  • 11095295
  • Patent Number
    11,095,295
  • Date Filed
    Tuesday, June 26, 2018
    6 years ago
  • Date Issued
    Tuesday, August 17, 2021
    3 years ago
Abstract
A spur measurement system uses a first device with a spur cancellation circuit that cancel spurs responsive to a frequency control word identifying a spurious tone of interest. A device under test generates a clock signal and supplies the clock signal to the first device through an optional divider. The spur cancellation circuit in the first device generates sine and cosine weights at the spurious tone of interest as part of the spur cancellation process. A first magnitude of the spurious tone in a phase-locked loop in the first device is determined according to the sine and cosine weights and a second magnitude of the spurious tone in the clock signal is determined by the first magnitude divided by gains associated with the first device.
Description
BACKGROUND
Field of the Invention

This application relates to measurement of spurious tones.


Description of the Related Art

Signals generated by phase-locked loops and other timing circuits can include undesirable spurious tones. Accurately identifying the existence of spurious tones in a testing environment can help ensure that the parts being supplied do not generate significant spurious tones at frequencies of interest. Accordingly, improved measurement techniques for spurious tones are desirable.


SUMMARY OF EMBODIMENTS OF THE INVENTION

A first device is supplied with a first frequency control word identifying a first frequency corresponding to a spurious tone of interest to be measured in a first signal generated by a device under test. A phase-locked loop (PLL) of the first device generates a second signal based on the first signal. Presence of the spurious tone in the second signal is determined using a spur cancellation circuit in the first device.


In another embodiment a spur measurement system includes a first device having a spur cancellation circuit responsive to a frequency control word identifying a spurious tone of interest to be measured in a first signal received by the first device. The spur cancellation circuit is configured to cancel the spurious tone in a second signal in the first device, the second signal based on the first signal. A storage location in the first device stores information generated in the spur cancellation circuit and used to cancel the spurious tone. A first magnitude of the spurious tone in the second signal is determined according to the information and a second magnitude of the spurious tone in the first signal is determined by the first magnitude divided by gains associated with the first device.


In another embodiment a method includes supplying a first device with a frequency control word identifying a frequency corresponding to a spurious tone of interest to be measured in a first signal. The method further includes generating the first signal in a device under test and generating a second signal in a phase-locked loop of the first device, the second signal based in part on the first signal. Presence of the spurious tone in the first signal is determined based on a spur cancellation circuit in the first device canceling the spurious tone in the second signal. A first magnitude of the spurious tone is determined in the second signal and a second magnitude of the spurious tone in the first signal is determined based on the first magnitude divided by gains associated with the first device.





BRIEF DESCRIPTION OF THE DRAWINGS

The present invention may be better understood, and its numerous objects, features, and advantages made apparent to those skilled in the art by referencing the accompanying drawings.



FIG. 1 illustrates a high level block diagram of a PLL with a spur cancellation circuit.



FIG. 2 illustrates additional details of an embodiment of a spur cancellation circuit.



FIG. 3 illustrates an embodiment of a spur measurement system that uses a PLL with a spur cancellation circuit.



FIG. 4 illustrates an embodiment of a spur measurement system that uses a PLL with multiple spur cancellation circuits.



FIG. 5 illustrates an embodiment of a spur measurement system that uses multiple PLLs.



FIG. 6 illustrates an example flow diagram of operation of a spur measurement system.





The use of the same reference symbols in different drawings indicates similar or identical items.


DETAILED DESCRIPTION

Embodiments described herein relate to a spur, or tone, cancellation system or circuit such as one incorporated in a high-performance fractional-N highly-digital phase-locked loop (PLL). One such PLL is described in U.S. Pat. No. 9,762,250, entitled “Cancellation of Spurious Tones Within A Phase-Locked Loop With A Time-To-Digital Converter”, filed Jul. 31, 2014, naming Michael H. Perrott as inventor, which application is incorporated herein by reference. The spurious tone cancellation system in one device can be used to detect spurious tones in other devices in a lab or production test environment.



FIG. 1 illustrates a high level block diagram of an embodiment of a PLL 100 with a spur cancellation circuit 101. The PLL 100 receives a reference clock signal from crystal oscillator (XO) 103. A digitally controlled oscillator (DCO) 105 supplies an output signal 107, which is fed back through feedback divider 109 to the phase detector 111. The phase detector supplies a time to digital converter circuit 115, which supplies a signal r that has a spurious tone (spur) canceled before being supplied to loop filter 117.


The spur cancellation circuit receives a programmable frequency control word (FCW) 119 that identifies the spur of interest to be cancelled. In the spur cancellation circuit 101, sine and cosine terms 131 and 133 at the programmable frequency are correlated against a sense node, dsense, 121 inside the PLL. The resulting error signals drive a pair of accumulators, which set the weights on the sine and cosine signals, producing a spur cancellation signal, dinject 135. Negative feedback drives the amplitude and phase of the cancellation signal to be such that no spur appears (or the spur is significantly reduced) in the PLL output signal 107.



FIG. 2 illustrates an embodiment of the spur cancellation circuit 101 in more detail. In the embodiment of FIG. 2, the two correlators are each implemented with a high-resolution multiplier 201 and 203 and accumulate-and-dump circuits 205 and 206. A phase adjust block 207 follows the accumulate and dump circuits to compensate for PLL dynamics. The final weights on the sine and cosine terms are âq and âi, which are the scale factors for the sine and cosine components of the cancellation signal. The weights multiply the sine and cosine terms (sin {circumflex over (θ)}F and cos {circumflex over (θ)}F) and summer 209 sums together the multiplication results and supplies as the spur cancellation signal dinject ({circumflex over (r)} in FIG. 2) to cancel the spurious tone at the frequency specified by FCW.


While the spur cancellation circuit shown in FIGS. 1 and 2 can be used to cancel spurs in a clock generation system, the spur cancellation circuits can also be used as part of a spur measurement system and used, e.g., in a production test environment. FIG. 3 illustrates an embodiment of a spur measurement system 300 to measure spurs in a signal generated by a device under test (DUT) 301. DUT 301 generates an output clock signal 302 that goes through an optional divider 303, which divides the output frequency by D to be within the valid reference frequency of the PLL 305. PLL 305 incorporates a spur cancellation circuit 307. The spur cancellation circuit operates in sequence targeting a list of possible spur frequencies supplied as FCWs. The list of possible spur frequencies can be provided over input/output port 309 from a test apparatus 315. The input/output port 309 may be implemented, e.g., as a serial interface. The spur frequencies specified in the FCWs can also be scanned in if a scan interface is available.


For each spur frequency of interest, the spur cancellation circuit generates sine and cosine weights. If there is no spur at the frequency of interest, the sine and cosine weights reflect the lack of a spur present at the frequency of interest by being approximately 0. If there is a spur at the frequency of interest, the existence of the spur will be confirmed based on the magnitude of the spur on the internal PLL signal r supplied by TDC 115. The spur sine and cosine weights associated with each FCW may be stored in storage 311. The storage 311 may be in locations separate from the spur cancellation circuit 307 or storage such as registers, flip-flops, or latches within the spur cancellation circuit 307. The spur amplitudes can be computed conventionally by taking the sine and cosine weights kept in storage 311 and converting the sine and cosine weights to the corresponding magnitude and phase representation. The conversion to magnitude and phase may be accomplished using (x2+y2)1/2 and tan−1 (y/x), where x is âi and y is âq. Other embodiments can calculate the spur magnitude and phase in different ways depending on the specific implementation of the spur cancellation circuit. The magnitude and phase calculation can be done either on the integrated circuit with the PLL 305, e.g., if a microcontroller is available on chip, or off chip by accessing the weights storage 311 through the input/output port 309 and computing the amplitude in the test apparatus 315. In an embodiment, the spur on the DUT clock signal 302 can be determined based on the spur magnitude (determined using the sine and cosine weights) on the internal PLL signal r divided by the gains of the phase detector 111 and TDC 115 in the PLL. The gains associated with phase detector 111 and TDC 115 can be measured empirically or through simulation.


Referring to FIG. 4, the speed of spur measurement can be improved by using multiple spur cancellation circuits 407 and 408 in spur measurement system 400. The multiple spur cancellation circuits can operate independently, while having only one PLL. In FIG. 4, the spur cancellation circuits 407 and 408 receive different spur frequencies (FCW1 and FCW2) to cancel. Thus, more than one spur can be targeted and measured at a time thereby allowing a list of possible spur frequencies to be processed faster with less hardware. In embodiments, the multiple spur cancellation circuits may be time interleaved. While two spur cancellation circuits are shown, additional spur cancellation circuits may be used.


Referring to FIG. 5, embodiments may utilize multiple PLLs, e.g., PLLs 305 and 325 in a spur measurement system 500, each with one or more spur cancellation circuits. Note that the weights storage and I/O port associated with PLL 325 were omitted for ease of illustration.


Once the spurs of interest have been measured to determine if they exist in the output clock signal 302 of DUT 301, the presence or absence of a spur above a specified level acts as a test instrument readout. The presence or absence of a spur may be used, e.g., to screen or bin parts, or to aide in process control in manufacturing. In addition, embodiments may store results of the spur testing in the DUT itself in NVM 331. The information may include, e.g., the frequencies of the spurs tested and the results of the testing.



FIG. 6 illustrates a flow chart illustrating an embodiment of operation of the spur measurement system 300, 400, or 500 illustrated in FIGS. 3, 4 and 5. In 601 the tester 315 supplies a spur frequency of interest (the FCW) through the I/O port 309. The DUT 301 supplies the output clock signal 302 through optional divider 303 to the PLL 305. In 603 the PLL 305 cancels any spurs present at the frequency of interest and stores the sine and cosine weights associated with the spur cancellation in weights storage 311. Note that storing the weights may simply be part of the process of the cancellation and not a separate action on the part of the spur cancellation circuit. At 605 the test apparatus 315 retrieves the weights and determines the magnitude of the spur at the frequency of interest as described above. If all the frequencies of interest have not been tested in 607, the test apparatus returns to 601 and supplies a next spur frequency of interest. If all the frequencies of interest have been tested, in 609 the spur test results can be used to screen or bin parts. Note that many variations of the flow diagram of FIG. 6 are possible. For example, the tester may supply multiple FCWs at one time and the PLL 305 cycles through the various FCWs. The PLL 305 may store all the weights for all the tests in memory 311 and the tester only retrieves the weights and makes magnitude calculations at the end of the testing. The tester may test the DUT using multiple PLLs or multiple spur cancellation circuits with one PLL for greater efficiency.


Thus, various aspects have been described relating to spur measurement. The description of the invention set forth herein is illustrative, and is not intended to limit the scope of the invention as set forth in the following claims. Other variations and modifications of the embodiments disclosed herein, may be made based on the description set forth herein, without departing from the scope of the invention as set forth in the following claims.

Claims
  • 1. A method comprising: supplying a first device that includes a phase-locked loop having a spur cancellation circuit with a frequency control word identifying a first frequency corresponding to a spurious tone of interest to be measured in a first signal supplied by a device under test;generating a second signal in the phase-locked loop of the first device based on the first signal and a feedback signal;determining a presence of the spurious tone in the second signal using the spur cancellation circuit in the first device, determination of the presence of the spurious tone based on a sine weight and a cosine weight used to generate a spur cancellation signal, the sine weight and the cosine weight set at respective values to cancel the spurious tone;determining a first magnitude of the spurious tone in the second signal based on the sine weight and the cosine weight of the spur cancellation signal;dividing the first magnitude of the spurious tone in the second signal by a plurality of gain factors of the phase-locked loop to determine a second magnitude of the spurious tone in the first signal.
  • 2. The method, as recited in claim 1, further comprising: generating the second signal in a time-to digital converter in the phase-locked loop; andcontrolling an oscillator of the phase-locked loop based on the second signal.
  • 3. The method, as recited in claim 1, further comprising: dividing the first signal in a divider circuit and supplying a divided first signal to the first device.
  • 4. The method, as recited in claim 1, wherein the plurality of gain factors of the phase-locked loop include a first gain of a phase detector in the phase-locked loop and include a second gain of a time to digital converter in the phase-locked loop.
  • 5. The method, as recited in claim 1, further comprising: using multiple spur cancellation circuits, including the spur cancellation circuit, to measure spurs at multiple frequencies in the first signal.
  • 6. The method, as recited in claim 1, further comprising: supplying the spur cancellation circuit with additional frequency control words identifying additional frequencies corresponding to spurious tones of interest to be measured in the first signal.
  • 7. The method, as recited in claim 1, further comprising: using multiple phase-locked loops, including the phase-locked loop, each of the multiple phase-locked loops with one or more spur cancellation circuits, to detect spurious tones of interest in the first signal.
  • 8. The method as recited in claim 1 further comprising: supplying from a test device spur frequency control words identifying spur frequencies to evaluate, the spur frequency control words including the frequency control word identifying the first frequency; andreceiving the spur frequency control words at an input/output port of the first device.
  • 9. A spur measurement system comprising: a first device including a phase-locked loop with a spur cancellation circuit responsive to a frequency control word identifying a spurious tone of interest to test for in a first signal received by the first device;the spur cancellation circuit being configured to cancel the spurious tone of interest in a second signal generated by the phase-locked loop, the second signal based on the first signal and a feedback signal;a storage circuit in the first device storing information used by the spur cancellation circuit to cancel the spurious tone of interest;wherein a first magnitude of the spurious tone in the second signal is determined based on a cosine weight and a sine weight used to generate a cancellation signal to cancel the spurious tone;a phase detector;a time to digital converter;wherein a second magnitude of the spurious tone in the first signal is determined by the first magnitude divided by one or more gain factors of the phase-locked loop; andwherein the one or more gain factors of the phase-locked loop include a first gain of the phase detector and a second gain of the time to digital converter.
  • 10. The spur measurement system, as recited in claim 9, further comprising: a divider to divide the first signal and supply a divided signal from a device under test as the first signal to the first device.
  • 11. The spur measurement system, as recited in claim 9, further comprising: a plurality of spur cancellation circuits, including the spur cancellation circuit, to determine presence of a plurality of spurious tones in the first signal, the plurality of spur cancellation circuits configured in the phase-locked loop in the first device.
  • 12. The spur measurement system, as recited in claim 9, further comprising: a plurality of phase-locked loops, including the phase-locked loop, with respective spur cancellation circuits, to detect spurious tones of interest in the first signal.
  • 13. A method comprising: supplying a spur cancellation circuit of a phase-locked loop in a first device with a frequency control word identifying a frequency corresponding to a spurious tone of interest to be measured in a first signal;generating the first signal in a device under test;generating a second signal in the phase-locked loop of the first device, the second signal based in part on the first signal;determining presence of the spurious tone in the first signal based on generation of a spur cancellation signal in the spur cancellation circuit to cancel the spurious tone;generating a sine weight and a cosine weight in the spur cancellation circuit to generate the spur cancellation signal used to cancel the spurious tone;determining a first magnitude of the spurious tone in the second signal using the sine weight and the cosine weight; anddetermining a second magnitude of the spurious tone in the first signal based on the first magnitude divided by a plurality of gain factors of the phase-locked loop.
  • 14. The method, as recited in claim 13, wherein the plurality of gain factors of the phase-locked loop include a first gain of a phase detector in the phase-locked loop and include a second gain of a time to digital converter in the phase-locked loop.
  • 15. The method, as recited in claim 13, further comprising: dividing the first signal in a divider circuit and supplying a divided first signal for measurement of the spurious tone.
  • 16. The method as recited in claim 13 further comprising: storing in the device under test, information including frequencies of spurs tested and results of testing of the spurs.
US Referenced Citations (69)
Number Name Date Kind
3508195 Sellers Apr 1970 A
4301466 Lemoine et al. Nov 1981 A
5467373 Ketterling Nov 1995 A
5576666 Rauvola Nov 1996 A
6515525 Hasegawa Feb 2003 B2
6829318 Kawahara Dec 2004 B2
7061276 Xu Jun 2006 B2
7064616 Reichert Jun 2006 B2
7208990 Hassun Apr 2007 B1
7391839 Thompson Jun 2008 B2
7545190 Chiang et al. Jun 2009 B2
7605662 Kobayashi et al. Oct 2009 B2
7746972 Melanson et al. Jun 2010 B1
7888973 Rezzi Feb 2011 B1
8207766 Yu Jun 2012 B2
8390348 Burcea Mar 2013 B2
8427243 Chen et al. Apr 2013 B2
8497716 Zhang Jul 2013 B2
8604840 Ahmadi et al. Dec 2013 B2
8947139 Vercesi et al. Feb 2015 B1
8957712 Tang et al. Feb 2015 B2
9065457 Namdar-Mehdiabadi Jun 2015 B2
9071195 Gabbay Jun 2015 B2
9207646 Wang Dec 2015 B2
9246500 Perrott Jan 2016 B2
9490818 Perrott Nov 2016 B2
9634678 Caffee et al. Apr 2017 B1
9762250 Perrott Sep 2017 B2
9923563 Horovitz et al. Mar 2018 B1
10581418 Wu et al. Mar 2020 B2
10594329 Elkholy Mar 2020 B1
10840897 Rafi Nov 2020 B1
20020097826 Iwata et al. Jul 2002 A1
20070090866 Park et al. Apr 2007 A1
20080061850 Watanabe Mar 2008 A1
20080116946 Masson May 2008 A1
20080129352 Zhang Jun 2008 A1
20080218228 Masson Sep 2008 A1
20090132884 Suda et al. May 2009 A1
20090251225 Chen et al. Oct 2009 A1
20100061499 Mijuskovik Mar 2010 A1
20100097150 Ueda et al. Apr 2010 A1
20100213984 Shin et al. Aug 2010 A1
20100264963 Kikuchi et al. Oct 2010 A1
20110025388 Lamanna Feb 2011 A1
20110074479 Yun et al. Mar 2011 A1
20110109354 Feng et al. May 2011 A1
20110109356 Ali et al. May 2011 A1
20110133799 Dunworth et al. Jun 2011 A1
20110204938 Lamanna Aug 2011 A1
20110204948 Satoh et al. Aug 2011 A1
20110234272 Yun Sep 2011 A1
20120153999 Kim Jun 2012 A1
20120161832 Lee et al. Jun 2012 A1
20130050013 Kobayashi et al. Feb 2013 A1
20130112472 Welland May 2013 A1
20130222026 Havens Aug 2013 A1
20130257494 Nikaeen et al. Oct 2013 A1
20140077849 Chen et al. Mar 2014 A1
20140211899 Furudate Jul 2014 A1
20140266341 Jang et al. Sep 2014 A1
20140268936 Lu Sep 2014 A1
20150008961 Kim et al. Jan 2015 A1
20150145567 Perrott May 2015 A1
20150145571 Perrott May 2015 A1
20150207514 Kim et al. Jul 2015 A1
20160112053 Perrott Apr 2016 A1
20160359493 Chen et al. Dec 2016 A1
20190068205 Tamura et al. Feb 2019 A1
Non-Patent Literature Citations (24)
Entry
Gupta, M. and Song, B.S., “A 1.8GHz Spur Cancelled Fractional-N Frequency Synthesizer with LMS Based DAC Gain Calibration,” IEEE International Solid-State Circuits Conference, vol. 41, No. 12, Dec. 2006, pp. 2842-2851.
Hedayati, H. et al., “A 1 MHz Bandwidth, 6 GHz 0.18 μm CMOS Type-I ΔΣ Franctional-N Synthesizer for WiMAX Applications,” IEEE Journal of Solid State Circuits, vol. 44, No. 12, Dec. 2009, pp. 3244-3252.
Hedayati, H. and Bakkaloslu, B., “A 3GHz Wideband ΣΔ Fractional-N Synthesizer with Voltage-Mode Exponential CP-PFD”, IEEE Radio Frequency Integrated Circuits Symposium, 2009, pp. 325-328.
Hsu, C.M. et al., “A Low-Noise Wide-BW 3.6-GHz Digital ΔΣ Fractional-N Frequency Synthesizer with a Noise-Shaping Time-to-Digital Converter and quantization Noise Cancellation,” IEEE Journal of Solid-State Circuits, vol. 43, No. 12, Dec. 2008, pp. 2776-2786.
Menninger, S. and Perrott, M., “A 1—MHz Bandwidth 3.6-GHz 0.18μm CMOS Fractional-N Synthesizer Utilizing a Hybrid PFD/DAC Structure for Reduced Broadband Phase Noise,” IEEE Journal of Solid-State Circuits, vol. 41, No. 4, Apr. 2006, pp. 966-980.
Pamarti et al., “A wideband 2.4GHz Delta-Sigma Fractional-N PLL with 1 Mb/s In-Loop Modulation,” IEEE Journal of Solid-State Circuits, vol. 39, No. 1, Jan. 2004, pp. 49-62.
Staszewski, R.B. et al., “All-Digital PLL and Transmitter for Mobile Phones,” IEEE Journal of Solid-State Circuits, vol. 40, No. 12, Dec. 2005, pp. 2469-2482.
Staszewski, R.B. et al., “1.3 V, 20 ps Time-to-Digital Converter for Frequency Synthesis in 90-nm CMOS,” IEEE Transactions on Circuits and Systems-II, Express Briefs, vol. 53, No. 3, Mar. 2006, pp. 220-224.
Straayer, M.Z. and Perrott, M.H., A 12-Bit, 10-MHz Bandwidth, Continuous-Time ΣΔ ADC With a 5-Bit, 950-MS/s VCO-Based Quantizer, IEEE Journal of Solid-State Circuits, vol. 43, No. 4, Apr. 2008, pp. 805-814.
Swaminathan et al., “A Wide-Bandwidth 2.4 GHz ISM Band Fractional-N PLL with Adaptive Phase Noise Cancellation”, IEEE Journal of Solid-State Circuits, vol. 42, No. 12, Dec. 2007, pp. 2639-2650.
Temporiti, E. et al., “A 700kHz Bandwith ΣΔ Fractional Synthesizer with Spurs Compensation and Linearization Techniques for WCDMA Applications,” IEEE Journal of Solid-State Circuits, vol. 39, No. 9, Sep. 2004, pp. 1446-1454.
Li, Y., et al., “On-Chip Spur and Phase Noise Cancellation Techniques,” IEEE Asian Solid-State Circuits Conference, Nov. 6-8, 2017, pp. 109-112.
U.S. Appl. No. 16/593,473, entitled “Spur Cancellation in a PLL System with an Automatically Updated Target Spur Frequency,” filed Oct. 4, 2019, by Timothy A. Monk and Douglas F. Pastorello.
U.S. Appl. No. 16/143,717, entitled “Spur Cancellation with Adaptive Frequency Tracking,” filed Sep. 27, 2018, by Timothy A. Monk and Rajesh Thirugnanam.
U.S. Appl. No. 16/143,711, entitled “Spur Canceller with Multiplier-Less Correlator,” filed Sep. 27, 2018, by Timothy A. Monk and Rajesh Thirugnanam.
Avivi, R., et al., “Adaptive Spur Cancellation Technique in All-Digital Phase-Locked Loops,” IEEE Transactions on Circuits and Systems—II: Express Briefs, vol. 64, No. 11, Nov. 2017, pp. 1292-1296.
Ho, C. and Chen, S., “A Fractional-N DPLL With Calibration-Free Multi-Phase Injection-Locked TDC and Adaptive Single-Tone Spur Cancellation Scheme,” IEEE Transactions on Circuits and Systems-K: Regular Papers, vol. 63, No. 8, Aug. 2016, pp. 1111-1122.
IDT, “I2C Programmable Ethernet Clock Generator,” 8T49N4811 Data Sheet, Revision A, Mar. 30, 2015, pp. 1-34.
Inti, R. et al., “A 0.5-to-2.5 Gb/s Reference-Less Half-Rate Digital CDR with Unlimited Frequency Acquisition Range and Improved Input Duty-Cycle Error Tolerance,” IEEE Journal of Solid-State Circuits, vol. 46, No. 12, Dec. 2011, pp. 3150-3162.
Ma, S., “Feasibility Study of Frequency Doubling Using an AN XOR-Gate Method,” MSc. Thesis, Jan. 2013, pp. 1-77.
Oortgiesen, R., “Feasibility Study of Frequency Doubling Using a Dual-Edge Method,” MSc. Thesis, Nov. 2010, pp. 1-56.
Razavi, B., “RF Microelectronics,” Second Editioin, Prentice Hall, 2012, pp. 664-667.
U.S. Appl. No. 16/805,336, entitled “Spur and Quantization Noise Cancellation for PLLS with Non-Linear Phase Detection,” filed Feb. 28, 2020, by Aslamali A. Rafi et al.
Wikipedia, “Phase-Locked Loop,” https://en.wikipedia.org/wiki/Phase-locked_loop, downloaded Dec. 14, 2015, 17 pages.
Related Publications (1)
Number Date Country
20190393881 A1 Dec 2019 US