KR920000396B1 - Error correcting method - Google Patents

Error correcting method Download PDF

Info

Publication number
KR920000396B1
KR920000396B1 KR1019810002473A KR810002473A KR920000396B1 KR 920000396 B1 KR920000396 B1 KR 920000396B1 KR 1019810002473 A KR1019810002473 A KR 1019810002473A KR 810002473 A KR810002473 A KR 810002473A KR 920000396 B1 KR920000396 B1 KR 920000396B1
Authority
KR
South Korea
Prior art keywords
error
word
error correction
checkword
pcm data
Prior art date
Application number
KR1019810002473A
Other languages
Korean (ko)
Other versions
KR830006742A (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 KR1019810002473A priority Critical patent/KR920000396B1/en
Publication of KR830006742A publication Critical patent/KR830006742A/en
Application granted granted Critical
Publication of KR920000396B1 publication Critical patent/KR920000396B1/en

Links

Images

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/08Error detection or correction by redundancy in data representation, e.g. by using checking codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Error Detection And Correction (AREA)

Abstract

내용 없음.No content.

Description

에러정정방법(error訂正方法)Error Correction Method

제1도는 본원 발명이 적용된 에러정정엔코오더의 일례의 블록도.1 is a block diagram of an example of an error correction encoder to which the present invention is applied.

제2도는 전송시의 배열을 나타낸 블록도.2 is a block diagram showing an arrangement during transmission.

제3도는 에러정정데코오더의 일례의 블록도.3 is a block diagram of an example of an error correction decoder.

제4도, 제5도 및 제6도는 에러정정데코오더의 복호기(復號器)의 동작설명을 위한 도면.4, 5 and 6 are diagrams for explaining the operation of the decoder of the error correction decoder.

본원 발명은 버어스트에러 및 랜덤에러의 어느것에 대해서도 에러정정 능력이 높으며, 더구나 에러검출을 빠뜨릴 염려가 저감된 에러정정방법에 관한 것이다.The present invention relates to an error correction method having high error correction capability for both burst errors and random errors, and furthermore, the risk of missing error detection is reduced.

본원 출원인은 먼저, 버어스트에러에 대해서 유효한 데이터 전송방법으로서 크로스인터리이브라고 칭하는 것을 제안하고 있다. 이것은 제1의 배열상태에 있는 복수채널의 PCM데이터 계열의 각각에 포함된 1워어드를 제1의 에러정정부호기에 공급함으로써, 제1의 체크워어드계열 및 복수채널의 PCM 데이터 계열의 각각에 포함된 1워어드를 제1의 에러정정부호기에 공급함으로써, 제1의 체크워어드계열 및 복수채널의 PCM 데이터 계열을 제2의 배열상태로 하고, 각각에 포함된 1워어드를 제2의 정정부호기에 공급함으로써 제2의 체크워어드 계열을 발생시키는 것으로서, 워어드 단위로 2중인터리이브(배열의 변경 배열)를 하는 것이다. 인터리이브는 공통의 에러정정블록에 포함되는 체크워어드 및 PCM 데이터를 분산시켜 전송하고, 수신측에 있어서 원래의 배열로 되돌렸을 때, 공통의 에러정정블록에 포함되는 복수워어드중의 에러워어드수를 적게 하려고 하는 것이다. 즉, 전송시에 버어스트에러가 생길때에, 이 버어스트에러를 분산화할 수 있다. 이러한 인터리이브를 이중으로 행하면, 제1 및 제2의 체크워어드의 각각이 따로따로의 에러정정블록을 구성하게 되므로, 체크워어드의 어느 한쪽에서 에러를 정정할 수 없을 때에도, 그 다른쪽을 사용하여 에러를 정정할 수 있고, 따라서 에러정정능력을 더욱 향상시킬 수 있다. 그런데, 1워어드중의 1비트라도 틀려있을 때에는 1워어드 전체가 틀리고 있는 것으로 취급되므로, 랜덤에러가 비교적 많은 수신데이터를 취급할 경우에는 반드시 에러정정능력이 충분하다고는 말할 수 없다.The applicant of the present application first proposes what is called a cross interleave as a valid data transmission method for a burst error. This is provided to each of the first checkword sequence and the multiple channel PCM data sequence by supplying one word included in each of the multiple channel PCM data sequence in the first arrangement state to the first error correcting coder. By supplying the included one word to the first error correcting code, the first checkword sequence and the plurality of channel PCM data sequences are arranged in the second array, and the one word included in each of the second By supplying to the correction coder, a second checkword sequence is generated, which is to perform a dual reave (array of array change) in units of words. Interleaving distributes and transmits the checkword and PCM data included in the common error correction block, and the error in the multiple words included in the common error correction block when returned to the original arrangement on the receiving side. I'm trying to reduce the number of word. In other words, when a burst error occurs during transmission, the burst error can be distributed. If such interleaving is performed twice, each of the first and second checkwords constitutes a separate error correction block, so that the other side can be corrected even when one of the checkwords cannot correct the error. Can be used to correct errors, and thus the error correction capability can be further improved. However, if even one bit of one word is wrong, the whole one word is regarded as wrong. Therefore, when a random error handles a relatively large amount of received data, it cannot be said that the error correction capability is sufficient.

그래서 1블록내의 K 워어드 예를들어 2워어드에러까지 정정할 수 있고, 에러로케이션을 알고 있을 때에는 M 워어드 예를들어 3워어드에러 또는 4워어드에러도 정정할 수 있는 정정능력이 높은 오차정정부호(인접 코오드의 일종)를 상술한 다중인터리이브와 조합한다. 또 이 오차정정부호는 1워어드에러만을 정정의 대상으로 할 경우에는 복호기(復號器)의 구성을 매우 간단하게 할 수 있는 특징을 지니고 있다.Therefore, K word within 1 block, for example, 2 word error can be corrected, and when the error location is known, M word error, for example, 3 word error or 4 word error can be corrected. Error correction code (a kind of adjacent code) is combined with the above-described multiple interleaving. In addition, this error correcting code has a feature that makes the configuration of a decoder very simple when only one error is to be corrected.

이와같이, 제2의 에러정정블록에 대한 초단(初段)의 복호(復號)를 행하고, 다음에 제1의 배열상태로 되돌리고나서 제1의 에러정정블록에 대한 차단(次段)의 복호를 행할 경우, 차단의 복호로 에러가 있음에도 불구하고 에러가 없다고 판단하는 따위의 에러검출의 누락이 생길 염려가 있다.In this manner, the first stage of decoding for the second error correction block is performed, and after returning to the first array state, the blocking of the first error correction block is performed. In this case, there is a fear that error detection such as determining that there is no error even though there is an error due to decoding of the blocking may occur.

본원 발명에서는 초단의 복호로 에러를 검출했을 때에는 에러가 있다는 것을 나타내는 포인터를 부가하도록 하고, 차단의 복호로 이 포인터의 1블록내의 계수를 판별함으로써, 차단의 복호에서의 에러검출의 미스의 염려를 방지하고 있다. 이와같이 해서, 에러검출의 누락의 염려를 경감시키고, 예를들어 오디오 PCM 신호를 전송할 때의 이음(異音)이 발생하는 따위의 문제점을 해결하고 있다.In the present invention, when an error is detected by the first stage decoding, a pointer indicating that there is an error is added, and by determining the coefficient within one block of the pointer by the decoding of the blocking, there is a fear of an error of error detection in the decoding of the blocking. It is preventing. In this way, the possibility of omission of error detection is reduced, and for example, the problem of audible sound when an audio PCM signal is transmitted is solved.

먼저, 본원 발명에 사용하는 오차정정부호에 대해 설명한다. 오차정정부호를 기술할 경우, 벡터표현 또는 순회군(巡回群)에 의한 표현이 사용된다. GF(2)에서는 기약(旣約)인 m차의 다항식 F(X)를 생각한다. “0”과 “1”의 원(元)밖에 존재하지 않는 체(體) GF(2)사에서는 기약의 다항식 F(X)는 근(根)을 갖지 않는다. 그래서(F(X)=0)을 만족하는 가상적인 근 α를 생각한다. 이때, 영원(零元)을 포함하는 α의 누승(累乘)으로 표시되는 2m개의 상이한 원 0,α,α23…α2m-1은 확대체 GF(2m)를 구성한다. GF(2m)은 GF(2)상의 m차의 기약다항식 F(x)를 법으로 하는 다항식 환(環)이다.First, the error correction code used in the present invention will be described. When describing error correction codes, vector expressions or representations by circuit groups are used. In GF (2), we consider the m order polynomial F (X), which is the weak point. In the body GF (2), where only the circles of "0" and "1" exist, the covenant polynomial F (X) has no root. So consider a hypothetical root α that satisfies (F (X) = 0). At this time, 2 m different circles 0, α, α 2 , α 3 ... Represented by powers of α including eternity. α 2m-1 constitutes the enlarged body GF (2m). GF (2m) is a polynomial ring in which the m-th order weak polynomial F (x) on GF (2) is a method.

GF(2m)의 원은 1, α={X}, α2=[x2}……,αm-1={Xm-1}의 선형결합으로 써서 나타낼 수 있다. 즉 a0+a1{X}+a2{X2}+…+am-1{Xm+1}=a0+a1α+a2α2+…+am-1αm -1 The circle of GF (2m) is 1, α = {X}, α 2 = [x 2 }... … , α m-1 = {X m-1 }. A 0 + a 1 {X} + a 2 {X 2 } +... + a m-1 {X m + 1 } = a 0 + a 1 α + a 2 α 2 +... + a m-1 α m -1

또는(am-1,am-2,……a2,a1,a0)Or (a m-1 , a m-2 , …… a 2 , a 1 , a 0 )

여기서, a0,a1,…,am-1∈GF(2)로 된다.Where a 0 , a 1 ,... , a m -1 GF (2).

일례로서, GF(28)를 생각하면, (mod·F(x)=X8+X4+X3+X2+1)로 모든 8비트의 데이터는 a7X7+a6X6+a5X5+a4X4+a3X3+a2X2+a1X+a0또는 (a7,a6,a5,a4,a3, a2,a1,a0)로 써서 나타낼 수 있으므로, 예를 들어 a7을 MSB측, a0를 LSB측으로 할당한다. An은 GF(2)에 속하므로, 0 또는 1이다.As an example, considering GF (2 8 ), all 8 bits of data are (modF (x) = X 8 + X 4 + X 3 + X 2 +1) and a 7 X 7 + a 6 X 6 + a 5 X 5 + a 4 X 4 + a 3 X 3 + a 2 X 2 + a 1 X + a 0 or (a 7 , a 6 , a 5 , a 4 , a 3 , a 2 , a 1 , a 0 ), so that a 7 is assigned to the MSB side and a 0 is assigned to the LSB side. An belongs to GF (2), and therefore is 0 or 1.

또 다항식 F(X)에서 (m×m)의 다음의 행렬 T가 유도된다.In the polynomial F (X), the next matrix T of (m × m) is derived.

다른 표현으로서는 순회군을 사용한 것이 있다.Another expression is the use of a circuit group.

이것은 GF(2m)에서 0원을 제외한 나머지의 원이 위수 2m+1의 승법군을 이루는 것을 이용하는 것이다. GF(2m)의 원을 순회군을 사용해서 표현하면 0,1(=α2m-1),α,α33,…α2m-2로 된다.This is the use that the circle with the exception of the 0 circle in GF (2 m) forms a multiplicative group of a percentile 2 m + 1. The circle of GF (2 m ) is expressed using a traversal group, where 0,1 (= α 2m-1 ), α, α 3 , α 3 ,. α 2m −2 .

본원 발명의 일례에서는 m비트를 1워어드로 하고, n워어드로 1블록을 구성할 때, 다음의 페리티검사행렬 H에 의거하여 K개의 체크워어드를 발생토록 하고 있다.In one example of the present invention, when m bits are one word and one block is formed by n word, K checkwords are generated based on the following parity check matrix H.

Figure kpo00002
Figure kpo00002

또 행렬 T에 의해서도 마찬가지로 패리티검사행렬 H를 표현할 수 있다.Similarly, the parity check matrix H can be expressed by the matrix T.

Figure kpo00003
Figure kpo00003

단 I는(m×m)의 단위행렬이다.Where I is the unit matrix of (m × m).

상술한 바와같이, 근 α를 사용한 표현과 생성행렬 T를 사용한 표현의 양자는 본질적으로 동일하다.As mentioned above, both representation using root α and representation using generation matrix T are essentially the same.

또한 4개(K=4)의 체크워어드를 사용하는 경우를 예를들면, 패리티검사행렬 H는In the case of using four checkwords, for example, parity check matrix H is

Figure kpo00004
Figure kpo00004

로 된다. 수신데이터의 1블록을 열벡터

Figure kpo00005
(단
Figure kpo00006
:에러패터언)이라고 하면, 수신측에서 발생하는 4개의 신드로움 S0,S1, S2,S3는It becomes Column vector of 1 block of received data
Figure kpo00005
(only
Figure kpo00006
Error pattern), the four syndromes S 0 , S 1 , S 2 , and S 3

Figure kpo00007
Figure kpo00007

로 된다. 이 에러정정부호는, 하나의 에러정정블록내의 2워어드에러까지의 에러정정이 가능하며, 에러로케이션을 알고 있을 때에는 3워어드에러 또는 4워어드에러의 정정이 가능하다.It becomes This error correcting code can correct errors up to two word errors in one error correction block, and can correct three or four word errors when the error location is known.

1블록중에 4개의 체크워어드(p=W3, q=W, r=W1, s=W0)가 포함된다. 이 체크워어드는 다음처럼 하여 구해진다.Four checkwords (p = W 3 , q = W, r = W 1 , s = W 0 ) are included in one block. This checkword is obtained as follows.

단, ∑는

Figure kpo00008
를 뜻한다.Where ∑ is
Figure kpo00008
It means.

p+q+r+s=∑Wi=ap + q + r + s = ∑W i = a

α3p+α2q+αr+s=∑αiWi=bα 3 p + α 2 q + αr + s = ∑α i W i = b

α6p+α4q+α2r+s=∑α2iWi=cα 6 p + α 4 q + α 2 r + s = ∑α 2i W i = c

α9p+α6q+α3r+s=∑α3iW=dα 9 p + α 6 q + α 3 r + s = ∑α 3i W = d

계산과정을 생략하고, 결과만을 나타내면If the calculation process is omitted and only the result is displayed

Figure kpo00009
Figure kpo00009

으로 된다. 이와같이 해서 체크워어드 p,q,r,s를 형성하는 것이 송신측에 부호기의 역할이다.Becomes In this way, the formation of the checkwords p, q, r, s is the role of the encoder on the transmitting side.

다음에 상술한 바와같이 형성된 체크워어드를 포함하는 데이터가 전송되며, 수신된 경우의 에러정정의 기본적알고리듐에 대해서 설명한다.Next, data including the checkword formed as described above is transmitted, and the basic algorithm of error correction in the case of reception is described.

[1] 에러가 없을 경우 : S0=S1=S2=S3=0[1] Without error: S 0 = S 1 = S 2 = S 3 = 0

[2] 1워어드에러(에러패터언을 ei로 한다)의 경우:S0=ei S1iei S22iei S33iei[2] In the case of 1 word error (error pattern is ei): S 0 = ei S 1 = α i ei S 2 = α 2i ei S 3 = α 3i ei

따라서therefore

Figure kpo00010
Figure kpo00010

로 되며, i를 순차 바꾸었을 때에 상기 관계가 성립하는지의 여부로 1워어드에러인지 아닌지를 판정할 수 있다. 또는When i is sequentially changed, it is possible to determine whether or not the relationship is true or not. or

Figure kpo00011
Figure kpo00011

로 되며, αi의 패터언을 미리 ROM에 기억되고 있는 것과 비교해서 에러로케이션 i를 알 수 있다. 이때의 신드로움 S1이 에러패터언 ei 그 자체가 된다.The error location i can be known by comparing the pattern i of α i with those previously stored in the ROM. The syndrome S 1 at this time becomes the error pattern ei itself.

[3] 2워어드에러(ei,ej)의 경우[3] in the case of two error (ei, ej)

Figure kpo00012
Figure kpo00012

윗식을 변형하면If we transform the common expression

Figure kpo00013
Figure kpo00013

따라서therefore

Figure kpo00014
Figure kpo00014

가 성립되면 2워어드에러로 판정되며 그때의 에러패터언은Is a 2 word error, and the error pattern

Figure kpo00015
Figure kpo00015

[4] 3워어드에러(ei,ej,ek)의 경우[4] in case of three error (ei, ej, ek)

Figure kpo00016
Figure kpo00016

상식을 변형하면By transforming common sense

Figure kpo00017
Figure kpo00017

따라서therefore

Figure kpo00018
Figure kpo00018

윗식에서At the top

Figure kpo00019
Figure kpo00019

이 성립되면, 3워어드에러로 판정할 수 있다. 단, (S0≠0, S1≠0, S2≠0)인 것을 조건으로 하고 있다. 그때의 각 에러패터언은If this is true, it can be determined as a three-word error. The condition is that (S 0 ≠ 0, S 1 ≠ 0, S 2 ≠ 0). Each error pattern at that time

Figure kpo00020
Figure kpo00020

으로 구해진다. 실제로는 3워어드에러의 정정을 위한 구성이 복잡해지고, 정정동작에 요하는 시간도 길어진다. 그래서 포인터에 의해서 i,j,k,l의 에러로케이션을 알고 있을 경우와 조합(組合)하여, 그때의 체크용으로 윗식을 사용하며, 에러정정동작을 하는 것이 실용적이다.Obtained by In practice, the configuration for correcting the third error becomes complicated, and the time required for the correcting operation also becomes long. Therefore, in combination with the case where the error location of i, j, k, l is known by the pointer, it is practical to use the above expression for the check at that time and perform the error correction operation.

[5] 4워어드에러(ei,ej,ek,el)의 경우:[5] In case of four error (ei, ej, ek, el):

Figure kpo00021
Figure kpo00021

윗식을 변형하면If we transform the common expression

Figure kpo00022
Figure kpo00022

포인터에 의해서 에러로케이션(i,j,k,l)을 알고 있을 경우에는 상술한 연산에 의해 에러정정을 할 수 있다. 상술한 에러정정의 기본적 알고리듐은 신드로움 S0~S3를 사용하여 제1스텝에서 에러의 유무를 체크하고, 제2스텝에서 1워어드에러 인지의 여부를 체크하며, 제3스텝에서 2워어드에러인지의 여부를 체크하는 것으로, 2워어드에러까지도 정정하려고 할 때에는 모든 스텝을 종료하기까지에 요하는 시간이 길어지며, 특히 2워어드에러의 에러로케이션을 구할 때에 이와같은 문제가 발생한다. 그래서 이와 같은 문제를 발생시키지 않고, 2워어드에러의 정정을 상정할 경우에 적용해서 유효한 변형된 알고리듐에 대해서 다음에 설명한다.When the error location (i, j, k, l) is known by the pointer, error correction can be performed by the above operation. The basic algorithm of error correction described above is to check whether there is an error in the first step, using the syndrome S 0 to S 3 , check whether or not it is a 1 step error in the second step, and 2 in the third step. Checking whether there is a warning error, and when trying to correct even two warning errors, the time required to complete all steps is long, and this problem occurs especially when obtaining the error location of two warning errors. do. Therefore, a modified modified aridium that is applied to a case where correction of a second error is assumed without causing such a problem will be described next.

2워어드에러(ei,ej)의 경우의 신드로움 S0,S1,S2,S3에 관한 식은 상술한 바와같이,2 The equation for the syndrome S 0 , S 1 , S 2 , S 3 in the case of an error (ei, ej) is as described above.

Figure kpo00023
Figure kpo00023

이 식을 변형하면If you transform this expression

Figure kpo00024
Figure kpo00024

다시 변형하여 다음의 에러로케이션 다항식을 구한다.Transform again to obtain the following error location polynomial.

Figure kpo00025
Figure kpo00025

여기서 각 식의 계수를Where the coefficients of each equation

Figure kpo00026
Figure kpo00026

로 놓는다.Place it.

윗식의 각 계수 A,B,C를 사용함으로써 2워어드에러의 경우의 에러로케이션을 구할 수 있다.By using the coefficients A, B, and C in the above equation, the error location in the case of two-word error can be obtained.

[1] 에러가 없을 경우 : A=B=C=0, S0=0, S3=0[1] Without error: A = B = C = 0, S 0 = 0, S 3 = 0

[2] 1워어드에러의 경우 : A=B=C=0, S0≠0, S3≠0 일때에 1워어드에러로 판정된다.

Figure kpo00027
에서 에러로케이션 i를 알 수 있고, (ei=S0)를 사용하여 에러정정이 이루어진다.[2] In case of 1 error: When 1 = A = B = C = 0, S 0 ≠ 0, S 3 ≠ 0, it is determined as 1 error.
Figure kpo00027
The error location i can be found at, and error correction is made using (ei = S 0 ).

[3] 2워어드에러의 경우 : 2워어드 이상의 에러의 경우에 (A≠0, B≠0, C≠0)이 성립되며, 그 판정이 매우 간단해진다. 또 이때[3] In the case of two-word error: (A ≠ 0, B ≠ 0, C ≠ 0) is established in the case of an error of two words or more, and the determination becomes very simple. At this time

Figure kpo00028
Figure kpo00028

이 성립되어 있다. 여기서

Figure kpo00029
라고 놓으면
Figure kpo00030
이며Is established. here
Figure kpo00029
If you release
Figure kpo00030
And

Figure kpo00031
Figure kpo00031

으로 된다. 여기서 2개의 에러로케이션의 차가 t인, 즉(j=i+t)라고 하면Becomes If the difference between two error locations is t, that is (j = i + t)

Figure kpo00032
Figure kpo00032

로 변형된다. 따라서Is transformed into therefore

Figure kpo00033
Figure kpo00033

으로 된다. ROM에 (t=1~(n-1))의 각각의 관한,

Figure kpo00034
의 값을 미리 써넣어 두고, ROM의 출력과 수신워어드에서 연산된
Figure kpo00035
의 값과의 일치를 검출하는 것으로 t가 구해진다. 만약, 이 일치관계가 성립되지 않으면, 3워어드 이상의 에러이다. 그래서Becomes Each of (t = 1-(n-1)) in ROM,
Figure kpo00034
The value of is written in advance, and the output of the ROM and the received word are calculated.
Figure kpo00035
T is found by detecting a match with the value of. If this match does not hold, it is an error of more than 3 words. so

Figure kpo00036
Figure kpo00036

라고 놓음으로써By putting

Figure kpo00037
Figure kpo00037

로 되며, 에러로케이션 I 및 j가 구해진다. 에러패터언 ei, ej는Error locations I and j are obtained. Error pattern ei, ej

Figure kpo00038
Figure kpo00038

라고 구해지며, 에러정정을 할 수 있다.Can be corrected.

상술한 변형된 정정알고리듐은 2워어드에러의 정정까지 행할때에, 에러로케이션을 구하는데 요하는 시간을 기본적 알고리듐에 비해서 매우 짧게 할 수 있다.The modified correction algorithm described above can shorten the time required to obtain an error location when performing correction of two-word error compared to the basic algorithm.

그리고, 체크워어드의 수 K를 보다 증가시키면, 에러정정능력이 더욱 향상된다. 예를들어 (K=6)라고 하면, 3워어드에러까지 정정할 수 있으며, 에러로케이션을 알고 있을때에, 6워어드에러까지 정정할 수 있다.If the number K of checkwords is further increased, the error correction capability is further improved. For example, if (K = 6), up to 3 word errors can be corrected, and up to 6 word errors can be corrected when the error location is known.

다음에 본원 발명을 오디오 PCM신호의 기록 재생에 적용한 구체적예에 대해서 도면에 의거하여 설명한다. 제1도는 기록계에 설치되는 에러정정엔코오더를 전체적으로 나타낸 것으로서, 그 입력측에 오디오 PCM신호가 공급된다. 오디오 PCM 신호는 좌우 스테레오신호의 각각을 샘플링주파수 fs(예를 들어 44.1[KHz])로써 샘플링하며, 1샘플을 1워어드(2를 보수로 하는 코오드로 16비트)로 변환하는 것으로 형성되어 있다. 따라서 좌측 채널의 오디오신호에 대해서는

Figure kpo00039
와 각 워어드가 연속되는 PCM 데이터가 얻어지며, 우측채널의 오디오신호에 대해서도
Figure kpo00040
로 각 워어드가 연속되는 PCM 데이터가 얻어진다. 이 좌우의 채널의 PCM 데이터가 각기 6채널씩으로 나누어지며, 합계 12채널의 PCM 데이터계열이 입력된다. 소정에 타이밍에 있어서는
Figure kpo00041
의 12워어드가 입력된다. 이 예에서는 1워어드를 상위 8비트와 하위 8비트로 나누고, 12채널을 다시 24채널로 해서 처리하고 있다. PCM 데이터의 1워어드를 간단하게 하기 위해 Wi로서 표시하고, 상위 8비트에 대해서는 Wi, A와 A의 서픽스를 부가하고, 하위 8비트에 대해서는 Wi, B와 B의 서픽스를 부가해서 구별하고 있다. 예를 들면,
Figure kpo00042
Figure kpo00043
Figure kpo00044
의 둘로 분할되게 된다.Next, a specific example in which the present invention is applied to recording and reproducing an audio PCM signal will be described with reference to the drawings. Fig. 1 shows the error correction encoder installed in the recorder as a whole. The audio PCM signal is supplied to the input side. The audio PCM signal is formed by sampling each of the left and right stereo signals at a sampling frequency f s (for example, 44.1 [KHz]) and converting one sample into one word (16 bits as a two's complement code). have. Therefore, the audio signal of the left channel
Figure kpo00039
And each word are contiguous PCM data, and the right channel audio signal
Figure kpo00040
This results in PCM data in which each word is contiguous. The PCM data of the left and right channels are divided into six channels each, and a total of 12 channels of PCM data sequences are input. In the timing
Figure kpo00041
12 words of are entered. In this example, 1 word is divided into upper 8 bits and lower 8 bits, and 12 channels are processed into 24 channels again. Shown as W i For the sake of simplicity the first War Admiral of PCM data, and adds the W i, A and A suffix of for the upper 8-bits, and added to Wi, B and B suffix of for the lower 8 bits To distinguish them. For example,
Figure kpo00042
this
Figure kpo00043
And
Figure kpo00044
Will be divided into two.

이 24채널의 PCM 데이터계열이 먼저 우기(偶奇)인터리이버(1)에 대해서 공급된다. (n=0,1,2...)라고 하면,

Figure kpo00045
Figure kpo00046
Figure kpo00047
Figure kpo00048
Figure kpo00049
의 각각의 짝수번째의 워어드이며, 이것 이외가 홀수번째의 워어드이다. 짝수번째의 워어드로 이루어진 PCM 데이터계열의 각각이 우기인터리이버(1)의 1워어드지연회로(2A)(2B)(3A)(3B)(4A)(4B)(5A)(5B)(6A)(6B) ( 7A)(7B)에 의해서 1워어드 지연된다. 물론 1워얻보다 큰 예를들어 8워어드를 지연시키도록 해도 된다. 또, 우기인터리이버(1)에서는 짝수번째의 워어드로 이루어진 12개의 데이터계열이 제1~제12번째까지의 전송채널을 차지하며, 짝수번째의 워어드로 이루어진 12개의 데이터계열이 제13~제24번째까지의 전송채널을 차지하도록 변환된다.This 24-channel PCM data sequence is first supplied to the rainy season interleaver 1. If we say (n = 0,1,2 ...),
Figure kpo00045
Figure kpo00046
Figure kpo00047
Figure kpo00048
Figure kpo00049
Each even word is an odd word. Each of the PCM data sequences consisting of even-numbered words is one word delay circuit (2A) (2B) (3A) (3B) (4A) (4B) (5A) (5B) of the rainy season interleaver (1). One word is delayed by (6A) (6B) (7A) (7B). Of course, you may want to delay 8 words, for example, larger than 1 gain. In the rainy season interleaver 1, twelve data sequences consisting of even-numbered words occupy the first to twelfth transmission channels, and twelve data sequences consisting of even-numbered words are represented by thirteenth. It is converted to occupy the up to 24th transmission channel.

우기인터리이버(1)는 좌우의 스테레오신호의 각각에 대해서 연속되는 2워어드 이상이 틀리고, 더구나 이 에러의 정정이 불가능해지는 것을 방지하기 위한 것이다. 예를들어

Figure kpo00050
로 연속되는 3워어드를 생각하면, Li가 틀렸으며, 더구나 이 에러의 정정이 불가능한 경우에 Li-1또는 Li+1이 올바른 것이 요망된다. 그것은 틀린 데이터 Li를 보정할 경우에 있어서, 상기 올바른 워어드 Li-1로써 Li로써 보간(補間)(전치호울드)하거나, Li-1및 Li+1의 평균치로써 Li를 보간하기 위해서다. 우기인터리이버(1)의 지연회로(2A)(2B)~(7A)(7B)는 인접하는 워어드가 다른 에러정정블록에 포함되도록 하기 위해서 설치되어 있다. 또, 짝수번째의 워어드로 이루어진 데이터계열과 홀수번째의 워어드로 이루어진 데이터계열마다에 전송채널을 묶은 것은 인터리이브 했을때에, 근접하는 짝수번째의 워어드와 홀수번째의 워어드와 홀수번째의 워어드와의 기록위치 사이의 거리를 되도록 크게 하기 위해서이다.The rainy season interleaver 1 is for preventing two or more consecutive successive wrongs for each of the left and right stereo signals, and furthermore, it is impossible to correct this error. E.g
Figure kpo00050
Considering three consecutive words, L i is wrong, and furthermore, it is desired that L i-1 or L i + 1 be correct when this error cannot be corrected. It is the in the case to correct the wrong data L i, the correct War Admiral L interpolation (補間) as L i as i-1 (the pre-arc Ould) or, L i as L i-1 and the average value of L i + 1 To interpolate. Delay circuits 2A (2B) to (7A) and (7B) of the rainy season interleaver 1 are provided so that adjacent wordwords are included in other error correction blocks. In addition, when the transmission channel is bound to each data sequence of even numbered and odd numbered words, when interleaved, adjacent even numbered and odd numbered and odd numbered numbers This is to increase the distance between the first word and the recording position.

우기인터리이버(1)의 출력에는 제1의 배열상태에 있는 24채널의 PCM데이터계열이 나타나며, 그 각각에서 1워어드씩이 꺼내어져서 부호기(8)에 공급되고, 제1의 체크워어드

Figure kpo00051
가 형성된다.At the output of the wet interleaver 1, the 24 channel PCM data sequences in the first arrangement state are shown, one word from each of them is supplied to the encoder 8, and the first check word is input.
Figure kpo00051
Is formed.

제1의 체크워어드를 포함해서 구성되는 제1의 에러정정블록은The first error correction block, including the first checkword,

Figure kpo00052
Figure kpo00052

로 된다. 제1의 부호기(8)에서는 1블록의 워어드수 ; (n=28), 1워어드의 비트수 ; (n=8), 체크워어드수 ; (k=4)의 부호화가 이루어져 있다.It becomes In the first encoder 8, the number of words of one block; (n = 28), the number of bits in one word; (n = 8), Checkword number; (k = 4) encoding is performed.

이 24개의 PCM 데이터계열과, 4개의 체크워어드계열인 인터리이버(9)에 공급된다. 인터리이버(9)에서는 짝수번째의 워어드로 이루어진 PCM 데이터계열과 홀수번째의 워어드로 이루어진 PCM 대이터계열과의 사이에 체크워어드계열이 게재토록 전송채널의 위치를 바꾸고나서, 인터리이브를 위한 지연처리를 행하고 있다. 이 지연처리는 첫 번째의 전송채널을 제외한 다른 27개의 전송채널의 각각에 대해서, 1D,2D,3D,4D,...,26D,27D(단, D는 단위지연량이며 예를 들면 4워어드)의 지연회로를 삽입하는 것으로 이루어져 있다.The 24 PCM data sequences and four checkword sequences are supplied to the interleaver 9. In the interleaver 9, the check word sequence is changed between the PCM data sequence of even numbered word and the PCM data sequence of odd numbered word, and then the position of the transmission channel is changed. Delay processing is performed for Eve. This delay processing is performed for each of the 27 other transport channels except for the first transport channel, 1D, 2D, 3D, 4D, ..., 26D, 27D (where D is the unit delay amount, for example, 4 It consists of inserting an ad delay circuit.

인터리이버(9)의 출력에는 제2의 배열상태에 있는 28개의 데이터계열이 나타나며, 이 데이터계열의 각각에서 1워어드씩이 꺼내어져 부호기(10)에 공급되고, 제2의 체크워어드

Figure kpo00053
가 형성된다. 제2의 체크워어드를 포함해서 구성되는 32워어드로 이루어진 제2의 에러정정블록은 다음의 것으로 된다.At the output of the interleaver 9, 28 data sequences in a second array are shown, and one word is taken out from each of these data sequences and supplied to the encoder 10, and the second check word is displayed.
Figure kpo00053
Is formed. A second error correction block consisting of 32 words including a second check word is as follows.

Figure kpo00054
Figure kpo00054

이러한 제1 및 제2의 체크워어드를 포함하는 32개의 데이터계열중에서, 짝수번째의 전송채널에 대해서 1워어드의 지연회로가 삽입된 인터리이버(11)가 설치되어 있고, 또 제2의 체크워어드 계열에 대해서 인버어터(12)(13)(14)(15)가 삽입된다. 인터리이버(11)에 의해서 블록끼리의 경계에 걸친 에러가 정정불가능하게는 워어드수와 에러로 되기 쉬운 것에 대처하고 있다. 또 인버어터(12)~(15)는 전송시에 있어서의 드롭아우트에 의해서 1블록중의 모든 데이터가 “0”으로 되고, 이것을 재생계에 있어서 올바른 것으로 판별해 버리는 오동작을 방지하기 위해 설치되어 있다. 똑같은 목적으로 제1의 체크워어드 계열에 대해서도 인버어터를 삽입토록 해도 좋다.Of the 32 data sequences including the first and second checkwords, an interleaver 11 is provided in which a delay circuit of one word is inserted for the even numbered transmission channel, and a second interleaver 11 is provided. Inverters 12, 13, 14 and 15 are inserted into the checkword series. The interleaver 11 copes with the fact that the error across the boundary between blocks cannot easily be corrected to the number of words and errors. Inverters 12 to 15 are provided to prevent a malfunction in which all data in one block is "0" due to the dropout at the time of transmission, and this is determined to be correct in the reproduction system. have. For the same purpose, an inverter may be inserted for the first checkword series.

그리고, 최종적으로 얻어지는 24개의 PCM 데이터계열과 8개의 체크워어드계열의 각각에서 꺼내어진 32워어드마다 직렬화되고, 제2도에 나타낸 바와 같이, 그 선두에 16비트의 동기신호가 부가 되어서 1전송블록으로 되어서 전송된다. 제2도에서는 도시를 간단하게 하기 위해서 제i번째의 전송채널에서 꺼내어진 1워어드를 ui로서 표시하고 있다. 전송계의 구체적인 예로서는 자기기록 재생장치 회전디스크장치 등을 들 수 있다.Then, serialized every 32 words taken out from each of the 24 PCM data sequences and 8 checkword sequences finally obtained, and as shown in FIG. It is sent in blocks. In FIG. 2, for simplicity, the 1 word taken out of the i-th transmission channel is indicated as ui. Specific examples of the transmission system include a magnetic recording / playback apparatus and a rotating disk apparatus.

상기 부호기(8)는 상술한 바와 같은 에러정정부호에 관한 것으로서, (n=28, m=8, k=4)이며, 똑같은 부호기(10)는 (n=32, m=8, k=4)이다.The encoder 8 relates to an error correcting code as described above, wherein (n = 28, m = 8, k = 4), and the same encoder 10 is (n = 32, m = 8, k = 4). )to be.

재생된 데이터가 1전송블록의 32워어드마다 제3도에 나타낸 에러정정데코오더의 입력에 가해진다. 재생데이터이기 때문에, 에러를 포함하고 있을 가능성이 있다. 에러가 없으면, 이 데코오더의 입력에 가해지는 32워어드는 에러정정엔코오더의 출력에 나타나는 32워어드와 일치한다. 에러정정 데코오더에서는 엔코오더에 있어서의 인터리이브처리와 대응하는 디인터리이브처리를 해서, 데이터의 순서를 원래대로 되돌리고 나서 에러정정을 한다.The reproduced data is applied to the input of the error correction decoder shown in FIG. 3 every 32 words of one transport block. Because it is reproduction data, it may contain an error. If there are no errors, the 32 words applied to the input of this decoder will match the 32 words that appear in the error correction encoder's output. In the error correction decoder, deinterleaving processing corresponding to the interleaving processing in the encoder is performed, and the error is corrected after the data order is restored.

먼저 홀수번째의 전송채널에 대해서 1워어드의 지여회로가 삽입된 디인터리이버(16)가 설치되며, 또 체크워어드계열에 대해서 인버어터(17)(18)(19)(20)가 삽입되며, 초단의 복호기(21)에 공급된다. 복호기(21)에서는 제4도에 나타낸 것처럼 패리티검사행렬 HC1과 입력의 32워어드(VT)로 이루어지며, 신드로움 S10, S11, S12, S13이 발생되고, 이것에 의거해서 상술한 바와같은 에러정정이 이루어진다. α는 (F(X)=X8+X4+X3+X2+1)의 GF(28)의 원이다. 복호기(21)로부터는 24개의 PCM 데이터계열과 4개의 체크워어드계열이 나타나며, 이 데이터계열의 1워어드마다에 에러의 유무를 나타내는 최소한 1비트의 포인터(에러가 있을때는 “1”, 그렇지 않을 때는 “0”)이 부가되어 있다. 이 제4도 및 후술하는 제5도에 있어서, 그리고 다음의 설명에서는 수신된 워어드

Figure kpo00055
를 단지 Wi로서 나타내고 있다.First, a deinterleaver 16 is inserted into which an odd-word supporting circuit is inserted into an odd numbered transmission channel, and inverters 17, 18, 19, and 20 are inserted into a checkword sequence. It is supplied to the decoder 21 of the first stage. In the decoder 21, as shown in FIG. 4, the parity check matrix H C1 and the 32 words of input (V T ) are generated, and the syndromes S 10 , S 11 , S 12 , and S 13 are generated. Thus, error correction as described above is performed. α is a circle of GF (2 8 ) of (F (X) = X 8 + X 4 + X 3 + X 2 +1). Decoder 21 shows 24 PCM data sequences and 4 checkword sequences, and at least one bit pointer ("1" when there is an error) indicating an error in every word of this data sequence. Otherwise, “0”) is added. In FIG. 4 and FIG. 5 described later, and in the following description, the received word is received.
Figure kpo00055
Is only shown as Wi.

이 복호기(21)의 출력데이터계열이 디인터리이버(22)에 공급된다. 디인터리이버(22)는 에러정정엔코오더에 있어서의 인터리이버(9)로 이루어지는 지연처리를 취소시키기 위한 것으로서, 첫 번째의 전송채널에서 제27번째의 전송채널까지의 각각에(27D,26D,25D,…2D,1D)로 지연량이 다르게 만들어진 지연회로가 삽입되어 있다. 디인터리이버(22)의 출력이 차단의 복호기(23)에 공급된다. 복호기(23)에서는 제5도에 나타낸것처럼, 패리티검사행렬 HC2와 입력의 28워어드로 신드로움 S20,S21,S22,S23이 발생되며, 이것에 의거해서 에러정정이 행해진다.The output data sequence of the decoder 21 is supplied to the deinterleaver 22. The deinterleaver 22 is for canceling the delay processing of the interleaver 9 in the error correction encoder, and is applied to each of the first to 27th transmission channels (27D and 26D). A delay circuit having a delay amount of 25D, 2D, 1D) is inserted. The output of the deinterleaver 22 is supplied to the decoder 23 for blocking. A decoder (23) in as shown in FIG. 5, roum Sind in parity check matrix 28 War Admiral of H C2 to the input S 20, S 21, S 22, and the S 23 occurs, the error correction is performed on the basis of this .

이러한 차단의 복호기(23)의 출력에 나타나는 데이터계열이 우기디인터리 이 버(24)에 공급된다. 우기디인터리이버(24)에서는 짝수번째의 워어드로 이루어지는 PCM데이터계열과 홀수번째의 워어드로 이루어지는 PCM 데이터계열이 서로 엇갈린 전송채널에 위치하도록 되돌려지는 동시에, 홀수번째의 워어드로 이루어진 PCM 데이터 계열에 대해서 1워어드지연회로가 삽입되어 있다. 이 우기디인터리이버(24)의 출력에는 에러정정엔코오더의 입력에 공급되는 것과 전적으로 같은 배열과 소정번째의 전송채널을 갖는 PCM 데이터계열이 얻어지게 된다. 제3도에서는 도시되어 있지 않지만, 우기디인터리이버(24)에 다음에 보정회로가 설치되어 있으며, 복호기(21)(23)에서 정정할 수 없었던 에러를 눈에 띄지 않게 하는 보정, 예를들면 평균치보간이 행해진다.The data sequence appearing at the output of the decoder 23 of such a block is supplied to the rainy season interleaver 24. In the UGI deinterleaver 24, the PCM data sequence consisting of the even numbered word and the PCM data sequence consisting of the odd numbered word are returned so as to be located in the mutually staggered transmission channel, and the PCM data consisting of the odd numbered word One word delay circuit is inserted into the data series. At the output of the rainy season deinterleaver 24, a PCM data sequence having the same arrangement and a predetermined transmission channel as that supplied to the input of the error correction encoder is obtained. Although not shown in FIG. 3, a correction circuit is provided next to the UGI de-interleaver 24, so that an error that cannot be corrected by the decoders 21 and 23 becomes inconspicuous, for example, Average value interpolation is performed.

본원 발명의 일례에서는 초단의 복호기(21)에 있어서 1워어드에러까지 정정하도록 하고 있다.In one example of the present invention, up to one word error is corrected in the decoder 21 of the first stage.

그리고 하나의 에러정정블록내에 있어서 2워어드 이상의 에러가 있다고 검출되었을 경우에는 이 에러정정블록내의 32워어드 또는 체크워어드를 제외한 모든 워어드에 대해서 에러가 있는 것을 나타내는 최소한 1비트의 포인터를 부가한다. 이 포인터는 에러가 있을 때는 “1”, 그렇지 않을 때는 “0”으로 되는 것이다. 1워어드가 8비트일 경우에는 최상위 비트의 더욱 상위의 1비트로서 포인터가 부가되며, 1워어드가 9비트로 되어 디인터리이버(22)에서 처리되어서 차단의 복호기(23)에 공급된다.If it is detected that there are two or more errors in one error correction block, a pointer of at least one bit indicating that there is an error is added to all of the words in the error correction block except 32 or checkwords. do. This pointer will be "1" if there is an error, or "0" otherwise. When one word is 8 bits, a pointer is added as the uppermost 1 bit of the most significant bit, and one word is 9 bits, which is processed by the deinterleaver 22 and supplied to the decoder 23 for blocking.

차단의 복호기(23)에 있어서는 이 포인터에 의해서 표시되는 제1의 에러정정블록내의 에러워어드의 계수 또는 에러로케이션을 사용하여 에러정정을 한다. 제6도는 이 차단의 복호기(23)에 있어서의 에러정정의 일례를 나타내고 있으며, 제6도 및 다음의 설명에서는 포인터에 의한 에러워어드의 계수를 Np로 나타내며, 포인터에 의한 에러로케이션을 Ei로 나타낸다. 또 제6도에 있어서, Y는 공정을 나타내고, N은 부정을 나타낸다.In the blocking decoder 23, error correction is performed by using the error word coefficient or the error location in the first error correction block indicated by this pointer. FIG. 6 shows an example of error correction in the decoder 23 of this blocking. In FIG. 6 and the following description, the coefficient of the error word by the pointer is represented by N p , and the error location by the pointer is represented by E. It is represented by i . In FIG. 6, Y represents a process and N represents indefinite.

(1) 에러의 유무를 신드로움 S20~S23에 의해서 조사한다. (S20=S21= S22= S23=0)일 때에는 에러가 없는 것으로 한다. 그 경우, (Np

Figure kpo00056
Zi)인지 여부를 조사한다.(Np
Figure kpo00057
Z1)이라면, 에러가 없는 것으로 판정해서, 그 에러정정블록내의 포인터를 클리어(“0”)로 한다. (Np>Z1)이라면 신드로움에 의한 검출이 틀린 것으로 해서, 포인터를 그대로 두든지, 그 블록내의 모든 워어드의 포인터를 “1”로 한다. Z1로서는 매우 크며 예를들면 14로 한다.(1) Examine the presence or absence of the error by the syndrome S 20 to S 23 . If (S 20 = S 21 = S 22 = S 23 = 0), no error is assumed. In that case, (N p
Figure kpo00056
Z i ) to see if it is (N p ).
Figure kpo00057
Z 1 ), it is determined that there is no error, and the pointer in the error correction block is cleared ("0"). If (N p > Z 1 ), the detection by the syndrome is wrong, and the pointer is left as it is or the pointers of all the words in the block are set to "1". Z 1 is very large, for example, 14.

(2) 에러가 있을 경우에 신드로움의 연산에 의해서 1워어드에러인지 여부를 조사한다. 1워어드에러일 경우에, 에러로케이션 i를 구한다. 이 신드로움의 연산에 의해 구해진 에러로케이션 i이 포인터에 의한 것과 일치하는지 여부가 검출된다.(2) If there is an error, check whether or not it is a single error by calculating the syndrome. In case of one error, the error location i is obtained. It is detected whether or not the error location i obtained by the operation of this syndication coincides with that by the pointer.

포인터에 의한 에러로케이션이 복수개 있을때는 그 어느것과 일치하는지의 여부를 조사한다.(i=Ei)이라면, 다음에((Np

Figure kpo00058
Z2)인지의 여부를 조사한다. Z2는 예를들면 10이다. (Np
Figure kpo00059
Z2)이라면, 이것은 1워어드에러로 판단하며, 1웨어드에러의 정정을 한다. (Np>Z2)이라면 1워어드에러라고 판단하는 것은 위험하므로, 포인터를 그대로 두든지, 또는 모든 워어드를 에러로 간주해서 각 포인터를 “1”로 한다.When there are multiple error locations by pointer, we check whether they match any. If (i = Ei), then ((N p
Figure kpo00058
Z 2 ). Z 2 is for example 10. (N p
Figure kpo00059
Z 2 ), it is determined as a 1 error and corrects 1 wear error. If (N p > Z 2 ), it is dangerous to judge that it is a 1 word error, so either leave the pointer as is or set each pointer to "1" considering all the words as errors.

(i≠Ei)의 경우에는 (Np

Figure kpo00060
Z3)인지의 여부를 조사한다. Z3는 매우 작은 수로서 예를들면 3이다. (Np
Figure kpo00061
Z3)가 성립 할 때에는 신드로움의 연산으로써 에러로케이션 i에 대한 1워어드에러를 정정한다.(N p for (i ≠ E i )
Figure kpo00060
Z 3 ) or not. Z 3 is a very small number, for example 3. (N p
Figure kpo00061
When Z 3 ) is established, one word error for the error location i is corrected as a calculation of the syndrome.

(Np>Z3)의 경우에서는 다시 (Np

Figure kpo00062
Z4)이지의 여부를 조사한다. 즉, (Z3<Np
Figure kpo00063
Z4)일 때는 신드로움에 의한 1워어드에러의 판정이 틀려 있는 것치고는 Np가 지나치게 작은 것을 뜻하므로, 그 블록의 전 워어드의 포인터를 “1”로 한다. 반대로 (Np>Z4)이라면, 포인터를 그대로 둔다. Z4는 예를 들면 5이다.In the case of (N p > Z 3 ) again (N p
Figure kpo00062
Z 4 ) to see if it is. That is, (Z 3 <N p
Figure kpo00063
In case of Z 4 ), N p is too small compared with the fact that one word error is judged incorrectly. Therefore, the pointer of all word of the block is “1”. Conversely, if (N p > Z 4 ), the pointer is left as it is. Z 4 is, for example, 5.

(3) 1워어드에러도 아닐 경우에는(Np

Figure kpo00064
Z5)인지의 여부를 판단하며, (Np
Figure kpo00065
Z5)일 때는 포인터의 신뢰성이 빈약하므로, 모든 워어드의 포인터를 “1”로 한다. (Np>Z5)일 때에는 포인터를 그대로 둔다.(3) If it is not one word error (N p
Figure kpo00064
Z 5 ) or (N p
Figure kpo00065
In case of Z 5 ), pointer reliability is poor, so all the word pointers should be “1”. When (N p > Z 5 ), the pointer is left as it is.

(4) 제6도에서 판선으로 나타낸 것처럼 포인터에 의한 에러로케이션을 사용하여 M 워어드까지의 정정을 하도록 해도 좋다. 4워어드에러까지의 정정이 가능하지만, 잘못된 정정을 방지하기 위해서, (M=2) 정도로 하고, 포인터에 의해서 표시되는 에러로케이션(i,j)에 관해서 2워어드에러의 정정을 한다.(Np≠M)의 경우에는 포인터를 그대로 해 두든지, 또는 모든 워어드의 포인터를 에러를 나타내는 것으로 바꾼다.(4) Correction to the M word may be made by using an error location by a pointer as indicated by the line in FIG. Although it is possible to correct up to four warning errors, in order to prevent wrong correction, it is about (M = 2) and the correction of the two warning errors is made with respect to the error location (i, j) indicated by the pointer. In the case of N p ≠ M), either leave the pointer as is or change all the pointers of the word to indicate an error.

그리고, 1블록내의 에러를 나타내는 포인터의 개수 Np에 대한 비교치 Z1~Z5의 구체적수치는 어디까지나 일례이다. 상기 예에 있어서의 에러정정부호는 5워어드에러 이상일 경우에, 이것을 에러가 없다고 판단할 염려가 있으므로 이와 같은 누락이 생길 확률 등을 고려해서 비교치를 적절한 값으로 할 수 있다.The specific values of the comparison values Z 1 to Z 5 with respect to the number N p of pointers indicating an error in one block are only examples. If the error correcting code in the above example is more than 5 word errors, there is a fear that this error does not exist, and the comparison value can be set to an appropriate value in consideration of the probability of occurrence of such omission.

이 제3도에 나타낸 에러정정데코오더에서는 제1의 체크워어드 Q12n,Q12n+1, Q12n+2,Q12n+3를 사용한 에러정정과 제2의 체크워어드 P12n,P12n+1, P12n+2, P12n+3를 사용한 에러정정을 각기 1회씩 행하고 있다.In the error correction decoder shown in Fig. 3, error correction using the first checkwords Q 12n , Q 12n + 1 , Q 12n + 2 , and Q 12n + 3 , and the second checkword P12n , P 12n Error correction using +1 , P 12n + 2 and P 12n + 3 is performed once.

이 각 에러정정을 2회이상(실제적으로는 2회정도)씩 하도록 하면, 정정된 결과에 의해 에러가 감소된 것을 이용할 수 있으므로, 에러정정능력을 보다 증대시킬 수 있다. 이와같이 더욱 후단(後段)에 복호기를 설치할 경우에는 복호기(21)(23)에 있어서 체크워어드의 정정도 해둘 필요가 있다.If each error correction is performed two or more times (about two times in practice), the error can be reduced by the corrected result, and thus the error correction capability can be further increased. In this way, when the decoder is further provided at the rear end, it is necessary to correct the checkword in the decoders 21 and 23.

그리고, 상기 예에서는 인터리이버(9)에 있어서의 지연처리로서, 지연량을 P씩 달라지도록 했지만, 이와 같은 규칙적인 지연량의 변화와 달리, 불규칙적인 것으로 하여도 된다. 또, 제2의 체크워어드 Pi는 PCM 데이터 뿐만 아니라 제1의 체크워어드 Qi도 포함해서 구성되는 에러정정부호이다.In the above example, as the delay processing in the interleaver 9, the delay amount is changed by P. However, unlike the change in the regular delay amount, it may be irregular. The second checkword P i is an error correcting code including not only PCM data but also the first check word Q i .

이것과 마찬가지로, 제1의 체크워어드 Qi가 제2의 체크워어드 Pi도 포함하도록 하는 것도 가능하다. 구체적으로는 제2의 체크워어드 Pi를 귀환해서 제1의 체크워어드를 형성하는 부호기에 공급하면 된다.Similarly, it is also possible for the first checkword Q i to also include the second checkword P i . Specifically, the second check word P i may be fed back and supplied to the encoder forming the first check word P i .

이상의 설명에서 이해할 수 있듯이, 본원 발명에 의하면, 크로스인터리이브에 의해서 버어스트에러를 분산시키도록 하고 있으므로, 랜덤에러 및 버어스트에러의 어느것에 대해서도 유효한 에러정정을 할 수 있다. 또 차단의 복호기에서의 복호시에, 에러의 유무를 검출할 경우, 연산된 신드로움 뿐만 아니라, 초단의 복호기로부터의 포인터의 개수를 판별해서 에러가 없다고 판단하므로, 에러의 유무의 검출을 확실하게 할수 있다. 따라서 에러를 누락시켜 버릴 염려를 방지할 수 있다.As can be understood from the above description, according to the present invention, since the burst error is distributed by cross-interleaving, effective error correction can be performed for both random error and burst error. In case of detecting the presence or absence of an error at the time of decoding in the blocking decoder, not only the calculated reliability but also the number of pointers from the first stage decoder are judged that there is no error, so that the detection of the presence or absence of an error is ensured. can do. Therefore, the fear of missing an error can be prevented.

그리고 상술한 본원 발명의 일례에서는, 초단의 복호기에서는 1워어드에러까지의 에러를 정정하도록 하고 있지만, 2워어드에러까지 정정하는 따위의 변형이 가능하며, 또 에러를 정정한 워어드에 대해서도 그 워어드가 포함되는 에러정정블록내의 모든 워어드에 대해서 에러가 있다는 것을 나타내는 포인터를 부가하도록 해도 좋다. 마찬가지로 차단의 복호기에 있어서 2워어드까지의 에러를 정정하는 구성을 해도 좋다.In the example of the present invention described above, in the first stage decoder, errors up to one word error are corrected, but modifications such as corrections up to two error errors are possible. It is also possible to add a pointer indicating that there is an error for every word in the error correction block that contains the word. Similarly, a configuration for correcting errors up to two words in the blocking decoder may be provided.

Claims (1)

제1의 배열상태의 있는 복수채널의 PCM 데이터계열의 각각에 포함되는 1워어드와 이것에 대한 제1의 체크워어드로 이루어진 제1의 에러정정블록이 형성되며, 상기 복수채널의 PCM 데이터계열과 제1의 체크워어드계열을 채널마다 다른 시간을 지연시킴으로써 제2의 배열상태로 하고, 이 제2의 배열상태에 있는 복수채널의 PCM 데이터계열과 제1의 체크워어드계열과의 각각에 포함되는 1워어드와 이것에 대한 제2의 체크워어드로 이루어지는 제2의 에러정정블록이 형성되며, 제1 및 제2의 에러정정블록은 에러신드로움을 연산하며, 이 에러신드로움으로부터 에러로케이션을 구함으로써, 동일 블록내에 포함하는 K워어드까지의 에러를 정정할 수 있는 인접부호의 구성으로 된 것의 에러정정방법에 있어서, 제2의 에러정정블록에 대한 초단(初段)의 복호(復號)를 행하며, 다음에 제2의 배열상태에 있는 복수채널의 PCM 데이터계열과 제1의 체크워어드계열을 채널마다 다른 시간을 지연시킴으로써 제1의 배열상태로 하고, 이 다음에 제1의 에러정정블록에 대한 차단(次段)의 복호를 하도록 하며, 상기 초단의 복호에서는 제2의 에러정정블록에 대한 복호의 결과에 따라 각 워어드마다 에러의 유무를 나타내는 포인터를 부가하며, 상기 차단의 복호에서는 제1의 에러정정블록내의 에러를 나타내는 포인터의 개수를 세며, 이 에러를 나타내는 포인터의 개수가 소정수를 넘을 경우에는 상기 차단의 복호에 의해서 에러가 없는 판정결과가 얻어질 때에도, 최소한 상기 초단의 복호에서 부가된 포인터를 그대로 두고 에러검출의 누락을 방지토록 한 에러 정정방법.A first error correction block is formed, which is comprised of one word included in each of the plurality of channel PCM data sequences in the first array state and the first check word associated therewith, wherein the plurality of channel PCM data sequences are formed. And the first checkword sequence in a second arrangement state by delaying a different time for each channel, and each of the plurality of channels of the PCM data sequence and the first checkword sequence in this second arrangement state. A second error correction block is formed, which includes one word included and a second checkword therein, wherein the first and second error correction blocks calculate an error syndrome, and from this error syndrome In the error correction method of the constitution of the adjacent code | symbol which can correct the error to the Kword contained in the same block by obtaining a location, the first stage decoding with respect to a 2nd error correction block is performed. I) Next, the plurality of PCM data sequences and the first checkword sequence in the second array state are set to the first array state by delaying different times for each channel, followed by the first error correction block. In the first stage of decoding, a pointer indicating the presence or absence of an error is added to each word according to the decoding result of the second error correction block. The number of pointers indicating an error in the first error correction block is counted. When the number of pointers indicating this error exceeds a predetermined number, even when a determination result without an error is obtained by decoding of the blocking, at least the first step is obtained. Error correction method that prevents omission of error detection while leaving the pointer added in decoding.
KR1019810002473A 1981-07-08 1981-07-08 Error correcting method KR920000396B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019810002473A KR920000396B1 (en) 1981-07-08 1981-07-08 Error correcting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019810002473A KR920000396B1 (en) 1981-07-08 1981-07-08 Error correcting method

Publications (2)

Publication Number Publication Date
KR830006742A KR830006742A (en) 1983-10-06
KR920000396B1 true KR920000396B1 (en) 1992-01-13

Family

ID=19221317

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019810002473A KR920000396B1 (en) 1981-07-08 1981-07-08 Error correcting method

Country Status (1)

Country Link
KR (1) KR920000396B1 (en)

Also Published As

Publication number Publication date
KR830006742A (en) 1983-10-06

Similar Documents

Publication Publication Date Title
KR860000500B1 (en) Error correction method
US4497058A (en) Method of error correction
US4546474A (en) Method of error correction
EP0170328B1 (en) Device for correcting and concealing errors in a data stream, and video and/or audio reproduction apparatus comprising such a device
EP0072640B1 (en) Methods of data error correction
US4306305A (en) PCM Signal transmitting system with error detecting and correcting capability
SU1271382A3 (en) Device for decoding words of data transmitted through data transmission channel and unitwise protected by means of error-correcting code (versions)
KR880000426B1 (en) Decoding method and system for double-encoded reed-solomon codes
US4541091A (en) Code error detection and correction method and apparatus
US4593395A (en) Error correction method for the transfer of blocks of data bits, a device and performing such a method, a decoder for use with such a method, and a device comprising such a decoder
JP2570252B2 (en) Error correction code generation method
US6044482A (en) Digital transmission system for encoding and decoding attribute data into error checking symbols of main data
JP3283097B2 (en) Communications system
JPH0353818B2 (en)
JPH0361381B2 (en)
KR920000396B1 (en) Error correcting method
JPH048974B2 (en)
KR920000397B1 (en) Error correcting method
JPH0353816B2 (en)
JP2796291B2 (en) Error correction method
JPH0361380B2 (en)
JPH0361379B2 (en)
JPH047848B2 (en)
EP0265488A1 (en) Digital data transmission with detection of errors, including word framing errors
JPH044776B2 (en)