WO2009152105A2 - Dynamic calibration techniques for digitally controlled oscillator - Google Patents

Dynamic calibration techniques for digitally controlled oscillator Download PDF

Info

Publication number
WO2009152105A2
WO2009152105A2 PCT/US2009/046642 US2009046642W WO2009152105A2 WO 2009152105 A2 WO2009152105 A2 WO 2009152105A2 US 2009046642 W US2009046642 W US 2009046642W WO 2009152105 A2 WO2009152105 A2 WO 2009152105A2
Authority
WO
WIPO (PCT)
Prior art keywords
initial set
dco
tuning
identifying
overlap
Prior art date
Application number
PCT/US2009/046642
Other languages
French (fr)
Other versions
WO2009152105A3 (en
Inventor
Bo Sun
Gary John Ballantyne
Rajagopalan Rangarajan
Original Assignee
Qualcomm Incorporated
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qualcomm Incorporated filed Critical Qualcomm Incorporated
Priority to CN200980121708XA priority Critical patent/CN102057577A/en
Priority to EP09763396A priority patent/EP2289170A2/en
Priority to JP2011513616A priority patent/JP2011524687A/en
Publication of WO2009152105A2 publication Critical patent/WO2009152105A2/en
Publication of WO2009152105A3 publication Critical patent/WO2009152105A3/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION, OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/099Details of the phase-locked loop concerning mainly the controlled oscillator of the loop
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03BGENERATION OF OSCILLATIONS, DIRECTLY OR BY FREQUENCY-CHANGING, BY CIRCUITS EMPLOYING ACTIVE ELEMENTS WHICH OPERATE IN A NON-SWITCHING MANNER; GENERATION OF NOISE BY SUCH CIRCUITS
    • H03B5/00Generation of oscillations using amplifier with regenerative feedback from output to input
    • H03B5/08Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element comprising lumped inductance and capacitance
    • H03B5/12Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element comprising lumped inductance and capacitance active element in amplifier being semiconductor device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/16Circuits
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION, OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L2207/00Indexing scheme relating to automatic control of frequency or phase and to synchronisation
    • H03L2207/06Phase locked loops with a controlled oscillator having at least two frequency control terminals

Definitions

  • This disclosure relates generally to the field of electronics, and more specifically, but not exclusively, to digitally controlled oscillators.
  • a digitally controlled oscillator (DCO), sometimes referred to as a numerically controlled oscillator, is an electronic circuit for synthesizing a range of frequencies from a fixed reference clock.
  • the output frequency generated by the DCO at a particular time is a function of the value a digital input or control code.
  • DCOs may be used as frequency synthesizers for generating waveforms for a variety of electronic circuit- based applications. DCOs are being increasingly employed, for example, in the arenas of wireless communications, high resolution imaging, high speed networking, display technology, digital signal processing, and a host of other circuit-intensive areas.
  • the DCO-produced waveforms may be used to implement functions such as clock and data recovery, carrier wave synthesis, signal encoding/decoding and modulation/demodulation, programmable waveform generation, and the like.
  • DCOs implemented within digital phase locked loops (DPLLs). Due to its digital nature, the DCO can offer fast switching between output frequencies, high resolution, and operation over a broad frequency spectrum. DCOs may also offer superior noise rejection over conventional circuit techniques by reducing the number of analog circuit components, and reducing or eliminating noise susceptible parameters such as oscillator control voltages, etc.
  • nonlinear output frequencies from DCOs specifically, gaps or instances of overlap in a plot of output frequency versus input control code.
  • DCOs digitally controlled oscillators
  • An initial set of control codes for operating the DCO may be determined.
  • a range of output frequencies produced from the initial set may be identified.
  • Gaps or instances of overlap may be identified in the frequency range.
  • control codes may be removed from the initial set that correspond to the overlap instance to establish a revised set.
  • control codes may be added to the initial set for producing frequencies values that fill the gap
  • a method of calibrating a digitally controlled oscillator includes determining an initial set of control codes for operating the DCO, identifying a range of output frequencies produced from the initial set, identifying at least one instance of overlap in the frequency range, and removing control codes from the initial set that correspond to the at least one overlap instance to establish a revised set.
  • DCO digitally controlled oscillator
  • a method of calibrating a digitally controlled oscillator includes determining an initial set of control codes for operating the DCO, identifying a range of output frequencies produced from the initial set, identifying at least one gap in the frequency range, and adding control codes to the initial set, the added control codes corresponding to output frequency values that substantially fill the at least one gap.
  • a wireless communication device includes a digitally controlled oscillator (DCO), and a processing system configured to determine an initial set of control codes for operating the DCO, to identify a range of output frequencies produced from the initial set, to identify at least one instance of overlap in the frequency range, and to remove control codes from the initial set that correspond to the at least one overlap instance to establish a revised set.
  • DCO digitally controlled oscillator
  • processing system configured to 080271
  • an apparatus includes a digitally controlled oscillator (DCO), means for determining an initial set of control codes for operating the DCO, means for identifying a range of corresponding output frequencies, means for identifying at least one instance of overlap in the frequency range, and means for removing control codes from the initial set that correspond to the at least one overlap instance to establish a revised set.
  • DCO digitally controlled oscillator
  • an apparatus includes a digitally controlled oscillator (DCO), means for determining an initial set of control codes for operating the DCO, means for identifying a range of output frequencies produced from the initial set, means for identifying at least one gap in the frequency range, and means for adding control codes to the initial set, the added control codes corresponding to output frequency values that substantially fill the at least one gap.
  • DCO digitally controlled oscillator
  • a computer-program product including a machine-readable medium including instructions executable by a machine for performing a method of calibrating a digitally controlled oscillator (DCO) includes determining an initial set of control codes for operating the DCO, identifying a range of output frequencies produced from the initial set, identifying at least one instance of overlap in the frequency range, and removing control codes from the initial set that correspond to the at least one overlap instance to establish a revised set.
  • DCO digitally controlled oscillator
  • a computer-program product including a machine-readable medium including instructions executable by a machine for performing a method of calibrating a digitally controlled oscillator (DCO) includes determining an initial set of control codes for operating the DCO, identifying a range of output frequencies produced from the initial set, identifying at least one gap in the frequency range, and adding control codes to the initial set, the added control codes corresponding to output frequency values that substantially fill the at least one gap.
  • DCO digitally controlled oscillator
  • FIG. IA is a block diagram of a wireless communication device incorporating a wireless receiver.
  • FIG. IB is a block diagram of a wireless communication device incorporating a wireless transmitter.
  • FIG. 2A is a block diagram of a digitally controlled oscillator (DCO).
  • DCO digitally controlled oscillator
  • FIGS. 2B is a circuit diagram of an illustrative DCO.
  • FIG. 2C is a circuit diagram of illustrative tuning units.
  • FIG. 2D is a circuit diagram of illustrative tuning elements.
  • FIG. 3 is a plot showing DCO output frequency versus DCO control code for the ideal case.
  • FIG. 4 is a plot is a plot showing DCO output frequency versus DCO control code depicting gaps.
  • FIG. 5 is a plot showing DCO output frequency versus DCO control code depicting instances of overlap.
  • FIG. 6 is a plot showing DCO output frequency versus DCO control code depicting gaps and instances of overlap.
  • FIG. 7 is a plot showing DCO output frequency versus DCO control code depicting overlap correction.
  • FIG. 8 is a plot showing DCO output frequency versus DCO control code depicting gap correction.
  • FIG. 9A is a diagram of a circuit for measuring DCO discontinuities using a closed loop PLL.
  • FIG. 9B is a series of plots showing the waveforms for the circuit of FIG. 9A.
  • FIG. 1OA is a diagram of a circuit for measuring DCO discontinuities using an open loop DCO frequency.
  • FIG. 1OB shows waveforms for the circuit of FIG. 10 A. 080271
  • FIG. 11 is a block diagram of components for tuning a DCO.
  • FIG. 12 is a flow diagram of a method for tuning a DCO.
  • DCOs have increasingly been implemented within wireless communication devices that transmit and receive wireless signal. Where a DCO is used to generate carrier waveforms, baseband signals are modulated on the carrier waveforms, and then the modulated carrier waveforms are transmitted to other devices as wireless signals.
  • the receiving devices may use a DCO, in turn, to synthesize the carrier and remove the baseband signal for demodulation.
  • FIGS. IA and IB are block diagrams of wireless communication devices IOOA and IOOB associated with wireless signal reception and transmission, respectively.
  • Each of the wireless communication devices IOOA and IOOB contains a respective frequency synthesizer 160A and 160B.
  • the respective frequency synthesizer 160A and 160B includes a DCO 145 A and 145B for generating an output waveform of a particular frequency that is a function of a digital control code input into the respective DCO (not shown).
  • the DCO in one aspect may include a plurality of tuning elements and an inductor capacity "tank" configuration, depending on the specific design. Illustrative architectures of an DCOs according to this disclosure are discussed below.
  • WCD IOOA may implement a so-called "Zero-IF" architecture, although this disclosure is not limited in this respect.
  • Zero-IF Zero-IF architectures
  • WCD IOOA converts incoming signals directly into baseband signals and, specifically, does not first convert the received signals to intermediate frequency (IF) signals.
  • IF intermediate frequency
  • Wireless communication device IOOA includes antenna 120A that receives incoming wireless signals.
  • the incoming wireless signals may comprise code division multiple access (CDMA) modulated signals sent from a CDMA base station.
  • CDMA code division multiple access
  • GSM signals or other types of wireless signals may also be supported.
  • wireless signal received by antenna 120A can be processed by RF receiver 140A, such as by passing the signal through low-noise amplifier (LNA) and one or more filters.
  • LNA low-noise amplifier
  • the wireless signal is then mixed down to baseband by mixer 150A (sometimes called a "down- mixer” or “de-mixer”).
  • Mixer 150A may receive reference waveforms produced by frequency synthesizer 16OA which may implement a DCO to generate an oscillating frequency.
  • the DCO may improve the frequency synthesis process, possibly reduce noise in the system, and allow for simplification of various components of frequency synthesizer 160A and device IOOA.
  • Mixer 150A produces baseband signals which can be filtered and sampled by analog-to-digital (A/D) converter 170A to produce corresponding digital samples of the signals.
  • One or more amplifiers 180A such as a digital voltage gain amplifier (VGA) or another suitable amplifier type, may be used to appropriately scale the digital baseband signal, either by amplifying or by attenuating the digital values according to gain values received from an automatic gain control unit (not shown).
  • VGA digital voltage gain amplifier
  • the scaled digital baseband signal is provided to modem unit 190A, which may comprise a demodulator.
  • modem 190A may include a so-called "RAKE" receiver, which separates and tracks signals received from different sources, e.g., different base stations, or signals received from the same source via multiple propagation paths, i.e., multi-path signals.
  • RAKE a so-called "RAKE" receiver
  • modem unit 190A may include a number of "fingers” that perform dispreading, Walsh decovering and accumulation, pilot time tracking and frequency tracking. Each finger of modem unit 190A outputs pilot and data symbols for the corresponding path. Symbol demodulation and/or other signal processing may then be performed on the pilot and data symbols.
  • wireless communication device IOOA may also include additional components (not shown) such as filters and various digital or analog signal processing 080271
  • Wireless communication device may alternatively or additionally be employed to process signals using time division multiple access (TDMA), or frequency division multiple access (FDMA), or CDMA, or some combination of these protocols.
  • TDMA time division multiple access
  • FDMA frequency division multiple access
  • CDMA CDMA
  • RAKE fingers may not be used, although the DCO described herein may be equally useful for such standards or techniques.
  • FIG. IB is a block diagram of a wireless communication device incorporating a wireless transmitter.
  • the devices in FIGS. IA and IB may be part of the same wireless communication device (for example, they may be part of a wireless transceiver); alternatively, they may be separate devices, or discrete modules on the same device.
  • the wireless communication device IOOB in FIG. IB may function in a similar manner as the wireless communication device of FIG. IA, except that a transmission function is performed.
  • a wireless signal may be output from modem unit 190B, where modem unit 190B may comprise a modulator for modulating a signal for transmission over antenna 120B.
  • the signal may be modulated at modem unit 190B with a PN code and/or spread with a Walsh code, or both, to produce a digital baseband signal.
  • the digital signal output from modem unit 190B may thereupon by converted to an analog waveform by digital to analog converter (DAC) 170 to produce an analog baseband signal.
  • DAC digital to analog converter
  • Frequency synthesizer 160B provides carrier waveforms to mixer 150B (sometimes called an "up-mixer”). Frequency synthesizer 160B includes DCO 145B. Mixer 150B combines the analog baseband signal into the carrier signal and forwards the modulated carrier signal to amplifier 180B for scaling. Amplifier 180B may include one or more voltage gain amplifiers (VGAs), driver amplifiers (DAs), and power amplifiers (PAs), depending on the circuit type and application. The different amplifiers may reside on the same integrated circuit chip, or multiple different chips or modules. Once the modulated signal has been adequately amplified or attenuated, RF transmitter 140B may transmit the modulated RF signal from wireless communication device IOOB via antenna 120B.
  • VGAs voltage gain amplifiers
  • DAs driver amplifiers
  • PAs power amplifiers
  • wireless communication devices IOOA and IOOB of FIGS. IA and IB are merely exemplary devices that can utilize the DCO calibration techniques described herein. Many other types of devices can also equally benefit from 080271
  • GSM Global System for Mobile Communications
  • UWB ultra-wideband
  • Exemplary wireless communication devices include cellular or satellite radiotelephones, radiotelephone base stations, computers that support one or more wireless networking standards, wireless access points for wireless networking, PCMCIA cards incorporated within portable computers, direct two-way communication devices, personal digital assistants (PDAs) equipped with wireless communication capabilities, and the like.
  • PDAs personal digital assistants
  • Examples of computing devices used in wireless networks may include laptop or desktop computers, mobile phones such as cellular radiotelephones and satellite radiotelephones, data terminals, data collection devices, PDAs and other portable and non-portable computing devices.
  • FIG. 2 A is a block diagram of an exemplary digitally controlled oscillator (DCO) 200.
  • DCO 200 is an inductor-capacitor circuit that produces an oscillating output having a frequency that is a function of the LC circuit. The output frequency may be changed, for example, by changing the capacitance of components of the DCO 200.
  • DCO 200 includes two inputs. At a first input 202, DCO 200 receives an n-bit wide digital word or tuning code. A reference clock signal is streamed into the clock input 206. At output 204, a signal of frequency F O u ⁇ is produced. F O u ⁇ is adjusted by changing the value of the tuning code at input 202.
  • F O u ⁇ is linearly inversely proportionally to the input tuning code.
  • n 4
  • the input tuning code is 0100
  • a frequency Fl may be produced; if the tuning code is then changed to 0101, in the ideal case a frequency F2 that is slightly lower than Fl may thereupon be produced.
  • the output signal may be a square wave (as shown), a sine wave, or any other form, depending on the specific circuit configuration of the DCO.
  • the DCO comprises a number of tuning units and tuning elements for incrementally adjusting the frequency in response to a set of digital inputs.
  • FIG. 2B is a circuit diagram of a DCO 203 according to an aspect of the disclosure. It will be appreciated that the DCO may be configured in a variety of ways depending on the application.
  • the input to the DCO 203 is the tuning code, which in this illustration is a 12 bit binary number.
  • the DCO output is a voltage waveform (for example, at nodes 271 and 277) at a frequency determined in part by the tuning code, as discussed below.
  • FIG. 2B uses a plurality of decoders. It will be appreciated by those in the art, however, that another number of decoders, or in some instances one decoder, may be used, depending on the configuration. Alternatively, the decoding function may be performed in software, through one or more digital signal processors, or other hardware. In this example, the four most significant bits of the 12 bit tuning code are input into decoder 211, which in turn are used to provide decoded signals to ROWO through ROW 15 as well as ROW(AUX). DCO 203 includes a matrix of sixteen rows (ROWO to R0W15) and sixteen columns (COL 0 to COL 15).
  • Each of COL 0 through COL 15 is associated with one of sixteen X tuning units (the slashes 281 indicate that the X and X A tuning units are repeated throughout the middle columns although not shown explicitly).
  • Each of the sixteen X tuning units is also found in one of the sixteen rows ROW 0 through ROW 15.
  • each row from ROWO-ROWl 5 includes an AO tuning unit and a BO tuning unit.
  • Each output of the ROWO-ROW 15 outputs from decoder 211 feeds into each one corresponding A unit, the sixteen X units, and one B unit.
  • sixteen X A auxiliary tuning units are controlled by a signal ROW(AUX) from decoder 211, which may comprise a multi-bit signal.
  • the entire 12 bit tuning code in this example is also input into decoder 209, which produces 16 bits of decoded data for controlling tuning units AO and BO.
  • the four middle bits of the 12 bit tuning code may be input into decoder 207 to produce the decoded bits for controlling COL 0 through COL 15. 080271
  • DCO 203 includes an inductor-capacitor circuit that generates a transconductance 279 (-Gm).
  • Element 201 represents the inductor coil of the inductor-capacitor circuit.
  • the output of DCO 203 toggles between a positive voltage VP (node 271) and a negative voltage VN (node 277).
  • the frequency of this toggling is digitally controlled by a coarse digital tuning unit 205 and a plurality of sets of fine digital tuning elements, e.g, AO-A 15, X, X A , and BO-B 15. Together, sets AO- A 15, X, X A and BO-B 15 make up a matrix of fine tuning elements that may further be organized to drive output waveforms for individual segments of the DCO as discussed below.
  • the decoders may be used to provide mappings between one or more bits (or each bit) of the input control code and one or more fine tuning elements.
  • the mapping for the decoder may be provided by the values obtained for the gap and overlap measurements, as discussed below.
  • an auxiliary "mirror" array of fine tuning units may reside adjacent the array of fine tuning units in FIG. 112 to provide the auxiliary components for the gap case and also for the overlap case (described below). In other cases, these elements may reside outside the circuit layout of the DCO, outside the semiconductor die, or outside the module in which the DCO circuit resides.
  • FIG. 2C shows individual units 212, 214, 216, and 218, which correspond, respectively, to tuning units AO, X, and BO and X A - Each tuning unit is coupled to outputs VP and VN.
  • Input INP corresponds to one or more bits of input control codes, which control one or more switches (e.g., a gate of a CMOS transistor) in the tuning unit for granular level adjusting of the DCO output frequency.
  • Input INP controls which capacitors in the tuning elements (see FIG. 2D) of tuning units 212, 214, 216, and 080271
  • each of the tuning units 212, 214, 216, and 218 are structurally identical, although this need not be the case.
  • Each contains sixteen individual tuning elements, which may comprise by way of example, two main capacitors (see FIG. 2D) each used for making the adjustments.
  • sixteen bits are input into tuning unit AO such that a separate bit may be used to control one of the sixteen individual tuning elements.
  • tuning unit X a single bit may be used to control all sixteen elements such that all switches in the tuning unit X are either concurrently on or off. In other embodiments, two or more bits may be used to control the tuning elements in tuning element X.
  • Tuning unit BO functions in this example in a similar manner to tuning unit AO.
  • Tuning unit X A the auxiliary tuning units that may be used to cover cases of nonlinearity (gap or overlap) in the plot of output frequency versus input tuning code as described in this disclosure.
  • the auxiliary tuning unit X A includes sixteen auxiliary tuning elements, each tuning element including sixteen small capacitors.
  • an exemplary decoder mapping of tuning code to 16 X A unit control may be:
  • Bit 6 controls 4 X A units
  • Bit 5 controls 2 X A units
  • Bit 4 controls 1 X A units
  • Bit 3 controls half of the capacitors (8) in the remaining X A unit
  • Bit 2 controls four (4) capacitors in the remaining X A unit
  • Bit 1 controls two (2) capacitors in the remaining X A unit 080271
  • Bit 0 controls one (1) capacitor in the remaining X A unit
  • FIG. 2D is a circuit schematic of an exemplary digital tuning element 213 for a DCO, such as that found within one of the tuning units (e.g., X) in FIG. 2C.
  • Many of such tuning elements may be included in an array of tuning elements in a DCO, as discussed with reference to FIGS. 2B and 2C. In some cases, 4096 or more digital tuning elements 213 may be included in such an array.
  • each added fine tuning element 213 may provide in one configuration approximately 4 KHz of control to the frequency of the toggling between VP and VN. These digital tuning elements are very useful insofar as they provide sufficient resolution for the control of the frequency of the DCO in increments less than 4 KHz.
  • Each digital tuning element 213 in one aspect may comprise plate capacitors 215A and 215B, and three transistors 217A, 217B, and 217C between the plate capacitors 215A and 215B.
  • the three transistors 217A, 217B, and 217C may comprise n-channel metal-oxide semiconductor (NMOS) transistors.
  • digital tuning element 213 comprises a first plate capacitor 215A, a second plate capacitor 215B, a first transistor 217A that couples the first plate capacitor 215A to the second plate capacitor 215B, a second transistor 217B that couples the second plate capacitor 215B to ground, and a third transistor 217C that couples the first plate capacitor 215A to ground.
  • the three transistors 217A, 217B, and 217C are, in this example, controlled by a common gate voltage Vg.
  • a drain of the first transistor 217A is coupled to a first one of the plate capacitors 215A and a source of the first transistor 217A is coupled to a second one of the plate capacitors 215B.
  • a drain of the second transistor 217B is coupled to the second one of the plate capacitors 215B and a source of the second transistor 217B is coupled to the ground voltage.
  • a drain of the third transistor 217C is coupled to the first plate capacitor 215A and the source of the third transistor 217C is coupled to the ground voltage.
  • FIG. 3 is a plot showing DCO output frequency versus DCO control code for the ideal case.
  • the plot shows DCO control code on the horizontal axis and DCO output frequency in MHz on the vertical axis.
  • the horizontal axis from left to right represents a series of upwardly progressing digital control codes.
  • the control code is a 12 bit digital word comprising 4 most significant bits (MSBs) and 8 least significant bits (LSBs).
  • MSBs most significant bits
  • LSBs least significant bits
  • a plurality of lines or segments are shown, including 0000, 0001, 0010, 0011, and 0100. Each segment is referred to for simplicity by only the top 4 MSBs.
  • One segment corresponds in this example to the entire range of input control codes within a single four-bit MSB value.
  • the segment 0000 contains the range of 12-bit control codes from (0000,0000,0000) to (0000,1111,1111).
  • the next segment 0001 contains the range (0001,0000,0000) to (0001,1111,1111), and so on.
  • each segment corresponds to a separate group of tuning elements for adjusting the output frequency based on the input code.
  • Each of the 16 segments may include an array of 256 thermometer encoded elements (for the 8 LSBs). One array may be used for one segment, another array for another segment, and so on.
  • the input control code has a length of n bits
  • 2 n tuning elements may be used.
  • the example shown in FIG. 3, like the circuit of FIG. 2, represents a case of negative KV. That is, because the overall capacitance of the circuit increases as the digital input is increased, the output frequency decreases as a function of an increasing tuning code. In other aspects, the opposite may be the case. 080271
  • changes in the 4 MSBs correspond to higher level adjustments in output frequencies, whereas changes in the 8 MSBs correspond to lower level adjustments in the output frequencies.
  • the segments may be implemented in the DCO by a variety of means.
  • the DCO is configured with an array of tuning elements that, together with the remaining DCO circuit components (such as, for example, one or more circuit components discussed in connection with FIG. 2, above), collectively provide the adjustments in the output frequency waveform based on the digital input.
  • Point 106 corresponds to the code switching point from segment (0000,1111,1111) to (0001,0000,0000).
  • FIG. 3 shows a straight line depicting a linear tuning frequency as a function of the input control code
  • DCOs are not continuous. Unlike the analog VCO, the digital nature of the DCO means that the frequency output can only occur at discrete steps. However, for the majority of applications, the steps can be made very small, such as on the order of a few KHz or less frequency difference between consecutive control codes.
  • frequency tuning is monotonic over the control code.
  • the output waveform F OUT decreases linearly as a function of the digital input code.
  • any or a combination of issues such as (1) mismatches in DCO circuit layout, (2) control line impedance and parasitic value differences corresponding to different code segments, and (3) process variations, tuning discontinuities occur which disrupt the linear relationship of frequency versus control code.
  • FIG. 4 is a plot showing DCO output frequency versus DCO control code showing gaps. As in FIG. 3, the horizontal axis from left to right represents a series of upwardly 080271
  • the vertical axis shows output frequency of the DCO in MHz.
  • Four gaps G 1 , G 2 , G3, and G 4 occur between four of the segments 0001, 0010, 0011, and 0100.
  • point 419 represents the rightmost point on segment 0001, i.e. control code (0001,1111,1111)
  • point 423 represents the leftmost point on segment 0010, i.e., control code (0010,0000,0000).
  • the frequency f0 of point 419 would decrease to fl at point 423 corresponding to the next consecutive control code by the same amount (e.g., 4 KHz) that the frequency changes between consecutive control codes in other places within the segment.
  • FIG. 5 is a plot showing DCO output frequency versus DCO control code depicting occurrences of overlap. Segments 0000 and 0001 contain overlap instance 01, segments 0001 and 0010 contain overlap instance 02, segments 0010 and 0011 contain overlap instance 03, and segments 0011 and 0100 contain overlap instance 04. In the overlap case, more than one control code may correspond to the same frequency.
  • point 506 may correspond to a control code of (0010,1111,1110), whereas point 508 corresponds to (0011,0000,0011).
  • Both control codes in the overlap case may correspond to the same frequency, as illustrated by the dashed line f ⁇ . These duplicate frequencies tend to produce unreliable performance in frequency synthesizers and inject phase error into PLLs.
  • FIG. 6 is a plot showing DCO output frequency versus DCO control code showing discontinuities in the form of both gap Gl and instances 01, 02, and 03 of overlap.
  • discontinuities may be present in the form of either gaps or overlaps, or both.
  • the presence of one or the other (or both) may be determined in part by the nature of the layout and circuit mismatches between the arrays of tuning elements that drive segments having consecutive control codes.
  • FIG. 7 is a plot showing DCO output frequency versus DCO control code depicting overlap correction. For clarity in this illustration, each of the twelve bits of 080271
  • the control code are depicted for the three segments 702, 704, and 706.
  • the DCO characterized by the plot of FIG. 7, two instances of overlap are shown and are characterized by the values (Ax 1 , ⁇ overlapl) and ( ⁇ x 2 , ⁇ overlap2), respectively.
  • the DCO in an overlap case may be calibrated by dynamically redefining its inputs.
  • the switching point of the DCO may be changed between segments and a new mapping table may be created based on the new switching point.
  • the existing switching points between segments 702 to 704 and between segments 704 to 706 are:
  • ⁇ x represents the amount of corresponding change in the value of the control code relative to ⁇ overlap
  • ⁇ overlap is the amount of frequency overlap between segments (e.g., in MHz).
  • a processing system is coupled to the DCO for identifying discontinuities at initialization or start up of an integrated circuit in which a PLL is embedded. After identifying overlap instances, the processing system creates new code switching points and dynamically stores the new switching points in a mapping table.
  • FIG. 8 is a plot showing DCO output frequency versus DCO control code depicting gap correction. Three segments 802, 804, and 806 are shown. The control code is 12 bits. Here again, the particular length of the control code is for illustrative purposes only and another length may be contemplated depending on the application. [0082] A calibration procedure according to an aspect begins by redefining the DCO inputs, as before. However, because in the gap case the DCO is unable to produce certain output frequencies during normal operation, auxiliary tuning elements (FIGS. 12-13) may be used to complement the existing tuning elements in the DCO by providing the necessary frequency adjustments to the DCO output waveform. In one 080271
  • the auxiliary tuning elements are provided as an array of matched transistor elements adjacent to or part of the DCO circuit module.
  • the frequency step gap ⁇ gapl will need to be compensated by the auxiliary tuning element by turning off AUX( ⁇ gapl) elements to compensate this frequency gap and overall for this switching the tuning step will become linear. (803 a to 803b).
  • the frequency step gap ⁇ gap2 will need to be compensated by the auxiliary tuning element by turning off AUX( ⁇ gap2) elements to compensate this frequency gap and overall for this switching the tuning step will become linear. (805 a to 805b).
  • the 15 auxiliary tuning elements may, but need not, be discrete, and can be obtained, for example, from a large auxiliary tuning element with different controls for different switching points. This is explained below.
  • the number of auxiliary elements to be employed may depend on a number of factors such as the width of the gap, the frequency resolution of the DCO, and other factors. In general, a smaller frequency resolution of the DCO means that more auxiliary tuning elements will be needed to compensate for missing output frequencies.
  • Equations (1.3) and (1.4) may be generalized for y occurrences of overlaps for all DCO segments, and (2) equations (1.7) and (1.8) may be generalized for z occurrences of gaps for all DCO segments.
  • the new output frequency waveforms for the gap case may be realized using selected tuning elements of the auxiliary input code array.
  • the overlap frequency between adjacent rows corresponding to the four least significant bits (lsb) of OVR of the tuning step i.e. OVR(OOOO, 0001) to be the overlap code between row 0000 and 0001 switching.
  • the gap frequency between adjacent rows corresponding to the GAP lsb of the tuning step i.e. GAP(OOOO, 0001) as the gap code between row 0000 and 0001 switching.
  • output aux 1000,0000 (At row 1000, the auxiliary tuning elements block code is in the center 1000,0000 with half tuning elements on and half off; this configuration provide optimum coverage for all conditions)
  • output aux 1000,0000 + OVR(1000, 1001) - GAP(IOOO, 1001)
  • output aux 1000,0000 + OVR(1000, 1001) - GAP(IOOO, 1001) + OVR(IOOl, 1010) - GAP(IOOl, 1010)
  • output aux 1000,0000 - OVR(0111,1000) + GAP(0111,1000)
  • output aux 1000,0000 - OVR(Ol 11,1000) + GAP(Ol 11,1000) - OVR(Ol 10,0111) + GAP(Ol 10,0111)
  • output aux 1000,0000 - OVR(Ol 11,1000) + GAP(Ol 11,1000) - OVR(Ol 10,0111) + GAP(Ol 10,0111) - OVR(0101,0110) + GAP(0101,0110) (similar equations for row 0100, 0011, 0010, 0001,0000 with same principle) 080271
  • FIG. 9A is a diagram of a calibration circuit for measuring DCO discontinuities using a closed loop PLL.
  • the technique shown herein is well suited for applications involving integrated circuits using DPLLs, however, the technique can be used for any application where a PLL is involved and at least one DCO provides an oscillator function for the PLL.
  • the technique can be employed either as a "factory" procedure (or by the chip supplier, etc.), or alternatively, it can be an automated process upon device startup or chip initialization.
  • the calibration circuit can work in conjunction with "on board” processing circuitry to implement the calibration function (see FIG. 13); alternatively, an off chip module or external computer may be used to calibrate the device.
  • the tuning mechanism in FIG. 9A relies on operating the PLL and taking voltage or current measurements off the loop filter.
  • the frequency response across the DCO segments may be quantified by measuring the corresponding DCO RMS control value at the loop filter in closed loop operation.
  • the DCO control code will tend to have an appreciable RMS error in a PLL closed-loop operation when overlaps or gaps are present. A measurement of the magnitude of such errors provide a quantification of the necessary amount of correction.
  • Control line 912 which is coupled to the input of low pass filter (LPF) 902, is also coupled to the output of the loop filter (not shown) from a PLL associated with the DCO to be calibrated.
  • line 912 represents the closed loop DCO control code.
  • a filtered version 913 of the control code (via LPF 902) is compared with itself at comparator 904 to yield output waveform 915.
  • RMS Detector 906 measures the DCO control RMS value of waveform 915 as value 919. The value is filtered (917), then compared at comparator 910 with a program threshold value 914 to determine the presence of a gap or overlap as output 916.
  • FIG. 9B is a series of plots showing the waveforms for the circuit of FIG. 9A.
  • Dashed waveform 918 shows the DCO control code 912 in the presence of DCO discontinuities, while waveform 920 shows the control code 912 with substantially no discontinuities.
  • Waveform 918 has a significantly greater amount of oscillation, reflecting the instability of the closed loop as it tries to phase correct itself to account for 080271
  • LPF 902 is used to remove high frequency noise from waveform 912, and the resulting comparison produces waveform 915.
  • Waveform 915 produces similar waveforms to that of 912, centered at a zero voltage in light of the comparison.
  • the RMS detector 906 measures the corresponding RMS value for the discontinuity. The RMS measurement may be more useful in the sense that the voltage output of a closed loop system generally will oscillate due to the noise inherent in the feedback loop. If there is a discontinuity in the tuning range and the DCO is locked close to this range, the DCO will move around this discontinuity and the loop will become noisier as it jumps around to attempt to compensate in response to the discontinuity. An RMS detector can therefore be used to quantify the magnitude of the discontinuity.
  • RMS detector can be implemented using a variety of means.
  • RMS detector 906 may comprise any circuit capable of measuring either the absolute value or the AC RMS value of the voltage at the output of the PLL loop filter, which may be stored in non-volatile memory.
  • RMS detector 906 is implemented as a digital signal processor which records the current comparator 904 output value, squares it, adds it to the previous squared value, then takes the square root of a prescribed number of samples.
  • Waveform 917 shows the output of the RMS detector 906 as an absolute value. Where a gap is present, the waveform 917 generally will jump to a higher or lower bandwidth.
  • the measured value 919 of the discontinuity is next compared to a programmed threshold 914 in comparator 910 to determine whether a discontinuity in fact exists.
  • the programmed threshold 914 will be defined to prescribe some degree of tolerance of acceptability, above which very small discontinuities deemed not to unduly impact performance in light of the criteria deemed important for the application are considered acceptable.
  • the programmed threshold 914 may vary based on the needs of the application and the desired precision of the device.
  • the DPLL control code can be programmed to sweep across the DCO segments to measure the corresponding tuning RMS value for both gap and overlap.
  • the DCO can be characterized to obtain the minimized trial code range.
  • the RMS value measurement is a built-in functional in DPLL; that is, the measurement is a function of the internal configuration of the DPLL. Different frequency bands can have different correction codes.
  • an estimation for the magnitude of the gap and/or overlap measurements can 080271
  • the DCO can be swept using the estimated values and the output values remeasured. Using this trial and error approach, precise correction values of gap and overlap may be obtained.
  • the open loop frequency of the DCO may be measured to determine overlap and gap occurrences and quantify these values for calibration.
  • a PLL is not needed, meaning that a DCO in any circuit application can be calibrated using this approach.
  • DCO frequency may be measured using an accumulator and a time to digital converter for providing integer and fractional cycle counts, respectively.
  • FIG. 1OA is a diagram of a calibration circuit for measuring DCO discontinuities using an open loop DCO frequency.
  • the range of DCO control codes is input at 1002 into an RF accumulator 1003 and a time to digital converter (TDC) 1009, both of which are driven by a reference frequency 1004 of the type 1010 (FIG. 10B).
  • TDC time to digital converter
  • the frequency counter configuration enables a determination of the frequency based on a cycle count.
  • RF accumulator 1003 measures the integer count
  • TDC 1004 measures the fractional count.
  • an adder may be used in the event of an accumulator overflow.
  • RF accumulator 1003 is a 20 bit accumulator.
  • RF accumulator 1003 and TDC 1009 are provided to accumulator with deglitching block 1007.
  • Accumulator with deglitching block 1007 is also supplied with reference frequency 1004 and with enable/disable input 1006 (Fig. 10B).
  • Enable/disable input 1006 includes a rising edge S TR which triggers the beginning of the cycle count, and a falling edge S TP which terminates the cycle count.
  • Output waveform 1008 is produced.
  • the output of RF accumulator 1003 is a modulo accumulator output
  • the output of negative feedback element 1005 is an accumulator step output.
  • Accumulator with deglitching block 1007 may resolve any timing offset between the integer and fractional waveforms. In this fashion, block 1007 may include a detection circuit which lines up the cycle counts in time.
  • the output 1008 is a measurement of DCO cycles for the prescribed measurement period. Discontinuities may be determined and quantified based on identifying different cycle counts for different tuning codes. Output frequency of the DCO is obtained by taking the inverse of the cycle count. The range of input codes can be input and the corresponding measurements can be taken across the DCO to correct nonlinearities. 080271
  • FIG. 11 is a block diagram of components for tuning a DCO.
  • Component set 1124 includes phase accumulator 1104, phase register 1104, DAC 1106, tuning elements 1108, auxiliary tuning elements 1110, and loop filter 1111.
  • Component set 1126 includes reference clock 1114, processing system 1116, memory 1118, and calibration circuitry 1120.
  • the reference clock 1114 may comprise a crystal oscillator used for the DCO.
  • component sets 1124 and 1126 are implemented on an integrated circuit, such as the wireless communication device IOOA or IOOB of FIG. 1.
  • the component sets 1124 and 1126 may reside on a CDMA transceiver chip for use within a mobile station for transmitting and receiving wireless signals to and from a base station.
  • the transceiver chip may include a digital block which includes various digital signal processing functions as well as an application processor. One or more of these blocks act as the processing system 1116. Memory 1118 may be included as one or more on-chip buffers or registers. Calibration circuitry 1120 may include one or more of the circuit components illustrated in FIGS. 9A and FIG. 1OA for determining values for gap and overlap.
  • component set 1126 may be realized on another chip or module.
  • processing system 1116 may be included as another chip in a chipset.
  • the processing may be performed in software by a local computer at a bench station.
  • Memory 1118 may be a separate memory from the chip where the DCO resides, such as a RAM, ROM, PROM, hard drive, removable storage, or another suitable media.
  • the calibration circuitry 1120 may be integrated into the digital signal processing circuitry or into the software algorithms. Alternatively, it may be provided on another module.
  • an on-chip application processor, memory buffer, comparator set, accumulator, time to digital converter and accumulator to degaji are all provided on one CDMA transceiver chip containing a DPLL with a DCO. It will be appreciated, however, that any type of circuit device using a DCO may be used, and a DPLL is not required.
  • the components in set 1124 are grouped merely to indicate the interaction between these components as functionally part of the DPLL, rather than to indicate that they are necessarily physically proximate or that the set 1126 is functionally distinct. Lines 1119 serve to indicate the general functional relationship between components in set 1126 rather than any specific relationship between the two linked components. Line 1122 indicates that, in one aspect, the two component sets (or some variation thereof) 080271
  • Lines 1121, 1125, 1127, and 1123 may be segregated into different sets or modules. Lines 1121, 1125, 1127, and 1123 also demonstrate the interaction between the components of set 1126 with those of set 1124.
  • Auxiliary tuning elements 1110 are shown in set 1124. For gap cases, one or more such tuning elements are selected as discussed above.
  • FIG. 12 is a flow diagram of a method for calibrating a DCO in accordance with an aspect of the disclosure.
  • an initial set of DCO codes are determined for use with the DCO.
  • the determination of this initial set may simply be an identification of a specified set of codes (1202A) designated by a manufacturer or chip supplier.
  • the determination may involve determining a new set of codes (1202B), such as at a testing facility or in a procedure done by a supplier.
  • the determination may be done in other ways (1202C), such as a combination of using known codes along with making custom determinations.
  • the initial set is stored in on-chip memory 1118.
  • a range of output frequencies is thereupon identified (1204).
  • this step is automated by the processing system 1116 via code written and stored in on- chip memory 1118, and performed by the processing system 1316 along with calibration circuitry 1120 using one or more of the techniques discussed with reference to FIGS. 9 and 10.
  • a frequency counter may be used at the output of the accumulator 1007 in FIG. 9 to count the number of cycles, which in turn can be used to determine the output frequency for each input code.
  • steps 1204 and steps 1206 are not consecutive, but rather repeat in sequence for each a plurality of input codes in the initial set. In other aspects, step 1204 may occur first. A variety of configurations are possible without departing from the spirit and scope of the disclosure. If an overlap is present, the control codes corresponding to the overlapping frequencies may be removed (1208), and a revised set of control codes is recorded (1211). If a gap is present, control codes are added to produce frequencies to fill the gap (1210), and the revised set is recorded. Control may revert back to 1206 in the configuration where one, a subset, or a segment of control codes are analyzed at a time. 080271
  • the new set may be stored in a DCO mapping table, which may comprise a non-volatile memory. At that point, calibration is complete and the process ends (1212).
  • the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
  • Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
  • a storage media may be any available media that can be accessed by a computer.
  • such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
  • any connection is properly termed a computer-readable medium.
  • the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave
  • the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium.
  • Disk and disc includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
  • the various illustrative logical blocks, modules, and circuits described in connection with the aspects disclosed herein, including the processing system 1316 of FIG. 13, may be implemented within or performed by an integrated circuit ("IC"), an access terminal, or an access point.
  • the IC may comprise a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, electrical components, optical components, mechanical components, or any combination thereof designed to perform the functions described herein, and may execute codes or instructions that reside within 080271
  • a general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine.
  • a processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
  • the teachings herein may be incorporated into (e.g., implemented within or performed by) a variety of apparatuses (e.g., devices).
  • a phone e.g., a cellular phone
  • PDA personal data assistant
  • an entertainment device e.g., a music or video device
  • a headset e.g., headphones, an earpiece, etc.
  • a microphone e.g., a medical device, e.g., a biometric sensor, a heart rate monitor, a pedometer, an EKG device, etc.
  • a user I/O device e.g., a watch, a remote control, a light switch, a keyboard, a mouse, etc.
  • a tire pressure monitor e.g., a computer, a point-of-sale device, an entertainment device, a hearing aid, a set-top box, or any other suitable device.
  • teachings herein are not limited to wireless devices, but may extend to any electronic device, module, or circuit, in which a DCO is or can be implemented.
  • a device may include an IC or processor in itself, or another electrical circuit component, whether a "stand alone" component or module or an integrated part of another module or electronic device.

Abstract

Techniques for calibrating digitally controlled oscillators (DCOs) are disclosed. In an aspect of the disclosure, an initial set of control codes for operating the DCO is determined. A range of output frequencies produced from the initial set is identified. Gaps or instances of overlap are identified in the frequency range. For the overlap case, control codes are removed from the initial set that correspond to the overlap instance to establish a revised set. For the gap case, control codes are added to the initial set for producing frequencies values that fill the gap. An apparatus for performing the same is also disclosed.

Description

080271
DYNAMIC CALIBRATION TECHNIQUES FOR DIGITALLY CONTROLLED OSCILLATOR
BACKGROUND
Field
[0001] This disclosure relates generally to the field of electronics, and more specifically, but not exclusively, to digitally controlled oscillators.
Background
[0002] A digitally controlled oscillator (DCO), sometimes referred to as a numerically controlled oscillator, is an electronic circuit for synthesizing a range of frequencies from a fixed reference clock. The output frequency generated by the DCO at a particular time is a function of the value a digital input or control code. DCOs may be used as frequency synthesizers for generating waveforms for a variety of electronic circuit- based applications. DCOs are being increasingly employed, for example, in the arenas of wireless communications, high resolution imaging, high speed networking, display technology, digital signal processing, and a host of other circuit-intensive areas. [0003] For applications involving conventional wireless communications devices including mobile phones and portable computers, the DCO-produced waveforms may be used to implement functions such as clock and data recovery, carrier wave synthesis, signal encoding/decoding and modulation/demodulation, programmable waveform generation, and the like. Many recent applications involving wireless communications have seen the widespread use of DCOs implemented within digital phase locked loops (DPLLs). Due to its digital nature, the DCO can offer fast switching between output frequencies, high resolution, and operation over a broad frequency spectrum. DCOs may also offer superior noise rejection over conventional circuit techniques by reducing the number of analog circuit components, and reducing or eliminating noise susceptible parameters such as oscillator control voltages, etc.
[0004] As the demand for smaller DCOs for fast switching between more granular output frequencies continues to escalate, so too have the problems associated with parasitic circuit values and impedance mismatches for the various circuit elements that make up the DCOs. In practical implementations, linear input codes tend to produce 080271
nonlinear output frequencies from DCOs — specifically, gaps or instances of overlap in a plot of output frequency versus input control code.
[0005] A need persists in the art for effectively identifying and correcting these instances of nonlinearity in a DCO.
SUMMARY
[0006] Techniques for calibrating digitally controlled oscillators (DCOs) are disclosed. An initial set of control codes for operating the DCO may be determined. A range of output frequencies produced from the initial set may be identified. Gaps or instances of overlap may be identified in the frequency range. For the overlap case, control codes may be removed from the initial set that correspond to the overlap instance to establish a revised set. For the gap case, control codes may be added to the initial set for producing frequencies values that fill the gap
[0007] In one aspect of the disclosure, a method of calibrating a digitally controlled oscillator (DCO) includes determining an initial set of control codes for operating the DCO, identifying a range of output frequencies produced from the initial set, identifying at least one instance of overlap in the frequency range, and removing control codes from the initial set that correspond to the at least one overlap instance to establish a revised set.
[0008] In another aspect of the disclosure, a method of calibrating a digitally controlled oscillator (DCO) includes determining an initial set of control codes for operating the DCO, identifying a range of output frequencies produced from the initial set, identifying at least one gap in the frequency range, and adding control codes to the initial set, the added control codes corresponding to output frequency values that substantially fill the at least one gap.
[0009] In yet another aspect of the disclosure, a wireless communication device includes a digitally controlled oscillator (DCO), and a processing system configured to determine an initial set of control codes for operating the DCO, to identify a range of output frequencies produced from the initial set, to identify at least one instance of overlap in the frequency range, and to remove control codes from the initial set that correspond to the at least one overlap instance to establish a revised set. [0010] In still another aspect of the disclosure, a wireless communication device, includes a digitally controlled oscillator (DCO), and a processing system configured to 080271
determine an initial set of control codes for operating the DCO, to identify a range of output frequencies produced from the initial set to identify at least one gap in the frequency range, and to add control codes to the initial set, the added control codes corresponding to output frequency values that substantially fill the at least one gap. [0011] In a further aspect of the disclosure, an apparatus includes a digitally controlled oscillator (DCO), means for determining an initial set of control codes for operating the DCO, means for identifying a range of corresponding output frequencies, means for identifying at least one instance of overlap in the frequency range, and means for removing control codes from the initial set that correspond to the at least one overlap instance to establish a revised set.
[0012] In still a further aspect of the disclosure, an apparatus includes a digitally controlled oscillator (DCO), means for determining an initial set of control codes for operating the DCO, means for identifying a range of output frequencies produced from the initial set, means for identifying at least one gap in the frequency range, and means for adding control codes to the initial set, the added control codes corresponding to output frequency values that substantially fill the at least one gap. [0013] In another aspect of the disclosure, a computer-program product including a machine-readable medium including instructions executable by a machine for performing a method of calibrating a digitally controlled oscillator (DCO) includes determining an initial set of control codes for operating the DCO, identifying a range of output frequencies produced from the initial set, identifying at least one instance of overlap in the frequency range, and removing control codes from the initial set that correspond to the at least one overlap instance to establish a revised set. [0014] In a further aspect of the disclosure, a computer-program product including a machine-readable medium including instructions executable by a machine for performing a method of calibrating a digitally controlled oscillator (DCO) includes determining an initial set of control codes for operating the DCO, identifying a range of output frequencies produced from the initial set, identifying at least one gap in the frequency range, and adding control codes to the initial set, the added control codes corresponding to output frequency values that substantially fill the at least one gap. [0015] It is understood that other aspects of the invention will become readily apparent to those skilled in the art from the following detailed description, wherein various aspects of the invention are shown and described by way of illustration. As will be 080271
realized, the invention is capable of other and different configurations and implementations and its several details are capable of modification in various other respects, all without departing from the scope of this disclosure. Accordingly, the drawings and detailed description are to be regarded as illustrative in nature and not as restrictive.
BRIEF DESCRIPTION OF THE DRAWINGS
[0016] FIG. IA is a block diagram of a wireless communication device incorporating a wireless receiver.
[0017] FIG. IB is a block diagram of a wireless communication device incorporating a wireless transmitter.
[0018] FIG. 2A is a block diagram of a digitally controlled oscillator (DCO).
[0019] FIGS. 2B is a circuit diagram of an illustrative DCO.
[0020] FIG. 2C is a circuit diagram of illustrative tuning units.
[0021] FIG. 2D is a circuit diagram of illustrative tuning elements.
[0022] FIG. 3 is a plot showing DCO output frequency versus DCO control code for the ideal case.
[0023] FIG. 4 is a plot is a plot showing DCO output frequency versus DCO control code depicting gaps.
[0024] FIG. 5 is a plot showing DCO output frequency versus DCO control code depicting instances of overlap.
[0025] FIG. 6 is a plot showing DCO output frequency versus DCO control code depicting gaps and instances of overlap.
[0026] FIG. 7 is a plot showing DCO output frequency versus DCO control code depicting overlap correction.
[0027] FIG. 8 is a plot showing DCO output frequency versus DCO control code depicting gap correction.
[0028] FIG. 9A is a diagram of a circuit for measuring DCO discontinuities using a closed loop PLL.
[0029] FIG. 9B is a series of plots showing the waveforms for the circuit of FIG. 9A.
[0030] FIG. 1OA is a diagram of a circuit for measuring DCO discontinuities using an open loop DCO frequency.
[0031] FIG. 1OB shows waveforms for the circuit of FIG. 10 A. 080271
5
[0032] FIG. 11 is a block diagram of components for tuning a DCO. [0033] FIG. 12 is a flow diagram of a method for tuning a DCO.
DETAILED DESCRIPTION
[0034] The detailed description set forth below in connection with the appended drawings is intended as a description of various configurations of the invention and is not intended to represent the only configurations in which the invention may be practiced. The detailed description includes specific details for the purpose of providing a thorough understanding of the invention. However, it will be apparent to those skilled in the art that the invention may be practiced without these specific details. In some instances, well-known structures and components are shown in block diagram form in order to avoid obscuring the concepts of the invention.
[0035] DCOs have increasingly been implemented within wireless communication devices that transmit and receive wireless signal. Where a DCO is used to generate carrier waveforms, baseband signals are modulated on the carrier waveforms, and then the modulated carrier waveforms are transmitted to other devices as wireless signals. The receiving devices may use a DCO, in turn, to synthesize the carrier and remove the baseband signal for demodulation.
[0036] FIGS. IA and IB are block diagrams of wireless communication devices IOOA and IOOB associated with wireless signal reception and transmission, respectively. Each of the wireless communication devices IOOA and IOOB contains a respective frequency synthesizer 160A and 160B. The respective frequency synthesizer 160A and 160B includes a DCO 145 A and 145B for generating an output waveform of a particular frequency that is a function of a digital control code input into the respective DCO (not shown). The DCO in one aspect may include a plurality of tuning elements and an inductor capacity "tank" configuration, depending on the specific design. Illustrative architectures of an DCOs according to this disclosure are discussed below. [0037] The wireless communication device IOOA of FIG. IA may implement a so- called "Zero-IF" architecture, although this disclosure is not limited in this respect. In Zero-IF architectures, WCD IOOA converts incoming signals directly into baseband signals and, specifically, does not first convert the received signals to intermediate frequency (IF) signals. 080271
[0038] Wireless communication device IOOA includes antenna 120A that receives incoming wireless signals. By way of example, the incoming wireless signals may comprise code division multiple access (CDMA) modulated signals sent from a CDMA base station. GSM signals or other types of wireless signals, however, may also be supported. In the illustrated example, wireless signal received by antenna 120A can be processed by RF receiver 140A, such as by passing the signal through low-noise amplifier (LNA) and one or more filters. The wireless signal is then mixed down to baseband by mixer 150A (sometimes called a "down- mixer" or "de-mixer"). Mixer 150A may receive reference waveforms produced by frequency synthesizer 16OA which may implement a DCO to generate an oscillating frequency. As compared to the voltage controlled oscillator - the DCO 's analog based counterpart - the DCO may improve the frequency synthesis process, possibly reduce noise in the system, and allow for simplification of various components of frequency synthesizer 160A and device IOOA.
[0039] Mixer 150A produces baseband signals which can be filtered and sampled by analog-to-digital (A/D) converter 170A to produce corresponding digital samples of the signals. One or more amplifiers 180A, such as a digital voltage gain amplifier (VGA) or another suitable amplifier type, may be used to appropriately scale the digital baseband signal, either by amplifying or by attenuating the digital values according to gain values received from an automatic gain control unit (not shown). [0040] After the scaling by amplifier 180A, the scaled digital baseband signal is provided to modem unit 190A, which may comprise a demodulator. For CDMA-based applications, modem 190A may include a so-called "RAKE" receiver, which separates and tracks signals received from different sources, e.g., different base stations, or signals received from the same source via multiple propagation paths, i.e., multi-path signals.
[0041] For example, modem unit 190A may include a number of "fingers" that perform dispreading, Walsh decovering and accumulation, pilot time tracking and frequency tracking. Each finger of modem unit 190A outputs pilot and data symbols for the corresponding path. Symbol demodulation and/or other signal processing may then be performed on the pilot and data symbols.
[0042] As desired, wireless communication device IOOA may also include additional components (not shown) such as filters and various digital or analog signal processing 080271
7 components. Wireless communication device may alternatively or additionally be employed to process signals using time division multiple access (TDMA), or frequency division multiple access (FDMA), or CDMA, or some combination of these protocols. [0043] Of course, for other standards or techniques, RAKE fingers may not be used, although the DCO described herein may be equally useful for such standards or techniques.
[0044] FIG. IB is a block diagram of a wireless communication device incorporating a wireless transmitter. The devices in FIGS. IA and IB may be part of the same wireless communication device (for example, they may be part of a wireless transceiver); alternatively, they may be separate devices, or discrete modules on the same device. The wireless communication device IOOB in FIG. IB may function in a similar manner as the wireless communication device of FIG. IA, except that a transmission function is performed.
[0045] A wireless signal may be output from modem unit 190B, where modem unit 190B may comprise a modulator for modulating a signal for transmission over antenna 120B. For example, in a CDMA system, the signal may be modulated at modem unit 190B with a PN code and/or spread with a Walsh code, or both, to produce a digital baseband signal. The digital signal output from modem unit 190B may thereupon by converted to an analog waveform by digital to analog converter (DAC) 170 to produce an analog baseband signal.
[0046] Frequency synthesizer 160B provides carrier waveforms to mixer 150B (sometimes called an "up-mixer"). Frequency synthesizer 160B includes DCO 145B. Mixer 150B combines the analog baseband signal into the carrier signal and forwards the modulated carrier signal to amplifier 180B for scaling. Amplifier 180B may include one or more voltage gain amplifiers (VGAs), driver amplifiers (DAs), and power amplifiers (PAs), depending on the circuit type and application. The different amplifiers may reside on the same integrated circuit chip, or multiple different chips or modules. Once the modulated signal has been adequately amplified or attenuated, RF transmitter 140B may transmit the modulated RF signal from wireless communication device IOOB via antenna 120B.
[0047] It will be appreciated that the wireless communication devices IOOA and IOOB of FIGS. IA and IB are merely exemplary devices that can utilize the DCO calibration techniques described herein. Many other types of devices can also equally benefit from 080271
the teachings of this disclosure, including other types of wireless communication devices, or more generally, any wireless or wired devices that uses a DCO. [0048] As noted above, some wireless standards make use of two or more communication techniques, such as GSM systems, which use a combination of TDMA and FDMA modulation. GSM stands for Global System for Mobile Communications. A number of wireless networking standards, and other wireless communication standards and techniques have also been developed, including several IEEE 802.11 standards, Bluetooth standards, and emerging ultra-wideband (UWB) techniques and standards. Circuits employing these standards and techniques may use oscillators in general, and DCOs in particular, in the generation and demodulation of wireless signals. [0049] Exemplary wireless communication devices include cellular or satellite radiotelephones, radiotelephone base stations, computers that support one or more wireless networking standards, wireless access points for wireless networking, PCMCIA cards incorporated within portable computers, direct two-way communication devices, personal digital assistants (PDAs) equipped with wireless communication capabilities, and the like.
[0050] Examples of computing devices used in wireless networks, which can equally benefit from the DCO calibration techniques described in this disclosure, may include laptop or desktop computers, mobile phones such as cellular radiotelephones and satellite radiotelephones, data terminals, data collection devices, PDAs and other portable and non-portable computing devices.
[0051] FIG. 2 A is a block diagram of an exemplary digitally controlled oscillator (DCO) 200. In this example, DCO 200 is an inductor-capacitor circuit that produces an oscillating output having a frequency that is a function of the LC circuit. The output frequency may be changed, for example, by changing the capacitance of components of the DCO 200. DCO 200 includes two inputs. At a first input 202, DCO 200 receives an n-bit wide digital word or tuning code. A reference clock signal is streamed into the clock input 206. At output 204, a signal of frequency FOuτ is produced. FOuτ is adjusted by changing the value of the tuning code at input 202. In this example, FOuτ is linearly inversely proportionally to the input tuning code. Thus, if n = 4, and the input tuning code is 0100 a frequency Fl may be produced; if the tuning code is then changed to 0101, in the ideal case a frequency F2 that is slightly lower than Fl may thereupon be produced. 080271
[0052] The output signal may be a square wave (as shown), a sine wave, or any other form, depending on the specific circuit configuration of the DCO. [0053] In practice, the DCO comprises a number of tuning units and tuning elements for incrementally adjusting the frequency in response to a set of digital inputs. [0054] FIG. 2B is a circuit diagram of a DCO 203 according to an aspect of the disclosure. It will be appreciated that the DCO may be configured in a variety of ways depending on the application. The input to the DCO 203 is the tuning code, which in this illustration is a 12 bit binary number. The DCO output is a voltage waveform (for example, at nodes 271 and 277) at a frequency determined in part by the tuning code, as discussed below.
[0055] The example in FIG. 2B uses a plurality of decoders. It will be appreciated by those in the art, however, that another number of decoders, or in some instances one decoder, may be used, depending on the configuration. Alternatively, the decoding function may be performed in software, through one or more digital signal processors, or other hardware. In this example, the four most significant bits of the 12 bit tuning code are input into decoder 211, which in turn are used to provide decoded signals to ROWO through ROW 15 as well as ROW(AUX). DCO 203 includes a matrix of sixteen rows (ROWO to R0W15) and sixteen columns (COL 0 to COL 15). Each of COL 0 through COL 15 is associated with one of sixteen X tuning units (the slashes 281 indicate that the X and XA tuning units are repeated throughout the middle columns although not shown explicitly). Each of the sixteen X tuning units is also found in one of the sixteen rows ROW 0 through ROW 15. Thus, in this configuration, each of the 16x16 = 256 X tuning units may be addressed by a particular row and column. In addition to the sixteen X tuning units, each row from ROWO-ROWl 5 includes an AO tuning unit and a BO tuning unit. Each output of the ROWO-ROW 15 outputs from decoder 211 feeds into each one corresponding A unit, the sixteen X units, and one B unit. Further, sixteen XA auxiliary tuning units are controlled by a signal ROW(AUX) from decoder 211, which may comprise a multi-bit signal.
[0056] The entire 12 bit tuning code in this example is also input into decoder 209, which produces 16 bits of decoded data for controlling tuning units AO and BO. The four middle bits of the 12 bit tuning code may be input into decoder 207 to produce the decoded bits for controlling COL 0 through COL 15. 080271
10
[0057] In the configuration of FIG. 2B, DCO 203 includes an inductor-capacitor circuit that generates a transconductance 279 (-Gm). Element 201 represents the inductor coil of the inductor-capacitor circuit. The output of DCO 203 toggles between a positive voltage VP (node 271) and a negative voltage VN (node 277). The frequency of this toggling is digitally controlled by a coarse digital tuning unit 205 and a plurality of sets of fine digital tuning elements, e.g, AO-A 15, X, XA, and BO-B 15. Together, sets AO- A 15, X, XA and BO-B 15 make up a matrix of fine tuning elements that may further be organized to drive output waveforms for individual segments of the DCO as discussed below.
[0058] Coarse digital tuning unit 205 may in one aspect be used to provide larger output frequency adjustments, e.g., on the order of 5 MHz per step (or LSB; with 8 bit binary control total, the coarse tuning range is about 256 x 5 MHz = 1.28 GHz), whereas the fine tuning elements may be used to provide fine tuning, e.g., on the order of 4KHz or less per step (or LSB; with 12 bit binary control, the total fine tuning range is about 4096 x 4 KHz = 16.384 MHz.).
[0059] In the example above, the decoders may be used to provide mappings between one or more bits (or each bit) of the input control code and one or more fine tuning elements. The mapping for the decoder may be provided by the values obtained for the gap and overlap measurements, as discussed below. One skilled in the art, upon perusal of this written description, will appreciate that these mappings may be achieved through various known techniques without departing from the spirit and scope of the present disclosure.
[0060] In other embodiments, an auxiliary "mirror" array of fine tuning units (such as XA) may reside adjacent the array of fine tuning units in FIG. 112 to provide the auxiliary components for the gap case and also for the overlap case (described below). In other cases, these elements may reside outside the circuit layout of the DCO, outside the semiconductor die, or outside the module in which the DCO circuit resides. [0061] FIG. 2C shows individual units 212, 214, 216, and 218, which correspond, respectively, to tuning units AO, X, and BO and XA- Each tuning unit is coupled to outputs VP and VN. Input INP corresponds to one or more bits of input control codes, which control one or more switches (e.g., a gate of a CMOS transistor) in the tuning unit for granular level adjusting of the DCO output frequency. Input INP controls which capacitors in the tuning elements (see FIG. 2D) of tuning units 212, 214, 216, and 080271
11
218 are on and off, and can thereby add or remove incremental amounts of capacitance to or from the circuit to achieve a desired output frequency. In the circuit shown, activating the switch will add additional capacitance to the tuning unit, thereby reducing the frequency of the output waveform incrementally. In one example, a logical one ("high" voltage level) will turn on the NMOS transistor and thereby activate the switch, accomplishing this goal. For this reason, more logical ones - and hence a higher tuning code - result in a lower frequency in one aspect.
[0062] In the example of FIG. 2C, each of the tuning units 212, 214, 216, and 218 are structurally identical, although this need not be the case. Each contains sixteen individual tuning elements, which may comprise by way of example, two main capacitors (see FIG. 2D) each used for making the adjustments. In the simplified illustration shown, sixteen bits are input into tuning unit AO such that a separate bit may be used to control one of the sixteen individual tuning elements. For tuning unit X, a single bit may be used to control all sixteen elements such that all switches in the tuning unit X are either concurrently on or off. In other embodiments, two or more bits may be used to control the tuning elements in tuning element X. Tuning unit BO functions in this example in a similar manner to tuning unit AO. It will be appreciated that different types and numbers of tuning units and tuning elements may be equally suitable. [0063] Tuning unit XA, the auxiliary tuning units that may be used to cover cases of nonlinearity (gap or overlap) in the plot of output frequency versus input tuning code as described in this disclosure. In one aspect, the auxiliary tuning unit XA includes sixteen auxiliary tuning elements, each tuning element including sixteen small capacitors. Thus, in this example, sixteen units XA would have 162 = 256 unit capacitors to control, requiring 8 bits binary control from the decoder as shown in FIG. 2C. In this case, an exemplary decoder mapping of tuning code to 16 XA unit control may be:
Aux MSB (Bit 7) controls 8 XA units
Bit 6 controls 4 XA units
Bit 5 controls 2 XA units
Bit 4 controls 1 XA units
Bit 3 controls half of the capacitors (8) in the remaining XA unit
Bit 2 controls four (4) capacitors in the remaining XA unit
Bit 1 controls two (2) capacitors in the remaining XA unit 080271
12
Bit 0 controls one (1) capacitor in the remaining XA unit
[0064] FIG. 2D is a circuit schematic of an exemplary digital tuning element 213 for a DCO, such as that found within one of the tuning units (e.g., X) in FIG. 2C. Many of such tuning elements may be included in an array of tuning elements in a DCO, as discussed with reference to FIGS. 2B and 2C. In some cases, 4096 or more digital tuning elements 213 may be included in such an array. Where the digital tuning elements 213 comprise fine tuning elements, each added fine tuning element 213 may provide in one configuration approximately 4 KHz of control to the frequency of the toggling between VP and VN. These digital tuning elements are very useful insofar as they provide sufficient resolution for the control of the frequency of the DCO in increments less than 4 KHz. Of course, the level of resolution of any given DCO remains a design detail that will vary depending on the nature of the application. [0065] Each digital tuning element 213 in one aspect may comprise plate capacitors 215A and 215B, and three transistors 217A, 217B, and 217C between the plate capacitors 215A and 215B. The three transistors 217A, 217B, and 217C may comprise n-channel metal-oxide semiconductor (NMOS) transistors. More specifically, digital tuning element 213 comprises a first plate capacitor 215A, a second plate capacitor 215B, a first transistor 217A that couples the first plate capacitor 215A to the second plate capacitor 215B, a second transistor 217B that couples the second plate capacitor 215B to ground, and a third transistor 217C that couples the first plate capacitor 215A to ground.
[0066] The three transistors 217A, 217B, and 217C are, in this example, controlled by a common gate voltage Vg. A drain of the first transistor 217A is coupled to a first one of the plate capacitors 215A and a source of the first transistor 217A is coupled to a second one of the plate capacitors 215B. A drain of the second transistor 217B is coupled to the second one of the plate capacitors 215B and a source of the second transistor 217B is coupled to the ground voltage. A drain of the third transistor 217C is coupled to the first plate capacitor 215A and the source of the third transistor 217C is coupled to the ground voltage.
[0067] When the control bit (i.e., the gate voltage Vg to the transistors) is high (digital bit = 1), all three transistors 217A, 217B, and 217C will be in the on state. When this occurs, the two capacitors 215A and 215B are effectively shunted to ground, discharging the voltages on the capacitors. When the control voltage (Vg) is low 080271
13
(digital bit = 0), all three transistors 217A, 217B, and 217C will be turned off. When this occurs, the two capacitors 215A and 215B will be floating at the sides of the transistors 217A, 217B, and 217C, effectively providing no loading to the circuit. The difference between the two states effectively changes capacitance in the digital tuning array to adjust the output frequency of toggling between VP and VN in a very fine increment. The two transistors 217B and 217C in this example provide fast recovery for the two nodes between capacitors 215B and 215A when the control voltage switches from low to high to maintain the two nodes to approximately ground level. [0068] FIG. 3 is a plot showing DCO output frequency versus DCO control code for the ideal case. The plot shows DCO control code on the horizontal axis and DCO output frequency in MHz on the vertical axis. The horizontal axis from left to right represents a series of upwardly progressing digital control codes. For the purposes of this example, the control code is a 12 bit digital word comprising 4 most significant bits (MSBs) and 8 least significant bits (LSBs). A plurality of lines or segments are shown, including 0000, 0001, 0010, 0011, and 0100. Each segment is referred to for simplicity by only the top 4 MSBs. One segment corresponds in this example to the entire range of input control codes within a single four-bit MSB value. For example, the segment 0000 contains the range of 12-bit control codes from (0000,0000,0000) to (0000,1111,1111). The next segment 0001 contains the range (0001,0000,0000) to (0001,1111,1111), and so on.
[0069] In one embodiment, each segment corresponds to a separate group of tuning elements for adjusting the output frequency based on the input code. For example, in the exemplary DCO characterized by FIG. 3, 4 MSBs correspond to 24 = 16 segments. Each of the 16 segments may include an array of 256 thermometer encoded elements (for the 8 LSBs). One array may be used for one segment, another array for another segment, and so on. Where the input control code has a length of n bits, then 2n tuning elements may be used. In this example, where a 12 bit DCO is used, then the structure may include at least 212 = 4096 tuning elements. The example shown in FIG. 3, like the circuit of FIG. 2, represents a case of negative KV. That is, because the overall capacitance of the circuit increases as the digital input is increased, the output frequency decreases as a function of an increasing tuning code. In other aspects, the opposite may be the case. 080271
14
[0070] Generally speaking, for the purposes of this embodiment, changes in the 4 MSBs correspond to higher level adjustments in output frequencies, whereas changes in the 8 MSBs correspond to lower level adjustments in the output frequencies. The segments may be implemented in the DCO by a variety of means. In one aspect discussed further below, the DCO is configured with an array of tuning elements that, together with the remaining DCO circuit components (such as, for example, one or more circuit components discussed in connection with FIG. 2, above), collectively provide the adjustments in the output frequency waveform based on the digital input. [0071] Point 106 corresponds to the code switching point from segment (0000,1111,1111) to (0001,0000,0000). In this ideal case, as the code consecutively increases from this first to this next switching point, the frequency plot remains linear, with no tuning step discontinuities between segments. Similarly, the frequency smoothly transitions between consecutive switching points (0011,1111,1111) and (0100,0000,0000) at point 108. Where a DCO in a practical implementation can approximate this linear relationship, substantially increased circuit performance may be realized.
[0072] While FIG. 3 shows a straight line depicting a linear tuning frequency as a function of the input control code, in practice, DCOs are not continuous. Unlike the analog VCO, the digital nature of the DCO means that the frequency output can only occur at discrete steps. However, for the majority of applications, the steps can be made very small, such as on the order of a few KHz or less frequency difference between consecutive control codes.
[0073] In the ideal case of DCO characterized by FIG. 3, frequency tuning is monotonic over the control code. The output waveform FOUT decreases linearly as a function of the digital input code. Unfortunately, any or a combination of issues such as (1) mismatches in DCO circuit layout, (2) control line impedance and parasitic value differences corresponding to different code segments, and (3) process variations, tuning discontinuities occur which disrupt the linear relationship of frequency versus control code.
[0074] In the example of FIG. 3, layout mismatches, impedance and parasitic variations may occur more prominently between the groups corresponding to different segments. FIG. 4 is a plot showing DCO output frequency versus DCO control code showing gaps. As in FIG. 3, the horizontal axis from left to right represents a series of upwardly 080271
15 progressing digital control codes. The vertical axis shows output frequency of the DCO in MHz. Four gaps G1, G2, G3, and G4 occur between four of the segments 0001, 0010, 0011, and 0100. To illustrate, point 419 represents the rightmost point on segment 0001, i.e. control code (0001,1111,1111), and point 423 represents the leftmost point on segment 0010, i.e., control code (0010,0000,0000). In the ideal case, the frequency f0 of point 419 would decrease to fl at point 423 corresponding to the next consecutive control code by the same amount (e.g., 4 KHz) that the frequency changes between consecutive control codes in other places within the segment. However, due to practical design limitations as discussed above, a frequency gap G2 exists whereby the DCO output frequency changes by a greater amount (e.g., by 20 KHz instead of 4 KHz) for consecutive control codes. The presence of gaps generally means that missing frequencies points exist that the DCO cannot output under normal operating conditions. Such gaps result in reduced and often unpredictable circuit performance. [0075] FIG. 5 is a plot showing DCO output frequency versus DCO control code depicting occurrences of overlap. Segments 0000 and 0001 contain overlap instance 01, segments 0001 and 0010 contain overlap instance 02, segments 0010 and 0011 contain overlap instance 03, and segments 0011 and 0100 contain overlap instance 04. In the overlap case, more than one control code may correspond to the same frequency. For example, point 506 may correspond to a control code of (0010,1111,1110), whereas point 508 corresponds to (0011,0000,0011). Both control codes in the overlap case may correspond to the same frequency, as illustrated by the dashed line fθ. These duplicate frequencies tend to produce unreliable performance in frequency synthesizers and inject phase error into PLLs.
[0076] FIG. 6 is a plot showing DCO output frequency versus DCO control code showing discontinuities in the form of both gap Gl and instances 01, 02, and 03 of overlap. In a practical circuit such as, for example, the wireless communication device IOOA of FIG. IA implemented as an integrated circuit in a silicon CMOS process, discontinuities may be present in the form of either gaps or overlaps, or both. The presence of one or the other (or both) may be determined in part by the nature of the layout and circuit mismatches between the arrays of tuning elements that drive segments having consecutive control codes.
[0077] FIG. 7 is a plot showing DCO output frequency versus DCO control code depicting overlap correction. For clarity in this illustration, each of the twelve bits of 080271
16 the control code are depicted for the three segments 702, 704, and 706. In the DCO characterized by the plot of FIG. 7, two instances of overlap are shown and are characterized by the values (Ax1, Δoverlapl) and (Δx2, Δoverlap2), respectively. [0078] In an aspect, the DCO in an overlap case may be calibrated by dynamically redefining its inputs. The switching point of the DCO may be changed between segments and a new mapping table may be created based on the new switching point. For example, in FIG. 7, the existing switching points between segments 702 to 704 and between segments 704 to 706 are:
(1.1) (0000,1111,1111) - (0001,0000,0000)
(1.2) (0001,1111,1111) - (0100,0000,0000) The new code switching points for the three segments are:
(1.3) (0000,1111,1111) - (0001,0000,0000 + Ax1) (708 to 710)
(1.4) (0001,1111,1111 - Ax1) - (0001,0000,0000 - Ax1 + Δx2) (712 to 714)
[0079] where Δx represents the amount of corresponding change in the value of the control code relative to Δoverlap, and Δoverlap is the amount of frequency overlap between segments (e.g., in MHz).
[0080] In one embodiment discussed in connection with FIGS. 9-14 below, a processing system is coupled to the DCO for identifying discontinuities at initialization or start up of an integrated circuit in which a PLL is embedded. After identifying overlap instances, the processing system creates new code switching points and dynamically stores the new switching points in a mapping table.
[0081] FIG. 8 is a plot showing DCO output frequency versus DCO control code depicting gap correction. Three segments 802, 804, and 806 are shown. The control code is 12 bits. Here again, the particular length of the control code is for illustrative purposes only and another length may be contemplated depending on the application. [0082] A calibration procedure according to an aspect begins by redefining the DCO inputs, as before. However, because in the gap case the DCO is unable to produce certain output frequencies during normal operation, auxiliary tuning elements (FIGS. 12-13) may be used to complement the existing tuning elements in the DCO by providing the necessary frequency adjustments to the DCO output waveform. In one 080271
17 embodiments described below, the auxiliary tuning elements are provided as an array of matched transistor elements adjacent to or part of the DCO circuit module. [0083] The new code switching points for the three segments are:
For the original tuning code row switching point: (0000,1111,1111) - (0001,0000,0000) , the frequency step gap Δgapl will need to be compensated by the auxiliary tuning element by turning off AUX(Δgapl) elements to compensate this frequency gap and overall for this switching the tuning step will become linear. (803 a to 803b). For the original tuning code row switching point: (0001,1111,1111) - (0010,0000,0000), the frequency step gap Δgap2 will need to be compensated by the auxiliary tuning element by turning off AUX(Δgap2) elements to compensate this frequency gap and overall for this switching the tuning step will become linear. (805 a to 805b).
For this example with 15 switching points from 16 rows of tuning nonlinearity, there are a total of 15 auxiliary tuning elements to compensate the gap cases. The 15 auxiliary tuning elements may, but need not, be discrete, and can be obtained, for example, from a large auxiliary tuning element with different controls for different switching points. This is explained below.
[0084] In this illustration, the number of auxiliary elements to be employed may depend on a number of factors such as the width of the gap, the frequency resolution of the DCO, and other factors. In general, a smaller frequency resolution of the DCO means that more auxiliary tuning elements will be needed to compensate for missing output frequencies.
[0085] The above code switching techniques described in FIGS. 7 and 8 can be implemented as an encoder containing the new mapping wherein (1) equations (1.3) and (1.4) may be generalized for y occurrences of overlaps for all DCO segments, and (2) equations (1.7) and (1.8) may be generalized for z occurrences of gaps for all DCO segments. The new output frequency waveforms for the gap case may be realized using selected tuning elements of the auxiliary input code array.
[0086] The following equations present, in one aspect, a generalized case for gap and overlap using one or more decoders such as illustrated with reference to FIG. 2B to correct DCO row tuning nonlinearities. In this example, a total of sixteen rows are considered and are numerically assigned rows 0000, 0001,0010, 0111, 1000,
1001, 1010, 1111. It is further assumed that for purposes of this example that a 080271
18 discontinuity between each adjacent row has been identified and measured (see FIGS. 9 and 10).
[0087] In one aspect, for the overlap case, we denote the overlap frequency between adjacent rows corresponding to the four least significant bits (lsb) of OVR of the tuning step, i.e. OVR(OOOO, 0001) to be the overlap code between row 0000 and 0001 switching. For the GAP case, we denote the gap frequency between adjacent rows corresponding to the GAP lsb of the tuning step, i.e. GAP(OOOO, 0001) as the gap code between row 0000 and 0001 switching. For each switching point, only one case exists, either GAP or OVR.
[0088] For this exemplary decoder function, we start from the middle code 1000. When the control code is in row 1000, default may be used without performing any correction. The following equations describe how decoder works:
Input<l l :0> [12 bits]
Output_aux<7:0> [8 bits] which is the control for the auxiliary tuning element; assume the lsb of this one matches the lsb of the main DCO tuning code lsb for simplicity.
Case(row):
1000: output aux = 1000,0000 (At row 1000, the auxiliary tuning elements block code is in the center 1000,0000 with half tuning elements on and half off; this configuration provide optimum coverage for all conditions)
1001: output aux = 1000,0000 + OVR(1000, 1001) - GAP(IOOO, 1001)
1010: output aux = 1000,0000 + OVR(1000, 1001) - GAP(IOOO, 1001) + OVR(IOOl, 1010) - GAP(IOOl, 1010)
1011: output aux = 1000,0000 + OVR(1000, 1001) - GAP(IOOO, 1001) + OVR(IOOl, 1010) - GAP(IOOl, 1010) + OVR(IOIOJOI I) - GAP(IO IOJO I I). . .. (similar equations for row 1100, 1101, 1110, 1111 with same principle)
0111: output aux = 1000,0000 - OVR(0111,1000) + GAP(0111,1000)
0110: output aux = 1000,0000 - OVR(Ol 11,1000) + GAP(Ol 11,1000) - OVR(Ol 10,0111) + GAP(Ol 10,0111)
0101: output aux = 1000,0000 - OVR(Ol 11,1000) + GAP(Ol 11,1000) - OVR(Ol 10,0111) + GAP(Ol 10,0111) - OVR(0101,0110) + GAP(0101,0110) (similar equations for row 0100, 0011, 0010, 0001,0000 with same principle) 080271
19
[0089] FIG. 9A is a diagram of a calibration circuit for measuring DCO discontinuities using a closed loop PLL. The technique shown herein is well suited for applications involving integrated circuits using DPLLs, however, the technique can be used for any application where a PLL is involved and at least one DCO provides an oscillator function for the PLL. The technique can be employed either as a "factory" procedure (or by the chip supplier, etc.), or alternatively, it can be an automated process upon device startup or chip initialization. The calibration circuit can work in conjunction with "on board" processing circuitry to implement the calibration function (see FIG. 13); alternatively, an off chip module or external computer may be used to calibrate the device.
[0090] The tuning mechanism in FIG. 9A relies on operating the PLL and taking voltage or current measurements off the loop filter. However, it will be appreciated by those skilled in the art that other points in the closed loop PLL system may be equally suitable for taking the measurements described herein. Using the calibration circuit of FIG. 9A, the frequency response across the DCO segments may be quantified by measuring the corresponding DCO RMS control value at the loop filter in closed loop operation. In general, the DCO control code will tend to have an appreciable RMS error in a PLL closed-loop operation when overlaps or gaps are present. A measurement of the magnitude of such errors provide a quantification of the necessary amount of correction.
[0091] Control line 912, which is coupled to the input of low pass filter (LPF) 902, is also coupled to the output of the loop filter (not shown) from a PLL associated with the DCO to be calibrated. Thus, line 912 represents the closed loop DCO control code. A filtered version 913 of the control code (via LPF 902) is compared with itself at comparator 904 to yield output waveform 915. RMS Detector 906 measures the DCO control RMS value of waveform 915 as value 919. The value is filtered (917), then compared at comparator 910 with a program threshold value 914 to determine the presence of a gap or overlap as output 916.
[0092] FIG. 9B is a series of plots showing the waveforms for the circuit of FIG. 9A. Dashed waveform 918 shows the DCO control code 912 in the presence of DCO discontinuities, while waveform 920 shows the control code 912 with substantially no discontinuities. Waveform 918 has a significantly greater amount of oscillation, reflecting the instability of the closed loop as it tries to phase correct itself to account for 080271
20 the discontinuity. LPF 902 is used to remove high frequency noise from waveform 912, and the resulting comparison produces waveform 915. Waveform 915 produces similar waveforms to that of 912, centered at a zero voltage in light of the comparison. [0093] The RMS detector 906 measures the corresponding RMS value for the discontinuity. The RMS measurement may be more useful in the sense that the voltage output of a closed loop system generally will oscillate due to the noise inherent in the feedback loop. If there is a discontinuity in the tuning range and the DCO is locked close to this range, the DCO will move around this discontinuity and the loop will become noisier as it jumps around to attempt to compensate in response to the discontinuity. An RMS detector can therefore be used to quantify the magnitude of the discontinuity. RMS detector can be implemented using a variety of means. Generally, RMS detector 906 may comprise any circuit capable of measuring either the absolute value or the AC RMS value of the voltage at the output of the PLL loop filter, which may be stored in non-volatile memory. In one aspect, RMS detector 906 is implemented as a digital signal processor which records the current comparator 904 output value, squares it, adds it to the previous squared value, then takes the square root of a prescribed number of samples. Waveform 917 shows the output of the RMS detector 906 as an absolute value. Where a gap is present, the waveform 917 generally will jump to a higher or lower bandwidth.
[0094] The measured value 919 of the discontinuity is next compared to a programmed threshold 914 in comparator 910 to determine whether a discontinuity in fact exists. Generally, the programmed threshold 914 will be defined to prescribe some degree of tolerance of acceptability, above which very small discontinuities deemed not to unduly impact performance in light of the criteria deemed important for the application are considered acceptable. The programmed threshold 914 may vary based on the needs of the application and the desired precision of the device.
[0095] For each trial code, the DPLL control code can be programmed to sweep across the DCO segments to measure the corresponding tuning RMS value for both gap and overlap. The DCO can be characterized to obtain the minimized trial code range. The RMS value measurement is a built-in functional in DPLL; that is, the measurement is a function of the internal configuration of the DPLL. Different frequency bands can have different correction codes. Generally, using the RMS value obtained from the circuit in FIG. 9A, an estimation for the magnitude of the gap and/or overlap measurements can 080271
21
be obtained. In one configuration, the DCO can be swept using the estimated values and the output values remeasured. Using this trial and error approach, precise correction values of gap and overlap may be obtained.
[0096] In another aspect, the open loop frequency of the DCO may be measured to determine overlap and gap occurrences and quantify these values for calibration. A PLL is not needed, meaning that a DCO in any circuit application can be calibrated using this approach. DCO frequency may be measured using an accumulator and a time to digital converter for providing integer and fractional cycle counts, respectively. FIG. 1OA is a diagram of a calibration circuit for measuring DCO discontinuities using an open loop DCO frequency. The range of DCO control codes is input at 1002 into an RF accumulator 1003 and a time to digital converter (TDC) 1009, both of which are driven by a reference frequency 1004 of the type 1010 (FIG. 10B). The frequency counter configuration enables a determination of the frequency based on a cycle count. RF accumulator 1003 measures the integer count, whereas TDC 1004 measures the fractional count. In some configurations, an adder may be used in the event of an accumulator overflow. In the example shown, RF accumulator 1003 is a 20 bit accumulator.
[0097] The outputs of RF accumulator 1003 and TDC 1009 are provided to accumulator with deglitching block 1007. Accumulator with deglitching block 1007 is also supplied with reference frequency 1004 and with enable/disable input 1006 (Fig. 10B). Enable/disable input 1006 includes a rising edge STR which triggers the beginning of the cycle count, and a falling edge STP which terminates the cycle count. Output waveform 1008 is produced.
[0098] In an aspect, the output of RF accumulator 1003 is a modulo accumulator output, and the output of negative feedback element 1005 is an accumulator step output. Accumulator with deglitching block 1007 may resolve any timing offset between the integer and fractional waveforms. In this fashion, block 1007 may include a detection circuit which lines up the cycle counts in time. The output 1008 is a measurement of DCO cycles for the prescribed measurement period. Discontinuities may be determined and quantified based on identifying different cycle counts for different tuning codes. Output frequency of the DCO is obtained by taking the inverse of the cycle count. The range of input codes can be input and the corresponding measurements can be taken across the DCO to correct nonlinearities. 080271
22
[0099] FIG. 11 is a block diagram of components for tuning a DCO. Component set 1124 includes phase accumulator 1104, phase register 1104, DAC 1106, tuning elements 1108, auxiliary tuning elements 1110, and loop filter 1111. Component set 1126 includes reference clock 1114, processing system 1116, memory 1118, and calibration circuitry 1120. The reference clock 1114 may comprise a crystal oscillator used for the DCO. In one aspect, component sets 1124 and 1126 are implemented on an integrated circuit, such as the wireless communication device IOOA or IOOB of FIG. 1. For example, the component sets 1124 and 1126 may reside on a CDMA transceiver chip for use within a mobile station for transmitting and receiving wireless signals to and from a base station. The transceiver chip may include a digital block which includes various digital signal processing functions as well as an application processor. One or more of these blocks act as the processing system 1116. Memory 1118 may be included as one or more on-chip buffers or registers. Calibration circuitry 1120 may include one or more of the circuit components illustrated in FIGS. 9A and FIG. 1OA for determining values for gap and overlap.
[00100] In other aspects, the functions of component set 1126 may be realized on another chip or module. For example, processing system 1116 may be included as another chip in a chipset. Alternatively, the processing may be performed in software by a local computer at a bench station. Memory 1118 may be a separate memory from the chip where the DCO resides, such as a RAM, ROM, PROM, hard drive, removable storage, or another suitable media. The calibration circuitry 1120 may be integrated into the digital signal processing circuitry or into the software algorithms. Alternatively, it may be provided on another module. In one aspect, an on-chip application processor, memory buffer, comparator set, accumulator, time to digital converter and accumulator to deglicher are all provided on one CDMA transceiver chip containing a DPLL with a DCO. It will be appreciated, however, that any type of circuit device using a DCO may be used, and a DPLL is not required. [00101] The components in set 1124 are grouped merely to indicate the interaction between these components as functionally part of the DPLL, rather than to indicate that they are necessarily physically proximate or that the set 1126 is functionally distinct. Lines 1119 serve to indicate the general functional relationship between components in set 1126 rather than any specific relationship between the two linked components. Line 1122 indicates that, in one aspect, the two component sets (or some variation thereof) 080271
23 may be segregated into different sets or modules. Lines 1121, 1125, 1127, and 1123 also demonstrate the interaction between the components of set 1126 with those of set 1124.
[00102] Auxiliary tuning elements 1110 are shown in set 1124. For gap cases, one or more such tuning elements are selected as discussed above.
[00103] FIG. 12 is a flow diagram of a method for calibrating a DCO in accordance with an aspect of the disclosure. At 1202, an initial set of DCO codes are determined for use with the DCO. The determination of this initial set may simply be an identification of a specified set of codes (1202A) designated by a manufacturer or chip supplier. Alternatively, the determination may involve determining a new set of codes (1202B), such as at a testing facility or in a procedure done by a supplier. The determination may be done in other ways (1202C), such as a combination of using known codes along with making custom determinations. In an aspect, the initial set is stored in on-chip memory 1118.
[00104] A range of output frequencies is thereupon identified (1204). In an aspect, this step is automated by the processing system 1116 via code written and stored in on- chip memory 1118, and performed by the processing system 1316 along with calibration circuitry 1120 using one or more of the techniques discussed with reference to FIGS. 9 and 10. For example, a frequency counter may be used at the output of the accumulator 1007 in FIG. 9 to count the number of cycles, which in turn can be used to determine the output frequency for each input code.
[00105] The presence of gaps and overlaps in the frequency range are determined (1206). In some aspects, steps 1204 and steps 1206 are not consecutive, but rather repeat in sequence for each a plurality of input codes in the initial set. In other aspects, step 1204 may occur first. A variety of configurations are possible without departing from the spirit and scope of the disclosure. If an overlap is present, the control codes corresponding to the overlapping frequencies may be removed (1208), and a revised set of control codes is recorded (1211). If a gap is present, control codes are added to produce frequencies to fill the gap (1210), and the revised set is recorded. Control may revert back to 1206 in the configuration where one, a subset, or a segment of control codes are analyzed at a time. 080271
24
[00106] After no more discontinuities are identified, the new set may be stored in a DCO mapping table, which may comprise a non-volatile memory. At that point, calibration is complete and the process ends (1212).
[00107] In one or more exemplary embodiments, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
[00108] The various illustrative logical blocks, modules, and circuits described in connection with the aspects disclosed herein, including the processing system 1316 of FIG. 13, may be implemented within or performed by an integrated circuit ("IC"), an access terminal, or an access point. The IC may comprise a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, electrical components, optical components, mechanical components, or any combination thereof designed to perform the functions described herein, and may execute codes or instructions that reside within 080271
25 the IC, outside of the IC, or both. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
[00109] The teachings herein may be incorporated into (e.g., implemented within or performed by) a variety of apparatuses (e.g., devices). For example, one or more aspects taught herein may be incorporated into a phone (e.g., a cellular phone), a personal data assistant ("PDA"), an entertainment device (e.g., a music or video device), a headset (e.g., headphones, an earpiece, etc.), a microphone, a medical device (e.g., a biometric sensor, a heart rate monitor, a pedometer, an EKG device, etc.), a user I/O device (e.g., a watch, a remote control, a light switch, a keyboard, a mouse, etc.), a tire pressure monitor, a computer, a point-of-sale device, an entertainment device, a hearing aid, a set-top box, or any other suitable device.
[00110] The teachings herein are not limited to wireless devices, but may extend to any electronic device, module, or circuit, in which a DCO is or can be implemented. Such a device may include an IC or processor in itself, or another electrical circuit component, whether a "stand alone" component or module or an integrated part of another module or electronic device.
[00111] The previous description is provided to enable any person skilled in the art to practice the various aspects described herein. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects. Thus, the claims are not intended to be limited to the aspects shown herein, but is to be accorded the full scope consistent with the language claims, wherein reference to an element in the singular is not intended to mean "one and only one" unless specifically so stated, but rather "one or more." Unless specifically stated otherwise, the term "some" refers to one or more. All structural and functional equivalents to the elements of the various aspects described throughout this disclosure that are known or later come to be known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be encompassed by the claims. Moreover, nothing disclosed herein is intended to be dedicated to the public regardless of whether such disclosure is explicitly recited in the claims. No claim 080271
26 element is to be construed under the provisions of 35 U.S. C. § 112, sixth paragraph, unless the element is expressly recited using the phrase "means for" or, in the case of a method claim, the element is recited using the phrase "step for."

Claims

27CLAIMSWHAT IS CLAIMED IS:
1. A method of calibrating a digitally controlled oscillator (DCO), comprising: determining an initial set of tuning codes for operating the DCO; identifying a range of output frequencies produced from the initial set; identifying at least one instance of overlap in the frequency range; and removing tuning codes from the initial set that correspond to the at least one overlap instance to establish a revised set.
2. The method of claim 2, further comprising: identifying at least one gap in the frequency range; and adding tuning codes to the initial set, the added tuning codes corresponding to output frequency values that substantially fill the at least one gap.
3. The method of claim 1, wherein the initial set and revised set are encoded in a mapping table.
4. The method of claim 1, wherein the DCO is part of a phase-locked loop (PLL).
5. The method of claim 4, wherein the identifying at least one instance of overlap comprises measuring an alternating current (AC) root-mean squared (RMS) control value of the PLL.
6. The method of claim 1, wherein the identifying at least one instance of overlap comprises measuring the corresponding output frequency for a plurality of consecutive tuning codes of the initial set.
7. The method of claim 6, wherein the identifying at least one instance of overlap is performed at chip initialization. 080271
28
8. A wireless communication device, comprising: a digitally controlled oscillator (DCO); and a processing system configured to determine an initial set of tuning codes for operating the DCO, to identify a range of output frequencies produced from the initial set, to identify at least one instance of overlap in the frequency range, and to remove tuning codes from the initial set that correspond to the at least one overlap instance to establish a revised set.
9. The wireless communication device of claim 8, wherein the processing system is further configured to identify at least one gap in the frequency range, and to add tuning codes to the initial set, the added tuning codes corresponding to output frequency values that substantially fill the at least one gap.
10. The wireless communication device of claim 8, wherein the initial set and revised set are stored in a mapping table.
11. The wireless communication device of claim 8, wherein the DCO is part of a phase-locked loop (PLL).
12. The wireless communication device of claim 11, wherein the identifying at least one instance of overlap comprises measuring an alternating current (AC) root-mean squared (RMS) control value of the PLL.
13. The wireless communication device of claim 8, wherein the identifying at least one instance of overlap comprises measuring the corresponding output frequency for a plurality of consecutive tuning codes of the initial set.
14. The wireless communication device of claim 13, wherein the identifying at least one instance of overlap is performed at chip initialization.
15. An apparatus, comprising: a digitally controlled oscillator (DCO); means for determining an initial set of tuning codes for operating the DCO; 080271
29 means for identifying a range of corresponding output frequencies; means for identifying at least one instance of overlap in the frequency range; and means for removing tuning codes from the initial set that correspond to the at least one overlap instance to establish a revised set.
16. The apparatus of claim 15, further comprising: means for identifying at least one gap in the frequency range; means for tuning codes to the initial set, the added tuning codes corresponding to output frequency values that substantially fill the at least one gap.
17. The apparatus of claim 15, wherein the initial set and revised set are stored in a mapping table.
18. The apparatus of claim 15, wherein the DCO is part of a phase-locked loop (PLL).
19. The apparatus of claim 18, wherein the means identifying at least one instance of overlap comprises means for measuring an alternating current (AC) root-mean squared (RMS) control value of the PLL.
20. The apparatus of claim 15, wherein the means for identifying at least one instance of overlap comprises means for measuring the corresponding output frequency for a plurality of consecutive tuning codes of the initial set.
21. The apparatus of claim 20, wherein the identifying at least one instance of overlap is performed at chip initialization.
22. A computer-program product comprising a machine-readable medium comprising instructions executable by a machine for performing a method of tuning a digitally controlled oscillator (DCO), comprising determining an initial set of tuning codes for operating the DCO, identifying a range of output frequencies produced from the initial set, identifying at least one instance of overlap in the frequency range, and 080271
30 removing tuning codes from the initial set that correspond to the at least one overlap instance to establish a revised set.
23. A method of calibrating a digitally controlled oscillator (DCO), comprising: determining an initial set of tuning codes for operating the DCO; identifying a range of output frequencies produced from the initial set; identifying at least one gap in the frequency range; and adding tuning codes to the initial set, the added tuning codes corresponding to output frequency values that substantially fill the at least one gap.
24. The method of claim 23, wherein one or more tuning elements are used to generate the output frequencies produced from the initial set.
25. The method of claim 24, wherein one or more auxiliary tuning elements are used to generate the frequency values produced from the added tuning codes.
26. The method of claim 23, further comprising identifying at least one instance of overlap in the frequency range; and removing tuning codes from the initial set that correspond to the at least one overlap instance.
27. The method of claim 23, further comprising establishing a revised set of tuning codes based on the initial set of tuning codes and the added tuning codes, wherein the initial set and revised set are encoded in a mapping table.
28. The method of claim 23, wherein the DCO is part of a phase-locked loop (PLL).
29. The method of claim 28, wherein the identifying at least one gap comprises measuring an alternating current (AC) root-mean squared (RMS) control value.
30. A wireless communication device, comprising: a digitally controlled oscillator (DCO); and 080271
31 a processing system configured to determine an initial set of tuning codes for operating the DCO, to identify a range of output frequencies produced from the initial set to identify at least one gap in the frequency range, and to add tuning codes to the initial set, the added tuning codes corresponding to output frequency values that substantially fill the at least one gap.
31. The wireless communication device of claim 30, further comprising one or more tuning elements configured to generate the output frequencies produced from the initial set.
32. The wireless communication device of claim 31, further comprising one or more auxiliary tuning elements configured to generate the frequency values produced from the added tuning codes.
33. The wireless communication device of claim 30, wherein the processing system is further configured to identify at least one instance of overlap in the frequency range, and to remove tuning codes from the initial set that correspond to the at least one overlap instance.
34. The wireless communication device of claim 33, wherein the processing system is further configured to establish a revised set of tuning codes based on the initial set of tuning codes and the added tuning codes, wherein the initial set and revised set are encoded in a mapping table.
35. The wireless communication device of claim 30, wherein the DCO is part of a phase-locked loop (PLL).
36. The wireless communication device of claim 30, wherein the identifying at least one gap comprises measuring an alternating current (AC) root-mean squared (RMS) control value.
37. An apparatus, comprising: a digitally controlled oscillator (DCO); 080271
32 means for determining an initial set of tuning codes for operating the DCO; means for identifying a range of output frequencies produced from the initial set; means for identifying at least one gap in the frequency range; and means for adding tuning codes to the initial set, the added tuning codes corresponding to output frequency values that substantially fill the at least one gap.
38. The apparatus of claim 37, further comprising one or more tuning elements used to generate the output frequencies produced from the initial set.
39. The apparatus of claim 38, further comprising one or more auxiliary tuning elements used to generate the frequency values produced from the added tuning codes.
40. The apparatus of claim 37, further comprising means for identifying at least one instance of overlap in the frequency range; and means for removing tuning codes from the initial set that correspond to the at least one overlap instance.
41. The apparatus of claim 37, further comprising means for establishing a revised set of tuning codes based on the initial set of tuning codes and the added tuning codes, wherein the initial set and revised set are encoded in a mapping table.
42. The apparatus of claim 37, wherein the DCO is part of a phase-locked loop (PLL).
43. The apparatus of claim 42, wherein the means for identifying at least one gap comprises means for measuring an alternating current (AC) root-mean squared (RMS) control value.
44. A computer-program product comprising a machine-readable medium comprising instructions executable by a machine for performing a method of tuning a digitally controlled oscillator (DCO), comprising determining an initial set of tuning codes for operating the DCO, identifying a range of output frequencies produced from the initial set, identifying at least one gap in the frequency range, and adding tuning 080271
33 codes to the initial set, the added tuning codes corresponding to output frequency values that substantially fill the at least one gap.
PCT/US2009/046642 2008-06-12 2009-06-08 Dynamic calibration techniques for digitally controlled oscillator WO2009152105A2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN200980121708XA CN102057577A (en) 2008-06-12 2009-06-08 Dynamic calibration techniques for digitally controlled oscillator
EP09763396A EP2289170A2 (en) 2008-06-12 2009-06-08 Dynamic calibration techniques for digitally controlled oscillator
JP2011513616A JP2011524687A (en) 2008-06-12 2009-06-08 Dynamic calibration techniques for digitally controlled oscillators

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US12/138,263 2008-06-12
US12/138,263 US7675370B2 (en) 2008-06-12 2008-06-12 Dynamic calibration techniques for digitally controlled oscillator

Publications (2)

Publication Number Publication Date
WO2009152105A2 true WO2009152105A2 (en) 2009-12-17
WO2009152105A3 WO2009152105A3 (en) 2010-04-01

Family

ID=41278750

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2009/046642 WO2009152105A2 (en) 2008-06-12 2009-06-08 Dynamic calibration techniques for digitally controlled oscillator

Country Status (7)

Country Link
US (1) US7675370B2 (en)
EP (1) EP2289170A2 (en)
JP (1) JP2011524687A (en)
KR (1) KR20110018432A (en)
CN (1) CN102057577A (en)
TW (1) TW201006120A (en)
WO (1) WO2009152105A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185663A (en) * 2011-02-16 2011-09-14 意法·爱立信半导体(北京)有限公司 Frequency calibration method and device

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8198944B2 (en) * 2008-10-28 2012-06-12 Qualcomm Incorporated Digitally controlled oscillator with improved digital frequency calibration
US8044726B2 (en) * 2009-03-17 2011-10-25 Qualcomm Incorporated Systems and methods for self testing a voltage controlled oscillator
US8143958B2 (en) * 2009-05-20 2012-03-27 Qualcomm, Incorporated Systems and methods for self testing a voltage controlled oscillator in an open loop configuration
KR20110080463A (en) * 2010-01-06 2011-07-13 삼성전자주식회사 Method for calibrating frequency of gm-c filter and devices using the same
JP5010705B2 (en) * 2010-03-25 2012-08-29 株式会社東芝 Digitally controlled oscillator
US8380129B2 (en) * 2010-08-08 2013-02-19 Ali Mizani Oskui Contactless reader for mobile phone for online electronic transaction
WO2013008055A2 (en) * 2011-07-13 2013-01-17 Citex Llc A method and a system for electronic transection using point of sales (pos) device and a contactless reader for mobile phone for online electronic
JP2013081084A (en) * 2011-10-04 2013-05-02 Renesas Electronics Corp Digital pll circuit and semiconductor integrated circuit device
US10235278B2 (en) * 2013-03-07 2019-03-19 International Business Machines Corporation Software testing using statistical error injection
US9490825B2 (en) * 2013-05-23 2016-11-08 Intel IP Corporation Adjusting tuning segments in a digitally-controlled oscillator
US9455727B2 (en) * 2014-09-26 2016-09-27 Intel Corporation Open-loop voltage regulation and drift compensation for digitally controlled oscillator (DCO)
CN105615828B (en) * 2014-11-06 2019-07-12 原相科技股份有限公司 The host and physiology detection apparatus of high-precision physiology-detecting system
CN106027082A (en) * 2016-07-08 2016-10-12 上海创远仪器技术股份有限公司 Mobile communication pilot signal generation device and method
US10097283B1 (en) * 2016-11-30 2018-10-09 Verily Life Sciences Llc Watch-crystal-based RF transmitter
CN106817125A (en) * 2016-12-23 2017-06-09 长沙景嘉微电子股份有限公司 One kind is applied to automatic frequency control(AFC)Loop coarse adjustment algorithm
KR20180131855A (en) * 2017-06-01 2018-12-11 삼성전자주식회사 Electronic device and method for controlling digitally compensated crystal oscillators in electronic device
JP6818665B2 (en) 2017-09-14 2021-01-20 株式会社東芝 DA converter and ADPLL circuit
CN107623531A (en) * 2017-09-15 2018-01-23 建荣半导体(深圳)有限公司 Output frequency control method, its integrated circuit, communication transceiver and storage medium
CN107634779A (en) * 2017-09-28 2018-01-26 建荣半导体(深圳)有限公司 Reference frequency output expanding method, integrated circuit, communication transceiver and storage medium
JP7429114B2 (en) 2019-11-26 2024-02-07 ローム株式会社 Semiconductor device equipped with a digitally controlled oscillator and its testing method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4746879A (en) * 1986-08-28 1988-05-24 Ma John Y Digitally temperature compensated voltage-controlled oscillator
US5739725A (en) * 1996-01-29 1998-04-14 International Business Machines Corporation Digitally controlled oscillator circuit
JP4763918B2 (en) * 2000-04-20 2011-08-31 テキサス インスツルメンツ インコーポレイテツド System and method for time dithering digitally controlled oscillator tuning input
US6747522B2 (en) * 2002-05-03 2004-06-08 Silicon Laboratories, Inc. Digitally controlled crystal oscillator with integrated coarse and fine control
EP1460762B1 (en) * 2003-03-18 2008-11-05 Texas Instruments Incorporated High-speed, accurate trimming for electronically trimmed VCO
US20070004362A1 (en) * 2005-06-30 2007-01-04 Lawrence Der Methods and apparatus to generate small frequency changes
US7715515B2 (en) * 2006-10-19 2010-05-11 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for reducing non-montonic regions in a digitally controlled oscillator
US7764127B2 (en) * 2006-11-30 2010-07-27 Qualcomm, Incorporated High resolution digitally controlled oscillator

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
None

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185663A (en) * 2011-02-16 2011-09-14 意法·爱立信半导体(北京)有限公司 Frequency calibration method and device

Also Published As

Publication number Publication date
EP2289170A2 (en) 2011-03-02
WO2009152105A3 (en) 2010-04-01
CN102057577A (en) 2011-05-11
US20090309666A1 (en) 2009-12-17
KR20110018432A (en) 2011-02-23
JP2011524687A (en) 2011-09-01
TW201006120A (en) 2010-02-01
US7675370B2 (en) 2010-03-09

Similar Documents

Publication Publication Date Title
US7675370B2 (en) Dynamic calibration techniques for digitally controlled oscillator
US8198944B2 (en) Digitally controlled oscillator with improved digital frequency calibration
US7884655B2 (en) Control circuitry
US7764127B2 (en) High resolution digitally controlled oscillator
JP5908587B2 (en) Phase locked loop with phase correction in feedback loop
US8442461B2 (en) Transmitter and semiconductor integrated circuit available for it
US10831159B2 (en) Apparatus for time-to-digital converters and associated methods
US7786913B2 (en) Digital phase locked loop with dithering
EP2371064B1 (en) Duty cycle adjustment for a local oscillator signal
US9154143B2 (en) Semiconductor device
US11817868B2 (en) Apparatus for digital frequency synthesizer with sigma-delta modulator and associated methods
US10763869B2 (en) Apparatus for digital frequency synthesizers and associated methods
JP5347534B2 (en) Phase comparator, PLL circuit, and phase comparator control method
US8384488B2 (en) Phase-lock in all-digital phase-locked loops
CN107294530B (en) Calibration method and apparatus for high time To Digital Converter (TDC) resolution
CN112242842A (en) Phase Locked Loop (PLL) circuit including sub-sampling circuit and clock generator
WO2015025966A1 (en) Phase-digital converter, wireless communication device, integrated circuit, and wireless communication method
US9680431B2 (en) Amplifier circuit, pipeline ADC, and wireless communication device
Lopelli et al. FHSS Systems: State-of-the-Art and Power Trade-offs

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200980121708.X

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09763396

Country of ref document: EP

Kind code of ref document: A2

WWE Wipo information: entry into national phase

Ref document number: 7619/CHENP/2010

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2011513616

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2009763396

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 20117000751

Country of ref document: KR

Kind code of ref document: A