IQ mismatch compensation

Information

  • Patent Grant
  • 9203666
  • Patent Number
    9,203,666
  • Date Filed
    Wednesday, April 10, 2013
    11 years ago
  • Date Issued
    Tuesday, December 1, 2015
    8 years ago
Abstract
A receiver (100) has an ln-phase path (l-path) (101) that delivers a digital l-path signal x1(t) and a Quadrature path (Q-path) (103) that delivers a digital Q-path signal xQ(t). The receiver (100) includes a compensation stage (124) arranged to compensate for gain error g and phase error φ between the digital l-path signal x1(t) and the digital Q-path signal xQ(t). The compensation stage (124) has a compensation coefficient generation stage (200), a compensation coefficient application stage (202), a gain control stage (208), a relative gradient generation stage (214) and a step parameter generation stage (224). Compensation coefficients W1,1, W1,2, W2,1, W2,2 applied to the digital l-path signal x1(t) and the digital Q-path signal xQ(t) are generated by iteratively updating them using a relative gradient of the compensated digital in-phase signal y1(t) and a compensated digital quadrature signal yQ(t), and a step parameter μn, the magnitude of which is adjusted based on a rate of change of the compensation coefficients W1,1, W1,2, W2,1, W2,2.
Description
TECHNICAL FIELD

The disclosure relates to a receiver having a compensation stage that compensates for phase and gain errors, or mismatches, between in-phase (I) and quadrature (Q) signal paths of the receiver, and to a method of receiving a signal incorporating such compensation.


BACKGROUND

Radio Frequency (RF) receivers of the Zero Intermediate Frequency (Zero-IF) and Low Intermediate Frequency (Low-IF) type have a first signal path for an In-phase (I) signal and a second signal path for a Quadradure (Q) signal. A received signal is mixed with a Local Oscillator (LO) signal to generate the I signal and with the same LO signal shifted in phase by 90° to generate the Q signal, but in all other respects the signal paths should be the same. Unfortunately, in a real receiver, it is very difficult to ensure that the phase shift is exactly 90°. It is also inevitable that there are differences between the components of the first and second paths that lead to variations in the delay and gain experienced by the signals along the signal paths. This problem is generally referred to as “IQ mismatch”.


In general, in an integrated circuit (IC), any difference in delay along the signal paths is not very large, and this causes less of a problem than variations in the gain and phase shift. However, the variations in gain and phase shift lead to distortion of the I and Q signals, creating additional noise and limiting reception performance.


Various ways of compensating for IQ mismatches have been proposed. For example, the IQ mismatches can be estimated and corrections applied to the I signal and the Q signal based on the estimates. In other methods, the IQ mismatches can be treated as noise or interference and steps taken to cancel this from the signals. However, no existing method is ideal. In particular, some methods perform well for relatively low mismatches, but less well for higher mismatches. Indeed, some such methods can fail altogether when mismatches reach a certain level. Other methods react too slowly to deal with fast changes in the IQ mismatches.


The paper “Blind IQ Signal Separation-Based Solutions for Receiver Signal Processing”, Valkama et al, EURASIP Journal on Applied Signal Processing, 1 Jan. 2005, pp 2708-2718 describes a technique for compensating for IQ mismatches that uses Blind Signal Separation (BSS). BSS avoids the need for training signals, and instead relies on analysing the I and Q signals themselves as a radio signal is received. However, the technique described in this paper does not cope well when IQ mismatches change quickly.


There is therefore a need for improved IQ mismatch compensation.


SUMMARY

According to a first aspect, there is provided a receiver for receiving a signal, the receiver comprising:


a local oscillator arranged to deliver an in-phase local oscillator signal and a quadrature local oscillator signal;


an in-phase signal path having a mixer arranged to mix the signal received by the receiver with the in-phase local oscillator signal to deliver an in-phase signal, and an analogue-to-digital converter arranged convert the in-phase signal to a digital in-phase signal; and


a quadrature signal path having a mixer arranged to mix the signal received by the receiver with the quadrature local oscillator signal to deliver a quadrature signal, and an analogue-to-digital converter arranged convert the quadrature signal to a digital quadrature signal;


a compensation stage arranged deliver a compensated digital in-phase signal and a compensated digital quadrature signal by applying compensation coefficients to the digital in-phase signal and the digital quadrature signal; and


a compensation coefficient generator arranged to generate the compensation coefficients by iteratively updating them using a relative gradient of the compensated digital in-phase signal and the compensated digital quadrature signal, and a step parameter,


wherein the compensation stage adjusts the magnitude of the step parameter based on the rate of change of the compensation coefficients.


According to a second aspect, there is provided a method comprising:


receiving a signal;


delivering an in-phase local oscillator signal and a quadrature local oscillator signal;


in an in-phase signal path, mixing the received signal with the in-phase local oscillator signal to deliver an in-phase signal and converting the in-phase signal to a digital in-phase signal; and


in a quadrature signal path, mixing the received signal with the quadrature local oscillator signal to deliver a quadrature signal and converting the quadrature signal to a digital quadrature signal;


applying compensation coefficients to the digital in-phase signal and the digital quadrature signal to deliver a compensated digital in-phase signal and a compensated digital quadrature signal;


generating the compensation coefficients by iteratively updating them using a relative gradient of the compensated digital in-phase signal and the compensated digital quadrature signal, and a step parameter;


and adjusting the magnitude of the step parameter based on the rate of change of the compensation coefficients.


Because the compensation coefficients are generated by iteratively updating them using a relative gradient of the compensated digital in-phase signal and the compensated digital quadrature signal, the generation may be considered to be a Blind Source Separation (BSS) technique. In other words, generation need not rely directly on information about IQ mismatches, but rather may seek to optimise the compensation coefficients based the compensated digital in-phase signal and the compensated digital quadrature signal they produce. This technique is able to deal with large IQ mismatches without difficulty.


Adjusting the magnitude of the step parameter based on the rate of change of the compensation coefficients can provide adaptivity. For example, if the compensation coefficients are changing quickly, the step size can increase, and if the compensation coefficients are changing slowly, the step size can decrease. This allows the compensation stage to respond to fast and slow changes in IQ mismatches effectively.


The compensation stage may be arranged to adjust the magnitude of the step parameter based on the rate of change of the compensation coefficients with the magnitude of the step parameter. Likewise, the method may include adjusting the magnitude of the step parameter based on the rate of change of the compensation coefficients with the magnitude of the step parameter. By looking at the rate of change of the compensation coefficients with the magnitude of the step parameter, it is possible to ensure that the compensation coefficients do not change too quickly.


The compensation stage may be arranged to adjust the magnitude of the step parameter based on the relative gradient of the compensated digital in-phase signal and the compensated digital quadrature signal. Likewise, the method may include adjusting the magnitude of the step parameter based on the relative gradient of the compensated digital in-phase signal and the compensated digital quadrature signal. This allows the magnitude of the step parameter to be adjusted quickly and efficiently. It also helps to ensure that compensation stage reacts quickly to changes in IQ mismatches and can cope with a large range of IQ mismatches.


The compensation stage may be arranged to adjust the magnitude of the step parameter based on a trace function of a first matrix of the rate of change of the compensation coefficients with the magnitude of the step parameter and a second matrix of the relative gradient of the compensated digital in-phase signal and the compensated digital quadrature signal. Likewise, the method may include adjusting the magnitude of the step parameter based on a trace function of a first matrix of the rate of change of the compensation coefficients with the magnitude of the step parameter and a second matrix of the relative gradient of the compensated digital in-phase signal and the compensated digital quadrature signal.


In one example, the magnitude of the step parameter may be adjusted based on

μnn-1(α−βtrace(Hn Gn))

where μn-1 is the magnitude of the step parameter, μn is the adjusted magnitude of the step parameter, Gn is the first matrix, Hn is the second matrix and α and β are constants.


In another example, the magnitude of the step parameter may be adjusted based on

μnn-1+β(η−γμn-1)
where
η=μn-1n-1−αtrace(HnGn))


μn-1 is the magnitude of the step parameter, μn is the adjusted magnitude of the step parameter, Gn is the first matrix, Hn is the second matrix and α, β and γ are constants.


The receiver may further comprise a gain controller arranged to generate a gain control parameter and a relative gradient generation stage arranged to generate the relative gradient based on the gain control parameter, the compensated digital in-phase signal and the compensated digital quadrature signal. Likewise, the method may comprise generating a gain control parameter, and generating the relative gradient based on the gain control parameter, the compensated digital in-phase signal and a compensated digital quadrature signal. In one example, the relative gradient is generated based on

Hn=cnYn·Ynt−I2


where Hn is a relative gradient matrix, cn is the gain control parameter, Yn is a matrix of the compensated digital in-phase signal and the compensated digital quadrature signal at a time n, Ynt is the transpose of Yn and I2 is an identity matrix.


The gain controller may be arranged to generate the gain control parameter based on the uncompensated digital in-phase signal and the uncompensated digital quadrature signal. Likewise, the method may comprise generating the gain control parameter based on the uncompensated digital in-phase signal and the uncompensated digital quadrature signal. The gain control parameter typically has a value that normalises the compensated digital in-phase signal and the compensated digital quadrature signal. In one example, the gain control parameter is generated based on

cn=2−bn


where bn is a gain control value defined by

bn=round(log2an)


and an is another gain control value defined by

an=an-1+λ(∥Xn2−an-1)


where Xn is a matrix of the uncompensated digital in-phase signal and the uncompensated digital quadrature signal at time n, ∥ ∥ denotes a norm and λ is a smoothing factor.


The compensation coefficients may comprise a first compensation coefficient, a second compensation coefficient, a third compensation coefficient and a fourth compensation coefficient. The compensation stage may be arranged to generate a first signal and a third signal by multiplying the digital in-phase signal with the first compensation coefficient and the third compensation coefficient respectively, to generate a second signal and a fourth signal by multiplying the digital quadrature signal with the second compensation coefficient and the fourth compensation coefficient respectively, to sum the first signal and the second signal to output the compensated digital in-phase signal, and to sum the third signal and the fourth signal to output the compensated digital quadrature signal. Likewise, the method may comprise generating a first signal and a third signal by multiplying the digital in-phase signal with the first compensation coefficient and the third compensation coefficient respectively, generating a second signal and a fourth signal by multiplying the digital quadrature signal with the second compensation coefficient and the fourth compensation coefficient respectively, summing the first signal and the second signal to output the compensated digital in-phase signal, and summing the third signal and the fourth signal to output the compensated digital quadrature signal.


Although the disclosure has been described above with reference to different components, such as a compensation stage and a compensation coefficient generator, these components need not necessarily be physically distinct. One or more of the components may be implemented in a processor, such as a Digital Signal Processor (DSP), and two or more such components may be implemented in the same processor.


Similarly, the method can be implemented using computer software and, according to a further aspect, there is provided computer software or computer program code adapted to carry out the method described above when processed by a computer or a processor. The computer software or computer program code can be carried by a computer readable medium. The medium may be a physical storage medium such as a Read Only Memory (ROM) chip. Alternatively, it may be a disk such as a Digital Video Disk (DVD-ROM) or Compact Disk (CD-ROM). It could also be a signal such as an electronic signal over wires, an optical signal or a radio signal. The disclosure extends to a computer or to a processor running the software or code, e.g. a computer configured to carry out the method described above.


Embodiments of the disclosure are described below, with reference to the accompanying drawings, by way of example only.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a schematic illustration of a receiver according to an embodiment of the disclosure.



FIG. 2 is a schematic illustration of a compensation stage of the receiver shown in FIG. 1.



FIG. 3 is a schematic illustration of a compensation coefficient application stage of the compensation stage shown in FIG. 2.





DETAILED DESCRIPTION

Referring to FIG. 1, according to one embodiment of the disclosure there is provided a receiver 100. The receiver 100 is a Radio Frequency (RF) receiver 100 in the sense that it is arranged to receive an RF signal r′(t). The receiver 100 has an antenna 102 at which the RF signal r′(t) is received. A filter 104, which is usually a band pass filter, is coupled to the antenna 102 and arranged to filter the RF signal r′(t) received at the antenna 102 to output a filtered RF signal r(t).


The receiver 100 has an In-phase path (I-path) 101 and a Quadrature path (Q-path) 103. More specifically, the receiver 100 has a local oscillator (LO) generator 106 for generating an I-path LO signal vI(t) and a Q-path LO signal vQ(t). The I-path LO signal vI(t) and the Q-path LO signal vQ(t) have the same LO frequency, but the phase of the Q-path LO signal vQ(t) is shifted by 90° with respect to the phase of the I-path LO signal vI(t). An I-path multiplier 108 multiplies the filtered RF signal r(t) with the I-path LO signal vI(t) to output an I-path signal xI′″(t) and a Q-path multiplier 110 multiplies the filtered RF signal r(t) with the Q-path LO signal vQ(t) to output a Q-path signal xQ′″(t). In this embodiment, the LO frequency is the same as a carrier frequency of the received RF signal r′(t). This means that the I-path signal xI′″(t) and the Q-path signal xQ′″(t) are baseband signals and the receiver 100 is of a type known as a Zero Intermediate Frequency (Zero-IF) receiver. However, the disclosure is equally applicable to embodiments in which the LO frequency is slightly lower than the carrier frequency of the received RF signal r′(t), meaning that the I-path signal xI′″(t) and the Q-path signal xQ′″(t) are close to baseband and the receiver 100 is of a type known as a Low Intermediate Frequency (Low-IF) receiver.


In the I-path 101, an I-path filter 112 is coupled to an output of the I-path multiplier 108 and arranged to filter the I-path signal xI′″(t) to output a filtered I-path signal xI″(t); an I-path amplifier 116 is coupled to an output of the I-path filter 112 and arranged to amplify the filtered I-path signal xI″(t) to output an amplified I-path signal xI′(t); and an I-path Analogue-to-Digital Converter (ADC) 120 is coupled to an output of the I-path amplifier 116 to convert the amplified I-path signal xI′(t) to a digital I-path signal xI(t). Correspondingly, in the Q-path 103, a Q-path filter 114 is coupled to an output of the Q-path multiplier 110 and arranged to filter the Q-path signal xQ′″(t) to output a filtered Q-path signal xQ″(t); a Q-path amplifier 118 is coupled to an output of the Q-path filter 114 and arranged to amplify the filtered Q-path signal xQ″(t) to output an amplified Q-path signal xQ′(t); and a Q-path ADC 122 is coupled to an output of the Q-path amplifier 118 to convert the amplified Q-path signal xQ′(t) to a digital Q-path signal xQ(t). In this embodiment, the I-path filter 112 and the Q-path filter 114 are low pass filters.


Due to inevitable imperfections in the structure of the receiver 100, it is difficult to ensure that the phase of the Q-path LO signal vQ(t) is shifted with respect to the phase of the I-path LO signal vI(t) by exactly 90°, leading to the digital Q-path signal xQ(t) having an error component. The inaccuracy of the phase shift can be defined as a phase error φ in the Q-path LO signal vQ(t) with respect to the I-path LO signal vI(t) shifted by exactly 90°. It is similarly difficult to ensure that the gain applied along the I-path 101 and the gain applied along the Q-path 103 are the same. This results in a gain error g in the form of a ratio of the gain of the Q-path 103 to the gain of the I-path 101. In an ideal receiver 100, the phase error φ is zero, i.e. φ=0, and the gain error g is unity, i.e. g=1, but in a real receiver 100 this does not hold true.


In this embodiment, the I-path amplifier 116 and the Q-path amplifier 118 have variable gain, with the gain of the amplifiers 116, 118 being changed from time to time. This is useful for allowing the receiver 100 to handle variations in the strength of the received RF signal r′(t), as well as changes in noise and interference. However, the variable gain of the amplifiers 116, 118 can cause the variations in the gain error g. In particular, where the I-path amplifier 116 and the Q-path amplifier 118 are each implemented as two or more amplifiers with fixed gain that can be selectively coupled in I-path or Q-path respectively to provide a variable cumulative gain, coupling and decoupling one or more of the fixed gain amplifiers can cause step changes in the gain error g.


In order to deal with the gain error g and the phase error φ in the digital I-path signal xI(t) and the digital Q-path signal xQ(t), the receiver 100 includes a compensation stage 124. The compensation stage is arranged to compensate for the gain error g and the phase error φ. A first input 126 of the compensation stage 124 is coupled to an output 121 of the I-path ADC 120 so as to receive the digital I-path signal xI(t), and a second input 128 of the compensation stage 124 is coupled to an output 123 of the Q-path ADC 122 so as to receive the digital Q-path signal xQ(t). The compensation stage 124 delivers a compensated digital I-path signal yI(t) at a first output 130 and a compensated digital Q-path signal yQ(t) at a second output 132.


Referring to FIG. 2, the compensation stage 124 has a compensation coefficient generation stage 200, a compensation coefficient application stage 202, a gain control stage 208, a relative gradient generation stage 214 and a step parameter generation stage 224.


The compensation coefficient generation stage 200 is arranged to generate a first compensation coefficient W1,1, a second compensation coefficient W1,2, a third compensation coefficient W2,1 and a fourth compensation coefficient W2,2, and to deliver them to the output 206. An input 204 of the compensation coefficient application stage 202 is coupled to an output 206 of the compensation coefficient generation stage 200 so as to receive the first, second, third and fourth compensation coefficients W1,1, W1,2, W2,1, W2,2 from the compensation coefficient generation stage 200. The compensation coefficient application stage 202 is arranged to apply the first, second, third and fourth compensation coefficients W1,1, W1,2, W2,1, W2,2 to the digital I-path signal xI(t) and the digital Q-path signal xQ(t) to deliver the compensated digital I-path signal yI(t) and the compensated digital Q-path signal yQ(t).


Referring to FIG. 3, in more detail, the compensation coefficient application stage 202 has a first multiplier 302 for multiplying the digital I-path signal xI(t) by the first compensation coefficient W1,1 to generate a first signal y1,1(t); a second multiplier 304 for multiplying the digital Q-path signal xQ(t) by the second compensation coefficient W1,2 to generate a second signal y1,2(t); a third multiplier 306 for multiplying the digital I-path signal xI(t) by the third compensation coefficient W2,1 to generate a third signal y2,1 (t); and a fourth multiplier 308 for multiplying the digital Q-path signal xQ(t) by the fourth compensation coefficient W2,2 to generate a fourth signal y2,2(t). The coefficient application stage 202 also has a first summing stage 310 for summing the first signal y1,1(t) and the second signal y1,2 (t) to generate the compensated digital I-path signal yI(t), and a second summing stage 312 for summing the third signal y2,1 (t) and the fourth signal y2,2 (t) to generate the compensated digital Q-path signal yQ(t). This can be expressed mathematically as

yI(t)=W1,1·xI(t)+W1,2·xQ(t)
yQ(t)=W2,1·xI(t)+W2,2·xQ(t)  (1)


The gain control stage 208 of the compensation stage 124 has a first input 210 arranged receive the digital I-path signal xI(t) and a second input 212 arranged to receive the digital Q-path signal xQ(t). The gain control stage 214 uses a level X1,n of the digital I-path signal xI(t) at a time n and a level X2,n of the digital Q-path signal xQ(t) at the time n to determine a gain control parameter cn, and deliver it to an output 213.


The relative gradient generation stage 214 has a first input 216 arranged to receive the compensated digital I-path signal yI(t), a second input 218 arranged to receive the compensated digital Q-path signal yQ(t), and a third input 220 coupled to the output 213 of the gain control stage 208 so as to receive the gain control parameter cn. The relative gradient generation stage 214 uses a level Y1,n of the compensated digital I-path signal yI(t) at the time n, a level Y2,n of the compensated digital Q-path signal yQ(t) at the time n, and the gain control parameter cn to determine first, second and fourth relative gradient coefficients H1,1, H1,2, H2,2, and to deliver them to an output 223.


The step parameter generation stage 224 has a first input 226 coupled to the output 223 of the relative gradient generation stage 214 so as to receive the first, second and fourth relative gradient coefficients H1,1, H1,2, H2,2 and a second input 228 coupled to the output 206 of the compensation coefficient generation stage 200 so as to receive the first, second, third and fourth compensation coefficients W1,1, W1,2, W2,1, W2,2. The step function generation stage 224 determines a step parameter μn for the time n using the first, second and fourth relative gradient coefficients H1,1, H1,2, H2,2, the first, second, third and fourth compensation coefficients W1,1, W1,2, W2,1, W2,2 and a step parameter μn-1 determined for the preceding time n−1 and delivers the step parameter μn determined for the time n to an output 232.


The compensation coefficient generation stage 200 has a first input 234 coupled to the output 223 of the relative gradient generation stage 214 so as to receive the first, second and fourth relative gradient coefficients H1,1, H1,2, H2,2 and a second input 236 coupled to the output 232 of the step parameter generation stage 224 so as to receive the step parameter μn. The compensation coefficient generation stage 200 is arranged to generate the first, second, third and fourth compensation coefficients W1,1, W1,2, W2,1, W2,2 for the time n based on the first, second, third and fourth compensation coefficients W1,1, W1,2, W2,1, W2,2 for the preceding time n−1, the first, second and fourth relative gradient coefficients H1,1, H1,2, H2,2 and the step parameter μn.


In order to explain the operation of the compensation stage 124, it is useful to define an ideal digital I-path signal zI(t) and an ideal digital Q-path signal zQ(t) when the phase error φ and the gain error g are perfectly compensated for by the compensation stage 124. The relationship between the actual digital I-path and Q-path signals xI(t), xQ(t) of the receiver 100 and the ideal digital I-path and Q-path signals zI(t), zQ(t) can be expressed as










[





x
I



(
t
)








x
Q



(
t
)





]

=


[



1


0






-
g






sin





ϕ




g





cos





ϕ




]



[





z
I



(
t
)








z
Q



(
t
)





]






(
2
)







It is evident from equation (2) that the phase error φ and/or the gain error g having non-ideal values causes a component of the ideal digital I-path signal zI(t) to be present in the real digital Q-path signal xQ(t). Moreover, the ideal digital I-path signal zI(t) and the ideal digital Q-path signal zQ(t) are orthogonal to one another, and the unwanted components in the real digital Q-path signal xQ(t) comprise an undesired correlation between these signals.


The compensated digital I-path signal yI(t) at the first output 130 of the compensation stage 124 and the compensated digital Q-path signal yQ(t) at the second output 132 of the compensation stage 124 are estimates of the ideal digital I-path signal zI(t) and the ideal digital Q-path signal zQ(t). The purpose of the compensation stage 124 is to ensure that the compensated digital I-path signal yI(t) and the compensated digital Q-path signal yQ(t) are the best possible estimates of the ideal digital I-path signal zI(t) and the ideal digital Q-path signal zQ(t).


Defining an uncompensated signal matrix Xn for a time n, in the form








X
n

=

[




X

1
,
n







X

2
,
n





]


,





a compensated signal matrix Yn for the time n, in the form








Y
n

=

[




Y

1
,
n







Y

2
,
n





]


,





can be defined as

Yn=Wn-1Xn  (3)

where Wn-1 is a compensation matrix of the first, second, third and fourth compensation coefficients W1,1, W1,2, W2,1 and W2,2, in the form








W

n
-
1


=

[




W

1
,
1





W

1
,
2







W

2
,
1





W

2
,
2





]


,





generated by the composition coefficient generation stage 200 for a preceding time n−1. Moreover, by defining a relative gradient matrix Hn, in the form








H
n

=

[




H

1
,
1





H

1
,
2







H

2
,
1





H

2
,
2





]


,





generation of the first, second, third and fourth compensation coefficients W1,1, W1,2, W2,1 and W2,2 for the time n by the compensation coefficient generation stage 200 can be defined as

Wn=(I2−μn-1Hn)Wn-1  (4)

where I2 is the identity matrix of size two by two. In other words, the step parameter μn-1 for the preceding time n−1 and the relative gradient matrix Hn are used to update the compensation matrix Wn.


The relative gradient generation stage 214 generates the relative gradient matrix Hn for the time n using

Hn=cnYn·Ynt−I2  (5)


It can be seen that the relative gradient matrix Hn depends on the compensated signal matrix Yn, but not on the uncompensated signal matrix Xn or, indeed, information about the ideal digital I-path and Q-path signals zI(t), zQ(t). Moreover, because the relative gradient matrix Hn is based on a multiplication of the compensated signal matrix Yn with its transpose Ynt, the relative gradient matrix Hn identifies any correlation or gain mismatch between the digital I-path signal xI(t) and Q-path signals xI(t), and minimisation of the relative gradient matrix Hn optimises the compensation matrix Wn.


The relative gradient matrix Hn is diagonally symmetric, which means that the second relative gradient coefficient H1,2 is equal to a third relative gradient coefficient H2,1, i.e. H1,2=H2,1, and these coefficients can be determined in a single operation. Generation of the relative gradient matrix Hn by the relative gradient generation stage 214 can therefore be expressed more specifically as

H1,1=cn·Y1,n2−1
H1,2=H2,1=cn·Y1,n·Y2,n
H2,2=cn·Y2,n2−1  (6)


The step parameter generation stage 224 generates the step parameter μn using

μnn-1(α−βtrace(HnGn))  (7)


where α is a first constant, in this embodiment having a value of 997 thousandths, i.e. α=0.997, β is a second constant, in this embodiment having a value of two to the power of minus twenty three, i.e. β=2−23, and Gn is an update function matrix of first, second, third and fourth update function parameters G1,1, G1,2, G2,1 and G2,2 in the form








G
n

=

[




G

1
,
1
,





G

1
,
2







G

2
,
1





G

2
,
2





]


,





defined by

Gn=(I2−μn-1Hn)Gn-1−HnWn-1−2μn-1Gn-1(Hn+I2)  (8)


The update function matrix Gn is an expression of the rate of change of the compensation matrix Wn with the step parameter μn. By incorporating the update function matrix Gn in the generation of the step parameter μn based on equation (6), the step parameter μn is made adaptive. Specifically, variations in the rate of change of the compensation matrix Wn with the step parameter μn cause the magnitude of the step parameter μn to change.


The structure of equation (7), by which the step parameter μn-1, adjusted using the second constant β and the trace function, is subtracted from the same step parameter μn-1 adjusted using the first constant α, provides a forgetting factor to smooth changes in the value of the step parameter μn.


Although the first constant α is described as having a value of 997 thousandths, i.e. α=0.997, and the second constant β is described as having a value of two to the power of minus twenty three, i.e. β=2−23, these values are not essential. Rather, the values can be optimised for a particular implementation. Typically, in most implementations, the first constant α has a value of in the order of thousandths less than 1, and the second constant β has a value between two to the power of minus twenty to two to the power of minus twenty five.


In order to generate the step parameter μn, the step parameter generation stage 224 first determines the update function matrix Gn based on equation (8). In order to do this, it is useful to define, as a intermediate step, an update matrix Upn, in the form







Up
=

[




Up

1
,
1





Up

1
,
2







Up

2
,
1





Up

2
,
2





]


,





where Up1,1, Up1,2, Up2,1 and Up2,2 are first, second, third and fourth update coefficients defined by

Up1,1=1−μH1,1
Up1,2=Up2,1=−μH1,2
Up2,2=1−μH2,2  (9)


This allows the update function matrix Gn determined by the step parameter generation stage 224 to be expressed more specifically as

G1,1=Up1,1·G1,1+Up1,2·G2,1−H1,1·W1,1−H1,2·W2,1−2μ(G1,1(H1,1+1)+G1,2H1,2)
G1,2=Up1,1·G1,2+Up1,2·G2,2−H1,1·W1,2−H1,2·W2,2−2μ(G1,1·H1,1+G1,2·(H2,2+1))
G2,1=Up1,2·G1,1+Up2,2·G2,1−H1,2·W1,1−H2,2·W2,1−2μ(G2,1·(H1,1+1)+G2,2·H1,2)
G2,2=Up1,2·G1,2+Up2,2·G2,2−H1,2·W1,2−H2,2·W2,2−2μ(G2,1·H1,2+G2,2·(H2,2+1))  (10)


With the first, second, third and fourth update function parameters G1,1, G1,2, G2,1 and G2,2 determined, the step parameter generation stage 224 determines the step parameter μn based on equation (7). Generation of the step parameter μn by the step parameter generation stage 224 can be expressed more specifically as

μ=μ·{α−β[H1,1·G1,1+H1,2·(G2,1+G1,2)+H2,2·G2,2]}  (11)


The compensation coefficient generation stage 200 uses the step parameter μn and the first, second and fourth relative gradient coefficients H1,1, H1,2, H2,2 to generate the first, second, third and fourth compensation coefficients W1,1, W1,2, W2,1, W2,2 based on equation (4). Again, it is useful to perform this generation using an intermediate step based on the first, second, third and fourth update coefficients Up1,1, Up1,2, Up2,1, Up2,2 of the update matrix Upn, so that

W1,1=Up1,1·W1,1+Up1,2·W2,1
W1,2=Up1,1·W1,2+Up1,2·W2,2
W2,1=Up1,2·W1,1+Up2,2·W2,1
W2,2=Up1,2·W1,2+Up2,2·W2,2  (12)


In this embodiment, the gain control parameter cn for time n is generated by the gain control stage 208 using

cn=2−bn  (13)


where a first gain control value an at time n is defined by

an=an-1+λ(∥Xn2−an-1)  (14)


and a second gain control value bn at time n is defined by

bn=round(log2an)  (15)


where ∥ ∥ denotes a norm and λ is a smoothing factor, which in this embodiment is equal to one ten thousandth, i.e. λ=0.0001. By referring to the levels X1,n, X2,n of the digital I-path signal xI(t) and the digital Q-path signal xQ(t) instead of the uncompensated signal matrix Xn, determination of the first gain control value an can be expressed more specifically as

an=an-1+λ(X1,n2+X2,n2−an-1)  (16)


In order to determine the gain control parameter cn, the gain control stage 208 determines the first gain control value an at the time n using equation (14) or (16). With the first gain control value an at the time n determined, the gain control stage 208 determines the second gain control value bn and the gain control parameter cn, using equations (13) and (15). For simplicity, the log2 operation in equation (15) is simplified by finding the power of two closest to the gain control value an, rather than performing the log2 operation in full. Also, the operation defined in equation (13) is implemented as a right shift by a number of bits equal to the second gain control value bn. Once determined, the gain control parameter cn is delivered to output 213 of the gain control stage 208.


As the level of first gain control value an at the time n depends on the level of the first gain control value an-1 at the preceding time n−1, the level is determined iteratively. Moreover, on start-up of the process, it can take a number of iterations for an accurate level to be arrived at. For this reason, when the compensation stage 124 begins operation, the gain control stage 208 is run for a period of time N before compensation of the digital I-path signal xI(t) and the digital Q-path signal xQ(t) begins. At the beginning of this period of time, the gain control stage 208 sets the first gain control value an-1 at zero, i.e. an-1=0. Optionally, the smoothing factor λ is also set at a different, higher value. In this embodiment, the smoothing factor λ is set at three tenths, i.e. λ=0.3. During the period of time N, the compensation matrix Wn, the update function matrix Gn and the step parameter μn are held constant. In this embodiment, the constant compensation matrix Wn, update function matrix Gn and step parameter μn are











W

-
1


=

[



1


0




0


1



]









G

-
1


=

[



0


0




0


0



]









μ

-
1


=

2

-
6







(
17
)







Although the smoothing factor λ is described as having an initial value of 0.3 and a normal value of one ten thousandth, these values are not essential. Rather, the values can be optimised for a particular implementation. Typically, in most implementations, the smoothing factor λ has an initial value in the order of tenths, and a normal value in the order of ten thousandths. Similarly, the constant value of the step parameter μ−1 used during start up need not be 2−6. Rather, it is typically of the order of millionths.


In another embodiment, the gain control parameter cn is determined as the inverse of the first gain control value an.


In yet another embodiment, the step function μn given in equation (7) above is replaced by

μnn−1+β(η−γμn-1)  (18)
where
η=μn-1n-1−αtrace(HnGn))  (19)


In this embodiment, the first constant α has a value of one ten thousandth, i.e. α=10−4 and the second constant β has a value of one hundredth, i.e. β=10−2, and a third constant γ has a value of 95 hundredths, i.e. γ=0.95. However, as before, these values are not essential, and the first constant α typically has a value in the order of ten thousandths, the second constant β has a value in the order of hundredths, and the third constant γ has a value of hundredths less than one.


Updating the step function μn using equations (18) and (19) instead of equation (7) provides different convergence properties. In particular, the compensation coefficients W1,1, W1,2, W2,1, W2,2 tend to converge more quickly, but are slightly less stable during periods when the phase error φ and gain error g do not change significantly.


Other variations and modifications will be apparent to the skilled person. Such variations and modifications may involve equivalent and other features that are already known and which may be used instead of, or in addition to, features described herein. Features that are described in the context of separate embodiments may be provided in combination in a single embodiment. Conversely, features that are described in the context of a single embodiment may also be provided separately or in any suitable sub-combination.


It should be noted that the term “comprising” does not exclude other elements or steps, the term “a” or “an” does not exclude a plurality, a single feature may fulfil the functions of several features recited in the claims and reference signs in the claims shall not be construed as limiting the scope of the claims. It should also be noted that the Figures are not necessarily to scale; emphasis instead generally being placed upon illustrating the principles of the present invention.

Claims
  • 1. A receiver for receiving a signal, the receiver comprising: a local oscillator arranged to deliver an in-phase local oscillator signal and a quadrature local oscillator signal;an in-phase signal path having a mixer arranged to mix the signal received by the receiver with the in-phase local oscillator signal to deliver an in-phase signal, and an analogue-to-digital converter arranged to convert the in-phase signal to a digital in-phase signal; anda quadrature signal path having a mixer arranged to mix the signal received by the receiver with the quadrature local oscillator signal to deliver a quadrature signal, and an analogue-to-digital converter arranged to convert the quadrature signal to a digital quadrature signal;a compensation stage arranged to deliver a compensated digital in-phase signal and a compensated digital quadrature signal by applying compensation coefficients to the digital in-phase signal and the digital quadrature signal; anda compensation coefficient generator arranged to generate the compensation coefficients by iteratively updating them using a relative gradient of the compensated digital in-phase signal and the compensated digital quadrature signal, and a step parameter,wherein the compensation stage is arranged to adjust a magnitude of the step parameter based on the relative gradient of the compensated digital in-phase signal and the compensated digital quadrature signal and a rate of change of the compensation coefficients.
  • 2. The receiver of claim 1, wherein the compensation stage is arranged to adjust the magnitude of the step parameter based on the rate of change of the compensation coefficients with the magnitude of the step parameter.
  • 3. The receiver of claim 1, wherein the compensation stage is arranged to adjust the magnitude of the step parameter based on a trace function of a first matrix of the rate of change of the compensation coefficients with the magnitude of the step parameter and a second matrix of the relative gradient of the compensated digital in-phase signal and the compensated digital quadrature signal.
  • 4. The receiver of claim 3, wherein the compensation stage is arranged to adjust the magnitude of the step parameter based on μn=μn-1(α−βtrace(HnGn))where ,μn-1 is the magnitude of the step parameter, μn is the adjusted magnitude of the step parameter, Gn is the first matrix, Hn is the second matrix, n is a time index, and α and β are constants.
  • 5. The receiver of claim 3, wherein the compensation stage is arranged to adjust the magnitude of the step parameter based on μn=μn-1+β(η−γμn-1)whereη=μn-1(μn-1−αtrace(HnGn))μn-1 is the magnitude of the step parameter, μn is the adjusted magnitude of the step parameter, Gn is the first matrix, Hn is the second matrix, n is a time index, and α, β and γ are constants.
  • 6. The receiver of claim 1, further comprising a gain controller arranged to generate a gain control parameter and a relative gradient generation stage arranged to generate the relative gradient based on the gain control parameter, the compensated digital in-phase signal and the compensated digital quadrature signal.
  • 7. The receiver of claim 6, wherein the relative gradient generation stage is arranged to generate the relative gradient based on Hn=cnYn·Ynt−I2 where Hn is a relative gradient matrix, cn is the gain control parameter, Yn is a matrix of the compensated digital in-phase signal and the compensated digital quadrature signal at a time n , Ynt is the transpose of Yn and I2 is an identity matrix.
  • 8. The receiver of claim 6, wherein the gain controller is arranged to generate the gain control parameter based on the uncompensated digital in-phase signal and the uncompensated digital quadrature signal.
  • 9. The receiver of claim 6, wherein the gain control parameter has a value that normalizes the compensated digital in-phase signal and the compensated digital quadrature signal.
  • 10. The receiver of claim 6, wherein the gain controller is arranged to generate the gain control parameter based on cn=2−bn where bn is a gain control value defined by bn=round(log2an)and an is another gain control value defined by an=an-1+λ(∥Xn∥2−an-1)where Xn is a matrix of the uncompensated digital in-phase signal and the uncompensated digital quadrature signal at time n , ∥ ∥0 denotes a norm and λ is a smoothing factor.
  • 11. The receiver of claim 1, wherein the compensation coefficients generated by the compensation coefficient generator comprise a first compensation coefficient, a second compensation coefficient, a third compensation coefficient and a fourth compensation coefficient, and the compensation stage is arranged to generate a first signal and a third signal by multiplying the digital in-phase signal with the first compensation coefficient and the third compensation coefficient respectively, to generate a second signal and a fourth signal by multiplying the digital quadrature signal with the second compensation coefficient and the fourth compensation coefficient respectively, to sum the first signal and the second signal to output the compensated digital in-phase signal, and to sum the third signal and the fourth signal to output the compensated digital quadrature signal.
  • 12. A communication device incorporating the receiver of claim 1.
  • 13. A method comprising: receiving a signal;delivering an in-phase local oscillator signal and a quadrature local oscillator signal;in an in-phase signal path, mixing the received signal with the in-phase local oscillator signal to deliver an in-phase signal and converting the in-phase signal to a digital in-phase signal; andin a quadrature signal path, mixing the received signal with the quadrature local oscillator signal to deliver a quadrature signal and converting the quadrature signal to a digital quadrature signal;applying compensation coefficients to the digital in-phase signal and the digital quadrature signal to deliver a compensated digital in-phase signal and a compensated digital quadrature signal;generating the compensation coefficients by iteratively updating them using a relative gradient of the compensated digital in-phase signal and the compensated digital quadrature signal, and a step parameter;adjusting a magnitude of the step parameter based on the relative gradient of the compensated digital in-phase signal and the compensated digital quadrature signal and a rate of change of the compensation coefficients.
  • 14. A non-transitory computer readable medium carrying computer program code arranged to carry out the method of claim 13 when executed by a processor.
Priority Claims (1)
Number Date Country Kind
12163662 Apr 2012 EP regional
PCT Information
Filing Document Filing Date Country Kind
PCT/EP2013/057445 4/10/2013 WO 00
Publishing Document Publishing Date Country Kind
WO2013/153087 10/17/2013 WO A
US Referenced Citations (11)
Number Name Date Kind
5705949 Alelyunas et al. Jan 1998 A
6987815 Denno Jan 2006 B2
8644522 LeBlanc et al. Feb 2014 B2
8654885 Lee et al. Feb 2014 B2
8792591 Lee Jul 2014 B1
20020097812 Wiss Jul 2002 A1
20060291590 Elahi et al. Dec 2006 A1
20070076827 Beamish et al. Apr 2007 A1
20080025381 Lee et al. Jan 2008 A1
20090147886 Astrom et al. Jun 2009 A1
20110182388 Kim et al. Jul 2011 A1
Non-Patent Literature Citations (4)
Entry
International Search Report issued in corresponding International Application No. PCT/EP2013/057445, date of mailing Jun. 3, 2013.
Written Opinion of the International Searching Authority issued in corresponding International Application No. PCT/EP2013/057445, date of mailing Jun. 3, 2013.
Extended European Search Report issued in corresponding European application No. EP 12 16 3662, date of completion Jul. 9, 2012.
M. Valkama, et al.; “Blind I/Q Signal Separation-Based Solutions for Receiver Signal Processing”; ERUASIP Journal on Applied Signal Processing; Sep. 21, 2005; pp. 2708-2718.
Related Publications (1)
Number Date Country
20150172082 A1 Jun 2015 US
Provisional Applications (1)
Number Date Country
61624526 Apr 2012 US