CN103905063B - Decoding method for LDPC coder - Google Patents

Decoding method for LDPC coder Download PDF

Info

Publication number
CN103905063B
CN103905063B CN201410165649.9A CN201410165649A CN103905063B CN 103905063 B CN103905063 B CN 103905063B CN 201410165649 A CN201410165649 A CN 201410165649A CN 103905063 B CN103905063 B CN 103905063B
Authority
CN
China
Prior art keywords
decoding
information
ldpc
check
ldpc coder
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
CN201410165649.9A
Other languages
Chinese (zh)
Other versions
CN103905063A (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.)
Hunan Goke Microelectronics Co Ltd
Original Assignee
Hunan Goke Microelectronics 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 Hunan Goke Microelectronics Co Ltd filed Critical Hunan Goke Microelectronics Co Ltd
Priority to CN201410165649.9A priority Critical patent/CN103905063B/en
Publication of CN103905063A publication Critical patent/CN103905063A/en
Application granted granted Critical
Publication of CN103905063B publication Critical patent/CN103905063B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

The invention discloses a decoding method for an LDPC coder. When a layered decoding algorithm is adopted and decoding of each layer is completed, except whether a calibration equation is met, whether overturn of sign bit decodes of all posteriori information (please find the formula in the specification) participating in the decoding happens is further calculated, and correctness and completeness of the termination condition of an HiTx result calculated previously are ensured. According to the decoding method for the LDPC coder, when hardware is achieved, the fault iteration termination situation can be avoided by only adding a small quantity of hardware logics so that the decoding condition of the system can be more complete and a lower bit error rate can be obtained. The decoding method for the LDPC coder can enable a fall line transitional zone of the bit error rate of the LDPC coder to be narrower and enable an error code flat layer to be lower.

Description

A kind of method that ldpc decoder terminates decoding
Technical field
The present invention relates to a kind of method terminating decoding, the method that particularly a kind of ldpc decoder terminates decoding.
Background technology
In whole communication system, channel coding is a very important part, and it ensure that the reliability of communication system. Mobile communication increasingly tends to real time high-speed transmission now, and user is closer to the concern of data reliability in this case, Therefore, the algorithm research to the channel coding with excellent in performance and hardware realize particularly important.Low-density checksum LDPC (Low Density Parity check, LDPC) code is one of key technology of mobile communication, its excellent error-correcting performance and Its applications well prospect in channel transmitting, has become as the study hotspot that current field of channel coding attracts most attention. The trend replacing Turbo code is readily apparent that, it will be in deep space communication, fiber optic communication, satellite by LDPC code in many cases Digital video and audio broadcasting, magnetic optical/Hologram Storage, movement and fixed radio communication, cable modulator/demodulator and numeral are used It is used widely in family line (DSL).Such as 10 GBICs (10GBASE-T), Digital European mobile broadcast (DVB- S2), WiMax (802.16e), the radio individual of Wi-Fi (802.11n), state's CMMB standard (CMMB) and 60GHz The communication standards such as LAN WPAN (802.15.3c) all adopt LDPC code as channel decoding scheme.
LDPC code is the special linear block codes of a class, and special character is that non-zero entry in its parity check matrix H The number of element is considerably less, far smaller than the number of neutral element, so LDPC code can be defined by its check matrix.According to verification square Often whether row is equal with the number of nonzero element in each column for battle array H, and LDPC code can be divided into regular LDPC code and irregular LDPC codes. In the check matrix of regular LDPC code, each row comprise dvIndividual nonzero element, every a line comprises dcIndividual nonzero element, if code length is N, (N, d then can be designated asv,dc).What formula (1) represented is exactly the regular LDPC code of (10,3,6), corresponding check equations formula such as formula (2) Shown.
According to statistics, in modern communication chip, there are nearly 1/2 area, 1/3 power consumption in channel decoding mould Block, it can be seen that the performance quality of channel decoding module will determine cost and the complexity of communication chip, also will determine numeral Video transmitter and the quality of receiver, and then determine company competitiveness commercially.So designing and Implementing one High-performance, bottom surface amass and the ldpc decoder of more low-power consumption is most important for whole system.
LDPC decoding algorithm has material impact to design of encoder.The decoding algorithm of LDPC is numerous at present, main flow algorithm Including:Sum-product algorithm, minimum-sum algorithm, hierarchical algorithm and residual, information algorithm etc..Wherein minimum-sum algorithm and hierarchical algorithm are The algorithm that design of encoder mainly adopts at present, these algorithms are all based on the thought of iterative decoding, need certain iterations Complete to decode.During ldpc decoder realizes aspect, the resource shared by memory is topmost, so how to design one It is design key that individual memory resource takies few ldpc decoder.It is typically all to adopt in the realization of the ldpc decoder of early stage Realizing, it controls simple minimum-sum algorithm, is easier to realize.It is nearly all to ldpc decoder recently using hierarchical algorithm Carry out hardware realization, hierarchical algorithm does not need to store intermediate variable nodal information, and convergence rate is faster than minimum-sum algorithm One times, storage money is greatly saved, especially strict to power consumption requirements ldpc decoder has very big attraction.
Hierarchical algorithm is a kind of parallel iterative decoding algorithm, first updates all of check-node in iteration, then Update all of variable node again, and the renewal of check-node can only be using the bit node information in last iterative process. For the information of the updated variable node of utilization as early as possible, accelerate the convergent iterations speed of code word.
Binary phase shift keying (BPSK) is adopted to modulate under additive white Gaussian noise (AWGN) channel, hierarchical algorithm decodes Process is as follows:
(1) initialize:
Set maximum iteration time Imax
Posterior information initializes:(0≤j<N).yjReceive Soft Inform ation, σ for channel2For Noise variance, N is LDPC code word length
Checking information initializes:(0≤i<M).M is check matrix line number
(2) iterative step:I=0,1 ..., M-1;
A) check informationUpdate:
α is correction factor, and k is current iteration number of times
B) posterior informationUpdate:
(3) judgement of code word x and check equations calculate
If HTX=0 or reach maximum iteration time Imax, then terminate decoding, otherwise return step Suddenly (2) continue iteration, and iterations adds one.
When having been carried out to ldpc decoder when hardware is realized using hierarchical algorithm, terminate in advance decoding to realize high-performance, The ldpc decoder of more low-power consumption is most important for whole system.In prior art,
The larger decoding iteration number of times I of the general ratio fixing by settingmax, each decoding all iterates to maximum times Imax Just exit decoding.A kind of also scheme terminating decoding, that is, translate whether completely a layering calculates this layering Sufficient check equations, until all layerings all meet check equations (HTX=0) then terminate decoding.The maximum shortcoming of the first scheme Being that power consumption is too big, because not needing in most cases to iterate to maximum times, leading to the decoder most of the time doing " idle work ", so hardly adopt this method in practical application.Second scheme, as shown in figure 1, CMMB standard 3/4 Totally nine layers of the check matrix H of code check, every layer of Hi (1≤i<10) size is 256x9216.When decoder, to have translated ground floor simultaneously complete Check equations H1 calculating ground floor are becomeTWhether x is 0, and then the decoding second layer and calculating second layer check equations H2TX is No is 0, by that analogy until having calculated H9TTill whether x is 0, then an iteration completes, as all H1Tx,H2Tx,…, H9TX is that when 0, then decoder output decodes result.This scheme realizes ldpc decoder shortcoming, such as when having decoded first Layer and H1TX=0, and then the process of the decoding second layer may be the symbol of the posterior information of ground floor participation calculating check equations Number change so that H1TX is not 0 again.When all check equations of such calculating all expire (HiTX=0), but decoding not necessarily complete But terminate decoding in advance, that is, the completeness terminating decoding condition is inadequate when correct.Bit error rate (BER) performance requirement is compared High system, such as, the digital satellite broadcasting such as ABS, dvb-s2, especially for ABS only one of which LDPC channel decoder System, in addition only one bit mistake be likely to lead to video below to show that a sheet of mosaic occurs in key position.
Content of the invention
The technical problem to be solved is, not enough for prior art, provides a kind of ldpc decoder to terminate translating The method of code, solves the problems, such as that existing method power consumption is big, it is incomplete to terminate decoding condition, bit error rate is high.
For solving above-mentioned technical problem, the technical solution adopted in the present invention is:A kind of ldpc decoder terminates decoding Method, the method is:
1) initialize:Emulation determines maximum iteration time Imax, posterior informationAnd variable node informationInitially Value0≤j<N, yjThe Soft Inform ation receiving for channel, σ2For noise variance, N is LDPC code word Length;Initializing test information:I=0,1 ..., M-1;M is check matrix line number;
2) make k=1;
3) following formula is utilized to update checking information
Wherein,ciFor i-th check-node, vjFor j-th variable node, M(ci) represent the bit symbol information aggregate constraining with verification code element i phase, M (ci)/vjRepresent M (ci) do not comprise vjSubset, α For correction factor, 0<α<1;Sgn () is sign function;
4) following formula is utilized to update posterior information
5) judgeWhether it is equal toIfIt is equal to AndThen terminate decoding;Or reach maximum iteration time Imax, then terminate decoding;Otherwise, the value of k is added 1, return 3);Wherein HiFor i-th layer of check matrix,
Compared with prior art, the present invention had the advantage that for:The present invention removes while every layer of decoding completes It is outer whether calculating check equations meet, and also calculates all posterior informations participating in this decodingBefore and after sign bit decoding it is No occur overturning the Hi it is ensured that being calculatedTThe correctness of x result and the completeness of end condition;When hardware of the present invention is realized Only need to add a small amount of hardware logic it is prevented that the termination iteration situation of mistake occurs, system closure decoding condition can be made More complete and obtain lower bit error rate, be particularly useful high order modulation communication receiver system when, the method for the present invention can So that the fall line intermediate zone of hard-wired ldpc decoder bit error rate is narrower.
Brief description
Fig. 1 is one embodiment of the invention check matrix schematic diagram;
Fig. 2 is one embodiment of the invention method flow diagram;
Fig. 3 realizes block diagram for one embodiment of the invention.
Specific embodiment
Hardware-implemented logic block diagram such as Fig. 3 of the present invention, specific implementation step is as follows:S1, required for this layer is decodedInformation and check information take out from posterior information memory module and check information memory module respectively, and handleSign bit Keep in.S2, sends data into arithmetic element computing and updates check information and posterior informationS3, calculates check equations HiTX and judge whether sign bit overturns by XOR.S4, is stored back to memory module new posterior information and check information.If S3 meets then, output decoding result, otherwise returns S1 and starts next iteration until reaching the maximum iteration time setting.
All meet H in order to solve all check equationsTX=0, but terminate decoding in advance when decoding is not necessarily completely correct Problem, the present invention participates in this and decodes except calculating check equations and whether meet outer also calculating while every layer of decoding completes All posterior informationsWhether occur overturning, that is, before and after sign bit decodingWhether it is equal toAs figure 2.The Hi being calculated before this ensure thatTThe correctness of x result and the completeness of end condition.As each layer of HiTX is 0 And each layer participated in decodeJust export this when symbol does not all change before and after decoding and decode result.
Method of the present invention step is as follows:
(1) initialize:
Set maximum iteration time Imax,(0≤j<N).yjReceive soft letter for channel Breath, σ2For noise variance, N is LDPC code word length
Checking information initializes:(0≤i<M).M is check matrix line number
(2) iterative step:I=0,1 ..., M-1;
A) check informationUpdate:
α is correction factor, and k is current iteration number of times;
B) posterior informationUpdate:
C) calculate whether sign bit overturnsWhether it is equal to
C) every layer of information participating in calculating makes decisionsAnd calculate HiTWhether x is 0;
(3) exit iteration judgement
If all HiTX is 0 and every layer of sign bit calculating all does not overturn or reach maximum iteration time Imax, then Terminate decoding, otherwise return to step (2) continues iteration, iterations adds one.
It is as follows that hardware-implemented logic block diagram such as Fig. 3 of the present invention, decoding and decoding terminate step:S1, required for the decoding of this layer WantInformation and check information take out from posterior information memory module and check information memory module respectively, and handle Sign bit is kept in.S2, sends data into arithmetic element computing and updates check information and posterior informationS3, calculates school Proved recipe journey HiTX and judge whether sign bit overturns by XOR.S4, is stored back to new posterior information and check information to store mould Block.If S3 meets, output decoding result, otherwise return S1 and start next iteration until reaching the greatest iteration setting time Number.

Claims (1)

1. a kind of ldpc decoder terminates the method for decoding it is characterised in that the method comprises the following steps:
1) initialize:Emulation determines maximum iteration time Imax, posterior informationAnd variable node informationInitial value0≤j<N, yjThe Soft Inform ation receiving for channel, σ2For noise variance, N is LDPC code word length Degree;Initializing test information:I=0,1 ..., M-1;M is check matrix line number;
2) make k=1;
3) following formula is utilized to update checking information
m k c i &RightArrow; v j = &alpha; &CenterDot; &Pi; v n &Element; M ( c i ) / v j sgn ( m k - 1 v n &RightArrow; c i ) &CenterDot; m i n v n &Element; M ( c i ) / v j | m k - 1 v n &RightArrow; c i | ;
Wherein,ciFor i-th check-node, vjFor j-th variable node, M (ci) represent the bit symbol information aggregate constraining with verification code element i phase, M (ci)/vjRepresent M (ci) do not comprise vjSubset, α is Correction factor, 0<α<1;Sgn () is sign function;
4) following formula is utilized to update posterior information
5) judgeWhether it is equal toIfIt is equal toAndThen terminate decoding;Or reach maximum iteration time Imax, then terminate decoding;Otherwise, the value of k is added 1, return 3); Wherein HiFor i-th layer of check matrix,
CN201410165649.9A 2014-04-23 2014-04-23 Decoding method for LDPC coder Active CN103905063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410165649.9A CN103905063B (en) 2014-04-23 2014-04-23 Decoding method for LDPC coder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410165649.9A CN103905063B (en) 2014-04-23 2014-04-23 Decoding method for LDPC coder

Publications (2)

Publication Number Publication Date
CN103905063A CN103905063A (en) 2014-07-02
CN103905063B true CN103905063B (en) 2017-02-15

Family

ID=50996238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410165649.9A Active CN103905063B (en) 2014-04-23 2014-04-23 Decoding method for LDPC coder

Country Status (1)

Country Link
CN (1) CN103905063B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168031B (en) * 2014-08-12 2017-08-01 西安电子科技大学 A kind of iterative decoding method for LDPC code
US9595977B2 (en) 2014-09-29 2017-03-14 Apple Inc. LDPC decoder with efficient circular shifters
US10566999B2 (en) * 2014-11-19 2020-02-18 Lantiq Beteiligungs-GmbH & Co. KG Low-density parity check decoding
CN106341137B (en) * 2015-07-10 2019-05-31 扬智科技股份有限公司 The space management and its code translator of annular reservoir
CN105187073B (en) * 2015-10-13 2018-07-27 东南大学 A kind of the BP interpretation methods and device of polarization code
US10128869B2 (en) 2016-05-17 2018-11-13 Apple Inc. Efficient convergence in iterative decoding
CN112953569B (en) * 2021-02-03 2023-06-30 Oppo广东移动通信有限公司 Decoding method and device, storage medium, electronic equipment and decoder
CN112994704B (en) * 2021-02-03 2023-06-16 Oppo广东移动通信有限公司 Decoding early termination method, storage medium and electronic equipment
CN114142871B (en) * 2021-12-03 2022-06-24 北京得瑞领新科技有限公司 LDPC (Low Density parity check) verification method and device capable of terminating iteration in advance for incremental calculation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106380A (en) * 2006-07-13 2008-01-16 华为技术有限公司 An alternative decoding method and device for LDPC code
CN102111241A (en) * 2011-03-04 2011-06-29 四川虹微技术有限公司 Method for stopping LDPC iterative decoding in advance

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1717959A1 (en) * 2005-04-29 2006-11-02 STMicroelectronics N.V. Method and device for controlling the decoding of a LDPC encoded codeword, in particular for DVB-S2 LDPC encoded codewords

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106380A (en) * 2006-07-13 2008-01-16 华为技术有限公司 An alternative decoding method and device for LDPC code
CN102111241A (en) * 2011-03-04 2011-06-29 四川虹微技术有限公司 Method for stopping LDPC iterative decoding in advance

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于CMMB标准的LDPC译码器研究与实现;聂正华;《中国优秀硕士学位论文全文数据库 信息科技辑》;20111215(第12期);全文 *

Also Published As

Publication number Publication date
CN103905063A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN103905063B (en) Decoding method for LDPC coder
US10075193B2 (en) Methods and systems for decoding polar codes
CN103888148B (en) A kind of LDPC code Hard decision decoding method of dynamic threshold bit reversal
CN110572163B (en) Method and apparatus for encoding and decoding LDPC code
US8321745B2 (en) Apparatus and method for channel encoding and decoding in communication system using low-density parity-check codes
US20060129904A1 (en) Method and apparatus for encoding and decoding data
US8869003B2 (en) Method, apparatus, computer program product and device providing semi-parallel low density parity check decoding using a block structured parity check matrix
CN101965687B (en) Apparatus and method for channel encoding and decoding in communication system using low-density parity-check codes
US9825650B2 (en) Decoder architecture for cyclically-coupled quasi-cyclic low-density parity-check codes
CN103269229A (en) Mixed iterative decoding method for LDPC-RS two-dimensional product code
CN109586732B (en) System and method for encoding and decoding LDPC codes with medium and short codes
CN102412843A (en) Adaptive normalized minimum sum LDPC (Low Density Parity Check Code) decoding method and decoder
US10892783B2 (en) Apparatus and method for decoding polar codes
Chen et al. Practical polar code construction over parallel channels
CN116964945A (en) Quasi-cyclic polarization code for master pattern and related low-density generation matrix family
JP6734577B2 (en) Design of puncturing pattern for polar code
US20180351575A1 (en) Hybrid scheduling and latch-based pipelines for low-density parity-check decoding
CN103905064A (en) Method for quantization of LDPC encoder
CN102801432A (en) Serial FHT-BP (Fast Hartley Transform-Back Propagation) decoding method and device of multi-system LDPC (Low Density Parity Check)
CN103475378B (en) A kind of high-throughput ldpc decoder being applicable to optic communication
Kumar et al. A review of channel coding schemes in the 5G standard
US20070198905A1 (en) Transmitter for a communications network
Velumani Design and implementation of improved decoding algorithms for LDPC convolutional codes
US20240154722A1 (en) Method and system for rate-matching auto-encoders
JP4727380B2 (en) Decoding device and method, and demodulation decoding device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Jiang Li

Inventor after: Zhang Shu

Inventor before: Nie Zhenghua

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: NIE ZHENGHUA TO: JIANG LI ZHANG SHU

CB02 Change of applicant information

Address after: 410125 Hunan, Changsha economic and Technological Development Zone, the east side of the south section of the No. ten road, Tong Tong Street, No.

Applicant after: GOKE MICROELECTRONICS CO., LTD.

Address before: 410125 Hunan province Changsha City Economic and Technological Development Zone Li Xiang Road No. 98

Applicant before: Hunan Guoke Microelectronics Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant