Certain embodiments of the invention relate to a method and system for digital tracking in direct and polar modulation. In various embodiments of the invention, analog component values in an analog PLL circuit may be controlled based on a digital control input signal that may be generated by digital control circuitry based on an analog feedback signal generated within the analog PLL circuit. The analog feedback signal may be continuously detected, or monitored, by the digital control circuitry with subsequent digital control signals generated based on current analog feedback signals. The continuous monitoring and generation of digital control signals in response to current analog feedback signals may be referred to as digital tracking. In this regard, various embodiments of the invention comprise a method and system for digital tracking of analog PLL circuitry. For analog PLL circuitry, which is utilized in a direct modulation transmitter, or polar modulation transmitter, various embodiments of the invention may relate to a method and system for digital tracking in direct and polar modulation transmitters. Utilizing digital tracking control of analog fractional-N PLL designs may enable fabrication of these PLL designs utilizing high integrated very large scale integration (VLSI) IC fabrication technologies where analog component values may be very sensitive to variations introduced during IC manufacturing, and/or to temperature induced variations during circuit operation.
Various embodiments of the invention may be utilized in a range of wireless communications systems, such as frequency modulation (FM) transmitters, Bluetooth systems, ZigBee systems, digitally enhanced cordless telecommunications (DECT) systems, global system for mobile communications (GSM) systems, enhanced data for GSM evolution (EDGE) systems, and wideband code division multiple access (WCDMA) systems, for example. Various embodiments of the invention may also be utilized in software defined radio (SDR) architectures.
The RF receiver 123a may comprise suitable logic, circuitry, and/or code that may enable processing of received RF signals. The RF receiver 123a may enable receiving RF signals in a plurality of frequency bands. The RF receiver 123a may enable receiving signals in cellular frequency bands, for example, GSM, GPRS, and/or EDGE. Each frequency band supported by the RF receiver 123a may have a corresponding front-end circuit for handling low noise amplification and down conversion operations, for example.
The RF receiver 123a may down convert the received RF signal to a baseband frequency signal that comprises an in-phase (I) component and a quadrature (Q) component. In some instances, the RF receiver 123a may enable analog-to-digital conversion of the baseband signal components before transferring the components to the digital baseband processor 129.
The digital baseband processor 129 may comprise suitable logic, circuitry, and/or code that may enable processing and/or handling of baseband frequency signals. In this regard, the digital baseband processor 129 may process or handle signals received from the RF receiver 123a and/or signals to be transferred to the RF transmitter 123b. The digital baseband processor 129 may also provide control and/or feedback information to the RF receiver 123a and to the RF transmitter 123b based on information from the processed signals. The digital baseband processor 129 may communicate information and/or data from the processed signals to the processor 125 and/or to the memory 127. Moreover, the digital baseband processor 129 may receive information from the processor 125 and/or to the memory 127, which may be processed and transferred to the RF transmitter 123b.
The RF transmitter 123b may comprise suitable logic, circuitry, and/or code that may enable processing of RF signals for transmission via a wireless medium. The RF transmitter 123b may enable transmission of RF signals in a plurality of frequency bands. Moreover, the RF transmitter 123b may enable transmission of signals in cellular frequency bands, for example. Each frequency band supported by the RF transmitter 123b may have a corresponding front-end circuit for handling amplification and/or up conversion operations, for example.
The RF transmitter 123b may convert the baseband frequency signal comprising I/Q components to a signal comprising phase and/or amplitude components, which may then be up converted to an RF signal. In some instances, the RF transmitter 123b may enable digital-to-analog conversion of the baseband signal components received from the digital baseband processor 129 before up conversion.
The processor 125 may comprise suitable logic, circuitry, and/or code that may enable control and/or data processing operations for the mobile terminal 120. The processor 125 may be utilized to control at least a portion of the RF receiver 123a, the RF transmitter 123b, the digital baseband processor 129, and/or the memory 127. In this regard, the processor 125 may generate at least one signal for controlling operations within the mobile terminal 120. The processor 125 may also enable execution of applications that may be utilized by the mobile terminal 120.
The memory 127 may comprise suitable logic, circuitry, and/or code that may enable storage of data and/or other information utilized by the mobile terminal 120. For example, the memory 127 may be utilized for storing processed data generated by the digital baseband processor 129 and/or the processor 125. The memory 127 may also be utilized to store information, such as configuration information, that may be utilized to control the operation of at least one block in the mobile terminal 120.
The reference frequency block 134 may comprise suitable logic, circuitry, and/or code that may enable generation of local oscillator (LO) and/or carrier frequency signals. The reference frequency block 134 may comprise a crystal, which may be utilized for generating the LO signals.
The digital baseband processor 132 may comprise suitable logic, circuitry, and/or code that may enable processing and/or handling of baseband frequency signals. The digital baseband processor may generate a digital baseband signal comprising in-phase (I) and quadrature phase (Q) components. The digital baseband signal may comprise a plurality of samples and each sample may comprise a plurality of bits, for example 12 bits. The samples within the digital baseband signal may occur at a sampling rate, for example 13 MHz. Each sample in the baseband digital signal, which may represent a plurality of signal levels, for example 212, or 4,096, signal levels.
The bandpass filter 138 may comprise suitable logic, circuitry, and/or code that may enable generation of an output signal by processing and input signal to attenuate input signal amplitudes for a range of electromagnetic frequencies below a low frequency, fLOW, and above a high frequency, fHIGH. The range of frequencies that are greater than or equal to fLOW and less than or equal to fHIGH may comprise a pass band.
The preamplifier 144 may comprise suitable logic, circuitry, and/or code that may enable generation of an output signal whose signal level comprises a fixed or variable attenuation in comparison to a signal level associated with a corresponding input signal.
The power amplifier 152 may comprise suitable logic, circuitry, and/or code that may enable generation of an output signal, based on an input signal, with sufficient electrical power, that amplitude associated with the output signal may be maintained when the output signal is applied to an electrical load. The power amplifier 152 may be characterized by a linear operation when a change in amplitude for the input signal corresponds to a proportional change in amplitude for the output signal. The gain associated with the power amplifier 152 may be variable based on a received gain control input signal.
The Cartesian to polar conversion block 158 may comprise suitable logic, circuitry, and/or code that may enable generation of magnitude and phase components corresponding to a received input signal. The Cartesian to polar conversion block 158 may receive a digital baseband signal comprising I and Q components. The Cartesian to polar conversion block 158 may generate a representation of the digital baseband signal that comprises a magnitude (ρ) component, and a phase (φ) component. The magnitude component may represent amplitude modulated signal component, and the phase component may represent a phase modulated signal component.
The fractional-N synthesizer 156 may comprise suitable logic, circuitry, and/or code that may enable utilization of the phase modulated signal component to generate a synthesized RF signal. The fractional-N synthesizer 156 may generate the synthesized RF signal based on an input IF signal. The fractional-N synthesizer 156 may generate a change in signal level and/or frequency for the synthesized RF signal based on a corresponding change in the input IF signal. The fractional-N synthesizer 156 may perform calibration and pre-distortion procedures to equalize the corresponding change across a range of frequencies, substantially as described for the fractional-N synthesizer 142.
In operation, the digital baseband processor 132 may provide a baseband signal comprising I and Q signal components. The I and Q signal components may be communicated to the Cartesian to polar conversion block 158. The Cartesian to polar conversion block 158 may generate magnitude (ρ) and phase (φ) signal components, which correspond to the received I and Q signal components. The phase signal component may be communicated to the PLL 156. The PLL 156 may utilize the phase signal component, and the LO signal and/or carrier frequency signal from the reference frequency block 134, to generate an RF synthesized signal. The frequency associated with the RF synthesized signal may be based on the carrier frequency derived from an input signal received from the reference frequency block 134.
The preamplifier 144 may modify the amplitude associated with the RF synthesized signal. The amplitude modified RF synthesized signal may comprise an output RF synthesized signal. The power amplifier 136 may modify the amplitude associated with the output RF synthesized signal. The power amplifier 136 may modify the amplitude associated with the output RF synthesized signal based on the magnitude component signal, received from the Cartesian to polar conversion block 158. The output RF synthesized signal may comprise signal components that span a range of frequencies. The bandpass filter 138 may band limit the amplified output RF synthesized signal by reducing signal levels for signal components associated with frequencies that are not within the pass band for the bandpass filter 138. The transmit antenna 121b may enable the band limited signal to be transmitted via a wireless medium.
The analog Fractional N (Frac N) PLL block 221 may comprise suitable logic, circuitry, and/or code that may enable generation of an analog output signal, ot, based on a digital input signal un. In a direct modulation transmitter circuit, or in a polar modulation transmitter circuit, the output signal ot may comprise a frequency modulated (FM) signal having a frequency, F(un), that is determined based on the input signal un. The output signal ot may comprise an analog signal. In a direct modulation circuit, the input signal un may comprise a digital baseband signal. In a polar modulation circuit, the input signal un may comprise a phase component, such as may be generated by a Cartesian to polar conversion block 158. The center frequency of the transmitted signal and the granularity with which the frequency F(un) may change in response to a change in un may be determined based on a reference frequency, FRef, and the input N to the analog Frac N PLL block 221. The reference frequency may be generated internally within the Frac N PLL block 221 by, for example, a reference frequency block 134 (
The A/D block 222 may comprise suitable logic, circuitry, and/or code that may enable generation of a digital output signal pn based on an analog input signal pt. The A/D block 222 may measure convert analog information, such as a signal amplitude, into a form suitable for digital processing, such as a sequence of bytes, or samples, corresponding to a sequence of signal amplitude measurements taken at distinct time instants. The A/D conversion process may comprise acquisition, quantization, and encoding. Acquisition may comprise sampling the analog input signal to derive a measurement of the signal amplitude, or an acquired signal level, at a distinct time instant. Quantization may comprise dividing a signal measurement range into distinct signal levels, or quantization levels, and mapping the acquired signal level to one of the quantized levels. Encoding may comprise converting the quantization level to a digital representation comprising one or more bits. The A/D block may utilize any of a variety of encoding techniques, such as μ-law or A-law algorithms, for example.
The signal reconstruction block 223 may comprise suitable logic, circuitry, and/or code that may enable generation of a digitized waveform approximating the digital input signal un. The digitized waveform may represent a sequence of quantization levels at distinct time instants that correspond to the sequence of samples in the digital input signal.
The digital adaptive algorithm block 224 may comprise suitable logic, circuitry, and/or code that may enable generation of a digital control output signal, cn, based on a digitized waveform signal, and an input signal un. The digital adaptive algorithm block 224 may generate the digital control output signal based on a comparison between the digitized waveform signal and the input signal.
In operation, the analog Frac N PLL block 221 may receive an input signal, un, and an input N. An initial value for the digital control input signal, cn, may be generated based on a calibration procedure performed prior to the initiation of normal operation for the analog Frac N PLL block 221. The analog Frac N PLL block 221 may generate an output signal, ot, which may comprise modulated data from the input signal un in an FM signal. The Frac N PLL block 221 may generate an output feedback signal, pt, which is communicated to the A/D block 222. The A/D block 222 may generate a representation of the signal, pt, which may be suitable for digital processing. The representation may comprise a sequence of samples that may be encoded using a digital encoding algorithm. The signal reconstruction block 223 may generate a digital waveform signal based on the digital representation generated by the A/D block 222. The digital adaptive algorithm block 224 may compare the digital waveform signal and the input signal un. Based on the comparison, the digital adaptive algorithm block 224 may generate a subsequent digital control input signal, cn+1, which is communicated to the analog Frac N PLL block 221. The output signal ot and the feedback signal pt will be affected, while the analog Frac N PLL block 221 may generate a subsequent sampled feedback value pn+1 based on a subsequent input signal un+1 the input N, and the subsequent digital control input signal cn+1.
One of the limitations in analog Frac N PLL 221 designs is that while larger values of N may theoretically enable more fine-tuned adjustment in the frequency F(un) in response to changes in the input signal un, the larger value of N may introduce phase noise within the analog Frac N PLL 221 circuit, which may limit the precision with which the frequency F(un) may change in response to the input signal un.
In various embodiments of the invention, the digital control input signal, cn, may enable adjustment of circuit parameters within the analog Frac N PLL block 221 based on an output feedback signal pt. The feedback signal pt may comprise an analog signal. The analog Frac N PLL block 221 may comprise digital to analog conversion (D/A) circuitry that converts the digital control input signal, cn, to one or more adjustments to values of circuit parameters within the analog circuitry, for example, the voltage controlled oscillator (VCO) gain factor, Kv, of the analog Frac N PLL block 221. The VCO gain factor may provide a measure of the responsiveness of changes in the output frequency F(un) to changes in the input signal un.
In an exemplary embodiment of the invention, the output feedback signal, pt, may provide a measure of the responsiveness of changes in the output frequency F(un) to changes in the input signal un. One aspect of the invention comprises a method and system by which values of the analog output feedback signal pt may be continuously detected, and/or monitored. Based on this continuous monitoring, a digital control input signal cn may be generated. The analog Frac N PLL block 221 may utilize the digital control input signal to adjust values of circuit parameters within the analog circuitry. In response to the adjustments, a subsequent analog output feedback signal may be generated, from which a subsequent digital control input signal may be generated. This process may be performed continuously during the operation of the analog Frac N PLL block 221.
The calibration block 326 may comprise suitable logic, circuitry, and/or code that may enable generation of signals and reception of a digitized waveform input signal. One or more of the generated signals may be adjusted based on the received digitized waveform input signal.
In operation, during a calibration procedure, the switch 329 may couple an output from the calibration block 326 to an input to the Frac N PLL block 221, and to an input to the digital adaptive algorithm block 224. The processor 125 (
The A/D block 222 may generate a digital output signal based on the feedback signal. The digital amplifier 327 may initially be configured to output an unmodified version of the digital signal received from the A/D block 222, which may be communicated to the calibration block 326. The calibration block 326 may perform measurements on the received digital signal. Based on the measurements, the calibration block may adjust parameters in the digital amplifiers 327 and 328. The adjustments may comprise modifying a value of digital gain for either digital amplifier, both digital amplifiers, or neither digital amplifier.
A modification of the digital gain in the digital amplifier 327 may enable the digital amplifier 327 to receive a digital signal from the A/D block 222, and output a digital signal to the signal reconstruction block 223 in which one or more sample values have been adjusted in comparison corresponding values in the digital signal generated by the A/D block 222. A modification of the digital gain in the digital amplifier 328 may enable the digital amplifier 328 to receive a digital signal from the digital adaptive algorithm block 224, and modify one or more values in the digital signal when generating an output digital control signal cn to be input to the analog Frac N PLL block 221.
At the end of the calibration procedure, the switch 329 may couple the input signal un to the input of the analog Frac N PLL block 221, and to an input to the digital adaptive algorithm block 224. This may represent a configuration for normal circuit operation substantially as described for the PLL 220 in
The PFD/CP block 451 may comprise suitable circuitry, logic, and/or code that may enable generation of a current, i(F), based on a reference input signal, Ref, a feedback signal, and a digital control input signal cn. The variable, F, may be a variable representing a frequency associated with the signal i(F). The Ref signal may be generated by an oscillator crystal. The Ref signal may be defined by a frequency, FRef, amplitude, ARef, and/or phase, φRef. The PFD function within the PFD/CP block 451 may enable detection of phase differences between the Ref signal and the feedback signal at various time instants. The CP function within the PFD/CP block 451 may enable generation of the current i(F) based on the detected phase differences and the digital control input signal cn.
The loop filter 452 may comprise suitable circuitry, logic, and/or code that may be utilized to enable generation of a control voltage signal, VCntl, based on a received current i(F). The loop filter 452 may be characterized by an impedance that may vary as a function of frequency, Zloop(F), where the variable F may represent the frequency associated with the signal i(F). An approximate value for the control voltage VCntl may be represented as shown in the following equation:
V
Cntl(F)≅Zloop(F)·i(F) Equation [1]
The VCO 453 may comprise suitable circuitry, logic, and/or code that may enable generation of an output signal ot based on an input control voltage VCntl. The output signal generated by the VCO 453 may be defined by an amplitude, a phase, and/or a frequency. The generated output signal may have a VCO frequency, FV, which may be represented as shown in the following equation:
F
V
≅K
V
·V
cntl Equation [2]
where KV may represent the VCO gain factor, which may relate an amplitude of the input control voltage, VCntl, to a corresponding frequency of the generated output signal ot.
The frequency divider block 454 may comprise suitable logic, circuitry, and/or code that may enable generation of a feedback signal based on reception of an input signal and an input frequency division number NF. The feedback signal may be defined by an amplitude, AFB, a phase, φFB, and/or a frequency, FFB. For an input signal having a frequency, FV, and for a input division number NF, the frequency divider block 454 may generate a feedback signal having a frequency, FFB, which may be represented as shown in the following equation:
The ΣΔ block 455 may comprise suitable logic, circuitry, and/or code that may enable generation of a frequency division number NF based on a received digital input signal. The frequency division number NF may comprise an integer component and/or a fractional component. The ΣΔ block 455 may estimate a value for a received digital signal, measure an error when comparing the estimate to the received digital signal, and generate a subsequent estimate based on the current estimate and current computed error. A subsequent value for the frequency division number, NF, output by the ΣΔ block 455 may be based on the value of the subsequent estimate. The ΣΔ block 455 may perform noise shaping on the received digital signal that comprises noise components within a specified frequency range by shifting at least a portion of the noise components to frequencies higher and/or lower than specified frequency range. By performing noise shaping, the ΣΔ block 455 may enable more accurate generation of the frequency division number NF in response to the received digital signal.
The adder block 456 may comprise suitable logic, circuitry, and/or code that may enable generation of an output digital signal based on an input digital signal un and an input N. The input N may represent an index that refers to one of a plurality of frequencies, where the plurality of frequencies may be referred to as a frequency bin. The output digital signal from the adder block may represent the value of the sum N+un, which may be computed based on binary arithmetic, for example.
In operation, the adder block 456 may receive a digital input signal un comprising a sequence of binary values. The adder block 456 may generate a digital signal comprising a sequence of binary values by adding index N to each of the corresponding binary values in the signal un. The ΣΔ block 455 may generate the frequency division number NF based on the digital signal received from the adder block 456.
The PFD/CP block 451 may receive an input reference signal, generated by a crystal oscillator, and a feedback signal, generated by the frequency divider block 454. At a given time instant t0, the PFD/CP block 451 may compare the signal level of the input reference signal, ARef(t0) and the signal level of the feedback signal AFB(t0). Based on the comparison between the signal levels, ARef(t0) and AFB(t0), a phase and/or frequency difference between the input reference signal and the feedback signal may be detected. Based on the detected phase and/or frequency differences and the current value of the digital control input signal, cn, the PFD/CP block 451 may generate a corresponding current level i(t0). Based on the current level generated at the current time instant, and probably at one or more preceding time instants, the PFD/CP block 451 may generate a current i(F), where the variable, F, may represent a frequency value.
The loop filter 452 may receive the current i(F) at a time instant t0′, where t0′ may represent a time instant t0+δ, and generate a control voltage Vcntl(t0′). The control voltage may also be output as an output feedback signal pt0′. The VCO block 453 may receive the control voltage, Vcntl(t0′), at a time instant t0″, where t0″ may represent a time instant t0′+δ. Based on the received control voltage, the VCO block 453 may generate an output signal ot having a frequency FV(t0″).
The frequency divider block 454 may receive the signal ot at a time instant t0′″, where t0′″ may represent a time instant t0″+δ. Based on the received ot signal, and the frequency division number NF from the ΣΔ block 455, the frequency divider block 454 may generate a feedback signal having a frequency FFB(t0′″), which may be represented as shown in the following equation:
The feedback signal generated by the frequency divider block 454 at a time instant t0″″ where t0″″ may represent a time instant t0′″+δ, may be utilized to generate subsequent output signal ot+1.
The parametric equalizer block 561 may comprise suitable logic, circuitry, and/or code that may enable generation of a digital output signal yn by filtering of a digital input signal un. The filtering characteristics of the parametric equalizer block 561 may be configured to control the bandwidth, center frequency, phase and/or pass band gain. The filtering characteristics may be configured to compensate for distortions in the digital input signal un due to unequal frequency response in circuitry that generates the input signal due to the closed loop transfer function characteristics of the PLL components 451 to 456, for example. In various embodiments of the invention the filtering characteristics may be configured based on a digital control input signal cn.
In operation, the digitally controlled Frac N PLL circuit 521 may generate an output feedback circuit pt substantially as described in
The digital filter block 571 may comprise suitable logic, circuitry, and/or code that may enable generation of a digital output signal yn by digital filtering of a digital input signal un. The filter characteristics, for example the bandwidth, center frequency, and/or pass band gain may be determined adaptively based on input coefficients. In an exemplary embodiment of the invention, the digital filter block 571 may comprise an infinite impulse response (IIR) filter. In various other exemplary embodiments of the invention, the digital filter block 571 may comprise other suitable filtering methods, such as finite impulse response (FIR) filtering, for example.
The memory 572 may comprise suitable logic, circuitry, and/or code that may enable storage of coefficients and parameters that may be utilized in a digitally controlled parametric equalizer circuit. Exemplary parameters may comprise determination of high and/or low pass band frequencies, gain levels, and filter rolloff parameters, which may be utilized to determine how rapidly the gain levels decrease at frequencies above the high pass band frequency and/or at frequencies below the low pass band frequency. Exemplary coefficients may comprise values that may be utilized to determine scale factors for individual taps within an IIR and/or FIR filter implementation, for example. The various scale factors may enable control of the filtering characteristics of the parametric equalizer circuit 561.
The coefficient evaluator block 573 may comprise suitable logic, circuitry, and/or code that may enable computation of values for individual coefficients utilized in the parametric equalizer circuit 561. The coefficient values may be computed based on the digital control input signal cn.
In operation, the coefficient evaluator block 573 may receive a digital control input signal cn. Based on the digital control input signal the coefficient evaluator block 573 may retrieve current parameter values from the memory 572. The current parameter values may be used to evaluate current digital filter coefficient values of the parametric equalizer circuit 561. The coefficient evaluator block 573 may store the generated coefficient values in the memory 572. The digital filter 571 may retrieve a current set of coefficients stored in memory 572 when processing the digital input signal un. The digital filter 571 may generate a digitally filtered version of the digital input signal un where the digital filtering characteristics may be determined based on the coefficients retrieved from the memory 572. The digital filter 571 may generate the digital output signal yn based on the digitally filtered version of the digital input signal un.
The signal to voltage block 681 may comprise suitable logic, circuitry, and/or code to generate an analog output feedback signal pt based on an analog feedback signal generated by the frequency divider block 454.
In operation, a difference between the PLL circuits in
In operation, a difference between the PLL circuits in
The bandwidth of a PLL may be the analog quantity we wish to track. This may be represented as α·bw, where α may represent a proportionality constant and bw may represent a bandwidth parameter. The parameter bw may be represented as follows:
b
w
=K
V
·K
D Equation [5]
where KV represents the VCO gain factor, and KD represents a gain factor for the charge pump within the PFD/CP 451. For a given value of KV, the bandwidth parameter may be kept approximately constant, and consequently the bandwidth of the PLL circuit, if:
With respect to equation [6a], the VCO gain factor may be estimated based on the VCO control voltage, VCntl. Thus, with reference to
In an exemplary embodiment of the invention, for the PLL 421 and PLL 721, the transfer function, Ho(s), from the input signal un to the output signal ot may be represented as shown in the following equation:
where Ref represents the reference signal to the PLL, s relates to frequency, F(s) represents the Laplace transform of the loop filter 452, and N represents an index to the frequency bin as indicated in
In an exemplary embodiment of the invention, for the PLL 421, the transfer function, Hp(s), from the input signal un to the feedback signal pt may be represented as in the following equation:
Based on equation [8], a reconstructed version, ût, of the input signal un may be computed from sampled and filtered version of the feedback signal pt as shown in the following equation:
Consequently, a digital signal based on the reconstructed version of the input signal may be represented as shown in the following equation:
where A and B may represent the denominator and numerator coefficient vectors of the digital equivalent of N/bw·F(s) and, Un and Pn may represent delay lines in the PLL input and feedback paths respectively. The value KV may be computed by minimizing the objective function:
J
n+1(k)=(un+1−ûn+1(k))2 Equation [11]
k
n+1
=k
n+μ·(pn+1+BT·Pn+1)·(un+1−ûn+1(kn)) Equation [12]
from equation [6] it may be deduced:
In another exemplary embodiment of the invention, the value KV may be computed by minimizing the objective function:
where Ô(s)=N·KV·P(s). Therefore:
ô
n(k)=N·k·pn Equation [15]
k
n+1
=k
n
+μ·p
n+1·(un+1−ôn+1(kn) Equation [16]
Various embodiments of the invention may also be practiced when values for cn are computed utilizing a steepest descent algorithm, a conjugate descent algorithm, recursive least squares algorithm, or other suitable digital adaptive algorithms.
When utilizing a steepest descent algorithm, an objective function may be as shown in the following equation:
J(k)=Ruu(0)+Roo(0,k)−2·Ruo(0, k) Equation [17b]
where E denotes an expected value, and Ruu, Roo, and Ruo denote auto-correlation and cross-correlation functions. Based on equations [17] a steepest descent update algorithm may be as shown in the following equation:
k
n
=k
n+1+μ·(Rup(0,kn−1)−Rpo(0,kn−1)) Equation [18a]
which may be approximated as shown in the following equation:
where I denotes the length of an averaging window.
In practice, both the CP gain factor, KD, and the feedback signal, pt may have gain errors of eD and eV respectively. The error eD may depend on variations in resistor values in analog PLL circuitry, while eV may result from variations in A/D converter circuitry. The combined error eVD=eV·eD may be estimated by a calibration procedure. As a result of the calibration procedure, at least a portion of the combined error may be cancelled.
K
2=Ref·dcin/dcout Equation [19]
where dcin is the value of a step applied to the PLL input and dcout is the DC value measured at VCntl. K2 is inversely proportional to eV and independent of eD. The value of eVD may be computed as shown in the following equation:
e
vd
=K
1
/K
2 Equation [20]
from which the digital control signal may be computed as shown in the following equation:
c
n
=bw/(evd·kn) Equation [21]
The calibration procedure may be extended to track the bandwidth independently of the value eV by performing tracking based on the DC component of the input signal. In this case, the computed power ratio may be expressed as PHDF,k/PLDF,k0, where k0 may represent a fixed reference value for the parameter bw.
During the calibration procedure, a sinusoidal waveform, having a frequency corresponding to the LDF may be generated and the feedback power response Pldf,kcc measured, where kc is the value of bw at the time of the calibration procedure. The power responses Plfd,k measured at the LDF may be stored in a table LUTLDF for values of k in the bandwidth range of interest. A sinusoidal waveform having a frequency corresponding to the HDF may be generated and the feedback power response Phdf,kcc measured. This measurement may be used for updating estimates of kc. A more accurate estimate of the feedback power response at k0 may be computed by using information from the table LUTLDF. In turn, the new power estimate may be used to compute a more accurate estimate of kc. The process may be practiced iteratively to reduce estimation error further. The iterative algorithm may be summarized as shown in the following equations:
The nth bandwidth value kn may be generated by a table search as shown in the following equation:
k
n
=LUT
hdf
−1(Pout,n/(Pin,nPlfd,kcc)) Equation [23]
where Pin,n and Pout,n are the input and feedback power calculated during a sufficiently long nth time interval over a low pass range of frequencies.
With reference to
The Laplace transform of a reconstructed output signal based on the above feedback signal may be as shown in the following equation:
ô(s)=N·(Ref·Y(s)−sP(s)) Equation [25]
where Y(s) refers to the output of the parametric equalizer 561. Consequently, the bandwidth parameter c may be computed based on the error function:
J
n+1(c)=(un+1−ôn+1(c)/N)2 Equation [26a]
where:
ô
n+1(c)=N(Ref·yn+1(c)−pn+1+pn) Equation [26b]
The LMS algorithm for estimating cn may be as shown in the following equation:
With reference to
Ô(s)=KdKvsF(s)·P(s) Equation [28]
Consequently, the digitized reconstructed output may be represented as shown in the following equation:
ô
n+1(k)=−ATÔn+kKd·BTPn Equation [29]
where A and B are denominator and numerator coefficient vectors of the digital equivalent of sF(s) and Ôn, Pn are delay lines in the PLL reconstructed output and feedback paths respectively. KV may be computed based on the objective function:
J
n+1(k)=(un+1−ôn+1(k)/N)2 Equation [30]
based on the LMS algorithm:
k
n+1
=k
n
+μ·B
T
P
n+1(un+1−ôn+1(kn)/N) Equation [31]
In burst data communication systems such as GSM and EDGE, it may be necessary that the parameter estimates be computed by the beginning of the data burst. In various embodiments of the invention, data acquisition may be combined with calibration procedures as described above. For example, a sinusoidal waveform having a frequency at the HDF point may be generated and the feedback power response Phdf,ka measured. The acquisition value ca may be computed by performing a search of the computed lookup table according to the criterion ca=LUThdf−1(Phdf,ka/Pldf,kcc).
When parametric equalization is utilized, acquisition may be achieved by using a step trigger.
y
i
=α·c
i
β, i=1,2 Equation [32]
The values yi for i=1,2 may be computed by using a step trigger. The values ci for i=1,2 may be computed by inputting a pseudo-random data sequence to the PLL and by using an LMS estimator. Alternatively, ci for i=1,2 may be estimated using a step trigger in conjunction with the calibration procedure described above. For example, for EDGE and GSM systems, the step trigger may comprise a sequence of five binary 1's followed by five binary 0's.
Analog parameters which may be tracked and/or controlled in various embodiments of the invention may comprise VCO gain KV, charge pump gain KD, PLL bandwidth, PLL control gain (via the digital amplifier 328), feedback gain (via the digital amplifier 327), component capacitance values, and component resistance values. In various embodiments of the invention, more than one parameter may be controlled based on the digital control signal cn. For example, the charge pump gain KD and filtering characteristics in the parametric equalizer 561 may be simultaneously controlled based on the control signal cn.
Various embodiments of the invention may be practiced in direct modulation and/or polar modulation circuitry, which utilize a variety of PLL designs. These PLL designs may include, for example, PLL designs, which utilize an integer-N PLL, or integer-N synthesizer, a fractional-N PLL, or fractional-N synthesizer, a delta-sigma fractional-N PLL, or delta-sigma fractional-N synthesizer, and/or a hybrid PLL or hybrid synthesizer. Various embodiments of the invention may also be practiced with various 2-input PLL designs.
Aspects of a method and system for digital tracking in direct and polar modulation may comprise at least one circuit within a phase locked loop (PLL) circuit 325 that enables adaptive and digital control of an analog PLL during direct modulation of an input signal or polar modulation of the input signal. The analog PLL may comprise at least a portion of an integer-N PLL, an integer-N synthesizer, a fractional-N PLL, a fractional-N synthesizer, a delta-sigma fractional-N PLL, a delta-sigma fractional-N synthesizer, a hybrid PLL, and/or a hybrid synthesizer. A signal reconstruction block 223 may enable generation of a digital waveform of the input signal for the adaptive and digital control. A digital adaptive algorithm block 224 may enable generation of the digital control signal based on a value of an objective function that may be computed based on the digital waveform and the input signal.
The digital adaptive algorithm block 224 may enable minimization of the objective function by utilizing a least mean square algorithm, a conjugate descent algorithm, and/or a recursive least squares algorithm. The digital adaptive algorithm block 224 within the PLL circuit 325 may enable generation of a digital control signal based on an analog feedback signal generated within the analog Frac N PLL circuit 221, wherein the generated digital control signal may be utilized for the adaptive and digital control. The loop filter block 452 may enable generation of the analog feedback signal based on a control voltage input signal to a voltage control oscillator (VCO) within the analog Frac N PLL circuit 221. The frequency divider block 454 may enable generation of an output signal by a frequency divider circuit within the analog Frac N PLL circuit 221 for the adaptive and digital control.
The adaptive and digital control may comprise adjustment of a VCO gain factor, a charge pump gain factor, a PLL bandwidth parameter, a PLL control gain parameter, a feedback gain parameter, a capacitance value, and/or a resistance value. The adaptive and digital control may comprise adjustment of at least one coefficient in a parametric equalizer circuit 561. The digital adaptive algorithm block 224 may enable configuration of a pass band gain parameter, a filter rolloff parameter, a center frequency parameter, and/or a filter bandwidth parameter, within the parametric equalizer circuit 561 based on the at least one coefficient. The parametric equalizer circuit 561 may comprise a digital circuit that comprises a finite impulse response filter, and/or an infinite impulse response filter.
Accordingly, the present invention may be realized in hardware, software, or a combination of hardware and software. The present invention may be realized in a centralized fashion in at least one computer system, or in a distributed fashion where different elements are spread across several interconnected computer systems. Any kind of computer system or other apparatus adapted for carrying out the methods described herein is suited. A typical combination of hardware and software may be a general-purpose computer system with a computer program that, when being loaded and executed, controls the computer system such that it carries out the methods described herein.
The present invention may also be embedded in a computer program product, which comprises all the features enabling the implementation of the methods described herein, and which when loaded in a computer system is able to carry out these methods. Computer program in the present context means any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after either or both of the following: a) conversion to another language, code or notation; b) reproduction in a different material form.
While the present invention has been described with reference to certain embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the present invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the present invention without departing from its scope. Therefore, it is intended that the present invention not be limited to the particular embodiment disclosed, but that the present invention will include all embodiments falling within the scope of the appended claims.