JP3321937B2 - Scramble playback device - Google Patents

Scramble playback device

Info

Publication number
JP3321937B2
JP3321937B2 JP28447293A JP28447293A JP3321937B2 JP 3321937 B2 JP3321937 B2 JP 3321937B2 JP 28447293 A JP28447293 A JP 28447293A JP 28447293 A JP28447293 A JP 28447293A JP 3321937 B2 JP3321937 B2 JP 3321937B2
Authority
JP
Japan
Prior art keywords
error
syndrome
scramble
correction
equation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP28447293A
Other languages
Japanese (ja)
Other versions
JPH07121998A (en
Inventor
美昭 田中
昭治 植野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP28447293A priority Critical patent/JP3321937B2/en
Publication of JPH07121998A publication Critical patent/JPH07121998A/en
Application granted granted Critical
Publication of JP3321937B2 publication Critical patent/JP3321937B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、不法コピーを防止等す
るために音声信号等をスクランブル再生するスクランブ
ル再生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a scramble reproducing apparatus for reproducing an audio signal or the like in order to prevent illegal copying.

【0002】[0002]

【従来の技術】この種のスクランブル装置としては、例
えば特開平4−285763号公報に示されるように第
1、第2のアナログ音声信号を所定の周期で交互に切り
換えて第1の音声搬送波でFM変調した信号と第2の音
声搬送波でFM変調した信号を記録媒体に周波数多重記
録する方法が知られている。また、このスクランブル方
法を実現するために第1、第2のアナログ音声信号を所
定の周期で交互に切り換えるための回路が用いられてい
る。また、デジタルスクランブル方法では、第1、第2
の音声信号をフレーム単位で周期的に切り換える方法も
考えられる。
2. Description of the Related Art As this type of scrambler, for example, as shown in Japanese Patent Application Laid-Open No. 4-285773, a first and a second analog audio signal are alternately switched at a predetermined cycle to use a first audio carrier. There is known a method of frequency-multiplex recording an FM-modulated signal and a signal FM-modulated by a second audio carrier on a recording medium. Further, in order to realize this scrambling method, a circuit for alternately switching the first and second analog audio signals at a predetermined cycle is used. In the digital scramble method, the first and second
A method is also conceivable in which the audio signal is periodically switched in frame units.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来のスクランブル方法では、周期的に2つの音声信号を
切り換えるのみであるので、スクランブルの程度に自由
度がなく、したがって、再生信号の明瞭度(リーダビリ
ティ)を自由に変更することができないという問題点が
ある。また、デスクランブルが容易であるので実用上不
十分であり、更に周期的に切り換えるための特別な回路
が必要になるという問題点がある。
However, in the above-described conventional scrambling method, since only two audio signals are periodically switched, the degree of scrambling is not flexible, and therefore, the clarity of the reproduced signal (reader ) Cannot be freely changed. In addition, there is a problem that the descrambling is easy and therefore practically insufficient, and a special circuit for periodically switching is required.

【0004】本発明は上記従来の問題点に鑑み、特別な
回路を設けることなく再生時の明瞭度を自由に変更する
ことができるスクランブル再生装置を提供することを目
的とする。
[0004] In view of the above-mentioned conventional problems, an object of the present invention is to provide a scramble reproducing apparatus which can freely change the clarity during reproduction without providing a special circuit.

【0005】[0005]

【課題を解決するための手段】本発明は上記目的を達成
するために、リードソロモン符号でエラー訂正符号化さ
れたデータの再生データのシンドロームを算出するシン
ドローム算出手段と、 スクランブルモードと非スクラン
ブルモードを設定する手段と、前記スクランブルモード
のとき正常にエラー訂正復号できないように前記シンド
ロームを変更して出力し、前記非スクランブルモードの
とき前記シンドロームを変更しないで出力するスクラン
ブル手段と、前記スクランブル手段の出力に基づいてエ
ラー訂正を行う復号手段と、前記スクランブルモードで
の再生と前記非スクランブルモードでの再生の時間的割
合を所定の比率で設定する制御手段とを、有するスクラ
ンブル再生装置が提供される。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a method for calculating a syndrome of reproduced data of data error-corrected by Reed-Solomon code.
Drome calculation means, scramble mode and non-scramble
Means for setting a scramble mode, and the scramble mode
In such a case, the syndrome is changed and output so that error correction decoding cannot be performed normally, and the non-scramble mode is output.
A scrambling means for outputting the syndrome without changing it, and an scrambling means for outputting the syndrome based on an output of the scrambling means.
Decoding means for performing error correction; and
Time between the playback of video and the playback in the non-scramble mode
Control means for setting the combination at a predetermined ratio .

【0006】[0006]

【作用】本発明では、再生時にシンドロームを変更する
ことによりスクランブルがかけられるので、例えばシン
ドロームや変形シンドロームを反転したり、反転周期を
可変にすることにより特別な回路を設けることなく再生
時の明瞭度を自由に変更することができる。
According to the present invention, scrambling can be performed by changing the syndrome at the time of reproduction. For example, by clearing the syndrome or the modified syndrome, or by making the reversal cycle variable, the clearness at the time of reproduction can be obtained without providing a special circuit. The degree can be changed freely.

【0007】[0007]

【実施例】以下、図面を参照して本発明の実施例につい
て説明する。図1は本発明に係るスクランブル再生装置
の一実施例の要部であるエラー訂正復号部を示すブロッ
ク図、図2は図1のエラー訂正復号部を有するスクラン
ブル再生装置の概略を示すブロック図、図3は図1の演
算回路内のスクランブル回路の一例を示すブロック図、
図4は図1の演算回路内のスクランブル回路の他の例を
示すブロック図、図5は図1のエラー訂正復号部が2重
リードソロモン符号のC1系列をエラー訂正する動作を
説明するためのフローチャート、図6は図1のエラー訂
正復号部が2重リードソロモン符号のC2系列をエラー
訂正する動作を説明するためのフローチャートである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an error correction decoding unit which is a main part of an embodiment of the scramble reproduction device according to the present invention. FIG. 2 is a block diagram showing an outline of the scramble reproduction device having the error correction decoding unit of FIG. FIG. 3 is a block diagram showing an example of a scramble circuit in the arithmetic circuit of FIG. 1,
FIG. 4 is a block diagram showing another example of the scramble circuit in the arithmetic circuit of FIG. 1, and FIG. 5 is a diagram for explaining the operation of the error correction decoding unit of FIG. 1 for correcting the error of the C1 sequence of the double Reed-Solomon code. FIG. 6 is a flowchart for explaining the operation of the error correction decoding unit in FIG. 1 for performing error correction on the C2 sequence of the double Reed-Solomon code.

【0008】先ず、図2を参照して本実施例のスクラン
ブル再生装置の概略を説明する。入力端子11に入力す
る信号は例えばDCC(デジタルコンパクトカセット)
から再生された信号であり、この入力信号はPCM信号
とエラー訂正用のP、Qパリティコード等が所定のフォ
ーマットでエンコードされている。この入力信号が入力
端子11に入力すると、先ずデコーダ12により上記P
CM信号とP、Qコード等にデコードされ、図1に詳し
く示すエラー訂正復号部13に印加される。
First, an outline of the scramble reproducing apparatus of the embodiment will be described with reference to FIG. The signal input to the input terminal 11 is, for example, DCC (digital compact cassette).
This input signal has a PCM signal and P and Q parity codes for error correction encoded in a predetermined format. When this input signal is input to the input terminal 11, first, the decoder 12
The signal is decoded into a CM signal and P and Q codes, and is applied to an error correction decoding unit 13 shown in detail in FIG.

【0009】エラー訂正復号部13では例えばC1系列
とC2系列の2重のリードソロモン符号を用いてエラー
訂正を行い、特にファンクションキー14によりスクラ
ンブルモードが解除されていない場合には制御信号Kに
より後述するようにシンドロームSiや変形シンドロー
ムA、B、C、P1、P2、P3を変更してエラー訂正
を行うことによりスクランブル再生する。このエラー訂
復号3により正常にエラー訂正された信号又はス
クランブル再生された信号は、出力バッファ15を介し
て出力端子16に出力される。なお、スクランブルモー
ドは、ファンクションキー14から例えば暗証番号を予
め入力することにより設定又は解除される。
The error correction decoding unit 13 performs error correction using, for example, a double Reed-Solomon code of the C1 sequence and the C2 sequence. In particular, when the scramble mode is not released by the function key 14, the control signal K will be used later. Thus, the syndrome Si and the modified syndromes A, B, C, P1, P2, and P3 are changed and error correction is performed to perform scramble reproduction. The signal corrected in error by the error correction decoding unit 13 or the signal subjected to scramble reproduction is output to the output terminal 16 via the output buffer 15. The scramble mode is set or canceled by, for example, inputting a password in advance from the function key 14.

【0010】次に、図1に示すエラー訂正復号部13を
詳細に説明する。先ず、3ワード以上のエラーに対する
受信側シンドロームをS1、S2、S3、S4、S5と
し、エラー値をe1、e2、e3とすると次式が成り立
つ(以下の加算はmodulo 2加算( 排他的論理和) )。
Next, the error correction decoder 13 shown in FIG. 1 will be described in detail. First, if the receiving syndromes for errors of three or more words are S1, S2, S3, S4, and S5, and the error values are e1, e2, and e3, the following equation holds (the following addition is modulo 2 addition (exclusive OR). )).

【0011】[0011]

【数1】 S0= e1+ e2+ e3 S1=x1 *e1+x2 *e2+x3 *e3 S2=x12 *e1+x22 *e2+x32 *e3 S3=x13 *e1+x23 *e2+x33 *e3 S4=x14 *e1+x24 *e2+x34 *e3 S5=x15 *e1+x25 *e2+x35 *e3[Number 1] S0 = e1 + e2 + e3 S1 = x1 * e1 + x2 * e2 + x3 * e3 S2 = x1 2 * e1 + x2 2 * e2 + x3 2 * e3 S3 = x1 3 * e1 + x2 3 * e2 + x3 3 * e3 S4 = x1 4 * e1 + x2 4 * e2 + x3 4 * e3 S5 = x1 5 * e1 + x2 5 * e2 + x3 5 * e3

【0012】ここで、x1,x2,x3はエラーの位置
(エラーロケーション)を示す。また、3ワードエラー
が発生した場合、先ずエラー位置x1を仮定して上記シ
ンドロームの式を変形すると次式が得られる。
Here, x1, x2 and x3 indicate error locations (error locations). When a three-word error occurs, the following equation is obtained by modifying the above-described syndrome equation assuming the error position x1.

【0013】[0013]

【数2】 T0=S1+x1*S0 = (x1+x2)*e2+ (x1+x3)*e3 T1=S2+x1*S1 =x2 *(x1+x2)*e2+x3 *(x1+x3)*e3 T2=S3+x1*S2 =x22 *(x1+x2)*e2+x32 *(x1+x3)*e3 T3=S4+x1*S3 =x23 *(x1+x2)*e2+x33 *(x1+x3)*e3 T4=S5+x1*S4 =x24 *(x1+x2)*e2+x34 *(x1+x3)*e3 次に、この式を更に変形して、[Number 2] T0 = S1 + x1 * S0 = (x1 + x2) * e2 + (x1 + x3) * e3 T1 = S2 + x1 * S1 = x2 * (x1 + x2) * e2 + x3 * (x1 + x3) * e3 T2 = S3 + x1 * S2 = x2 2 * (x1 + x2 ) * E2 + x3 2 * (x1 + x3) * e3 T3 = S4 + x1 * S3 = x2 3 * (x1 + x2) * e2 + x3 3 * (x1 + x3) * e3 T4 = S5 + x1 * S4 = x2 4 * (x1 + x2) * e2 + x3 * 3 * E3 Next, this expression is further transformed to

【0014】[0014]

【数3】T12 +T0*T2=P1 T22 +T1*T3=P2 T32 +T4*T2=P3 とすると、Assuming that T1 2 + T0 * T2 = P1 T2 2 + T1 * T3 = P2 T3 2 + T4 * T2 = P3

【0015】[0015]

【数4】 P1= (x1+x2)*(x2+x3)2 *(x1+x3)*e2*e3 P2=x2 *x3 *(x1+x2)*(x2+x3)2 *(x1+x3)*e2*e3 P3=x22 *x33 *(x1+x2)*(x2+x3)2 *(x1+x3)*e2*e3 ここで、上記P1、P2、P3を与える各式(数4)か
らエラー位置x1を消去するために、
[Number 4] P1 = (x1 + x2) * (x2 + x3) 2 * (x1 + x3) * e2 * e3 P2 = x2 * x3 * (x1 + x2) * (x2 + x3) 2 * (x1 + x3) * e2 * e3 P3 = x2 2 * x3 3 * (x1 + x2) * (x2 + x3) 2 * (x1 + x3) * e2 * e3 Here, in order to delete the error position x1 from each of the equations (Equation 4) that gives P1, P2, and P3,

【0016】[0016]

【数5】A=P2/P1=x2*x3 B=P3/P2=x2*x3 とすると、位置xiの値が正しければ、 A=B …(1) が成り立ち、変形して A+B=D とする。Assuming that A = P2 / P1 = x2 * x3 B = P3 / P2 = x2 * x3, if the value of the position xi is correct, then A = B (1) holds, and is transformed into A + B = D. I do.

【0017】本実施例では、エラー位置xiの値を仮定
して演算回路4により上記Dを計算し、PCコントロー
ル部6によりDが「0」となる位置xiの値を求める。
この場合、位置xiの値は通常では「1」からn(nは
符号語の数)までの値を順次変化させ、このときDの値
が「0」となる位置xiの値は3個存在し、この3個の
値を演算レジスタ5に記憶させる。ここで、演算レジス
タ5に記憶された位置xiの値はx1、x2、x3であ
るので、これ以後はx1、x2、x3が既知であり、こ
の値x1、x2、x3を用いて以下のようにエラーの値
e1,e2,e3を求める。
In this embodiment, the above-mentioned D is calculated by the arithmetic circuit 4 assuming the value of the error position xi, and the value of the position xi where D becomes "0" is obtained by the PC control section 6.
In this case, the value of the position xi normally changes sequentially from “1” to n (n is the number of codewords), and there are three values of the position xi where the value of D becomes “0” at this time. Then, the three values are stored in the operation register 5. Here, since the values of the position xi stored in the operation register 5 are x1, x2, and x3, x1, x2, and x3 are known thereafter, and the values x1, x2, and x3 are used as follows. , Error values e1, e2 and e3 are obtained.

【0018】[0018]

【数6】 E=S2+(x1+x2)*S1+x1*x2*S0 を計算すると、 E=(x1+x3)*(x2+x3)*e3 したがって、 E/(x1+x3)*(x2+x3)=e3Calculating E = S2 + (x1 + x2) * S1 + x1 * x2 * S0, E = (x1 + x3) * (x2 + x3) * e3 Therefore, E / (x1 + x3) * (x2 + x3) = e3

【0019】を計算して先ず値e3を求め、次いでこの
値e3により以下のようにシンドロームを修正する。
First, the value e3 is obtained, and then the syndrome is corrected by the value e3 as follows.

【0020】[0020]

【数7】 S0m=S0+ e3= e1+ e2 S1m=S1+x3 *e3=x1 *e1+x2 *e2 S2m=S2+x33 *e3=x12 *e1+x22 *e2 次いで、Equation 7] S0m = S0 + e3 = e1 + e2 S1m = S1 + x3 * e3 = x1 * e1 + x2 * e2 S2m = S2 + x3 3 * e3 = x1 2 * e1 + x2 2 * e2 Subsequently,

【0021】[0021]

【数8】F=S1m+x1*S0m =(x1+x2)*e2 ∴F/(x1+x2)=e2 を計算し、最後に、 S0m+e2=e1F = S1m + x1 * S0m = (x1 + x2) * e2) F / (x1 + x2) = e2, and finally, S0m + e2 = e1

【0022】を計算することにより、全てのエラーの位
置x1,x2,x3と値e1,e2,e3が求められ、
したがって、3ワードエラーが求められる。図1を参照
して本実施例のエラー訂正復号部13について説明する
と、先ず、後述する演算の制御プログラムは予めROM
8に記憶され、この制御プログラムはプログラムカウン
タ(PC)コントロール部6の制御によりプログラムカ
ウンタ(PC)7により読み出され、デコーダ9により
デコードされてシンドロームチェック部1と、シンドロ
ームレジスタ2と、入力セレクタ3と演算回路4に印加
される。
By calculating the above, the positions x1, x2, x3 of all the errors and the values e1, e2, e3 are obtained.
Therefore, a three-word error is required. The error correction decoding unit 13 according to the present embodiment will be described with reference to FIG.
This control program is read by a program counter (PC) 7 under the control of a program counter (PC) control unit 6 and decoded by a decoder 9 to be checked by a syndrome check unit 1, a syndrome register 2, an input selector 3 and the arithmetic circuit 4.

【0023】一例としてパリティが6個の場合のシンド
ロームチェック部1は、並列6段の加算器と、レジスタ
と、係数α〜α5 の乗算器により構成されている。各段
では、入力データWi(i=0〜5)に対して次のよう
な演算によりシンドロームS0〜S5が求められ、この
シンドロームS0〜S5は図1に示すシンドロームレジ
スタ2に格納される。
As an example, the syndrome check unit 1 in the case where the number of parities is six is composed of adders of six parallel stages, registers, and multipliers of coefficients α to α 5 . At each stage, the syndromes S0 to S5 are obtained by the following operation on the input data Wi (i = 0 to 5), and the syndromes S0 to S5 are stored in the syndrome register 2 shown in FIG.

【0024】[0024]

【数9】S0=ΣWi S1=Σαi Wi S2=Σα2iWi S3=Σα3iWi S4=Σα4iWi S5=Σα5iWiS0 = ΣWi S1 = Σα i Wi S2 = Σα 2i Wi S3 = Σα 3i Wi S4 = Σα 4i Wi S5 = Σα 5i Wi

【0025】このシンドロームレジスタ2から読み出さ
れたシンドロームSiと、今回のエラーの位置xiと、
演算レジスタ5に格納されているエラーの位置と値の中
間演算結果xi、eiはデコーダ9からの選択信号に基
づいて入力セレクタ3により選択され、演算回路4によ
り積和演算が行われる。以下の演算に必要なデータの選
択および条件判定による分岐等は、シンドロームレジス
タ2に格納されているシンドロームSiと演算レジスタ
5に格納されている上記D(=A+B)に基づいてPC
コントロール部6により制御される。
The syndrome Si read from the syndrome register 2, the current error position xi,
Intermediate operation results xi and ei of the error position and value stored in the operation register 5 are selected by the input selector 3 based on a selection signal from the decoder 9, and the operation circuit 4 performs a product-sum operation. The selection of data necessary for the following operation and branching based on a condition determination are performed based on the syndrome Si stored in the syndrome register 2 and the D (= A + B) stored in the operation register 5.
It is controlled by the control unit 6.

【0026】本実施例の動作を詳細に説明すると、演算
回路4により先ずシンドロームSiの値がチェックさ
れ、この値により訂正動作モードが決定される。 1.シンドロームSiの値が全て「0」の場合 この場合にはエラーが無いと判定される。この演算はS
iの値を順次加算した結果で判定され、すなわちΣSi
=0の場合にエラーフラグを「0」として終了する。 2.シンドロームSiの加算結果ΣSiが「0」でない
場合 先ず、エラーの数を1個と仮定し、このとき、
The operation of the present embodiment will be described in detail. First, the value of the syndrome Si is checked by the arithmetic circuit 4, and the correction operation mode is determined based on the value. 1. When all values of the syndrome Si are “0” In this case, it is determined that there is no error. This operation is S
j is determined by the result of sequentially adding the values of i, that is, ΣSi
If = 0, the error flag is set to "0" and the process ends. 2. When the addition result 加 算 Si of the syndrome Si is not “0” First, it is assumed that the number of errors is one.

【0027】[0027]

【数10】S0=x1 *e1 S1=x12 *e1 S2=x13 *e1 S3=x14 *e1S0 = x1 * e1 S1 = x1 2 * e1 S2 = x1 3 * e1 S3 = x1 4 * e1

【0028】となる。したがって、エラーが1個の場合
最低条件として、
## EQU1 ## Therefore, the minimum condition for one error is:

【0029】[0029]

【数11】A=S12 +S0*S2 B=S22 +S1*S3 C=S0*S3+S1*S2 として、A=B=C=0A = S1 2 + S0 * S2 B = S2 2 + S1 * S3 C = S0 * S3 + S1 * S2, A = B = C = 0

【0030】が成立する場合に、S1/S0=x1とし
て変数x1を求め、この変数x1の位置のデータ値をw
1eとしてw1e=w1+e1であるので、正しいデー
タ値w1はw1=w1e+e1となり、変数x1のデー
タ値w1eを正しい値w1に置き換えてエラーフラグ処
理し、訂正を完了する。
If S1 / S0 = x1, the variable x1 is obtained, and the data value at the position of the variable x1 is expressed as w1.
Since w1e = w1 + e1 as 1e, the correct data value w1 becomes w1 = w1e + e1, and the error flag process is performed by replacing the data value w1e of the variable x1 with the correct value w1 to complete the correction.

【0031】3.上記2においてA=B=C=0が成立
しない場合にエラー数が2個以上とする。ここで、演算
回路4の入力データはS0〜S5であり、先ず、エラー
の位置xiに、現実に存在しない値x1を代入して以下
のようにTi、Piを求める。
3. If A = B = C = 0 is not established in the above 2, the number of errors is assumed to be two or more. Here, the input data of the arithmetic circuit 4 is S0 to S5. First, a value x1 that does not actually exist is substituted for an error position xi to obtain Ti and Pi as follows.

【0032】[0032]

【数12】T0=S1+x1*S0 T1=S2+x1*S1 T2=S3+x1*S2 T3=S4+x1*S3 T4=S5+x1*S4 P1=T12 +T0*T2 P2=T22 +T1*T3 P3=T33 +T2*T4Equation 12] T0 = S1 + x1 * S0 T1 = S2 + x1 * S1 T2 = S3 + x1 * S2 T3 = S4 + x1 * S3 T4 = S5 + x1 * S4 P1 = T1 2 + T0 * T2 P2 = T2 2 + T1 * T3 P3 = T3 3 + T2 * T4

【0033】次に、x1を1からnまで順次変化させた
とき、 3−1.P1=P2=P3=0が成り立つ場合にはエラ
ー数は2個と判定することができる。このとき
Next, when x1 is sequentially changed from 1 to n, 3-1. When P1 = P2 = P3 = 0 holds, it can be determined that the number of errors is two. At this time

【0034】[0034]

【数13】A=T1/T0 B=T3/T2A = T1 / T0 B = T3 / T2

【0035】として、A+B=Dが「0」となるxiの
値を順次演算レジスタ5に記憶させる。なお、この演算
では、処理時間を短縮するために符号語の内、パリティ
部分を省略することも可能である。以上の演算により、
エラー数が2個の場合には変数xiの値がx1、x2と
なり、Dの値が2回「0」となるので、x1とx2の値
が求められる。そして、エラーの値e1、e2は
The value of xi at which A + B = D becomes "0" is sequentially stored in the arithmetic register 5. In this operation, it is also possible to omit the parity part from the codeword in order to reduce the processing time. By the above operation,
When the number of errors is two, the value of the variable xi becomes x1, x2, and the value of D becomes "0" twice, so that the values of x1 and x2 are obtained. The error values e1 and e2 are

【0036】[0036]

【数14】e2=T0/(x1+x2) e1=S0+e2E2 = T0 / (x1 + x2) e1 = S0 + e2

【0037】により求められ、また、エラーパターンが
求められるので、値w1、w2をそれぞれw1+e1、
w2+e2としてエラーフラグ処理して訂正を終了す
る。 3−2.P1,P2,P3が同時に「0」にならない場
合 本実施例では、3ワードエラーを訂正するために、前述
のP1、P2、P3を与える各式(数4)からエラー位
置x1を消去した下記の式を用いる。
The values w1 and w2 are respectively calculated as w1 + e1,
The error flag processing is performed as w2 + e2, and the correction is completed. 3-2. In the case where P1, P2, and P3 do not simultaneously become "0" In this embodiment, in order to correct a three-word error, the error position x1 is deleted from each of the equations (Equation 4) that gives P1, P2, and P3 described above. Is used.

【0038】[0038]

【数15】A=P2/P1 B=P3/P2A = P2 / P1 B = P3 / P2

【0039】として、x1が正しければA=Bが成り立
つので、A+B=D=0となるxiの値を順次レジスタ
5に記憶させる。ここで、エラー数が3個の場合にはD
の値が3回「0」となるので、エラー位置x1、x2、
x3が求められ、次にこのエラー位置x1、x2、x3
からエラーの値e1、e2、e3を求める。先ず、
If x1 is correct, then A = B holds, so the value of xi that satisfies A + B = D = 0 is sequentially stored in the register 5. Here, when the number of errors is 3, D
Becomes "0" three times, so that the error positions x1, x2,
x3 is determined, and then these error locations x1, x2, x3
To obtain error values e1, e2 and e3. First,

【0040】[0040]

【数16】E=x2*T0+T1 を計算すると、 E=(x1+x3)*(x2+x3)*e3 したがって、 E/(x1+x3)*(x2+x3)=e3Calculating E = x2 * T0 + T1, E = (x1 + x3) * (x2 + x3) * e3 Therefore, E / (x1 + x3) * (x2 + x3) = e3

【0041】を計算してe3を求め、このe3を用いて
以下のようにシンドロームを修正する。
Is calculated to obtain e3, and using this e3, the syndrome is corrected as follows.

【0042】[0042]

【数17】 S0m=S0+ e3= e1+ e2 S1m=S1+x3 *e3=x1 *e1+x2 *e2 S2m=S2+x32 *e3=x12 *e1+x22 *e2 次に、F=S1m+x1*S0mを計算して F=(x1+x2)*e2 ∴F/(x1+x2)=e2Equation 17] S0m = S0 + e3 = e1 + e2 S1m = S1 + x3 * e3 = x1 * e1 + x2 * e2 S2m = S2 + x3 2 * e3 = x1 2 * e1 + x2 2 * e2 Subsequently, by calculating the F = S1m + x1 * S0m F = (X1 + x2) * e2∴F / (x1 + x2) = e2

【0043】を求め、最後にS0m+e2=e1を求め
ることにより全てのエラーの位置x1〜x3および値e
1〜e3が求められる。 3−3. D=0となるxiが無い場合 この場合にはエラー数は4個以上と考えられるのでエラ
ーフラグ処理のみを行い、訂正を行わない。
By calculating S0m + e2 = e1, finally, all the error positions x1 to x3 and the value e are obtained.
1 to e3 are required. 3-3. When there is no xi where D = 0 In this case, since the number of errors is considered to be four or more, only the error flag process is performed and no correction is performed.

【0044】次に、このようなエラー訂正処理を用いて
スクランブルをかける処理を説明する。前述のように通
常のエラー訂正では、演算回路4によりシンドロームS
iの値と、数11に示す信号A、B、Cと数12に示す
信号P1、P2、P3がチェックされ、この値に基づい
て以下のように訂正動作モードが決定される。 1.シンドロームSiの値が全て「0」の場合・・・エ
ラー無し 2.シンドロームSiの加算結果ΣSiが「0」でない
場合、 (1)エラーの数が1個・・・・A=B=C=0が成立
する。 (2)エラーの数が2個・・・・A=B=C=0が成立
せず、P1=P2=P3=0が成立する。 (3)エラーの数が3個以上・・A=B=C=0が成立
せず、P1=P2=P3=0が成立しない。
Next, processing for scrambling using such error correction processing will be described. As described above, in the normal error correction, the syndrome S
The value of i, the signals A, B, and C shown in Expression 11 and the signals P1, P2, and P3 shown in Expression 12 are checked, and the correction operation mode is determined based on this value as follows. 1. 1. When all values of syndrome Si are “0”: no error If the addition result ΣSi of the syndrome Si is not “0”, (1) the number of errors is one: A = B = C = 0 holds. (2) The number of errors is two: A = B = C = 0 does not hold, and P1 = P2 = P3 = 0 holds. (3) The number of errors is 3 or more: A = B = C = 0 is not established, and P1 = P2 = P3 = 0 is not established.

【0045】したがって、上記の各エラー訂正処理モー
ドではエラーを正常に訂正することができるので、各エ
ラー訂正処理モードを人為的に変更することによりデー
タストリーム中にスクランブルをかけて再生信号の明瞭
度(リーダビリティ)を変化させることができる。
Therefore, in each of the above error correction processing modes, the error can be corrected normally. Therefore, by scrambling the data stream by artificially changing each error correction processing mode, the clarity of the reproduced signal is improved. (Readability) can be changed.

【0046】図3を参照してスクランブル回路の一例に
ついて説明する。演算回路4の入力端子17Aには入力
セレクタ3からシンドロームSiが供給され、このシン
ドロームSiは反転バッファ18A又は非反転バッファ
18Bを通過して出力端子19に出力される。反転バッ
ファ18Aは制御端子17Bに印加される制御信号Zに
より制御され、非反転バッファ18Bは制御信号Zがイ
ンバータ18Cにより反転された制御信号Zにより制御
される。
An example of the scramble circuit will be described with reference to FIG. The syndrome Si is supplied to the input terminal 17A of the arithmetic circuit 4 from the input selector 3, and the syndrome Si is output to the output terminal 19 through the inversion buffer 18A or the non-inversion buffer 18B. The inverting buffer 18A is controlled by a control signal Z applied to a control terminal 17B, and the non-inverting buffer 18B is controlled by a control signal Z obtained by inverting the control signal Z by an inverter 18C.

【0047】したがって、通常のエラー訂正時には図
に示すPCコントロール部6がローレベルの制御信号Z
を制御端子17Bに印加すると、反転バッファ18Aが
オフ、非反転バッファ18Bがオンになるので入力シン
ドロームSiが非反転バッファ18Bをそのまま通過す
る。
[0047] Thus, in the normal error correction Figure 1
The PC control unit 6 shown in FIG.
Is applied to the control terminal 17B , the inversion buffer 18A turns off and the non-inversion buffer 18B turns on, so that the input syndrome Si passes through the non-inversion buffer 18B as it is.

【0048】他方、ファンクションキー4からの制御信
号Kによりスクランブルモードが設定されている場合に
PCコントロール部6がハイレベルのスクランブルモー
ド信号Zを設定すると反転バッファ8Aがオン、非反
転バッファ8Bがオフになるので入力シンドロームS
iが反転バッファ8Aにより反転される。この結果、
スクランブルモードでは上記条件1が条件2に変更さ
れ、正しいデータが誤ったデータにエラー訂正されて部
分的にスクランブルされる。
[0048] On the other hand, the control signal K by inverting buffer 1 8A is on a PC control unit 6 sets the scramble mode signal Z of a high level when the scramble mode is set from the function key 4, a non-inverting buffer 1 8B Turns off, so the input syndrome S
i is inverted by inverting buffer 1 8A. As a result,
In the scramble mode, the above-mentioned condition 1 is changed to condition 2, and correct data is error-corrected to incorrect data and partially scrambled.

【0049】図4はスクランブル回路の他の例を示し、
この例では数11に示す信号A、B、Cを変更すること
によりスクランブルをかけるように構成されている。図
4に示す回路では図3に示す回路が信号A、B、C毎に
3個設けられており、各回路はそれぞれPCコントロー
部6からの制御信号Z A 、Z B 、Z C により制御され
る。例えば信号Aのみを変更し、信号B、Cを変更しな
いことにより条件1を条件2(1)、2(2)又は2
(3)に変更することができ、したがって、スクランブ
ルをかけることができる。同様に、数12に示す信号P
1、P2、P3を変更することにより条件2(1)、2
(2)又は2(3)を変更することができるので、スク
ランブルをかけることができる。
FIG. 4 shows another example of the scramble circuit.
In this example, scrambling is performed by changing the signals A, B, and C shown in Expression 11. In the circuit shown in FIG. 4, three circuits shown in FIG. 3 are provided for each of the signals A, B, and C, and each circuit is controlled by control signals Z A , Z B , and Z C from the PC control unit 6, respectively. You. For example, the condition 1 is changed to the condition 2 (1), 2 (2) or 2 by changing only the signal A and not changing the signals B and C.
It can be changed to (3) and therefore scrambled. Similarly, the signal P shown in Expression 12
By changing P1, P2 and P3, condition 2 (1), 2
Since (2) or 2 (3) can be changed, scrambling can be performed.

【0050】次に、図5及び図6を参照してそれぞれ2
重リードソロモン符号のC1、C2系列をエラー訂正す
る処理について説明する。まず、図5を参照してC1訂
正処理を説明する。C1訂正処理がスタートすると(ス
テップ101)、先ず、次式(数18)の上段に示す式
〔C1〕によりシンドロームS0〜S3をチェックし
(ステップ102)、次いで、次式(数19)に示すシ
ンドロームS0〜S3を指数に変換(α→i)する(ス
テップ103)。
Next, referring to FIG. 5 and FIG.
The process of correcting the C1 and C2 sequences of the double Reed-Solomon code will be described. First, the C1 correction processing will be described with reference to FIG. When the C1 correction process starts (step 101), first, the syndromes S0 to S3 are checked by the expression [C1] shown in the upper part of the following expression (expression 18) (step 102), and then the expression is expressed by the following expression (expression 19). The syndromes S0 to S3 are converted into exponents (α → i) (step 103).

【0051】[0051]

【数18】 〔C1〕 S0= W0+ W1+ W2+・・・・・+W23 S1=α23W0+α22W1+α21W2+・・・・・+W23 S2=α46W0+α44W1+α42W2+・・・・・+W23 S3=α69W0+α66W1+α63W2+・・・・・+W23 〔C2〕 S0= W0+ W1+ W2+・・・・・+W31 S1=α31 W0+α30 W1+α29 W2+・・・・・+W31 S2=α62 W0+α60 W1+α58 W2+・・・・・+W31 S3=α93 W0+α90 W1+α87 W2+・・・・・+W31 S4=α124 W0+α120 W1+α116 W2+・・・・・+W31 S5=α155 W0+α150 W1+α145 W2+・・・・・+W31[C1] S0 = W0 + W1 + W2 +... + W23 S1 = α 23 W0 + α 22 W1 + α 21 W2 +... + W23 S2 = α 46 W0 + α 44 W1 + α 42 W2 +... + W23 S3 = α 69 W0 + α 66 W1 + α 63 W2 + ····· + W23 [C2] S0 = W0 + W1 + W2 + ····· + W31 S1 = α 31 W0 + α 30 W1 + α 29 W2 + ····· + W31 S2 = α 62 W0 + α 60 W1 + α 58 + W31 S3 = α 93 W0 + α 90 W1 + α 87 W2 +... + W31 S4 = α 124 W0 + α 120 W1 + α 116 W2 +... + W31 S5 = α 155 W0 + α 150 W1 + α 145 W2 +.・ + W31

【0052】[0052]

【数19】C1:S0 S1 S2 S3 C2:S0 S1 S2 S3 S4 S5C1: S0 S1 S2 S3 C2: S0 S1 S2 S3 S4 S5

【0053】次いで、シンドロームS0〜S3が全て
「0」か否かを判別し(ステップ104)、YESの場
合にはC1エラーフラグF0、F1、F2に共に「0」
を書き込み(ステップ105)、次いでブロックアドレ
スを1つインクリメントし(ステップ106)、全ブロ
ックが終了するまで上記処理を繰り返す(ステップ10
7)。
Next, it is determined whether or not all the syndromes S0 to S3 are "0" (step 104). If YES, the C1 error flags F0, F1, and F2 are both set to "0".
Is written (step 105), the block address is incremented by one (step 106), and the above processing is repeated until all blocks are completed (step 10).
7).

【0054】他方、ステップ104においてシンドロー
ムS0〜S3が全て「0」でない場合には、先ず、次式
(数20)に基づいて1ワードエラーを検出するための
変形シンドロームσ1〜σ3を演算し、次いで、その次
の式(数21)により1ワードエラーか否かを判別する
(ステップ109)。
On the other hand, if all of the syndromes S0 to S3 are not "0" at step 104, first, modified syndromes σ1 to σ3 for detecting a one-word error are calculated based on the following equation (Equation 20). Next, it is determined whether or not there is a one-word error according to the following equation (Equation 21) (step 109).

【0055】[0055]

【数20】σ1=S1 +S0*S2 σ2=S2 +S1*S3 σ3=S1*S2+S0*S3Σ1 = S1 + S0 * S2 σ2 = S2 + S1 * S3 σ3 = S1 * S2 + S0 * S3

【0056】[0056]

【数21】 σ1+σ2+σ3=0 1ワードエラー σ1+σ2+σ3≠0 1ワードエラー以上Σ1 + σ2 + σ3 = 0 One word error σ1 + σ2 + σ3 ≠ 0 One word error or more

【0057】そして、1ワードエラーの場合には次式
(数22)に基づいて1ワード訂正を行って訂正データ
Wiを書き込み(ステップ110)、次いで表1にも基
づいてC1エラーフラグF0に「1」を書き込む(ステ
ップ111)。次いで、ブロックアドレスを1つインク
リメントし(ステップ112)、ステップ107に進
む。
In the case of a one-word error, one-word correction is performed based on the following equation (Equation 22) to write corrected data Wi (step 110). Then, based on Table 1, "1" is set in the C1 error flag F0. "1" is written (step 111). Next, the block address is incremented by one (step 112), and the process proceeds to step 107.

【0058】[0058]

【数22】〔1ワード訂正〕 エラーの位置: Xi=S1/S0 エラーの値 : Ei=S0 訂正 : Wi=S0+Di(Di…エラーデー
タ)
(1 word correction) Error location: Xi = S1 / S0 Error value: Ei = S0 Correction: Wi = S0 + Di (Di: error data)

【0059】[0059]

【表1】 [Table 1]

【0060】他方、ステップ109において1ワードエ
ラーでない場合には、次式(数23)により2ワードエ
ラーを検出するためのX1、X2、ψ1〜ψ3を演算
し、次いで、次式(数24)により2ワードエラーか否
かを判別する(ステップ114)。
On the other hand, if it is not a one-word error in step 109, X1, X2, ψ1 to ψ3 for detecting a two-word error are calculated by the following equation (Equation 23), and then the following equation (Equation 24) is obtained. It is determined whether or not there is a two-word error (step 114).

【0061】[0061]

【数23】 (Equation 23)

【0062】[0062]

【数24】 ψ1+ψ2+ψ3=0 2ワードエラー ψ1+ψ2+ψ3≠0 2ワードエラー以上241 + ψ2 + ψ3 = 0 Two-word error ψ1 + ψ2 + ψ3 ≠ 0 Two-word error or more

【0063】そして、2ワードエラーの場合には次式
(数25)に基づいて2ワード訂正を行って(ステップ
115)その次の式(数26)により訂正データWi ,
Wj を書き込み(ステップ116)、次いで表1に示す
ようにC1エラーフラグF0、F1に「1」を書き込む
(ステップ117)。次いで、ブロックアドレスを1つ
インクリメントし(ステップ118)、ステップ107
に進む。
In the case of a two-word error, two-word correction is performed based on the following equation (Equation 25) (step 115), and the corrected data Wi,
Wj is written (step 116), and then "1" is written to the C1 error flags F0 and F1 as shown in Table 1 (step 117). Next, the block address is incremented by one (step 118), and step 107 is performed.
Proceed to.

【0064】[0064]

【数25】 (Equation 25)

【0065】[0065]

【数26】〔Wi ,Wj 訂正〕 S0=Ei+Ej S1=Xi*Ei+Xj*Ejより Xj*S0+S1=(Xi+Xj)*Ei Ei=(Xj*S0+S1)/C1 Ej=S0+Ei Wi=Ei+Di Wj=Ej+Dj[Equation 26] [Correction of Wi and Wj] S0 = Ei + Ej S1 = Xi * Ei + Xj * Ej Xj * S0 + S1 = (Xi + Xj) * Ei Ei = (Xj * S0 + S1) / C1 Ej = S0 + Ei Wi = Ei + DiWj

【0066】また、ステップ114において2ワードエ
ラーでない場合には表1に示すようにC1エラーフラグ
F0、F1、F2に共に「1」を書き込み(ステップ1
19)、次いで、ブロックアドレスを1つインクリメン
トし(ステップ120)、ステップ107に進む。
If a two-word error is not detected in step 114, "1" is written into each of the C1 error flags F0, F1, and F2 as shown in Table 1 (step 1).
19) Then, the block address is incremented by one (step 120), and the process proceeds to step 107.

【0067】次に、図6を参照してC2訂正処理につい
て説明する。C2訂正処理はC1訂正処理が終了した後
スタートし(ステップ121)、先ず、上式(数18)
の下段〔C2〕によりシンドロームS0〜S5をチェッ
クし(ステップ122)、次いで、上式(数19)の下
段に示すシンドロームS0〜S5を指数に変換(α→
i)する(ステップ123)。次いで、C1エラーフラ
グを読み出して次式(数27)によりエラーフラグの数
N(E)とエラー位置Xiを検出する(ステップ12
4)。
Next, the C2 correction processing will be described with reference to FIG. The C2 correction processing is started after the C1 correction processing is completed (step 121), and first, the above equation (Equation 18) is obtained.
The syndromes S0 to S5 are checked by the lower stage [C2] (step 122), and then the syndromes S0 to S5 shown in the lower stage of the above equation (Equation 19) are converted into exponents (α →
i) is performed (step 123). Next, the C1 error flag is read, and the number N (E) of error flags and the error position Xi are detected by the following equation (Equation 27) (step 12).
4).

【0068】[0068]

【数27】〔C1 Flag Calculate〕 Read :C1 Flag Location Count :C1 Flag Number Resister:C1 Flag Location X1,X2,X3,
X4,X5,X6
[C1 Flag Calculate] Read: C1 Flag Location Count: C1 Flag Number Resister: C1 Flag Location X1, X2, X3
X4, X5, X6

【0069】そして、シンドロームS0〜S5が全て
「0」か否かを判別することによりエラー数が「0」か
否かを判別し(ステップ126)、「0」の場合にはC
2エラーフラグF0、F1に「0」を書き込み(ステッ
プ127)、次いでブロックアドレスを1つインクリメ
ントし(ステップ128)、全ブロックが終了しない場
合にはステップ122に戻り、終了した場合にはこのC
2訂正処理を終了する(ステップ129)。
Then, it is determined whether or not the number of errors is "0" by determining whether or not all of the syndromes S0 to S5 are "0" (step 126).
2 "0" is written to the error flags F0 and F1 (step 127), and then the block address is incremented by one (step 128). If all the blocks have not been completed, the process returns to step 122.
The two correction processing ends (step 129).

【0070】他方、ステップ126においてシンドロー
ムS0〜S5が全て「0」でない場合には上式(数2
0)により1ワードエラーか否かを判別する(ステップ
132)。そして、1ワードエラーの場合には上式(数
21)に基づいて1ワード訂正を行って訂正データWi
を書き込み(ステップ133)、次いでC2エラーフラ
グF0、F1に「0」を書き込む(ステップ134)。
次いで、ブロックアドレスを1つインクリメントし(ス
テップ135)、ステップ129に進む。
On the other hand, if all the syndromes S0 to S5 are not “0” in step 126, the above equation (Equation 2) is obtained.
0) to determine whether there is a one-word error (step 132). Then, in the case of a one-word error, one-word correction is performed based on the above equation (Equation 21) to correct the corrected data Wi.
Is written (step 133), and then "0" is written to the C2 error flags F0 and F1 (step 134).
Next, the block address is incremented by one (step 135), and the process proceeds to step 129.

【0071】そして、本発明ではステップ132におい
て1ワードエラーでない場合には、フレーム単位のエラ
ー数ERRが設定値Npを超えているか否かを判別し
(ステップ136)、超えない場合にはステップ136
以下に進み、超える場合にはイレージャルーチンに進
む。
[0071] When the present invention is not a one word error at step 132, step if the number of errors ERR for each frame, it is determined whether or not it exceeds the set value N p (step 136), it does not exceed 136
The process proceeds to the following, and if exceeded, proceeds to the erasure routine.

【0072】ステップ137では上式(数24)により
2ワードエラーか否かを判別し、2ワードエラーの場合
には上式(数25)に基づいて2ワード訂正を行って
(ステップ138)上式(数26)により訂正データW
i、Wjを書き込み(ステップ139)、次いでC2エラ
ーフラグF0、F1に「0」を書き込む(ステップ14
0)。次いで、ブロックアドレスを1つインクリメント
し(ステップ141)、ステップ129に進む。また、
ステップ137において2ワードエラーでない場合には
イレージャルーチンに進む。なお、イレージャルーチン
ではエラーフラグの数Nに応じて次のようにシンドロー
ムを修正する。
In step 137, whether or not there is a two-word error is determined by the above equation (Equation 24), and in the case of a two-word error, two words are corrected based on the above equation (Equation 25) (Step 138). The corrected data W is calculated by the equation (Equation 26).
i and Wj are written (step 139), and then "0" is written to the C2 error flags F0 and F1 (step 14).
0). Next, the block address is incremented by one (step 141), and the process proceeds to step 129. Also,
If there is no two-word error in step 137, the process proceeds to the erasure routine. In the erasure routine, the syndrome is corrected as follows according to the number N of the error flags.

【0073】[0073]

【数28】〔6Erasure,Y6〕 T5=S5+E1*S4+E2*S3+E3*S2 +E4*S1+E5*S0 Y6=T5/I6 〔シンドローム修正〕 S0+Y6 →S0 S1+Y6*X6 →S1 S2+Y6*X62 →S2 S3+Y6*X63 →S3 S4+Y6*X64 →S4Equation 28] [6Erasure, Y6] T5 = S5 + E1 * S4 + E2 * S3 + E3 * S2 + E4 * S1 + E5 * S0 Y6 = T5 / I6 [syndrome correcting] S0 + Y6 → S0 S1 + Y6 * X6 → S1 S2 + Y6 * X6 2 → S2 S3 + Y6 * X6 3 → S3 S4 + Y6 * X6 4 → S4

【0074】[0074]

【数29】〔5Erasure,Y5〕 T4=S4+D1*S3+D2*S2+D1*S1+D
4*S0 Y5=T4/I5 〔シンドローム修正〕 S0+Y5 →S0 S1+Y5*X5 →S1 S2+Y5*X52 →S2 S3+Y5*X53 →S3
[5Erasure, Y5] T4 = S4 + D1 * S3 + D2 * S2 + D1 * S1 + D
4 * S0 Y5 = T4 / I5 [Syndrome correction] S0 + Y5 → S0 S1 + Y5 * X5 → S1 S2 + Y5 * X5 2 → S2 S3 + Y5 * X5 3 → S3

【0075】[0075]

【数30】〔4Erasure,Y4〕 T3=S3+C1*S2+C2*S1+C3*S0 Y4=T3/I4 〔シンドローム修正〕 S0+Y4 →S0 S1+Y4*X4 →S1 S2+Y4*X42 →S2[4Erasure, Y4] T3 = S3 + C1 * S2 + C2 * S1 + C3 * S0 Y4 = T3 / I4 [Correction of syndrome] S0 + Y4 → S0 S1 + Y4 * X4 → S1 S2 + Y4 * X4 2 → S2

【0076】[0076]

【数31】〔3Erasure,Y3〕 T2=S2+B1*S1+B2*S0 Y3=T2/I3 〔シンドローム修正〕 S0+Y3 →S0 S1+Y3*X3 →S1[3Erasure, Y3] T2 = S2 + B1 * S1 + B2 * S0 Y3 = T2 / I3 [Correction of syndrome] S0 + Y3 → S0 S1 + Y3 * X3 → S1

【0077】[0077]

【数32】〔2Erasure,Y2〕 〔1Erasure,Y1〕 T1=S1+X1*S0 Y2=T1/I2 Y1=S0+Y2[2Erasure, Y2] [1Erasure, Y1] T1 = S1 + X1 * S0 Y2 = T1 / I2 Y1 = S0 + Y2

【0078】次に、スクランブル再生装置の他の実施例
について説明する。ところで、前述の条件2の2(1)
においてエラーの数が1個の場合に書換え可能なデータ
数はCDでは24個中1個、DCCでは32個中1個、
2(2)においてエラーの数が2個の場合に書換え可能
なデータ数はCDでは24個中2個、DCCでは32個
中2個、2(3)においてエラーの数が3個の場合に書
換え可能なデータ数はCDでは24個中3個、DCCで
は32個中3個であり、適度な数である。
Next, another embodiment of the scramble reproducing apparatus will be described. By the way, 2 (1) of the above condition 2
, The number of rewritable data when the number of errors is 1 is 1 out of 24 for CD, 1 out of 32 for DCC,
When the number of errors is 2 in 2 (2), the number of rewritable data is 2 out of 24 for CD, 2 out of 32 for DCC, and 3 for 2 (3). The number of rewritable data is 3/24 for CD and 3/32 for DCC, which is an appropriate number.

【0079】そこで、本実施例では、図3に示すように
1個のスクランブル回路を用い、上記周期でコードP、
Qを反転してエラーを故意に発生させることにより再生
時の明瞭度を変更してスクランブルすることができる。
なお、上記周期でコードP、Qを反転してエラーを故意
に発生させるとノイズが発生するので、以下のような処
理によりノイズの発生を防止することができる。
Therefore, in this embodiment, one scramble circuit is used as shown in FIG.
By inverting the Q and intentionally causing an error, the clarity at the time of reproduction can be changed and scrambled.
If an error is intentionally generated by inverting the codes P and Q in the above cycle, noise is generated. Therefore, the following processing can prevent generation of noise.

【0080】図7及び図8はそれぞれ2重リードソロモ
ン符号のC1、C2系列をエラー訂正する際の無音処理
を示し、前述した図5及び図6に対応している。C1訂
正では、1ワードエラーの場合に図5と同様に1ワード
訂正を行うが(ステップS110)、本実施例では元の
データWSiが「0」の場合には訂正データWiを書き
込まず(ステップS111A→S111C)、元のデー
タWSiが「0」でない場合には訂正データWiを書き
込む(ステップS111A→S111B)。ステップS
111CではエラーフラグF0には「1」を、F1、F
2には「0」を書き込む。
FIGS. 7 and 8 show silence processing when error correcting the C1 and C2 sequences of the double Reed-Solomon code, respectively, and correspond to FIGS. 5 and 6 described above. In the C1 correction, in the case of a one-word error, one-word correction is performed in the same manner as in FIG. 5 (step S110). In this embodiment, when the original data WSi is “0”, the corrected data Wi is not written (step S110). (S111A → S111C), and if the original data WSi is not “0”, the correction data Wi is written (steps S111A → S111B). Step S
In 111C, "1" is set in the error flag F0, and F1 and F
“0” is written in 2.

【0081】また、2ワードエラーの場合には2ワード
訂正を行うが(ステップ115)、元のデータWSi又
はWSjが「0」の場合には訂正データWi、Wjを書
き込まず(ステップS116A→S117)、元のデー
タWSi又はWSjが「0」でない場合には訂正データ
Wi、Wjを書き込む(ステップS116A→S116
B)
In the case of a two-word error, two-word correction is performed (step 115). However, when the original data WSi or WSj is "0", the corrected data Wi and Wj are not written (steps S116A → S117). If the original data WSi or WSj is not "0", the correction data Wi and Wj are written (steps S116A → S116).
B)

【0082】図8に示すC2訂正においても同様に、元
のデータWSi又はWSjが「0」でない場合にのみ訂
正データWi、Wjを書き込む(ステップS134A〜
S134C、S139A、139B)。このように元の
データWSi又はWSjが「0」の場合に訂正データW
i、Wjを書き込まないことにより、無音データを無音
で出力することができるので、ノイズの発生を防止する
ことができる。
Similarly, in the C2 correction shown in FIG. 8, the correction data Wi and Wj are written only when the original data WSi or WSj is not "0" (steps S134A to S134A).
S134C, S139A, 139B). Thus, when the original data WSi or WSj is "0", the corrected data W
By not writing i and Wj, silence data can be output silently, so that generation of noise can be prevented.

【0083】また、この実施例によれば、図4に示すよ
うに3個のスクランブル回路を用い、シンドロームSi
の周期に同期して例えば信号A(又はP1)はシンドロ
ームSiの2分の1の周期で、信号B(又はP2)はシ
ンドロームSiの4分の1の周期で、信号C(又はP
3)はシンドロームSiの8分の1の周期でを変更する
ことによりスクランブルをかけることができる。
Further, according to this embodiment, as shown in FIG.
In synchronism with the cycle of the signal A (or P1), for example, the signal B (or P2) has a cycle of 1/2 of the syndrome Si, and the signal B (or P2) has a cycle of 1/2 of the syndrome Si.
In 3), scrambling can be performed by changing the period in the eighth cycle of the syndrome Si.

【0084】この場合にはシンドロームSiと信号A
(又はP1)、B(又はP2)、C(又はP3)に関し
て条件1が条件2(1)、2(2)、2(3)に変更さ
れるので、部分的に書き換えられるデータの数が変化
し、したがって、再生信号の明瞭度を変更することがで
きる。また。この場合にも同様に、元のデータが「0」
の場合に訂正データWi、Wjを書き込まないことによ
り、無音時には無音で出力することができるのでノイズ
の発生を防止することができる。
In this case, the syndrome Si and the signal A
(Or P1), B (or P2), and C (or P3) are changed from condition 1 to conditions 2 (1), 2 (2), and 2 (3), so that the number of partially rewritten data is And thus the clarity of the reproduced signal can be changed. Also. Similarly, in this case, the original data is “0”.
In this case, by not writing the correction data Wi and Wj, it is possible to output silently when there is no sound, so that generation of noise can be prevented.

【0085】[0085]

【発明の効果】以上説明したように本発明によれば、再
生時にシンドロームを変更することによりスクランブル
がかけられるので、例えばシンドロームや変形シンドロ
ームを反転したり、反転周期を可変にすることにより特
別な回路を設けることなく再生時の明瞭度を自由に変更
することができる。
As described above, according to the present invention, scrambling can be performed by changing the syndrome at the time of reproduction. For example, by reversing the syndrome or the modified syndrome, or making the reversal cycle variable, The clarity at the time of reproduction can be freely changed without providing a circuit.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係るスクランブル再生装置の一実施例
の要部であるエラー訂正復号部を示すブロック図であ
る。
FIG. 1 is a block diagram showing an error correction decoding unit which is a main part of an embodiment of a scramble reproducing apparatus according to the present invention.

【図2】図1のエラー訂正復号部を有するスクランブル
再生装置の概略を示すブロック図である。
FIG. 2 is a block diagram schematically illustrating a scramble reproducing apparatus having the error correction decoding unit of FIG. 1;

【図3】図1の演算回路内のスクランブル回路の一例を
示すブロック図である。
FIG. 3 is a block diagram illustrating an example of a scramble circuit in the arithmetic circuit in FIG. 1;

【図4】図1の演算回路内のスクランブル回路の他の例
を示すブロック図である。
FIG. 4 is a block diagram showing another example of the scramble circuit in the arithmetic circuit of FIG. 1;

【図5】図1のエラー訂正復号部が2重リードソロモン
符号のC1系列をエラー訂正する動作を説明するための
フローチャートである。
FIG. 5 is a flowchart for explaining an operation in which the error correction decoding unit in FIG. 1 performs error correction on a C1 sequence of a double Reed-Solomon code.

【図6】図1のエラー訂正復号部が2重リードソロモン
符号のC2系列をエラー訂正する動作を説明するための
フローチャートである。
FIG. 6 is a flowchart illustrating an operation in which the error correction decoding unit in FIG. 1 performs error correction on a C2 sequence of a double Reed-Solomon code.

【図7】本発明の他の実施例において2重リードソロモ
ン符号のC1系列をエラー訂正する際の無音処理を説明
するためのフローチャートである。
FIG. 7 is a flowchart for explaining silence processing when performing error correction on a C1 sequence of a double Reed-Solomon code in another embodiment of the present invention.

【図8】本発明の他の実施例において2重リードソロモ
ン符号のC2系列をエラー訂正する際の無音処理を説明
するためのフローチャートである。
FIG. 8 is a flowchart for explaining silence processing when performing error correction on a C2 sequence of a double Reed-Solomon code in another embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 シンドロームチェック部 2 シンドロームレジスタ 3 入力セレクタ 4 演算回路(PCコントロール部6及びファンクショ
ンキー14と共にスクランブル手段を構成する) 5 演算レジスタ 6 PC(プログラムカウンタ)コントロール部 7 プログラムカウンタ(PC) 8 ROM 9,12 デコーダ 13 エラー訂正復号部(復号手段) 14,40 ファンクションキー 18A 非反転バッファ 18B 反転バッファ 18C インバータ 20 エンコーダ 30 エラー訂正符号化部
DESCRIPTION OF SYMBOLS 1 Syndrome check part 2 Syndrome register 3 Input selector 4 Arithmetic circuit (comprising a scrambler with the PC control part 6 and the function key 14) 5 Arithmetic register 6 PC (program counter) control part 7 Program counter (PC) 8 ROM 9, 12 Decoder 13 Error correction decoding unit (decoding means) 14, 40 Function key 18A Non-inverting buffer 18B Inverting buffer 18C Inverter 20 Encoder 30 Error correction encoding unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G11B 20/18,20/10 H03M 13/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G11B 20 / 18,20 / 10 H03M 13/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 リードソロモン符号でエラー訂正符号化
されたデータの再生データのシンドロームを算出するシ
ンドローム算出手段と、 スクランブルモードと非スクランブルモードを設定する
手段と、 前記スクランブルモードのとき 正常にエラー訂正復号で
きないように前記シンドロームを変更して出力し、前記
非スクランブルモードのとき前記シンドロームを変更し
ないで出力するスクランブル手段と 前記スクランブル手段の出力に基づいてエラー訂正を行
う復号手段と、 前記スクランブルモードでの再生と前記非スクランブル
モードでの再生の時間的割合を所定の比率で設定する制
御手段とを、 有するスクランブル再生装置。
1. A system for calculating a syndrome of reproduced data of data that has been error-corrected by Reed-Solomon code.
To set a Ndoromu calculating means, the scramble mode and non-scrambled mode
And means, by changing the syndrome so that it can not be error correction decoding properly when the scramble mode outputs, wherein
Change the syndrome in non-scramble mode
And scrambling means for outputting a no, the row error correction based on the output of the scramble means
Decoding means, reproduction in the scramble mode and non-scramble
System that sets the time ratio of playback in mode at a predetermined ratio
And a control unit .
JP28447293A 1993-10-19 1993-10-19 Scramble playback device Expired - Fee Related JP3321937B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28447293A JP3321937B2 (en) 1993-10-19 1993-10-19 Scramble playback device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28447293A JP3321937B2 (en) 1993-10-19 1993-10-19 Scramble playback device

Publications (2)

Publication Number Publication Date
JPH07121998A JPH07121998A (en) 1995-05-12
JP3321937B2 true JP3321937B2 (en) 2002-09-09

Family

ID=17678972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28447293A Expired - Fee Related JP3321937B2 (en) 1993-10-19 1993-10-19 Scramble playback device

Country Status (1)

Country Link
JP (1) JP3321937B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005516326A (en) * 2002-01-22 2005-06-02 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Record carrier

Also Published As

Publication number Publication date
JPH07121998A (en) 1995-05-12

Similar Documents

Publication Publication Date Title
US6003151A (en) Error correction and detection system for mass storage controller
JPH0267825A (en) Error correcting circuit
US6725416B2 (en) Forward error correction apparatus and methods
US7607074B2 (en) Error detecting code addition circuit, error detection circuit and method, and disc apparatus
US8102996B2 (en) Scrambler, descrambler and method, and disc apparatus
EP0105499A2 (en) Method capable of simultaneously decoding two reproduced sequences
JPH0653842A (en) Method and circuit for decoding of rs code data signal
KR100213254B1 (en) Error correction method and apparatus
JPS6356022A (en) Digital recording and reproducing device
JP3286205B2 (en) Data transmission system, error correction device, error correction method, and DVD playback device
JP3283122B2 (en) Code correction method and apparatus
JPH11283344A (en) Error correcting coding method utilizing shuffling
JP3321937B2 (en) Scramble playback device
JP2004080762A (en) Method and equipment performing cross interleave reed-solomon code correction
JP4135497B2 (en) Data reproduction method and data reproduction apparatus
JPH02182034A (en) Method of detecting and compensating error in data word and circuit device
JPH07121989A (en) Scramble recorder/scramble reproducer
JP3252515B2 (en) Error correction device
JPH02131625A (en) Error correction device
JP2605269B2 (en) Error correction method
US6446233B1 (en) Forward error correction apparatus and methods
KR100200810B1 (en) Error correction encoding method and apparatus
JPS6187279A (en) Decoding circuit
KR200151025Y1 (en) Device for recording and reproducing digital image
JP2553571B2 (en) Galois field arithmetic unit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020528

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090628

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090628

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100628

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110628

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120628

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120628

Year of fee payment: 10

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120628

Year of fee payment: 10

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120628

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130628

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees