A signal quality detecting circuit and method for receivers in the GSM system

Abstract: The invention provides an improved method and apparatus for identifying a bad GSM speech frame. Both the estimated signal-to-noise ratio (ESNR) of the received signal and the pseudo bit error rate (PBER) of a recoded speech signal are used to determine whether or not a speech frame is bad.

Description: The invention relates to digital data transmission techniques and its application in digital mobile phone systems. Bit errors occur in the speech blocks of digital data transmission and it is not possible to correctly decode all the blocks at the receiving end. Therefore, some method must be used to remove faulty speech frames in order to avoid the disturbing sounds in earphones or speakers that are caused by the faulty frames. GSM speech channels (GSM, Group Special Mobile) use three parity bits in each speech frame for detecting errors in data transmission. However, this is not sufficient. In addition to the parity check another method for estimating the quality of the received signal should be used. If the estimated quality of the signal is poor, the speech frame is removed even though the parity was correct. It should be remembered that the parity can be correct even though the only air interface signal received is noise. There are two quality measures that are used in respective methods for estimating the quality of the received signal ie the estimation of the signal-to-noise ratio, and the estimation of the bit error rate of a decoded channel. The respective quality measures for these methods are the Estimated Signal-to-Noise Ratio (ESNR) and the Pseudo Bit Error Rate (PBER). When using the method using the signal-to-noise ratio, a poor-quality speech frame is detected by giving the ESNR a certain threshold value. In this case all frames with an ESNR lower than the threshold value are removed. When using the bit error rate method, the decoded speech frame is recoded and the coded bits are compared with the received bits. The PBER which is an estimate of the real bit error rate is obtained in this way. A certain threshold value can also be placed on the number of bit errors, whereby all the frames with a higher number of bit errors are removed. It is known from the publication WO 92/22162 to select a transmission modulation state on the basis of the assessment of the received signals and to adjust the transmission state of the transmitter to be the selected modulation state. The number of binary digits encoded onto each symbol may be varied according to the RSSI or the measured BER. An estimate of the channel during each received data packet can be obtained by overlaying a BCH code onto the last bits of input data in each block. In another known publication, US patent 4 991 184 the SNR and BER are each separately compared to respective threshold values. The comparisons are made for the purpose of controlling the transmission speed rather than to determinate whether or not to accept received data. None of the above-mentioned known methods is completely reliable. When using threshold values, some of the good frames are removed in both methods and some poor frames remain untouched. It is an object for the present invention to provide an improved decoder and method for a digital radio telephone, and more precisely by forming a combination of first and second quality measures and using that combination for disregarding signal groups failing to meet a chosen threshold. The specific characteristics of the invented new decoder as well as the method for identifying bad speech frames will appear from the appending claims. Thus, the present invention discloses a decoder for a radio telephone, for providing a decoded signal from a signal transmitted in respective groups and including means for providing first and second quality measures for estimating the quality of each of the transmitted signal groups received; and means responsive to the first and second quality measures for disregarding signal groups failing to meet a chosen quality threshold. The invented method for identifying a faulty signal group transmitted in a digital radio telephone system comprises: determining a first quality measure indicative of the quality of the signal group; determining a second quality measure indicative of the quality of the signal group; and disregarding a faulty signal group is faulty based on the first and second quality measures. In accordance with a third aspect of the invention there is provided a method for identifying a bad GSM speech frame in digital mobile phone systems, characterized in that the estimation of the quality of the received signal is carried out using estimated signal-to-noise ratio ESNR so that the ESNR is a vector comprising the estimated signal-to-noise ratio of each received burst or a scalar describing their approximate signal-to-noise ratio, and pseudo bit error rate PBER of the received and recoded speech frame, and that the ESNR and PBER are functionally related to a chosen threshold and a speech frame is removed if it fails to meet the threshold. By using two quality measures in determining whether a speech frame should be decoded, the quality of the decoded signal can be improved. The quality measures provide different error information on the signal. Suitable examples are the Estimated Signal-to Noise Ratio (ESNR) and the pseudo-bit error rate (PBER). The ESNR can be a scalar or vector comprising the estimated signal-to-noise ratio of each received burst. The two quality measures are functionally related such that a measured variable is compared with a threshold value in order to determine if a speech frame is to be decoded. They are unconnected so they each provide a different estimate of the quality of the signal. The quality measures may be linearly combined and compared with a fixed threshold value. One quality measure may be a vector comprising the estimated signal-to-noise ratio of each received burst, or a scalar describing its approximate signal-to-noise ratio. The other quality measure may be a pseudo-bit error rate PBER of the received and recoded speech frame is also used so that the speech frame is removed if the function of variables ESNR and PBER Pseudo Bit Error Rate is greater than a given threshold T. As another option, however, an adaptive threshold determined in accordance with one or both of the quality measures is compared with a function of the other or both of the quality measures. The one quality measure may be the signal-to-noise ratio variance determined from the ESNR, and the other quality measure may be the PBER or vice versa. Thus the method according to the invention is implemented with the aid of an estimate of the signal-to-noise ratio of the received signal and with the estimated bit error rate BER of the decoded speech signal. In embodiments of the invention both the estimated signal-to-noise ratio ESNR and bit error coefficient PBER of the received and decoded speech frame are used as the basis for estimating the quality of the received signal, however, in a different way than in the previously disclosed, known methods. The invention will now be described in greater detail with reference to Figure 1 of the accompanying drawings which is a schematic representation of a speech decoder in accordance with the invention. Figure 1 illustrates a speech demodulator for a radio telephone 1 operating under the GSM protocol. The signal is channelled through an antenna 2 to a demodulator 3. The demodulator comprises the radio frequency elements and an A/D converter for the baseband or intermediate frequency signal output from the demodulator. The digital signal output from the demodulator is provided to the bit detector 4. The bit detector 4 comprises an equalizer and detects the burst data which is interleaved and stored for use by the frame decoder 5. The bit detector 4 also includes a signal-to-noise ratio estimator 6 which estimates the signal to noise ratio (ESNR) of each burst and provides this information to a 'Bad Frame Indication calculation' module 7. The receiver uses a Maximum Likelihood Detector (MLSE). The SNR is calculated from the cumulative metric of the maximum likelihood path and the total input signal power. A suitable MLSE detector is described in more detail in Digital Communications (Second Edition) by John G. Proakis (McGraw Hill). The total signal power is equal to S + N and the cumulative metric (assuming the direct form of implementation according to Proakis, formula 6.3.5) is equal to the noise power N. The signal to noise ratio can then be calculated as (total power - noise)/noise power. Other means for providing an estimated signal-to-noise ratio could, however, be used. The burst data is supplied to the frame decoder 5 which includes a convolutional decoder 8 and frame builder 9 for providing speech frames to a speech decoder 10. The frame decoder 5 also calculates the estimate for the bit error rate (BER), also called the pseudo-BER (PBER) and supplies this information to the 'Bad Frame Indication calculation' 7. The PBER is determined in this instance by re-encoding the channel decoder output and comparing it to the original channel decoder input data. This gives the exact error rate if the error correction is perfect but is almost correct even when averaged over a number of bits. Other ways of estimating the PBER are, however, possible. The 'Bad Frame Indication calculation' module contains the means for determining whether a specific speech frame should be ignored based on the ESNR and the PBER supplied from the Bit detector and the Frame decoder respectively. A signal BFI support is generated that indicates whether a particular speech frame should be ignored. This is sent to the speech decoder 10 which does not decode those frames that are to be ignored. The speech decoder decodes the speech frames given by the frame decoder. The decoder checks the parity of the speech frame and the BFI support to determine whether a speech frame is usable. A manner in which this determination can be made is described in detail in the GSM recommendation in series 06. The speech frame is removed if f(ESNR, PBER) > T, where f is a function of variables ESNR and PBER and T is a suitable threshold value. In an exemplifying solution according to the invention the function f is chosen as follows: f(a,b) = (D1 * a) + (D2 * b) Thus the speech frame is removed in the exemplifying solution, if (D1 * ESNR) + (D2 * PBER) > T where D1 and D2 are constants and the function is a linear combination of variables ESNR and PBER. The function is a linear combination of the quality measures which are the estimated number of bit errors in the speech data frame and the signal to noise (interference) ratio measured for each (8) burst over which the speech data is interleaved. Another quality measure can be derived from the signal to noise ratio figures (SNR) i.e. the variance of the SNR values of the bursts over the interleaving depth. This measure may be used in combination with the pseudo bit error rate measurement (pseudo BER). A digital signal processor may be used to evaluate the function. The function could, however, be implemented in the form of a table, whereby the ESNR and PBER are indexes of the table and the values of the function are indexed variables of the table. The invention can be implemented using a digital signal processor, an integrated circuit, or an integrated microprocessor. It is desirable for the number of false decisions to remove a speech frame to be minimized so that a large number of speech frames are not removed unnecessarily deteriorating the perceived speech quality. The function f and threshold T can be fixed. However, a more flexible decoder is provided by allowing the system to be adaptive. That is, in different regimes, different functions and/or thresholds can be used. For example, when bit errors occur in very short bursts and the signal quality is otherwise fairly good the perceived quality of speech is improved by removing a large number of faulty speech frames. The threshold T may, therefore, be lowered if it is observed that the bit errors are tending to occur in very short bursts in a signal of overall relatively high quality. Under different conditions lowering the threshold could merely increase the number of frames removed without significantly improving the perceived speech quality. In an exemplary adaptive solution a threshold value calculated from a signal responsive to the ESNR is used to provide a threshold BFI_LIM with which the PBER is compared. The threshold value BFI_LIM is calculated using the formula: BFI_LIM = (SNR_VAR - C1) * C2 + C3 where SNR_VAR is a variance of the values of the ESNR vectors. The BFI_LIM value is basically a constant (C3) tuned according to the above mentioned SNR variance. The variance of the values of the ESNR vectors is determined on a burst by burst basis with each vector having eight elements so that the limiting value with which the PBER is compared adapts to the specific environment encountered. The BFI_LIM value can then be limited to some fixed range using constants C4 and C5. The threshold BFI_LIM obtained is kept within a range of values that correspond to upper and lower permissable limits. If the threshold is too high it is likely that frames that should be removed are not, and if it is too low, frames are not removed that should have been. The range of values for BFI_LIM is determined in the following way: C4 ≤ BFI_LIM ≤ C5 The speech frame is removed in the adaptive exemplifying solution, if PBER > BFI_LIM C1, C2, C3, C4 and C5 are constants which are preferably determined by performing simulations. The BFI_LIM parameter is used as a threshold value against which the PBER measurement is compared when a frame erasure decision is made. A speech frame is erased if PBER exceeds the calculated threshold value BFI_LIM. Constants C1 to C5 are selected to achieve the best speech quality possible. There are several optimisation methods that can be used. One possible way of optimising both the fixed function and the adaptive function mentioned earlier is to run simulations that include the model of the whole receiver chain and cover several different propagation conditions and signal-to-interference ratios. The parameter values can then be changed so that optimum speech quality is achieved. It is possible to use objective listening tests and/or objective frame error rate measurements. A simulated model is preferable because the tests can be accurately reproduced but "real life" tests can also be used while the speech quality is measured. The objective measurement should give the minimum number of erased frames versus the number of frames not erased but having bit errors. That is the smallest number of frames should be erased while still minimizing the number of frames containing errors. The constants used above are selected so that speech quality is optimized. Generally the BFI process should erase all speech frames whose most important bits are likely to be erroneous. On the other hand as few speech frames as possible should be erased because erasures result in lost speech information. Thus the best compromise between speech frames containing errors that produce audible noise and erased speech frames resulting in lost speech, should be obtained. A first step to achieve the BFI requirement is to use the PBER measurement to erase all speech frames that have too many errors (estimated with the PBER measurement) i.e. erasing frames whose pseudo BER exceeds the given threshold value. This basic procedure has the drawback that the number of errors, measured using the pseudo BER measurement, does not accurately reflect the number of errors in the bits used by the speech decoder. This is because pseudo BER estimate the number of its errors in the input of the channel codec, and the number of errors at the channel codec output (i.e. the speech decoder input) varies significantly according to signal conditions. If, for example, the propagation conditions are static, the channel codec accepts significantly less errors in the input compared to a fading channel. It is possible to take into account this behaviour in the BFI calculation by adaptively changing the PBER threshold value (BFI_LIM) according to the channel conditions. This is preferably done by measuring the SNR_VAR which indicates whether the transmission channel is static or fading at some speed. The PBER limit is determined by modifying the measured SNR_VAR with the parameters C1 and C2 in the manner described ie (SNR_VAR - C1) * C2. Here the C1 parameter corresponds the SNR_VAR limit that represents a threshold value between static and dynamic channel conditions and the C2 affects the sensitivity of the BFI_LIM value change versus the channel fading strength. The adaptive part can be designed using measured behaviour of the SNR_VAR parameter in different channel conditions. The following table is an example that has been derived using a simulation model. The SNR_VAR value has been measured in different signal to interference ratios and different propagation conditions (the examples of propagation conditions are those that are defined in the GSM specifications). Eb/No or C/I (signal to interference ratio) channel profile 0 dB 6 dB 10 dB 20 dB STATIC 2.20 0.13 0.11 0.11 TU3 C/I 0.34 0.24 0.21 0.16 TU50 0.74 0.76 0.72 0.54 TU50 C/I 1.61 1.6 1.45 0.77 HT100 0.79 0.77 0.77 1.02 RA250 0.84 0.84 0.84 0.6 RA250 C/I 1.99 1.9 1.69 0.81 The channel profiles are defined in the GSM specification 05.05. They are as follows: STATIC = AWGN = additive white gaussian noise channel. TU = typical urban. The number indicates the speed in kilometres per hour. C/I = the carrier to interference ratio. HT = hilly terrain. The figures show that the SNR_VAR is low in the static and slowly fading cases and high in the fast fading cases. This enhanced pseudo BER based bad frame indication method can be combined with the signal to noise ratio measurement as described earlier in the invention report to further increase the BFI performance. Again the same arguments for parameter value optimisation can be used as described above. As a specific example in GSM, a speech frame has 378 bits at the output of the convolutional decoder in the frame decoder which is the reference point for the BFI operation. The adaptive PBER measurement (ie BFI_LIM) is typically limited to the range 50 to 65 errors in one speech frame ie C4=50, C5= 65. By way of example, C1 is typically 0.3 and C2, 20 and C3, 50. Similar optimisation methods can be used for any formula that combines the quality measures. The method according to the invention is considerably more reliable than previously known methods. The quality of speech can be significantly improved using the method and apparatus according to the invention. In view of the foregoing description it will be evident to a person skilled in the art that various modifications may be made within the scope of the invention as defined in the claims. In particular the invention could be adapted for use with protocols other than GSM.

Claims: A decoder (1) for a radio telephone, for providing a decoded signal from a signal transmitted in respective groups comprising: means for providing first (4) and second (5) quality measures each being indicative of different error information on the signal for estimating the quality of each of the transmitted signal groups received; and means (7) responsive to a functional relation of the first and second quality measures for disregarding signal groups failing to meet a chosen quality threshold. A decoder according to claim 1 wherein the first and second quality measures are an estimated signal-to-noise ratio and a pseudo bit error rate. A decoder according to claim 2, wherein the estimated signal-to-noise ratio comprises a vector indicative of the signal-to-noise ratio of a signal group. A decoder according to claim 2 wherein the estimated signal-to-noise ratio comprises a scalar defining the approximate signal to noise ratio. A decoder according to any preceding claim wherein the means for disregarding comprises means for comparing a linear combination of the first and second quality measures with a threshold value. A decoder according to any one of claims 1 to 4 wherein the means for disregarding comprises means for determining a threshold value based on one or both of the quality measures, and means for comparing a function of the other or both of the quality measures with the threshold value. A decoder according to claim 6 wherein the threshold value is a function of the signal-to-noise ratio variance and the pseudo bit error rate is compared with the threshold value. A method for identifying a faulty signal group transmitted in a digital radio telephone system comprising: determining a first quality measure (4) indicative of error information on the signal; determining a second, different, quality measure (5) indicative of error information on the signal; and disregarding a signal group in response to a functional relation of the first and second quality measures (7) which fails to meet a chosen quality threshold. A method for identifying a bad GSM speech frame in digital mobile phone systems, characterized in that the estimation of the quality of the received signal is carried out using estimated signal-to-noise ratio ESNR (4) so that the ESNR is a vector comprising the estimated signal-to-noise ratio of each received burst or a scalar describing their approximate signal-to-noise ratio, and pseudo bit error rate PBER (5) of the received and recoded speech frame, and that the ESNR and PBER are functionally related (7) to a chosen threshold and a speech frame is removed if it fails to meet the threshold. A method according to claim 9 wherein the speech frame is removed if f(ESNR, PBER) > T where f is a function of variables ESNR and PBER and T is a chosen threshold value. A method according to claim 10, wherein the function is so formed that the number of faulty decisions to remove speech frames can be minimized. A method according to claim 10 wherein f(a,b) = (C1 * a) + (C2 * b) is chosen for the function so that the speech frame is removed if (C1 * ESNR) + (C2 * PBER) > T where C1 and C2 are constants and the function is a linear combination of variables ESNR and PBER. A method according to claim 10, wherein the function is implemented in the form of a table so that the ESNR and PBER are indexed variables of the table. A method according to any one of claims 10 to 13, wherein function f and threshold limit T are made adaptive. A method according to claim 10, wherein the threshold value is calculated BFI_LIM = (SNR_VAR) - C1) * C2 + C3 where SNR_VAR is a variance of the values of the ESNR-vectors the obtained result BFI_LIM is limited in the following way C4 ≤ BFI_LIM ≤ C5 so that the speech frame is removed if PBER > BFI_LIM where C1, C2, C3, C4 and C5 are constants defined by simulation.

Inventors: HEIKKILA ILKKA, JOKINEN HARRI, RANTA JUKKA, HEIKKILA, ILKKA, JOKINEN, HARRI, RANTA, JUKKA
Applicants: NOKIA CORP, NOKIA CORPORATION
Application year: 1994
Main classification: H04L1
IPC codes: H04B15, H04B7, H04L1