The present invention relates to phase-locked loops (PLLs) and frequency-locked loops (FLLs), particularly loops of mostly-digital construction.
Direct digital frequency synthesis (DDFS) consists of generating a digital representation of a desired signal, using logic circuitry and/or a digital computer, and then converting the digital representation to an analog waveform using a digital-to-analog converter (DAC). Such systems can be compact, low power, and can provide very fine frequency resolution with virtually instantaneous switching of frequencies.
One of the challenges of DDFS has been to generate a clean, precisely-modulated waveform. Because of limited time resolution and edge misalignment, spurious output signal transitions (i.e., “spurs”) occur.
Precision modulation is also a problem in conventional analog frequency synthesizers using a phase-locked loop (PLL). The problem occurs that the PLL treats signal modulation as drift and attempts to cancel the modulation. Various circuit arrangements have been devised in an attempt to overcome this problem. Such circuit arrangements do not enjoy the benefits of DDFS.
U.S. Pat. No. 6,094,101 to Sander describes improved methods of generating clean, precisely-modulated waveforms, at least partly using digital techniques. As described therein, a “difference engine” is provided that produces a digital signal representing the frequency error between a numeric frequency and an analog frequency. The frequency error may be digitally integrated to produce a digital signal representing the phase error. The difference engine may be incorporated into a phase-locked loop or a frequency-locked loop (PLL/FLL), where the analog frequency is that of an output signal of a VCO of the PLL/FLL. Direct modulation of the PLL/FLL output signal may be performed numerically. By further providing an auxiliary modulation path and performing calibration between the direction modulation path and the auxiliary modulation path, modulation characteristics may be separated from loop bandwidth constraints. In particular, the loop bandwidth of the PLL/FLL may be made so low as to reduce spurs (usually associated with DDFS techniques) to an arbitrarily low level. A loop filter of the PLL/FLL may be realized in digital form.
Referring to
In the fast path, the numeric modulation input is applied through a multiplier 109 to a second EΔ-DAC 111. An output voltage produced by the second EΔ-DAC 111 is applied through an RC circuit R1C1 to the VCO 103. The PLL/FLL of
Note that modulation is injected at two different points in the circuit, through the main loop and through the separate modulation path. When the modulation is changed, it is changed at these two different points at the same time. This may be achieved by “dosing” part of the modulation signal from the separate modulation path to the main loop. To accomplish this dosing, the modulation input signal of the separate modulation path is scaled by a factor ‘F’ and input to the summing DAC of the main loop through a path 113. According to one implementation, F=C1/(C1+C2).
The multiplier 109 is provided to allow the direct modulation gain to be matched in the auxiliary modulation gain. The multiplier 109 applies a scale factor ‘M’ to the numeric modulation input, and the resulting scaled signal is applied to the EΔ-DAC, which functions now as a summing DAC.
Referring to
Despite the foregoing improvements, there nevertheless remains a need for further improved PLL/FLLs and control techniques for generating clean, precisely-modulated waveforms.
Methods and apparatus for controlling a controlled oscillator using a phase-locked loop (PLL) or frequency-locked loop (FLL) having a digital loop filter with programmable filter parameters are disclosed. An exemplary phased lock loop includes a controlled oscillator, a converter circuit, a numerically controlled synthesizer circuit, a digital loop filter having at least one programmable filter parameter, and a digital-to-analog converter (DAC). The controlled oscillator has a tuning port configured to receive an error signal generated by the PLL. The error signal is generated based on a difference signal between a digital signal generated by the converter circuit and a digital reference signal. The digital signal generated by the converter circuit has a pulse density representing the frequency of an output signal generated by the controlled oscillator. The digital reference signal has a pulse density representing a desired frequency of the controlled oscillator output signal. The digital loop filter filters the error signal, and the DAC converts the filtered error signal to an analog error signal, which is applied to the tuning port of the controlled oscillator.
According to one aspect of the invention, one or more of the programmable filter parameters of the digital loop filter are changed by increments during operation, in order to minimize disturbances (e.g., settling transients) as the loop bandwidth of the PLL is varied from a narrow loop bandwidth to a wide loop bandwidth, or vice versa. By changing the loop filter parameters gradually, i.e., in increments, the loop bandwidth can be varied with substantially no perturbation. The end result is a much faster frequency switching time, improved settling dynamics, and predictable and stable loop operating performance.
According to another aspect of the invention, one or more of the programmable filter parameters are changed in order to oppose a change in tuning sensitivity of the controlled oscillator (e.g., in order to maintain a constant loop bandwidth). A benefit of this aspect of the invention is that by holding the loop bandwidth constant, switching time is maintained substantially constant under all conditions. This is a very desirable design condition, since it reduces design and production margins in a frequency agile system. It also relaxes the tuning sensitivity linearity requirements of the controlled oscillator.
Further aspects of the invention are described and claimed below, and a further understanding of the nature and advantages of the invention may be realized by reference to the remaining portions of the specification and the attached drawings.
Those of ordinary skill in the art will realize that the following detailed description of the present invention is illustrative only and is not intended to be in any way limiting. Other embodiments of the present invention will readily suggest themselves to such skilled persons having the benefit of this disclosure. Reference will now be made in detail to implementations of the present invention as illustrated in the accompanying drawings. The same reference indicators will be used throughout the drawings and the following detailed description to refer to the same or like parts.
Referring now to
The frequency constant may represent the center frequency of the VCO 303 for a particular communications channel. The modulation phase difference is a sample-time by sample-time change in the desired phase of the modulated signal. The modulation phase difference is phase accurate in the sense that if it were accumulated it would represent actual phase; as a phase difference, it is actually a frequency. In precise terms, the present loop is therefore actually a frequency-locked loop (FLL), although the phase-accurate properties of the loop are more typical of a phase-locked loop (PLL).
An adder 323 forms a difference between the respective output signals of the DFS 301a and the EΔ-FDC 301b, to form an error signal (also a stream of bits). The EΔ-FDC 301b provides a conversion output that is decimated down to the digital loop clock rate. The DFS 301a takes the desired “frequency” and generates a digital stream much like the digital portion of a EΔ-ADC with an output resolution to match the EΔ-FDC decimator at the loop clock frequency. Thus if the VCO 303 is at the desired frequency, then the EΔ-FDC 301b and the DFS 301a will be outputting the same average values, and if the VCO 303 is not at the desired frequency, then there will be an error from the adder 323. The error signal is applied to a digital loop filter.
In the illustrated embodiment, the digital loop filter may be represented in the form of two transfer functions. A first block 305a realizes a first-order transfer function of K1/s. A second block 305b realizes a second-order transfer function of K2/s2.
The main loop of the PLL/FLL in
To avoid the stringent accuracy, resolution and noise requirements of such a DAC, the transfer function of the second block 305b may be split into two blocks arranged in series, one block 305b′ having a transfer function of K2/s and another block 308 having a transfer function of 1/s, which represents integration, as illustrated in
The analog integrator in the PLL/FLL of
The forward path in
In an ideal system, with the first and second factors ‘M’ and ‘F’ set properly, the error signal would be zero and all of the modulation would come from the fast path. The primary purposes of the slow path are to: (i) keep the carrier frequency accurate, and (ii) ensure that the overall system keeps precise track of input phase. A phase-accurate digital frequency modulator is thereby achieved.
In some applications or operating circumstances it may be desirable to adjust the loop bandwidth of the PLL/FLL, while in other applications or operating conditions it is desirable to maintain as constant a loop bandwidth as possible. The systems and methods of the present invention fulfill these needs by providing loop transfer function parameters K1 and K2 having values that are programmable and modifiable during operation. According to one aspect of the invention various values for each loop transfer function parameter are stored in a memory or look-up table (LUT), and a controller 820 (e.g., implemented using a digital signal processor (DSP)) is configured to access different values of the loop transfer function parameters during operation of the PLL or FLL.
In applications or operating circumstances where it is desired to adjust the loop bandwidth of the PLL/FLL, according to an embodiment of the invention the values of the loop transfer function parameters K1 and K2 are modified incrementally and on the fly as the PLL/FLL is operated, in order to reduce settling transients resulting from changes in the loop bandwidth of the PLL/FLL, e.g., from a wide loop bandwidth to a comparatively more narrow bandwidth. The appropriate loop transfer function parameter values needed are determined from predicted, simulated or measured behavior of the PLL/FLL. For example, the appropriate loop transfer function parameter values can be determined based on perturbation tests performed on the PLL/FLL, as will be appreciated and understood by those of ordinary skill in the art. According to one embodiment of the invention, once the determined loop transfer function parameter values have been determined, they are stored in a LUT or other system register for quick access during operation of the PLL/FLL. By modifying the values of the loop transfer function parameters K1 and K2 slowly, e.g., as the PLL/FLL is reconfigured for operation between the slow and fast paths, settling transients caused by changes in loop bandwidth are made to settle in a much shorter time than possible with no change to the parameters. The end result is a much faster frequency switching time for the synthesizer, with excellent settling dynamics and predictable and stable performance.
In applications or operating circumstances where it is desired to maintain as constant a loop bandwidth as possible over a tuning range of the PLL/FLL, according to another embodiment of the invention the values of the loop transfer function parameters K1 and K2 are varied during operation to maintain a desired constant loop bandwidth. Maintaining a constant loop bandwidth is a desirable condition in many operating conditions since it minimizes design and production margins in a frequency agile system. It also allows for loop component (such as the VCO, for example) to have relaxed tuning sensitivity linearity requirements, thereby reducing costs and increasing sourcing and design options. The appropriate values of the loop transfer function parameter values needed to maintain the desired constant loop bandwidth are determined based on predicted, simulated or measured behavior of the PLL/FLL. For example, the appropriate parameter values can be determined based on impulse response or step response tests performed on the PLL/FLL, as will be appreciated by those of ordinary skill in the art. According to one embodiment of the invention, once the appropriate loop transfer function parameter values have been determined, they are stored in a LUT or other system register for quick access during operation of the PLL/FLL. The feed-forward technique of the PLL/FLL in
The foregoing techniques for overcoming the stringent accuracy, resolution and noise requirements that might otherwise apply to a digital to analog (D/A) converter may be applied generally to feedback control systems. Referring to
In the illustrated system, the filter structure 1005 includes two parallel branches, one of the branches including a K1/s operator and the other branch including a K2/s2 operator. The operators receive the error signal and perform their respective operations to produce signals that are summed together and applied to the D/A converter 1015. The illustrated filter structure has been shown to be advantageous from the standpoint of loop stability. However, in the system as shown, extreme requirements may be placed on the D/A converter 1015 that are difficult to realize.
In accordance with one aspect of the invention, these requirements may be relaxed by employing a series of transformations to arrive at a structure that accomplishes the equivalent control function, as illustrated in
Although various exemplary embodiments of the invention have been described in detail, it should be understood that various changes, substitutions and alternations can be made without departing from the spirit and scope of the inventions as defined by the appended claims.
This patent application claims the benefit of U.S. Provisional Patent Application No. 60/983,136, filed on Oct. 26, 2007, the disclosure of which is hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
60983136 | Oct 2007 | US |