Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
IQ MISMATCH COMPENSATION
Document Type and Number:
WIPO Patent Application WO/2013/153087
Kind Code:
A1
Abstract:
A receiver (100) has an ln-phase path (l-path) (101) that delivers a digital l-path signal ϰ 1 (t) and a Quadrature path (Q-path) (103) that delivers a digital Q-path signal ϰ Q (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 ϰ 1 (t) and the digital Q-path signal ϰ Q (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 ϰ 1 (t) and the digital Q-path signal ϰ Q (t) are generated by iteratively updating them using a relative gradient of the compensated digital in-phase signal γ 1(t) and a compensated digital quadrature signal γ Q (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.

Inventors:
BELVEZE FABRICE (FR)
GERZAGUET ROBIN (FR)
Application Number:
PCT/EP2013/057445
Publication Date:
October 17, 2013
Filing Date:
April 10, 2013
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ST ERICSSON SA (CH)
International Classes:
H04L27/38; H03D3/00
Foreign References:
US20020097812A12002-07-25
US20110182388A12011-07-28
US20090147886A12009-06-11
Other References:
VALKAMA ET AL.: "Blind I/O Signal Separation-Based Solutions for Receiver Signal Processing", EURASIP JOURNAL ON APPLIED SIGNAL PROCESSING, 1 January 2005 (2005-01-01), pages 2708 - 2718
Attorney, Agent or Firm:
GRAY, Peter John Bracey (Central Court25 Southampton Buildings, London London WC2A 1AL, GB)
Download PDF:
Claims:
Claims

1. A receiver (100) for receiving a signal, the receiver (100) comprising:

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

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

a quadrature signal path (103) having a mixer (1 10) arranged to mix the signal received by the receiver (100) with the quadrature local oscillator signal to deliver a quadrature signal, and an analogue-to-digital converter (122) arranged convert the quadrature signal to a digital quadrature signal;

a compensation stage (124) 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 (200) 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 (124) is arranged to adjust the magnitude of the step parameter based on the rate of change of the compensation coefficients.

2. The receiver (100) of claim 1 , wherein the compensation stage (124) 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 (100) of claim 1 or claim 2, wherein the compensation stage (124) is 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.

4. The receiver (100) of claim 1 , wherein the compensation stage (124) 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.

5. The receiver (100) of claim 4, wherein the compensation stage (124) is arranged to adjust the magnitude of the step parameter based on

« = Vi (« -firace(HnG„ ))

where μη is the magnitude of the step parameter, μη is the adjusted magnitude of the step parameter, Gn is the first matrix, Hn is the second matrix and a and β are constants.

6. The receiver (100) of claim 4, wherein the compensation stage (124) is arranged to adjust the magnitude of the step parameter based on where

= n-i (/Vi - cctrace(HnGn ))

μη is the magnitude of the step parameter, μη is the adjusted magnitude of the step parameter, Gn is the first matrix, Hn is the second matrix and a , β and γ are constants.

7. The receiver (100) of any one of the preceding claims, further comprising a gain controller (208) arranged to generate a gain control parameter and a relative gradient generation stage (214) arranged to generate the relative gradient based on the gain control parameter, the compensated digital in-phase signal and the compensated digital quadrature signal.

8. The receiver (100) of claim 7, wherein the relative gradient generation stage (214) is arranged to generate the relative gradient based on

H 1 1 n = c'n Y1 n - Υl n' -I J 2

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 , Y^ is the transpose of Yn and I2 is an identity matrix.

9. The receiver (100) of claim 7 or claim 8, wherein the gain controller (208) is arranged to generate the gain control parameter based on the uncompensated digital in- phase signal and the uncompensated digital quadrature signal.

10. The receiver (100) of any one of claims 7 to 9, wherein the gain control parameter has a value that normalises the compensated digital in-phase signal and the compensated digital quadrature signal.

1 1. The receiver (100) of any one of claims 7 to 10, wherein the gain controller (208) is arranged to generate the gain control parameter based on where bn is a gain control value defined by

bn = round (log2 an )

and a is another gain control value defined by

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.

12. The receiver (100) of any one of the preceding claims, wherein the compensation coefficients generated by the compensation coefficient generator (200) comprise a first compensation coefficient, a second compensation coefficient, a third compensation coefficient and a fourth compensation coefficient, and the compensation stage (124) 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.

13. A communication device incorporating the receiver of any one of the preceding claims.

14. 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 (101 ), 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 (103), 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.

15. A computer readable medium carrying computer programme code arranged to carry out the method of claim 1 1 when executed by a processor.

Description:
IQ MISMATCH COMPENSATION

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 l/Q Signal Separation-Based Solutions for Receiver Signal Processing", Valkama et al, EURASIP Journal on Applied Signal Processing, 1 January 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

A, = n -i {a - Ptrace{H n G n ))

where μ η is the magnitude of the step parameter, μ η is the adjusted magnitude of the step parameter, G n is the first matrix, H n is the second matrix and a and β are constants.

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

μ η = μ η _^β(η - γμ η _^

where

μ η _ γ is the magnitude of the step parameter, μ η is the adjusted magnitude of the step parameter, G n is the first matrix, H n is the second matrix and a , β 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 where H n is a relative gradient matrix, c n is the gain control parameter, Y n is a matrix of the compensated digital in-phase signal and the compensated digital quadrature signal at a time n , is the transpose of Y n and I 2 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 where b n is a gain control value defined by

b n = round (log 2 a n )

and a is another gain control value defined by

where X n 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

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

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

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

Detailed Description

Referring to Figure 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 ln-phase path (l-path) 101 and a Quadrature path (Q- path) 103. More specifically, the receiver 100 has a local oscillator (LO) generator 106 for generating an l-path LO signal v 7 (t) and a Q-path LO signal v Q (t) . The l-path LO signal

V j (t) and the Q-path LO signal v Q (t) have the same LO frequency, but the phase of the

Q-path LO signal v Q (t) is shifted by 90° with respect to the phase of the l-path LO signal

V j (t) . An l-path multiplier 108 multiplies the filtered RF signal r{t) with the l-path LO signal v 7 (t) to output an l-path signal x"(t) and a Q-path multiplier 1 10 multiplies the filtered RF signal r(t) with the Q-path LO signal v Q (t) to output a Q-path signal X if) . In this embodiment, the LO frequency is the same as a carrier frequency of the received RF signal r \t) . This means that the l-path signal x'"(t) and the Q-path signal Xg(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 l-path signal x'"(t) and the Q-path signal xg' it) are close to baseband and the receiver 100 is of a type known as a Low Intermediate Frequency (Low-IF) receiver.

In the l-path 101 , an l-path filter 1 12 is coupled to an output of the l-path multiplier 108 and arranged to filter the l-path signal "(t) to output a filtered l-path signal 7 (t) ; an l-path amplifier 1 16 is coupled to an output of the l-path filter 1 12 and arranged to amplify the filtered l-path signal 7 (t) to output an amplified l-path signal x j ' i ) ; and an l-path Analogue-to-Digital Converter (ADC) 120 is coupled to an output of the l-path amplifier 1 16 to convert the amplified l-path signal 7 (t) to a digital l-path signal 7 (t) .

Correspondingly, in the Q-path 103, a Q-path filter 1 14 is coupled to an output of the Q- path multiplier 1 10 and arranged to filter the Q-path signal Xg(t) to output a filtered Q- path signal x Q " (t) ; a Q-path amplifier 1 18 is coupled to an output of the Q-path filter 1 14 and arranged to amplify the filtered Q-path signal x Q " (t) to output an amplified Q-path signal xg' it) ; and a Q-path ADC 122 is coupled to an output of the Q-path amplifier 1 18 to convert the amplified Q-path signal x Q ' {t) to a digital Q-path signal x Q (t) . In this embodiment, the l-path filter 1 12 and the Q-path filter 1 14 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 v Q (t) is shifted with respect to the phase of the l-path LO signal v 7 (t) by exactly 90°, leading to the digital Q-path signal x Q (t) having an error component. The inaccuracy of the phase shift can be defined as a phase error φ in the Q-path LO signal v Q (t) with respect to the l-path LO signal v 7 (t) shifted by exactly

90°. It is similarly difficult to ensure that the gain applied along the l-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 l-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 l-path amplifier 1 16 and the Q-path amplifier 1 18 have variable gain, with the gain of the amplifiers 1 16, 1 18 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 1 16, 1 18 can cause the variations in the gain error g . In particular, where the l-path amplifier 1 16 and the Q-path amplifier 1 18 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 l-path signal 7 (t) and the digital Q-path signal x Q (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 l-path ADC 120 so as to receive the digital l-path signal x 7 (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 x Q (t) . The compensation stage

124 delivers a compensated digital l-path signal j 7 (t) at a first output 130 and a compensated digital Q-path signal y Q (t) at a second output 132.

Referring to Figure 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 W n , a second compensation coefficient W l 2 , a third compensation coefficient W 2 l and a fourth compensation coefficient W 2 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 W i { , W U2 , W n ,

W 2 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 W i { , W U2 , W i W 2;2 to the digital l-path signal x 7 (t) and the digital Q-path signal x Q (t) to deliver the compensated digital l-path signal j 7 (t) and the compensated digital Q-path signal y Q (t) .

Referring to Figure 3, in more detail, the compensation coefficient application stage 202 has a first multiplier 302 for multiplying the digital l-path signal x 7 (t) by the first compensation coefficient W l l to generate a first signal y n (t) ; a second multiplier 304 for multiplying the digital Q-path signal x Q (t) by the second compensation coefficient W l 2 to generate a second signal y l 2 (t) ; a third multiplier 306 for multiplying the digital l-path signal x 7 (t) by the third compensation coefficient W 2 l to generate a third signal y 2 l (t) ; and a fourth multiplier 308 for multiplying the digital Q-path signal x Q (t) by the fourth compensation coefficient W 2 2 to generate a fourth signal y 2 2 (t) . The coefficient application stage 202 also has a first summing stage 310 for summing the first signal j u (t) and the second signal y U2 (t) to generate the compensated digital l-path signal j 7 (t) , and a second summing stage 312 for summing the third signal y 2 l (t) and the fourth signal y 2 2 (t) to generate the compensated digital Q-path signal y Q (t)■ This can be expressed mathematically as

y, ( ) = w i x I (t) + w 2 .x Q (t)

y Q (t) = W 2 x I (t) + W 2 2 .x Q (t)

The gain control stage 208 of the compensation stage 124 has a first input 210 arranged receive the digital l-path signal x 7 (t) and a second input 212 arranged to receive the digital Q-path signal x Q (t) . The gain control stage 214 uses a level X i n of th e digital l-path signal x 7 (t) at a time n and a level X 2 n of the digital Q-path signal x Q (t) at the time n to determine a gain control parameter c n , and deliver it to an output 213.

The relative gradient generation stage 214 has a first input 216 arranged to receive the compensated digital l-path signal j 7 (t) , a second input 218 arranged to receive the compensated digital Q-path signal y Q (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 c n .

The relative gradient generation stage 214 uses a level Y l n of the compensated digital I- path signal j 7 (t) at the time n , a level Y 2 n of the compensated digital Q-path signal y Q (t) at the time n , and the gain control parameter c n to determine first, second and fourth relative gradient coefficients H n , H l 2 , H 2 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 H n , H l 2 , H 2 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 W i { , W U2 , W 2 W 2 . The step function generation stage 224 determines a step parameter μ η for the time n using the first, second and fourth relative gradient coefficients H n , H l 2 , H 2 2 , the first, second, third and fourth compensation coefficients W , W l 2 , W 2 l , W 2 2 and a step parameter μ η determined for the preceding time n - 1 and delivers the step parameter μ η 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 H n , H 1 2 , H 2 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 μ η . The compensation coefficient generation stage 200 is arranged to generate the first, second, third and fourth compensation coefficients W i { , W U2 , W 2 W 2<2 for the time n based on the first, second, third and fourth compensation coefficients W n ,

W l 2 , W 2 l , W 2 2 for the preceding time n - 1 , the first, second and fourth relative gradient coefficients H u , H l 2 , H 2 2 and the step parameter μ η . In order to explain the operation of the compensation stage 124, it is useful to define an ideal digital l-path signal z 7 (t) and an ideal digital Q-path signal z Q (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 l-path and Q-path signals x 7 (t) , x Q (t) of the receiver 100 and the ideal digital l-path and Q-path signals z 7 (t) , z Q (t) can be expressed as

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 l-path signal z 7 (t) to be present in the real digital Q-path signal x Q (t) . Moreover, the ideal digital l-path signal Z j (t) and the ideal digital Q-path signal z Q (t) are orthogonal to one another, and the unwanted components in the real digital Q-path signal x Q (t) comprise an undesired correlation between these signals.

The compensated digital l-path signal j 7 (t) at the first output 130 of the compensation stage 124 and the compensated digital Q-path signal y Q (t) at the second output 132 of the compensation stage 124 are estimates of the ideal digital l-path signal Z j if) and the ideal digital Q-path signal z Q (t) . The purpose of the compensation stage

124 is to ensure that the compensated digital l-path signal j 7 (t) and the compensated digital Q-path signal y Q (t) are the best possible estimates of the ideal digital l-path signal

Z j if) and the ideal digital Q-path signal z Q (t) .

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

X„ can

be defined as

Y = w x (3) where W n _ x is a compensation matrix of the first, second, third and fourth compensation coefficients W ul , W U2 , W 2 and W 2fl , in the form W n

generated by the compensation coefficient generation stage 200 for a preceding time n - \ . Moreover, by defining a relative gradient matrix H n , in the form

H,. , generation of the first, second, third and fourth compensation

coefficients W ul , W U2 , W v and W 2fi for the time n by the compensation coefficient generation stage 200 can be defined as

(4) where I 2 is the identity matrix of size two by two. In other words, the step parameter μ η _ χ for the preceding time n - 1 and the relative gradient matrix H n are used to update the compensation matrix W n .

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

It can be seen that the relative gradient matrix H n depends on the compensated signal matrix Y n , but not on the uncompensated signal matrix X n or, indeed, information about the ideal digital l-path and Q-path signals z 7 (t) , z Q (t) . Moreover, because the relative gradient matrix H n is based on a multiplication of the compensated signal matrix Y n with its transpose Y , the relative gradient matrix H n identifies any correlation or gain mismatch between the digital l-path signal x 7 (t) and Q-path signals x 7 (t) , and

minimisation of the relative gradient matrix H n optimises the compensation matrix W n .

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

H i = 2 = c n I^ n (6)

The step parameter generation stage 224 generates the step parameter μ η using t* » = Vi (<x -0trace(H n G n )) (7) where a is a first constant, in this embodiment having a value of 997 thousandths, i.e. a = 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 G n is an update function matrix of first, second, third and fourth update function parameters G n , G l 2 , G 2 l and G 2 2 in the form defined by

G n = (/ 2 - „-l H „) G „-l - H W „-l - i n-fin-AHn + ) (8)

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

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

Although the first constant a is described as having a value of 997 thousandths, i.e. a = 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 a 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 μ η , the step parameter generation stage

224 first determines the update function matrix G n based on equation (8). In order to do this, it is useful to define, as a intermediate step, an update matrix Up n , in the form

Up where Up , Up l 2 , Up 2 l and Up 2 2 are first, second, third and fourth

update coefficients defined by

U Pl,2 = U P2,l = - Η 1,2 (9) υρ 2 = 1 ~ μ 2 2 This allows the update function matrix G n determined by the step parameter generation stage 224 to be expressed more specifically as

G u =U Pi G l +U Pi .G 2A -H i W ul -H i W 2A -2μ[θ 1 (H u +l) + G l2 H l 2 )

G,2 =Up i G 2 +U Pl!2 .G 2i2 -H i W 2 -H 2 W 2>2 -2/ (G u .H 12 + G 1>2 .(H 2>2 +l)) G 2 ,i = +Up 2,2 .G 2 , -H i W -H 2i2 W -2/ (G ¾1 .(H u +l) + G 2)2 .H 1>2 )

G 2,2 =Up 2 .G 2 +Up 22 .G 22 - U2 .W U2 -H 22 W 22 -2/ (G 21 .H 12 +G 22 .(H 22 +l))

(10)

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

= .{«-^[H u .G u +H 1;2 .(G ¾1 + G 1;2 ) + H ¾2 .G 2;2 ]j (11) The compensation coefficient generation stage 200 uses the step parameter μ η and the first, second and fourth relative gradient coefficients H n , H l2 , H 22 to generate the first, second, third and fourth compensation coefficients W l , W lfl , W 2 W 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 Up i{ , Up l2 , Up 2l ,Up 22 of the update matrix Up n , so that

W =U Pi W lA +Up 2 W 2

W 2 =Up l2 .W l2 +Up 2 .W 2

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

c n =T b - (13) where a first gain control value a at time n is defined by

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

b n = round (log 2 a n ) (15) where denotes a norm and λ is a smoothing factor, which in this embodiment is equal to one ten thousandth, i.e. 1 = 0.0001 . By referring to the levels X l n , X 2 n of the digital l-path signal 7 (t) and the digital Q-path signal x Q (t) instead of the

uncompensated signal matrix X n , determination of the first gain control value a n can be expressed more specifically as

In order to determine the gain control parameter c n , the gain control stage 208 determines the first gain control value a n at the time n using equation (14) or (16). With the first gain control value a n at the time n determined, the gain control stage 208 determines the second gain control value b n and the gain control parameter c n , using equations (13) and (15). For simplicity, the log 2 operation in equation (15) is simplified by finding the power of two closest to the gain control value a n , rather than performing the log 2 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 b n . Once determined, the gain control parameter c n is delivered to output 213 of the gain control stage 208.

As the level of first gain control value a n at the time n depends on the level of the first gain control value α η 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 l-path signal x 7 (t) and the digital Q-path signal x Q (t) begins. At the beginning of this period of time, the gain control stage 208 sets the first gain control value α η at zero, i.e. α η = 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 W n , the update function matrix G n and the step parameter μ η are held constant. In this embodiment, the constant compensation matrix W n , update function matrix G n and step parameter μ η are 1 0

W_

0 1

0 0 (17)

G

0 0

2- 6

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 μ _ x 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 c n is determined as the inverse of the first gain control value a n .

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

where

In this embodiment, the first constant a has a value of one ten thousandth, i.e. a = 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 a typically has a value in the order of ten thoursandths, 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 μ η using equations (18) and (19) instead of equation (7) provides different convergence properties. In particular, the compensation coefficients W , W l 2 , W 2 l , W 2 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 subcombination.

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.