# Patent

## Title
Coherent adaptive calibration system and method

## Abstract

A receiver is adaptively calibrated by using a coherent reference signal. The reference signal is selected to be offset from a center frequency of the calibration signal such that the resultant product is offset from baseband by some small amount. The resultant product is used to determine a next value of the calibration parameters.

## Background
REFERENCE TO PRIOR APPLICATION
This application is a continuation of application Ser. No. 09/325,073, filed Jun. 3, 1999, now U.S. Pat. No. 6,535,560.


BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a wireless communications. More particularly, the present invention relates to adaptive calibration of a receiver system.
2. Description of the Related Art
With the advent and proliferation of digital communications systems, the need for low cost, high performance radio receivers continues to accelerate. These needs have prompted a strong interest in the development of direct conversion receiver architectures that implement a single conversion from a wireless link carrier frequency to a baseband frequency. The reduced complexity of direct conversion receivers holds great potential for reduced cost and increased performance.
Many modern digital communications systems use a form of quadrature modulation in which the wireless signal includes in-phase (I) and quadrature (Q) components which carry information with a relative phase offset of 90°. Typically, the in-phase and quadrature components are received using two distinct signal paths within a direct conversation receiver. Any difference in the gain or phase between the two paths corrupts the information in the signal. In addition, any DC offset or low frequency noise voltage which is generated by the receiver also corrupts the information in the signal.
In order to reduce the corruption, direct conversion receivers often employ an adaptive calibration mechanism. For example, prior art systems have been proposed which include a non-coherent adaptive calibration mechanism. However, such non-coherent adaptive calibration mechanisms exhibit high noise figures and, thus, do not accurately calibrate for receiver imperfections.
Therefore, there is a need in the art to develop an adaptive calibration system which provides accurate, low noise calibration.
SUMMARY OF THE INVENTION
A coherent adaptive calibration receiver and method is used to adjust for errors within a receiver, such as, for example, a direct conversion receiver used to receive a radio frequency signal. A series of first channel signal samples are summed with a first channel offset correction parameter to produce a corrected series of first channel samples. A series of second channel signal samples are summed with a second channel offset correction parameter and then multiplied by a gain imbalance correction parameter and summed with a product of the corrected series of the first channel samples and a phase error correction parameter to create a corrected set of second channel samples. When corrected, the first and second channels are orthogonal to one another.
The corrected series of first channel samples are multiplied with a first sinusoidal waveform to determine a first product. The corrected series of second channel samples are multiplied with a second sinusoidal waveform to determine a second product, the second sinusoidal waveform being 90 degrees out of phase with the first sinusoidal waveform.
The first product is filtered to determine a first channel gain imbalance measurement. The second product is filtered to determine a second channel gain imbalance measurement. A next value of the gain imbalance correction parameter is determined based upon the first and second channel gain imbalance measurements. In one embodiment, the multiplication and filtering are performed digitally.
Alternatively or in addition, the corrected series of second channel samples is multiplied with the first sinusoidal waveform to determine a third product. The third product is filtered to determine a phase error measurement. A next value of the phase correction parameter is determined based upon the first gain imbalance measurement and the phase error measurement.
In one embodiment, the invention is embodied in a receiver. The receiver has a first summer configured to sum a series of first channel signal samples with a first channel offset correction parameter to produce a corrected series of first channel samples. The receiver also has a first multiplier configured to multiply the corrected series of the first channel samples and a phase error correction parameter. A second summer is configured to sum a series of second channel signal samples with a second channel offset correction parameter. A second multiplier is configured to multiply an output of the second summer by a gain imbalance correction. A third summer is configured to sum an output of the first multiplier and the second multiplier to create a corrected set of second channel samples, wherein the second channel is orthogonal to the first channel. A third multiplier is configured to multiply the corrected series of first channel samples by a first digitized sinusoidal waveform. A fourth multiplier configured to multiply the corrected series of second channel samples by a second digitized sinusoidal waveform, the second digitized sinusoidal waveform being 90 degrees out of phase with the first digitized sinusoidal waveform. A first digital filter configured to filter an output of the third multiplier to determine a first channel gain imbalance measurement. A second digital filter configured to filter an output of the fourth multiplier to determine a second channel gain imbalance measurement. A calculator configured to determine a next value of the gain imbalance correction parameter based upon the first and second channel gain imbalance measurements.
In another embodiment, the invention is embodied in a receiver which has a first summer configured to sum a series of first channel signal samples with a first channel offset correction parameter to produce a corrected series of first channel samples. A first multiplier is configured to multiply the corrected series of the first channel samples and a phase error correction parameter. A second summer is configured to sum a series of second channel signal samples with a second channel offset correction parameter. A second multiplier is configured to multiply an output of the second summer by a gain imbalance correction. A third summer is configured to sum an output of the first multiplier and the second multiplier to create a corrected set of second channel samples, wherein the second channel is orthogonal to the first channel. A third multiplier is configured to multiply the corrected series of first channel samples by a first digitized sinusoidal waveform. A fourth multiplier is configured to multiply the corrected series of second channel samples by the first sinusoidal waveform to determine a third product. A first digital filter is configured to filter an output of the third multiplier to determine a first channel gain imbalance measurement. A second digital filter configured to filter an output of the fourth multiplier to determine a phase error measurement. A calculator configured to determine a next value of the phase correction parameter based upon the first gain imbalance measurement and the phase error measurement.



BRIEF DESCRIPTION OF THE DRAWINGS
The features, objects and advantages of the present invention will become more apparent from the detailed description set forth below when taken in conjunction with the drawings in which like reference characters correspond throughout, and wherein:
FIG. 1 is a block diagram of a communication system comprising a direct conversion receiver and an adaptive calibration system according to the invention.
FIG. 2 is a block diagram of a direct conversion receiver according to the invention.
FIG. 3 is a block diagram showing the correction and measurement circuit of the direct conversion receiver in greater detail.
FIG. 4 is a block diagram showing a portion of the measurement circuit and a portion of the functions carried out by the digital processor.
FIG. 5 is a flow chart for determining the gain imbalance parameter.
FIG. 6 is a flow chart for determining a phase offset error parameter.



DETAILED DESCRIPTION OF THE INVENTION
Adaptive calibration is used to compensate for corruption introduced by a receiver. Adaptive calibration involves the measurement of current corruption, the calculation of updated correction parameters and the application of the updated correction parameters to the received signal. The process is iterative, and the calibration parameters adapt to the current operation conditions. For example, the corruption introduced by the receiver is typically a function of the frequency of operation and the temperature of operation. Thus, the corruption introduced by the receiver changes as a function of time. The iterative nature of adaptive calibration allows for compensation of such time varying operation. Corruption introduced by the receiver can create errors in the resulting digital bits output by the receiver and, thus, degrades the overall system performance.
FIG. 1 is a block diagram of a communication system 100. The communication system comprises an adaptive calibration system and method according to the invention for compensating for gain imbalances, quadrature errors and direct current (DC) and low frequency offset errors that occur in the implementation of a direct conversation digital receiver. An antenna and duplexer 102 couple the communication system 100 to and from a wireless link. In one embodiment, the antenna and duplexer 102 comprises a bandpass filter which functions to reduce the level of interfering signals outside of the range of received frequencies and prevents the aliasing of out of band energy into the signal band. The antenna and duplexer 102 couple receive signals from the wireless link to a single pole, double throw switch 106. Alternatively, as explained in more detail below, the switch 106 can be embodied as a coupler. In either case, the switch 106 couples receive signals from the antenna and duplexer 102 to a direct conversion receiver 110 (which is explained more fully below). The direct conversion receiver 110 receives the modulated signal at the wireless carrier frequency (fc) and produces in-phase (I) and quadrature (Q) filtered signal samples. The antenna and duplexer 102 couple transmission signals from a transmitter 104 to the wireless link.
The I and Q filtered signal samples are output by the direct conversion receiver 110 to a digital processor 112. The digital processor 112 digitally demodulates the signal samples. In addition to many other functions, the digital processor 112 also provides frequency control, a signal waveform clock and transmission data. In one embodiment, the digital processor 112 is a general purpose microprocessor executing software code. Alternatively, the functions of the digital processor 112 can be implemented in an application specific integrated circuit (ASIC), with discrete hardware components, with software or with a combination of these.
As noted above, the communication system 100 incorporates an adaptive calibration system. The adaptive calibration system is used to compensate for corruption introduced by the direct conversion receiver 110. The adaptive calibration system is comprised of three functions: measurement, calculation and correction. In order to implement these functions, a calibration signal is generated and passed through the direct conversion receiver 110 and the results are analyzed by an adaptive measurement and calibration algorithm within the direct conversion receiver 110 and digital processor 112. For example, in one embodiment, during standard mode operation, a transmit frequency synthesizer 114 is used to generate a conversion signal for use within the transmitter 104. During calibration mode, the transmit frequency synthesizer 114 generates the RF calibration signal at the RF calibration frequency (f0). A single pole, double throw switch 108 under the control of the digital processor 112 couples the output of the transmit frequency synthesizer 114 to either the switch 106 or the transmitter 104. (In one embodiment, the switch 108 and the switch 106 are embodied in a single integrated component using techniques well known in the art of switching.) During calibration mode, the switch 108 couples the RF calibration signal through the switch 106 to the direct conversion receiver 110. The direct conversion receiver 110 down-converts the calibration signal in the same manner as the wireless link RF carrier signal and generates I and Q filtered calibration samples for measurement. The direct conversion receiver 110 measures the errors introduced by the signal paths. Based on the measurements, the digital processor 112 calculates a series of calibration parameters and passes the calibration parameters to the direct conversion receiver 110. The direct conversion receiver 110 uses the calibration parameters in order to correct for the measured errors.
The communication system 100 operates in one of two operational modes: standard operation mode and calibration mode. In standard operation mode, the direct conversion receiver 110 uses the current correction parameters to compensate for corruption. In standard operation mode, the communications system 100 does not perform the measurement and calculation functions.
In calibration mode, the direct conversion receiver 110 measures the current operating conditions. Three different calibration modes are possible. Any one implementation can incorporate one, two or all three calibration modes. The three calibration modes are (1) concurrent external calibration mode, (2) concurrent internal calibration mode and (3) exclusive internal calibration mode.
During both internal calibration modes, the communication system 100 generates a calibration signal which is coupled to the direct conversion receiver 110. In concurrent internal calibration, the switch 106 functions as a coupler and the calibration signal is coupled to the direct conversion receiver 110 in addition to the wireless link signals received from the antenna and duplexer 102. In exclusive internal calibration mode, the switch 106 acts as a single pole, double throw switch which couples the input of the direct conversion receiver 110 to the calibration signal and decouples the direct conversion receiver 110 from the wireless link signal input from the antenna and duplexer 102.
In the external calibration mode, one of the input communication signals is used as the calibration signal. For example, the wireless link carries a calibration signal in the form of a constant waveform (CW) or narrow band data signal. In such a case, the switch 106 simply couples the output of the antenna duplexer 102 directly to the direct conversation receiver 110. Use of a communication signal for calibration eliminates the cost associated with generation of a separate calibration signal. The disadvantage of such operation is a reduction in overall system capacity and performance and the possibility of an increased noise level associated with the calibration process.
As noted above, during calibration mode, the measurement and calculation functions are executed. If accurate measurements and correct calculations can be achieved while operating in concurrent internal calibration mode, it is the preferred calibration mode. However, if prevailing conditions, such as the current operating levels of the wireless link signals, prevent accurate measurement in concurrent internal calibration mode, one of the other calibration modes can be used.
In the embodiment shown in FIG. 1, the calibration signal is generated by the transmit frequency synthesizer 114. The generation of the calibration signal by the transmit frequency synthesizer 114 provides an efficient architecture especially in those systems in which full duplex operation is not required. For example, in a Global System of Mobile Communications (GSM) system and in an United States Time Division Multiple Access (TDMA) system operating according to IS-54, the transmit and receive functions are time multiplexed leaving the transmit frequency synthesizer 114 idle during receive periods. Also, in such a TDMA system, the use of exclusive internal calibration mode during the period where no receive signal is directed towards the communication system 100 can provide an accurate measurement without sacrificing significant system performance. In an alternative embodiment, the calibration signal is generated by another frequency synthesizer such as, for example, a dedicated calibration signal synthesizer. A dedicated synthesizer can be used in a full duplex system, such as a CDMA system, and if re-calibration is required more often than the duty cycle of the transmitter permits.
FIG. 2 is a block diagram showing the direct conversion receiver 110 in greater detail. The direct conversion receiver 110 is comprised of a direct converter 120 which implements the actual down-conversion of the wireless link and calibration signals. For example, in one embodiment, the conversion is accomplished using translating delta-sigma modulators and decimation filtering. In another embodiment, the direct converter 120 is implemented using standard balanced mixers or other continuous time elements and the resultant analog signal is digitized in an analog-to-digital converter. In either case, the direct converter 120 comprises both an I path and a Q path and outputs in-phase path digital samples, YI[m], and quadrature path digital samples, YQ[m].
The output of the direct converter 120 is coupled to a correction and measurement circuit 122. The correction and measurement circuit 122 applies the current correction parameters to the digital samples. The correction and measurement circuit 122 outputs the corrected digital samples for the in-phase path, UI[k], and quadrature path, UQ[k], to the digital processor 112.
In calibration mode, the correction and measurement circuit 122 applies calibration parameters to the calibration signal. The correction and measurement circuit 122 then measures the resultant signal and generates measured parameters, CI(j,fRX), CQ(j,fRX), Cβ-I(j,fRX,fλ) Cβ-Q(j,fRX,fλ) and Cφ(j,fRX,fλ) (each of which is explained more fully below) and supplies them to the digital processor 112.
A receive frequency synthesizer and clock generator 126 receives frequency control information from the digital processor 112 and a clock waveform from the digital processor 112. The synthesizer 126 produces a conversion reference signal having a frequency, fRX, approximately equal to or equal to a multiple of the RF carrier frequency of the wireless link signal which is currently being received. In addition, the synthesizer 126 produces a clock which is used by the analog-to-digital conversion process within the direct converter 120 and also by the correction and measurement circuit 122 to maintain synchronization between its input and its output.
In the preferred embodiment, during any one of the calibration modes, a calibration signal having a frequency f0 is input into the direct converter 120. The direct converter 120 translates the calibration signal to a baseband frequency fOBB=fRX−fO. During concurrent mode calibration, the down-converted calibration frequency, fOBB, where fOBB is greater than zero, is chosen to be outside of the bandwidth of the signals of interest so as not to interfere with the signals of interest.
FIG. 3 is a block diagram showing the correction and measurement circuit 122 in greater detail. Within the correction and measurement circuit 122, a multiplexer and clock distributor 130 receives the calibration parameters from the adaptive calibration algorithm and distributes them within the circuit 122. The value of the calibration parameters is dependent upon the conversation frequency, fRX, as well as time due to the iterative nature of the adaptive calibration as indicated by iteration indication variable, j. A summer 132 sums the I path digital samples, YI[m], with a offset correction parameter, RI-Offset(j,fRX), as determined by an I-offset correction block 134 based upon the output of the multiplexer and clock distributor 130. The I-offset correction block 134 compensates for the DC offset and low frequency error in the I path.
The output of the summer 132 is coupled to a delay unit 136. The delay unit 136 adds a delay in the I path to compensate for the additional computational delays associated with the Q path so that the I and Q path exhibit the same overall delay. The output of the summer 132 is also coupled to a multiply unit 138 used to provide phase error correction as explained more fully below.
The output of the delay unit 136 comprises the corrected signal samples in standard mode, internal concurrent calibration mode and external concurrent calibration mode. In addition, in any one of the calibration modes the corrected signal samples, UI[k], comprise a corrected calibration signal. For example, Equation 1 below shows the relationship between the digital samples, YI[m], and the corrected samples, UI[k].

UI(k)=YI(m)+RI-Offset(j,fRX)  Eq. 1

wherein:

    
    
        RI-Offset(j, fRX) is the value of the j-th offset correction parameter for the in-phase path at the conversion frequency, fRX.
    
    


The Q path digital samples, YQ[m], are input into a summer 140. The summer 140 sums an offset correction parameter, RQ-Offset(j,fRX), to the Q path samples as determined by a Q-offset correction block 142 based upon the output of the multiplexer and clock distributor 130. The Q-offset correction block 142 compensates for the DC offset and low frequency error in the Q path.
The output of the summer 140 is multiplied by a Q path gain correction parameter, RQ-Q(j,fRX), in a multiply unit 144 as determined by the output of a gain imbalance correction unit 145 based upon the output of the multiplexer and clock generator 130. The multiply unit 144 compensates of gain imbalance between the I path and the Q path.
The multiply unit 138 multiples the corrected I path samples by a phase error correction parameter, RI-Q(j,fRX), as determined by the output of a phase correction block 139 based upon the output of the multiplexer and clock distributor 130. The output of the multiply unit 138 is summed with the output of the multiply unit 144 in a summer 146. The phase correction block 139, multiply unit 138 and summer 146 compensate for errors in the ideally 90 degree phase offset between the I path and the Q path. The resulting relationship between the digital samples, YQ[m], and the corrected samples, UQ[k], is given below in Equation 2.

UQ(k)=RQ-Q(j,fRX){YQ(m)+RQ-Offset(j,fRX)}+RI-Q(j,fRX){YI(m+RI-Offset(j,fRX)}  Eq. 2

wherein:

    
    
        RQ-Offset(j,fRX) is the value of j-th offset correction parameter for the quadrature path at the conversion frequency, fRX;
        RQ-Q(j,fRX) is the value of the j-th quadrature path gain imbalance correction parameter at the conversion frequency, fRX; and
        RI-Q(j,fRX) is the value of the j-th phase correction parameter at the conversion frequency, fRX.
    
    


As noted above, the correction parameters are a function of the conversion frequency and are adaptive and thus change over time. This dependency on frequency and time is shown by the parenthetical following the correction parameters as shown in both Equations 1 and 2.
The output of the summer 146 comprises signal samples in standard mode and in concurrent internal and external calibration modes. In addition, during any of the calibration modes, the output of the summer 146 comprises a calibration signal at the down-converted baseband frequency, fOBB.
Equations 3 and 4 provide a mathematical representation of the samples input to the in-phase and quadrature paths of the correction and measurement circuit 122.

YI[m]=cos [2πfOBBTsm]+NI(m)+ηI(m)  Eq. 3

YQ[m]=A sin [2πfOBBTsm+Δ]+NQ(m)+ηQ(m)  Eq. 4

wherein:

    
    
        A is the gain of the Q channel normalized with respect to the I channel gain for calibration signal at fRX;
        Δ is the phase error of the quadrature path with respect to the I channel at frequency fRX;
        NI(m) is the I channel interference components which include quantized and filtered signals, interference, quantization noise, high frequency modulation products, and quantized thermal noise;
        NQ(m) is the Q channel interference components which include quantized and filtered signals, interference, quantization noise, high frequency modulation products, and quantized thermal noise;
        ηI(m) is the I channel DC and low frequency noise;
        ηQ(m) is the Q channel DC and low frequency noise;
        Ts is the sample rate of YI[m] and YI[m]; and
        fOBB is the translated calibration frequency, i.e. [fOBB=fTX−fRX].
    
    


In Equations 3 and 4 it is assumed, for simplicity, that the initial phase of the calibration signal at the input to the correction and measurement circuit 122 is zero. Substituting Equations 3 and 4 into Equations 1 and 2 respectively yields Equations 3A and 4A respectively:

UI[k]=cos [2πfOBBTsk]+NI(k)+ηI(k)+RI-Offset(j,fRX)  Eq. 3A

UQ(k)=

RQ-Q(j,fRX){A sin [2πfOBBTsk+Δ]+NQ(k)+

ηQ(k)+RQ-Offset(j,fRX)}+

RI-Q(j,fRX){cos [2πfOBBTsk]+NI(k)+ηI(k)+

RI-Offset(j,fRX)}

=RQ-Q(j,fRX)A sin [2πfOBBTsk+Δ]+RI-Q(j,fRX){

cos [2πfOBBTsk]

+RQ-Q(j,fRX){NQ(k)+ηQ(k)+RQ-Offset(j,fRX)}

+RI-Q(j,fRX){NI(k)+ηI(k)+RI-Offset(j,fRX)}

=RQ-Q(j,fRX)A cos Δ sin [2πfOBBTsk]+{RQ-Q(j,fRX)A 

sin Δ+

RI-Q(j,fRX)} cos [2πfOBBTsk]

+RQ-Q(j,fRX){NQ(k)+ηQ(k)+RQ-Offset(j,fRX)}

+RI-Q(j,fRX){NI(k)+ηI(k)+RI-Offset

(j,fRX)}  Eq. 4A

From Equations 3A and 4A, the I and Q paths are balanced with no quadrature error at fRX when RQ-Q(j,fRX) and RI-Q(j,fRX) are adjusted so that RQ-Q(j,fRX)A cos Δ=1 and RI-Q(j,fRX)=−RQ-Q(j,fRX)A sin Δ. This adjustment is accomplished using the adaptation algorithm of the invention.
An I-offset measurement unit 148 receives the corrected samples, UI[k], as well as start and stop commands from the multiplexer and clock distributor 130 which determine the duration of the measurement. The I-offset measurement unit 148 filters the corrected samples using techniques well known in the art to produce a corresponding measurement parameter, CI(j,fRX), reflecting either the DC or low frequency offset or both found within the signal. The I-offset measurement unit 148 is shown in more detail in FIG. 4 and discussed more fully below.
Likewise, a Q-offset measurement unit 156 receives the Q path corrected samples, UQ[k], and start and stop commands from the multiplexer and clock distributor 130 in order to determine the corresponding measurement parameter, CQ(j,fRX) reflecting either the DC or low frequency offset or both found in the signal. The Q-offset measurement unit 156 is shown in more detail in FIG. 4 and discussed more fully below.
In contrast to the gain imbalance and phase correction calibration explained in more detail below, the DC and low frequency correction can be made both during calibration mode and during standard operation. Therefore, in one embodiment, the DC calibration functions performed by I-offset measurement unit 148 and Q-offset measurement unit 156 can continue to adapt independent of the mode of operation.
According to the known techniques, such as those disclosed in U.S. Pat. No. 5,604,929 entitled “System for Correcting Quadrature Gain and Phase Error in a Direct Conversion Single Sideband Receiver Independent of the Character of the Modulated Signal”, one way to determine the amplitude of the calibration signal components of the corrected samples is to square the corrected samples. For example, squaring the corrected digital samples for the in-phase path, UI[k], generates a DC component having an amplitude proportional to the amplitude of the in-phase path calibration signal according to well known mathematical principles. However, such non-coherent detection also results in the generation of a series of DC components due to noise and interference present in the signals. The DC components corrupt the measurement made during the calibration process. Due to the noise component, such non-coherent measurement generates an inaccurate measurement of the amplitude of the calibration signal.
In contrast, the invention uses coherent measurement of the amplitude of the down-converted calibration signal. It would be ideal if the Q path corrected samples could be directly subtracted from the I path corrected samples. However, I path component of the calibration signal is approximately 90 degrees out of phase with the Q path component. For example, if the I path component comprises a cosine term, the Q path component comprises a sine term. Thus, the I path and Q path components amplitudes cannot be directly subtracted from one another.
In order to perform coherent adaptive calibration, the I path channel samples, UI(k), are multiplied by a cosine wave (or square wave having an equivalent phase relationship) having a frequency fλ which is approximately, but not exactly, equal to the baseband frequency of the down-converted calibration signal, fOBB. In addition, the Q path corrected samples, UQ(k), are multiplied by a sine wave (or square wave having an equivalent phase relationship) at frequency fλ. A calibration reference generator 152 generates the measurement reference waveforms at frequency fλ determined by a parameter received from the multiplexer and clock distributor 130.
Both the I path corrected samples, UI[k], and the Q path corrected samples, UQ[k], are coupled to an I/Q gain imbalance measurement unit 150. The I/Q gain imbalance measurement unit 150 aids in determining the relative amplitude of I and Q paths by examination of the I path calibration signal amplitude and the Q path calibration signal amplitude using the sinusoidal signals generated by the calibration reference generator 152 and start and stop commands from the multiplexer and clock distributor 130. The I/Q gain imbalance measurement unit 150 is shown in more detail in FIG. 4 and discussed more fully below.
Likewise, a phase error measurement unit 154 receives the Q path corrected samples, UQ[k], and start and stop commands from the multiplexer and clock distributor 130 using the sinusoidal signals generated by the calibration reference generator 152. The quadrature error measurement unit 154 is shown in more detail in FIG. 4 and discussed more fully below.
As illustrated in FIG. 4, the I-offset measurement unit 148 is shown to comprise a digital filter 170 and a sample rate compressor 172. Equation 5 expresses mathematically the relationship between the I path channel samples, UI[k], input into the I-offset measurement unit 148 and the measurement parameter, CI[j,fRX], output by the I-offset measurement unit 148. 



  
    
      
        
          
            C
            I
          
          ⁡
          
            [
            
              j
              ,
              
                f
                RX
              
            
            ]
          
        
        =
        
          
            ∑
            
              k
              =
              
                K
                ·
                
                  (
                  
                    j
                    -
                    1
                  
                  )
                
              
            
            
              K
              ·
              j
            
          
          ⁢
          
             
          
          ⁢
          
            
              
                h
                I
              
              ⁡
              
                (
                
                  
                    K
                    ·
                    j
                  
                  -
                  k
                
                )
              
            
            ⁢
            
              {
              
                
                  U
                  I
                
                ⁡
                
                  [
                  k
                  ]
                
              
              }
            
          
        
      
    
    
      
        Eq
        .
        
           
        
        ⁢
        5
      
    
  




where:

    
    
        hI(k) is the unit sample response of the digital low pass filter 170; and
        K is the number of samples used in measurement by the sample rate compressor 172.
    
    


The output of the I-offset measurement unit 148 is input into an I-offset adaptive correction algorithm 200 which, in one embodiment, implements a stochastic gradient algorithm where the delay constant and the correction gain constant are tailored to the receiver noise figure. In addition, the gain constant can be a function of time or the measured error magnitude. Further information concerning stochastic gradient algorithms can be found in J. G. Proakis et al., Advanced Digital Signal Processing, pp. 341-350, (Macmillan Publishing Co., New York (1992.)) Equation 6 below expresses mathematically the operation carried out by the I-offset adaptive correction algorithm 200 to determine the next value of the offset correction parameter, RI-Offset[j,fRX].

RI-Offset[j,fRX]=ρdcRI-Offset[(j−1),fRX]+αdcCI[j,fRX]  Eq. 6

where:

    
    
        ρdc is a delay constant; and
        αdc is a correction gain term.
    
    


The I/Q gain imbalance measurement unit 150 comprises a multiplier 174, a digital filter 176 and a sample rate compressor 178. Within the I/Q gain imbalance measurement unit 150, Equation 7 expresses mathematically the relationship between the I path channel samples, UI[k], input into the I/Q gain imbalance measurement unit 150 and the measurement, parameter, Cβ-I[j,fRX,fλ], output by the I/Q gain imbalance measurement unit 150. 



  
    
      
        
          
            C
            
              β
              ⁢
              
                -
              
              ⁢
              I
            
          
          ⁡
          
            [
            
              j
              ,
              
                f
                RX
              
              ,
              
                f
                λ
              
            
            ]
          
        
        =
        
          
            ∑
            
              k
              =
              
                K
                ·
                
                  (
                  
                    j
                    -
                    1
                  
                  )
                
              
            
            
              K
              ·
              j
            
          
          ⁢
          
             
          
          ⁢
          
            
              
                h
                β
              
              ⁡
              
                (
                
                  
                    K
                    ·
                    j
                  
                  -
                  k
                
                )
              
            
            ⁢
            
              {
              
                
                  
                    V
                    I
                  
                  ⁡
                  
                    (
                    k
                    )
                  
                
                ⁢
                
                  
                    U
                    I
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
              }
            
          
        
      
    
    
      
        Eq
        .
        
           
        
        ⁢
        7
      
    
  




where:

    
    
        hβ(k) is the unit sample response of the digital filter 176;
        K is the number of samples used in measurement; and
        VI(k) is the cosine wave measurement reference signal.
    
    


The I/Q gain imbalance measurement unit 150 is also shown to comprise a multiplier 180, a digital filter 182 and a sample rate compressor 184. Equation 8 expresses mathematically the relationship between the Q path channel samples, UQ[k], input into the I/Q gain imbalance measurement unit 150 and the measurement parameter, Cβ-Q[j,fRX,fλ], output by the I/Q gain imbalance measurement unit 150. 



  
    
      
        
          
            C
            
              β
              ⁢
              
                -
              
              ⁢
              Q
            
          
          ⁡
          
            [
            
              j
              ,
              
                f
                RX
              
              ,
              
                f
                λ
              
            
            ]
          
        
        =
        
          
            ∑
            
              k
              =
              
                K
                ·
                
                  (
                  
                    j
                    -
                    1
                  
                  )
                
              
            
            
              K
              ·
              j
            
          
          ⁢
          
             
          
          ⁢
          
            
              
                h
                β
              
              ⁡
              
                (
                
                  
                    K
                    ·
                    j
                  
                  -
                  k
                
                )
              
            
            ⁢
            
              {
              
                
                  
                    V
                    Q
                  
                  ⁡
                  
                    (
                    k
                    )
                  
                
                ⁢
                
                  
                    U
                    Q
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
              }
            
          
        
      
    
    
      
        Eq
        .
        
           
        
        ⁢
        8
      
    
  




where:

    
    
        hβ(k) is the unit sample response of the digital filter 182;
        K is the number of samples used in measurement; and
        VQ(k) is the sine wave measurement reference signal.
    
    


Applying the equations developed above for UI[k], Equation 9 illustrates mathematically, the operation carried out by the multiplier 174. The multiplier 174 multiples the value of UI[k], as defined by Equation 3A, by the cosine wave at fλ output by the calibration reference generator 152. Likewise, applying the equations developed above for UQ[k], Equation 10 illustrates mathematically the operation carried out by the multiplier 180. The multiplier 180 multiplies the value of UQ[k], as defined by equation 4A, by a sine wave at fλ output by the calibration reference generator 152.

cos [2πfλTsk]UI[k]

=cos [2πfλTsk]{cos [2πfOBBTsk]+NI(k)+ηI

(k)+RI-Offset(j,fRX)}

=1⁄2 cos [2π(fλ−fOBB)Tsk]

+{fraction (1/2)} cos [2π(fλ+fOBB)Tsk]+NI

(k)cos [2πfλTsk]

+{ηI(k)+RI-Offset(j,fRX)} cos [2πfλTsk]  Eq. 9

sin [2πfλTsk]UQ[k]

=RQ-Q(j,fRX)A cos Δ sin [2πfλTsk] sin [2πfOBBTsk]

+{RQ-Q(j,fRX)A sin Δ+RI-Q(j,fRX)} cos [2πfOBBTsk] 

sin [2πfλTsk]

+{RQ-Q(j,fRX)NQ(k)+RI-Q(j,fRX)NI(k)} sin [2

πfλTsk]

+{[ηQ(k)+RQ-Offset(j,fRX)]+[ηI(k)+RI-Offset(j,fRX)]

} sin [2πfλTsk]

={fraction (1/2)}RQ-Q(j,fRX)A cos Δ{cos [2π(fλ−fOBB)Tsk]

−cos [2π(fλ+fOBB)Tsk]}

+1⁄2{RQ-Q(j,fRX)A sin Δ+RI-Q(j,fRX)}{sin [2π(

fλ−fOBB)Tsk]

+sin [2π(fλ+fOBB)Tsk]}

+{RQ-Q(j,fRX)NQ(k)+RI-Q(j,fRX)NI(k)} sin [2

πfλTsk]

+{[ηQ(k)+RQ-Offset(j,fRX)]+[ηI(k)+RI-Offset

(j,fRX)]} sin [2πfλTsk]  Eq. 10

As shown mathematically by Equation 9A below, the filter 176 filters the terms having a frequency greater than fλ−fOBB which are output by the multiplier 174. As shown mathematically by Equation 10A below, the digital filter 182 filters out the terms having a frequency greater than fλ−fOBB which are output by the multiplier 180.

Filtered {cos [2πfλTsk]UI[k]}=1⁄2 cos [2π(fλ

−fOBB)Tsk]+ξI(k)  Eq. 9A

Filtered {sin [2πfλTsk]UQ[k]}

={fraction (1/2)}RQ-Q(j,fRX)A cos Δ{cos [2π(fλ−fOBB)Tsk]

+{fraction (1/2)}{RQ-Q(j,fRX)A sin Δ+RI-Q(j,fRX)} sin [2π(fλ

−fOBB)Tsk]+ξQ(k)  Eq. 10A

wherein:

    
    
        ξI(k) is the residual noise after the filtering by the filter 176; and
        ξQ(k) is the residual noise after the filtering by the filter 182.
    
    


The residual noise components can be further reduced by additional bandpass filtering centered at |fλ−fOBB|. Note that because the DC and low frequency contribution has been translated up to frequency fλ, it is effectively eliminated by filtering according to well known techniques. Thus, this process allows the I and Q imbalance correction parameter to be determined independent of the effectiveness of the DC and low frequency offset correction.
The output of the filter 176 is decimated in the sampling rate compressor 178 and coupled to an adaptive I-Q imbalance correction algorithm 202. Likewise, the output of the filter 182 is decimated in the sampling rate compressor 178 and coupled to the adaptive I-Q imbalance correction algorithm 202. The adaptive I-Q imbalance correction algorithm 202, in one embodiment, implements a stochastic gradient algorithm as described above. Equation 11 below expresses mathematically the operation carried out by the adaptive I-Q imbalance correction algorithm 202 to determine the next value of the correction parameter, RQ-Q(j,fRX).

RQ-Q[j,fRX,fλ]=ρβRQ-Q[(j−1),fRX,fλ]+αβ{[Cβ-I(j,fRX,fλ)−Cβ-Q(j,fRX,fλ))]Cβ-I(j,fRX,fλ)}  Eq. 11

where:

    
    
        Cβ-I(j,fRX,fλ) is the output of the sample rate compressor 178;
        Cβ-Q(j,fRX,fλ) is the output of the sample rate compressor 184;
        ρβ is a decay constant and the |ρβ|<1; and
        αβ is a correction gain term.
    
    


In Equation 11, the correction signal is the product of the difference, the term [Cβ-I(j,fRX,fλ)−Cβ-Q(j,fRX,fλ)] and the term Cβ-I(j,fRX,fλ) where both contain components due to the calibration signal at the frequency [fOBB−fλ]. By choosing fOBB and fλ so that [fOBB−fλ] is close to zero, the low pass filters 178 and 182 will only pass the calibration signal components at the frequency [fOBB−fλ] and narrowband thermal noise. The resultant product contains components at DC and 2[fOBB−fλ] that are proportional to the imbalance error plus some corruption of the DC term due to the residual narrowband thermal noise. This correction signal is further filtered by the adaptive I-Q imbalance correction algorithm 202 according to Equation 11, if the iteration rate and decay constant are selected so as to reject the component at the frequency of 2[fOBB−fλ]. This adaptive I-Q balance correction approach effectively implements a narrow bandpass filter around [fOBB−fλ] which represents an offset from the region around zero frequency, thereby ameliorating the effects of DC offset and low frequency corruption of the input signals UI[k] and UQ[k]. For example, Equation 12 given below expands the term {[Cβ-I(j,fRX,fλ)−Cβ-Q(j,fRX,fλ)]Cβ-I(j,fRX,fλ)} to illustrate the bandpass nature of the operation performed by the adaptive I-Q imbalance correction algorithm 202.




  
    
      
        
          
            
              
                
                  
                    C
                    
                      β
                      ⁢
                      
                        -
                      
                      ⁢
                      I
                    
                  
                  ⁡
                  
                    (
                    
                      j
                      ,
                      
                        f
                        RX
                      
                      ,
                      
                        f
                        λ
                      
                    
                    )
                  
                
                ⁢
                
                  {
                  
                    
                      
                        C
                        
                          β
                          ⁢
                          
                            -
                          
                          ⁢
                          I
                        
                      
                      ⁡
                      
                        (
                        
                          j
                          ,
                          
                            f
                            RX
                          
                          ,
                          
                            f
                            λ
                          
                        
                        )
                      
                    
                    -
                    
                      
                        C
                        
                          β
                          ⁢
                          
                            -
                          
                          ⁢
                          Q
                        
                      
                      ⁡
                      
                        (
                        
                          j
                          ,
                          
                            f
                            RX
                          
                          ,
                          
                            f
                            λ
                          
                        
                        )
                      
                    
                  
                  }
                
              
              =
            
          
        
        
          
            
              
                
                  Filtered
                  ⁢
                  
                    {
                    
                      cos
                      ⁡
                      
                        [
                        
                          2
                          ⁢
                          
                             
                          
                          ⁢
                          π
                          ⁢
                          
                             
                          
                          ⁢
                          
                            f
                            λ
                          
                          ⁢
                          
                            T
                            s
                          
                          ⁢
                          k
                        
                        ]
                      
                    
                    }
                  
                  ⁢
                  
                    
                      U
                      I
                    
                    ⁡
                    
                      [
                      k
                      ]
                    
                  
                
                }
              
              ⁢
              
                {
                
                  
                    
                      Filtered
                      ⁢
                      
                        {
                        
                          
                            cos
                            ⁡
                            
                              [
                              
                                2
                                ⁢
                                
                                   
                                
                                ⁢
                                π
                                ⁢
                                
                                   
                                
                                ⁢
                                
                                  f
                                  λ
                                
                                ⁢
                                
                                  T
                                  s
                                
                                ⁢
                                k
                              
                              ]
                            
                          
                          ⁢
                          
                            
                              U
                              I
                            
                            ⁡
                            
                              [
                              k
                              ]
                            
                          
                        
                        }
                      
                    
                    -
                    
                      Filtered
                      ⁢
                      
                        {
                        
                          
                            sin
                            ⁡
                            
                              [
                              
                                2
                                ⁢
                                
                                   
                                
                                ⁢
                                π
                                ⁢
                                
                                   
                                
                                ⁢
                                
                                  f
                                  λ
                                
                                ⁢
                                
                                  T
                                  s
                                
                                ⁢
                                k
                              
                              ]
                            
                          
                          ⁢
                          
                            
                              U
                              Q
                            
                            ⁡
                            
                              [
                              k
                              ]
                            
                          
                        
                        }
                      
                    
                  
                  =
                
              
            
          
        
        
          
            
              
                
                  
                    1
                    8
                  
                  ⁡
                  
                    [
                    
                      1
                      -
                      
                        
                          
                            R
                            
                              Q
                              ⁢
                              
                                -
                              
                              ⁢
                              Q
                            
                          
                          ⁡
                          
                            (
                            
                              j
                              ,
                              
                                f
                                RX
                              
                            
                            )
                          
                        
                        ⁢
                        A
                        ⁢
                        
                           
                        
                        ⁢
                        cos
                        ⁢
                        
                           
                        
                        ⁢
                        Δ
                      
                    
                    ]
                  
                
                ⁢
                
                  {
                  
                    1
                    +
                    
                      1
                      ⁢
                      
                         
                      
                      ⁢
                      
                        cos
                        ⁡
                        
                          [
                          
                            4
                            ⁢
                            
                              π
                              ⁡
                              
                                (
                                
                                  
                                    f
                                    λ
                                  
                                  -
                                  
                                    f
                                    OBB
                                  
                                
                                )
                              
                            
                            ⁢
                            
                              T
                              s
                            
                            ⁢
                            k
                          
                          ]
                        
                      
                    
                    +
                    
                      2
                      ⁢
                      
                         
                      
                      ⁢
                      
                        
                          ξ
                          I
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                      ⁢
                      
                         
                      
                      ⁢
                      
                        cos
                        ⁡
                        
                          [
                          
                            2
                            ⁢
                            
                              π
                              ⁡
                              
                                (
                                
                                  
                                    f
                                    λ
                                  
                                  -
                                  
                                    f
                                    OBB
                                  
                                
                                )
                              
                            
                            ⁢
                            
                              T
                              s
                            
                            ⁢
                            k
                          
                          ]
                        
                      
                    
                    +
                    
                      
                        8
                        ⁡
                        
                          [
                          
                            
                              ξ
                              I
                            
                            ⁡
                            
                              (
                              k
                              )
                            
                          
                          ]
                        
                      
                      2
                    
                  
                  }
                
              
              -
            
          
        
        
          
            
              
                
                  
                    1
                    8
                  
                  ⁡
                  
                    [
                    
                      
                        
                          
                            R
                            
                              Q
                              ⁢
                              
                                -
                              
                              ⁢
                              Q
                            
                          
                          ⁡
                          
                            (
                            
                              j
                              ,
                              
                                f
                                RX
                              
                            
                            )
                          
                        
                        ⁢
                        A
                        ⁢
                        
                           
                        
                        ⁢
                        sin
                        ⁢
                        
                           
                        
                        ⁢
                        Δ
                      
                      +
                      
                        
                          R
                          
                            I
                            ⁢
                            
                              -
                            
                            ⁢
                            Q
                          
                        
                        ⁡
                        
                          (
                          
                            j
                            ,
                            
                              f
                              RX
                            
                          
                          )
                        
                      
                    
                    ]
                  
                
                ⁢
                
                  {
                  
                    
                      sin
                      ⁡
                      
                        [
                        
                          4
                          ⁢
                          
                             
                          
                          ⁢
                          
                            π
                            ⁡
                            
                              (
                              
                                
                                  f
                                  λ
                                
                                -
                                
                                  f
                                  OBB
                                
                              
                              )
                            
                          
                          ⁢
                          
                            T
                            s
                          
                          ⁢
                          k
                        
                        ]
                      
                    
                    +
                    
                      4
                      ⁢
                      
                         
                      
                      ⁢
                      
                        
                          ξ
                          Q
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                      ⁢
                      
                         
                      
                      ⁢
                      
                        cos
                        ⁡
                        
                          [
                          
                            2
                            ⁢
                            
                              π
                              ⁡
                              
                                (
                                
                                  
                                    f
                                    λ
                                  
                                  -
                                  
                                    f
                                    OBB
                                  
                                
                                )
                              
                            
                            ⁢
                            
                              T
                              s
                            
                            ⁢
                            k
                          
                          ]
                        
                      
                    
                  
                  }
                
              
              -
            
          
        
        
          
            
              
                1
                8
              
              ⁢
              
                
                  ξ
                  I
                
                ⁡
                
                  (
                  k
                  )
                
              
              ⁢
              
                {
                
                  
                    4
                    ⁢
                    
                      
                        R
                        
                          Q
                          ⁢
                          
                            -
                          
                          ⁢
                          Q
                        
                      
                      ⁡
                      
                        (
                        
                          j
                          ,
                          
                            f
                            RX
                          
                        
                        )
                      
                    
                    ⁢
                    A
                    ⁢
                    
                       
                    
                    ⁢
                    cos
                    ⁢
                    
                       
                    
                    ⁢
                    Δ
                    ⁢
                    
                       
                    
                    ⁢
                    
                      cos
                      ⁡
                      
                        [
                        
                          2
                          ⁢
                          
                            π
                            ⁡
                            
                              (
                              
                                
                                  f
                                  λ
                                
                                -
                                
                                  f
                                  OBB
                                
                              
                              )
                            
                          
                          ⁢
                          
                            T
                            s
                          
                          ⁢
                          k
                        
                        ]
                      
                    
                  
                  +
                  
                    4
                    ⁡
                    
                      [
                      
                        
                          
                            
                              R
                              
                                Q
                                ⁢
                                
                                  -
                                
                                ⁢
                                Q
                              
                            
                            ⁡
                            
                              (
                              
                                j
                                ,
                                
                                  f
                                  RX
                                
                              
                              )
                            
                          
                          ⁢
                          A
                          ⁢
                          
                             
                          
                          ⁢
                          sin
                          ⁢
                          
                             
                          
                          ⁢
                          Δ
                        
                        +
                        
                          
                            R
                            
                              I
                              ⁢
                              
                                -
                              
                              ⁢
                              Q
                            
                          
                          ⁡
                          
                            (
                            
                              j
                              ,
                              
                                f
                                RX
                              
                            
                            )
                          
                        
                      
                      ]
                    
                  
                
              
            
          
        
        
          
            
              
                
                  [
                  
                    sin
                    ⁡
                    
                      [
                      
                        2
                        ⁢
                        
                           
                        
                        ⁢
                        
                          π
                          ⁡
                          
                            (
                            
                              
                                f
                                λ
                              
                              -
                              
                                f
                                OBB
                              
                            
                            )
                          
                        
                        ⁢
                        
                          T
                          s
                        
                        ⁢
                        k
                      
                      ]
                    
                  
                  }
                
                +
                
                  
                    
                      ξ
                      I
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                  ⁢
                  
                    
                      ξ
                      Q
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
              }
            
          
        
      
    
    
      
        Eq
        .
        
           
        
        ⁢
        12
      
    
  




Observing that the residual noise after the filtering by the filter 176, ξI(k), is uncorrelated with the residual noise after the filtering by the filter 182, ξQ(k), low pass filtering can eliminate all but the DC term and the low frequency portion of [ξI(k)]2 as reflected in Equation 12A below.

Filtered[Cβ-I(j,fRX,fλ){Cβ-I(j,fRX,fλ)−Cβ-Q(j,fRX,fλ)}]=1⁄8[1−RQ-Q(j,fRX)A cos Δ]Filtered{[ξI(k)]2}  Eq. 12A

Thus, balance is derived when RQ-Q(j,fRX)A cos Δ=1 as limited by the value of Filtered [ξI(k)]2.

The quadrature error measurement unit 154 is shown to comprise a multiplier 186, a digital filter 188 and a sample rate compressor 190. Equation 13 expresses mathematically the relationship between the Q path channel samples, UQ[k], input into the quadrature error measurement unit 154 and the measurement parameter, Cφ[j,fRX,fλ], output by the quadrature error measurement unit 154. 



  
    
      
        
          
            C
            φ
          
          ⁡
          
            [
            
              j
              ,
              
                f
                RX
              
              ,
              
                f
                λ
              
            
            ]
          
        
        =
        
          
            ∑
            
              k
              =
              
                K
                ·
                
                  (
                  
                    j
                    -
                    1
                  
                  )
                
              
            
            
              K
              ·
              j
            
          
          ⁢
          
             
          
          ⁢
          
            
              
                h
                φ
              
              ⁡
              
                (
                
                  
                    K
                    ·
                    j
                  
                  -
                  k
                
                )
              
            
            ⁢
            
              {
              
                
                  
                    V
                    I
                  
                  ⁡
                  
                    (
                    k
                    )
                  
                
                ⁢
                
                  
                    U
                    Q
                  
                  ⁡
                  
                    [
                    k
                    ]
                  
                
              
              }
            
          
        
      
    
    
      
        Eq
        .
        
           
        
        ⁢
        13
      
    
  




where:

    
    
        hφ(k) is the unit sample response of the digital filter 188; and
        K is the number of samples used in the measurement.
    
    


Applying the equations developed above for UQ[k], Equation 14 illustrates mathematically, the operation carried out by the multiplier 186. The multiplier 186 multiples the values of UQ[k], as defined by Equation 4A by the cosine wave at fλ output by the calibration reference generator 152.

cos [2πfλTsk]UQ[k]

=RQ-Q(j,fRX)A cos Δ cos [2πfλTsk] sin [2πfOBBTsk]

+{RQ-Q(j,fRX)A sin Δ+RI-Q(j,fRX)} cos [2πfOBBTsk] 

cos [2πfλTsk]

+RQ-Q(j,fRX)NQ(k)+RI-Q(j,fRX)NQ(k)} cos [2

πfλTsk]

+{[ηQ(k)+RQ-Offset(j,fRX)]+ηI(k)+RI-Offset(j,fRX)]

} cos [2πfλTsk]

=1⁄2RQ-Q(j,fRX)A cos Δ{−sin [2π(fλ−fOBB)

Tsk]

+sin [2π(fλ+fOBB)Tsk]}

+1⁄2{RQ-Q(j,fRX)A sin Δ+RI-Q(j,fRX)}{cos [2π(

fλ−fOBB)Tsk]

+cos [2π(fλ−fOBB)Tsk]}

+{RQ-Q(j,fRX)NQ(k)+RI-Q(j,fRX)NI(k)} cos [2

πfλTsk]

+{[ηQ(k)+RQ-Offset(j,fRX)]+[ηI(k)+RI-Offset

(j,fRX)]} cos [2πfλTsk]  Eq. 14

The filter 188 filters the terms having a frequency greater than fλ−fOBB which are output by the multiplier 186 as shown mathematically by Equation 14A below.

Cφ(j,fRX,fλ)=−1⁄2RQ-Q(j,fRX)A cos Δ sin [2

π(fλ−fOBB)Tsk]

+{fraction (1/2)}{RQ-Q(j,fRX)A sin Δ+RI-Q(j,fRX)} cos [2π(

fλ−fOBB)Tsk]+ξφ(k)  Eq. 14A

wherein

    
    
        ξφ(k) is the residual noise after the filtering with filter 188.
    
    


The residual noise components can be further reduced by additional bandpass filtering centered at |fλ−fOBB|. Note that because the DC and low frequency contribution has been translated up to frequency fλ, it is effectively eliminated by filtering according to well known techniques. Thus, this process allows the phase error correction parameter to be determined independent of the effectiveness of the DC and low frequency offset correction.
The output of the sampling rate compressor 178 is coupled to the adaptive phase error correction algorithm 204. The adaptive phase error correction algorithm 204, in one embodiment, implements a stochastic gradient algorithm as described above. Equation 15 below expresses mathematically the operation carried out by the adaptive phase error correction algorithm 204 to determine the next value of the correction parameter, RI-Q(j,fRX).

RI-Q[j,fRX,fλ]=ρφRI-Q[(j−1),fRX,fλ]+αφCβ-I(j,fRX,fλ)Cφ(j,fRX,fλ))  Eq. 15

where:

    
    
        ρφ is a decay constant and |ρφ|<1; and
        αφ is a correction gain term.
    
    


In Equation 15, the correction signal is the product of the term [Cβ-Q(j,fRX,fλ)] and the term Cβ-I(j,fRX,fλ) where both contain components component due to the calibration signal at the frequency [fOBB−fλ]. The resultant product contains components at DC and 2[fOBB−fλ] that are proportional to the quadrature error plus some corruption of the DC term due to the residual narrowband thermal noise. This correction signal is further filtered by Equation 15, if the iteration rate and decay constant are selected so as to reject the component at the frequency of 2[fOBB−fλ]. This approach effectively implements a narrow bandpass filter around [fOBB−fλ] which represents an offset the region around zero frequency thereby ameliorating the effects of DC offset and low frequency corruption of the input signals UI(k) and UQ(k). For example, Equation 16 given below expands the term {Cφ(j,fRX,fλ)Cβ-I(j,fRX,fλ)} to illustrate the bandpass nature of the operation performed by the adaptive phase error correction algorithm 204.

Cφ(j,fRX,fλ)Cβ-I(j,fRX,fλ)=

{1⁄2 cos [2π(fλ−fOBB)Tsk]+ξI(k)}

{−1⁄2RQ-Q(j,fRX)A cos Δ sin [2π(fλ−fOBB)Tsk]

+1⁄2{RQ-Q(j,fRX)A sin Δ+RI-Q(j,fRX)} cos [2π(

fλ−fOBB)Tsk]+ξφ(k)}

=1⁄8{[RQ-Q(j,fRX)A sin ΔRI-Q(j,fRX)]+RQ-Q

(j,fRX)A cos Δ sin [4π(fλ−fOBB)Tsk]

+[RQ-Q(j,fRX)A sin Δ+RI-Q(j,fRX)] cos [4

π(fλ−fOBB)Tsk]+4ξφ(k)cos [2

π(fλ−fOBB)Tsk]}

+ξI(k){−1⁄2RQ-Q(j,fRX)A cos Δ sin [2π(fλ

−fOBB)Tsk]

+1⁄2{RQ-Q(j,fRX)A sin Δ+RI-Q(j,fRX)} cos [2π(

fλ−fOBB)Tsk]}

+ξI(k)ξφ(k)  Eq. 16

Observing that the residual noise after the filtering by the filter 188, ξN(k), is uncorrelated with the residual noise after the filtering by the filter 176, ξI(k), Equation 16 reduces to Equation 16A given below.

Filtered[Cφ(j,fRX,fλ)Cβ-I(j,fRX,fλ)]=1⁄8{[RQ-Q(j,fRX)A sin Δ+RI-Q(j,fRX)]  Eq. 16A

Thus, the adaptive phase error correction algorithm 204 adjusts the next value of. RI-Q(j,fRX) such that RI-Q(j,fRX)=−RQ-Q(j,fRX)A sin Δ.
The Q-offset measurement unit 156 comprises a digital filter 192 and a sample rate compressor 194. Equation 17 expresses mathematically the relationship between the Q path channel samples, UQ[k], input into the Q-offset measurement unlit 156 and the measurement parameter, CQ[j,fRX], output by the Q-offset measurement unit 156. 



  
    
      
        
          
            C
            Q
          
          ⁡
          
            [
            
              j
              ,
              
                f
                RX
              
            
            ]
          
        
        =
        
          
            ∑
            
              k
              =
              
                K
                ·
                
                  (
                  
                    j
                    -
                    1
                  
                  )
                
              
            
            
              K
              ·
              j
            
          
          ⁢
          
             
          
          ⁢
          
            
              
                h
                Q
              
              ⁡
              
                (
                
                  
                    K
                    ·
                    j
                  
                  -
                  k
                
                )
              
            
            ⁢
            
              {
              
                
                  U
                  Q
                
                ⁡
                
                  [
                  k
                  ]
                
              
              }
            
          
        
      
    
    
      
        Eq
        .
        
           
        
        ⁢
        17
      
    
  




where:

    
    
        hQ(k) is the unit sample response of the digital filter 192; and
        K is the number of samples used in measurement by the sample rate compressor 194.
    
    


The output of the Q-offset measurement unit 156 is input into a Q-offset adaptive correction algorithm 206 which, in one embodiment, implements a stochastic gradient algorithm as described above. Equation 18 below expresses mathematically the operation carried out by the Q-offset adaptive correction algorithm 206 to determine the next value of the correction parameter, RQ-Offset(j,fRX).

RQ-Offset[j,fRX]=ρdcRQ-Offset[(j−1),fRX]+αdcCQ(j,fRX)  Eq. 18

where:

    
    
        ρdc is a delay constant; and
        αdc is a correction gain term.
    
    


FIG. 5 is a flow chart showing one embodiment of the invention. In block 220, a set of I path digital samples, YI[m], and Q path digital samples, YQ[m], of a calibration signal at a baseband frequency fOBB are generated. In block 222, an I offset correction parameter is added to the I path digital samples. In block 224, a Q offset correction parameter is added to the Q path digital samples. This total is multiplied by a gain imbalance correction parameter and a phase error correction parameter is added to the result. In block 226, the corrected I path samples are multiplied by a cosine wave at fλ and the result is filtered and subsampled. In block 228, the corrected Q path samples are multiplied by a sine wave at fλ and the result is filtered and subsampled. In block 230, the next value of the gain imbalance parameter is determined based upon the previous value and the results of block 226 and 228.
FIG. 6 is a flowchart showing a second embodiment of the invention which may be combined with the embodiment shown in FIG. 5 or used separately. In block 240, a set of I path digital samples, YI[m], and Q path digital samples, YQ[m], of a calibration signal at a baseband frequency fOBB are generated. In block 242, an I offset correction parameter is added to the I path digital samples. In block 244, a Q offset correction parameter is added to the Q path digital samples. This total is multiplied by a gain imbalance correction parameter and a phase error correction parameter is added to the result. In block 246, the corrected I path samples are multiplied by a cosine wave at fλ and the result is filtered and subsampled. In block 248, the corrected Q path samples are multiplied by a cosine wave at fλ and the result is filtered and subsampled. In block 250, the next value of the gain imbalance parameter is determined based upon the previous value and the results of block 226 and 228.
The functional blocks and method steps described herein can be distributed in a variety of media. In one embodiment, a general purpose microprocessor executing software code is used to implement all or a portion of the functions. Alternatively, some or all of the functions can be implemented in an application specific integrated circuit (ASIC), with discrete hardware components or in software or firmware. The functions of the I channel and Q channel function can be reversed so long as the two channels are orthogonal to one another.
The invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiment is to be considered in all respects only as illustrative and not restrictive and the scope of the invention is, therefore, indicated by the appended claims rather than the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope. 



  
    
      
        
          
            
              
                
                  
                    Generate
                    ⁢
                    
                       
                    
                    ⁢
                    I
                    ⁢
                    
                       
                    
                    ⁢
                    path
                    ⁢
                    
                       
                    
                    ⁢
                    digital
                    ⁢
                    
                       
                    
                    ⁢
                    samples
                    ⁢
                    
                       
                    
                    ⁢
                    
                      
                        Y
                        1
                      
                      ⁡
                      
                        [
                        m
                        ]
                      
                    
                    ⁢
                    
                       
                    
                    ⁢
                    and
                    ⁢
                    
                       
                    
                    ⁢
                    Q
                    ⁢
                    
                       
                    
                    ⁢
                    path
                    ⁢
                    
                       
                    
                    ⁢
                    digital
                  
                
              
              
                
                  
                    samples
                    ⁢
                    
                       
                    
                    ⁢
                    
                      
                        Y
                        Q
                      
                      ⁡
                      
                        [
                        m
                        ]
                      
                    
                    ⁢
                    
                       
                    
                    ⁢
                    of
                    ⁢
                    
                       
                    
                    ⁢
                    a
                    ⁢
                    
                       
                    
                    ⁢
                    calibration
                    ⁢
                    
                       
                    
                    ⁢
                    signal
                    ⁢
                    
                       
                    
                    ⁢
                    at
                    ⁢
                    
                       
                    
                    ⁢
                    a
                    ⁢
                    
                       
                    
                    ⁢
                    baseband
                  
                
              
            
          
        
        
          
            
              frequency
              ⁢
              
                 
              
              ⁢
              
                
                  T
                  OBB
                
                .
              
            
          
        
      
    
    
      220
    
  
  
    
      
        
          
            
              
                
                  
                    Add
                    ⁢
                    
                       
                    
                    ⁢
                    an
                    ⁢
                    
                       
                    
                    ⁢
                    I
                    ⁢
                    
                       
                    
                    ⁢
                    offset
                    ⁢
                    
                       
                    
                    ⁢
                    correction
                    ⁢
                    
                       
                    
                    ⁢
                    parameter
                    ⁢
                    
                       
                    
                    ⁢
                    to
                    ⁢
                    
                       
                    
                    ⁢
                    the
                    ⁢
                    
                       
                    
                    ⁢
                    I
                    ⁢
                    
                       
                    
                    ⁢
                    path
                    ⁢
                    
                       
                    
                    ⁢
                    digital
                  
                
              
              
                
                  samples
                
              
            
          
        
        
          
            
              
                
                  U
                  I
                
                ⁡
                
                  (
                  k
                  )
                
              
              =
              
                
                  
                    Y
                    I
                  
                  ⁡
                  
                    (
                    m
                    )
                  
                
                +
                
                  
                    R
                    
                      I
                      -
                      Offset
                    
                  
                  ⁡
                  
                    (
                    
                      j
                      ,
                      
                        f
                        RX
                      
                    
                    )
                  
                
              
            
          
        
      
    
    
      222
    
  
  
    
      
        
          
            
              
                
                  
                    
                      Add
                      ⁢
                      
                         
                      
                      ⁢
                      a
                      ⁢
                      
                         
                      
                      ⁢
                      Q
                      ⁢
                      
                         
                      
                      ⁢
                      offset
                      ⁢
                      
                         
                      
                      ⁢
                      correction
                      ⁢
                      
                         
                      
                      ⁢
                      parameter
                    
                    ,
                    
                      multiply
                      ⁢
                      
                         
                      
                      ⁢
                      by
                      ⁢
                      
                         
                      
                      ⁢
                      a
                      ⁢
                      
                         
                      
                      ⁢
                      gain
                    
                  
                
              
              
                
                  
                    imbalance
                    ⁢
                    
                       
                    
                    ⁢
                    correction
                    ⁢
                    
                       
                    
                    ⁢
                    and
                    ⁢
                    
                       
                    
                    ⁢
                    add
                    ⁢
                    
                       
                    
                    ⁢
                    phase
                    ⁢
                    
                       
                    
                    ⁢
                    correction
                    ⁢
                    
                       
                    
                    ⁢
                    to
                    ⁢
                    
                       
                    
                    ⁢
                    the
                    ⁢
                    
                       
                    
                    ⁢
                    Q
                  
                
              
            
          
        
        
          
            
              path
              ⁢
              
                 
              
              ⁢
              digital
              ⁢
              
                 
              
              ⁢
              samples
            
          
        
        
          
            
              
                
                  U
                  Q
                
                ⁡
                
                  (
                  k
                  )
                
              
              =
              
                
                  
                    
                      R
                      
                        Q
                        -
                        Q
                      
                    
                    ⁡
                    
                      (
                      
                        j
                        ,
                        
                          f
                          RX
                        
                      
                      )
                    
                  
                  ⁢
                  
                    {
                    
                      
                        
                          Y
                          Q
                        
                        ⁡
                        
                          (
                          m
                          )
                        
                      
                      +
                      
                        
                          R
                          
                            Q
                            -
                            Offset
                          
                        
                        ⁡
                        
                          (
                          
                            j
                            ,
                            
                              f
                              RX
                            
                          
                          )
                        
                      
                    
                    }
                  
                
                +
              
            
          
        
        
          
            
              
                
                  R
                  
                    I
                    -
                    Q
                  
                
                ⁡
                
                  (
                  
                    j
                    ,
                    
                      f
                      RX
                    
                  
                  )
                
              
              ⁢
              
                {
                
                  
                    Y
                    I
                  
                  (
                  
                    m
                    +
                    
                      
                        R
                        
                          I
                          -
                          Offset
                        
                      
                      ⁡
                      
                        (
                        
                          j
                          ,
                          
                            f
                            RX
                          
                        
                        )
                      
                    
                  
                  }
                
              
            
          
        
      
    
    
      224
    
  
  
    
      
        
          
            
              
                
                  
                    
                      Multiplying
                      ⁢
                      
                         
                      
                      ⁢
                      
                        
                          U
                          I
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                      ⁢
                      
                         
                      
                      ⁢
                      by
                      ⁢
                      
                         
                      
                      ⁢
                      a
                      ⁢
                      
                         
                      
                      ⁢
                      cosine
                      ⁢
                      
                         
                      
                      ⁢
                      wave
                      ⁢
                      
                         
                      
                      ⁢
                      at
                      ⁢
                      
                         
                      
                      ⁢
                      
                        f
                        λ
                      
                    
                    ,
                    approximately
                  
                
              
              
                
                  
                    equal
                    ⁢
                    
                       
                    
                    ⁢
                    to
                    ⁢
                    
                       
                    
                    ⁢
                    
                      f
                      OBB
                    
                  
                
              
            
          
        
        
          
            
              
                
                  C
                  
                    β
                    -
                    I
                  
                
                ⁡
                
                  [
                  
                    j
                    ,
                    
                      f
                      RX
                    
                    ,
                    
                      f
                      λ
                    
                  
                  ]
                
              
              =
              
                
                  ∑
                  
                    k
                    =
                    
                      K
                      ·
                      
                        (
                        
                          j
                          -
                          1
                        
                        )
                      
                    
                  
                  
                    K
                    ·
                    j
                  
                
                ⁢
                
                  
                    
                      h
                      β
                    
                    ⁡
                    
                      (
                      
                        
                          K
                          ·
                          j
                        
                        -
                        k
                      
                      )
                    
                  
                  ⁢
                  
                    {
                    
                      
                        
                          V
                          I
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                      ⁢
                      
                        
                          U
                          I
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                    }
                  
                
              
            
          
        
      
    
    
      226
    
  
  
    
      
        
          
            
              
                
                  
                    
                      Multiplying
                      ⁢
                      
                         
                      
                      ⁢
                      
                        
                          U
                          Q
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                      ⁢
                      
                         
                      
                      ⁢
                      by
                      ⁢
                      
                         
                      
                      ⁢
                      a
                      ⁢
                      
                         
                      
                      ⁢
                      sine
                      ⁢
                      
                         
                      
                      ⁢
                      wave
                      ⁢
                      
                         
                      
                      ⁢
                      at
                      ⁢
                      
                         
                      
                      ⁢
                      
                        f
                        λ
                      
                    
                    ,
                    approximately
                  
                
              
              
                
                  
                    equal
                    ⁢
                    
                       
                    
                    ⁢
                    to
                    ⁢
                    
                       
                    
                    ⁢
                    
                      f
                      OBB
                    
                  
                
              
            
          
        
        
          
            
              
                
                  C
                  
                    β
                    -
                    Q
                  
                
                ⁡
                
                  [
                  
                    j
                    ,
                    
                      f
                      RX
                    
                    ,
                    
                      f
                      λ
                    
                  
                  ]
                
              
              =
              
                
                  ∑
                  
                    k
                    =
                    
                      K
                      ·
                      
                        (
                        
                          j
                          -
                          1
                        
                        )
                      
                    
                  
                  
                    K
                    ·
                    j
                  
                
                ⁢
                
                  
                    
                      h
                      β
                    
                    ⁡
                    
                      (
                      
                        
                          K
                          ·
                          j
                        
                        -
                        k
                      
                      )
                    
                  
                  ⁢
                  
                    {
                    
                      
                        
                          V
                          Q
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                      ⁢
                      
                        
                          U
                          Q
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                    }
                  
                
              
            
          
        
      
    
    
      228
    
  
  
    
      
        
          
            
              
                
                  
                    Determining
                    ⁢
                    
                       
                    
                    ⁢
                    the
                    ⁢
                    
                       
                    
                    ⁢
                    next
                    ⁢
                    
                       
                    
                    ⁢
                    value
                    ⁢
                    
                       
                    
                    ⁢
                    of
                    ⁢
                    
                       
                    
                    ⁢
                    the
                    ⁢
                    
                       
                    
                    ⁢
                    imbalance
                    ⁢
                    
                       
                    
                    ⁢
                    parameter
                  
                
              
              
                
                  
                    
                      
                        R
                        
                          Q
                          -
                          Q
                        
                      
                      ⁡
                      
                        [
                        
                          j
                          ,
                          
                            f
                            RX
                          
                          ,
                          
                            f
                            λ
                          
                        
                        ]
                      
                    
                    =
                    
                      
                        
                          
                            ρ
                            β
                          
                          ⁢
                          
                            
                              R
                              
                                Q
                                -
                                Q
                              
                            
                            ⁡
                            
                              [
                              
                                
                                  (
                                  
                                    j
                                    -
                                    1
                                  
                                  )
                                
                                ,
                                
                                  f
                                  RX
                                
                                ,
                                
                                  f
                                  λ
                                
                              
                              ]
                            
                          
                        
                        +
                      
                      
                         
                      
                    
                  
                
              
            
          
        
        
          
            
              
                α
                β
              
              ⁢
              
                {
                
                  
                    [
                    
                      
                        
                          C
                          
                            β
                            -
                            I
                          
                        
                        ⁡
                        
                          (
                          
                            j
                            ,
                            
                              f
                              RX
                            
                            ,
                            
                              f
                              λ
                            
                          
                          )
                        
                      
                      -
                      
                        
                          C
                          
                            β
                            -
                            Q
                          
                        
                        ⁡
                        
                          (
                          
                            j
                            ,
                            
                              f
                              RX
                            
                            ,
                            
                              f
                              
                                λ
                                )
                              
                            
                          
                          )
                        
                      
                    
                    ]
                  
                  ⁢
                  
                    
                      C
                      
                        β
                        -
                        I
                      
                    
                    ⁡
                    
                      (
                      
                        j
                        ,
                        
                          f
                          RX
                        
                        ,
                        
                          f
                          λ
                        
                      
                      )
                    
                  
                
                }
              
            
          
        
      
    
    
      230
    
  
  
    
      
        
          
            
              Generate
              ⁢
              
                 
              
              ⁢
              I
              ⁢
              
                 
              
              ⁢
              path
              ⁢
              
                 
              
              ⁢
              digital
              ⁢
              
                 
              
              ⁢
              samples
              ⁢
              
                 
              
              ⁢
              
                
                  Y
                  I
                
                ⁡
                
                  [
                  m
                  ]
                
              
              ⁢
              
                 
              
              ⁢
              and
              ⁢
              
                 
              
              ⁢
              Q
              ⁢
              
                 
              
              ⁢
              path
              ⁢
              
                 
              
              ⁢
              digital
            
          
        
        
          
            
              
                
                  
                    
                      samples
                      ⁢
                      
                         
                      
                      ⁢
                      
                        
                          Y
                          Q
                        
                        ⁡
                        
                          [
                          m
                          ]
                        
                      
                      ⁢
                      
                         
                      
                      ⁢
                      of
                      ⁢
                      
                         
                      
                      ⁢
                      a
                      ⁢
                      
                         
                      
                      ⁢
                      calibration
                      ⁢
                      
                         
                      
                      ⁢
                      signal
                      ⁢
                      
                         
                      
                      ⁢
                      at
                    
                    ⁢
                    
                       
                    
                  
                
              
              
                
                  
                    a
                    ⁢
                    
                       
                    
                    ⁢
                    baseband
                    ⁢
                    
                       
                    
                    ⁢
                    frequency
                    ⁢
                    
                       
                    
                    ⁢
                    
                      
                        T
                        OBB
                      
                      .
                    
                  
                
              
            
          
        
      
    
    
      240
    
  
  
    
      
        
          
            
              Add
              ⁢
              
                 
              
              ⁢
              an
              ⁢
              
                 
              
              ⁢
              I
              ⁢
              
                 
              
              ⁢
              offset
              ⁢
              
                 
              
              ⁢
              correction
              ⁢
              
                 
              
              ⁢
              parameter
              ⁢
              
                 
              
              ⁢
              to
              ⁢
              
                 
              
              ⁢
              the
              ⁢
              
                 
              
              ⁢
              I
              ⁢
              
                 
              
              ⁢
              path
              ⁢
              
                 
              
              ⁢
              digital
            
          
        
        
          
            samples
          
        
        
          
            
              
                
                  U
                  I
                
                ⁡
                
                  (
                  k
                  )
                
              
              =
              
                
                  
                    Y
                    I
                  
                  ⁡
                  
                    (
                    m
                    )
                  
                
                +
                
                  
                    R
                    
                      I
                      -
                      Offset
                    
                  
                  ⁡
                  
                    (
                    
                      j
                      ,
                      
                        f
                        RX
                      
                    
                    )
                  
                
              
            
          
        
      
    
    
      242
    
  
  
    
      
        
          
            
              
                
                  
                    
                      
                        
                          
                            
                              
                                
                                  Add
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  a
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  Q
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  offset
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  correction
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  parameter
                                
                                ,
                                
                                  multiply
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  by
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  a
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  gain
                                
                              
                            
                          
                          
                            
                              
                                
                                  imbalance
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  correction
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  and
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  add
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  phase
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  correction
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  to
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  the
                                  ⁢
                                  
                                     
                                  
                                  ⁢
                                  Q
                                
                                ⁢
                                
                                   
                                
                              
                            
                          
                        
                      
                    
                    
                      
                        
                          path
                          ⁢
                          
                             
                          
                          ⁢
                          digital
                          ⁢
                          
                             
                          
                          ⁢
                          samples
                        
                      
                    
                  
                
              
              
                
                  
                    
                      
                        U
                        Q
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                    =
                    
                      
                        
                          
                            R
                            
                              Q
                              -
                              Q
                            
                          
                          ⁡
                          
                            (
                            
                              j
                              ,
                              
                                f
                                RX
                              
                            
                            )
                          
                        
                        ⁢
                        
                          {
                          
                            
                              
                                Y
                                Q
                              
                              ⁡
                              
                                (
                                m
                                )
                              
                            
                            +
                            
                              
                                R
                                
                                  Q
                                  -
                                  Offset
                                
                              
                              ⁡
                              
                                (
                                
                                  j
                                  ,
                                  
                                    f
                                    RX
                                  
                                
                                )
                              
                            
                          
                          }
                        
                      
                      +
                    
                  
                
              
            
          
        
        
          
            
              
                
                  R
                  
                    I
                    -
                    Q
                  
                
                ⁡
                
                  (
                  
                    j
                    ,
                    
                      f
                      RX
                    
                  
                  )
                
              
              ⁢
              
                {
                
                  
                    Y
                    I
                  
                  (
                  
                    m
                    +
                    
                      
                        R
                        
                          I
                          -
                          Offset
                        
                      
                      ⁡
                      
                        (
                        
                          j
                          ,
                          
                            f
                            RX
                          
                        
                        )
                      
                    
                  
                  }
                
              
            
          
        
      
    
    
      244
    
  
  
    
      
        
          
            
              
                
                  
                    
                      
                        Multiplying
                        ⁢
                        
                           
                        
                        ⁢
                        
                          
                            U
                            I
                          
                          ⁡
                          
                            (
                            k
                            )
                          
                        
                        ⁢
                        
                           
                        
                        ⁢
                        by
                        ⁢
                        
                           
                        
                        ⁢
                        a
                        ⁢
                        
                           
                        
                        ⁢
                        cosine
                        ⁢
                        
                           
                        
                        ⁢
                        wave
                        ⁢
                        
                           
                        
                        ⁢
                        at
                        ⁢
                        
                           
                        
                        ⁢
                        
                          f
                          λ
                        
                      
                      ,
                    
                    ⁢
                    
                       
                    
                  
                
              
              
                
                  
                    approximately
                    ⁢
                    
                       
                    
                    ⁢
                    equal
                    ⁢
                    
                       
                    
                    ⁢
                    to
                    ⁢
                    
                       
                    
                    ⁢
                    
                      f
                      OBB
                    
                  
                
              
            
          
        
        
          
            
              
                
                  C
                  
                    β
                    -
                    I
                  
                
                ⁡
                
                  [
                  
                    j
                    ,
                    
                      f
                      RX
                    
                    ,
                    
                      f
                      λ
                    
                  
                  ]
                
              
              =
              
                
                  ∑
                  
                    k
                    =
                    
                      K
                      ·
                      
                        (
                        
                          j
                          -
                          1
                        
                        )
                      
                    
                  
                  
                    K
                    ·
                    j
                  
                
                ⁢
                
                  
                    
                      h
                      β
                    
                    ⁡
                    
                      (
                      
                        
                          K
                          ·
                          j
                        
                        -
                        k
                      
                      )
                    
                  
                  ⁢
                  
                    {
                    
                      
                        
                          V
                          I
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                      ⁢
                      
                        
                          U
                          I
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                    }
                  
                
              
            
          
        
      
    
    
      246
    
  
  
    
      
        
          
            
              
                
                  
                    
                      Multiplying
                      ⁢
                      
                         
                      
                      ⁢
                      
                        
                          U
                          Q
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                      ⁢
                      
                         
                      
                      ⁢
                      by
                      ⁢
                      
                         
                      
                      ⁢
                      a
                      ⁢
                      
                         
                      
                      ⁢
                      cosine
                      ⁢
                      
                         
                      
                      ⁢
                      wave
                      ⁢
                      
                         
                      
                      ⁢
                      at
                      ⁢
                      
                         
                      
                      ⁢
                      
                        f
                        λ
                      
                    
                    ,
                    approximately
                  
                
              
              
                
                  
                    equal
                    ⁢
                    
                       
                    
                    ⁢
                    to
                    ⁢
                    
                       
                    
                    ⁢
                    
                      f
                      OBB
                    
                  
                
              
            
          
        
        
          
            
              
                
                  C
                  φ
                
                ⁡
                
                  [
                  
                    j
                    ,
                    
                      f
                      RX
                    
                    ,
                    
                      f
                      λ
                    
                  
                  ]
                
              
              =
              
                
                  ∑
                  
                    k
                    =
                    
                      K
                      ·
                      
                        (
                        
                          j
                          -
                          1
                        
                        )
                      
                    
                  
                  
                    K
                    ·
                    j
                  
                
                ⁢
                
                  
                    
                      h
                      φ
                    
                    ⁡
                    
                      (
                      
                        
                          K
                          ·
                          j
                        
                        -
                        k
                      
                      )
                    
                  
                  ⁢
                  
                    {
                    
                      
                        
                          V
                          I
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                      ⁢
                      
                        
                          U
                          Q
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                    }
                  
                
              
            
          
        
      
    
    
      248
    
  
  
    
      
        
          
            
              
                
                  
                    Determining
                    ⁢
                    
                       
                    
                    ⁢
                    the
                    ⁢
                    
                       
                    
                    ⁢
                    next
                    ⁢
                    
                       
                    
                    ⁢
                    value
                    ⁢
                    
                       
                    
                    ⁢
                    of
                    ⁢
                    
                       
                    
                    ⁢
                    phase
                    ⁢
                    
                       
                    
                    ⁢
                    correction
                    ⁢
                    
                       
                    
                    ⁢
                    parameter
                  
                
              
              
                
                  
                    
                      
                        R
                        
                          I
                          -
                          Q
                        
                      
                      ⁡
                      
                        [
                        
                          j
                          ,
                          
                            f
                            RX
                          
                          ,
                          
                            f
                            λ
                          
                        
                        ]
                      
                    
                    =
                    
                      
                        
                          ρ
                          φ
                        
                        ⁢
                        
                          
                            R
                            
                              I
                              -
                              Q
                            
                          
                          ⁡
                          
                            [
                            
                              
                                (
                                
                                  j
                                  -
                                  1
                                
                                )
                              
                              ,
                              
                                f
                                RX
                              
                              ,
                              
                                f
                                λ
                              
                            
                            ]
                          
                        
                      
                      +
                    
                  
                
              
            
          
        
        
          
            
              
                
                  α
                  φ
                
                ⁢
                
                  
                    C
                    
                      β
                      -
                      1
                    
                  
                  ⁡
                  
                    (
                    
                      j
                      ,
                      
                        f
                        RX
                      
                      ,
                      
                        f
                        λ
                      
                    
                    )
                  
                
                ⁢
                
                  
                    C
                    φ
                  
                  ⁡
                  
                    (
                    
                      j
                      ,
                      
                        
                          f
                          RX
                        
                        .
                        
                          f
                          λ
                        
                      
                    
                    )
                  
                
              
              )
            
          
        
      
    
    
      250

## Claims

1. A coherent adaptive calibration method for a receiver, comprising:
removing at least a portion of a DC offset from a series of first channel signal samples to produce a series of corrected first channel samples; 
computing a linear combination of said series of corrected first channel samples and a series of second channel signal samples to produce a series of corrected second channel samples, wherein parameters for said linear combination are computed at least in part from a gain imbalance correction parameter and a phase correction parameter; 
down-converting said series of corrected first channel samples to produce a first in-phase down-converted signal; 
down-converting said series of corrected second channel samples to produce a quadrature down-converted signal; and 
determining a next value of said gain imbalance correction parameter based upon at least said first in-phase down-converted signal and said quadrature down-converted signal.

2. The method of claim 1, wherein said linear combination of said series of corrected first channel samples an series of second channel signal samples comprises multiplying said series of first channel signal samples by said phase correction parameter.

3. The method of claim 1 wherein said linear combination of said series of corrected first channel samples and said series of second channel signal samples comprises adding an offset to remove at least a portion of a DC offset of said series of second channel signal samples.

4. The method of claim 1, wherein said linear combination of said series of corrected first channel samples and said series of second channel signal samples comprises adding an offset to remove at least a portion of a DC offset of said series of second channel signal samples to produce offset samples, multiplying said offset samples by said gain imbalance correction parameter, and multiplying said series of corrected first channel samples by said phase correction parameter.

5. The method of claim 1, wherein said determining a next value of said gain imbalance correction parameter comprises a ratio corresponding to said first in-phase down-converted signal and said quadrature down-converted signal.

6. The method of claim 1 wherein the series of channel signal samples comprises a received calibration signal.

7. The method of claim 1, wherein the series of channel signal samples comprises energy received over the air and a calibration signal from an internal source.

8. The method of claim 1, wherein said determining a next value of said gain imbalance correction parameter comprises using a stochastic gradient equation.

9. The method of claim 1, wherein said down-converting said series of corrected second channel samples produce a quadrature down-converted signal comprises multiplying said series of corrected second channel samples by a sine wave signal.

10. The method of claim 1, further comprising:
down-converting said series of corrected second channel samples to produce a second in-phase down-converted signal; 
filtering said second in-phase down-converted signal to determine a phase error measurement; and 
determining a next value of said phase correction parameter based upon said gain imbalance corrector parameter and said phase error measurement.

11. The method of claim 1, wherein said phase correction parameter is obtained using an adaptive correction algorithm.

12. The method of claim 1, wherein said gain imbalance correction parameter is obtained using an adaptive correction algorithm.

13. A receiver, comprising:
a first correction module to remove at least a portion of a DC offset from a series of first channel signal samples to produce a series of corrected first channel samples; 
a linear combiner to combine said series of corrected first channel samples and a series of corrected second channel signal samples to produce a series of corrected second channel samples, wherein parameters for said linear combiner are computed at least in part from a gain imbalance correction parameter and a phase correction parameter; 
a first down-converter to down-convert said series of corrected first channel samples to produce a first in-phase down-converted signal; 
a second down-converter to down-convert said series of corrected second channel samples to produce a quadrature down-converted signal; and 
an adaptive correction module to compute a next value of said gain imbalance correction parameter based upon at least said first in-phase down-converted signal and said quadrature down-converted signal.

14. The receiver of claim 13, wherein said linear combiner is configured to multiply said series of first channel signal samples by said phase correction parameter.

15. The receiver of claim 13, wherein said linear combiner is configured at least in part to add an offset to remove at least a portion of a DC offset of said series of corrected second channel signal samples.

16. The receiver of claim 13, wherein said linear combiner is configured at least in part to add an offset to remove at least a portion of a DC offset of said series of second channel signal samples to produce offset samples, multiply said offset samples by said gain imbalance correction parameter, and multiplying said corrected first channel samples by said phase correction parameter.

17. The receiver of claim 13, wherein said adaptive correction module is configured to compute a ratio corresponding to said first in-phase down-converted signal and said quadrature down-converted signal.

18. The receiver of claim 13, wherein the series of channel signal samples comprises a calibration signal.

19. The receiver of claim 13, wherein the series of channel signal samples comprises a signal from an external source and a calibration signal from an internal source.

20. The receiver of claim 13, wherein said adaptive correction module comprises a stochastic gradient equation.

21. The receiver of claim 13, wherein said adaptive correction module is configured to determine a next value of said phase correction parameter based upon a gain imbalance measurement and a phase error measurement.

22. The receiver of claim 13, wherein said phase correction parameter is obtained using an adaptive correction algorithm.

23. The receiver of claim 13, wherein said adaptive correction module comprises an adaptive phase correction algorithm.

24. The receiver of claim 13, wherein said adaptive correction module comprises an adaptive gain correction algorithm.

25. The receiver of claim 13, wherein said first down-converter is configured to operate on digital data.

26. The receiver of claim 13, wherein said adaptive correction module is configured to operate on digital data.

27. A receiver, comprising:
a first correction module to remove at least a portion of a DC offset from a series of first channel signal samples to produce a series of corrected first channel samples; 
a linear combiner to combine said series of corrected first channel samples and a series of corrected second channel signal samples to produce a series of corrected second channel samples, wherein parameters for said linear combiner are computed at least in part from a gain imbalance correction parameter and a phase correction parameter; 
a first down-converter to down-convert said series of corrected first channel samples to produce an in-phase down-converted signal; 
a second down-converter to down-convert said series of corrected second channel samples to produce a quadrature down-converted signal; and 
means for computing said gain imbalance correction parameter and said phase correction parameter using at least said in-phase and quadrature down-converted signals.