This invention relates to a demodulator for use in wireless communications and a receiver, method and terminal using it. In particular, the invention relates to a demodulator capable of demodulating a frequency modulated (FM) RF (radio frequency) signal by resolution and use of in-phase (I) and quadrature-phase (Q) components of the modulated signal.
In many modern FM receivers, for example those used in RF communications between mobile stations, quadrature (I/Q) demodulators followed by digital processing have replaced the classical discriminator circuits as FM detectors. However, a known problem of such detectors is the presence of unwanted signal demodulation errors, which have an adverse effect on the audio quality of the detected signal. As illustrated later, such detectors can develop an error in relative phase between the I and Q components. These errors, sometimes referred to as ‘quadrature imbalance’, can cause a distortion in the resulting output audio signal. The distortion may be unacceptable to users particularly under conditions when the received signal is fading or has a low signal to noise ratio. The prior art does not provide a satisfactory solution to this problem.
Some receiver systems include imbalance tuning at the factory where the receiver is manufactured to measure and compensate for the quadrature phase error. However, this error changes with time (owing to temperature changes, for example) so the fixed compensation applied is not appropriate after a period of time.
In accordance with a first aspect of the present invention there is provided a demodulator for demodulating a frequency modulated RF signal, including an input signal path for delivering an RF input signal, a local oscillator, a first mixer connected to the input signal path for mixing an output reference signal from the local oscillator with an RF input signal to produce an in-phase component of the input received signal, a phase-shifted version of the local oscillator, a second mixer connected to the input signal path for mixing a phase-shifted version of the output reference signal from the local oscillator with the RF input signal to produce a quadrature component of the RF input signal; and an output digital signal processor for producing an output demodulated information signal by producing a function of the in-phase and quadrature components; and wherein the demodulator is periodically operable in a quadrature phase error determination mode wherein the reference signal produced by the local oscillator has a frequency which is offset from the carrier frequency of an RF input signal.
The demodulator may be periodically operable in the quadrature phase error determination mode when an RF input signal is an unmodulated signal. The input signal may be standard signal recognised by the demodulator or by a receiver in which it is incorporated. The standard signal may be a signal transmitted from a distant transmitter, e.g. for synchronisation purposes, e.g. before a call between terminals takes place.
The demodulator may include a programmable frequency synthesiser operable to control the frequency of the reference signals of the local oscillator, wherein the frequency synthesiser is operable to change the frequency of the local oscillator when the demodulator enters the quadrature phase error determination mode. Such programmable frequency synthesisers are well known per se in the art.
In the demodulator according the first aspect of the invention, the frequency offset in the quadrature phase error determination mode is desirably less than the bandwidth of the demodulator at the frequency of the RF input signal. The RF input signal may be a high frequency signal which has been received by a receiver incorporating the demodulator or it may be an intermediate frequency signal produced by down-conversion of a received signal.
The demodulator according to the first aspect of the invention may be operable to enter the quadrature phase error determination mode in periods alternating between periods when it operates in a normal detection mode in which it is tuned to a desired frequency of a modulated signal to be detected. The demodulator may conveniently be operable to enter the quadrature phase error determination mode in idle mode periods. Such periods occur when the demodulator is activated but no RF information carrying signal is being received by or transmitted by a terminal in which the demodulator is incorporated. Alternatively, or in addition, the demodulator may be in a terminal operating according to a TDMA (time division multiple access) timing structure or protocol and the demodulator may be operable to enter the quadrature phase error determination mode in idle or free time slots of the TDMA timing structure.
Where the demodulator includes a programmable frequency synthesiser operable to control the frequency of the reference signal of the local oscillator, the frequency synthesiser may conveniently be operable to change the frequency of the local oscillator when the demodulator changes between the quadrature phase error determination mode and the normal detection mode.
The demodulator according to the first aspect of the invention may include an error estimating signal processor which is operable in the quadrature phase error determination mode to estimate a quadrature phase error using the in-phase and quadrature components. The output signal processor and the error estimating signal processor may be combined in a single processor unit, e.g. a single digital microprocessor chip. The output signal processor may be operable to employ the estimated quadrature phase error to produce an output demodulated information signal. There may be an associated memory operable to store updated information relating to the estimated quadrature phase error for use by the output signal processor.
In one suitable example, the error estimating signal processor may be operable to form rectangular waveforms from the in-phase and in-quadrature components and to apply the rectangular waveforms to an exclusive OR gate. The error estimating signal processor may further include a duty cycle estimator to estimate the duty cycle of an output waveform from the exclusive OR gate. Such an output gives a measure of the estimated quadrature phase error.
According to the present invention in a second aspect there is provided a method of estimating a quadrature phase error of an RF demodulator which demodulator includes an input signal path for delivering an RF input signal, a local oscillator, connected to the input signal path a first mixer for mixing an output reference signal from the local oscillator with an RF input signal to produce an in-phase component of the input received signal, connected to the input signal path a second mixer for mixing a phase shifted output reference signal from the local oscillator with the RF input signal to produce a quadrature component of the RF input signal; and an output signal processor for producing an output demodulated information signal by producing a function of the in-phase and quadrature components; the method comprising periodically operating the demodulator in a quadrature phase error determination mode wherein the reference signals produced by the local oscillator of the demodulator have a frequency which is offset from the carrier frequency of an RF input signal.
According to the present invention in a third aspect there is provided a RF receiver or transceiver incorporating a demodulator according to the first aspect.
According to the present invention in a fourth aspect there is provided a terminal for wireless communications, the terminal incorporating a receiver or transceiver according to the third aspect. For example, the terminal may be a mobile station.
The present invention provides an improvement over the prior art in that it provides a convenient and relatively simple way of adaptively measuring the quadrature phase error in an FM demodulator and thereby of compensating for the error to allow minimal distortion to a received audio or other information signal.
Embodiments of the present invention will now be described by way of example with reference to the accompanying drawings, in which:
An analysis of the demodulator 100 is as follows.
Firstly, assume that the signal x(t) at the input to the quadrature demodulator 100 is an FM signal and, operating in a normal detection mode, the carrier of x(t) resides at an angular frequency ωc. The signal x(t) is given by:
and where kFM is the modulation index and s(t) is the information signal.
The local oscillator signals produced by the local oscillator 111 and phase shifter 113 are in this case respectively:
LO1(t)=cos(ωCt) LOQ(t)=−sin(ωCt)
The unfiltered in-phase product a1(t) is:
a1(t)=LO1(t)·x(t)=cos(ωCt)·AC{cos(ωCt)cos[φFM(t)]−sin(ωCt)sin[φFM(t)]}
By using the relationships:
The low pass filter 115 removes the high frequency components, yielding:
The unfiltered quadrature-phase product aQ(t) is given by:
aQ(t)=LOQ(t)·x(t)=−sin(ωCt)·AC{cos(ωCt)cos[φFM(t)]−sin(ωCt)sin[φFM(t)]}
By using the relationships:
The low pass filter 117 removes the high frequency components, yielding:
Noting that the following relationship exists,
the in-phase and quadrature-phase products y1(t) and yQ(t) after low pass filtering can then be digitally processed to reconstruct an information signal s(t) present in the received signal x(t) and to be extracted:
Thus, the signal processor 119 receives as inputs the signals y1(t) and yQ(t) and processes these according to the above equation to reconstruct the information signal ŝ(i).
When reconstructing the phase angle, the arctangent function operated by the processor 119 can determine the correct quadrant by noting the signs of the in-phase and quadrature-phase signals processed:
In practice, it must be assumed that a phase error (imbalance) exists in the output of the quadrature-phase phase shifter 113 so that the output of this phase shifter may be represented by:
LOQ(t)=−sin(ωCt+θ)
The quadrature-phase product becomes:
aQ(t)=−sin(ωCt+θ)·AC{cos(ωCt)cos[φFM(t)]−sin(ωCt)sin[φFM(t)]}
By using the relationship:
sin(ωCt+θ)=sin(ωCt)cos(θ)+cos(ωCt)sin(θ)
we obtain the following product after filtering by the low pass filter 117:
We note that:
Therefore, there will be the following reconstruction error ε(t) in calculating ŝ(t):
However, if θ is known, a correction algorithm may be employed by use of the following relationship:
Thus, in practice the signal processor 119 operates to determine the phase error angle θ in a manner described later and then uses the determined value of θ in reconstructing ŝ(t) allowing for the error ε(t) by applying the above equation.
In accordance with an embodiment of the invention, the demodulator 100 periodically enters a quadrature phase error determination mode. In this mode, a specific reference input carrier signal x(t) is found and a pre-determined offset is applied to the angular frequency of the output of the local oscillator 111 compared with the angular frequency of the carrier of the input signal x(t). This is used as a route to measuring θ in the following way.
Assume that the carrier of x(t) resides at an angular frequency ωC+ωΔ, and has an arbitrary phase φ. The demodulator 100 is tuned, by suitable tuning of the local oscillator 111 to ωC.
In this case, the signals shown in
x(t)=AC cos[(ωC+ωΔ)t+φ]=AC{cos(ωCt)cos(ωΔt+φ)−sin(ωCt)sin(ωΔt+φ)}
LO1(t)=cos(ωCt); LOQ(t)=−sin(ωCt+θ)=−sin(ωCt)cos(θ)−cos(ωCt)sin(θ)
The filtered in-phase and quadrature-phase products produced by the low pass filters 115, 117 respectively are:
The signal processor 119 can compare the in-phase and quadrature-phase products y1(t) and yQ(t) after low pass filtering in order to extract 0 using these relationships. One method of measuring θ in this way is to convert the in-phase and quadrature-phase products to rectangular waveforms, and then perform a XOR (exclusive OR) function between them. The duty cycle of the resulting waveform has a linear relationship to the phase error θ. This is illustrated in FIGS. 2 to 4 as follows.
Processing by the arrangement shown in
Firstly,
Thus, during operation in the normal reception mode by the receiver in which the demodulator 100 is incorporated, the local oscillator 111 is tuned to the desired channel in which the signal to be detected resides. However, when the receiver is switched (by a signal processor acting as a controller) periodically to the quadrature phase error determination mode, tuning of the local oscillator 111 is switched to be near the frequency of a known unmodulated carrier, but offset by a small pre-determined amount which is less than the bandwidth of the receiver baseband. This action can be performed during an idle mode (i.e. when no reception or transmission of an information carrying signal is required), or during idle slots in a TDMA time structure. For example, the receiver may be tuned to the desired offset frequency by means of programming a synthesiser that generates the local oscillator signal, the synthesiser being controlled by a controller.
Where the invention is used in a radio (e.g. a radio telephone receiver), a memory of the radio may be programmed following manufacture to store a table of initial quadrature phase errors values versus RF frequency. During operation of the radio receiver, the quadrature phase errors will change with time. Thus, updated quadrature phase error information may be gathered in use as described above and used to provide suitable compensation to maintain a suitable quality of output signal. The updated quadrature phase error information may be stored in a memory of the radio receiver to replace the previously stored information. In this way, the quadrature phase error information beneficially is adaptively measured and updated information is used in detection of information carrying signals.
In contrast to the prior art, the procedures described above provide a convenient and relatively simple way of adaptively measuring the quadrature phase error in an FM demodulator and thereby of compensating for the error to allow minimal distortion to a received audio or other information signal.
The demodulator 100 may be used in a FM receiver comprising an antenna, the demodulator 100 and a baseband signal processor. Such a receiver circuit may also include a high frequency RF signal processor which downconverts a received RF signal to provide an input signal x(t) to the demodulator 100 at an intermediate frequency. The receiver may be used in a conventional mobile station for FM wireless communication. The receiver may be part of a transceiver which has some common transmitter and receiver components. Such a mobile station will include in addition to the transceiver and signal processor and memory typically also a battery, a user interface (e.g. keyboard), a user display and input and output transducers such as a speaker and a microphone.
Number | Date | Country | Kind |
---|---|---|---|
GB0420642.1 | Sep 2004 | GB | national |