Mismatch compensating device and method, and mismatch detecting device
09564979 ยท 2017-02-07
Assignee
Inventors
Cpc classification
H04L5/0007
ELECTRICITY
H04L27/364
ELECTRICITY
International classification
Abstract
A mismatch compensating device includes: a signal generator, synchronously outputting first and second signal; a gain and phase compensator, processing the first and second signals according to a gain parameter and a phase parameter to generate compensated first and second signals; a DAC, performing a digital-to-analog conversion on the compensated first and second signals to generate first and second analog signals; an analog front-end circuit, processing the first and second analog signals to output a joint signal; a mismatch detecting circuit, detecting the power of the joint signal to generate a detection result; a frequency-dependent mismatch compensator, compensating at least one of the first and second signals; and a control circuit, setting the gain and phase parameters and a parameter of the frequency-dependent mismatch compensator according to the detection result to compensate frequency-independent gain and phase mismatch and a frequency-dependent mismatch response.
Claims
1. A mismatch compensating device, capable of synchronously processing a frequency-dependent mismatch response and frequency-independent gain and phase mismatch, comprising: a signal generator, synchronously outputting a first signal and a second signal; a gain and phase compensator, processing the first and second signals according to a gain parameter and a phase parameter to generate a compensated first signal and a compensated second signal; a digital-to-analog converter (DAC), performing a digital-to-analog conversion on the compensated first signal and the compensated second signal to generate a first analog signal and a second analog signal; an analog front-end circuit, processing the first and second analog signals to output a joint signal; a mismatch detecting circuit, detecting a power of the joint signal to generate a detection result associated with the gain parameter and the phase parameter, comprising: a pre-processing circuit, generating a digital signal according to the joint signal; a digital front-end circuit, generating a signal to be detected according to the digital signal, wherein the digital front-end circuit sequentially performs an adjacent channel interference (ACI) filter process and a frequency down-conversion process on the digital signal to generate the signal to be detected; and a power detector, detecting a power of the signal to be detected to generate the detection result; a frequency-dependent mismatch compensator, compensating at least one of the first signal and the second signal to compensate the frequency-dependent mismatch response; and a control circuit, setting the gain parameter and the phase parameter according to the detection result, and setting a parameter of the frequency-dependent mismatch compensator according to the detection result.
2. The mismatch compensating device according to claim 1, wherein the signal generator gradually changes frequencies of the first and second signals, and the frequencies of the first and second signals are non-zero and fall in a predetermined bandwidth.
3. The mismatch compensating device according to claim 1, wherein the first and second signals outputted by the signal generator are an in-phase signal and a quadrature-phase signal, respectively.
4. The mismatch compensating device according to claim 1, wherein the gain and phase compensator comprises: a phase compensator, generating the compensated first signal according to the phase parameter and the first signal, and generating a phase compensated signal according to the phase parameter and the second signal; and a gain compensator, generating the compensated second signal according to the gain parameter and the phase compensated signal.
5. The mismatch compensating device according to claim 1, wherein the analog front-end circuit comprises: a first transmission path, performing a first filter process and a first modulation process on the first analog signal to generate a first modulated signal; a second transmission path, performing a second filter process and a second modulation process on the second analog signal to generate a second modulated signal; and an operator, generating the joint signal according to the first and second modulated signals.
6. The mismatch compensating device according to claim 1, wherein the pre-processing circuit sequentially performs a positive value generating operation, a direct-current removal process, a filter process and an analog-to-digital conversion process on the joint signal to generate the digital signal.
7. The mismatch compensating device according to claim 1, wherein the mismatch detecting circuit further comprises: a frequency level shifter, coupled between the pre-processing circuit and the digital front-end circuit, levelly shifting a frequency of at least a part of the digital signal to cause the frequency of the entire digital signal to fall in a predetermined bandwidth.
8. The mismatch compensating device according to claim 7, wherein when absolute values of frequencies of the first and second analog signals generated by the DAC fall between one-quarter and one-half of the predetermined bandwidth, the frequency level shifter substrates the frequency bandwidth from the digital signal having a positive frequency, or adds the bandwidth to the digital signal having a negative frequency, to levelly shift the frequency of at least a part of the digital signal.
9. A mismatch compensating method, capable of synchronously processing a frequency-dependent mismatch response and frequency-independent gain and phase mismatch, comprising steps of: synchronously outputting a first signal and a second signal; processing the first and second signals according to a gain parameter and a phase parameter to generate a compensated first signal and a compensated second signal; performing a digital-to-analog conversion on the compensated first signal and the compensated second signal to generate a first analog signal and a second analog signal; processing the first and second analog signals to output a joint signal; detecting a power of the joint signal to generate a detection result associated with the gain parameter and the phase parameter, wherein the step of generating the detection result comprises: generating a digital signal according to the joint signal, wherein the step of generating the digital signal comprises: sequentially performing a positive value generating operation, a direct-current removal process, a filter process and an analog-to-digital conversion process on the joint signal to generate the digital signal; generating a signal to be detected according to the digital signal; and detecting a power of the signal to be detected to generate the detection result; setting the gain parameter and the phase parameter according to the detection result to compensate the frequency-independent gain and phase mismatch; and setting a compensation parameter according to the detection result to compensate the frequency-dependent mismatch response, wherein the at least one compensation parameter is for compensating at least one of the first signal and the second signal.
10. The mismatch compensating method according to claim 9, wherein the step of synchronously outputting the first and second signals comprises gradually changing frequencies of the first and second signals, and the frequencies of the first and second signals are non-zero and fall in a predetermined bandwidth.
11. The mismatch compensating method according to claim 9, wherein the step of generating the compensated first and second signals comprises: generating the compensated first signal according to the phase parameter and the first signal; generating a phase compensated signal according to the phase parameter and the second signal; and generating the compensated second signal according to the gain parameter and the phase compensated signal.
12. The mismatch compensating method according to claim 9, wherein the step of generating the detection result further comprises: levelly shifting a frequency of at least a part of the digital signal to cause the frequency of the entire digital signal to fall in a predetermined bandwidth.
13. The mismatch compensating method according to claim 12, wherein when a difference between absolute values of frequencies of the first and second analog signals outputted in the step of generating the first and second analog signals and a cut-off frequency of the predetermined bandwidth fall between one-quarter and one-half of the predetermined bandwidth, the step of levelly shifting the frequency of at least a part of the digital signal comprises: subtracting the frequency bandwidth from the digital signal having a positive frequency, or adding the bandwidth to the digital signal having a negative frequency, to levelly shift the frequency of at least a part of the digital signal.
14. A mismatch detecting device, detecting frequency-dependent mismatch and frequency-independent mismatch, comprising: a test signal transmitting circuit, synchronously outputting an in-phase signal and a quadrature-phase signal, comprising: an in-phase transmission path, transmitting the in-phase signal; a quadrature-phase transmission path, transmitting the quadrature-phase signal; and an operator, coupled to the in-phase and quadrature-phase transmission paths, generating a joint signal according to the transmitted in-phase and quadrature-phase signals; and a mismatch detecting circuit, detecting a power of the joint signal to generate a detection result, comprising: a pre-processing circuit, generating a digital signal according to the joint signal; a receiver digital front-end circuit, generating a signal to be detected according to the digital signal; a power detector, detecting a power of the signal to be detected to generate the detection result; and a frequency level shifter, coupled to the pre-processing circuit, when a difference between absolute values of frequencies of the digital-to-analog converted in-phase and quadrature-phase signals synchronously outputted by the test signal transmitting circuit and a cut-off frequency of the predetermined bandwidth is smaller than one-quarter of the predetermined bandwidth, the frequency level shifter levelly shifting a frequency of at least a part of the digital signal and outputting the digital signal to the receiver digital front-end circuit, or else the frequency level shifter directly outputting the digital signal to the receiver digital front-end circuit.
15. A mismatch compensating method, capable of synchronously processing a frequency-dependent mismatch response and frequency-independent gain and phase mismatch, comprising steps of: synchronously outputting a first signal and a second signal; processing the first and second signals according to a gain parameter and a phase parameter to generate a compensated first signal and a compensated second signal; performing a digital-to-analog conversion on the compensated first signal and the compensated second signal to generate a first analog signal and a second analog signal; processing the first and second analog signals to output a joint signal; detecting a power of the joint signal to generate a detection result associated with the gain parameter and the phase parameter, wherein the step of generating the detection result comprises: generating a digital signal according to the joint signal; generating a signal to be detected according to the digital signal by performing an ACI filter process and a frequency down-conversion process on the digital signal to generate the signal to be detected; and detecting a power of the signal to be detected to generate the detection result; setting the gain parameter and the phase parameter according to the detection result to compensate the frequency-independent gain and phase mismatch; and setting a compensation parameter according to the detection result to compensate the frequency-dependent mismatch response, wherein the at least one compensation parameter is for compensating at least one of the first signal and the second signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
DETAILED DESCRIPTION OF THE INVENTION
(15) Technical terms of the application are based on the general definition in the technical field of the application. If the application describes or explains one or some terms, definitions of the terms are based on the description or explanation of the application.
(16) The present invention discloses a device and a method. A part of the elements of the device may be individually known elements. Without affecting full disclosure of the device and in possible implementation, details of the individually known elements are omitted. A combination of a part or all of the steps of the method may be in form of software and/or firmware, and may be performed by the device of the present invention or an equivalent device.
(17)
(18) 1. To adjust frequency-independent (FI) and frequency-dependent (FD) gain and phase mismatch, assuming that the gain and phase compensator 120 sequentially adjusts gain and phase parameters, the mismatch detecting circuit 150 first obtains an optimal detection power pwr(.sub.k) under an angular frequency .sub.k according to the signal generated by the signal generator 110. The gain and phase parameters adopted for obtaining the optimal detection power pwr(.sub.k) may be regarded as optimal gain and phase parameters (g(.sub.k), (.sub.k)). Equations of approximate values of the gain and phase parameters are as shown in equation (16).
(19) 2. Next, the control circuit 160 obtains frequency-independent gain difference and phase difference g.sub.FI and .sub.FI in equation (17) below according to equation (16) and known (or pre-acquired) in-phase and quadrature-phase mismatch characteristics. The control circuit 160 then sets the gain parameter and the phase parameter of the gain and phase compensator 120 according to the gain difference g.sub.FI and the phase difference and .sub.FI in equation (17) to compensate the frequency-independent mismatch.
(20) 3. After the result of equation (17) is obtained, by substituting the result of equation (17) into equation (16), the approximate values of the frequency-dependent gain difference and phase difference g.sub.FD(.sub.k) and .sub.FD(.sub.k) shown in equation (18) may be obtained. Further, according to the definition of a frequency-dependent in-phase and quadrature-phase mismatch response H.sub.FD[k], the frequency-dependent mismatch response H.sub.FD[k] may be represented by equation (19). Thus, since the gain difference g.sub.FD(.sub.k) and the phase difference .sub.FD(.sub.k) in equation (19) can be obtained from equation (18), the control circuit 160 may accordingly set the parameter of the frequency-dependent mismatch compensator 170 to generate a frequency-dependent mismatch compensating response h.sub.FD[n], as shown in equation (20). Thus, the frequency-dependent mismatch response H.sub.FD[k] may be counteracted or reduced by the mismatch compensating response h.sub.FD[n].
(21) It should be noted that, although the derivation process of the compensation setting below may not explain the effect that the frequency-dependent mismatch compensator 170 has on signals, such effect may be regarded as being reflected in the frequency-dependent gain difference and phase difference g.sub.FD(.sub.k) and .sub.FD(.sub.k). That is, if a part of the frequency-dependent mismatch response H.sub.FD[k] is counteracted by the mismatch compensator 170, the part that is not yet counteracted is reflected by the gain difference g.sub.FD(.sub.k) and the phase difference .sub.FD(.sub.k). Certainly the effect on the signals may also be prevented by methods such as appropriate parameter settings or a bypass design during the process that the mismatch compensator 170 obtains the compensation setting.
(22) Again referring to
(23)
(24) In equation (1), the symbols g.sub.FI and .sub.FI represent frequency-independent gain difference and phase difference, respectively; symbols g.sub.FD() and .sub.FD() represent frequency-dependent gain difference and phase difference, respectively; M represents a mismatch matrix; and values m.sub.1, 1 to m.sub.2, 2 are as shown by equation (2) below:
m.sub.1,1=cos(.sub.FI/2)cos(.sub.FD()/2)+g.sub.FIg.sub.FD()sin(.sub.FI/2)sin(.sub.FD()/2) m.sub.1,2=cos(.sub.FI/2)sin(.sub.FD()/2)+g.sub.FIg.sub.FD()sin(.sub.FI/2)cos(.sub.FD()/2) m.sub.2,1=sin(.sub.FI/2)cos(.sub.FD()/2)+g.sub.FIg.sub.FD()cos(.sub.FI/2)sin(.sub.FD()/2) m.sub.2,2=sin(.sub.FI/2)sin(.sub.FD()/2)+g.sub.FIg.sub.FD()cos(.sub.FI/2)cos(.sub.FD()/2)equation (2)
(25) It should be noted that, when there is no mismatch, i.e., the first and second signals I(t) and Q(t) are equal to the signals (t) and {tilde over (Q)}(t), m.sub.1, 1=m.sub.2, 2=1 and m.sub.1, 2=m.sub.2, 1=0. Further, it should be noted that, in the embodiment, the signal generator 110 may control the angular frequencies of the first and second signals (t) and {tilde over (Q)}(t) to be =2kf.sub.66 , such that the angular frequencies change according to a predetermined change rate (e.g., f.sub.), where k is an integer and the range of k is determined according to a predetermined bandwidth (e.g., the range of k causes the frequency /2 to cover the predetermined bandwidth, and the predetermined bandwidth is a bandwidth of a communication circuit applied in the present invention). Further, it should be noted that, assuming that the first and second signals (t) and {tilde over (Q)}(t) are signals other than in-phase and quadrature-phase signals, one person skilled in the art may deduce the signal relationship and corresponding parameter settings based on the disclosure of the application.
(26) Referring to
(27)
(28) Given the gain parameter and the phase parameter respectively satisfy equation (4) and equation (5) below, they may be referred to as ideal parameters:
(29)
(30) In the above equations, .sub.1=m.sub.1, 2/m.sub.2, 2 and .sub.2=m.sub.1, 2/m.sub.2, 2. By multiplying the matrix M representing the mismatch in equation (1) by the matrix C representing the compensation (or pre-distortion) in equation (3), equation (6) is obtained:
(31)
(32) Wherein, and are respectively shown as equation (7) and equation (8):
(33)
(34) In equation (8), det(M)=m.sub.1, 1.Math.m.sub.2,2m.sub.1, 2.Math.m.sub.2, 1.
(35) Further, assuming that the parameters and are () and (), respectively, as the values of .sub.FD() and .sub.FI are extremely small and g.sub.FI.Math.g.sub.FI() is approximate to 1, () and () may be mathematically approximate to equation (9) and equation (10):
{circumflex over ()}()(g.sub.FIg.sub.FD()).sup.1equation (9)
{circumflex over ()}()(.sub.FI+.sub.FD())equation (10)
(36) Again referring to
(37) Again referring to
(38) Referring to
(39)
(40) Based on equation (11) and the above assumption, after a series of known deductions, a digital signal r[n] generated by the ADC 640 may be represented by equation (12):
(41)
(42) In equation (12), m.sub.1, 1, m.sub.1, 2, m.sub.2, 1 and m.sub.2, 2 are coefficients of the mismatch matrix M, g.sub.path represents the gain difference of the transmission path, f.sub.ADC represents the operating frequency of the ADC 640, and .sub.ADC represents the phase difference caused by the ADC 640. The digital signal r[n] having been processed by the ACI filter 710 and the frequency down-converter 720 becomes the signal to be detected. The power detector 530 may then detect the signal to be detected to generate the detection result pwr, as shown in equation (13):
(43)
(44) As the value N gets larger, the number of samples of the detection result pwr gets larger, and the associated average result
(45)
also approximates more to a mathematical expected value E. Based on equation (13) and further considering the effect of the gain and phase compensator 120, the compensated mismatch matrix M is as shown in equation (14):
(46)
(47) By respectively replacing m.sub.1, 1, m.sub.1, 2, m.sub.2, 1 and m.sub.2, 2 in equation (13) by , /2, /2 and in equation (14), the detection result pwr that is compensated is as shown in equation (15):
(48)
(49) Based on equation (15), the gain and phase compensator 120 may identify the gain and phase parameters (, ) corresponding to the optimal detection result pwr according to the change in the gain and phase parameters (, ) (e.g., a sequential change) (i.e., the gain and phase parameters (, ) adopted by the gain and phase compensator 120 when the optimal detection result pwr is identified). For example, when the operator 430 of the transmitter analog front-end circuit 140 is a subtractor that subtracts the second modulated signal from the first modulated signal, the detection result pwr is ideally zero. That is, in the absence of mismatch, the first modulated signal is ideally equal to the second modulated signal.
(50) In continuation, when the first and second signals I(t) and Q(t) are respectively in-phase and quadrature-phase signals, and the signal generator 110 controls the angular frequencies of the first and second signals I(t) and Q(t) to be .sub.k (where k is an integer between 0 and k, e.g., k=0, 1, 2, 3, . . . or K, the range of k causes the frequency /2 to cover a predetermined bandwidth, which is a bandwidth of a communication circuit applied in the present invention, for example), based on equation (15) and the associated description, the optimal detection result pwr (.sub.k) and the corresponding gain and phase parameters ((.sub.k), (.sub.k)) under the angular frequency .sub.k may also be identified. According to equation (9) and equation (10), the approximate values of the gain and phase parameters ((.sub.k), (.sub.k)) may be represented as equation (16):
{circumflex over ()}(.sub.k)(g.sub.FIg.sub.FD(.sub.k)).sup.1 {circumflex over ()}(.sub.k)(.sub.FI+.sub.FD(.sub.k))equation (16)
(51) Further, based on the characteristic of in-phase and quadrature-phase mismatch, when the frequency-dependent gain difference and phase difference g.sub.FD(.sub.k) and .sub.FD(.sub.k) are respectively g.sub.FD(0)=1 and .sub.FD(0)=0 when .sub.k=.sub.0=0, by substituting the above relationship into equation (16), the frequency-independent gain difference and phase difference g.sub.FI and .sub.FI may be obtained as shown in equation (17):
g.sub.FI({circumflex over ()}(0)g.sub.FD(0)).sup.1={circumflex over ()}(0).sup.1 .sub.FI({circumflex over ()}(0)+.sub.FD(0))={circumflex over ()}(0)equation (17)
(52) The control circuit 160 in
(53) In continuation, by substituting the result of equation (17) into equation (16), the approximate values of the frequency-dependent gain difference and phase difference g.sub.FD(.sub.k) and .sub.FD(.sub.k) may be represented by equation (18):
g.sub.FD(.sub.k(g.sub.FI{circumflex over ()}(.sub.k)).sup.1={circumflex over ()}(0).Math.{circumflex over ()}(.sub.k).sup.1 .sub.FD(.sub.k)(.sub.FI+{circumflex over ()}(.sub.k))={circumflex over ()}(0){circumflex over ()}(.sub.kequation (18)
(54) According to the definition of the frequency-dependent in-phase and quadrature-phase mismatch response H.sub.FD[k], the frequency-dependent in-phase and quadrature-phase mismatch response H.sub.FD[k] may be represented by equation (19):
H.sub.FD[k]g.sub.FD(.sub.k).Math.e.sup.j.sup.
(55) As the gain difference g.sub.FD(.sub.k) and the phase difference .sub.FD(.sub.k) in equation (19) may be obtained from equation (18), the control circuit 160 in
h.sub.FD[n]=IFFT{H.sub.FD[k]}equation (20)
(56) Thus, the frequency-dependent mismatch response H.sub.FD[k] may be counteracted or alleviated by the mismatch compensating response h.sub.FD[n]. The frequency-dependent mismatch compensator 170 may compensate the first signal I(t) or adjust the compensated second signal Q(t) by coordinating with positive/negative signals of corresponding parameters. As shown in
(57) Again referring to
(58) The frequency level shifter 910 in
(59)
(60) One person skilled in the art can perform corresponding adjustments of other equations based on equation (21) to implement the present invention.
(61) In addition to the foregoing device, the present invention further provides a mismatch compensating method similarly capable of synchronously processing frequency-dependent gain and phase mismatch and frequency-independent gain and phase mismatch. Referring to
(62) In step S1210, a first signal and a second signal are synchronously outputted. This step may be performed by the signal generator 110 in
(63) In step S1220, the first and second signals are processed according to a gain parameter and a phase parameter to generate a compensated first signal and a compensated second signal. This step may be performed by the gain and phase compensator 120 in
(64) In step S1230, a digital-to-analog conversion is performed on the compensated first signal and the compensated second signal to generate a first analog signal and a second analog signal. This step may be performed by the DAC 130 in
(65) In step S1240, the first and second analog signals are processed to output a joint signal. This step may be performed by the transmitter analog front-end circuit 140 or an equivalent circuit.
(66) In step S1250, the power of the joint signal is detected to generate a detection result, which is associated with the gain parameter and the phase parameter. This step may be performed by the mismatch detecting circuit 150 or an equivalent circuit.
(67) In step S1260, the gain parameter and the phase parameter are set according to the detection result to compensate the frequency-independent gain and phase mismatch. This step may be performed by the control circuit 160 in
(68) In step S1270, at least one compensation parameter is set according to the detection result to compensate the frequency-dependent gain and phase mismatch. The at least one compensation parameter is for compensating at least one of the first signal and the second signal. This step may be performed by the control circuit 160 in
(69) One person skilled in the art may deduce implementation details and variations of embodiments of the method based on the disclosure of the device of the foregoing embodiments. More specifically, technical features of the device of the foregoing embodiments may be reasonably applied to the method of this embodiment. Without affecting full disclosure and possible implementation of the method of this embodiment, such repeated details are omitted herein.
(70) The present invention further provides a mismatch detecting device capable of detecting frequency-dependent mismatch and frequency-independent mismatch.
(71) In conclusion, the device and method of the present invention are capable of synchronously processing frequency-dependent mismatch and frequency-independent mismatch, thereby preventing issues caused by asynchronous processing as well as reinforcing detection and compensation efficiency at the same time.
(72) While the invention has been described by way of example and in terms of the preferred embodiments, it is to be understood that the invention is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.