Nothing Special   »   [go: up one dir, main page]

WO2004100380A1 - Method and apparatus for a low jitter dual-loop fractional -n synthesizer - Google Patents

Method and apparatus for a low jitter dual-loop fractional -n synthesizer Download PDF

Info

Publication number
WO2004100380A1
WO2004100380A1 PCT/US2004/013780 US2004013780W WO2004100380A1 WO 2004100380 A1 WO2004100380 A1 WO 2004100380A1 US 2004013780 W US2004013780 W US 2004013780W WO 2004100380 A1 WO2004100380 A1 WO 2004100380A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
loop
chcuit
value
circuit
Prior art date
Application number
PCT/US2004/013780
Other languages
French (fr)
Inventor
Axel Thomsen
Yunteng Huang
Jerrell P. Hein
Original Assignee
Silicon Laboratories, Inc.
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
Priority claimed from US10/675,529 external-priority patent/US20050068118A1/en
Priority claimed from US10/675,543 external-priority patent/US7187241B2/en
Application filed by Silicon Laboratories, Inc. filed Critical Silicon Laboratories, Inc.
Priority to JP2006514260A priority Critical patent/JP4691024B2/en
Priority to CN2004800118489A priority patent/CN1784831B/en
Priority to EP04751256A priority patent/EP1623503B1/en
Publication of WO2004100380A1 publication Critical patent/WO2004100380A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/60Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers
    • G06F7/68Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers using pulse rate multipliers or dividers pulse rate multipliers or dividers per se
    • 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/16Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop
    • H03L7/22Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using more than one loop
    • H03L7/23Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using more than one loop with pulse counters or frequency dividers
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L1/00Stabilisation of generator output against variations of physical values, e.g. power supply
    • H03L1/02Stabilisation of generator output against variations of physical values, e.g. power supply against variations of temperature only
    • H03L1/022Stabilisation of generator output against variations of physical values, e.g. power supply against variations of temperature only by indirect stabilisation, i.e. by generating an electrical correction signal which is a function of the temperature
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L1/00Stabilisation of generator output against variations of physical values, e.g. power supply
    • H03L1/02Stabilisation of generator output against variations of physical values, e.g. power supply against variations of temperature only
    • H03L1/022Stabilisation of generator output against variations of physical values, e.g. power supply against variations of temperature only by indirect stabilisation, i.e. by generating an electrical correction signal which is a function of the temperature
    • H03L1/026Stabilisation of generator output against variations of physical values, e.g. power supply against variations of temperature only by indirect stabilisation, i.e. by generating an electrical correction signal which is a function of the temperature by using a memory for digitally storing correction values
    • 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
    • H03L7/0991Details of the phase-locked loop concerning mainly the controlled oscillator of the loop the oscillator being a digital oscillator, e.g. composed of a fixed oscillator followed by a variable frequency divider
    • H03L7/0992Details of the phase-locked loop concerning mainly the controlled oscillator of the loop the oscillator being a digital oscillator, e.g. composed of a fixed oscillator followed by a variable frequency divider comprising a counter or a frequency divider
    • 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/16Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop
    • H03L7/18Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop
    • H03L7/197Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop a time difference being used for locking the loop, the counter counting between numbers which are variable in time or the frequency divider dividing by a factor variable in time, e.g. for obtaining fractional frequency division
    • H03L7/1974Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop a time difference being used for locking the loop, the counter counting between numbers which are variable in time or the frequency divider dividing by a factor variable in time, e.g. for obtaining fractional frequency division for fractional frequency division
    • H03L7/1976Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop a time difference being used for locking the loop, the counter counting between numbers which are variable in time or the frequency divider dividing by a factor variable in time, e.g. for obtaining fractional frequency division for fractional frequency division using a phase accumulator for controlling the counter or frequency divider
    • 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/16Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop
    • H03L7/22Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using more than one loop
    • H03L7/23Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using more than one loop with pulse counters or frequency dividers
    • H03L7/235Nested phase locked loops
    • 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/50All digital phase-locked loop
    • 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/085Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal
    • H03L7/095Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal using a lock detector

Definitions

  • This application relates to integrated circuit devices more particularly to integrated circuits utilized in generating clock signals.
  • Clock sources typically utilize a resonator such as a crystal oscillator or surface acoustic wave
  • SAW voltage controlled oscillator
  • an apparatus in one embodiment, includes a first phase-locked loop (PLL) circuit that has an input for receiving a timing reference signal, a controllable oscillator circuit supplying an oscillator output signal, and a multi-modulus feedback divider circuit.
  • a second control loop circuit is selectably coupled to supply a control value to the multi-modulus feedback divider circuit of the first loop circuit to thereby control the oscillator output signal.
  • the control value supplied may be a digital control value.
  • the second control loop while the second control loop is coupled to supply the control value to the feedback divider circuit, the control value is determined according to a detected difference between the oscillator output signal and a reference signal coupled to the second control loop circuit.
  • a temperature compensation circuit is coupled to supply an adjustment value according to a detected temperature, and the control value supplied to the multi-modulus feedback divider circuit is adjusted according to the adjustment value, while the second control loop is not coupled to supply the control value to the feedback divider circuit.
  • the apparatus may further include a voltage control input, and the control value supplied to the multi-modulus feedback divider circuit is adjusted according to a voltage value present on the voltage control input.
  • the apparatus may further include one of a crystal oscillator and a surface acoustic wave (SAW) resonator supplying the timing reference signal.
  • the second control loop circuit may be implemented as a phase-locked loop and include a digital loop filter.
  • the apparatus may further include a nonvolatile storage; and while the second control loop circuit is not coupled to control the first PLL circuit, tlie first PLL circuit receives a digital control value to control a divide ratio of the feedback divider, the digital control value being determined at least in part according to a stored control value stored in the nonvolatile storage, the stored control value corresponding to a desired frequency of the oscillator output signal.
  • the stored control value in the nonvolatile storage may be based on a digital control value that was stored as a result of the second control loop circuit detecting a lock condition indicating that the oscillator output signal was locked to a reference signal coupled to the second control loop circuit.
  • the second control loop is implemented as a low bandwidth phase-locked loop and a bandwidth of the first PLL circuit is substantially higher than the low bandwidth of the second control loop circuit.
  • a method in another embodiment, includes selectably coupling an outer loop circuit to control an inner loop circuit; and controlling the inner loop circuit by supplying a control value from the outer loop circuit to control a divide ratio of a feedback divider of the inner loop circuit, while the outer loop is coupled to control the inner loop, to cause the inner loop to generate an output signal based on a reference clock signal supplied to the outer loop circuit.
  • the method may further include supplying the inner loop with a timing reference signal from one of a crystal oscillator and a surface acoustic wave (SAW) device as an input into the inner loop circuit.
  • SAW surface acoustic wave
  • tlie inner loop circuit is a fractional N loop such that a period of the timing reference signal can be a non-integer multiple of a period of an output signal generated by the inner loop circuit.
  • the inner loop circuit and outer loop circuit are phase-locked loops and the outer loop is a low bandwidth phase-locked loop and the inner loop is a phase-locked loop having a substantially higher bandwidth than the low bandwidth of the outer loop circuit.
  • the method may further include supplying a stream of integers from a delta sigma modulator corresponding to the control value to control the divide ratio of the feedback divider.
  • the method may further include, while the outer loop is not coupled to control the inner loop circuit, supplying the inner loop circuit with a digital control signal as the control value to control the divide ratio, the control value being determined at least in part according to a stored control value stored in a nonvolatile storage, the stored control value corresponding to a desired output frequency of the inner loop circuit.
  • the method may further include determining the digital control value supplied to the inner loop circuit to control the divide ratio at least in part according to a detected temperature.
  • the method may further include determining the digital control value supplied to the inner loop circuit to control tlie divide ratio at least in part according to a control voltage supplied on a voltage control input terminal to adjust output frequency of the inner loop circuit.
  • the method may further include storing a control signal corresponding to the divide ratio supplied to tlie inner loop to cause the inner loop to generate the output signal having a frequency corresponding to the reference clock, in response to a lock condition detected by the outer loop circuit.
  • the method may further include selecting a source for the control value from one of the outer loop circuit or from a nonvolatile storage storing a stored control value corresponding to desired frequency of the oscillator output signal.
  • the apparatus may include a fractional N inner loop circuit having an input for receiving a timing reference signal, the inner loop circuit including a multi-modulus feedback divider circuit and an oscillator circuit supplying an oscillator output signal and; an outer loop circuit coupled to the oscillator output signal and coupled to the reference clock signal and to generate an error signal indicative of a difference between the oscillator output signal and the reference clock signal; and wherein the outer loop is coupled to supply a divider control signal to control a divide ratio of the feedback divider circuit according to the error signal generated by the outer loop circuit to thereby multiply the reference clock signal.
  • the apparatus may further include a sigma delta modulator supplying a stream of integers corresponding to the divider control signal.
  • the apparatus may further include one of a crystal oscillator and a surface acoustic wave (SAW) resonator supplying the timing reference signal.
  • the inner and outer loops of the apparatus may be phase-locked loops, each including a digital loop filter.
  • the outer loop circuit may be a low bandwidth phase locked loop and the inner loop circuit may have a higher bandwidth than the outer loop circuit.
  • Another embodiment may provide a method for multiplying a reference clock signal that includes receiving a timing reference signal as an input to a fractional N inner loop circuit and generating an inner loop output signal; receiving the reference clock signal and the inner loop output signal at an outer loop circuit; and generating an error signal indicative of a difference between the inner loop output signal and the reference clock signal; and supplying a digital control signal from the outer loop to a multi-modulus feedback divider circuit of the inner loop circuit to thereby control the inner loop output signal to be a desired multiple of the reference clock signal.
  • the method may further include supplying the timing reference signal from one of a crystal oscillator and a surface acoustic wave (SAW) device.
  • SAW surface acoustic wave
  • the method may further include supplying a stream of integers corresponding to tlie digital control value from a delta sigma modulator.
  • the inner loop circuit and outer loop circuits are phase-locked loops and the outer loop is a low bandwidth phase-locked loop and the inner loop is a phase-locked loop having a higher bandwidth than the low bandwidth of the outer loop.
  • Fig. 1 illustrates a device in which an integrated circuit and a crystal are packaged in a standard six pin VCXO ceramic package.
  • Fig. 2 illustrates a device in which an integrated circuit and a crystal are packaged in a standard four pin XO ceramic package.
  • Fig. 3 illustrates a block diagram of an exemplary integrated circuit suitable for use as the integrated circuit in Figs. 1 or 2.
  • FIG. 4 illustrates alternative serial communication terminals for programming and for receiving a configuration clock according to an embodiment of the invention.
  • Fig. 5 illustrates exemplary read and write formats utilized for communicating over a serial port.
  • Fig. 6 illustrates exemplary use of Manchester encoding for data supplied over the serial port.
  • Fig. 7 illustrates exemplary use of a calibration clock over the serial port.
  • Fig. 8 illustrates an exemplary embodiment of the digitally controlled oscillator utilized in Figs. 3 and 4.
  • Fig. 9 illustrates a block diagram of an exemplary phase selectable divider circuit that may be utilized in the multi-modulus divider in Fig. 8.
  • Fig. 10 illustrates operation of the phase selectable divider of Fig. 9.
  • FIG. 11 illustrates an exemplary implementation of a multi-modulus divider.
  • Fig. 12 illustrates operation of the multi-modulus divider shown in Fig. 11.
  • a high level diagram shows a clock source device that includes an integrated circuit 10 coupled to a crystal 11.
  • both the integrated circuit 10 and the crystal 11 are packaged in a standard ceramic package 15 that is typically utilized for packaging a voltage controlled crystal oscillator (VCXO).
  • VCXO voltage controlled crystal oscillator
  • SAW surface acoustic wave
  • the package 15 includes standard input/output signals including a voltage control input 17, a power and ground input, 19 and 21 respectively, differential clock outputs and an output enable (OE) pin 27.
  • Fig. 2 illustrates a four pin XO package implementation in which the control voltage input 17 is not utilized and the output clock 29 is single ended.
  • a six pin XO package configuration may also be utilized in which the control voltage input on the package is not connected when the package 15 is mounted to a board.
  • Other packaging alternatives for the integrated circuit with or without the crystal oscillator or SAW may also be utilized.
  • a block diagram illustrates an embodiment of integrated circuit 10 that provides a fixed frequency or voltage controlled clock source.
  • the integrated circuit is packaged in a six pin VCXO package.
  • Integrated circuit 300 includes a digitally controlled oscillator (DCO) 301.
  • DCO digitally controlled oscillator
  • PLL fractional N phase-locked loop
  • a crystal based reference clock 303 can be multiplied up by a rational number to supply a wide variety of output frequencies.
  • the precision of M can be to the level of a few parts per billion.
  • An important criteria is to ensure that a DCO, such as illustrated in Fig. 3, meets the phase noise specifications typically achieved by a fixed frequency crystal or SAW based oscillator.
  • a standard of interest would be for example the SONET standard for jitter generation. That will be explained in more detail below.
  • Fractional N phase-locked loops allow the multiplication of an incoming reference clock by a rational rather than an integer number as is common in traditional PLL designs.
  • Such a multiplication requires the use of a multi-modulus divider in the feedback path.
  • Such a divider will divide not by a fixed integer, but by a sequence of integers that over time approximates the rational number desired.
  • This sequence can be generated by a digital delta sigma modulator which shapes the quantization noise added to the rational number with a high pass filter.
  • the resulting phase noise is also shaped by a high pass filter.
  • the overall noise contribution from the fractional PLL depends on two major factors.
  • the first major factor is the ratio of the update rate of the PLL (generally the reference clock rate) and the loop bandwidth of the PLL, a measure similar to the oversampling ratio (OSR) in delta sigma analog to digital converters (ADCs).
  • OSR oversampling ratio
  • ADCs analog to digital converters
  • a higher OSR allows for better suppression of quantization noise in the band of interest.
  • the noise contribution can be reduced by lowering the loop bandwidth.
  • the second major factor contributing to noise is the quantization error applied at the divider, which is the clock period of the clock feeding tlie multi-modulus divider.
  • noise in a PLL has 2 other main contributors:
  • the first other main contributor is noise from the voltage controlled oscillator (VCO).
  • VCO voltage controlled oscillator
  • An integrated LC VCO exhibits 3 noise regions, close in 1/f 3 , intermediate 1/f 2 , and high frequency white noise that is frequency independent. For example, exemplary corners defining the three regions are at 100 KHz and 100 MHz.
  • the 1/f 3 region is significant, whereas the white noise region is insignificant.
  • the noise transfer function to the output of the PLL is a high pass filter with a corner at the loop bandwidth. Wider loop bandwidth improves the noise contribution from the VCO. If the bandwidth of the loop exceeds the 1/f corner of the oscillator, the overall phase noise performance tends to be very competitive with the performance of prior art fixed frequency crystal or SAW based oscillators in applications such as SONET.
  • the second other main contributor to noise in a PLL is noise from the reference clock. Similar noise regions exist as above. If this clock is generated from a fixed crystal oscillator, it is generally very competitive at low frequency (1/f 3 and 1/f 2 ) but with a significant white noise contribution. Narrower loop bandwidth improves the noise contribution of this source. [1028] The choice of loop bandwidth is an optimization to reduce noise from various sources.
  • phase error can be computed as the integral of all instantaneous frequency errors as they were computed in the delta sigma modulator that controls the multi modulus divider.
  • the phase error can be cancelled and thus strongly reduced as a noise source.
  • the bandwidth can be increased and thus overall better jitter performance can be achieved.
  • the device illustrated in Fig. 3 can function as a voltage-controlled crystal oscillator
  • VCXO/VCSO or as a fixed-frequency clock source (XO/SO).
  • a register bit setting may be used to select between the modes of operation.
  • a control voltage is received on the VC analog voltage input port 309.
  • the on-chip analog to digital converter (ADC) 311 converts the control voltage VC into a digital control word (VCADC) supplied to summing circuit 315, which generates the control signal M for the DCO 301.
  • VCADC digital control word
  • the selector circuit 319 selects 319 input B, which is coupled to the reference frequency (RFREQ) control value stored in a portion 349 of non- volatile storage 317.
  • RFREQ reference frequency
  • the control value from the selector circuit may be summed in summing circuit 315 with a temperature compensation value (DELMT) supplied on node 321 as described further herein, as well with as the control VCADC, and the sum is supplied to DCO 301 as the control signal to determine the DCO output.
  • DELMT temperature compensation value
  • the RFREQ provides a center frequency that is adjusted by VCADC. If temperature compensation is not used, a value for DELMT is selected so as to not effect the output of DCO 301.
  • the selector circuit When operating as a fixed frequency clock source, the selector circuit also selects 319 input B, to supply the reference frequency (RFREQ) control value stored in a portion 349 of non- volatile storage 317. That control value may be summed in summing circuit 315 with a temperature compensation value (DELMT) supplied on node. The sum from summing circuit 315 is supplied to DCO 301 as the control signal to determine the DCO output.
  • XO/SO fixed-frequency clock source
  • the ADC 311 is powered down and its output is fixed to its mid-scale value so as not to affect the DCO 315.
  • the use of a DCO as a clock source has several advantages. Digital control of the output frequency allows for storage of calibration parameters in non-volatile memory 317. Also, the DCO can be embedded in an outer phase locked loop as described further herein. This outer loop includes a phase detector with digital output and a digital loop filter 337 and the DCO 301. When the outer loop is in lock to a reference frequency, the value present at the input to the DCO 301 is the proper multiplier to achieve this frequency in an open loop operation. Therefore this value can be stored while in lock and recalled later for operation in open loop as a clock source.
  • the loop bandwidth of the inner loop, as described above, is preferably greater than the 1/f corner.
  • the loop bandwidth of the inner loop may range from approximately 10 KHz to approximately 10 MHz.
  • the loop bandwidth of the outer loop is preferably much lower, e.g., below approximately 1 KHz and even as low as 50 Hz or lower.
  • the inner loop is implemented to adjust quickly to changes as compared with the outer loop. Having the outer loop have a low bandwidth allow attenuation of jitter present on the reference clock input to the outer loop, which in turn can reduce jitter present in a stored control value to control the output of the inner loop.
  • the embodiment illustrated in Fig. 3 has the capability of generating and storing a digital control value for DCO 301 corresponding to clock signal received via a calibration input. In that way, the device can be programmed to provide a clock having a desired output frequency.
  • a calibration clock signal is supplied, e.g., on terminal 331 and via signal line 333 to divider 335.
  • the calibration clock is compared to the output of the DCO 301 in phase and frequency detector 337 and an error signal is generated and filtered and supplied to adjust the output of DCO 301.
  • the value of M may be stored.
  • the calibration clock feature is useful, e.g., so that the device can lock its output clock to tlie calibration clock using an internal PLL, and control factors used to lock the PLL to the calibration clock can be stored for absolute output frequency and/or frequency versus temperature, as described further below. That stored value may then be utilized to control tlie DCO during normal operation.
  • a communication port e.g. a serial port may be provided.
  • the serial port may be provided as a dedicated prograrrrming port or its function can be combined with other I/O terminals.
  • the OE pin 331 is multi-functional. That is, in one embodiment, the OE terminal functions as a normal enable signal causing the output clock(s) to be either supplied or not according to the voltage level on the OE terminal.
  • the OE terminal 331 is also used for programming and calibrating the device 300.
  • tlie OE terminal 331 is used to communicate serial data to and from the integrated circuit 300.
  • the OE pin 331 may serve as a serial port for access to storage locations internal to integrated circuit 10, thus providing programmability.
  • tlie OE pin is bi-directional, implemented as an open drain with a weak pull-up.
  • the serial communication may be unidirectional into integrated circuit 330.
  • OE terminal 331 can function as a calibration input used to internally generate calibration correction factors using an internal PLL.
  • Adapting the OE terminal to be multi-functional provides both programmability and calibration capability, and because a standard input terminal is utilized for tlie functions, no special packaging is required, resulting in low cost for the additional functionality.
  • the functions can be performed after the device is packaged and sealed.
  • low frequency test equipment can be used to provide programming and calibration of the devices in a sealed package without any additional package pins.
  • tlie output enable (OE) terminal 331 is multi-functional in that in can be used both to provide an output enable function and to provide programming and calibration clock.
  • the multifunction capability of OE terminal 331 may be provided as follows.
  • the output enable signal supplied from an external source to OE terminal 331 is provided to control circuit 341, which may include a sampling circuit and a state machine.
  • the control circuit 341 determines whether the received signal is a valid output enable signal, serial data communication, or a calibration clock.
  • the signal on OE terminal 341 is determined to be a valid output enable signal, then the signal value on OE pin 331 is utilized to generate an internal output enable control signal 343, which in turn enables (or disables) output drivers 345 that supply the differential clock outputs CLKOUT+ and CLKOUT-.
  • control circuit 341 determines whether the signal present on I/O terminal 331 is a valid output enable signal, serial data, or a calibration clock as follows.
  • An internal oscillator clock asynchronously oversamples the OE I/O terminal. Any static value (all samples having the same value) that persists more that a predetermined time period, t STATIC , is interpreted as a change to or as a valid enable/disable signal and the output clocks are selectively enabled or disabled based on that static value.
  • the time period I S T A TI C may be programmable.
  • the sampling circuit functions as a deglitching circuit ensuring that short term changes on I/O terminal 331 do not cause changes to the enable/disable control of the output clock terminal(s).
  • a bi-directional serial data format is utilized that includes guaranteed transitions at less than t STAT r C intervals.
  • the serial data format includes an indication of read or write, the register or other internal address, and direction (either data input or output). Because transitions of the serial communication are guaranteed at less than ts ⁇ A ⁇ c intervals, activity on the OE I/O terminal for serial data I/O will not interfere with the normal enable/disable functionality.
  • a serial data format is selected that is sufficiently complex, e.g., with appropriate error detection capability, to preclude the possibility that a glitch at the OE terminal during normal operation would be inadvertently interpreted as a serial port command.
  • a serial data command is utilized that indicates to the device that the calibration clock will be applied next. That command enables the calibration PLL. After this command, the user supplies a clock to the OE terminal 331.
  • the frequency of the calibration clock may be low even though the output frequencies are high due to the use of the divider 347 in the feedback path from the oscillator 301. Note however, that the frequency of the calibration clock should be high enough to provide transitions at less than ts TAT ic intervals so as not to interfere with the normal enable/disable operation.
  • the option is provided for using one of two dedicated
  • the PI port 401 is a dedicated I/O that functions as a bidirectional serial port for register data reads and writes, and as a calibration clock input, similar to the function of the OE pin used for programming and calibration described above but without any OE pin functionality.
  • the P2 port 403 is also a dedicated I/O with the same serial bus and calibration clock functionality as PI; however, once programming is completed, P2 can be converted from a dedicated serial port I/O to an input control for the output enable function. Similar to the OE pin described in relation to Fig. 3, an input deglitching circuit 405 guarantees that short term glitches or pulses on the P2 pin are ignored and do not affect the internal buffer disable control.
  • serial port is typically used during manufacture test to establish the desired device configuration in the on-chip non-volatile memory (NVM) 317.
  • Serial port communications can begin following a power-on-reset of the device.
  • An exemplary command format for the serial bus is shown in Fig. 5. Each transmission has three eight bit bytes of data: the preamble byte 501, the instruction byte 503, and the address/data byte 505.
  • One extra clock cycle 507 exists for tlie Read command in order to allow time for placing the transmit output of the test equipment hooked up to the device in high impedance before the first read bit is sent by the device.
  • the serial port state machine which may be part of deglitching circuit 83, returns to its initialized condition if any invalid input data is detected or if no activity occurs on the bus. That feature guarantees that the state machine can always be brought to a known condition before signaling begins.
  • all data sent from the test equipment (master) to the device (slave) is Manchester encoded with a symbol rate of approximately 10 kbps.
  • the Manchester encoding creates guaranteed transitions in the data pattern that are used by the device to determine the master's transmission rate.
  • read data sent from the device to the test equipment is in a non-return to zero (NRZ) format, which maximizes the available sampling time for the test equipment master.
  • the test equipment master can sample the read data using the same internal clock used to generate tlie transmit data.
  • Fig. 6 gives illustrates a Manchester encoded “0" and "1" and also shows the required preamble data pattern. Note that the preamble contains multiple Manchester code violations in order to increase its uniqueness and reduce the chances of false preamble detection.
  • the voltage control input 309 may be used as a serial communication port.
  • the 301 is driven by a digital frequency control word M and produces a low jitter output clock.
  • the control word M supplied to the DCO 301 is generated by summing a reference frequency control word (RFREQ) with the VCO ADC 311 output (VCADC), if utilized, and the temperature compensation value (DELMT), if utilized in summer 315.
  • the fixed frequency external crystal 303, SAW, or clock provides a low jitter reference needed to synthesize the output clock. In one embodiment frequency synthesis is done digitally, eliminating sensitive noise entry points.
  • the method for frequency and temperature calibration of the DCO uses an external calibration clock applied at the serial port (e.g., at the OE pin, PI or P2).
  • a digital phase locked loop PLL is implemented around the DCO, locking the DCO output clock to an integer multiple of the low frequency input calibration clock.
  • the device internally generates the required calibration correction factors to generate the desired output frequency.
  • calibration operates as follows. First the temperature compensation DELMT (delta M over temperature) is turned off. That forces - l i fts contribution to summing circuit 315 to 0. If desired it may be enabled after the calibration is complete. If the device is being used as a VCO, VCO mode should be enabled and the analog input V c 309 should be set to its mid-scale voltage during the calibration. That sets the analog to digital converter 311 at midrange. If the device is being used as a fixed frequency oscillator, VCO mode should be disabled to cause the output of the ADC 311 to be at midscale and thus not affect the output frequency.
  • the calibration clock frequency range should be selected by selecting the N3 divider value for divider 335.
  • the input divider N3 is set to a divider value to 8.
  • the choice of calibration clock frequency range is based on the availability of precision clock sources in the manufacturing test environment. Other embodiments may have different values for the divider block N3 or lack the divider block entirely.
  • the calibration loop bandwidth is also selectable.
  • two choices for calibration loop bandwidth are available, which are selected according to a register bit. The wider bandwidth provides faster settling time, but allows more of the calibration clock phase noise to affect the absolute frequency accuracy when the DPLL is frozen. The lower bandwidth has slower settling, but less variation in the absolute frequency value when the DPLL is frozen.
  • the optimal choice is a function of the calibration clock jitter and the absolute frequency accuracy requirement for the application.
  • the control circuit 341 then receives a command setting the calibration clock on (CCK_ON) register bit to one through a serial port register write, indicating that a calibration clock is to be supplied over the serial port (input/output terrninal 27, PI, or P2). Subsequently, tlie calibration clock can be supplied as an input frequency reference for the calibration PLL.
  • Fig. 7 illustrates a command sequence including a preamble, write command and data followed by application of the calibration clock.
  • the control state machine selects multiplexer input A from the digital phase detector and loop filter 337, which forms a phase-locked loop with DCO 301 in this configuration.
  • the calibration clock (CALCK) is supplied via node 333 to the divider circuit 335.
  • the digital phase detector and loop filter 337 detects tlie phase/frequency difference between the calibration clock and tlie output of the DCO 301 and provides a correction signal to summer 315 through multiplexer 319 to adjust the control signal M supplied to the DCO 301 to reflect that difference.
  • the calibration clock is applied for sufficient amount of time to allow the PLL to settle and establish the control factors needed to lock the DCO 301 output clock to an integer multiple of the low frequency input calibration clock.
  • the DCO may lock to a fractional multiple (e.g., a ratio of integers) of the calibration clock according to the dividers utilized.
  • control operations during calibration e.g., to select the multiplexer input and store the value of M, may be controlled via commands sent to serial port, the result of internal control generated by, e.g., a state machine in control circuit 341, or both.
  • the calibration clock is stopped as shown in Fig. 7. That causes the internal state of the device to be stored and tlie CCK_ON bit is automatically reset to zero.
  • the cessation of the clock is detected by the control circuit 341 causing it to freeze the correction or control values internally. If the delay required to detect the cessation of the clock allows the PLL to be disturbed before the control values are stored, a history of the control values can be kept on-chip and the control values that existed before tlie actual clock cessation can be kept.
  • the values that are stored may be the correction factor generated by the phase detector and loop filter 51 or the value of M when the PLL is locked to the calibration clock (essentially the same as the correction factor but after the sunrming circuit 315).
  • a ninning history of the values is kept and tlie values that existed immediately before the loss of clock are stored when the PLL is frozen.
  • the running history may be stored in registers in the control circuit 341.
  • the control value(s), along with appropriate divider values, can be stored in the non-volatile memory 317, which may, e.g., be implemented as an EPROM, EEPROM, or any other suitable non-volatile memory.
  • the stored control value is used to generate the control value supplied to the DCO 301 by supplying the control value to summing node 315 during normal operation.
  • a lock detection mechanism is included for the calibration PLL.
  • a lock detect bit (LOCK) is the result of an analysis of the PLL phase detector output.
  • a retriggerable one-shot is set each time the phase detector output indicates a full-scale condition (phase cycle slip). The retrigger time of the one-shot may be programmable via a register bit. Therefore, if no cycle slip has occurred for the retrigger time, the internal lock detection indicator bit (LOCK) is set to one, indicating that the PLL is in lock.
  • the internal lock detection indicator bit (LOCK) can be queried to verify that the PLL achieved lock during the time the calibration clock was active.
  • the internal over sampling state machine returns to its reset or initialization state, waiting for further activity on OE, PI or P2, and ready to receive additional commands. This timeout feature prevents lockup of the state machine, guaranteeing a known starting condition for the user.
  • serial communication capability available through input/output terminal 331 also allows a user to program a fixed control value to set oscillator 301 to a specific output frequency by writing to reference frequency storage location 349, supplying that value to the multiplexer 319 and selecting the B input of the multiplexer 319 to be supplied to the summing circuit 315.
  • the divider ratios in some or all of divider blocks may be written and or read via the serial port provided by input/output terminal.
  • calibration can also be performed without a calibration clock input.
  • the on-chip nonvolatile memory (NVM) 317 provides for permanent storage of device configuration settings and calibration settings at manufacture.
  • the NVM memory space includes bits for all of the settings necessary to fully configure the device.
  • the volatile memory space includes duplicate bits for each NVM bit, plus additional bits that do not require nonvolatile storage.
  • the nonvolatile memory is one time programmable.
  • a primary (Ml) and secondary (M2) NVM space may be provided to allow the NVM settings to be written twice during the lifetime of the device.
  • a status register may be used to indicate the current status of Ml and M2. Data is written from volatile memory, such as registers, into NVM using the STORE command. All volatile memory bits with duplicates in the NVM space are written with one command.
  • the first time the STORE command is executed the Ml NVM space is written. When the write is initiated, a status bit (M1_WR) is permanently set. Once the write is completed, STORE is reset to zero, a read of Ml is done, and the result is compared to the volatile memory settings. If there is a match, then the NVM write has been successful and the M1_CHK status bit is permanently set. The next time the STORE command is executed, tlie M2 NVM space will be written. After device powerup or reset, the NVM status bits are checked and the appropriate NVM memory space downloaded into the volatile memory. The appropriate NVM space may also be downloaded on command using tlie RECALL register bit. Once the download is complete, RECALL is reset automatically.
  • M1_WR a status bit
  • the device Upon power up, the device internally executes a power on-reset (POR) which resets the internal device logic, loads the various setting stored in the non- volatile memory into volatile memory (e.g. the various control registers), and places the device output into high impedance.
  • POR power on-reset
  • a register bit may also be used to initiate a reset.
  • the center frequency of tlie device is determined by the reference frequency
  • RFFREQ supplied to the DCO as control input M and tlie HS_DIV (see Fig. 8) and Nl output divider values.
  • the device has the capability of storing four unique sets of RFREQ, HS_DIV, and Nl values representing four unique selectable output frequencies. There need not be a relationship between the four frequencies desired. That feature is useful in applications where a different output frequency is required depending on the system configuration.
  • the FRQSEL[1:0] inputs 407 (Fig. 4) select which set of RFREQ, HS_DIV, and Nl values are used. If this feature is not desired, the FRQSEL[1:0] pins can be left floating, in which case default values are selected.
  • thermometer 351 the devices illustrated in Figs. 3 and 4 can provide temperature compensation. That compensation is achieved by supplying the appropriate compensation value from non- volatile memory 317 based on the temperature detected by thermometer 351. Calibration for temperature compensation involves generating digital correction factors for various temperatures of interest. [1065] In one embodiment temperature compensation values are determined as follows. First a reference temperature point is determined. The calibration at this temperature sets the RFREQ value to the DCO and all other temperature/frequency points are calculated with respect to this reference point. The reference temperature does not have to be the nominal ambient temperature of operation.
  • the calibration clock is then applied through the serial port.
  • the M value corresponding to the frozen frequency and the temperature value are stored in the RFREQ_11 and RTEMP RAM registers, respectively.
  • the stored values of M and the temperature are tlie values that existed immediately before the clock was stopped to avoid any glitches that might occur after the calibration clock is stopped.
  • TCP[2:0] is set to 001 to indicate the next temperature calibration point is being established, and FRQSEL[l:0] is set to 11, and the device is brought to the desired temperature.
  • the calibration clock is applied as described previously.
  • the frozen delta-frequency value (relative to RFREQ_11) is stored in a DELMT1 register.
  • the frozen delta-frequency value (M at tlie reference temperature) - (M at the next temperature calibration point).
  • the associated temperature is stored in the TEMPI register.
  • the temperature calibration point register is incremented and the calibration clock is reapplied at the desired temperature, and the new frozen delta- frequency value is stored along with the corresponding temperature.
  • the temperature and delta M values are subsequently stored in non-volatile memory.
  • the M value at the reference temperature is used when the thermometer 351 indicates the reference temperature and appropriate offsets (supplied as DELMT) are supplied according to the temperature detected by thermometer 351.
  • the value of M at the particular temperature is stored, rather than delta M, and that value is supplied for temperature compensation.
  • the device can store up to six calibration points (frequency and temperature pairs), including the reference point, to calibrate the device across temperature.
  • the delta M over T value (DELMT) value is supplied to summing circuit 315 along with the reference frequency control value RFREQ.
  • the control value generated at tlie reference temperature calibration point, along with an interpolated delta as described above, is supplied to summer 315 and utilized to generate the M value.
  • other temperature calibration algorithms besides the interpolation described above may be utilized. That function, in the embodiment illustrated in Fig. 4, is performed by the control circuit 341.
  • the crystal (or SAW) oscillator 303 supplies a timing reference to the DCO 301 and supplies one input to the phase and frequency detector 801.
  • Phase and frequency detector 801 generates an error term of tlie difference between the crystal oscillator input and the feedback from the VCO 805.
  • the feedback is supplied by multi-modulus divider block 807.
  • the DCO is a fractional N loop.
  • the DCO 301 functions as an inner loop having its feedback divider controlled by an outer loop that includes tlie dividers 335, 347, phase detector and analog to digital converter 851, filter 853, delta sigma modulator 809 as well as portions of the inner loop.
  • the inner loop or DCO 301 is a fractional N loop wherein a period of the reference clock supplied by crystal or SAW 303 is a non-integer multiple of a period of the oscillator clock signal supplied by VCO 805.
  • Using a fractional N loop allows the use of low cost timing reference such as a low cost crystal oscillator.
  • the DCO receives a control value from summing circuit 315 based on ADC 311, DELMT, and RFREQ.
  • the temperature compensation is acliieved by adjusting the feedback loop of the DCO 301 through the delta sigma modulator 809, which is coupled to adjust the divider value supplied to the divide block 807.
  • the inner loop forming DCO 301 utilizes a digital loop filter to allow the loop filter to be integrated onto the integrated circuit to reduce potential additional noise sources. Further, as described above, utilization of a digital loop filter allows an accurate implementation of the loop filter that is properly matched to the corners and the order of the noise shaping function and therefore can best reduce tlie jitter contribution from that source.
  • the multi-modulus divider 807 is formed by a series of dividers. Because the feedback frequency may be in the GHz range, a prescalar is used to divide the feedback signal by, e.g., 4 or 5. Subsequent division stages, e.g., a plurality of divide by 4 and/or 5 stages further divide the feedback signal to an appropriate value according to the desired divider value.
  • FIG. 9 a block diagram of an exemplary phase selectable divider 900 is illustrated that may be utilized as part of the multi-modulus divider 807.
  • Eight clock signals P0-P7 are supplied to selector circuit 901.
  • selector circuit 901 is implemented as a multiplexer.
  • a three bit control signal 903 supplied from register 905 selects which of the clock signals P0 to P7 is output by the selector circuit.
  • the clock signals P0 - P7 have different phases. By selecting which clock signals are supplied by multiplexer 901, different frequency clock signals can be generated by the divider circuit.
  • a timing diagram illustrates operation of the divider circuit 900. As shown in Fig.
  • the clock signals P0-P7 are derived from a clock 1010 shown as hsclk.
  • hsclk 1010 is approximately 2.5 gigahertz and the clock signals P0-P7 are one fourth of clock signal hsclk, approximately 625 MHz.
  • the divider circuit 900 selects the next pulse to be output by adding a value A to tlie current select signal 903 in summing circuit 907 to generate a sum that is supplied to register 905.
  • the table below illustrates values of A supplied to summing circuit 907 to achieve various divide values.
  • the appropriate value of A is 4.
  • the select signal supplied from register 905 will be configured to select P0, e.g., using a value of 000.
  • the summing circuit 407 adds the current value supplied from register 905 (which is 000) with the value of A (which is 4) and provides a sum of 4 to register 905 to select P4 as the next pulse output by multiplexer 901, as illustrated by the clock signal 1020 (Div 2.0) shown in Fig. 10.
  • the sum circuit 907 is implemented as a modulo N summing circuit where N equals the number of clock signals supplied to multiplexer 401, which is 8 i the illustrated embodiment.
  • N the number of clock signals supplied to multiplexer 401, which is 8 i the illustrated embodiment.
  • A is continually added to the current select value to generate the next pulse and a sequence of pulses selected from the phases P0 and P4 is output as shown in Fig. 10 to generate an output clock signal that equals hsclk/2.
  • a divide by 2.5 will now be described. Assume that the currently selected clock is P0, so the select signal on control lines 903 will be configured to select P0, e.g., using a value of 000. Referring to Table 1, in order to divide by 2.5 (the division factor), the value of A is 5.
  • the summing circuit 907 provides a sum of 5 to register 905 to select P5 as the next pulse output by multiplexer 901, as illustrated by the clock signal 1030 (Div 2.5) shown in Fig. 10. With 5 as the current value of the select signals, the next value supplied as the select signal is 2, which selects P2 as the next pulse to be output by the select circuit 901.
  • Fig. 10 also shows the pulses 540, 550, 560, selected, respectively for divide by 4, 5 and 5.5.
  • the resultant waveform 1050 supplied on node 909 is labeled Div 5.0 in Fig. 10. Similarly, the initial pulses 1007 and 1009 shown in Fig. 10 are ignored hi a divide by 5.5 as shown in waveform 1060.
  • a second selector circuit 921 is utilized with a second summer circuit 923 and a second register 925.
  • a skip delay value of 3 is added to the current select value 903 in summing circuit 923.
  • the skip delay indicates how many phase steps (each of clocks P0 - P7 being a phase step) should be skipped before tlie select signal in register 905 is updated.
  • the output clock from multiplexer 901 on node 909 is used to update register 925 with the sum from summing circuit 923.
  • the multiplexer 901 may be coupled to receive an input signal that is a steady state input signal, e.g., ground, in addition to the various phase sets received. In that way, the multiplexer may be selected to output no signal.
  • FIG. 11 illustrates an embodiment of how a multi-modulus divider such as that illustrated in Fig.
  • a block diagram illustrates a multi- modulus programmable divider circuit according to an embodiment of the invention.
  • the VCO 805 provides an approximately 10 GHz clock signal, which is divided down in dividers 1103 and 1105 to an approximately 2.5 GHz clock signal.
  • some embodiments avoid feeding control signals to the high-speed circuitry.
  • one embodiment utilizes a minimum number of transistors in the high speed portion to save power and take advantage of the multiphase output of a divider described herein to achieve equivalent speed. The programmability is pushed into the lower frequency circuitry.
  • the 5 GHz signal from node 1103 is fed to a cascade of two dividers, divider 1105, which is a divide-by-two and divider 1107, which is a divide-by-four phase generator that generates 8 different phases.
  • Divider 1107 supplies pulse width controller (PWC) 1109, which in turns supplies an 8-to-l phase selecting multiplexer 1113 through flip-flops 1111.
  • PWC pulse width controller
  • the phase selecting multiplexer 1113 directs one of the eight (8) phases from the PWC 1109 to its output.
  • the output of the multiplexer 1113 is used to clock a divide-by-Q counter (/Q) 1117, which generates the divider output.
  • the output is also used to trigger a finite state machine (FSM) 1115, which implements the multiplexer control (phase selection) algorithm, e.g. as illustrated in Figs. 9-10.
  • FSM finite state machine
  • the delta sigma modulator 809 supplies a stream of integers M' to block 1119 by to provide fractional n divide capability.
  • M' is a sequence of integers that approximates the rational number M.
  • block 1119 may be incorporated into the finite sate machine 1115.
  • the divide ratio M fJ- f oat .
  • M ((9.7 GHz ⁇ 11.32 GHz)/2)/(10 MHz (Xoxc) ⁇ 320 MHz (SAW)).
  • M 15.15625 ⁇ 566.
  • the delta sigma modulator is an eight level quantizer that expands the fractional range to M-3 to M+4 as illustrated in Fig. 15.
  • the delta sigma modulator may be implemented, e.g., as a third order delta sigma modulator. Given that expansion of the fractional range of M, M ranges from approximately 12 to approximately 570.
  • the divider circuit illustrated in Fig. 11 operates fundamentally as an integer divider with the M' value updated at a frequency varying from approximately 416 MHz for an M value of 12, to an update frequency of approximately 9 MHz for an M value of 570.
  • the divide by Q and the divide by R can be performed in lower speed chcuitry.
  • the divide by Q can be performed in variable divider circuit 1117, which has a much lower input frequency, thus can be implemented with low speed chcuitry.
  • the divide by R can be achieved in the phase selecting multiplexer 1113.
  • the multiplexer 1113 chooses the phase that is R steps offset (R can be positive or negative) from the last phase in each cycle of the output, thus achieving the division factor 8Q+R.
  • R is similar to A utilized in Figs. 9 and 10. By varying both Q and R, flexible programmability is achieved. Various values of R may be utilized examples of which are shown below.
  • each R scheme shown above there are 8 values corresponding to each phase step.
  • Fig. 12 illustrates the input to the phase selecting multiplexer 1113, while the bottom portion of Fig. 12 illustrates the output for various divide values.
  • the temperature compensation value determined by the interpolation described above may cause the value of M with temperature compensation to be 100.5.
  • the delta sigma modulator in one embodiment provides an output having 8 different integer levels from -3 to 4, to represent the fractional portion, which values are combined with the integer portion (100) and mapped into the dividers of multi-modulus divide by N block 807. Thus, values ranging from 97 to 104 may be applied as divider values to the multi-modulus divide by N block 807. The use of the delta sigma modulator allows appropriate values to be used to average 100.5.
  • a value is generated by the divide block 807 at a rate of the XO (or other reference) clock frequency supplied on node 800.
  • noise shaping may be used to place any noise generated in the feedback divider in a frequency band that may be subsequently filtered by a low pass filter in the loop filter 803.
  • the integrated circuit illustrated is coupled as a clock multiplier circuit to multiply the reference signal REF received at divider 335 and the supply the multiplied value as the output of DCO 301.
  • phase detector and loop filter 337 supply a digital value to multiplexer 853, which in turn is supplied to delta sigma modulator 809.
  • the multiplier value may be selected by setting the divide values in divide blocks 335 and 347. In various embodiments those values may be pin programmable, programmed via a serial port, or predetermined.
  • the outer loop bandwidth is low to minimize jitter transfer from jitter present in the reference signal REF.
  • I/O terminal or pin is intended to mean either a terminal that functions as an input, an output or both.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

A first phase-locked loop (PLL) circuit (301) includes an input for receiving a timing reference signal from an oscillator 303, a controllable oscillator circuit (805) supplying an oscillator output signal, and a multi-modulus feedback divider circuit (809). A second control loop circuit is selectably coupled through a select circuit 853 to supply a digital control value (M) to the multi-modulus feedback divider circuit of the first loop circuit to thereby control the oscillator output signal. While the second control loop is coupled to supply the control value to the feedback divider circuit, the control value is determined according to a detected difference between the oscillator output signal and a reference signal coupled to the second control loop circuit at a divider circuit (335). While the second control loop circuit is not coupled to control the first PLL circuit, the first PLL circuit receives a digital control value to control a divide ratio of the feedback divider, the digital control value is determined at least in part according to a stored control value stored in nonvolatile storage (317), the stored control value corresponding to a desired frequency of the oscillator output signal.

Description

METHOD AND APPARATUS FOR A PROGRAMMABLE CLOCK SOURCE GENERATING A
WTDE RANGE OF OUTPUT FREQUENCIES
TECHNICAL FIELD
[1001] This application relates to integrated circuit devices more particularly to integrated circuits utilized in generating clock signals.
BACKGROUND ART
[1002] Clock sources typically utilize a resonator such as a crystal oscillator or surface acoustic wave
(SAW) device. Precision in traditional clock sources utilizing crystal oscillators is determined by the accuracy of the cut of the crystal and the calibration performed after the cut. For example frequency tuning may be achieved by sputtering gold after cutting. Fixed frequency sources such as crystals have typically provided better phase noise performance than the phase noise performance associated with variable frequency source such as, e.g., a voltage controlled oscillator (VCO). That is due, at least in part, to the fact that the variable elements (e.g. the varactor) associated with the VCO used to vary the frequen y have higher losses than fixed elements such as the capacitors in a fixed source.
[1003] However, resonators typically have a limited optimum range due to manufacturing constraints.
That is, it is hard to pull a crystal over a wide range. However, various applications have requirements for numerous frequencies outside the easy range for a resonator. Typically, a different frequency range will require a different resonator. Accuracy requirements vary for clock sources, but are typically below the parts per million (ppm) range.
[1004] It would be desirable to provide a clock source that meets accuracy requirements, allows the use of a resonator that is easy to manufacture and low cost, but can still provide a wide range of output frequencies and suitable phase noise performance.
DISCLOSURE OF THE INVENTION
[1005] In one embodiment, an apparatus is provided that includes a first phase-locked loop (PLL) circuit that has an input for receiving a timing reference signal, a controllable oscillator circuit supplying an oscillator output signal, and a multi-modulus feedback divider circuit. A second control loop circuit is selectably coupled to supply a control value to the multi-modulus feedback divider circuit of the first loop circuit to thereby control the oscillator output signal. The control value supplied may be a digital control value. In an embodiment, while the second control loop is coupled to supply the control value to the feedback divider circuit, the control value is determined according to a detected difference between the oscillator output signal and a reference signal coupled to the second control loop circuit. In an embodiment, a temperature compensation circuit is coupled to supply an adjustment value according to a detected temperature, and the control value supplied to the multi-modulus feedback divider circuit is adjusted according to the adjustment value, while the second control loop is not coupled to supply the control value to the feedback divider circuit. The apparatus may further include a voltage control input, and the control value supplied to the multi-modulus feedback divider circuit is adjusted according to a voltage value present on the voltage control input. The apparatus may further include one of a crystal oscillator and a surface acoustic wave (SAW) resonator supplying the timing reference signal. The second control loop circuit may be implemented as a phase-locked loop and include a digital loop filter. The apparatus may further include a nonvolatile storage; and while the second control loop circuit is not coupled to control the first PLL circuit, tlie first PLL circuit receives a digital control value to control a divide ratio of the feedback divider, the digital control value being determined at least in part according to a stored control value stored in the nonvolatile storage, the stored control value corresponding to a desired frequency of the oscillator output signal. The stored control value in the nonvolatile storage may be based on a digital control value that was stored as a result of the second control loop circuit detecting a lock condition indicating that the oscillator output signal was locked to a reference signal coupled to the second control loop circuit. In an embodiment the second control loop is implemented as a low bandwidth phase-locked loop and a bandwidth of the first PLL circuit is substantially higher than the low bandwidth of the second control loop circuit.
[1006] In another embodiment, a method is provided that includes selectably coupling an outer loop circuit to control an inner loop circuit; and controlling the inner loop circuit by supplying a control value from the outer loop circuit to control a divide ratio of a feedback divider of the inner loop circuit, while the outer loop is coupled to control the inner loop, to cause the inner loop to generate an output signal based on a reference clock signal supplied to the outer loop circuit. The method may further include supplying the inner loop with a timing reference signal from one of a crystal oscillator and a surface acoustic wave (SAW) device as an input into the inner loop circuit. In an embodiment, tlie inner loop circuit is a fractional N loop such that a period of the timing reference signal can be a non-integer multiple of a period of an output signal generated by the inner loop circuit. In an embodiment, the inner loop circuit and outer loop circuit are phase-locked loops and the outer loop is a low bandwidth phase-locked loop and the inner loop is a phase-locked loop having a substantially higher bandwidth than the low bandwidth of the outer loop circuit. The method may further include supplying a stream of integers from a delta sigma modulator corresponding to the control value to control the divide ratio of the feedback divider. The method may further include, while the outer loop is not coupled to control the inner loop circuit, supplying the inner loop circuit with a digital control signal as the control value to control the divide ratio, the control value being determined at least in part according to a stored control value stored in a nonvolatile storage, the stored control value corresponding to a desired output frequency of the inner loop circuit. The method may further include determining the digital control value supplied to the inner loop circuit to control the divide ratio at least in part according to a detected temperature. The method may further include determining the digital control value supplied to the inner loop circuit to control tlie divide ratio at least in part according to a control voltage supplied on a voltage control input terminal to adjust output frequency of the inner loop circuit. The method may further include storing a control signal corresponding to the divide ratio supplied to tlie inner loop to cause the inner loop to generate the output signal having a frequency corresponding to the reference clock, in response to a lock condition detected by the outer loop circuit. The method may further include selecting a source for the control value from one of the outer loop circuit or from a nonvolatile storage storing a stored control value corresponding to desired frequency of the oscillator output signal.
[1007] Another embodiment may provide an apparatus for multiplying a reference clock signal. The apparatus may include a fractional N inner loop circuit having an input for receiving a timing reference signal, the inner loop circuit including a multi-modulus feedback divider circuit and an oscillator circuit supplying an oscillator output signal and; an outer loop circuit coupled to the oscillator output signal and coupled to the reference clock signal and to generate an error signal indicative of a difference between the oscillator output signal and the reference clock signal; and wherein the outer loop is coupled to supply a divider control signal to control a divide ratio of the feedback divider circuit according to the error signal generated by the outer loop circuit to thereby multiply the reference clock signal. The apparatus may further include a sigma delta modulator supplying a stream of integers corresponding to the divider control signal. The apparatus may further include one of a crystal oscillator and a surface acoustic wave (SAW) resonator supplying the timing reference signal. The inner and outer loops of the apparatus may be phase-locked loops, each including a digital loop filter. The outer loop circuit may be a low bandwidth phase locked loop and the inner loop circuit may have a higher bandwidth than the outer loop circuit.
[1008] Another embodiment may provide a method for multiplying a reference clock signal that includes receiving a timing reference signal as an input to a fractional N inner loop circuit and generating an inner loop output signal; receiving the reference clock signal and the inner loop output signal at an outer loop circuit; and generating an error signal indicative of a difference between the inner loop output signal and the reference clock signal; and supplying a digital control signal from the outer loop to a multi-modulus feedback divider circuit of the inner loop circuit to thereby control the inner loop output signal to be a desired multiple of the reference clock signal. The method may further include supplying the timing reference signal from one of a crystal oscillator and a surface acoustic wave (SAW) device. The method may further include supplying a stream of integers corresponding to tlie digital control value from a delta sigma modulator. In an embodiment the inner loop circuit and outer loop circuits are phase-locked loops and the outer loop is a low bandwidth phase-locked loop and the inner loop is a phase-locked loop having a higher bandwidth than the low bandwidth of the outer loop.
BRIEF DESCRIPTION OF THE DRAWINGS
[1009] The present invention may be better understood, and its numerous objects, features, and advantages made apparent to those skilled in the art by referencing the accompanying drawings.
[1010] Fig. 1 illustrates a device in which an integrated circuit and a crystal are packaged in a standard six pin VCXO ceramic package.
[1011] Fig. 2 illustrates a device in which an integrated circuit and a crystal are packaged in a standard four pin XO ceramic package. [1012] Fig. 3 illustrates a block diagram of an exemplary integrated circuit suitable for use as the integrated circuit in Figs. 1 or 2.
[1013] Fig. 4 illustrates alternative serial communication terminals for programming and for receiving a configuration clock according to an embodiment of the invention.
[1014] Fig. 5 illustrates exemplary read and write formats utilized for communicating over a serial port.
[1015] Fig. 6 illustrates exemplary use of Manchester encoding for data supplied over the serial port.
[1016] Fig. 7 illustrates exemplary use of a calibration clock over the serial port.
[1017] Fig. 8 illustrates an exemplary embodiment of the digitally controlled oscillator utilized in Figs. 3 and 4.
[1018] Fig. 9 illustrates a block diagram of an exemplary phase selectable divider circuit that may be utilized in the multi-modulus divider in Fig. 8.
[1019] Fig. 10 illustrates operation of the phase selectable divider of Fig. 9.
[1020] Fig. 11 illustrates an exemplary implementation of a multi-modulus divider.
[1021] Fig. 12 illustrates operation of the multi-modulus divider shown in Fig. 11.
[1022] The use of the same reference symbols in different drawings indicates similar or identical items.
DESCRIPTION OF THE PREFERRED EMBODIMENTS)
[1023] Referring to Fig. 1, a high level diagram shows a clock source device that includes an integrated circuit 10 coupled to a crystal 11. In one embodiment both the integrated circuit 10 and the crystal 11 are packaged in a standard ceramic package 15 that is typically utilized for packaging a voltage controlled crystal oscillator (VCXO). Note that another resonating device such as a surface acoustic wave (SAW) resonator may be utilized in place of crystal 11. In the illustrated embodiment, the package 15 includes standard input/output signals including a voltage control input 17, a power and ground input, 19 and 21 respectively, differential clock outputs and an output enable (OE) pin 27. Fig. 2 illustrates a four pin XO package implementation in which the control voltage input 17 is not utilized and the output clock 29 is single ended. A six pin XO package configuration may also be utilized in which the control voltage input on the package is not connected when the package 15 is mounted to a board. Other packaging alternatives for the integrated circuit with or without the crystal oscillator or SAW may also be utilized.
[1024] Referring to Fig. 3, a block diagram illustrates an embodiment of integrated circuit 10 that provides a fixed frequency or voltage controlled clock source. In Fig. 3, the integrated circuit is packaged in a six pin VCXO package. Integrated circuit 300 includes a digitally controlled oscillator (DCO) 301. With the use of a fractional N phase-locked loop (PLL), a crystal based reference clock 303 can be multiplied up by a rational number to supply a wide variety of output frequencies. The fractional N loop can be viewed as a digitally controlled oscillator, where the output frequency is controlled by the rational digital number M according to Fout = MxFref. Thus, the DCO 301 can be implemented as a fractional N PLL providing a wide range of output frequencies output fosc = Mxfx, where fx is supplied from oscillator 303. The precision of M can be to the level of a few parts per billion. An important criteria is to ensure that a DCO, such as illustrated in Fig. 3, meets the phase noise specifications typically achieved by a fixed frequency crystal or SAW based oscillator. A standard of interest would be for example the SONET standard for jitter generation. That will be explained in more detail below.
[1025] Fractional N phase-locked loops (PLLs) allow the multiplication of an incoming reference clock by a rational rather than an integer number as is common in traditional PLL designs. Such a multiplication requires the use of a multi-modulus divider in the feedback path. Such a divider will divide not by a fixed integer, but by a sequence of integers that over time approximates the rational number desired. This sequence can be generated by a digital delta sigma modulator which shapes the quantization noise added to the rational number with a high pass filter. Thus the resulting phase noise is also shaped by a high pass filter. The overall noise contribution from the fractional PLL depends on two major factors. The first major factor is the ratio of the update rate of the PLL (generally the reference clock rate) and the loop bandwidth of the PLL, a measure similar to the oversampling ratio (OSR) in delta sigma analog to digital converters (ADCs). A higher OSR allows for better suppression of quantization noise in the band of interest. For a given update rate the noise contribution can be reduced by lowering the loop bandwidth. The second major factor contributing to noise is the quantization error applied at the divider, which is the clock period of the clock feeding tlie multi-modulus divider.
[1026] Additional to the noise sources stated above, noise in a PLL has 2 other main contributors: The first other main contributor is noise from the voltage controlled oscillator (VCO). An integrated LC VCO exhibits 3 noise regions, close in 1/f3, intermediate 1/f2, and high frequency white noise that is frequency independent. For example, exemplary corners defining the three regions are at 100 KHz and 100 MHz. For an integrated LC VCO oscillating in the GHz range, the 1/f3 region is significant, whereas the white noise region is insignificant. When embedded in a PLL the noise transfer function to the output of the PLL is a high pass filter with a corner at the loop bandwidth. Wider loop bandwidth improves the noise contribution from the VCO. If the bandwidth of the loop exceeds the 1/f corner of the oscillator, the overall phase noise performance tends to be very competitive with the performance of prior art fixed frequency crystal or SAW based oscillators in applications such as SONET.
[1027] The second other main contributor to noise in a PLL is noise from the reference clock. Similar noise regions exist as above. If this clock is generated from a fixed crystal oscillator, it is generally very competitive at low frequency (1/f3 and 1/f2) but with a significant white noise contribution. Narrower loop bandwidth improves the noise contribution of this source. [1028] The choice of loop bandwidth is an optimization to reduce noise from various sources. Given today's state of the art in LC oscillator design in terms of phase noise and oscillation frequency, and the ability of a state of the art CMOS process to implement a high speed multi-modulus divider and a high speed delta sigma modulator, it is now possible to optimize the noise budget to yield a clock source that can exceed standards such as SONET and to enable this architecture as a clock source.
[1029] Good jitter performance of the DCO loop is facilitated by implementation of the loop filter as a digital filter, which is a teclinique that allows an accurate implementation of the loop filter that is properly matched to the corners and the order of the noise shaping function and therefore can best reduce tlie jitter contribution from that source. A digital loop filter implementation was described in application WO 02/05428 A2 entitled Digitally Synthesized Loop Filter Circuit Particularly Useful for a Phase Locked loop.
[1030] Additionally the current phase error can be computed as the integral of all instantaneous frequency errors as they were computed in the delta sigma modulator that controls the multi modulus divider. Through subtraction in the analog or digital domain, the phase error can be cancelled and thus strongly reduced as a noise source. As a result the bandwidth can be increased and thus overall better jitter performance can be achieved.
[1031] The device illustrated in Fig. 3 can function as a voltage-controlled crystal oscillator
(VCXO/VCSO) or as a fixed-frequency clock source (XO/SO). A register bit setting may be used to select between the modes of operation. In voltage-controlled oscillator operational mode a control voltage is received on the VC analog voltage input port 309. The on-chip analog to digital converter (ADC) 311 converts the control voltage VC into a digital control word (VCADC) supplied to summing circuit 315, which generates the control signal M for the DCO 301. When operating in VCXO/VCSO mode, the selector circuit 319 selects 319 input B, which is coupled to the reference frequency (RFREQ) control value stored in a portion 349 of non- volatile storage 317. The control value from the selector circuit may be summed in summing circuit 315 with a temperature compensation value (DELMT) supplied on node 321 as described further herein, as well with as the control VCADC, and the sum is supplied to DCO 301 as the control signal to determine the DCO output. In VCXO/VCSO mode the RFREQ provides a center frequency that is adjusted by VCADC. If temperature compensation is not used, a value for DELMT is selected so as to not effect the output of DCO 301.
[1032] When operating as a fixed frequency clock source, the selector circuit also selects 319 input B, to supply the reference frequency (RFREQ) control value stored in a portion 349 of non- volatile storage 317. That control value may be summed in summing circuit 315 with a temperature compensation value (DELMT) supplied on node. The sum from summing circuit 315 is supplied to DCO 301 as the control signal to determine the DCO output. When operating as a fixed-frequency clock source (XO/SO), the ADC 311 is powered down and its output is fixed to its mid-scale value so as not to affect the DCO 315.
[1033] The use of a DCO as a clock source has several advantages. Digital control of the output frequency allows for storage of calibration parameters in non-volatile memory 317. Also, the DCO can be embedded in an outer phase locked loop as described further herein. This outer loop includes a phase detector with digital output and a digital loop filter 337 and the DCO 301. When the outer loop is in lock to a reference frequency, the value present at the input to the DCO 301 is the proper multiplier to achieve this frequency in an open loop operation. Therefore this value can be stored while in lock and recalled later for operation in open loop as a clock source. The loop bandwidth of the inner loop, as described above, is preferably greater than the 1/f corner. Depending on specific implementations, the loop bandwidth of the inner loop may range from approximately 10 KHz to approximately 10 MHz. The loop bandwidth of the outer loop is preferably much lower, e.g., below approximately 1 KHz and even as low as 50 Hz or lower. Note also that the inner loop is implemented to adjust quickly to changes as compared with the outer loop. Having the outer loop have a low bandwidth allow attenuation of jitter present on the reference clock input to the outer loop, which in turn can reduce jitter present in a stored control value to control the output of the inner loop.
[1034] The embodiment illustrated in Fig. 3 has the capability of generating and storing a digital control value for DCO 301 corresponding to clock signal received via a calibration input. In that way, the device can be programmed to provide a clock having a desired output frequency. When operating in calibration mode, as described further herein, a calibration clock signal is supplied, e.g., on terminal 331 and via signal line 333 to divider 335. The calibration clock is compared to the output of the DCO 301 in phase and frequency detector 337 and an error signal is generated and filtered and supplied to adjust the output of DCO 301. When the output of the DCO has locked to the supplied calibration clock, the value of M may be stored. The calibration clock feature is useful, e.g., so that the device can lock its output clock to tlie calibration clock using an internal PLL, and control factors used to lock the PLL to the calibration clock can be stored for absolute output frequency and/or frequency versus temperature, as described further below. That stored value may then be utilized to control tlie DCO during normal operation.
[1035] In order to supply the a calibration clock and perform necessary programming associated with configuring the clock source, a communication port, e.g. a serial port may be provided. The serial port may be provided as a dedicated prograrrrming port or its function can be combined with other I/O terminals. For example, in order to provide a more flexible clock device, according to one embodiment , the OE pin 331 is multi-functional. That is, in one embodiment, the OE terminal functions as a normal enable signal causing the output clock(s) to be either supplied or not according to the voltage level on the OE terminal. In addition, according to an embodiment of the present invention, the OE terminal 331 is also used for programming and calibrating the device 300. In order to program tlie integrated circuit device, tlie OE terminal 331 is used to communicate serial data to and from the integrated circuit 300. Thus, in addition to normal enable/disable functionality, the OE pin 331 may serve as a serial port for access to storage locations internal to integrated circuit 10, thus providing programmability. In an embodiment, tlie OE pin is bi-directional, implemented as an open drain with a weak pull-up. In some embodiments, the serial communication may be unidirectional into integrated circuit 330. In addition, OE terminal 331 can function as a calibration input used to internally generate calibration correction factors using an internal PLL.
[1036] Adapting the OE terminal to be multi-functional provides both programmability and calibration capability, and because a standard input terminal is utilized for tlie functions, no special packaging is required, resulting in low cost for the additional functionality. Significantly, the functions can be performed after the device is packaged and sealed. In addition, low frequency test equipment can be used to provide programming and calibration of the devices in a sealed package without any additional package pins.
[1037] In the illustrated embodiment, tlie output enable (OE) terminal 331 is multi-functional in that in can be used both to provide an output enable function and to provide programming and calibration clock. The multifunction capability of OE terminal 331 may be provided as follows. The output enable signal supplied from an external source to OE terminal 331 is provided to control circuit 341, which may include a sampling circuit and a state machine. The control circuit 341 determines whether the received signal is a valid output enable signal, serial data communication, or a calibration clock. If the signal on OE terminal 341 is determined to be a valid output enable signal, then the signal value on OE pin 331 is utilized to generate an internal output enable control signal 343, which in turn enables (or disables) output drivers 345 that supply the differential clock outputs CLKOUT+ and CLKOUT-.
[1038] In one embodiment control circuit 341 determines whether the signal present on I/O terminal 331 is a valid output enable signal, serial data, or a calibration clock as follows. An internal oscillator clock asynchronously oversamples the OE I/O terminal. Any static value (all samples having the same value) that persists more that a predetermined time period, tSTATIC, is interpreted as a change to or as a valid enable/disable signal and the output clocks are selectively enabled or disabled based on that static value. The time period ISTATIC may be programmable. The sampling circuit functions as a deglitching circuit ensuring that short term changes on I/O terminal 331 do not cause changes to the enable/disable control of the output clock terminal(s).
[1039] In order to provide bi-directional data communication via I/O terminal 331, a bi-directional serial data format is utilized that includes guaranteed transitions at less than tSTATrC intervals. In one embodiment, the serial data format includes an indication of read or write, the register or other internal address, and direction (either data input or output). Because transitions of the serial communication are guaranteed at less than tsτAτιc intervals, activity on the OE I/O terminal for serial data I/O will not interfere with the normal enable/disable functionality. In addition, a serial data format is selected that is sufficiently complex, e.g., with appropriate error detection capability, to preclude the possibility that a glitch at the OE terminal during normal operation would be inadvertently interpreted as a serial port command.
[1040] In order to distinguish between calibration clocks and serial data, a serial data command is utilized that indicates to the device that the calibration clock will be applied next. That command enables the calibration PLL. After this command, the user supplies a clock to the OE terminal 331. The frequency of the calibration clock may be low even though the output frequencies are high due to the use of the divider 347 in the feedback path from the oscillator 301. Note however, that the frequency of the calibration clock should be high enough to provide transitions at less than tsTATic intervals so as not to interfere with the normal enable/disable operation. [1041] Referring to Fig. 4, in another embodiment the option is provided for using one of two dedicated
I/Os on the integrated circuit device. The PI port 401 is a dedicated I/O that functions as a bidirectional serial port for register data reads and writes, and as a calibration clock input, similar to the function of the OE pin used for programming and calibration described above but without any OE pin functionality. The P2 port 403 is also a dedicated I/O with the same serial bus and calibration clock functionality as PI; however, once programming is completed, P2 can be converted from a dedicated serial port I/O to an input control for the output enable function. Similar to the OE pin described in relation to Fig. 3, an input deglitching circuit 405 guarantees that short term glitches or pulses on the P2 pin are ignored and do not affect the internal buffer disable control. The length of the deglitch interval, also referred to herein as (tSτAτιc) may be programmable via programmable register bits, e.g., by programming the number of consecutive samples required for validation. In one embodiment, the number of samples varies between 1 and 1024. Similar to operation of output terminal 331 described above, all samples of the P2 input should have the same value for the entire duration of the deglitch interval before the state is validated and reflected at the internal buffer control. In one embodiment, the sample clock rate for the deglitch circuit is approximately 10 MHz (fsamp = fosc/512).
[1043] The serial port is typically used during manufacture test to establish the desired device configuration in the on-chip non-volatile memory (NVM) 317. Serial port communications can begin following a power-on-reset of the device. An exemplary command format for the serial bus is shown in Fig. 5. Each transmission has three eight bit bytes of data: the preamble byte 501, the instruction byte 503, and the address/data byte 505. One extra clock cycle 507 exists for tlie Read command in order to allow time for placing the transmit output of the test equipment hooked up to the device in high impedance before the first read bit is sent by the device. The serial port state machine, which may be part of deglitching circuit 83, returns to its initialized condition if any invalid input data is detected or if no activity occurs on the bus. That feature guarantees that the state machine can always be brought to a known condition before signaling begins. In one embodiment, all data sent from the test equipment (master) to the device (slave) is Manchester encoded with a symbol rate of approximately 10 kbps. The Manchester encoding creates guaranteed transitions in the data pattern that are used by the device to determine the master's transmission rate. In an embodiment, read data sent from the device to the test equipment is in a non-return to zero (NRZ) format, which maximizes the available sampling time for the test equipment master. The test equipment master can sample the read data using the same internal clock used to generate tlie transmit data.
[1044] TABLE 2
Figure imgf000011_0001
[1045] Fig. 6 gives illustrates a Manchester encoded "0" and "1" and also shows the required preamble data pattern. Note that the preamble contains multiple Manchester code violations in order to increase its uniqueness and reduce the chances of false preamble detection.
[1046] In still other embodiments the voltage control input 309 may be used as a serial communication port.
[1047] Referring again to the embodiment illustrated in Fig. 3, the digitally-controlled oscillator (DCO)
301 is driven by a digital frequency control word M and produces a low jitter output clock. The control word M supplied to the DCO 301 is generated by summing a reference frequency control word (RFREQ) with the VCO ADC 311 output (VCADC), if utilized, and the temperature compensation value (DELMT), if utilized in summer 315. The fixed frequency external crystal 303, SAW, or clock provides a low jitter reference needed to synthesize the output clock. In one embodiment frequency synthesis is done digitally, eliminating sensitive noise entry points.
[1048] In one embodiment different calibration approaches with increasing levels of accuracy may be utilized. For some applications, the inherent frequency accuracy and temperature stability of tlie crystal oscillator, SAW oscillator, or external reference clock may be sufficient. In this case, no calibration features are needed. A register bit may be used to disable calibration correction features, in which case the temperature compensation (DELMT) value is forced to mid-scale so as not to effect the digital control word supplied to DCO 301.
[1049] In some applications it may be adequate to perform a one-time characterization of the device with the crystal or SAW type being used, deriving a set of nominal calibration correction factors from this characterization. Following the characterization, these calibration factors may be loaded into the memory of every device without individual calibration. This approach requires some time initially to generate the nominal calibration factors but does not require calibration of each device.
[1050] Alternatively, it is possible to individually calibrate each device, generating a unique set of calibration factors for each one. That approach addresses errors due to the performance parameters of each combination of the device and crystal or SAW. The highest level of error reduction is achieved at the cost of increased test time. Individual calibration is most feasible when each device and crystal or SAW is mounted and packaged together and then tested after packaging.
[1051] In one embodiment, the method for frequency and temperature calibration of the DCO uses an external calibration clock applied at the serial port (e.g., at the OE pin, PI or P2). In calibration mode, a digital phase locked loop (PLL) is implemented around the DCO, locking the DCO output clock to an integer multiple of the low frequency input calibration clock. Once the calibration clock is applied, the device internally generates the required calibration correction factors to generate the desired output frequency.
[1052] With reference to Figs. 3 and 4, calibration according to an embodiment of the invention operates as follows. First the temperature compensation DELMT (delta M over temperature) is turned off. That forces - l i fts contribution to summing circuit 315 to 0. If desired it may be enabled after the calibration is complete. If the device is being used as a VCO, VCO mode should be enabled and the analog input Vc 309 should be set to its mid-scale voltage during the calibration. That sets the analog to digital converter 311 at midrange. If the device is being used as a fixed frequency oscillator, VCO mode should be disabled to cause the output of the ADC 311 to be at midscale and thus not affect the output frequency. Next the calibration clock frequency range should be selected by selecting the N3 divider value for divider 335. In one embodiment, there are two possible frequency ranges for the calibration clock. A register bit can be used to select the range from 1 to 2 MHz, (the divider value = 1). To select the range from 8 to 16 MHz, the input divider N3 is set to a divider value to 8. The choice of calibration clock frequency range is based on the availability of precision clock sources in the manufacturing test environment. Other embodiments may have different values for the divider block N3 or lack the divider block entirely.
[1053] The values for dividers 335 (N3), 347 (N2), and 346 (Nl), and the high speed divider (HS_DIV)
(see Fig. 8) should be selected along with the calibration clock frequency. The equation relating the calibration clock frequency to the output frequency is as follows for one embodiment of the invention.: four = fcALCK x N2/(HS_DIV x Nl) (for N3=l), or four = cALCK N2/(8 x HS_DIV x Nl) (for N3=8), where HS_DIV = [4, 5, 6, 7, 9, 11], 1 <N1 < 27 and N2 = 256, 512, 1024
Other embodiments may provide other divider values, additional or fewer dividers and thus have different equations for determining the output frequency.
[1054] In some embodiments, the calibration loop bandwidth is also selectable. In one embodiment two choices for calibration loop bandwidth are available, which are selected according to a register bit. The wider bandwidth provides faster settling time, but allows more of the calibration clock phase noise to affect the absolute frequency accuracy when the DPLL is frozen. The lower bandwidth has slower settling, but less variation in the absolute frequency value when the DPLL is frozen. The optimal choice is a function of the calibration clock jitter and the absolute frequency accuracy requirement for the application.
[1055] Referring to Fig. 7, the control circuit 341 then receives a command setting the calibration clock on (CCK_ON) register bit to one through a serial port register write, indicating that a calibration clock is to be supplied over the serial port (input/output terrninal 27, PI, or P2). Subsequently, tlie calibration clock can be supplied as an input frequency reference for the calibration PLL. Fig. 7 illustrates a command sequence including a preamble, write command and data followed by application of the calibration clock. In response to the write command, the control state machine selects multiplexer input A from the digital phase detector and loop filter 337, which forms a phase-locked loop with DCO 301 in this configuration. The calibration clock (CALCK) is supplied via node 333 to the divider circuit 335. The digital phase detector and loop filter 337 detects tlie phase/frequency difference between the calibration clock and tlie output of the DCO 301 and provides a correction signal to summer 315 through multiplexer 319 to adjust the control signal M supplied to the DCO 301 to reflect that difference. The calibration clock is applied for sufficient amount of time to allow the PLL to settle and establish the control factors needed to lock the DCO 301 output clock to an integer multiple of the low frequency input calibration clock. In other embodiments the DCO may lock to a fractional multiple (e.g., a ratio of integers) of the calibration clock according to the dividers utilized. Note that because of the divider 347 in tlie feedback path of the PLL, the calibration clock can be a low frequency signal even for those devices with high speed output clocks. Note that control operations during calibration, e.g., to select the multiplexer input and store the value of M, may be controlled via commands sent to serial port, the result of internal control generated by, e.g., a state machine in control circuit 341, or both.
[1056] Once the PLL is locked and settled the calibration clock is stopped as shown in Fig. 7. That causes the internal state of the device to be stored and tlie CCK_ON bit is automatically reset to zero. The cessation of the clock is detected by the control circuit 341 causing it to freeze the correction or control values internally. If the delay required to detect the cessation of the clock allows the PLL to be disturbed before the control values are stored, a history of the control values can be kept on-chip and the control values that existed before tlie actual clock cessation can be kept. The values that are stored may be the correction factor generated by the phase detector and loop filter 51 or the value of M when the PLL is locked to the calibration clock (essentially the same as the correction factor but after the sunrming circuit 315). To avoid any inaccuracies in the frozen register values due to the loss of clock detection delay, a ninning history of the values is kept and tlie values that existed immediately before the loss of clock are stored when the PLL is frozen. The running history may be stored in registers in the control circuit 341. The control value(s), along with appropriate divider values, can be stored in the non-volatile memory 317, which may, e.g., be implemented as an EPROM, EEPROM, or any other suitable non-volatile memory. The stored control value is used to generate the control value supplied to the DCO 301 by supplying the control value to summing node 315 during normal operation.
[1057] In one embodiment a lock detection mechanism is included for the calibration PLL. A lock detect bit (LOCK) is the result of an analysis of the PLL phase detector output. A retriggerable one-shot is set each time the phase detector output indicates a full-scale condition (phase cycle slip). The retrigger time of the one-shot may be programmable via a register bit. Therefore, if no cycle slip has occurred for the retrigger time, the internal lock detection indicator bit (LOCK) is set to one, indicating that the PLL is in lock. The internal lock detection indicator bit (LOCK) can be queried to verify that the PLL achieved lock during the time the calibration clock was active.
[1058] Once the calibration clock has ceased for a sufficient amount of time defined by a predetermined time period, the internal over sampling state machine returns to its reset or initialization state, waiting for further activity on OE, PI or P2, and ready to receive additional commands. This timeout feature prevents lockup of the state machine, guaranteeing a known starting condition for the user.
[1059] Note that the serial communication capability available through input/output terminal 331 also allows a user to program a fixed control value to set oscillator 301 to a specific output frequency by writing to reference frequency storage location 349, supplying that value to the multiplexer 319 and selecting the B input of the multiplexer 319 to be supplied to the summing circuit 315. Additionally, in some embodiments, the divider ratios in some or all of divider blocks may be written and or read via the serial port provided by input/output terminal. [1060] Note that calibration can also be performed without a calibration clock input. However, that requires multiple serial data writes to the device to set the digital control value supplied, e.g., through summing circuit 315 so that while the control voltage Vc is centered, the clock out signal matches an external calibration clock. By instead using a calibration clock supplied over the serial port, the device can itself find the desired correction value by locking its PLL to tlie calibration clock.
[1061] The on-chip nonvolatile memory (NVM) 317 provides for permanent storage of device configuration settings and calibration settings at manufacture. The NVM memory space includes bits for all of the settings necessary to fully configure the device. The volatile memory space includes duplicate bits for each NVM bit, plus additional bits that do not require nonvolatile storage. In one embodiment, the nonvolatile memory is one time programmable. A primary (Ml) and secondary (M2) NVM space may be provided to allow the NVM settings to be written twice during the lifetime of the device. A status register may be used to indicate the current status of Ml and M2. Data is written from volatile memory, such as registers, into NVM using the STORE command. All volatile memory bits with duplicates in the NVM space are written with one command. The first time the STORE command is executed, the Ml NVM space is written. When the write is initiated, a status bit (M1_WR) is permanently set. Once the write is completed, STORE is reset to zero, a read of Ml is done, and the result is compared to the volatile memory settings. If there is a match, then the NVM write has been successful and the M1_CHK status bit is permanently set. The next time the STORE command is executed, tlie M2 NVM space will be written. After device powerup or reset, the NVM status bits are checked and the appropriate NVM memory space downloaded into the volatile memory. The appropriate NVM space may also be downloaded on command using tlie RECALL register bit. Once the download is complete, RECALL is reset automatically.
[1062] Upon power up, the device internally executes a power on-reset (POR) which resets the internal device logic, loads the various setting stored in the non- volatile memory into volatile memory (e.g. the various control registers), and places the device output into high impedance. A register bit may also be used to initiate a reset.
[1063] In one embodiment, the center frequency of tlie device is determined by the reference frequency
(RFFREQ) supplied to the DCO as control input M and tlie HS_DIV (see Fig. 8) and Nl output divider values. In one embodiment the device has the capability of storing four unique sets of RFREQ, HS_DIV, and Nl values representing four unique selectable output frequencies. There need not be a relationship between the four frequencies desired. That feature is useful in applications where a different output frequency is required depending on the system configuration. The FRQSEL[1:0] inputs 407 (Fig. 4) select which set of RFREQ, HS_DIV, and Nl values are used. If this feature is not desired, the FRQSEL[1:0] pins can be left floating, in which case default values are selected.
[1064] Note that the devices illustrated in Figs. 3 and 4 can provide temperature compensation. That compensation is achieved by supplying the appropriate compensation value from non- volatile memory 317 based on the temperature detected by thermometer 351. Calibration for temperature compensation involves generating digital correction factors for various temperatures of interest. [1065] In one embodiment temperature compensation values are determined as follows. First a reference temperature point is determined. The calibration at this temperature sets the RFREQ value to the DCO and all other temperature/frequency points are calculated with respect to this reference point. The reference temperature does not have to be the nominal ambient temperature of operation. To establish the reference temperature calibration point, a temperature calibration point register (TCP[2:0]) is set to 000, FRQSEL[1 :0]=11 (if that feature is provided), and the device is brought to the desired reference temperature. The calibration clock is then applied through the serial port. When the clock is stopped, the M value corresponding to the frozen frequency and the temperature value are stored in the RFREQ_11 and RTEMP RAM registers, respectively. The stored values of M and the temperature are tlie values that existed immediately before the clock was stopped to avoid any glitches that might occur after the calibration clock is stopped.
[1066] To generate the calibration points across temperature, after establishing the reference temperature calibration point, TCP[2:0] is set to 001 to indicate the next temperature calibration point is being established, and FRQSEL[l:0] is set to 11, and the device is brought to the desired temperature. The calibration clock is applied as described previously. When the clock is stopped, the frozen delta-frequency value (relative to RFREQ_11) is stored in a DELMT1 register. The frozen delta-frequency value = (M at tlie reference temperature) - (M at the next temperature calibration point). The associated temperature is stored in the TEMPI register. For each additional temperature calibration point, the temperature calibration point register is incremented and the calibration clock is reapplied at the desired temperature, and the new frozen delta- frequency value is stored along with the corresponding temperature. The temperature and delta M values are subsequently stored in non-volatile memory. During operation the M value at the reference temperature is used when the thermometer 351 indicates the reference temperature and appropriate offsets (supplied as DELMT) are supplied according to the temperature detected by thermometer 351. In other embodiments, the value of M at the particular temperature is stored, rather than delta M, and that value is supplied for temperature compensation.
[1067] In one embodiment the device can store up to six calibration points (frequency and temperature pairs), including the reference point, to calibrate the device across temperature. In normal operation with the temperature compensation feature turned on, the device interpolates between the provided calibration points using a polynomial of order N- 1 , where N is the umber of calibration points to be used, which in one embodiment is programmable using register bits. For example, if values are written into RFREQ_11, DELMT1, DELMT2, and DELMT3 while DELMT4 and DELMT5 are not to be used, the user set N=4 so that a 3rd order polynomial interpolation is used.
[1068] As illustrated in Fig. 4, and described above a multi-frequency feature is available using the frequency select inputs FREQSEL[1:0]. If tlie multi- frequency feature is used, temperature calibration for the additional frequencies is achieved by holding the device at the reference temperature, setting FREQSEL[1 :0]=10, and reapplying the calibration clock at the appropriate frequency. When the clock is stopped, the frozen frequency control value is stored in RFREQ_10. If a third and fourth frequency are desired, repeat the above procedure with FRQSEL[1:0]=01 and 00, respectively. [1069] In order to additionally compensate for temperature variations, which affect the reference frequency supplied, e.g., by the XO, the delta M over T value (DELMT) value is supplied to summing circuit 315 along with the reference frequency control value RFREQ. Thus, the control value generated at tlie reference temperature calibration point, along with an interpolated delta as described above, is supplied to summer 315 and utilized to generate the M value. Note that other temperature calibration algorithms besides the interpolation described above may be utilized. That function, in the embodiment illustrated in Fig. 4, is performed by the control circuit 341.
[1070] Referring to Fig. 8, illustrated is an exemplary embodiment of the digitally controlled oscillator
(DCO) 301. The crystal (or SAW) oscillator 303 supplies a timing reference to the DCO 301 and supplies one input to the phase and frequency detector 801. Phase and frequency detector 801 generates an error term of tlie difference between the crystal oscillator input and the feedback from the VCO 805. Note that the feedback is supplied by multi-modulus divider block 807. In the embodiment illustrated in Fig. 8, the DCO is a fractional N loop. During calibration, the DCO 301 functions as an inner loop having its feedback divider controlled by an outer loop that includes tlie dividers 335, 347, phase detector and analog to digital converter 851, filter 853, delta sigma modulator 809 as well as portions of the inner loop. The inner loop or DCO 301 is a fractional N loop wherein a period of the reference clock supplied by crystal or SAW 303 is a non-integer multiple of a period of the oscillator clock signal supplied by VCO 805. Using a fractional N loop allows the use of low cost timing reference such as a low cost crystal oscillator. During normal operation, the DCO receives a control value from summing circuit 315 based on ADC 311, DELMT, and RFREQ. Thus, the temperature compensation is acliieved by adjusting the feedback loop of the DCO 301 through the delta sigma modulator 809, which is coupled to adjust the divider value supplied to the divide block 807.
[1071] Note that the inner loop forming DCO 301 utilizes a digital loop filter to allow the loop filter to be integrated onto the integrated circuit to reduce potential additional noise sources. Further, as described above, utilization of a digital loop filter allows an accurate implementation of the loop filter that is properly matched to the corners and the order of the noise shaping function and therefore can best reduce tlie jitter contribution from that source.
[1072] In one embodiment, the multi-modulus divider 807 is formed by a series of dividers. Because the feedback frequency may be in the GHz range, a prescalar is used to divide the feedback signal by, e.g., 4 or 5. Subsequent division stages, e.g., a plurality of divide by 4 and/or 5 stages further divide the feedback signal to an appropriate value according to the desired divider value.
[1073] Referring to Fig. 9 a block diagram of an exemplary phase selectable divider 900 is illustrated that may be utilized as part of the multi-modulus divider 807. Eight clock signals P0-P7 are supplied to selector circuit 901. In the illustrated embodiment, selector circuit 901 is implemented as a multiplexer. A three bit control signal 903 supplied from register 905 selects which of the clock signals P0 to P7 is output by the selector circuit. The clock signals P0 - P7 have different phases. By selecting which clock signals are supplied by multiplexer 901, different frequency clock signals can be generated by the divider circuit. [1074] Referring to Fig. 10, a timing diagram illustrates operation of the divider circuit 900. As shown in Fig. 10, the clock signals P0-P7 are derived from a clock 1010 shown as hsclk. In one embodiment hsclk 1010 is approximately 2.5 gigahertz and the clock signals P0-P7 are one fourth of clock signal hsclk, approximately 625 MHz. Referring again to Fig. 9, the divider circuit 900 selects the next pulse to be output by adding a value A to tlie current select signal 903 in summing circuit 907 to generate a sum that is supplied to register 905. The table below illustrates values of A supplied to summing circuit 907 to achieve various divide values.
Figure imgf000018_0001
[1075] The use of the divider circuit 900 to generate a clock signal that is divided down from the hsclk signal will now be illustrated with reference to Fig. 10. Assume it is desired to divide the hsclk signal by 2.
[1076] Referring to tlie table above, it can be seen that in order to divide by 2 (the division factor), the appropriate value of A is 4. Assume that the currently selected clock is P0, so the select signal supplied from register 905 will be configured to select P0, e.g., using a value of 000. In order to select the next pulse output by the multiplexer, the summing circuit 407 adds the current value supplied from register 905 (which is 000) with the value of A (which is 4) and provides a sum of 4 to register 905 to select P4 as the next pulse output by multiplexer 901, as illustrated by the clock signal 1020 (Div 2.0) shown in Fig. 10. The sum circuit 907 is implemented as a modulo N summing circuit where N equals the number of clock signals supplied to multiplexer 401, which is 8 i the illustrated embodiment. With 4 as the current value of the select signals supplied by register 905, the next value supplied as tlie select signal is 0, which selects P0 as the next pulse to be output by the select circuit 901. That is, 4 (the value of the select signal) + 4 (the value of A) = 0 in a modulo 8 summing circuit. A is continually added to the current select value to generate the next pulse and a sequence of pulses selected from the phases P0 and P4 is output as shown in Fig. 10 to generate an output clock signal that equals hsclk/2.
[1077] A divide by 2.5 will now be described. Assume that the currently selected clock is P0, so the select signal on control lines 903 will be configured to select P0, e.g., using a value of 000. Referring to Table 1, in order to divide by 2.5 (the division factor), the value of A is 5. The summing circuit 907 provides a sum of 5 to register 905 to select P5 as the next pulse output by multiplexer 901, as illustrated by the clock signal 1030 (Div 2.5) shown in Fig. 10. With 5 as the current value of the select signals, the next value supplied as the select signal is 2, which selects P2 as the next pulse to be output by the select circuit 901. That is, 5 (the value of the select signal) + 5 (the value of A) = 2 in a modulo 8 summing circuit. A is added to the current select value to generate the next select value, which is supplied to the select circuit. The next pulse selected is P7.
[1078] In the general case, for the circuit shown in Fig. 9, given 8 phases of a clock, with p(n) being the phase selected at a time "n", phase selection is accomplished by p(n+l) = (p(n) + A) mod 8. Fig. 10 also shows the pulses 540, 550, 560, selected, respectively for divide by 4, 5 and 5.5.
[1079] Referring to Table 1, note that for the embodiment illustrated in Fig. 9, the first three divide values (0.5, 1.0, 1.5) are not available. Also for longer divide operations, for example, divide by 4.5, 5, or 5.5, where M= 1, 2, or 3, the first pulses output in the longer divides need to be ignored. This is illustrated in Fig. 10. Thus, for example, for a divide by 5, and assuming P0 is the initial pulse out, and A=2, the first P2 pulse
1001 is ignored but the second P2 pulse is supplied by multiplexer 901. Similarly, after the second P2 pulse
1002 is supplied, the first P4 pulse 1003 is ignored. With the first pulse ignored each time, the effective value ofA=9. The resultant waveform 1050 supplied on node 909 is labeled Div 5.0 in Fig. 10. Similarly, the initial pulses 1007 and 1009 shown in Fig. 10 are ignored hi a divide by 5.5 as shown in waveform 1060.
[1080] Referring again to Fig. 9, in order to achieve the necessary delay for the longer divides, e.g., the divide by 5 and 5.5 shown in Fig. 10, in one embodiment a second selector circuit 921 is utilized with a second summer circuit 923 and a second register 925. A skip delay value of 3 is added to the current select value 903 in summing circuit 923. The skip delay indicates how many phase steps (each of clocks P0 - P7 being a phase step) should be skipped before tlie select signal in register 905 is updated. As shown in Fig. 9, the output clock from multiplexer 901 on node 909 is used to update register 925 with the sum from summing circuit 923. The clock selected by multiplexer 921 is used to update the register 905. That ensures that the value of the select signals do not change until after the first pulses have been skipped for A equal to 1, 2, or 3. For example, if the currently selected clock is P0 and A=l, with a skip count of 3, register 905 is not updated until P3, thereby ensuring that the first PI pulse is skipped. Referring to Fig. 10, a skip delay of three ensures that the undesirable pulses 1001, 1003, 1007, and 1009 are not output. Note that in some embodiments, the multiplexer 901 may be coupled to receive an input signal that is a steady state input signal, e.g., ground, in addition to the various phase sets received. In that way, the multiplexer may be selected to output no signal.
[1081] Fig. 11 illustrates an embodiment of how a multi-modulus divider such as that illustrated in Fig.
9 may be utilized in the DCO 301 shown in Fig. 8. Referring to Fig. 11, a block diagram illustrates a multi- modulus programmable divider circuit according to an embodiment of the invention. The VCO 805 provides an approximately 10 GHz clock signal, which is divided down in dividers 1103 and 1105 to an approximately 2.5 GHz clock signal. In order to operate the divider at a high frequency with low power consumption, some embodiments avoid feeding control signals to the high-speed circuitry. Instead, one embodiment utilizes a minimum number of transistors in the high speed portion to save power and take advantage of the multiphase output of a divider described herein to achieve equivalent speed. The programmability is pushed into the lower frequency circuitry. The 5 GHz signal from node 1103 is fed to a cascade of two dividers, divider 1105, which is a divide-by-two and divider 1107, which is a divide-by-four phase generator that generates 8 different phases. Divider 1107 supplies pulse width controller (PWC) 1109, which in turns supplies an 8-to-l phase selecting multiplexer 1113 through flip-flops 1111. The phase selecting multiplexer 1113 directs one of the eight (8) phases from the PWC 1109 to its output. The output of the multiplexer 1113 is used to clock a divide-by-Q counter (/Q) 1117, which generates the divider output. The output is also used to trigger a finite state machine (FSM) 1115, which implements the multiplexer control (phase selection) algorithm, e.g. as illustrated in Figs. 9-10.
[1082] In one embodiment, as illustrated in Fig. 11, the delta sigma modulator 809 supplies a stream of integers M' to block 1119 by to provide fractional n divide capability. M' is a sequence of integers that approximates the rational number M. Note that in some embodiments, block 1119 may be incorporated into the finite sate machine 1115. Assuming the input frequency is fj„ and the output frequency is fout, the divide ratio M = fJ- foat. In one embodiment M = ((9.7 GHz ~ 11.32 GHz)/2)/(10 MHz (Xoxc) ~ 320 MHz (SAW)). Thus, M = 15.15625 ~ 566. In one embodiment the delta sigma modulator is an eight level quantizer that expands the fractional range to M-3 to M+4 as illustrated in Fig. 15. The delta sigma modulator may be implemented, e.g., as a third order delta sigma modulator. Given that expansion of the fractional range of M, M ranges from approximately 12 to approximately 570. The divider circuit illustrated in Fig. 11 operates fundamentally as an integer divider with the M' value updated at a frequency varying from approximately 416 MHz for an M value of 12, to an update frequency of approximately 9 MHz for an M value of 570.
[1083] The operation of the divider described in Fig. 11 can be understood from the following arithmetic expression:
Figure imgf000020_0001
-8 R where Q is the quotient and R is the remainder, and M' is the divider ratio. From that arithmetic expression, the divide ratio M' = 8Q + R. The divide ratio is thus split into a constant coefficient (here 8, although other numbers are of course possible) multiplied by a quotient Q, which is >= 1 and a remainder (R). The R portion is implemented through the phase-selecting multiplexer 1113 being controlled by the finite state machine (FSM) 1115. Control logic 1119 receives the divide ratio M', splits it into two portions, a Q number and an R number. The Q number is sent to Q divider 1117 input bits, while the R number is used by the finite state machine 1115. The 8Q value can be understood as a coarse tuning capability, while the R value provides a finer tune capability.
[1084] The divide by 8, the constant coefficient, can be accomplished in the higher speed divide circuits
1105 and 1107. The divide by Q and the divide by R can be performed in lower speed chcuitry. The divide by Q can be performed in variable divider circuit 1117, which has a much lower input frequency, thus can be implemented with low speed chcuitry. The divide by R can be achieved in the phase selecting multiplexer 1113. The multiplexer 1113 chooses the phase that is R steps offset (R can be positive or negative) from the last phase in each cycle of the output, thus achieving the division factor 8Q+R. R is similar to A utilized in Figs. 9 and 10. By varying both Q and R, flexible programmability is achieved. Various values of R may be utilized examples of which are shown below.
R = (-4, -3, -2, -1, 0, 1, 2, 3)
R= (-3, -2, -1, 0, 1, 2, 3, 4),
R= (-2, -1, 0, 1, 2, 3, 4, 5),
R= (-1, 0, 1, 2, 3, 4, 5, 6),
R= (0, 1, 2, 3, 4, 5, 6, 7)
[1085] In each R scheme shown above, there are 8 values corresponding to each phase step. The R scheme chosen determines the minimum available division ratio and the maximum input frequency at the input of Q counter. For example, comparing scheme R= (-4, -3, -2, -1, 0, 1, 2, 3) to R=(0, 1, 2, 3, 4, 5,' 6^7), the first scheme can achieve the minimum divide ratio of /3, while the second one can only achieve the minimum divide ratio of /8. However the first scheme requires the Q counter to be able to operate at a much higher frequency. It also imposes tighter timing requirement on multiplexer control signal generation compared to other R scheme. It also consumes more power and may require custom design of the digital chcuitry. Operation of R= (-3, -2, -1, 0, 1, 2, 3, 4), is illustrated in Fig. 12.
[1086] The top portion of Fig. 12 illustrates the input to the phase selecting multiplexer 1113, while the bottom portion of Fig. 12 illustrates the output for various divide values.
[1087] The use of tlie delta sigma modulator in a fractional N loop is illustrated in the following.
Assume for example, that the value of M is 100 to achieve a desired nominal output frequency from DCO 301 (Fig. 3). The temperature compensation value determined by the interpolation described above may cause the value of M with temperature compensation to be 100.5. The delta sigma modulator in one embodiment provides an output having 8 different integer levels from -3 to 4, to represent the fractional portion, which values are combined with the integer portion (100) and mapped into the dividers of multi-modulus divide by N block 807. Thus, values ranging from 97 to 104 may be applied as divider values to the multi-modulus divide by N block 807. The use of the delta sigma modulator allows appropriate values to be used to average 100.5. Note that a value is generated by the divide block 807 at a rate of the XO (or other reference) clock frequency supplied on node 800. Note also that noise shaping may be used to place any noise generated in the feedback divider in a frequency band that may be subsequently filtered by a low pass filter in the loop filter 803.
[1088] Referring again to Fig. 8, in another embodiment, the integrated circuit illustrated is coupled as a clock multiplier circuit to multiply the reference signal REF received at divider 335 and the supply the multiplied value as the output of DCO 301. In that case phase detector and loop filter 337 supply a digital value to multiplexer 853, which in turn is supplied to delta sigma modulator 809. The multiplier value may be selected by setting the divide values in divide blocks 335 and 347. In various embodiments those values may be pin programmable, programmed via a serial port, or predetermined. When being used as a clock multiplier, the outer loop bandwidth is low to minimize jitter transfer from jitter present in the reference signal REF. [1089] Note that the terms "pin" and "terminal" as used herein are intended to refer to any kind of electrical connection provided on a package or integrated chcuit such as a pin on a package or a contact pad on an integrated chcuit. The term input/output (I/O) terminal (or pin) is intended to mean either a terminal that functions as an input, an output or both.
[1090] Thus, various embodiments have been described for implementing a clock source. The description of the invention set forth herein is illustrative, and is not intended to limit the scope of the invention as set forth in the following claims. For example, while a PLL has been described other control loops, such as a frequency locked loop may be utilized to generate appropriate correction control values to calibrate the oscillator. Other variations and modifications of the embodiments disclosed herein, may be made based on the description set forth herein, without departing from the scope of the invention as set forth in the following claims.

Claims

WHAT IS CLAIMED IS:
1. An apparatus comprising: a first phase-locked loop (PLL) chcuit including an input for receiving a timing reference signal, a controllable oscillator chcuit supplying an oscillator output signal, and a multi-modulus feedback divider chcuit; and a second control loop chcuit selectably coupled to supply a control value to the multi-modulus feedback divider chcuit to thereby control the oscillator output signal.
2. The apparatus as recited in claim 1 wherein the control value supplied is a digital control value.
3. The apparatus as recited in claim 1 wherein, while the second control loop is coupled to supply the control value to the feedback divider chcuit, the control value is determined according to a detected difference between the oscillator output signal and a reference signal coupled to the second control loop chcuit.
4. The apparatus as recited in any of claims 1 to 3 further comprising a temperature compensation chcuit coupled to supply an adjustment value according to a detected temperature, and wherein the confrol value supplied to tlie multi-modulus feedback divider chcuit is adjusted according to the adjustment value, while the second control loop is not coupled to supply the control value to the feedback divider chcuit.
5. The apparatus as recited in any of claims 1 to 4 further comprising a voltage control input, and wherein the control value supplied to the multi-modulus feedback divider chcuit is adjusted according to a voltage value present on the voltage control input.
6. The apparatus as recited in claim any of claims 1 to 5 further comprising one of a crystal oscillator and a surface acoustic wave (SAW) resonator supplying the timing reference signal.
7. The apparatus as recited in any of claims 1 to 6 wherein the second control loop chcuit is a phase- locked loop and includes a digital loop filter.
8. The apparatus as recited in any of claim 1 to 7 further comprising: a nonvolatile storage; and wherein while tlie second control loop chcuit is not coupled to control the first PLL chcuit, the first PLL chcuit receives a digital control value as the control value to control a divide ratio of the feedback divider, the digital control value being determined at least in part according to a stored control value stored in the nonvolatile storage, the stored control value corresponding to a desired frequency of the oscillator output signal.
9. The apparatus as recited in claim 8 wherein the stored control value in the non-volatile storage is based on a digital control value that was stored as a result of the second control loop chcuit detecting a lock condition indicating that the oscillator output signal was locked to a reference signal coupled to the second confrol loop chcuit.
10. The apparatus as recited in any of claims 1 to 9 wherein the second control loop chcuit is implemented as a low bandwidth phase-locked loop and a bandwidth of the first PLL chcuit is substantially higher than the low bandwidth of the second control loop chcuit.
11. A method comprising: selectably coupling an outer loop chcuit to control an inner loop chcuit; and controlling the inner loop chcuit by supplying a control value from the outer loop chcuit to control a divide ratio of a feedback divider of the inner loop chcuit, while the outer loop is coupled to control the inner loop circuit, to cause the inner loop to generate an output signal based on a reference clock signal supplied to the outer loop chcuit.
12. The method as recited in claim 11 comprising: supplying the inner loop with a timing reference signal from one of a crystal oscillator and a surface acoustic wave (SAW) device as an input into the inner loop chcuit.
13. The method as recited in claim 12 wherein the inner loop circuit is a fractional N loop such that a period of the timing reference signal can be a non-integer multiple of a period of an output signal generated by the inner loop chcuit.
14. The method as recited in any of claims 11 to 13 wherein the inner loop circuit and outer loop circuit are phase-locked loops and wherein the outer loop is a low bandwidth phase-locked loop and the inner loop is a phase-locked loop having a substantially higher bandwidth than the low bandwidth of the outer loop chcuit.
15. The method as recited in claim 11 further comprising supplying a stream of integers from a delta sigma modulator corresponding to the control value to control the divide ratio of the feedback divider.
16. The method as recited in claim 11 further comprising: while the outer loop is not coupled to control the inner loop chcuit, supplying the inner loop chcuit with a digital confrol value as the control value to control the divide ratio, the confrol value being determined at least in part according to a stored control value stored in a nonvolatile storage, tlie stored control value corresponding to a deshed output frequency of the inner loop circuit.
17. The method as recited in claim 16 further comprising determining the digital control value supplied to the inner loop chcuit to control the divide ratio at least in part according to a detected temperature.
18. The method as recited in claim 16 further comprising determining the digital control value supplied to the inner loop chcuit to control the divide ratio at least in part according to a control voltage supplied on a voltage confrol input terminal to adjust output frequency of the inner loop chcuit.
19. The method as recited in claim 11, further comprising: storing a confrol signal corresponding to the divide ratio supplied to the inner loop to cause the inner loop to generate the output signal having a frequency corresponding to the reference clock, in response to a lock condition detected by the outer loop chcuit.
20. The method as recited in claim 11, further comprising selecting a source for tlie confrol value from one of the outer loop circuit or from a nonvolatile storage storing a stored confrol value corresponding to deshed frequency of the oscillator output signal.
PCT/US2004/013780 2003-05-02 2004-05-03 Method and apparatus for a low jitter dual-loop fractional -n synthesizer WO2004100380A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2006514260A JP4691024B2 (en) 2003-05-02 2004-05-03 Method and apparatus for low jitter two-loop fractional-N synthesizer
CN2004800118489A CN1784831B (en) 2003-05-02 2004-05-03 Method and apparatus for a low jitter dual-loop fractional N-type synthesizer
EP04751256A EP1623503B1 (en) 2003-05-02 2004-05-03 Method and apparatus for a low jitter dual-loop fractional -n synthesizer

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
US46781303P 2003-05-02 2003-05-02
US60/467,813 2003-05-02
US10/675,529 US20050068118A1 (en) 2003-09-30 2003-09-30 Reconfigurable terminal
US10/675,543 US7187241B2 (en) 2003-05-02 2003-09-30 Calibration of oscillator devices
US10/675,529 2003-09-30
US10/675,543 2003-09-30

Publications (1)

Publication Number Publication Date
WO2004100380A1 true WO2004100380A1 (en) 2004-11-18

Family

ID=33437074

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2004/013780 WO2004100380A1 (en) 2003-05-02 2004-05-03 Method and apparatus for a low jitter dual-loop fractional -n synthesizer

Country Status (4)

Country Link
EP (1) EP1623503B1 (en)
JP (1) JP4691024B2 (en)
KR (1) KR20060030850A (en)
WO (1) WO2004100380A1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006104808A1 (en) * 2005-03-30 2006-10-05 Silicon Laboratories Inc. Data cleaning with an asynchronous reference clock
US7259628B2 (en) 2005-06-30 2007-08-21 Silicon Laboratories Inc. Signal dependent biasing scheme for an amplifier
US7281176B2 (en) 2004-10-29 2007-10-09 Silicon Laboratories Inc. Determining signal quality and selecting a slice level via a forbidden zone
US7577224B2 (en) 2004-12-28 2009-08-18 Silicon Laboratories Inc. Reducing phase offsets in a phase detector
JP2009537077A (en) * 2005-05-27 2009-10-22 サイプレス セミコンダクター コーポレイション Method and system for dynamically calculating values for tuning a voltage controlled crystal oscillator
US7609798B2 (en) 2004-12-29 2009-10-27 Silicon Laboratories Inc. Calibrating a phase detector and analog-to-digital converter offset and gain
US9325328B2 (en) 2013-12-27 2016-04-26 Seiko Epson Corporation Oscillation circuit, oscillator, electronic apparatus, moving object, and frequency adjustment method of oscillator
EP3076553A1 (en) * 2015-03-30 2016-10-05 Nxp B.V. Clock synchronizer
US20160294541A1 (en) * 2015-03-30 2016-10-06 Nxp B.V. Digital synchronizer
CN110289857A (en) * 2019-05-20 2019-09-27 昇显微电子(苏州)有限公司 A kind of clock forming circuit
US10873335B2 (en) 2019-05-02 2020-12-22 Apple Inc. Divider control and reset for phase-locked loops
US11764795B2 (en) 2021-11-29 2023-09-19 Qualcomm Incorporated Fractional phase locked loop (PLL) with digital control driven by clock with higher frequency than PLL feedback signal

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100847799B1 (en) * 2006-10-30 2008-07-23 지씨티 세미컨덕터 인코포레이티드 Phase locked loop and temperature compensation method of the same
US8378751B2 (en) * 2009-02-13 2013-02-19 Qualcomm Incorporated Frequency synthesizer with multiple tuning loops
JP5381268B2 (en) * 2009-04-15 2014-01-08 パナソニック株式会社 Receiving device, and receiving module and electronic device using the same
MY182290A (en) * 2015-06-16 2021-01-18 Ericsson Telefon Ab L M Frequency divider, phase-locked loop, transceiver, radio station and method of frequency dividing
CN113391539B (en) * 2021-06-16 2022-08-26 北京康斯特仪表科技股份有限公司 RTC (real time clock) calibration method and industrial field calibration device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5604468A (en) * 1996-04-22 1997-02-18 Motorola, Inc. Frequency synthesizer with temperature compensation and frequency multiplication and method of providing the same
US5790614A (en) * 1993-06-09 1998-08-04 Alcatel Network Systems, Inc. Synchronized clock using a non-pullable reference oscillator
US6404246B1 (en) * 2000-12-20 2002-06-11 Lexa Media, Inc. Precision clock synthesizer using RC oscillator and calibration circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0630129A2 (en) * 1993-06-09 1994-12-21 Alcatel SEL Aktiengesellschaft Method for generating a synchronised clock signal with a circuit for an adjustable oscillator

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5790614A (en) * 1993-06-09 1998-08-04 Alcatel Network Systems, Inc. Synchronized clock using a non-pullable reference oscillator
US5604468A (en) * 1996-04-22 1997-02-18 Motorola, Inc. Frequency synthesizer with temperature compensation and frequency multiplication and method of providing the same
US6404246B1 (en) * 2000-12-20 2002-06-11 Lexa Media, Inc. Precision clock synthesizer using RC oscillator and calibration circuit

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7281176B2 (en) 2004-10-29 2007-10-09 Silicon Laboratories Inc. Determining signal quality and selecting a slice level via a forbidden zone
US7577224B2 (en) 2004-12-28 2009-08-18 Silicon Laboratories Inc. Reducing phase offsets in a phase detector
US8130888B2 (en) 2004-12-29 2012-03-06 Silicon Laboratories Inc. Calibrating a phase detector and analog-to-digital converter offset and gain
US7609798B2 (en) 2004-12-29 2009-10-27 Silicon Laboratories Inc. Calibrating a phase detector and analog-to-digital converter offset and gain
US7512203B2 (en) 2005-03-30 2009-03-31 Silicon Laboratories Inc. Data cleaning with an asynchronous reference clock
WO2006104808A1 (en) * 2005-03-30 2006-10-05 Silicon Laboratories Inc. Data cleaning with an asynchronous reference clock
JP2008535387A (en) * 2005-03-30 2008-08-28 シリコン・ラボラトリーズ・インコーポレイテッド Data cleaning using asynchronous reference clock
JP2009537077A (en) * 2005-05-27 2009-10-22 サイプレス セミコンダクター コーポレイション Method and system for dynamically calculating values for tuning a voltage controlled crystal oscillator
US7259628B2 (en) 2005-06-30 2007-08-21 Silicon Laboratories Inc. Signal dependent biasing scheme for an amplifier
US9325328B2 (en) 2013-12-27 2016-04-26 Seiko Epson Corporation Oscillation circuit, oscillator, electronic apparatus, moving object, and frequency adjustment method of oscillator
US20160294541A1 (en) * 2015-03-30 2016-10-06 Nxp B.V. Digital synchronizer
EP3076553A1 (en) * 2015-03-30 2016-10-05 Nxp B.V. Clock synchronizer
US9876631B2 (en) * 2015-03-30 2018-01-23 Nxp B.V. Digital synchronizer
US9973196B2 (en) 2015-03-30 2018-05-15 Nxp B.V. Clock synchronizer
US10873335B2 (en) 2019-05-02 2020-12-22 Apple Inc. Divider control and reset for phase-locked loops
CN110289857A (en) * 2019-05-20 2019-09-27 昇显微电子(苏州)有限公司 A kind of clock forming circuit
CN110289857B (en) * 2019-05-20 2022-11-29 昇显微电子(苏州)有限公司 Clock generating circuit
US11764795B2 (en) 2021-11-29 2023-09-19 Qualcomm Incorporated Fractional phase locked loop (PLL) with digital control driven by clock with higher frequency than PLL feedback signal

Also Published As

Publication number Publication date
EP1623503A1 (en) 2006-02-08
JP2006526946A (en) 2006-11-24
EP1623503B1 (en) 2012-03-14
JP4691024B2 (en) 2011-06-01
KR20060030850A (en) 2006-04-11

Similar Documents

Publication Publication Date Title
US7064617B2 (en) Method and apparatus for temperature compensation
US7825708B2 (en) Dual loop architecture useful for a programmable clock source and clock multiplier applications
US7288998B2 (en) Voltage controlled clock synthesizer
US7295077B2 (en) Multi-frequency clock synthesizer
US7187241B2 (en) Calibration of oscillator devices
US7342460B2 (en) Expanded pull range for a voltage controlled clock synthesizer
EP1623503B1 (en) Method and apparatus for a low jitter dual-loop fractional -n synthesizer
US9490828B1 (en) Integrated circuits having multiple digitally-controlled oscillators (DCOs) therein that are slaved to the same loop filter
US20050068118A1 (en) Reconfigurable terminal
US11258448B2 (en) Systems and methods for digital synthesis of output signals using resonators
EP1330035B1 (en) Fractional-N frequency synthesizer with sine wave generator
US8432231B2 (en) Digital phase-locked loop clock system
CN103004096B (en) Digital phase-locked loop clock system
US7522690B2 (en) Jitter self test
EP1148648B1 (en) Frequency synthesizer
US11817868B2 (en) Apparatus for digital frequency synthesizer with sigma-delta modulator and associated methods
US11070168B2 (en) Oscillator circuit
US10763869B2 (en) Apparatus for digital frequency synthesizers and associated methods
US20110188551A1 (en) Communication system compensating frequency offset of an external reference clock generator, compensation method thereof and data transceiver equipment including the communication system
WO2007005360A1 (en) Frequency modulator using a phase loop, and method
US9065459B1 (en) Clock generation circuits using jitter attenuation control circuits with dynamic range shifting
CN110999087B (en) Phase-locked loop circuit
US8836392B2 (en) Digital locked loop for producing a clock having a selected frequency ratio relative to a clock produced by a MEMS-based oscillator
US20020036544A1 (en) Feed forward sigma delta interpolator for use in a fractional-N synthesizer
JP2003204260A (en) Temperature compensated high frequency oscillator and communication equipment

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2006514260

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 1020057020780

Country of ref document: KR

Ref document number: 20048118489

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 2004751256

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 2004751256

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1020057020780

Country of ref document: KR