INTRA-ROW PERMUTATION FOR TURBOCODE

Abstract: An interleaver in which a frame of data to be interleaved is stored in at least a portion of an array having R rows and C columns, the portion having Nr<(1)> rows and Nc<(1)> columns that satisfy the inequality Nr<(1)> x Nc<(1-1)> < L < Nr<(1)> x Nc<(1)> where Nc<(1)> is a prime number and Nc<(1-1)> is the highest prime number less than Nc<(1)>. The elements of each row are permuted according to a predetermined mathematical relationship, and the rows are permuted according to predetermined mapping.

Description: INTRA-RO PERMUTATION FOR TURBOCODE FIELD OF THE INVENTION This invention relates generally to communication systems and, more particularly to interleavers for performing code modulation. BACKGROUND OF THE INVENTION Techniques for encoding communication channels, known as coded modulation, have been found to improve the bit error rate (BER) of electronic communication systems such as modem and wireless communication systems. Turbo coded modulation has proven to be a practical, power-efficient, and bandwidth- efficient modulation method for " random-error" channels characterized by additive white Gaussian noise (AWGN) or fading. These random-error channels can be found, for example, in the code division multiple access (CDMA) environment . Since the capacity of a CDMA environment is dependent upon the operating signal to noise ratio, improved performance translates into higher capacity. An aspect of turbo coders which makes them so effective is an interleaver which permutes the original received or transmitted data frame before it is input to a second encoder. The permuting is accomplished by randomizing portions of the signal based upon one or more randomizing algorithms. Combining the permuted data frames with the original data frames has been shown to achieve low BERs in AWGN and fading channels. The interleaving process increases the diversity in the data such that if the modulated symbol is distorted in transmission the error may be recoverable with the use of error correcting algorithms in the decoder. A conventional interleaver collects, or frames, the signal points to be transmitted into an array, where the array is sequentially filled up row by row. After a predefined number of signal points have been framed, the interleaver is emptied by sequentially reading out the array column by column for transmission. As a result, signal points in the same row of the array that were near each other in the original signal point flow are separated by a number of signal points equal to the number of rows in the array. Ideally, the number of columns and rows would be picked such that interdependent signal points, after transmission, would be separated by more than the expected length of an error burst for the channel. Non-uniform interleaving achieves "maximum scattering" of data and "maximum disorder" of the output sequence. Thus the redundancy introduced by the two convolutional encoders is more equally spread in the output sequence of the turbo encoder. The minimum distance is increased to much higher values than for uniform interleaving. A persistent problem for non-uniform interleaving is how to practically implement the interleaving while achieving sufficient "non-uniformity, " and minimizing delay compensations which limit the use for applications with real-time requirements. Finding an effective interleaver is a current topic in the third generation CDMA standard activities. It has been determined and generally agreed that, as the frame size approaches infinity, the most effective interleaver is the random interleaver. However, for finite frame sizes, the decision as to the most effective interleaver is still open for discussion. Decreasing the amount of memory space (RAM or ROM) needed to store the information required to carry out an interleaving scheme is also a subject of current discussion. Accordingly there exists a need for systems and methods of interleaving codes that improve non-uniformity for finite frame sizes. There also exists a need for such systems and methods of interleaving codes which are relatively simple to implement, including having relatively low memory space requirements. It is thus an object of the present invention to provide systems and methods of interleaving codes that improve non- uniformity for finite frame sizes. It is also an object of the present invention to provide systems and methods of interleaving codes which are relatively simple to implement and which have relatively low memory space requirements . These and other objects of the invention will become apparent to those skilled in the art from the following description thereof. SUMMARY OF THE INVENTION The foregoing objects, and others, may be accomplished by the present invention, which includes an interleaver for interleaving these data frames. The interleaver includes a storage area containing an array large enough to store the largest expected data frame. A frame of size L elements to be interleaved is stored in N r rows and N c α) columns of the array, where N, αι is a predetermined integer and N c (1) is a prime number which satisfy the inequality N r αι x N e ' 1"11 < L < N r αι x N c (1) where N-.' 1"1 ' is the highest prime number less than N c (1) . The elements of each row are permuted according to a predetermined mathematical relationship, and the rows are permuted according to predetermined mapping. BRIEF DESCRIPTION OF THE DRAWINGS The invention will be more clearly understood by reference to the following detailed description of an exemplary embodiment in conjunction with the accompanying drawings, in which: Fig. 1 depicts a fast modulo computing embodiment according to the present invention; and Fig. 2 depicts the structure of an interleaver according to the present invention. DETAILED DESCRIPTION OF THE INVENTION The present invention finds embodiment as a turbo encoder in a CDMA radio communication system. A stream of bits to be transmitted is divided into a series of frames, each frame including a number L of elements, each element being at least one bit . Each frame is to be interleaved prior to transmission. If there are a large number of possible frame sizes L, specifying an interleaver for each possible frame size results in a necessity for storing a large number of parameters. The invention reduces the number of parameters that must be stored by providing a reduced number of prototype interleavers (or mother interleavers) , each for a one of a subset of frame sizes, selecting one of the mother interleavers at least large enough to interleave a current frame of size L, and puncturing the interleaved frame to a size of L bits. The maximum size of an array for storing a frame to be interleaved is N r rows x N c columns. For a given frame size L, a mother interleaver is chosen having an array of size of N r αι rows x N c (1) columns, such that : N r (1) x N^ 1'1' < L < N r x N c (1) and after interleaving the array is punctured to size L. While it is possible to design a good mother interleaver with exact dimensions N r lli x N c (1) , the performance of an interleaver for a frame size punctured from the mother interleaver ' s size cannot, under any conventional systems, be guaranteed. The invention provides an interleaver which can adapt to arbitrary frame size by providing a scheme for proper selection (optimization) of parameters N r (1! 1 = 1, 2, ... R (max. no. of rows) N c αι 1 = 1, 2, ... C (max. no. of columns) In one embodiment of the invention, a fixed value is selected for the number of rows N,, and the number of columns N c ll) is selected from a set of prime numbers (non-uniform grid), i . ; e. N c αι = PI . . (In an alternative embodiment of the invention a uniform grid is employed, such as P x = 1 x delta.) The core of the interleaving procedure employing the present invention generally comprises : i) Writing the frame elements into the N r ll) x N c ) working array row by row; ii) Permuting the columns i of each row j according to C j .i) = [c-i x C j d-Dlmod P 1 j = 1,2,...R i = 1,2 C iii) Permuting the rows according to a predetermined mapping; and iv) Reading out the frame elements column by column. The intra-row permutation (item ii) is based on a complete residual system of modulo Ε> 1 . That is, α- is selected from all possible exponential congruent roots of P x : α, = {α,, α 2; ... α φ } The intra-row permutation uses a special root called the primitive root „ of prime P x to construct the set of roots 3 by using a reduced residual system as: 3 = {α 11! , α p p(2) , ... /' R> } It should be noted that α- is a subset of α.. The advantage of using this special reduced system is to add additional constraints on the intra-row permutation roots to simplify the search computing for the parameter optimization. For an embodiment of the invention, a set of prime numbers is chosen: {p(D , p(2) , ... p(R) } under the condition that gcd (p(i) ,P,-1} = 1 (gcd connotes "greatest common denominator"). In such a case : c : (i) = [α P Fli; x Ci(i-l)]mod P : is equivalent to a decimated sampling (with rate sampling ratio p(l)) of the complete residual system generated by the primitive root. Therefore, the intra-row permutation may be accomplished as: a) permuting the first row using the primitive root α p of P 1: c. (i) = [ p p(1) x c, (i-l)]mod P . and b) permuting the rest of the rows using the cyclic shift by p(j) of the first -row permutation: c-(i) = c,([i x p(j))] mod P. ) . This is equivalent to the cyclic group c : (i) = [α- p(:) c-(i-l)]mod p.) where j = 2, 3 , ...R i = 1,2, ...C. In this case, the intra-row permutation rule is a deterministic one. The interleaver optimization is performed by searching a set of primes for cyclic shift of the primitive complete residual system. For example, if R=20 (i.e., a matrix with 20 rows and P : columns) a prime set might be chosen as p(l)={7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83} [Example 1] For each prime (column number) such a set is chosen. To cover a range of frame sizes from 320 bits to 8192 bits, at least 75 mother interleavers are provided. The column dimensions used for each are listed in Table 1 together with associated primitive roots. Seventy-six primes are listen in Table 1 in order to provide a value for the lowest N 1"1 ' . A B 3 2 21 97 21 193 21 307 21 7 3 21 101 2 21 197 2 21 311 17 4 9 2 21 103 5 21 199 3 21 313 10 21 3 5 21 107 2 9 211 2 21 317 2 15 9 2 21 109 6 21 223 3 5 331 3 21 31 3 21 113 3 21 227 2 21 337 10 21 37 2 21 127 3 21 229 6 1 347 2 21 41 6 21 131 2 21 233 3 3 349 2 3 43 3 21 137 3 21 239 7 21 353 3 21 47 5 2 139 2 2 241 7 21 359 7 21 53 2 21 149 2 5 251 6 21 367 6 11 59 2 3 151 6 21 257 3 21 373 2 4 61 2 21 157 5 21 263 5 21 379 2 21 67 2 21 163 2 21 269 2 12 383 5 21 71 7 21 167 5 16 271 6 21 389 2 18 73 5 21 173 2 7 277 5 2 397 5 21 79 3 21 179 2 17 281 3 21 401 3 21 83 2 6 181 2 21 283 3 8 409 21 21 89 3 21 191 19 1 293 2 14 419 2 1 (A ιe number N-' 1 '; B = primitive roc C = puncture) Table 1 In a practice of the present invention, the storage requirement for the set of primitive roots is reduced by using a set of twenty-one consecutive primes (in the present example (Example 1) , adding the prime 89 to the exemplary twenty primes p(l) given above) . There is then at most one number that does not satisfy gcd {p(i) ,P x -l} = 1. In a case where such a number occurs, it is punctured from p(l) set. In a case where all primes in p(l) satisfy such a condition, the last (twenty- first) prime (89 in the current example (Example 1)) is punctured. Thus, for each prime given in Table 1 (column A) , there is also given the primitive root (column B) and the position which should be punctured (column C) . The memory requirement for the data given in Table 1 is: Prime Numbers: 589 bits Primitive Roots: 159 bits Puncture Pattern: 322 bits Prime Set p(l) : 120 bits Total: 1190 bits or 149 bytes. A practice of the invention based on fast modulo computing will now be described: Any prime number P can be described by the condition: P = 2 K - 1. Given any number x < P, the following decomposition applies: x = m x 2 + c = m x (2 - 1) + lm + c = m x p + lm + c Therefore : [xjmod P = [lm + c]mod P [Eq. 1] and the modulo value can be computed in such a recursive fashion. (In the special case that 1 = 1, only a single iteration is required.) Since α < P, and thus αx (k) < P : , a multiplier may be employed that is 2k bits in width. Also: log 2 [m] < k and log 2 [c] < k. The modulo P value can be computed according to Eq. 1 by multiplying a k-bit LSB with 1 and then adding a k-bit MSB. If the sum is more than k bits wide, Eq. 1 must be reinvoked, i.e.: [lm + cJmodP = [m 1 + c'] mod P = m 1 + c' . In the extreme case : m = {ill...1}, blts and C = {ill...1},. blts , and thus m' = {l}ι and {111.. -10} k D1 .. s Hence, log 2 [c 1 = m 1 ] < k. An embodiment of the modulo P calculation presented here is depicted in Fig. 1. An overall embodiment of the interleaver presented here is depicted in Fig. 2. The interleaver parameters are to be selected according to the given intra-row congruential rule. It is known that once the recursive convolutional code (RCC) constituent code is determined, error performance is characterized by the input and output weight of error events of the constituent decoders. (The input weight is the number of bit errors.) It is known that the performance of Turbo codes at high SNR is dictated by output error events with input weight 2. The effective free distance is the minimum output weight of all error events of input weight 2. A key to optimizing the interleaver parameters is to identify parameter sets which minimize low- weight error events, with the patterns shown in Table 3 as criteria. Weight-2 Weight-3 Weight-4 : L+D 1 1+D : +D : 1+Ei D'+D * len i len. i. j len. i, j ,k 8 7 4 2,3 7 1,3,6 15 14 6 1.5 10 1,4,9 22 21 7 4,6 5 1,2,4 29 28 9 5,8 11 1,6,10 10 3,9 9 1,7,8 11 2,10 12 1,2,11 11 9,10 9 2,4,8 12 6,11 7 2,5,6 13 1,12 10 2,7,9 13 8,12 6 3,4,5 14 4,13 11 3,7,10 14 11, 13 10 4,8,9 16 5,15 12 4,7,11 16 12, 15 12 5,10,11 12 8,9,11 Table 2 For example, if an input pattern has weight-2 (e.g., two 1 bits with six 0's between them, then according to the Weight-2 column of Table 3 a set of interleaver parameters is sought that produce an output with 1 bits in the zero'th (initial) and seventh, fourteenth, twenty-first, or twenty- eight positions (according to length) with six, thirteen, twenty, or twenty-seven 0 bits, respectively, between the two one bits. This may be expressed as verifying 1 bits in zero'th and i ' th positions. In similar application of this "low-weight filtering technique", weight-3 streams are checked for 1 bits in the zero'th, i'th, and j ' th positions. Weight-4 streams are checked for 1 bits in the zero'th i'th, j'th, and k ' th positions . Although the embodiment described above is a turbo encoder such as is found in a CDMA system, those skilled in the art realize that the practice of the invention is not limited thereto and that the invention may be practiced for any type of interleaving and de-interleaving in any communication system. It will thus be seen that the invention efficiently attains the objects set forth above, among those made apparent from the preceding description. In particular, the invention provides improved apparatus and methods of interleaving codes of finite length while minimizing the complexity of the implementation and the amount of storage space required for parameter storage. It will be understood that changes may be made in the above construction and in the foregoing sequences of operation without departing from the scope of the invention. It is accordingly intended that all matter contained in the above description or shown in the accompanying drawings be interpreted as illustrative rather than in a limiting sense. It is also to be understood that the following claims are intended to cover all of the generic and specific features of the invention as described herein, and all statements of the scope of the invention which, as a matter of language, might be said to fall therebetween. Having described the invention, what is claimed as new and secured by Letters Patent is:

Claims: 1. A method of interleaving elements of frames of data, the method comprising: providing a storage array c of R rows and C columns, where R and C are positive integers; storing a frame of data comprising a plurality L of elements in a working array within the storage array c, the working array having N, 111 rows and N αι columns, where: N r ' is a positive integer no greater than R; N c α) is a prime number no greater than C; and N r x N c 11"1 ' << LL << NN rr ' xx NN, c ( 1 ) where N c ( 1- " 1 ) is r. ♦t- Vhiae highest prime ln-iu . i mmbiea vr* l Iess +t- Vhia -- -nr> ΛNT ( ( ! ) and permuting the elements of each row of the storage array c according to a predetermined mathematical relationship. 2. The method according to claim 1 wherein the predetermined mathematical relationship for permuting the elements of each row of the storage array c is: C j = [α 3 x C j d-Djmod P, where: j = 1, 2, ... R; i = 1, 2, ... C; P is a set of contiguous prime numbers; Pj . is equal to N.' 11 ; and α- is selected from exponential congruent roots of P x . 3. The method according to claim 2 further comprising permuting the rows of the storage array c according to predetermined mapping. 4. The method according to claim 3 further comprising storing said frame of data in row-by-row order, and reading out said frame of data after permutation in column-by-column order. 5. The method according to claim 2 wherein the values of - are selected from exponential congruent roots of P 2 according to α : = {α p p(1> , α p p,2 \ ... α Φ p(R> } where : α p is the primitive root of P lf - and 6. The method according to claim 2 wherein the values of α, are selected from among j+1 values by eliminating a value for which gcd {p(i), Pi-l} is not equal to 1. 7. The method according to claim 2 wherein: the values of α- are selected from among values found to produce minimum bit errors with low-weight input data. 8. The method according to claim 2, wherein the values of α- associated with each value of N c (1) are precomputed and stored. 9. An interleaver for interleaving elements of frames of data, the interleaver comprising: a memory containing at least a storage array c of R rows and C columns, where R and C are positive integers; a memory read-write circuit storing a frame of data comprising a plurality L of elements in a working array within the storage array c, the working array having N r (1) rows and N c αι columns , where : N r (1> is a positive integer no greater than R; N c (1 ' is a prime number no greater than C; and N r α) x N c (1"1! < L < N r (1> x N c (1, ; where N c (1~:> is the highest prime number less than N-' 1 ', and an ALU adapted to permute the elements of each row of the storage array c according to a predetermined mathematical relationship. 10. The interleaver according to claim 9 wherein the ALU is adapted to permute the elements of each row of the storage array c according to : C j = [ - x C (i-l) ] mod P x where : j = 1, 2, ... R; i = 1, 2, ... C; P is a set of contiguous prime numbers; P x is equal to N c (1> ; and α 3 is selected from exponential congruent roots of P x . 11. The interleaver according to claim 10 wherein the ALU permutes the rows of the storage array c according to predetermined mapping. 12. The interleaver according to claim 11 wherein the memory read-write circuit stores said frame of data in row-by-row order, and reads out said frame of data after permutation in column-by-column order. 13. The interleaver according to claim 10 wherein the ALU selects the values of α, from exponential congruent roots of P x according to a, = { p p<1) , p p(2 », ... α φ p(R) } where: p is the primitive root of P lf - and gcd {p(i) , P,-l} = 1. 14. The interleaver according to claim 10 wherein the ALU selects the values of , from among j+1 values by eliminating a value for which gcd {p(i), P1 . -1} is not equal to 1. 15. An interleaver for interleaving elements of frames of data, the interleaver comprising: memory means containing at least a storage array c of R rows and C columns, where R and C are positive integers; memory read-write means for storing a frame of data comprising a plurality L of elements in a working array within the storage array c, the working array having N r (1) rows and N c (1) columns , where : N r αι is a positive integer no greater than R; N c α) is a prime number no greater than C; and 111 X N 11 - 1 ' < L < N,' 1 ' x N, (1) where N c (1-1) i rs, 4t-h1-.e--. Vhii-g--rhieΛsi-i +t- ■p»--r--i•»me number l * 1es*-.s- +t-ha-.Tn-. TNO" c and logic means for permuting the elements of each row of the storage array c according to a predetermined mathematical relationship . 16. The interleaver according to claim 15 wherein the logic means is permutes the elements of each row of the storage array c according to: c 3 = [ - x c-(i-l)]mod P : where : j = 1, 2, ... R; i = 1 , 2 , ... C; P is a set of contiguous prime numbers; P x is equal to N c (1) ; and : is selected from exponential congruent roots of P ^ . 17. The interleaver according to claim 16 wherein the logic means permutes the rows of the storage array c according to predetermined mapping. 18. The interleaver according to claim 17 wherein the memory read-write means stores said frame of data in row-by-row order, and reads out said frame of data after permutation in column-by-column order. 19. The interleaver according to claim 16 wherein the logic means selects the values of c^ from exponential congruent roots of Pj . according to - = {α p pll) , α p p(2> , ... α φ p(R) } where : α p is the primitive root of P x ; and 20. The interleaver according to claim 16 wherein the logic means selects the values of α- from among j+1 values by eliminating a value for which gcd {p(i), P x -l} is not equal to 1.

Inventors: LI BIN, TONG WEN, LI, BIN, TONG, WEN
Applicants: NORTEL NETWORKS LTD, NORTEL NETWORKS LIMITED
Application year: 2000
Main classification: H03M13
IPC codes: G06F11, H03M13, H04L1