CN101465974B - Method for implementing encode of nonlinear code - Google Patents

Method for implementing encode of nonlinear code Download PDF

Info

Publication number
CN101465974B
CN101465974B CN200710094599XA CN200710094599A CN101465974B CN 101465974 B CN101465974 B CN 101465974B CN 200710094599X A CN200710094599X A CN 200710094599XA CN 200710094599 A CN200710094599 A CN 200710094599A CN 101465974 B CN101465974 B CN 101465974B
Authority
CN
China
Prior art keywords
correlation
bit
code
add
relevant
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN200710094599XA
Other languages
Chinese (zh)
Other versions
CN101465974A (en
Inventor
蒋朱成
杨毅
奚肇卿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Zhuo Sheng microelectronics Limited by Share Ltd
Original Assignee
MAXSCEND TECHNOLOGIES Inc
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 MAXSCEND TECHNOLOGIES Inc filed Critical MAXSCEND TECHNOLOGIES Inc
Priority to CN200710094599XA priority Critical patent/CN101465974B/en
Publication of CN101465974A publication Critical patent/CN101465974A/en
Application granted granted Critical
Publication of CN101465974B publication Critical patent/CN101465974B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a realizing method of an encoder for a nonlinear code. The method is that: the correlation additive value is determined by utilizing a tree-shaped adding structure; the exhaustive comparison is carried out on the correlation results by utilizing a tree-shaped comparing structure; then, a soft-decision output of each bit is determined. Therefore, the number of adders and comparators are greatly reduced. When calculating the correlation of an entire code word, the correlation is divided into the correlation of an info-bit part and the correlation of a check-bit part. Similar to the correlation of the info-bit part, the correlation of the check-bit part also uses the tree-shaped adding structure; only a simple reordering operation is added. When calculating the 256 correlation values of the entire code word, the negative symmetry property of a NR code table is utilized, thus leading the calculating amount of the addition to be reduced by one time. On the basis of a correlative MAP decoding algorithm, the realizing method can greatly reduce the addition and operation. The realizing method can be used for a digital television receiving chip according with the terrestrial broadcasting and transmitting of Chinese digital televisions, or other receiving chips of wireless transmitting systems which use NR codes.

Description

The implementation method of encode of nonlinear code
Technical field
The present invention relates to the Digital Television Terrestrial Broadcasting transmission field, the implementation method that particularly relates to a kind of NR (Nordstrom-Robinson nonlinear code) code decoder, can be used to meet the Digital Television receiving chip of China Digital TV terrestrial broadcasting transmission, perhaps other use the receiving chip of the wireless transmitting system of NR sign indicating number.
Background technology
The NR sign indicating number is a kind of nonlinear code of highly effective, it constitute multiple mode.
In the Digital Television Terrestrial Broadcasting transmission CNS a kind of 4QAM-NR mapping mode being arranged, is to increase the accurate orthogonal coding mapping of NR before the 4QAM sign map.
The accurate orthogonal coding of NR is that 8 information bit: X0X1X2X3X4X5X6X7 (X0 is preceding) are mapped as 16 bit: X0X1X2X3X4X5X6X7Y0Y1Y2Y3Y4Y5Y6Y7.
Wherein, X0X1X2X3X4X5X6X7 is an information bit, and Y0Y1Y2Y3Y4Y5Y6Y7 is the bit of deriving, and value is 0 or 1, and its restriction relation satisfies following formula:
Y0=X7+X6+X0+X1+X3+(X0+X4)(X1+X2+X3+X5)+(X1+X2)(X3+X5);
Y1=X7+X0+X1+X2+X4+(X1+X5)(X2+X3+X4+X6)+(X2+X3)(X4+X6);
Y2=X7+X1+X2+X3+X5+(X2+X6)(X3+X4+X5+X0)+(X3+X4)(X5+X0);
Y3=X7+X2+X3+X4+X6+(X3+X0)(X4+X5+X6+X1)+(X4+X5)(X6+X1);
Y4=X7+X3+X4+X5+X0+(X4+X1)(X5+X6+X0+X2)+(X5+X6)(X0+X2);
Y5=X7+X4+X5+X6+X1+(X5+X2)(X6+X0+X1+X3)+(X6+X0)(X1+X3);
Y6=X7+X5+X6+X0+X2+(X6+X3)(X0+X1+X2+X4)+(X0+X1)(X2+X4);
Y7=X0+X1+X2+X3+X4+X5+X6+X7+Y0+Y1+Y2+Y3+Y4+Y5+Y6。
In the following formula, addition is that mould two adds computing, and multiplication is mould two multiplications.
NR sign indicating number (i.e. " the accurate orthogonal coding of NR ", unified in below describing with " NR sign indicating number " expression " the accurate orthogonal coding of NR ") have correlation properties preferably, each code word in the code table is carried out relevant with 256 code words, in 256 relevant outputs that produce 1 maximal correlation output 16 is arranged, 1 the relevant output-16 of minimum, have 30 relevant to be output as 0, other correlations are+4 or-4.
The decoding algorithm of NR sign indicating number has a lot, and the relevant MAP (relevant maximum a posteriori probability) that has commonly used deciphers and LOG-MAP (logarithm maximum a posteriori probability) decoding algorithm.For fear of the decoding of the complexity in finite field, can adopt relatively simply relevant MAP decoding algorithm.With the codeword information that receives and 256 local code words related operation that walks abreast, the corresponding Hard decision decoding result of maximum positive output.
Because TPC (Turbo product code), CTC (Turbo convolution code), LDPC very advanced codings such as (loe-density parity-check codes) are deciphered effect preferably in order to reach, all be to use the iterative decoding algorithm of soft inputting and soft output (SISO); Therefore for convenience of the SISO iterative decoding of rear end, 256 related operation results are divided into groups, seek the competition code word correlated results of every information bit correspondence one by one, thereby can obtain the Soft decision decoding output result of each information bit.
Adopt above-mentioned algorithm, even use relatively simply relevant MAP decoding algorithm, owing to the codeword information that receives and whole 256 code words in the code table need be carried out relevantly, and compare correlated results one by one, amount of calculation is also quite big.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of implementation method of encode of nonlinear code, on the basis of relevant MAP decoding algorithm, can reduce the number of addition and operation greatly.
For solving the problems of the technologies described above, encode of nonlinear code implementation method of the present invention comprises the steps:
The first step receives the soft information of code word, utilizes the tree-shaped structure that adds to make it relevant with whole 256 code words in the NR code table, obtains correlated results;
Second step, utilize tree-shaped comparative structure that correlated results is carried out limit relatively, obtain the soft-decision output of each bit.
Owing to adopt said method, can significantly reduce the number of adder and comparator.The unreduced decoder that adopts algorithm of the prior art to realize, whenever translating a code word needs 15*256=3840 sub-addition and 2*127*8=2032 comparison; And adopt decoder after the simplification that method of the present invention realizes, whenever translating a code word only needs 254*2+128=636 sub-addition and 254+510=764 comparison.
Description of drawings
The present invention is further detailed explanation below in conjunction with accompanying drawing and embodiment:
Fig. 1 is the flow chart of the method for the invention;
Fig. 2 is the tree-shaped structural representation that adds that uses in the method for the present invention;
Fig. 3 is the tree-shaped comparative structure schematic diagram that uses in the method for the present invention.
Embodiment
As shown in Figure 1, NR code decoder implementation method of the present invention mainly was divided into for two steps, and the first step is for receiving the soft information of code word, and made it relevant with all code words in the code table, and second goes on foot to correlated results is compared, and obtains soft value.
Doing when relevant since each bit of code word all be+1 or-1, so in associative operation, do not need multiplication, only need addition.
Make (a0, a1, a2, a3, a4, a5, a6, a7, b0, b1, b2, b3, b4, b5, b6, b7) the soft information of code word for receiving, wherein (a0, a1, a2, a3, a4, a5, a6 a7) is the soft information of information bit, (b0, b1, b2, b3, b4, b5, b6 b7) is the soft information of check bit.The relevant of whole codeword can be divided into the relevant of the relevant of information bit part and check bit part, can be formulated as:
Correlation_codeword=correlation_information_bits+correlation_check_bits
Wherein, Correlation_codeword is that all bits of whole codeword are relevant,
Correlation_information_bits is that information bit is relevant in the code word,
Correlation_check_bits is that check bit is relevant in the code word.
Can prove that 256 code words in the NR code table are negative symmetries, therefore only need to calculate the relevant of preceding 128 code words in the soft information of code word that receives and the NR code table, the value that back 128 code words are correlated with can be expressed as:
Correlation_second_half=-Correlation_first_half(127:-1:0)
Wherein, Correlation_second_half is that back 128 code words are relevant,
Correlation_first_half is that preceding 128 code words are relevant.
Mark X (m:s:n) expression data variable X sequential element call number is from m to n, and step-length is s.
When the relevant of the information bit part of doing preceding 128 code words and check bit part relevant, the tree-shaped structure that adds among use Fig. 2 can the many add operations of merger, significantly reduce the number of times of add operation.
The relevant of information bit part of preceding 128 code words can directly utilize the tree-shaped structure that adds to obtain.
Being correlated with of the check bit part of preceding 128 code words, computational process is as follows:
(1), utilize the tree-shaped structure that adds to obtain add_first_b (0:1:127);
(2), make add_second_b=-add_first_b (127:-1:0);
(3), add_first_b and add_second_b are formed a column vector add_b;
(4), from add_b, take out 128 values according to the sequence number that reorders in the following table 1, as the check bit correlated results partly of preceding 128 code words.
Wherein, add_first_b is be correlated with a last half value before reordering of check bit,
Add_second_b is be correlated with a back half value before reordering of check bit,
Add_b is be correlated with a all values before reordering of check bit.
Table 1 sequence number that reorders
0,254,151,105,47,209,204,50,93,163,240,14,154,100,67,189,185,71,90,164,226,28,117,139,54,200,239,17,133,123,40,214,115,141,170,84,180,74,25,231,198,56,37,219,233,23,126,128,108,146,193,63,223,33,6,248,11,245,156,98,80,174,179,77,229,27,60,194,86,168,251,5,106,148,137,119,49,207,166,88,142,112,35,221,73,183,144,110,211,45,68,186,252,2,31,225,216,38,79,177,131,125,96,158,191,65,18,236,12,242,213,43,21,235,246,8,58,196,173,83,160,94,121,135,103,153,202,52
When the soft-decision output of calculating each bit, in the polarity of this bit correlated results is divided into two groups according to 256 code words, maximizing in two groups respectively, the difference between these two maximums just can be used as the soft-decision output of this bit.When each bit calculates soft information, all need 256 comparisons, the comparative result of considering the front can be used for the soft value of back and calculate, and therefore can utilize the tree-shaped comparative structure among Fig. 3, thereby significantly reduce the number of times of comparison.
The correlation of all 256 code words is placed on rightmost one row of tree-shaped comparative structure, just the 7th row.The a pair of consecutive value of the value of n-1 row by the n row relatively size obtained, and the number of the value of every like this row reduces by half successively, and the number of same comparator also can reduce by half, and is formulated as:
a 0 n - 1 = max ( a 0 n , a 1 n )
a 1 n - 1 = max ( a 2 n , a 3 n )
a 2 n - 1 - 1 n - 1 = max ( a 2 n - 2 n , a 2 n - 1 n )
For example, the value of the 6th row can be obtained according to following formula by the value of the 7th row:
a 0 6 = max ( a 0 7 , a 1 7 )
a 1 6 = max ( a 2 7 , a 3 7 )
a 63 6 = max ( a 126 7 , a 127 7 )
a 127 6 = max ( a 254 7 , a 255 7 )
Can obtain the value of the 5th, 4,3,2,1,0 row then successively.(i.e. 8 information bits: soft-decision X0X1X2X3X4X5X6X7) is output as and n row meta is changed to maximum in 1 all values deducts n row meta and be changed to maximum in 0 all values corresponding bit Xn; Wherein, the n value is 0,1 ... 7 integer.

Claims (3)

1. the implementation method of an encode of nonlinear code is characterized in that:
The first step receives the soft information of code word, utilizes the tree-shaped structure that adds to make it relevant with whole 256 code words in the NR code table, obtains correlated results;
The soft information of described code word comprises the soft information of information bit and the soft information of check bit; Described code word is relevant to be divided into the relevant of the relevant of information bit part and check bit part, and only carries out preceding 128 code words and be correlated with, and the value representation that back 128 code words are relevant is:
Correlation_second_half=-Correlation_first_half(127:-1:0),
Wherein, Correlation_first_half is that preceding 128 code words are relevant,
Correlation_second_half is that back 128 code words are relevant;
Being correlated with of the check bit part of preceding 128 code words, computational process is as follows:
(1), utilize the tree-shaped structure that adds to obtain add_first b (0:1:127);
(2), make add_second_b=-add_first_b (127:-1:0);
(3), add_first_b and add_second_b are formed a column vector add_b;
(4), from add_b, take out 128 values according to the sequence number that reorders, as the check bit correlated results partly of preceding 128 code words;
Wherein: add_first_b is be correlated with a last half value before reordering of check bit, and add_second_b is be correlated with a back half value before reordering of check bit, and add_b is be correlated with a all values before reordering of check bit;
Mark X (m:s:n) expression data variable X sequential element call number is from m to n, and step-length is s;
Second step, utilize tree-shaped comparative structure that correlated results is carried out limit relatively, obtain the soft-decision output of each bit; When the soft-decision output of calculating each bit, in the polarity of this bit correlated results is divided into two groups according to 256 code words in the NR code table, maximizing in two groups respectively is with the soft-decision output of the difference between two maximums as this bit.
2. the implementation method of encode of nonlinear code as claimed in claim 1 is characterized in that: the relevant of information bit part of preceding 128 code words directly utilizes the tree-shaped structure that adds to obtain.
3. the implementation method of encode of nonlinear code as claimed in claim 1 is characterized in that: a pair of consecutive value of the value of n-1 row by the n row relatively size obtained;
The soft-decision of corresponding bit Xn is output as and n row meta is changed to maximum in 1 all values deducts n row meta and be changed to maximum in 0 all values; Wherein, the n value is 0,1 ... 7 integer.
CN200710094599XA 2007-12-21 2007-12-21 Method for implementing encode of nonlinear code Active CN101465974B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710094599XA CN101465974B (en) 2007-12-21 2007-12-21 Method for implementing encode of nonlinear code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710094599XA CN101465974B (en) 2007-12-21 2007-12-21 Method for implementing encode of nonlinear code

Publications (2)

Publication Number Publication Date
CN101465974A CN101465974A (en) 2009-06-24
CN101465974B true CN101465974B (en) 2010-11-03

Family

ID=40806299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710094599XA Active CN101465974B (en) 2007-12-21 2007-12-21 Method for implementing encode of nonlinear code

Country Status (1)

Country Link
CN (1) CN101465974B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4896353A (en) * 1988-09-23 1990-01-23 Unisys Corp. Apparatus for fast decoding of a non-linear code
CN1176722A (en) * 1995-12-29 1998-03-18 摩托罗拉公司 Method and apparatus for decoding an encoded signal
CN1490956A (en) * 2002-10-18 2004-04-21 重庆重邮信科股份有限公司 Decoding method for Turbo code

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4896353A (en) * 1988-09-23 1990-01-23 Unisys Corp. Apparatus for fast decoding of a non-linear code
CN1176722A (en) * 1995-12-29 1998-03-18 摩托罗拉公司 Method and apparatus for decoding an encoded signal
CN1490956A (en) * 2002-10-18 2004-04-21 重庆重邮信科股份有限公司 Decoding method for Turbo code

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JP特开2002-118472A 2002.04.19
沈玮,王捷,尤肖虎.一种用于cdma2000的低复杂度Turbo码译码器.无线通信技术 1.2001,(1),33-35.
沈玮,王捷,尤肖虎.一种用于cdma2000的低复杂度Turbo码译码器.无线通信技术 1.2001,(1),33-35. *

Also Published As

Publication number Publication date
CN101465974A (en) 2009-06-24

Similar Documents

Publication Publication Date Title
CN101079638B (en) Low density parity check decoding system and method for reducing complexity
US11265020B2 (en) Electronic device with bit pattern generation, integrated circuit and method for polar coding
CN105763203B (en) Multi-element LDPC code decoding method based on hard reliability information
CN107124251B (en) Polarization code encoding method based on any kernel
CN107231158B (en) Polarization code iterative receiver, system and polarization code iterative decoding method
Huang et al. Blind recognition of k/n rate convolutional encoders from noisy observation
WO2012083714A1 (en) Method for turbo codes data interleaving and interleaver for interleaving turbo codes data
CN106533452B (en) A kind of m-ary LDPC coding method and encoder
WO2019096184A1 (en) Method and device for decoding staircase code, and storage medium
CN108809323B (en) Method and device for generating cyclic redundancy check code
CN101465974B (en) Method for implementing encode of nonlinear code
CN109245775B (en) Decoder and method for realizing decoding
CN109639290B (en) Semi-random grouping superposition coding and decoding method
CN100417031C (en) Method of realizing Reed Solomen convolution code in broadband radio insertion system
CN100446427C (en) Method for constructing LDPC code in mobile digital multimedia broadcast system
CN101141132A (en) Quasi-circulation low density parity code encoder and check bit generating method
CN108566210B (en) LDPC (Low Density parity check) coding system and method compatible with IEEE (institute of Electrical and electronics Engineers) 802.11n standard and LDPC coder
TWI334277B (en) Method for calculating syndrome efficiently in reed-solomon decoding and machine readable storage medium storing instructions for performing the method
CN103152059A (en) Device and method of generating of constant coefficient matrix of radio sonde (RS) of consultative committee for space data system (CCSDS)
CN107592958B (en) Multi-rate LDPC encoding and decoding using one multi-rate exponential table and one spreading factor at different code lengths
CN110752893B (en) Approximate decoding method and device for belief propagation of polarization code
CN103023512A (en) Device and method for generating constant coefficient matrix in ATSC system RS coding
CN116073952B (en) Quick parallel convolution coding and decoding method, system, equipment and medium based on MaPU architecture
CN103117752A (en) High-speed parallel RS encoder and encoding method for consultative committee for space data system (CCSDS) system
CN110875745A (en) GII code decoding algorithm realized for high-speed hardware circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: MAXSCEND TECHNOLOGIES INC.

Free format text: FORMER OWNER: MAXSCEND TECHNOLOGIES (SHANGHAI) INC.

Effective date: 20130313

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 201203 PUDONG NEW AREA, SHANGHAI TO: 214072 WUXI, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20130313

Address after: 214072 Jiangsu province Binhu District of Wuxi City Liyuan Development Zone 530 No. 1 building twelve room 1203

Patentee after: JIANGSU MAXSCEND TECHNOLOGY CO., LTD.

Address before: 201203, room 3000, building 5, Zhangjiang port, Zhangjiang East Road, Pudong New Area,, Shanghai

Patentee before: Maxscend Technologies Inc.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 214072 Jiangsu province Binhu District of Wuxi City Liyuan Development Zone 530 No. 1 building twelve room 1203

Patentee after: Jiangsu Zhuo Sheng microelectronics Limited by Share Ltd

Address before: 214072 Jiangsu province Binhu District of Wuxi City Liyuan Development Zone 530 No. 1 building twelve room 1203

Patentee before: JIANGSU MAXSCEND TECHNOLOGY CO., LTD.