METHOD FOR DETERMINING CONNECTION QUALITY, AND A RECEIVER

Abstract: The invention relates to a method for determining connection quality, and a receiver in a radio system, the receiver comprising means (214) for decoding a received signal by the Viterbi method by means of a trellis diagram comprising a group of state points, and means (214) for calculating state transition values (Tr0, Tr1) for the two possible transitions in each point of the diagram. To determine advantageously the quality of the connection between a transmitter and the receiver, the inventive receiver comprises means (214) for calculating, in each column of the trellis diagram, the maximum values (Tr0max, Tr1max) for both the transitions of the points in the column, for determining the absolute value of the difference of the calculated maximum values, and means (214) for estimating connection quality by utilizing said absolute value.

Description: METHOD FOR DETERMINING CONNECTION QUALITY, AND A RECEIVER FIELD OF THE INVENTION The present invention relates to a method for estimating connection quality in a receiver of a radio system, the method comprising decoding a received signal with a Viterbi decoder by utilizing a trellis diagram comprising a group of state points, a transition being possible from each point of the diagram to two points in the next column, and state transition values being calculated for the transitions. PRIOR ART In a cellular radio system, the quality of the connection between a base station and a subscriber terminal varies continuously. This variation is caused by disturbances on the radio path and the attenuation of radio waves as a function of distance. For example, when a subscriber terminal moves further away from the base station, attenuation on the connection between the subscriber terminal and the base station increases. Often, an attempt is made to compensate for this attenuation by power control. Power measurement alone will not, however, suffice as a parameter indicating the connection quality. A variable often employed in digital cellular radio systems to express connection quality is the bit error rate (BER), which represents the number of erroneously received bits compared to all the received bits. In the GSM cellular radio system, for example, the base station and the subscriber terminal are continuously measuring the BER on the connection between them. The measurement results are transferred to a base station controller, which on the basis of the measurements makes, if need be, the decision to hand the connection over to a channel offering better connection quality. It is necessary to measure the connection quality as accurately as possible so as to be able to use the resources of the cellular radio system optimally and to minimize the number of poor connections. Consequently, the measurement period for the BER measurement in the GSM system is 480 milliseconds, which corresponds to 104 TDMA timeslots in a full-rate channel and 52 TDMA timeslots in a half-rate channel. It is previously known to estimate the BER of a channel as a so- called pseudober measurement. In this method, the BER is estimated by coding anew the signal at the output of the channel decoder comprised by the receiver, and by counting the number of correct bits. However, this method is not the best possible because it is not guaranteed that the channel decoder always corrects an erroneous bit. The channel decoder may also change a correct bit into an incorrect bit. In addition, the accuracy of the method depends on the length of the bit sequence being treated. The bit sequence, i.e. the measurement period, should be long enough so that the BER could be detected correctly also when erroneous bits occur seldom in the channel. In the GSM system, this is a problem particularly in a half-rate channel, in which the number of bits is lower than in a full-rate channel. Further, the pseudober method is heavy to carry out by a signal processor. Another prior art method for estimating the BER is to calculate it from the known training sequence of each traffic channel during the measurement period. Since in the GSM system there are 26 bits in the training sequence, and a half-rate channel has 52 frames on each traffic channel during the measurement period, there are consequently only 52*26 known bits from which to calculate the BER. This is too few for calculating a BER estimate accurately enough. CHARACTERISTICS OF THE INVENTION It is therefore an object of the invention to implement a method for estimating the quality of a connection, which is simple and accurate and does not require heavy computation. It is a further object of the invention to implement a receiver in which monitoring of the connection quality is easy to implement in connection with the decoding process. This is achieved by a method of the type set forth in the introduction, characterized by calculating, in each column of the trellis diagram, the maximum values for both the transitions of the points in the column, and by determining the absolute value of the difference of the calculated maximum values, and by utilizing said absolute value in determining the connection quality. The invention further relates to a receiver in a radio system, the receiver comprising means for decoding a received signal by the Viterbi method by means of a trellis diagram comprising a group of state points, and means for calculating state transition values for the two possible transitions in each point of the diagram. The receiver according to the invention is characterized by comprising means for calculating, in each column of the trellis diagram, the maximum values for both the transitions of the points in the column, for determining the absolute value of the difference of the calculated maximum values, and means for estimating connection quality by utilizing said absolute value. The inventive solution provides a number of advantages. It may be implemented in a simple manner, e.g. by an ASIC circuit, and it does not require memory. When implemented in connection with Viterbi logic, the necessary computation may be executed in parallel with carrying out the Viterbi. Further, the inventive method is even more accurate than the previously known methods. DESCRIPTION OF THE DRAWINGS In the following, the invention will be described in closer detail with reference to the examples in the accompanying drawings, in which Figure 1 shows an example of a radio system in which the invention may be applied, Figure 2 illustrates an example of the structure of the receiver according to the invention, and Figure 3 shows an example of a trellis diagram used in a Viterbi decoder. DESCRIPTION OF THE PREFERRED EMBODIMENTS The method and receiver according to the invention may be applied in any digital radio system. Figure 1 shows by way of example the essential parts of the structure of a typical cellular radio system. The system comprises a base station 100, and a group of usually mobile subscriber terminals 102 - 104 that have a two-way connection 106 - 108 to the base station 100. The base station 100 forwards the connections of the terminals 102 - 104 to other parts of the system and to the fixed network. The following will examine an example of the structure of the inventive receiver, illustrated by the block diagram of Figure 2. The receiver comprises an antenna 200 which receives a signal to be applied to radio frequency parts 202. The radio frequency parts convert the received signal into an intermediate frequency. The converted signal 204 is further applied to sampling means 206 in which the signal is converted from analog to digital form. The digitized signal 208 is further applied to an equalizer 210. In the equalizer, the distortion caused by the transmission channel, i.e. the radio path, to the signal is corrected. From the equalizer, the signal is fed to deinterleaving means 212 which deinterleave the bits interleaved at the transmitting stage. Interleaving is commonly used in digital transfer systems. It should be noted that the method according to the invention may also be applied to systems in which interleaving is not employed. All the receiver components mentioned above may be implemented in ways known by persons skilled in the art. The symbols received from the deinterleaving means 212 are fed to a convolution decoder 214 which makes hard decisions from the symbols. A decoded burst 216 and information on the reliability 218 of the decision are present at the output of the decoder 214. The convolution decoder is usually implemented by means of the Viterbi algorithm. In the Viterbi algorithm, soft decision may be utilized although this is not essential as far as the present invention is concerned. In the following, the operation of the Viterbi algorithm will be examined. Figure 3 illustrates a typical trellis diagram, used in connection with the Viterbi algorithm. When solving the Viterbi algorithm, the process proceeds in the trellis diagram from left to right. The size of the trellis diagram is determined so that it has N rows, where N is the number of possible states, and M+1 columns, where M represents the number of bits. Each point of the diagram may be entered via two different routes, i.e. from two points in the previous column. Thus, there are two possible transitions to each point. The first transition Tr1 represents a transition of bit 1 and the other that of bit 0. The transitions are formed by adding the metrics of the current received bit transition (F) to the cumulative metric value cum(.). Tr0(j) = cum(2 * j) + F(2 * j); Tr1(J) = cum(2 * j+1) + F(2*j+1). The Tr0(j) and Tr1(j) calculated with the above formulas represent the logarithm of the probability of the path through trellis ending to this particular point j. The cumulative metrics cum in a trellis point may be considered to represent the logarithm for the probability through the trellis ending in the point in question in the previous column. The F values represent the logarithm of the probability of the current bit transition, taking into account the state of the trellis (i.e. the previous bits). The highest value of state transition in each point corresponds to the state transitions in the next column when calculating the cumulative metrics of the point in question. When calculated with the formulas above, metric values can be obtained that maximize the metrics when calculating the trellis. The trellis may also be implemented by minimizing error probability. This in not described in this example, but the invention is also applicable to it. The following describes the inventive method for determining connection quality by means of the above state transition values. The state transition values TrO and Tr1 are calculated in each point of the trellis diagram. The trellis diagram is examined column by column. In each column, maximum values TrO max and Tr1 max are defined for the state transition values TrO and Tr1 of the column points. In other words, the most probable path ending to bit value 1 in the point in the column in question, and correspondingly the most probable path ending to bit vale 0 are searched. In this manner, it is possible to estimate the reliability of the decision made between the bits 0 and 1 by calculating the absolute value of the difference of the maximum values: d = | τrl max - TrO max | . The variable above is associated with one bit, and thus its reliability is not the best possible. A more reliable value may be obtained by defining the sum of said absolute value over several columns, i.e. bits, and by utilizing this sum in determining the connection quality. This may be presented as etui D = ∑ \max(Tr! )) - max(TrOG))\ , where j = state number, j=0,1 ,...,N-1 , st = start bit (column) number end = end bit (column) number. By means of a number thus calculated it is possible to estimate the reliability of the received signal frame in a reliable manner. In the following, the structure of the inventive receiver will be examined, as illustrated by the block diagram of Figure 2. The inventive receiver comprises means 214 for calculating in each column of the trellis diagram the maximum values Tr0 max and Tr1 ma>( for both the transitions of the points in the column, for defining the absolute value of the difference of the calculated maximum values, and for utilizing said absolute value in determining connection quality. Utilizing the determined absolute value, the means (214) detect possible bad signal frames, and in order to obtain a more reliable result define said absolute value over more than one column, and utilize this sum in determining the connection quality. In a solution according to the preferred embodiment of the invention, the calculation is carried out in the convolutional decoder 214 in connection with calculating the Viterbi. The inventive convolutional decoder may be implemented advantageously by means of software with the aid of a signal or a general processor or separate components. Although the invention is in the above described with reference to the example in the accompanying drawings, it is obvious that the invention is not restricted thereto but may vary in many ways within the inventive idea of the claims.

Claims: CLAIMS 1. A method for estimating connection quality in a receiver of a radio system, the method comprising decoding a received signal with a Viterbi decoder by utilizing a trellis diagram comprising a group of state points, a transition being possible from each point of the diagram to two points in the next column, and state transition values (TrO, Tr1) being calculated for the transitions, characterized by calculating, in each column of the trellis diagram, the maximum values (Tr0 max , Tr1 max ) for both the transitions of the points in the column, and by determining the absolute value of the difference of the calculated maximum values, and by utilizing said absolute value in determining the connection quality. 2. A method as claimed in claim 1, characterized in that possible bad signal frames are detected by means of the determined absolute value. 3. A method as claimed in claim 1, characterized in that the possible state transitions (TrO, Tr1) in each point correspond to the bit alternatives 0 and 1, and that when determining the difference of the calculated maximum values, the maximum value (Tr0 max ) of the bit alternatives 0 is subtracted from the maximum value (Tr1 max ) of the bit alternatives 1. 4. A method as claimed in claim 3, characterized in that the sum of said absolute value is determined over several columns, and that this sum is utilized in determining connection quality. 5. A receiver in a radio system, the receiver comprising means (214) for decoding a received signal by the Viterbi method by means of a trellis diagram comprising a group of state points, and means (214) for calculating state transition values (TrO, Tr1) for the two possible transitions in each point of the diagram, characterized by comprising means (214) for calculating, in each column of the trellis diagram, the maximum values (Tr0 max , Trl rna for both the transitions of the points in the column, for determining the absolute value of the difference of the calculated maximum values, and means (214) for estimating connection quality by utilizing said absolute value. 6. A receiver as claimed in claim 5, characterized by comprising means (214) for detecting possible bad signal frames by means of the determined absolute value. 7. A receiver as claimed in claim 5, characterized by comprising means (214) for determining the sum of said absolute value over several columns, and utilizing this sum for determining the connection quality.

Inventors: PIIRAINEN OLLI, PIIRAINEN, OLLI
Applicants: NOKIA TELECOMMUNICATIONS OY, PIIRAINEN OLLI, PIIRAINEN, OLLI
Application year: 1997
Main classification: H04B7
IPC codes: H03M13, H04B7, H04L1