SCALING OF DEMODULATED DATA IN AN INTERLEAVER MEMORY

Abstract: In a method of demodulating and decoding an encoded interleaved signal, a received encoded interleaved signal is demodulated, thereby producing soft-decision demodulated output words. Thereafter, the soft-decision demodulated output words are de-interleaved and scaled, thereby producing de-interleaved and scaled words. The scaling is performed for a plurality of successively demodulated output words at a time, thereby applying a scale factor that is substantially constant over the entire span of an interleaving frame. The de-interleaved and scaled words are word-length-reduced words. Finally, the de-interleaved and scaled words are decoded.

Description: Scaling of demodulated data in an interleaver memory The present invention relates to a method of demodulating and decoding a received encoded interleaved signal, more particularly to de-interleaving and scaling of soft- decision demodulated output words. Such a method is particularly useful in a receiver that receives such encoded interleaved signal through a strongly fading channel. The channel can be a wireless channel carrying communication signals or broadcast signals, but also a non- wireless channel exhibiting fading of signals. The method can be used in modems, cell phone systems, digital audio broadcasting systems, digital television systems, or any other system where interleaving of source code bits is done to overcome channel shortcomings. In the US Patent No. 5,241,563, demodulation, de-interleaving and decoding of a convolutional encoded interleaved received signal is disclosed. Interleaving digital data before transmission and de-interleaving the data after reception causes bursts of channel errors to be spread out in time, and, as described, is particularly useful for strongly fading channels, or when signals arrive as multipath signals over two or more paths of different lengths. For decoding such received signals, various techniques are known, one such technique being the well-known Viterbi algorithm, which uses the trellis structure of a convolutional code. For any convolutional code, the output of the Viterbi decoder is a sequence of estimated information digits which is maximum likelihood conditioned upon the received sequence. As disclosed in the US Patent No. 6,125,136, convolutional codes involve memory, an output code of a convolutional encoder being a sequence of n bits generated for every input of k source digits, a ratio k/n being the code rate. For convolutional codes, the optimum decoding process amounts to finding the single path through the code trellis that most nearly represents the demodulated bit sequence. The transmitted code digits correspond to a specific path through the trellis. The receiver determines the most likely path that corresponds to the received sequence and then uses this path to specify the decoded data sequence that would have generated the path. As described in US 6,125,136, a system that uses such trellis coded signals is a direct sequence spread spectrum communication system, e.g. a CDMA system that has been adopted as a standard in North America. In such CDMA systems signals are received that are transmitted on strongly fading channels, typically as a multi-path received signal. In such CDMA systems, one type of receiver that is used is the well-known so-called rake receiver that ratio combines rays of a multi-path received signal. The rake receiver, or any other type of suitable receiver, produces soft-decision demodulated output words that, after de-interleaving, are provided to a Viterbi decoder so as to obtain decoded data. Furthermore, soft decision scaling and quantization methods in digital receivers are known that reduce the amount of memory and the complexity of the arithmetic in the receiver, as part of the Viterbi forward error correction algorithm. In order to do that, an estimate of the signal power is used to apply appropriate scaling and so bits can be discarded without excessive overflow (clipping) or underflow (accidental insertion of erasures). Known methods of scaling include application of a fixed scaling factor, and buffering of an entire frame of data and mapping the mean to a chosen point within the dynamic range of the word size or length of the soft-decision demodulated output words. Application of a fixed scaling factor is prone to loss of information due to underflow and overflow. Mapping the mean to a chosen point is extremely memory intensive. The handbook "Mobile Radio Communications", R. Steele, Pentech Press Limited, London, 1992, reprinted 1994, in Chapter 4, pp. 347-398 describes channel coding, interleaving techniques, convolutional codes and the Viterbi algorithm. More particularly, on pages 350-353 block de-interleaving is described that uses a de-interleaving memory. In one block de-interleaver, at the receiver, the de-interleaver feeds the de-interleaving memory in one column at a time until the de-interleaving memory is filled and removes the symbols a row at a time, the inverse permutation of the interleaving memory at the side of the transmitter. In another block de-interleaver, the symbols are written a row at a time. In the one block interleaver/de-interleaver, interleaving adds considerable delay. In the other block interleaver/de-interleaver, the interleaver delay is negligible, end-to-end delay mainly being due to the de-interleaver. It is an object of the invention to provide a method of demodulating and decoding an encoded interleaved signal that achieves optimal adaptation of decoding to demodulation. It is another object of the invention to provide such a method wherein scaling of soft-decision demodulated output words and de-interleaving is done with reduced memory usage. It is still another object of the invention to provide such a method in which such scaling is done taking into account input word and processing needs of the decoder. In accordance with the invention, a method of demodulating and decoding an encoded interleaved signal is provided, said method comprising: demodulating a received encoded interleaved signal thereby producing soft- decision demodulated output words; de-interleaving and scaling said soft-decision demodulated output words thereby producing de-interleaved and scaled words, said scaling being performed for a plurality of successively demodulated output words at a time, thereby applying scaling factors that have substantially the same value for adjacent demodulated output words of said plurality of successively demodulated output words, said de-interleaved and scaled words being word-length-reduced words; and decoding said de-interleaved and scaled words. In an advantageous embodiment, a de-interleaving memory is filled with the word-length-reduced soft-decision demodulated output words. hile the de-interleaving memory is being filled, overflow or underflow of the word-length-reduced words is checked and a scaling factor is adjusted accordingly. In case of underflow, the scaling factor is increased. In case of overflow, the scaling factor is decreased. Advantageously, memory locations where scale factors were changed during the filling of the interleaving memory are recorded, along with the modified scaling factor applied, and, after filling of the interleaving memory, through in-place normalization of the entire interleaving memory a uniform scaling is determined. Such a normalization in-place, that avoids using additional memory, is particularly advantageous when decoding is done using a Viterbi algorithm. It also avoids using information from a previous frame to adjust the scale factor of the current frame which may lead to accidental erasures or overflow conditions. The use of a uniform scaling factor is important because the Viterbi algorithm performs better when receiving properly scaled successive input words, i.e., where the scaling of soft decisions is at least uniform over the length of the employed traceback memory. The reordering of bits in the deinterleaver widens the scope of this constraint such that a safe policy is to keep the scale factor uniform over the entire interleaving frame. Once the de-interleaver memory has been filled and uniform scaling has been applied, a de-interleaving operation is performed. Such a de-interleaving operation is known per se. In an alternative embodiment, the scaling is done in a de-interleaving memory and determination of the scaling factors is done through digital low pass filtering while writing the plurality of successively demodulated and word-length-reduced output words into the de-interleaving memory. In such a scheme, the output of the low pass filter is subject to a sample and hold block so that the scale factor is only allowed to change at the boundary of interleaver frames. In case the receiver is a spread spectrum CDMA receiver for use in a wireless communication system, preferably the receiver has a demodulator of a type that combines rays in a multi-path received signal using Maximum Ratio Combining. Such a demodulator can be a rake receiver, or any other suitable ratio combining demodulator. In case of maximum likelihood decoding such as Viterbi decoding, the demodulator should preferably provide soft-decision demodulated output words that are log- likelihood ratios. With log-likelihood ratio input, the Viterbi algorithm only needs to perform summing operations such as the summing of path metrics in the trellis. Herewith it is avoided that the Viterbi algorithm needs to perform multiplication operations. Such multiplication operations demand more processing capacity and are more memory intensive that summing operations. The Viterbi decoder expects convolutional encoded input words. Fig. 1 schematically shows a system with a transmitter, a channel, and a receiver. Fig. 2 shows a block diagram of a transmitter. Fig. 3 shows a receiver according to the invention. Fig. 4 is a flowchart illustrating a first embodiment of determining scale factors according to the invention. Fig. 5 shows a second embodiment of determining scale factors according to the invention. Throughout the figures the same reference numerals are used for the same features. Figure 1 schematically shows a system 1 with a transmitter 2, a channel 3, and a receiver 4. The channel is a bursty error channel. In the transmitter 2, encoding and interleaving is applied. In the receiver 4, de-interleaving and decoding is applied. Interleaving is a process of rearranging the ordering of a sequence of binary or non-binary symbols in some unique one-to-one deterministic manner. The reverse of this process is the de- interleaving which is to the sequence of its original ordering. In one example, the system is a cellular radio system such as a North American standardized CDMA system. The system may be any wireless or wired system in which interleaving is applied to overcome the bursty error character of the channel. Figure 2 shows a block diagram of the transmitter 2. In the transmitter 2, a data source 20 provides data to an encoder 21. After interleaving of encoded data in an interleaver 22, a modulator 23 transmits a modulated encoded interleaved signal to the receiver 4 via the channel 3. The encoder 21 may provide a convolutional code. The receiver 4 may apply convolutional decoding, through a Viterbi algorithm, for instance. Figure 3 shows a mixed hardware/software block diagram of the receiver according 4 to the invention. For performing software functions, such a receiver has a processor with ROM and RAM (not shown in detail here), as will be readily recognized in the art. The receiver 4 has a demodulator 30 that produces soft-decision demodulated output words of N bits, N being an integer. The receiver 4 further has a de-interleaving memory 31 that is filled with a plurality of successively demodulated output words at a time, until it is full. The demodulated output words are written in successive columns of the de-interleaving memory 31. Upon completion of writing and scaling, a de-interleaving operation is performed and de-interleaved scaled input words are provided, a row at a time, to a decoder 32, in the example given a Viterbi decoder. The demodulator 30 may include a rake receiver that provides maximum likelihood ratios. The de-interleaver, formed by the de-interleaving memory 31 and a processor, may have any other suitable hardware and/or software structure. Upon writing of the soft-decision demodulated output words into the de-interleaving memory 31, the word length of the words is reduced from N to M bits, in operation 32 where the most significant bits are taken from the N bit words. This is because the Viterbi algorithm does not need N bit accuracy, and to save memory. In block 33, from the M bit reduced words, a new scale factor is determined for each of the soft-decision demodulated output words being written into the de-interleaving memory 31, and the new scale factor is stored in block 34. Figure 4 is a flowchart illustrating a first embodiment of determining scale factors according to the invention. First, scale factors are determined for each reduced word being written into the de-interleaving memory 31. Shown is determination of a new scale factor for the i-th soft-decision, i being a irtinning variable spanning the entire de-interleaving memory 31. An initial scale factor SF may be determined from previous frames or may be an initial guess or otherwise. The process starts in block 40. In block 41 it is checked whether an overflow situation exits, overflow being monitored by an overflow counter Ov. In case of overflow, the overflow counter Ov is incremented, indicated by Ov++, in block 42. In block 43 it is checked whether an underflow simation exits, underflow being monitored by an underflow counter Uf. In case of overflow, the underflow counter Uf is incremented, indicated by Uf++, in block 44. If no overflow or underflow situation exits, there is no need to adapt the scale factor SF. In block 45, it is checked whether the overflow counter Ov exceeds a given threshold max_Ov. If so, in block 46, a new scale factor is determined as SF=SF*0J, the overflow counter Ov is reset, Ov=0, the index i for which overflow occurred is recorded in an array SF_indexes [j], j being an array index, as SF_indexes[j]=i, and the corresponding newly determined scaling factor SF is recorded in an array SF_values[j++], j++ being an array index, as SF_values£j++]=SF. Multiplication factor 0.7 coresponds to a 3 dB decrease. Other reduction factors may be applied. Similarly, in block 47, it is checked whether the underflow counter Uf exceeds a given threshold max Uf, and, if so, the scaling factor SF is increased to SF=SF*1.4, Uf=0, SF_indexes[j]=i, and SF_values[j++]=SF. Thereafter, in block 49, new scale factor SF is applied for index i. For a persisting overflow simation, when receiving a very high level signal that has a clipping effect, the scale factor will be decreased for a succession of words. For, example, for ten successive overflows it might then take twenty words for the scale factor to get back to an earlier, higher, value. Similar holds for a persisting underflow simation. In the embodiment wherein a uniform scaling factor is determined for the entire de-interleaving memory 31, after filling and initial scaling of the entire de-interleaving memory 31 , the information recorded in arrays SF_indexes[j], i.e., locations of adapted scale factors, and SF_values[j-H-], i.e., the correspondingly adapted scale factors is used. Particularly when applying a Viterbi decoder, such clean-up is highly desired. Thus, from the recorded information a good overall scaling factor is determined for the entire de-interleaving memory 31. From the arrays it is known where, i.e., at what indexes i, the scale factor SF had been adapted, and also, from that index i, how many times the adapted scale factor was applied before again being adapted. So, the overall scale factor could be computed as the sum of products of occurrences of given scale factors and the correspondingly recorded scaling factor, divided by the length of the de- interleaving memory 31. After determination of the overall scaling factor, the de-interleaving memory 31 is re-written, for each position where an adapted scaling factor was applied, thereby re-scaling a stored reduced word with a normalized scaling factor, the determined overall scaling factor divided by the previously applied scaling factor. Figure 5 shows a second embodiment of determining scale factors according to the invention. To determine new scaling factors, full length words of length N are subject to an absolute value operation 60 (|.|) and then applied to a digital low pass filter 61. In block 62, output words of the digital low pass filter 61 are subjected to a reciprocal operation of the absolute value operation. The digital low pass filter 61 can be a first order IIR-filter (Infinite Impulse Response), operating on substantially an entire interleaving frame of soft bits. In this case, a sample and hold block 63 must be used to prevent the applied scale factor from changing during an interleaving frame. Alternatively, it can be a sum and dump operation operating over the entire length of an interleaving frame. In either case, this results in amplitude data from one frame being used to derive a scaling factor for the next frame. In view of the foregoing it will be evident to a person skilled in the art that various modifications may be made within the spirit and the scope of the invention as hereinafter defined by the appended claims and that the invention is thus not limited to the examples provided. The word "comprising" does not exclude the presence of other elements or steps than those listed in a claim.

Claims: CLAIMS: 1. A method of demodulating and decoding an encoded interleaved signal, said method comprising: demodulating (30) a received encoded interleaved signal thereby producing soft-decision demodulated output words (N); de-interleaving and scaling (31) said soft-decision demodulated output words (N) thereby producing de-interleaved and scaled words, said scaling being performed for a plurality of successively demodulated output words at a time, thereby applying scaling factors (SF) that have substantially the same value for adjacent demodulated output words of said plurality of successively demodulated output words, said de-interleaved and scaled words being word-length-reduced words (M); and decoding (32) said de-interleaved and scaled words. 2. A method as claimed in Claim 1, thereby first applying intermediate scaling factors (SF) to said plurality of successively demodulated output words (N), and then determining said scaling factors from said intermediate scaling factors such that said adjacent demodulated output words have said substantially same scale factor applied. 3. A method as claimed in Claim 2, wherein said determining of said scaling factors from said intermediate scaling factors achieves a uniform scaling factor for said plurality of successively demodulated output words (N). 4. ; A method as claimed in Claim 2, therein performing said scaling in a de- interleaving memory (31), said application of said intermediate scaling factors being done while writing said plurality of successively demodulated output words into said de- interleaving memory, and said determining of said scaling factors from said intermediate scaling factors being done in-place in said de-interleaving memory. 5. A method as claimed in Claim 1, therein performing said scaling in a de- interleaving memory (31) and determining said scaling factors (SF) through digital low pass filtering (61) while writing said plurality of successively demodulated output words into said de-interleaving memory (31). 6. A receiver (4) for receiving an encoded interleaved signal, said receiver (4) comprising: a demodulator (30) for demodulating said received encoded interleaved signal, said demodulator (30) producing soft-decision demodulated output words (N); a de-interleaving and scaling memory (31) for de-interleaving and scaling of said soft-decision demodulated output words, said receiver (4) being configured to produce de-interleaved and scaled words in said de-interleaving and scaling memory (31) for a plurality of successively demodulated output words at a time, thereby applying scaling factors (SF) that have substantially the same value for adjacent demodulated output words of said plurality of successively demodulated output words (N), said de-interleaved and scaled words being word-length-reduced words (M); and a decoder (32) for decoding said de-interleaved and scaled words. 7. A receiver (4) as claimed in Claim 6, said receiver (4) further being configured to first apply intermediate scaling factors (SF) to said plurality of successively demodulated output words (N), and then determine said scaling factors from said intermediate scaling factors such that said adjacent demodulated output words have said substantially same scale factor applied. 8. A receiver (4) as claimed in Claim 6, said receiver (4) being configured to apply said intermediate scaling factors (SF) while writing said plurality of successively demodulated output words into said de-interleaving memory (31), and to do said determination of said scaling factors from said intermediate scaling factors in-place in said de-interleaving and scaling memory (31). 9. A receiver (4) as claimed in Claim 1, said receiver (4) being configured to increase a previously determined intermediate scaling factor (SF) for a current demodulated output word if said current demodulated output word exhibits a predetermined number of underflows. 10. A receiver (4) as claimed in Claim 7, said receiver (4) being configured to decrease a previously determined intermediate scaling factor (SF) for a current demodulated output word if said current demodulated output word exhibits a predetermined number of overflows. 11. A receiver (4) as claimed in Claim 7, said receiver (4) being configured to achieve a uniform scaling factor for said plurality of successively demodulated output words when determining of said scaling factors from said intermediate scaling factors. 12. A receiver (4) as claimed in Claim 6, further comprising a digital low pass filter (61), said receiver (4) being configured to determine said scaling factors (SF) through digital low pass filtering of said soft-decision demodulated output words (N) with said digital low pass filter (61) while writing said plurality of successively demodulated output words into said de-interleaving memory (31). 13. A receiver (4) as claimed in Claim 6, wherein said demodulator (30) is a rake receiver. ' 14. A receiver (4) as claimed in Claim 6, wherein said decoder is a Viterbi- decoder (32).

Inventors: RAZZELL CHARLES, RAZZELL, CHARLES
Applicants: KONINKL PHILIPS ELECTRONICS NV, KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application year: 2001
Main classification: H03M13
IPC codes: H03M13, H04B1, H04L1