KR870001606B1 - Decoder for correcting code word error - Google Patents
Decoder for correcting code word error Download PDFInfo
- Publication number
- KR870001606B1 KR870001606B1 KR1019840008384A KR840008384A KR870001606B1 KR 870001606 B1 KR870001606 B1 KR 870001606B1 KR 1019840008384 A KR1019840008384 A KR 1019840008384A KR 840008384 A KR840008384 A KR 840008384A KR 870001606 B1 KR870001606 B1 KR 870001606B1
- Authority
- KR
- South Korea
- Prior art keywords
- gate
- error
- syndrome
- bit
- codeword
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
Landscapes
- Physics & Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Error Detection And Correction (AREA)
Abstract
Description
본 발명의 회로도.Circuit diagram of the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1,2,3,4,5,6 : EXOR게이트(게이트) 30 : 버퍼1,2,3,4,5,6: EXOR gate 30: Buffer
10,20,17,27 : 8비트 레지스터 15,25 : 8비트멀티플렉스10,20,17,27: 8-
40 : 14진 카운터 19,21,26 : 멀티플라이어40: 14-
A1,A2,A10: 앤드게이트A 1 , A 2 , A 10 : Endgate
본 발명은 코드워드의 에러 정정용 데코더 회로에 관한 것으로 R-S코드를 사용하는 인코더에서 인가되는 상태 신호에 에러가 발생될때에 이를 정정시켜 전송시킬 수 있는 회로를 제공하고자 하는 것이다.The present invention relates to a decoder circuit for error correction of codewords, and to provide a circuit capable of correcting and transmitting an error in a status signal applied by an encoder using an R-S code.
디지탈 신호의 재생시에 데이타를 보호할 목적으로 수개의 폐리티(PARITY)를 발생시켜 인코딩을 행하게 하며In order to protect the data when the digital signal is reproduced, several parities are generated and encoded.
데코딩시에는 인코딩된 상태 신호에서 신드롬(syndrome :검증) S0, S1를 구하고 이 신드롬에 의하여 에러 값을 정정할 수 있도록 제안 되었으며In decoding, it is proposed to obtain the syndrome S 0 , S 1 from the encoded status signal and correct the error value by this syndrome.
이 모든 연산 처리는 유한 피드내에서 행하도록 하고 있다. 본 발명의 목적은 8비트용 데이타를 다중처리하여 데코딩할 대에 한심볼(8비트)의 에러를 정정할 수 있는 데코더 회로를 제공하고자 하는 것이며All these arithmetic operations are performed in a finite feed. An object of the present invention is to provide a decoder circuit that can correct an error of one symbol (8 bits) when decoding and processing 8 bits of data.
다른 목적은 에러 정정시에 에러 위치를 찾아내기 편리한 회로를 멀티플라이어(승산기), EXOR게이트, 노아 게이트로서 구성할 수 있도록 구성할 수 있도록 한 것으로Another object is to make it possible to configure a circuit which is convenient to find an error position in error correction as a multiplier, an EXOR gate, or a noah gate.
신드롬(S0)(S1)에 의하여 에러값과 에러의 위치를 정확하게 파악하여 한심볼의 정정이 용이하게 하기 위하여 8비트 멀티플렉서 및 레지스터를 통하여 신드롬의 에러값을 궤환할 수 있게 구성하고In order to accurately identify the error value and the location of the error by syndrome (S 0 ) (S 1 ) and to correct the symbol, the error value of the syndrome can be fed back through an 8-bit multiplexer and register.
멀티플라이어 및 게이트를 통하여 신드롬의 상태 신호가 인가되게 구성하여 노아게이트를 통하여 에러 위치를 나타낼 수 있는 신호가 발생하도록 구성한 것이다.The status signal of the syndrome is applied through the multiplier and the gate to generate a signal indicating the error position through the noah gate.
일반적으로 R-S코드(Reed-Solomon code)는 다중 채널의 전송에 있어서 에러를 정정하는 데 가장 강력한 BCH코드로서 유한필드(Galois field)상에서 연산 처리를 행하도록 하여 K개의 심벌의 데이타 워드를In general, the Reed-Solomon code is the most powerful BCH code for error correction in multi-channel transmission.
d(x)=dk-1xk-1 dk-2xk-2 ………………d1xd0 d (x) = d k-1 x k-1 d k-2 x k-2 … … … … … … d 1 x d 0
라 하고 코드워드를And the codeword
c(x)=cn-1xn-1 cn-2xn-2…………………c1xc0 c (x) = c n-1 x n-1 c n-2 x n-2 ... … … … … … … c 1 x c 0
=dk-1xn-1 dk-2xn-2 ……………………d0xn-k pr-1xn-k-1 = d k-1 x n-1 d k-2 x n-2 … … … … … … … … d 0 x nk p r-1 x nk-1
pr-2xn-k-2………………………p0 p r-2 x nk-2 ... … … … … … … … … p 0
단 r=n-kWith r = n-k
라 하면If
코드워드의 k개의 심벌 cn-1, cn-2, …cn-k+1, cn-k는 데이타 워드 dk-1, dk-2, …d1, d0와 같으며K symbols of the codeword c n-1 , c n-2 ,... c n-k + 1 , c nk are the data words d k-1 , d k-2 ,. same as d 1 , d 0 ,
코드워드의 나머지 cn-k-1, cn-k-2, …,c1, c0는 페리티로서 n-k차 생성 다항식 g(x)에 의하여 구해지며 그 값은의 나머지와 같으며The remainder of the codeword c nk-1 , c nk-2 ,... , c 1 , c 0 are the ferritics, obtained by the nk order-generated polynomial g (x) Is like the rest of
GF(2m)인 유한필드내에서 R-S 부호는 다음과 같은 매개변수가 성립됨을 알 수 있다.In the finite field of GF ( 2m ), the RS code shows that the following parameters are established.
부호길이 : n=2m-1정보량 : k=2m-2t-1Code length: n = 2 m-1 Information amount: k = 2 m -2t-1
페리티수 : n-k=2t 최초거리 : dmin=2t+1Number of Perity: n-k = 2t Initial Distance: dmin = 2t + 1
에러정정능력 : tError correction ability: t
따라서 본 발명의 데코더(14,12)는 GF(28)에서 규정할 때 단축형R-S 코드를 사용하여 계산하면Therefore, the decoders 14 and 12 of the present invention are calculated using a shortened RS code when defined in the
n=28-1=255n = 2 8 -1 = 255
k=28-2×1-1=253k = 2 8 -2 × 1-1 = 253
페리티수=n-k=2t=2 ∴t=1로 될 수 있게 n을 n-241, k는 k-241로 선택하면 n=14, k=12가 되는 것으로If n is n-241 and k is k-241, n = 14 and k = 12.
본 발명의 데코더 회로는 페리티수가 2개이며 데이타 워드는 12개가 된다.The decoder circuit of the present invention has two number of validities and twelve data words.
이를 첨부도면에 의하여 상세히 설명하면 다음과 같다.When described in detail by the accompanying drawings as follows.
본 발명은 인코딩된 상태신호(Rx) 즉, 페리티가 포함된 코드워드가 EXOR 게이트(1)(2)를 통하여 8비트 레지스터(10)(20)에 인가되게 구성하여 8비트 레지스터(10)에서 앤드게이트(A1)를 통하여 궤환된 상태신호가 EXOR 게이트(1)로 인가되어 다음 심볼과 더해지는 반복 동작을 하여 8 비트 레지스터(10)에서 신드롬(Syndrom)(S0)을 구할 수 있게 구성한다.According to the present invention, an encoded status signal (Rx), that is, a codeword including a parity is configured to be applied to the 8-
그리고 8비트 레지스터(20)에서는 멀티플라이어(21) 및 앤드 게이트(A2)를 통하여 궤환된 상태 신호가 EXOR 게이트(2)로 인가되게 구성하여 다음 심볼과 α승을 곱한 심볼이 더해지는 반복 동작을 행할 수 있게하여 8비트 레지스터(20)에서 신드롬(S1)을 구할수 있게 구성한다.In the 8-
또한 코드워드에 의하여 구해진 신드롬(S0)은 8비트 멀티플렉서(15)를 통하여 8비트 레지스터(17)에서 순차적으로 궤환되게 구성하여 8비트 레지스터(27)의 출력 신호와 일치되어 에러값을 나타낼 수 있게 구성하며Also, the syndrome S 0 obtained by the codeword may be sequentially fed back from the 8-bit register 17 through the 8-
신드롬(S1)은 8비트 멀티플렉서(25)를 통하여 8비트 레지스터(27)에서 멀티플라이어(26)를 통하여 α승이 연산되어 궤환되도록 반복 동작을 행함으로써 유한필드 내에 α의 연산식을 신드롬(S1)의 값을 나타낼 수 있게 구성한 후The syndrome S 1 performs an iterative operation such that the α power is calculated and fed back through the
신드롬(S0)이 멀티플라이어(19)를 통하여 EXOR 게이트(5)의 일측에 인가되고 신드롬(S1)은 EXOR 게이트(5)의 타측에 인가되어 에러의 위치를 노아게이트(NOR)의 출력 신호로서 나타낼 수 있게 구성한다.The syndrome S 0 is applied to one side of the EXOR
이때에 앤드 게이트(A10)에서 신드롬(S0)의 에러값과 에러의 위치 신호가 인가될 때 EXOR 게이트96)에 에러값을 공급하므로서 버퍼(30)를 통하여 인가되는 각 코드워드에 에러를 제거할 수 있도록 구성한 것이다.At this time, when the error value of the syndrome S 0 and the position signal of the error are applied from the AND gate A 10 , an error value is supplied to the EXOR gate 96 so that an error is applied to each code word applied through the
여기서 14진 카운터(40)의 카운터신호(CL)는 상태신호(Rx)의 각 코드워드가 순차적으로 각 회로에 인가될 수 있도록 구성한 것으로 앤드 게이트(A1)(A2)를 제어하는 동시에 8비트 멀티플렉서(15)(25)에 제어 신호가 인가되도록 구성하여 각기 다른 14개의 심볼이 다른 14개의 심볼과 연산되는 것을 방지할 수 있게 구성한 것이다.Here, the counter signal CL of the 14-
이와 같이 구성된 본 발명에서 상태신호(Rx)가 입력될 때 8 비트 값이 병렬로 14개의 심벌이 인가되며In the present invention configured as described above, when the state signal Rx is inputted, 14 symbols are applied in parallel with 8-bit values.
14개의 심벌이 c13, c12, …c1, c0의 순서로 입력될 때 게이트(1)(2) (EXOR 게이트를 약칭함)를 통하여 8비트 레지스터(10)(20)에 인가하게 된다.14 symbols are c 13 , c 12 ,... When input in the order of c 1 and c 0 , it is applied to the 8-
8비트 레지스터(10)는 c13, c12,…c0순의 코드워드순으로 입력될 때에 그 출력이 앤드 게이트(A1)의 일측에 인가되며The 8-
14진 카운터(40)의 출력은 앤드 게이트(A1)의 타측에 인가되어 바로 전 코드워드와 더해지는 반복적인 동작을 행하게 되어 결국 8 비트 레지스터(10)에는 신도롬(Syndrime) S0=c13 c12 c11 …c1 c0이 구해진다.The output of the fourteen-
그리고 8비트 레저스터(20)에 상기의 코드워드가 인가될 때에는 그 출력은 멀티플라이어(21)에서 α승을 한 후에 앤그 게이트(A2)의 일측에 인가되고 앤드 게이트(A2)의 타측에는 14진 카운터(40)의 카운터 신호가 인가되어 게이트(2)로 출력되면서 다음 코드워드와 더해지게 되어 8 비트 레지스이(20)에는 신드롬 (S1)은 S1=α13c13 α12c12 …αc1 c0의 연산 결과가 저장하게 되며And when subjected to a code word of the 8-bit leisure requester 20 the output of which after the α W from the
다음 코드워드의 첫번째 심볼(c13)이 들어오는 순간 14진 카운터(40)의 카운터( 0 상태) 출력 신호가 8비트 멀티플렉서(15)(25)에 인가되어 신드롬(S0)(S1)의 상태 신호는 8비트 레지스터(17)(27)에 인가하게 되는 동시에 14진 카운터와 카운터 신호가 앤드 게이트(A1)(A2)의 타측예 인가시켜 앤드 게이트(A1)(A2)를 "오프"시키어 이미 계산된 신드롬(S0)(S1)과 다음번 코드워드의 심볼(c13)이 더해지는 것을 방지하고As soon as the first symbol (c 13 ) of the next codeword is received, the counter (zero state) output signal of the hex counter (40) is applied to the 8-bit multiplexer (15) (25) to produce the syndrome (S 0 ) (S 1 ). status signal is an 8-bit register 17 27 is applied to at the same time, the aND gate 14, binary counter and a counter signal in (a 1) was applied to the other cheukye the aND gate of the (a 2) (a 1) (a 2) "Off" to prevent the addition of the already calculated syndrome (S 0 ) (S 1 ) and the symbol (c 13 ) of the next codeword
8비트 레지스터(10)(20)에 다음번 코드워드의 심볼(c13)이 인가되어 14진 카운터(40)의 계수 신호에 따라 상술한 바와 같이 반복 연산처리하여 새로운 신드롬(S0)(S1)을 구하게 된다.The symbol c 13 of the next codeword is applied to the 8-
이때 8비트 레지스터(17)에 인가된 신드롬(S0)은 S0=c13 c12 …c0의 코드워드의 합으로 나타나는 것으로 입력된 상태신호(Rx)에 에러가 있을 때는 신드롬(S0)에는 에러값을 갖게 된다.At this time, the syndrome S 0 applied to the 8-bit register 17 is S 0 = c 13 c 12 … It is represented by the sum of the code words of c 0. When an input state signal Rx has an error, the syndrome S 0 has an error value.
즉, Rx=c+ei의 식이 성립되며 c는 코드워드, ei는 에러값That is, the formula of Rx = c + ei is established, c is a codeword and ei is an error value.
S0=R(α0)=eiS 0 = R (α 0 ) = ei
S1=R(α)=eiαi S 1 = R (α) = eiα i
의 관계식으로 에러값은 ei=S0가 되고In this relationship, the error value is ei = S 0
에러 위치는으로 나타낼 수 있음을 알 수 있다. 따라서 신드롬(S1)의 출력 신호는 멀티플라이어(26)를 통하여 반복 궤환시켜 α승을 곱한 출력 신호가 나타나도록 하여 유한 필드내에 R-S 코드로서 생성다항식으로 표기되게 하여 g(x)=(x+α0)(x+α)=x2+α25x+α=x2+(α+1)x+α이 되므로 유한한 값을 갖도록 한다.Error location It can be seen that. Therefore, the output signal of the syndrome S 1 is repeatedly generated through the
그리고 본 발명에서 입력된 상태신호(Rx)에 에러가 있을 때에는 버퍼(30)를 통하여 인가되는 상태 신로가 각 코드워드씩 게이트(6)를 통하여 출력되도록 하여 앤드 게이트(A10)에서 코드워드의 에러 위치에서 에러값을 더하도록 함으로써When there is an error in the state signal Rx inputted in the present invention, the state path applied through the
게이트(6)의 두 입력 신호가 고전위 신호일때 출력이 저전위가 되는 EXOR 게이트의 특성에 의하여 에러값을 상쇄시킴으로 에러를 정정시킬 수 있게 에러의 위치를 찾기 위하여 상기식에서와 같이 신드롬을 나눌수 있는 회로를 제공하고자 할때에 그 회로 구성이 어렸고 복잡하여 지므로 충분히 오동작을 행할 우려가 있는 덤을 감안하여 에러의 위치를 구하는 상기식을 유한 필드내에 이항 정리를 하여식에서 αiS0 +S1=0을 구할 수가 있으며In order to find the position of the error to correct the error by canceling the error value by the characteristic of the EXOR gate whose output becomes low potential when the two input signals of the
게이트(5)의 타측에서 이를 만족시킬 수 있게 신드롬(S0)은 멀티플라이어(19)에서 α승(α13)만큼 곱해서 게이트(5)의 일측에 인가되고Syndrome S 0 is applied to one side of
게이트(5)의 타측에는 신드롬(S1)이 인가되어 게이트(5)를 통하여 노아게이트(NOR)에 인가되게 된다. 노아게이트(NOR)는 8베트 전송(8채널)이기 때문에 구성시킨 각 비트마다 하나의 인버터로서 구성시킬 수가 있는 것으로The syndrome S 1 is applied to the other side of the
노아게이트(NOR)는 에러가 생겼을 때 고전위 상태 신호를 나타낼 수 있도록 상기식 αiS0 +S1=0이 되어서 노아게이트(NOR)출력이 HIGH가 되도록 하여 에러 위치에서 앤드 게이트(A10)에 인가되도록 한 것이다.Noah gate (NOR) is the formula α i S 0 to represent a high potential signal when an error occurs + S 1 = 0 so that the NOR output becomes HIGH so that it is applied to the AND gate A 10 at the error position.
따라서 에러가 발생되면 앤드 게이트(A10)의 일측에 에러위치 신호와 타측의 에러값이 인가되어 게이트(6)에 공급되게 함으로써 각 코드워드의 심볼이 해당하는 에러값을 없앨 수가 있는 것이다.Therefore, when an error occurs, an error position signal and an error value of the other side are applied to one side of the AND gate A 10 and supplied to the
즉, 본 발명은 코드워드(c13, c12, …c0), (c13', c12', …c0')순으로 데이타 상태신호(Rx)가 인가될때 코드워드 (c13, c12, …c0)에 의하여 8비트 레지스터(10)(20)에서 신드롬(S0)(S1)을 구하고 이때 버퍼(30)의 전체를 차지한다.That is, according to the present invention, when the data status signal Rx is applied in the order of the codewords (c 13 , c 12 , ... c 0 ), (c 13 ', c 12 ', ... c 0 '), the codewords (c 13 , c 12 ,... c 0 ) obtains the syndrome S 0 (S 1 ) from the 8-bit registers 10 and 20 and occupies the
그후 8비트 레지스터(17)에서 에러값을 구하고(이때 버퍼 30에 코드워드는 버퍼로 나가며 버퍼에는 코드워드 c13', c12', …c0'가 입력되면서 8 비트 레지스터 10, 20을 새로운 신드롬을 구하게 되는 것이로 이 모든 동작을 14진 카운터 40의 카운터 펄스 CL로서 구동하게 된다) 8 비트 레지스터(27)의 신드롬(S1)의 α연산값으로 멀티플라이어(19), 게이트(5), 노아게이트(NOR)에서 에러의 위치를 찾아내어 앤드 게이트(A10)에 에러값이 인가될 때 상기 코드워드에 에러가 있는 심볼이 게이트(6)에 인가되어 8비트 심볼의 데이타 정정을 행할 수가 있는 것으로 특히, 본 발명은 하나의 코드워드에 의하여 에러시 발생되는 일정한 에러값(ei)을 궤환시킴으로서 유한 필드내에 α승 반복 연산되는 8 비트 레지스터(27)의 출력과 8 비트 레지스터(17)의 출력 시점을 일치시킬 수가 잇기 때문에 양 레지스터(17)(27)의 출력 시점을 맞추기 위한 별도의 회로를 구성시킬 필요가 없는 이점이 있는 것이며 에러위치(α)판정시에 제산 회로를 구성시키지 않고 승산회로(멀티플라이어 19)및 게이트(EXOR 게이트 5)로서 에러위치 신호를 노아게이트(NOR)를 통하여 출력시킬수 잇도록 함으로써 오동작을 방지하고 연산 속도의 증진 및 정확한 에러 정정을 기할 수 있는 효과가 있는 것이다.Then, the error value is obtained from the 8-bit register 17 (in this case, the codeword in the
이상에서와 같이 본 발명은 코드워드 에 두개 이상의 에러가 있을 때는 에러 정정의 기능을 행할 수가 없는 것이나(에러 정정능력 t=1이기 때문)As described above, the present invention cannot perform the error correction function when there are two or more errors in the codeword (because the error correction capability is t = 1).
8비트용 데이타의 다중 처리시에는 한 심볼(8비트)의 에러를 정확하게 정정할 수 있는 동시에 에러 위치를 찾아내기 편리한 코드워드의 에러 정정용 데코더 회로를 제공할 수가 있는 것이다.In the multi-processing of 8-bit data, an error of one symbol (8 bits) can be corrected accurately, and an error correction decoder circuit for codewords for finding the error position can be provided.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019840008384A KR870001606B1 (en) | 1984-12-24 | 1984-12-24 | Decoder for correcting code word error |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019840008384A KR870001606B1 (en) | 1984-12-24 | 1984-12-24 | Decoder for correcting code word error |
Publications (2)
Publication Number | Publication Date |
---|---|
KR860005288A KR860005288A (en) | 1986-07-21 |
KR870001606B1 true KR870001606B1 (en) | 1987-09-10 |
Family
ID=19236855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019840008384A KR870001606B1 (en) | 1984-12-24 | 1984-12-24 | Decoder for correcting code word error |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR870001606B1 (en) |
-
1984
- 1984-12-24 KR KR1019840008384A patent/KR870001606B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR860005288A (en) | 1986-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4555784A (en) | Parity and syndrome generation for error detection and correction in digital communication systems | |
US4584686A (en) | Reed-Solomon error correction apparatus | |
US4782490A (en) | Method and a system for multiple error detection and correction | |
US4868828A (en) | Architecture for time or transform domain decoding of reed-solomon codes | |
US4504948A (en) | Syndrome processing unit for multibyte error correcting systems | |
KR920000828B1 (en) | Galois field arithmetimetic logic unit | |
Leung-Yan-Cheong et al. | Concerning a bound on undetected error probability (Corresp.) | |
EP0233075A2 (en) | Method and apparatus for generating error detection check bytes for a data record | |
JPH0936755A (en) | Decoder and its method | |
US5936978A (en) | Shortened fire code error-trapping decoding method and apparatus | |
JPH0728227B2 (en) | Decoding device for BCH code | |
KR100192795B1 (en) | Device for calculating error-locator polynominal in a rs decoder | |
EP1102406A2 (en) | Apparatus and method for decoding digital data | |
US6735737B2 (en) | Error correction structures and methods | |
KR870001606B1 (en) | Decoder for correcting code word error | |
US4298981A (en) | Decoding shortened cyclic block codes | |
KR870001608B1 (en) | Decoder for digital audio equipments | |
Khan et al. | Hardware implementation of shortened (48, 38) Reed Solomon forward error correcting code | |
EP1037148A1 (en) | Error coding method | |
KR100212830B1 (en) | Syndrome calculation apparatus of reed solomon decoder | |
KR100212825B1 (en) | Syndrome calculating apparatus of reed solomon decoder | |
JP3099890B2 (en) | Error correction device for BCH code | |
KR880001369B1 (en) | Encoder parity generator | |
KR870001607B1 (en) | Decoder for correcting code word error | |
KR890007345Y1 (en) | System for generation of digital signals in reedsolomon code |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 19970829 Year of fee payment: 13 |
|
LAPS | Lapse due to unpaid annual fee |