WO2009012692A1 - Turbo-code encoding device and its method - Google Patents

Turbo-code encoding device and its method Download PDF

Info

Publication number
WO2009012692A1
WO2009012692A1 PCT/CN2008/071650 CN2008071650W WO2009012692A1 WO 2009012692 A1 WO2009012692 A1 WO 2009012692A1 CN 2008071650 W CN2008071650 W CN 2008071650W WO 2009012692 A1 WO2009012692 A1 WO 2009012692A1
Authority
WO
WIPO (PCT)
Prior art keywords
adder
output
switch
shift register
input
Prior art date
Application number
PCT/CN2008/071650
Other languages
French (fr)
Chinese (zh)
Inventor
Jun Chen
Shaohui Sun
Yingmin Wang
Original Assignee
Da Tang Mobile Communications Equipment Co., Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Da Tang Mobile Communications Equipment Co., Ltd filed Critical Da Tang Mobile Communications Equipment Co., Ltd
Publication of WO2009012692A1 publication Critical patent/WO2009012692A1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/29Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes
    • H03M13/2957Turbo codes and decoding
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/27Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes using interleaving techniques
    • H03M13/2771Internal interleaver for turbo codes

Definitions

  • Embodiments of the present invention relate to channel coding techniques in communication, and in particular, to a new Turbo code coding apparatus and method. Background technique
  • the Turbo code is a codec scheme proposed by C. Berrou, A. Glavieux and Rishimifajshiwa in 1993. It is better than other coding performance in low SNR applications, so it is in the third generation (3G) mobile communication.
  • the turbo code is used as one of the coding standards of the wireless channel.
  • the Turbo code coding technical specification adopted by the 3G mobile communication system is described in detail by TS 25.212 in the 3rd Generation Partnership Project (3GPP).
  • the Turbo encoder consists of two system recursive convolutional (RSC) encoders, interleaver and The deleter is composed.
  • Turbo code coding technology is widely used in various 3G mobile communication systems, but the specific coding methods and interleavers used in different mobile communication systems are different.
  • Turbo code is a binary (Binary) coding method, using Prime Interleaver (PIL, Prime Interleaver), does not support parallel decoding; in 3GPP LTE, using quadratic replacement polynomial (QPP, Quadratic Permutation Polynomial)
  • QPP Quadratic Permutation Polynomial
  • the interleaver replaces the PIL interleaver and supports parallel decoding.
  • the Turbo codes in 3GPP all use the tail bits termination method.
  • the Turbo code is a Duo-Binary coding method that uses an ARP (Almost regular permutation) interleaver to support parallel decoding.
  • the Turbo code in WiMAX ends with tail-biting. (tail-biting termination) method, no tail bits.
  • a component structure of the 3GPP Turbo code encoder is as shown in FIG. 1 , and includes two component code encoders: a component code encoder 1 and a component code encoder 2, And an internal interleaver, wherein each component code encoder is composed of three registers and four adders to complete the encoding function.
  • One input data is divided into two paths, and the input component code 1 and the inner interleaver respectively perform processing, and after outputting by the component encoder 1 or by the inner interleaver and the component code encoder 2, the tail bits and ⁇ ' ⁇ are respectively output ;
  • the 3GPP Turbo code encoder further outputs the uninterleaved and interleaved system bits ⁇ » ⁇ in two ways.
  • the generator polynomial of the component code encoder is expressed as an octal number (13, 15), Corresponding feedback polynomials ⁇ 1,0, 1, 1 ⁇ , feedforward polynomials ⁇ 1, 1,0, 1 ⁇ .
  • the inner interleaver uses a PIL interleaver; for 3GPP LTE Turbo codes, the inner interleaver uses a QPP interleaver.
  • the effect is not very good, and the original data input is only a single input.
  • FIG. 2 A component structure of the WiMAX Turbo code encoder is shown in FIG. 2, which includes a CTC interleaver and a component code encoder, and outputs system bits and parity bits subjected to interleaving and encoding processing; ⁇ , Y 2 W 2o , component
  • the code encoder is composed of three registers and five adders to complete the coding process.
  • the component code encoder generates a polynomial expressed in octal numbers as (15, 13 or 11), corresponding to its feedback polynomial ⁇ 1, 1, 0, 1 ⁇ , feedforward polynomial ⁇ 1, 0, 1, 1 ⁇ or ⁇ 1, 0, 0, 1 ⁇ , the Turbo code is Duo-Binary.
  • the CTC interleaver employed in Figure 2 is a two-layer interleaving structure comprising two processing steps: first, an intra-coupled permutation, that is, an even-numbered bit swap; Inter-couple interleaving, that is, all pairs of data blocks are interleaved using an ARP interleaver.
  • ARP interleaving can be expressed as:
  • the main purpose of the embodiments of the present invention is to provide a Turbo code encoding apparatus and method, which can achieve better coding and decoding performance while reducing the complexity of the encoding and decoding.
  • An embodiment of the present invention discloses a turbo code encoding apparatus, including: a first component code encoder, a second component code encoder, and an interleaver;
  • the first component code encoder receives the paired input original data A, B, and encodes the check bit sequence Y1 and the tail bit sequence Z1;
  • the interleaver receives the paired input original data A, B, performs outer layer and inner layer interleaving processing on the received data, and outputs the interleaved processed data in pairs to the second component code encoder;
  • a second component code encoder receiving the interleaved data, and encoding the output bit bit sequence Y2 and the tail bit sequence Z2;
  • the paired input raw data A, B are output as a systematic bit pair.
  • the first component code encoder and the second component code encoder use the same component code coding structure;
  • the coding structure of the component code used includes a feedback polynomial and one or more feedforward polynomials, the one The above feedforward polynomials are different feedforward polynomials.
  • the component codes used are (11, 13), (11, 15), (13, 11), (13, 15), (13, 17), (15, 13), (15, 13), (15, 17); when the component code encoding uses two feedforward For the term and a feedback polynomial, the component codes used are (11,13,15), (13,11,15),
  • the component code used is any one of (13,11,17), (13,15,17), (15,11,13), (15,11,17), (15, 13, 17); where, the number in each bracket One parameter is a feedback polynomial of the component code expressed in octal numbers, and the remaining parameters are feedforward polynomials of the component codes expressed in octal numbers.
  • each of the component code encoders includes three shift registers, five or more adders, and a pair of switch switches; each of the component code encoders is provided with two inputs, the one The switch switches are respectively disposed on one input; the three shift registers are sequentially arranged along the input to the output direction on one path.
  • the embodiment of the invention also discloses a Turbo code coding method, including:
  • the original data is divided into two groups as parallel inputs; the first component code is encoded by the two sets of original data bit streams input in pairs, and the corresponding check bit sequence Y1 and tail bit sequence Z1 are output after encoding; Interleaving the two sets of original data bit streams of the paired input, and performing second component code encoding on the two sets of data bit streams after interleaving, and outputting corresponding check bit sequence Y2 and tail bits after encoding Sequence Z2.
  • the parity bit sequence Y1, ⁇ 2 includes a parity bit of a systematic bit bit and a parity bit of a tail bit.
  • the first component code is encoded and the second component code is encoded to output three tail bits and their corresponding check bit bits, respectively.
  • the outer layer interleaving process is based on a quadratic permutation polynomial; the inner layer interleaving process is to perform positional exchange of two pairs of data bits in an even pair position of the original data block.
  • N is the number of pairs of data blocks, and is a quadratic permutation polynomial coefficient.
  • each component code code uses one or more feedforward polynomials and a feedback polynomial, and the one or more feedforward polynomials are different feedforward polynomials.
  • the embodiment of the invention further discloses a Turbo code coding interleaver, which comprises an outer layer interleaving unit and an inner layer interleaving unit, respectively performing outer layer interleaving and inner layer interleaving on the original data block.
  • the outer interleaving unit is configured to implement an interleaving process based on a secondary permutation polynomial; and the inner interleaving unit is configured to position two pairs of data bits in an even pair position of the original data block. exchange.
  • the apparatus and the method for encoding the turbo code provided by the embodiment of the present invention, the coding performance of the embodiment of the present invention is obviously superior to the existing 3GPP, because the double binary coding mode, the tail bit end method, and the QPP-based double layer interleaving structure are adopted.
  • Rel.6 Turbo code, LTE Turbo code and WiMAX Turbo code are adopted.
  • the component code encoder of the embodiment of the present invention can use a plurality of variable encoder structures corresponding to different component codes, and is flexible, simple, and convenient to use.
  • 1 is a schematic structural diagram of a 3GPP Turbo code encoder
  • FIG. 2 is a schematic structural diagram of a WiMAX Turbo code encoder
  • FIG. 3 is a schematic structural diagram of a structure of a turbo code encoding apparatus according to an embodiment of the present invention.
  • FIG. 4a is a schematic diagram showing the structure of the implementation scheme A of the embodiment 1 of the Turbo code coding apparatus
  • FIG. 4b is a schematic diagram showing the structure of the implementation scheme B of the embodiment 1 of the turbo code coding apparatus
  • Figure 5b is a schematic diagram showing the structure of the second embodiment of the Turbo code encoding device
  • Figure 6b is a schematic structural diagram of the third embodiment of the Turbo code encoding device
  • 6b is a schematic diagram showing the structure of the implementation scheme B of the third embodiment of the turbo code encoding apparatus
  • FIG. 7 is a schematic structural diagram of the implementation scheme A of the embodiment 4 of the turbo code encoding apparatus
  • FIG. 7b is a schematic diagram of the fourth embodiment of the Turbo code encoding apparatus.
  • Figure 8a is a schematic diagram showing the structure of the implementation scheme A of the embodiment 5 of the Turbo code coding apparatus
  • Figure 8b is a schematic diagram showing the structure of the implementation scheme B of the embodiment 5 of the turbo code coding apparatus
  • Figure 9a is a sixth embodiment of the turbo coding apparatus
  • FIG. 9b is a schematic diagram showing the structure of the implementation scheme B of the embodiment 6 of the turbo code encoding apparatus
  • FIG. 10a is a schematic diagram showing the structure of the scheme A of the seventh embodiment of the turbo code encoding apparatus
  • FIG. 10b is a turbo code encoding.
  • Figure 7a is a schematic diagram showing the structure of the implementation scheme B of the embodiment 8 of the Turbo code coding apparatus
  • Figure 1b is a schematic diagram showing the structure of the implementation scheme B of the embodiment 8 of the turbo code coding apparatus
  • 12 is a schematic diagram of performance effects in a case of a Turbo code according to an embodiment of the present invention.
  • the coding apparatus and method in the embodiments of the present invention consider a coding mode, an interleaver, and an end method with better comprehensive performance, that is, in the embodiment of the present invention, a double binary coding method, a tail bit termination method, and a Double layer interwoven structure of QPP.
  • the Turbo code encoding device is composed of a first component code encoder, a second component code encoder and a two-layer interleaver, and the original data is divided into two parallel groups and input in pairs.
  • the turbo code encoding device after processing, outputs a respective check bit sequence and tail bit sequence by the first component code encoder and the second component code encoder, respectively.
  • FIG. 3 is a schematic structural diagram of a structure of a turbo code encoding apparatus according to an embodiment of the present invention. As shown in FIG. 3, a turbo code encoding apparatus according to an embodiment of the present invention includes a first component code encoder 31, a second component code encoder 32, and a two-layer structure.
  • the interleaver 33 indicates the joint in which the line is connected.
  • the first component code encoder 31 and the second component code encoder 32 are respectively used for encoding the paired input original data A, B and the interleaved data, and then outputting the check bit sequence Y1, ⁇ 2 And the tail bit sequence Z1, ⁇ 2, the internal structure of the two component code encoders are exactly the same;
  • the double-layer structure interleaver 33 is used for parallel concatenation of two identical component code encoders to implement the dual binary Turbo coding method Specifically, the two-layer interleaver 33 performs inner layer and outer layer interleaving processing on the paired input original data A and B, and then outputs the interleaved data in pairs to the second component code encoder 32.
  • the Turbo code encoding device also outputs the paired input raw data A, B as system bits in pairs.
  • the data input terminal divides the original data into two parallel groups A and B, and is coupled in a pair to the first component code encoder 31 and the two-layer structure interleaver 33, where the pair is It is assumed that the A group data and the B group data respectively output one bit in order to form a pair relationship; the first component code encoder 31 outputs the corresponding parity bit sequence Y1 and the tail bit sequence Z1; the double layer structure interleaver 33 After the paired input raw data is received, the inner layer interleaving and the outer layer interleaving processing are performed, and then the interleaved processed data is paired and outputted to the second component code encoder 32; the second component code encoder 32 obtains the original data.
  • the paired output after the interleaver outputs a corresponding parity bit sequence Y2 and a tail bit sequence Z2.
  • all the encoded outputs of the Turbo code encoding apparatus of the embodiment of the present invention include: system bit bits, that is, original data A, B; tail bit sequences Zl, Z2 at the end of the grid map returning to zero; and check bit sequence Yl ⁇ 2, wherein the check bit sequence Y1, ⁇ 2 includes the check bit of the systematic bit and the check bit of the tail bit, and the check bit corresponding to the output when the tail bit is output is called the check of the tail bit Bit bit.
  • all the encoding outputs of the encoding apparatus of the embodiment of the present invention include the following four parts: 1) ⁇ . , oh. , ..., A N - i, B N - i are raw data bits; 2) Y1 Q , ..., Yl N -i and Y2 Q , ..., Y2 N -i are the parity bits of the data bits output by the first and second component code encoders, respectively;
  • Z1 Q , Zl ⁇ Zl 2 and Y1 N , Y1 N+1 , Yl N+2 are tail bits output by the first component code encoder and check bit bits corresponding to the tail bits;
  • Z2 Q , Z2i , Z2 2 and Y2 N , Y2 N+1 , Y2 N+2 are the tail bits of the second component code encoder output and the check bits corresponding to the tail bits.
  • N is the length of the original data, ie the couple size.
  • the code output of the embodiment of the present invention includes 6 tail bits and 6 check bit bits corresponding to the tail bits, and each component code encoder has 3 tail bits and corresponding check bit bits, because each The component code encoder requires three tail bits to clear three registers in the encoder.
  • the first component code encoder and the second component code encoder use exactly the same component code coding structure, and the component structure of each component code encoder is related to the component code used.
  • the component code uses two or more feedforward polynomials at the same time, it can be further formed. More new component codes, in this way, can provide more parity bit output for better performance.
  • the embodiment of the present invention selects one of the eight basic component codes whose performance meets the requirements and the nine new component codes obtained by simultaneously using two or more feedforward polynomials thereof, specifically
  • the generator polynomials of the 17 component codes are represented by octal numbers: (11, 13), (11, 15), (13, 11), (13, 15), (13, 17), (15, 11), (15, 13), (15, 17), (11, 13, 15), (13, 11, 15), (13,11, 17), (13, 15, 17), (13, 11, 15 , 17), (15,11,13), (15,11,17), (15,13,17), (15,11,13,17).
  • the first parameter in each parenthesis is a feedback polynomial of the component code represented by an octal number, and the remaining parameters are feedforward polynomials of the component code expressed in octal numbers.
  • Figures 4 to 11 are component codes (11, 13), (11, 15), (13, 11), (13, 15), (13, 17), (15, 11), (15, 13 respectively). ), (15, 17)
  • the two components of the component code encoder wherein a diagram is that only the switch provided by the B road is provided with a grounding terminal, and b is a switch provided for both A and B. Ground terminal.
  • each component code encoder includes three shift registers D, five or more adders, denoted by ⁇ .
  • Each adder performs a modulo 2 addition of a binary number (0, 1), equivalent to performing a multiplication of the bipolar signal (+1, -1).
  • Each component code encoder is provided with two input inputs A and B, respectively receiving the input data after the original data input or the original data is interleaved, and the three shift registers are sequentially arranged in the output direction of the A channel in the output direction; There is a switch between the input end of the input terminal and the first shift register and the input end of the B channel.
  • each component code encoder includes not only the check bit corresponding to the data input, but also the tail bit and the check bit corresponding to the tail bit.
  • the positional relationship between the shift register and the adder and the switch can be arranged in a variety of ways, as long as the purpose of updating the register can be achieved, so-called peer update It means that the last data value stored in each register is added to the new data at the same time, and then stored in the next register in the order, and the stored contents in the register are updated.
  • Each shift register is initialized to 0 and cleared to zero after each data encoding.
  • Embodiment 1 is the compositional structures of the first eight preferred component code encoder embodiments described above.
  • Embodiment 1 is the compositional structures of the first eight preferred component code encoder embodiments described above.
  • the component code used is (11, 13), the feedback polynomial of the component code is represented as 11 in octal number, and the feedforward polynomial is represented as 13 in octal number.
  • the component code encoder of this embodiment includes three shift registers, five adders, and a pair of switchers, and the component code encoder has two inputs A and B, at the input ends of the two channels. There is a separate switch.
  • the adders are sequentially referred to as first to fifth adders in the direction of input to output, and the shift registers are sequentially referred to as first to third shift registers in the direction of input to output.
  • the input of the B channel is simultaneously connected to the first, second, and fourth adders; on the A path, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are disposed. There is a second adder, and a fourth adder is disposed between the second and third shift registers, the output of the first adder and the output of the second shift register are connected to the third adder, and the output of the third adder.
  • the output of the third shift register is coupled to the fifth adder; the output of the third shift register is also coupled to the first adder.
  • the switch on the A channel is switched between the original data input terminal and the output terminal of the third shift register, and the switch on the B switch is switched between the original data input terminal and the ground terminal.
  • the switch When there is input data, the switch is respectively closed to the original data input terminals of the A and B channels, and the original input data A passes through the closed switch and the original input data B, and the output of the third shift register is in the first adder.
  • the operation is performed, and the operation result is stored in the first shift register, and the operation result is input to the third adder; the output of the first shift register and the original input data B are operated in the second adder, and the operation result is stored in the second In the shift register; the output of the second shift register is input to the third adder, and the output of the first adder is operated in the third adder, and the operation result is output to the fifth adder;
  • the second shift register is The output is simultaneously input to the fourth adder, and the original input data B is operated in the fourth adder, and the operation result is stored in the third shift register; the output of the third shift register and the output of the third adder are in the fifth The operation is performed in the adder, and the operation result is output as a check bit sequence;
  • the switch of the A channel and the B channel are switched to the other end, and the switch of the A channel is connected with the output of the third shift register, and the switch of the B channel is connected and connected. The ground is connected.
  • the output of the third shift register is output as the tail bit, and is simultaneously input to the first adder via the connected switch.
  • the component code encoder clears the three registers by receiving three tail bits and performing the same processing as described above, thereby completing the grid image zeroing end operation. During the zeroing end operation, the output check bit is the check bit of the tail bit.
  • the component code and the component device used are the same as those in the first embodiment, as shown in FIG. 4b, and the difference is: the position of the switch on the A road is different from that of the first adder, and the original input is different.
  • the data A first enters the first adder, and the output of the first adder is input to the first shift register and the third adder through the closed switch; and the switch on the A channel is also provided with the ground terminal, at the switch Ground when switching.
  • the component code used is (11, 15)
  • the feedback polynomial of the component code is represented by an octal number
  • the feedforward polynomial is represented by an octal number of 15.
  • the component code encoder of this embodiment includes three shift registers, five adders, and a pair of switchers, and the component code encoder has two inputs A and B, at the input ends of the two channels. There is a separate switch.
  • the adders are sequentially referred to as first to fifth adders in the direction of input to output, and the shift registers are sequentially referred to as first to third shift registers in the direction of input to output.
  • the input of the B channel is simultaneously connected to the first, third, and fourth adders; on the A path, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are disposed.
  • the switch on the A channel is switched between the original data input terminal and the output terminal of the third shift register, and the switch on the B switch is switched between the original data input terminal and the ground terminal.
  • the switch When there is input data, the switch is respectively closed to the original data input terminals of the A and B channels, and the original input data A passes through the closed switch and the original input data B, and the output of the third shift register is in the first adder.
  • the operation is performed, and the operation result is stored in the first shift register, and the operation result is input to the second adder; the output of the first shift register and the original input data B are operated in the third adder, and the operation result is stored in the second In the shift register; the output of the first shift register is input to the second adder, and the output of the first adder is operated in the second adder, and the operation result is output to the fifth adder;
  • the second shift register is The output is input to the fourth adder, and the original input data B is operated in the fourth adder, and the operation result is stored in the third shift register; the output of the third shift register and the output of the second adder are in the fifth addition
  • the operation is performed in the device, and the operation result is output as a check bit sequence
  • the switch of the A channel and the B channel are switched to the other end, the switch of the A channel is connected to the output of the third shift register, and the switch of the B channel is connected to the ground terminal.
  • the output of the third shift register is output as the tail bit, and is simultaneously input to the first adder via the connected switch.
  • the component code encoder clears the three registers by receiving three tail bits and performing the same processing as described above, thereby completing the grid image zeroing end operation. During the zeroing end operation, the output check bit is the check bit of the tail bit.
  • the component code and the component device used are the same as those in the third embodiment, as shown in FIG. 5b, and the difference is: the position of the switch on the A road is different from that of the first adder, and the original input is different.
  • Data A first enters the first adder, and the output of the first adder is switched again.
  • the switch is input to the first shift register and the second adder; and, the switch on the A road is also provided with a ground terminal, and is grounded when the switch is switched.
  • the component code used is (13, 11), the feedback polynomial of the component code is represented by an octal number, and the feedforward polynomial is represented by an octal number of 11.
  • the component code encoder of this embodiment includes three shift registers, five adders, and a pair of switchers, and the component code encoder has two inputs A and B, at the input ends of the two channels. There is a separate switch.
  • the adders are sequentially referred to as first to fifth adders in the direction of input to output, and the shift registers are sequentially referred to as first to third shift registers in the direction of input to output.
  • the input of the B channel is simultaneously connected to the first, second, and fourth adders; on the A path, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are disposed.
  • the switch on the A road switches between the original data input terminal and the output terminal of the third adder, and the switch on the B switch switches between the original data input terminal and the ground terminal.
  • the switch When there is input data, the switch is respectively closed to the original data input terminals of the A and B channels, and the original input data A is passed through the closed switch and the original input data B, and the output of the third adder is made in the first adder.
  • the operation result is stored in the first shift register, and the operation result is input to the fifth adder; the output of the first shift register and the original input data B are operated in the second adder, and the operation result is stored in the second shift In the bit register; the output of the second shift register is input to the fourth adder, and the original input data B is operated in the fourth adder, and the operation is performed
  • the result is stored in the third shift register; the output of the second shift register is further input to the third adder, and the output of the third shift register is operated in the third adder, and the operation result is output to the first adder;
  • the output of the third shift register and the output of the first adder are operated in a fifth adder, and the result of the operation is output as a check bit sequence.
  • the switch of the A and B switches to the other end, the switch of the A is connected to the output of the third adder, and the switch of the B is connected to the ground.
  • the output of the third shift register is output as the tail bit, and is simultaneously fed back to the first adder via the connected switching switch.
  • the component code encoder clears the three registers by receiving three tail bits and performing the same processing as described above, thereby completing the grid image zeroing end operation. During the zeroing end operation, the output check bit is the check bit of the tail bit.
  • the component code and the component device used are the same as those in the fifth embodiment, as shown in FIG. 6b, the difference is: the position of the switch on the A road and the first adder are different from the fifth embodiment, the original input The data A first enters the first adder, and the output of the first adder is input to the first shift register and the fifth adder through the closed switch; and the switch on the A road is also provided with the ground terminal, at the switch Ground when switching.
  • the component code used is (13, 15), the feedback polynomial of the component code is represented by an octal number, and the feedforward polynomial is represented by an octal number of 15.
  • This component code is somewhat similar to the component code structure of the 3GPP Turbo code. The difference in this embodiment is:
  • the component code is a Duo-binary coding mode, which adopts a dual-input structure; and uses a double-layer interleaver structure.
  • the component code encoder of this embodiment includes three shift registers, six adders, and a pair of switchers, and the component code encoder has two inputs of A and B, and inputs in two paths.
  • the switch is provided with a switch.
  • the adders are sequentially referred to as first to sixth adders in the direction of input to output, and the shift registers are sequentially referred to as first to third shift registers in the direction of input to output.
  • the input of the B channel is simultaneously connected to the first, third, and fifth adders; on the A path, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are set There is a third adder, and a fifth adder is disposed between the second and third shift registers, the output of the first adder and the output of the first shift register are connected to the second adder, and the output of the second adder.
  • the output of the third shift register is coupled to the sixth adder; the outputs of the second shift register and the third shift register are coupled to a fourth adder; the output of the fourth adder is coupled to the first adder.
  • the switch on the A channel switches between the original data input terminal and the output terminal of the fourth adder, and the switch on the B switch switches between the original data input terminal and the ground terminal.
  • the switch When there is input data, the switch is closed to the original data input terminals of the A and B channels respectively, and the original input data A is passed through the closed switch and the original input data B, and the output of the fourth adder is made in the first adder.
  • the operation result is stored in the first shift register, and the operation result is input to the second adder; the output of the first shift register and the original input data B are operated in the third adder, and the operation result is stored in the second shift In the bit register; the output of the first shift register is input to the second adder, and the output of the first adder is operated in the second adder, and the operation result is output to the sixth adder; the output of the second shift register Input to the fifth adder, and the original input data B is operated in the fifth adder, the operation result is stored in the third shift register; the output of the second shift register is input to the fourth adder, and the third shift The output of the register is operated in the fourth adder, and the result of the operation is sent to the first adder; the output
  • the switch of the A and B roads is switched to the other end, and the switch of the A channel is connected with the output of the fourth adder, and the switch of the B channel and the ground end are connected. Connected. At this time, the output of the fourth adder is output as the tail bit, and is simultaneously input to the first adder via the connected switch.
  • the component code encoder clears the three registers by receiving three tail bits and performing the same processing as described above, thereby completing the grid image zeroing end operation. During the zeroing end operation, the output check bit is the check bit of the tail bit.
  • the component code and the component device used are the same as those in the seventh embodiment, as shown in FIG. 7b, and the difference is: the position of the switch on the A road is different from that of the first adder, and the original input is different.
  • the data A first enters the first adder, and the output of the first adder is input to the first shift register and the second adder through the closed switch; and the switch on the A road is also provided with the ground terminal, at the switch Ground when switching.
  • the component code used is (13, 17)
  • the feedback polynomial of the component code is represented by an octal number
  • the feedforward polynomial is represented by an octal number of 17.
  • the component code encoder of this embodiment includes three shift registers, seven adders, and a pair of switchers having two inputs A and B, at the input of the two channels. There is a separate switch.
  • the adder is sequentially referred to as the first to seventh adders in the direction of input to output, and the two adders in the same node are the adders with the preceding number in the upper direction, and the shift registers are sequentially input to the output direction. They are called first to third shift registers.
  • the input of the B channel is simultaneously connected to the first, third, and sixth adders; on the A, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are set There is a third adder, and a sixth adder is disposed between the second and third shift registers, the output of the first adder and the output of the first shift register are connected to the second adder, and the output of the second adder And an output of the second shift register is connected to the fourth adder; the output of the fourth adder and the third shift The output of the register is coupled to a seventh adder; the outputs of the second shift register and the third shift register are coupled to a fifth adder; the output of the fifth adder is coupled to the first adder.
  • the switch on the A channel switches between the original data input terminal and the output terminal of the fifth adder, and the switch on the B switch switches between the original data input terminal and the ground terminal.
  • the switch When there is input data, the switch is closed to the original data input terminals of the A and B channels, and the original input data A is passed through the closed switch and the original input data B, and the output of the fifth adder is made in the first adder.
  • the operation result is stored in the first shift register, and the operation result is input to the second adder; the output of the first shift register and the original input data B are operated in the third adder, and the operation result is stored in the second shift In the bit register; the output of the first shift register is input to the second adder, and the output of the first adder is operated in the second adder, and the operation result is output to the fourth adder; the output of the second shift register Input to the sixth adder, and the original input data B is operated in the sixth adder, the operation result is stored in the third shift register; the output of the second shift register is input to the fifth adder, and the third shift The output of the register is operated in the fifth adder, and the result of the operation is sent to the first adder; the output of
  • the switch of A and B switches to the other end, the switch of A is connected to the output of the fifth adder, and the switch of B is connected to the ground.
  • the output of the fifth adder is output as the tail bit, and is simultaneously input to the first adder via the connected switching switch feedback.
  • the component code encoder clears the three registers by receiving three tail bits and performing the same processing as described above, thereby completing the grid image zeroing end operation. During the return-to-zero operation, the output check bit is the check bit of the tail bit.
  • the component code and the component device used are the same as those in the embodiment 9, as shown in FIG. 8b.
  • the difference is: the switch on the A path is different from the position of the first adder and the embodiment 9.
  • the original input data A first enters the first adder, and the output of the first adder is input to the closed switch.
  • the first shift register and the second adder; and, the switch on the A road is also provided with a ground terminal, and is grounded when the switch is switched.
  • the component code used is (15, 11)
  • the feedback polynomial of the component code is expressed as an octal number
  • the feedforward polynomial is expressed as an octal number
  • the component code encoder of this embodiment includes three shift registers, five adders, and a pair of switchers, and the component code encoder has two inputs A and B, at the input ends of the two channels. There is a separate switch.
  • the adders are sequentially referred to as first to fifth adders in the direction of input to output, and the shift registers are sequentially referred to as first to third shift registers in the direction of input to output.
  • the input of the B channel is simultaneously connected to the first, third, and fourth adders; on the A path, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are disposed.
  • a third adder There is a third adder, a fourth adder is disposed between the second and third shift registers, and an output of the first adder and an output of the third shift register are connected to the fifth adder; the first shift register and The output of the third shift register is coupled to a second adder; the output of the second adder is coupled to the first adder.
  • the switch on the A road switches between the original data input end and the output end of the second adder, and the switch on the B line switches between the original data input end and the ground end.
  • the switch When there is input data, the switch is respectively closed to the original data input terminals of the A and B channels, and the original input data A is passed through the closed switch and the original input data B, and the output of the second adder is made in the first adder.
  • the operation result is stored in the first shift register, and the operation result is input to the fifth adder; the output of the first shift register and the original input data B are in the third addition
  • the operation is performed in the normalizer, and the operation result is stored in the second shift register; the output of the first shift register is input to the second adder, and the output of the third shift register is operated in the second adder, and the operation result Output to the first adder; the output of the second shift register is input to the fourth adder, and the original input data B is operated in the fourth adder, and the operation result is stored in the third shift register; the third shift register
  • the output of the first adder is operated in the fifth adder, and the result of the operation is output as a check bit sequence.
  • the switch of A and B switches to the other end, the switch of A is connected to the output of the second adder, and the switch of B is connected to the ground.
  • the output of the second adder is output as the tail bit, and is simultaneously input to the first adder via the connected switching switch feedback.
  • the component code encoder clears the three registers by receiving three tail bits and performing the same processing as described above, thereby completing the grid image zeroing end operation. During the return-to-zero operation, the output check bit is the check bit of the tail bit.
  • the component code and the component device used are the same as those in the eleventh embodiment, as shown in FIG. 9b, the difference is that the position of the switch on the A road and the first adder are different from the eleventh embodiment.
  • the original input data A first enters the first adder, and the output of the first adder is input to the first shift register and the fifth adder through the closed switch; and the switch on the A road is also provided with the ground terminal, Ground when the switch is switched.
  • the component code used is (15, 13)
  • the feedback polynomial of the component code is represented by an octal number
  • the feedforward polynomial is represented by an octal number of 13.
  • the component code encoder of this embodiment includes three shift registers, six adders, and a pair of switchers, and the component code encoder has two inputs of A and B, in two paths.
  • a switch is provided at the input end.
  • the adders are sequentially referred to as first to sixth adders in the direction of input to output, and the shift registers are sequentially referred to as first to third shift registers in the direction of input to output.
  • the input of the B channel is simultaneously connected to the first, third, and fifth adders; on the A path, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are set There is a third adder, a fifth adder is disposed between the second and third shift registers, and an output of the first adder and an output of the second shift register are connected to the fourth adder; an output of the fourth adder And an output of the third shift register is coupled to the sixth adder; the outputs of the first shift register and the third shift register are coupled to the second adder; the output of the second adder is coupled to the first adder.
  • the switch on the A road switches between the original data input end and the output end of the second adder, and the switch on the B line switches between the original data input end and the ground end.
  • the switch When there is input data, the switch is respectively closed to the original data input terminals of the A and B channels, and the original input data A is passed through the closed switch and the original input data B, and the output of the second adder is made in the first adder.
  • the operation result is stored in the first shift register, and the operation result is input to the fourth adder; the output of the first shift register and the original input data B are operated in the third adder, and the operation result is stored in the second shift In the bit register; the output of the first shift register is input to the second adder, and the output of the third shift register is operated in the second adder, and the operation result is output to the first adder; the second shift register is The output is input to the fifth adder, and the original input data B is operated in the fifth adder, and the operation result is stored in the third shift register; the output of the second shift register and the output of the first adder are in the fourth addition The operation is performed, and the operation result is output to the sixth adder; the output of the third shift register and the output
  • the component code and the component device used are the same as those in the thirteenth embodiment, as shown in the figure.
  • the difference is: the switch on the A road is different from the position of the first adder and the thirteenth embodiment, the original input data A first enters the first adder, and the output of the first adder passes through the closed switch Input to the first shift register and the fourth adder; and, the switch on the A road is also provided with a ground terminal, and is grounded when the switch is switched.
  • the component code used is (15, 17)
  • the feedback polynomial of the component code is represented by an octal number
  • the feedforward polynomial is represented by an octal number of 17.
  • the component code encoder of this embodiment includes three shift registers, seven adders, and a pair of switchers, and the component code encoder has two inputs A and B, at the input ends of the two channels. There is a separate switch.
  • the adder is sequentially referred to as the first to seventh adders in the direction of input to output, and the two adders in the same node are the adders with the preceding number in the upper direction, and the shift registers are sequentially input to the output direction. They are called first to third shift registers.
  • the input of the B channel is simultaneously connected to the first, fourth, and sixth adders; on the A, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are set There is a fourth adder, and a sixth adder is disposed between the second and third shift registers, the output of the first adder and the output of the first shift register are connected to the second adder, and the output of the second adder And an output of the second shift register is connected to the fifth adder; an output of the fifth adder and an output of the third shift register are connected to the seventh adder; the input of the first shift register and the third shift register The output is connected to the third adder; the output of the third adder is connected to the first adder.
  • the switch on the A road switches between the original data input terminal and the output terminal of the third adder, and the switch on the B switch switches between the original data input terminal and the ground terminal.
  • the switch When there is input data, the switch is respectively closed to the original data input terminals of the A and B channels, and the original input data A is passed through the closed switch and the original input data B, and the output of the third adder is made in the first adder.
  • the operation result is stored in the first shift register, and the operation result is input to the second adder; the output of the first shift register and the original input data B are operated in the fourth adder, and the operation result is stored in the second shift In the bit register; the output of the first shift register is input to the second adder, and the output of the first adder is operated in the second adder, and the operation result is output to the fifth adder; the output of the second shift register Input to the sixth adder, and the original input data B is operated in the sixth adder, and the operation result is stored in the third shift register; the output of the first shift register is input to the third adder, and the third shifter The output of the register is operated in the third adder, and the result of the operation is sent to the first adder;
  • the switch of the A and B switches to the other end, the switch of the A is connected to the output of the third adder, and the switch of the B is connected to the ground.
  • the output of the third adder is output as the tail bit, and is simultaneously input to the first adder via the connected switching switch feedback.
  • the component code encoder clears the three registers by receiving three tail bits and performing the same processing as described above, thereby completing the grid image zeroing end operation. During the return-to-zero operation, the output check bit is the check bit of the tail bit.
  • the component code and the component device used are the same as those in the fifteenth embodiment, as shown in FIG. 1 ib, except that the position of the switch on the A road is different from that of the first adder and the fifteenth embodiment.
  • the original input data A first enters the first adder, and the output of the first adder is closed again.
  • the switch is input to the first shift register and the second adder; and the switch on the A road is also provided with a ground terminal, and is grounded when the switch is switched.
  • the switch on the A channel is switched between the output of the first adder and the ground, and the switch on the B switch is switched between the original data input and the ground.
  • each of the above component codes uses a feedforward polynomial.
  • two or more different feedforward polynomials described above can also be used simultaneously to form other new component codes, which can provide more Check bit output for better performance.
  • the following nine new component codes are also selected in the embodiment of the present invention:
  • 1 component code is ( 11, 13, 15 )
  • the feedback of the component code ⁇ is expressed as an octal number as 11, and the feedforward polynomial is represented by octal numbers as 13 and 15.
  • the feedback of the component code ⁇ is expressed as an octal number as 13, and the feedforward polynomial is expressed as octal numbers 11 and 15.
  • 3 component code is (13, 11, 17)
  • the feedback of the component code ⁇ is expressed as an octal number as 13, and the feedforward polynomial is expressed as octal numbers 11 and 17.
  • the feedback of the component code ⁇ is expressed as an octal number as 13, and the feedforward polynomial is expressed as octal numbers 15 and 17.
  • the feedback of the component code ⁇ is expressed as an octal number of 13, and the feedforward polynomial is represented by octal numbers as 11, 15, and 17. Expressed as 11 and 13.
  • the feedback polynomial of the component code is expressed as an octal number, and the feedforward polynomial is represented by octal numbers as 11 and 17.
  • the feedback polynomial of the component code is expressed as an octal number, and the feedforward polynomial is represented by octal numbers as 13 and 17.
  • 9 component code is ( 15, 11, 13, 17 )
  • the feedback polynomial of the component code is expressed as an octal number, and the feedforward polynomial is expressed as octal numbers 11, 13, and 17.
  • These nine component codes all have 2 or more check digit outputs, which provide better performance and a wider selection of encoding rates.
  • These nine component codes simultaneously use a plurality of feedforward polynomials of eight component codes in Figs. 4 to 11. Therefore, in the coding structures of the nine component codes, all of the feedforward polynomials are identical to the feedforward polynomials of the eight component codes in FIGS. 4 to 11; and, each of the nine component codes
  • the component code encoders also have the two schemes a and b of FIGS. 4 to 11, respectively.
  • the embodiment of the present invention uses a tail bit to perform a truncated binary termination method (tail bits termination), and eight preferred component codes as shown in FIG. 4 to FIG.
  • the encoder's grid map zeroing end method shown as a dashed line.
  • the component code encoder uses a pair of switchers to disconnect the original data input terminal and connect with the other two ends, BP :
  • the input of the A channel is connected to the feedback input of the tail bit
  • the input of the B channel is connected to the ground terminal for zero setting.
  • the component code encoder receives the feedback of the three tail bits, completes the grid map zeroing end operation, and simultaneously outputs three tail bits and three parity bits corresponding to the tail bits.
  • the component code is compiled.
  • the encoder uses a pair of diverter switches to disconnect the data input and connect the pair of diverters to the ground. At this time, the component code encoder does not need to receive the feedback of the tail bits, and can complete the grid image zeroing end operation, and simultaneously output three tail bits and three check bit bits corresponding to the tail bits.
  • the 17 component codes used in the embodiments of the present invention can adopt the two grid pattern zeroing end methods of the foregoing implementation schemes a and b.
  • the two-layer interleaver 33 of the embodiment of the present invention further includes an outer interleaving unit and an inner interleaving unit, respectively performing outer layer interleaving and inner layer interleaving on the original data block.
  • the interleaver used in the embodiment of the present invention is based on a quadratic permutation polynomial (QPP), and the outer interleaving adopts the formula (1):
  • the inner layer interleaving adopts a process of performing inner layer interleaving processing according to the value of i.
  • i mod 2 0, the two paths of the original data input ( ⁇ , ⁇ exchange position, become ( ⁇ ), Placed in the jth paired position after the outer layer is interwoven.
  • the inner layer interlacing can be expressed as:
  • the j-th paired bits of the interleaved data block are taken from the i-th pair of bits of the original data block.
  • the outer layer interleaving is inter-couple interleaving, and the original data block is interleaved in a pairwise manner using a quadratic permutation polynomial (QPP) to keep the relative positions of the paired bits (A, B) unchanged.
  • QPP quadratic permutation polynomial
  • the inner layer is interlaced as intra-couple permutation.
  • the performance of the embodiment of the present invention is better, and the coding complexity and the decoding complexity are relatively small.
  • the performance effects of the embodiments of the present invention are illustrated by three simulation examples, and performance comparisons are performed with 3GPP Turbo codes and WiMAX Turbo codes.
  • the original data block size is 1920 bits; the code rate R is 1/2 (the tail bit and its check bit are not counted); BPSK modulation is used; the decoding algorithm uses the Max-Log-MAP algorithm, the number of iterations 8 times; the channel model is the AWGN channel; the QPP polynomial coefficient and the QPP interleaver coefficient of the reference LTE.
  • the eight component code encoders described in Embodiments 1 through 16 are used, and the generator polynomial is represented by octal numbers as (11, 13), (11, 15), (13, 11), (13, 15), (13,17), (15,11), (15,13), (15,17).
  • the abscissa is the signal-to-noise ratio (Eb/No), in dB, the ordinate is the block error rate (BLER), and the 11 curves are 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209.
  • , 1210, 1211 are sequentially given the use of component codes (11, 13), (11, 15), (13, 11), (13, 15), (13, 17), (15, 11), (15, 13), (15, 17) Turbo code performance curve, and performance curves of 3GPP Rel.6 Turbo code, LTE Turbo code and WiMAX Turbo code.
  • the turbo coding apparatus and method of the embodiment of the present invention generally have better performance than the 3GPP Rel.6 Turbo code, the LTE Turbo code, and the WiMAX Turbo code.
  • the obvious disadvantage of WiMAX Turbo codes is that the coding and decoding complexity is relatively large, and the coding and decoding complexity of the embodiments of the present invention are relatively small.
  • the second example and the third example are simulated with the original data block size of 96 bits and the original data block size of about 4800 bits.
  • the other assumptions are the same as the first example.
  • the results show that the performance of the Turbo code coding apparatus and method in the embodiment of the present invention is superior to the 3GPP Rel. 6 Turbo code, LTE Turbo code and WiMAX Turbo code in the prior art.
  • the above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Landscapes

  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Error Detection And Correction (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

A Turbo-code encoding device, a Turbo-code encoding method and a two-layer interleaver, wherein the Turbo-code encoding device comprises: a first component code encoder which receives original data A, B inputted in couples, outputs check bit sequence Y1 and tail bit sequence Z1 after encoding; an interleaver, which receives original data A, B inputted in couples, adopts inner layer and outer layer interleaving processing to the received data, and outputs the data adopted interleaving to a second component code encoder in couples; the second component code encoder, which receives the data adopted interleaving, outputs check bit sequence Y2 and tail bit sequence Z2 after encoding; the original data A, B inputted in couples is outputted as system bit in couples.

Description

一种 Turbo码编码装置及方法 技术领域  Turbo code coding device and method
本发明实施例涉及通信中的信道编码技术,特别是涉及一种新的 Turbo 码编码装置及方法。 背景技术  Embodiments of the present invention relate to channel coding techniques in communication, and in particular, to a new Turbo code coding apparatus and method. Background technique
Turbo码是 1993年由 C.Berrou、 A.Glavieux和 RThitimajshiwa提出的 一种编译码方案, 由于其在低信噪比的应用环境下比其它编码性能好, 因 而在第三代 (3G) 移动通信系统的多种方案中, 将 Turbo码作为无线信道 的编码标准之一。 3G移动通信系统所采用的 Turbo码编码技术规范由第三 代合作伙伴项目 (3GPP ) 中 TS25.212详细描述, 一般, Turbo编码器由两 个系统递归卷积 (RSC ) 编码器、 交织器和删除器组成。  The Turbo code is a codec scheme proposed by C. Berrou, A. Glavieux and Rishimifajshiwa in 1993. It is better than other coding performance in low SNR applications, so it is in the third generation (3G) mobile communication. Among various schemes of the system, the turbo code is used as one of the coding standards of the wireless channel. The Turbo code coding technical specification adopted by the 3G mobile communication system is described in detail by TS 25.212 in the 3rd Generation Partnership Project (3GPP). Generally, the Turbo encoder consists of two system recursive convolutional (RSC) encoders, interleaver and The deleter is composed.
随着 3G移动通信的不断发展, Turbo码编码技术被广泛应用于各种 3G 移动通信系统中, 但在不同移动通信系统中所采用的具体编码方法和交织 器有所不同。 比如: 在 3GPP Release 6中, Turbo码是二进制 (Binary) 编 码方法, 使用素数交织器 (PIL, Prime Interleaver) , 不支持并行译码; 在 3GPP LTE 中, 使用二次方置换多项式 (QPP, Quadratic Permutation Polynomial) 交织器代替 PIL交织器, 支持并行译码; 3GPP中 Turbo码均 使用尾比特结尾(tail bits termination)方法。再比如: 在 WiMAX中, Turbo 码是双二进制(Duo-Binary)编码方法,使用特别规则的置换(ARP, Almost regular permutation) 交织器, 支持并行译码, WiMAX中的 Turbo码使用 tail-biting结尾 (tail-biting termination) 方法, 无尾比特。  With the continuous development of 3G mobile communication, Turbo code coding technology is widely used in various 3G mobile communication systems, but the specific coding methods and interleavers used in different mobile communication systems are different. For example: In 3GPP Release 6, Turbo code is a binary (Binary) coding method, using Prime Interleaver (PIL, Prime Interleaver), does not support parallel decoding; in 3GPP LTE, using quadratic replacement polynomial (QPP, Quadratic Permutation Polynomial) The interleaver replaces the PIL interleaver and supports parallel decoding. The Turbo codes in 3GPP all use the tail bits termination method. For example: In WiMAX, the Turbo code is a Duo-Binary coding method that uses an ARP (Almost regular permutation) interleaver to support parallel decoding. The Turbo code in WiMAX ends with tail-biting. (tail-biting termination) method, no tail bits.
具体来说, 3GPP Turbo码编码器的一种组成结构如图 1所示, 包括两 个分量码编码器(constituent encoder): 分量码编码器 1和分量码编码器 2, 以及内交织器 (internal interleaver), 其中, 每个分量码编码器又由三个寄 存器和四个加法器构成, 完成编码功能。 一路输入数据分为两路, 同时输 入分量器编码 1和内交织器分别进行处理, 经过分量器编码 1或经过内交 织器和分量码编码器 2的处理后分别输出尾比特 和 Ζ'κ; 并且, 该 3GPP Turbo码编码器还分两路输出未经过交织处理的和经过交织处理的系统位 κ»κο 图 1中, 分量码编码器的生成多项式以八进制数表示为(13, 15), 对应的反馈多项式 {1,0, 1, 1}, 前馈多项式 {1, 1,0, 1}。 对于 3GPP Release 6 Turbo码, 内交织器采用 PIL交织器; 对于 3GPP LTE Turbo码, 内交织器采 用 QPP交织器。 但根据 3GPP Turbo码编码器实际应用结果来看, 效果不是 很好, 且原始数据输入仅为单输入。 Specifically, a component structure of the 3GPP Turbo code encoder is as shown in FIG. 1 , and includes two component code encoders: a component code encoder 1 and a component code encoder 2, And an internal interleaver, wherein each component code encoder is composed of three registers and four adders to complete the encoding function. One input data is divided into two paths, and the input component code 1 and the inner interleaver respectively perform processing, and after outputting by the component encoder 1 or by the inner interleaver and the component code encoder 2, the tail bits and Ζ' κ are respectively output ; Moreover, the 3GPP Turbo code encoder further outputs the uninterleaved and interleaved system bits κ»κο in two ways. In Figure 1, the generator polynomial of the component code encoder is expressed as an octal number (13, 15), Corresponding feedback polynomials {1,0, 1, 1}, feedforward polynomials {1, 1,0, 1}. For 3GPP Release 6 Turbo codes, the inner interleaver uses a PIL interleaver; for 3GPP LTE Turbo codes, the inner interleaver uses a QPP interleaver. However, according to the actual application results of the 3GPP Turbo code encoder, the effect is not very good, and the original data input is only a single input.
WiMAX Turbo码编码器的一种组成结构如图 2所示, 包括 CTC交织器 和分量码编码器, 输出系统位和经过交织及编码处理的校验位; ^^、 Y2W2o 其中, 分量码编码器进一歩由三个寄存器和五个加法器组成, 完成编码功 會^ 图 2中, 分量码编码器生成多项式以八进制数表示为 (15, 13 or 11), 对应的其反馈多项式 {1, 1, 0, 1}, 前馈多项式 {1, 0, 1, 1} or {1, 0, 0, 1}, 该 Turbo码是双二进制编码(Duo-Binary)。 图 2中所采用的 CTC交织器是双层 交织结构, 包括两个处理歩骤: 第一歩, 为对内 (intra-couple) 的置换, 即 偶数位置的比特互换; 第二歩, 为对间 (inter-couple) 的交织, 即所有成对 的数据块使用 ARP交织器进行交织处理。这里, ARP交织在具体实现上可表 示为: A component structure of the WiMAX Turbo code encoder is shown in FIG. 2, which includes a CTC interleaver and a component code encoder, and outputs system bits and parity bits subjected to interleaving and encoding processing; ^^, Y 2 W 2o , component The code encoder is composed of three registers and five adders to complete the coding process. In Figure 2, the component code encoder generates a polynomial expressed in octal numbers as (15, 13 or 11), corresponding to its feedback polynomial { 1, 1, 0, 1}, feedforward polynomial {1, 0, 1, 1} or {1, 0, 0, 1}, the Turbo code is Duo-Binary. The CTC interleaver employed in Figure 2 is a two-layer interleaving structure comprising two processing steps: first, an intra-coupled permutation, that is, an even-numbered bit swap; Inter-couple interleaving, that is, all pairs of data blocks are interleaved using an ARP interleaver. Here, the ARP interleaving can be expressed as:
Forj =0, ...,Ν-1  Forj =0, ..., Ν-1
switch (j mod 4 ) :  Switch (j mod 4 ) :
case 0: i = (P0 · j +1 ) modN Case 0: i = (P 0 · j +1 ) modN
case 1: i= (P0 · j +1+N/2+P! ) mod N Case 1: i= (P 0 · j +1+N/2+P! ) mod N
case 2: i = (P0 · j +1+P2) modN Case 2: i = (P 0 · j +1+P 2 ) modN
case 3: i= (P0 · j +l+N/2+P3) modN 其中, N为原始数据的长度, 即成对数目 (couple size); j为数据经过 交织后的成对位置序号; i为交织前的成对位置序号; 参数 PQ、 Pi、 P2、 ^由 并行度、 随机扰动等设计因素来确定, 是通过计算机搜索、 优化得到的。 Case 3: i= (P 0 · j +l+N/2+P 3 ) modN Where N is the length of the original data, ie, the couple size; j is the paired position number after the data is interleaved; i is the paired position number before the interleaving; parameters P Q , Pi, P 2 , ^ It is determined by design factors such as parallelism and random disturbance, which are obtained through computer search and optimization.
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题: 由 于 WiMAX Turbo码使用 tail-biting结尾方法, 编码复杂度和译码复杂度都 比较大, 且根据实际应用来看, 效果也不是很好。 发明内容  In the process of implementing the present invention, the inventors have found that the prior art has at least the following problems: Since the WiMAX Turbo code uses the tail-biting termination method, the coding complexity and the decoding complexity are relatively large, and according to practical applications, the effect is Not very good either. Summary of the invention
有鉴于此, 本发明实施例的主要目的在于提供一种 Turbo码编码装置 及方法, 能在降低编译码复杂度的同时, 实现更好的编译码性能。  In view of this, the main purpose of the embodiments of the present invention is to provide a Turbo code encoding apparatus and method, which can achieve better coding and decoding performance while reducing the complexity of the encoding and decoding.
为达到上述目的, 本发明实施例的技术方案是这样实现的:  To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例公开了一种 Turbo码编码装置, 包括: 第一分量码编码 器、 第二分量码编码器和交织器; 其中,  An embodiment of the present invention discloses a turbo code encoding apparatus, including: a first component code encoder, a second component code encoder, and an interleaver;
第一分量码编码器, 接收成对输入的原始数据 A、 B, 进行编码后输出 校验位比特序列 Y1和尾比特序列 Z1 ;  The first component code encoder receives the paired input original data A, B, and encodes the check bit sequence Y1 and the tail bit sequence Z1;
交织器, 接收成对输入的原始数据 A、 B, 对所接收的数据进行外层和 内层交织处理, 再将交织处理后的数据成对输出至第二分量码编码器;  The interleaver receives the paired input original data A, B, performs outer layer and inner layer interleaving processing on the received data, and outputs the interleaved processed data in pairs to the second component code encoder;
第二分量码编码器, 接收经过交织处理的数据, 进行编码后输出校验 位比特序列 Y2和尾比特序列 Z2;  a second component code encoder, receiving the interleaved data, and encoding the output bit bit sequence Y2 and the tail bit sequence Z2;
所述成对输入的原始数据 A、 B作为系统位成对输出。  The paired input raw data A, B are output as a systematic bit pair.
优选的, 所述第一分量码编码器与第二分量码编码器使用相同的分量 码编码结构; 所使用的分量码的编码结构包括一个反馈多项式和一个或一 个以上前馈多项式, 所述一个以上前馈多项式为不同的前馈多项式。  Preferably, the first component code encoder and the second component code encoder use the same component code coding structure; the coding structure of the component code used includes a feedback polynomial and one or more feedforward polynomials, the one The above feedforward polynomials are different feedforward polynomials.
优选的, 当所述分量码编码使用一个前馈多项式和一个反馈多项式时, 所使用的分量码为(11, 13 )、 ( 11, 15)、 ( 13, 11 )、 ( 13, 15)、 ( 13, 17)、 ( 15, 11 )、 (15, 13 )、 (15, 17) 中任意一种; 当所述分量码编码使用两个前馈多 项式和一个反馈多项式时, 所使用的分量码为 (11,13,15)、 (13,11,15)、Preferably, when the component code code uses a feedforward polynomial and a feedback polynomial, the component codes used are (11, 13), (11, 15), (13, 11), (13, 15), (13, 17), (15, 13), (15, 13), (15, 17); when the component code encoding uses two feedforward For the term and a feedback polynomial, the component codes used are (11,13,15), (13,11,15),
(13,11,17)、 (13,15,17)、 (15,11,13)、 (15,11,17)、 ( 15, 13, 17)中任意 一种; 当所述分量码编码使用三个前馈多项式和一个反馈多项式时, 所使 用的分量码为 (13, 11, 15, 17)、 (15, 11, 13, 17) 中任意一种; 其中, 每个 括号中的第一个参数为以八进制数表示的分量码的反馈多项式, 其余参数 均为以八进制数表示的分量码的前馈多项式。 Any one of (13,11,17), (13,15,17), (15,11,13), (15,11,17), (15, 13, 17); when the component code is encoded When using three feedforward polynomials and one feedback polynomial, the component code used is any one of (13, 11, 15, 17), (15, 11, 13, 17); where, the number in each bracket One parameter is a feedback polynomial of the component code expressed in octal numbers, and the remaining parameters are feedforward polynomials of the component codes expressed in octal numbers.
上述方案中优选的, 每个分量码编码器包括三个移位寄存器、 五个或 五个以上加法器以及一对切换开关; 所述每个分量码编码器设置有两路输 入, 所述一对切换开关分别设置于一路输入上; 所述三个移位寄存器在一 路上沿输入向输出方向依次排列。  Preferably, each of the component code encoders includes three shift registers, five or more adders, and a pair of switch switches; each of the component code encoders is provided with two inputs, the one The switch switches are respectively disposed on one input; the three shift registers are sequentially arranged along the input to the output direction on one path.
本发明实施例还公开了一种 Turbo码编码方法, 包括:  The embodiment of the invention also discloses a Turbo code coding method, including:
将原始数据分为并行的两组作为成对输入; 对成对输入的两组原始数 据比特流进行第一分量码编码,编码后输出相应的校验位比特序列 Y1和尾 比特序列 Z1; 同时,对所述成对输入的两组原始数据比特流进行交织处理, 再对交织处理后的两组数据比特流进行第二分量码编码, 编码后输出相应 的校验位比特序列 Y2和尾比特序列 Z2。  The original data is divided into two groups as parallel inputs; the first component code is encoded by the two sets of original data bit streams input in pairs, and the corresponding check bit sequence Y1 and tail bit sequence Z1 are output after encoding; Interleaving the two sets of original data bit streams of the paired input, and performing second component code encoding on the two sets of data bit streams after interleaving, and outputting corresponding check bit sequence Y2 and tail bits after encoding Sequence Z2.
优选的, 所述校验位比特序列 Yl、 Υ2 中包含系统位比特的校验位比 特和尾比特的校验位比特。 第一分量码编码后和第二分量码编码后分别输 出三个尾比特及其对应的校验位比特。  Preferably, the parity bit sequence Y1, Υ2 includes a parity bit of a systematic bit bit and a parity bit of a tail bit. The first component code is encoded and the second component code is encoded to output three tail bits and their corresponding check bit bits, respectively.
优选的, 所述外层交织处理基于二次置换多项式; 所述内层交织处理 为在原始数据块的偶数成对位置上, 将成对的两路数据比特进行位置交换。 所述外层交织处理使用的二次置换多项式为1= (fi.j + f^.j2) mod N; 所 述内层交织处理为: i值满足 imod2 = 0时, 将原始数据输入的第 i个成对的 两路 (Α,Β^ 交换位置, 变为 (B A), 放在经过外层交织后的第 j个成对 位置; 其中, i为原始数据块成对位置序号, j为数据块经过外层交织和内层 交织后的成对位置序号, N为数据块的成对数目, 和 为二次置换多项式 系数。 Preferably, the outer layer interleaving process is based on a quadratic permutation polynomial; the inner layer interleaving process is to perform positional exchange of two pairs of data bits in an even pair position of the original data block. The quadratic permutation polynomial used in the outer layer interleaving process is 1 = (fi.j + f^.j 2 ) mod N; the inner layer interleaving process is: when the i value satisfies imod2 = 0, the original data is input. The i-th pair of two paths (Α, Β^ exchange position, becomes (BA), placed in the j-th pair position after the outer layer is interleaved; where i is the original data block pair position number, j Interleaving and inner layer for data blocks The number of paired position numbers after interleaving, N is the number of pairs of data blocks, and is a quadratic permutation polynomial coefficient.
上述方案中优选的, 每个分量码编码使用一个或一个以上前馈多项式 和一个反馈多项式, 所述一个以上前馈多项式为不同的前馈多项式。  Preferably, in the above scheme, each component code code uses one or more feedforward polynomials and a feedback polynomial, and the one or more feedforward polynomials are different feedforward polynomials.
本发明实施例还公开了一种 Turbo码编码交织器, 包括外层交织单元 和内层交织单元, 分别对原始数据块进行外层交织和内层交织。 其中, 所 述外层交织单元, 用于实现基于二次置换多项式的交织处理; 所述内层交 织单元, 用于在原始数据块的偶数成对位置上, 将成对的两路数据比特进 行位置交换。  The embodiment of the invention further discloses a Turbo code coding interleaver, which comprises an outer layer interleaving unit and an inner layer interleaving unit, respectively performing outer layer interleaving and inner layer interleaving on the original data block. The outer interleaving unit is configured to implement an interleaving process based on a secondary permutation polynomial; and the inner interleaving unit is configured to position two pairs of data bits in an even pair position of the original data block. exchange.
本发明实施例所提供的 Turbo码编码装置及方法, 由于采用双二进制 编码方式、 尾比特结尾方法以及基于 QPP的双层交织结构, 所以, 本发明 实施例的编码性能明显优于现有的 3GPP Rel.6 Turbo码、 LTE Turbo码和 WiMAX Turbo码。  The apparatus and the method for encoding the turbo code provided by the embodiment of the present invention, the coding performance of the embodiment of the present invention is obviously superior to the existing 3GPP, because the double binary coding mode, the tail bit end method, and the QPP-based double layer interleaving structure are adopted. Rel.6 Turbo code, LTE Turbo code and WiMAX Turbo code.
由于本发明实施例采用尾比特结尾方法, 无论编码复杂度还是译码复 杂度都大大降低。 并且, 本发明实施例的分量码编码器可以使用对应不同 分量码的多种可变的编码器结构, 使用灵活多样、 简单方便。 附图说明  Since the embodiment of the present invention adopts the tail bit end method, the coding complexity and the decoding complexity are greatly reduced. Moreover, the component code encoder of the embodiment of the present invention can use a plurality of variable encoder structures corresponding to different component codes, and is flexible, simple, and convenient to use. DRAWINGS
图 1为 3GPP Turbo码编码器的一种组成结构示意图;  1 is a schematic structural diagram of a 3GPP Turbo code encoder;
图 2为 WiMAX Turbo码编码器的一种组成结构示意图;  2 is a schematic structural diagram of a WiMAX Turbo code encoder;
图 3为本发明实施例 Turbo码编码装置的组成结构示意图;  3 is a schematic structural diagram of a structure of a turbo code encoding apparatus according to an embodiment of the present invention;
图 4a为 Turbo码编码装置实施例一实现方案 A的组成结构示意图; 图 4b为 Turbo码编码装置实施例一实现方案 B的组成结构示意图; 图 5a为 Turbo码编码装置实施例二实现方案 A的组成结构示意图; 图 5b为 Turbo码编码装置实施例二实现方案 B的组成结构示意图; 图 6a为 Turbo码编码装置实施例三实现方案 A的组成结构示意图; 图 6b为 Turbo码编码装置实施例三实现方案 B的组成结构示意图; 图 7a为 Turbo码编码装置实施例四实现方案 A的组成结构示意图; 图 7b为 Turbo码编码装置实施例四实现方案 B的组成结构示意图; 图 8a为 Turbo码编码装置实施例五实现方案 A的组成结构示意图; 图 8b为 Turbo码编码装置实施例五实现方案 B的组成结构示意图; 图 9a为 Turbo码编码装置实施例六实现方案 A的组成结构示意图; 图 9b为 Turbo码编码装置实施例六实现方案 B的组成结构示意图; 图 10a为 Turbo码编码装置实施例七实现方案 A的组成结构示意图; 图 10b为 Turbo码编码装置实施例七实现方案 B的组成结构示意图; 图 11a为 Turbo码编码装置实施例八实现方案 A的组成结构示意图; 图 l ib为 Turbo码编码装置实施例八实现方案 B的组成结构示意图; 图 12为本发明实施例 Turbo码一种情况下的性能效果示意图。 具体实施方式 4a is a schematic diagram showing the structure of the implementation scheme A of the embodiment 1 of the Turbo code coding apparatus; FIG. 4b is a schematic diagram showing the structure of the implementation scheme B of the embodiment 1 of the turbo code coding apparatus; Figure 5b is a schematic diagram showing the structure of the second embodiment of the Turbo code encoding device; Figure 6b is a schematic structural diagram of the third embodiment of the Turbo code encoding device; 6b is a schematic diagram showing the structure of the implementation scheme B of the third embodiment of the turbo code encoding apparatus; FIG. 7 is a schematic structural diagram of the implementation scheme A of the embodiment 4 of the turbo code encoding apparatus; FIG. 7b is a schematic diagram of the fourth embodiment of the Turbo code encoding apparatus. Figure 8a is a schematic diagram showing the structure of the implementation scheme A of the embodiment 5 of the Turbo code coding apparatus; Figure 8b is a schematic diagram showing the structure of the implementation scheme B of the embodiment 5 of the turbo code coding apparatus; Figure 9a is a sixth embodiment of the turbo coding apparatus FIG. 9b is a schematic diagram showing the structure of the implementation scheme B of the embodiment 6 of the turbo code encoding apparatus; FIG. 10a is a schematic diagram showing the structure of the scheme A of the seventh embodiment of the turbo code encoding apparatus; FIG. 10b is a turbo code encoding. Figure 7a is a schematic diagram showing the structure of the implementation scheme B of the embodiment 8 of the Turbo code coding apparatus; Figure 1b is a schematic diagram showing the structure of the implementation scheme B of the embodiment 8 of the turbo code coding apparatus; 12 is a schematic diagram of performance effects in a case of a Turbo code according to an embodiment of the present invention. detailed description
经过对 3GPP Turbo码和 WiMAX Turbo码的性能研究发现: 一般来说, Turbo码采用双二进制编码方式的性能优于二进制编码的方式; QPP交织器 的性能优于 ARP交织器;采用 tail-biting结尾方法的性能与尾比特结尾方法 的性能相同, 但 tail-biting结尾方法的编码和译码复杂度要大于尾比特结尾 方法。  After studying the performance of 3GPP Turbo code and WiMAX Turbo code, it is found that: In general, the performance of Turbo code using double binary coding is better than that of binary coding; QPP interleaver is better than ARP interleaver; ending with tail-biting The performance of the method is the same as that of the tail end method, but the encoding and decoding complexity of the tail-biting end method is greater than the tail end method.
基于此, 本发明实施例的编码装置及方法考虑综合使用性能较优的编 码方式、 交织器和结尾方法, 也就是说, 在本发明实施例中采用双二进制 编码方式、 尾比特结尾方法以及基于 QPP的双层交织结构。  Based on this, the coding apparatus and method in the embodiments of the present invention consider a coding mode, an interleaver, and an end method with better comprehensive performance, that is, in the embodiment of the present invention, a double binary coding method, a tail bit termination method, and a Double layer interwoven structure of QPP.
本发明实施例的基本思想是: 由第一分量码编码器、 第二分量码编码 器和双层结构的交织器构成 Turbo码编码装置, 将原始数据分为并行的两 组, 成对地输入 Turbo码编码装置, 经过处理后由第一分量码编码器和第 二分量码编码器分别输出各自的校验位比特序列和尾比特序列。 图 3为本发明实施例 Turbo码编码装置的组成结构示意图, 如图 3所 示, 本发明实施例 Turbo码编码装置包括第一分量码编码器 31、 第二分量 码编码器 32和双层结构的交织器 33,图 3中的黑色圆点表示线路发生连接 的接头。其中, 第一分量码编码器 31和第二分量码编码器 32, 分别用于对 成对输入的原始数据 A、 B和经过交织处理的数据进行编码,之后输出校验 位比特序列 Yl、 Υ2和尾比特序列 Zl、 Ζ2, 两个分量码编码器的内部结构 完全相同; 双层结构的交织器 33, 用于将两个相同的分量码编码器进行并 行级联, 实现双二进制 Turbo编码方法, 具体的, 双层结构的交织器 33对 成对输入的原始数据 A、 B进行内层和外层两层交织处理,再将交织处理后 的数据成对输出至第二分量码编码器 32; 该 Turbo码编码装置还将成对输 入的原始数据 A、 B作为系统位成对输出。 The basic idea of the embodiment of the present invention is: The Turbo code encoding device is composed of a first component code encoder, a second component code encoder and a two-layer interleaver, and the original data is divided into two parallel groups and input in pairs. The turbo code encoding device, after processing, outputs a respective check bit sequence and tail bit sequence by the first component code encoder and the second component code encoder, respectively. FIG. 3 is a schematic structural diagram of a structure of a turbo code encoding apparatus according to an embodiment of the present invention. As shown in FIG. 3, a turbo code encoding apparatus according to an embodiment of the present invention includes a first component code encoder 31, a second component code encoder 32, and a two-layer structure. The interleaver 33, the black dot in Fig. 3, indicates the joint in which the line is connected. The first component code encoder 31 and the second component code encoder 32 are respectively used for encoding the paired input original data A, B and the interleaved data, and then outputting the check bit sequence Y1, Υ2 And the tail bit sequence Z1, Ζ2, the internal structure of the two component code encoders are exactly the same; the double-layer structure interleaver 33 is used for parallel concatenation of two identical component code encoders to implement the dual binary Turbo coding method Specifically, the two-layer interleaver 33 performs inner layer and outer layer interleaving processing on the paired input original data A and B, and then outputs the interleaved data in pairs to the second component code encoder 32. The Turbo code encoding device also outputs the paired input raw data A, B as system bits in pairs.
图 3中,数据输入端将原始数据分为并行的两组 A和 B,成对(couple) 地输入至第一分量码编码器 31和双层结构的交织器 33,这里所述成对是指 A组数据和 B组数据按顺序分别输出一个比特, 构成一对的关系; 第一分 量码编码器 31输出相应的校验位比特序列 Y1和尾比特序列 Z1 ; 双层结构 的交织器 33收到成对输入的原始数据后进行内层交织和外层交织处理, 之 后将交织处理后的数据成对的输出给第二分量码编码器 32; 第二分量码编 码器 32获得原始数据经过交织器后的成对输出, 输出相应的校验位比特序 列 Y2和尾比特序列 Z2。 可以看出, 本发明实施例 Turbo码编码装置全部 的编码输出包括: 系统位比特, 即原始数据 A、 B; 网格图归零结尾的尾比 特序列 Zl、 Z2; 以及校验位比特序列 Yl、 Υ2, 其中, 校验位比特序列 Yl、 Υ2中包含系统位比特的校验位比特和尾比特的校验位比特, 输出尾比特时 对应输出的校验位比特称作尾比特的校验位比特。  In Fig. 3, the data input terminal divides the original data into two parallel groups A and B, and is coupled in a pair to the first component code encoder 31 and the two-layer structure interleaver 33, where the pair is It is assumed that the A group data and the B group data respectively output one bit in order to form a pair relationship; the first component code encoder 31 outputs the corresponding parity bit sequence Y1 and the tail bit sequence Z1; the double layer structure interleaver 33 After the paired input raw data is received, the inner layer interleaving and the outer layer interleaving processing are performed, and then the interleaved processed data is paired and outputted to the second component code encoder 32; the second component code encoder 32 obtains the original data. The paired output after the interleaver outputs a corresponding parity bit sequence Y2 and a tail bit sequence Z2. It can be seen that all the encoded outputs of the Turbo code encoding apparatus of the embodiment of the present invention include: system bit bits, that is, original data A, B; tail bit sequences Zl, Z2 at the end of the grid map returning to zero; and check bit sequence Yl Υ2, wherein the check bit sequence Y1, Υ2 includes the check bit of the systematic bit and the check bit of the tail bit, and the check bit corresponding to the output when the tail bit is output is called the check of the tail bit Bit bit.
具体来说, 本发明实施例编码装置全部的编码输出包含以下四个部分: 1 ) Α。、 Β。、 …、 AN- i、 BN- i为原始数据比特; 2) Y1Q、 …、 YlN-i和 Y2Q、 …、 Y2N-i分别为第一和第二分量码编码器 输出的、 数据比特的校验位比特; Specifically, all the encoding outputs of the encoding apparatus of the embodiment of the present invention include the following four parts: 1) Α. , oh. , ..., A N - i, B N - i are raw data bits; 2) Y1 Q , ..., Yl N -i and Y2 Q , ..., Y2 N -i are the parity bits of the data bits output by the first and second component code encoders, respectively;
3) Z1Q、 Zl^ Zl2和 Y1N、 Y1N+1、 YlN+2为第一分量码编码器输出的尾 比特和对应于尾比特的校验位比特; 3) Z1 Q , Zl^ Zl 2 and Y1 N , Y1 N+1 , Yl N+2 are tail bits output by the first component code encoder and check bit bits corresponding to the tail bits;
4) Z2Q、 Z2i、 Z22和 Y2N、 Y2N+1、 Y2N+2为第二分量码编码器输出的尾 比特和对应于尾比特的校验位比特。 4) Z2 Q , Z2i , Z2 2 and Y2 N , Y2 N+1 , Y2 N+2 are the tail bits of the second component code encoder output and the check bits corresponding to the tail bits.
其中, N为原始数据的长度, 即成对数目 (couple size)。 本发明实施 例的编码输出中包含 6个尾比特和 6个对应于尾比特的校验位比特, 对应 每个分量码编码器有 3 个尾比特及其对应的校验位比特, 因为每个分量码 编码器需要三个尾比特清空编码器中的三个寄存器。  Where N is the length of the original data, ie the couple size. The code output of the embodiment of the present invention includes 6 tail bits and 6 check bit bits corresponding to the tail bits, and each component code encoder has 3 tail bits and corresponding check bit bits, because each The component code encoder requires three tail bits to clear three registers in the encoder.
本发明实施例中, 第一分量码编码器与第二分量码编码器使用完全相 同的分量码编码结构, 每个分量码编码器的组成结构与所使用的分量码相 关。 目前, 可使用的、 对应一个前馈多项式和一个反馈多项式的基本分量 码有十几种, 本发明人认识到: 如果分量码同时使用两个或两个以上前馈 多项式, 还可以进一歩形成更多的新分量码, 如此, 能够提供更多的校验 位输出, 以获得更好的性能。  In the embodiment of the present invention, the first component code encoder and the second component code encoder use exactly the same component code coding structure, and the component structure of each component code encoder is related to the component code used. At present, there are more than a dozen basic component codes that can be used for one feedforward polynomial and one feedback polynomial. The inventors have realized that if the component code uses two or more feedforward polynomials at the same time, it can be further formed. More new component codes, in this way, can provide more parity bit output for better performance.
根据实际仿真结果, 本发明实施例选用性能符合要求的八种基本分量 码及通过将其两个或两个以上前馈多项式同时使用而得到的九种新分量码 中的任意一种, 具体这 17种分量码的生成多项式以八进制数表示分别为: (11, 13)、 (11, 15)、 (13, 11)、 (13, 15)、 (13, 17)、 (15, 11)、 (15, 13)、 (15, 17)、 (11, 13, 15)、 (13, 11, 15)、 (13,11, 17)、 (13, 15, 17)、 (13, 11, 15,17)、 (15,11,13)、 (15,11,17)、 (15,13,17)、 (15,11,13,17)。 其中, 每个括号内的第一个参数为以八进制数表示的分量码的反馈多项式, 其余 参数均为以八进制数表示的分量码的前馈多项式。  According to the actual simulation result, the embodiment of the present invention selects one of the eight basic component codes whose performance meets the requirements and the nine new component codes obtained by simultaneously using two or more feedforward polynomials thereof, specifically The generator polynomials of the 17 component codes are represented by octal numbers: (11, 13), (11, 15), (13, 11), (13, 15), (13, 17), (15, 11), (15, 13), (15, 17), (11, 13, 15), (13, 11, 15), (13,11, 17), (13, 15, 17), (13, 11, 15 , 17), (15,11,13), (15,11,17), (15,13,17), (15,11,13,17). The first parameter in each parenthesis is a feedback polynomial of the component code represented by an octal number, and the remaining parameters are feedforward polynomials of the component code expressed in octal numbers.
下面以选用前八个分量码为例, 结合附图具体说明每个分量码编码器 的组成结构。 图 4至图 11分别是分量码为 (11,13)、 (11,15)、 (13,11)、 (13,15)、 (13,17)、 (15,11)、 (15,13)、 (15, 17) 的分量码编码器的两种 组成结构, 其中, a图为仅 B路所设置切换开关设有接地端, b图为 A、 B 两路所设置切换开关均设有接地端。 The following is an example of selecting the first eight component codes, and each component code encoder is specifically described with reference to the drawings. The composition of the structure. Figures 4 to 11 are component codes (11, 13), (11, 15), (13, 11), (13, 15), (13, 17), (15, 11), (15, 13 respectively). ), (15, 17) The two components of the component code encoder, wherein a diagram is that only the switch provided by the B road is provided with a grounding terminal, and b is a switch provided for both A and B. Ground terminal.
从图 4至图 11可以看出, 每个分量码编码器包括三个移位寄存器 D、 五个或五个以上加法器, 以 Θ表示。 每个加法器执行二进制数(0, 1) 的模 2加法, 等价于执行双极性信号 (+1, -1) 的乘法。 每个分量码编码器设置 有 A和 B两路输入, 分别接收原始数据输入或原始数据经过交织后的输入 数据, 三个移位寄存器在 A路的输入向输出方向上依次排列; 在 A路的输 入端与第一个移位寄存器之间、 B 路的输入端分别设置有一个切换开关, 数据开始输入时,两个切换开关分别闭合至 A路和 B路的原始数据输入端, 完成所有数据编码后, 两个切换开关切换至另一端; 数据输入结束后, 两 个切换开关可以均设置接地端,也可以只有 B路上的切换开关设置接地端, 以 示, 接地端的作用是置零。 每个分量码编码器的输出不仅包括与数据 输入相对应的校验位比特, 还包括尾比特及与尾比特相对应的校验位比特。  As can be seen from Figures 4 through 11, each component code encoder includes three shift registers D, five or more adders, denoted by Θ. Each adder performs a modulo 2 addition of a binary number (0, 1), equivalent to performing a multiplication of the bipolar signal (+1, -1). Each component code encoder is provided with two input inputs A and B, respectively receiving the input data after the original data input or the original data is interleaved, and the three shift registers are sequentially arranged in the output direction of the A channel in the output direction; There is a switch between the input end of the input terminal and the first shift register and the input end of the B channel. When the data starts to be input, the two switch switches are respectively closed to the original data input terminals of the A and B channels, completing all After the data is encoded, the two switches are switched to the other end; after the data input is completed, the two switches can be set to the ground terminal, or only the switch on the B road can be set to the ground terminal, so that the grounding terminal is set to zero. The output of each component code encoder includes not only the check bit corresponding to the data input, but also the tail bit and the check bit corresponding to the tail bit.
在实际应用中, 对于每个分量码编码器而言, 移位寄存器与加法器、 切换开关的位置关系可以有很多种排列方式, 只要能实现同歩更新寄存器 的目的即可, 所谓同歩更新是指同时将每个寄存器中存储的上一次数据值 与新的数据做加法后, 再存入顺序排列的下一寄存器, 更新寄存器中的存 储内容。每个移位寄存器均初始化为 0, 且完成每次数据编码后均清零。 图 In practical applications, for each component code encoder, the positional relationship between the shift register and the adder and the switch can be arranged in a variety of ways, as long as the purpose of updating the register can be achieved, so-called peer update It means that the last data value stored in each register is added to the new data at the same time, and then stored in the next register in the order, and the stored contents in the register are updated. Each shift register is initialized to 0 and cleared to zero after each data encoding. Figure
4a和图 4b至图 11a和图 lib是上述前八种较佳的分量码编码器实施例的组 成结构。 实施例一: 4a and 4b to 11a and lib are the compositional structures of the first eight preferred component code encoder embodiments described above. Embodiment 1:
本实施例中, 所使用的分量码为 (11, 13), 该分量码的反馈多项式以 八进制数表示为 11, 前馈多项式以八进制数表示为 13。 如图 4a所示, 本实施例的分量码编码器包括三个移位寄存器、 五个加 法器、 一对切换开关, 该分量码编码器具有 A和 B两路输入, 在两路的输 入端分别设置有一个切换开关。 其中, 加法器按输入到输出的方向依次称 为第一至第五加法器, 移位寄存器按输入到输出的方向依次称为第一至第 三移位寄存器。 B路的输入同时连接至第一、 第二、 第四加法器; A路上, 在切换开关与第一移位寄存器之间设置有第一加法器, 第一、 第二移位寄 存器之间设置有第二加法器, 第二、 第三移位寄存器之间设置有第四加法 器, 第一加法器的输出与第二移位寄存器的输出连接至第三加法器, 第三 加法器的输出与第三移位寄存器的输出连接至第五加法器; 第三移位寄存 器的输出还连至第一加法器。 In this embodiment, the component code used is (11, 13), the feedback polynomial of the component code is represented as 11 in octal number, and the feedforward polynomial is represented as 13 in octal number. As shown in FIG. 4a, the component code encoder of this embodiment includes three shift registers, five adders, and a pair of switchers, and the component code encoder has two inputs A and B, at the input ends of the two channels. There is a separate switch. The adders are sequentially referred to as first to fifth adders in the direction of input to output, and the shift registers are sequentially referred to as first to third shift registers in the direction of input to output. The input of the B channel is simultaneously connected to the first, second, and fourth adders; on the A path, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are disposed. There is a second adder, and a fourth adder is disposed between the second and third shift registers, the output of the first adder and the output of the second shift register are connected to the third adder, and the output of the third adder The output of the third shift register is coupled to the fifth adder; the output of the third shift register is also coupled to the first adder.
A路上的切换开关在原始数据输入端与第三移位寄存器的输出端之间 切换, B路上的切换开关在原始数据输入端与接地端之间切换。  The switch on the A channel is switched between the original data input terminal and the output terminal of the third shift register, and the switch on the B switch is switched between the original data input terminal and the ground terminal.
当有输入数据时,切换开关分别闭合至 A路和 B路的原始数据输入端, 原始输入数据 A经过闭合的切换开关与原始输入数据 B、 第三移位寄存器 的输出在第一加法器中做运算, 运算结果存储于第一移位寄存器中, 同时 运算结果输入第三加法器; 第一移位寄存器的输出与原始输入数据 B在第 二加法器中做运算, 运算结果存储于第二移位寄存器中; 第二移位寄存器 的输出输入到第三加法器, 与第一加法器的输出在第三加法器中做运算, 运算结果输出至第五加法器; 第二移位寄存器的输出同时输入到第四加法 器, 与原始输入数据 B在第四加法器中做运算, 运算结果存储于第三移位 寄存器; 第三移位寄存器的输出与第三加法器的输出在第五加法器中做运 算, 运算结果作为校验位比特序列输出; 第三移位寄存器的输出反馈输入 第一加法器。  When there is input data, the switch is respectively closed to the original data input terminals of the A and B channels, and the original input data A passes through the closed switch and the original input data B, and the output of the third shift register is in the first adder. The operation is performed, and the operation result is stored in the first shift register, and the operation result is input to the third adder; the output of the first shift register and the original input data B are operated in the second adder, and the operation result is stored in the second In the shift register; the output of the second shift register is input to the third adder, and the output of the first adder is operated in the third adder, and the operation result is output to the fifth adder; the second shift register is The output is simultaneously input to the fourth adder, and the original input data B is operated in the fourth adder, and the operation result is stored in the third shift register; the output of the third shift register and the output of the third adder are in the fifth The operation is performed in the adder, and the operation result is output as a check bit sequence; the output of the third shift register is fed back to the first adder.
当所有数据输入完毕并完成编码后, A路和 B路的切换开关切换至另 一端, A路的切换开关与第三移位寄存器的输出相连, B路的切换开关与接 地端相连。 此时, 第三移位寄存器的输出作为尾比特输出, 同时经过相连 的切换开关反馈输入到第一加法器。 分量码编码器通过接收三个尾比特, 并进行上述相同的处理过程来清空三个寄存器, 从而完成网格图归零结尾 操作。 在归零结尾的操作过程中, 所输出的校验位比特为尾比特的校验位 比特。 实施例二: After all the data is input and the code is completed, the switch of the A channel and the B channel are switched to the other end, and the switch of the A channel is connected with the output of the third shift register, and the switch of the B channel is connected and connected. The ground is connected. At this time, the output of the third shift register is output as the tail bit, and is simultaneously input to the first adder via the connected switch. The component code encoder clears the three registers by receiving three tail bits and performing the same processing as described above, thereby completing the grid image zeroing end operation. During the zeroing end operation, the output check bit is the check bit of the tail bit. Embodiment 2:
本实施例中, 所使用的分量码、 组成器件与实施例一均相同, 如图 4b 所示, 不同的是: A路上的切换开关与第一加法器的位置和实施例一不同, 原始输入数据 A先进入第一加法器, 第一加法器的输出再经过闭合的切换 开关输入到第一移位寄存器和第三加法器; 并且, A路上的切换开关也设 置有接地端, 在切换开关切换时接地。  In this embodiment, the component code and the component device used are the same as those in the first embodiment, as shown in FIG. 4b, and the difference is: the position of the switch on the A road is different from that of the first adder, and the original input is different. The data A first enters the first adder, and the output of the first adder is input to the first shift register and the third adder through the closed switch; and the switch on the A channel is also provided with the ground terminal, at the switch Ground when switching.
A路上的切换开关在第一加法器的输出端与接地端之间切换, B路上的 切换开关在原始数据输入端与接地端之间切换。 实施例三:  The switch on the A channel is switched between the output of the first adder and the ground, and the switch on the B switch is switched between the original data input and the ground. Embodiment 3:
本实施例中, 所使用的分量码为 (11, 15 ), 该分量码的反馈多项式以 八进制数表示为 11, 前馈多项式以八进制数表示为 15。  In this embodiment, the component code used is (11, 15), the feedback polynomial of the component code is represented by an octal number, and the feedforward polynomial is represented by an octal number of 15.
如图 5a所示, 本实施例的分量码编码器包括三个移位寄存器、 五个加 法器、 一对切换开关, 该分量码编码器具有 A和 B两路输入, 在两路的输 入端分别设置有一个切换开关。 其中, 加法器按输入到输出的方向依次称 为第一至第五加法器, 移位寄存器按输入到输出的方向依次称为第一至第 三移位寄存器。 B路的输入同时连接至第一、 第三、 第四加法器; A路上, 在切换开关与第一移位寄存器之间设置有第一加法器, 第一、 第二移位寄 存器之间设置有第三加法器, 第二、 第三移位寄存器之间设置有第四加法 器, 第一加法器的输出与第一移位寄存器的输出连接至第二加法器, 第二 加法器的输出与第三移位寄存器的输出连接至第五加法器; 第三移位寄存 器的输出还连至第一加法器。 As shown in FIG. 5a, the component code encoder of this embodiment includes three shift registers, five adders, and a pair of switchers, and the component code encoder has two inputs A and B, at the input ends of the two channels. There is a separate switch. The adders are sequentially referred to as first to fifth adders in the direction of input to output, and the shift registers are sequentially referred to as first to third shift registers in the direction of input to output. The input of the B channel is simultaneously connected to the first, third, and fourth adders; on the A path, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are disposed. There is a third adder, and a fourth adder is disposed between the second and third shift registers, the output of the first adder and the output of the first shift register are connected to the second adder, and the output of the second adder And an output of the third shift register is connected to the fifth adder; the third shift register The output of the device is also connected to the first adder.
A路上的切换开关在原始数据输入端与第三移位寄存器的输出端之间 切换, B路上的切换开关在原始数据输入端与接地端之间切换。  The switch on the A channel is switched between the original data input terminal and the output terminal of the third shift register, and the switch on the B switch is switched between the original data input terminal and the ground terminal.
当有输入数据时,切换开关分别闭合至 A路和 B路的原始数据输入端, 原始输入数据 A经过闭合的切换开关与原始输入数据 B、 第三移位寄存器 的输出在第一加法器中做运算, 运算结果存储于第一移位寄存器中, 同时 运算结果输入第二加法器; 第一移位寄存器的输出与原始输入数据 B在第 三加法器中做运算, 运算结果存储于第二移位寄存器中; 第一移位寄存器 的输出输入到第二加法器, 与第一加法器的输出在第二加法器中做运算, 运算结果输出至第五加法器; 第二移位寄存器的输出输入到第四加法器, 与原始输入数据 B在第四加法器中做运算, 运算结果存储于第三移位寄存 器; 第三移位寄存器的输出与第二加法器的输出在第五加法器中做运算, 运算结果作为校验位比特序列输出; 第三移位寄存器的输出反馈输入第一 加法器。  When there is input data, the switch is respectively closed to the original data input terminals of the A and B channels, and the original input data A passes through the closed switch and the original input data B, and the output of the third shift register is in the first adder. The operation is performed, and the operation result is stored in the first shift register, and the operation result is input to the second adder; the output of the first shift register and the original input data B are operated in the third adder, and the operation result is stored in the second In the shift register; the output of the first shift register is input to the second adder, and the output of the first adder is operated in the second adder, and the operation result is output to the fifth adder; the second shift register is The output is input to the fourth adder, and the original input data B is operated in the fourth adder, and the operation result is stored in the third shift register; the output of the third shift register and the output of the second adder are in the fifth addition The operation is performed in the device, and the operation result is output as a check bit sequence; the output of the third shift register is fed back to the first adder.
当所有数据输入完毕并完成编码后, A路和 B路的切换开关切换至另 一端, A路的切换开关与第三移位寄存器的输出相连, B路的切换开关与接 地端相连。 此时, 第三移位寄存器的输出作为尾比特输出, 同时经过相连 的切换开关反馈输入到第一加法器。 分量码编码器通过接收三个尾比特, 并进行上述相同的处理过程来清空三个寄存器, 从而完成网格图归零结尾 操作。 在归零结尾的操作过程中, 所输出的校验位比特为尾比特的校验位 比特。 实施例四:  When all the data is input and the code is completed, the switch of the A channel and the B channel are switched to the other end, the switch of the A channel is connected to the output of the third shift register, and the switch of the B channel is connected to the ground terminal. At this time, the output of the third shift register is output as the tail bit, and is simultaneously input to the first adder via the connected switch. The component code encoder clears the three registers by receiving three tail bits and performing the same processing as described above, thereby completing the grid image zeroing end operation. During the zeroing end operation, the output check bit is the check bit of the tail bit. Embodiment 4:
本实施例中, 所使用的分量码、 组成器件与实施例三均相同, 如图 5b 所示, 不同的是: A路上的切换开关与第一加法器的位置和实施例三不同, 原始输入数据 A先进入第一加法器, 第一加法器的输出再经过闭合的切换 开关输入到第一移位寄存器和第二加法器; 并且, A路上的切换开关也设 置有接地端, 在切换开关切换时接地。 In this embodiment, the component code and the component device used are the same as those in the third embodiment, as shown in FIG. 5b, and the difference is: the position of the switch on the A road is different from that of the first adder, and the original input is different. Data A first enters the first adder, and the output of the first adder is switched again. The switch is input to the first shift register and the second adder; and, the switch on the A road is also provided with a ground terminal, and is grounded when the switch is switched.
A路上的切换开关在第一加法器的输出端与接地端之间切换, B路上的 切换开关在原始数据输入端与接地端之间切换。 实施例五:  The switch on the A channel is switched between the output of the first adder and the ground, and the switch on the B switch is switched between the original data input and the ground. Embodiment 5:
本实施例中, 所使用的分量码为 (13, 11 ), 该分量码的反馈多项式以 八进制数表示为 13, 前馈多项式以八进制数表示为 11。  In this embodiment, the component code used is (13, 11), the feedback polynomial of the component code is represented by an octal number, and the feedforward polynomial is represented by an octal number of 11.
如图 6a所示, 本实施例的分量码编码器包括三个移位寄存器、 五个加 法器、 一对切换开关, 该分量码编码器具有 A和 B两路输入, 在两路的输 入端分别设置有一个切换开关。 其中, 加法器按输入到输出的方向依次称 为第一至第五加法器, 移位寄存器按输入到输出的方向依次称为第一至第 三移位寄存器。 B路的输入同时连接至第一、 第二、 第四加法器; A路上, 在切换开关与第一移位寄存器之间设置有第一加法器, 第一、 第二移位寄 存器之间设置有第二加法器, 第二、 第三移位寄存器之间设置有第四加法 器, 第一加法器的输出与第三移位寄存器的输出连接至第五加法器, 第二 移位寄存器和第三移位寄存器的输出连接至第三加法器; 第三加法器的输 出连至第一加法器。  As shown in FIG. 6a, the component code encoder of this embodiment includes three shift registers, five adders, and a pair of switchers, and the component code encoder has two inputs A and B, at the input ends of the two channels. There is a separate switch. The adders are sequentially referred to as first to fifth adders in the direction of input to output, and the shift registers are sequentially referred to as first to third shift registers in the direction of input to output. The input of the B channel is simultaneously connected to the first, second, and fourth adders; on the A path, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are disposed. There is a second adder, and a fourth adder is disposed between the second and third shift registers, the output of the first adder and the output of the third shift register are connected to the fifth adder, the second shift register and The output of the third shift register is coupled to a third adder; the output of the third adder is coupled to the first adder.
A路上的切换开关在原始数据输入端与第三加法器的输出端之间切换, B路上的切换开关在原始数据输入端与接地端之间切换。  The switch on the A road switches between the original data input terminal and the output terminal of the third adder, and the switch on the B switch switches between the original data input terminal and the ground terminal.
当有输入数据时,切换开关分别闭合至 A路和 B路的原始数据输入端, 原始输入数据 A经过闭合的切换开关与原始输入数据 B、 第三加法器的输 出在第一加法器中做运算, 运算结果存储于第一移位寄存器中, 同时运算 结果输入第五加法器; 第一移位寄存器的输出与原始输入数据 B在第二加 法器中做运算, 运算结果存储于第二移位寄存器中; 第二移位寄存器的输 出输入到第四加法器, 与原始输入数据 B在第四加法器中做运算, 运算结 果存储于第三移位寄存器; 第二移位寄存器的输出还输入到第三加法器, 与第三移位寄存器的输出在第三加法器中做运算, 运算结果输出至第一加 法器; 第三移位寄存器的输出与第一加法器的输出在第五加法器中做运算, 运算结果作为校验位比特序列输出。 When there is input data, the switch is respectively closed to the original data input terminals of the A and B channels, and the original input data A is passed through the closed switch and the original input data B, and the output of the third adder is made in the first adder. The operation result is stored in the first shift register, and the operation result is input to the fifth adder; the output of the first shift register and the original input data B are operated in the second adder, and the operation result is stored in the second shift In the bit register; the output of the second shift register is input to the fourth adder, and the original input data B is operated in the fourth adder, and the operation is performed The result is stored in the third shift register; the output of the second shift register is further input to the third adder, and the output of the third shift register is operated in the third adder, and the operation result is output to the first adder; The output of the third shift register and the output of the first adder are operated in a fifth adder, and the result of the operation is output as a check bit sequence.
当所有数据输入完毕并完成编码后, A路和 B路的切换开关切换至另 一端, A路的切换开关与第三加法器的输出相连, B路的切换开关与接地端 相连。 此时, 第三移位寄存器的输出作为尾比特输出, 同时经过相连的切 换开关反馈输入到第一加法器。 分量码编码器通过接收三个尾比特, 并进 行上述相同的处理过程来清空三个寄存器, 从而完成网格图归零结尾操作。 在归零结尾的操作过程中, 所输出的校验位比特为尾比特的校验位比特。 实施例六:  When all the data is input and the code is completed, the switch of the A and B switches to the other end, the switch of the A is connected to the output of the third adder, and the switch of the B is connected to the ground. At this time, the output of the third shift register is output as the tail bit, and is simultaneously fed back to the first adder via the connected switching switch. The component code encoder clears the three registers by receiving three tail bits and performing the same processing as described above, thereby completing the grid image zeroing end operation. During the zeroing end operation, the output check bit is the check bit of the tail bit. Example 6:
本实施例中, 所使用的分量码、 组成器件与实施例五均相同, 如图 6b 所示, 不同的是: A路上的切换开关与第一加法器的位置和实施例五不同, 原始输入数据 A先进入第一加法器, 第一加法器的输出再经过闭合的切换 开关输入到第一移位寄存器和第五加法器; 并且, A路上的切换开关也设 置有接地端, 在切换开关切换时接地。  In this embodiment, the component code and the component device used are the same as those in the fifth embodiment, as shown in FIG. 6b, the difference is: the position of the switch on the A road and the first adder are different from the fifth embodiment, the original input The data A first enters the first adder, and the output of the first adder is input to the first shift register and the fifth adder through the closed switch; and the switch on the A road is also provided with the ground terminal, at the switch Ground when switching.
A路上的切换开关在第一加法器的输出端与接地端之间切换, B路上的 切换开关在原始数据输入端与接地端之间切换。 实施例七:  The switch on the A channel is switched between the output of the first adder and the ground, and the switch on the B switch is switched between the original data input and the ground. Example 7:
本实施例中, 所使用的分量码为 (13, 15 ), 该分量码的反馈多项式以 八进制数表示为 13, 前馈多项式以八进制数表示为 15。 该分量码与 3GPP Turbo 码的分量码结构有些相似。 本实施例的不同之处是: 分量码为 Duo-binary的编码方式, 采用的是双输入的结构; 使用双层交织器结构。  In this embodiment, the component code used is (13, 15), the feedback polynomial of the component code is represented by an octal number, and the feedforward polynomial is represented by an octal number of 15. This component code is somewhat similar to the component code structure of the 3GPP Turbo code. The difference in this embodiment is: The component code is a Duo-binary coding mode, which adopts a dual-input structure; and uses a double-layer interleaver structure.
如图 7a所示, 本实施例的分量码编码器包括三个移位寄存器、 六个加 法器、 一对切换开关, 该分量码编码器具有 A和 B两路输入, 在两路的输 入端分别设置有一个切换开关。 其中, 加法器按输入到输出的方向依次称 为第一至第六加法器, 移位寄存器按输入到输出的方向依次称为第一至第 三移位寄存器。 B路的输入同时连接至第一、 第三、 第五加法器; A路上, 在切换开关与第一移位寄存器之间设置有第一加法器, 第一、 第二移位寄 存器之间设置有第三加法器, 第二、 第三移位寄存器之间设置有第五加法 器, 第一加法器的输出与第一移位寄存器的输出连接至第二加法器, 第二 加法器的输出与第三移位寄存器的输出连接至第六加法器; 第二移位寄存 器和第三移位寄存器的输出连接至第四加法器; 第四加法器的输出连至第 一加法器。 As shown in FIG. 7a, the component code encoder of this embodiment includes three shift registers, six adders, and a pair of switchers, and the component code encoder has two inputs of A and B, and inputs in two paths. The switch is provided with a switch. The adders are sequentially referred to as first to sixth adders in the direction of input to output, and the shift registers are sequentially referred to as first to third shift registers in the direction of input to output. The input of the B channel is simultaneously connected to the first, third, and fifth adders; on the A path, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are set There is a third adder, and a fifth adder is disposed between the second and third shift registers, the output of the first adder and the output of the first shift register are connected to the second adder, and the output of the second adder The output of the third shift register is coupled to the sixth adder; the outputs of the second shift register and the third shift register are coupled to a fourth adder; the output of the fourth adder is coupled to the first adder.
A路上的切换开关在原始数据输入端与第四加法器的输出端之间切换, B路上的切换开关在原始数据输入端与接地端之间切换。  The switch on the A channel switches between the original data input terminal and the output terminal of the fourth adder, and the switch on the B switch switches between the original data input terminal and the ground terminal.
当有输入数据时,切换开关分别闭合至 A路和 B路的原始数据输入端, 原始输入数据 A经过闭合的切换开关与原始输入数据 B、 第四加法器的输 出在第一加法器中做运算, 运算结果存储于第一移位寄存器中, 同时运算 结果输入第二加法器; 第一移位寄存器的输出与原始输入数据 B在第三加 法器中做运算, 运算结果存储于第二移位寄存器中; 第一移位寄存器的输 出输入到第二加法器, 与第一加法器的输出在第二加法器中做运算, 运算 结果输出至第六加法器; 第二移位寄存器的输出输入到第五加法器, 与原 始输入数据 B在第五加法器中做运算, 运算结果存储于第三移位寄存器; 第二移位寄存器的输出输入到第四加法器, 与第三移位寄存器的输出在第 四加法器中做运算, 运算结果送至第一加法器; 第三移位寄存器的输出与 第二加法器的输出在第六加法器中做运算, 运算结果作为校验位比特序列 输出。  When there is input data, the switch is closed to the original data input terminals of the A and B channels respectively, and the original input data A is passed through the closed switch and the original input data B, and the output of the fourth adder is made in the first adder. The operation result is stored in the first shift register, and the operation result is input to the second adder; the output of the first shift register and the original input data B are operated in the third adder, and the operation result is stored in the second shift In the bit register; the output of the first shift register is input to the second adder, and the output of the first adder is operated in the second adder, and the operation result is output to the sixth adder; the output of the second shift register Input to the fifth adder, and the original input data B is operated in the fifth adder, the operation result is stored in the third shift register; the output of the second shift register is input to the fourth adder, and the third shift The output of the register is operated in the fourth adder, and the result of the operation is sent to the first adder; the output of the third shift register and the output of the second adder A sixth adder operation done, the operation result as a parity bit output bit sequence.
当所有数据输入完毕并完成编码后, A路和 B路的切换开关切换至另 一端, A路的切换开关与第四加法器的输出相连, B路的切换开关与接地端 相连。 此时, 第四加法器的输出作为尾比特输出, 同时经过相连的切换开 关反馈输入到第一加法器。 分量码编码器通过接收三个尾比特, 并进行上 述相同的处理过程来清空三个寄存器, 从而完成网格图归零结尾操作。 在 归零结尾的操作过程中, 所输出的校验位比特为尾比特的校验位比特。 实施例八: After all the data is input and the code is completed, the switch of the A and B roads is switched to the other end, and the switch of the A channel is connected with the output of the fourth adder, and the switch of the B channel and the ground end are connected. Connected. At this time, the output of the fourth adder is output as the tail bit, and is simultaneously input to the first adder via the connected switch. The component code encoder clears the three registers by receiving three tail bits and performing the same processing as described above, thereby completing the grid image zeroing end operation. During the zeroing end operation, the output check bit is the check bit of the tail bit. Example 8:
本实施例中, 所使用的分量码、 组成器件与实施例七均相同, 如图 7b 所示, 不同的是: A路上的切换开关与第一加法器的位置和实施例七不同, 原始输入数据 A先进入第一加法器, 第一加法器的输出再经过闭合的切换 开关输入到第一移位寄存器和第二加法器; 并且, A路上的切换开关也设 置有接地端, 在切换开关切换时接地。  In this embodiment, the component code and the component device used are the same as those in the seventh embodiment, as shown in FIG. 7b, and the difference is: the position of the switch on the A road is different from that of the first adder, and the original input is different. The data A first enters the first adder, and the output of the first adder is input to the first shift register and the second adder through the closed switch; and the switch on the A road is also provided with the ground terminal, at the switch Ground when switching.
A路上的切换开关在第一加法器的输出端与接地端之间切换, B路上的 切换开关在原始数据输入端与接地端之间切换。 实施例九:  The switch on the A channel is switched between the output of the first adder and the ground, and the switch on the B switch is switched between the original data input and the ground. Example 9:
本实施例中, 所使用的分量码为 (13, 17), 该分量码的反馈多项式以 八进制数表示为 13, 前馈多项式以八进制数表示为 17。  In this embodiment, the component code used is (13, 17), the feedback polynomial of the component code is represented by an octal number, and the feedforward polynomial is represented by an octal number of 17.
如图 8a所示, 本实施例的分量码编码器包括三个移位寄存器、 七个加 法器、 一对切换开关, 该分量码编码器具有 A和 B两路输入, 在两路的输 入端分别设置有一个切换开关。 其中, 加法器按输入到输出的方向依次称 为第一至第七加法器, 在同一节点的两个加法器, 上方的为序号在前的加 法器, 移位寄存器按输入到输出的方向依次称为第一至第三移位寄存器。 B 路的输入同时连接至第一、 第三、 第六加法器; A 路上, 在切换开关与第 一移位寄存器之间设置有第一加法器, 第一、 第二移位寄存器之间设置有 第三加法器, 第二、 第三移位寄存器之间设置有第六加法器, 第一加法器 的输出与第一移位寄存器的输出连接至第二加法器, 第二加法器的输出与 第二移位寄存器的输出连接至第四加法器; 第四加法器的输出与第三移位 寄存器的输出连接至第七加法器; 第二移位寄存器和第三移位寄存器的输 出连接至第五加法器; 第五加法器的输出连至第一加法器。 As shown in FIG. 8a, the component code encoder of this embodiment includes three shift registers, seven adders, and a pair of switchers having two inputs A and B, at the input of the two channels. There is a separate switch. Wherein, the adder is sequentially referred to as the first to seventh adders in the direction of input to output, and the two adders in the same node are the adders with the preceding number in the upper direction, and the shift registers are sequentially input to the output direction. They are called first to third shift registers. The input of the B channel is simultaneously connected to the first, third, and sixth adders; on the A, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are set There is a third adder, and a sixth adder is disposed between the second and third shift registers, the output of the first adder and the output of the first shift register are connected to the second adder, and the output of the second adder And an output of the second shift register is connected to the fourth adder; the output of the fourth adder and the third shift The output of the register is coupled to a seventh adder; the outputs of the second shift register and the third shift register are coupled to a fifth adder; the output of the fifth adder is coupled to the first adder.
A路上的切换开关在原始数据输入端与第五加法器的输出端之间切换, B路上的切换开关在原始数据输入端与接地端之间切换。  The switch on the A channel switches between the original data input terminal and the output terminal of the fifth adder, and the switch on the B switch switches between the original data input terminal and the ground terminal.
当有输入数据时,切换开关分别闭合至 A路和 B路的原始数据输入端, 原始输入数据 A经过闭合的切换开关与原始输入数据 B、 第五加法器的输 出在第一加法器中做运算, 运算结果存储于第一移位寄存器中, 同时运算 结果输入第二加法器; 第一移位寄存器的输出与原始输入数据 B在第三加 法器中做运算, 运算结果存储于第二移位寄存器中; 第一移位寄存器的输 出输入到第二加法器, 与第一加法器的输出在第二加法器中做运算, 运算 结果输出至第四加法器; 第二移位寄存器的输出输入到第六加法器, 与原 始输入数据 B在第六加法器中做运算, 运算结果存储于第三移位寄存器; 第二移位寄存器的输出输入到第五加法器, 与第三移位寄存器的输出在第 五加法器中做运算, 运算结果送至第一加法器; 第二移位寄存器的输出还 输入到第四加法器, 与第二加法器的输出在第四加法器中做运算, 运算结 果送至第七加法器; 第三移位寄存器的输出与第四加法器的输出在第七加 法器中做运算, 运算结果作为校验位比特序列输出。  When there is input data, the switch is closed to the original data input terminals of the A and B channels, and the original input data A is passed through the closed switch and the original input data B, and the output of the fifth adder is made in the first adder. The operation result is stored in the first shift register, and the operation result is input to the second adder; the output of the first shift register and the original input data B are operated in the third adder, and the operation result is stored in the second shift In the bit register; the output of the first shift register is input to the second adder, and the output of the first adder is operated in the second adder, and the operation result is output to the fourth adder; the output of the second shift register Input to the sixth adder, and the original input data B is operated in the sixth adder, the operation result is stored in the third shift register; the output of the second shift register is input to the fifth adder, and the third shift The output of the register is operated in the fifth adder, and the result of the operation is sent to the first adder; the output of the second shift register is also input to the fourth adder And the output of the second adder is operated in the fourth adder, and the operation result is sent to the seventh adder; the output of the third shift register and the output of the fourth adder are operated in the seventh adder, and the operation result Output as a check bit sequence.
当所有数据输入完毕并完成编码后, A路和 B路的切换开关切换至另 一端, A路的切换开关与第五加法器的输出相连, B路的切换开关与接地端 相连。 此时, 第五加法器的输出作为尾比特输出, 同时经过相连的切换开 关反馈输入到第一加法器。 分量码编码器通过接收三个尾比特, 并进行上 述相同的处理过程来清空三个寄存器, 从而完成网格图归零结尾操作。 在 归零结尾的操作过程中, 所输出的校验位比特为尾比特的校验位比特。 实施例十:  When all the data is input and the code is completed, the switch of A and B switches to the other end, the switch of A is connected to the output of the fifth adder, and the switch of B is connected to the ground. At this time, the output of the fifth adder is output as the tail bit, and is simultaneously input to the first adder via the connected switching switch feedback. The component code encoder clears the three registers by receiving three tail bits and performing the same processing as described above, thereby completing the grid image zeroing end operation. During the return-to-zero operation, the output check bit is the check bit of the tail bit. Example 10:
本实施例中, 所使用的分量码、 组成器件与实施例九均相同, 如图 8b 所示, 不同的是: A路上的切换开关与第一加法器的位置和实施例九不同, 原始输入数据 A先进入第一加法器, 第一加法器的输出再经过闭合的切换 开关输入到第一移位寄存器和第二加法器; 并且, A路上的切换开关也设 置有接地端, 在切换开关切换时接地。 In this embodiment, the component code and the component device used are the same as those in the embodiment 9, as shown in FIG. 8b. As shown, the difference is: the switch on the A path is different from the position of the first adder and the embodiment 9. The original input data A first enters the first adder, and the output of the first adder is input to the closed switch. The first shift register and the second adder; and, the switch on the A road is also provided with a ground terminal, and is grounded when the switch is switched.
A路上的切换开关在第一加法器的输出端与接地端之间切换, B路上的 切换开关在原始数据输入端与接地端之间切换。 实施例十一:  The switch on the A channel is switched between the output of the first adder and the ground, and the switch on the B switch is switched between the original data input and the ground. Example 11:
本实施例中, 所使用的分量码为 (15, 11 ), 该分量码的反馈多项式以 八进制数表示为 15, 前馈多项式以八进制数表示) 为 11。  In this embodiment, the component code used is (15, 11), the feedback polynomial of the component code is expressed as an octal number, and the feedforward polynomial is expressed as an octal number.
如图 9a所示, 本实施例的分量码编码器包括三个移位寄存器、 五个加 法器、 一对切换开关, 该分量码编码器具有 A和 B两路输入, 在两路的输 入端分别设置有一个切换开关。 其中, 加法器按输入到输出的方向依次称 为第一至第五加法器, 移位寄存器按输入到输出的方向依次称为第一至第 三移位寄存器。 B路的输入同时连接至第一、 第三、 第四加法器; A路上, 在切换开关与第一移位寄存器之间设置有第一加法器, 第一、 第二移位寄 存器之间设置有第三加法器, 第二、 第三移位寄存器之间设置有第四加法 器, 第一加法器的输出与第三移位寄存器的输出连接至第五加法器; 第一 移位寄存器和第三移位寄存器的输出连接至第二加法器; 第二加法器的输 出连至第一加法器。  As shown in FIG. 9a, the component code encoder of this embodiment includes three shift registers, five adders, and a pair of switchers, and the component code encoder has two inputs A and B, at the input ends of the two channels. There is a separate switch. The adders are sequentially referred to as first to fifth adders in the direction of input to output, and the shift registers are sequentially referred to as first to third shift registers in the direction of input to output. The input of the B channel is simultaneously connected to the first, third, and fourth adders; on the A path, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are disposed. There is a third adder, a fourth adder is disposed between the second and third shift registers, and an output of the first adder and an output of the third shift register are connected to the fifth adder; the first shift register and The output of the third shift register is coupled to a second adder; the output of the second adder is coupled to the first adder.
A路上的切换开关在原始数据输入端与第二加法器的输出端之间切换, B路上的切换开关在原始数据输入端与接地端之间切换。  The switch on the A road switches between the original data input end and the output end of the second adder, and the switch on the B line switches between the original data input end and the ground end.
当有输入数据时,切换开关分别闭合至 A路和 B路的原始数据输入端, 原始输入数据 A经过闭合的切换开关与原始输入数据 B、 第二加法器的输 出在第一加法器中做运算, 运算结果存储于第一移位寄存器中, 同时运算 结果输入第五加法器; 第一移位寄存器的输出与原始输入数据 B在第三加 法器中做运算, 运算结果存储于第二移位寄存器中; 第一移位寄存器的输 出输入到第二加法器, 与第三移位寄存器的输出在第二加法器中做运算, 运算结果输出至第一加法器; 第二移位寄存器的输出输入到第四加法器, 与原始输入数据 B在第四加法器中做运算, 运算结果存储于第三移位寄存 器; 第三移位寄存器的输出与第一加法器的输出在第五加法器中做运算, 运算结果作为校验位比特序列输出。 When there is input data, the switch is respectively closed to the original data input terminals of the A and B channels, and the original input data A is passed through the closed switch and the original input data B, and the output of the second adder is made in the first adder. The operation result is stored in the first shift register, and the operation result is input to the fifth adder; the output of the first shift register and the original input data B are in the third addition The operation is performed in the normalizer, and the operation result is stored in the second shift register; the output of the first shift register is input to the second adder, and the output of the third shift register is operated in the second adder, and the operation result Output to the first adder; the output of the second shift register is input to the fourth adder, and the original input data B is operated in the fourth adder, and the operation result is stored in the third shift register; the third shift register The output of the first adder is operated in the fifth adder, and the result of the operation is output as a check bit sequence.
当所有数据输入完毕并完成编码后, A路和 B路的切换开关切换至另 一端, A路的切换开关与第二加法器的输出相连, B路的切换开关与接地端 相连。 此时, 第二加法器的输出作为尾比特输出, 同时经过相连的切换开 关反馈输入到第一加法器。 分量码编码器通过接收三个尾比特, 并进行上 述相同的处理过程来清空三个寄存器, 从而完成网格图归零结尾操作。 在 归零结尾的操作过程中, 所输出的校验位比特为尾比特的校验位比特。 实施例十二:  When all the data is input and the code is completed, the switch of A and B switches to the other end, the switch of A is connected to the output of the second adder, and the switch of B is connected to the ground. At this time, the output of the second adder is output as the tail bit, and is simultaneously input to the first adder via the connected switching switch feedback. The component code encoder clears the three registers by receiving three tail bits and performing the same processing as described above, thereby completing the grid image zeroing end operation. During the return-to-zero operation, the output check bit is the check bit of the tail bit. Example 12:
本实施例中, 所使用的分量码、 组成器件与实施例十一均相同, 如图 9b所示, 不同的是: A路上的切换开关与第一加法器的位置和实施例十一 不同, 原始输入数据 A先进入第一加法器, 第一加法器的输出再经过闭合 的切换开关输入到第一移位寄存器和第五加法器; 并且, A路上的切换开 关也设置有接地端, 在切换开关切换时接地。  In this embodiment, the component code and the component device used are the same as those in the eleventh embodiment, as shown in FIG. 9b, the difference is that the position of the switch on the A road and the first adder are different from the eleventh embodiment. The original input data A first enters the first adder, and the output of the first adder is input to the first shift register and the fifth adder through the closed switch; and the switch on the A road is also provided with the ground terminal, Ground when the switch is switched.
A路上的切换开关在第一加法器的输出端与接地端之间切换, B路上的 切换开关在原始数据输入端与接地端之间切换。 实施例十三:  The switch on the A channel is switched between the output of the first adder and the ground, and the switch on the B switch is switched between the original data input and the ground. Example 13:
本实施例中, 所使用的分量码为 (15, 13 ), 该分量码的反馈多项式以 八进制数表示为 15, 前馈多项式以八进制数表示为 13。  In this embodiment, the component code used is (15, 13), the feedback polynomial of the component code is represented by an octal number, and the feedforward polynomial is represented by an octal number of 13.
如图 10a所示, 本实施例的分量码编码器包括三个移位寄存器、 六个 加法器、 一对切换开关, 该分量码编码器具有 A和 B两路输入, 在两路的 输入端分别设置有一个切换开关。 其中, 加法器按输入到输出的方向依次 称为第一至第六加法器, 移位寄存器按输入到输出的方向依次称为第一至 第三移位寄存器。 B路的输入同时连接至第一、第三、第五加法器; A路上, 在切换开关与第一移位寄存器之间设置有第一加法器, 第一、 第二移位寄 存器之间设置有第三加法器, 第二、 第三移位寄存器之间设置有第五加法 器, 第一加法器的输出与第二移位寄存器的输出连接至第四加法器; 第四 加法器的输出和第三移位寄存器的输出连接至第六加法器; 第一移位寄存 器和第三移位寄存器的输出连接至第二加法器; 第二加法器的输出连至第 一加法器。 As shown in FIG. 10a, the component code encoder of this embodiment includes three shift registers, six adders, and a pair of switchers, and the component code encoder has two inputs of A and B, in two paths. A switch is provided at the input end. The adders are sequentially referred to as first to sixth adders in the direction of input to output, and the shift registers are sequentially referred to as first to third shift registers in the direction of input to output. The input of the B channel is simultaneously connected to the first, third, and fifth adders; on the A path, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are set There is a third adder, a fifth adder is disposed between the second and third shift registers, and an output of the first adder and an output of the second shift register are connected to the fourth adder; an output of the fourth adder And an output of the third shift register is coupled to the sixth adder; the outputs of the first shift register and the third shift register are coupled to the second adder; the output of the second adder is coupled to the first adder.
A路上的切换开关在原始数据输入端与第二加法器的输出端之间切换, B路上的切换开关在原始数据输入端与接地端之间切换。  The switch on the A road switches between the original data input end and the output end of the second adder, and the switch on the B line switches between the original data input end and the ground end.
当有输入数据时,切换开关分别闭合至 A路和 B路的原始数据输入端, 原始输入数据 A经过闭合的切换开关与原始输入数据 B、 第二加法器的输 出在第一加法器中做运算, 运算结果存储于第一移位寄存器中, 同时运算 结果输入第四加法器; 第一移位寄存器的输出与原始输入数据 B在第三加 法器中做运算, 运算结果存储于第二移位寄存器中; 第一移位寄存器的输 出输入到第二加法器, 与第三移位寄存器的输出在第二加法器中做运算, 运算结果输出至第一加法器; 第二移位寄存器的输出输入到第五加法器, 与原始输入数据 B在第五加法器中做运算, 运算结果存储于第三移位寄存 器; 第二移位寄存器的输出与第一加法器的输出在第四加法器做运算, 运 算结果输出至第六加法器; 第三移位寄存器的输出与第四加法器的输出在 第六加法器中做运算, 运算结果作为校验位比特序列输出。  When there is input data, the switch is respectively closed to the original data input terminals of the A and B channels, and the original input data A is passed through the closed switch and the original input data B, and the output of the second adder is made in the first adder. The operation result is stored in the first shift register, and the operation result is input to the fourth adder; the output of the first shift register and the original input data B are operated in the third adder, and the operation result is stored in the second shift In the bit register; the output of the first shift register is input to the second adder, and the output of the third shift register is operated in the second adder, and the operation result is output to the first adder; the second shift register is The output is input to the fifth adder, and the original input data B is operated in the fifth adder, and the operation result is stored in the third shift register; the output of the second shift register and the output of the first adder are in the fourth addition The operation is performed, and the operation result is output to the sixth adder; the output of the third shift register and the output of the fourth adder are operated in the sixth adder The result of the operation is output as a check bit sequence.
当所有数据输入完毕并完成编码后, A路和 B路的切换开关切换至另 一端, A路的切换开关与第二加法器的输出相连, B路的切换开关与接地端 相连。 此时, 第二加法器的输出作为尾比特输出, 同时经过相连的切换开 关反馈输入到第一加法器。 分量码编码器通过接收三个尾比特, 并进行上 述相同的处理过程来清空三个寄存器, 从而完成网格图归零结尾操作。 在 归零结尾的操作过程中, 所输出的校验位比特为尾比特的校验位比特。 实施例十四: When all the data is input and the code is completed, the switches of the A and B switches are switched to the other end, the switch of the A channel is connected to the output of the second adder, and the switch of the B channel is connected to the ground. At this time, the output of the second adder is output as the tail bit, and is switched on and off at the same time. The feedback is input to the first adder. The component code encoder clears the three registers by receiving three tail bits and performing the same processing as described above, thereby completing the grid image zeroing end operation. During the zeroing end operation, the output check bit is the check bit of the tail bit. Embodiment 14:
本实施例中, 所使用的分量码、 组成器件与实施例十三均相同, 如图 In this embodiment, the component code and the component device used are the same as those in the thirteenth embodiment, as shown in the figure.
10b所示, 不同的是: A路上的切换开关与第一加法器的位置和实施例十三 不同, 原始输入数据 A先进入第一加法器, 第一加法器的输出再经过闭合 的切换开关输入到第一移位寄存器和第四加法器; 并且, A路上的切换开 关也设置有接地端, 在切换开关切换时接地。 10b, the difference is: the switch on the A road is different from the position of the first adder and the thirteenth embodiment, the original input data A first enters the first adder, and the output of the first adder passes through the closed switch Input to the first shift register and the fourth adder; and, the switch on the A road is also provided with a ground terminal, and is grounded when the switch is switched.
A路上的切换开关在第一加法器的输出端与接地端之间切换, B路上的 切换开关在原始数据输入端与接地端之间切换。 实施例十五:  The switch on the A channel is switched between the output of the first adder and the ground, and the switch on the B switch is switched between the original data input and the ground. Example 15:
本实施例中, 所使用的分量码为 (15, 17), 该分量码的反馈多项式以 八进制数表示为 15, 前馈多项式以八进制数表示为 17。  In this embodiment, the component code used is (15, 17), the feedback polynomial of the component code is represented by an octal number, and the feedforward polynomial is represented by an octal number of 17.
如图 11a所示, 本实施例的分量码编码器包括三个移位寄存器、 七个 加法器、 一对切换开关, 该分量码编码器具有 A和 B两路输入, 在两路的 输入端分别设置有一个切换开关。 其中, 加法器按输入到输出的方向依次 称为第一至第七加法器, 在同一节点的两个加法器, 上方的为序号在前的 加法器, 移位寄存器按输入到输出的方向依次称为第一至第三移位寄存器。 B路的输入同时连接至第一、第四、第六加法器; A路上, 在切换开关与第 一移位寄存器之间设置有第一加法器, 第一、 第二移位寄存器之间设置有 第四加法器, 第二、 第三移位寄存器之间设置有第六加法器, 第一加法器 的输出与第一移位寄存器的输出连接至第二加法器, 第二加法器的输出与 第二移位寄存器的输出连接至第五加法器; 第五加法器的输出与第三移位 寄存器的输出连接至第七加法器; 第一移位寄存器和第三移位寄存器的输 出连接至第三加法器; 第三加法器的输出连至第一加法器。 As shown in FIG. 11a, the component code encoder of this embodiment includes three shift registers, seven adders, and a pair of switchers, and the component code encoder has two inputs A and B, at the input ends of the two channels. There is a separate switch. Wherein, the adder is sequentially referred to as the first to seventh adders in the direction of input to output, and the two adders in the same node are the adders with the preceding number in the upper direction, and the shift registers are sequentially input to the output direction. They are called first to third shift registers. The input of the B channel is simultaneously connected to the first, fourth, and sixth adders; on the A, a first adder is disposed between the switch and the first shift register, and the first and second shift registers are set There is a fourth adder, and a sixth adder is disposed between the second and third shift registers, the output of the first adder and the output of the first shift register are connected to the second adder, and the output of the second adder And an output of the second shift register is connected to the fifth adder; an output of the fifth adder and an output of the third shift register are connected to the seventh adder; the input of the first shift register and the third shift register The output is connected to the third adder; the output of the third adder is connected to the first adder.
A路上的切换开关在原始数据输入端与第三加法器的输出端之间切换, B路上的切换开关在原始数据输入端与接地端之间切换。  The switch on the A road switches between the original data input terminal and the output terminal of the third adder, and the switch on the B switch switches between the original data input terminal and the ground terminal.
当有输入数据时,切换开关分别闭合至 A路和 B路的原始数据输入端, 原始输入数据 A经过闭合的切换开关与原始输入数据 B、 第三加法器的输 出在第一加法器中做运算, 运算结果存储于第一移位寄存器中, 同时运算 结果输入第二加法器; 第一移位寄存器的输出与原始输入数据 B在第四加 法器中做运算, 运算结果存储于第二移位寄存器中; 第一移位寄存器的输 出输入到第二加法器, 与第一加法器的输出在第二加法器中做运算, 运算 结果输出至第五加法器; 第二移位寄存器的输出输入到第六加法器, 与原 始输入数据 B在第六加法器中做运算, 运算结果存储于第三移位寄存器; 第一移位寄存器的输出输入到第三加法器, 与第三移位寄存器的输出在第 三加法器中做运算, 运算结果送至第一加法器; 第三移位寄存器的输出与 第五加法器的输出在第七加法器中做运算, 运算结果作为校验位比特序列 输出。  When there is input data, the switch is respectively closed to the original data input terminals of the A and B channels, and the original input data A is passed through the closed switch and the original input data B, and the output of the third adder is made in the first adder. The operation result is stored in the first shift register, and the operation result is input to the second adder; the output of the first shift register and the original input data B are operated in the fourth adder, and the operation result is stored in the second shift In the bit register; the output of the first shift register is input to the second adder, and the output of the first adder is operated in the second adder, and the operation result is output to the fifth adder; the output of the second shift register Input to the sixth adder, and the original input data B is operated in the sixth adder, and the operation result is stored in the third shift register; the output of the first shift register is input to the third adder, and the third shifter The output of the register is operated in the third adder, and the result of the operation is sent to the first adder; the output of the third shift register and the output of the fifth adder A seventh adder operation done, the operation result as a parity bit output bit sequence.
当所有数据输入完毕并完成编码后, A路和 B路的切换开关切换至另 一端, A路的切换开关与第三加法器的输出相连, B路的切换开关与接地端 相连。 此时, 第三加法器的输出作为尾比特输出, 同时经过相连的切换开 关反馈输入到第一加法器。 分量码编码器通过接收三个尾比特, 并进行上 述相同的处理过程来清空三个寄存器, 从而完成网格图归零结尾操作。 在 归零结尾的操作过程中, 所输出的校验位比特为尾比特的校验位比特。 实施例十六:  When all the data is input and the code is completed, the switch of the A and B switches to the other end, the switch of the A is connected to the output of the third adder, and the switch of the B is connected to the ground. At this time, the output of the third adder is output as the tail bit, and is simultaneously input to the first adder via the connected switching switch feedback. The component code encoder clears the three registers by receiving three tail bits and performing the same processing as described above, thereby completing the grid image zeroing end operation. During the return-to-zero operation, the output check bit is the check bit of the tail bit. Example 16:
本实施例中, 所使用的分量码、 组成器件与实施例十五均相同, 如图 l ib所示, 不同的是: A路上的切换开关与第一加法器的位置和实施例十五 不同, 原始输入数据 A先进入第一加法器, 第一加法器的输出再经过闭合 的切换开关输入到第一移位寄存器和第二加法器; 并且, A路上的切换开 关也设置有接地端, 在切换开关切换时接地。 In this embodiment, the component code and the component device used are the same as those in the fifteenth embodiment, as shown in FIG. 1 ib, except that the position of the switch on the A road is different from that of the first adder and the fifteenth embodiment. The original input data A first enters the first adder, and the output of the first adder is closed again. The switch is input to the first shift register and the second adder; and the switch on the A road is also provided with a ground terminal, and is grounded when the switch is switched.
A路上的切换开关在第一加法器的输出端与接地端之间切换, B路上的 切换开关在原始数据输入端与接地端之间切换。  The switch on the A channel is switched between the output of the first adder and the ground, and the switch on the B switch is switched between the original data input and the ground.
上述每种分量码的生成多项式使用了一个前馈多项式, 实际应用中, 也可以同时使用上述的两个或两个以上不同的前馈多项式, 形成其它新的 分量码, 这样能提供更多的校验位输出, 以获得更好的性能。 本发明实施 例还选用以下九种新的分量码:  The generator polynomial of each of the above component codes uses a feedforward polynomial. In practical applications, two or more different feedforward polynomials described above can also be used simultaneously to form other new component codes, which can provide more Check bit output for better performance. The following nine new component codes are also selected in the embodiment of the present invention:
① 分量码为 ( 11, 13, 15 )  1 component code is ( 11, 13, 15 )
该分量码的反馈 ^ :项式以八进制数表示为 11, 前馈多项式以八进制数 表示为 13和 15。  The feedback of the component code ^ : is expressed as an octal number as 11, and the feedforward polynomial is represented by octal numbers as 13 and 15.
② 分量码为 (13, 11, 15 )  2 component code is (13, 11, 15)
该分量码的反馈 ^ :项式以八进制数表示为 13, 前馈多项式以八进制数 表示为 11和 15。  The feedback of the component code ^ : is expressed as an octal number as 13, and the feedforward polynomial is expressed as octal numbers 11 and 15.
③ 分量码为 (13, 11, 17 )  3 component code is (13, 11, 17)
该分量码的反馈 ^ :项式以八进制数表示为 13, 前馈多项式以八进制数 表示为 11和 17。  The feedback of the component code ^ : is expressed as an octal number as 13, and the feedforward polynomial is expressed as octal numbers 11 and 17.
④ 分量码为 (13, 15, 17 )  4 component code is (13, 15, 17)
该分量码的反馈 ^ :项式以八进制数表示为 13, 前馈多项式以八进制数 表示为 15和 17。  The feedback of the component code ^ : is expressed as an octal number as 13, and the feedforward polynomial is expressed as octal numbers 15 and 17.
⑤ 分量码为 (13, 11, 15, 17 )  5 component code is (13, 11, 15, 17)
该分量码的反馈 ^ :项式以八进制数表示为 13, 前馈多项式以八进制数 表示为 11、 15和 17。 表示为 11和 13。 The feedback of the component code ^ is expressed as an octal number of 13, and the feedforward polynomial is represented by octal numbers as 11, 15, and 17. Expressed as 11 and 13.
⑦ 分量码为 (15, 11, 17 )  7 component code is (15, 11, 17)
该分量码的反馈多项式以八进制数表示为 15, 前馈多项式以八进制数 表示为 11和 17。  The feedback polynomial of the component code is expressed as an octal number, and the feedforward polynomial is represented by octal numbers as 11 and 17.
⑧ 分量码为 (15, 13, 17 )  8 component code is (15, 13, 17)
该分量码的反馈多项式以八进制数表示为 15, 前馈多项式以八进制数 表示为 13和 17。  The feedback polynomial of the component code is expressed as an octal number, and the feedforward polynomial is represented by octal numbers as 13 and 17.
⑨ 分量码为 ( 15, 11, 13, 17 )  9 component code is ( 15, 11, 13, 17 )
该分量码的反馈多项式以八进制数表示为 15, 前馈多项式以八进制数 表示为 11、 13和 17。  The feedback polynomial of the component code is expressed as an octal number, and the feedforward polynomial is expressed as octal numbers 11, 13, and 17.
这九种分量码都具有 2个或 2个以上的校验位输出端, 能提供更好的 性能和更丰富的编码速率选择。 这九种分量码同时使用多个图 4至图 11中 八种分量码的前馈多项式。 因此, 在这九种分量码的编码结构中, 所有的 前馈多项式都与图 4至图 11中的八种分量码的前馈多项式是完全相同的; 并且, 这九种分量码中的每种分量码编码器也分别具有图 4至图 11的 a和 b两种方案。  These nine component codes all have 2 or more check digit outputs, which provide better performance and a wider selection of encoding rates. These nine component codes simultaneously use a plurality of feedforward polynomials of eight component codes in Figs. 4 to 11. Therefore, in the coding structures of the nine component codes, all of the feedforward polynomials are identical to the feedforward polynomials of the eight component codes in FIGS. 4 to 11; and, each of the nine component codes The component code encoders also have the two schemes a and b of FIGS. 4 to 11, respectively.
在上述分量码编码器中, 本发明实施例都使用尾比特对双二进制编码 方式进行网格图归零结尾方法(tail bits termination) ,如图 4至图 11所示的 八种较佳分量码编码器的网格图归零结尾方法, 以虚线表示。  In the above component code encoder, the embodiment of the present invention uses a tail bit to perform a truncated binary termination method (tail bits termination), and eight preferred component codes as shown in FIG. 4 to FIG. The encoder's grid map zeroing end method, shown as a dashed line.
在图 4至图 11给出的实现方案 a中, 当数据块全部输入完毕后, 分量 码编码器使用一对切换开关, 断开与原始数据输入端的连接, 而与另外两 端进行连接, BP: A路输入端连接到尾比特的反馈输入, B路输入端连接到 接地端, 进行置零。 这样分量码编码器接收三个尾比特的反馈, 完成网格 图归零结尾操作, 同时输出三个尾比特和三个对应于尾比特的校验位比特。  In the implementation scheme a shown in FIG. 4 to FIG. 11, after all the data blocks are input, the component code encoder uses a pair of switchers to disconnect the original data input terminal and connect with the other two ends, BP : The input of the A channel is connected to the feedback input of the tail bit, and the input of the B channel is connected to the ground terminal for zero setting. Thus, the component code encoder receives the feedback of the three tail bits, completes the grid map zeroing end operation, and simultaneously outputs three tail bits and three parity bits corresponding to the tail bits.
在图 4至图 11的实现方案 b中, 当数据块全部输入完毕后, 分量码编 码器使用一对切换开关, 断开与数据输入端的连接, 并将这一对切换开关 连接到接地端。 此时, 分量码编码器不需要接收尾比特的反馈, 就可以完 成网格图归零结尾操作, 同时输出三个尾比特和三个对应于尾比特的校验 位比特。 In the implementation scheme b of FIG. 4 to FIG. 11, after all the data blocks are input, the component code is compiled. The encoder uses a pair of diverter switches to disconnect the data input and connect the pair of diverters to the ground. At this time, the component code encoder does not need to receive the feedback of the tail bits, and can complete the grid image zeroing end operation, and simultaneously output three tail bits and three check bit bits corresponding to the tail bits.
本发明实施例所采用的 17种分量码都可以采用上述实现方案 a和 b的 两种网格图归零结尾方法。  The 17 component codes used in the embodiments of the present invention can adopt the two grid pattern zeroing end methods of the foregoing implementation schemes a and b.
本发明实施例的双层结构的交织器 33, 进一歩包括外层交织单元和内 层交织单元,分别对原始数据块进行外层交织和内层交织。与 WiMAX CTC 码交织器不同的是, 本发明实施例使用的交织器基于二次置换多项式 (QPP) , 外层交织采用公式 (1 ): The two-layer interleaver 33 of the embodiment of the present invention further includes an outer interleaving unit and an inner interleaving unit, respectively performing outer layer interleaving and inner layer interleaving on the original data block. Different from the WiMAX CTC code interleaver, the interleaver used in the embodiment of the present invention is based on a quadratic permutation polynomial (QPP), and the outer interleaving adopts the formula (1):
Figure imgf000027_0001
Figure imgf000027_0001
内层交织采用这样的处理:根据 i的取值进行内层交织处理,当 i mod 2 = 0时, 将原始数据输入的两路 (Α, Β^交换位置, 变为 (Β^Α), 放在经过 外层交织后的第 j个成对位置。 其中, 内层交织具体可表示为:  The inner layer interleaving adopts a process of performing inner layer interleaving processing according to the value of i. When i mod 2 = 0, the two paths of the original data input (Α, Β^ exchange position, become (Β^Α), Placed in the jth paired position after the outer layer is interwoven. The inner layer interlacing can be expressed as:
For i = 0, ..., Ν-1  For i = 0, ..., Ν-1
if (i mod 2 == 0) , let (Bi5Ai) = (Ai5Bi) (i.e., switch the couple ) 其中, i=0, -, N-1 , i为原始数据块成对位置序号; j=0, -, N-1 , j为数 据块经过外层交织和内层交织后的成对位置序号; N为数据块的成对数目; 和 为二次置换多项式的系数, 可通过计算机搜索、 优化得到。 If (i mod 2 == 0) , let (B i5 Ai) = (A i5 Bi) (ie, switch the couple ) where i=0, -, N-1 , i is the original data block pair position number ; j=0, -, N-1, j are the paired position numbers of the data block after outer layer interleaving and inner layer interleaving; N is the pairwise number of data blocks; and the coefficient of the quadratic permutation polynomial can be passed Computer search, optimized to get.
在本发明实施例的双层交织结构中,经过交织后的数据块的第 j个成对 的比特取自原始数据块的第 i个成对的比特。 其中, 外层交织为对间交织 ( inter-couple interleaving ) , 原始数据块按成对方式使用二次置换多项式 ( QPP ) 进行交织, 保持成对的比特 (A, B ) 相对位置不变。 内层交织为 对内置换 (intra-couple permutation) , 当原始数据块的成对位置序号是偶数 时, 成对的比特 (A, B ) 进行互换, 而奇数位置上的成对的比特 (A, B ) 相对位置固定不变。 与 3GPP Turbo码和 WiMAX Turbo码相比,本发明实施例的性能更好, 且编码复杂度和译码复杂度比较小。 以下通过三个仿真实例来说明本发明 实施例的性能效果, 并与 3GPP Turbo码和 WiMAX Turbo码进行性能对比。 In the two-layer interleaving structure of the embodiment of the present invention, the j-th paired bits of the interleaved data block are taken from the i-th pair of bits of the original data block. The outer layer interleaving is inter-couple interleaving, and the original data block is interleaved in a pairwise manner using a quadratic permutation polynomial (QPP) to keep the relative positions of the paired bits (A, B) unchanged. The inner layer is interlaced as intra-couple permutation. When the paired position numbers of the original data block are even, the paired bits (A, B) are interchanged, and the paired bits at the odd positions ( A, B) The relative position is fixed. Compared with the 3GPP Turbo code and the WiMAX Turbo code, the performance of the embodiment of the present invention is better, and the coding complexity and the decoding complexity are relatively small. The performance effects of the embodiments of the present invention are illustrated by three simulation examples, and performance comparisons are performed with 3GPP Turbo codes and WiMAX Turbo codes.
第一个例子中, 原始数据块大小为 1920比特; 码率 R为 1/2 (不统计尾 比特及其检验位比特); 采用 BPSK调制; 译码算法使用 Max-Log-MAP算法, 迭代次数为 8 次; 信道模型为 AWGN信道; QPP多项式系数 和 参考 LTE 的 QPP交织器系数。本例中,使用实施例一至十六所述的八种分量码编码器, 其生成多项式以八进制数表示分别为 (11, 13)、 (11, 15)、 (13, 11)、 (13, 15)、 (13,17)、 (15,11)、 (15,13)、 (15,17)。 另外, 还给出了在相同的假 设条件下, 3GPPRel.6Turbo码、 LTE Turbo码和 WiMAX Turbo码的性能, 其 中, 需要对 3GPP Rel.6 Turbo码和 LTE Turbo码进行打孔 (puncturing) 来实 现码率 1/2。 打孔方式为 [11; 10; 01] 均匀的、 对称的打孔。  In the first example, the original data block size is 1920 bits; the code rate R is 1/2 (the tail bit and its check bit are not counted); BPSK modulation is used; the decoding algorithm uses the Max-Log-MAP algorithm, the number of iterations 8 times; the channel model is the AWGN channel; the QPP polynomial coefficient and the QPP interleaver coefficient of the reference LTE. In this example, the eight component code encoders described in Embodiments 1 through 16 are used, and the generator polynomial is represented by octal numbers as (11, 13), (11, 15), (13, 11), (13, 15), (13,17), (15,11), (15,13), (15,17). In addition, the performance of 3GPP Rel.6 Turbo code, LTE Turbo code and WiMAX Turbo code under the same assumptions is also given, in which 3GPP Rel.6 Turbo code and LTE Turbo code need to be punctured to achieve The code rate is 1/2. The punching method is [11; 10; 01] uniform, symmetrical punching.
图 12 中横坐标为信噪比 (Eb/No), 以 dB 为单位, 纵坐标为误块率 (BLER), 11条曲线 1201、 1202、 1203、 1204、 1205、 1206、 1207、 1208、 1209、1210、1211依次给出了使用分量码(11, 13)、 (11,15)、 (13,11)、 (13, 15)、 (13, 17)、 (15, 11)、 (15, 13)、 (15, 17) 的 Turbo码性能曲线、 以及 3GPP Rel.6 Turbo码、 LTE Turbo码和 WiMAX Turbo码的性能曲线。  In Figure 12, the abscissa is the signal-to-noise ratio (Eb/No), in dB, the ordinate is the block error rate (BLER), and the 11 curves are 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209. , 1210, 1211 are sequentially given the use of component codes (11, 13), (11, 15), (13, 11), (13, 15), (13, 17), (15, 11), (15, 13), (15, 17) Turbo code performance curve, and performance curves of 3GPP Rel.6 Turbo code, LTE Turbo code and WiMAX Turbo code.
从图 12中可以看出, 本发明实施例的 Turbo编码装置及方法与 3GPP Rel.6 Turbo码、 LTE Turbo码和 WiMAX Turbo码相比, 一般都具有更好性 能。 此外, WiMAX Turbo码的明显缺点是编码和译码复杂度都比较大, 而 本发明实施例的编码和译码复杂度都相对较小。  As can be seen from FIG. 12, the turbo coding apparatus and method of the embodiment of the present invention generally have better performance than the 3GPP Rel.6 Turbo code, the LTE Turbo code, and the WiMAX Turbo code. In addition, the obvious disadvantage of WiMAX Turbo codes is that the coding and decoding complexity is relatively large, and the coding and decoding complexity of the embodiments of the present invention are relatively small.
第二个例子与第三个例子分别是在原始数据块大小为 96比特、 原始数 据块大小约为 4800比特的情况下进行仿真, 其它假设条件与第一个例子相 同。 结果表明, 本发明实施例的 Turbo码编码装置及方法的性能, 优于现 有技术中的 3GPP Rel.6 Turbo码、 LTE Turbo码和 WiMAX Turbo码。 以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。 The second example and the third example are simulated with the original data block size of 96 bits and the original data block size of about 4800 bits. The other assumptions are the same as the first example. The results show that the performance of the Turbo code coding apparatus and method in the embodiment of the present invention is superior to the 3GPP Rel. 6 Turbo code, LTE Turbo code and WiMAX Turbo code in the prior art. The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种 Turbo码编码装置, 其特征在于, 该装置包括: 第一分量码编 码器、 第二分量码编码器和交织器; 其中,  A turbo code encoding apparatus, the device comprising: a first component code encoder, a second component code encoder, and an interleaver;
第一分量码编码器, 接收成对输入的原始数据 A、 B, 进行编码后输出 校验位比特序列 Y1和尾比特序列 Z1;  a first component code encoder, which receives the paired input raw data A, B, and outputs a check bit sequence Y1 and a tail bit sequence Z1;
交织器, 接收成对输入的原始数据 A、 B, 对所接收的数据进行外层和 内层交织处理, 再将交织处理后的数据成对输出至第二分量码编码器;  The interleaver receives the paired input original data A, B, performs outer layer and inner layer interleaving processing on the received data, and outputs the interleaved processed data in pairs to the second component code encoder;
第二分量码编码器, 接收经过交织处理的数据, 进行编码后输出校验 位比特序列 Y2和尾比特序列 Z2;  a second component code encoder, receiving the interleaved data, and encoding the output bit bit sequence Y2 and the tail bit sequence Z2;
所述成对输入的原始数据 A、 B作为系统位成对输出。  The paired input raw data A, B are output as a systematic bit pair.
2、 根据权利要求 1所述的 Turbo码编码装置, 其特征在于, 所述第一 分量码编码器与第二分量码编码器使用相同的分量码编码结构;  2. The turbo code encoding apparatus according to claim 1, wherein the first component code encoder and the second component code encoder use the same component code encoding structure;
所使用的分量码的编码结构包括一个反馈多项式和一个或一个以上前 馈多项式, 所述一个以上前馈多项式为不同的前馈多项式。  The coding structure of the component code used includes a feedback polynomial and one or more feedforward polynomials, the one or more feedforward polynomials being different feedforward polynomials.
3、 根据权利要求 2所述的 Turbo码编码装置, 其特征在于,  3. The turbo code encoding apparatus according to claim 2, wherein:
当所述分量码编码使用一个前馈多项式和一个反馈多项式时, 所使用 的分量码为 (11, 13)、 (11, 15)、 (13, 11)、 (13, 15)、 (13, 17)、 (15, 11)、 (15, 13)、 (15, 17) 中任意一种;  When the component code code uses a feedforward polynomial and a feedback polynomial, the component codes used are (11, 13), (11, 15), (13, 11), (13, 15), (13, 17), (15, 11), (15, 13), (15, 17);
当所述分量码编码使用两个前馈多项式和一个反馈多项式时, 所使用 的分量码为(11, 13, 15)、 (13, 11, 15)、 (13, 11, 17)、 (13, 15, 17)、 (15, 11, 13)、 (15, 11, 17)、 (15, 13, 17) 中任意一种;  When the component code encoding uses two feedforward polynomials and one feedback polynomial, the component codes used are (11, 13, 15), (13, 11, 15), (13, 11, 17), (13 , 15, 17), (15, 11, 13), (15, 11, 17), (15, 13, 17);
当所述分量码编码使用三个前馈多项式和一个反馈多项式时, 所使用 的分量码为 (13, 11, 15, 17)、 (15, 11, 13, 17) 中任意一种;  When the component code encoding uses three feedforward polynomials and one feedback polynomial, the component code used is any one of (13, 11, 15, 17), (15, 11, 13, 17);
其中, 每个括号中的第一个参数为以八进制数表示的分量码的反馈多 项式, 其余参数均为以八进制数表示的分量码的前馈多项式。 The first parameter in each parenthesis is a feedback polynomial of the component code represented by an octal number, and the remaining parameters are feedforward polynomials of the component code expressed in octal numbers.
4、 根据权利要求 2所述的 Turbo码编码装置, 其特征在于, 每个分量 码编码器包括三个移位寄存器、 五个或五个以上加法器以及一对切换开关; 所述每个分量码编码器设置有两路输入, 所述一对切换开关分别设置 于一路输入上; 所述三个移位寄存器在一路上沿输入向输出方向依次排列。 4. The turbo code encoding apparatus according to claim 2, wherein each component code encoder comprises three shift registers, five or more adders, and a pair of switching switches; each of said components The code encoder is provided with two inputs, and the pair of switch switches are respectively disposed on one input; the three shift registers are sequentially arranged along the input to the output direction on one path.
5、 根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每个 分量码编码器使用的分量码为 (11, 13 );  The turbo code encoding apparatus according to claim 4, wherein the component code used by each component code encoder is (11, 13);
所述每个分量码编码器包括三个移位寄存器、 五个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第二、第四加法器; A路上, 在切换开关与第 一移位寄存器之间设置有第一加法器, 第一、 第二移位寄存器之间设置有 第二加法器, 第二、 第三移位寄存器之间设置有第四加法器, 第一加法器 的输出与第二移位寄存器的输出连接至第三加法器, 第三加法器的输出与 第三移位寄存器的输出连接至第五加法器; 第三移位寄存器的输出还连至 第一加法器;  Each of the component code encoders includes three shift registers, five adders, and a pair of switchers, the component code encoders having two inputs A and B, each of which is provided with a switch; The input is simultaneously connected to the first, second, and fourth adders; on the A, a first adder is disposed between the switch and the first shift register, and a second is disposed between the first and second shift registers The adder, the fourth adder is disposed between the second and third shift registers, the output of the first adder and the output of the second shift register are connected to the third adder, and the output of the third adder and the third The output of the shift register is connected to the fifth adder; the output of the third shift register is also connected to the first adder;
A路上的切换开关在原始数据输入端与第三移位寄存器的输出端之间 切换, B 路上的切换开关在原始数据输入端与接地端之间切换; 当有输入 数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数据输入 完毕并完成编码后, 切换开关切换至另一端。  The switch on the A channel switches between the original data input terminal and the output terminal of the third shift register, and the switch on the B switch switches between the original data input terminal and the ground terminal; when there is input data, the A channel and the B channel The switch of the road is closed to the original data input. When all the data is input and the code is completed, the switch is switched to the other end.
6、 根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每个 分量码编码器使用的分量码为 (11, 13 );  The turbo code encoding apparatus according to claim 4, wherein the component code used by each component code encoder is (11, 13);
所述每个分量码编码器包括三个移位寄存器、 五个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第二、第四加法器; A路上, 在原始数据输入 端与切换开关之间设置有第一加法器, 切换开关连接于第一加法器和第一 移位寄存器之间; 第一、 第二移位寄存器之间设置有第二加法器, 第二、 第三移位寄存器之间设置有第四加法器, 第一加法器的输出与第二移位寄 存器的输出连接至第三加法器, 第三加法器的输出与第三移位寄存器的输 出连接至第五加法器; 第三移位寄存器的输出还连至第一加法器; Each of the component code encoders includes three shift registers, five adders, and a pair of switchers, the component code encoders having two inputs A and B, each of which is provided with a switch; The input is simultaneously connected to the first, second, and fourth adders; on the A, a first adder is disposed between the original data input end and the switch, and the switch is connected to the first adder and the first shift register. Between; the first and second shift registers are provided with a second adder, second, A fourth adder is disposed between the third shift register, the output of the first adder and the output of the second shift register are connected to the third adder, and the output of the third adder is connected to the output of the third shift register Up to a fifth adder; the output of the third shift register is further connected to the first adder;
A路和 B路上的切换开关均在原始数据输入端与接地端之间切换; 当 有输入数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数 据输入完毕并完成编码后, 切换开关切换至接地端。  The switches on the A and B roads are switched between the original data input terminal and the ground terminal; when there is input data, the switch switches of the A and B channels are closed to the original data input terminal, and all the data is input and the code is completed. After that, the switch is switched to the ground.
7、 根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每个 分量码编码器使用的分量码为 (11, 15 );  The turbo code encoding apparatus according to claim 4, wherein the component code used by each component code encoder is (11, 15);
所述每个分量码编码器包括三个移位寄存器、 五个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第三、第四加法器; A路上, 在切换开关与第 一移位寄存器之间设置有第一加法器, 第一、 第二移位寄存器之间设置有 第三加法器, 第二、 第三移位寄存器之间设置有第四加法器, 第一加法器 的输出与第一移位寄存器的输出连接至第二加法器, 第二加法器的输出与 第三移位寄存器的输出连接至第五加法器; 第三移位寄存器的输出还连至 第一加法器;  Each of the component code encoders includes three shift registers, five adders, and a pair of switchers, the component code encoders having two inputs A and B, each of which is provided with a switch; The input is simultaneously connected to the first, third, and fourth adders; on the A, a first adder is disposed between the switch and the first shift register, and a third is disposed between the first and second shift registers An adder, a fourth adder is disposed between the second and third shift registers, an output of the first adder and an output of the first shift register are connected to the second adder, and an output of the second adder and the third The output of the shift register is connected to the fifth adder; the output of the third shift register is also connected to the first adder;
A路上的切换开关在原始数据输入端与第三移位寄存器的输出端之间 切换, B 路上的切换开关在原始数据输入端与接地端之间切换; 当有输入 数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数据输入 完毕并完成编码后, 切换开关切换至另一端。  The switch on the A channel switches between the original data input terminal and the output terminal of the third shift register, and the switch on the B switch switches between the original data input terminal and the ground terminal; when there is input data, the A channel and the B channel The switch of the road is closed to the original data input. When all the data is input and the code is completed, the switch is switched to the other end.
8、 根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每个 分量码编码器使用的分量码为 (11, 15 );  The turbo code encoding apparatus according to claim 4, wherein the component code used by each component code encoder is (11, 15);
所述每个分量码编码器包括三个移位寄存器、 五个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第三、第四加法器; A路上, 在原始数据输入 端与切换开关之间设置有第一加法器, 切换开关连接于第一加法器和第一 移位寄存器之间, 第一、 第二移位寄存器之间设置有第三加法器, 第二、 第三移位寄存器之间设置有第四加法器, 第一加法器的输出与第一移位寄 存器的输出连接至第二加法器, 第二加法器的输出与第三移位寄存器的输 出连接至第五加法器; 第三移位寄存器的输出还连至第一加法器; Each of the component code encoders includes three shift registers, five adders, and a pair of switchers, the component code encoders having two inputs A and B, each of which is provided with a switch; Input is connected to the first, third, and fourth adders at the same time; on the A, the raw data is input a first adder is disposed between the end and the switch, the switch is connected between the first adder and the first shift register, and the third adder is disposed between the first and second shift registers, the second A fourth adder is disposed between the third shift register, the output of the first adder and the output of the first shift register are connected to the second adder, and the output of the second adder is connected to the output of the third shift register Up to a fifth adder; the output of the third shift register is further connected to the first adder;
A路和 B路上的切换开关均在原始数据输入端与接地端之间切换; 当 有输入数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数 据输入完毕并完成编码后, 切换开关切换至接地端。  The switches on the A and B roads are switched between the original data input terminal and the ground terminal; when there is input data, the switch switches of the A and B channels are closed to the original data input terminal, and all the data is input and the code is completed. After that, the switch is switched to the ground.
9、 根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每个 分量码编码器使用的分量码为 (13, 11 );  The turbo code encoding apparatus according to claim 4, wherein the component code used by each component code encoder is (13, 11);
所述每个分量码编码器包括三个移位寄存器、 五个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第二、第四加法器; A路上, 在切换开关与第 一移位寄存器之间设置有第一加法器, 第一、 第二移位寄存器之间设置有 第二加法器, 第二、 第三移位寄存器之间设置有第四加法器, 第一加法器 的输出与第三移位寄存器的输出连接至第五加法器, 第二移位寄存器和第 三移位寄存器的输出连接至第三加法器; 第三加法器的输出连至第一加法 器;  Each of the component code encoders includes three shift registers, five adders, and a pair of switchers, the component code encoders having two inputs A and B, each of which is provided with a switch; The input is simultaneously connected to the first, second, and fourth adders; on the A, a first adder is disposed between the switch and the first shift register, and a second is disposed between the first and second shift registers An adder, a fourth adder is disposed between the second and third shift registers, and an output of the first adder and an output of the third shift register are connected to the fifth adder, the second shift register and the third shift The output of the bit register is coupled to the third adder; the output of the third adder is coupled to the first adder;
A路上的切换开关在原始数据输入端与第三加法器的输出端之间切换, B路上的切换开关在原始数据输入端与接地端之间切换; 当有输入数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数据输入完毕并完 成编码后, 切换开关切换至另一端。  The switch on the A road switches between the original data input end and the output end of the third adder, and the switch on the B line switches between the original data input end and the ground end; when there is input data, the A and B roads The switch is closed to the original data input. When all the data is input and the code is completed, the switch is switched to the other end.
10、 根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每 个分量码编码器使用的分量码为 (13, 11 );  The turbo code encoding apparatus according to claim 4, wherein the component code used by each component code encoder is (13, 11);
所述每个分量码编码器包括三个移位寄存器、 五个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第二、第四加法器; A路上, 在原始数据输入 端与切换开关之间设置有第一加法器, 切换开关连接于第一加法器和第一 移位寄存器之间, 第一、 第二移位寄存器之间设置有第二加法器, 第二、 第三移位寄存器之间设置有第四加法器, 第一加法器的输出与第三移位寄 存器的输出连接至第五加法器, 第二移位寄存器和第三移位寄存器的输出 连接至第三加法器; 第三加法器的输出连至第一加法器; Each of the component code encoders includes three shift registers, five adders, and a pair of switching a switch, the component code encoder has two inputs A and B, each of which is provided with a switch; the input of the B channel is simultaneously connected to the first, second, and fourth adders; on the A, at the original data input end A first adder is disposed between the switch and the switch, and the switch is connected between the first adder and the first shift register, and the second adder is disposed between the first and second shift registers, the second and the second A fourth adder is disposed between the three shift registers, the output of the first adder and the output of the third shift register are connected to the fifth adder, and the outputs of the second shift register and the third shift register are connected to the a triple adder; the output of the third adder is connected to the first adder;
A路和 B路上的切换开关均在原始数据输入端与接地端之间切换; 当 有输入数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数 据输入完毕并完成编码后, 切换开关切换至接地端。  The switches on the A and B roads are switched between the original data input terminal and the ground terminal; when there is input data, the switch switches of the A and B channels are closed to the original data input terminal, and all the data is input and the code is completed. After that, the switch is switched to the ground.
11、根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每个 分量码编码器使用的分量码为 (13, 15 );  The turbo code encoding apparatus according to claim 4, wherein the component code used by each component code encoder is (13, 15);
所述每个分量码编码器包括三个移位寄存器、 六个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第三、第五加法器; A路上, 在切换开关与第 一移位寄存器之间设置有第一加法器, 第一、 第二移位寄存器之间设置有 第三加法器, 第二、 第三移位寄存器之间设置有第五加法器, 第一加法器 的输出与第一移位寄存器的输出连接至第二加法器, 第二加法器的输出与 第三移位寄存器的输出连接至第六加法器; 第二移位寄存器和第三移位寄 存器的输出连接至第四加法器; 第四加法器的输出连至第一加法器;  Each of the component code encoders includes three shift registers, six adders, and a pair of switchers, the component code encoders having two inputs A and B, each of which is provided with a switch; The input is simultaneously connected to the first, third, and fifth adders; on the A, a first adder is disposed between the switch and the first shift register, and a third is disposed between the first and second shift registers An adder, a fifth adder is disposed between the second and third shift registers, an output of the first adder and an output of the first shift register are connected to the second adder, and an output of the second adder and the third An output of the shift register is coupled to the sixth adder; an output of the second shift register and the third shift register is coupled to the fourth adder; an output of the fourth adder is coupled to the first adder;
A路上的切换开关在原始数据输入端与第四加法器的输出端之间切换, B路上的切换开关在原始数据输入端与接地端之间切换; 当有输入数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数据输入完毕并完 成编码后, 切换开关切换至另一端。  The switch on the A road is switched between the original data input end and the output end of the fourth adder, and the switch on the B line is switched between the original data input end and the ground end; when there is input data, the A and B roads The switch is closed to the original data input. When all the data is input and the code is completed, the switch is switched to the other end.
12、 根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每 个分量码编码器使用的分量码为 (13, 15 ); The turbo code encoding apparatus according to claim 4, wherein each of said each The component code used by the component code encoder is (13, 15);
所述每个分量码编码器包括三个移位寄存器、 六个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第三、第五加法器; A路上, 在原始数据输入 端与切换开关之间设置有第一加法器, 切换开关连接于第一加法器和第一 移位寄存器之间, 第一、 第二移位寄存器之间设置有第三加法器, 第二、 第三移位寄存器之间设置有第五加法器, 第一加法器的输出与第一移位寄 存器的输出连接至第二加法器, 第二加法器的输出与第三移位寄存器的输 出连接至第六加法器; 第二移位寄存器和第三移位寄存器的输出连接至第 四加法器; 第四加法器的输出连至第一加法器;  Each of the component code encoders includes three shift registers, six adders, and a pair of switchers, the component code encoders having two inputs A and B, each of which is provided with a switch; The input is simultaneously connected to the first, third, and fifth adders; on the A, a first adder is disposed between the original data input end and the switch, and the switch is connected to the first adder and the first shift register. A third adder is disposed between the first and second shift registers, and a fifth adder is disposed between the second and third shift registers, an output of the first adder and an output of the first shift register Connected to the second adder, the output of the second adder and the output of the third shift register are connected to the sixth adder; the outputs of the second shift register and the third shift register are connected to the fourth adder; The output of the adder is connected to the first adder;
A路和 B路上的切换开关均在原始数据输入端与接地端之间切换; 当 有输入数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数 据输入完毕并完成编码后, 切换开关切换至接地端。  The switches on the A and B roads are switched between the original data input terminal and the ground terminal; when there is input data, the switch switches of the A and B channels are closed to the original data input terminal, and all the data is input and the code is completed. After that, the switch is switched to the ground.
13、 根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每 个分量码编码器使用的分量码为 (13, 17);  The turbo code encoding apparatus according to claim 4, wherein the component code used by each component code encoder is (13, 17);
所述每个分量码编码器包括三个移位寄存器、 七个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第三、第六加法器; A路上, 在切换开关与第 一移位寄存器之间设置有第一加法器, 第一、 第二移位寄存器之间设置有 第三加法器, 第二、 第三移位寄存器之间设置有第六加法器, 第一加法器 的输出与第一移位寄存器的输出连接至第二加法器, 第二加法器的输出与 第二移位寄存器的输出连接至第四加法器; 第四加法器的输出与第三移位 寄存器的输出连接至第七加法器; 第二移位寄存器和第三移位寄存器的输 出连接至第五加法器; 第五加法器的输出连至第一加法器;  Each of the component code encoders includes three shift registers, seven adders, and a pair of switchers, the component code encoders having two inputs A and B, each of which is provided with a switch; The input is simultaneously connected to the first, third, and sixth adders; on the A, a first adder is disposed between the switch and the first shift register, and a third is disposed between the first and second shift registers An adder, a sixth adder is disposed between the second and third shift registers, an output of the first adder and an output of the first shift register are connected to the second adder, and the output of the second adder is second The output of the shift register is coupled to the fourth adder; the output of the fourth adder and the output of the third shift register are coupled to the seventh adder; the outputs of the second shift register and the third shift register are coupled to the fifth An adder; the output of the fifth adder is connected to the first adder;
A路上的切换开关在原始数据输入端与第五加法器的输出端之间切换, B路上的切换开关在原始数据输入端与接地端之间切换; 当有输入数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数据输入完毕并完 成编码后, 切换开关切换至另一端。 The switch on the A switch switches between the raw data input and the output of the fifth adder. The switch on the B line switches between the original data input terminal and the ground terminal; when there is input data, the switch of the A channel and the B channel is closed to the original data input terminal, and when all the data is input and the code is completed, the switch is switched. Switch to the other end.
14、 根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每 个分量码编码器使用的分量码为 (13, 17);  The turbo code encoding apparatus according to claim 4, wherein the component code used by each component code encoder is (13, 17);
所述每个分量码编码器包括三个移位寄存器、 七个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第三、第六加法器; A路上, 在原始数据输入 端与切换开关之间设置有第一加法器, 切换开关连接于第一加法器和第一 移位寄存器之间, 第一、 第二移位寄存器之间设置有第三加法器, 第二、 第三移位寄存器之间设置有第六加法器, 第一加法器的输出与第一移位寄 存器的输出连接至第二加法器, 第二加法器的输出与第二移位寄存器的输 出连接至第四加法器; 第四加法器的输出与第三移位寄存器的输出连接至 第七加法器; 第二移位寄存器和第三移位寄存器的输出连接至第五加法器; 第五加法器的输出连至第一加法器;  Each of the component code encoders includes three shift registers, seven adders, and a pair of switchers, the component code encoders having two inputs A and B, each of which is provided with a switch; The input is simultaneously connected to the first, third, and sixth adders; on the A, a first adder is disposed between the original data input end and the switch, and the switch is connected to the first adder and the first shift register. a third adder is disposed between the first and second shift registers, and a sixth adder is disposed between the second and third shift registers, an output of the first adder and an output of the first shift register Connected to the second adder, the output of the second adder and the output of the second shift register are connected to the fourth adder; the output of the fourth adder and the output of the third shift register are connected to the seventh adder; The outputs of the second shift register and the third shift register are connected to the fifth adder; the output of the fifth adder is connected to the first adder;
A路和 B路上的切换开关均在原始数据输入端与接地端之间切换; 当 有输入数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数 据输入完毕并完成编码后, 切换开关切换至接地端。  The switches on the A and B roads are switched between the original data input terminal and the ground terminal; when there is input data, the switch switches of the A and B channels are closed to the original data input terminal, and all the data is input and the code is completed. After that, the switch is switched to the ground.
15、 根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每 个分量码编码器使用的分量码为 (15, 11 );  The turbo code encoding apparatus according to claim 4, wherein the component code used by each component code encoder is (15, 11);
所述每个分量码编码器包括三个移位寄存器、 五个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第三、第四加法器; A路上, 在切换开关与第 一移位寄存器之间设置有第一加法器, 第一、 第二移位寄存器之间设置有 第三加法器, 第二、 第三移位寄存器之间设置有第四加法器, 第一加法器 的输出与第三移位寄存器的输出连接至第五加法器; 第一移位寄存器和第 三移位寄存器的输出连接至第二加法器; 第二加法器的输出连至第一加法 器; Each of the component code encoders includes three shift registers, five adders, and a pair of switchers, the component code encoders having two inputs A and B, each of which is provided with a switch; The input is simultaneously connected to the first, third, and fourth adders; on the A, a first adder is disposed between the switch and the first shift register, and a third is disposed between the first and second shift registers An adder, a fourth adder is disposed between the second and third shift registers, and the first adder The output of the third shift register is coupled to the fifth adder; the outputs of the first shift register and the third shift register are coupled to the second adder; the output of the second adder is coupled to the first adder;
A路上的切换开关在原始数据输入端与第二加法器的输出端之间切换, B路上的切换开关在原始数据输入端与接地端之间切换; 当有输入数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数据输入完毕并完 成编码后, 切换开关切换至另一端。  The switch on the A road switches between the original data input end and the output end of the second adder, and the switch on the B line switches between the original data input end and the ground end; when there is input data, the A and B roads The switch is closed to the original data input. When all the data is input and the code is completed, the switch is switched to the other end.
16、 根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每 个分量码编码器使用的分量码为 (15, 11 );  The turbo code encoding apparatus according to claim 4, wherein the component code used by each component code encoder is (15, 11);
所述每个分量码编码器包括三个移位寄存器、 五个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第三、第四加法器; A路上, 在原始数据输入 端与切换开关之间设置有第一加法器, 切换开关连接于第一加法器和第一 移位寄存器之间, 第一、 第二移位寄存器之间设置有第三加法器, 第二、 第三移位寄存器之间设置有第四加法器, 第一加法器的输出与第三移位寄 存器的输出连接至第五加法器; 第一移位寄存器和第三移位寄存器的输出 连接至第二加法器; 第二加法器的输出连至第一加法器;  Each of the component code encoders includes three shift registers, five adders, and a pair of switchers, the component code encoders having two inputs A and B, each of which is provided with a switch; The input is simultaneously connected to the first, third, and fourth adders; on the A, a first adder is disposed between the original data input end and the switch, and the switch is connected to the first adder and the first shift register. A third adder is disposed between the first and second shift registers, and a fourth adder is disposed between the second and third shift registers, an output of the first adder and an output of the third shift register Connected to the fifth adder; the outputs of the first shift register and the third shift register are connected to the second adder; the output of the second adder is connected to the first adder;
A路和 B路上的切换开关均在原始数据输入端与接地端之间切换; 当 有输入数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数 据输入完毕并完成编码后, 切换开关切换至接地端。  The switches on the A and B roads are switched between the original data input terminal and the ground terminal; when there is input data, the switch switches of the A and B channels are closed to the original data input terminal, and all the data is input and the code is completed. After that, the switch is switched to the ground.
17、 根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每 个分量码编码器使用的分量码为 (15, 13 );  The turbo code encoding apparatus according to claim 4, wherein the component code used by each component code encoder is (15, 13);
所述每个分量码编码器包括三个移位寄存器、 六个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第三、第五加法器; A路上, 在切换开关与第 一移位寄存器之间设置有第一加法器, 第一、 第二移位寄存器之间设置有 第三加法器, 第二、 第三移位寄存器之间设置有第五加法器, 第一加法器 的输出与第二移位寄存器的输出连接至第四加法器; 第四加法器的输出和 第三移位寄存器的输出连接至第六加法器; 第一移位寄存器和第三移位寄 存器的输出连接至第二加法器; 第二加法器的输出连至第一加法器; Each of the component code encoders includes three shift registers, six adders, and a pair of switchers, the component code encoders having two inputs A and B, each of which is provided with a switch; Input is connected to the first, third, and fifth adders at the same time; on the A, in the switch and the first A first adder is disposed between the shift registers, a third adder is disposed between the first and second shift registers, and a fifth adder is disposed between the second and third shift registers, the first addition The output of the second shift register is coupled to the fourth adder; the output of the fourth adder and the output of the third shift register are coupled to a sixth adder; a first shift register and a third shift register The output is connected to the second adder; the output of the second adder is connected to the first adder;
A路上的切换开关在原始数据输入端与第二加法器的输出端之间切换, B路上的切换开关在原始数据输入端与接地端之间切换; 当有输入数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数据输入完毕并完 成编码后, 切换开关切换至另一端。  The switch on the A road switches between the original data input end and the output end of the second adder, and the switch on the B line switches between the original data input end and the ground end; when there is input data, the A and B roads The switch is closed to the original data input. When all the data is input and the code is completed, the switch is switched to the other end.
18、 根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每 个分量码编码器使用的分量码为 (15, 13 );  The turbo code encoding apparatus according to claim 4, wherein the component code used by each component code encoder is (15, 13);
所述每个分量码编码器包括三个移位寄存器、 六个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第三、第五加法器; A路上, 在原始数据输入 端与切换开关之间设置有第一加法器, 切换开关连接于第一加法器和第一 移位寄存器之间, 第一、 第二移位寄存器之间设置有第三加法器, 第二、 第三移位寄存器之间设置有第五加法器, 第一加法器的输出与第二移位寄 存器的输出连接至第四加法器; 第四加法器的输出和第三移位寄存器的输 出连接至第六加法器; 第一移位寄存器和第三移位寄存器的输出连接至第 二加法器; 第二加法器的输出连至第一加法器;  Each of the component code encoders includes three shift registers, six adders, and a pair of switchers, the component code encoders having two inputs A and B, each of which is provided with a switch; The input is simultaneously connected to the first, third, and fifth adders; on the A, a first adder is disposed between the original data input end and the switch, and the switch is connected to the first adder and the first shift register. A third adder is disposed between the first and second shift registers, and a fifth adder is disposed between the second and third shift registers, an output of the first adder and an output of the second shift register Connected to the fourth adder; the output of the fourth adder and the output of the third shift register are connected to the sixth adder; the outputs of the first shift register and the third shift register are connected to the second adder; The output of the adder is connected to the first adder;
A路和 B路上的切换开关均在原始数据输入端与接地端之间切换; 当 有输入数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数 据输入完毕并完成编码后, 切换开关切换至接地端。  The switches on the A and B roads are switched between the original data input terminal and the ground terminal; when there is input data, the switch switches of the A and B channels are closed to the original data input terminal, and all the data is input and the code is completed. After that, the switch is switched to the ground.
19、 根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每 个分量码编码器使用的分量码为 (15, 17); 所述每个分量码编码器包括三个移位寄存器、 七个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第四、第六加法器; A路上, 在切换开关与第 一移位寄存器之间设置有第一加法器, 第一、 第二移位寄存器之间设置有 第四加法器, 第二、 第三移位寄存器之间设置有第六加法器, 第一加法器 的输出与第一移位寄存器的输出连接至第二加法器, 第二加法器的输出与 第二移位寄存器的输出连接至第五加法器; 第五加法器的输出与第三移位 寄存器的输出连接至第七加法器; 第一移位寄存器和第三移位寄存器的输 出连接至第三加法器; 第三加法器的输出连至第一加法器; The turbo code encoding apparatus according to claim 4, wherein the component code used by each component code encoder is (15, 17); Each of the component code encoders includes three shift registers, seven adders, and a pair of switchers, the component code encoders having two inputs A and B, each of which is provided with a switch; The input is simultaneously connected to the first, fourth, and sixth adders; on the A, a first adder is disposed between the switch and the first shift register, and a fourth is disposed between the first and second shift registers An adder, a sixth adder is disposed between the second and third shift registers, an output of the first adder and an output of the first shift register are connected to the second adder, and the output of the second adder is second The output of the shift register is coupled to the fifth adder; the output of the fifth adder and the output of the third shift register are coupled to the seventh adder; the outputs of the first shift register and the third shift register are coupled to the third An adder; the output of the third adder is coupled to the first adder;
A路上的切换开关在原始数据输入端与第三加法器的输出端之间切换, B路上的切换开关在原始数据输入端与接地端之间切换; 当有输入数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数据输入完毕并完 成编码后, 切换开关切换至另一端。  The switch on the A road switches between the original data input end and the output end of the third adder, and the switch on the B line switches between the original data input end and the ground end; when there is input data, the A and B roads The switch is closed to the original data input. When all the data is input and the code is completed, the switch is switched to the other end.
20、 根据权利要求 4所述的 Turbo码编码装置, 其特征在于, 所述每 个分量码编码器使用的分量码为 (15, 17);  The turbo code encoding apparatus according to claim 4, wherein the component code used by each component code encoder is (15, 17);
所述每个分量码编码器包括三个移位寄存器、 七个加法器、 一对切换 开关,所述分量码编码器具有 A和 B两路输入,每路设置有一个切换开关; B路的输入同时连接至第一、第四、第六加法器; A路上, 在原始数据输入 端与切换开关之间设置有第一加法器, 切换开关连接于第一加法器和第一 移位寄存器之间, 第一、 第二移位寄存器之间设置有第四加法器, 第二、 第三移位寄存器之间设置有第六加法器, 第一加法器的输出与第一移位寄 存器的输出连接至第二加法器, 第二加法器的输出与第二移位寄存器的输 出连接至第五加法器; 第五加法器的输出与第三移位寄存器的输出连接至 第七加法器; 第一移位寄存器和第三移位寄存器的输出连接至第三加法器; 第三加法器的输出连至第一加法器; A路和 B路上的切换开关均在原始数据输入端与接地端之间切换; 当 有输入数据时, A路和 B路的切换开关闭合至原始数据输入端, 当所有数 据输入完毕并完成编码后, 切换开关切换至接地端。 Each of the component code encoders includes three shift registers, seven adders, and a pair of switchers, the component code encoders having two inputs A and B, each of which is provided with a switch; The input is simultaneously connected to the first, fourth, and sixth adders; on the A, a first adder is disposed between the original data input end and the switch, and the switch is connected to the first adder and the first shift register. A fourth adder is disposed between the first and second shift registers, and a sixth adder is disposed between the second and third shift registers, an output of the first adder and an output of the first shift register Connected to the second adder, the output of the second adder and the output of the second shift register are connected to the fifth adder; the output of the fifth adder and the output of the third shift register are connected to the seventh adder; An output of a shift register and a third shift register is coupled to a third adder; an output of the third adder is coupled to the first adder; The switches on the A and B roads are switched between the original data input terminal and the ground terminal; when there is input data, the switch switches of the A and B channels are closed to the original data input terminal, and all the data is input and the code is completed. After that, the switch is switched to the ground.
21、 根据权利要求 1所述的 Turbo码编码装置, 其特征在于, 所述交 织器进一歩包括外层交织单元和内层交织单元, 分别对原始数据块进行外 层交织和内层交织。  The turbo code encoding apparatus according to claim 1, wherein the interleaver further comprises an outer interleaving unit and an inner interleaving unit, respectively performing outer layer interleaving and inner layer interleaving on the original data block.
22、 根据权利要求 21所述的 Turbo码编码装置, 其特征在于, 所述外 层交织单元, 用于实现基于二次置换多项式的交织处理;  The turbo code encoding apparatus according to claim 21, wherein the outer layer interleaving unit is configured to implement an interleaving process based on a quadratic permutation polynomial;
所述内层交织单元, 用于在原始数据块的偶数成对位置上, 将成对的 两路数据比特进行位置交换。  The inner layer interleaving unit is configured to perform position exchange of two pairs of data bits in an even pair position of the original data block.
23、 一种 Turbo码编码方法, 其特征在于, 该方法包括:  23. A Turbo code encoding method, the method comprising:
将原始数据分为并行的两组作为成对输入; 对成对输入的两组原始数 据比特流进行第一分量码编码,编码后输出相应的校验位比特序列 Y1和尾 比特序列 Z1 ; 同时,对所述成对输入的两组原始数据比特流进行交织处理, 再对交织处理后的两组数据比特流进行第二分量码编码, 编码后输出相应 的校验位比特序列 Y2和尾比特序列 Z2。  The original data is divided into two groups as parallel inputs; the first component code is encoded by the two sets of original data bit streams input in pairs, and the corresponding check bit sequence Y1 and tail bit sequence Z1 are output after encoding; Interleaving the two sets of original data bit streams of the paired input, and performing second component code encoding on the two sets of data bit streams after interleaving, and outputting corresponding check bit sequence Y2 and tail bits after encoding Sequence Z2.
24、 根据权利要求 23所述的 Turbo码编码方法, 其特征在于, 所述校 验位比特序列 Yl、 Υ2 中包含系统位比特的校验位比特和尾比特的校验位 比特。  The turbo code encoding method according to claim 23, wherein the parity bit sequence Y1, Υ2 includes a parity bit of a systematic bit bit and a parity bit of a tail bit.
25、 根据权利要求 23所述的 Turbo码编码方法, 其特征在于, 第一分 量码编码后和第二分量码编码后分别输出三个尾比特及其对应的校验位比 特。  The turbo code encoding method according to claim 23, wherein the first quantized code is encoded and the second component code is encoded, and three tail bits and their corresponding check bit bits are respectively output.
26、 根据权利要求 23所述的 Turbo码编码方法, 其特征在于, 所述交 织处理包括: 基于二次置换多项式的外层交织处理; 以及在原始数据块的 偶数成对位置上, 将成对的两路数据比特进行位置交换的内层交织处理; 所述外层交织处理使用的二次置换多项式为1= (frj+f2-j2) mod N; 所述内层交织处理为: i值满足 imod2 = 0时, 将原始数据输入的第 i个 成对的两路 (Α,Β^ 交换位置, 变为 (Β^Α), 放在经过外层交织后的第 j 个成对位置; The turbo code encoding method according to claim 23, wherein the interleaving process comprises: outer layer interleaving processing based on a quadratic permutation polynomial; and pairwise in an even pair position of the original data block Two layers of data bits for inner layer interleaving processing for position exchange; The quadratic permutation polynomial used in the outer layer interleaving process is 1 = (frj + f 2 - j 2 ) mod N; the inner layer interleaving process is: when the i value satisfies imod2 = 0, the i data is input to the i th Two pairs of pairs (Α, Β^ exchange position, become (Β^Α), placed in the jth paired position after the outer layer is interwoven;
其中, i为原始数据块成对位置序号, j为数据块经过外层交织和内层交 织后的成对位置序号, N为数据块的成对数目, 和 为二次置换多项式系 数。  Where i is the paired position number of the original data block, j is the paired position number of the data block after outer layer interleaving and inner layer interleaving, N is the pairwise number of data blocks, and is the quadratic permutation polynomial coefficient.
27、 根据权利要求 23所述的 Turbo码编码方法, 其特征在于, 每个分 量码编码使用一个或一个以上前馈多项式和一个反馈多项式, 所述一个以 上前馈多项式为不同的前馈多项式。  The turbo code encoding method according to claim 23, wherein each of the component code codes uses one or more feedforward polynomials and a feedback polynomial, and the one of the above feedforward polynomials is a different feedforward polynomial.
28、 根据权利要求 27所述的 Turbo码编码方法, 其特征在于, 当所述分量码编码使用一个前馈多项式和一个反馈多项式时, 所使用 的分量码为 (11, 13)、 (11, 15)、 (13, 11)、 (13, 15)、 (13, 17)、 (15, 11)、 (15, 13)、 (15, 17) 中任意一种;  The turbo code encoding method according to claim 27, wherein when the component code encoding uses a feedforward polynomial and a feedback polynomial, the component codes used are (11, 13), (11, 15), (13, 11), (13, 15), (13, 17), (15, 11), (15, 13), (15, 17);
当所述分量码编码使用两个前馈多项式和一个反馈多项式时, 所使用 的分量码为(11, 13, 15)、 (13, 11, 15)、 (13, 11, 17)、 (13, 15, 17)、 (15, 11, 13)、 (15, 11, 17)、 (15, 13, 17) 中任意一种;  When the component code encoding uses two feedforward polynomials and one feedback polynomial, the component codes used are (11, 13, 15), (13, 11, 15), (13, 11, 17), (13 , 15, 17), (15, 11, 13), (15, 11, 17), (15, 13, 17);
当所述分量码编码使用三个前馈多项式和一个反馈多项式时, 所使用 的分量码为 (13, 11, 15, 17)、 (15, 11, 13, 17) 中任意一种;  When the component code encoding uses three feedforward polynomials and one feedback polynomial, the component code used is any one of (13, 11, 15, 17), (15, 11, 13, 17);
其中, 每个括号中的第一个参数为以八进制数表示的分量码的反馈多 项式, 其余参数均为以八进制数表示的分量码的前馈多项式。  Wherein, the first parameter in each parenthesis is a feedback polynomial of the component code represented by an octal number, and the remaining parameters are feedforward polynomials of the component code expressed in octal numbers.
29、 一种 Turbo码编码交织器, 其特征在于, 包括外层交织单元和内 层交织单元, 分别对原始数据块进行外层交织和内层交织。  A Turbo code coding interleaver, comprising: an outer layer interleaving unit and an inner layer interleaving unit, respectively performing outer layer interleaving and inner layer interleaving on the original data block.
30、 根据权利要求 29所述的 Turbo码编码交织器, 其特征在于, 所述 外层交织单元, 用于实现基于二次置换多项式的交织处理; 所述内层交织单元, 用于在原始数据块的偶数成对位置上, 将成对的 两路数据比特进行位置交换。 The turbo code encoding interleaver according to claim 29, wherein the outer layer interleaving unit is configured to implement an interleaving process based on a quadratic permutation polynomial; The inner layer interleaving unit is configured to perform position exchange between two pairs of data bits in an even pair position of the original data block.
PCT/CN2008/071650 2007-07-20 2008-07-15 Turbo-code encoding device and its method WO2009012692A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710119355.2 2007-07-20
CN2007101193552A CN101350626B (en) 2007-07-20 2007-07-20 Apparatus for encoding Turbo code and method thereof

Publications (1)

Publication Number Publication Date
WO2009012692A1 true WO2009012692A1 (en) 2009-01-29

Family

ID=40269250

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/071650 WO2009012692A1 (en) 2007-07-20 2008-07-15 Turbo-code encoding device and its method

Country Status (2)

Country Link
CN (1) CN101350626B (en)
WO (1) WO2009012692A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777925B (en) * 2009-01-09 2014-07-16 电信科学技术研究院 Data processing device and method thereof
CN101938282B (en) * 2009-07-01 2013-03-20 中兴通讯股份有限公司 LTE (Long Term Evolution) Turebo encoder parallel processing device and method
CN101807971B (en) * 2010-03-08 2013-03-20 上海华为技术有限公司 Turbo code decoding method and system
CN104811266B (en) * 2014-01-29 2018-01-23 上海数字电视国家工程研究中心有限公司 Bit Interleave, de-interweaving method and corresponding emitter, receiver
CN112865815B (en) * 2019-11-26 2024-01-02 广州海格通信集团股份有限公司 Turbo decoding method, device, turbo decoder and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492589A (en) * 1997-07-30 2004-04-28 三星电子株式会社 Engine encoder and channel encoding method
CN1983827A (en) * 2006-04-25 2007-06-20 华为技术有限公司 Component coder and coding method, double-output Turbo coder and coding method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083512B (en) * 2006-06-02 2011-09-21 中兴通讯股份有限公司 Dual-binary system tailbaiting Turbo code coding method and apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492589A (en) * 1997-07-30 2004-04-28 三星电子株式会社 Engine encoder and channel encoding method
CN1983827A (en) * 2006-04-25 2007-06-20 华为技术有限公司 Component coder and coding method, double-output Turbo coder and coding method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LI SHIHE: "Improved 3G mobile communications technology and post-3G technologies", COMMUNICATIONS WORLD, no. 14, May 2001 (2001-05-01), pages 25 - 26 *

Also Published As

Publication number Publication date
CN101350626B (en) 2012-02-15
CN101350626A (en) 2009-01-21

Similar Documents

Publication Publication Date Title
JP5457535B2 (en) Rate matching and channel interleaving for communication systems
AU2005272268B2 (en) Apparatus and method for encoding and decoding a block low density parity check code
TWI448102B (en) Channel interleaving method, channel interleaver and channel encoding apparatus
US8788919B2 (en) Convolutional turbo coding method and device for implementing the coding method
JP2011528867A (en) Apparatus and method for decoding signals
AU5308699A (en) Device and method for inserting previously known bits in input stage of channel encoder
WO2009012692A1 (en) Turbo-code encoding device and its method
WO2009062425A1 (en) A method for matching turbo code rate and for reading code word bit
TW200929892A (en) Method and apparatus of multi-stage network for iterative decoding
US20050278605A1 (en) Encoder system, a decoder system, a coding/decoding apparatus, an encoding method and a decoding method
WO2007118378A1 (en) Cascade encoding method and apparatus
Alzubi An empirical study of irregular ag block turbo codes over fading channels
US8271848B2 (en) Method of decoding code blocks and system for concatenating code blocks
Yu et al. An improved rate matching algorithm for 3GPP LTE turbo code
KR100628201B1 (en) Method for Turbo Decoding
CN111130572B (en) Turbo code quick realizing method
Gao et al. Triple-binary circular recursive systematic convolutional turbo codes
Ma et al. Efficient implementation of quadratic permutation polynomial interleaver in turbo codes
KR101177142B1 (en) High code rate turbo coding method for the high speed data transmission and therefore apparatus
Synthia et al. Performance study of turbo code with interleaver design
WO2003096597A1 (en) A method and device for inner interleave in serial concatenated convolutional code
CN101409599B (en) Method and apparatus for decoding Turbo code
WO2013081216A1 (en) Device and method for transmitting data using convolutional turbo code (ctc) encoder in mobile communication system
CN1471763A (en) Method for correcting and coding to source data element and relative iterative decoder
de Figueiredo et al. LTE-advanced channel coding generic procedures a high-level model to guide low-level implementations

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08826502

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08826502

Country of ref document: EP

Kind code of ref document: A1