INTERLEAVING / DEINTERLEAVING DEVICE AND METHOD FOR COMMUNICATION SYSTEM

Abstract: A device for sequentially storing input bit symbols of a given interleaver size N in a memory at an address from 1 to N and reading the stored bit symbols from the memory. The device comprises a look-up table for providing a first variable m and a second variable J satisfying the equation N=2<m>xJ; and an address generator for generating a read address depending on the first and second variables m and J provided from the look-up table. The read address is determined by 2<m>(K mod J) + BRO(K/J), where K (0</=K</=(N-1)) denotes a reading sequence and BRO is a function for converting a binary value to a decimal value by bit reversing.

Description: INTERLEAVING/DEINTERLEAVING DEVICE AND METHOD FOR COMMUNICATION SYSTEM BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates generally to a communication system, and in particular, to an interleaving/deinterleaving device and method for a radio communication system. 2. Description of the Related Art Interleaving is typically used in mobile communications to increase the performance of an error correction code in a fading channel, and is intimately associated with decoding of a random error correction code. Particularly, an air interface for an IMT-2000 communication system requires a concrete method for implementing various interleaving techniques. In addition, the methods for interleaving have resulted in an increase in the reliability of digital communication systems, and in particular, have resulted in a performance improvement for existing and future digital communication systems alike. The IMT-2000 standard provisionally recommends using a bit reverse interleaver for a channel interleaver. However, the forward link and the reverse link defined by the IMT-2000 standard have various types of logical channels, and the interleaver has various sizes. Therefore, in order to solve this variety requirement, there is required the increased memory capacity. For example, in a N=3 forward link transmission mode, there is used an interleaver of various sizes from 144 bits/frame to 36864 bits/frame. A brief description of the bit reversal interleaver will be made below. FIG. 1 shows a permutation method of the bit reversal interleaver. Referring to FIG. 1, the bit reversal interleaver rearranges frame bits by exchanging bit positions from the most significant bit (MSB) to the least significant bit (LSB), thereby to generate an interleaving address. This interleaving method has the following advantage. Since the interleaver is implemented using an enumeration function, it is simple to use the memory and it is easy to implement interleavers of various sizes. In addition, the bit positions of the permuted sequence are distributed at random in major locations. However, an interleaver having a size which cannot be expressed in terms of a power of 2 has a reduced memory efficiency. For example, to implement the 36864-bit interleaver, there is required a 64Kbit (65536=2 16 ) memory. Since the value 36864 is higher than 32Kbits (32768= 2 15 ) an additional bit is needed to represent the number. Therefore, 28672 (=65536-36864) bits are unused in the memory, thereby causing a memory loss. In addition, even though the memory has a sufficient capacity, it is very difficult to implement a method for transmitting the symbols. Further, it is also difficult for the receiver to detect an accurate position of the received symbols. Finally, since various types of interleavers are used, it is necessary to store various interleaving rules in memory thereby requiring a controller (CPU) to have a high memory capacity as well. The conventional interleaving method has the following disadvantages. First, in the existing interleaving method, the size of the interleaver cannot be expressed in terms of a power of 2, and the interleaver having the larger size is less memory efficient. That is, in most cases, the size of each logical channel is not expressed in terms of 2 m , therefore the interleaver has a large size when designing an interleaver for the IMT-2000 forward link. Therefore, it is ineffective to use the bit reversal interleaving method. Second, in the existing interleaving method, it is necessary to store various interleaving rules according to the interleaver sizes in the controller (CPU or host) of the transceiver. Therefore, the host memory requires a separate storage in addition to an interleaver buffer. Third, the interleaver/deinterleaver has a complex transmission scheme because invalid address should be removed when the interleaver size is set to 2 m to perform bit reversal interleaving. Further, the interleaver/deinterleaver has difficulty in synchronizing the symbols. SUMMARY OF THE INVENTION It is, therefore, an object of the present invention to provide an interleaving device and method for generating an address for various interleaver sizes using a single algorithm in a communication system. It is another object of the present invention to provide an interleaving device and method for allowing an interleaver memory to use only a capacity corresponding to a frame size N in a communication system. To achieve the above objects, there is provided a device for sequentially storing input bit symbols of a given interleaver size N in a memory at an address from 0 to N-1 and reading the stored bit symbols from the memory. The device comprises a look-up table for providing a first variable m and a second variable J satisfying the equation N=2 m xJ; and an address generator for generating a read address depending on the first and second variables m and J provided from the look-up table. The read address is determined by 2 m (K mod J) + BRO(K/J), where K (0<K≤(N-1)) denotes a reading sequence and BRO is a function for converting a binary value to a decimal value by bit reversing. BRIEF DESCRIPTION OF THE DRAWINGS The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings in which: FIG. 1 is a diagram for explaining a permutation method of a bit reversal interleaver according to the prior art; FIG. 2 is a block diagram of an interleaver according to an embodiment of the present invention; and FIG. 3 is a block diagram of a deinterleaver according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described herein below with reference to the accompanying drawings. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. An interleaver/deinterleaver according to an embodiment of the present invention permutes the sequence of input symbols using an interleaving/deinterleaving algorithm and then stores them in an output buffer in a new sequence. Therefore, the interleaver/deinterleaver proposed by the invention comprises three parts: an interleaver memory (input data buffer and output data buffer), an address generator, and an existing counter. FIG. 2 shows an interleaver according to an embodiment of the present invention. Referring to FIG. 2, an address generator 211 receives an interleaver size value N, a first variable m, a second variable J and a clock, to generate an interleaver memory address for reading bit symbols sequentially stored in an interleaver memory 212. The interleaver memory 212 sequentially stores input bit symbols during a write mode of operation, and outputs the bit symbols according to the address provided from the address generator 211 during a read mode of operation. A counter 213 counts the input clock and provides the clock count value to the interleaver memory 212 as a write address value. As described above, the interleaver sequentially writes the input data during the write mode of operation, and outputs the data stored in the interleaver memory 212 according to the read address generated from the address generator 211. Here, the address generator 211 generates the read address (i.e., interleaving address value) according to a partial bit reversal interleaving algorithm defined by Equation (1) below. [Equation 1] For a given K (0 < K < (N-1)) r = K mod J; PUC = K / J; s = BRO (PUC); ADDRESS READ = r x 2 m +s where 'K' denotes the sequence of output data bits and is referred to as a sequence number; 'm' denotes the number of consecutive zero (0) bits from the LSB to the MSB and is referred as a first variable; and J denotes a value corresponding to a decimal value of the bits except the consecutive zero(0) bits (i.e. m) and is referred to as a second variable. Here, the interleaver size N is defined as 2 m xJ. A description will now be made regarding a method of generating the address for reading the input symbols sequentially written in the memory, with reference to Equation (1). Assume that the size of the interleaver is N. In Equation (1), K (=0,1,2, ••••, N-1) indicates a reading sequence of the input data, and r, PUC, s indicate predetermined variables. Further, 'mod' and 7' indicate each modulo operation and divider operation for calculating the remainder and quotient, respectively. In addition, BRO(H) indicates a bit reversal function for converting 'H' to a binary value and then converting it to a decimal value by reverse ordering the binary value from the MSB to the LSB. Therefore, by using the function of Equation (1), the interleaver may calculate the read sequence index ADDRESS READ corresponding to 'K' of the input data sequence and read the contents of the memory according to the read sequence index ADDRESS_READ. The first and second variables are determined by the interleaver size. Once the interleaver size N and the first and second variables are determined, the interleaver generates, depending on these values, a new addressing index ADDRESS_READ corresponding to each K according to the following algorithm, and reads the data from the interleaver memory 212 using the addressing index ADDRESS_READ. A description will now be made regarding a method for determining the first and second variables from the frame size (or interleaver size) N. A predetermined interleaver size N is expressed as a binary value. Further, the number of consecutive '0' bits which continue from the LSB to the MSB is calculated and then defined as first variable m. Thereafter, the truncated bits other than the consecutive zero bits are assembled and converted to a decimal value. The converted decimal value is defined as the second variable J. For example, when N=576, it can be converted to a binary value of N=[10 0100 0000], so that m=6 and J=(1001) 2 =9. FIG. 3 shows a deinterleaver having a reverse operation of the above interleaver. Referring to FIG. 3, an address generator 311 generates a deinterleaver memory address for performing a write mode of operation by receiving an interleaver size value N, a first variable m, a second variable J and a clock. Address generator 311 provides the generated deinterleaver memory address to a deinterleaver memory 312. The deinterleaver memory 312 stores input data according to the write address provided from the address generator 311 during a write mode of operation, and sequentially outputs the stored data during a read mode of operation. A counter 313 counts the input clock and provides the clock count value to the deinterleaver memory 312 as a read address value. The deinterleaver has the same structure as the interleaver and has the reverse operation of the interleaver. That is, the deinterleaver is different from the interleaver in that input data is stored in the deinterleaver memory 312 using the algorithm of Equation (1) during the write mode of operation, and the data is sequentially read during the read mode of operation. That is, the deinterleaver stores the data in the original sequence during the write mode in order to restore the original sequence of the data transmitted from the transmitter. For convenience, the description below will now be made with reference to the interleaver. The reference will be made to an embodiment which is applied to the IMT-2000 system being a further mobile communication system. First, with reference to Table 1 below, a detailed description will be made regarding the interleaver size used in the forward link of the IMT-2000 system. [Table 1] F-FCH F-FCH F-SCH F-SCH F-CCCH F-SYNC F-PCH F-DCCH (RSI) (RS2) (RSI) (RS2) CH where F-FCH stands for a forward fundamental channel, F-SCH for a forward supplemental channel, F-CCCH for a forward common control channel, F-SYNC CH for a forward sync channel, F-PCH for a forward paging channel, and F-DCCH for a forward dedicated control channel. It is noted from Table 1 that in the IMT-2000 system, there are proposed 12 interleaver sizes (N=12) each applied to the forward logical channels as indicated by '0\ For example, a forward fundamental channel F-FCH (for Rate Set 2) uses 144-bit, 576-bit and 1152-bit interleaver sizes, wherein a 5ms frame is used for the 144-bit interleaver size. Shown in Table 2 below are the first variable m and the second variable J calculated for the interleaver sizes of Table 1. [Table 2] With reference to Table 2, a description will be made regarding a method for calculating the first and second variables for the interleaver size of N=9216. First, the interleaver size 9216 can be expressed as a binary value of N= [10 0100 0000 0000]. For this binary value, the maximum number of consecutive zero (0) bits from the LSB to the MSB is calculated, and then the calculated value is defined as the first variable cπ 5 69 133 197 261 325 389 453 517 16 80 144 208 272 336 400 464 528 48 112 176 240 304 368 432 496 560 32 96 160 224 288 352 416 480 544 64 128 192 256 320 384 448 512 576 In the write mode of operation, the input data bits are sequentially stored in the interleaver memory 212 from an address 000 to an address 574, as shown in Table 3. Next, in the read mode of operation, the data bits are output from the interleaver memory 212 using the read address generated from the address generator 211. For example, which data bit will be a third output data bit (k=2) will be described with reference to Equation (1). First, for N=576, m=6 and J=9. Therefore, r = 2 mod 9 = 2, and PUC = 2 / 9 = 0. In addition, s = BRO(0) = 0. As a result, the finally calculated address ADDRESS_READ = 2x2 6 = 128. In the write mode of the interleaver as shown in Table 4, the output address is expressed by 1 to N. That is, all output addresses are added by 1 , respectively. As described above, the invention has proposed an effective address generating method for various interleaver sizes which cannot be expressed in terms of a power of 2. This solves the low memory efficiency problem of the existing interleaver. In addition, it is possible to generate an address for various interleaver sizes using a single algorithm. Therefore, it is not necessary for the host (or CPU) to store separate interleaving rules for the respective interleaver sizes, thereby saving memory capacity. Furthermore, the interleaver memory uses only the capacity corresponding to the frame size N, thus increasing memory efficiency. While the invention has been shown and described with reference to a certain preferred embodiment thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims: CLAIMS: 1. A method for sequentially storing N input bit symbols in a memory at an address from 1 to N and for reading the stored bit symbols from the memory, comprising the steps of: providing a first variable m and a second variable J satisfying the equation N=2 m xJ; and reading a Kth (0<K≤(N-1)) bit symbol at an address determined by 2 m (K mod J) + BRO(K/J) where BRO is a function for converting a binary value to a decimal value by bit reversing. 2. The method as claimed in claim 1, wherein the first variable m indicates the number of consecutive zero (0) bits from the least significant bit (LSB), when the size N is expressed as a binary value. 3. The method as claimed in claim 1, wherein the second variable J indicates a decimal value corresponding to the truncated bits other than consecutive zero bits from the LSB, when the size N is expressed as a binary value. 4. A method for sequentially storing input bit symbols of a given interleaver size N in a memory at an address from 1 to N and reading the stored bit symbols from the memory, wherein a bit symbol is read at an address determined by the equation 2 m x r + s, wherein when the interleaver size N is expressed as a binary value, an integer equal to or smaller than the number of consecutive zero bits from the LSB is defined as a first variable m, a decimal value determined by converting a binary value corresponding to the truncated bits other than the consecutive zero bits is defined as a second variable J, a decimal value determined by expressing a quotient obtained by dividing a reading sequence K (0<K<(N-1)) by the second variable J as a binary value, bit reversing said binary value and converting the bit-reversed binary value to said decimal value is defined as a fourth variable s, and a remainder determined by dividing the reading sequence K by the second variable J is defined as a third variable r. 5. A method for sequentially storing input bit symbols of a given interleaver size N in a memory at an address from 1 to N and reading the stored bit symbols from the memory, comprising the steps of: defining, when N is expressed as a binary value, the number of consecutive zero bits from the LSB as a first variable m, and converting a binary value corresponding to the truncated bits other than the consecutive zero bits to a decimal value to define a second variable J; calculating a third variable r corresponding to a remainder obtained by dividing a reading sequence K by the second variable J; expressing a quotient obtained by dividing the reading sequence K by the second variable J as a binary value, bit-reversing said binary value and converting the bit-reversed binary value to a decimal value, so as to defined said decimal value as a fourth variable s; and reading a bit symbol at an address determined by 2 m x r + s. 6. A device for sequentially storing input bit symbols of a given interleaver size N in a memory at an address from 1 to N and reading a bit symbol stored at an address R from the memory, comprising: a look-up table for providing a first variable m and a second variable J satisfying the equation N=2 m xJ; and an address generator for generating a read address depending on the first and second variables m and J provided from the look-up table, the read address being determined by 2 m (K mod J) + BRO(K/J) where K (0<K<(N-1)) denotes a reading sequence, and BRO is a function for converting a binary value to a decimal value by bit reversing. 7. The device as claimed in claim 6, wherein the first variable m indicates the number of consecutive zero bits from the LSB, when N is expressed as a binary value. 8. The device as claimed in claim 6, wherein the second variable J indicates a decimal value corresponding to the truncated bits other than consecutive zero bits from the LSB, when the size N is expressed as a binary value. 9. A device for sequentially storing input bit symbols of a given interleaver size N in a memory at an address from 1 to N and reading the bit symbols from the memory, comprising: a look-up table for providing a first variable m and a second variable J, wherein when N is expressed as a binary value, the first variable m indicates the number of consecutive zero bits from the LSB and the second variable J indicates a decimal value corresponding to the truncated bits other than consecutive zero bits an address generator for generating a read address determined by 2 m xr+s, where s is a decimal value determined by expressing a quotient obtained by dividing a reading sequence K (0<K≤(N-1)) by the second variable J as a binary value, bit reversing said binary value and converting the bit-reversed binary value to said decimal value, and r is a remainder determined by dividing the reading sequence K by the second variable J. 10. A device for sequentially storing input bit symbols of a given interleaver size N in a memory at an address from 1 to N and reading the bit symbols from the memory, comprising: a look-up table for providing a first variable m and a second variable J, wherein when N is expressed as a binary value, the first variable m indicates the number of consecutive zero bits from the LSB and the second variable J indicates a decimal value corresponding to the truncated bits other than consecutive zero bits from the LSB; and an address generator for generating a read address depending on the first and second variables m and J provided from the look-up table, the read address being determined by 2 m (K mod J) + BRO(K/J) where K (0<K≤(N-1)) denotes a reading sequence, and BRO is a function for converting a binary value to a decimal value by bit reversing.

Inventors: KIM MIN-GOO, KIM, MIN-GOO
Applicants: SAMSUNG ELECTRONICS CO LTD, SAMSUNG ELECTRONICS CO., LTD.
Application year: 1999
Main classification: H03M13
IPC codes: G06F11, H03M13, H04B7, H04L1