The present disclosure relates generally to an apparatus and a method for providing second order intercept point (IIP2) calibration, and more particularly, to an apparatus and a method for providing background real-time IIP2 calibration.
IIP2 calibration is a stringent requirement for a cellular frequency division duplex (FDD) system due to finite isolation between a transmitter and a receiver. Due to a strong dependency between an in-phase path (I-path) and a quadrature-phase path (Q-path) during IIP2 calibration, an exhaustive search to find an optimal digital-to-analog converter (DAC) code that minimizes the I-path and Q-path second order intermodulation (IM2) tone amplitude simultaneously is frequently performed. An exhaustive search may be time consuming. Alternatively, an iterative search may be performed. However, an iterative search method suffers from a convergence issue within a few iterations due to IQ path dependency.
An initial optimal mixer DAC code may be preset during factory calibration. Due to process and/or temperature variation, an actual real-time optimal mixer DAC code may deviate from the initial preset mixer DAC code.
According to one embodiment, an apparatus includes a first low pass filter (LPF), including an input connected to an output of an in-phase mixer (I-mixer), and an output; a second LPF, including an input connected to an output of a quadrature-mixer (Q-mixer), and an output; a first analog-to-digital converter (ADC), including a first input connected to the output of the first LPF, and an output; a second ADC, including a first input connected to the output of the second LPF, and an output; a first receiver (RX) data capture buffer, including an input connected to the output of the first ADC, and an output; a second RX data capture buffer, including an input connected to the output of the second ADC, and an output; a direct current (DC) removal unit, including a first input connected to the output of the first RX data capture buffer, a second input connected to the output of the second RX data capture buffer, a first output, and a second output; an adaptive tuning module unit, including a first input connected to the first output of the DC removal unit, a second input connected to the second output of the DC removal unit, a third input, a fourth input for receiving a predetermined step size for each of the I-mixer and the Q-mixer, a first output connected to a second input of the I-mixer, and a second output connected to a second input of the Q-mixer; a transmitter (TX) data capture buffer, including an input, and an output; and a reference generator, including an input connected to the output of the TX data capture buffer, and an output connected to the third input of the adaptive tuning module.
According to one embodiment, an apparatus includes a first LPF, including an input connected to an output of an in-phase (I-mixer), and an output; a second LPF, including an input connected to an output of a quadrature-phase mixer (Q-mixer), and an output; a first ADC, including a first input connected to the output of the first LPF, and an output; a second ADC, including a first input connected to the output of the second LPF, and an output; a first RX data capture buffer, including an input connected to the output of the first ADC, and an output; a second RX data capture buffer, including an input connected to the output of the second ADC, and an output; an adaptive tuning module unit, including a first input connected to the output of the first RX data capture buffer, a second input connected to the output of the second RX data capture buffer, a third input, a fourth input for receiving a predetermined step size for each of the I-mixer and the Q-mixer, a first output connected to a second input of the I-mixer, and a second output connected to a second input of the Q-mixer; a transmitter (TX) data capture buffer, including an input, and an output; a reference generator, including an input connected to the output of the TX data capture buffer, and an output; and a DC removal unit, including an input connected to the output of the reference generator, and an output connected to the third input of the adaptive tuning module.
According to one embodiment, a method includes filtering, by a first LPF, an output of an in-phase mixer (I-mixer); filtering, by a second LPF, an output of a quadrature-phase mixer (Q-mixer); converting, by a first ADC, an output of the first LPF; converting, by a second ADC, an output of the second LPF; buffering, by a first RX capture data buffer, an output of the first ADC; buffering, by a second RX capture data buffer, an output of the second ADC; buffering, by a TX capture data buffer, a transmitter signal; generating, by a reference generator, a reference signal from an output of the TX data capture buffer; removing, by a DC removal unit, DC from the reference signal; and adaptively tuning, by an adaptive tuning module, an I-mixer digital-to-analog (DAC) code and a Q-mixer DAC code from an output of the first RX data capture buffer, an output of the second RX data capture buffer, an output of the DC removal unit, and a predetermined step size for each of the I-mixer DAC code and the Q-mixer DAC code.
According to one embodiment, a method includes filtering, by a first LPF, an output of an in-phase mixer (I-mixer); filtering, by a second LPF, an output of a quadrature-phase mixer (Q-mixer); converting, by a first ADC, an output of the first LPF; converting, by a second ADC, an output of the second LPF; buffering, by a first RX data capture buffer, an output of the first ADC; buffering, by a second RX data capture buffer, an output of the second ADC; adaptively tuning, by an adaptive tuning module unit, an output of the first RX data capture buffer, an output of the second RX data capture buffer, an output of a DC removal unit, and a predetermined step size for each of the I-mixer and the Q-mixer; buffering, by a TX data capture buffer, a transmitter signal; generating, by a reference generator, a reference signal; and removing, by a DC removal unit, DC from the reference signal.
The above and other aspects, features, and advantages of certain embodiments of the present disclosure will be more apparent from the following detailed description, taken in conjunction with the accompanying drawings, in which:
Hereinafter, embodiments of the present disclosure are described in detail with reference to the accompanying drawings. It should be noted that the same elements will be designated by the same reference numerals although they are shown in different drawings. In the following description, specific details such as detailed configurations and components are merely provided to assist with the overall understanding of the embodiments of the present disclosure. Therefore, it should be apparent to those skilled in the art that various changes and modifications of the embodiments described herein may be made without departing from the scope and spirit of the present disclosure. In addition, descriptions of well-known functions and constructions are omitted for clarity and conciseness. The terms described below are terms defined in consideration of the functions in the present disclosure, and may be different according to users, intentions of the users, or customs. Therefore, the definitions of the terms should be determined based on the contents throughout this specification.
The present disclosure may have various modifications and various embodiments, among which embodiments are described below in detail with reference to the accompanying drawings. However, it should be understood that the present disclosure is not limited to the embodiments, but includes all modifications, equivalents, and alternatives within the spirit and the scope of the present disclosure.
Although the terms including an ordinal number such as first, second, etc. may be used for describing various elements, the structural elements are not restricted by the terms. The terms are only used to distinguish one element from another element. For example, without departing from the scope of the present disclosure, a first structural element may be referred to as a second structural element. Similarly, the second structural element may also be referred to as the first structural element. As used herein, the term “and/or” includes any and all combinations of one or more associated items.
The terms used herein are merely used to describe various embodiments of the present disclosure but are not intended to limit the present disclosure. Singular forms are intended to include plural forms unless the context clearly indicates otherwise. In the present disclosure, it should be understood that the terms “include” or “have” indicate existence of a feature, a number, a step, an operation, a structural element, parts, or a combination thereof, and do not exclude the existence or probability of the addition of one or more other features, numerals, steps, operations, structural elements, parts, or combinations thereof
Unless defined differently, all terms used herein have the same meanings as those understood by a person skilled in the art to which the present disclosure belongs. Such terms as those defined in a generally used dictionary are to be interpreted to have the same meanings as the contextual meanings in the relevant field of art, and are not to be interpreted to have ideal or excessively formal meanings unless clearly defined in the present disclosure.
According to one embodiment, the present apparatus and method provides IIP2 calibration based on two tone testing to set an optimal mixer DAC code.
According to one embodiment, the present apparatus and method provides adaptive searching that locates an optimal IIP2 DAC code in real-time based on a background real-time second order inter-modulation distortion (IMD2) modulated signal in a power on mode.
According to one embodiment, the present apparatus and method analyzes a format of an IMD2 signal for both I and Q paths, and addresses correlation between the I path and the Q path in an IMD2 component. The present adaptive searching apparatus and method provides an estimation of coefficients of an IMD2 term, which show convergence in spite of the correlation effect between the I path and the Q path.
According to one embodiment, the present apparatus and method may receive input data in the form of a vector or a sample. In addition, the present apparatus and method provides direct current (DC) removal on either a transmitter or a receiver side.
According to one embodiment, IMD2 components in the I, Q paths, due to a second order nonlinear effect of a mixer, may be represented as in Equations (1) and (2) as follows, respectively:
y2I(t)=a2I(m,n)G2A2(t)=a2I(m,n)×G2×ref(t) (1)
y2Q(t)=a2Q(m,n)G2A2(t)=a2Q(m,n)×G2×ref(t) (2)
where a2I(m, n) is a coefficient of a second order term for the I-path, m is an I-mixer DAC code, n is a Q-mixer DAC code, a2Q(m, n) is a coefficient of a second order term for the Q-path, G is a path gain from a transmit antenna to an output of a receiver mixer, which includes duplexer isolation, radio frequency (RF) path loss and gain, and ref (t) is a squared envelope of a transmit signal.
There is a strong dependency between an I-path and a Q-path in an IMD2 component, i.e., the optimal I-DAC code varies when the Q-DAC code changes and vice versa. Therefore, a coefficient of a second order nonlinear term in an I-path may be represented as a2I(m, n) instead of a2I(m). In addition, a coefficient of a second order nonlinear term in a Q-path may be represented as a2Q(m, n) instead of a2I(n).
Based on one or more plane-fitting techniques, the wing-shaped surfaces illustrated in
Referring to
According to one embodiment, the present apparatus and method implements the following search rules. If a2I(m, n)>0, m is incremented by a first predetermined amount (e.g., step size or updating step size), otherwise, m is decremented by a second predetermined amount. If a2Q(m, n)>0, n is incremented by a third predetermined amount, otherwise n is decremented by a fourth desired amount. The first, second, third, and fourth predetermined amounts may be equal to each other or different from one or more of each other. According to these search rules, the optimal point P may always be determined no matter where the initial starting point P0 is located in
For example, a starting point P0 is in region 2, where a2I(m, n)>0 and a2Q(m, n)>0. Therefore, m and n are each incremented while the point in question is in region 2. Assuming the first predetermined step size and the third predetermined step size are the same for both m and n, then at a certain iteration k, the searching point moves to point P1 (which lies on line A, which is where a2I(m, n) is equal to zero). From P1 onwards, a2I(m, n) oscillates around zero, while a2Q(m, n) is still greater than 0, which leads to the optimal point P. As long as there are estimations for both a2I(m, n) and a2Q(m, n) from received data and reference data, m and n may be updated.
Based on IQ dependency information, convergence speed to point P may be optimized, i.e., the updating step sizes may be optimized using the following ΔI and ΔQ for I and Q paths, respectively, as represented in Equations (3), (4), and (5) as follows:
ΔI+1j*ΔQ=μ×((m,n)+1j*(m,n))×(cos(θ0)+1j*sin(θ0)) (3)
ΔI=μ×((m,n)×cos(θ0)−(m,n)×sin(θ0)) (4)
ΔQ=μ×((m,n)×cos(θ0)+(m,n)×sin(θ0)) (5)
where (m, n) and (m, n) are estimated values at a current iteration, μ is a predetermined positive number, and θ0 is a slope of line B in
According to one embodiment, a2I(m, n) and a2Q(m, n) are estimated from vectors of reference samples and receiver samples. A signal model may be represented in Equation (6) as follows, where N is a length of a data vector (or length of a data capture buffer):
If y=(y(1), y(2), . . . , y(N))T, rx=(rx(1),rx(2), . . . ,rx(N))T, ref=(ref(1),ref (2), . . . , ref(N))T, Noise=(Noise(1),Noise(2), . . . ,Noise(N))T, and DC=DC×1, where 1=(1,1, . . . , 1)T is a vector of length N with all the elements in the vector being 1, then Equation (6) above may be re-written into a vector form in Equation (7) as follows:
y=rx+a(m,n)×ref+Noise+DC×1 (7)
Based on the captured data vector y and ref, a mean squared error (MSE) criterion may be used to determine an estimation of a coefficient of an IMD2 term and a DC level, such that Equation (8) below may be minimized:
where ∥ν∥2=νTν, and ν is an N×1 real vector. From Equation (8) above, Equation (9) may be obtained as follows:
where =mean(y)−{circumflex over (β)}×mean(ref), and
and
are averaged values of received samples and reference samples, respectively.
The estimation of {circumflex over (β)} is a cross-correlation between two vectors (with DC removal from one of the vectors, but not necessarily from both vectors), which is normalized by the DC removed reference samples. DC removal may be performed on either transmitted samples or received samples. In addition, the sign of {circumflex over (β)} may be determined by the cross-correlation.
Referring to
The I-mixer 401 includes a first input, a second input for receiving an I-mixer DAC code setting from the adaptive tuning module 419, and an output.
The Q-mixer 403 includes a first input connected to the input of the I-mixer 401, a second input for receiving a Q-mixer DAC code setting from the adaptive tuning module 419, and an output.
The first LPF 405 includes an input connected to the output of the I-mixer 401, and an output.
The second LPF 407 includes an input connected to the output of the Q-mixer 403, and an output.
The first ADC 409 includes an input connected to the output of the first LPF 405, and an output.
The second ADC 411 includes an input connected to the output of the second LPF 407, and an output.
The first RX data capture buffer 413 includes an input connected to the output of the first ADC 409, and an output.
The second RX data capture buffer 415 includes an input connected to the output of the second ADC 411, and an output.
The DC removal unit 417 includes a first input connected to the output of the first RX data capture buffer 413, a second input connected to the output of the second RX data capture buffer 415, a first output, and a second output.
The adaptive tuning module 419, includes a first input connected to the first output of the DC removal unit 417, a second input connected to the second output of the DC removal unit 417, a third input from the reference generator 423, a fourth input for receiving a predetermined step size for each of the I-mixer 401 and the Q-mixer 403, a first output connected to the second input of the I-mixer 401, and a second output connected to the second input of the Q-mixer 403. The step sizes for the I-mixer 401 and the Q-mixer 403 may be the same or may be different from at least one of the other steps sizes according to the four regions indicated in
The TX data capture buffer 421 includes an input, and an output.
The reference generator 423 includes an input connected to the output of the TX data capture buffer 421, and an output connected to the third input of the adaptive tuning module 419.
Referring to
The I-mixer 501 includes a first input, a second input for receiving an I-mixer DAC code setting from the adaptive tuning module 517, and an output.
The Q-mixer 503 includes a first input connected to the input of the I-mixer 501, a second input for receiving a Q-mixer DAC code setting from the adaptive tuning module 517, and an output.
The first LPF 505 includes an input connected to the output of the I-mixer 501, and an output.
The second LPF 507 includes an input connected to the output of the Q-mixer 503, and an output.
The first ADC 509 includes an input connected to the output of the first LPF 505, and an output.
The second ADC 511 includes an input connected to the output of the second LPF 507, and an output.
The first RX data capture buffer 513 includes an input connected to the output of the first ADC 509, and an output.
The second RX data capture buffer 515 includes an input connected to the output of the second ADC 511, and an output.
The adaptive tuning module 517 includes a first input connected to the output of the first RX data capture buffer 513, a second input connected to the output of the second RX data capture buffer 515, a third input from the DC removal unit 523, a fourth input for receiving a predetermined step size for each of the I-mixer 501 and the Q-mixer 503, a first output connected to the second input of the I-mixer 501, and a second output connected to the second input of the Q-mixer 503. The step sizes for the I-mixer 501 and the Q-mixer 503 may be the same or may be different from at least one of the other step sizes according to the four regions indicated in
The TX data capture buffer 519 includes an input, and an output.
The reference generator 521 includes an input connected to the output of the TX data capture buffer 519, and an output.
The DC removal unit 523 includes an input connected to the output of the reference generator 521, and an output connected to the third input of the adaptive tuning module 517.
Referring to
The cross correlation unit 601 includes a first input for receiving DC-removed RX data in the I-path, a second input for receiving DC-removed RX data in the Q-path, a third input for receiving a TX reference signal, and an output.
The adaptive updating unit 603 includes an input connected to the output of the cross correlation unit 601, and an output. The calculations performed by the adaptive updating unit 603 are shown in Equations (10)-(15) as follows:
stepx=cross_val_I×cos(θ0)−cross_val_Q×sin(θ0) (10)
stepy=crossval
dac_code_acc_I=μ×stepx÷√{square root over (stepx2+stepy2)} (12)
dac_code_acc_Q=μ×stepy÷√{square root over (stepx2+stepy2)} (13)
dac_code_I=round(dac_code_acc_I) (14)
dac_code_Q=round(dac_code_acc_Q) (15)
where θ0 is a degree of a slope of a line of valley points of a plot of second order intermodulation (IM2) tone amplitude, I-mixer digital-to-analog (DAC) code, and Q-mixer DAC code based on amplitudes of imaginary parts of a discrete Fourier transform (DFT) of captured data (e.g., a degree of a slope of line B in
The multiplier 605 includes a first input connected to the output of the adaptive updating unit 603, a second input for receiving a predetermined step size for each of the I-mixers 401, 501 and the Q-mixers 403, 503, and an output. The predetermined step sizes may be the same or may be different from at least one of the other step sizes according to the four regions indicated in
The adder 607 includes a first input connected to the output of the multiplier 605, a second input connected to the output of the accumulator 609, and an output.
The accumulator 609 includes an input connected to the output of the adder 607, and an output connected to the second input of the adder 607 and an input of the rounding unit 611.
The rounding unit 611 includes an input connected to the output of the accumulator 609, a first output for tuning the I-mixers 401, 501, and a second output for tuning the Q-mixers 403, 503.
According to one embodiment, a sign block may be included in the adaptive tuning module 419, 517 to reduce a fixed-point computation burden, since the magnitude of the output of the cross correlation unit 601 may be absorbed into the step size.
Referring to
The first multiplier 701 includes a first input for receiving RX data in the I-path, a second input for receiving RX data in the Q-path, a third input for receiving a TX reference signal, and an output.
The adaptive updating unit 703 includes an input connected to the output of the first multiplier 701, and an output.
The second multiplier 705 includes a first input connected to the output of the adaptive updating unit 703, a second input for receiving a predetermined step size for each of the I-mixers 401, 501 and the Q-mixers 403, 503, and an output. The predetermined step sizes may be the same or may be different from at least one of the other step sizes according to the four regions indicated in
The adder 707 includes a first input connected to the output of the second multiplier 705, a second input connected to the output of the accumulator 709, and an output.
The accumulator 709 includes an input connected to the output of the adder 707, and an output connected to the second input of the adder 707 and to the rounding unit 711.
The rounding unit 711 includes an input connected to the output of the accumulator 709, a first output for tuning the I-mixers 401, 501, and a second output for tuning the Q-mixers 403, 503.
According to one embodiment, inputs may be processed on a sample basis instead of on a vector basis. In addition, the DC removal unit 417, 523 in
Referring to
At 803, a cross correlation unit computes a cross correlation value between DC-removed receiver (RX) captured data and the reference signal.
At 805, an adaptive tuning module computes stepx as represented in Equation (10) above.
At 807, the adaptive tuning module further stepy as represented in Equation (11) above.
At 809, the adaptive tuning module further computes dac_code_acc_I as represented in Equation (12) above.
At 811, the adaptive tuning module further computes dac_code_acc_Q as represented in Equation (13) above.
At 813, the adaptive tuning module further computes dac_code_I as represented in Equation (14) above.
At 815, the adaptive tuning module further computes dac_code_Q as represented in Equation (15) above.
At 817, the the present method determines if each of the dac_code_I and the dac_code_Q converges.
At 819, if each of the dac_code_I and the dac_code_Q does not converge then the present method updates the dac_code_I and the dac_code_Q, identifies the next data capture, and returns to 803.
At 821, if each of the dac_code_I and the dac_code_Q converges then the present method terminates.
Although certain embodiments of the present disclosure have been described in the detailed description of the present disclosure, the present disclosure may be modified in various forms without departing from the scope of the present disclosure. Thus, the scope of the present disclosure shall not be determined merely based on the described embodiments, but rather determined based on the accompanying claims and equivalents thereto.
This application claims priority under 35 U.S.C. §119(e) to a U.S. Provisional Patent Application filed on Mar. 18, 2016 in the United States Patent and Trademark Office and assigned Ser. No. 62/310,174, the entire contents of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
7130579 | Rael | Oct 2006 | B1 |
7773967 | Smith | Aug 2010 | B2 |
8000676 | Kim et al. | Aug 2011 | B2 |
8010074 | Kaczman et al. | Aug 2011 | B2 |
8060043 | Pratt | Nov 2011 | B2 |
8073078 | Kaczman et al. | Dec 2011 | B2 |
8121571 | Kushnir et al. | Feb 2012 | B2 |
8150350 | Pratt et al. | Apr 2012 | B2 |
8718574 | Panikkath et al. | May 2014 | B2 |
8774747 | Hyun et al. | Jul 2014 | B2 |
8787864 | Leung | Jul 2014 | B2 |
9002310 | Dufrêne et al. | Apr 2015 | B2 |
9065537 | Georgantas et al. | Jun 2015 | B2 |
9178559 | Aoulad Ali et al. | Nov 2015 | B2 |
9197279 | Manku | Nov 2015 | B2 |
9444559 | Jiang | Sep 2016 | B2 |
20070173220 | Kim et al. | Jul 2007 | A1 |
20140226759 | Han et al. | Aug 2014 | A1 |
20140355456 | Jiang et al. | Dec 2014 | A1 |
20150256214 | Lee | Sep 2015 | A1 |
20150333850 | Myoung et al. | Nov 2015 | A1 |
Number | Date | Country |
---|---|---|
10-0598372 | Jun 2006 | KR |
Entry |
---|
Dufrene, K., et al., Digital adaptive iip2 calibration scheme for cmos downconversion mixers IEEE Journal of Solid-State Circuits, pp. 2434-2445, vol. 43, No. 11, Nov. 2008. |
Zhijian Lu et al., Adaptive calibration of iip2 in direct down-conversion mixers with modified lms algorithm Circuits and Systems (ISCAS), 2011 IEEE International Symposium, Date of Conference: May 15-18, 2011, pp. 542-545 ISSN : 0271-4302 E-ISBN : 978-1-4244-9472-9 Print ISBN: 978-1-4244-9474-3-11 INSPEC Accession No. 12522938. |
Peichen Jiang et al., All-Digital Adaptive Module for Automatic Background IIP2 Calibration in CMOS Downconverters With Fast Convergence, IEEE Transactions on Circuit and Systems, vol. 60, No. 7, Jul. 2013, pp. 427-431. |
Number | Date | Country | |
---|---|---|---|
62310174 | Mar 2016 | US |