KR940010434B1 - Read-solomon error correction code system - Google Patents

Read-solomon error correction code system Download PDF

Info

Publication number
KR940010434B1
KR940010434B1 KR1019920016750A KR920016750A KR940010434B1 KR 940010434 B1 KR940010434 B1 KR 940010434B1 KR 1019920016750 A KR1019920016750 A KR 1019920016750A KR 920016750 A KR920016750 A KR 920016750A KR 940010434 B1 KR940010434 B1 KR 940010434B1
Authority
KR
South Korea
Prior art keywords
error
polynomial function
missing
polynomial
signal
Prior art date
Application number
KR1019920016750A
Other languages
Korean (ko)
Other versions
KR940008283A (en
Inventor
박용호
Original Assignee
금성일렉트론 주식회사
문정환
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 금성일렉트론 주식회사, 문정환 filed Critical 금성일렉트론 주식회사
Priority to KR1019920016750A priority Critical patent/KR940010434B1/en
Publication of KR940008283A publication Critical patent/KR940008283A/en
Application granted granted Critical
Publication of KR940010434B1 publication Critical patent/KR940010434B1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, 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

The reed solomon error correction code system proper to HDTV or HDVCR corrects an error and an erasure caused in a digital data transmission and simultaneously performs encoding and decoding. The system includes an erasure multinomial generator for inputting erasure position signal according to the input of error flag signal, getting an erasure position multinomial function, and generating; an error flag counter; a multiplier for multiplying a syndrome multinomial function and the erasure multinomial function; an euclid algorithm for performing a euclid computing process and forming an error size and a position multinomial function; and a corrector for performing a Chien search and a Forney algorithm and also performing error and errasure corrections under a controller's control.

Description

리드-솔로몬 에러정정코드 시스템Reed-Solomon Error Correction Code System

제 1 도는 종래 에러정정코드 시스템의 블럭도.1 is a block diagram of a conventional error correction code system.

제 2 도는 본 발명 리드-솔로몬 에러정정코드 시스템의 엔코딩/디코딩장치 구성도.2 is a block diagram of an encoding / decoding device of the Reed-Solomon error correction code system of the present invention.

제 3 도는 제 2 도에 있어서, 엔코딩을 설명하기 위한 도.3 is a diagram for explaining encoding in FIG. 2;

제 4 도는 제 2 도에 있어서, 디코딩을 설명하기 위한 도.4 is a diagram for explaining decoding in FIG. 2;

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

21 : 신드롬발생부 22 : 소실다항식발생부21: syndrome generating part 22: missing polynomial generating part

23 : 에러플래그카운터 24 : 곱셈부23: error flag counter 24: multiplication unit

25 : 유클리드알고리즘 26 : 퍼니알고리즘25: Euclidean Algorithm 26: Funny Algorithm

27 : 정정부 28 : 제어부27: correction unit 28: control unit

29 : 선입선출램 30 : 근(roots)발생부29: first-in, first-out RAM 30: roots generation part

본 발명은 고화질 텔레비젼(HDTV)이나 고화질 브이씨알(HDVCR)에 적당하도록 한 리드(Reed)-솔로몬(Solomon) 에러정정코드(ECC : Error Correction Code) 시스템에 관한 것으로, 특히 디지탈 데이타 전송시에 발생하는 에러 및 소실(erasure)을 정정함과 아울러 엔코딩 및 디코딩을 모두 수행할 수 있도록 한 리드-솔로몬 에러정정코드 시스템에 관한 것이다.The present invention relates to a Reed-Solomon Error Correction Code (ECC) system that is suitable for high-definition television (HDTV) or high-definition VCR (HDVCR). The present invention relates to a Reed-Solomon error correction code system capable of correcting error and erasure, and performing both encoding and decoding.

종래 에러정정코드 시스템의 블럭 구성은 제 1 도에 도시된 바와 같이, 수신되는 신호(R(x))를 입력받아 신드롬(Syndrome)을 만들고 이를 발생시키는 신드롬발생부(1)와, 이 신드롬발생부(1)의 신드롬(S(x))로부터 에러위치 다항식 함수(∧(x))와 에러크기 다항식 함수((x))를 구하는 유클리드알고리즘(2)과, 이 유클리드알고리즘(2)에 의한 에러위치와 에러크기를 입력받아 에러 다항식 함수(E(x))를 만드는 다항식연산부(3)와, 이 다항식연산부(3)로부터 받은 에러 다항식 함수(E(x))를 반전시켜 저장하는 반전롬(4)과, 수신되는 신호(R(x))에 대해 순차적으로 일시저장하는 선입선출 램(5)의 신호 및 다항식연산부(3)의 에러 다항식 함수, 반전롬(4)의 출력을 각기 입력받아 수신신호에서 에러를 정정한 후 출력(R'(x))하는 에러정정부(6)로 구성되었다.As shown in FIG. 1, the block configuration of the conventional error correction code system includes a syndrome generator 1 for receiving a received signal R (x) to generate a syndrome and generating the syndrome, and generating the syndrome. From the syndrome (S (x)) of negative (1), the error position polynomial function (∧ (x)) and the error magnitude polynomial function ( Euclid's algorithm (2) for obtaining (x)), a polynomial operator (3) for inputting an error position and an error magnitude by the Euclid's algorithm (2) and an error polynomial function (E (x)), and the polynomial operator Inverting ROM 4 for inverting and storing the error polynomial function E (x) received from (3), and the signal of the first-in, first-out RAM 5 for temporarily storing the received signal R (x) sequentially. And an error correcting unit 6 for receiving an error polynomial function of the polynomial operation unit 3 and an output of the inversion ROM 4, respectively, correcting an error in a received signal, and outputting the error R '(x).

이와 같이 구성된 종래의 기술에 있어서, 수신되는 신호(R(x))가 신드롬발생부(1)에 입력되면 수신신호로부터 신드롬(S(x))을 만들고 이는 다시 유클리드알고리즘(2)을 수행시켜 에러위치 다항식 함수(∧(x))와 에러크기 다항식 함수((x))를 구한다.In the conventional technique configured as described above, when the received signal R (x) is input to the syndrome generator 1, a syndrome S (x) is generated from the received signal, which is then performed by the Euclidean algorithm 2 again. Error position polynomial function (∧ (x)) and error size polynomial function ( (x))

이와 같이 하여 구해진 에러위치 다항식 함수(∧(x))와 에러크기 다항식 함수((x))를 친 서치(Chien Search) 및 퍼니알고리즘(Forney Algorithm)을 이용한 다항식 연산부(3)에서 에러 다항식함수(E(x))를 형성한 후 에러정정부(6)로 보낸다.The error position polynomial function (∧ (x)) and the error size polynomial function ( (x)) forms an error polynomial function (E (x)) in the polynomial calculation unit (3) using Chien Search and Forney Algorithm, and sends the error polynomial (E) to the error correction unit (6).

그러면 에러정정부(6)에서는 선입선출 램(5)을 거쳐 들어온 수신신호(R(x))와 다항식 연산부(3)를 거친 에러 다항식 함수(E(x)) 및 반전 롬(4)를 거쳐 들어온 신호로부터 에러를 정정하여 수정된 신호(R'(x))를 출력시킨다.Then, the error correction unit 6 receives the received signal R (x) through the first-in, first-out RAM 5, the error polynomial function E (x) through the polynomial calculating unit 3, and the inversion ROM 4. The corrected signal R '(x) is output by correcting an error from the incoming signal.

그러나, 상기와 같은 종래의 기술에 있어서 에러정정만 가능하고 소실 정정에 대하여는 정정기능이 없어서 불편함을 초래하고 엔코딩을 할 경우엔 엔코딩 아이씨(IC)가 또하나 따로 필요하게 되므로 칩면적이 커지게 되는 등의 문제점이 있었다.However, in the conventional technology as described above, only error correction is possible, and there is no correction function for the loss correction, which causes inconvenience, and when encoding, an encoding IC (IC) is required separately, thereby increasing the chip area. There was a problem such as being.

이와 같은 종래의 문제점을 해결하기 위하여 본 발명은 에러플래그(flag)가 생기면 그때의 소실위치신호를 함께 받아 에러에 대해서는 크기 및 위치정보를 알아내고 소실에 대해서는 크기 정보만을 알아내어 에러정정 및 소실정정을 동시에 행하도록 하고, 소실 위치를 코드워드(Code Word)의 패리티 부분에 발생시키면 그곳을 수정하여 송출하게 될 코드워드를 형성함으로써 엔코딩 및 디코딩처럼 동작할 수 있도록 한 리드-솔로몬 에러정정코드 시스템을 창안한 것으로, 이하 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.In order to solve such a conventional problem, the present invention receives the missing position signal at the time when an error flag occurs and finds the size and position information for the error, and finds only the size information for the error and corrects the error. The Reed-Solomon error correction code system can be operated at the same time, and when the loss location is generated in the parity portion of the code word, it is modified to form a code word to be transmitted, thereby acting as encoding and decoding. The present invention is described in detail below with reference to the accompanying drawings.

제 2 도는 본 발명 리드-솔로몬 에러정정코드 시스템의 블럭구성도로서 이에 도시한 바와같이, 수신되는 신호(R(x))를 입력받고 근(Roots)발생부(30)로부터 근을 입력받아 연산처리하여 신드롬(Syndrome)을 만들어 발생하는 신드롬발생부(21)와, 에러 플래그(flag)신호를 입력받고 소실위치신호를 입력받아 소실위치다항식 함수((x))를 구하는 소실다항식발생부(23)와, 에러 플래그 신호를 카운트하는 에러플래그카운터(23)와, 상기 소실다항식발생부(22)의 소실위치 다항식 함수((x))와 신드롬발생부(21)의 신드롬 함수(S(x))에 대해 곱셈연산을 행하는 곱셈부(24)와, 상기 소실다항식 발생부(22)의 소실위치 함수((x))의 곱셈부(24)의 곱셈출력(S(x)(x)) 및 에러플래그카운터(23)의 에러 플래그의 갯수에 따라 유클리드 연산을 수행하여 에러크기 다항식 함수((x)) 및 에러위치 다항식 함수(∧(x))를 구하여 발생하는 유클리드알고리즘(25)과, 상기 유클리드알고리즘(25)으로부터 에러크기 다항식 함수((x)) 및 에러위치 다항식 함수(∧(x))를 입력받고 친서치(Chien Search)와 오프셋(off set)에 따라 에러 다항식 함수(E(x))를 구하는 퍼니(Forney) 알고리즘(26)과, 수신되는 신호(R(x))에 대해 순차적으로 일시정지하는 선입선출 램(29)으로부터 순차적으로 출력되는 신호를 상기 퍼니알고리즘(26)의 에러 다항식 함수(E(x))로서 제어부(28)의 제어에 따라 에러를 정정하여 출력하는 정정부(27)로 구성하였다.2 is a block diagram of a Reed-Solomon error correction code system according to the present invention. As shown therein, a received signal R (x) is received and a root is received from a root generator 30. Process a syndrome to generate a syndrome (Syndrome) 21 and the error flag (flag) signal input and the missing position signal received the missing position polynomial function ( (x)) a missing polynomial generator 23 for obtaining the error flag, an error flag counter 23 for counting an error flag signal, and a missing position polynomial function of the missing polynomial generator 22; (x)) and the multiplication unit 24 performing a multiplication operation on the syndrome function S (x) of the syndrome generating unit 21, and the loss position function (of the missing polynomial generator 22). multiplication output (S (x)) of the multiplication unit 24 of (x) (x)) and the Euclid operation according to the number of error flags of the error flag counter 23 to perform an error size polynomial function ( (x)) and the error magnitude polynomial function (E) from the Euclidean algorithm 25, which is generated by obtaining the error position polynomial function ∧ (x). (x)) and an error location polynomial function (∧ (x)), and a Funney algorithm (26) that obtains the error polynomial function (E (x)) according to chien search and offset (26). ) And a signal sequentially output from the first-in, first-out RAM 29 that sequentially pauses the received signal R (x) as an error polynomial function E (x) of the funny algorithm 26. According to the control of (28), it consisted of the correction part 27 which corrects and outputs an error.

이와 같이 구성된 본 발명의 작용 및 효과를 상세히 설명하면 다음과 같다.Referring to the operation and effect of the present invention configured as described above in detail.

에러 플래그 신호가 하나도 생기지 않으면, 소실이 생기지 않으므로 소실다항식발생부(22)로부터 발생하는 소실위치 다항식 함수((x))는(x)If none of the error flag signals are generated, no loss occurs, and thus the missing position polynomial function generated from the missing polynomial generator 22 ( (x)) (x)

=1이 되어 곱셈부(24) 및 유클리드 알고리즘(25)로 입력되고, 또한 에러플래그카운터(23)에서는 에러 플래그가 없으므로 그 수가 0이된다. 따라서 유클리드 알고리즘(25)으로 입력되는 값들은 소실위치 다항식 함수((x))(x)=1, 에러플래그갯수=0, 곱셈부(24)의 출력=S(x)로 상기 유클리드 알고리즘이 수행됨에 따라 에러에 대한 크기 다항식 함수((x))와 위치 다항식 함수(∧(x))가 구해진다. 그러면 그 함수들은 친서치 및 오프셋을 이용한 퍼니알고리즘(26)을 통해 에러 다항식 함수(E(x))로 형성되고, 그 에러 다항식 함수(E(x))로서 정정부(27)에서 선입선출램(29)으로부터 받은 수신신호(R(x))의 에러를 정정하여 정전된 본래의 신호(R'(x))를 출력토록 한다. 이는 종래 에러정정만 가능한 기술과 동일하다.1 is inputted to the multiplier 24 and the Euclidean algorithm 25, and since the error flag counter 23 has no error flag, the number is zero. Therefore, the values inputted to the Euclidean algorithm (25) are missing position polynomial functions ( (x)) As the Euclidean algorithm is performed with (x) = 1, the number of error flags = 0, and the output of the multiplier 24 = S (x), the magnitude polynomial function for the error ( (x)) and the positional polynomial function ∧ (x). Then, the functions are formed into an error polynomial function E (x) through the funnial algorithm 26 using the parent search and the offset, and the first-in, first-out RAM in the correction unit 27 as the error polynomial function E (x). The error of the received signal R (x) received from (29) is corrected so as to output the original signal R '(x) that is out of power. This is the same technique as the conventional error correction only.

그러나, 에러 플래그가 하나이상 생기면, 먼저 소실다항식발생부(22)에서 소실위치신호를 함께 받아 소실위치 다항식 함수((x))를 형성한다. 근 발생부(30)로부터 발생하는 근(Roots)을 이용하여 신드롬발생부(21)에서 수신신호(R(x))로서 신드롬 다항식 함수(S(x))를 만들어 발생하면 그 신드롬 다항식 함수(S(x))와 소실위치 다항식 함수((x))가 곱셈부(24)에서 곱하여(S(x)(x))진 뒤 유클리드 알고리즘(25)으로 입력된다. 또한 유클리드알고리즘(25)으로 에러플래그카운터(23)에 의해 카운트된 에러플래그 갯수와 소실위치 다항식 함수((x))가 입력되면 상기 입력들을 초기치값으로 갖고 유크리드 알고리즘을 수행한다.However, when one or more error flags are generated, the missing polynomial function first receives the missing position signal together with the missing polynomial function ( (x)). When the syndrome generator 21 generates the syndrome polynomial function S (x) as the received signal R (x) by using the roots generated from the muscle generator 30, the syndrome polynomial function ( S (x)) and the missing position polynomial function ( (x)) is multiplied by the multiplier 24 (S (x)) (x)) and input to the Euclidean algorithm 25. In addition, the number of error flags counted by the error flag counter 23 and the missing position polynomial function by the Euclidean algorithm 25 ( If (x)) is input, the Eucrede algorithm is performed with the inputs as initial values.

이와 같이 유클리드 알고리즘을 수행함으로써 에러위치 다항식함수(∧(x))와 에러크기 다항식 함수((x))를 얻게되는데, 상기 에러위치 다항식 함수(∧(x))에는 소실위치에 대한 정보((x))와 에러에 관한 위치정보(σ(x))가 함께 들여있다. 즉,By performing the Euclidean algorithm, the error-position polynomial function (함 (x)) and the error-size polynomial function ( (x)), and the error position polynomial function (∧ (x)) contains information about the missing position ( (x)) and the positional information (σ (x)) regarding the error are included together. In other words,

∧(x)=σ(x)(x)X (x) = σ (x) (x)

σ(x)는 순수한 에러위치 다항식 함수이다.σ (x) is a pure error-position polynomial function.

물론 에러크기 다항식 함수((x))에도 에러 및 소실에 관한 정보가 들어있다. 그런다음 이들은 친 서치와 퍼니알고리즘(26)을 거쳐 완전한 에러 다항식(E(x))을 형성한다. 이 형성된 완전 에러 다항식(E(x))을 정정부(27)에서 입력받아서 선입선출 램(29)으로부터 순차적으로 들어오는 신호(R(x))에 대한 에러 및 소실을 정정한 신호(R'(x))를 출력시킨다. 이로써 에러 및 소실이 동시에 섞여있어도 정정가능하게 된다.Of course, error size polynomial functions ( (x)) also contains information about errors and losses. They then go through prosearch and funny algorithms 26 to form a complete error polynomial (E (x)). The formed error polynomial E (x) is input from the correction unit 27 and the signal R '(corrected in error and disappearance to the signal R (x) sequentially received from the first-in, first-out RAM 29 is provided. output x)). This makes it possible to correct even if the error and disappearance are mixed at the same time.

그리고 이는 엔코딩 I.C로도 쓸 수 있는데 이는 소실위치를 코드워드(Codeword)의 패리티(parity)부분에서 발생시키면 그곳을 수정하여 송출하게 될 코드워드를 형성하는데, 지금부터 각 부에서의 수행과정을 수학적 이론을 배경으로 나타내면 다음과 같다.It can also be used as an encoding IC, which generates a codeword that will be modified if it is generated in the parity part of the codeword. If the background is as follows.

수신신호(R(x))가 신드롬발생부(21)로 입력되면, 신드롬 다항식 함수(S(x))는을 얻을 수 있고, 상기 S(x)의 계수들은 수신된 R(x)계수들과 근 발생부(30)로부터 발생하는 G(x)=0의 근들로부터 구해진다.When the received signal R (x) is input to the syndrome generator 21, the syndrome polynomial function S (x) is The coefficients of S (x) are obtained from the received R (x) coefficients and the roots of G (x) = 0 generated from the root generator 30.

S : 사용자의 오프셋 값S: user's offset value

t : 에러정정능력t: error correction capability

따라서 수신된 R(x)=C(x)+E(x)=Rn-1Xn-1+,…,+R, X+R0이다.Thus, received R (x) = C (x) + E (x) = R n-1 X n-1 +,... , + R and X + R 0 .

여기서, C(x)는 코드워드로서 C(x)=M(x)X2t+M(x)X2tmod G(x), M(x)는 메시지 다항식 함수, mod는 모듈(module)이고 n은 코드워드의 크기이다.Where C (x) is a codeword and C (x) = M (x) X 2t + M (x) X 2t mod G (x), M (x) is a message polynomial function, mod is a module and n Is the size of the codeword.

그리고 유클리드 알고리즘(25) 에서 에러위치 다항식 함수(∧(x))와 에러크기 다항식 함수((x))를 구하는 것을 살펴보고자 한다.In the Euclidean algorithm (25), the error position polynomial function (∧ (x)) and the error size polynomial function ( Let's look at (x)).

먼저, X2tBi(x)+∧i(x)S(x)= i(x), -1≤i≤n+1과 같은 식을 제안하고 Bi(x)와 ∧i(x) 및(x)의 초기치를 다음과 같이 한다고 가정해보자.First, X 2t B i (x) + ∧ i (x) S (x) = i (x), -1 ≤ i ≤ n + 1, and B i (x) and ∧ i (x) and Suppose the initial value of (x) is

B-1(x)=1 B0(x)=0B -1 (x) = 1 B 0 (x) = 0

-1(x)=0 ∧0(x)=(x)-1 (x) = 0 ∧ 0 (x) = (x)

-1 2t (x)=S(x)(x) -1 2t (x) = S (x) (x)

그러면 상기 초기치를 이용하여 순환의 연산으로 i를 하나씩 증가시키면서 유클리드 이론에 의한 식을 구해보면 다음과 같다.Then, the equation by Euclidean theory is obtained by increasing i by one by the operation of the cycle using the initial value as follows.

i-2 i-1 i i i-2 i-1 i i

i-2(x)=∧i-1(x)Qi(x)+∧i(x) (2) I-2 (x) = ∧ i-1 (x) Q i (x) + ∧ i (x) (2)

상기 식(1)(2)에 의한 연산이 아래와 같을때 멈춘다.It stops when the calculation by Equation (1) (2) is as follows.

이때 멈춰지게 되면 i(x)와 ∧i(x)를(x)와 ∧(x)로 한다.If it stops at this time i (x) and ∧ i (x) Let x be x and x.

따라서 상기와 같은 방법으로 에러위치 다항식 함수(∧(x))와 에러크기 다항식 함수((x))를 얻게되면 이는 친서치(Chien)와 퍼니알고리즘을 거치는데 먼저 친서치를 살펴보면 에러위치 다항식 크기(∧(x))가 ∧(x)=0인 근(roots)을 구하는데 모든 원소들을 x에 넣어서 ∧(αi)=0인가를 조사한다. 그때의 근 αi에 N-i에서 에러가 생긴 것으로 N은 원소들의 총갯수이다.Therefore, the error position polynomial function (∧ (x)) and the error size polynomial function ( (x)), it goes through the chien and funny algorithms. First, the parent search finds roots with error location polynomial size (크기 (x)) of 가 (x) = 0. Insert elements into x to see if ∧ (α i ) = 0. At that time, an error occurred in Ni in the root α i , where N is the total number of elements.

이와 같이 친서치에 의한 αi를 퍼니알고리즘(26)으로 보내면 퍼니알고리즘에는 ∧(x)의 1차 미분치 ∧'(x)와(x)로부터를 구하는데 이는 에러크기이다. 이로써 E(x)가 형성된다.In this way, if the α i from the parent search is sent to the funny algorithm 26, the funny algorithm has the first derivative ∧ '(x) and from (x) Which is the error size. This forms E (x).

또한 소실다항식발생부(22)에서는 에러 플래그 신호가 뜰때 그때의 소실위치 신호를 가지고 소실위치 다항식 함수((x))를 형성하고, 에러플래그카운터(23)에서는 유클리드 알고리즘에서 필요한 에러 플래그 갯수(E)를 카운트한다. 이와 같이 소실위치 다항식 함수((x))가 형성되고 에러 플래그 갯수(E)가 카운트되면 곱셈부(24)에서 소실위치 다항식 함수((x))와 신드롬발생부(21)의 신드롬 다항식 함수(S(x))를 곱하되 modX2t를 연산한다.In addition, the missing polynomial generator 22 has a missing position signal when the error flag signal is displayed and a missing position polynomial function ( (x)), and the error flag counter 23 counts the number of error flags E required by the Euclidean algorithm. Thus, the missing position polynomial function ( (x)) is formed and the number of error flags (E) is counted. (x)) is multiplied by the syndrome polynomial function S (x) of the syndrome generator 21, but modX 2t is calculated.

언급한 바와 같이 엔코딩시 패리티 부분에서 발생하게 될 코드워드 형성과정을 각 부분에서의 수행과정을 수학적 이론을 배경으로 설명하였고, 다시 제 3 도에 도시한 그림으로 설명해 보면 (a)에 도시한 M(x)를 수신신호(R(x))로서 신드롬발생부(21)에 입력시키면 앞에서 전술한 바와 같이 R(x)=C(x)+E(x)가 되므로 (b)에 도시한 코드워드(C(x)=M(x)X2t)와 에러(?)가 발생하는데, (b)에서와 같이 패리티 자리인 ? 부분에는 아무 데이타를 넣어도 되지만 단 그곳에 에러플래그(e·f)신호를 (c)에서와 같이 n-k개 띄운다.As mentioned above, the codeword formation process that will occur in the parity part during encoding is explained based on a mathematical theory, and the figure shown in FIG. When (x) is input to the syndrome generator 21 as the reception signal R (x), R (x) = C (x) + E (x) as described above, so that the codeword shown in (b) (C (x) = M (x) X 2t ) and an error (?) Occur, as in (b). You can put any data in the part, but there are nk error flag (e · f) signals as in (c).

그러면 본 회로는 (d)에 도시한 워드코드(C(x)=M(x)X2tmod G(x))부분을 정정하므로 마치 엔코딩 아이씨처럼 동작한다.The circuit then corrects the word code (C (x) = M (x) X 2t mod G (x)) part shown in (d), so that it behaves like an encoding IC.

또한 제 4a 도와 같은 수신신호(R(X))에 대해 (b)에서와 같이 에러 플래그(e, f)가 뜨면 디코딩 정정(Correction)을 수행하여 R'(X)=C(X)를 형성한다.In addition, when error flags e and f appear as shown in (b) for the received signal R (X) as shown in FIG. 4a, decoding correction (Correction) is performed to form R '(X) = C (X). do.

그런데 에러(e)나 소실(E)수가 너무 많아서와 같은 부등식을 만족못하면 정정될 수 있다.But there are too many errors (e) or losses (E) If the inequality is not satisfied, it can be corrected.

이상에서 설명한 바와 같이 본 발명은 리드-솔로몬 에러정정코드 시스템으로써 엔코딩 및 디코딩을 함과 아울러 에러정정 및 소실 정정도 모두 할 수 있어서 고화질 텔레비젼(HDTV)이나 고화질 브이씨알(HDVCR)등에 적당하다.As described above, the present invention is a Reed-Solomon error correction code system that can encode and decode as well as error correction and loss correction.

Claims (2)

에러 플래그(flag) 신호를 입력에 따라 소실위치신호도 입력받아 소실위치 다항식 함수((x))를 구하여 발생토록 하는 소실다항식 발생부(22)와, 에러 플래그 신호의 갯수를 카운트하는 에러플래그 카운터(23)와, 수신되는 신호(R(x))에 대해 근(roots) 발생부(30)의 근으로부터 신드롬 다항식 함수(S(x))를 형성하여 발생하는 신드롬 발생부(21)의 신드롬 다항식 함수(S(x))와 소실다항식발생부(22)의 소실위치 다항식 함수((x)를 곱하는 곱셈부(24)와,상기 소실다항식발생부(22)의 소실위치 다항식 함수((x))와 곱셈부(24)의 곱셈출력(S(x)(x)을 입력받고 에러 플래그 갯수를입력받아 유클리드 연산처리를 수행하여 에러크기 및 위치 다항식 함수(∧(x))((x))를 형성하는 유클리드 알고리즘(25)과, 상기 유클리드 알고리즘(25)을 통해 에러크기 및 위치 다항식 함수를 입력받아 친서치(Chien Search) 및 퍼니알고리즘(26)을 수행하여 형성된 에러다항식 함수(E(x))로 선입선출 램(29)를 통해 순차적으로 입력되는 신호(R(x))에 대해 제어부(28)의 제어하에 에러 및 소실정정을 행하는 정정부(27)로 구성된 리드-솔로몬 에러정정코드 시스템.According to the error flag signal, the missing position signal is also received and the missing position polynomial function ( (x)), the missing polynomial generator 22 to generate and generate roots, an error flag counter 23 for counting the number of error flag signals, and roots for the received signal R (x). The loss polynomial function of the syndrome polynomial function S (x) of the syndrome generator 21 and the missing polynomial generator 22 generated by forming the syndrome polynomial function S (x) from the root of the part 30. ( a multiplication unit 24 multiplying by (x) and a missing position polynomial function of the missing polynomial generator 22 ( (x)) and the multiplication output (S (x)) of the multiplication unit 24 (x) is inputted and the number of error flags is inputted to perform Euclid arithmetic processing. (x)) and an error polynomial function formed by performing a chien search and a funny algorithm 26 by receiving an error size and a position polynomial function through the Euclidean algorithm 25 and the Euclidean algorithm 25. A lead composed of a correction unit 27 which performs an error and a loss correction under the control of the control unit 28 with respect to the signal R (x) sequentially input through the first-in first-out RAM 29 to (E (x)). Solomon error correction code system. 제 1 항에 있어서, 에러 플래그 신호에 대해 에러 및 소실을 정정하여 엔코딩 및 디코딩 동작이 가능하도록 한 리드-솔로몬 에러정정코드 시스템.2. The Reed-Solomon error correcting code system of claim 1, wherein the error-loss signal is corrected for an error flag signal to enable encoding and decoding operations.
KR1019920016750A 1992-09-15 1992-09-15 Read-solomon error correction code system KR940010434B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920016750A KR940010434B1 (en) 1992-09-15 1992-09-15 Read-solomon error correction code system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920016750A KR940010434B1 (en) 1992-09-15 1992-09-15 Read-solomon error correction code system

Publications (2)

Publication Number Publication Date
KR940008283A KR940008283A (en) 1994-04-29
KR940010434B1 true KR940010434B1 (en) 1994-10-22

Family

ID=19339546

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920016750A KR940010434B1 (en) 1992-09-15 1992-09-15 Read-solomon error correction code system

Country Status (1)

Country Link
KR (1) KR940010434B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100335482B1 (en) * 1994-08-17 2002-11-27 삼성전자 주식회사 Error correcting system
KR100564532B1 (en) * 1997-07-24 2006-05-25 삼성전자주식회사 Error correction method by generation error flag

Also Published As

Publication number Publication date
KR940008283A (en) 1994-04-29

Similar Documents

Publication Publication Date Title
EP0061345B1 (en) Processing circuits for operating on digital data words which are elements of a galois field
JPH0653842A (en) Method and circuit for decoding of rs code data signal
US5365529A (en) Circuitry for detecting and correcting errors in data words occurring in Reed-Solomon coded blocks and determining when errors are uncorrectable by syndrome analysis, Euclid's algorithm and a Chien search
US4592054A (en) Decoder with code error correcting function
KR970004515B1 (en) Error position correcting apparatus of reed-solomon code
JPH0879094A (en) Reed-solomon decoder
EP0660535B1 (en) Apparatus for uniformly correcting erasure and error of received word by using a common polynomial
KR940010434B1 (en) Read-solomon error correction code system
JP3245290B2 (en) Decoding method and device
JPH09505455A (en) Device and method for error detection of mutually interleaved signal parts, receiver and decoding method adopting the error detection
US6421807B1 (en) Decoding apparatus, processing apparatus and methods therefor
US20030009723A1 (en) Simplified reed-solomon decoding circuit and method of decoding reed-solomon codes
JPH06276106A (en) Error correcting/decoding device
JPS5975732A (en) Decoder
KR100335482B1 (en) Error correcting system
KR0162605B1 (en) Common circuit of rs decode syndrome generator for digital vcr system
JP3099890B2 (en) Error correction device for BCH code
JP2944813B2 (en) Error correction code decoding device
KR100212830B1 (en) Syndrome calculation apparatus of reed solomon decoder
KR940007929B1 (en) Error correction system and method therefor
KR940011661B1 (en) Arithmethic high-speed processing circuit of reed-solomon error correcting code
KR100265949B1 (en) METHOD FOR DESIGNING Nú½Ñ‡ NUMBER OF FIFO OF REED-SOLOMON DECODER
JP2001251196A (en) Reed-solomon decoding method and reed-solomon decoding device
KR100245611B1 (en) Single error detection and correction circuit
KR950014021B1 (en) Reed-solomon decoder with decoder and coder

Legal Events

Date Code Title Description
A201 Request for examination
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: 20050923

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee