Fractional divide ratios, N.f, may be achieved with a fractional-N PLL; where N is the integer portion of the divide number and f is the fractional component. E.g if the desired divide ratio is 100.63, N=100 and f=0.63. A typical fractional-N PLL is shown in
A fractional divide ratio is obtained by periodically altering Δ(k). To illustrate, if an effective divide ratio (N.f) of 10.1 is desired, N is set to 10. Δ(k) is set to 0 for 9 consecutive cycles of Fin, then set to 1 for the 10th cycle of Fin. The average divide ratio over 10 cycles will be (10·9+11·1)/10=10.1. Δ(k) is toggled to achieve, on average, the desired fractional frequency.
Many applications have a need to switch from one frequency to a new frequency on a periodic or aperiodic basis. When a large frequency change is requested (somewhere on the order of 20× PLL BW) and the PLL attempts to drive the voltage controlled oscillator (VCO) tune line to the correct voltage, the PLL will often experience an interval of non-linear behavior due to a combination of limited voltage slew rate and/or voltage saturation, and phase lock is lost. Most PLLs automatically recover from this condition but the recovery is slow due to long time constants in the loop filter F(s), unexpected behavior from saturated amplifiers, and limited current or voltage drive.
The fastest switching speed is usually obtained when the PLL does not lose lock. Applications requiring fast switching speed often use ancillary circuitry which pre-tune the VCO, or temporarily alter the PLL bandwidth (BW), to enhance switching time by minimizing the period over which the PLL is out of lock.
Fast switching speed is obtained without extra circuitry by automatically sweeping the PLL from its current frequency to a new frequency, when a new frequency is requested. The fractional-N controller performs all calculations and operations required to sweep from the current frequency to the requested new frequency. After a one time initialization (typically at turn-on), the only information required by the fractional-N controller is the requested new frequency. During initialization, the fractional-N controller receives a value representing the optimum sweep rate. This value is stored and used for all subsequent frequency changes. The automatic swept frequency feature accommodates new frequencies greater or less than the current frequency.
Fractional-N PLLs can be designed to support frequency sweep. A frequency sweep is the act of performing a linear vs. time transition from an initial frequency, Fstart, to a final frequency, Fstop. The fine frequency resolution of the fractional-N loop makes this possible.
To illustrate, time is quantized to units of Tin (Tin=1/Fin), represented by k.
The sweep is accomplished by incrementing the current frequency N.f, by a constant, e.g. 0.01, every cycle of Fin.
The invention is a method to automatically change the output frequency of a fractional-N PLL via a linear sweep instead of a step.
When fast switching speed is needed, it is imperative to prevent the PLL from losing lock. One way to accomplish this is to sweep the frequency from its current value to the desired value. The maximum rate at which a PLL can be linearly swept without losing lock can be calculated. Frequency switching speed is optimized when the PLL is swept to the new desired frequency at said maximum.
When step 120 is reached, the sweep has concluded. The likelihood of the difference between N.f_new and N.f_current being an integer multiple of Ninc is very small. Therefore multiple Ninc increments of N.f_current will not sum exactly to N.f_new and the sweep will overshoot the desired frequency when it terminates. The magnitude of the overshoot error will be less than one frequency increment (Ninc*Fin); a value which is small compared to the PLL BW. In step 120 the value of N.f, post sweep, is adjusted to equal the exact desired frequency, N.f_new. Performing this adjustment in a single step does not threaten PLL lock because the adjustment is so small.
The aforementioned method may be applied to analog corrected or Δσ Fractional-N phase lock loops.