[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JPH0963208A - Error correction device - Google Patents

Error correction device

Info

Publication number
JPH0963208A
JPH0963208A JP23758195A JP23758195A JPH0963208A JP H0963208 A JPH0963208 A JP H0963208A JP 23758195 A JP23758195 A JP 23758195A JP 23758195 A JP23758195 A JP 23758195A JP H0963208 A JPH0963208 A JP H0963208A
Authority
JP
Japan
Prior art keywords
correction
error
mode
syndrome
dcc
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.)
Withdrawn
Application number
JP23758195A
Other languages
Japanese (ja)
Inventor
Izumi Miyashita
泉 宮下
Taku Umezono
卓 梅園
Shoji Ueno
昭治 植野
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 JP23758195A priority Critical patent/JPH0963208A/en
Publication of JPH0963208A publication Critical patent/JPH0963208A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PROBLEM TO BE SOLVED: To use a circuit configuration of an error correction circuit and its software in common when an error is corrected at the time of recording and reproducing an MD and a DCC, which are different in algorithm. SOLUTION: A syndrome of the MD or a syndrome of the DCC is selectively calculated by a syndrome calculation block 22 based on an MD mode or a DCC mode decided by an instruction block 25. An error is corrected by a correction block 26 based on the syndrome of the MD or the DCC calculated by the syndrome calculation block 22.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、C1系列とC2系
列の2重のリードソロモン符号を共に採用したMD(ミ
ニ・ディスク)とDCC(デジタル・コンパクト・カセ
ット)の記録・再生時にエラー訂正を行うエラー訂正装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention performs error correction at the time of recording / reproducing of MD (mini disc) and DCC (digital compact cassette) which employ both C1 series and C2 series dual Reed-Solomon codes. The present invention relates to an error correction device.

【0002】[0002]

【従来の技術】図7は従来の記録・再生装置の一例とし
て、デジタル信号形式のMD31a及びDCC35aと
アナログ信号形式のACC(アナログ・コンパクト・カ
セット)39aの記録、再生を選択的に行う複合型記録
・再生装置を示している。MD再生系はMD再生部31
と、信号処理回路32と、ATRAC方式の音声伸長用
のDSP(デジタル・シグナル・プロセッサ)33とD
/A変換回路34を有し、DCC再生系はDCC再生部
35と、信号処理回路36と、PASC方式の音声伸長
用のDSP37とD/A変換回路38を有する。また、
ACC再生系はACC再生部39のみを有する。そし
て、この回路では共通の回路として切り換え回路40
と、アンプ41とスピーカ42が設けられている。MD
再生系の信号処理回路2は、EFMデコーダと、MD用
のエラー訂正回路とCD−ROMデコーダにより構成さ
れ、DCC再生系の信号処理回路6は8−10変調デコ
ーダと、DCC用のエラー訂正回路により構成されてい
る。
2. Description of the Related Art FIG. 7 shows, as an example of a conventional recording / reproducing apparatus, a composite type which selectively records and reproduces digital signal format MD 31a and DCC 35a and analog signal format ACC (analog compact cassette) 39a. The recording / reproducing apparatus is shown. MD playback system is MD playback unit 31
And a signal processing circuit 32, and a DSP (digital signal processor) 33 and D for ATRAC audio expansion.
The A / A conversion circuit 34 is provided, and the DCC reproduction system has a DCC reproduction unit 35, a signal processing circuit 36, a PASC system audio decompression DSP 37, and a D / A conversion circuit 38. Also,
The ACC reproducing system has only the ACC reproducing unit 39. Then, in this circuit, the switching circuit 40 is used as a common circuit.
And an amplifier 41 and a speaker 42. MD
The reproduction system signal processing circuit 2 is composed of an EFM decoder, an MD error correction circuit and a CD-ROM decoder. The DCC reproduction system signal processing circuit 6 is an 8-10 modulation decoder and a DCC error correction circuit. It is composed by.

【0003】ここで、MDやDCCでは、主としてラン
ダムエラー訂正用のC1系列と、主としてバーストエラ
ー訂正用のC2系列の2重のリードソロモン(RS)符
号がクロスインターリーブされているが、MDとDCC
では訂正アルゴリズムが異なる。すなわち、MDのC1
系列はW0〜W31までの32ワードで構成され、C2
系列はT0〜T27までの28ワードで構成されてい
る。更に、MDのパリティはC1、C2系列共に4ワー
ドであり、記録モード時に及び再生時のC2系列のイレ
ージャ訂正は最大4イレージャまでである。
Here, in MD and DCC, a double Reed-Solomon (RS) code mainly consisting of a C1 sequence for random error correction and a C2 sequence mainly for burst error correction is cross-interleaved.
Then, the correction algorithm is different. That is, C1 of MD
The series consists of 32 words from W0 to W31 and is C2
The series is composed of 28 words from T0 to T27. Furthermore, the parity of MD is 4 words for both C1 and C2 series, and the erasure correction for the C2 series in the recording mode and during reproduction is up to 4 erasures.

【0004】これに対し、DCCのC1系列はW0〜W
23までの24ワードで構成され、C2系列はT0〜T
31までの32ワードで構成されている。更に、DCC
のパリティはC1、C2系列それぞれ4ワード、6ワー
ドであり、記録モード時及び再生時のC2系列のイレー
ジャ訂正は最大6イレージャまでである。また、DCC
にはC1、C2系列のメイントラックの他に、C1系列
のみの補助トラックが設けられている。
On the other hand, the DCC C1 series has W0 to W
It consists of 24 words up to 23, and the C2 series is T0 to T
It consists of 32 words up to 31 words. Furthermore, DCC
The C1 and C2 series have a parity of 4 words and 6 words respectively, and the erasure correction of the C2 series in the recording mode and the reproduction is up to 6 erasures. Also, DCC
In addition to the C1 and C2 series main tracks, there are auxiliary tracks of only the C1 series.

【0005】MDやDCCの再生時のエラー訂正ではC
1系列の訂正を最初に行う。このC1訂正では1エラー
訂正、2エラー訂正及び3個以上のエラーの検出を行
い、表1に示すように訂正状況を示すポインタとして
「エラー訂正なし」、「1エラー訂正」、「2エラー訂
正」、「3エラー以上、訂正しない」を示すC1フラグ
(C1F=F0,F1,F2)をセットする。このC1
フラグC1FはC2訂正においてエラーの位置を示す情
報として用いられる。
C is used for error correction during reproduction of MD or DCC.
A series of corrections is performed first. In this C1 correction, 1 error correction, 2 error corrections, and detection of 3 or more errors are performed. As shown in Table 1, "no error correction", "1 error correction", and "2 error correction" are used as pointers indicating the correction status. , C3 flag (C1F = F0, F1, F2) indicating “3 errors or more and not corrected” is set. This C1
The flag C1F is used as information indicating an error position in C2 correction.

【0006】[0006]

【表1】 [Table 1]

【0007】C2訂正では上記C1訂正によりエラー位
置が判っている場合、すなわち、C2系列におけるワー
ドの内、どのワードがエラーであるかが判っている場合
にエラーを訂正する、いわゆるイレージャ訂正を行う。
ここで、C2系列のワードはC1系列においてもいずれ
かのブロックに属しているので、イレージャ訂正ではC
2系列のワードについてそのワードが属しているC1系
列のブロックのC1フラグC1Fを読み出し、1エラー
訂正、2エラー訂正及び3個以上のエラーの検出を行
う。続いてC1フラグC1Fの位置をエラーの位置とみ
なしてMDでは4ワードまで、DCCでは6ワードまで
のイレージャ訂正を行い、訂正不能な場合には補間フラ
グをセットする。
In the C2 correction, so-called erasure correction is performed to correct the error when the error position is known by the C1 correction, that is, when which word among the words in the C2 series is known. .
Here, since the word of the C2 series belongs to any block in the C1 series, C is used in the erasure correction.
For two series of words, the C1 flag C1F of the block of the C1 series to which the word belongs is read, and 1 error correction, 2 error corrections and 3 or more errors are detected. Subsequently, the position of the C1 flag C1F is regarded as an error position, erasure correction is performed up to 4 words in the MD and up to 6 words in the DCC, and if the correction is impossible, the interpolation flag is set.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記従
来の装置では、MD用のエラー訂正回路とDCC用のエ
ラー訂正回路が別個に必要となるので、回路構成とソフ
トウエアが複雑、高価となるという問題点がある。
However, in the above-mentioned conventional apparatus, since the error correction circuit for MD and the error correction circuit for DCC are separately required, the circuit configuration and software are complicated and expensive. There is a problem.

【0009】本発明は上記従来の問題点に鑑み、訂正ア
ルゴリズムが異なるMDとDCCの記録・再生時にエラ
ー訂正を行う場合に、MD用のエラー訂正回路とDCC
用のエラー訂正回路の回路構成とソフトウエアを兼用す
ることができる安価なエラー訂正装置を提供することを
目的とする。
In view of the above conventional problems, the present invention provides an error correction circuit for an MD and a DCC when performing error correction during recording / reproduction of an MD and a DCC having different correction algorithms.
It is an object of the present invention to provide an inexpensive error correction device that can be used both as a circuit configuration of an error correction circuit for software and software.

【0010】[0010]

【課題を解決するための手段】本発明は上記目的を達成
するために、MDモードかDCCモードかを判定してM
Dのシンドローム又はDCCのシンドロームを選択的に
演算するようにしている。すなわち、本発明によれば、
C1系列とC2系列の2重のリードソロモン符号を共に
採用したMDとDCCの記録・再生時にエラー訂正を行
うエラー訂正装置であって、MDモードかDCCモード
かを判定するモード判定手段と、前記モード判定手段に
より判定されたモードに基づいて、MDのシンドローム
又はDCCのシンドロームを選択的に演算するシンドロ
ーム演算手段と、前記シンドローム演算手段により演算
されたシンドロームに基づいてエラー訂正を行うエラー
訂正手段と、を有するエラー訂正装置が提供される。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention determines whether MD mode or DCC mode is used and M
The syndrome of D or the syndrome of DCC is selectively calculated. That is, according to the present invention,
An error correction device that employs both C1 series and C2 series dual Reed-Solomon codes to perform error correction during recording / reproduction of MD and DCC, and mode determining means for determining whether the mode is MD mode or DCC mode. Syndrome calculating means for selectively calculating the syndrome of MD or the syndrome of DCC based on the mode judged by the mode judging means; and error correcting means for performing error correction based on the syndrome calculated by the syndrome calculating means. There is provided an error correction device having:

【0011】[0011]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。図1は本発明に係るエラー訂正装
置の一実施例を示すブロック図、図2は図1のエラー訂
正装置を備えた情報記録・再生装置を示すブロック図、
図3は図2の信号処理回路を詳しく示すブロック図、図
4は媒体判定モードを説明するためのフローチャート、
図5はリードソロモン符号のC1系列を訂正するルーチ
ンを説明するためのフローチャート、図6はリードソロ
モン符号のC2系列を訂正するルーチンを説明するため
のフローチャートである。
Embodiments of the present invention will be described below with reference to the drawings. 1 is a block diagram showing an embodiment of an error correction device according to the present invention, FIG. 2 is a block diagram showing an information recording / reproducing device equipped with the error correction device of FIG.
3 is a block diagram showing the signal processing circuit of FIG. 2 in detail, FIG. 4 is a flow chart for explaining the medium determination mode,
FIG. 5 is a flowchart for explaining a routine for correcting the C1 sequence of the Reed-Solomon code, and FIG. 6 is a flowchart for explaining a routine for correcting the C2 sequence of the Reed-Solomon code.

【0012】図1に示すエラー訂正装置は一例として図
2及び図3に示すような情報記録・再生装置に適用さ
れ、この記録・再生装置はMD31a、DCC35a及
びACC39aに記録された各信号を再生したり、かか
る媒体に記録を行う複合型記録・再生装置を示してい
る。この装置ではMD再生部31と、DCC再生部35
と、ACC再生部39及びAD変換回路43の各デジタ
ル再生信号が図3に詳しく示す共通の信号処理回路50
に印加される。
The error correction device shown in FIG. 1 is applied to an information recording / reproducing device as shown in FIGS. 2 and 3, for example, and this recording / reproducing device reproduces each signal recorded in MD 31a, DCC 35a and ACC 39a. And a composite type recording / reproducing apparatus for performing recording on such a medium. In this device, the MD reproduction unit 31 and the DCC reproduction unit 35
And a common signal processing circuit 50 in which the digital reproduction signals of the ACC reproducing section 39 and the AD conversion circuit 43 are shown in detail in FIG.
Is applied to

【0013】信号処理回路50は図3に示すように、M
D再生系のEFMデコーダ501とDCC再生系の8−
10変調デコーダ502とを備え、デコーダ501、5
02により復調された信号のエラー訂正が図1に詳しく
示す共通のエラー訂正装置503により行われる。ま
た、エラー訂正装置503によりエラー訂正が行われた
MD再生信号はCD−ROMデコーダ504によりデジ
タルオーディオデータにデコードされる。そして、CD
−ROMデコーダ504によりデコードされたMDオー
ディオデータ、エラー訂正装置503によりエラー訂正
が行われたDCCオーディオデータ及びACCオーディ
オデータが設定モードに応じてスイッチSWにより選択
される。
The signal processing circuit 50, as shown in FIG.
D reproduction system EFM decoder 501 and DCC reproduction system 8-
10 modulation decoder 502 and decoders 501, 5
Error correction of the signal demodulated by 02 is performed by the common error correction device 503 shown in detail in FIG. The MD reproduction signal error-corrected by the error correction device 503 is decoded by the CD-ROM decoder 504 into digital audio data. And the CD
The MD audio data decoded by the ROM decoder 504, the DCC audio data and the ACC audio data that are error-corrected by the error correction device 503 are selected by the switch SW according to the setting mode.

【0014】このように信号処理回路50により処理さ
れた信号は図2に示すDSP51、DA変換回路52、
アンプ41及びスピーカ42により再生される。DSP
51はATRAC方式により音声圧縮されたMD再生信
号を相補的に音声伸長するための信号処理手順が記憶さ
れたMDインストラクションROM511と、PASC
方式により音声圧縮されたDCC再生信号を相補的に音
声伸長するための信号処理手順が記憶されたDCCイン
ストラクションROM512と、ACC39aに記録さ
れた音声信号の音質を改善するためにノイズ減算信号を
統計的に処理して所定の周期性を有するノイズ減算デー
タが記憶された音質改善インストラクションROM51
3を有する。
The signal thus processed by the signal processing circuit 50 is processed by the DSP 51, the DA conversion circuit 52, and the DSP 51 shown in FIG.
It is reproduced by the amplifier 41 and the speaker 42. DSP
Reference numeral 51 designates an MD instruction ROM 511 in which a signal processing procedure for complementary audio expansion of an MD reproduction signal audio-compressed by the ATRAC method is stored, and a PASC.
The DCC instruction ROM 512 in which a signal processing procedure for complementarily expanding the sound of the DCC reproduced signal compressed by the method is stored, and the noise subtraction signal is statistically calculated to improve the sound quality of the sound signal recorded in the ACC 39a. Sound quality improvement instruction ROM 51 in which noise subtraction data having a predetermined periodicity is stored
3

【0015】次に、図1を参照してエラー訂正装置50
3の構成を詳細に説明する。回路2〜20は入力端子1
から入力する信号の誤りを訂正するように構成され、ま
た、この誤り訂正回路を構成する部分2〜20は、回路
2〜8を含むシンドローム演算ブロック22と、回路9
〜14を含むラッチブロック23及び回路15〜20を
含む訂正ブロック26により大別される。また、このブ
ロック22、23及び26はアドレスブロック24と、
インストラクションブロック25と補助トラック割り込
み検出回路27により制御される。なお、補助トラック
割り込み検出回路27は、ブロック22、23及び26
がDCC35aのメイントラックのC1、C2系列と補
助トラックのC1系列を選択的に訂正するように割り込
み処理を行い、MDモード時には用いられない。
Next, referring to FIG. 1, the error correction device 50
The configuration of No. 3 will be described in detail. Circuits 2-20 are input terminals 1
The error correction circuit is configured to correct an error, and the parts 2 to 20 constituting the error correction circuit are composed of the syndrome operation block 22 including the circuits 2 to 8 and the circuit 9
To 14 and a correction block 26 including circuits 15 to 20. Also, the blocks 22, 23 and 26 are address blocks 24,
It is controlled by the instruction block 25 and the auxiliary track interrupt detection circuit 27. The auxiliary track interrupt detection circuit 27 includes blocks 22, 23 and 26.
Performs interrupt processing so as to selectively correct the C1 and C2 series of the main track of the DCC 35a and the C1 series of the auxiliary track, and is not used in the MD mode.

【0016】エラーフラグ位置検出回路2は、再生時に
C2系列のイレージャ訂正のためのC1エラーフラグ評
価を行う回路であり、C2系列の各ワードに対応したC
1エラーフラグを読み出し、C1の2ワードエラー及び
3ワード以上エラーの位置と数を検出する。また、この
回路2はエラーフラグの読み出しのためのRAMアドレ
スを生成し、出力する。
The error flag position detection circuit 2 is a circuit for evaluating the C1 error flag for erasure correction of the C2 series during reproduction, and corresponds to each word of the C2 series.
The 1-error flag is read to detect the position and number of 2-word error of C1 and error of 3 words or more. The circuit 2 also generates and outputs a RAM address for reading the error flag.

【0017】パリティロケーション設定回路3は、記録
時にイレージャ訂正を使ってパリティを計算するために
パリティの位置を系列C1、C2の各系列に合わせてロ
ケーション選択回路4に出力する。特に補助トラックを
有するDCC35aのモード選択時には、パリティロケ
ーション設定回路3はパリティの位置をメイントラック
系列C1、C2と補助トラック系列AUXC1の各系列
に合わせてロケーション選択回路4に出力する。ロケー
ション選択回路4は、再生モード時にエラーフラグ位置
検出回路2からのエラーの位置を選択し、記録モード時
にはパリティロケーション設定回路3からのパリティの
位置を選択し、レジスタ出力選択回路9、11に出力す
る。
The parity location setting circuit 3 outputs the position of the parity to the location selection circuit 4 in accordance with each sequence of the sequences C1 and C2 in order to calculate the parity by using erasure correction during recording. In particular, when the mode of the DCC 35a having the auxiliary track is selected, the parity location setting circuit 3 outputs the position of parity to the location selection circuit 4 in accordance with the main track series C1 and C2 and the auxiliary track series AUXC1. The location selection circuit 4 selects the error position from the error flag position detection circuit 2 in the reproduction mode, selects the parity position from the parity location setting circuit 3 in the recording mode, and outputs it to the register output selection circuits 9 and 11. To do.

【0018】シンドロームチェック回路5は、データバ
ス1より入力されるRAM(図示省略)からのデータを
受け取って、MDモード選択時には後述するようにC1
系列では4個のシンドロームSp0〜Sp3(数1)を
演算し、C2系列では4個のシンドロームSq0〜Sq
3(数2)を演算し、他方、DCCモード選択時には後
述するようにC1系列では4個のシンドロームSp0〜
Sp3(数3)を演算し、C2系列では6個のシンドロ
ームSq0〜Sq6(数4)を演算してシンドローム選
択回路6に出力する。シンドローム選択回路6はシンド
ローム選択回路6からのシンドローム、レジスタ19又
は16からの出力を選択し、指数に変換するためのテー
ブルのα−i変換ROM7に出力する。
The syndrome check circuit 5 receives data from a RAM (not shown) input from the data bus 1 and, when the MD mode is selected, as described later, C1.
In the sequence, four syndromes Sp0 to Sp3 (Equation 1) are calculated, and in the C2 sequence, four syndromes Sq0 to Sq are calculated.
3 (Equation 2) is calculated, and on the other hand, when the DCC mode is selected, four syndromes Sp0 to Sp0 in the C1 sequence will be described later.
Sp3 (Equation 3) is calculated, and in the C2 series, six syndromes Sq0 to Sq6 (Equation 4) are calculated and output to the syndrome selection circuit 6. The syndrome selection circuit 6 selects the syndrome from the syndrome selection circuit 6 and the output from the register 19 or 16 and outputs it to the α-i conversion ROM 7 of the table for converting it into an exponent.

【0019】シンドローム格納レジスタ8には、α−i
変換ROM7によりα−i変換されたシンドロームが格
納され、このレジスタ8はまた、格納されたシンドロー
ムが全て「00」の場合にフラグ「1」を出力する。レ
ジスタ出力選択回路9、11は、シンドローム格納レジ
スタ8に格納されたシンドローム、ロケーション選択回
路4により選択されたデータ及びレジスタ14に格納さ
れたデータを選択して加算回路12に出力し、また、訂
正データシンボルアドレスラッチ回路10は、エラー訂
正を実行する時に演算により得られたエラー位置を記憶
し、RAMアドレス出力回路24に出力する。
The syndrome storage register 8 stores α-i
The conversion ROM 7 stores the α-i converted syndrome, and this register 8 also outputs a flag “1” when all the stored syndromes are “00”. The register output selection circuits 9 and 11 select the syndrome stored in the syndrome storage register 8, the data selected by the location selection circuit 4 and the data stored in the register 14 and output them to the adder circuit 12, and also make corrections. The data symbol address latch circuit 10 stores the error position obtained by the calculation when executing the error correction, and outputs it to the RAM address output circuit 24.

【0020】加算回路12はレジスタ出力選択回路9、
11により選択されたデータを加算するが、この加算は
αの指数部の加算であるので、インストラクションでは
乗算となる。レジスタ入出選択回路13は、加算回路1
2の出力又はROM7によりα−i変換されたシンドロ
ームを選択して後段のレジスタ14に記憶させる。な
お、このレジスタ14は演算途中のデータを一時記憶し
てレジスタ出力選択回路9、11に出力するために用い
られる。
The adder circuit 12 is a register output selection circuit 9,
The data selected by 11 is added. Since this addition is addition of the exponent part of α, the instruction is multiplication. The register input / output selection circuit 13 is the addition circuit 1
The output of 2 or the syndrome which is α-i converted by the ROM 7 is selected and stored in the register 14 in the subsequent stage. The register 14 is used to temporarily store the data during the calculation and output it to the register output selection circuits 9 and 11.

【0021】i−α変換回路15は加算回路12の出力
をi−α変換し、このデータは排他的論理和回路17に
より、レジスタ19に格納されたデータと加算されて再
度レジスタ19に格納される。レジスタ16は、2ワー
ド訂正時にZ2 +Z+X=0の解「Z」を求めるために
「X」の値を入力すると「Z」の値に変換して記憶して
出力する。訂正データ出力回路20は、i−α変換回路
15からのデータとデータバス1上の誤りデータとから
排他的論理和回路18により得られる訂正データをデー
タバス1上に出力する。
The i-α conversion circuit 15 performs an i-α conversion on the output of the adder circuit 12, and this data is added to the data stored in the register 19 by the exclusive OR circuit 17 and stored in the register 19 again. It When the value of "X" is input in order to obtain the solution "Z" of Z2 + Z + X = 0 at the time of correcting two words, the register 16 converts it to the value of "Z", stores it, and outputs it. The correction data output circuit 20 outputs the correction data obtained by the exclusive OR circuit 18 from the data from the i-α conversion circuit 15 and the error data on the data bus 1 onto the data bus 1.

【0022】RAMアドレス出力回路24は、C1系列
のRAMアドレス(C1RAMAD)と、C1系列のエ
ラーフラグのRAMアドレス(C1FLGAD)と、C
2系列のRAMアドレス(C2RAMAD)と、C2系
列のエラーフラグのRAMアドレス(C2FLGAD)
と、各系列のエラーフラグデータ(ERFLGBUF)
を生成して出力する。
The RAM address output circuit 24 includes a C1 series RAM address (C1RAMAD), a C1 series error flag RAM address (C1FLGAD), and a C1 series RAM address.
2 series RAM addresses (C2RAMAD) and C2 series error flag RAM addresses (C2FLGAD)
And error flag data of each series (ERFLGBUF)
Is generated and output.

【0023】DCCモード選択時にのみ用いられる補助
トラック割り込み検出回路27は、再生時にはAUX情
報がメインデータであるC1、C2と同期していないの
で、割り込みの形式で演算、訂正を行い、再生時には入
力信号の変化点を検出して割り込みフラグを出力する。
なお、1フレーム中の入力信号の変化点は4回有り、1
回について補助トラックデータが2系列ずつ処理され
る。補助トラック割り込み検出回路27はまた、補助ト
ラックデータAUXC1系列のRAMアドレス(AXC
1AD)と、補助トラックデータAUXC1系列のエラ
ーフラグのRAMアドレス(AXFLGAD)を生成し
て出力する。
Since the AUX information is not synchronized with the main data C1 and C2 at the time of reproduction, the auxiliary track interrupt detection circuit 27, which is used only when the DCC mode is selected, calculates and corrects in the form of interrupt, and inputs at the time of reproduction. The change point of the signal is detected and the interrupt flag is output.
There are four change points of the input signal in one frame, 1
The auxiliary track data is processed by two series for each time. The auxiliary track interrupt detection circuit 27 also uses the RAM address (AXC) of the auxiliary track data AUXC1 series.
1AD) and the RAM address (AXFLGAD) of the error flag of the auxiliary track data AUXC1 series are generated and output.

【0024】次に、インストラクション回路25を詳細
に説明すると、先ず、クロック発生器(CLOCKGE
N)は各入力信号から、この装置内部で使用される各種
クロックを生成する。インストラクションカウンタ(I
NSTCNT)はC1、C2のシンドローム演算及びC
1エラーフラグ評価インストラクション用の10ビット
カウンタであり、このカウンタの出力がインストラクシ
ョンROM(INSTROM)25aのアドレスとな
る。このインストラクションの1ステップは、クロック
の立ち上がりから立ち上がりまでであり、クロックによ
りカウントアップする。また、このインストラクション
のジャンプは、下記の飛び先アドレスをこのカウンタに
ロードすることにより行われる。
Next, the instruction circuit 25 will be described in detail. First, the clock generator (CLOCKGE).
N) generates various clocks used in this device from each input signal. Instruction counter (I
NSTCNT) is the C1 and C2 syndrome operation and C
This is a 10-bit counter for one error flag evaluation instruction, and the output of this counter is the address of the instruction ROM (INSTROM) 25a. One step of this instruction is from the rising edge of the clock to the rising edge, and is counted up by the clock. The jump of this instruction is performed by loading the following jump destination address into this counter.

【0025】インストラクションROM25aはインス
トラクションカウンタ(INSTCNT)から出力され
るカウント値をアドレスとして16ビットデータを出力
し、このデータがインストラクションの各ステップにお
ける処理動作を決定する。インストラクションセレクタ
(INSTSEL)はインストラクションROM25a
から出力される16ビットデータを処理の種類(シンド
ローム演算、エラーフラグ処理等)に応じて出力先を振
り分ける。この出力はクロックのタイミングで出力され
る。また、このセレクタはRAMアクセス時にインスト
ラクションを止める信号を出力する。
The instruction ROM 25a outputs 16-bit data with the count value output from the instruction counter (INSTCNT) as an address, and this data determines the processing operation in each step of the instruction. The instruction selector (INSTSEL) is an instruction ROM 25a.
Output destinations of the 16-bit data output from are distributed according to the type of processing (syndrome operation, error flag processing, etc.). This output is output at the clock timing. Further, this selector outputs a signal for stopping the instruction when accessing the RAM.

【0026】ロードアドレス発生器(LOADAD)は
インストラクションカウンタ(INSTCNT)から出
力されるカウント値をラッチしたデータを読み取り、こ
のデータがジャンプを行うアドレスの場合に各入力条件
に従って飛び先アドレスを決定してインストラクション
カウンタ(INSTCNT)に出力する。
The load address generator (LOADAD) reads the data in which the count value output from the instruction counter (INSTCNT) is latched, and when this data is an address for jumping, determines the jump destination address according to each input condition. Output to the instruction counter (INSTCNT).

【0027】ここで、シンドローム演算と訂正処理のイ
ンストラクションが同時に進行しているが、RAMには
同時にアクセスすることができないので、インストラク
ションコントローラ(INSTCONT)がアドレスを
監視し、RAMアクセスが衝突しないようにインストラ
クションカウンタ(INSTCNT)をコントロールし
ている。また、シンドローム演算と訂正処理を同時に行
うが、訂正処理されている系列は、同時に行われるシン
ドローム演算の1系列前のシンドロームであるので、フ
ラグコントローラ(FLGCONT)がシンドローム演
算に関する情報及びフラグを記憶し、この情報及びフラ
グが訂正処理に用いられる。
Here, although the instruction of the syndrome calculation and the instruction of the correction process are in progress at the same time, the RAM cannot be accessed at the same time, so the instruction controller (INSTCONT) monitors the address so that the RAM access does not collide. It controls the instruction counter (INSTCNT). Further, although the syndrome calculation and the correction process are performed at the same time, since the sequence being corrected is the syndrome one sequence before the syndrome calculation performed at the same time, the flag controller (FLGCONT) stores information and flags related to the syndrome calculation. , This information and flags are used in the correction process.

【0028】このような構成において、MD31又はD
CC35の記録、再生時にエラー処理を選択的に行う場
合には、図4に示すようにインストラクション回路25
によりモードが判定され(ステップS1)、MDモード
が選択されている場合にはMDエラー訂正処理を実行し
(ステップS2)、他方、DCCモードが選択されてい
る場合にはDCCエラー訂正処理を実行する(ステップ
S3)。
In such a structure, MD31 or D
When error processing is selectively performed at the time of recording / reproducing CC35, as shown in FIG.
The mode is determined by (step S1), the MD error correction process is executed when the MD mode is selected (step S2), and the DCC error correction process is executed when the DCC mode is selected. Yes (step S3).

【0029】次に、図5及び図6におけるエラー訂正処
理と消失(イレージャ)訂正処理について説明する。 1.エラー訂正 エラー訂正とは、受信したデータに対してシンドローム
演算(以下、シンドロームチェックと言う。)を行い、
その結果に基づいてデータの位置と値を訂正することで
ある。この場合、1個の誤りデータには2個の未知数
(位置と値)が存在し、また、MDではC1、C2系列
ともにパリティが4個であるので2ワードまでのエラー
訂正が可能である。ここで、MDにおけるC1系列のシ
ンドロームSp0〜Sp3と、C2系列のシンドローム
Sq0〜Sq3はそれぞれ次式(数1、数2)のように
演算され、また、DCCにおけるC1系列のシンドロー
ムSp0〜Sp3と、C2系列のシンドロームSq0〜
Sq5はそれぞれ次式(数3、数4)のように演算され
る。
Next, the error correction processing and the erasure correction processing in FIGS. 5 and 6 will be described. 1. Error correction Error correction is performed on the received data by performing a syndrome operation (hereinafter referred to as syndrome check).
Correcting the position and value of the data based on the result. In this case, one error data has two unknowns (position and value), and since MD has 4 parity for both C1 and C2 sequences, error correction of up to 2 words is possible. Here, the syndromes Sp0 to Sp3 of the C1 series and the syndromes Sq0 to Sq3 of the C2 series in MD are respectively calculated by the following equations (Equation 1 and Equation 2), and the syndromes Sp0 to Sp3 of the C1 series in DCC are , C2 series syndrome Sq0
Sq5 is calculated as in the following equations (Equation 3 and Equation 4), respectively.

【0030】[0030]

【数1】 [Equation 1]

【0031】[0031]

【数2】 [Equation 2]

【0032】[0032]

【数3】 (Equation 3)

【0033】[0033]

【数4】 (Equation 4)

【0034】以下、1ワード及び2ワードエラー訂正に
ついて説明する。 1−1.1エラー訂正 エラーが1個の場合、シンドローチェックの結果(S0
〜S3)は、Eiをエラーの大きさとし、Xiをエラー
の位置とすると、次のようになる。
The 1-word and 2-word error correction will be described below. 1-1.1 Error correction When there is one error, the result of the thin check (S0
S3) is as follows, where Ei is the error magnitude and Xi is the error position.

【0035】[0035]

【数5】 (Equation 5)

【0036】訂正処理はメモリアドレスXiのデータD
iを読み出し、Eiを加算した結果をメモリアドレスX
iに書き込むことにより終了する。
The correction process is performed by the data D at the memory address Xi.
i is read and the result of adding Ei is the memory address X
It ends by writing to i.

【0037】1−2.2エラー訂正 エラーが2個の場合のシンドロームは、Ei、Ejをエ
ラーの大きさ、Xi、Xjをエラーの位置として
1-2.2 Error correction The syndrome in the case of two errors is Ei and Ej as the error size and Xi and Xj as the error position.

【0038】[0038]

【数6】 (Equation 6)

【0039】となる。この4個の連立方程式を解くこと
によって4個の未知数を求める方法もあるが、ここでは
位置の根の方程式を導入して処理ステップを減少してい
る。先ず、エラーの位置の和と積を定義する。
It becomes There is also a method of obtaining four unknowns by solving these four simultaneous equations, but here, the equation of the root of the position is introduced to reduce the processing steps. First, the sum and product of error positions are defined.

【0040】[0040]

【数7】 (Equation 7)

【0041】このXi、Xjは次の方程式F(Y)の根
となる。
These Xi and Xj are the roots of the following equation F (Y).

【0042】[0042]

【数8】 (Equation 8)

【0043】この式を展開すると、Expanding this equation,

【0044】[0044]

【数9】 [Equation 9]

【0045】この形式ではテーブルの参照が不可能であ
るので、変数をY=C1*Zと変形すると、前記式は
Since it is not possible to refer to the table in this format, if the variable is transformed into Y = C1 * Z, the above equation becomes

【0046】[0046]

【数10】 (Equation 10)

【0047】C2/C12 とZとの対照ROM7により
Zを求めて Xi=C1*Z Xj=C2/Xi としてXi、Xjを求めることができる。また、C1、
C2はシンドロームS0〜S3の関数で与えられる。
It is possible to obtain Zi by using the contrast ROM 7 of C2 / C12 and Z, and obtain Xi and Xj by Xi = C1 * Z Xj = C2 / Xi. Also, C1,
C2 is given as a function of the syndromes S0 to S3.

【0048】[0048]

【数11】 [Equation 11]

【0049】実際の訂正作業ではC1、C2を求め、そ
の結果を対照ROM7に参照し、参照結果にC1を乗じ
てXiを求める。エラーの大きさEi、Ejは
In the actual correction work, C1 and C2 are obtained, the result is referred to the control ROM 7, and the reference result is multiplied by C1 to obtain Xi. The error magnitudes Ei and Ej are

【0050】[0050]

【数12】 (Equation 12)

【0051】以上の演算結果を基にメモリのデータを書
き直すことにより2ワードのエラー訂正が完了する。
The error correction of two words is completed by rewriting the data in the memory based on the above calculation result.

【0052】2.イレージャ訂正 イレージャ訂正はエラーの位置が予め判っていて、エラ
ーの値だけを求める訂正方法であり、MDではC2系列
のパリティの数が4個であるので、最大4ワードのイレ
ージャ訂正を行うことができ、また、DDCではC2系
列のパリティの数が6個であるので、最大6ワードのイ
レージャ訂正を行うことができる。イレージャ訂正につ
いて詳細に説明すると、先ず、エラーの位置をX1〜X
6、エラーの値をY1〜Y6として次式(数13)で示
すような前演算を行い、次いで次式(数14〜数18)
によりそれぞれ6〜1ワードのイレージャ訂正を行う。
2. Erasure correction Erasure correction is a correction method in which the position of an error is known in advance and only the error value is obtained. In MD, since the number of C2 sequence parities is 4, it is possible to perform erasure correction of a maximum of 4 words. In addition, since the number of C2 sequence parities is 6 in the DDC, erasure correction of a maximum of 6 words can be performed. The erasure correction will be described in detail. First, the error positions are X1 to X.
6. With the error values Y1 to Y6, pre-calculation as shown in the following equation (Equation 13) is performed, and then the following equation (Equation 14 to 18)
The erasure correction of 6 to 1 word is carried out by.

【0053】[0053]

【数13】 X1+X2 =B1 X1*X2 =B2 B1+X3 =C1 B1*X3+B2=C2 B2*X3 =C3 C1+X4 =D1 C1*X4+C2=D2 C2*X4+C3=D3 C3*X4 =D4 D1*X5 =E1 D1*X5+D2=E2 D2*X5+D3=E3 D3*X5+D4=E4 D4*X5 =E5 (X1+X6) *(X2+X6)(X3+X6)(X4+X6)(X5+X6)=I6 (X1+X5)(X2+X5)(X3+X5)(X4+X5)=I5 (X1+X4)(X2+X4)(X3+X4)=I4 (X1+X3)(X2+X3)=I3 (X1+X2)=I2X1 + X2 = B1 X1 * X2 = B2 B1 + X3 = C1 B1 * X3 + B2 = C2 B2 * X3 = C3 C1 + X4 = D1 C1 * X4 + C2 = D2 C2 * X4 + C3 = D3 C3 * X1 * D4 = D4 = D4 X5 + D2 = E2 D2 * X5 + D3 = E3 D3 * X5 + D4 = E4 D4 * X5 = E5 (X1 + X6) * (X2 + X6) (X3 + X6) (X4 + X6) (X5 + X6) = X3 + X5) (X3 + X5) (X2 + X5) (X2 + X5) (X2 + X5) (X2 + X5) (X2 + X5) (X2 + X5) (X2 + X5) (X1 + X4) (X2 + X4) (X3 + X4) = I4 (X1 + X3) (X2 + X3) = I3 (X1 + X2) = I2

【0054】[0054]

【数14】〔6Erasure,Y6〕 T5=S5+E1*S4+E2*S3+E3*S2+E
4*S1+E5*S0 Y6=T5/I6 〔シンドローム修正〕 S0+Y6 →S0 S1+Y6*X6 →S1 S2+Y6*X62 →S2 S3+Y6*X63 →S3 S4+Y6*X64 →S4
[Equation 14] [6 Erasure, Y6] T5 = S5 + E1 * S4 + E2 * S3 + E3 * S2 + E
4 * S1 + E5 * S0 Y6 = T5 / I6 [Syndrome correction] S0 + Y6 → S0 S1 + Y6 * X6 → S1 S2 + Y6 * X62 → S2 S3 + Y6 * X63 → S3 S4 + Y6 * X64 → S4

【0055】[0055]

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

【0056】[0056]

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

【0057】[0057]

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

【0058】[0058]

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

【0059】次に、図5を参照してC1訂正処理につい
て説明する。このC1訂正処理では、MDモード時とD
CCモード時ではステップS102に示すシンドローム
演算と、ステップS115に示すパリティ位置が異な
る。C1訂正処理がスタートすると(ステップS10
1)、先ず、MDモード時には前述した式(数1)によ
り、また、DCCモード時には式(数3)によりシンド
ロームSp0〜Sp3を演算し(ステップS102)、
次いで、シンドロームSp0〜Sp3をα→i変換して
レジスタ8に格納する。
Next, the C1 correction process will be described with reference to FIG. In this C1 correction process, D mode and D mode
In the CC mode, the syndrome calculation shown in step S102 is different from the parity position shown in step S115. When the C1 correction process starts (step S10)
1) First, the syndromes Sp0 to Sp3 are calculated by the above-described equation (Equation 1) in the MD mode and by the equation (Equation 3) in the DCC mode (step S102),
Next, the syndromes Sp0 to Sp3 are converted from α to i and stored in the register 8.

【0060】ステップS102の後に、現在の動作モー
ドが記録モードか否かを判断する(ステップ103)。
この判断は、図2に示す複合型記録・再生装置の操作ス
イッチにより、記録モードとされているときに所定のフ
ラグをたてておき、このフラグを見ることによりなされ
る。記録モードでない場合は、再生モードとみなす。す
なわち、記録、再生以外の巻き戻し等のモードについて
も、すべて再生モードとして取り扱う。以下ステップS
103で再生モードと判断された場合について先に説明
する。
After step S102, it is determined whether the current operation mode is the recording mode (step 103).
This determination is made by setting a predetermined flag when the recording mode is set by the operation switch of the composite recording / reproducing apparatus shown in FIG. 2 and observing this flag. If it is not in recording mode, it is regarded as playback mode. That is, all rewinding modes other than recording and reproduction are also treated as reproduction modes. Step S below
The case in which the reproduction mode is determined in 103 will be described first.

【0061】再生モードの場合、シンドロームS0〜S
3が全て「0」か否かを判別し(ステップ104)、Y
ESの場合にはC1エラーフラグF0、F1、F2に共
に「0」を書き込み(ステップS105)、次いで全ブ
ロックが終了した場合には図6に示すC2訂正処理へ進
む(ステップS118)。他方、ステップS104にお
いてシンドロームS0〜S3が全て「0」でない場合に
は、先ず、次式
In the reproduction mode, the syndromes S0 to S
It is determined whether all 3 are "0" (step 104), and Y
In the case of ES, "0" is written in each of the C1 error flags F0, F1, and F2 (step S105), and when all blocks are completed, the process proceeds to the C2 correction process shown in FIG. 6 (step S118). On the other hand, when all the syndromes S0 to S3 are not “0” in step S104, first,

【0062】[0062]

【数19】 [Equation 19]

【0063】に基づいて1ワードエラーを検出するため
の変形シンドロームσ1〜σ3を演算し(ステップS1
06)、1ワードエラーか否かを判別する(ステップS
107)。1ワードエラーの場合には前述した1ワード
訂正を行って訂正データを書き込み(ステップS10
8)、次いで表1にも基づいてC1エラーフラグF0に
「1」を書き込む(ステップS109)。次いで、全ブ
ロックが終了した場合には図6に示すC2訂正処理へ進
む(ステップS118)。
Based on, the modified syndromes σ1 to σ3 for detecting the one-word error are calculated (step S1
06) It is determined whether or not there is a one-word error (step S
107). In the case of a 1-word error, the 1-word correction described above is performed and the corrected data is written (step S10).
8) Then, based on Table 1 as well, "1" is written in the C1 error flag F0 (step S109). Next, when all the blocks are completed, the process proceeds to the C2 correction process shown in FIG. 6 (step S118).

【0064】他方、ステップS107において1ワード
エラーでない場合には、次式(数20)で示すように2
ワードエラーを検出するためのX1、X2、φ1、φ2
を演算し(ステップS110)、次いで、2ワードエラ
ーか否かを判別する(ステップS111)。
On the other hand, if there is no one-word error in step S107, then as shown in the following equation (Equation 20), 2
X1, X2, φ1, φ2 for detecting word error
Is calculated (step S110), and then it is determined whether or not there is a two-word error (step S111).

【0065】[0065]

【数20】 (Equation 20)

【0066】そして、2ワードエラーの場合には前述し
たように2ワード訂正を行って訂正データXi 、Xj を
書き込み(ステップS112)、次いで表1に示すよう
にC1エラーフラグF1に「1」を書き込む(ステップ
S112)。次いで、全ブロックが終了した場合には図
6に示すC2訂正処理へ進む(ステップS118)。
In the case of a 2-word error, 2-word correction is performed as described above to write the correction data Xi and Xj (step S112). Then, as shown in Table 1, the C1 error flag F1 is set to "1". Write (step S112). Next, when all the blocks are completed, the process proceeds to the C2 correction process shown in FIG. 6 (step S118).

【0067】また、ステップS111において2ワード
エラーでない場合には表1に示すようにC1エラーフラ
グF2に「1」を書き込み(ステップS114)、次い
で全ブロックが終了した場合には図6に示すC2訂正処
理へ進む(ステップS118)。
If it is not a 2-word error in step S111, "1" is written in the C1 error flag F2 as shown in Table 1 (step S114), and if all blocks are finished, C2 shown in FIG. Proceed to the correction process (step S118).

【0068】ステップS103において記録モードと判
断された場合は、パリティの位置(MDモード時にはW
28〜W31、DCCモード時にはW20〜W23)を
ロードし(ステップS115)、前演算を行って(ステ
ップS116)4イレージャ訂正を行う(ステップS1
17)。次いで全ブロックが終了した場合には図6に示
すC2訂正処理へ進む(ステップS118)。
If it is determined in step S103 that the recording mode is set, the parity position (W in MD mode) is set.
28 to W31, W20 to W23 in DCC mode are loaded (step S115), pre-calculation is performed (step S116), and 4 erasure correction is performed (step S1).
17). Next, when all the blocks are completed, the process proceeds to the C2 correction process shown in FIG. 6 (step S118).

【0069】次に、図6を参照してC2訂正処理につい
て説明する。このC2訂正処理では、MDモード時とD
CCモード時ではステップS123に示すシンドローム
演算と、ステップS136及びS142に示すイレージ
ャ訂正が異なる。このC2訂正処理は1エラー訂正、2
エラー訂正及び3個以上のエラー検出を行う。また、C
1フラグの位置をエラーの位置とみなしてMDモード時
には最大4ワードまで、DCCモード時には最大6ワー
ドまでのイレージャ訂正を行う。
Next, the C2 correction process will be described with reference to FIG. In this C2 correction process, in the MD mode and in the D mode
In the CC mode, the syndrome calculation shown in step S123 differs from the erasure correction shown in steps S136 and S142. This C2 correction processing is 1 error correction, 2
Error correction and detection of three or more errors are performed. Also, C
Erasure correction of up to 4 words in MD mode and up to 6 words in DCC mode is performed by regarding the position of 1 flag as an error position.

【0070】先ず、C1フラグを読み出す(ステップS
122)。ここで、F0、F1のC1フラグはC1訂正
においてそれぞれ1エラー訂正、2エラー訂正が行われ
たことを示し、F2のC1フラグは3個以上のエラーを
検出したことを示すが、C1訂正では3以上のエラーを
2エラーとして誤訂正する確率が高い。そこで、C2訂
正ではF1、F2フラグの数及び位置に着目して訂正を
行う。次いで、MDモード時には前述した式(数2)に
よりシンドロームSq0〜Sq3を、また、DCCモー
ド時には式(数4)によりシンドロームSq0〜Sq5
を演算し(ステップS122)、そのシンドロームをα
→i変換してレジスタ8に格納する。
First, the C1 flag is read (step S
122). Here, the C1 flags of F0 and F1 indicate that 1 error correction and 2 error correction were performed in the C1 correction, and the C1 flag of F2 indicates that three or more errors were detected. There is a high probability of erroneously correcting 3 or more errors as 2 errors. Therefore, in the C2 correction, attention is paid to the numbers and positions of the F1 and F2 flags to perform the correction. Next, in MD mode, the syndromes Sq0 to Sq3 are calculated by the above-described equation (Equation 2), and in the DCC mode, the syndromes Sq0 to Sq5 are calculated by the equation (Equation 4).
Is calculated (step S122), and the syndrome is α
→ i-convert and store in register 8.

【0071】次いで、C1のときと同様に、記録モード
か否かを判断し(ステップS124)、再生モードのと
きにはステップS125以下に進む。ステップS125
以下ではシンドロームSq0〜Sq3(又はSq0〜S
q5)が全て「0」か否かを判別することによりエラー
数が「0」か否かを判別し(ステップS125)、
「0」の場合にはC2エラーフラグF0、F1、F2に
共に「0」を書き込み(ステップS126)、このC2
訂正処理を終了する(ステップS127)。
Then, similarly to the case of C1, it is judged whether or not the recording mode is set (step S124), and if it is the reproduction mode, the process proceeds to step S125 and thereafter. Step S125
In the following, the syndromes Sq0 to Sq3 (or Sq0 to Sq
It is determined whether the number of errors is "0" by determining whether all q5) are "0" (step S125),
In the case of "0", "0" is written in the C2 error flags F0, F1, and F2 (step S126).
The correction process ends (step S127).

【0072】他方、ステップS125においてシンドロ
ームSq0〜Sq3(又はSq0〜Sq5)が全て
「0」でない場合には、1ワードエラーを検出するため
の変形シンドロームσ1〜σ3を演算し(ステップS1
28)、次いで、1ワードエラーか否かを判別する(ス
テップS129)。そして、1ワードエラーの場合には
1ワード訂正を行って訂正データを書き込み(ステップ
S130)、次いでC2エラーフラグF0、F1、F2
に共に「0」を書き込み(ステップS131)、このC
2訂正処理を終了する(ステップS127)。
On the other hand, when all the syndromes Sq0 to Sq3 (or Sq0 to Sq5) are not "0" in step S125, the modified syndromes σ1 to σ3 for detecting the one-word error are calculated (step S1.
28), and then it is determined whether or not there is a one-word error (step S129). In the case of a 1-word error, 1-word correction is performed and the corrected data is written (step S130), and then the C2 error flags F0, F1, F2 are written.
Write "0" to both (step S131).
2 The correction process ends (step S127).

【0073】他方、ステップS129において1ワード
エラーでない場合には、2ワードエラーを検出するため
の変形シンドロームX1、X2、φ1、φ2を演算し
(ステップS132)、次いで、2ワードエラーか否か
を判別する(ステップ133)。そして、2ワードエラ
ーの場合には2ワード訂正を行って訂正データXi、Xj
を書き込み(ステップS134)、次いでC2エラーフ
ラグF0、F1、F2に共に「0」を書き込み(ステッ
プS135)、このC2訂正処理を終了する(ステップ
S127)。
On the other hand, if the one-word error is not detected in step S129, the modified syndromes X1, X2, φ1, and φ2 for detecting the two-word error are calculated (step S132), and it is determined whether or not there is a two-word error. It is determined (step 133). Then, in the case of a 2-word error, 2-word correction is performed to make correction data Xi, Xj.
Is written (step S134), then "0" is written in the C2 error flags F0, F1, and F2 (step S135), and the C2 correction process is finished (step S127).

【0074】また、ステップS133において2ワード
エラーでない場合には、MDモード時には最大4ワー
ド、DCCモード時には最大6ワードのイレージャ処理
を行い(ステップS136)、次いで訂正可能な場合に
はC2エラーフラグF0、F1、F2に共に「0」を書
き込み(ステップS137→S138)、このC2訂正
処理を終了する(ステップS127)。また、ステップ
S137において訂正可能でない場合にはC2エラーフ
ラグF0、F1、F2にそれぞれ「0」、「1」、
「1」又は全てに「1」を書き込み(ステップS13
8)、このC2訂正処理を終了する(ステップS12
7)。
If no two-word error is found in step S133, erasure processing of up to 4 words in MD mode and up to 6 words in DCC mode is performed (step S136), and then C2 error flag F0 if correctable. , F1 and F2 are both written with "0" (step S137 → S138), and the C2 correction process is terminated (step S127). If the correction is not possible in step S137, the C2 error flags F0, F1, and F2 are set to "0", "1", and
Write "1" or "1" to all (step S13
8), the C2 correction process is terminated (step S12).
7).

【0075】ステップS124において記録モードのと
きは、パリティの位置をロードし(ステップS14
0)、前演算を行って(ステップS141)、MDモー
ド時には最大4ワード、DCCモード時には最大6ワー
ドのイレージャ訂正を行いパリティ計算を行う(ステッ
プS142)。
In the recording mode in step S124, the parity position is loaded (step S14).
0), pre-calculation is performed (step S141), and erasure correction is performed for up to 4 words in MD mode and up to 6 words in DCC mode to perform parity calculation (step S142).

【0076】ここで、記録モードのときに再生モードと
異なる処理を行うのは、記録時にはC1、C2系列のパ
リティを計算しなくてはならないからである。パリティ
の位置はあらかじめ分かっているので、イレージャ訂正
を応用してエラー訂正の代りにパリティ計算を行う。前
述のように再生時においてはエラーの位置は分からない
のでC1訂正によってエラーフラグを書き込み、C2訂
正時にそれを読み出すことでエラーの位置を検出してい
たが、記録時はパリティの位置が分かっているので、C
1系列においてもイレージャ訂正を使ってパリティ計算
を行うことができる。
The reason why the recording mode is different from the reproduction mode is that the parities of the C1 and C2 series must be calculated during recording. Since the position of parity is known in advance, erasure correction is applied and parity calculation is performed instead of error correction. As described above, since the error position is not known during reproduction, the error position was detected by writing an error flag by C1 correction and reading it during C2 correction, but the position of parity was known during recording. C
Parity calculation can be performed using erasure correction even in one sequence.

【0077】[0077]

【発明の効果】以上説明したように本発明によれば、M
DモードかDCCモードかを判定してMDのシンドロー
ム又はDCCのシンドロームを選択的に演算し、エラー
訂正を行うようにしたので、訂正アルゴリズムが異なる
MDとDCCの記録・再生時にエラー訂正を行う場合
に、MD用のエラー訂正回路とDCC用のエラー訂正回
路の回路構成とソフトウエアを兼用することができ、し
たがって、安価なエラー訂正装置を実現することができ
る。
As described above, according to the present invention, M
When the MD syndrome or the DCC syndrome is selectively calculated by judging the D mode or the DCC mode to perform the error correction, when the error correction is performed at the time of recording / reproducing the MD and the DCC having different correction algorithms. In addition, the circuit configuration and software of the error correction circuit for MD and the error correction circuit for DCC can be shared, so that an inexpensive error correction device can be realized.

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

【図1】本発明に係るエラー訂正装置の一実施例を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of an error correction device according to the present invention.

【図2】図1のエラー訂正装置を備えた情報記録・再生
装置を示すブロック図である。
FIG. 2 is a block diagram showing an information recording / reproducing apparatus including the error correction device of FIG.

【図3】図2の信号処理回路を詳しく示すブロック図で
ある。
FIG. 3 is a block diagram showing in detail the signal processing circuit of FIG.

【図4】媒体判定モードを説明するためのフローチャー
トである。
FIG. 4 is a flowchart illustrating a medium determination mode.

【図5】リードソロモン符号のC1系列を訂正するルー
チンを説明するためのフローチャートである。
FIG. 5 is a flowchart illustrating a routine for correcting a C1 sequence of Reed-Solomon code.

【図6】リードソロモン符号のC2系列を訂正するルー
チンを説明するためのフローチャートである。
FIG. 6 is a flowchart illustrating a routine for correcting a C2 sequence of Reed-Solomon code.

【図7】従来のエラー訂正装置を備えた情報記録・再生
装置を示すブロック図である。
FIG. 7 is a block diagram showing an information recording / reproducing device provided with a conventional error correction device.

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

22 シンドローム演算ブロック(シンドローム演算手
段) 26 訂正ブロック(エラー訂正手段) 25 インストラクションブロック(モード判定手段)
22 syndrome calculation block (syndrome calculation means) 26 correction block (error correction means) 25 instruction block (mode determination means)

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成7年12月25日[Submission date] December 25, 1995

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0018[Correction target item name] 0018

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0018】シンドロームチェック回路5は、データバ
ス1より入力されるRAM(図示省略)からのデータを
受け取って、MDモード選択時には後述するようにC1
系列では4個のシンドロームSp0〜Sp3(数1)を
演算し、C2系列では4個のシンドロームSq0〜Sq
3(数2)を演算し、他方、DCCモード選択時には後
述するようにC1系列では4個のシンドロームSp0〜
Sp3(数3)を演算し、C2系列では6個のシンドロ
ームSq0〜Sq(数4)を演算してシンドローム選
択回路6に出力する。シンドローム選択回路6はシンド
ローム選択回路6からのシンドローム、レジスタ19又
は16からの出力を選択し、指数に変換するためのテー
ブルのα−i変換ROM7に出力する。
The syndrome check circuit 5 receives data from a RAM (not shown) input from the data bus 1 and, when the MD mode is selected, as described later, C1.
In the sequence, four syndromes Sp0 to Sp3 (Equation 1) are calculated, and in the C2 sequence, four syndromes Sq0 to Sq are calculated.
3 (Equation 2) is calculated, and on the other hand, when the DCC mode is selected, four syndromes Sp0 to Sp0 in the C1 sequence will be described later.
Sp3 (Equation 3) is calculated, and six syndromes Sq0 to Sq 5 (Equation 4) are calculated in the C2 sequence and output to the syndrome selection circuit 6. The syndrome selection circuit 6 selects the syndrome from the syndrome selection circuit 6 and the output from the register 19 or 16 and outputs it to the α-i conversion ROM 7 of the table for converting it into an exponent.

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0047[Correction target item name] 0047

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0047】C2/C12 とZとの対照ROM7により
Zを求めて Xi=C1*Z Xj=C2/Xi としてXi、Xjを求めることができる。また、C1、
C2はシンドロームS0〜S3の関数で与えられる。
It is possible to obtain Xi and Xj by obtaining Z by the contrast ROM 7 of C2 / C1 2 and Z and setting Xi = C1 * Z Xj = C2 / Xi. Also, C1,
C2 is given as a function of the syndromes S0 to S3.

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0054[Correction target item name] 0054

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0054】[0054]

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

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0055[Correction target item name] 0055

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0055】[0055]

【数15】〔5Erasure,Y5〕 T4=S4+D1*S3+D2*S2+D3*S1+D
4*S0 Y5=T4/I5 〔シンドローム修正〕 S0+Y5 →S0 S1+Y5*X5 →S1 S2+Y5*X52 →S2 S3+Y5*X53 →S3
[Equation 15] [5Erasure, Y5] T4 = S4 + D1 * S3 + D2 * S2 + D3 * 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

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0056[Correction target item name] 0056

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0056】[0056]

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

【手続補正6】[Procedure correction 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0066[Correction target item name] 0066

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0066】そして、2ワードエラーの場合には前述し
たように2ワード訂正を行って訂正データEi 、Ej
書き込み(ステップS112)、次いで表1に示すよう
にC1エラーフラグF1に「1」を書き込む(ステップ
S11)。次いで、全ブロックが終了した場合には図
6に示すC2訂正処理へ進む(ステップS118)。
In the case of a 2-word error, 2-word correction is performed as described above and the correction data Ei and Ej are written (step S112). Then, as shown in Table 1, the C1 error flag F1 is set to "1". writing (step S11 3). Next, when all the blocks are completed, the process proceeds to the C2 correction process shown in FIG. 6 (step S118).

【手続補正7】[Procedure amendment 7]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0070[Name of item to be corrected] 0070

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0070】先ず、C1フラグを読み出す(ステップS
122)。ここで、F0、F1のC1フラグはC1訂正
においてそれぞれ1エラー訂正、2エラー訂正が行われ
たことを示し、F2のC1フラグは3個以上のエラーを
検出したことを示すが、C1訂正では3以上のエラーを
2エラーとして誤訂正する確率が高い。そこで、C2訂
正ではF1、F2フラグの数及び位置に着目して訂正を
行う。次いで、MDモード時には前述した式(数2)に
よりシンドロームSq0〜Sq3を、また、DCCモー
ド時には式(数4)によりシンドロームSq0〜Sq5
を演算し(ステップS12)、そのシンドロームをα
→i変換してレジスタ8に格納する。
First, the C1 flag is read (step S
122). Here, the C1 flags of F0 and F1 indicate that 1 error correction and 2 error correction were performed in the C1 correction, and the C1 flag of F2 indicates that three or more errors were detected. There is a high probability of erroneously correcting 3 or more errors as 2 errors. Therefore, in the C2 correction, attention is paid to the numbers and positions of the F1 and F2 flags to perform the correction. Next, in MD mode, the syndromes Sq0 to Sq3 are calculated by the above-described equation (Equation 2), and in the DCC mode, the syndromes Sq0 to Sq5 are calculated by the equation (Equation 4).
Is calculated (step S12 3 ) and the syndrome is set to α
→ i-convert and store in register 8.

【手続補正8】[Procedure amendment 8]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0073[Correction target item name] 0073

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0073】他方、ステップS129において1ワード
エラーでない場合には、2ワードエラーを検出するため
の変形シンドロームX1、X2、φ1、φ2を演算し
(ステップS132)、次いで、2ワードエラーか否か
を判別する(ステップ133)。そして、2ワードエラ
ーの場合には2ワード訂正を行って訂正データEi、Ej
を書き込み(ステップS134)、次いでC2エラーフ
ラグF0、F1、F2に共に「0」を書き込み(ステッ
プS135)、このC2訂正処理を終了する(ステップ
S127)。
On the other hand, if the one-word error is not detected in step S129, the modified syndromes X1, X2, φ1 and φ2 for detecting the two-word error are calculated (step S132), and then it is determined whether or not there is a two-word error. It is determined (step 133). Then, in the case of a 2-word error, 2-word correction is performed to make correction data Ei, Ej.
Is written (step S134), then "0" is written in each of the C2 error flags F0, F1, and F2 (step S135), and the C2 correction process is finished (step S127).

【手続補正9】[Procedure amendment 9]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0074[Correction target item name]

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0074】また、ステップS133において2ワード
エラーでない場合には、MDモード時には最大4ワー
ド、DCCモード時には最大6ワードのイレージャ処理
を行い(ステップS136)、次いで訂正可能な場合に
はC2エラーフラグF0、F1、F2に共に「0」を書
き込み(ステップS137→S138)、このC2訂正
処理を終了する(ステップS127)。また、ステップ
S137において訂正可能でない場合にはC2エラーフ
ラグF0、F1、F2にそれぞれ「0」、「1」、
「1」又は全てに「1」を書き込み(ステップS13
)、このC2訂正処理を終了する(ステップS12
7)。
If there is no 2-word error in step S133, erasure processing of up to 4 words in MD mode and up to 6 words in DCC mode is performed (step S136), and then C2 error flag F0 if correctable. , F1 and F2 are both written with "0" (step S137 → S138), and this C2 correction process is terminated (step S127). If the correction is not possible in step S137, the C2 error flags F0, F1, and F2 are set to "0", "1", and
Write "1" or "1" to all (step S13
9 ), the C2 correction process is terminated (step S12).
7).

【手続補正10】[Procedure amendment 10]

【補正対象書類名】図面[Document name to be amended] Drawing

【補正対象項目名】図1[Correction target item name] Fig. 1

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【図1】 FIG.

【手続補正11】[Procedure amendment 11]

【補正対象書類名】図面[Document name to be amended] Drawing

【補正対象項目名】図6[Correction target item name] Fig. 6

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【図6】 FIG. 6

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 C1系列とC2系列の2重のリードソロ
モン符号を共に採用したMDとDCCの記録・再生時に
エラー訂正を行うエラー訂正装置であって、 MDモードかDCCモードかを判定するモード判定手段
と、 前記モード判定手段により判定されたモードに基づい
て、MDのシンドローム又はDCCのシンドロームを選
択的に演算するシンドローム演算手段と、 前記シンドローム演算手段により演算されたシンドロー
ムに基づいてエラー訂正を行うエラー訂正手段と、を有
するエラー訂正装置。
1. An error correction device which employs both C1 and C2 series Reed-Solomon codes to perform error correction during recording / reproduction of MD and DCC, and which is a mode for determining whether the mode is the MD mode or the DCC mode. Determining means, a syndrome calculating means for selectively calculating the syndrome of MD or the syndrome of DCC based on the mode judged by the mode judging means, and error correction based on the syndrome calculated by the syndrome calculating means. An error correction device having:
JP23758195A 1995-08-23 1995-08-23 Error correction device Withdrawn JPH0963208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23758195A JPH0963208A (en) 1995-08-23 1995-08-23 Error correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23758195A JPH0963208A (en) 1995-08-23 1995-08-23 Error correction device

Publications (1)

Publication Number Publication Date
JPH0963208A true JPH0963208A (en) 1997-03-07

Family

ID=17017447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23758195A Withdrawn JPH0963208A (en) 1995-08-23 1995-08-23 Error correction device

Country Status (1)

Country Link
JP (1) JPH0963208A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999014685A1 (en) * 1997-09-16 1999-03-25 Hitachi, Ltd. Data processor and data processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999014685A1 (en) * 1997-09-16 1999-03-25 Hitachi, Ltd. Data processor and data processing system

Similar Documents

Publication Publication Date Title
US4881232A (en) Method and apparatus for error correction
US4750178A (en) Error correction method
JPH084233B2 (en) Error correction code decoding device
JPH04222029A (en) Method for correcting error
JP3260421B2 (en) CD-ROM playback device
JP3281387B2 (en) CRC / EDC checker system
JPH0963208A (en) Error correction device
JP3170920B2 (en) Error correction method and correction circuit
JP2999881B2 (en) Reed-Solomon decoding device
JP2000090594A (en) Error detecting circuit and error detecting method
JPH0793913A (en) Error corrector
JP2605270B2 (en) Error correction and checking device
JP3248315B2 (en) Error correction device
JPH0945014A (en) Error correction apparatus for recording/reproducing
JP3257237B2 (en) Error correction device
JPH07296527A (en) Recording/reproducing error correction device
KR920010184B1 (en) Finite Field Computation Circuit
JPH07123013A (en) Error correction device
KR100425083B1 (en) Error correction code circuit for different kinds of optical disks
JPH09246994A (en) Code error correction method and code error correction device
JP2647646B2 (en) Error correction method
JPH07160520A (en) Error corrector
KR0158639B1 (en) Error correction and method using conversion of syndrome
JPH0427217A (en) Erroneous position and erroneous numerical value calculating circuit
JPS60160729A (en) Arithmetic circuit of finite field

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20021105