CN102130694A - Circuit for parallelly encoding quasi-cyclic low-density parity check code - Google Patents
Circuit for parallelly encoding quasi-cyclic low-density parity check code Download PDFInfo
- Publication number
- CN102130694A CN102130694A CN2011100474803A CN201110047480A CN102130694A CN 102130694 A CN102130694 A CN 102130694A CN 2011100474803 A CN2011100474803 A CN 2011100474803A CN 201110047480 A CN201110047480 A CN 201110047480A CN 102130694 A CN102130694 A CN 102130694A
- Authority
- CN
- China
- Prior art keywords
- group
- parity check
- density parity
- circuit
- cyclic
- 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.)
- Pending
Links
Images
Abstract
The invention discloses a circuit for parallelly encoding a quasi-cyclic low-density parity check code. The circuit comprises one or more encoding circuit units; each of the encoding circuit units comprises a first register group 1, an AND-gate array 2, an exclusive or (XOR) gate group 3 and a second register group 4; both the first register group and the second register group consist of L registers according to a dimension L of a cyclic permutation matrix; the XOR gate group consists of L XOR gates according to the dimension L of the cyclic permutation matrix; the output end of the first register group is connected with the input end of the AND-gate array; the output end of the AND-gate array is connected with the input end of the XOR gate group; the output end of the XOR gate group is connected with the input end of the second register group; and the output end of the second register group is connected with the input end of the XOR gate group. By the circuit for parallelly encoding the quasi-cyclic low-density parity check code, the parallel encoding of the quasi-cyclic low-density parity check code is realized; the encoding complexity is low and the encoding speed is high; the sequence and the dimension of the cyclic permutation matrix cannot be restrained, so a parallel factor is not restrained; therefore, the circuit has the advantages of high flexibility and small area.
Description
Technical field
The present invention relates to coding circuit, relate in particular to a kind of quasi-cyclic low-density parity check codes parallel encoding circuit.
Background technology
Gallager has proposed low density parity check code invention in 1962, but people just slowly recognize its function admirable and have great practical value up to date.Low density parity check code is the linear block codes that a class has premium properties, the low density parity check code of particular configuration can obtain the excellent properties near shannon limit, make its focus that becomes current research and application, all can see its figure in communication and field of storage.The check matrix of low density parity check code is made of sparse matrix, make low density parity check code have decoding algorithm efficiently, adopt the decoding complexity and the code length of belief propagation algorithm linear, overcome the huge decoding complexity problem that block code is faced when code length is longer, yet higher encoder complexity is one of its shortcoming always.The H check matrix of low density parity check code is configured with dual mode: a kind of is the randomization structure, mainly is that check matrix is set restriction, as long girth value of minimum ring or node degree distribution etc., utilizes computer search to generate the H matrix of requirement at random again; Another kind is a structured configurations, utilizes how much tool configuration H of algebraical sum matrix, makes it have regular texture, is convenient to coding.Low density parity check code can adopt linear block codes universal coding mode to encode, and the H check matrix is adopted Gaussian elimination method, produces lower triangular matrix, adopts elementary transformation to obtain H=[P| then
I] form, by G=[
I| P
T] obtain generator matrix, and encode by c=mG and to obtain corresponding codewords.Although the H matrix of low density parity check code is sparse, its generator matrix G may be not sparse, adopts the universal coding mode to need O (n
2) hardware complexity, n is a code length, when code length surpasses 10
3The time, complexity allows the people be difficult to accept.
One of use key issue that low density parity check code ran into is that it has higher encoder complexity and coding time delay, and as the quasi-cyclic low-density parity check codes of one of low density parity check code classification, has the uniform enconding complexity, be more conducive to hardware and realize having very important using value.At first because its generator matrix G has loop structure, this makes it can adopt linear displacement feedback register (LFSR) and finish coding in linear session, thereby reduces encoder complexity greatly; Secondly its decoding can be adopted the counter addressing, and can realize parallel organization, thereby improves the decoding throughput greatly.No matter the quasi-cyclic low-density parity check codes of appropriate design is the error rate at aspect of performance, and frame error rate still is a wrong flat bed etc., all is similar to the low density parity check code of random configuration.Therefore quasi-cyclic low-density parity check codes has obtained more application in hard-wired low density parity check code error correction scheme.
By
c*
tIndividual cyclic permutation (permutation) matrix
Form,
c,
tBe positive integer, and
c<
t, submatrix
For
L*
LSquare formation,
Expression
LDimension unit matrix I cyclic shift
The cyclic permutation matrices that obtains after inferior, and
=0 o'clock, P
0Be unit matrix,
During=∞, P
∞Be null matrix.To own
Extract and be configured to s-matrix, claim that s-matrix is the translocation factor index matrix:
The method that a lot of structure index matrixs are arranged is according to pursuit
Long or the maximum code of maximum girth ring apart from etc. different target can adopt different index matrix makes.After constructing index matrix, corresponding matrix
Also structure finishes.
People's labors such as Lin Shu the efficient coding of quasi-cyclic low-density parity check codes, proposition is sought out the method for systemic circulation shape generator matrix by the H matrix, and has proposed three kinds of coding circuits based on SRAA (shift-register-adder-accumulator) based on generator matrix: based on SRAA serial code structure, based on SRAA parallel organization and two-layer configuration.Wherein first kind of structure is serial structure, and hardware costs is little, but the periodicity that the coding required time need equate with message length, speed is slower; Though second kind of structure speed is very fast, need be ready to all information bits in advance, the storage cost that brings thus is very big, when message length is long more so; Also there is the requirement that need be ready to all information bits in advance in the third structure, need H matrix full rank simultaneously, but quasi-cyclic low-density parity check codes in fact
Matrix is full rank not generally.Therefore the sum of ranks dimension that is necessary to design a kind of cyclic permutation matrices is unrestricted, ready message position in advance, and can carry out the quasi-cyclic low-density parity check codes coding circuit of parallel encoding.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, a kind of quasi-cyclic low-density parity check codes parallel encoding circuit is provided.
Quasi-cyclic low-density parity check codes parallel encoding circuit comprises one or more coding circuits unit, the coding circuit unit comprise first registers group 1, with gate array 2, XOR gate group 3 and second registers group 4; Described first registers group and second registers group are according to the dimension of cyclic permutation matrices
LBy
LIndividual register constitutes; Described XOR gate group is according to the dimension of cyclic permutation matrices
LBy
LIndividual XOR gate constitutes; The output of described first registers group be connected with the input of gate array, be connected with the input of XOR gate group with the output of gate array, the output of XOR gate group is connected with the input of second registers group, and the output of second registers group is connected with the input of XOR gate group.
Compared with prior art, the invention has the beneficial effects as follows: (1) has realized the parallel encoding circuit of quasi-cyclic low-density parity check codes, compares the serial code circuit, and speed is promoted greatly; (2) the sum of ranks dimension of cyclic permutation matrices is unrestricted, and the parallel factor is unrestricted, the flexibility ratio height; (3) need not be ready to information bit in advance, storage cost is little.
In sum, quasi-cyclic low-density parity check codes parallel encoding circuit of the present invention: encoder complexity is low, and by parallel mode, speed is fast, the sum of ranks dimension of cyclic permutation matrices
LUnrestricted, the parallel factor
pUnrestricted, the flexibility ratio height, and have the little advantage of area concurrently.
Description of drawings
Fig. 1 is a quasi-cyclic low-density parity check codes parallel encoding circuit block diagram;
Fig. 2 is the implementation figure of the present invention's first registers group;
The circuit block diagram that Fig. 3 forms for a plurality of coding circuits of the present invention unit.
Embodiment
Describe the present invention in detail below in conjunction with accompanying drawing.
As shown in Figure 1, quasi-cyclic low-density parity check codes parallel encoding circuit is characterized in that comprising one or more coding circuits unit, the coding circuit unit comprise first registers group 1, with gate array 2, XOR gate group 3 and second registers group 4; Described first registers group 1 and second registers group 4 are according to the dimension of cyclic permutation matrices
LBy
LIndividual register constitutes; Described XOR gate group 3 is according to the dimension of cyclic permutation matrices
LBy
LIndividual XOR gate constitutes; The output of described first registers group 1 is connected with input with gate array 2, be connected with the input of XOR gate group 3 with the output of gate array 2, the output of XOR gate group 3 is connected with the input of second registers group 4, and the output of second registers group 4 is connected with the input of XOR gate group 2.
Relevant mathematical derivation is described simply, by
Can construct corresponding
, following systemic circulation form is generally arranged:
Make the information bit vector be
, code word
Have the systematic code form:
, wherein
Be verification unit.By
And (1) formula, obtain
Wherein 1≤
j≤
cBy the character of cyclic permutation matrices as can be known, order
For
Submatrix in the matrix
First the row, then
Other the row all can by
Ring shift right obtains, and also claims first row
For generating son.Order
For
Move to right
The position obtains, and is obtained by (2) formula
Know that by (2) formula and (3) formula verification unit can be calculated as follows: each
All resolve into earlier
, and
Each cycle of coding circuit can obtain with the XOR that adds up again with the elder generation of the displacement that generates son by each bit of information bit vector, if can realize in (3) formula
p Sum so just can realize parallel encoding.
Below introduce each basic function of forming among Fig. 1.Because this coding circuit adopts iterative manner to carry out, therefore order
rBe
rThe clock cycle of individual iteration.
At first introduce the implementation of first registers group 1: first method is will need each clock cycle
Be input in first registers group 1.The second way is to adopt feedback shift register form shown in Figure 2, if first registers group 1 is by D
1, D
2..., D
L-1
, D
L Altogether
LIndividual register is formed, and their connected mode is: D
1Output and D
p+ 1
Input connect D
2Output and D
p+ 2
Input connect ..., D
p-1
Output and D
2
p-1
Input connect D
p Output and D
2
p Input connect D
p+ 1
Output and D
2
p+ 1
Input connect D
p+ 2
Output and D
2
p+ 2
Input connect ..., D
L-
p+ 1
Output and D
1Input connect D
L-
p+ 2
Output and D
2Input connect ..., D
L-1
Output and D
p-1
Input connect D
L Output and D
p Input connect, in brief, promptly the
iIndividual register D
i Output and it be separated by
pOf individual sequence number
i+
pThe input of individual register connects, and carries out cyclic shift by feedback form.After connecting in such a way, only need first clock input
, by the storage that is shifted of feedback shift register form, so just import new in the time afterwards without each cycle
The preferred second kind of implementation of the present invention can effectively reduce control complexity and storage cost.
With gate array 2 be in order to realize
rDuring individual clock cycle in (3) formula
pThe item AND-operation comprises
,
...,
Operation as required can realize the output of the corresponding input information position and first registers group 1 and gate array as being connected with the input of gate array.
According to Fig. 1, operation is described below:
Step 1: initialization, at first with generation of correspondence
Be deposited in first registers group, 1 corresponding each register, the initialization of register of second registers group 4 is zero.
Step 2:
Second round is with second
pThe bit information position is input to generation with 1 storage of gate array 2, the first registers group
Also be input to and gate array 2, can finish
,
...,
Operation.To generate with gate array
,
...,
Value outputs to the XOR gate group, simultaneously the storing value of second registers group 4
Also be input to XOR gate group 3, carry out
Operation deposits income value in second registers group 4 then to finish
Renewal: promptly carry out
Operation.First registers group 1 is upgraded and is obtained simultaneously
Value.
And the like need be total to
Cycleoperation is to calculate
Value, wherein "
" represent to round up.Pay special attention to
May not by
Divide exactly, thus the effective information position of last input clock cycle may less than
, only use input benefit " 0 " to get final product to non-effective information position, can not influence coding result.
Step 3: according to (3) formula, coding generates one
Need
Individual
, and step 2 only calculates one
, therefore need repeating step two altogether
Inferior.
Because the verification unit of a set of code words comprises
Total
cIndividual
On coding circuit of the present invention basis, can there be two kinds to realize obtaining with reference to mode
: first kind of mode as shown in Figure 3, by
cIndividual coding circuit of the present invention is combined into new encoder, and each coding module input is corresponding
Generate son and information bit,
The individual clock cycle can be finished the coding of one group of information bit; The second way is need provide extra storage, only with a coding circuit of the present invention, whenever
The individual clock cycle can be finished one
Calculating, then will with extra storage
Store, need altogether
The individual clock cycle can be finished the coding of one group of information bit.The preferred first kind of implementation of the present invention can improve speed.
The foregoing description is to be used for the present invention that explains, rather than limits the invention, and in the protection range of spirit of the present invention and claim, any modification and change to the present invention makes all fall into protection scope of the present invention.
Claims (1)
1. a quasi-cyclic low-density parity check codes parallel encoding circuit is characterized in that comprising one or more coding circuits unit, the coding circuit unit comprise first registers group (1), with gate array (2), XOR gate group (3) and second registers group (4); Described first registers group (1) and second registers group (4) are according to the dimension of cyclic permutation matrices
LBy
LIndividual register constitutes; Described XOR gate group (3) is according to the dimension of cyclic permutation matrices
LBy
LIndividual XOR gate constitutes; The output of described first registers group (1) is connected with input with gate array (2), be connected with the input of XOR gate group (3) with the output of gate array (2), the output of XOR gate group (3) is connected with the input of second registers group (4), and the output of second registers group (4) is connected with the input of XOR gate group (2).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100474803A CN102130694A (en) | 2011-02-28 | 2011-02-28 | Circuit for parallelly encoding quasi-cyclic low-density parity check code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100474803A CN102130694A (en) | 2011-02-28 | 2011-02-28 | Circuit for parallelly encoding quasi-cyclic low-density parity check code |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102130694A true CN102130694A (en) | 2011-07-20 |
Family
ID=44268599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100474803A Pending CN102130694A (en) | 2011-02-28 | 2011-02-28 | Circuit for parallelly encoding quasi-cyclic low-density parity check code |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102130694A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102843149A (en) * | 2012-09-27 | 2012-12-26 | 苏州威士达信息科技有限公司 | LDPC (Quasi-Cyclic Low-Density Parity-Check) encoder and encoding method based on summation array in near field communication |
CN102857236A (en) * | 2012-09-27 | 2013-01-02 | 苏州威士达信息科技有限公司 | China mobile multimedia broadcasting (CMMB) low density parity check (LDPC) encoder based on summation array and coding method |
CN105356968A (en) * | 2015-06-24 | 2016-02-24 | 深圳大学 | Network coding method and system based on circulant permutation matrix |
CN113422611A (en) * | 2021-05-19 | 2021-09-21 | 上海大学 | Highly parallel encoding method of QC-LDPC encoder |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1787415A (en) * | 2004-12-08 | 2006-06-14 | 中兴通讯股份有限公司 | Apparatus for realizing false random code phase deviation and method for forming false random code |
CN1976238A (en) * | 2006-12-21 | 2007-06-06 | 复旦大学 | Method for constituting quasi-circulating low-density parity check code based on block fill algorithm |
CN101689866A (en) * | 2007-07-12 | 2010-03-31 | 松下电器产业株式会社 | Low-density parity check convolution code (ldpc-cc) encoder and ldpc-cc decoder |
-
2011
- 2011-02-28 CN CN2011100474803A patent/CN102130694A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1787415A (en) * | 2004-12-08 | 2006-06-14 | 中兴通讯股份有限公司 | Apparatus for realizing false random code phase deviation and method for forming false random code |
CN1976238A (en) * | 2006-12-21 | 2007-06-06 | 复旦大学 | Method for constituting quasi-circulating low-density parity check code based on block fill algorithm |
CN101689866A (en) * | 2007-07-12 | 2010-03-31 | 松下电器产业株式会社 | Low-density parity check convolution code (ldpc-cc) encoder and ldpc-cc decoder |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102843149A (en) * | 2012-09-27 | 2012-12-26 | 苏州威士达信息科技有限公司 | LDPC (Quasi-Cyclic Low-Density Parity-Check) encoder and encoding method based on summation array in near field communication |
CN102857236A (en) * | 2012-09-27 | 2013-01-02 | 苏州威士达信息科技有限公司 | China mobile multimedia broadcasting (CMMB) low density parity check (LDPC) encoder based on summation array and coding method |
CN102857236B (en) * | 2012-09-27 | 2016-03-09 | 中国传媒大学 | Based on LDPC encoder and coding method in the CMMB of sum array |
CN102843149B (en) * | 2012-09-27 | 2016-03-09 | 苏州威士达信息科技有限公司 | Based on LDPC encoder and coding method in the near-earth communication of sum array |
CN105356968A (en) * | 2015-06-24 | 2016-02-24 | 深圳大学 | Network coding method and system based on circulant permutation matrix |
CN105356968B (en) * | 2015-06-24 | 2018-11-16 | 深圳大学 | The method and system of network code based on cyclic permutation matrices |
CN113422611A (en) * | 2021-05-19 | 2021-09-21 | 上海大学 | Highly parallel encoding method of QC-LDPC encoder |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Dutta et al. | A unified coded deep neural network training strategy based on generalized polydot codes | |
CN104868925B (en) | Coding method, interpretation method, code device and the code translator of structured LDPC code | |
CN101162907B (en) | Method and device for constructing low-density parity code check matrix | |
CN101106381B (en) | Hierarchical low density check code decoder and decoding processing method | |
CN107786211B (en) | Algebraic structure obtaining method, encoding method and encoder of IRA-QC-LDPC code | |
Gad et al. | Repair-optimal MDS array codes over GF (2) | |
CN105075128A (en) | Design for lifted ldpc codes having high parallelism, low error floor, and simple encoding principle | |
CN104917536B (en) | A kind of method and device for supporting Low Bit-rate Coding | |
CN101207386B (en) | Constitution method of binary low density parity check code | |
JP2010532129A (en) | Generate parity check matrix | |
WO2018072294A1 (en) | Method for constructing check matrix and method for constructing horizontal array erasure code | |
Zeng et al. | Higher-dimensional quantum hypergraph-product codes with finite rates | |
CN102130694A (en) | Circuit for parallelly encoding quasi-cyclic low-density parity check code | |
CN102857236A (en) | China mobile multimedia broadcasting (CMMB) low density parity check (LDPC) encoder based on summation array and coding method | |
CN101262230A (en) | A design method for low-density odd/even check code matrix | |
CN1822510A (en) | High speed storage demand reducing low density correction code decoder | |
CN102857238B (en) | LDPC (Low Density Parity Check) encoder and encoding method based on summation array in deep space communication | |
CN105871385B (en) | A kind of LDPC convolutional-code building method | |
CN109756232A (en) | A method of big girth rule QC-LDPC code is constructed based on Fibonacci-Lucas ordered series of numbers | |
CN102725964A (en) | Encoding method, decoding method, encoding device, and decoding device | |
CN105207681B (en) | It is a kind of to multiply the LDPC code building method that cyclic subgroup in group generates member based on finite field | |
CN102916706A (en) | Highly parallel QC-LDPC (Quasic-Low Density Parity Check) encoder and encoding method in CMMB (China Mobile Multimedia Broadcasting) | |
CN109802689A (en) | A kind of QC-LDPC code constructing method that the girth based on Hoey sequence is 8 | |
CN101882972A (en) | Decoding method of Raptor code | |
CN104410427B (en) | A kind of LDPC encoder and its check bit generation unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110720 |