Frequency based modulator compensation

Information

  • Patent Grant
  • 7471736
  • Patent Number
    7,471,736
  • Date Filed
    Tuesday, September 30, 2003
    21 years ago
  • Date Issued
    Tuesday, December 30, 2008
    15 years ago
Abstract
In a transmitter, an upconverter converts a lower frequency signal to a higher frequency signal. Prior to the upconversion, a compensator compensates for at least gain/phase distortion that will be introduced into the lower frequency signal by at least the upconverter.
Description
BACKGROUND OF THE INVENTION

Power amplifiers (PAs) are indispensable components in communication systems and are nonlinear in nature. At the PA output, the nonlinearity not only causes spectral regrowth, which interferes with adjacent channel signals, but also degrades the bit error rate of the inband signal. To compensate for the nonlinearity, PA linearization is often necessary.


Among the linearization techniques, digital baseband predistortion is highly cost effective. It adds a functional block, called a predistorter, before the digital-to-analog conversion and RF upconversion but after any other baseband processing. The predistorter ideally applies the exact inverse response of the power amplifier to a scaled version of the input signal. Therefore, the output of the predistorter-PA cascade is the input signal multiplied by a scaling factor. To construct such a predistorter, a feedback path is needed to capture the output of the PA.


The performance of baseband predistortion relies on accurate PA modeling and obtaining a precise inverse of the PA. In reality, however, the performance can also be affected significantly by imperfections in the upconverter in the transmitter and the downconverter in the feedback path. These imperfections are caused by the analog components employed in both the upconverter and the downconverter, such as mixers, filters, quadrature modulators, and quadrature demodulators.


To reduce these impairments in the downconverter, filters that have relatively flat frequency may be used, such as LC bandpass and lowpass filters, and digital demodulation, which is free of any demodulation errors. With these configurations and careful design, the imperfections in the downconverter can be negligible.


In the upconverter, there are two common configurations, but the analog impairments normally cannot be neglected in either. The first uses digital modulation and two-stage upconversion, i.e., first upconvert baseband signals to IF and then to RF. Because of the stringent image rejection requirements of the transmitter, a SAW filter is usually used in the IF stage for this configuration. But the SAW filter often has large frequency response variations, and therefore distorts the predistorted signal. The second choice for the upconverter is to use direct upconversion, in which the I/Q data streams are directly modulated to RF. This structure enables the upconverter to be easily reconfigured to generate RF signals in different frequency bands. It also uses fewer components and is easier to integrate. However, in practice, the quadrature carriers in the analog modulator do not have exactly the same amplitudes and an exact phase difference of 90 degrees. These effects are called gain/phase imbalance and cause cross-talk between the I and Q channels. In addition, leakage of the carriers to the transmitted signal manifests itself in the demodulated received signal as a dc offset. If uncompensated, the gain/phase imbalance and the dc offset would have a large effect on predistortion performance. Various techniques have been proposed in the past to compensate for these impairments. In these techniques, the gain/phase imbalance are assumed to be frequency independent. However, experiments performed by the inventors indicate that the gain/phase imbalance exhibits frequency dependent behavior when the signal bandwidth becomes wide, for example, 15 MHz.


SUMMARY OF THE INVENTION

The present invention provides a transmitter that includes an upconverter for converting a lower frequency signal to a higher frequency signal and a compensator that compensates for at least gain/phase distortion introduced into the lower frequency signal by at least the upconversion. The compensator may also compensate for dc offset introduced into the lower frequency signal.


In one exemplary embodiment, the upconverter is a direct upconverter that directly upconverts a baseband signal to the RF signal, and the baseband signal includes in-phase and quadrature phase components. The compensator includes filters compensating for gain/phase imbalance in the in-phase components and gain/phase imbalance in the quadrature phase components.


In another exemplary, the transmitter includes a compensator constructor that, based on a model of at least the direct upconverter including an in-phase channel, a quadrature phase channel, and cross coupling channels between the in-phase and quadrature phase channels, estimates the in-phase channel, the quadrature phase channel, and the cross coupling channels between the in-phase and quadrature phase channels. The compensator constructor constructs the filters in the compensator based on the estimated channels.


In another embodiment, at least one filter to correct for gain/phase distortion introduced by an upconverter is derived based on an inverse of the channel model for an upconverter. The inverse of the channel model for the upconverter is based on a cost function, which represents a mean square error, in the frequency domain, between a desired response of a system including at least the upconverter and an actual response of the system including at least the filter and the upconverter.





BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will become more fully understood from the detailed description given herein below and the accompanying drawings which are given by way of illustration only, wherein like reference numerals designate corresponding parts in the various drawings, and wherein:



FIG. 1 illustrates the general structure of transmitter with a baseband predistortion system according to an embodiment of the present invention.



FIG. 2 illustrates a view of the channel path from x(n) to y(n) according to an embodiment of the present invention.



FIG. 3 illustrates a block diagram of the cascade of I/Q compensator and the upconverter according to an embodiment of the present invention.





DETAILED DESCRIPTION OF THE EXEMPLARY EMBODIMENTS

Channel Models



FIG. 1 illustrates the general structure of transmitter with a baseband predistortion system according to an embodiment of the present invention. As shown, a main signal path includes a predistorter 10, an I/Q compensator 12, a digital-to-analog converter (DAC) 14, a direct upconverter 16 and a power amplifier 18 connected in series. A coupler 20 couples the signal output from the power amplifier 18 to form a feedback path that includes a down converter 22, an analog-to-digital converter (ADC) 24, a digital demodulator 26 and a predistorter design unit 28. As shown in phantom lines, a secondary coupler 30 selectively delivers the output of the direct upconverter 16 to the down converter 22, and an I/Q compensator constructor 32 selectively configures the taps of the I/Q compensator 12. Except for the I/Q compensator 12, secondary coupler 30 and I/Q compensator construction unit 32, the other elements of the baseband predistortion system are well-known in the art. For the purposes of brevity, these elements will not be described in detail.


As discussed in the background section, the down converter 22 has a relatively flat frequency response and the digital demodulator 26 is free of demodulation errors. Accordingly, the feedback path causes no extra distortion except for additive white noise. In the main path (i.e., the transmitter path), direct upconversion has been adopted, which may be readily reconfigured to generate RF signals in different frequency bands, but introduces gain/phase imbalance and dc offset. The additional baseband processing for the input signal u(n) in the transmitter includes predistortion and I/Q compensation, whose outputs are denoted by z(n) and x(n), respectively.


During an initialization phase, the predistorter 10 and the I/Q compensator 12 are bypassed (i.e., x(n)=z(n)=u(n)) by having the I/Q compensator constructor 32 output a training signal to the DAC 14. The secondary coupler 30 sends the output of the direct upconverter 16 to the down converter 22, bypassing the PA 18, during this initialization phase. Based on x(n) and the output y(n) from the digital demodulator 26, the I/Q compensation constructor 32 estimates the parameters of a channel model as discussed in detail below and determines the taps of the filters forming the I/Q compensator 12 as discussed in detail below. After the initialization phase, the bypassed elements are inserted and the predistorter 10 is trained in the well-known manner.


As will be appreciated the initialization may be performed in many ways. For example, the predistorter 10 may be kept in the loop. Here, the secondary coupler 30 is not needed, as the output of the power amplifier 18 is received by the down converter 22 via the coupler 20. Based on the input to the predistorter 10 and the output y(n) from the digital demodulator 26, the I/Q compensation constructor 32 estimates the parameters of a channel model as discussed in detail below and determines the taps of the filters forming the I/Q compensator 12 as discussed in detail below.


During operation, the I/Q compensator constructor 32 may periodically or upon command re-estimate the received parameters using the compensation signal x(n) and the output of the digital demodulator y(n) and determine new taps of the filters forming the I/Q compensator 12. In this manner, the I/Q compensator 12 dynamically adapts to changes in the gain/phase imbalance and/or dc offset.


Next the method of modeling the channel creating the gain/phase imbalance and dc offset will be described in detail, followed by a description of estimating the parameters of the channel model. Lastly, determining the taps of the filters forming the I/Q compensator will be described. As part of the above-described aspects of the present invention, a detailed structure of the I/Q compensator according to one embodiment of the present invention will be provided.


A detailed view of the channel from x(n) to y(n), is shown in FIG. 2, where Re{•} and Im{•} denote the real and imaginary parts of a complex number, respectively. We also use subscripts i (in-phase) and q (quadrature) to denote the real and imaginary parts of a complex sequence; for example, we have

x(n)=xi(n)+jxq(n), y(n)=yi(n)+jyq(n).


Note that there may be a fixed delay and phase rotation (caused by the phase difference between the LOs) between x(n) and y(n), but they can be easily removed in any well-known manner.


Real I/Q Channel Model


The frequency dependent gain/phase imbalance affects the I and Q channels and the cross coupling between them. Moreover, the analog lowpass filters (LPF) and the mixers on the I and Q paths in FIG. 2 may not be exactly the same. To model the I and Q channels and the cross coupling channels between them, we use four real filters, h11, h12, h21, and h22, where h11 and h22 represent the I and Q channels, h12 represents the cross coupling of the Q channel with the I channel, and h21 represents the cross coupling of the I channel with the Q channel. The channel output y(n) then can be written as










y


(
n
)


=





k
=
0


K
-
1




{


[




x
i



(

n
-
k

)





h
11



(
k
)



+



x
q



(

n
-
k

)





h
12



(
k
)




]

+

j


[




x
q



(

n
-
k

)





h
22



(
k
)



+



x
i



(

n
-
k

)





h
21



(
k
)




]



}


+

d
i

+


w
i



(
n
)


+

j


[


d
q

+


w
q



(
n
)



]







(
1
)








where wi(n) and wq(n) are, respectively, the real and imaginary parts of the complex white noise w(n) and di and dq are, respectively, the real and imaginary parts of the dc offset d. In (1), we assume that all four filters have the same length K. This assumption simplifies the model and the derivations in the following sections although the same methodology can still be applied if the h filters have different lengths.


Complex I/Q Channel Model


In (1), we can combine the terms that have xi(n−k) or xq(n−k) and rewrite in a more compact form; i.e.,











y


(
n
)


=





k
=
0


K
-
1




[




x
i



(

n
-
k

)





h
i



(
k
)



+



x
q



(

n
-
k

)





h
q



(
k
)




]


+
d
+

w


(
n
)




,




(
2
)








where

hi(k)=h11(k)+jh21(k), hq(k)=h12(k)+jh22(k).


In other words,

h11(k)=Re{hi(k)}, h12(k)=Re{hq(k)},
h21(k)=Im{hi(k)}, h22(k)=lm{hq(k)}.


Note that if there is no dc offset in the system and hq(k)=jhi(k), y(n) can also be written as











y


(
n
)


=





k
=
0


K
-
1





x


(

n
-
k

)




h


(
k
)




+

w


(
n
)




,




(
3
)








where h(k)=hi(k)=−jhq(k). In this special case, the model in (2) is simplified to a single complex filter with coefficients h(k). This is the case when a digital IF (intermediate frequency) modulator (a form of upconverter that converts a baseband signal to an intermediate frequency signal) is used instead of a direct conversion modulator or an analog IF modulator. Here, the error introduced by the IF modulator and subsequent RF upconverter for converting the IF signal to an RF signal is more broadly thought of as gain/phase distortion, which in the case where h(k)=hi(k)=−jhq(k) does not hold true includes gain/phase imbalance.


Direct/Image Channel Model


The complex I/Q model in (2) gives the relationship between the system output y(n) and the real and imaginary parts of the system input x(n). However, it is not clear from (2) how the channel affects the input x(n) as a whole. We know that












x
t



(
n
)


=



x


(
n
)


+


x
*



(
n
)



2


,







x
q



(
n
)


=



x


(
n
)


+


x
*



(
n
)




2

j



,




(
4
)








where (•)* denotes complex conjugate. Substituting (4) in (2), we obtain










y


(
n
)


=





k
=
0


K
-
1




[









x


(

n
-
k

)


+


x
*



(

n
-
k

)



2




h
i



(
k
)



+




x


(

n
-
k

)


-


x
*



(

n
-
k

)




2

j





h
q



(
k
)




]


+
d
+


w


(
n
)


.






(
5
)







Rearrange the r.h.s. of (5) to write











y


(
n
)


=





k
=
0


K
-
1




[



x


(

n
-
k

)





h
d



(
k
)



+



x
*



(

n
-
k

)





h
m



(
k
)




]


+
d
+

w


(
n
)




,




(
6
)








where












h
d



(
k
)


=




h
i



(
k
)


-


jh
q



(
k
)



2


,



h
m



(
k
)


=




h
i



(
k
)


+


jh
q



(
k
)



2


,




(
7
)








are, respectively, the direct and image transfer function. Next we look at the relationship between x(n) and x*(n). If x(n) is a lower sideband signal, it can be expressed as the summation of a real sequence xd(n) and its Hilbert transform {circumflex over (x)}d(n), i.e.,

x(n)=xd(n)+j{circumflex over (x)}d(n).  (8)


Since xd(n) is a real sequence, it has a double sideband frequency spectrum Xd(e). The spectrum of x(n) is actually the lower sideband of Xd(e) but with twice the amplitude. From (8), it follows that x*(n)=xd(n)−j{circumflex over (x)}d(n), whose spectrum is the upper sideband of Xd(e) with twice the amplitude. Similarly, when x(n) has an upper sideband spectrum, the spectrum of x*(n) is located at the lower sideband. For this reason, we call x*(n) the image of x(n), hm(k) the image channel transfer function, and hd(k) the direct channel transfer function. In the channel model (6), we can see that if hi(k)≠hq(k), i.e., hm(k)≠0, and the input x(n) has one-sided spectrum, the image of x(n) will show up in the other side of the spectrum, and its amplitude is determined by hm(k). When the input x(n) has a double-sided spectrum, the images of lower and upper sidebands of X(e) will also appear in the spectrum of the output; however, the images may be completely covered up by the spectrum of the original input signal in that case.


Note that the three models proposed are all equivalent models. However, they reveal different aspects of the channel, and each has their own pros and cons.


Least-Squares Method of Channel Estimation


For a block of N x(n) and y(n) data samples, (2) can be written in vector form; i.e.,

y=Xihi+Xqhq+d1p+w,  (9)

where y=[y(K−L−1)y(K−L) . . . y(N−L−1)]T is a vector length

P=N−K+1  (10)

with L a selectable delay, Xi=Re(X) and Xq=Im(X) with










X
=

[




x


(

K
-
1

)





x


(

K
-
2

)





x


(

K
-
3

)








x


(
0
)







x


(
K
)





x


(

K
-
1

)





x


(

K
-
2

)








x


(
1
)


























x


(

N
-
1

)





x


(

N
-
2

)





x


(

N
-
3

)








x


(

N
-
K

)





]


,




(
11
)








hi=[hi(0)hi(1) . . . hi(k−1)]T, hq=[hq(0)hq(1) . . . hq(K−1)]T, 1p is a column vector filled with all ones, and w=[ω(K−1)ω(K) . . . ω(N−1)]T. Since K is the length of the model channel filter, we choose

L=└(K−1)/2┘,  (12)

where └x┘ is the largest integer that is less than or equal to x, such that the maximum response in the model channel filter is located approximately at the center tap. Note that not all N samples of y(n) are used in the formulation in order to avoid the boundary effect. The system output y(n) is nominally matched with the input x(n), i.e., the relative delay, amplitude, and phase difference between y(n) and x(n) have been removed.


To estimate the channel coefficients, we define a cost function as the mean square difference between the actual output y and the noiseless model output:

J=(y−Xihi−Xqhq−d1p)H(y−Xihi−Xqhq−d1p),  (13)

where (•)H denotes Hermitian transpose. The optimal hi, hq, and d that minimize the cost function can be found by setting the partial derivatives of J with respect to h*j, h*q, and d* to zero (assuming that hi, hq and d are constants; i.e.,












J




h
i
*



=



X
i
H



(

y
-


X
i



h
i


-


X
q



h
q


-

d






1
P



)


=
0





(
14
)









J




h
q
*



=



X
q
H



(

y
-


X
i



h
i


-


X
q



h
q


-

d






1
P



)


=
0





(
15
)









J




d
*



=



1
P
T



(

y
-


X
i



h
i


-


X
q



h
q


-

d






1
P



)


=
0





(
16
)







Since Xi and Xq in (14) and (15) are real matrices, the Hermitian transpose can be replaced with a transpose without conjugate. Rearranging (14)-(16) and putting them in a single equation, we have











[





X
i
T



X
i






X
i
T



X
q






X
i
T



1
P








X
q
T



X
i






X
q
T



X
q






X
q
T



1
P








1
P
T



X
i






1
P
T



X
q






1
P
T



1
P





]



[




h
i






h
q





d



]


=


[





X
i
T


y







X
q
T


y







1
P
T


y




]

.





(
17
)







Therefore, the least-squares estimates of the hi, hq, and d are










[





h
^

i







h
^

q






d
^




]

=



[





X
i
T



X
i






X
i
T



X
q






X
i
T



1
P








X
q
T



X
i






X
q
T



X
q






X
q
T



1
P








1
P
T



X
i






1
P
T



X
q






1
P
T



1
P





]


-
1




[





X
i
T


y







X
q
T


y







1
P
T


y




]






(
18
)







Note that a coarse estimate of the dc offset can be obtained as the difference between the mean of the system output and that of the system input; i.e.,










d
^

=


1
N






n
=
0


N
-
1





[


y


(
n
)


-

x


(
n
)



]

.







(
19
)








where N is the window of samples over which the dc offset is determined. From the complex I/Q model, we know that d is given by










d
=


d
y

-

[


Re


{

d
x

}






k
=
0


K
-
1





h
i



(
k
)




+

Im


{

d
x

}






k
=
0


K
-
1





h
q



(
k
)





]



,




(
20
)








where dx and dy are, respectively, the mean values of the input x(n) and the output y(n). Therefore, in order for (19) to be accurate, either dx needs to be very small or










k
=
0


K
-
1





h
i



(
k
)




1





and










k
=
0


K
-
1





h
q



(
k
)





j
.






If either of these conditions hold, then we may use (19) to estimate the dc offset and adjust the cost function (13) to

J=(y−{circumflex over (d)}1p−Xihi−Xqhq)H(y−{circumflex over (d)}1p−Xihi−Xqhq),  (21)


Similar to the previous derivation of the least-squares solutions, the least-squares estimates of the hi, hq are then given by










[





h
^

i







h
^

q




]

=



[





X
i
T



X
i






X
i
T



X
q








X
q
T



X
i






X
q
T



X
q





]


-
1




[






X
i
T



(


y

-


d
^







1
P



)










X
q
T



(


y

-


d
^







1
P



)






]






(
22
)







Least-Squares Method with Diagonal Loading


Since the input signal x(n) is usually a bandpass signal, the channel estimates are only accurate within the band. The out-of-band responses are solely determined by the wideband noise in y(n). These arbitrary out-of-band responses are not desired in predistortion applications, where the low level out-of-band signal needs to be accurately preserved in order to compensate for the PA nonlinearity. A simple solution is to add an artificial white noise to both x(n) and y(n) to create a flat frequency response over the whole band. The artificial noise level may be controlled to be well above the original white noise level in y(n) but well below the inband signal level. Thus, an artificial flat out-of-band response is created that preserves the inband channel response. Let us denote the artificial white noise as v(n), whose real and imaginary parts are, respectively, vi(n) and vq(n). Similar to the definition of Xi, and Xq, we can define Vi and Vq and rewrite (18) for the case where v(n) is added to both x(n) and y(n), which leads to













[





h
^

i







h
^

q






d
^




]

=



[






(


X
i

+

V
i


)

T



(


X
i

+

V
i


)







(


X
i

+

V
i


)

T



(


X
q

+

V
q


)







(


X
i

+

V
i


)

T



1
P









(


X
q

+

V
q


)

T



(


X
i

+

V
i


)







(


X
q

+

V
q


)

T



(


X
q

+

V
q


)







(


X
q

+

V
q


)

T



1
P








1
P
T



(


X
i

+

V
i


)






1
P
T



(


X
q

+

V
q


)






1
P
T



1
P





]


-
1


×




[










(


X
i

+

V
i


)

T



(

y
+
v

)









(


X
q

+

V
q


)

T



(

y
+
v

)








1
P
T



(

y
+
v

)









]

,




(
23
)








where v=[v(K−1)v(K) . . . v(N−1)]T. Ideally, vi(n) and vq(n) are uncorrelated with each other and are uncorrelated with x(n) and y(n). Moreover, the mean value of v(n) is zero. Therefore, instead of calculating (23), we may estimate the channel parameters using the following formula











[





h
^

i







h
^

q






d
^




]

=



[






X
i
T



X
i


+


σ
2


I






X
i
T



X
q






X
i
T



1
P








X
q
T



X
i







X
q
T



X
q


+


σ
2


I






X
q
T



1
P








1
P
T



X
i






1
P
T



X
q






1
P
T



1
P





]


-
1




[






X
i
T


y

+


σ
2


e









X
q
T


y

+


σ
2


e








1
P
T


y




]



,




(
24
)








where σ2 is the variance of the artificial noise, I is a K×K identity matrix, and e=[0LT1 0LT]T, where 0L and 0M are, respectively, length L=└(K−1)/2┘ and M=K−L−1 column vectors filled with all zeros. In the case where the dc offset is estimated using (19), the least-squares estimates of the hi, hq with diagonal loading reduce to










[





h
^

i







h
^

q




]

=



[






X
i
T



X
i


+


σ
2


I






X
i
T



X
q








X
q
T



X
i







X
q
T



X
q


+


σ
2


I





]


-
1




[






X
i
T



(


y

-


d
^







1
P



)


+


σ
2


e









X
q
T



(


y

-


d
^







1
P



)


+


σ
2


e





]






(
25
)







In either case, the diagonal loading has the additional advantage of regularizing the solution, i.e., reducing the condition number of the correlation matrix, so that more accurate solutions can be achieved.


As will be appreciated from the above description, the I/Q compensator constructor 32 estimates the dc offset from the signals x(n) and y(n) using equation (19) and estimates the response of the I or in-phase channel ĥi and the response of the Q or quadrature phase channel ĥq from the signals x(n) and y(n) using either equation (22) or equation (25).


Construction of the I/Q Compensator


After obtaining the channel filter estimates ĥi and ĥq and the dc offset estimate {circumflex over (d)}, the I/Q compensator 12 is constructed by the I/Q compensator constructor 32 to compensate for these imperfections. It turns out that these imperfections can be fully compensated by an I/Q compensator that has structure similar to the channel models described above. To ease the derivation, one exemplary embodiment uses the real I/Q channel model to represent both the I/Q compensator 12 and the baseband direct upconverter 16. A block diagram of the cascade of the I/Q compensator 12 and the upconverter 16 is shown in FIG. 3. As shown, the I/Q compensator 12 includes four real finite impulse response (FIR) filters, g11, g12, g21, g22. The first filter g11 filters the in-phase components and the second filter g12 filters the quadrature phase components. A first adder 50 adds the outputs of the first and second filters g11 and g12 to produce a gain/phase compensated in-phase signal. The third filter g21 filters the in-phase components and the fourth filter g22 filters the quadrature phase components. A second adder 52 adds the outputs of the third and fourth filters g21 and g22 to produce a gain/phase compensated quadrature phase signal. A third adder 54 adds an in-phase dc component ci to the in-phase signal and a fourth adder 56 adds a quadrature phase dc component cq to the quadrature phase signal to compensate for dc offset.


Offset Compensation


Let us first consider the compensation of the dc offset {circumflex over (d)} using the dc component (ci, cq) in the I/Q compensator 12. After passing through the four channel filters g11, g12, g21, and g22, the dc component c becomes

{tilde over (c)}i=ci s11+cqs12,
{tilde over (c)}i=ci s21+cqs22  (26)

where












s
11

=




k
=
0


K
-
1






h
^

11



(
k
)




,






s
12

=




k
=
0


K
-
1






h
^

12



(
k
)













s
21

=




k
=
0


K
-
1






h
^

21



(
k
)




,






s
22

=




k
=
0


K
-
1







h
^

22



(
k
)


.








(
27
)







Thus, adding c in the I/Q compensation 12 is equivalent of adding a dc component {tilde over (c)} at the end of the cascade. In order to compensate for the dc offset {tilde over (d)}, we would like to have {tilde over (c)}i=−{circumflex over (d)}i and {tilde over (c)}q=−{circumflex over (d)}q; i.e.,

cis11+cqs12=−{circumflex over (d)}i.
cis21+cqs12=−{circumflex over (d)}q  (28)


It is clear from (28) that the solution for ci and cq is










[




c
i






c
q




]

=




[




s
11




s
12






s
21




s
22




]


-
1




[




-


d
^

i







-


d
^

q





]


.





(
29
)







Note that when the inverse matrix in (29) is close to the identity matrix, we have










[




c
i






c
q




]




[




-


d
^

i







-


d
^

q





]

.





(
30
)







Accordingly, the I/Q compensator constructor 32 sets the dc offset compensation ci, cq according to equation (29) or (30).


Gain/Phase Imbalance Compensation


Next we consider the problem of designing the four filters g11, g12, g21, and g22 in the I/Q compensator 12. We adopt a frequency domain approach to solve this problem. Denote the Fourier transform of yi(n) and yq(n) by Yi(e) and Yq(e), respectively, and the Fourier transform of zi(n) and zq(n) by Zi(e) and Zq(e), respectively. The outputs Yi(e) and Yq(e) of the digital demodulator 26 can be expressed as










[





Y
i



(




)








Y
q



(




)





]

=




[






H
^

11



(




)







H
^

12



(




)









H
^

21



(




)







H
^

22



(




)





]



[





G
11



(




)






G
12



(




)








G
21



(




)






G
22



(




)





]




[





Z
i



(




)








Z
q



(




)





]


.





(
31
)







To make Yi(e)=Zi(e) and Yq(e)=Zq(e), we need











[





G
11



(




)






G
12



(




)








G
21



(




)







G
^

22



(




)





]

=



[






H
^

11



(




)







H
^

12



(




)









H
^

21



(




)







H
^

22



(




)





]


-
1


=


A


(




)




[






H
^

22



(




)





-



H
^

12



(




)








-



H
^

21



(




)








H
^

11



(




)





]




,




(
32
)








where










A


(




)


=


1

[





H
^

11



(




)






H
^

22



(




)



-




H
^

12



(




)






H
^

21



(




)




]


.





(
33
)







In the time domain, we may view (32) as follows,

g11(k)=ĥ22(k)*a(k), g12(k)=−ĥ12(k)*a(k)
g21(k)=−ĥ21(k)*a(k), g22(k)=ĥ11(k)*a(k)  (34)

where * denotes convolution and a(k) is the inverse Fourier transform of A(e). From the definition of A(e), a(k) is the inverse of filter

hc(k)=ĥ11(k)*ĥ22(k)−ĥ12(k)*ĥ21(k);  (35)

i.e., the convolved response of filters a(k) and hc(k), denoted by c(k), approximates a delta function with a certain delay. In other words, we would like the Fourier transform of c(k) to be close to a desired frequency response e−jωn0, where n0 is the desired delay. To find the optimal a(k) coefficients, we suppose that filter a(k) has Ka taps, the convolved response of a(k) and hc(k) can be written as











c


(
k
)


=




l
=
0



K
a

-
1










h
c



(

k
-
l

)




a


(
l
)





,

k
=
0

,
1
,

,


K
a

+

2

K

-
3

,




(
36
)








which has length Kc=Ka+2K−2. [Note that filter hc(k) is of length 2K−1]. We then define a cost function as the integrated difference between the frequency response of filter c(k) and the desired frequency response within given passband [−ωp, ωp]; i.e.,










J
c

=




-

ω
P



ω
P







[






k
1

=
0



K
c

-
1









c


(

k
1

)







-








k
1





-




-








n
0




]



[






k
2

=
0



K
c

-
1









c


(

k
2

)







-








k
2





-




-








n
0




]


*









ω

.







(
37
)







Substituting (36) into (37), we have










J
c

=




-

ω
P



ω
P





[






k
1

=
0



K
c

-
1












l
1

=
0



K
a

-
1










h
c



(


k
1

-

l
1


)




a


(

l
1

)







-








k
1






-




-








n
0




]

×


[






k
2

=
0



K
c

-
1












l
2

=
0



K
a

-
1










h
c



(


k
2

-

l
2


)




a


(

l
2

)







-








k
2






-




-








n
0




]

*









ω

.







(
38
)







To find the optimal a(k) that minimizes the cost function, we take the partial derivative of Jc in (38) with respect to a*(l) (assuming a(l) is constant and set it to zero); i.e.,















J
v






a
*



(
l
)




=





-

ω
P



ω
P





[






k
1

=
0



K
c

-
1












l
1

=
0



K
a

-
1










h
c



(


k
1

-

l
1


)




a


(

l
1

)







-








k
1






-




-








n
0




]

×





k
2

=
0



K
c

-
1










h
c
*



(


k
2

-
1

)













k
2










ω





=
0


;





l
=
0






,

,


K
a

-
1.





(
39
)







Rearrange (39) to write













J
c






a
*



(
l
)




=







l
1

=
0



K
a

-
1









a


(

l
1

)








k
1

=
0



K
c

-
1












k
2

=
0



K
c

-
1










h
c



(


k
1

-

l
1


)





h
c
*



(


k
2

-
l

)







-

ω
P



ω
P







-




(


k
1

-

k
2


)











ω








-





k
2

=
0



K
c

-
1










h
c
*



(


k
2

-
l

)







-

ω
P



ω
P







-




(


n
0

-

k
2


)











ω






=
0.





(
40
)







In predistortion applications, the least-squares with diagonal loading is used for estimating the four h filters, and filters h11(k) and h22(k) have flat responses outside of the signal band. Moreover, the responses of the cross coupling filters h12(k) are usually much smaller than those of the filters h11(k) and h22(k). Therefore, the out-of-band response of filter hc(k) may be considered as flat with unit gain. Thus, we can us ωp=π in (40). In the channel estimation phase, we want the maximum amplitudes of the filters to occur around the center taps. When we construct the inverse filters here, we also let our desired response for filter c(n) be a delta function around the center tap; i.e., n0=(Kc−1)/2. Substituting ωp=π n0=(Kc−1)/2 into (40) and carrying out the integration, we obtain














J
c






a
*



(
l
)




=







l
1

=
0



K
a

-
1





a


(

l
1

)








k
1

=
0



K
c

-
1








k
2

=
0



K
c

-
1






h
c



(


k
1

-

l
1


)





h
c
*



(


k
2

-
l

)



2

π





sin






c


(


k
1

-

k
2


)







-





k
2

=
0



K
c

-
1






h
c
*



(


k
2

-
l

)



2

π





sin






c


(


n
0

-

k
2


)





=
0


,




(
41
)








where










sin






c


(
x
)



=



sin


(

π





x

)



π





x


.





(
42
)







For l from 0 to Ka−1, we have a set of equations from (41); i.e.,














l
1

=
0



K
a

-
1





a


(

l
1

)








k
1

=
0



K
c

-
1








k
2

=
0



K
c

-
1




2

π







h
c



(


k
1

-

l
1


)





h
c
*



(


k
2

-

l
2


)







sin






c


(


k
1

-

k
2


)







=





k
2

=
0



K
c

-
1




2

π







h
c
*



(


k
2

-
l

)







sin





c







(


k
1

-

k
2


)

.







(
43
)







Removing 2π from both sides of (43) and rewriting it in matrix form, we have

Rha=ha  (44)

where a=[a0 . . . aKa-1]T, and the elements of matrix Rh and column vector ha are defined as











R
h



(


l
1

,
l

)


=





k
1

=
0



K
c

-
1








k
2

=
0



K
c

-
1






h
c



(


k
1

-

l
1


)





h
c
*



(


k
2

-
l

)



sin





c






(


k
1

-

k
2


)








(
45
)








h
a



(
l
)


=





k
2

=
0



K
c

-
1






h
c
*



(


k
2

-
l

)







sin







c


(


n
0

-

k
2


)


.







(
46
)







Note that Rh is a Toeplitz matrix, so we only need to calculate the first row and column of the matrix. The least-squares estimate of a from (44) is

â=Rh−1ha.  (47)


Accordingly, the I/Q compensator constructor 32 determines â according to equation (47) and then determines the filter taps for filters g11, g12, g21, and g22, according to equation (34) using â as a(k).


The output from the power amplifier 18 is then transmitted in a conventional manner. Any well-known receiver for receiving transmitted signals may then receive and demodulate the transmitted signals. For example, the receiver may have the structure of the feedback path shown in FIG. 1.


In an alternative embodiment, the filter taps for the filters g11, g12, g21, and g22 are directly estimated using equation (18) or (24). In using equations (18) and (24), y(n) is treated as the input and x(n) is treated as the output. The resulting hi, hq, and d then form the basis for the I/Q compensator 12.


The invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications are intended to be included within the scope of the following claims.

Claims
  • 1. A transmitter, comprising: an upconverter for converting a first frequency signal to a second frequency signal, the second frequency signal including in-phase components and quadrature phase components;a compensator including a plurality of filter units for compensating at least one of gain distortion and phase distortion introduced into the second frequency signal by at least the upconverter, the plurality of filter units including a first set of filter units configured to filter the in-phase components and quadrature phase components, output of the first set of filter units producing at least one of a gain compensated in-phase signal and a phase compensated in-phase signal, and a second set of filter units configured to filter the in-phase components quadrature phase components, output of second set of filter units producing at least one of a gain compensated quadrature-phase signal and a phase compensated quadrature-phase signal;a compensator constructor, based on a channel model of at least the upconverter that includes an in-phase channel, a quadrature phase channel and cross coupling channels between the in-phase and quadrature phase channels, estimating the in-phase channel, the quadrature phase channel, and the cross coupling channels between the in-phase and quadrature phase components, and configuring filters taps for the first and second set of filter units; anda predistorter to predistort the first frequency signal.
  • 2. The transmitter of claim 1, wherein the upconverter is a direct upconverter for directly upconverting a baseband signal to an RF signal; andthe compensator compensates for at least one of gain imbalance and phase imbalance introduced into the baseband signal by at least the direct upconverter.
  • 3. The transmitter of claim 2, wherein the compensator compensates for dc offset introduced into the baseband signal by at least the direct upconverter.
  • 4. The transmitter of claim 2, wherein the compensator constructor derives the filters as an inverse of the channel model for the direct upconverter based on the estimates and a cost function, which represents a mean squared error, in the frequency domain, between a desired response of a system including at least the direct upconverter and an actual response of the system including at least the filters and the direct upconverter.
  • 5. The transmitter of claim 2, wherein the compensator constructor estimates each of the in-phase channel, the quadrature phase channel, and the cross coupling channels between the in-phase and quadrature phase channels based on output from the compensator and a baseband signal derived from output of the direct upconverter.
  • 6. The transmitter of claim 5, further comprising: a feedback path including a down converter down converting output of the direct upconverter; and whereinthe compensator constructor receives a signal on the feedback path.
  • 7. The transmitter of claim 5, further comprising: a power amplifier amplifying the RF signal for transmission;a feedback path including a down converter down converting output of the power amplifier; and whereinthe compensator constructor receives a signal on the feedback path.
  • 8. The transmitter of claim 1, wherein the compensator compensates for dc offset introduced into a lower frequency signal by at least the upconverter.
  • 9. The transmitter of claim 1, wherein: the first set of filter units include a first filter unit to filter the in-phase components and a second filter unit configured to filter the quadrature phase components; andthe second set of filter units include a third filter unit configured to filter the in-phase components and a fourth filter unit configured to filter the quadrature phase components.
  • 10. The transmitter of claim 9, further comprising: a first adder configured to add the output of the first and second filter units to produce the at least one of the gain compensated in-phase signal and the phase compensated in-phase signal; anda second adder configured to add the output of the third and fourth filter units to produce the at least one of the gain compensated quadrature-phase signal and the phase compensated quadrature-phase signal.
  • 11. The transmitter of claim 10, further comprising: a third adder configured to add an in-phase DC component to the in-phase signal; anda fourth adder configured to add a quadrature-phase DC component to the quadrature-phase signal, wherein the in-phase DC component and the quadrature-phase DC component compensates DC offset.
  • 12. A transmitter, comprising: a direct upconverter for converting a baseband signal directly to an RF signal, the baseband signal including in-phase and quadrature phase components;a compensator including a first filter for filtering the in-phase component to compensate for at least one of gain imbalance and phase imbalance in the in-phase component,a second filter for filtering the quadrature phase component to compensate for at least one of gain imbalance and phase imbalance in the in-phase component associated with cross-coupling of the quadrature phase component with the in-phase component,a third filter for filtering the quadrature phase component to compensate for at least one of gain imbalance and phase imbalance in the quadrature phase component, anda fourth filter for filtering the in-phase component to compensate for at least one of gain imbalance and phase imbalance in the quadrature component associated with cross-coupling of the in-phase component with the quadrature component;a compensator constructor, based on a channel model of at least the upconverter that includes an in-phase channel, a quadrature phase channel and cross coupling channels between the in-phase and quadrature phase channels, estimating the in-phase channel, the quadrature phase channel, and the cross coupling channels between the in-phase and quadrature phase components, and configuring filter taps for the first and second set of filter units; anda predistorter to predistort the first frequency signal.
  • 13. The transmitter of claim 12, further comprising: a first adder adding output of the first and second filters;a second adder adding output of the third and fourth filters; and whereinthe direct upconverter receives output from the first and second adders.
  • 14. The transmitter of claim 13, further comprising: a third adder adding a first dc offset to the in-phase component to compensate for dc offset introduced into the baseband signal by at least the direct upconverter; anda fourth adder adding a second dc offset to the quadrature phase component to compensate for dc offset introduced into the baseband signal by at least the direct upconverter; and whereinthe direct upconverter receives output from the third and fourth adders.
  • 15. A method of generating an RF signal, comprising: up converting a first frequency signal to a second frequency signal, the second frequency signal including in-phase components and quadrature phase components; andcompensating using a plurality of filter units for at least one of gain and phase distortion introduced into the second frequency signal by at least the upconversion, the plurality of filter units including a first set of filter units configured to filter the in-phase components and quadrature phase components, output of the first set of filter units producing at least one of a gain compensated in-phase signal and a phase compensated in-phase signal, and a second set of filter units configured to filter the in-phase components quadrature phase components, output of second set of filter units producing at least one of a gain compensated quadrature-phase signal and a phase compensated quadrature-phase signal;deriving, based on a channel model of at least the upconverting step that includes an in-phase channel, a quadrature phase channel and cross coupling channels between the in-phase and quadrature phase channels, estimates of the in-phase channel, the quadrature phase channel, and the cross coupling channels between the in-phase and quadrature phase components;configuring filter taps for the first and second set of filter units; andpredistorting the first frequency signal.
  • 16. The method of claim 15, further comprising: compensating for dc offset introduced into a lower frequency signal by at least the upconversion.
  • 17. The method of claim 16, wherein the up converting step directly up converts a baseband signal to the RF signal.
US Referenced Citations (12)
Number Name Date Kind
5642382 Juan Jun 1997 A
5705949 Alelyunas et al. Jan 1998 A
5923712 Leyendecker et al. Jul 1999 A
5990734 Wright et al. Nov 1999 A
6266517 Fitzpatrick et al. Jul 2001 B1
6687311 Zhang Feb 2004 B1
6956954 Takemura et al. Oct 2005 B1
7061994 Li et al. Jun 2006 B2
7158578 Khlat Jan 2007 B2
20020037058 Birru Mar 2002 A1
20030072393 Gu Apr 2003 A1
20030141938 Poklemba et al. Jul 2003 A1
Related Publications (1)
Number Date Country
20050069050 A1 Mar 2005 US