The present invention relates to a device and a method used in a communication system, and more particularly, to a device and a method of performing signal compensation.
In a communication device of a wireless communication device, a difference between responses on an in-phase signal path and a quadrature-phase signal path causes an IQ imbalance of signals on the signal paths. In the prior art, the communication device may use a narrowband signal to compensate the signal (s) on the in-phase signal path or the quadrature-phase signal, to eliminate the IQ imbalance at one frequency point. However, the communication device needs to perform the above operation a plurality of times to eliminate the IQ imbalance at different frequency points, and operation efficiency of the communication device degrades. Thus, how to improve efficiency of the signal compensation is an important problem to be solved.
The present invention therefore provides a communication device and method of performing signal compensation to solve the abovementioned problem.
A signal compensation device comprises a first filter circuit, for processing a broadband signal, to generate a first analog time-domain signal; a second filter circuit, for processing the broadband signal, to generate a second analog time-domain signal; a first transform circuit, coupled to the first filter circuit, for transforming the first analog time-domain signal to a first digital time-domain signal; a second transform circuit, coupled to the second filter circuit, for transforming the second analog time-domain signal to a second digital time-domain signal; a third transform circuit, coupled to the first transform circuit, for transforming the first digital time-domain signal to a first frequency-domain signal; a fourth transform circuit, coupled to the second transform circuit, for transforming the second digital time-domain signal to a second frequency-domain signal; and a processing circuit, coupled to the third transform circuit and the fourth transform circuit, for generating a time-domain compensation response according to the first frequency-domain signal and the second frequency-domain signal.
A signal compensation device comprises a first filter circuit, for processing a input signal, to generate a first analog signal; a second filter circuit, for processing the input signal, to generate a second analog signal; a first transform circuit, coupled to the first filter circuit, for transforming the first analog signal to a first digital signal; a second transform circuit, coupled to the second filter circuit, for transforming the second analog signal to a second digital signal; and a compensation circuit, coupled to the first transform circuit, for compensating the first digital signal according to a compensation response, to generate a compensation signal.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
In one example, the first analog time-domain signal sig_time_anal1, the first digital time-domain signal sig_time_dig1 and the first frequency-domain signal sig_freq1 are signals on an in-phase signal path, and the second analog time-domain signal sig_time_anal2, the second digital time-domain signal sig_time_dig2 and the second frequency-domain signal sig_freq2 are signals on a quadrature-phase signal path. In one example, the first analog time-domain signal sig_time_anal1, the first digital time-domain signal sig_time_dig1 and the first frequency-domain signal sig_freq1 are signals on the quadrature-phase signal path, and the second analog time-domain signal sig_time_anal2, the second digital time-domain signal sig_time_dig2 and the second frequency-domain signal sig_freq2 are signals on the in-phase signal path.
In one example, the broadband signal sig_broadband is an impulse signal. That is, the impulse signal is used as an input signal (or a testing signal). In addition, after a Fast Fourier Transform (FFT) is performed, the impulse signal is a constant in the frequency spectrum. In other words, the impulse signal has the same energy at each frequency point. In one example, the first filter circuit 200 and the second filter circuit 210 are analog baseband filters. In one example, the first transform circuit 202 and the second transform circuit 212 are analog-to-digital converters (ADCs). In one example, the third transform circuit 204 and the fourth transform circuit 214 perform the FFT, to transform the first digital time-domain signal sig_time_dig1 and the second digital time-domain signal sig_time_dig2 to the first frequency-domain signal sig_freq1 and the second frequency-domain signal sig_freq2, respectively.
In one example, the compensation circuit 504 is a digital baseband filter. In one example, the compensation response is the time-domain compensation response resp_comp_time generated by the signal compensation device 20. In one example, the first analog signal sig_anal1, the second analog signal sig_anal2, the first digital signal sig_dig1, the second digital signal sig_dig2 and the compensation signal sig_comp are time-domain signals.
In one example, the first analog signal sig_anal1, the first digital signal sig_dig1 and the compensation signal sig_comp are signals on the in-phase signal path, and the second analog signal sig_anal2 and the second digital signal sig_dig2 are signals on the quadrature-phase signal path. In one example, the first analog signal sig_anal1, the first digital signal sig_dig1 and the compensation signal sig_comp are signals on the quadrature-phase signal path, and the second analog signal sig_anal2 and the second digital signal sig_dig2 are signals on the in-phase signal path.
The following example is used for illustrating how the signal compensation devices 40 and 50 compensate the signal(s) on the in-phase signal path, to eliminate the IQ imbalance. First, the signal generating circuit 400 generates an impulse signal x(t) (i.e., the broadband signal sig_broadband). The first filter circuit 200 and the second filter circuit 210 generate time-domain signals yI(t) and yQ(t) (e.g., the first analog time-domain signal sig_time_anal1 and the second analog time-domain signal sig_time_anal2), respectively, according to the impulse signal x(t), as follows:
yI(t)=hI(x(t))=conv(hI(t),x(t)), (Eq. 1)
yQ(t)=hQ(x(t))=conv(hQ(t),x(t)), (Eq. 2)
wherein hI(t) and hQ(t) are impulse responses of the first filter circuit 200 and the second filter circuit 210, respectively, and conv( ) is a convolution function. Then, the third transform circuit 204 and the fourth transform circuit 214 transform the time-domain signals yI(t) and yQ(t) to frequency-domain signals YI(ω) and YQ(ω), respectively (e.g., the first frequency-domain signal sig_freq1 and the second frequency-domain signal sig_freq2), after the time-domain signals yI(t) and yQ(t) pass via ADCs. The frequency-domain signals YI(ω) and YQ(ω) can be expressed as following equations according to a convolution theory:
YI(ω)=HI(ω)X(ω), (Eq. 3)
YQ(ω)=HQ(ω)X(ω), (Eq. 4)
wherein X(ω) is the impulse signal x(t) after the FFT is performed, and HI(ω) and HQ(ω) are frequency responses of the first filter circuit 200 and the second filter circuit 210, respectively. Due to that the impulse signal X(ω) is a constant, the equations (Eq. 3) and (Eq. 4) can be derived as follows:
HI(ω)∝YI(ω), (Eq. 5)
HQ(ω)∝YQ(ω). (Eq. 6)
That is, the frequency response HI(ω) is proportional to the frequency-domain signal YI(ω), and the frequency response HQ(ω) is proportional to the frequency-domain signal YQ(ω). Thus, the computing circuit 300 may use the frequency-domain signals YI(ω) and YQ(ω) to compute a frequency compensation response H. According to the equations (Eq. 3) and (Eq. 4), the computing circuit 300 computes magnitude responses (|YI(ω)| and YQ(ω)|) and phase responses (∠YI(ω) and ∠YQ(ω)) of the frequency-domain signals YI(ω) and YQ(ω) as shown in subfigures (a) and (b) of
In the equation (Eq. 7), the magnitude response |YQ(ω)| of the frequency-domain signal YQ(w) is normalized according to the magnitude response |YI(ω)| of the frequency-domain signal YI(ω). Thus, a product of the magnitude response difference G(ω) and the magnitude response |YI(ω)| is the same as the magnitude response |YQ(ω)|. In other words, the compensated magnitude response on the in-phase signal path is the same as the magnitude response on the quadrature-phase signal path. In addition, a sum of the phase response difference P(ω) and the phase response ∠YI(ω) is the same as the phase response ∠YQ(ω). The compensated phase response on the in-phase signal path is the same as the phase response on the quadrature-phase signal path. According to the equations (Eq. 7) and (Eq. 8), the computing circuit 300 computes a difference function C(ω) and the frequency compensation response H (e.g., the frequency-domain compensation response resp_comp_freq) as follows:
wherein fS is a sampling rate of the first transform circuit 202 and the second transform circuit 212, and fstep is a frequency interval. In addition, the fifth transform circuit 302 may transform the frequency compensation response H to an impulse compensation response h[n] (e.g., the time-domain compensation response resp_comp_time) via an Inverse Discrete Fourier Transform (IDFT) as follows:
Then, the signal compensation device 50 generates a time-domain signal kI[n] (e.g., the first digital signal sig_dig1) according to an input signal via the first filter circuit 500 and the first transform circuit 502. The signal compensation device 50 generates a time-domain signal kQ[n] (e.g., the second digital signal sig_dig2) according to the input signal via the second filter circuit 510 and the second transform circuit 512. The compensation circuit 504 uses the impulse compensation response h[n] to compensate the time-domain signal kI[n] as follows:
kI′[n]=conv(h[n],kI[n]), (Eq. 12)
wherein kI′[n] is a compensation result (e.g., the compensation signal sig_comp) of the time-domain signal kI[n]. Thus, the responses (e.g., the magnitude responses and the phase responses) on the in-phase signal path and the quadrature-phase signal path are the same. The problem of the IQ imbalance can be solved.
Operations of the signal compensation device 20 in the above examples can be summarized into a process 70 shown in
Step 700: Start.
Step 702: Process a broadband signal, to generate a first analog time-domain signal.
Step 704: Process the broadband signal, to generate a second analog time-domain signal.
Step 706: Transform the first analog time-domain signal to a first digital time-domain signal.
Step 708: Transform the second analog time-domain signal to a second digital time-domain signal.
Step 710: Transform the first digital time-domain signal to a first frequency-domain signal.
Step 712: Transform the second digital time-domain signal to a second frequency-domain signal.
Step 714: Generate a time-domain compensation response according to the first frequency-domain signal and the second frequency-domain signal.
Step 716: End.
Operations of the signal compensation device 50 in the above examples can be summarized into a process 80 shown in
Step 800: Start.
Step 802: Process an input signal, to generate a first analog signal.
Step 804: Process the input signal, to generate a second analog signal.
Step 806: Transform the first analog signal to a first digital signal.
Step 808: Transform the second analog signal to a second digital signal.
Step 810: Compensate the first digital signal according to a compensation response, to generate a compensation signal.
Step 812: End.
The processes 70 and 80 are used for illustrating the operations of the signal compensation devices 20 and 50, respectively. Detailed description and variations of the processes 70 and 80 can be referred to the previous description, and are not narrated herein.
It should be noted that realizations of the signal compensation devices 20, 40 and 50 (including the first filter circuits 200 and 500, the second filter circuits 210 and 510, the first transform circuits 202 and 502, the second transform circuits 212 and 512, the third transform circuit 204, the fourth transform circuit 214, the processing circuit 206, the signal generating circuit 400 and the compensation circuit 504) are various. For example, the devices (circuits) mentioned above may be integrated into one or more devices (circuits). In addition, the signal compensation devices 20, 40 and 50 may be realized by hardware (e.g., circuit), software, firmware (known as a combination of a hardware device, computer instructions and data that reside as read-only software on the hardware device), an electronic system or a combination of the devices mentioned above, but are not limited herein.
To sum up, the present invention provides a device and a method of performing signal compensation. The signal compensation device uses the broadband signal to obtain the compensation response, and compensates the signal(s) on the in-phase signal path or the quadrature-phase signal path according to the compensation response, to eliminate the IQ imbalance at the plurality of frequency points. The present invention provides a better performance than the prior art.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
108121088 | Jun 2019 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
20030072393 | Gu | Apr 2003 | A1 |
20040224656 | Mimura | Nov 2004 | A1 |
20070058755 | Husted | Mar 2007 | A1 |
20100232490 | Balakrishnan | Sep 2010 | A1 |
20120177151 | Hormis | Jul 2012 | A1 |
20140307768 | Gotman | Oct 2014 | A1 |
Number | Date | Country | |
---|---|---|---|
20200403842 A1 | Dec 2020 | US |