This application is a 35 U.S.C. §371 national stage filing of PCT Application No. PCT/KR2008/001619 filed on Mar. 21, 2008, which claims priority to, and the benefit of, Korean Patent Application No. 10-2007-0073103 filed on Jul. 20, 2007. The contents of the aforementioned applications are hereby incorporated by reference.
The present invention relates to an address generation apparatus and method of a data interleaver/deinterleaver, and more particularly, to an address generation apparatus and method of a data interleaver/deinterleaver that performs data interleaving and deinterleaving in parallel without an address collision, whereby the data deinterleaver can generate a right address by means of an address generator polynomial of the data interleaver using coefficients calculated based on prime factors forming a length of input data in a system for performing data interleaving/deinterleaving in parallel.
The present invention is derived from one of the Information Technology (IT) Research & Development (R&D) program of the Ministry of Information and Communication (MIC) and the Institute for Information Technology Advancement (IITA), Republic of Korea. [Project No.: 2005-S-404-13, Project Name: 3G Evolution Wireless Transmission Technology Development]
This application claims the benefit of Korean Patent Application No. 10-2007-0073103, filed on Jul. 20, 2007, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference.
In order to increase transmission efficiency in a communication system, channel coding, such as turbo coding, is used.
The turbo code internal interleaver 102 includes an address generator that generates an address of the input data Xk using an address generator polynomial and interleaves the input data Xk according to the generated address.
The paper titled, ‘On Maximum Contention-Free Interleavers and Permutation Polynomials Over Integer Rings’ (IEEE Trans. On Information Theory, Vol. 52, No. 3, March 2006, Oscar Y. Takeshita) (hereinafter, ‘reference 2’) discloses a data interleaving method for performing data interleaving and deinterleaving in parallel, preventing address collision in parallel processing, and simplifying the complexity of hardware. According to the data interleaving method described in reference 2, an interleaving address of data is calculated using an address generator polynomial of an interleaver, and the data is interleaved according to the calculated address.
The present invention provides a method of calculating a coefficient f2 of an address generator polynomial, so as to remove an address generation error of a deinterleaver, and calculating right interleaver and deinterleaver addresses from a conventional method of calculating coefficients f1 and f2 of the address generator polynomial.
The present invention provides a method of calculating coefficients of an address generator polynomial of an interleaver used for address generation of a turbo internal interleaver and a turbo internal deinterleaver used respectively in a turbo encoder and a turbo decoder.
The present invention also provides a method of generating a right address of the deinterleaver by using the coefficients of the address generator polynomial of the interleaver.
According to the present invention, by calculating coefficients of an address generator polynomial of an interleaver by determining exponents according to the numbers of prime factors forming a length of input data of the interleaver and generating an address of the deinterleaver using the calculated coefficients, errors generated when the address of the deinterleaver is generated can be removed, and right interleaver and deinterleaver addresses can be calculated.
In particular, if 2 is included in the prime factors, a coefficient f2 of the interleaver address generator polynomial f(x)=mod(f1x+f2x2, K) (x=0, . . . , K−1, wherein K denotes the size of input data of the interleaver) is calculated at a multiple of 2 or 2n, and the address of the deinterleaver is generated by calculating coefficients g1 and g2 of a deinterleaver address generator polynomial g(x)=mod(g1x+g2x2, K) (x=0, . . . , K−1, wherein K denotes the size of input data of the interleaver) based on the calculated coefficient f2, and accordingly, a right deinterleaver address can be generated.
In addition, in a system for performing parallel data interleaving and deinterleaving, the parallel data interleaving and deinterleaving is performed without address collision, and an address is calculated using interleaver and deinterleaver address generator polynomials without an additional memory for storing interleaver and deinterleaver addresses, and thus the complexity of hardware can be simplified.
The above and other features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
According to an aspect of the present invention, there is provided an address generation apparatus of an interleaver for inputting data having a predetermined number of bits, the apparatus comprising: an exponent determiner calculating prime factors forming the size of the bits and determining exponents according to the number of all prime factors; a coefficient calculator calculating coefficients of an address generator polynomial of the interleaver based on the prime factors and the exponents; and an address generator generating an address by using the calculated coefficients.
According to another aspect of the present invention, there is provided an address generation apparatus of a deinterleaver for interleaving data having a predetermined number of bits, the apparatus comprising: a coefficient calculator calculating coefficients of an address generator polynomial of the deinterleaver based on coefficients of an address generator polynomial of the interleaving data; and an address generator generating an address of the deinterleaver by using the calculated coefficients, wherein the coefficients of the address generator polynomial of the interleaving data are calculated based on prime factors forming the size of the bits and exponents according to the number of all prime factors.
According to another aspect of the present invention, there is provided an address generation method of an interleaver for input data having a predetermined number of bits, the method comprising: calculating prime factors forming the size of the bits; determining exponents according to the number of all prime factors; calculating coefficients of an address generator polynomial of the interleaver based on the prime factors and the exponents; and generating an address by using the calculated coefficients.
According to another aspect of the present invention, there is provided an address generation method of a deinterleaver for interleaving data having a predetermined number of bits, the method comprising: calculating coefficients of an address generator polynomial of the deinterleaver based on coefficients of an address generator polynomial of the interleaving data; and generating an address of the deinterleaver by using the calculated coefficients, wherein the coefficients of the address generator polynomial of the interleaving data are calculated based on prime factors forming the size of the bits and exponents according to the number of all prime factors.
According to another aspect of the present invention, there is provided a computer readable recording medium storing a computer readable program for executing an address generation method of an interleaver and an address generation method of a deinterleaver.
The present invention will be described in detail by explaining embodiments of the invention with reference to the attached drawings. Like reference numbers are used to refer to like elements through at the drawings. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention with unnecessary detail.
In the following description, when a part ‘includes’ or ‘comprises’ a component, this means that unless a specific description exists, another component is not excluded but can be further included.
The present invention provides a method of generating a coefficient f2 of an address generator polynomial f(x)=mod(f1x+f2x2, K) (x=0, . . . , K−1, wherein K denotes the size of input data of an interleaver) for generating an address of the interleaver, and when coefficients g1 and g2 of an address generator polynomial g(x)=mod(g1x+g2x2, K) (x=0, . . . , K−1, wherein K denotes the size of input data of the interleaver) of a deinterleaver are generated using the coefficient f2 generated in the provided method, a right deinterleaver address can be provided.
Since input data having K bits is described as an example in the present invention, the bit size K can be used as a length or size of the input data.
In reference 2, an address generator polynomial of a data interleaver is f(x)=mod(f1x+f2x2, K) (x=0, . . . , K−1, wherein K denotes the size of input data of the data interleaver), and an address generator polynomial of a deinterleaver is g(x)=mod(g1x+g2 x2, K) (x=0, . . . , K−1, wherein K denotes the size of input data of the data interleaver).
Here, mod(a, b) is a modulus calculated value of a divided by b and is a remainder obtained by dividing a by b. For example, mod(3, 10)=3, and mod(−3, 10)=7.
A method of calculating coefficients f1 and f2 of the interleaver address generator polynomial will now be described.
If it is assumed that the length of input data of the data interleaver is K, a set of prime factors forming K is P, and elements of P are P={p1, p2, . . . , pN},
K=Πp
For example, when K=40, P={2, 5} and K=23×5.
1) When K is not a multiple of 2 or is a multiple of 4,
calculate f1: f1 satisfying gcd (f1, K)=1
calculate f2:
f2=Πp
for all p satisfying nF,p≧1 and nN,p≧1.
2) When K is a multiple of 2 and not a multiple of 4,
calculate f1: f1 satisfying gcd (f1, K/2)=1
calculate f2:
f2=Πp
for all p satisfying, nF,p≧1, p≠2, and nN,p≧1, wherein f1+f2 is an odd number.
Here, gcd (a, b) is the greatest common divisor of a and b.
Thus, when K=40, since P={2, 5} and K=23×5, f1ε{3, 7, 9, 11, 13, . . . , 39} and f2ε{10, 20, 30, 40}.
However, the method of calculating f2 is not applied to all K.
The paper ‘On Quadratic Inverses for Quadratic Permutation Polynomials Over Interger Rings’(IEEE Trans. On Information Theory, Vol. 52, No. 3, March 2006, Jonghoon Ryu and Oscar Y. Takeshita) (hereinafter, ‘reference 3’) discloses a method of calculating f2 for all K. In reference 3,
K=Πp
and in order to calculate
f2=Πp
the conditions below must be satisfied.
In this case, the address generator polynomial of the deinterleaver is g(x)=mod(g1x+g2x2, K) (x=0, . . . , K−1, wherein K denotes the size of input data of the data interleaver), and its calculation method can be referred to reference 3. For example, when K=40 and (f1, f2)=(3, 10), (g1, g2)=(27, 10) or (7, 30).
The address generation method of a data interleaver, in reference 2, obtains an interleaver address using f1 and f2 with respect to the address generator polynomial f(x)=mod(f1x+f2x2, K) (x=0, . . . , K−1, wherein K denotes the size of input data of the data interleaver) and the corresponding deinterleaver address generator polynomial g(x)=mod(g1x+g2x2, K) (x=0, . . . , K−1, wherein K denotes the size of input data of the data interleaver). In addition, g1 and g2 are calculated using f1 and f2, which are obtained by referring to reference 3, and an address of the deinterleaver can be obtained using the calculated g1 and g2. However, an address of the deinterleaver using f1 and f2, which are obtained by referring to reference 2 may be incorrect.
For example, when K=96, since P={2, 3} and K=25×3, f1ε{5, 7, 11, 13, . . . , 95} and f2ε{2×3×1, 2×3×2, 2×3×3, 2×3×4, 2×3×5, . . . , 2×3×16}. In this case, if data deinterleaving is performed according to the deinterleaver address generator polynomial g(x)=mod(g1x+g2x2, K), after interleaving data according to the interleaver address generator polynomial f(x)=mod(f1 x+f2x2, K) by selecting each one of f1 and f2 values, and generating g1 and g2 using f1 and f2 based on reference 3, an incorrect deinterleaver address is generated with respect to f2ε{2×3×1, 2×3×3, 2×3×5, . . . , 2×3×15}. That is, the method of generating f2 by referring to reference 2 has a problem in that an error is generated when a certain deinterleaver address is generated.
In addition, according to reference 3, when K=90, since P={2, 3, 5} and K=2×32×5, f1ε{7, 11, 13, . . . , 89} and f2ε{3×5×1, 3×5×2, 3×5×3, 3×5×4, 3×5×5, 3×5×6}. In this case, data is interleaved according to the interleaver address generator polynomial f(x)=mod(f1x+f2x2, K) by selecting each one of f1 and f2 values. A deinterleaver performs data deinterleaving according to the deinterleaver address generator polynomial g(x)=mod(g1x+g2x2, K) by calculating g1 and g2 using f1 and f2. Then, an incorrect deinterleaver address is generated with respect to f2ε{3×5×1, 3×5×3, 3×5×5}. That is, the method of generating f2 by referring to reference 3 has a problem in that an error is generated when a certain deinterleaver address is generated.
An address generation apparatus of an interleaver for data interleaving according to an embodiment of the present invention is based on the data interleaving method disclosed in reference 2 described above.
In reference 2, the address generator polynomial of a data interleaver is f(x)=mod(f1x+f2x2, K) (x=0, . . . , K−1, wherein K denotes the size of input data of the data interleaver), and an address generator polynomial of a corresponding deinterleaver is g(x)=mod(g1x+g2x2, K) (x=0, . . . , K−1, wherein K denotes the size of input data of the data interleaver), wherein mod(a, b) is a modulus calculated value of a divided by b and is a remainder obtained by dividing a by b.
When it is assumed that the length of input data of an interleaver is K, a set of prime factors forming K is P, and elements of P are P={p1, p2, . . . , pN},
K=Πp
In order to calculate
f2=Πp
the exponent nF,p of a prime factor p is determined according to the conditions below.
A final f2 calculated using results calculated by Equations 4, 5, and 6 is represented by Equation 7.
f2=mod(Πp
(Equation 7)
According to Equations 4, 5, and 6, f2 is calculated by multiplying each of the prime factors forming K of K-bit input data by an arbitrary integer. An exponent of a multiplied prime factor is determined according to the prime factors (2, 3, prime factors excluding 2 and 3) and the number of prime factors, and as a result, f2 has a multiple value of a power of a prime factor.
Referring to Equation 4, when 2 exists among the prime factors forming K, if the number of 2s is equal to or greater than 1 and equal to or less than 4, an exponent of 2 is determined as 1, and a coefficient f2 is calculated a multiple value of 2. If the number of 2s is equal to or greater than 5, i.e., if the number of 2s is 2×n+1 or 2×n+2 (n is an integer equal to or greater than 2), an exponent of 2 is determined as n, and a coefficient f2 is calculated a multiple value of 2n.
Referring to Equation 5, when 3 exists among the prime factors forming K, if the number of 3s is equal to or greater than 1 and equal to or less than 3, an exponent of 3 is determined as 1, and a coefficient f2 is a multiple value of 3. If the number of 3s is equal to or greater than 4, i.e., if the number of 3s is 2×n or 2×n+1 (n is an integer equal to or greater than 2), an exponent of 3 is determined as n, and a coefficient f2 is calculated a multiple value of 3n.
Referring to Equation 6, when a prime factor p excluding 2 and 3 exists among the prime factors forming K, if the number of ps is equal to or greater than 1, i.e., if the number of ps is 2×n−1 or 2×n (n is an integer equal to or greater than 1), an exponent of p is determined as n, and a coefficient f2 is calculated a multiple value of pn.
An operation of the interleaver address generation apparatus 200 illustrated in
Referring to
The exponent determiner 210 calculates prime factors forming a length K of K-bit input data, in operation S410, and determines an exponent of each prime factor according to the number of each calculated prime factors, in operation S430. An expression for determining the exponent of each prime factor is defined by Equations 4 to 6.
The coefficient calculator 230 calculates coefficients f1 and f2 of the address generator polynomial f(x)=mod(f1x+f2x2, K) (x=0, . . . , K−1) based on the determined prime factors and exponents, in operation S450. The coefficient f1 is calculated by multiplication of prime factors excluding the prime factors forming K. The coefficient f2 is calculated by multiplying each prime factor forming K by an arbitrary integer and has a multiple value of a power of the prime factor due to the exponent of each prime factor.
The address generator 250 generates an address using the calculated coefficients f1 and f2, in operation S470.
An operation of the address generation apparatus 300 of the deinterleaver illustrated in
Referring to
The coefficient calculator 310 calculates coefficients g1 and g2 of an address generator polynomial g(x)=mod(g1x+g2x2, K) (x=0, . . . , K−1) for generating a deinterleaver address with respect to K-bit interleaving data in operation S510. In this case, the coefficients g1 and g2 are calculated based on the f1 and f2 of the address generator polynomial f(x)=mod(f1x+f2x2, K) (x=0, . . . , K−1), which are calculated by an address generation apparatus of an interleaver. The quadratic term coefficient f2 of the address generator polynomial f(x) is calculated based on the prime factors forming K and an exponent of each prime factor determined according to the numbers of every prime factors.
If 2 exists among the prime factors forming K, and if the number of 2s is 2×n+1 or 2×n+2 (n is an integer equal to or greater than 2), the coefficients g1 and g2 are calculated based on the coefficient f1 and the coefficient f2 being a multiple of 2n. If the number of 2s is equal to or greater than 1 and equal to or less than 4, the coefficients g1 and g2 are calculated based on the coefficient f1 and the coefficient f2 being a multiple of 2.
If 3 exists among the prime factors forming K, and if the number of 3s is equal to or greater than 1 and equal to or less than 3, the coefficients g1 and g2 are calculated based on the coefficient f1 and the coefficient f2 being a multiple of 3. If the number of 3s is 2×n or 2×n+1 (n is an integer equal to or greater than 2), the coefficients g1 and g2 are calculated based on the coefficient f1 and the coefficient f2 having a multiple value of 3n.
If a prime factor p excluding 2 and 3 exists among the prime factors forming K, and if the number of ps is 2×n−1 or 2×n (n is an integer equal to or greater than 1), the coefficients g1 and g2 are calculated based on the coefficient f1 and the coefficient f2 having a multiple value of pn.
The address generator 350 generates a deinterleaver address by using the calculated coefficients g1 and g2, in operation S550.
When the interleaver address generation method and the deinterleaver address generation method according to embodiments of the present invention are used, if K=90, since P={2, 3, 5} and K=2×32×5, f1ε{7, 11, 13, . . . , 89} and f2ε{2×3×5×1, 2×3×5×2, 2×3×5×3}.
In this case, an interleaver address generation apparatus of an encoder interleaves data according to the address generator polynomial f(x)=mod(f1x+f2x2, K) by selecting each one of f1 and f2 values.
A decoder receives the interleaved data from the encoder, and a deinterleaver address generation apparatus of the decoder calculates g1 and g2 using f1 and f2 and performs data deinterleaving according to the deinterleaver address generator polynomial g(x)=mod(g1x+g2x2, K).
Thus, a right interleaver address and a right deinterleaver address can be obtained for all of (f1, f2) and (g1, g2).
The tables below show examples of coefficients f1 and f2 of the interleaver address generator polynomial f(x)=mod(f1x+f2x2, K) generated with respect to a length K of data input to an interleaver using the method provided in the present invention.
The invention can also be embodied as computer readable codes on a computer readable recording medium. The computer readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the computer readable recording medium include read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and carrier waves (such as data transmission through the Internet). The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion. Also, functional programs, codes, and code segments for accomplishing the present invention can be easily construed by programmers skilled in the art to which the present invention pertains.
While this invention has been particularly shown and described with reference to preferred embodiments thereof, it will be understood by one 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. The preferred embodiments should be considered in descriptive sense only and not for purposes of limitation. Therefore, the scope of the invention is defined not by the detailed description of the invention but by the appended claims, and all differences within the scope will be construed as being included in the present invention.
Number | Date | Country | Kind |
---|---|---|---|
10-2007-0073103 | Jul 2007 | KR | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/KR2008/001619 | 3/21/2008 | WO | 00 | 1/20/2010 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2009/014298 | 1/29/2009 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5799033 | Baggen | Aug 1998 | A |
6314534 | Agrawal et al. | Nov 2001 | B1 |
6543013 | Li et al. | Apr 2003 | B1 |
6598202 | Kim et al. | Jul 2003 | B1 |
6668343 | Kim et al. | Dec 2003 | B1 |
20020087923 | Eroz et al. | Jul 2002 | A1 |
20020099997 | Piret | Jul 2002 | A1 |
20020166087 | Matsumoto | Nov 2002 | A1 |
20030014700 | Giulietti et al. | Jan 2003 | A1 |
20030023909 | Ikeda et al. | Jan 2003 | A1 |
20080115034 | Cheng | May 2008 | A1 |
Number | Date | Country |
---|---|---|
2003-0062079 | Jul 2003 | KR |
Number | Date | Country | |
---|---|---|---|
20100191932 A1 | Jul 2010 | US |