CN1777044B - State metric bit wide control method and device for Turbo code decoder - Google Patents

State metric bit wide control method and device for Turbo code decoder Download PDF

Info

Publication number
CN1777044B
CN1777044B CN 200510111149 CN200510111149A CN1777044B CN 1777044 B CN1777044 B CN 1777044B CN 200510111149 CN200510111149 CN 200510111149 CN 200510111149 A CN200510111149 A CN 200510111149A CN 1777044 B CN1777044 B CN 1777044B
Authority
CN
China
Prior art keywords
prime
max
alpha
offset
beta
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
CN 200510111149
Other languages
Chinese (zh)
Other versions
CN1777044A (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.)
Shanghai Xuanpu Industrial Co., Ltd.
Original Assignee
SHANGHAI XUANPU INDUSTRIAL 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 SHANGHAI XUANPU INDUSTRIAL Co Ltd filed Critical SHANGHAI XUANPU INDUSTRIAL Co Ltd
Priority to CN 200510111149 priority Critical patent/CN1777044B/en
Publication of CN1777044A publication Critical patent/CN1777044A/en
Application granted granted Critical
Publication of CN1777044B publication Critical patent/CN1777044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The method makes all measured state values positive generated from forward directed and inverted recursion procedures of MAP decoding algorithm for Turbo codes. Thus, simple normalizing operation can be adopted to reduce bit width of measured state value. Moreover, implementation of hardware is simpler according the measured state values calculated by the disclosed method. When calculating measured path values through forward directed and inverted recursion procedures, the method adds specific offset to the calculation so that all measured path values obtained are positive. Using minimal value in all measured path values in current moment carries out normalization for all measured path values. Advantages are: reducing bit width of measured state values without influence on performance of decoder of Turbo code; reducing area of chip. The invention also lowers complexity of hardware for realizing recursion procedures.

Description

Be used for Turbo code decoder state metric bit wide control method and device
Technical field
The present invention relates to a kind of Turbo code decoder state metric bit wide control method and device of being used for.
Background technology
The principle of Turbo code is based on the algorithm of traditional cascaded code and the correction of structure, and the introducing of interleaver makes the positive feedback of iterative decoding obtain good elimination.The Turbo code encoder is made up of two recursive systematic convolutional codes (recursive systematic convolutional code is called for short the RSC sign indicating number), interleaver and canceller.Figure one has provided the structure of Turbo code encoder in the cdma2000.According to the difference of canceller punching (puncture) form, the encoder bit rate of this Turbo code can change between 1/6 to 1/2.Take all factors into consideration from decoder implementation complexity and decoding performance, Turbo code generally adopts maximum a posteriori probability (maximum a posteriori the is called for short MAP) decoding algorithm of iteration form to decipher.Because the computational complexity of MAP algorithm is higher, derived the MAP algorithm that two classes are simplified recently again, be respectively Log-MAP algorithm and Max-Log-MAP algorithm.Figure two has provided classical Turbo code iterative decoder structure chart.The Turbo code decoder is by two decoders based on the soft input of MAP algorithm, soft output (soft-input soft-output decoder, be called for short the SISO decoder), interleaver and deinterleaver constitute, through alternately decoding, soft output repeatedly obtain decoding behind iterative decoding, the zero passage hard decision and exports to input signal.
The complexity of Turbo code decoding algorithm is mainly by the decision of its SISO decoder, because soft input, soft output decoding algorithm relate to real arithmetic, and more complicated, and need iteration repeatedly, cause and realize the larger of circuit, and throughput is lower.Below the most basic MAP algorithm is simply introduced:
Suppose that the soft of two SISO decoders is output as:
Λ 1 ( d k ) = log P { d k = 1 / R 1 N } P { d k = 0 / R 1 N } - - - ( 1 )
Wherein, d kWhat represent is k bit in the noncoded information bit sequence, R 1 N = ( x 1 N , y 1 k 1 N ) Or (x 1 N, y 2k1 N) that represent is the information bit sequence x that receives 1 NWith two check bit sequences y 1k1 NOr y 2k1 N, be respectively applied for two SISO decoders, Λ 1(d k) that represent is d kLog-likelihood probability (logarithmlikelihood ratio, be called for short LLR).
Through deriving Λ 1(d k) can be expressed as follows form:
Λ ( d k ) = Σ m Σ m ′ γ 1 ( R k , m ′ , m ) α k - 1 ( m ′ ) β k ( m ) Σ m Σ m ′ γ 0 ( R k , m ′ , m ) α k - 1 ( m ′ ) β k ( m ) - - - ( 2 )
Wherein, m and m ' represent the k moment and k-1 coder state (S constantly respectively kAnd S K-1);
α k ( m ) = P { S k = m , R 1 k } = Σ m ′ Σ i γ i ( R k , m ′ , m ) α k - 1 ( m ′ ) - - - ( 3 )
Expression forward path tolerance (forward path metric);
β k ( m ) = P { R k + 1 N / S k = m } = Σ m ′ Σ i γ i ( R k + 1 , m , m ′ ) β k + 1 ( m ′ ) - - - ( 4 )
Expression reverse path tolerance (backward path metric);
γ i(R k,m′,m)=P{d k=i,S k=m,R k/S k-1=m′} (5)
Expression branch metric (branch metric).
Consider the compromise of implementation complexity and Turbo code decoder performance, what often adopt in actual the realization is the Max-Log-MAP algorithm, adopts log (e a+ e b(a b) simplifies the MAP algorithm to)=max.Adopt the Max-Log-MAP algorithm, find the solution the index, the logarithm operation that need in preceding, reverse path tolerance and the branch metric formula and become the add operation of simple linearity and asked and be worth computing most, significantly reduced the complexity of decoding.
From (3) and (4) as can be seen, preceding, reverse path tolerance all calculates by recursion, and each will calculate the α and the β value of M state.Because tolerance constantly adds up, do not do normalized if do not consider each step, even the needed quantizing bit number of initial time α and β is also few, but through a lot of backs (the longest frame length of WCDMA and TD-SCDMA system Turbo code is 5114) of adding up that go on foot, very long (, will increase by 13 bits) that bit wide will become for WCDMA and TD-SCDMA system, thus need a large amount of chip areas, and arithmetic speed is greatly affected, reduces the decoding rate of Turbo code decoder.Therefore, consider the hardware implementation complexity and the resource consumption of Turbo code decoder, require the shared bit wide of α and β value few more good more.But, in order to guarantee the performance of Turbo code decoder, quantizing bit number to computing must have certain requirement, be that figure place in the computing can not be very little, otherwise the forward and backward path metric is overflowed, the decoding performance of deterioration Turbo code greatly, this just with between realization scale and the arithmetic speed contradicts.
Summary of the invention
A kind of Turbo code decoder state metric bit wide control method and device of being used for that invention provides can not influence under the situation of Turbo code decoder performance substantially, reduces the needed bit width of forward and backward path metric.
In order to achieve the above object, the invention provides a kind of Turbo code decoder state metric bit wide control method that is used for, comprise:
Initial forward path metric and back are to the calculation procedure of path metric;
The side-play amount calculation procedure;
Initial forward path tolerance and back are to path metric and offset addition step;
Current forward path tolerance and current back minimum value statistic procedure to path metric; And
Utilize above-mentioned current forward path tolerance and current back minimum value, normalized step is carried out to path metric in current forward path tolerance and back to path metric.
The corresponding Turbo code decoder state measurement bit-width control device that is used for comprises:
Initial forward path metric and back are to the calculation element of path metric;
The side-play amount calculation element;
Initial forward path tolerance and back are to the adder of path metric and offset addition;
Current forward path tolerance and current back minimum value selector of adding up to the minimum value of path metric; And
Utilize above-mentioned current forward path tolerance and current back minimum value, normalized subtracter is carried out to path metric in current forward path tolerance and back to path metric.
A kind of Turbo code decoder state metric bit wide control method and device of being used for provided by the invention, result of calculation after each step computing in preceding, the reverse path metric calculation is controlled in the very limited scope, thereby make the computing figure place descend greatly, and this method for normalizing computing can be simplified the complexity of computing so that participating in all variablees of computing all is positive number.
Description of drawings
Fig. 1 is the Turbo code encoder of cdma2000 in the background technology;
Fig. 2 is a Turbo code iterative decoder in the background technology;
Before Fig. 3 adopts Turbo code after the inventive method, the flow chart of reverse path metric calculation;
Fig. 4 adopts the present invention that α and β are handled the ber curve that adopts enough bit wides with α and β for when the Turbo code frame length is 1280;
Fig. 5 adopts the present invention that α and β are handled the frame error rate curve that adopts enough bit wides with α and β for when the Turbo code frame length is 1280.
Embodiment
Followingly specify preferred forms of the present invention according to Fig. 3~Fig. 5:
The invention provides a kind of Turbo code decoder state metric bit wide control method and device of being used for, it comprises following steps:
Step 1, preceding reverse path metric calculation device utilize Max-Log-MAP algorithm computation initial forward path metric and back to path metric:
α ^ k ( m ) = log [ α k ( m ) ] = = max m ′ ( x k u k i + y k v k i , m ′ σ 2 + F ( z k ) + α ^ k - 1 ( m ′ ) ) - - - ( 6 )
β ^ k = log [ β k ( m ) ] = max m ′ ( x k + 1 u k + 1 i + y k + 1 v k + 1 i , m ′ σ 2 + F ( z k + 1 ) + β ^ k + 1 ( m ′ ) ) - - - ( 7 )
Wherein, F ( z k ) = z k - max ( 0 , z k ) d k = 1 - max ( 0 , z k ) d k = 0 K bit d of expression kEqual 0 or 1 prior probability, z kThe outer cover letter breath that expression upper level SISO decoder produces, u k i = 1 - 2 × x k , v k i , m = 1 - 2 × y k Represent binary phase shift keying modulation (being called for short BPSK) or Quadrature Phase Shift Keying modulation (being called for short QPSK) modulation respectively down, the information symbol sequence and the checking symbol sequence of the output of Turbo code encoder.
Because the initial condition and the final state of rsc encoder all are 0 in the Turbo code encoder, so the initial value of the initial value of forward path tolerance and reverse path tolerance is as follows:
α ^ 0 ( m ) = ∞ m = 0 0 m ≠ 0 - - - ( 8 )
β ^ N ( m ) = ∞ m = 0 0 m ≠ 0 - - - ( 9 )
Step 2, calculating side-play amount:
Step 2.1, comparator are according to F (z in formula (6) and (7) k), obtain (z with respect to prior probability F k) side-play amount z Koffset:
z koffset=max(|z k-max(0,z k)|,|-max(0,z k)|) (10)
The information bit x that step 2.2, comparator are imported according to the Turbo code decoder kWith check bit y kObtain side-play amount xy with respect to the decoder input signal Koffset:
xy koffset=2×max(|x k2|,|y k2|) (11)
Step 3, adder add side-play amount with initial forward path tolerance and back to path metric, and obtaining current forward path tolerance and back all is positive number to path metric:
α ^ k ( m ) = log [ α k ( m ) ] = max m ′ ( x k u k i + y k v k i , m ′ σ 2 + F ( z k ) + α ^ k - 1 ( m ′ ) ) + z offset + xy offset - - - ( 12 )
β ^ k ( m ) = log [ β k ( m ) ] = max m ′ ( x k + 1 u k + 1 i + y k + 1 v k + 1 i , m ′ σ 2 + F ( z k + 1 ) + β ^ k + 1 ( m ′ ) ) + z offset + xy offset - - - ( 13 )
Step 4, minimum value selector are added up all current forward path tolerance α and current back minimum value to path metric β: α MinAnd β Min
Step 5, subtracter utilize α MinAnd β MinCurrent forward path tolerance and back are carried out the normalization operation to path metric:
α ^ k ( m ) = log [ α k ( m ) ]
= max m ′ ( x k u k i + y k v k i , m ′ σ 2 + F ( z k ) + α ^ k - 1 ( m ′ ) ) + z offset + xy offset - α min - - - ( 14 )
β ^ k ( m ) = log [ β k ( m ) ]
= max m ′ ( x k + 1 u k + 1 i + y k + 1 v k + 1 i , m ′ σ 2 + F ( z k + 1 ) + β ^ k + 1 ( m ′ ) ) + z offset + xy offset - β min - - - ( 15 )
Specific embodiment:
The input data bit width of WCDMA system Turbo code decoder is 6 bits, and the outer cover letter breath bit wide that the SISO decoder produces is 10 bits.If do not adopt normalization algorithm of the present invention, the needed bit wide of forward and backward path metric is at least 24 bits, can not overflow in the time of could guaranteeing to calculate α and β.If adopt normalization algorithm provided by the present invention, simulation result shows, just can guarantee when the bit wide of forward and backward path metric is 8 bits that the Turbo code decoding performance does not have loss substantially.
A kind of Turbo code decoder state metric bit wide control method and device of being used for provided by the invention, result of calculation after each step computing in preceding, the reverse path metric calculation is controlled in the very limited scope, thereby make the computing figure place descend greatly, and this method for normalizing computing can be simplified the complexity of computing so that participating in all variablees of computing all is positive number.

Claims (2)

1. one kind is used for Turbo code decoder state metric bit wide control method, comprises:
Step 1: utilize Max-Log-MAP algorithm computation initial forward path metric and back calculation procedure to path metric;
α ^ k = log [ α k ( m ) ] = = max m ′ ( x k u k i + y k v k i , m ′ σ 2 F ( z k ) + α ^ k - 1 ( m ′ ) ) - - - ( 6 )
Figure FSB00000326816300012
Represent binary phase shift keying modulation or Quadrature Phase Shift Keying modulation respectively down, the information symbol sequence and the checking symbol sequence of the output of Turbo code encoder;
Step 2: side-play amount calculation procedure:
Step 2.1, comparator are according to F (z in formula (6) and (7) k), obtain (z with respect to prior probability F k) side-play amount z Koffset:
z koffset=max(|z k-max(0,z k)|,|-max(0,z k)|) (10)
The information bit x that step 2.2, comparator are imported according to the Turbo code decoder kWith check bit y kObtain side-play amount xy with respect to the decoder input signal Koffset
xy koffset=2×max(|x k2|,|y k2|) (11)
Step 3: to path metric and offset addition, obtaining current forward path tolerance and back all is positive number to path metric with initial forward path tolerance and back;
α ^ k ( m ) = log [ α k ( m ) ] = max m ′ ( x k u k i + y k v k i , m ′ σ 2 + F ( z k ) + α ^ k - 1 ( m ′ ) ) + z offset + xy offset - - - ( 12 ) β ^ k ( m ) = log [ β k ( m ) ] = max m ′ ( x k + 1 u k + 1 i + y k + 1 v k + 1 i , m ′ σ 2 + F ( z k + 1 ) + β ^ k + 1 ( m ′ ) ) + z offset + xy offset - - - ( 13 )
Step 4: add up all current forward path tolerance α and current back minimum value: α to path metric β MinAnd β MinAnd
Step 5: utilize above-mentioned current forward path tolerance and current back minimum value to path metric,
Normalization is carried out to path metric in current forward path tolerance and back:
α ^ k ( m ) = log [ α k ( m ) ]
= max m ′ ( x k u k i + y k v k i , m ′ σ 2 + F ( z k ) + α ^ k - 1 ( m ′ ) ) + z offset + xy offset - α min - - - ( 14 )
β ^ k ( m ) = log [ β k ( m ) ]
= max m ′ ( x k + 1 u k + 1 i + y k + 1 v k + 1 i , m ′ σ 2 + F ( z k + 1 ) + β ^ k + 1 ( m ′ ) ) + z offset + xy offset - β min - - - ( 15 )
2. one kind is used for Turbo code decoder state measurement bit-width control device, it is characterized in that, comprises:
Utilize Max-Log-MAP algorithm computation initial forward path metric and back calculation element to path metric;
α ^ k = log [ α k ( m ) ] = = max m ′ ( x k u k i + y k v k i , m ′ σ 2 F ( z k ) + α ^ k - 1 ( m ′ ) ) - - - ( 6 )
Represent binary phase shift keying modulation or Quadrature Phase Shift Keying modulation respectively down, the information symbol sequence and the checking symbol sequence of the output of Turbo code encoder;
Comparator is according to F (z in formula (6) and (7) k), obtain (z with respect to prior probability F k) side-play amount z Koffset:
z koffset=max(|z k-max(0,z k)|,|-max(0,z k)|) (10)
Comparator is according to the information bit x of Turbo code decoder input kWith check bit y kObtain side-play amount xy with respect to the decoder input signal KoffsetThe side-play amount calculation element;
xy koffset=2×max(|x k2|,|y k2|) (11)
To path metric and offset addition, obtaining current forward path tolerance and back all is the adder of positive number to path metric with initial forward path tolerance and back;
α ^ k ( m ) = log [ α k ( m ) ] = max m ′ ( x k u k i + y k v k i , m ′ σ 2 + F ( z k ) + α ^ k - 1 ( m ′ ) ) + z offset + xy offset - - - ( 12 )
β ^ k ( m ) = log [ β k ( m ) ] = max m ′ ( x k + 1 u k + 1 i + y k + 1 v k + 1 i , m ′ σ 2 + F ( z k + 1 ) + β ^ k + 1 ( m ′ ) ) + z offset + xy offset - - - ( 13 )
Add up all current forward path tolerance α and current back minimum value: α to path metric β MinAnd β MinMinimum value selector; And
Utilize above-mentioned current forward path tolerance and current back minimum value, normalized subtracter is carried out to path metric in current forward path tolerance and back to path metric
α ^ k ( m ) = log [ α k ( m ) ]
= max m ′ ( x k u k i + y k v k i , m ′ σ 2 + F ( z k ) + α ^ k - 1 ( m ′ ) ) + z offset + xy offset - α min - - - ( 14 )
β ^ k ( m ) = log [ β k ( m ) ]
= max m ′ ( x k + 1 u k + 1 i + y k + 1 v k + 1 i , m ′ σ 2 + F ( z k + 1 ) + β ^ k + 1 ( m ′ ) ) + z offset + xy offset - β min - - - ( 15 ) .
CN 200510111149 2005-12-05 2005-12-05 State metric bit wide control method and device for Turbo code decoder Active CN1777044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510111149 CN1777044B (en) 2005-12-05 2005-12-05 State metric bit wide control method and device for Turbo code decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510111149 CN1777044B (en) 2005-12-05 2005-12-05 State metric bit wide control method and device for Turbo code decoder

Publications (2)

Publication Number Publication Date
CN1777044A CN1777044A (en) 2006-05-24
CN1777044B true CN1777044B (en) 2011-06-08

Family

ID=36766387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510111149 Active CN1777044B (en) 2005-12-05 2005-12-05 State metric bit wide control method and device for Turbo code decoder

Country Status (1)

Country Link
CN (1) CN1777044B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1301087A (en) * 1999-12-23 2001-06-27 华为技术有限公司 Decoding method and decoder for Tebo code
US6400290B1 (en) * 1999-11-29 2002-06-04 Altera Corporation Normalization implementation for a logmap decoder
US20040153942A1 (en) * 2003-01-24 2004-08-05 Nathan Shtutman Soft input soft output decoder for turbo codes
CN1571316A (en) * 2003-07-15 2005-01-26 深圳市中兴通讯股份有限公司 An implementing method for shortening critical path of Turbo decoder
US20050031053A1 (en) * 2003-08-08 2005-02-10 Holger Claussen Decoding method and apparatus
CN1767398A (en) * 2005-11-25 2006-05-03 凯明信息科技股份有限公司 Method for decreasing state measurement bit-width in Turbo code decoder
CN2884696Y (en) * 2005-12-05 2007-03-28 凯明信息科技股份有限公司 Normalized device for Turbo coder decoder

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6400290B1 (en) * 1999-11-29 2002-06-04 Altera Corporation Normalization implementation for a logmap decoder
CN1301087A (en) * 1999-12-23 2001-06-27 华为技术有限公司 Decoding method and decoder for Tebo code
US20040153942A1 (en) * 2003-01-24 2004-08-05 Nathan Shtutman Soft input soft output decoder for turbo codes
CN1571316A (en) * 2003-07-15 2005-01-26 深圳市中兴通讯股份有限公司 An implementing method for shortening critical path of Turbo decoder
US20050031053A1 (en) * 2003-08-08 2005-02-10 Holger Claussen Decoding method and apparatus
CN1767398A (en) * 2005-11-25 2006-05-03 凯明信息科技股份有限公司 Method for decreasing state measurement bit-width in Turbo code decoder
CN2884696Y (en) * 2005-12-05 2007-03-28 凯明信息科技股份有限公司 Normalized device for Turbo coder decoder

Also Published As

Publication number Publication date
CN1777044A (en) 2006-05-24

Similar Documents

Publication Publication Date Title
CN1557052B (en) Apparatus and method for reducing bit error rates (BER) and frame error rates (FER) using turbo decoding in a digital communication system
US6829313B1 (en) Sliding window turbo decoder
US6885711B2 (en) Turbo decoder with multiple scale selections
US8601355B2 (en) System and method for determining parity bit soft information at a turbo decoder output
KR100512668B1 (en) Iteration terminating using quality index criteria of turbo codes
JP4709119B2 (en) Decoding device and decoding method
US7159168B2 (en) Iterative decoding with likelihood weighting
US20040005019A1 (en) Turbo decoder employing max and max* map decoding
US6393076B1 (en) Decoding of turbo codes using data scaling
US6999531B2 (en) Soft-decision decoding of convolutionally encoded codeword
US6879648B2 (en) Turbo decoder stopping based on mean and variance of extrinsics
US20040039769A1 (en) Method for decoding error correcting code, its program and its device
US6898254B2 (en) Turbo decoder stopping criterion improvement
CN1430815A (en) TURBO decoder with decision feedback equalization
US7391826B2 (en) Decoding method and apparatus
JP2005065271A5 (en)
CN101882934A (en) Arithmetic circuit
US7840884B2 (en) Turbo decoding with iterative estimation of channel parameters
CN1777044B (en) State metric bit wide control method and device for Turbo code decoder
CN2884696Y (en) Normalized device for Turbo coder decoder
CN1767398A (en) Method for decreasing state measurement bit-width in Turbo code decoder
CN113824452B (en) Decoding method based on grid graph, component decoder and channel decoder
US9647798B2 (en) Decoding method using dynamic scaler factor
CN116232342A (en) Turbo code decoding method
Divya et al. Design of convolutional encoder and map decoder using dual mode MLMAP decoding algorithm

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SHANGHAI XUANPU INDUSTRY CO.,LTD.

Free format text: FORMER OWNER: KAIMING INFORMATION SCIENCE CO., LTD.

Effective date: 20090821

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20090821

Address after: D District, Xhenzhuang Industrial Zone, Shanghai, China: 201108

Applicant after: Shanghai Xuanpu Industrial Co., Ltd.

Address before: Shanghai city Xhenzhuang Industrial Zone No. 18 Shen road, post encoding: 201108

Applicant before: Kaiming Information Science & Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant