METHOD FOR DETERMINING A PHASE ERROR IN A RADIO-FREQUENCY SIGNAL, AND A RECEIVER

Abstract: The invention relates to a method for determining a phase error in a received radio-frequency signal, wherein an impulse response (2) of a received signal is calculated, measuring points are chosen from the signal (3), and samples are taken from the surrounding areas of the measuring points, and the samples are filtered (5) with a complex adapted filter, a phase error in the samples is measured (6) from the filtering result, and the total phase error in the received signal is calculated on the basis of the measured phase error. In order to be also able to measure big phase errors, the measuring points are chosen on the basis of phase errors measured from signals received earlier in such a manner that the phase error at the measuring points remains within the predetermined limits. The invention also relates to a receiver comprising means for compensating for the phase and frequency errors in a received signal.

Description: Method for determining a phase error in a radio- frequency signal, and a receiver The invention relates to a method for determining a phase error in a received radio-frequency signal, wherein an impulse response of a received signal is calculated, measuring points are chosen from the signal, and samples are taken from areas surrounding the measuring points, the samples are filtered with a complex adapted filter, the phase error in the samples is measured from the filtering result, and the total phase error in the received signal is calculated on the basis of the measured phase error. The invention also relates to a receiver for receiving a radio-frequency signal, said receiver comprising: means for calculating an impulse response for a received signal, sampling means for taking samples of the signal at chosen measuring points, complex adapted filtering means for filtering the samples, measuring means for measuring a phase error in the filtered samples, calculating means responsive to the measuring means for calculating the total phase error in the received signal on the basis of the measured phase error, and compensation means for compensating for the phase error in the received signal. The present invention relates especially to digital mobile communication systems, such as the GSM (Groupe Special Mobile) and DCS systems (Digital Cellular System). A subscriber station of e.g. the GSM system uses a signal received from a base station as its frequency reference. With a stationary subscriber station the frequency synchronization works well, but when the subscriber station is moving, the Doppler effect causes a frequency error directly proportional to the speed of the mobile phone. The frequency error detected by the base station is double compared with that seen by the subscriber unit, wherefore the frequency error is more problematic as regards the base station. Additionally, in the DCS system, the problem is double that of the GSM system because of the double carrier frequency. In addition to the Doppler effect a frequency error in the transmitter of a subscriber station may cause an additional frequency error at the receiving side of the base station. GSM specifications allow a 90 Hz frequency error in the transmitter of a subscriber station, the corresponding value being 180 Hz in the DCS system. In defective subscriber units said value may, however, be significantly exceeded. A prior art solution to measuring and compensating for a frequency error in a subscriber station is a method wherein the frequency error is calculated on the basis of phase errors at the beginning and at the end of a burst. Once the phase error is known, it may be used to calculate the frequency error in the received signal. In measuring, this prior art solution utilizes the characteristics of a complex adapted filter. After this filter the phase error in the signal equals zero, and where a fixed frequency error is concerned, the phase error will grow linearly towards the edges of the received burst. The drawback of the above prior art method is a narrow measuring band. Big frequency errors cause a big phase error at the edges of a burst, and big phase errors (>60° ) cause measuring errors due to an excessive convolving of the signal state diagram. Only small frequency errors (below 400-500 Hz) may thus be measured by this known method. Practice has shown that with too big a frequency error, the measuring algorithm has detected the wrong frequency, which has resulted in failure to correct the frequency error. The object of the present invention is to solve the above problem and provide a method for measuring significantly bigger phase errors than by known methods. This object is achieved with the method of the invention, which is characterized in that the measuring points are chosen on the basis of phase errors measured from signals received earlier so that the phase errors at the measuring points will remain within predetermined limits. The invention is based on the idea that by moving the measuring points in a burst, significantly bigger phase and frequency errors than before may be measured with the measuring equipment. Correspondingly, the measuring accuracy of small frequency and phase errors may be improved by moving the measuring points. The moving of the measuring points is taken into account in the calculation of the total phase error in the burst. The most significant advantages of the method of the invention are thus that it provides means for determining bigger phase and frequency errors than before, and that the accuracy of measuring small phase and frequency errors is improved. The object of the invention is additionally to provide a receiver by means of which the frequency error in a received signal may be corrected by utilizing the method of the invention. This goal is achieved with a receiver of the invention, which is characterized in that the receiver comprises adjusting means which, on the basis of phase errors measured earlier, adjust the measuring points of the sampling means in order to keep the measured phase errors within predetermined limits. The preferred embodiments of the method and receiver of the invention are evident from the attached dependent claims 2-5 and 7-10. In the following the invention and some of its preferred embodiments will be described in greater detail with reference to the accompanying drawings, in which Figure 1 illustrates a phase error measuring method known per se, Figure 2 illustrates the phase error measuring method of the invention, Figure 3 shows a flow chart by means of which a phase error in a received burst may be defined and corrected, Figure 4 shows the first preferred embodiment of the receiver of the invention, and Figure 5 shows the second preferred embodiment of the receiver of the invention. The following is an illustrative description of the invention relative to the GSM system. The GSM system is described in greater detail e.g. in "The GSM System for Mobile Communications", M. Moyly and M-B. Pautet, Palaiseau, France, 1992, ISBN:2-9507190-0-7 and is therefore not described in greater detail in this connection. According to the GSM specifications, a normal burst contains two information sections (58 bits) separated by a training sequence (26 bits) in the middle of the burst. In addition the burst contains a short (3 bits) beginning and end sequence, at the ends of the burst. As Figure 1 shows, the frequency error in a received signal has traditionally been determined by measuring the phase errors at the ends, and thus the measuring points have been chosen from the ends of the burst. Samples SI and S2 have been taken from a 16-bit sequence. Characteristics of a complex adapted filter have been utilized in the measuring, whereby, after filtration, the phase error in the received signal is zero in the middle of the burst, at the training sequence. In a case of a fixed frequency error, the phase error in the burst will grow linearly towards the edges of the burst. In this case it will be sufficient to estimate the phase error at the ends of the burst. Figure 2 illustrates the phase error measuring method of the invention. Initially the measuring points are adapted to the middle parts of the measuring ranges of the burst. In this connection the measuring ranges refer to two ranges limited by a known training sequence in the middle of the burst and the end (3 bits) and beginning (3 bits) of the burst. 16-bit samples SI and S2 are taken from the measuring points. After the phase errors at the chosen measuring points have been measured, an average value is calculated for the phase errors measured at predetermined time intervals. If the resulting average value is not within the predetermined limit values, the measuring points are moved before the determination of the phase error in the next burst so that the measured phase error will remain within the predetermined limits. In other words, when the measured phase error is small, the measuring points are moved towards the edges of the burst, and when the phase error is big, the measuring points are moved towards the training sequence in the middle of the burst. Experiments show that a measured phase error of 60° or more will cause the signal state diagram to convolve excessively, and in this case the phase error cannot be determined if the measuring points are at the edges of the burst. Moving the measuring points towards the middle will lead to impaired measuring accuracy. This is why dynamic adjustment of the measuring points of the invention is needed. In the following the invention and some of its preferred embodiments will be described in greater detail with reference to the accompanying drawings, in which Figure 1 illustrates a phase error measuring method known per se, Figure 2 illustrates the phase error measuring method of the invention, Figure 3 shows a flow chart by means of which a phase error in a received burst may be defined and corrected, Figure 4 shows the first preferred embodiment of the receiver of the invention, and Figure 5 shows the second preferred embodiment of the receiver of the invention. The following is an illustrative description of the invention relative to the GSM system. The GSM system is described in greater detail e.g. in "The GSM System for Mobile Communications", M. Moyly and M-B. Pautet, Palaiseau, France, 1992, ISBN:2-9507190-0-7 and is therefore not described in greater detail in this connection. According to the GSM specifications, a normal burst contains two information sections ( 58 bits) separated by a training sequence (26 bits) in the middle of the burst. In addition the burst contains a short (3 bits) beginning and end sequence, at the ends of the burst. As Figure 1 shows, the frequency error in a received signal has traditionally been determined by measuring the phase errors at the ends, and thus the measuring points have been chosen from the ends of the burst. Samples SI and S2 have been taken from a 16-bit sequence. Characteristics of a complex adapted filter have been utilized in the measuring, whereby, after filtration, the phase error in the received signal is error in the received burst. The vectors obtained as filtration results are summed up as such at the beginning of the burst and reversely at the end of the burst. The resulting phase vector V shows the average phase inversion from the middle of the burst to the measuring points. The total phase shift β of the signal at the ends of the burst is given by phase vector V: β = 2 * arctan(Im(V) / Re(V)) To improve the reliability of the result, the phase error β in the burst may additionally be averaged for the duration of a SACCH frame (Slow Associated Control Channel). The resulting phase shift or phase error β received in block 6 is fed into blocks 4 and 7. In block 4 it is used to calculate the average of the phase errors measured at predetermined time intervals. This information is utilized in the choice of measuring points for bursts to be received next. In block 7, the received burst is corrected on the basis of the calculated phase error β. In the frequency error compensation phase, a sample taken from each burst is corrected by inverting its phase by the opposite value of an error angle. To accomplish this, the calculated phase error is at first interpolated on the length of the whole burst, i.e. if the phase error β has been measured from e.g. a length of 128 bits, the portion of a single bit of the total phase error is β/128. Inversion of a signal phase, i.e. correction of a phase error, is accomplished by multiplying the signal points, i.e. each sample (I n , Q n ), with a rotation matrix. The corrected signal points are thus given by the formula: In cos (-α n ) -sin (-α n ) a. sin (-α n ) cos (-α n ) L Qn. where α n is the estimated and interpolated phase error of bit n. Figure 4 sho - the first preferred embodiment of the receiver of the invention. Figure 4 shows a receiver unit of a GSiVi base station, said unit measuring the phase error in a received burst by following the block diagram of Figure 3. A radio-frequency burst, received with an antenna 10, is input into a receiver 11. The receiver 11 will disassemble the input signal by utilizing an oscillator LO, whereafter the received signal is fed into an AD-converter. The samples obtained from the output of the AD-converter are fed into an impulse response calculating unit 12, into a measuring block 13, and into a compensation unit 18. The impulse response calculating unit will calculate the impulse response of the channel in a manner known per se, and will feed the estimated channel impulse response taps into the measuring block 13. The measuring block 13 chooses measuring points from the received burst on the basis of the average of the measured phase error calculated by a calculator 14 so that the measured phase error will remain between 0° and 60°, preferably between 20° and 40°. Next, samples are taken from the chosen measuring points in the measuring block so that samples are taken from a 16-bit sequence from both measuring points. Next the samples are filtered with a complex adapted filter. If the received burst has a phase error, it will appear in the filtering result as an increase of the imaginary part of the filtering result. Information on the measured phase error is fed into the calculator 14 where it is used in calculating the total phase error as shown in connection with Figure 3, and in calculating the average of the measured phase errors. The average measured phase error calculated by the calculator 14 is fed into the measuring block 13. The calculator 14 will feed information needed for compensation of the signal into the compensation unit 18. The compensation unit 18 will correct the samples taken from the received signal to remove the effect of the phase error (i.e. frequency error) from them; this is achieved by multiplying each sample with the rotation matrix shown in Figure 3. It is preferable that the compensation is based on the average phase error, as thus it is possible to minimize the effects of possible momentary disturbances. The samples corrected by the compensation unit are fed into a filter 17 adapted to the received signal. Signals obtained from the output of the filter 17 are fed into a Viterbi- detector 15, where the interaction caused by multipath transmission is removed. The output signal of the Viterbi-detector 15 is fed into a channel decoder 16, where the received signal is decoded in a manner known per se. Figure 5 shows the second preferred embodiment of the receiver of the invention. Figure 5 shows a receiver unit of a GSM base station, said unit corresponding to that in Figure 4, with the exception that the compensation unit 18 is connected to the calculator 14. In this way the calculator 14 will adjust the local oscillator LO of the receiver 11 on the basis of the average total phase error in such a manner that the phase error (i.e. frequency error) will be compensated for. It should be understood that the above description and accompanying figures are only intended to illustrate the present invention. Thus the method of the invention may also be utilized in other connections than in the illustrative case of the GSM system. The preferred embodiments of the method and receiver of the invention may thus vary within the scope of the attached claims.

Claims: Claims: 1. A method for determining a phase error in a received radio-frequency signal, wherein an impulse response of a received signal is calculated, measuring points are chosen from the signal, and samples (SI, S2) are taken from areas surrounding the measuring points, the samples (SI, S2) are filtered with a complex adapted filter, the phase error in the samples (SI, S2) is measured from the filtering result, and the total phase error in the received signal is calculated on the basis of the measured phase error, c h a r a c t e r i z e d in that the measuring points are chosen on the basis of phase errors measured from signals received earlier so that the phase errors at the measuring points will remain within predetermined limits. 2. A method as claimed in claim 1, c h a r a c t e r i z e d in that the measuring points are chosen by calculaci-ig an average of the phase errors measured earlier, whereby the measuring points are chosen in such a manner that the measured phase error will remain within predetermined limits. 3. A method as claimed in claim 1 or 2, c h a r a c t e r i z e d in that the predetermined limits are between 0° and 60°, preferably between 20° and 40°. 4. A method as claimed in any one of claims 1-3, c h a r a c t e r i z e d in that a radio- frequency signal is a burst received by a receiver of a digital mobile communication system, preferably the GSM system. 5. A method as claimed in claim 4, c h a r a c t e r i z e d in that two measuring points are chosen from the burst, one before a training sequence of the burst and the other thereafter, and samples from both measuring points are taken from a 16- bit sequence. 6. A receiver for receiving a radio-frequency signal, said receiver comprising: means ( 12) for calculating an impulse response for a received signal, sampling means (13) for taking samples of the signal at chosen measuring points, complex adapted filtering means (13) for filtering samples, measuring means (13) for measuring a phase error in the filtered samples, calculating means (14) responsive to the measuring means (13) for calculating the total phase error in the received signal on the basis of the measured phase error, and compensation means (14, LO; 18) for compensating for the phase error in the received signal, c h a r a c t e r i z e d in that the receiver comprises adjusting means (13) which, on the basis of phase errors measured earlier, adjust the measuring points of the sampling means in order to keep the measured phase errors within predetermined limits. 7. A receiver as claimed in claim 6, c h a r a c t e r i z e d in that the adjusting means (13) will adjust the measuring points of the sampling means on the basis of an average of the phase errors measured earlier. 8. A receiver as claimed in claim 6 or 7, c h a r a c t e r i z e d in that the receiver is a receiver of a digital mobile communication system, preferably the GSM system, and that said signal is a radio burst. 9. A receiver as claimed in any one of claims 6-8, c h a r a c t e r i z e d in that the compensation means (14, LO; 18) compensate for a received signal on the basis of a calculated phase error. 10. A receiver as claimed in any one of claims 6-8, c h a r a c t e r i z e d in that the compensation means (14, LO; 18) compensate for a received signal on the basis of an average of calculated total phase errors.

Inventors: JAERVELAE MIKKO, SUONVIERI JUKKA, JAERVELAE, MIKKO, SUONVIERI, JUKKA
Applicants: JAERVELAE MIKKO, NOKIA TELECOMMUNICATIONS OY, SUONVIERI JUKKA, JAERVELAE, MIKKO, SUONVIERI, JUKKA
Application year: 1995
Main classification: H04L27
IPC codes: H04B1, H04B7, H04L27