METHOD FOR CALCULATING IMPULSE RESPONSE, AND RECEIVER

Abstract: The invention relates to a method for estimating an impulse response, and a receiver whose received signal is formed of bursts comprising a training sequence (208) and the receiver comprising means (404) for sampling the received signal and means (412) for measuring a DC offset in the samples. To simplify the receiver structure, the receiver comprises means (408) for calculating the impulse response by correlating the samples taken with the training sequence before removing the DC offset, and means (412) for removing the DC offset effect from the calculated impulse response.

Description: METHOD FOR CALCULATING IMPULSE RESPONSE, AND RECEIVER FIELD OF THE INVENTION The invention relates to a method for estimating an impulse response in a digital radio system, in which the signals to be transmitted com- prise bursts formed of symbols, the bursts comprising a known training sequence, the method comprising sampling from a received signal, measuring of a DC offset in the samples and correlating the signal with the known training sequence. BACKGROUND OF THE INVENTION In a typical cellular radio environment the signals between a base station and a subscriber terminal propagate on several routes between a transmitter and a receiver. This multipath propagation is mainly caused by signal reflections from surrounding surfaces. Signals travelling on different routes arrive at the receiver at different times because of a different propagation delay. This holds true for both transmission directions. The multipath propagation of a signal can be monitored in a receiver by measuring the impulse response of the received signal, signals arriving at different times being visible as peaks proportional to their signal strength. Figure 1 illustrates a measured impulse response by way of example. Time is on horizontal axis 100 and the strength of the received signal is on vertical axis 102. Peaks 104, 106, 108 of the curve indicate the strongest multipath propagated components of the received signal. In prior art solutions the impulse response is estimated using a known training sequence added to the burst. In known solutions, e.g. in the GSM system, the impulse response is estimated by cross-correlating the received samples with a known training sequence. Figure 2 illustrates one example of a prior art solution. Received signal 200, converted into an intermediate frequency or to a baseband, is transmitted to sampling means 202 in which samples taken 204 are transmitted to memory means 206 from which digital signal processor 210 reads samples 208 and processes them. Samples 204 comprise a DC offset which is removed before demodulation and impulse response calculation. This causes delay in signal processing. In the signal processor the DC offset is removed, then the signal is demodulated and the impulse response can be calculated by correlating signal with the training sequence. The correlation comprises adding and subtracting operations, and the digital signal processor unefficiently performs said operations compared with the solutions built out of special components. Access burst calculation in particular is a substantial load for the signal processor. SUMMARY OF THE INVENTION An object of the present invention is to implement a method and a receiver in which a signal processor load can be reduced and with which an impulse response can be rapidly and efficiently calculated. This is achieved with the method set forth in the preamble charac- terized in that the method comprises impulse response calculation by correlating the samples taken with a training sequence before the DC offset is removed and the removal of the DC offset effect from the calculated impulse response. The invention also relates to a receiver in a digital radio system where a received signal comprises bursts formed of symbols, the bursts comprising a known training sequence, the receiver comprising means for sampling the received signal, and means for measuring a DC offset in the samples. The receiver of the invention is characterized in that the receiver comprises means for calculating an impulse response by correlating the samples taken with the training sequence before the DC offset is removed, and means for removing the DC offset effect from the calculated impulse response. The solution of the invention has several advantages. The solution of the invention is easy to implement. For example in the GSM system the impulse response calculation of an access burst is the heaviest calculation op- eration of a frequency equalizer in a GSM base station. With the solution of the invention the calculation can be implemented twice as easy in comparison with current solutions. Furthermore, the solution of the invention allows impulse response calculation in connection with sampling, thus speeding up the calculation. This was not previously possible due to the error caused by the DC offset. BRIEF DESCRIPTION OF THE DRAWINGS In the following, the invention will be described in greater detail with reference to examples in the accompanying drawings, in which Figure 1 shows an example described above of the impulse response of a received signal, Figure 2 illustrates a prior art solution for impulse response calculation, Figure 3 shows a normal burst of the GSM system, Figure 4 illustrates an example of the receiver of the invention, and Figure 5 illustrates in greater detail an example of the structure of the receiver of the invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention can be applied to any digital radio system where a burst comprises a training sequence. One example of such systems is the GSM cellular radio system, and in the following, it is used as an example when describing the invention although not restricting thereto. In prior art solutions the impulse response is estimated by a known training sequence added to the burst. Figure 3 shows by way of example a normal burst of the GSM system, comprising start and end bits 300, 302, actual data in two parts 304, 306, and known training sequence 308 placed in the middle of the burst. In a normal burst the length of the training sequence is 26 bits. The receivers of a digital system typically sample the received sig- nal i.e. convert it into digital form by sampling it at given intervals. The samples comprise a DC offset, which in practice denotes the mean calculated of all received samples. The received signal can be shown in vector form Rre = Rrejd + DC re R im = jm j rj + DC ιm where subscript re denotes a real part and subscript im an imaginary part. DC re and DC ιm are the DC offsets and R reJd = (R rejd (0) R re d (1) - . . rejd (M-1) ) Rim . id = (R,mjd (0) R ιmjd (1) ■ • ■ R,m d (M-1) ) denote the received ideal signal where M is the length of the burst. In the solution of the invention the impulse response is measured and demodulated simultaneously in parallel. At this point, the impulse response is still distorted by the DC offset of the samples. In the solution of the invention the DC offset effect is removed from the calculated impulse response using a simple correction term. Let us examine the demodulation in the GSM system. Demodulation can be performed by multiplying the received samples S (i) = (R re (i) + j R ιm (i) ) e- J025πl where i = 0, ... , M-1. The exponent term e ",025πl defines sequence 1 , -j, -1 , j, which is continuously repeated. Also the term e "J025πl can be used, then only the signs are inverted. S can thus be indicated as S re = (R re (0) R ιm (1) -R re (2) -R, m (3) R re (4) . . . ) τ and S im = (R ιm (0) -R re (1) -R ιm (2) -R re (3) R ιm (4) . . . ) τ . Owing to the DC offset the demodulated samples can be written as S reJd = S re - (DC re DC, m -DC re -DC, m . . . ) τ S imJd = S im - (DC ιm -DC re -DC ιm DC re . . . ) τ where S re ιd and S imJd are the terms from which the DC offset has been removed. For calculating impulse response the training sequence is first defined as a vector trs = (trs (0) trs (1) . . . trs (N) ), where N is the length of the training sequence. A matrix is formed using the training sequence vector There are as many T lines in the matrix as there are cross correlation taps to be calculated. The impulse response H can thus be calculated using the cross correlation as follows: π ro = T S rejd = T (S re DC re ) = T*S r T*DC r H im - T o im id = DC im ) = T*S h T*DC im" The above formulas show that the impulse response taps can be calculated before the DC offset is removed from the signal. The distortion can be re- moved from the acquired impulse response still being distorted by the DC offset by subtracting the terms T*DC re and T*DC im from the calculated values. It should be noted that if the training sequence is not at the beginning of the burst then a corresponding offset should be used in indexing. For the sake of simplicity it is assumed here that the training sequence is at the beginning of the burst, although this is not the case e.g. in the GSM system. The terms DC re and DC im comprise only four possible values: ±DC re and ±DC ιm which are repeated in a sequence determined by demodulation and which values can be measured. The DC offset effect can thus be removed by reducing a correction term from the calculated impulse response, the correc- tion term being calculated by multiplying the measured DC offset values using the training sequence by precalculated multipliers. The correction terms can be calculated using the following formulas: and where A, B, C and D can be precalculated constant multipliers dependent on the training sequence used. The above described formulas are valid if there are four taps to be calculated in cross correlation and if the training sequence is at the beginning of the burst. In general form the formulas can be indicated as follows: A (rem (i I Λ) ) DCre + B (rem (/74) ) DCm (rem ( (/ + 1) /4) ) DCrβ + 8 (rem ( (/ + 1) /4) ) DCn T * DCre = (rem ( (/ + 2) / 4) ) DCre + B (rem ( (/ + 2) / 4) ) DCr (rem ( (/ + ) /4) ) DCre + B (rem ( (; + /_ / 4) ) DC im / and C (rem (/74) ) DCre + D (rem (;74) ) DCm C (rem ( (/ + 1) /4) ) DCe + D (rem ( (/ + 1 ) / 4) ) DCr T * DC,m = C (rem ( (/ ' + 2) / 4) ) DCre + D (rem ( (/ + 2) / 4) ) DCr I C (rem ( (/ ' + /.) / 4) ) DC* + D (rem ( (; + /_ / 4) ) DC im/ where i = the start index of the training sequence in the burst, L = the number of lines in the matrix T, i.e. the number of cross correlation taps to be calculated. Rem ( ) is a remainder function that retrieves the remainder of the performed division. It should be noted that even in a general case only four pre- determined values are needed for each of the terms A, B, C and D. Let us next examine the receiver structure of the invention, illustrated with relevant parts in Figure 4. The receiver comprises antenna 400 for conveying a received signal to radio frequency parts 402 in which the signal is converted into an intermediate frequency or to a baseband. The converted signal is conveyed to sampling means 404 where the signal is converted into digital form. The parts described above can be implemented using methods known to those skilled in the art. The output of the sampling means comprise real and imaginary parts 414, 416 of the samples, taken from the signal and conveyed to memory means 406 and to calculation means 408. Calculation means 408 calculate the impulse response at the same time as samples are being received. The impulse response calculated by the calculation means still comprises a distortion caused by the DC offset. The output of burst counter 410 is led as an input to the calculation means. Information 418 about the beginning of the burst is the burst counter's control. The output of the calculation means is conveyed to signal processor 412, the original sampled signal from memory means 406 being led to it as the input. The signal processor removes the DC offset effect from the calculated impulse response applying the above described calcula- tion measures. In the solution of the invention the calculation load of the signal processor is substantially smaller than in prior art solutions. Let us in the following examine an example of the calculation means structure illustrated with relevant parts in Figure 5. In a counter the im- pulse response taps are counted by correlating samples with the training sequence and simultaneously the samples are demodulated. The sampled signal's real and imaginary parts 414, 416 conveyed to multiplexers 500, 502 are led as input to the counter. The multiplexed signals are further conveyed to calculation units 504, 506 where a complement of two is calculated, and fur- ther to masking means 508, 510 where an AND operation is performed. From the masking means the samples are conveyed to adders where feedback 538, 540 is added, and from the adder further to memory means 516, 518 in whose outputs real and imaginary impulse responses 534, 536 are calculated distorted by the DC offset. A control to which the length of training sequence 522, bit counter 524, the bits 526 of the training sequence, start and end indexes 528, 530 are led as the input, functions as control means 520 of the counter. Using control signals 532 the control controls the function of other parts. The received signal is demodulated using multiplexers 500, 502 and calculation units 504, 506. Furthermore, control means 520 use complement blocks 504, 506 for performing a multiplication with the demodulation result and the training sequence bits currently corresponding to each cross correlation tap, i.e. for producing the necessary multiplication in cross correlation calculation. Each cross correlation tap to be counted corresponds to a differ- ent training sequence bit, whereby a number of transmitted signals equalling the number of cross correlation taps is needed for each bit arriving at a block in the output of complement blocks 504, 506. In memory means 516, 518 the result of each cross correlation is stored under its own memory address. Each cross correlation tap is counted simultaneously after the receipt of the bit. Us- ing masking means 508, 510 the right moment for starting cross correlation can be chosen on the basis of the training sequence location. Burst counter 410 starts counting bits at the beginning of each burst, and transmits the information to control 520. Start index 528 is determined at that moment, when counting of the first tap of the impulse response is started, and end index 530 is determined at that moment when the last tap is counted. Training sequence 526 is needed for performing correlation. The training sequence and the length of training sequence 522 can be stored in programmable registers. The registers are not shown in the Figure. Even though the invention has been explained above with reference to the example of the accompanying drawings, it is obvious that the invention is not restricted to it but can be modified in various ways within the scope of the inventive idea disclosed in the attached claims.

Claims: CLAIMS 1. A method for estimating an impulse response in a digital radio system, in which the signals to be transmitted comprise bursts formed of symbols, the bursts comprising a known training sequence (208), the method comprising sampling from a received signal, measuring of a DC offset in the samples and correlating the signal with the known training sequence, characterized in that the method comprises impulse response calculation by correlating the samples taken with the training sequence before the DC offset is removed, and the removal of the DC offset effect from the calculated impulse response. 2. A method as claimed in claim ^characterized in that the DC offset effect is removed by reducing from the calculated impulse response a correction term which is calculated by multiplying the measured DC offset values using the training sequence by precalculated multipliers. 3. A method as claimed in claim 1, characterized in that signal demodulation and impulse response measuring is performed simultaneously. 4. A receiver in a digital radio system where a received signal com- prises bursts formed of symbols, the bursts comprising a known training sequence (208), the receiver comprising means (404) for sampling the received signal, and means (412) for measuring a DC offset in the samples, characterized in that the receiver comprises means (408) for calculating an impulse response by correlating the samples taken with the training sequence before the DC offset is removed, and means (412) for removing the DC offset effect from the calculated impulse response. 5. A receiver as claimed in claim 4, characterized in that the receiver comprises means (412) for calculating a correction term by multiplying the measured DC offset values using the training sequence by precalculated multipliers and means (412) for subtracting the correction term from the calculated impulse response.

Inventors: PIIRAINEN OLLI, PIIRAINEN, OLLI
Applicants: NOKIA TELECOMMUNICATIONS OY, PIIRAINEN OLLI, PIIRAINEN, OLLI
Application year: 1997
Main classification: H04B
IPC codes: H04B1, H04L25