Information
-
Patent Application
-
20040058658
-
Publication Number
20040058658
-
Date Filed
July 16, 200321 years ago
-
Date Published
March 25, 200420 years ago
-
Inventors
-
Original Assignees
-
CPC
-
US Classifications
-
International Classifications
Abstract
A method for controlling frequency of a local oscillator in a DS-CDMA type receiver includes transforming a known spread spectrum signal into a sampled digital signal formed of symbols with a despreaded frequency spectrum, and determining a residual frequency error fe for each symbol including a first residual frequency error fe1. The method further includes correcting the frequency of the local oscillator with the residual frequency errors, and determining an average of absolute values of a predetermined number of successive residual frequency errors. The average is compared with a threshold, and if the average is greater than or equal to the threshold, the local oscillator frequency is corrected using an error equal to −sgn(fe1) (1/T−|fe1|), where sgn is the sign function, | | is the absolute value function and T is duration of a symbol before determining the next residual frequency error associated with the next symbol.
Description
FIELD OF THE INVENTION
[0001] The present invention relates to wireless communication systems, and in particular, to a wireless communication system operating according to the CDMA standard and one that includes a DS-CDMA type receiver with a local oscillator having automatic frequency control.
BACKGROUND OF THE INVENTION
[0002] In a wireless communication system, a base station communicates with several remote terminals such as mobile cell phones. Frequency division multiple access (FDMA) and time division multiple access (TDMA) are traditional multiple access schemes used to supply simultaneous services to a number of terminals. The basic idea in FDMA and TDMA systems is to respectively share the available resource at several frequencies or several time intervals so that several terminals can operate simultaneously without causing interference.
[0003] Telephones operating according to the GSM standard belong to FDMA and TDMA systems in the sense that transmission and reception takes place at different frequencies, and also at different time intervals. Unlike these systems using frequency division or time division, CDMA (code division multiple access) systems enable several users to share a common frequency and a common time channel by using a coded modulation. CDMA systems include the CDMA 2000 system, the WCDMA (Wide Band CDMA) system and the IS-95 standard.
[0004] A scrambling code is used in CDMA systems associated with each base station to distinguish one base station from another, as readily understood by one skilled in the art. Furthermore, an orthogonal code known as the OVSF code is allocated to each remote terminal such as a mobile cell phone, for example. All OVSF codes are orthogonal with each other so that one remote terminal can be distinguished from another.
[0005] Before a signal can be sent on the transmission channel to a remote terminal, the signal is scrambled and spread by the base station using the scrambling code for the base station and the OVSF code for the remote terminal. Consequently, the signal symbols are transformed into chips. The chip rate is higher than the symbol rate.
[0006] DS-CDMA systems refer to CDMA systems using spread spectrum signals. Conventionally, this type of receiver includes a radio frequency analog stage connected to an antenna to receive a spread spectrum signal.
[0007] The radio frequency stage comprises a low noise amplifier and two processing channels comprising mixers, filters and conventional amplifiers. The two mixers receive two corresponding signals at a phase difference of 90° from a phase locking loop comprising a local oscillator. After the frequency has been transposed in the mixers, the two processing channels define two paths I and Q, which are in quadrature. The signal is then transposed in the frequency base band of the signal.
[0008] After digital conversion in analog/digital converters, the I and Q paths are output to a reception processing stage that conventionally comprises a Rake receiver. The Rake receiver is typically used in mobile cell phones operating in a DS-CDMA communication system, and is used for time alignment, descrambling, despreading and a combination of delayed versions of the initial signals so as to output information contained in the initial signals.
[0009] The frequency transposition of the signal received in the base band usually leads to inaccuracies. This is mainly due to the quality of the local oscillator which then causes a residual frequency offset error. The digital processing stage of the receivers usually comprises an automatic frequency control (AFC) algorithm, the objective of which is to minimize the residual frequency error to bring it down to an acceptable value that has no influence on subsequent signal processing.
[0010] There are several available methods of frequency correction. Automatic frequency control techniques used in narrow band communications may be used for frequency control after despreading. Several methods are discussed in the following references: A. N. D'Andrea and U. Mengali, “Design Of Quadricorrelators For Automatic Frequency Control Systems”, IEEE Trans. Commun., vol. 41, pp. 988-997, January 1993; M. L. Fowler and J. A. Johnson, “Extending The Threshold And Frequency Range For Phase-Based Frequency Estimation”, IEEE Trans. Signal Processing, vol. 47, pp. 2857-2863, October 1999; and A. Wannasarnmaytha, S. Hara and N. Morinaga, “Two Step Kalman Filter Based AFC For Direct Conversation-Type Receiver In LEO Satellite Communications”, IEEE Trans. Commun., vol. 49, pp. 246-253, January 2000.
[0011] However, performances of these techniques do not satisfy a number of requirements of third generation receivers designed to operate under the CDMA standard. For example, a wide correction frequency range, fast correction and low implementation complexity are not satisfied. More precisely, correction ranges of automatic frequency control techniques used in a narrow band are insufficient when the frequency is high and the frequency offset is of the order of the symbol rate, as in third generation wireless communication systems for example.
[0012] Automatic frequency control techniques with dual filters and with balanced quadricorrelators as disclosed in the D'Andrea et al. article use correction ranges on the order of the symbol rate. However, these techniques involve the use of complicated filters to eliminate inductive noise and require precise knowledge about the transmission channel.
[0013] Other automatic frequency control techniques (Jing Lei and Tung-Sang Ng, “New AFC Algorithm For A Fully-Digital MDPSK DS/CDMA Receiver”, ISCAS 2001, vol. 4, pp. 294-297) also use correction ranges on the order of the symbol rate, but their implementation is very complex due to the fact that they must be applied before signal despreading.
SUMMARY OF THE INVENTION
[0014] In view of the foregoing background, an object of the present invention is to provide automatic frequency control for a local oscillator of a DS-CDMA type receiver with a low manufacturing complexity, and operating at the symbol level with a correction range on the order of the symbol rate which is approximately twice the correction range of automatic narrow band control techniques.
[0015] Another object of the present invention is to provide automatic frequency control that has a much faster and much more precise convergence than existing automatic frequency controls.
[0016] These and other objects, advantages and features in accordance with the present invention are provided by a process for automatic frequency control of a local oscillator of a DS-CDMA type receiver in which a known spread spectrum signal is received (for example, a pilot signal) that is transformed into a sampled digital signal formed from symbols and with a despreaded frequency spectrum. A residual frequency error is determined for each symbol. This error is filtered and the local oscillator frequency is corrected with this filtered error.
[0017] According to a general characteristic of the invention, the first determined residual frequency error fe1 is memorized, and the average of the absolute values of a predetermined number of successive residual frequency errors is determined. This average is compared with a predetermined threshold. If this average is greater than the threshold, the local oscillator frequency is corrected with an error equal to −sgn(fe1) (1/T−|fe1|), where sgn is the sign function, | | is the absolute value function and T is the duration of a symbol before determining the next residual frequency error associated with the next symbol.
[0018] Since residual frequency errors are advantageously filtered digitally, if the average is greater than the threshold, the memory of the digital filter is set to zero before the next residual frequency error is filtered.
[0019] Residual frequency errors are advantageously filtered with a first order matching filter. More precisely, when the estimated residual frequency error is large, this estimated error is not filtered at the limit. This causes fast convergence towards the frequency offset value, but obviously once this value has been reached, the oscillations around this value are large. The pass band of the matching filter also reduces when the frequency error reduces.
[0020] Thus, according to one embodiment, the current correction applied to the local oscillator is equal to (1−b) times the previous correction plus b times the current residual frequency error, and the coefficient b is chosen to be close to 1 if the current residual frequency error is greater than a first predetermined limiting value, whereas the coefficient b is chosen to be close to zero if the current residual frequency error is less than a second predetermined limiting value. For example, the first predetermined limiting value may be equal to the symbol rate divided by 7, for example.
[0021] The first and the second limiting values may be identical or they may be different. If they are different, several intermediate limiting values may be used between these two values, and they may be stored in a table so that the value of b can be reduced in steps, for example.
[0022] Another aspect of the present invention is directed to an automatic device for controlling the frequency of a local oscillator in a DS-CDMA type receiver comprising one input for receiving a known spread spectrum signal, and pre-processing means for transforming this signal into a sampled digital signal formed from symbols with a despreaded frequency spectrum. First calculation means determine a residual frequency error for each symbol. Filter means filters this error, and correction means corrects the frequency of the local oscillator with this filtered error.
[0023] According to one general characteristic of the invention, the device also comprises a memory to store the first determined residual frequency error fe1, and second calculation means for determining the average of the absolute values of a predetermined number of successive residual frequency errors. Comparison means compares this average with a predetermined threshold, and if this average is greater than the threshold, the correction means corrects the frequency of the local oscillator with an error equal to −sgn(fe1) (1/T−|fe1|), where sgn is the sign function, | | is the absolute value function, and T is the duration of a symbol before the first calculation means determines the next residual frequency error associated with the next symbol.
[0024] According to one embodiment, the filter means comprises digital filtering, and the device comprises control means that, if the average is greater than a threshold, will reset the memory of the digital filter before filtering the next residual frequency error.
[0025] Yet another aspect of the present invention is directed to a DS-CDMA type receiver comprising an automatic frequency control device as defined above. This type of receiver may be a mobile cell phone, for example.
BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Other advantages and specific features of the invention will become clear after examining the detailed description of embodiments and uses which are in no way limiting, and the appended drawings in which:
[0027]
FIG. 1 is a block diagram of a device in accordance with the present invention; and
[0028]
FIG. 2 is a graph of two curves illustrating one of the problems addressed by the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0029] In FIG. 1, the reference TP denotes a mobile cell phone belonging to a wireless DS-CDMA type communication system. Conventionally, the analog reception stage of the mobile cell phone TP comprises a mixer MX receiving the incident signal from the antenna. The mixer is preceded and followed by amplifiers, which are not shown in the figures simplify the drawing. Similarly, only one of the processing channels is shown in FIG. 1, which is processing channel 1.
[0030] The frequency transposition signal is derived from a phase locking loop comprising a local oscillator that is voltage controlled and is referenced VCO. After transposition of frequencies in the mixer MX and analog-digital conversion in an analog-digital converter CAN, the signal is a digital base band signal sampled at a sampling rate much higher than the symbol rate equal to 1/T (where T is the duration of a symbol). This digital signal is then output to a Rake receiver RR that in particular performs frequency despreading of the signal.
[0031] Thus, if it is considered that the mixer input signal is the pilot signal sequence, the signal y(k) may be modeled after despreading the pilot sequence using the following formula:
y
(k)=βb(k)Aej(φ(k)+φ(k)+2π∫e(k)+η(k) (I)
[0032] In this formula: Aejφ(k) is the sequence transmitted to the pilot, where A is a real; ejφ(k) is the phase distortion of the transmission channel; b(k) is the amplitude distortion of the channel; fe is the residual frequency error; and η(k) is complex noise and β is a real attenuation coefficient between 0 and 1 that decreases as the residual frequency error fe increases.
[0033] The digital stage of the mobile cell phone TP is provided with an automatic frequency control device DAFC, which is essentially performed via software within a processor. The role of this device DAFC is to respectively estimate successive frequency errors fe associated with successive symbols, and after digital-to-analog conversion in a CNA converter, to control the oscillator VCO to minimize (i.e., reduce) the residual frequency error. More precisely, the oscillator voltage is controlled so as to control its frequency, i.e., the frequency of the transposition signal output by this oscillator.
[0034] The device DAFC comprises first calculation means MC1 performed by software and is capable of determining a residual frequency error fe for each symbol. These successive frequency errors are determined conventionally by an autocorrelation of two consecutive symbols. This is well known to one skilled in the art, and therefore, will not be discussed in further detail.
[0035] In general, and unless mentioned otherwise below, each residual frequency error is filtered by a low pass digital filter FLT. Correction means includes a digital-to-analog converter CNA for correcting the local oscillator frequency with the filtered error.
[0036] Several cases can then arise. When the first determined residual frequency error is less than half of the symbol rate, in other words less than 1/2T, the corrections made by the device DAFC are good and the absolute values of successive residual frequency errors can converge towards 0. This is not the case when the first determined residual frequency error is more than 1/2T. However, the invention will overcome this problem as will be described in more detail below.
[0037] If we consider a pilot signal sequence despread in the frequency domain, it can be seen that since the pilot sequence has a constant value and the despreading process requires an averaging and under sampling operation, the complete process can be seen as a convolution of the pilot sequence in the time domain with a rectangle function over a time length equal to the duration of a symbol T, followed by under sampling from the chip rate towards the symbol rate 1/T.
[0038] In the frequency domain, this process leads to a spectrum resulting in the product (due to the constant value of the pilot sequence) with a (sin x)/x function in which the width of the main lobe is equal to 1/T, then all replicas of this spectrum with a frequency offset of k/T are summated together (for each integer value of k).
[0039] The spectral density obtained after despreading is not modified when there is a frequency shift error, but the Dirac corresponding to the pilot sequence is offset from the origin by an offset corresponding to the error. When the residual frequency error is less than 1/2T, there is no spectrum folding phenomenon, and in this case successive errors will converge towards zero as described above. However, when the absolute value of the residual frequency error is more than 1/2T, there is a spectrum folding phenomenon.
[0040] For example, suppose that there was frequency offset equal to −1/2T−Δf, where 0<Δf<1/2T. Due to the folding, this frequency error will be interpreted incorrectly as being equal to 1/2T−Δf. This is illustrated in FIG. 2, which shows superposition of the Dirac D1 corresponding to the frequency error equal to 1/2T−Δf, and the Dirac D2 corresponding to the frequency error equal to −1/2T−Δf.
[0041] It can be seen in this example that there is also a large difference in the power between the folded Dirac D2 and the unfolded Dirac D1. With the unfolded signal, the estimate of the frequency error will be correct and its compensation will shift Dirac D1 towards the left towards a zero frequency error along curve C1, and by increasing its energy.
[0042] However, compensating the badly interpreted frequency error of the folded signal will also offset the Dirac D2 towards the left towards the origin, but the frequency error will increase at the same time. In this case, the already low energy of the signal will decrease towards zero along curve C2.
[0043] The decrease in the signal-to-noise ratio of the folded signal will be so high that the estimate of the frequency error will be very bad, which will cause large variations in the estimates of successive frequency errors. According to the invention, this large variation of residual frequency errors will be used to detect and correct frequency errors larger than the Nyquist frequency, in other words greater than 1/2T.
[0044] We will now look at this point again in more detail with reference once again to FIG. 1. The device DAFC comprises a memory MM that will be used to store the first determined residual frequency error fe1. Furthermore, the calculation means MC3 will calculate a frequency error Fe1′ defined by formula (II) below:
1
[0045] In this formula, sgn denotes the sign function.
[0046] Furthermore, the second calculation means MC2 formed from an absolute value block followed by a low pass filter will determine the average of the absolute values of a predetermined number of successive residual frequency errors. More precisely, the current average z(k) is defined by the formula (III) below:
2
[0047] in which k denotes the current iteration corresponding to the current symbol, and x(k) is the current residual frequency error provided by first calculation means MC1.
[0048] Comparison means COMP1 can be used to compare the current average output by second calculation means MC2 with a predetermined threshold. If this average is less than the threshold, the comparison means COMP1 outputs the value 0. If this average is greater than the threshold, the comparison means COMP1 outputs the value 1.
[0049] The result of the comparison made with means COMP1 is examined after a predetermined number of iterations, in other words symbols have been carried out 5 or 6 iterations for example. Although this step is done by software, it is shown schematically in FIG. 1 by a register RG containing a constant value equal to 0, and by a switch SW1 that can be switched to input 0 or to input 1 as a function of the value of a control signal output by control means MCTL.
[0050] More precisely, as long as the predetermined number of iterations has not been reached, the value of the control signal is equal to zero which puts the switch SW1 to the corresponding input. Consequently, the value zero is output on the control input of a second switch SW2. Switch SW2 is then positioned to its input zero, which puts the output of the filter FLT into relation with the digital-to-analog converter CNA.
[0051] When the predetermined number of iterations has been reached, the control means MCTL sets the control signal controlling the switch SW1 to the logical value 1. This moves to its input 1. The value of the control signal of switch SW2 is then fixed by the value output by the comparator COMP1.
[0052] If this value is equal to 0, corresponding to an average less than the threshold, this means that successive residual frequency errors are converging. Consequently, the output of the filter FLT remains connected to the digital-to-analog converter CNA.
[0053] However, if the logical value output by the comparator COMP1 is equal to 1, this means that the average of the absolute values of successive frequency errors is greater than the threshold. Therefore, there is no convergence. Consequently, this means that it is very probable that the first stored residual frequency error fe1 was not the real frequency error but was its folded version.
[0054] In this case, the switch SW2 is set to its input 1, and the local oscillator VCO is corrected using the residual frequency error fell determined by the calculation means MC3. Once this new correction has been applied, the next residual frequency errors drop to a value less than the Nyquist frequency, and the normal cycle starts again with the switch SW2 set to input 0 and the switch SW1 set to input 0. The residual frequency errors then converge towards zero. The memory of filter FLT is then reset to zero before the determined residual frequency error is filtered just after the correction Fe1′ has been applied.
[0055] For example, with a DS-CDMA type system with a carrier frequency of 2 GHz and a symbol rate of the controlled signal equal to 15 kHz which leads to a Nyquist frequency of 7.5 kHz, the value output by the comparator COMP1 after 5 iterations is used and the threshold value is fixed at 500 Hz.
[0056] The digital filter FLT is a first order low pass filter. More precisely, the current estimated frequency error c(k) output from the filter (in other words the current digital correction applied to the oscillator) is defined by formula (IV) below:
c
(k)=(1−b)c(k−1)+bx(k) (IV)
[0057] In this formula, x(k) is the current residual frequency error determined after correction by calculation means MC1. Moreover, b is a coefficient between 0 and 1.
[0058] This filter FLT is a matching filter in the sense that the coefficient b is dynamically defined. More precisely, for example, the residual frequency error determined by the calculation means MC1 is compared with a predetermined limiting value, which is shown by a comparator COMP2 in FIG. 1. For example, this predetermined limiting value may be equal to the symbol rate divided by 7. If the residual frequency error is greater than this predetermined limiting value, the coefficient b is chosen to be close to 1, for example equal to 1, while the coefficient b is chosen to be close to 0, for example equal to 0 if this residual frequency error is less than the predetermined limiting value. This can give fast convergence of the frequency error towards the target value and avoid oscillations about this target value.
[0059] Therefore, the invention can be used to correct residual frequency errors within a correction range equal to the symbol rate. In this respect, note that if the residual frequency error is close to the absolute value of the Nyquist frequency, the power of the offset Dirac is close to zero, and consequently it is very easy to make a bad estimate of this frequency error. However, this is not a problem for the device according to the invention.
[0060] If the estimate is completely wrong, it is always difficult to have a second estimate error close to the Nyquist frequency, and in this case either one of the two cases mentioned above will be applicable, in other words either a residual frequency error less than the Nyquist frequency, or with an absolute value greater than the Nyquist frequency. Furthermore, any other signal with known content other than the pilot signal can be used for frequency control according to the invention.
Claims
- 1. Method for automatic control of the frequency of a local oscillator in a DS-CDMA type receiver, in which a known signal with spread frequency spectrum is received and is then transformed into a sampled digital signal formed of symbols and with despreaded frequency spectrum, a residual frequency error fe is determined for each symbol, this error is filtered (FLT) and the frequency of the local oscillator (VCO) is corrected with this filtered error, characterized by the fact that the first determined residual frequency error fe1 is memorized, the average of the absolute values of a predetermined number of successive residual frequency errors is determined, this average is compared with a predetermined threshold, and if this average is greater than or equal to the said threshold, the local oscillator frequency is corrected using an error equal to −sgn(fe1) (1/T−|fe1|), where sgn is the “sign” function, | | is the absolute value function and T is the duration of a symbol, before determining the next residual frequency error associated with the next symbol.
- 2. Method according to claim 1, characterized by the fact that residual frequency errors are filtered digitally, and by the fact that if the average is greater than the said threshold, the memory of the digital filter (FLT) is set to zero before the next residual frequency error is filtered.
- 3. Method according to either claim 1 or 2, characterized by the fact that residual frequency errors are advantageously filtered with a first order matching filter (FLT).
- 4. Method according to claim 3, characterized by the fact that the current correction applied to the local oscillator is equal to (1−b) times the previous correction plus b times the current residual frequency error, and that the coefficient b is chosen to be close to 1 if the current residual frequency error is greater than a first predetermined limiting value, whereas the coefficient b is chosen to be close to zero if the current residual frequency error is less than a second predetermined limiting value.
- 5. Method according to claim 4, characterized by the fact that the said predetermined limiting value is equal to the symbol rate divided by 7.
- 6. Automatic device for controlling the frequency of a local oscillator in a DS-CDMA type receiver, comprising one input to receive a known signal with a spread frequency spectrum, pre-processing means that can transform this signal into a sampled digital signal formed from symbols with a despreaded frequency spectrum, first calculation means for determining a residual frequency error (fe) for each symbol, filter means (FLT) capable of filtering this error, and correction means (CAN) to correct the frequency of the local oscillator (VCO) with this filtered error characterized by the fact that it also comprises a memory (MM) to store the first determined residual frequency error fe1, second calculation means (MC2) for determining the average of the absolute values of a predetermined number of successive residual frequency errors, comparison means (COMP1) for comparing this average with a predetermined threshold, and if this average is greater than the said threshold, the correction means correct the frequency of the local oscillator with an error equal to −sgn(fe1) (1/T−|fe1|), where sgn is the “sign” function, | | is the absolute value function and T is the duration of a symbol, before the first calculation means (MC1) determine the next residual frequency error associated with the next symbol.
- 7. Device according to claim 6, characterized by the fact that the filtering means comprise a digital filtering (FLT), and by the fact that the device comprises control means (MCLT) that, if the average is greater than a threshold, will reset the memory of the digital filter (FLT) before filtering the said next residual frequency error.
- 8. Device according to claim 6 or 7, characterized by the fact that filtering means comprise a first order matching filter (FLT).
- 9. Device according to claim 8, characterized by the fact that the current correction applied to the local oscillator is equal to (1−b) times the previous correction plus b times the current residual frequency error, and by the fact that the coefficient b is chosen to be close to 1 if the current residual frequency error is greater than a first predetermined limiting value, whereas the coefficient b is chosen to be close to zero if the current residual frequency error is less than a second predetermined limiting value.
- 10. Device according to claim 9, characterized by the fact that the said predetermined limiting value is equal to the sampling frequency divided by 7.
- 11. DS-CDMA type receiver comprising a device according to one of claims 6 to 10.
- 12. Receiver according to claim 11, characterized by the fact that it is a mobile cell phone.
Priority Claims (1)
Number |
Date |
Country |
Kind |
02015921.6 |
Jul 2002 |
EP |
|