Power efficiency for transceiver architectures has become an important issue for portable handheld devices. Next generation wireless communication systems, Bluetooth, WLAN, GSM-EDGE, and the like, employ non-constant envelope modulation schemes in order to achieve high data-rates. Traditional designs of RF-modulator concepts employ vector modulator architectures which operate essentially as a single-sideband up-converter (SSB) using two digital-to-analog converters (DAC), two mixers and a linear power amplifier (PA). However, these architectures are power inefficient because they require a complete linear signal path. Further, the vector modulator concept sometimes requires a separation of the transceiver and the power amplifier on the mobile printed circuit board (PCB) in order to avoid parasitic coupling of the output signal into the VCO. Therefore the vector modulator transmitter approach has been replaced in some architectures by the polar modulator concept.
The polar modulator concept separates the modulation signal into an amplitude modulation (AM) signal and a phase modulation (PM) signal. The symbols or points used in polar modulation correspond or translate from Cartesian coordinates utilized in vector modulation concepts. The polar modulation concept provides power efficiency advantages, among others.
The present disclosure includes systems and methods that estimate distortions to a phase modulation signal and provide a correction signal based on the estimate to correct or mitigate distortions of the phase modulation signal. The distortions include those resulting from amplitude modulation to frequency modulation effects. In one example the estimated distortions are at least partially calculated during an initial portion of a communication sequence. Then, the estimated distortions are used with one or more other inputs to generate the correction signal.
In portable devices, it is typically advantageous to improve the integration of functions together onto a single chip in order to reduce the size and power consumption of such functions. For example, it is desirable to be able to integrate radio frequency (RF) circuitry onto the same chip as the digital baseband processor.
The polar modulator 10 has an amplitude modulation path 12 and a phase modulation path 14. Digital, discrete amplitude data r[k] is interpolated via an interpolator 16 and converted into analog form via a digital to analog converter (DAVC) 18 to form interpolated analog amplitude data 20. The phase modulation path 14 includes a digital phase lock loop (DPLL) 22 having a feedforward path that includes a time to digital converter (TDC) 24, a loop filter 26 and a digitally controlled oscillator (DCO) 28. The DPLL 22 also includes a feedback loop having a programmable divider 30 that is driven by a sigma-delta modulator 32, for example, fed by a frequency control word (FCW). The carrier frequency of the modulator 10 is dictated by the frequency control word (FCW) such that the desired channel is selected. In response to changes in the frequency control word (FCW), the carrier frequency 34 output from the DCO 28 is altered. The phase modulation data is modulated onto the carrier signal 34 in the feedforward path at a node 36 wherein the digital, discrete frequency or phase data f[k] is injected, and in the feedback path where modulation data fc[k] is added to the frequency control word FCW. This type of architecture is sometimes referred to as a two-point modulator architecture, since modulation data is inserted into the modulator at two locations. Thus the carrier signal 34 is actually a frequency modulated carrier signal. The frequency modulated carrier signal 34 is then mixed with the interpolated analog amplitude data 20 at mixer 38, amplified at components 40, 42, and transmitted via an antenna 44.
The inventor of the present disclosure appreciated that in an architecture (which is not asserted to be publicly known) such as that illustrated in
In one example, the AM/FM distortion compensation unit 52 generates the compensation signal based on the amplitude data r[k] from the amplitude modulation path 12 and error data 59 output from the TDC 24 (a phase detector), as well as data that reflects a transfer function from the DCO 28 to the TDC 24, and from the TDC output to the input of the compensation unit 52. In one example such data is employed in conjunction with an adaptive filter to generate one or more compensation coefficients for a compensation polynomial signal that operates to cancel the induced frequency distortion.
It is understood that in light of the above information, numerous algorithms and techniques may be employed in the digital domain to use the above information to generate the compensation signal, and all such examples are contemplated as falling within the scope of the present disclosure. In one example, the adaptive filter 60 is configured to generate one or more compensation coefficients that substantially cancel the frequency distortion by minimizing an error between the distortion and the compensation signal. In one non-limiting example of a second order correction, one type of cost function J may be:
J=e2[k]=(fdist[k]−fcorr[k])2 Eq. 1
where fcorr=G1·w2·r2 is the frequency correction signal which is also denoted as the compensation signal fcomp. The factor G1 is the oscillator normalization factor, i.e. G1=fref//KDCO, KDCO is the actual DCO gain which is assumed to be known. The polynomial equation for which polynomial coefficients w={w2} are to be determined is thus,
e2[k]=(fdist−G1w2r[k]2)2 Eq. 2
More generally, we could establish a polynomial of order N for which polynomial coefficients w={w1,w2, . . . ,wN} are to be determined as.
e2[k]=(fdist−G1(w1r[k]+w2r[k]2 . . . +wNr[k]N)2 Eq. 2b
It is noted that fdist[k] is not directly observable without employing other means and consequently the difference e[k]=fdist[k]−fcorr[k] is not detectable as well. In other words, one can only observe phase/frequency quantities that are subject to the DPLL filtering. The observable quantity is the output of TDC 24, also commonly called a phase detector, which is θE[k] or converted to a frequency fE[t]=dθE(t)/dt that is the derivate of the phase respect to time. In a discrete time implementation we can approximate the differential operator by the difference operator, hence
fE[k]=ΔθE[k]/ΔT[k]=(θE[k]−θE[k−1])·fs Eq. 3
where k is the index for the timestamps kTs and ΔT[k] is the difference between consecutive timestamps and fs is the sampling frequency. In the absence of the correction signal fcorr[t], the frequency error obtained from the TDC output θE[k], corresponds to fE[t]=fdist[t]*hv[k] where hv[k] is the response from the injection point of the distortion to the TDC output frequency which will be further described below. In other words, fdist[t]*hv[k] is a highpass or bandpass filtered version of the frequency distortion induced at the DCO 28. The feedback action of the DPLL will perceive the detected frequency distortion as an error and hence the control loop will slowly compensate for this disturbance. Therefore, it is advantageous that this DPLL response which is described by the transfer function Hv(s) is taken into account of in order to achieve sufficient estimation accuracy, as illustrated in
In general the transfer function Hv(s)=AIn(s)/ Vinj(s) is given by:
H1(s)=ΘE(s)/ Vinj(s) is the closed-loop PLL response and H2(s) could be the cascaded transfer function of the phase-to-frequency conversion given by Hθ/f(z)=(1−z−1) and an optional low-pass filter Hw(s) to filter the quantization error.
In the presence of the correction signal fcorr[t], the frequency error signal at the TDC output corresponds to fE[t]=fdist[t]*hv[k]−fcorr[t]*hx[k], where hx[k] is the response from the injection point of the correction signal to the TDC output, as illustrated in
Hence, we can rewrite the cost function J
J=e2[k]=(fdist[k]*hv[k]−fcorr[k]*hx[k])2, Eq. 5
which represents the mathematical foundation of the underlying adaptive frequency compensation method according to one example.
Note, that we could have chosen also other cost functions rather than squared error. For instance, we could have chosen to minimize the cost function as the absolute error argmin(J=/e/) or the fourth power argmin(J=e4) or any other convenient function. The advantage of choosing the squared error is the fact that it can be handled mathematically much easier. Therefore, without limiting the generality, we treat the case of minimization of the squared error argmin(J=e2).
As stated above, in
J(w2)=e2[k]=(fdist[k]*hv[k]−G1w2r2[k]*hx[k])2, Eq. 6
wherein “*” represents a convolution operation, and hv is the impulse response of Hv(z) from the DCO injection point VInj to the input of the adaptive filter 60 (i.e., the cascaded transfer function from the DCO injection point to the output of the TDC, and from the TDC output to the input of the adaptive filter, in one example) which is perceived by the distortion signal. In addition, hx is the impulse response of Hx(z) from the input of the DCO injection point of the correction to the input of the adaptive filter 60 (i.e., the cascaded transfer function from the DCO injection point to the output of the TDC, and from the TDC output to the input of the adaptive filter, in one example). In another example we could also replace the TDC by a general phase or phase-frequency detector. Note, that Hv(z) and Hx(z) are substantially the same except for a constant factor and delay. The constant factor will be estimated by the adaptive filter 60. The delay can also be accounted for by delay stages.
As an example:
where KDCO* is the unknown DCO gain seen by the distortion signal and Hw(s) is an optional lowpass filter to filter the high frequency quantization noise at the output of the TDC 24 and the input AIn of the adaptive filter 60. The transfer function HLF(s) is the loop-filter transfer function which for a type-I PLL simplifies to a constant kp.
Accordingly, the transfer function Hx(s) is given as
Hence, in order to perform the comparison appropriately, the correction signal fcorr undergoes the same transfer function (or at least a similar transfer function or any approximation of the transfer function) as the distortion signal fdist. Note, that the error signal e[k] corresponds in
Acknowledging that the phase is the integral of the frequency, in one alternative example the comparison can be performed on phase domain quantities. In this case the cost function can be written as
eφ2[k]=(φdist[k]*hv,φ[k]−φcorr[k]*hx,φ[k])2 Eq. 9
The index φ emphasizes that the input of the adaptive filter is fed with a phase signal. However, in most cases we will omit the index φ for ease of notation, since phase and frequency are linked by the derivative or the integral with respect to time.
eφ2=(φdist* {tilde over (h)}v−φcorr*{tilde over (h)}x)2 Eq. 10
which yields for the example of quadratic correction the cost function
eφ2=(φdist*{tilde over (h)}v−G1w2∫r(t)2dt*hx)2 Eq. 11
Note, that the conversion from phase-to-frequency or frequency-to-phase which is an integration or differentiation, can be easily absorbed in the transfer functions Hx(s) and Hv(s), in one example.
In one example the cancellation signal is fed only to the feedforward DCO modulation path, but not to the compensating lowpass path at the Multi-Modulus Divider 30. This is because the undesired frequency distortion signal which should be cancelled is injected at the DCO as a frequency disturbance. Therefore, in order to match of the loop transfer functions for both the disturbance and the cancellation to the PLL output, it is advantageous that the same input be used. This is ensured by adding the cancellation signal 56 to the input of the DCO 28. The primary error of the transfer function is a gain and a delay error which can be compensated.
To compensate the delay mismatch between the disturbance and the cancellation, in one example a programmable delay 112 is inserted in the cancellation path. This delay, in one example, aligns the skew of the two paths from the AM path where the cancellation signal is taken from over the RF path and the disturbance source (e.g., the power amplifier (PA)) to the coupling path into the DCO from the AM path where the cancellation signal is taken from over the cancellation block to the modulation input of the DCO.
In one example, the adaptive filter 60 may employ a Least Mean Squares (LMS) type algorithm to determine the compensation coefficient(s). In this case we minimize the cost function J
wherein fdist[k] reflects the frequency induced distortion experienced by the DCO.
For the second order correction, the recursive equation for the coefficient update is determined according to the formula
w2[k]=w2[k−1]+μw2(−de2/dw2). Eq. 13
w2[k]=w2[k−1]+μw2(−∇Jw2). Eq. 14
Note that J=e2 is the cost function highlighted above, and μw2 is a variable stepsize. The term (∇Jw2=de2/dw2) is the gradient of the cost function respect to the unknown parameter w2. The minus sign of the coefficient update in Eq. 13 and Eq. 14 stems from the fact that the update is performed in direction to the negative gradient. The factor λw2 is the widely known stepsize. Ideally, in steady state the cofficient should converge to the optimal value
such that the cost function approaches in the long-term the minimum, i.e
The expression for the gradient can be derived from the cost function given above
In which e[k] is the error signal 68 measured at the TDC output. In general case the error signal could be provided by any kind of phase or phase/frequency detector. The term gw2,fil[k] represents the reference data which is obtained by filtering the envelope data r[k]2 by the filter 62 with the impulse response hx. Note that the filtered envelope data r2[k]*hx[k] corresponds to the inner derivative of the cost function that is determined as gw2,fil=de/dw2. Hence, the signal gw2,fil=de/dw2 which is required for the adaptive filter 60 as an input is generated by filtering the envelope data squared with a filter Hx(s). This filter could be viewed as a “conditioning” filter that conditions the required data to generate the so-called “reference data” for the adaptive algorithm.
The update of the coefficients is obtained from the recursive formula which describes the function inside the adaptive filter block 60
wx[k]=w2[k−1]−μw2·∇Jw2=w2[k−1]−μw2·e[k]r2[k]*hx[k] Eq. 16
which can be written as
w2[k]=w2[k−1]−μw2·e[k]gw2[k]*hx[k]=w2[k−1]−μw2·e[k]gw2,fil[k] Eq. 16b
The factor of two is without loss of generality absorbed into the stepsize factor λw2. According the Eq. 16b we can deduce that the coeffcients update requires the error data e[k] provided by the DPLL and the inner derivative of the cost function gw2,fil=de/dw2 which is given as the convolution gw2,[k]*hX[k] in which hx[k] is the impulse response from the correction input to the phase/frequency error at TDC output. Finally, the compensation signal is obtained by multiplying the coefficient w2 which is the output of the adaptive filter 60 and the envelope squared signal r2[k], i.e.
fcorr[k]=w2[k]r2[k] Eq. 17
In another example, the adaptive filter 60 may employ a Least Squares algorithm.
The cost function is then minimized as follows:
wherein {d[i]} are the observations, i.e. {d[i]}={fdist[i]*hv[i]} provided by the TDC output in the absence of the correction signal given to the adaptive filter as one input. The quantities ui,1=ri*hx[i], ui,2=ri2*hx[i] are provided as a second input to the adaptive filter 60 shown in
where the N observations are collected in the vector
and the data matrix H is composed of
and the vector w collects the estimations parameters w=[w1 w2].
On one embodiment, referring to
In accordance with the Least Squares problem, the optimal solution may be characterized as:
In which PH is called the projection matrix and y are the observations 110.
The projection matrix PH can be precomputed and stored in a loop up table (LUT), in one example as shown in
where HLF(s) is the loop filter transfer function and H2(s) is the cascaded filter consisting of an optional low-pass filter at the input of the adaptive filter to filter the quantization noise and the phase-to-frequency conversion which exhibits the transfer function Hφ/f(s)=s. It is sufficient to use an approximation of the actual transfer Hx(z) given by Eq. 20. The approximation should be accurate enough such that the distortion signal fdist[i]*hv[i] is not affected. In other words, the bandwidth of the filter approximation should be large enough such that the bandwidth of fdist[i]*hv[i] is not limited.
Those who are skilled in the art will immediately recognize that we could have also formulated the problem by means of other algorithms. In one example we could use a weighted least-squares approach. In this case the cost function could be compactly written
and V is a Hermitian positive-definite matrix weighting matrix. In case V is a diagonal matrix, the elements assign different weights to the entries of the error vector (y−Hw).
As an example, for a type-I PLL configuration the transfer function of Hx can be approximated by
where kp is the loop filter gain. In this approximation the low-pass filter which attenuates the high frequency quantization noise included in H2(s) has been considered with a gain of “1” since its bandwidth is much higher than the bandwidth of the distortion signal fdist[i]*hv[i].
In case of a type-I PLL, the loop filter transfer function is simply a gain factor, i.e. HLF(s)=kp. For different bandwidth the gain factor kp is adjusted which results in a change of the transfer function Hx(s) accordingly. As consequence, we obtain different projection matrices PH (see
One advantage of this method is that the coefficients can be directly estimated based on a training sequence (as will be discussed infra with respect to
Finally, with the result of the estimation the correction signal can be determined according to fcorr[k]=w1,optr[k]+w2,optr[k]2+ . . . . Further, in the present example of
In another example, the adaptive filter 60 generates a plurality of compensation coefficients (e.g., w1, w2). In this example, as illustrated in
In accordance with another example of the present disclosure, referring to
In one example of the present disclosure, the smoothing filter 104 comprises a finite impulse response (FIR) filter with a length of N=2w. In one example, such a filter may be implemented using a random access memory (RAM) with a subsequent shift operation of W-bits to account for a normalization factor. In one example, the smoothing filter 104 provides a running average of the phase error 58. In one example, the filtered, averaged phase error 108 is subsequently differentiated using the differentiator component 106 to form filtered frequency deviation or error data 110 as illustrated in
In
In one example, a cost function is minimized in a fashion similar to that highlighted previously.
The frequency distortion experienced at the DCO can be written as
fdist[k]=h1α1KDCO,1r[k]cos(φ1)+h2α2KDCO,2r2[k]cos(φ2) Eq. 22
where h1, h2 are unknown gain factors of the coupling path, α1 α2 and first and second order coefficient which is also unknown. φ1 and φ2 are arbitrary phase offsets and Kdco,1, Kdco,2 are unknown DCO sensitivity factors.
In this case the compensation signal shall be function of two coefficients according to the polynomial
fcomp[k]=w1[k]r[k]+w2[k]r[k]2 Eq. 23
Accordingly, we can write the cost function, which is the basis to develop the hardware architecture as
in which the coefficients are collected by w={w1,w2}. For the case of LMS, the parameters w2, w1 are updated according to the widely known recursive equations which is effectively, accomplished inside the adaptive filter block 60:
w1[k]=w1[k−1]+μw1(−de2/dw1), Eq. 25
w1[k]=w1[k−1]+μw1(−∇Jw1) in which λw1 is stepsize and
w2[k]=w2[k−1]+μw2(−de2/dw2), Eq. 26
w2[k]=w2[k−1]+μw2(−∇Jw2)
in which λw2 is another stepsize.
With the error signal e[k] 110 measured as the difference of the filtered phase error 108 provided by the TDC output 58, the frequency error can be characterized by:
e2[k]=(fdist[k]*hv[k]−(u1[k]w1[k−1]+u2[k]w2[k−1]))2, Eq. 27
u1[k]=r[k]*hx[k], and u2[k]=r2[k]*hx[k]. Eq. 28
hx is the impulse response of Hx(z) from the DCO injection point to the TDC output, and then to the input of the filter 60.
Finally, fdist[k] represents the induced distortion experienced at the DCO.
The gradients respect to the parameters w1, w2 which are going to be estimated are given as ∇Jw1=(de2/dw1) and ∇Jw2=(de2/dw2) which yields the gradient respect w1 as ∇Jw1=2e[k]·r[k]*hx[k] where “*” denotes the convolution operator and in a similar way, the gradient respect to w2 is given as
∇Jw2=−2e[k]·r2[k]*hx[k]. Eq. 29
The expression for the gradients can be easily derived from the cost function given above
and
in which e[k] is the error signal 68 measured at the TDC output. The term, gw1,fil[k] gw2,fil[k] represent the reference data which are obtained by filtering the envelope data r[k] and the envelope squared r[k]2 by the filter 62 with the impulse response hx.
The error signal e[k] corresponds to the signal 110 in
The update equations for the coefficients w1 and w2 can be written as
w1[k]=w1[k−1]−μw1·∇JW1=w1[k−1]−μw1·e[k]r[k]*hx[k] Eq. 32
w2[k]=w2[k−1]−μw2·∇JW2=w2[k−1]−μw2·e[k]r2[k]*hx[k]. Eq. 33
In the above example e[k] and r2[k]*hx[k], r[k]*hx[k] represent the input data provided to the adaptive filter 60 in
Based on this example which represents a compensation of 1st and 2nd order degree, i.e. fcomp=w1·r+w2·r2, we can easily derive the hardware for an arbitrary order N. The compensation signal for the general case is given as fcomp=w1·r+w2·r2+ . . . wN·rN. This problem corresponds to an N-dimensional optimization problem which is expressed by the cost function
It requires N reference data input signals applied to the input of the adaptive filter 60 as visualized in
In other words gwn,fil is the inner derivate of the cost function ∇Jwn which could be written as
Obviously, the computation unit in
In which the factors μwn are the N stepsize factors.
In another example, a cost function is minimized in a fashion similar to that highlighted previously. In this case the oscillator is subject to N-path coupling. Effectively the 2nd order distortion is injected to the oscillator over N different paths in which the path are subject to different gains and phases. Hence, the distortion could be written as
fdist[k]=h21α21KDCO,21r2[k]cos(φ1)+ . . . +h2Nα2NKDCO,2Nr2[k]cos(φN) Eq. 35
Where h2n are the gain factors, α2n the second order coefficient and φn are the phases of the different paths, Kdco,2n are different DCO sensitivity factors.
fdist[k]=(h21α21KDCO,21 cos(φ1)+ . . . +h2Nα2NKDCO,2N cos(φN))·r2[k]. Eq. 36
Assuming that the parameters h2n, α2n, φn, Kdco,2n are constant, we can add these parameters to a single unknown parameter. Hence, even in the presence of N-path coupling it is sufficient to compensate the distortion with the signal given as
fcomp[k]=w2[k]r2[k] Eq. 37
Accordingly, we can write the cost function, which is the basis to develop the hardware architecture as
As illustrated in the previous example, we easily estimate w2 and apply the frequency correction to the DCO direct feed.
In another example, a cost function is minimized in a fashion similar to that highlighted previously. In this case the oscillator is subject to N-path coupling. Hence compensation signal shall be function of N coefficients w2n with n=1, . . . N and N unknown phase offsets θn. The desired compensation function can be written as
fcomp[k]=+σ(r−r1)w21[k](r[k]−r1)2+ . . . +σ(r−rN)w2N[k](r[k]−rN)2 Eq. 39
In which σ(r−rn) is the step-function which is 1 for r>rn otherwise 0. This accounts the fact that the distortion may be induced if a certain threshold value rn is exceeded.
Accordingly, we can write the cost function, which is the basis to develop the hardware architecture as
The gradients can be computed
Which is updated for r>rn
The update equations are determined according to
rn[k]=rn[k−1]−μrn·∇Jrn Eq. 43 and
w2n[k]=w2n[k−1]−μw2n·∇Jwn Eq. 44
which describe the hardware implementation which is shown in
In accordance with another example of the present disclosure, a Cartesian modulator may operate in a similar principle as the polar architecture highlighted supra. In such a case the time varying in-phase and quadrature signals i(t) and q(t) are converted into polar form via a converter as illustrated in
fcomp=w1·r(t)1·cos(θ(t)+θ01)+w2·r(t)2·cos(2θ(t)+θ02) Eq. 45
that together form a compensation signal 136, in which w1,w2 are estimated gain coefficients and θ01,θ02 are the estimated phase shifts. The adaptive filter 60 receives filtered phase data 108 which is not further differentiated as in some previous examples. The adaptive filter 60 generates filter coefficients or estimates w1, w2, θ0,1 and θ0,2 using LMS or other estimations algorithms, and filtered phase/frequency error θE[k] 108 is the error signal, denoted as e[k], to be minimized.
where for ease of notation we have omitted the timestamp k.
As illustrated here in
where instead of θ0,1 we take the previous estimate θ0,1[k−1].
where instead of θ0,2 we take the previous estimate θ0,2[k−1].
where instead of θ0,1 we take the previous estimate θ0,1[k−1] and for w1 we take also the previous estimate w1[k−1].
where instead of θ0,2 we take the previous estimate θ0,2[k−1] and for w2 we take also the previous estimate w2[k−1].
Note that instead of choosing the previous estimate, we could also have chosen the k0-previous estimate, i.e. wi[k−k0], θ0,i[k−k0] or the any function of the previous estimates such as the mean or a moving average of the estimate.
In reference to
The four parameters are updated according the LMS algorithm by
w1[k]=w1[k−1]−μw1·∇Jw1 Eq. 51
w2[k]=w2[k−1]−μw2·∇Jw2 Eq. 52
θ01[k]=θ01[k−1]−μθ01·∇Jθ1 Eq. 53
θ02[k]=θ02[k−1]−μθ02·∇Jθ2 Eq. 54
where the factor of two has been absorbed into the stepsize factors.
Note, that we could also have solved this 4-dimensional optimization problem by utilizing least-squares methods, similar to the LS-estimation problem shown previously where the optimal solution is obtained by solving the linear equation system given in Eq. 19.
Like in the example of the polar modulator, we can also extend the compensation for the Cartesian modulator to an arbitrary order N. However, in the Cartesian case we have 2N parameters to estimate, namely N gain estimates wn and N phase estimates θ0,n where n=1, . . . ,N.
In this case the compensation function can be written as
fcomp=w1r cos(θ(t)+θ01)+ . . . +wNrN cos(N·θ(t)+θ0N) Eq. 55
Accordingly the cost function to be minimized yields
which resembles a 2N dimensional optimization problem.
Same as above, we compute the gradients for the coefficients wn, i.e ∇Jwn=de2(wn,θ0n)/dwn and for the phase offsets θ0n which is ∇Jθn=de2(wn,θ0n)/dθ0n where n=1, . . . ,N. As a result; we obtain the signals gw1[k], . . . , gwN[k], gθ1[k], . . . , gθN[k] generated by 132. Each of these signals is passed through a filter with the transfer function HX(s) generating the reference signals of the adaptive filter gw1,fil[k], . . . , gwN, fil[k], gθ1,fil[k], . . . , gθN,fil[k]. In other words, the derivative of the inner product of the cost function gwn,fil[k] defined as gwn,fil=de(wn,θ0n)/dwn and gθn,fil[k] defined as gθn,fil=de(wn,θ0n)/dθ0n where n=1, . . . ,N is provided out the output of the conditioning filters HX(s). As can be easily seen, with the given error signal e[k] and the reference data gθn,fil=de(wn,θ0n)/dθ0n and gwn,fil=de(wn,θ0n)/dwn we can compute the 2N parameters according to the LMS update equations
wn[k]=wn[k−1]−μwn·∇Jwn with n=1, . . . ,N, Eq. 57
θ0n[k]=θ0n[k−1]−μθ0n·∇Jθn with n=1, . . . ,N. Eq. 58
where
and
Note that a generic block diagram of this kind embodiment is visualized in
In the Cartesian Case, the computation unit provides a signal that is filtered by compensation filter HX(s) generating an output signal that is the inner derivate of the cost function J(wi, θ0i) respect to the estimation parameters wi and θ0i is a with i being a scalar from the set of positive integer numbers, i.e i∈N>0. The derivative of the cost function is defined as gwi,fil=de(wi,θ0i)/dwi and gθi,fil=de(wi,θ0i)/dθ0i. In case there exists N estimation parameters wi with i=1, . . . , N there are N compensation filters. Likewise, to generate N phase signal gθn,fil=de(wn,θ0n)/dθ0n N compensation filters HX(s) are required. The output signals of the compensation filters are in general called reference data which are fed into the adaptive filter 60 which performs the calculation of the coefficients based on LMS according to Eq. 57 and Eq. 58 or any other algorithm such LS.
In the Polar case, the cost function is only a function of wi, with i=1, . . . ,N, hence the computation unit provides a signal that is filtered by compensation filter Hx(s) generating an output signal that is the inner derivate of the cost function J(wi) respect to the estimation parameters wi, which is given as gwi,fil=de(wi)/dwi where i is a scalar from the set of positive integer numbers, i.e i∈N>0.
In such a case, when considering solely the second order coefficient w2 as illustrated in
J(w2,θ0,2)=e2(w2,θ0,2)=(fdist*hv[k]−w2·r[k]2 cos(2θ(t)+θ0,2)*hx[k])2 Eq. 59
where fdist*hv represents the frequency distortion induced due to the pulling at the TDC output 24, θ(t) represents the modulating phase and θ0,2 is the unknown phase offset and w2 is the unknown gain coefficient. The hardware architecture to compute the optimal unknown parameters w2, θ0,2 can be derived as follows. First, the gradients of the cost function J(w2,θ0,2) respect to the unknown parameters are computer, i.e. ∇Jw2=de2/dw2 and ∇Jθ02=de2/dθ0,2.
The gradient respect to w2 is
where instead of θ0,2 we take the previous estimate θ0,2[k−1]. The gradient respect to θ0,2 is gθ0,2
where instead of θ0,2 we take the previous estimate θ0,2[k−1] and for w2 we take also the previous estimate w2[k−1].
Note that instead of choosing the previous estimate, we could also have chosen the k0-previous estimate, i.e. wi[k−k0], θ0,i[k−k0] or the any function of the previous estimates such as the mean or a moving average of the estimate.
The two unknown parameters w2 and θ0,2 are updated according the LMS algorithm by the recursive equations given as
w2[k]=w2[k−1]−μw2·∇Jw2 Eq. 62
w2[k]=w2[k−1]−μw2·e[k]r[k]2 cos(2θ[k]+θ0,2[k−1])*hx[k] Eq. 63
θ02[k]=θ02[k−1]−μθ02·∇Jθ2 Eq. 64
In reference to
It will be appreciated that solving for the first order coefficient w1 can be handled in an analogous fashion. Obviously we could also use signed LMS, for example
w2[k]=w2[k−1]−μw22 sign(e[k])sign(rk2 cos(2θk+θ0,2[k−1])*hx[k] Eq. 65
or any other kind of flavor which might be used in practical applications to reduce the hardware effort.
To summarize,
In one example, the compensation unit 52 of
A magnitude ramp is present during certain types of frame configurations, such as GFSK modulation. The “instantaneous” frequency deviation values or samples are provided by the DPLL 22 via the output of the TDC 24 (see
In one example, the estimated distortion is calculated for each frame. However, the inventor of the present disclosure has recognized that a training or ramp portion of subsequent frames may be substantially similar to a current or previous frame. Thus, in another example, the estimated distortion is reused for a period of time or a selected number of frames to mitigate power consumption and computation.
In one example, the ramp portion could be used as a training sequence to determine the optimal coefficient according to the least problem e2[k]=(fdist[k]*hv[k]−G1w2r2[k]*hx[k])2. During the training sequence the correction signal fcorr is first set to zero. The ramping of the power will induce a frequency distortion which is perceived at the TDC output and these samples are fed to the adaptive filter given as the sequence fdist[k]*hv[k]. For the second input of the adaptive filter in 60 the signal r2[k]*hx[k] is aligned in time respect to the distortion signal which is the purpose of the delay cell z−k1 shown in
While the ramp portion 202 advantageously provides for an estimate of induced oscillator frequency distortions and accounts for the time variant of the system due to temperature variations, voltage an antenna impedance, etc., in some instances a number of samples for the frequency estimation process may be limited due to a short time duration for the available ramping time 208.
In another example of the present disclosure, a sinusoidal amplitude modulated signal is employed as a training sequence to measure the amount of induced frequency distortion. The estimation is then accomplished using the adaptive filter 60 and algorithm to ascertain the coefficient(s) of a polynomial function of arbitrary order that minimizes a cost function.
Turning to
In one example, the sinusoidal training sequence 220 is employed before each transmit packet in order to perform the correlation over a sufficiently long time interval. In the Bluetooth standard, no restriction exists on the shape of the power versus time trajectory as long as spurious emission requirements are not violated. Thus a training sequence 220 may be employed before each transmit packet. Alternatively, a training sequence 220 may be selectively inserted before a packet according to some predetermined schedule or before every N packets to increase packet transmission throughput and reduce power consumption.
In other applications such as WiFi or UMTS, the estimation process could be performed during the short training field (STF), long training field (LTF) and legacy signal fields (L-SIG) of the WiFi packet. During the payload the estimation could be continuously updated to track variations along the transmission or alternatively, the result of the estimation could be frozen before the beginning of the payload such that the coefficients of the correction signal remain constant over the payload. Alternatively, a tracking mode could be engaged, in which the coefficients are slowly updated to track small variations. A similar approach could be used for UMTS.
In another example of the present disclosure the compensation unit 52 of
As illustrated in
LUT(r[k−k0])=LUT([k−k0])+λ(φe[k]−φe[k−1]). Eq. 66
In one example the parameter λ controls a step size moving on an error surface and can be implemented as a time-varying parameter which may operate to compensate for large frequency errors early in the estimation process while allowing for small variations of the LUT entries after a predetermined convergence has been reached. In one example it is desirable for the compensating signal fcorr[k] to be aligned in time with respect to the transmit carrier signal and thus tuning a time delay of the compensating signal path to substantially align with the envelope signal path is contemplated by the present disclosure.
In another example of the disclosure, the table entries of the LUT 244 may be updated based on the sign of the TDC output, wherein sign(φ[k]−φ[k−1]).
While
Referring initially to
In the same manner as described above in
There are several advantages associated with the employing a dummy path as provided in
Referring now to
fcomp=w12(r−r12)2+w22(r−r 22)2,
where r is the envelope signal, r12 and r22 are two unknown offsets, and w12 and w22 are unknown coefficients. The cost function which is to be minimized in the adaptive algorithm in the filter 60 is written in this example as follows:
where fD is the frequency distortion measured at the TDC output and hx is the inpulse transfer function from the DCO to the TDC output, and “*” represents the convolution operator. The function can be solved in numerous ways, and one example comprises a non-linear least square estimation technique.
Turning to
The method 300 begins at 302, wherein amplitude data comprising an amplitude envelope is transmitted along an amplitude path of the polar transmitter. In one example, the polar modulator may comprise an architecture similar to that illustrated in
In one example, the generation of the predistortion signal at 306 comprises receiving the amplitude data, receiving the error data, and processing the amplitude data and the error data in an adaptive filter to generate one or more polynomial coefficients of a polynomial that characterizes the predistortion signal.
In one example of the disclosure the transfer function is taken into account via a compensation filter that modifies the amplitude data based on the measured effects of the transfer function in the DPLL on the frequency distortion.
In another example of the disclosure, the method 300 further comprises filtering the error data in the frequency modulation path of the DPLL to remove high frequency components and improve the estimation of error coefficients in an adaptive filter for generating a compensation signal.
A transmitter comprises an amplitude modulation path, and a frequency modulation path including a digital phase locked loop (DPLL) comprising a digitally controlled oscillator (DCO) and a time to digital converter (TDC). The transmitter further comprises an amplitude to frequency distortion compensation unit configured to generate a compensation signal based on amplitude data from the amplitude modulation path, and error data based on an output of the TDC. The amplitude data is filtered by a transfer function that models a transfer function from the DCO to the output of the TDC, and further configured to provide the compensation signal to a node in a feedforward path of the DPLL, for example, a tuning input of the DCO.
In the above transmitter the amplitude to frequency distortion compensation unit comprises a conditioning filter configured to receive the amplitude data and output conditioned amplitude data. In one example the amplitude to frequency distortion compensation unit further comprises an adaptive filter configured to receive the conditioned amplitude data and the error data based on the output of the TDC, and generate one or more compensation coefficients used for generating the compensation signal.
Still referring to the above transmitter, the amplitude to frequency distortion compensation unit further comprises a smoothing filter configured to receive error data output from the TDC and generate filtered error data having high frequency noise removed therefrom. In one example, the error data comprises phase error data, and the amplitude to frequency distortion compensation unit further comprises a differentiation component configured to differentiate the filtered phase error data to generate filtered frequency error data.
In one example the amplitude to frequency distortion compensation unit further comprises an adaptive filter configured to receive the conditioned amplitude data and filtered frequency error data, and generate one or more compensation coefficients used for generating the compensation signal.
In the transmitter set forth above, the amplitude to distortion compensation unit is configured to generate the compensation signal using a training sequence before an actual packet transmission by the transmitter. In one example the training sequence comprises a sinusoidal function, wherein the sinusoidal function training sequence induces a frequency deviation associated with the TDC, and wherein the induced frequency deviation comprises the error data.
In one example of the transmitter set forth above, the compensation signal comprises a polynomial predistortion signal w1r+w2r2+ . . . +wnrn, wherein w1, w2, . . . , wn are polynomial coefficients that are estimated by minimizing a cost function, and r is the envelope of the amplitude data in the amplitude modulation path. In one example the amplitude to frequency distortion compensation unit is configured to update the polynomial coefficients continuously or on a periodic basis and provide the compensation signal during an operation of the transmitter.
In one example of the transmitter, the error data comprises a normalized tuning word output from a loop filter in the feedforward path of the DPLL.
In accordance with another example, a transmitter is disclosed which comprises in-phase (I) and quadrature (Q) paths containing in-phase (I) data and quadrature (Q) data, respectively. The transmitter further includes a conversion circuit configured to convert the I-data and the Q-data into amplitude data and phase data, and a frequency modulation path including a digital phase locked loop (DPLL) comprising a digitally controlled oscillator (DCO) and a time to digital converter (TDC). The transmitter further comprises an amplitude to frequency distortion compensation unit configured to generate a compensation signal based on the amplitude data and the phase data from the amplitude modulation path, and error data based on an output of the TDC, and wherein the amplitude data and the phase data is filtered by a transfer function that models a transfer function from the DCO to an output of the TDC, and further configured to provide the compensation signal to a node in a feedforward path of the DPLL, for example, a tuning input of the DCO.
In one example the amplitude to frequency distortion compensation unit comprises an adaptive filter configured to receive filtered amplitude data based on compensation for the impact of the transfer function and the error signal, and output one or more polynomial coefficients that characterize the predistortion signal as a polynomial equation. In one example the adaptive filter is configured to generate the one or more polynomial coefficients by minimizing a cost function characterized by an error between a distortion in the error signal and the polynomial equation.
In the above transmitter the error signal comprises a phase error signal, and the amplitude to frequency distortion compensation unit further comprises a smoothing filter configured to receive the phase error signal and output a filtered phase error signal having a high frequency signal components removed therefrom. In one example the amplitude to frequency distortion compensation unit further comprises a differentiation component configured to differentiate the filtered phase error signal and output a filtered frequency error signal.
In one example the amplitude to frequency distortion compensation unit further comprises an adaptive filter configured to receive filtered amplitude data based no compensation for the impact of the transfer function and the filtered frequency error signal, and output one or more polynomial coefficients that characterize the predistortion signal as a polynomial equation.
In yet another example of the present disclosure, a method of minimizing distortion in a frequency modulation path due to phase modulation distortion caused by parasitic coupling from an amplitude modulation path in a polar transmitter is disclosed. The method comprises transmitting amplitude data comprising an amplitude envelope along the amplitude path, and transmitting frequency data along the frequency modulation path comprising a digital phase locked loop (DPLL) having a time to digital converter (TDC) and a digitally controlled oscillator (DCO) in a feedforward path, and a feedback path.
The method further comprises injecting a predistortion signal into the feedforward path of the DPLL, wherein the predistortion signal is based on induced distortions in an error signal output from the TDC due to amplitude data in the amplitude modulation path, wherein the error signal reflects an impact of a transfer function from the DCO to the TDC on the amplitude data.
In one example generating the predistortion signal comprises receiving the amplitude data, receiving the error data, and processing the amplitude data and the error data in an adaptive filter to generate polynomial coefficients of a polynomial that characterizes the predistortion signal.
In one example processing the amplitude data further comprises passing the amplitude data through a conditioning filter to generate processed amplitude data that reflects an impact of the output of the transfer function between the DCO and the output of the TDC on the amplitude data.
In another example of the method, the predistortion signal comprises a polynomial predistortion signal w1r+w2r2+ . . . +wnrn, wherein w1, w2, . . . , wn are polynomial coefficients that are estimated by minimizing a cost function, and r is the envelope of the amplitude data in the amplitude modulation path. Generating the predistortion signal may further comprise filtering the error data with a smoothing filter to generate filtered error data having high frequency noise removed therefrom, and using the filtered error data in the adaptive filter to generate the polynomial coefficients.
In one example of the method the error data comprises phase error data. In such instance the method further comprises differentiating the filtered phase error data downstream of the smoothing filter to form filtered frequency error data, and using the filtered frequency error data in the adaptive filter to generate the polynomial coefficients.
In one example the generating the predistortion signal is performed prior to an actual packet transmission using a training sequence to generate the amplitude data and error data.
In another example, a transmitter is provided that comprises an amplitude modulation path and a frequency modulation path including an analog phase locked loop (APLL) that comprises a voltage controlled oscillator (VCO) and a phase detector (PD). The transmitter further comprises an amplitude to frequency distortion compensation unit configured to generate a compensation signal based on amplitude data from the amplitude modulation path, and error data based on an output of the PD. The amplitude data is filtered by a transfer function that models a transfer function from the VCO to an output of the PD, and further configured to provide the compensation signal to a node in a feedforward path of the APLL, for example, a tuning input of the VCO.
In another example, a transmitter is disclosed and comprises in-phase (I) and quadrature (Q) paths containing in-phase (I) data and quadrature (Q) data, respectively, and a conversion circuit configured to convert the I-data and the Q-data into amplitude data and phase data. The transmitter further comprises a frequency modulation path including an analog phase locked loop (APLL) that comprises a voltage controlled oscillator (VCO) and a phase detector (PD) and an amplitude to frequency distortion compensation unit configured to generate a compensation signal based on the amplitude data and the phase data from the amplitude modulation path, and error data based on an output of the PD. The amplitude data and the phase data are filtered by a transfer function that models a transfer function from the VCO to an output of the PD, and further configured to provide the compensation signal to a node in a feedforward path of the APLL, for example, a tuning input of the VCO.
In one example, a transmitter is disclosed and comprises an amplitude modulation path and a frequency modulation path including a phase locked loop (PLL) comprising a controllable oscillation means and a phase detection means. The transmitter further comprises an amplitude to frequency distortion compensation means configured to generate a compensation signal based on amplitude data from the amplitude modulation path, and error data based on an output of the phase detection means. The amplitude data is filtered by a transfer function that models a transfer function from the controllable oscillation means to an output of the phase detection means. The amplitude to frequency distortion compensation means is further configured to provide the compensation signal to a node in a feedforward path of the PLL.
In another example, a transmitter comprises in-phase (I) and quadrature (Q) paths containing in-phase (I) data and quadrature (Q) data, respectively, and a conversion means configured to convert the I-data and the Q-data into amplitude data and phase data. The transmitter further comprises a frequency modulation path including a phase locked loop (PLL) comprising a controllable oscillation means and a phase detection means, and an amplitude to frequency distortion compensation means. The amplitude to frequency distortion compensation means is configured to generate a compensation signal based on the amplitude data and the phase data from the amplitude modulation path, and error data based on an output of the phase detection means. The amplitude data and the phase data is filtered by a transfer function that models a transfer function from the controllable oscillation means to an output of the phase detection means, and the amplitude to frequency distortion compensation means is further configured to provide the compensation signal to a node in a feedforward path of the PLL.
A system for minimizing distortion in a frequency modulation path due to phase modulation distortion caused by parasitic coupling from an amplitude modulation path in a polar transmitter comprises means for transmitting amplitude data comprising an amplitude envelope along the amplitude path, and means for transmitting frequency data along the frequency modulation path comprising a phase locked loop (PLL) having a phase detector and a controllable oscillator, and a feedback path. The system further comprises means for injecting a predistortion signal into a tuning input of the controllable oscillator, wherein the predistortion signal is based on induced distortions in an error signal output from the phase detector due to amplitude data in the amplitude modulation path. The error signal reflects an impact of a transfer function from the controllable oscillator to the output of the phase detector on the frequency distortion.
In particular regard to the various functions performed by the above described components or structures (assemblies, devices, circuits, systems, etc.), the terms (including a reference to a “means”) used to describe such components are intended to correspond, unless otherwise indicated, to any component or structure which performs the specified function of the described component (e.g., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the herein illustrated exemplary implementations of the invention. In addition, while a particular feature of the invention may have been disclosed with respect to only one of several implementations, such feature may be combined with one or more other features of the other implementations as may be desired and advantageous for any given or particular application. Furthermore, to the extent that the terms “including”, “includes”, “having”, “has”, “with”, or variants thereof are used in either the detailed description and the claims, such terms are intended to be inclusive in a manner similar to the term “comprising”.
Number | Name | Date | Kind |
---|---|---|---|
6101224 | Lindoff et al. | Aug 2000 | A |
6566944 | Pehike et al. | May 2003 | B1 |
6834084 | Hietala | Dec 2004 | B2 |
7020070 | Lindoff | Mar 2006 | B2 |
7109816 | Khlat | Sep 2006 | B2 |
7181205 | Scott et al. | Feb 2007 | B1 |
7346122 | Cao | Mar 2008 | B1 |
7570925 | Dunworth et al. | Aug 2009 | B2 |
7599418 | Ahmed | Oct 2009 | B2 |
7808325 | Waheed et al. | Oct 2010 | B2 |
7817970 | Puma | Oct 2010 | B2 |
7929637 | Staszewski et al. | Apr 2011 | B2 |
7962108 | Khlat et al. | Jun 2011 | B1 |
7991071 | Hietala | Aug 2011 | B2 |
8009756 | Ishikawa et al. | Aug 2011 | B2 |
8130865 | Schimper et al. | Mar 2012 | B2 |
8170507 | Wang et al. | May 2012 | B2 |
8233854 | Li Puma et al. | Jul 2012 | B2 |
8315559 | Chen et al. | Nov 2012 | B2 |
8494085 | Plevridis | Jul 2013 | B2 |
8583060 | Li Puma et al. | Nov 2013 | B2 |
8638878 | Li Puma et al. | Jan 2014 | B2 |
8660209 | Kao et al. | Feb 2014 | B2 |
8798194 | Jechoux et al. | Aug 2014 | B2 |
8867660 | Jechoux et al. | Oct 2014 | B2 |
8923461 | Li Puma et al. | Dec 2014 | B2 |
8942315 | Wang et al. | Jan 2015 | B1 |
8947172 | Wang et al. | Feb 2015 | B2 |
20040208157 | Sander et al. | Oct 2004 | A1 |
20050129140 | Robinson | Jun 2005 | A1 |
20070189431 | Waheed et al. | Aug 2007 | A1 |
20080205571 | Muhammad et al. | Aug 2008 | A1 |
20080317169 | Boos et al. | Dec 2008 | A1 |
20090207940 | Staszewski et al. | Aug 2009 | A1 |
20100246714 | Yang et al. | Sep 2010 | A1 |
20120263256 | Waheed et al. | Oct 2012 | A1 |
Entry |
---|
U.S. Appl. No. 13/326,712, filed Dec. 15, 2011. |
U.S. Appl. No. 13/326,679, filed Dec. 15, 2011. |
Notice of Allowance Dated May 30, 2014 U.S. Appl. No. 13/326,679. |
Non-Final Office Action dated Nov. 7, 2013 for U.S. Appl. No. 13/326,679. |
Office Action Dated Apr. 8, 2014 U.S. Appl. No. 13/326,679. |
U.S. Appl. No. 13/326,749, filed Dec. 15, 2011. |
Office Action Dated Dec. 19, 2013 U.S. Appl. No. 13/326,749. |
Notice of Allowance Dated Apr. 11, 2014 U.S. Appl. No. 13/326,749. |