Abstract:
A method of calibrating an oscillator in order to compensate the dispersions generated, on the one hand, during the process of fabricating the oscillator circuit components and, on the other hand, by variations of operating conditions by modifying the parameters of a resonant component, for example a capacitor or an induction coil of the oscillator, in order to change the frequency range covered by the oscillator, according to the control voltage. Accordingly, calibrating the oscillator adjusts the output frequency of the oscillator according to an oscillator control signal. The calibration device determines the difference between the output frequency of the oscillator divided by a quantity and a reference frequency of the oscillator. The device includes a set of impedances selectively connected to the oscillator and each corresponding to a frequency deviation of the oscillator, and a calibration stage to generate a calibration word according to the measured frequency difference

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS  
       [0001]     The present application is related to French Patent Application No. 0600638, filed Jan. 24, 2006, entitled “METHOD OF CALIBRATING AN OSCILLATOR AND CORRESPONDING CALIBRATION DEVICE”. French Patent Application No. 0600638 is assigned to the assignee of the present application and is hereby incorporated by reference into the present disclosure as if fully set forth herein. The present application hereby claims priority under 35 U.S.C. §119(a) to French Patent Application No. 0600638.  
       TECHNICAL FIELD  
       [0002]     The present disclosure relates to oscillators and in particular to the calibration of a voltage-controlled oscillator (VCO).  
       BACKGROUND  
       [0003]     Synthesizing a frequency by means of a VCO type oscillator is widely known. For this application, the VCO oscillator is associated with a phase-locked loop PLL. In such a circuit, a VCO oscillator control voltage is generated so as to make the output frequency of the oscillator match a reference frequency. The duly generated frequency is determined according to the type of use: mobile telephony (GSM, DCS, PSC, and other standards), VHF, UHF, and other similar communications.  
         [0004]     Although the frequency synthesis circuit fabrication methods are increasingly fine and accurate, the output frequency of the oscillator is likely to vary according to a certain number of parameters linked, on the one hand, to the fabrication method and, on the other hand, to the conditions in which the oscillator is intended to operate. Such is, in particular, the case of a change of temperature which is likely to generate a variation in the value of the components of the oscillator, for example, the value of a capacitor in the oscillator circuit, but also to act on the value of the spurious components.  
         [0005]     These changes are likely to induce a change in the output frequency of the oscillator, which is then likely to diverge from a required frequency.  
         [0006]     When the frequency deviation is small, the phase-locked loop PLL acts on the oscillator control voltage so as to compensate the frequency deviation. However, when the difference between the output frequency of the oscillator and the reference frequency is so great that the PLL can no longer compensate it, the oscillator is no longer able to supply the desired frequency and malfunctions are likely to occur in the circuits in which it is incorporated.  
         [0007]     There is therefore a need for improved systems and methods for calibrating an oscillator.  
       SUMMARY  
       [0008]     Embodiments of the present disclosure enable an oscillator to be calibrated in order to compensate the dispersions generated, on the one hand, during the process of fabricating the oscillator circuit components and, on the other hand, by variations of operating conditions by modifying the parameters of a resonant component, for example a capacitor or an induction coil of the oscillator, in order to change the frequency range covered by the oscillator, according to the control voltage.  
         [0009]     In one embodiment, the present disclosure provides a method of calibrating an oscillator to adjust the output frequency of the oscillator according to an oscillator control signal. The method includes comparing the frequency of a reference signal to be obtained at the output of the oscillator and the frequency of the output signal of the oscillator divided by a quantity. The method also includes determining an impedance value to be connected to the oscillator from a set of impedances, each corresponding to a frequency deviation of the oscillator so as to modify the output frequency of the oscillator to make it match the reference frequency. The method further includes connecting the impedance to the oscillator.  
         [0010]     In another embodiment, the present disclosure provides a device to calibrate an oscillator and adjust the output frequency of the oscillator according to an oscillator control signal. The device includes a measurement stage to determine the difference between the output frequency of the oscillator divided by a quantity and a reference frequency of the oscillator. The device also includes a set of impedances selectively connected to the oscillator and each corresponding to a frequency deviation of the oscillator. The device further includes a calibration stage to generate a calibration word according to the measured frequency difference, the calibration word having a set of bits, each intended to provoke the connection to the oscillator of one impedance from the set of impedances, so as to modify the output frequency of the oscillator to make it match the reference frequency.  
         [0011]     In still another embodiment, the present disclosure provides an oscillator calibrator. The calibrator includes a measurement stage to determine the difference between the output frequency of an oscillator divided by a quantity and a reference frequency of the oscillator. The calibrator also includes a set of impedances selectively connected to the oscillator and each corresponding to a frequency deviation of the oscillator. The calibrator further includes a calibration stage to generate a calibration word according to the measured frequency difference, the calibration word having a set of bits, each intended to provoke the connection to the oscillator of one impedance from the set of impedances.  
         [0012]     Other technical features may be readily apparent to one skilled in the art from the following figures, descriptions and claims.  
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0013]     For a more complete understanding of this disclosure and its features, reference is now made to the following description, taken in conjunction with the accompanying drawings, in which:  
         [0014]      FIG. 1  is a block diagram illustrating the general architecture of a voltage-controlled oscillator associated with a phase-locked loop and a calibration device according to one embodiment of the present disclosure;  
         [0015]      FIG. 2  is a flow diagram illustrating the main phases of the calibration method according to one embodiment of the present disclosure; and  
         [0016]      FIG. 3  is a diagram illustrating the general principle of calibration according to one embodiment of the present disclosure.  
     
    
     DETAILED DESCRIPTION  
       [0017]     It should be understood that in the present disclosure, “oscillator” means any component, such as a voltage-controlled oscillator, or resonator, capable of supplying an oscillating signal.  
         [0018]      FIG. 1  represents the general architecture  100  of a calibration device  1  according to the present disclosure. Calibration device  1  is intended to provide calibration for a voltage-controlled oscillator  2 . However, as indicated previously, the present disclosure applies to the calibration of any other oscillator or resonator, in particular any other oscillator or resonator with a resonant circuit based on the use of an induction coil or a capacitor.  
         [0019]     As can be seen in  FIG. 1 , the oscillator  2  mainly comprises a voltage-controlled oscillator VCO incorporated in a phase-locked loop PLL which locks the output frequency F VCO  of the VCO oscillator on a reference frequency F VCXO  generated, for example, by a quartz crystal. The phase-locked loop mainly includes a phase and frequency comparator PFD for calculating the phase and frequency difference between the reference frequency F VCXO  of the signal derived from the VCXO frequency standard and the output frequency F VCO  of the voltage-controlled oscillator divided by a quantity “N”.  
         [0020]     The phase and frequency comparator PFD is connected to a converter  3  includes a charge pump providing current-mode conversion of the calculated phase and frequency difference and a fine adjustment of the frequency of the VCO oscillator. Converter  3  is connected to the input of a filter  4  mainly comprising a capacitor for integrating the current output from the converter  3  to generate a VCO oscillator control voltage V.  
         [0021]     The circuit of the oscillator  2  illustrated in  FIG. 1  is complemented by a divider  5  for dividing by the quantity “N” the output frequency F VCO  of the oscillator. The output frequency F VCO  and the reference frequency are thus linked by the division rank of the oscillator according to the relationship given in Equation 1 below. 
 
 F   VCO   =N·F   VCXO   (Eqn. 1) 
 
         [0022]     As is known, the output frequency F VCO  delivered by the oscillator is given by relationship in Equation 2 below.  
               F   VCO     =     1     2   ⁢           ⁢   Π   ×     LC                 (     Eqn   .           ⁢   2     )             
 
         [0023]     In Equation 2, L and C, respectively denote the inductance and the capacitor of the oscillating circuit of the VCO oscillator. As indicated previously, the value of the inductance and the capacitor are likely to vary because of variations in their characteristics resulting from the method of fabricating these components, or because of variations in operating parameters. For example, regarding the inductance, these components are produced in the form of conductive tracks. The fabrication methods are not able to form conductive tracks of perfectly constant and identical width between two inductances, which generates differences of inductance value between two oscillators which are otherwise identical and a consequential oscillation frequency difference. Thus, it is necessary to apply a calibration of the oscillator in order to take up these frequency drifts.  
         [0024]     To calibrate the oscillator  2 , the calibration device  1  selectively connects an impedance to the VCO oscillator in order to vary the denominator of the above Equation 2 so as to make the output frequency F VCO  divided by the division rank N of the oscillator match the reference frequency F VCXO  or, at least bring the output frequency of the oscillator close to it so that the phase-locked loop PLL can lock it onto the reference frequency F VCXO . Preferably, the calibration device  1  selectively connects in parallel a capacitor to the main capacitor of the oscillator. The capacitor is chosen from a set of predetermined capacitors each providing a frequency deviation for the oscillator  2 . It is also possible to selectively connect in series an induction coil to the main induction coil of the oscillator.  
         [0025]     As seen in  FIG. 1 , the calibration device  1  includes a measurement stage  6  for measuring the difference between the reference frequency F VCXO  and the output frequency F VCO  of the oscillator, after division by the divider  5 . The calibration device  1  also comprises a calibration stage  7  proper which is used to choose the individual capacitors to be connected in parallel to the main capacitor of the VCO according to the measured frequency difference.  
         [0026]     At the output, the calibration stage  7  supplies a control word M comprising a set of bits b 0 , . . . b n , each controlling the switching of a switch connecting an individual capacitor in parallel to the main capacitor of the VCO oscillator (not shown).  
         [0027]     As  FIG. 1  shows, the calibration device  1  also includes a clock management block  8  which, on the one hand, paces all the component elements of the calibration device  1  and, on the other hand, manages the maximum calibration time, as will be described in detail below.  
         [0028]     Finally, the calibration device  1  includes a pre-charging circuit  9  used mainly to generate a control voltage V. During the calibration, the precharging circuit  9  replaces the loop filter  4  to set a control voltage value V for the VCO oscillator such that only the calibration word can be used to vary the output frequency of the VCO oscillator.  
         [0029]     It is also possible to apply a prior learning phase which consists in obtaining, for each rating, a curve showing the trend of the frequency F VCO  according to the control voltage V. In other words, during this prior phase, each frequency F VCO  has linked to it a rating-control voltage pairing. This prior learning phase can be carried out either for each type of circuit or for each circuit. It consists in measuring, for each rating, that is for each word M, the frequency generated for different control voltages V. It is implemented as an open loop. Moreover, the calibration words M are organized such that successive words respectively correspond to increasing or decreasing values of the capacitor of the oscillator. Thus, the calibration phase can also consist in measuring and storing the frequency differences between the ratings, considered in pairs.  
         [0030]     From the frequency deviations obtained for each rating, the calibration phase then consists mainly in measuring the frequency differences between the output frequency F VCO  of the oscillator divided by the division rank N and the reference frequency F VCXO  in order to select the rating to be used to modify the overall value of the capacitor C of the oscillator.  
         [0031]     The calibration procedure  200  according to one embodiment of the present disclosure will now be detailed with reference to  FIG. 2 . This procedure begins first with a calibration request (step  10 ). Such a step can be applied on each use in order to adapt the behaviour of the oscillator to the particular conditions in which it is operating.  
         [0032]     In the next step  12 , the VCO oscillator is precharged by means of the precharging circuit  9 . During this step  12 , a value of a counter-downcounter is set to zero. Also, the rating is set to its maximum value. For example, all the bits of the control word M are set to “1”, which forces the output frequency of the VCO oscillator to its lowest value. At the end of this prior initialization phase, the calibration proper takes place.  
         [0033]     The difference between the output frequency F VCO  divided by the division rank N of the oscillator and the reference frequency F VCXO  is then measured. This difference is measured immediately a frequency difference is detected. To do this, by referring also to  FIG. 1 , the measurement stage  6  incorporates a counter-downcounter, the value of which has previously been set to zero (step  12 ).  
         [0034]     In one embodiment illustrated in  FIG. 3 , in which the digits associated with each edge indicate the count value of the counter-downcounter  300 , this counter is incremented by “1” on each rising edge of the VCXO reference signal. It is decremented by “1” on each rising edge of the divided output signal F VCO . Thus, if the frequencies are identical, the only count values of the counter-downcounter  300  will be “0” and “1”.  
         [0035]     If this counter goes to “2”, this means that, for two successive rising edges of the VCXO, there has been no rising edge originating from the VCO, which then means that the VCO is slower than the VCXO. Otherwise, if the counter is equal to “−1”, this means that, for two successive rising edges of the VCO, there has been no rising edge originating from the VCXO, which means that the VCO is faster than the VCXO.  
         [0036]     It is then possible, according to the result of the counter-downcounter  300 , to know the behaviour of the output frequency relative to the reference clock. It is also possible, as a variant, to carry out a double count, which is applied only to the reference clock. It is possible, for example, to increment the counter-downcounter  300  by “1” on each rising edge of the reference signal F VCXO . The counter-downcounter  300  is also incremented by “1” on each falling edge detected on the signal F VCXO .  
         [0037]     Conversely, this counter-downcounter  300  is decremented by “2” on each rising edge of the output signal F VCO . If the frequencies are identical, the only values taken by the counter-downcounter  300  will be “0”, “−1” and “1”. If this counter goes to “2”, this means that, for two successive edges of the VCXO, there has been no rising edge originating from the VCO, which means that the VCO is slower than the VCXO. Otherwise, if the counter is equal to “−2”, this means that, for two successive rising edges of the VCO, there has been no active edge originating from the VCO, which means that the VCO is faster than the VCXO. Thus, by referring in particular to  FIG. 2 , during a first phase  14  of the calibration, there follows a detection of a rising edge of the reference signal output from the VCXO oscillator. If such is the case, there follows an incrementing of the clock pulse counter (step  16 ).  
         [0038]     In the next step  18 , there follows a detection of a rising edge in the signal output from the VCO oscillator (step  18 ). During this step, the object is to detect the appearance of a rising edge in the output signal of the VCO before a consecutive edge in the reference signal F VCXO . As indicated previously, this detection can be performed by monitoring the value of the counter-downcounter  300  incremented on each active edge of the reference signal and decremented on each rising edge of the output signal of the VCO oscillator. If such is the case, the method returns to the preceding step  14  to wait for the appearance of a consecutive rising edge in the reference signal F VCXO . Otherwise, in the next step  20 , the value of the current clock pulse counter is assigned to a final count value “Final-Counter”. The rating is then given by Equation 3 below.  
             G   =       Counter_Max   ×   Δ   ⁢           ⁢   Inter   ⁢     -     ⁢     rating_Freq   .         Final_Counter   ×   Δ   ⁢           ⁢     F     VCO   ⁢           ⁢   min                   (     Eqn   .           ⁢   3     )             
 
         [0039]     In Equation 3, the term ΔInter-rating_Freq. denotes the frequency deviation between two consecutive ratings. Counter_Max denotes a maximum clock pulse value from which it is considered that the output frequency of the oscillator matches the reference frequency. Final_Counter denotes the value of the clock pulse counter at the end of the abovementioned step  20 , namely, the number of clock pulses making it possible to detect a calibration fault, that is, making it possible to obtain a value, for example equal to “2” for the counter-downcounter  300 . ΔF VCOmin  is a minimum frequency difference value detectable during a time corresponding to the value of Counter_Max.  
         [0040]     In practice, the frequency deviation to be obtained, that is, the difference between the frequency of the VCO oscillator before calibration and after calibration can be given by Equation 4 below.  
               Δ   ⁢           ⁢     F   VCO       =         N   ×     F   VCXO       Final_Counter     ⁡     [     1   -     Fcount   ×   ɛ       ]               (     Eqn   .           ⁢   4     )             
 
         [0041]     In Equation 4, N denotes the division rank of the divider  5  and ε is the frequency error on startup generated by the divider  5  and by the delay in the different gates involved in the make-up of the oscillator. Fcount denotes the frequency of the VCO oscillator rounded to the reference frequency.  
         [0042]     With the relationship in Equation 3, it is possible to determine the number of clock pulses that make it possible to detect a calibration fault, that is, to obtain a value “2” for the counter-downcounter according to the division rank, the frequency error ε and the reference frequency F VCXO . By neglecting the frequency error, the number of clock pulses making it possible to detect a mismatch between the frequency of the oscillator and the reference frequency is given by Equation 5 below.  
             Final_Counter   =     N   ×       F   VCXO       Δ   ⁢           ⁢     F   VCO                   (     Eqn   .           ⁢   5     )             
 
         [0043]     As indicated previously, to determine the rating, there is first of all determined a maximum number Counter_Max of clock pulses beyond which it is considered that the output frequency matches the reference frequency, and a minimum frequency difference value ΔF VCOmin  corresponding to a minimum error that it is desirable to measure. The rating is then determined from the ratio between the maximum number of clock pulses Counter_Max and the number of clock pulses Final_Counter from which a frequency difference is detected and the ratio between the frequency deviation obtained between two ratings and the minimum frequency error ΔF VCOmin  (relation (2)).  
         [0044]     Thus, according to one embodiment of the present disclosure, there is determined a rating skip to be performed from an initial rating according to which all the capacitors are switched to the main capacitor of the oscillator so as to obtain the lowest frequency, by determining the difference between the output frequency of the oscillator and the frequency to be obtained after calibration, that is, the frequency deviation to be obtained, and by using a learning table giving the rating skip to be performed to obtain the desired frequency deviation.  
         [0045]     According to one embodiment of the present disclosure, there is calculated, by simulation, the frequency difference between each rating, for a given voltage, and there is then determined, from the initial rating, the rating skip to be performed to obtain the desired deviation. It will be noted, however, that according to this variant, it is desirable to carry out two successive calculations in order to obtain a relatively accurate result.  
         [0046]     Accordingly, one embodiment of the present disclosure applies to the calibration of such an oscillator in order to adjust its output frequency according to a control signal applied to it.  
         [0047]     It may be advantageous to set forth definitions of certain words and phrases used in this patent document. The term “couple” and its derivatives refer to any direct or indirect communication between two or more elements, whether or not those elements are in physical contact with one another. The terms “include” and “comprise,” as well as derivatives thereof, mean inclusion without limitation. The term “or” is inclusive, meaning and/or. The phrases “associated with” and “associated therewith,” as well as derivatives thereof, may mean to include, be included within, interconnect with, contain, be contained within, connect to or with, couple to or with, be communicable with, cooperate with, interleave, juxtapose, be proximate to, be bound to or with, have, have a property of, or the like.  
         [0048]     While this disclosure has described certain embodiments and generally associated methods, alterations and permutations of these embodiments and methods will be apparent to those skilled in the art. Accordingly, the above description of example embodiments does not define or constrain this disclosure. Other changes, substitutions, and alterations are also possible without departing from the spirit and scope of this disclosure, as defined by the following claims.