KR100253171B1 - Error correcting circuit and method - Google Patents

Error correcting circuit and method Download PDF

Info

Publication number
KR100253171B1
KR100253171B1 KR1019920009566A KR920009566A KR100253171B1 KR 100253171 B1 KR100253171 B1 KR 100253171B1 KR 1019920009566 A KR1019920009566 A KR 1019920009566A KR 920009566 A KR920009566 A KR 920009566A KR 100253171 B1 KR100253171 B1 KR 100253171B1
Authority
KR
South Korea
Prior art keywords
error
unit
data
deinterleaving
value
Prior art date
Application number
KR1019920009566A
Other languages
Korean (ko)
Other versions
KR940000964A (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 KR1019920009566A priority Critical patent/KR100253171B1/en
Publication of KR940000964A publication Critical patent/KR940000964A/en
Application granted granted Critical
Publication of KR100253171B1 publication Critical patent/KR100253171B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware

Abstract

PURPOSE: A method and circuit for correcting a data error is provided to devise an error number deciding condition used in an error correction process from the PGZ complex algorithm. CONSTITUTION: The first deinterleaving unit(1A) restores data interleaved and recorded in a recording medium into the original information data. The first error calculating unit(20) is controlled by a GF calculation unit(3) and a control unit(4), and receives data outputted from the first deinterleaving unit(1A), and calculates syndromes(S0, S1, S2, S3), (S0, S2+S1, S1), an error number, a position of error and single and double error value. An error flag adding and error value storing unit(10A) adds an error flag to output data of the first error calculating unit(20). An exclusive-OR gate unit(11A) exclusively ORs data inputted from the first deinterleaving unit(1A) through a data absorbing unit(2A) and data outputted from the error flag adding and error value storing unit(10A), and completes the first error correction. The second deinterleaving unit(1B) performs a deinterleaving of first error correction data again. The second error calculating unit(30) receives output data outputted of the second deinterleaving unit(1B) and calculates syndromes(S0, S1, S2, S3), (S0, S2+S1, S1), an error number, a position of error and single and double error value, and sets an average range of error flag number in non-error, single error and double error, and compares the range with a calculated value calculated in a total number calculation unit(12), and decides a coefficient of reliability. An exclusive-OR gate unit(11B) exclusively ORs data inputted from the second deinterleaving unit(1B) and the error flag adding unit(10B) through a data absorbing unit(2B) and the error flag adding unit(10B). An average value interpolation unit(14) performs an average value interpolation of an output data of the exclusive-OR gate unit(11B).

Description

데이타 오류정정 방법 및 회로Data error correction method and circuit

제1도는 일반적인 오류정정에 대한 신호 흐름도.1 is a signal flow diagram for general error correction.

제2도는 본 발명의 데이타 오류정정 블록도.2 is a data error correction block diagram of the present invention.

제3도는 본 발명의 오류정정에 대한 신호 흐름도.3 is a signal flow diagram for error correction of the present invention.

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

1A : 제1디인터리브부 1B : 제2디인터리브부1A: 1st deinterleave part 1B: 2nd deinterleave part

2A,2B : 데이타 완충부 3 : GF연산부2A, 2B: data buffer part 3: GF calculation part

4 : 제어부 5A : 제1신드롬 연산부4: control unit 5A: first syndrome calculation unit

5B : 제2신드롬 연산부 6A,6B : S0·S2+S1·S1연산부5B: the second syndrome calculation unit 6A, 6B: S 0 · S 2 + S 1 · S 1 operating section

7A,7B : 오류수 판정부 8A,8B : 오류위치 연산부7A, 7B: Error count determining unit 8A, 8B: Error position calculating unit

9A,9B : 단일, 이중오류치 연산부9A, 9B: Single, double error calculation unit

10A,10B : 오류플래그부가 및 오류치 저장부10A, 10B: Error flag and error value storage

11A,11B : 익스클루시브 오아게이트부11A, 11B: Exclusive Oagate Part

12 : 오류플래그 총수 계산부 13 : 신뢰도 판정부12: error flag total calculation unit 13: reliability determination unit

20 : 제1차 오류연산부 30 : 제2차 오류연산부20: the first error calculation unit 30: the second error calculation unit

본 발명은 디지탈 신호 처리기술에 관한 것으로, 특히 오류정정 능력이 2심볼일 때, 그 수식이 간단한 복호 알고리즘을 이용하여 오류정정 알고리즘을 보다 단순화시키는데 적당하도록한 데이타의 오류정정 방법 및 회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to digital signal processing techniques, and more particularly, to an error correction method and circuit for data in which the equation is suitable for further simplifying the error correction algorithm using a simple decoding algorithm when the error correction capability is two symbols. .

일반적으로 채널상에서 발생하는 오류를 정정하기 위한 복호기법에는 다음과 같다. 첫째, 수신되는 디지탈 데이타 계열의 각각의 프레임마다 신드롬(Syndrome)을 계산한다. 둘째, 이 계산된 신드롬에 의해 오류수 판정을 한다. 세째, 오류가 판정된 상태에서 각각의 오류의 경우에 대하여 오류 위치와 오류치를 계산한다. 네째, 오류위치와 오류치에 대한 데이타를 이용하여 해당 위치에 있는 기존의 데이타(심볼단위)와 계산된 오류치를 익스클루시브오아 연산하여 오류정정을 수행한다.In general, a decoding technique for correcting an error occurring on a channel is as follows. First, a syndrome is calculated for each frame of the received digital data series. Second, the number of errors is determined by the calculated syndrome. Third, the error position and error value are calculated for each error case in the state where the error is determined. Fourth, the error correction is performed by using the Exclusive-Or calculation of the existing data (symbol unit) and the calculated error value at the corresponding location using the data on the error location and the error value.

제1도는 기본적으로 오류정정 절차를 따르는 일반적인 오류정정에 대한 신호 흐름도로서 이를 설명하면 하기와 같다.1 is a signal flow diagram for a general error correction basically following the error correction procedure.

이는 수신되는 데이타가 송신부에서 두번의 인터리브(Interleave)에 의해서 부호화(CIRC)되어 있음을 가정하고 있다. 두번의 인터리브 과정이 있으므로 두번의 디인터리브(Deinterleave) 과정을 필요로 하여 결국, 두번의 오류정정 절차가 필요하다.This assumes that the received data is encoded (CIRC) by two interleaves at the transmitter. Since there are two interleaving processes, two deinterleave processes are required, and thus two error correction procedures are required.

따라서 이의 기본적인 과정을 설명하면 다음과 같다. 첫째, 제1디인터리브 처리과정을 통해 수신되는 데이타에서 신드롬을 계산한다. 둘째, 계산된 신드롬을 이용하여 무오류 탐지 조건, 단일오류 탐지조건, 이중오류 탐지조건, 삼중오류 탐지조건을 만들고, 이를 이용하여 수신되는 각 프레임마다 존재하는 오류를 탐지하여 오류정정을 수행함과 동시에 각각의 오류수에 대하여 오류 플래그를 부가한다. 세째, 상기의 과정에 의해 1차오류 정정된 데이타를 다시 제2의 디인터리브 처리과정을 통해 신드롬을 계산하고, 한 프레임 내부에 존재하는 오류 플래그의 총수를 계산한다. 네째는 1차 오류정정과 유사하나, 오류플래그의 총수에 의해 신뢰도를 판정하는 과정을 통한 후, 오류를 정정하는 것이 다른 점이다.Therefore, the basic process is as follows. First, a syndrome is calculated from data received through a first deinterleave process. Second, by using the calculated syndrome, the error-free detection condition, single error detection condition, double error detection condition, and triple error detection condition are created, and the errors existing in each received frame are detected and error correction is performed. Add an error flag to the number of errors in. Third, the first error corrected data is calculated through the second deinterleave process, and the total number of error flags existing in one frame is calculated. The fourth is similar to the first error correction except that the error is corrected after the reliability is determined by the total number of error flags.

그러나 이와 같은 종래의 오류정정 시스템에 있어서는 1차 오류정정 과정에서 각 오류수를 4개로 분류하여 오류를 정정하므로 이 절차가 복잡해지고, 2차 오류정정 과정에서 각 오류수를 4개로 분류함과 동시에 또 그 각각의 신뢰도를 판정하게 되므로 복잡도를 가중시키게 되므로 결과적으로, 디지탈 신호 처리 프로세서내의 로직 게이트수가 많아져 오류 정정시간이 많이 소요되는 결함이 있었다.However, in the conventional error correction system, since the error is corrected by classifying each error number into four in the first error correction process, this procedure becomes complicated, and each error number is classified into four in the second error correction process. In addition, since each reliability is determined, the complexity is increased. As a result, the number of logic gates in the digital signal processing processor increases, resulting in a defect that takes a long time for error correction.

본 발명은 이와 같은 종래의 결함을 해결하기 위하여 PGZ복합 알고리즘으로부터 오류정정 과정에서 중요한 일부분인 오류수 판정 조건을 창안한 것으로, 이를 첨부한 도면에 의하여 상세히 설명한다.The present invention has been made from the PGZ complex algorithm to solve such a conventional defect, the error number determination condition which is an important part in the error correction process, will be described in detail by the accompanying drawings.

제3도는 본 발명의 데이타의 오류정정 블록도로서 이에 도시한 바와 같이, 인터리브되어 기록매체에 기록된 데이타를 원래의 정보 데이타로 복원하는 제1디인터리브부(1A)와, GF연산부(3) 및 제어부(4)의 제어를 받고, 상기 제1디인터리브부(1A)에서 출력되는 데이타를 공급받아 이로부터 신드롬(S0, S1, S2, S3), (S0·S2+S1·S1), 오류수, 오류의 위치, 단일 및 이중 오류치를 계산하는 제1차 오류연산부(20)와, 상기 제1차 오류연산부(20)의 출력데이타에 오류플래그를 부가하는 오류플래그 부가 및 오류치 저장부(10A)와, 데이타 완충부(2A)를 통해 상기 제1디인터리브부(1A)로부터 입력되는 데이타와 상기 오류플래그 부가 및 오류치 저장부(10A)에서 출력 되는 데이타를 익스클루시브 오아 연산하여 제1차의 오류정정을 완료하는 익스클루시브 오아게이트부(11A)와, 상기 제1차 오류정정된 데이타를 재차 디인터리브 처리하는 제2디인터리브부(1B)와, 상기 제2디인터리브부(1B)의 출력데이타를 공급받아 상기와 같이, 신드롬(S0, S1, S2, S3), (S0·S2+S1·S1), 오류수, 오류의 위치, 단일 및 이중 오류치를 연산함과 아울러, 무오류, 단일오류, 이중오류일때의 오류플래그수의 평균범위를 설정하여 이를 오류플래그 총수계산부(12)에서 계산된 값과 비교해서 그에 따른 신뢰도를 결정하는 제2차 오류연산부(30)와, 데이타 완충부(2B), 오류플래그 부가부(10B)를 각기 통해 상기 제2디인터리브부(1B), 오류플래그 부가 및 오류치 저장부(10B)로 부터 입력되는 데이타를 익스클루시브 오아 연산하는 익스클루시브 오아게이트부(11B)와, 상기 익스클루시브 오아게이트부(11B)의 출력데이타에 평균치 보간을 행하는 평균치 보간부(14)로 구성한 것으로, 이와 같이 구성한 본 발명을 첨부한 제3도를 참조하여 상세히 설명하면 다음과 같다.3 is an error correction block diagram of the data of the present invention, as shown therein, the first deinterleave unit 1A and the GF operation unit 3 which interleave and restore the data recorded on the recording medium to the original information data. And under the control of the control unit 4, the data output from the first deinterleave unit 1A is supplied, and the syndromes S0, S1, S2, S3, (S0 S2 + S1 S1), the number of errors, A first error calculation unit 20 for calculating a position of an error, single and double error values, and an error flag addition and error value storage unit 10A for adding an error flag to the output data of the first error calculation unit 20. And an exclusive ord operation on the data input from the first deinterleave unit 1A through the data buffer unit 2A and the data output from the error flag addition and the error value storage unit 10A. Exclusive oragate portion 11A for completing error correction of the above, and The second deinterleave unit 1B for deinterleaving the first error corrected data and the output data of the second deinterleave unit 1B are supplied, and the syndromes S0, S1, S2, S3), (S0 · S2 + S1 · S1), the number of errors, the location of errors, single and double error values are calculated, and the average range of error flags for no error, single error, and double error is set and the total number of error flags. The second deinterleave through the second error operation unit 30, the data buffer unit 2B, and the error flag adding unit 10B, respectively, which compare the value calculated by the calculation unit 12 to determine the reliability thereof. The exclusive oragate part 11B which performs exclusive ora operation on the data input from the part 1B, the error flag addition, and the error value storage part 10B, and the exclusive oragate part 11B. It is composed of an average value interpolation section 14 that performs average value interpolation on output data. When described in detail with reference to Figure 3 attached to the present invention configured as described above are as follows.

PGZ 복합 알고리즘에서는 신드롬과 오류위치 다항식 (δ(x)=X2+δ1X+δ2=0)계수와의 관계를 나타내주는 식을 다음과 같이 정의하고 있다.In the PGZ complex algorithm, the equation representing the relationship between the syndrome and the error position polynomial (δ (x) = X 2 + δ 1 X + δ 2 = 0) is defined as follows.

단, 여기서 Where

X1, X2: 오류 위치, Y1, Y2: 오류위치라 하고, Mμ(S)를 구하여 행렬식을 취하면, │Mμ(S)│=│A│·│B│·│AT│가 되는데, 실제 발생한 오류 갯수 μ=2 보다 작다면, │B│=0이므로 │Mμ(S)│=0이 되고, 실제 발생한 오류 갯수 μ=2 라면, │B│≠0, │A│≠0, │AT│≠0가 될 수 밖에 없으므로 │Mμ(S)│≠0이다.X 1, X 2: the error locator, Y 1, Y 2: La error position, and obtain and Mμ (S) by taking the determinant, │Mμ (S) │ = │A│ · │B│ · │A T │ If the number of errors actually occurred is smaller than μ = 2, then B│ = 0, so that │Mμ (S) │ = 0, and if the number of errors actually occurred μ = 2, │B│ ≠ 0, │A│ ≠ 0, | A T | ≠ 0, so | Mμ (S) | ≠ 0.

따라서 오류가 한 개 일때는 │Mμ(S)│= S0·S2+S1·S1=0이고, 오류가 두 개 일때는 │Mμ(S)│= S0·S2+S1·S1≠0이며, 오류가 없을때는 일반적으로 S0=S1=S2=S3=0이므로 결국, 유도되는 오류 판별 조건식은 다음과 같다.Therefore, when there is one error, Mμ (S) = S 0 S 2 + S 1 S 1 = 0, and when there are two errors, M μ (S) S = S 0 S 2 + S 1 When 1 ≠ 0 and there is no error, generally S 0 = S 1 = S 2 = S 3 = 0, and thus, the error discrimination condition formula is derived as follows.

오류가 없을 때 : S0=S1=S2=S3=0Without error: S 0 = S 1 = S 2 = S 3 = 0

오류가 하나일 때 : S0·S2+S1·S1=0When there is only one error: S 0 S 2 + S 1 S 1 = 0

오류가 두 개일 때 : S0·S2+S1·S1≠0When there are two errors: S 0 S 2 + S 1 S 1 ≠ 0

첫째, 수신되는 디지탈 데이타를 제1디인터리브 처리하여 신드롬을 계산한다.First, a syndrome is calculated by first deinterleaving the received digital data.

둘째, 그 신드롬값에 의해 S0= S1= S2= S3= 0의 조건을 만족하면, 제2디인터리브 단계로 직접 진입하고, S0·S2+S1·S1=0이면, 단일 오류처리하며, S0·S2+S1·S1≠0이면, 이중 오류처리하여 오류정정을 행한 후, 각각의 오류 위치에 대하여 오류 플래그를 삽입한 다음, 제2디인터리브 단계로 진입한다.Second, if the condition S 0 = S 1 = S 2 = S 3 = 0 is satisfied by the syndrome value, the second deinterleave step is directly entered, and if S 0 S 2 + S 1 S 1 = 0, Single error processing, if S 0 S 2 + S 1 S 1 ? 0, double error processing is performed to correct the error, and then an error flag is inserted for each error position, and then the second deinterleave step is entered. .

셋째, 제2디인터리브 단계를 통하고, 상기 첫째, 둘째 단계를 동일하게 거치게 되나 각각의 무오류, 단일 오류에 대해서만 신뢰도를 판정하고, 오류 정정을 수행한다. 이 신뢰도 판정은 각 용도(디지탈 오디오 및 비데오, 디지탈 통신, 데이타 베이스…)와 환경에 따라 달라질 수 있으며, 씨디피에 적용하려면, 콤팩트 디스크상에서의 오류(먼지, 긁힘 등)의 크기에 따라 오류 플래그 크기의 총수가 달라지므로 가장 보편적인 오류에 대해서 평균치 계산한 값을 기준으로하면 좋다.Third, through the second deinterleave step, the first and second steps are the same, but reliability is determined only for each error-free and single error, and error correction is performed. This reliability determination may vary depending on the application (digital audio and video, digital communications, database…) and the environment, and to apply to CDs, the size of the error flag depends on the size of the error (dust, scratches, etc.) on the compact disc. Since the total number of is different, it is good to use the average calculated value for the most common errors.

네째, 신뢰도를 판정하여 오류정정한 데이타들은 다시 오류 플래그에 의하여 평균치 보간을 행하여 오류를 정정하고 종료한다.Fourth, the data of which the reliability is determined and error corrected are again interpolated by the error flag to correct the error and terminate.

한편, 인터리브(지연과 재배열)되어 디스크에 기록된 데이타가 제1인터리브부(1A)에 공급되어 원래의 정보 데이타로 복귀되고, 그 제1인터리브부(1A)를 통해 출력되는 8비트 심볼들은 데이타 완충부(2A)에 공급되어 축적되고, 이는 오류 여부판정과 오류치가 연산되는 동안 유지 된다.On the other hand, the data interleaved (delayed and rearranged) and recorded on the disk are supplied to the first interleave unit 1A and returned to the original information data, and the 8-bit symbols outputted through the first interleave unit 1A are It is supplied to and accumulated in the data buffer 2A, which is held during the determination of error and the error value.

상기 제1인터리브부(1A)에서 출력되는 8비트 심볼은 GF(이하, 갈로아 필드로 칭함)(28)연산부(3), 제어부(4)의 제어를 받아 제1신드롬 연산부(5A)에서 1프레임내에 오류 존재여부의 판단이 되는 4개의 심볼(S0,S1,S2,S3)이 생성되고, 이후 S0S2+S1S2연산부(6A), 오류수 판정부(7A), 오류위치 연산부(8A), 단일, 이중오류치 연산부(9A)에서 해당 연산이 행하여지면, 오류플래그 부가 및 오류치 저장부(10A)가 상기의 연산 결과를 확인하여 오류가 존재하면 해당 오류 심볼의 최상위 비트 바로 앞에 플래그 "1"을 부가하고, 해당 오류심볼을 상기 익스클루시브 오아게이트부(11A)에 입력되는 시간과 일치시키기 위하여 그 오류치를 일시 저장하며, 그 익스클루시브 오아게이트부(11A)는 상기 데이타 완충부(2A)에서 출력되는 데이타에 오류플래그 부가 및 오류치 저장부(10A)에서 출력되는 오류 플래그를 부가하여 제1차 오류정정이 종료된다.The 8-bit symbol output from the first interleave unit 1A is controlled by the GF (hereinafter, referred to as a Gallo field) 2 8 operation unit 3 and the control unit 4, and is then controlled by the first syndrome calculation unit 5A. Four symbols S 0 , S 1 , S 2 , and S 3 for determining whether an error exists in one frame are generated, and then S 0 S 2 + S 1 S 2 calculation unit 6A and error number determination unit 7A. ), The error position calculation unit 8A, the single, double error value operation unit 9A, if the operation is performed, the error flag addition and error value storage unit 10A checks the result of the above operation, and if the error exists, the corresponding error The flag "1" is added immediately before the most significant bit of the symbol, and the error value is temporarily stored in order to match the corresponding error symbol with the time input to the exclusive oragate part 11A, and the exclusive oragate part 11A adds an error flag and stores an error value to data output from the data buffer 2A. Adding the error flag outputted from (10A) to the first error correction is finished.

여기서, GF연산부(3)는 각부에서의 8비트 연산 수단을 제공하고, 제어부(4)는 각부의 데이타 입출력 및 연산하는 순서, 타이밍을 제어하며, S0S2+S1S2연산부(6A)는 단일 오류, 이중 오류의 판단 기준이되는 수직 S0S2+S1S2을 필드상에서 계산하고, 오류수 판정부(7A)는 4개의 신드롬 심볼 S0,S1,S2,S3가 모두 0이면 무오류, S0·S2+S1·S1=0이면, 단일오류, S0·S2+S1·S1≠0이면, 이중오류로 판단하고, 오류 위치 연산부(8A)는 1프레임내에서 몇번째의 심볼이 오류인가를 계산하며, 단일, 이중오류치 연산부(9A)는 단일 오류일때는 1개의 오류치, 이중오류일때는 2개의 오류치를 연산하는 회로이다.Here, the GF operation unit 3 provides an 8-bit operation unit in each unit, and the control unit 4 controls the data input / output and the operation order and timing of each unit, and S 0 S 2 + S 1 S 2 operation unit 6A. Calculates vertical S 0 S 2 + S 1 S 2 on which the single error and double error are judged on the field, and the error count determination unit 7A calculates four syndrome symbols S 0 , S 1 , S 2 , and S 3 . If all zero error-free, S 0 · S 2 + S 1 · S 1 = 0 If the single-error, S 0 · S 2 + S 1 · S 1 ≠ 0 is, determined by the double error, and the error position calculation unit (8A) is 1, The number of symbols in the frame calculates which error is an error, and the single and double error value calculating section 9A is a circuit that calculates one error value for a single error and two error values for a double error.

그리고, 제2디인터리브부(1B)는 상기 익스클루시브 오아게이트부(11A) 및 오류 플래그 부가 및 오류치 저장부(10A)에서 출력되는 9비트의 데이타를 공급받아 이를 한편으로는 데이타 완충부(2B)에 출력하고, 다른 한편으로는 제2신드롬 연산부(5B), S0S2+S1S2연산부(6B), 오류수 판정부(7B), 신뢰도 판정부(13), 오류 위치 연산부(8B), 단일, 이중오류치 연산부(9B)에서 해당 연산이 행하여 지며, 이에따라 오류플래그 부가 및 오류치 저장부(12)가 상기의 연산 결과에 따른 오류플래그를 출력하게 되며, 이로인하여 익스클루시브 오아게이트부(11B)는 상기 데이타 완충부(2B)에서 출력되는 데이타에 오류플래그 부가 및 오류치 저장부(12)에서 출력되는 오류 플래그를 부가하고, 평균치 보간부(14)는 상기 익스클루시브 오아게이트부(11B), 오류플래그 부가 및 오류치 저장부(10B)의 출력데이타를 공급받아 오류플래그가 "0"인 심볼(오류가 아닌 심볼) 사이에 오류플래그가 "1"인 심볼(오류심볼)이 있을때 양측 심볼의 평균치를 계산하여 그 값을 오류심볼로 대체시켜 제2차 오류정정이 종료 된다.The second deinterleave unit 1B receives 9 bits of data output from the exclusive oragate unit 11A, the error flag addition unit, and the error value storage unit 10A. (2B), on the other hand, the second syndrome calculating section 5B, S 0 S 2 + S 1 S 2 calculating section 6B, error number determining section 7B, reliability determining section 13, and error position calculating section (8B), the corresponding operation is performed in the single and double error value calculating section 9B, and accordingly the error flag addition and error value storing section 12 outputs the error flag according to the result of the above calculation, thereby causing the execlue. The sieve oragate unit 11B adds an error flag to the data output from the data buffer 2B and an error flag output from the error value storage unit 12, and the average value interpolator 14 adds the error. Sheave OA gate part 11B, error flag addition and error value reduction When the output data of the book 10B is supplied and there is a symbol (error symbol) with an error flag of "1" between symbols (non-error) with an error flag of "0", the average value of both symbols is calculated and the value is calculated. The second error correction is terminated by replacing the error symbol.

여기서, 오류플래그 총수 계산부(12)는 제2차 오류 정정과정중 한 프레임내에 있는 오류플래그의 총수를 계산하며, 신뢰도 판정부(13)는 무오류, 단일오류, 이중오류일때의 오류플래그수의 평균범위를 설정하여 이를 오류플래그 총수 계산부(12)에서 계산된 값과 비교하고, 그 결과 오류플래그의 수가 설정된 범위내에 속하면, 신뢰하고, 그렇지 않으면, 신뢰하지 않는 회로이다.Here, the error flag total calculation unit 12 calculates the total number of error flags in one frame during the second error correction process, and the reliability determination unit 13 determines the number of error flags in the case of no error, single error, or double error. The average range is set and compared with the value calculated by the error flag total calculation section 12. As a result, the circuit is trusted if the number of error flags falls within the set range, and is not trusted otherwise.

결국, 상기 데이타 완충부(2B)에 저장된 데이타와 오류플래그 부가 및 오류치저장부(10B)에 저장된 데이타가 적절한 타이밍으로 익스클루시브 오아게이트부(11B)에서 가산되어 제1차 및 제2차의 오류 정정이 종료 된다.As a result, the data stored in the data buffer 2B and the data stored in the error flag addition and the error value storage 10B are added in the exclusive oragate unit 11B at an appropriate timing to be added to the first and second orders. Error correction is terminated.

이상에서 상세히 설명한 바와 같이 본 발명은 오류판단 과정에 있어서는 오류정정능력이 두 심볼일 때 그 수식이 간단한 PGZ 복호 알고니즘을 이용하여 오류정정 과정을 단순화 시키고, 이의 신뢰성을 묻기 위해 어떤 채널상에서의 경험적인 오류플래그 수의 평균치를 계산하여 그 신뢰성 여부를 판단함으로써 정확하고도, 빠른 속도로 오류를 정정할 수 있는 효과가 있다.As described in detail above, the present invention uses the simple PGZ decoding algorithm when the error correction capability is two symbols in the error determination process to simplify the error correction process, and to experience the reliability on any channel to inquire about its reliability. By calculating the average value of the number of error flags and determining the reliability thereof, there is an effect of correcting errors accurately and at high speed.

Claims (3)

(정정) 수신되는 프레임 단위의 심볼들에 대한 신드롬을 계산한 후, 신드롬(S0,S1,S2,S3)이 모두 0이면, 오류 심볼이 존재하지 않은 수신데이타로 판단하고, 상기의 조건을 만족하지 않는 경우 S0·S2+S1·S1=0인지의 여부를 확인하여 0이면 단일오류로, 0이 아니면 이중오류로 하여 판정하여 1차 오류정정을 수행하는 것을 특징으로하는 데이타 오류정정 방법.(Correction) After calculating the syndromes for the received symbols in the unit of frame, if the syndromes S 0 , S 1 , S 2 , and S 3 are all 0, it is determined that the received data does not have an error symbol. If the condition is not satisfied, S 0 · S 2 + S 1 · S 1 = 0 is checked, and if it is 0, it is determined as a single error. How to correct data errors. 제1항에 있어서, 제1차의 오류정정을 반복수행으로 2차 오류정정을 수행하되, 여기에 신뢰도 판단기법을 적용하는 것을 특징으로하는 데이타 오류정정 방법.The method of claim 1, wherein the second error correction is performed by repeating the first error correction, and a reliability determination technique is applied thereto. 인터리브되어 기록매체에 기록된 데이타를 원래의 정보 데이타로 복원하는 디인터리브부(1A)와, GF연산부(3) 및 제어부(4)의 제어를 받고, 상기 제1인터리브부(1A)에서 출력되는 데이타를 공급받아 이로부터 신드롬(S0,S1,S2,S3), (S0·S2+S1·S1), 오류수, 오류의 위치, 단일 및 이중 오류치를 계산하는 제1차 오류연산부(20)와, 상기 제1차 오류연산부(20)의 출력데이타에 오류플래그를 부가하는 오류플래그 부가 및 오류치 저장부(10A)와, 데이타 완충부(2A)를 통해 상기 제1인터리브부(1A)로부터 입력되는 데이타와 상기 오류플래그 부가 및 오류치 저장부(10A)에서 출력 되는 데이타를 익스클루시브 오아 연산하여 제1차의 오류정정을 완료하는 익스클루시브 오아게이트부(11A)와, 상기 제1차오류 정정에 사용된 각부를 재 구성하고, 여기에 무오류, 단일오류, 이중오류일때의 오류플래그수의 평균범위를 설정하여 이를 오류플래그 총수계산부(12)에서 계산된 값과 비교해서 그에따른 신뢰도를 결정하는 신뢰도 판정부(13), 최종의 출력데이타에 평균치 보간을 행하는 평균치 보간부(14)로 구성한 것을 특징으로하는 데이타 오류정정 회로.A deinterleave unit 1A for interleaving and restoring data recorded on the recording medium to the original information data, and under the control of the GF operation unit 3 and the control unit 4, and outputted from the first interleave unit 1A. The first data supplied to calculate syndromes (S 0 , S 1 , S 2 , S 3 ), (S 0 · S 2 + S 1 · S 1 ), number of errors, location of errors, single and double error values An error flag addition and error value storage unit 10A which adds an error flag to the output data of the first error operation unit 20, an error flag storage unit 10A, and a data buffer unit 2A. Exclusive oragate unit 11A which completes the first error correction by performing an exclusive ora operation on data input from the interleave unit 1A and data output from the error flag addition and error value storage unit 10A. ), And reconstruct each part used in the first error correction, wherein no error, a single error, The average value interpolation is performed on the final output data, and the reliability determination unit 13, which sets the average range of error flags in the case of double errors and compares it with the value calculated by the error flag total calculation unit 12, determines the reliability accordingly. A data error correction circuit comprising an average value interpolation section 14 to be performed.
KR1019920009566A 1992-06-02 1992-06-02 Error correcting circuit and method KR100253171B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920009566A KR100253171B1 (en) 1992-06-02 1992-06-02 Error correcting circuit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920009566A KR100253171B1 (en) 1992-06-02 1992-06-02 Error correcting circuit and method

Publications (2)

Publication Number Publication Date
KR940000964A KR940000964A (en) 1994-01-10
KR100253171B1 true KR100253171B1 (en) 2000-04-15

Family

ID=19334091

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920009566A KR100253171B1 (en) 1992-06-02 1992-06-02 Error correcting circuit and method

Country Status (1)

Country Link
KR (1) KR100253171B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101050744B1 (en) 2008-11-18 2011-07-21 후지쯔 가부시끼가이샤 Error Decision Circuit and Shared Memory System

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR880001183A (en) * 1986-06-17 1988-03-31 원본미기재 Method of attaching contact surfaces to substrate surface and its organ

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR880001183A (en) * 1986-06-17 1988-03-31 원본미기재 Method of attaching contact surfaces to substrate surface and its organ

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101050744B1 (en) 2008-11-18 2011-07-21 후지쯔 가부시끼가이샤 Error Decision Circuit and Shared Memory System

Also Published As

Publication number Publication date
KR940000964A (en) 1994-01-10

Similar Documents

Publication Publication Date Title
KR930001071B1 (en) Error correction circuit
EP0278383A2 (en) Error correction method using reed-solomon code
JPH084233B2 (en) Error correction code decoding device
JPH0353817B2 (en)
EP0373764B1 (en) Correction of random and burst errors
US6668349B1 (en) Data recording/readback method and data recording/readback device for the same
JPH0351140B2 (en)
JP2998659B2 (en) Error control device
JP2563389B2 (en) Error detection and correction method
JPS632370B2 (en)
JPH0361381B2 (en)
KR100253171B1 (en) Error correcting circuit and method
US20040030985A1 (en) Cross interleave reed-solomon code correction
JP4244351B2 (en) Signal processing apparatus and signal storage system
JP3537722B2 (en) Recording / playback device
JPH05218883A (en) Decoder circuit
Arai et al. High capability error correction LSI for CD player and CD rom
EP1111800A1 (en) Error correction with a cross-interleaved Reed-Solomon code, particularly for CD-ROM
US20060085721A1 (en) Method of detecting error event in codeword reproduced by perpendicular magnetic recording medium and apparatus using the same
US7296215B2 (en) Signal processing method and signal processing circuit
KR100209676B1 (en) Error correction apparatus and method
KR100207492B1 (en) Method for testing error correction and apparatus therefor
JP2605269B2 (en) Error correction method
JP2874933B2 (en) Digital signal error correction processing device and error correction processing method thereof
JP2796291B2 (en) Error correction method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20080102

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee