JPH11353817A - Id number detection protecting method and circuit therefor - Google Patents

Id number detection protecting method and circuit therefor

Info

Publication number
JPH11353817A
JPH11353817A JP15760098A JP15760098A JPH11353817A JP H11353817 A JPH11353817 A JP H11353817A JP 15760098 A JP15760098 A JP 15760098A JP 15760098 A JP15760098 A JP 15760098A JP H11353817 A JPH11353817 A JP H11353817A
Authority
JP
Japan
Prior art keywords
detection
detected
match
counter
predicted value
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.)
Pending
Application number
JP15760098A
Other languages
Japanese (ja)
Inventor
Hiroshi Hirayama
洋志 平山
Yutaka Nagai
裕 永井
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP15760098A priority Critical patent/JPH11353817A/en
Publication of JPH11353817A publication Critical patent/JPH11353817A/en
Pending legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

PROBLEM TO BE SOLVED: To allow a correction block to be correctly written into a memory by allowing a correct ID number to be always loaded into an ID number interpolation counter even when an ID number has not been detected in addition to occurrence of false detection and false correction of the ID number in a normal operation. SOLUTION: In both a pulling-in operation, in which transition from an ID error condition to an ID detection condition occurs, and a normal operation, following the pulling-in operation, to be performed after the detected ID number has been loaded into an ID number interpolation counter, a correct ID number is always loaded into the ID number interpolation counter even when an ID number has not been detected in addition to occurrence of false detection and false correction of the ID number. Thus, a block switching timing pulse and an address within a block are always correctly generated from its counter value and a correction block is correctly written into a memory. At the time when the correct ID number is detected, it can be determined that this ID number is correct, thereby a pulling-in operation in which the number of sectors to be passed is minimized can be performed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はID番号検出保護方
法及びその回路関し、特に、記録単位毎に付加され、記
録媒体中に記録される基本単位(例えばセクタ、フレー
ム)へのアクセスに必要なID番号の検出とその保護の
方法及びその回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ID number detection and protection method and a circuit thereof, and more particularly to an ID number detection protection method which is added for each recording unit and is necessary for accessing a basic unit (for example, a sector or a frame) recorded on a recording medium. The present invention relates to a method of detecting and protecting an ID number and a circuit thereof.

【0002】[0002]

【従来の技術】従来、記録媒体の再生信号に含まれてい
るID番号を検出し、このID番号から目標の記録単位
を特定し、それに含まれるデータの再生を行うシステム
の一例としてCD−ROM(Compact Disk−Read Only M
emory)が挙げられる。このCD−ROMを再生に関して
は「CD −オーディオからパソコンへ− 真理藤雄 監
修、林 謙二 編著 コロナ社 p85〜87、p91」に
記載されている。この種刊行物に記載されているよう
に、CD−ROMを再生するには、記録媒体への記録単
位であるフレームデータを複数集めサブコードデータを
構成し、そのサブコード内に含まれるID番号(時間情
報)の検出に従い、記録媒体上の所望のフレームにアク
セスする。更に複数フレームでCD−ROMの信号処理
単位であるセクタを構成し、そのセクタ中に含まれるI
D番号(この場合は物理アドレス)を検出してホストコ
ンピュータなどの接続デバイスに対して転送するセクタ
を特定しデータ転送制御を行う。
2. Description of the Related Art Conventionally, a CD-ROM is used as an example of a system for detecting an ID number included in a reproduction signal of a recording medium, specifying a target recording unit from the ID number, and reproducing the data contained therein. (Compact Disk−Read Only M
emory). The reproduction of this CD-ROM is described in "CD: From Audio to Personal Computer", edited by Kenji Hayashi and edited by Kenji Hayashi, Corona Publishing Co., Ltd., p. As described in this kind of publication, in order to reproduce a CD-ROM, a plurality of frame data which are recording units on a recording medium are collected to form subcode data, and an ID number included in the subcode is included. According to the detection of (time information), a desired frame on the recording medium is accessed. Further, a plurality of frames constitute a sector which is a signal processing unit of the CD-ROM.
The data transfer control is performed by detecting the D number (in this case, the physical address), specifying the sector to be transferred to the connected device such as the host computer.

【0003】[0003]

【発明が解決しようとする課題】しかしながら記録媒体
から読み取られた信号は、記録媒体上に発生した傷や伝
送途中の信号劣化等が原因となってID番号の検出がで
きない場合や、誤ったID番号が検出される場合が存在
する。ID番号の検出ができない場合は記録媒体へのア
クセスが不可能となるほか、接続デバイスへの転送デー
タそのものの信頼性が低下する。更に誤ったID番号が
検出された場合には、誤ったフレームに対するアクセス
が行われる可能性がある他、本来の目標セクタとは異な
るセクタデータが接続デバイス転送される問題がある。
ID番号が誤検出された場合や未検出の場合はID番号
に対する保護機能が必要となる。特にID番号に誤検出
が発生した場合、再度信頼性の高い正しい検出ID番号
を出力するためは、多くの経過セクタ或いは経過フレー
ムを必要とする問題がある。本発明の目的は、ID番号
の誤検出が発生した状態においても正しいID番号の検
出保護を行い、検出保護動作に必要な経過セクタ数を最
小に抑える方法及びその回路を提供するものである。
However, the signal read from the recording medium may not be able to detect the ID number due to scratches on the recording medium, signal deterioration during transmission, etc. There are cases where numbers are detected. If the ID number cannot be detected, access to the recording medium becomes impossible, and the reliability of the data transferred to the connected device itself decreases. Further, when an incorrect ID number is detected, there is a possibility that an erroneous frame is accessed, and there is a problem that sector data different from the original target sector is transferred to the connected device.
When the ID number is erroneously detected or not detected, a protection function for the ID number is required. In particular, when an erroneous detection occurs in the ID number, there is a problem that a large number of elapsed sectors or elapsed frames are required in order to output a highly reliable correct detected ID number again. SUMMARY OF THE INVENTION It is an object of the present invention to provide a method and circuit for performing protection of correct ID number detection even when erroneous detection of an ID number has occurred and minimizing the number of elapsed sectors necessary for the detection protection operation.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
に本発明においては、検出された第1の検出ID番号を
基に第1の予測値を生成するステップと、第1の予測値と
は異なる第2の検出ID番号を基に第2の予測値を生成
するステップと、第1、第2の予測値と第3の検出ID
番号との一致を判定するステップと、一致が成立した場
合に第3の検出ID番号を検出保護出力として採用する
ステップとを有している。更に本発明においては、第1
のカウンタ手段と、第2のカウンタ手段と、検出保護出
力手段と、制御命令を発生するマイクロプロセッサと、
プログラムセクションを記憶した読取り可能な記録媒体
とを備え、マイクロプロセッサは記憶媒体からプログラ
ムコードを読み出して動作するID番号検出保護回路を
用いて、ID番号の検出、保護を行うために、第1の検
出ID番号をロードする命令を第1のカウンタ手段に対
して発生する第1のプログラムセクションと、次に検出
された第2の検出ID番号と、第1のカウンタ手段より
得られる第1の予測値との一致判定を行う第2のプログ
ラムセクションと、第2のプログラムセクションでの一
致不成立の場合に第2のカウンタ手段に対して第2の検
出ID番号のロード命令を発生する第3のプログラムセ
クションと、次に検出された第3の検出ID番号と第1
のカウンタ手段より得られる第1の予測値、第3の検出
ID番号と第2のカウンタ手段より得られる第2の予測
値の一致判定を行う第4のプログラムセクションと、第
4のプログラムセクションで一致成が成立した場合前記
第3の検出ID番号を前記検出保護出力手段にロードす
る命令を発生する第5のプログラムセクションとを有し
ている。
According to the present invention, in order to achieve the above object, a step of generating a first predicted value based on a detected first detection ID number; Generating a second prediction value based on a different second detection ID number, and generating the first and second prediction values and the third detection ID
The method includes a step of determining a match with the number, and a step of employing the third detection ID number as a detection protection output when the match is established. Further, in the present invention, the first
Counter means, second counter means, detection protection output means, a microprocessor for generating a control instruction,
A readable recording medium storing a program section, wherein the microprocessor reads out the program code from the storage medium and operates using an ID number detection and protection circuit to detect and protect the ID number. A first program section for issuing an instruction to load a detection ID number to the first counter means, a second detection ID number detected next, and a first prediction obtained by the first counter means. A second program section for determining a match with a value, and a third program for issuing a load instruction of a second detection ID number to the second counter means when a match is not established in the second program section. Section, the next detected third detection ID number and the first
And a fourth program section for determining whether the first predicted value and the third detection ID number obtained from the counter means match the second predicted value obtained from the second counter means, and a fourth program section. And a fifth program section for generating an instruction to load the third detection ID number into the detection protection output means when a match is established.

【0005】更に、第4のプログラムセクションにおけ
る一致判定で、一致が成立した第3のID番号を第1、
第2のカウンタ手段の一方にロードする命令を発生する
と共に、第3の検出ID番号を基に生成した第3の予測
値と次に検出された第4の検出ID番号との一致判定を
行う第6のプログラムセクションと、第6のプログラム
セクションで一致が不成立の場合に、第4の予測値を生
成するため、他方のカウンタ手段に対し第4の検出ID
番号のロード命令を発生する第7のプログラムセクショ
ンと、第6のプログラムセクションで一致が不成立の場
合に、検出保護出力手段に対し補間命令を発生する第8
のプログラムセクションと、次に検出された第5のID
番号と、第3の予測値、第4の予測値それぞれの一致判
定を行う第9のプログラムセクションと、第9のプログ
ラムセクションにおける一致成立に従い、第5のID番
号を前記検出保護出力手段にロードする命令を発生する
第10のプログラムセクションとを備えている。
[0005] Further, in the match determination in the fourth program section, the third ID number for which the match is established is assigned to the first, first and second ID numbers.
An instruction to load one of the second counter means is generated, and a match between the third predicted value generated based on the third detected ID number and the fourth detected ID number detected next is determined. When a match is not established between the sixth program section and the sixth program section, a fourth detection ID is output to the other counter means to generate a fourth predicted value.
When a match is not established between the seventh program section for generating a number load instruction and the sixth program section, an eighth instruction for generating an interpolation instruction to the detection protection output means.
Program section and the next detected fifth ID
A fifth ID number is loaded into the detection protection output means in accordance with a match in the ninth program section and a ninth program section for determining whether the numbers match the third predicted value and the fourth predicted value. And a tenth program section for generating instructions.

【0006】また更に、ID番号の検出保護処理を含む
動作を行うマイクロプロセッサと、プログラムセクショ
ンを記憶した読取り可能な記録媒体とを備え、マイクロ
プロセッサは記憶媒体からプログラムコードを読み出し
て動作する有するID番号検出保護回路を用いて、ID
番号の検出、保護を行うために、プログラムセクション
は、第1の検出ID番号を記憶し、それを基に第1の予
測値を生成する第1のプログラムセクションと、次に検
出された第2の検出ID番号と第1の予測値との一致判
定を行う第2のプログラムセクションと、第2のプログ
ラムセクションで一致が不成立の場合に、前記第2の検
出ID番号を記憶し、それを基に第2の予測値を生成す
る第3のプログラムセクションと、次に検出された第3
の検出ID番号と、第1の予測値、第2の予測値のそれ
ぞれとの一致判定を行う第4のプログラムセクション
と、第4のプログラムセクションで一致が成立した場
合、第3の検出ID番号を記憶し、検出保護出力として
出力する第5のプログラムセクションと、第2及び第4
のプログラムセクションのいずれかのプログラムセクシ
ョンにおける一致判定で一致が成立した第1、第2の予
測値の一方の予測値と、一方の予測値の次に検出された
検出ID番号との一致判定を行う第6のプログラムセク
ションと、前記第6のプログラムセクションで一致が不
成立の場合に前記一方の予測値の次に検出されたID番
号を記憶し、それを基に第3の予測値を生成する第7の
プログラムセクションと、前記第6のプログラムセクシ
ョンで一致が不成立の場合に第2及び第4のプログラム
セクションのいずれか一方で一致が成立し、記憶された
検出ID番号を補間し、検出保護出力として出力する第
8のプログラムセクションと、第3の予測値の次に検出
された検出ID番号と、第3の予測値の一致判定を行う
第9のプログラムセクションと、前記第9のプログラム
セクションにおいて一致が成立した場合に、第3の予測
値の次に検出された検出ID番号を記憶し、検出保護出
力として出力する第10のプログラムセクションとを有
している。
[0006] Still further, there is provided a microprocessor which performs an operation including detection and protection processing of an ID number, and a readable recording medium storing a program section, wherein the microprocessor reads out a program code from the storage medium and operates the ID. Using the number detection protection circuit, ID
In order to detect and protect the numbers, the program section stores a first detection ID number and generates a first predicted value based on the first detection ID number. A second program section for determining a match between the detected ID number of the first program and the first predicted value, and when the match is not established in the second program section, the second detected ID number is stored. A third program section for generating a second predicted value, and a third detected
A fourth program section for performing a match determination between the detection ID number and the first predicted value and the second predicted value, and a third detection ID number when a match is established between the fourth program section and the fourth program section. And a fifth program section for storing as a detection protection output,
Of the first and second predicted values for which a match is established in the match determination in any one of the program sections of the program section, and a detection ID number detected next to the one predicted value. When a match is not established between the sixth program section to be executed and the sixth program section, an ID number detected next to the one predicted value is stored, and a third predicted value is generated based on the ID number. When a match is not established between the seventh program section and the sixth program section, a match is established in one of the second and fourth program sections, and the stored detection ID number is interpolated to detect the detection. An eighth program section to be output as an output, a ninth program section for judging the coincidence between the third predicted value and the detected ID number detected next to the third predicted value. And a tenth program section that stores a detection ID number detected next to the third predicted value when a match is established in the ninth program section, and outputs the detection ID number as a detection protection output. ing.

【0007】上記問題を解決するために、本発明におい
ては、先に検出された第1の検出ID番号をロードし、
ロードした第1の検出ID番号に対するインクリメント
動作により第1の予測値を生成する第1のカウンタ手段
と、第1の予測値と異なる第2の検出ID番号をロード
し、ロードした第2の検出ID番号に対するインクリメ
ント動作により第2の予測値を生成する第2のカウンタ手
段と、検出ID番号のロード、補間動作を行う検出保護
出力手段と、第3の検出ID番号と第1或いは第2の予測
値との一致判定を行い、不一致の場合は第1、第2のカウ
ンタ手段に対しロード命令を発生すると共に、検出保護
出力手段に対しては補間命令を発生し、一致の場合は検
出保護出力手段に対してのみロード命令を発生する制御
手段とを有している。更に、本発明においては前記検出
保護出力手段の出力に従がって動作するディジタル処理
回路を設け、第1のカウンタ手段と、第2のカウンタ手段
と、検出保護出力手段と、ディジタル処理回路とを同一
の半導体チップ上に設けている。また更に、本発明にお
いては、前記検出保護出力に従い動作するディジタル処
理回路と、前記制御手段に設けられ、命令を発生するた
めのマイクロプロセッサと、前記制御手段で生成される
命令を前記マイクロプロセッサに発生させるプログラム
セクションを記憶した記録媒体とを設け、前記第1のカ
ウンタ手段と、前記第2のカウンタ手段と、前記第3のカ
ウンタ手段と、前記検出保護出力手段と、前記マイクロ
プロセッサと、前記記録媒体と、前記ディジタル処理回
路を同一の半導体チップ上に設けている。
[0007] In order to solve the above problem, in the present invention, the first detection ID number detected earlier is loaded,
First counter means for generating a first predicted value by an increment operation on the loaded first detection ID number, and loading a second detection ID number different from the first predicted value, and loading the second detection ID Second counter means for generating a second predicted value by an increment operation on the ID number, detection protection output means for performing the loading of the detection ID number and interpolation operation, and the third detection ID number and the first or second A match with the predicted value is determined, and if they do not match, a load instruction is issued to the first and second counter means, and an interpolation instruction is issued to the detection protection output means. Control means for generating a load instruction only for the output means. Further, in the present invention, a digital processing circuit which operates according to the output of the detection protection output means is provided, and a first counter means, a second counter means, a detection protection output means, a digital processing circuit, Are provided on the same semiconductor chip. Still further, in the present invention, a digital processing circuit operating in accordance with the detection protection output, a microprocessor provided in the control means for generating an instruction, and an instruction generated by the control means are transmitted to the microprocessor. A recording medium storing a program section to be generated, wherein the first counter means, the second counter means, the third counter means, the detection protection output means, the microprocessor, The recording medium and the digital processing circuit are provided on the same semiconductor chip.

【0008】[0008]

【発明の実施の形態】以下、本発明によるID検出保護
方法およびID検出保護回路の実施の形態について、幾
つかの実施例を図を用いて説明する。図1は本発明によ
るID番号検出保護回路の第1の実施例を示すブロック
図である。図において、1は光ディスクであり、フレー
ム単位のディジタル信号が記録されている。フレーム単
位のディジタル信号は記録するデータ、セクタID、及
び誤り訂正符号で構成されたセクタ単位データをデータ
変調し、それに同期パターン付加を付加することによっ
て構成される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Some embodiments of the ID detection protection method and the ID detection protection circuit according to the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram showing a first embodiment of an ID number detection protection circuit according to the present invention. In FIG. 1, reference numeral 1 denotes an optical disk on which digital signals are recorded in frame units. The digital signal in frame units is constituted by data-modulating sector-unit data composed of data to be recorded, a sector ID, and an error correction code, and adding a synchronization pattern thereto.

【0009】光ディスク1の記録信号はピックアップ2
によって読み取られ、プリアンプ3を通してデータ復調
回路4に供給され、このデータ復調回路4はPLL同期
後のディジタル信号に対し復調処理を行う。5は光ディ
スク1の再生信号に含まれているフレームの先頭を示す
同期信号の検出を行うSY0〜SY7(フレーム同期信
号)検出回路であり、SY0〜SY7検出回路5の出力
はセクタ内アドレス生成回路6に供給される。この生成
回路6は検出された同期信号SY0〜SY7の各コード
情報に従い1セクタ内のメモリ転送アドレスを生成す
る。SY0〜SY7検出回路5はセクタID検出回路7
に供給され、ここでセクタ単位のデータの先頭に記録さ
れるセクタ先頭同期信号SYOを検出する。、SYOタ
イミング保護回路8はSY0〜SY7検出回路の出力に
おいてSY0が検出されない場合にSY0タイミングパ
ルスを出力する。第2のID番号カウンタ9、第2の第
1のID番号カウンタ11はカウンタ制御回路10の指
令によって動作される。更に、ID番号補間カウンタ1
2はこのカウンタ制御回路10の制御命令によって、検
出されたID番号に対する保護を行う。ブロック切替回
路14はID番号補間カウンタ12の出力から、複数セ
クタで構成され、誤り訂正を行う単位である訂正ブロッ
クの先頭を検出する。ブロックアドレス生成回路15は
ID番号と生成されたセクタ内アドレスより1訂正ブロ
ック内のメモリ転送アドレスを生成する。16は光ディ
スク1の再生システム全体の制御を行うシステムコント
ローラであり、データ転送制御回路17はシステムコン
トローラ16からの転送イネーブル信号によって復調デ
ータをメモリコントローラ18へ転送する。このメモリ
コントローラ18はメモリ19に対し復調データの書込
み、読み出し制御を行う。メモリ19には復調された転
送データが一時的に記憶される。20は再生データに対
する同期信号の検出、未検出タイミングパルスからPL
L同期状態を判定し、再生データの同期ロック状態を検
出する同期ロック検出回路である。
The recording signal of the optical disk 1 is transmitted to the pickup 2
, And is supplied to a data demodulation circuit 4 through a preamplifier 3, and the data demodulation circuit 4 performs a demodulation process on the digital signal after PLL synchronization. Reference numeral 5 denotes a SY0 to SY7 (frame synchronization signal) detection circuit for detecting a synchronization signal indicating the beginning of a frame included in the reproduction signal of the optical disk 1. The output of the SY0 to SY7 detection circuit 5 is an intra-sector address generation circuit. 6. The generation circuit 6 generates a memory transfer address within one sector according to the detected code information of the synchronization signals SY0 to SY7. The SY0 to SY7 detection circuit 5 is a sector ID detection circuit 7.
, Where a sector head synchronization signal SYO recorded at the head of data in sector units is detected. , SYO timing protection circuit 8 outputs a SY0 timing pulse when SY0 is not detected in the outputs of the SY0 to SY7 detection circuits. The second ID number counter 9 and the second first ID number counter 11 are operated by a command from the counter control circuit 10. Further, ID number interpolation counter 1
2 protects the detected ID number by the control command of the counter control circuit 10. The block switching circuit 14 detects, from the output of the ID number interpolation counter 12, the head of a correction block which is composed of a plurality of sectors and is a unit for performing error correction. The block address generation circuit 15 generates a memory transfer address in one correction block from the ID number and the generated address in the sector. Reference numeral 16 denotes a system controller for controlling the entire reproduction system of the optical disk 1. A data transfer control circuit 17 transfers demodulated data to a memory controller 18 according to a transfer enable signal from the system controller 16. The memory controller 18 controls writing and reading of demodulated data to and from the memory 19. The demodulated transfer data is temporarily stored in the memory 19. Reference numeral 20 denotes a detection of a synchronization signal for reproduced data,
A synchronization lock detection circuit that determines the L synchronization state and detects the synchronization lock state of the reproduced data.

【0010】次に、光ディスク1に記録されるディジタ
ル信号の記録単位であるセクタの構成例について図2を
用いて説明する。図2(a)はセクタデータの構成図、
図2(b)は訂正ブロックの構成図、図2(c)は記録
されるセクタの構成図である。図2(a)に示すよう
に、変調前のデータの単位であるセクタデータは、17
2バイト×12のデータ量を1単位とし、セクタ毎に付
加されるセクタID4バイトと、セクタID4バイトに
対してID検出、IDエラーを判定し、更に1バイトの
誤り訂正を行うIED符号2バイトと、メインデータ1
〜12と、付加データA、付加データBとから構成され
る。セクタID4バイトはセクタ情報1バイトと、記録
するセクタの光ディスク1上の物理的なアドレスを示す
3バイトのID番号より構成される。また付加データA
はリザーブビットであり、付加データBはパリティビッ
トである。
Next, an example of the configuration of a sector which is a recording unit of a digital signal recorded on the optical disc 1 will be described with reference to FIG. FIG. 2A is a configuration diagram of sector data,
FIG. 2B is a configuration diagram of a correction block, and FIG. 2C is a configuration diagram of a sector to be recorded. As shown in FIG. 2A, the sector data, which is a unit of data before modulation, has 17 sectors.
2 bytes x 12 data amount as 1 unit, 4 bytes of sector ID added to each sector, 2 bytes of IED code for ID detection and ID error determination for 4 bytes of sector ID, and error correction of 1 byte And the main data 1
To 12, and additional data A and additional data B. The 4-byte sector ID is composed of 1-byte sector information and a 3-byte ID number indicating the physical address of the sector to be recorded on the optical disk 1. Additional data A
Is a reserved bit, and the additional data B is a parity bit.

【0011】セクタデータに対し誤り訂正を行う単位で
ある訂正ブロックは、そのセクタデータを16個集め、
横方向のデータに対して訂正を行うPI訂正符号10バ
イトと、縦方向のデータに対して訂正を行うPO訂正符
号16バイトが図2(b)に示すように位置される。誤
り訂正はこのブロック単位で行われるため、メモリへの
転送単位は1訂正ブロックとなる。訂正ブロックを構成
する16個のセクタデータに含まれるセクタIDは、訂
正ブロック先頭のセクタデータに対するID番号下位4
ビットは必ず0(hex)が割り当てられ、そこから順に
1、2、3・・・と連続し、最終セクタデータのID番
号は必ずF(hex)、即ち15(dec)が割り当てられる。
メモリへの訂正ブロック転送の際には、例えばID番号
の下位4ビットが0である事を検出し、そのセクタから
データ転送を行う。光ディスク1に以上説明した構成の
データを記録する際にはPI、PO訂正符号を含む(1
72+10)バイト×13のデータ量を1単位とし、そ
の中の1バイト(8ビット)単位のデータを16ビット
に変調する8/16変調処理を行う。光ディスク1への
記録単位である記録セクタは図2(c)に示すように、
変調後のデータ1456ビット単位のフレームデータ毎
にフレーム同期信号SY0〜SY7を付加した26フレ
ームで構成される。セクタデータの先頭に相当するフレ
ームにのみ特殊な同期信号SY0が付加され、他のフレ
ームデータにはフレーム順にSY5、SY1、SY5、
SY2・・・のフレーム同期信号が付加される。従っ
て、フレーム同期信号SY0の直後の変調データはセク
タIDに相当することになる。またセクタ内のアドレス
は例えば行方向の2フレームに対しアドレス0(hex)か
らC(hex)、即ち12(dec)までが割り当てられ、そのア
ドレスはフレーム同期信号SY0〜SY7のコード値の
検出より生成できる。訂正ブロック単位でのアドレス
は、先に説明したID番号下位4ビットとセクタ内のア
ドレスより求めることができる。
A correction block, which is a unit for performing error correction on sector data, collects 16 sector data, and
A PI correction code of 10 bytes for correcting the data in the horizontal direction and a PO correction code of 16 bytes for correcting the data in the vertical direction are located as shown in FIG. 2B. Since error correction is performed in units of blocks, the unit of transfer to the memory is one correction block. The sector ID included in the 16 sector data that constitutes the correction block is the ID number lower 4 for the first sector data of the correction block.
Bits are always assigned 0 (hex), and sequentially from 1, 2, 3,..., And the ID number of the last sector data is always assigned F (hex), that is, 15 (dec).
When transferring the corrected block to the memory, for example, it is detected that the lower 4 bits of the ID number are 0, and the data is transferred from that sector. When data having the above-described configuration is recorded on the optical disc 1, PI and PO correction codes are included (1).
An 8/16 modulation process is performed in which a data amount of (72 + 10) bytes × 13 is defined as one unit, and data of one byte (8 bits) in the data amount is modulated into 16 bits. As shown in FIG. 2C, a recording sector, which is a recording unit on the optical disc 1,
Modulated data is composed of 26 frames in which frame synchronization signals SY0 to SY7 are added to each frame data in units of 1456 bits. A special synchronization signal SY0 is added only to the frame corresponding to the head of the sector data, and SY5, SY1, SY5,
. SY2... Are added. Therefore, the modulation data immediately after the frame synchronization signal SY0 corresponds to the sector ID. The addresses in the sector are assigned, for example, addresses 0 (hex) to C (hex), that is, 12 (dec), for two frames in the row direction. Can be generated. The address in the correction block unit can be obtained from the lower 4 bits of the ID number and the address in the sector described above.

【0012】以下、前述の図1を用いて、図2(c)で
説明した記録セクタ構成のデータを記録した光ディスク
1の再生に際し、ID番号の検出、保護動作について説
明する。図1において、プリアンプ3を通過した後の再
生ディジタル信号はSY0〜SY7検出回路5で再生信
号に含まれるフレーム同期信号の検出が行われ、同期信
号SY0〜SY7の全てに対するSY(フレーム同期信
号)タイミングパルス、SY0〜SY7の各検出コー
ド、同期信号SY0のみに対するSY0タイミングパル
ス、同期信号SY0〜SY7の全てに対し検出、未検出
判定を行ったSY検出、未検出タイミングパルスをそれ
ぞれ生成する。データ復調回路4はこの中のSYタイミ
ングパルスに従いフレーム単位の同期化を行い、フレー
ムデータに対する復調処理を行う。セクタ内アドレス生
成回路6はSY0〜SY7の各検出コードより各再生フ
レームに対応したセクタ内アドレスを生成し、ブロック
アドレス生成回路15に出力する。セクタID検出回路
7はセクタID番号を検出すると共に、SY0タイミン
グパルスに従い、データ復調回路4で復調されたデータ
の中で、セクタID4バイトとIED符号2バイトを取
り込み、IED符号の演算で検出されたセクタIDのエ
ラーチェックを行う。そのチェック結果を検出ステータ
ス、即ちIDが検出されたか、または検出不能かの判定
信号として出力する。更に、場合によってはセクタID
に対する1バイト誤り訂正処理を行う。SY0タイミン
グ保護回路8はSY0タイミングパルスに従ってセクタ
単位の同期化を行うと共に、SY0未検出の場合を想定
してSY0タイミングパルス、保護タイミングパルスを
生成する。同期ロック検出回路20は生成されたSY
(フレーム同期信号)が連続して検出されるタイミング
の回数、又は、連続する未検出のタイミング回数を数え
てSYの同期ロック状態を検出する。例えば連続SY検
出回数が設定されている場合、ロックインレベル以上で
あればPLL同期のかかったデータ同期状態と判定して
SY同期ロック状態を検出し、カウンタ制御回路10に
出力する。また、連続SY未検出回数が設定されている
場合、ロックアウトレベル以上であればPLL同期の外
れたデータ状態と判定され、SY同期ロック状態は未検
出となる。システムコントローラ16はセクタID検出
回路7からの検出ステータス(IDが検出されたか、検
出不能かの判定)を監視し、ID検出になった時点でそ
の時の検出セクタIDとセクタ検出情報を取り込む。メ
モリへのデータ転送を行うセクタに対する目標ID番号
と検出ID番号の違いが1訂正ブロック以内であれば、
データ転送制御回路17に対して転送イネーブル信号を
生成する。データ転送制御回路17は転送イネーブル信
号とブロック切替検出回路14で検出されるブロック切
替タイミングパルスによって、訂正ブロック先頭のセク
タからデータ転送を開始し、メモリコントローラ18を
介してメモリ19に復調データの転送を行う。ブロック
切替検出回路14はID番号補間カウンタ12の出力I
D番号のうち下位4ビットの0を検出し、ブロック切替
タイミングパルスを生成する。ブロックアドレス生成回
路15はID番号下位4ビットの値とセクタ内アドレス
に従い訂正ブロック内のブロックアドレスを生成してメ
モリコントローラ18へ出力する。メモリコントローラ
18はこのブロックアドレスを用いてメモリ19への復
調データの書込みを行う。
Hereinafter, the operation of detecting and protecting the ID number when reproducing the optical disk 1 on which the data having the recording sector configuration described in FIG. 2C is recorded will be described with reference to FIG. In FIG. 1, the reproduced digital signal after passing through the preamplifier 3 is subjected to detection of a frame synchronization signal included in the reproduced signal by an SY0 to SY7 detection circuit 5, and SY (frame synchronization signal) for all of the synchronization signals SY0 to SY7. A timing pulse, each detection code of SY0 to SY7, a SY0 timing pulse for only the synchronization signal SY0, and a SY detection and non-detection timing pulse for which detection and non-detection determination are performed for all of the synchronization signals SY0 to SY7 are generated. The data demodulation circuit 4 synchronizes on a frame basis in accordance with the SY timing pulse among them, and performs demodulation processing on the frame data. The intra-sector address generation circuit 6 generates an intra-sector address corresponding to each reproduction frame from each of the detection codes SY0 to SY7, and outputs the generated address to the block address generation circuit 15. The sector ID detection circuit 7 detects the sector ID number, fetches 4 bytes of the sector ID and 2 bytes of the IED code from the data demodulated by the data demodulation circuit 4 in accordance with the SY0 timing pulse, and detects the data by calculating the IED code. The error of the sector ID is checked. The check result is output as a detection status, that is, a determination signal as to whether the ID has been detected or cannot be detected. Further, in some cases, the sector ID
Is subjected to a one-byte error correction process. The SY0 timing protection circuit 8 performs synchronization on a sector basis according to the SY0 timing pulse, and generates a SY0 timing pulse and a protection timing pulse on the assumption that SY0 has not been detected. The synchronization lock detection circuit 20 generates the SY
The number of times the (frame synchronization signal) is continuously detected or the number of consecutive undetected timings is counted to detect the SY synchronization lock state. For example, when the number of consecutive SY detections is set, if the number is equal to or higher than the lock-in level, it is determined that the data is synchronized with PLL synchronization, and the SY synchronization locked state is detected and output to the counter control circuit 10. When the number of consecutive SY undetections is set, if the lockout level is equal to or higher than the lockout level, it is determined that the data state is out of PLL synchronization, and the SY synchronization lock state is not detected. The system controller 16 monitors the detection status (determination of whether the ID has been detected or cannot be detected) from the sector ID detection circuit 7, and takes in the detected sector ID and sector detection information at that time when the ID is detected. If the difference between the target ID number and the detected ID number for the sector for transferring data to the memory is within one correction block,
A transfer enable signal is generated for the data transfer control circuit 17. The data transfer control circuit 17 starts data transfer from the first sector of the correction block by the transfer enable signal and the block switching timing pulse detected by the block switching detection circuit 14, and transfers the demodulated data to the memory 19 via the memory controller 18. I do. The block switching detection circuit 14 outputs the output I of the ID number interpolation counter 12.
Detects the lower 4 bits of 0 in the D number and generates a block switching timing pulse. The block address generation circuit 15 generates a block address in the correction block according to the value of the lower 4 bits of the ID number and the address in the sector, and outputs the block address to the memory controller 18. The memory controller 18 writes the demodulated data into the memory 19 using the block address.

【0013】ID番号補間カウンタ12が、本来、光デ
ィスク1に記録された正しいID番号と常に一致しない
と、つまりID番号の同期が取れないと、それに従って
動作するブロック切替検出回路14、ブロックアドレス
生成回路15が誤動作することになる。つまり、誤った
ブロック切替タイミングパルスが発生した場合はメモリ
19へ訂正ブロックの転送が正しく行われない。また、
誤ったブロックアドレスを生成した場合にはメモリマッ
プ上の誤った位置に復調データが書込まれることにな
る。つまり復調処理の後に行われる誤り訂正処理ができ
なくなる他に、ホストコンピュータなど周辺装置へ正し
いデータが転送できなくなる。
If the ID number interpolation counter 12 does not always match the correct ID number originally recorded on the optical disk 1, that is, if the ID numbers are not synchronized, the block switching detection circuit 14 that operates accordingly and the block address generation The circuit 15 malfunctions. That is, when an erroneous block switching timing pulse is generated, the transfer of the corrected block to the memory 19 is not performed correctly. Also,
If an erroneous block address is generated, demodulated data will be written to an erroneous position on the memory map. That is, the error correction process performed after the demodulation process cannot be performed, and correct data cannot be transferred to a peripheral device such as a host computer.

【0014】そこでID番号補間カウンタ12の出力が
光ディスクに記録された正しいID番号と同期をとるた
めの動作について、ピックアップが移動し、信号再生直
後の引込み動作と、引込んだ後の定常動作とに分けて説
明する。図3(a)〜図3(c)はセクタIDの引き込
み状態を説明するための模式図である。図3(a)〜図
3(c)はピックアップが移動し、信号の再生が開始さ
れ、セクタIDの検出が開始されてからID番号補間カ
ウンタ12に検出ID番号がロードされるまでの引込み
動作について、第1のID番号カウンタ9、第2のID
番号カウンタ11、ID番号補間カウンタ12の各動作
の一例を示している。図3(a)の第1の引込み動作例
において、再生セクタはn、n+1、…n+4(nは自
然数)のように順次変化するものとする。この例ではI
D検出ステータスがIDエラーからID検出状態に遷移
しかつ、同期ロック検出回路20でSY同期ロック状態
が検出された後、初めて検出されたID番号がn+1、
次に検出された番号がm(mは自然数)と誤検出、或い
は誤訂正された状態を想定している。カウンタ制御回路
10はSY同期ロック状態が検出され、かつID検出ス
テータスがIDエラーからID検出状態に遷移すると、
第1のID番号カウンタ9に検出ID番号n+1をロー
ドする命令を発生し、第1のID番号カウンタ9はn+
1をロードする。この後SY0タイミング保護回路8で
生成されるSY0検出、保護タイミングパルスに従い、
n+1を基にカウンタ値をインクリメント、すなわち再
生セクタ番号を1つだけプラスし、次セクタ以降のID
番号を予測する。カウンタ制御回路10は次に検出され
た検出ID番号mと、第1のID番号カウンタ9の値n
+1をインクリメントした後のn+2の予測値との一致
の判定を行う。この場合は一致しないので第2のID番
号カウンタ11に検出ID番号mをロードする命令を発
生し、第2のID番号カウンタ11はmをロードする。
この第2のID番号カウンタ11もSY0検出保護タイ
ミングパルスに従いカウンタ値をインクリメントし、m
を基に次セクタ以降のID番号を予測する。カウンタ制
御回路10は次に検出されたID番号n+3と第1のI
D番号カウンタ9の予測値n+3、ID番号n+3と第
2のID番号カウンタ11の予測値m+1との一致判定
を行う。本実施例では第1のID番号カウンタ9の予測
値と検出ID番号の一致が成立する。よって、カウンタ
制御回路10はその検出ID番号n+3をID番号補間
カウンタ12へロードする命令を発生して引込み動作を
終了する。
In order to synchronize the output of the ID number interpolation counter 12 with the correct ID number recorded on the optical disk, the pickup moves and the pull-in operation immediately after the signal reproduction and the steady operation after the pull-in operation. Will be described separately. FIGS. 3A to 3C are schematic diagrams for explaining a state of pulling in the sector ID. FIGS. 3A to 3C show the pull-in operation from when the pickup moves, the signal reproduction is started, and the detection of the sector ID is started until the detected ID number is loaded into the ID number interpolation counter 12. , The first ID number counter 9, the second ID
An example of each operation of the number counter 11 and the ID number interpolation counter 12 is shown. In the first pull-in operation example of FIG. 3A, it is assumed that the reproduction sectors sequentially change as n, n + 1,... N + 4 (n is a natural number). In this example I
After the D detection status transitions from the ID error to the ID detection state, and the SY synchronization lock state is detected by the synchronization lock detection circuit 20, the ID number detected for the first time is n + 1,
Next, it is assumed that the detected number is erroneously detected as m (m is a natural number) or erroneously corrected. When the SY synchronization lock state is detected and the ID detection status transits from the ID error to the ID detection state, the counter control circuit 10
An instruction to load the detected ID number n + 1 into the first ID number counter 9 is generated, and the first ID number counter 9 outputs n +
Load 1 Thereafter, according to the SY0 detection and protection timing pulse generated by the SY0 timing protection circuit 8,
Increment the counter value based on n + 1, that is, add only one reproduction sector number, and
Predict the number. The counter control circuit 10 determines the next detected ID number m and the value n of the first ID number counter 9.
A determination is made as to whether or not it matches the predicted value of n + 2 after incrementing +1. In this case, since they do not match, an instruction to load the detected ID number m into the second ID number counter 11 is generated, and the second ID number counter 11 loads m.
The second ID number counter 11 also increments the counter value according to the SY0 detection protection timing pulse, and
Is predicted on the basis of the following. The counter control circuit 10 determines the next detected ID number n + 3 and the first I
A match between the predicted value n + 3 and the ID number n + 3 of the D number counter 9 and the predicted value m + 1 of the second ID number counter 11 is determined. In this embodiment, a match between the predicted value of the first ID number counter 9 and the detected ID number is established. Therefore, the counter control circuit 10 issues an instruction to load the detected ID number n + 3 into the ID number interpolation counter 12, and ends the pull-in operation.

【0015】図3(b)に示す第3の引込み動作例にお
いては、ID検出ステータスが検出状態に遷移し、かつ
同期ロック検出回路20でSY同期ロック状態が検出さ
れた後、ID番号n+1が検出され、その後、IDエラ
ーが発生し、再度ID検出に遷移した際の検出ID番号
mが誤検出或いは誤訂正された場合を想定している。カ
ウンタ制御回路10は検出ステータスがID検出となっ
た時点で検出ID番号n+1を第1のID番号カウンタ
9にロード、n+1を基に次セクタ以降のID番号を予
測する。カウンタ制御回路10は次に検出ステータスが
ID検出となった時点で第1のID番号カウンタ9の予
測値n+3と検出ID番号mとの一致判定を行う。この
場合は一致しないので、第2のID番号カウンタ11に
検出ID番号mをロードし、mを基に次セクタ以降のI
D番号を予測する。カウンタ制御回路10は次に検出さ
れた検出ID番号n+4と第1のID番号カウンタ9の
予測値n+4、ID検出番号n+4と第2のID番号カ
ウンタ11の予測値m+1との一致判定を行う。この場
合は第1のID番号カウンタ9の予測値と検出ID番号
の一致が成立する。よって、カウンタ制御回路10はそ
の検出ID番号n+4をID番号補間カウンタ12にロ
ードする命令を発生して引込み動作を終了する。
In the third example of the pull-in operation shown in FIG. 3B, after the ID detection status transits to the detection state, and the SY synchronization lock state is detected by the synchronization lock detection circuit 20, the ID number n + 1 is changed to the detection state. It is assumed that the detected ID number m has been detected, and then an ID error has occurred, and the detection ID number m at the time of transition to the ID detection is erroneously detected or erroneously corrected. The counter control circuit 10 loads the detected ID number n + 1 into the first ID number counter 9 when the detection status becomes ID detection, and predicts the ID numbers of the next sector and the subsequent sectors based on n + 1. The counter control circuit 10 then determines whether the predicted value n + 3 of the first ID number counter 9 matches the detected ID number m when the detection status becomes ID detection. In this case, since they do not match, the detected ID number m is loaded into the second ID number counter 11 and the I
Predict the D number. The counter control circuit 10 determines whether the detected ID number n + 4 detected next matches the predicted value n + 4 of the first ID number counter 9 and the detected ID number n + 4 matches the predicted value m + 1 of the second ID number counter 11. In this case, a match between the predicted value of the first ID number counter 9 and the detected ID number is established. Therefore, the counter control circuit 10 issues a command to load the detected ID number n + 4 into the ID number interpolation counter 12, and ends the pull-in operation.

【0016】図3(c)は第3の引込み動作例において
は、ID検出ステータスが検出状態に遷移し、かつ同期
ロック検出回路20でSY同期ロック状態が検出された
後、ID番号mが誤検出或いは誤訂正され、その後ID
番号n+2の検出後IDエラーが発生し、再度ID検出
状態に遷移した場合を想定している。カウンタ制御回路
10は検出ステータスがID検出となった時点でID番
号mを第1のID番号カウンタ9にロードし、このカウ
ンタ9はmを基に次セクタ以降のID番号を予測する。
カウンタ制御回路10は第1のIDカウンタ9の予測値
m+1と検出ID番号n+2との一致判定を行うが、こ
の場合は一致しないので、第2のID番号カウンタ11
に検出ID番号n+2をロードし、n+2を基に次セク
タ以降のID番号を予測する。そしてIDエラーから再
度ID検出状態に遷移した後カウンタ制御回路10は次
に検出された検出ID番号n+4と第1のID番号カウ
ンタ9の予測値m+3、検出ID番号n+4と第2のI
D番号カウンタ11の予測値n+4の一致判定を行う。
この場合は第2のID番号カウンタ11の予測値と検出
ID番号の一致が成立するため、カウンタ制御回路10
はその検出ID番号n+4をID番号補間カウンタ12
にロードする命令を発生し引込み動作を終了する。
FIG. 3C shows that in the third example of the pull-in operation, after the ID detection status transits to the detection state and the SY synchronization lock state is detected by the synchronization lock detection circuit 20, the ID number m is incorrect. Detected or incorrectly corrected, then ID
It is assumed that an ID error occurs after the detection of the number n + 2, and the state transits to the ID detection state again. The counter control circuit 10 loads the ID number m into the first ID number counter 9 when the detection status becomes ID detection, and the counter 9 predicts the ID numbers of the next sector and thereafter based on m.
The counter control circuit 10 determines whether or not the predicted value m + 1 of the first ID counter 9 matches the detected ID number n + 2. In this case, since the values do not match, the second ID number counter 11
Is loaded with the detection ID number n + 2, and the ID numbers of the next sector and thereafter are predicted based on n + 2. After transiting again from the ID error to the ID detection state, the counter control circuit 10 determines the next detected ID number n + 4, the predicted value m + 3 of the first ID number counter 9, the detected ID number n + 4, and the second I
The coincidence of the predicted value n + 4 of the D number counter 11 is determined.
In this case, since the match between the predicted value of the second ID number counter 11 and the detected ID number is established, the counter control circuit 10
Indicates the detected ID number n + 4 as the ID number interpolation counter 12
Is issued, and the pull-in operation ends.

【0017】以上説明した動作例を含んだ引き込み動作
フローを図4のフローチャートを用いて説明する。図4
は本発明によるID番号検出保護方法およびその回路の
一実施例を示すフローチャートである。ステップ301
において光ディスク1に対してピックアップ2がアクセ
スしてで信号再生が開始される。信号の再生が開始され
ると、ステップ302に示すように、SY0〜SY7検
出回路5とセクタID検出回路7で同期信号SY0の検
出とそれに基づくセクタIDの検出が行われる。同期信
号SY0が検出されると、ステップ303ではそれに基
づいてSY0タイミング保護回路8でSY0タイミング
パルスの同期化が行われ、ID検出ステータスがID検
出ならば第1のID番号カウンタ9に検出ID番号をロ
ードする。第1のID番号カウンタ9にID番号がロー
ドされると、ステップ304に示すように、次セクタに
対するセクタID検出処理を行う。ステップ305で次
セクタのID検出ステータスがIDエラーと判定される
と、ステップ317において、SY同期ロック検出状態
を判定し、同期ロック検出ならば、ステップ306で前
セクタのSY0検出より生成されたSY0保護タイミン
グパルスで第1のID番号カウンタ9の値をインクリメ
ントしステップ304に戻り、再度セクタID検出処理
を行う。ステップ317でSY同期ロックが未検出であ
れば、再度ステップ302に処理を移して引込み動作を
やり直す。ステップ305でID検出ステータスがID
検出と判定されると、ステップ307に移行しそのセク
タで検出されたSY0タイミングパルスでSY0検出保
護タイミングパルスの同期化を行い、第1のID番号カ
ウンタ9の値をインクリメントする。そして、ステップ
308でインクリメント後のカウンタ値と検出ID番号
との一致判定を行い、一致が成立した場合、ステップ3
16に移行し、ここでその時の検出ID番号をID番号
補間カウンタ12にロードして引込み動作を終了する。
ステップ308で第1のカウンタ9の値と検出したID
番号が一致しないのであれば、ステップ309において
その時の検出ID番号を第2のID番号カウンタ11に
ロードし、ステップ310において次セクタに対するセ
クタID検出処理を行う。ステップ311において次セ
クタのID検出ステータスがIDエラーと判定された場
合、ステップ318に進み、ここでSY同期ロック検出
状態を判定し、同期ロックが検出されたならば、ステッ
プ312で前セクタのSY0検出より生成されたSY0
保護タイミングパルスで第1のID番号カウンタ9、第
2のID番号カウンタ11の値をそれぞれインクリメン
トした後、ステップ310のセクタID検出処理に戻
る。ステップ318でSY同期ロックが未検出の場合に
は再度ステップ302の処理に戻って引込み動作をやり
直す。
The pull-in operation flow including the operation example described above will be described with reference to the flowchart of FIG. FIG.
5 is a flowchart showing an embodiment of an ID number detection protection method and circuit according to the present invention. Step 301
Then, the pickup 2 accesses the optical disc 1 to start signal reproduction. When the reproduction of the signal is started, as shown in step 302, the SY0 to SY7 detection circuit 5 and the sector ID detection circuit 7 detect the synchronization signal SY0 and the sector ID based thereon. When the synchronizing signal SY0 is detected, in step 303, the SY0 timing pulse is synchronized by the SY0 timing protection circuit 8 based on the detection. To load. When the ID number is loaded into the first ID number counter 9, a sector ID detection process for the next sector is performed as shown in step 304. If it is determined in step 305 that the ID detection status of the next sector is an ID error, then in step 317, the SY synchronization lock detection state is determined. The value of the first ID number counter 9 is incremented by the protection timing pulse, the process returns to step 304, and the sector ID detection process is performed again. If the SY synchronization lock has not been detected in step 317, the process proceeds to step 302 again, and the pull-in operation is performed again. In step 305, the ID detection status is ID
If the detection is determined, the process proceeds to step 307 to synchronize the SY0 detection protection timing pulse with the SY0 timing pulse detected in the sector, and increments the value of the first ID number counter 9. Then, in step 308, it is determined whether or not the incremented counter value matches the detection ID number.
The process then proceeds to step 16, where the detected ID number at that time is loaded into the ID number interpolation counter 12, and the pull-in operation ends.
In step 308, the value of the first counter 9 and the detected ID
If the numbers do not match, the detected ID number at that time is loaded into the second ID number counter 11 in step 309, and a sector ID detection process for the next sector is performed in step 310. If it is determined in step 311 that the ID detection status of the next sector is an ID error, the process proceeds to step 318. Here, the SY synchronization lock detection state is determined. SY0 generated from detection
After the values of the first ID number counter 9 and the second ID number counter 11 are respectively incremented by the protection timing pulse, the process returns to the sector ID detection processing of step 310. If the SY synchronization lock has not been detected in step 318, the process returns to step 302 and the pull-in operation is performed again.

【0018】ステップ311でセクタステータスがID
検出と判定されれば、ステップ313に進み、そのセク
タで検出されたSY0タイミングパルスでSY0検出保
護タイミングパルスの同期化を行い、第1のID番号カ
ウンタ9、第2のID番号カウンタ11の値をそれぞれ
インクリメントする。そして、ステップ314でインク
リメント後の第1のカウンタ9の値と検出ID番号とが
一致しているか否かの判定を行い、ステップ315にお
いて第2のカウンタ11の値と検出ID番号との一致判
定を行う。検出ID番号と第1のID番号カウンタ9の
値、或いは第2のID番号カウンタ11の値の一致が成
立すれば、ステップ316において、その検出ID番号
をID番号補間カウンタ12にロードして引込み動作を
終了する。検出ID番号が第1、或いは第2のカウンタ
9、11の値と一致が成立しなければ、再度ステップ3
02に処理を移し引込み動作をやり直す。
In step 311, the sector status is ID.
If the detection is determined, the process proceeds to step 313 to synchronize the SY0 detection protection timing pulse with the SY0 timing pulse detected in the sector, and the values of the first ID number counter 9 and the second ID number counter 11 are read. Are respectively incremented. Then, in step 314, it is determined whether or not the value of the first counter 9 after the increment matches the detection ID number, and in step 315, it is determined whether the value of the second counter 11 matches the detection ID number. I do. If the detected ID number and the value of the first ID number counter 9 or the value of the second ID number counter 11 match, then in step 316, the detected ID number is loaded into the ID number interpolation counter 12 and pulled in. End the operation. If the detection ID number does not coincide with the value of the first or second counter 9 or 11, the process returns to step 3
02, and the pull-in operation is performed again.

【0019】以下に、図3、図4で説明した引込み動作
で、検出ID番号と第1のID番号カウンタ9の予測値
との一致成立でID番号補間カウンタ12に検出ID番
号がロードされた場合の定常時動作の一例を図5を用い
て説明する。図5(a)〜図5(c)は定常時のID番
号の検出保護の実施例を示す模式図である。図5(a)
に示す第1の定常時動作例はID検出ステータスが常に
ID検出状態で、かつSY同期ロックが常に検出状態で
あるが、検出ID番号n+1の次に検出されたID番号
がmと誤検出、或いは誤訂正される場合を想定してい
る。第1のID番号カウンタ9は先に説明した引込み動
作で検出ID番号とカウンタ値の同期が取れている状態
であり、第2のID番号カウンタ11は検出ID番号と
は不一致の状態にある。誤検出或いは誤訂正ID番号m
が検出されると、カウンタ制御回路10は第1のID番
号カウンタ9の値と検出ID番号とが不一致と判定し、
第2のID番号カウンタ11に検出ID番号mのロード
命令を発生し、ID番号補間カウンタ12にカウンタ値
のインクリメント命令を発生する。その命令に従い第2
のID番号カウンタ11は検出ID番号mをロードし、
ID番号補間カウンタ12はSY0タイミングパルスに
従がってカウンタ値をインクリメントする。カウンタ制
御回路10は次の検出ID番号n+3と第1のID番号
カウンタ9の予測値n+3、第2のID番号カウンタ1
1の予測値m+1に対しそれぞれ一致しているか否かの
判定を行う。この実施例においては第1のID番号カウ
ンタ9の予測値と検出ID番号が再度一致するので、I
D番号補間カウンタ12に対して検出ID番号n+3を
ロードする命令を発生する。よって検出ID番号とID
番号補間カウンタ値の同期化が再度行われる。
In the following, in the pull-in operation described with reference to FIGS. 3 and 4, the detection ID number is loaded into the ID number interpolation counter 12 when the detection ID number matches the predicted value of the first ID number counter 9. An example of the normal operation in such a case will be described with reference to FIG. FIGS. 5A to 5C are schematic diagrams showing an embodiment of ID number detection protection in a steady state. FIG. 5 (a)
In the first steady-state operation example shown in the above, the ID detection status is always the ID detection state, and the SY synchronization lock is always the detection state, but the ID number detected next to the detection ID number n + 1 is erroneously detected as m, Alternatively, it is assumed that an error is corrected. The first ID number counter 9 is in a state where the detection ID number and the counter value are synchronized by the pull-in operation described above, and the second ID number counter 11 is in a state where the detection ID number does not match. Misdetection or miscorrection ID number m
Is detected, the counter control circuit 10 determines that the value of the first ID number counter 9 does not match the detected ID number,
The second ID number counter 11 generates a load instruction of the detected ID number m, and the ID number interpolation counter 12 generates a counter value increment instruction. The second according to the order
ID number counter 11 loads detection ID number m,
The ID number interpolation counter 12 increments the counter value according to the SY0 timing pulse. The counter control circuit 10 calculates the next detected ID number n + 3, the predicted value n + 3 of the first ID number counter 9, the second ID number counter 1
A determination is made as to whether or not each of them matches the prediction value m + 1 of 1. In this embodiment, the predicted value of the first ID number counter 9 matches the detected ID number again,
An instruction to load the detection ID number n + 3 to the D number interpolation counter 12 is generated. Therefore, the detection ID number and ID
The synchronization of the number interpolation counter value is performed again.

【0020】図5(b)に示す第1の定常時動作例はS
Y同期ロックが常に検出状態で、ID検出ステータスが
途中でIDエラーに遷移し、再度ID検出に遷移した検
出ID番号mが誤検出或いは誤訂正された場合を想定し
ている。ID番号補間カウンタ12は検出ステータスが
IDエラーと判定されるとSY0保護タイミングパルス
でカウンタ値のインクリメントを行い補間動作を行う。
カウンタ制御回路10はID番号mの検出が行われると
第1のID番号カウンタ9の予測値と検出ID番号の一
致判定から不一致と判定し、第2のID番号カウンタ1
1に検出ID番号mをロードする命令を発生すると共
に、ID番号補間カウンタ12に対しインクリメント命
令を発生する。カウンタ制御回路10は次の検出ID番
号n+4と第1のID番号カウンタ9の予測値n+4、
第2のID番号カウンタ11の予測値m+1に対してそ
れぞれ一致判定を行う。この実施例では第1のID番号
カウンタ9の予測値と検出ID番号の一致が成立するの
で、ID番号補間カウンタ12に対して検出ID番号n
+4をロードするよう命令を発生する。
The first steady state operation example shown in FIG.
It is assumed that the Y synchronization lock is always in the detection state, the ID detection status changes to an ID error in the middle, and the detection ID number m that has changed to the ID detection again is erroneously detected or erroneously corrected. When the detection status is determined to be an ID error, the ID number interpolation counter 12 performs an interpolation operation by incrementing the counter value with the SY0 protection timing pulse.
When the detection of the ID number m is performed, the counter control circuit 10 determines that the predicted value of the first ID number counter 9 and the detected ID number do not match from each other, and the second ID number counter 1
1 and a command to load the detection ID number m, and an increment command to the ID number interpolation counter 12 are generated. The counter control circuit 10 calculates the next detected ID number n + 4 and the predicted value n + 4 of the first ID number counter 9,
A match is determined for each predicted value m + 1 of the second ID number counter 11. In this embodiment, since the match between the predicted value of the first ID number counter 9 and the detection ID number is established, the detection number ID n
Generate an instruction to load +4.

【0021】図5(c)に示す第3の定常時動作例はS
Y同期ロックが常に検出状態で、検出ID番号mが誤検
出或いは誤訂正され、更にその次のセクタに対する検出
ステータスにIDエラーが発生した場合を想定してい
る。カウンタ制御回路10はID番号mの検出が行われ
ると第1のID番号カウンタ9の予測値と検出ID番号
の一致判定から不一致と判定し、第2のID番号カウン
タ11に検出ID番号mをロードする命令を発生すると
共に、ID番号補間カウンタ12に対しインクリメント
命令を発生する。次のセクタで検出ステータスがIDエ
ラーと判定されるとID番号補間カウンタ12はSY0
保護タイミングパルスでインクリメントを行い補間動作
を行う。カウンタ制御回路10は次の検出ID番号n+
4と第1のID番号カウンタ9の予測値n+4、第2の
ID番号カウンタ11の予測値m+2に対してそれぞれ
一致判定を行う。この実施例では第1のID番号カウン
タ9の予測値と検出ID番号の一致が成立するので、I
D番号補間カウンタ12に対して検出ID番号n+4を
ロードするよう命令を発生する。
The third example of the normal operation shown in FIG.
It is assumed that the Y synchronous lock is always in the detection state, the detection ID number m is erroneously detected or erroneously corrected, and an ID error occurs in the detection status for the next sector. When the detection of the ID number m is performed, the counter control circuit 10 determines that the prediction value of the first ID number counter 9 and the detected ID number do not match from each other, and determines the detection ID number m in the second ID number counter 11. A load instruction is generated, and an increment instruction for the ID number interpolation counter 12 is generated. If the detection status is determined to be an ID error in the next sector, the ID number interpolation counter 12 sets SY0
Increment is performed by the protection timing pulse to perform the interpolation operation. The counter control circuit 10 determines the next detection ID number n +
4 and the predicted value n + 4 of the first ID number counter 9 and the predicted value m + 2 of the second ID number counter 11, respectively. In this embodiment, since the match between the predicted value of the first ID number counter 9 and the detected ID number is established, I
An instruction is issued to the D number interpolation counter 12 to load the detection ID number n + 4.

【0022】図6は本発明による定常時のID番号検出
保護動作を示す第2のフローチャートであり、図7は本
発明による定常時のID番号検出保護動作を示す第1の
フローチャートである。図7においては、検出ID番号
と第2のID番号カウンタ11の予測値との一致成立で
ID番号補間カウンタ12に検出ID番号がロードされ
た場合の定常時動作をフローチャート形式で示してい
る。図5(a)〜図5(c)の模式図を用いて説明した
定常時の動作例を含んだ動作フローをについて説明す
る。図6は起動動作時、検出ID番号と第1のID番号
カウンタ9との一致判定が成立し、その検出ID番号が
ID番号補間カウンタ12にロードされた後の定常動作
を示す。ステップ501でセクタIDの検出処理後、ス
テップ502に移項し、ここでID検出ステータスがI
Dエラーと判定されたのであれば、ステップ515でS
Y同期ロック検出状態を判定し、同期ロック検出なら
ば、ステップ503で前セクタのSY0検出より生成さ
れたSY0保護タイミングパルスで第1のID番号カウ
ンタ9、ID番号補間カウンタ12のそれぞれに対して
インクリメントし、ステップ501に戻る。ステップ5
15でSY同期ロックが未検出であれば、図4で説明し
た引込み動作へ移る。ステップ502でセクタステータ
スがID検出と判定されれば、ステップ504そのセク
タでのSY0タイミングパルスでSY0検出保護タイミ
ングパルスの同期化を行い、第1のID番号カウンタ9
の値をインクリメントする。ステップ505ではインク
リメント後の第1のカウンタ9の値と検出ID番号との
一致判定を行い、一致が成立した場合、ステップ506
において、その検出ID番号をID番号補間カウンタ1
2に再ロードした後、ステップ501に戻る。ステップ
505で一致が不成立であれば、ステップ507におい
て、その検出ID番号を第2のID番号カウンタ11に
ロードし更に、ステップ508で次セクタに対するセク
タID検出処理に移る。ステップ509で次セクタの検
出ステータスがIDエラーと判定されたのであれば、ス
テップ516でSY同期ロック検出状態を判定し、同期
ロック検出ならばステップ510で前セクタのSY0検
出より生成されたSY0保護タイミングパルスで第1の
ID番号カウンタ9、第2のID番号カウンタ11とI
D番号補間カウンタ12それぞれをインクリメントし、
ステップ508のセクタID検出処理に戻る。ステップ
516でSY同期ロックが未検出であれば、図4で説明
した引込み動作へ移る。ステップ509でセクタステー
タスがID検出と判定されれば、ステップ511に移行
し、そのセクタのSY0タイミングパルスでSY0検出
保護タイミングパルスの同期化を行い、第1のID番号
カウンタ9、第2のID番号カウンタ11をそれぞれイ
ンクリメントし、ステップ512でインクリメント後の
第1のカウンタ9の値とID番号の一致を判定し、ステ
ップ513で第2のカウンタ11の値と検出ID番号と
の一致判定を行う。検出ID番号と第1のID番号カウ
ンタ9の値の一致が成立したのであれば、ステップ50
6の処理に移る。検出ID番号と第2のID番号カウン
タ11の値の一致が成立したのであれば、ステップ51
4でその検出ID番号をID番号補間カウンタ12にロ
ードし、第2のID番号カウンタ11の値と検出ID番
号で一致判定を行う第2の定常動作(図7)の処理に移
る。検出ID番号が第1、第2のカウンタ9、11の値
と一致しなければ、図4の引込み動作へ移る。
FIG. 6 is a second flowchart showing an ID number detection and protection operation in a steady state according to the present invention, and FIG. 7 is a first flowchart showing an ID number detection and protection operation in a steady state according to the present invention. FIG. 7 is a flowchart illustrating the steady-state operation when the detected ID number is loaded into the ID number interpolation counter 12 when the detection ID number matches the predicted value of the second ID number counter 11. An operation flow including the operation example in the normal state described with reference to the schematic diagrams of FIGS. 5A to 5C will be described. FIG. 6 shows a steady state operation after the detection ID number and the first ID number counter 9 are determined to coincide with each other and the detected ID number is loaded into the ID number interpolation counter 12 at the time of the start-up operation. After detecting the sector ID in step 501, the process proceeds to step 502, where the ID detection status is I
If it is determined that the error is a D error, S 515 is executed in step 515.
The Y synchronous lock detection state is determined. If the synchronous lock is detected, in step 503, the first ID number counter 9 and the ID number interpolation counter 12 are supplied to the SY0 protection timing pulse generated from the SY0 detection of the previous sector. Increment and return to step 501. Step 5
If the SY synchronization lock is not detected at 15, the process proceeds to the pull-in operation described with reference to FIG. If it is determined in step 502 that the sector status is ID detection, step 504 synchronizes the SY0 detection protection timing pulse with the SY0 timing pulse in that sector, and outputs the first ID number counter 9
Increments the value of. At step 505, it is determined whether or not the value of the first counter 9 after the increment is equal to the detection ID number.
, The detected ID number is assigned to the ID number interpolation counter 1
After reloading to step 2, the process returns to step 501. If the match is not established in step 505, the detected ID number is loaded into the second ID number counter 11 in step 507, and the process proceeds to the sector ID detection processing for the next sector in step 508. If the detection status of the next sector is determined to be an ID error in step 509, the SY synchronization lock detection state is determined in step 516. If the synchronization lock is detected, the SY0 protection generated from the SY0 detection of the previous sector is detected in step 510. The first ID number counter 9, the second ID number counter 11 and I
Each of the D number interpolation counters 12 is incremented,
The process returns to the step 508 for detecting the sector ID. If the SY synchronization lock has not been detected in step 516, the process proceeds to the pull-in operation described with reference to FIG. If it is determined in step 509 that the sector status is ID detection, the flow shifts to step 511 to synchronize the SY0 detection protection timing pulse with the SY0 timing pulse of the sector, and the first ID number counter 9 and the second ID The number counters 11 are each incremented. At step 512, it is determined whether the value of the first counter 9 after the increment matches the ID number, and at step 513, it is determined whether the value of the second counter 11 matches the detected ID number. . If the detected ID number and the value of the first ID number counter 9 match, the process proceeds to step 50.
Move to processing of 6. If the detected ID number and the value of the second ID number counter 11 match, step 51
In step 4, the detected ID number is loaded into the ID number interpolation counter 12, and the process proceeds to the second steady-state operation (FIG. 7) for determining whether the value of the second ID number counter 11 matches the detected ID number. If the detected ID numbers do not match the values of the first and second counters 9 and 11, the process proceeds to the pull-in operation of FIG.

【0023】次に、図7のフローチャートについて説明
する。図7は起動動作時、検出ID番号と第2のID番
号カウンタ11との一致判定が成立し、その検出ID番
号がID番号補間カウンタ12へロードされた後の定常
動作を示す。ステップ601のセクタIDの検出処理
後、ステップ602でID検出ステータスがIDエラー
と判定されたのであれば、ステップ615でSY同期ロ
ック検出状態を判定し、同期ロック検出ならばステップ
603で前セクタのSY0検出により生成されたSY0
保護タイミングパルスで第2のID番号カウンタ11、
ID番号補間カウンタ12のそれぞれに対してインクリ
メントし、ステップ601に戻る。ステップ615でS
Y同期ロックが未検出であれば、図4で説明した引込み
動作へ移る。ステップ602でセクタステータスがID
検出と判定されれば、ステップ604でそのセクタでの
SY0タイミングパルスでSY0検出保護タイミングパ
ルスの同期化を行い、第2のID番号カウンタ11の値
をインクリメントする。ステップ605ではインクリメ
ント後の第2のカウンタ11の値と検出ID番号との一
致判定を行い、一致が成立したなら、ステップ606で
その検出ID番号をID番号補間カウンタ12に再ロー
ドし、ステップ601に戻る。ステップ605で一致が
不成立であれば、ステップ607において、その検出I
D番号を第1のID番号カウンタ9にロードし、更に、
ステップ608で次セクタに対するセクタID検出処理
に移る。ステップ609で次セクタの検出ステータスが
IDエラーと判定されたのであれば、ステップ616で
SY同期ロック検出状態を判定し、同期ロック検出なら
ば、ステップ610で前セクタのSY0検出より生成さ
れたSY0保護タイミングパルスで第1のID番号カウ
ンタ9、第2のID番号カウンタ11とID番号補間カ
ウンタ12のそれぞれをインクリメントし、ステップ6
08のセクタID検出処理に戻る。ステップ616でS
Y同期ロックが未検出であれば、図4で説明した引込み
動作へ移る。ステップ609でセクタステータスがID
検出と判定されればステップ611でそのセクタのSY
0タイミングパルスでSY0検出保護タイミングパルス
の同期化を行い、第1のID番号カウンタ9、第2のI
D番号カウンタ11をそれぞれインクリメントし、それ
ぞれステップ612、613において、インクリメント
後のそれぞれのカウンタ値と検出ID番号との一致判定
を行う。検出ID番号と第2のID番号カウンタ11の
値の一致が成立したのであれば、ステップ606の処理
に移る。検出ID番号と第1のID番号カウンタ9の値
の一致が成立したのであれば、ステップ614におい
て、その検出ID番号をID番号補間カウンタ12にロ
ードし、第1のID番号カウンタ9の値と検出ID番号
で一致判定を行う定常動作1(図6)の処理に移る。検
出ID番号が検出ID番号がカウンタ1、2の値と一致
しなければ、図4の引込み動作へ移る。
Next, the flowchart of FIG. 7 will be described. FIG. 7 shows a steady operation after the coincidence determination between the detected ID number and the second ID number counter 11 is established at the time of the start-up operation, and the detected ID number is loaded into the ID number interpolation counter 12. After the detection of the sector ID in step 601, if the ID detection status is determined to be an ID error in step 602, the SY synchronization lock detection state is determined in step 615. SY0 generated by SY0 detection
With the protection timing pulse, the second ID number counter 11,
It increments for each of the ID number interpolation counters 12 and returns to step 601. S in step 615
If the Y synchronization lock has not been detected, the process proceeds to the pull-in operation described with reference to FIG. In step 602, the sector status is ID
If the detection is determined, in step 604, the SY0 detection protection timing pulse is synchronized with the SY0 timing pulse in the sector, and the value of the second ID number counter 11 is incremented. At step 605, a match between the value of the second counter 11 after the increment and the detected ID number is determined, and if a match is established, the detected ID number is reloaded into the ID number interpolation counter 12 at step 606. Return to If the match is not established in step 605, the detection I is detected in step 607.
Load the D number into the first ID number counter 9;
In step 608, the process proceeds to a sector ID detection process for the next sector. If it is determined in step 609 that the detection status of the next sector is an ID error, the SY synchronization lock detection state is determined in step 616. Each of the first ID number counter 9, the second ID number counter 11, and the ID number interpolation counter 12 is incremented by the protection timing pulse.
The process returns to the 08 sector ID detection process. S in step 616
If the Y synchronization lock has not been detected, the process proceeds to the pull-in operation described with reference to FIG. In step 609, the sector status is ID
If the detection is determined, the SY of the sector is determined in step 611.
The SY0 detection protection timing pulse is synchronized with the 0 timing pulse, and the first ID number counter 9 and the second I
The D number counter 11 is incremented, and in steps 612 and 613, it is determined whether each of the incremented counter value matches the detected ID number. If a match between the detected ID number and the value of the second ID number counter 11 is established, the process proceeds to step 606. If the detection ID number and the value of the first ID number counter 9 match, the detection ID number is loaded into the ID number interpolation counter 12 in step 614, and the value of the first ID number counter 9 is compared with the value of the first ID number counter 9. The process proceeds to the process of the regular operation 1 (FIG. 6) for performing the match determination using the detection ID number. If the detection ID numbers do not match the values of the counters 1 and 2, the flow proceeds to the pull-in operation of FIG.

【0024】以上のように本発明の第1の実施例におい
ては、IDエラー状態からID検出状態に遷移する引込
み動作時、及び引込み動作後の検出ID番号を一旦ID
番号補間カウンタ12にロードした後の定常動作時にお
いて、ID番号の誤検出、誤訂正が含まれ、またそれに
ID未検出が加わってもID番号補間カウンタ12には
常に正しいID番号がロードされるため、そのカウンタ
値より生成されるブロック切替タイミングパルス、ブロ
ック内アドレスが常に正しく生成され、メモリへの訂正
ブロック書込みを正しく行うことができる。またID番
号の誤検出、誤訂正が含まれ、またはID未検出が含ま
れる検出状態において、正しいID番号の検出時点でそ
のID番号が正しいと判定できるため、引込み動作時は
ID番号の引込みに要する経過セクタ数を最小限に抑え
た引き込み動作を行うことが可能である。更に定常動作
時はID番号補間カウンタ12が補間動作する経過セク
タ数を最小に抑えた定常動作を行うことが可能で、補間
動作時の補間値に従ったブロック切替タイミングパル
ス、ブロックアドレス生成を最小限に抑え、検出ID番
号に従った信頼性の高い動作を行うことができる。
As described above, in the first embodiment of the present invention, at the time of the pull-in operation in which the state transitions from the ID error state to the ID detection state, and the detection ID number after the pull-in operation is temporarily set to the ID.
During normal operation after loading into the number interpolation counter 12, erroneous detection and correction of the ID number are included, and the ID number interpolation counter 12 is always loaded with the correct ID number even if ID non-detection is added thereto. Therefore, the block switching timing pulse and the address in the block generated from the counter value are always generated correctly, and the correct block writing to the memory can be performed correctly. Further, in a detection state in which erroneous ID number detection, erroneous correction, or undetected ID is included, the ID number can be determined to be correct at the time of detection of a correct ID number. It is possible to perform a pull-in operation in which the required number of elapsed sectors is minimized. Further, during the steady operation, the ID number interpolation counter 12 can perform the steady operation in which the number of elapsed sectors in which the interpolation operation is performed is minimized. The operation can be performed with high reliability according to the detection ID number.

【0025】図8は本発明によるID番号検出保護回路
の第2の実施例を示すブロック図であり、図8において
はカウンタ制御回路10よりシステムコントローラ16
に対してID番号カウンタ、検出ID番号一致割り込み
信号を追加した点が図1の実施例と相違する。図3にお
いて、図1と共通の部分については同一の参照番号を付
し、その説明を省略する。セクタIDの検出から第1、
第2のID番号カウンタ9、11の動作、ID番号補間
カウンタ12の動作、ブロック切替タイミングパルス、
ブロック内アドレス生成、ブロック単位での復調データ
転送の動作は図1と同じである。引込み動作時、或いは
定常動作時、検出ID番号と第1のID番号カウンタ9
あるいは第2のID番号カウンタ11との一致判定が成
立するとカウンタ制御回路10からはID番号補間カウ
ンタ12に検出ID番号をロードする命令を生成する他
に、ID番号カウンタ値、検出ID番号一致割り込み信
号をシステムコントローラ16に対して出力する。シス
テムコントローラ16はこの割込み信号に呼応して、セ
クタID検出回路7で検出されたその時の検出セクタI
D(セクタ情報、ID番号)と検出ステータスを読み取
り、アクセス目標のセクタに対する目標ID番号との比
較からデータ転送制御回路17に対して転送イネーブル
信号を生成する。データ転送制御回路17は転送イネー
ブル信号とブロック切替タイミングパルスに従い訂正ブ
ロック単位の復調データをメモリコントローラ18を介
してメモリ19に転送する。
FIG. 8 is a block diagram showing a second embodiment of the ID number detection and protection circuit according to the present invention. In FIG.
1 in that an ID number counter and a detection ID number match interrupt signal are added to the embodiment of FIG. In FIG. 3, the same parts as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted. First from the detection of the sector ID,
Operation of the second ID number counters 9 and 11, operation of the ID number interpolation counter 12, block switching timing pulse,
The operations of generating addresses in blocks and transferring demodulated data in block units are the same as those in FIG. At the time of the retracting operation or the steady operation, the detection ID number and the first ID number counter 9
Alternatively, when a match with the second ID number counter 11 is determined, the counter control circuit 10 generates an instruction to load the detected ID number into the ID number interpolation counter 12, and generates an ID number counter value and a detected ID number match interrupt. The signal is output to the system controller 16. In response to this interrupt signal, the system controller 16 responds to this interrupt signal by detecting the current detected sector I detected by the sector ID detection circuit 7.
D (sector information, ID number) and the detection status are read, and a transfer enable signal is generated to the data transfer control circuit 17 based on a comparison with the target ID number for the sector to be accessed. The data transfer control circuit 17 transfers the demodulated data in correction block units to the memory 19 via the memory controller 18 according to the transfer enable signal and the block switching timing pulse.

【0026】以上のように本発明の第2の構成例におい
ては、ID番号補間カウンタ12に正しいID番号がロ
ードされ、正しくブロック切替タイミングパルス、ブロ
ック内アドレスが生成された後で復調データの転送制御
を開始することになるので、メモリ19への訂正ブロッ
クデータの転送を正しく行うことができる。更にシステ
ムコントローラ16はこの割込み信号に従い、検出セク
タIDと目標セクタIDとの比較処理のみで転送イネー
ブル信号を生成し、復調データの転送が可能となるの
で、割り込み信号が無い場合に比べシステムコントロー
ラ16における処理の負担が軽減される。つまりシステ
ムコントローラ16の処理占有率を低減することができ
る。また、システムコントローラ16を制御するソフト
ウエア記述量が抑えられ、そのソフトウエアを記憶する
ROM等の記憶手段の容量が削減できる。
As described above, in the second embodiment of the present invention, the transfer of the demodulated data after the correct ID number is loaded into the ID number interpolation counter 12 and the block switching timing pulse and the address in the block are correctly generated. Since the control is started, the transfer of the corrected block data to the memory 19 can be performed correctly. Further, the system controller 16 generates a transfer enable signal only by comparing the detected sector ID and the target sector ID in accordance with the interrupt signal, and enables the transfer of the demodulated data. , The processing load is reduced. That is, the processing occupancy of the system controller 16 can be reduced. Further, the amount of software description for controlling the system controller 16 is reduced, and the capacity of a storage unit such as a ROM for storing the software can be reduced.

【0027】図9は本発明によるID番号検出保護回路
の第3の実施例を示すブロック図であり、図において、
21は第3のID番号カウンタであり、図1、図8と共
通の部分については同一の参照数字をつけて説明を省略
する。図9においては、図1の場合と同様に、ID番号
補間カウンタ12への検出ID番号ロード、補間動作に
ついて、引込み動作と、引込んだ後の定常動作とに分け
て説明する。図10(a)〜図10(c)は引き込み動
作時のID番号の検出保護の他の実施例を示す模式図で
ある。図10は引込み動作での第1のID番号カウンタ
9、第2のID番号カウンタ11、第3のID番号カウ
ンタ21、ID番号補間カウンタ12の各動作の一例を
示してある。図10に示す第1の引込み動作例は、ID
検出ステータスがIDエラーからID検出状態に遷移し
かつ、同期ロック検出回路20でSY同期ロック状態が
検出されて初めて検出されたID番号がn+1、次に検
出されたID番号がm、k(kは自然数)と連続して誤
検出或いは誤訂正される状態を想定している。カウンタ
制御回路10はID検出ステータスがIDエラーからI
D検出状態に遷移すると第1のID番号カウンタ9に検
出ID番号n+1をロードする命令を発生し、第1のI
D番号カウンタ9はn+1をロードする。カウンタ制御
回路10は次に検出された検出ID番号mと第1のID
番号カウンタ9の予測値n+2から一致判定を行う。こ
の例では一致しないので第2のID番号カウンタ11に
検出ID番号mをロードする命令を発生し、第2のID
番号カウンタ11はmをロードする。カウンタ制御回路
10は更に次に検出された検出ID番号kと、第1のI
D番号カウンタ9の予測値n+3、第2のID番号カウ
ンタ11の予測値m+1から一致判定を行うが、この場
合も一致しないので第3のID番号カウンタ21に検出
ID番号kをロードする制御命令を発生し第3のID番
号カウンタ21はkをロードする。カウンタ制御回路1
0は次のID番号n+4と第1のID番号カウンタ9の
予測値n+4、第2のID番号カウンタ11の予測値m
+2、第3のID番号カウンタ21の予測値k+1より
一致判定を行い、この場合は第1のID番号カウンタ9
の予測値と検出ID番号の一致が成立するので、検出I
D番号n+4をID番号補間カウンタ12にロードする
命令を発生し引込み動作を終了する。
FIG. 9 is a block diagram showing a third embodiment of the ID number detection and protection circuit according to the present invention.
Reference numeral 21 denotes a third ID number counter. The same reference numerals as in FIGS. 1 and 8 denote the same parts, and a description thereof will be omitted. In FIG. 9, as in the case of FIG. 1, the loading of the detection ID number to the ID number interpolation counter 12 and the interpolation operation will be described separately for the pull-in operation and the normal operation after the pull-in. FIGS. 10A to 10C are schematic diagrams showing another embodiment of ID number detection protection during a pull-in operation. FIG. 10 shows an example of each operation of the first ID number counter 9, the second ID number counter 11, the third ID number counter 21, and the ID number interpolation counter 12 in the pull-in operation. The first pull-in operation example shown in FIG.
The detection status changes from the ID error to the ID detection state, and the ID number detected for the first time after the SY synchronization lock state is detected by the synchronization lock detection circuit 20 is n + 1, and the next detected ID number is m, k (k (Natural numbers) are assumed to be continuously detected or corrected. The counter control circuit 10 determines that the ID detection status is I
When the state transits to the D detection state, an instruction to load the detection ID number n + 1 into the first ID number counter 9 is generated, and the first I
The D number counter 9 loads n + 1. The counter control circuit 10 determines the next detected ID number m and the first ID.
A match is determined from the predicted value n + 2 of the number counter 9. In this example, since they do not match, an instruction to load the detected ID number m into the second ID number counter 11 is generated, and the second ID number
The number counter 11 loads m. The counter control circuit 10 further detects the next detected ID number k and the first I
A match is determined from the predicted value n + 3 of the D number counter 9 and the predicted value m + 1 of the second ID number counter 11, but in this case also, the control instruction loads the detected ID number k to the third ID number counter 21 because they do not match. And the third ID number counter 21 loads k. Counter control circuit 1
0 is the next ID number n + 4, the predicted value n + 4 of the first ID number counter 9, and the predicted value m of the second ID number counter 11
+2, a match is determined from the predicted value k + 1 of the third ID number counter 21. In this case, the first ID number counter 9
And the detection ID number match, the detection I
An instruction to load the D number n + 4 into the ID number interpolation counter 12 is generated, and the pull-in operation ends.

【0028】図10(b)に示す第2の引込み動作例
は、ID検出ステータスが検出状態に遷移しかつ、同期
ロック検出回路20でSY同期ロック状態が検出された
時点でID番号がmと誤検出或いは誤訂正され、次の検
出ID番号がn+2、更にその次の検出ID番号がkと
誤検出或いは誤訂正された場合を想定している。カウン
タ制御回路10は検出ステータスがID検出となった時
点で検出ID番号mを第1のID番号カウンタ9にロー
ドする。次に第1のID番号カウンタ9の予測値m+1
と検出ID番号n+2との一致判定を行うが、この例で
は一致しないので第2のID番号カウンタ11に検出I
D番号n+2をロードする。更に次の検出ID番号kで
第1のID番号カウンタ9の予測値m+2と第2のID
番号カウンタ11の予測値n+3と検出ID番号kとの
一致判定を行う。この場合も一致しないので第3のID
番号カウンタ21に検出ID番号kをロードする。カウ
ンタ制御回路10は次の検出ID番号n+4と第1のI
D番号カウンタ9の予測値m+3、第2のID番号カウ
ンタ11の予測値n+4、第3のID番号カウンタ21
の予測値k+1の一致判定を行う。この場合は第2のI
D番号カウンタ11の予測値と検出ID番号の一致が成
立するので、その検出ID番号n+4をID番号補間カ
ウンタ12にロードする命令を発生して引込み動作を終
了する。
In the second example of the pull-in operation shown in FIG. 10B, when the ID detection status transits to the detection state and the synchronous lock detection circuit 20 detects the SY synchronous lock state, the ID number is set to m. It is assumed that erroneous detection or correction is performed, the next detection ID number is n + 2, and the next detection ID number is erroneously detected or corrected as k. The counter control circuit 10 loads the detection ID number m into the first ID number counter 9 when the detection status becomes ID detection. Next, the predicted value m + 1 of the first ID number counter 9
And the detection ID number n + 2 are determined to be coincident with each other.
Load D number n + 2. Further, at the next detection ID number k, the predicted value m + 2 of the first ID number counter 9 and the second ID
A match between the predicted value n + 3 of the number counter 11 and the detected ID number k is determined. Also in this case, there is no match, so the third ID
The detection ID number k is loaded into the number counter 21. The counter control circuit 10 determines the next detection ID number n + 4 and the first I
The predicted value m + 3 of the D number counter 9, the predicted value n + 4 of the second ID number counter 11, the third ID number counter 21
Of the predicted value k + 1 is determined. In this case, the second I
Since the coincidence between the predicted value of the D number counter 11 and the detected ID number is established, an instruction to load the detected ID number n + 4 into the ID number interpolation counter 12 is generated, and the pull-in operation ends.

【0029】図10(c)に示す第3の引込み動作例で
は、ID検出ステータスが検出状態に遷移した後のID
番号m、kに誤検出或いは誤訂正され、その後ID番号
n+3の検出後、IDエラーが発生し再度ID検出状態
に遷移した場合を想定している。カウンタ制御回路10
は検出ステータスがID検出となった時点で第1のID
番号カウンタ9に検出ID番号mをロードする。カウン
タ制御回路10は次に検出されたID番号kと第1のI
D番号カウンタ9の予測値m+1との一致判定を行う。
この例では一致しないので第2のID番号カウンタ11
に検出ID番号kをロードする。カウンタ制御回路10
は更に次の検出ID番号n+3と第1のID番号カウン
タ9の予測値m+2と第2のID番号カウンタ11の予
測値k+1との一致判定を行うが、この場合も一致しな
いので第3のID番号カウンタ21に検出ID番号n+
3をロードする。そしてIDエラーから再度ID検出状
態に遷移し検出ID番号n+5が検出された時点カウン
タ制御回路10は検出ID番号n+5と第1のID番号
カウンタ9の予測値m+4、第2のID番号カウンタ1
1の予測値k+3、第3のID番号カウンタ21の予測
値n+5より値の一致判定を行う。この場合はIDカウ
ンタ3の予測値と検出ID番号の一致が成立するので、
その検出ID番号n+5をID番号補間カウンタ12に
ロードする命令を発生して引込み動作を終了する。
In the third example of the pull-in operation shown in FIG. 10C, the ID after the ID detection status transits to the detection state.
It is assumed that erroneous detection or erroneous correction is performed on the numbers m and k, and after detecting the ID number n + 3, an ID error occurs and the state transits to the ID detection state again. Counter control circuit 10
Is the first ID when the detection status becomes ID detection.
The detection ID number m is loaded into the number counter 9. The counter control circuit 10 determines the next detected ID number k and the first I
A match with the predicted value m + 1 of the D number counter 9 is determined.
In this example, there is no match, so the second ID number counter 11
Is loaded with the detection ID number k. Counter control circuit 10
Further determines whether the next detected ID number n + 3, the predicted value m + 2 of the first ID number counter 9 and the predicted value k + 1 of the second ID number counter 11 match. The detection ID number n + is stored in the number counter 21.
Load 3. When the state transitions from the ID error to the ID detection state again and the detection ID number n + 5 is detected, the counter control circuit 10 determines the detection ID number n + 5, the predicted value m + 4 of the first ID number counter 9, and the second ID number counter 1
A value match is determined from the predicted value k + 3 of 1 and the predicted value n + 5 of the third ID number counter 21. In this case, the prediction value of the ID counter 3 matches the detected ID number, so that
An instruction to load the detected ID number n + 5 into the ID number interpolation counter 12 is generated, and the pull-in operation ends.

【0030】次に、図11(a)〜図11(b)を用い
て定常時の動作について説明する。
Next, the normal operation will be described with reference to FIGS. 11 (a) and 11 (b).

【0031】図11(a)〜図11(c)は定常動作時
のID番号の検出保護の他の実施例を示す模式図であ
る。図11は引込み動作時、検出ID番号と第1のID
番号カウンタ9の予測値との一致でID番号補間カウン
タ12に検出ID番号がロードされた場合の定常時の第
1のID番号カウンタ9、第2のID番号カウンタ1
1、第3のID番号カウンタ21、ID番号補間カウン
タ12の各動作の一例を示してある。図11(a)に示
す第1の定常時動作例はID検出ステータスが常にID
検出状態でかつSY同期ロックが常に検出状態であり、
検出ID番号n+1の次に検出されたID番号がm、k
と連続して誤検出、或いは誤訂正される状態を想定して
いる。第1のID番号カウンタ9は先に説明した引込み
動作で検出ID番号とそのカウンタ値の同期が取れてい
る状態であり、第2のID番号カウンタ11、第3のI
D番号カウンタ21は検出ID番号とは不一致の状態で
ある。カウンタ制御回路10はID番号mの検出が行わ
れると第1のID番号カウンタ9の予測値n+2と検出
ID番号mの一致判定を行うが、この場合は不一致であ
るので第2のID番号カウンタ11に検出ID番号mを
ロード、ID番号補間カウンタ12に対してインクリメ
ント命令を発生し、ID番号補間カウンタ12はSY0
タイミングパルスに従い補間カウンタの値をインクリメ
ントして、補間する。カウンタ制御回路10は次のID
番号kの検出が行われると第1のID番号カウンタ9の
予測値n+3、第2のID番号カウンタ11の予測値m
+1と検出ID番号kの一致判定を行う。この例では不
一致であるため第3のID番号カウンタ21に検出ID
番号kをロード、ID番号補間カウンタ12に対してイ
ンクリメント命令を発生する。カウンタ制御回路10は
次のID番号n+4の検出が行われると、第1のID番
号カウンタ9の予測値n+4、第2のID番号カウンタ
11の予測値m+2、第3のID番号カウンタ21の予
測値k+1と検出ID番号n+4の一致判定を行う。こ
の場合は第1のID番号カウンタ9の予測値と一致する
のでID番号補間カウンタ12に対し再度検出ID番号
n+4をロードする命令を発生する。
FIGS. 11 (a) to 11 (c) are schematic diagrams showing another embodiment of ID number detection protection during normal operation. FIG. 11 shows the detection ID number and the first ID during the pull-in operation.
The first ID number counter 9 and the second ID number counter 1 in the steady state when the detected ID number is loaded into the ID number interpolation counter 12 in accordance with the predicted value of the number counter 9
1, an example of each operation of the third ID number counter 21 and the ID number interpolation counter 12 is shown. In the first normal operation example shown in FIG. 11A, the ID detection status is always ID.
In the detection state and the SY synchronization lock is always in the detection state,
ID numbers detected next to the detection ID number n + 1 are m and k
It is assumed that error detection or error correction is continuously performed. The first ID number counter 9 is in a state where the detection ID number and its counter value are synchronized by the pull-in operation described above, and the second ID number counter 11 and the third I
The D number counter 21 is in a state where it does not match the detection ID number. When the detection of the ID number m is performed, the counter control circuit 10 determines whether or not the prediction value n + 2 of the first ID number counter 9 matches the detected ID number m. 11, the detection ID number m is loaded, an increment instruction is issued to the ID number interpolation counter 12, and the ID number interpolation counter 12
The value of the interpolation counter is incremented according to the timing pulse to perform interpolation. The counter control circuit 10 has the following ID
When the number k is detected, the predicted value n + 3 of the first ID number counter 9 and the predicted value m of the second ID number counter 11
A match between +1 and the detection ID number k is determined. In this example, since there is a mismatch, the detection ID is stored in the third ID number counter 21.
The number k is loaded, and an increment instruction is issued to the ID number interpolation counter 12. When the next ID number n + 4 is detected, the counter control circuit 10 predicts the predicted value n + 4 of the first ID number counter 9, the predicted value m + 2 of the second ID number counter 11, and predicts the predicted value m + 2 of the third ID number counter 21. A determination is made as to whether the value k + 1 matches the detection ID number n + 4. In this case, since the value matches the predicted value of the first ID number counter 9, an instruction to load the detected ID number n + 4 to the ID number interpolation counter 12 again is generated.

【0032】図11(b)に示す第2の定常時動作例は
ID検出ステータスの検出状態が連続している途中のセ
クタステータスにIDエラーが発生し、再度ID検出に
遷移した際に誤検出、或いは誤訂正のID番号m、kが
連続して検出された場合を想定している。カウンタ制御
回路10は検出ステータスがIDエラーと判定されると
ID番号補間カウンタ12のインクリメント命令を発生
する。カウンタ制御回路10は次の誤訂正或いは誤検出
ID番号mと第1のID番号カウンタ9の予測値n+2
とで一致判定を行うが、この場合は不一致なので、第2
のID番号カウンタ11に検出ID番号mをロードし、
ID番号補間カウンタ12に対しインクリメント命令を
発生する。カウンタ制御回路10は更に次の誤訂正或い
は誤検出ID番号kと第1のID番号カウンタ9の予測
値n+3、第2のID番号カウンタ11の予測値m+1
との一致判定を行い、この場合も不一致なので第3のI
D番号カウンタ21に検出ID番号kをロードし、ID
番号補間カウンタ12に対しインクリメントする命令を
発生する。カウンタ制御回路10は次の検出ID番号n
+4と第1のID番号カウンタ9の予測値n+4、第2
のID番号カウンタ11の予測値m+2、第3のID番
号カウンタ21の予測値k+1との一致判定を行う。こ
の例では第1のID番号カウンタ9の予測値と一致する
のでID番号補間カウンタ12に対し再度検出ID番号
n+4をロードするよう命令を発生する。
In the second normal operation example shown in FIG. 11B, an ID error occurs in the sector status in the middle of the continuous detection of the ID detection status, and an erroneous detection is performed when the operation transits to the ID detection again. Alternatively, it is assumed that ID numbers m and k of erroneous correction are continuously detected. When the detection status is determined to be an ID error, the counter control circuit 10 issues an increment command for the ID number interpolation counter 12. The counter control circuit 10 determines the next erroneous correction or erroneous detection ID number m and the predicted value n + 2 of the first ID number counter 9.
Is determined, but in this case, there is no match.
The detection ID number m is loaded into the ID number counter 11 of
An increment instruction is issued to the ID number interpolation counter 12. The counter control circuit 10 further calculates the next incorrectly corrected or erroneously detected ID number k, the predicted value n + 3 of the first ID number counter 9, and the predicted value m + 1 of the second ID number counter 11.
Is determined, and in this case also, the third I
The detection ID number k is loaded into the D number counter 21 and the ID
An instruction to increment the number interpolation counter 12 is generated. The counter control circuit 10 determines the next detection ID number n
+4 and the predicted value n + 4 of the first ID number counter 9, the second
Of the predicted value m + 2 of the ID number counter 11 and the predicted value k + 1 of the third ID number counter 21 are determined. In this example, since the value matches the predicted value of the first ID number counter 9, an instruction is issued to the ID number interpolation counter 12 to load the detected ID number n + 4 again.

【0033】図11(c)に示す第3の定常時動作例は
ID検出ステータスの検出状態が連続している途中の検
出ID番号に誤検出或いは誤訂正m、kが連続して検出
され、その後のセクタステータスにIDエラーが発生
し、再度ID検出に遷移したた場合を想定している。カ
ウンタ制御回路10は誤訂正或いは誤検出のID番号m
と第1のID番号カウンタ9の予測値n+2との一致判
定を行うが、この場合は不一致なので第2のID番号カ
ウンタ11に検出ID番号mをロード、ID番号補間カ
ウンタ12に対してインクリメント命令を発生する。カ
ウンタ制御回路10は更に誤訂正或いは誤検出の検出I
D番号kと第1のID番号カウンタ9の予測値n+3、
第2のID番号カウンタ11の予測値m+1との一致判
定を行う。この場合も不一致なので第3のID番号カウ
ンタ21に検出ID番号kをロードし、ID番号補間カ
ウンタ12に対してインクリメントを行う命令を発生す
る。カウンタ制御回路10は更に次のセクタで検出ステ
ータスがIDエラーと判定されるとID番号補間カウン
タ12に対してインクリメント命令を発生する。カウン
タ制御回路10は次の検出ID番号n+4と、第1のI
D番号カウンタ9の予測値n+4、第2のID番号カウ
ンタ11の予測値m+2、第3のID番号カウンタ21
の予測値k+1との一致判定を行う。この場合は第1の
ID番号カウンタ9の予測値と一致が成立するので、I
D番号補間カウンタ12に対し再度検出ID番号n+4
をロードするよう命令を発生する。
In the third steady state operation example shown in FIG. 11C, erroneous detection or erroneous correction m and k are continuously detected in the detection ID number in the middle of the continuous detection state of the ID detection status. It is assumed that an ID error occurs in the subsequent sector status, and the process transits to ID detection again. The counter control circuit 10 has an erroneous correction or erroneous detection ID number m.
Is determined to match the predicted value n + 2 of the first ID number counter 9. In this case, the detected ID number m is loaded into the second ID number counter 11, and an increment instruction is issued to the ID number interpolation counter 12. Occurs. The counter control circuit 10 further detects the erroneous correction or erroneous detection I
D number k and predicted value n + 3 of first ID number counter 9,
A match with the predicted value m + 1 of the second ID number counter 11 is determined. In this case as well, there is no match, so that the detection ID number k is loaded into the third ID number counter 21 and an instruction to increment the ID number interpolation counter 12 is generated. The counter control circuit 10 further issues an increment command to the ID number interpolation counter 12 when the detection status is determined to be an ID error in the next sector. The counter control circuit 10 sets the next detection ID number n + 4 and the first I
The predicted value n + 4 of the D number counter 9, the predicted value m + 2 of the second ID number counter 11, the third ID number counter 21
Is determined to match the predicted value k + 1. In this case, since the coincidence with the predicted value of the first ID number counter 9 is established,
The detection ID number n + 4 is again supplied to the D number interpolation counter 12.
Generate an instruction to load

【0034】以上のように本発明の第3の実施例におい
ては、IDエラー状態からID検出状態に遷移する引込
み動作時、及び引込み動作後の検出ID番号を一旦ID
番号補間カウンタ12にロードした後の定常動作時にお
いて、ID番号の誤検出、誤訂正が2回含まれ、またそ
れにID未検出が加わった場合においても、ID番号補
間カウンタ12には常に正しいID番号がロードされる
ことになり、第1、第2の実施例に比べて更に性能を向上
させることができる。なお、図1、図8の実施例におい
てはID番号カウンタは2系統設けられ、図9の実施例
においては3系統のID番号カウンタが設けられている
が、ID番号カウンタの数は2系統、3系統に限るもの
ではなく、4系統、5系統と何系統も受けてもよい。I
D番号カウンタの数を増やすと、一連の検出ID番号に
含まれる誤検出、誤訂正ID番号の検出数が増えてもI
D番号補間カウンタ12には常に正しい検出ID番号が
ロードされる。また、本発明の実施例にに示すシステム
コントローラ16内の検出セクタ、検出ステータスと目
標ID番号との比較を行い、転送イネーブル信号を生成
する機能については専用のハードウエア(回路)で構成
してデータ転送制御しても構わない。
As described above, in the third embodiment of the present invention, at the time of the pull-in operation in which the ID error state transits to the ID detection state, and the detection ID number after the pull-in operation is temporarily set to the ID.
In the normal operation after loading into the number interpolation counter 12, the ID number interpolation counter 12 always has the correct ID even if the ID number erroneous detection and erroneous correction are included twice and the ID undetection is added thereto. Since the numbers are loaded, the performance can be further improved as compared with the first and second embodiments. 1 and 8, two ID number counters are provided. In the embodiment of FIG. 9, three ID number counters are provided. However, the number of ID number counters is two. The present invention is not limited to three systems, but may include any number of systems such as four systems and five systems. I
When the number of D number counters is increased, even if the number of erroneous detections and erroneously corrected ID numbers included in a series of detected ID numbers increases,
The D number interpolation counter 12 is always loaded with the correct detection ID number. Further, the function of comparing the detected sector and the detected status in the system controller 16 shown in the embodiment of the present invention with the target ID number and generating the transfer enable signal is constituted by dedicated hardware (circuit). Data transfer control may be performed.

【0035】また、本発明の構成を含む光ディスクのデ
ィジタル信号処理回路を半導体チップで構成する場合、
システムコントローラ16との信号のやり取りは半導体
チップ上に設けられるインターフェイスレジスタを介し
て、検出セクタID、検出ステータスを表示し、例えば
図8に示すID番号カウンタ値、検出ID番号一致割り
込み信号はインターフェイスレジスタで割込み要因を表
示、或いは半導体チップのピンを介して出力する。これ
によって、この割込み信号は半導体チップのユーザーズ
マニュアルに掲載のシステムコントローラとのインター
フェイスレジスタマップや、ピン機能の説明の記述を参
照することにより明らかになる。
Further, when the digital signal processing circuit of the optical disk including the configuration of the present invention is constituted by a semiconductor chip,
The exchange of signals with the system controller 16 displays a detected sector ID and a detection status via an interface register provided on the semiconductor chip. For example, an ID number counter value and a detected ID number match interrupt signal shown in FIG. To display the interrupt factor or output via a pin of the semiconductor chip. As a result, this interrupt signal becomes clear by referring to the interface register map with the system controller and the description of the pin function described in the user's manual of the semiconductor chip.

【0036】また、図1、8、9に示した第1〜第3の
ID番号カウンタ9、11、21、ID番号補間カウン
タ12それぞれに対して制御命令を発生するカウンタ制
御回路10は本発明の実施例に示した回路(ハードウエ
ア)で実現するだけではなく、例えば図4、図6、図7
に示す制御フローをプログラムコード化し、それをRO
M(Read Only Memory)など読取り可能な記憶媒体に記
憶した後、専用のマイクロプロセッサ或いはシステムコ
ントローラ16でそのプログラムコードを読み出すこと
で各制御命令を発生しても構わない。更にこの場合、制
御命令を発生するマイクロプロセッサ、プログラムコー
ドを記憶した記憶手段、第1〜第3のID番号カウンタ
9、11、21、ID番号補間カウンタ12を含む回
路、ID番号の検出保護出力に従い動作する回路は同一
の半導体チップ上で実現してもよい。
The counter control circuit 10 for generating a control command for each of the first to third ID number counters 9, 11, and 21 and the ID number interpolation counter 12 shown in FIGS. Not only the circuit (hardware) shown in the embodiment of FIG.
Program code of the control flow shown in
After storing in a readable storage medium such as M (Read Only Memory), each control instruction may be generated by reading out the program code by a dedicated microprocessor or the system controller 16. Further, in this case, a microprocessor for generating a control instruction, a storage means for storing a program code, a circuit including first to third ID number counters 9, 11, 21 and an ID number interpolation counter 12, an ID number detection protection output May be realized on the same semiconductor chip.

【0037】また図1、8、9に示した第1〜第3のI
D番号カウンタ9、11、21、ID番号補間カウンタ
12、それぞれのカウンタ9、11、21に対して制御
命令を発生するカウンタ制御回路10を用いて行われる
ID番号検出保護処理は本発明の実施例にに示したよう
な回路(ハードウエア)で実現するだけではなく、例え
ば図4、図6、図7に示す制御フローに示すようなID
番号検出保護動作そのものをプログラムコード化し、専
用のマイクロプロセッサ或いは本発明の実施例に示すシ
ステムコントローラで、そのプログラムコードを記憶し
たROM等の読取り可能な記憶媒体から読み出し、ID
番号検出保護動作を実現しても構わない。この場合、動
作を実現するマイクロプロセッサ、プログラムコードを
記憶した記憶手段、少なくともID番号の検出保護出力
に従い動作する回路は同一の半導体チップ上で実現でき
る。
The first to third I shown in FIGS.
The ID number detection protection processing performed by using the D number counters 9, 11, 21 and the ID number interpolation counter 12, and the counter control circuit 10 that generates a control command for each of the counters 9, 11, 21 is an embodiment of the present invention. Not only a circuit (hardware) as shown in the example, but also an ID as shown in a control flow shown in FIGS. 4, 6, and 7, for example.
The number detection protection operation itself is converted into a program code and read out from a readable storage medium such as a ROM storing the program code by a dedicated microprocessor or a system controller according to the embodiment of the present invention, and the ID is read.
The number detection protection operation may be realized. In this case, the microprocessor for realizing the operation, the storage means for storing the program code, and the circuit operating at least in accordance with the detection protection output of the ID number can be realized on the same semiconductor chip.

【0038】[0038]

【発明の効果】本発明によると、記録媒体の再生時、そ
の記録単位に含まれるID番号を検出する場合、IDエ
ラー状態からID検出状態に遷移する引込み動作時、及
び引込み動作後の検出ID番号を一旦ID番号補間カウ
ンタにロードした後の定常動作時において、ID番号の
誤検出、誤訂正が含まれ、またそれにID未検出が加わ
ってもID番号補間カウンタには常に正しいID番号が
ロードされるため、そのカウンタ値より生成されるブロ
ック切替タイミングパルス、ブロック内アドレスが常に
正しく生成され、メモリへの訂正ブロック書込みを正し
く行うことができる。またID番号の誤検出、誤訂正が
含まれ、またはID未検出が含まれる検出状態におい
て、正しいID番号の検出時点でそのID番号が正しい
と判定できるため、引込み動作時はID番号の引込みに
要する経過セクタ数を最小限に抑えた引き込み動作を行
うことが可能である。更に定常動作時はID番号補間カ
ウンタ12が補間動作する経過セクタ数を最小に抑えた
定常動作を行うことが可能で、補間動作時の補間値に従
ったブロック切替タイミングパルス、ブロックアドレス
生成を最小限に抑え、検出ID番号に従った信頼性の高
い動作を行うことができる。
According to the present invention, at the time of reproducing a recording medium, when detecting an ID number included in the recording unit, at the time of a pull-in operation for transitioning from an ID error state to an ID detection state, and at the time of detecting a ID after a pull-in operation During normal operation after the number has been once loaded into the ID number interpolation counter, erroneous detection and correction of the ID number are included, and even when ID detection is not added, the correct ID number is always loaded into the ID number interpolation counter. Therefore, the block switching timing pulse and the address in the block generated from the counter value are always generated correctly, so that the correction block can be correctly written in the memory. Further, in a detection state in which erroneous ID number detection, erroneous correction, or undetected ID is included, the ID number can be determined to be correct at the time of detection of a correct ID number. It is possible to perform a pull-in operation in which the required number of elapsed sectors is minimized. Further, during the steady operation, the ID number interpolation counter 12 can perform the steady operation in which the number of elapsed sectors in which the interpolation operation is performed is minimized. The operation can be performed with high reliability according to the detection ID number.

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

【図1】図1は本発明によるID番号検出保護回路の第
1の実施例を示すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of an ID number detection and protection circuit according to the present invention.

【図2】セクタデータ、訂正ブロック、記録されるセク
タの構成図である。
FIG. 2 is a configuration diagram of sector data, a correction block, and a recorded sector.

【図3】セクタIDの引き込み状態を説明するための模
式図である。
FIG. 3 is a schematic diagram for explaining a state of pulling in a sector ID.

【図4】本発明によるID番号検出保護方法およびその
回路の一実施例を示すフローチャートである。
FIG. 4 is a flowchart showing one embodiment of an ID number detection protection method and a circuit thereof according to the present invention.

【図5】定常時のID番号の検出保護の実施例を示す模
式図である。
FIG. 5 is a schematic diagram showing an embodiment of ID number detection protection in a steady state.

【図6】本発明による定常時のID番号検出保護動作を
示す第1のフローチャートである。
FIG. 6 is a first flowchart showing an ID number detection protection operation in a normal state according to the present invention.

【図7】本発明による定常時のID番号検出保護動作を
示す第1のフローチャートである。
FIG. 7 is a first flowchart showing an ID number detection protection operation in a normal state according to the present invention.

【図8】本発明によるID番号検出保護回路の第2の実
施例を示すブロック図である。
FIG. 8 is a block diagram showing a second embodiment of the ID number detection and protection circuit according to the present invention.

【図9】本発明によるID番号検出保護回路の第3の実
施例を示すブロック図である。
FIG. 9 is a block diagram showing a third embodiment of the ID number detection and protection circuit according to the present invention.

【図10】引き込み動作時のID番号の検出保護の他の
実施例を示す模式図である。
FIG. 10 is a schematic diagram showing another embodiment of detection protection of an ID number during a pull-in operation.

【図11】定常動作時のID番号の検出保護の他の実施
例を示す模式図である。
FIG. 11 is a schematic diagram showing another embodiment of detection protection of an ID number during a normal operation.

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

1…光ディスク、2…ピックアップ、3…プリアンプ、
4…データ復調回路、5…SY0〜SY7検出回路、6
…セクタ内アドレス生成回路、7…セクタID検出回
路、8…SY0タイミング保護回路、9…第1のID番
号カウンタ9、10…カウンタ制御回路、11…第2の
ID番号カウンタ11第2のID番号カウンタ11、1
2…ID番号補間カウンタ、14…ブロック切替検出回
路、15…ブロックアドレス生成回路、16…システム
コントローラ、17…データ転送制御回路、18…メモ
リコントローラ、19…メモリ、20…同期ロック検出
回路、21…第3のID番号カウンタ。
1: optical disk, 2: pickup, 3: preamplifier,
4 data demodulation circuit, 5 SY0 to SY7 detection circuit, 6
... Sector address generation circuit, 7 ... Sector ID detection circuit, 8 ... SY0 timing protection circuit, 9 ... First ID number counter 9, 10 ... Counter control circuit, 11 ... Second ID number counter 11 Second ID Number counter 11, 1
2 ... ID number interpolation counter, 14 ... Block switching detection circuit, 15 ... Block address generation circuit, 16 ... System controller, 17 ... Data transfer control circuit, 18 ... Memory controller, 19 ... Memory, 20 ... Synchronous lock detection circuit, 21 ... third ID number counter.

Claims (24)

【特許請求の範囲】[Claims] 【請求項1】記録媒体の再生により、そのデータ記録単
位に含まれるID番号の検出が開始された起動状態にお
いて、本来検出されるべき一連のID番号とは番号の連
続性が成立しないID番号が含まれる検出状態に対して
ID番号の検出、保護を行うために、 第1の検出ID番号を基に第1の予測値を生成するステ
ップと、第1の予測値とは異なる第2の検出ID番号を
基に第2の予測値を生成するステップと、前記第1、前
記第2の予測値と第3の検出ID番号との一致を判定す
るステップと、一致が成立した場合に前記第3の検出I
D番号を検出保護出力として採用するステップとを有す
ることを特徴とするID番号検出保護方法。
1. An ID number that does not have continuity with a series of ID numbers originally to be detected in a start state in which detection of an ID number included in the data recording unit is started by reproduction of a recording medium. Generating a first predicted value based on the first detected ID number in order to detect and protect the ID number with respect to the detection state including Generating a second predicted value based on the detection ID number; determining whether the first and second predicted values match the third detection ID number; Third detection I
Adopting a D number as a detection protection output.
【請求項2】記録媒体の再生により、そのデータ記録単
位に含まれるID番号の検出が連続して行われる定常状
態において、本来検出されるべき一連のID番号とは番
号の連続性が成立しないID番号が含まれる検出状態に
対してID番号の検出、保護を行うために、 検出ID番号とID番号予測値の一致判定が一度以上成
立した第1の検出ID番号を基に第1の予測値を生成す
るステップと、第1の予測値とは異なる第2の検出ID
番号を基に第2の予測値を生成するステップと、前記第
1、前記第2の予測値と第3の検出ID番号との一致判
定を行い、一致が成立した場合に前記第3の検出ID番
号を検出保護出力として採用するステップとを有するこ
とを特徴とするID番号検出保護方法。
2. In a steady state in which detection of an ID number included in a data recording unit is continuously performed due to reproduction of a recording medium, number continuity is not established with a series of ID numbers to be originally detected. In order to detect and protect the ID number in the detection state including the ID number, the first prediction is performed based on the first detection ID number for which the coincidence determination between the detected ID number and the predicted value of the ID number has been established at least once. Generating a value and a second detection ID different from the first predicted value
Generating a second predicted value based on the ID number; determining whether or not the first and second predicted values match the third detection ID number; Adopting an ID number as a detection protection output.
【請求項3】記録媒体の再生により、そのデータ記録単
位に含まれるID番号の検出が連続して行われている定
常状態において、本来検出されるべき一連のID番号と
は番号の連続性が成立しないID番号が含まれる検出状
態に対してID番号の検出、保護を行うために、 検出ID番号とID番号予測値の一致判定が一度以上成
立した第1の検出ID番号を基に第1の予測値を生成す
るステップと、前記第1の予測値とは異なる第2の検出
ID番号を検出した際には、前記第1の検出ID番号を
基に生成したID番号の補間値を検出保護出力として採
用するステップとを有することを特徴とするID番号検
出保護方法。
3. In a steady state in which the detection of an ID number included in a data recording unit is continuously performed by reproducing a recording medium, the continuity of the number with a series of ID numbers to be originally detected is considered. In order to detect and protect the ID number in the detection state including the ID number that is not satisfied, the first detection ID number is determined based on the first detection ID number for which the coincidence determination between the detected ID number and the ID number predicted value has been established at least once. Generating a predicted value of the first detection value, and detecting an interpolated value of the ID number generated based on the first detection ID number when detecting a second detection ID number different from the first predicted value. Adopting as a protection output.
【請求項4】第1の検出ID番号がロードされ、ロード
された前記第1の検出ID番号に対してインクリメント
動作をすることによって、第1の予測値を生成する第1の
カウンタ手段と、 前記第1の予測値と異なる第2の検出ID番号がロード
され、ロードされた前記第2のID番号に対するインク
リメント動作により第2の予測値を生成する第2のカウン
タ手段と、 検出ID番号をロードし、ロードした前記検出ID番号
に対して補間動作を行う検出保護出力手段と、 第3の検出ID番号と前記第1、前記第2の予測値との一
致判定を行い、不一致の場合は第1、第2のカウンタ手段
の一方に対しロード命令を発生し、前記検出保護出力手
段に対しては補間命令を発生し、一致の場合は前記検出
保護出力手段に対してのみロード命令を発生する制御手
段と、 から構成されることを特徴とするID番号検出保護回
路。
4. A first counter means for loading a first detection ID number and performing an increment operation on the loaded first detection ID number to generate a first predicted value; A second counter means for loading a second detection ID number different from the first prediction value, and generating a second prediction value by an increment operation on the loaded second ID number; A detection protection output unit that performs an interpolation operation on the loaded detection ID number, and determines whether or not a third detection ID number matches the first and second predicted values; A load instruction is issued to one of the first and second counter means, an interpolation instruction is issued to the detection protection output means, and if they match, a load instruction is issued only to the detection protection output means. Control hands If, ID number detecting protection circuit, characterized in that they are composed of.
【請求項5】請求項4記載のID番号検出保護回路にお
いて、前記検出保護出力手段の出力に従がって動作する
ディジタル処理回路を設け、前記第1のカウンタ手段
と、前記第2のカウンタ手段と、前記検出保護出力手段
と、前記ディジタル処理回路とを同一の半導体チップ上
に設けることを特徴とするID番号検出保護回路。
5. The ID number detection and protection circuit according to claim 4, further comprising a digital processing circuit which operates in accordance with an output of said detection and protection output means, wherein said first counter means and said second counter are provided. Means, the detection protection output means, and the digital processing circuit are provided on the same semiconductor chip.
【請求項6】第1のカウンタ手段と、第2のカウンタ手段
と、検出保護出力手段と、制御命令を発生する制御手段
とを有するID番号検出保護回路を用いて、ID番号の
検出、保護を行うために、 第1の検出ID番号のロード命令を前記制御手段から前
記第1のカウンタ手段に対して発生する第1のステップ
と、 前記第1の検出ID番号の次に検出された第2の検出I
D番号と前記第1のカウンタ手段より得られる第1の予
測値との一致判定を行う第2のステップと、 前記一致判定で一致が取れない場合に、前記第2の検出
ID番号を第2のカウンタ手段に対してロードする命令
を発生する第3のステップと、 前記第2の検出ID番号の次に検出された第3の検出I
D番号と前記第1のカウンタ手段より得られる前記第1
の予測値、前記第3の検出ID番号と前記第2のカウン
タ手段より得られる第2の予測値の一致判定を行う第4
のステップと、 前記第4のステップにおいて一致が成立した場合、前記
第3の検出ID番号を前記検出保護出力手段にロードす
る命令を発生する第5のステップと、 を有することを特徴とするID番号検出保護方法。
6. An ID number detection / protection circuit using an ID number detection / protection circuit having first counter means, second counter means, detection protection output means, and control means for generating a control instruction. A first step of generating a load instruction of a first detection ID number from the control means to the first counter means, and a first detection ID number detected next to the first detection ID number. Detection I of 2
A second step of determining a match between the D number and a first predicted value obtained by the first counter means, and if the match is not determined in the match determination, the second detection ID number is set to the second A third step of generating an instruction to load the counter means, and a third detection I detected next to the second detection ID number.
D number and the first number obtained from the first counter means.
And a fourth determining unit that determines whether the third detection ID number matches the second detection value obtained by the second counter unit.
And a fifth step of generating an instruction to load the third detection ID number into the detection protection output means when a match is established in the fourth step. Number detection protection method.
【請求項7】請求項6記載のID番号検出保護方法にお
いて、更に、 前記第4のステップにおける一致判定で、一致が成立し
た前記第3の検出ID番号を前記第1、前記第2の一方
のカウンタ手段にロードし、前記一致が成立した第3の
検出ID番号を基に第3の予測値を生成して次に検出さ
れた第4の検出ID番号との一致判定を行う第6のステ
ップと、 前記第6のステップで一致が不成立の場合に、他方のカ
ウンタ手段に第4の検出ID番号のロード命令を発生し
て第4の予測値を生成する第7のステップと、 前記第6のステップで一致が不成立の場合に前記検出保
護出力手段に対し補間命令を発生する第8のステップ
と、 次に検出された第5の検出ID番号と、第3の予測値、
第4の予測値のそれぞれの一致判定を行う第9のステッ
プと、 前記第9のステップにおける一致成立に従い、前記第9
のステップで検出された検出ID番号を前記検出保護出
力手段にロードする命令を発生する第10のステップ
と、 を有することを特徴とするID番号検出保護方法。
7. The ID number detection and protection method according to claim 6, further comprising the step of determining whether or not the third detection ID number that has been matched in the match determination in the fourth step is the first or second one. A third predicted value is generated based on the third detected ID number in which the match is established, and a match is determined with the next detected fourth detected ID number. A step of generating a fourth predicted ID value by generating a load instruction of a fourth detection ID number to the other counter means when the match is not established in the sixth step; An eighth step of generating an interpolation command for the detection protection output means when a match is not established in step 6, an fifth detection ID number detected next, a third predicted value,
A ninth step of performing a match determination of each of the fourth predicted values;
And a tenth step of generating an instruction to load the detection ID number detected in the step (c) into the detection protection output means.
【請求項8】第1のカウンタ手段と、第2のカウンタ手段
と、補間手段とを有するID番号検出保護回路を用い
て、ID番号の検出、保護を行うために、 第1の検出ID番号を前記第1のカウンタ手段に対して
ロードする第1のステップと、 前記第1の検出ID番号の次に検出された第2の検出I
D番号と前記第1のカウンタ手段より得られる第1の予
測値との一致の判定を行う第2のステップと、 前記一致判定で一致が取れない場合に、前記第2の検出
ID番号を第2のカウンタ手段にロードするす第3のス
テップと、 前記第2の検出ID番号の次に検出された第3の検出I
D番号と前記第1のカウンタ手段より得られる前記第1
の予測値、前記第3の検出ID番号と前記第2のカウン
タ手段より得られる第2の予測値の一致判定を行う第4
のステップと、 前記第4のステップにおいて一致が成立した場合、一致
が成立した前記第3の検出ID番号を前記検出保護出力
手段にロードする第5のステップと、 を有することを特徴とするID番号検出保護方法。
8. A method for detecting and protecting an ID number using an ID number detection and protection circuit having first counter means, second counter means, and interpolation means, comprising the steps of: Loading into the first counter means, and a second detection I detected next to the first detection ID number.
A second step of determining a match between the D number and a first predicted value obtained by the first counter means; and if the match is not determined in the match determination, the second detection ID number is set to A third step of loading the second detection ID number, and a third detection I detected next to the second detection ID number.
D number and the first number obtained from the first counter means.
And a fourth determining unit that determines whether the third detection ID number matches the second detection value obtained by the second counter unit.
And a fifth step of, when a match is established in the fourth step, loading the third detection ID number for which the match is established into the detection protection output means. Number detection protection method.
【請求項9】請求項8記載のID番号検出保護方法にお
いて、更に、 前記第4のステップにおける一致判定で、一致が成立し
た前記第3のID番号を前記第1、前記第2の一方のカ
ウンタ手段にロードし、前記一致が成立した前記第3の
検出ID番号を基に第3の予測値を生成して次に検出さ
れる第4のID番号との一致判定を行う第6のステップ
と、 前記第6のステップで一致が不成立の場合に、他方のカ
ウンタ手段に前記第4の検出ID番号をロードして第4
の予測値を生成する第7のステップと、 前記第6のステップで一致が不成立の場合に、前記検出
保護出力手段において補間を行う第8のステップと、 次に検出された第5の検出ID番号と、前記第3の予測
値、前記第4の予測値のそれぞれの一致判定を行う第9
のステップと、 前記第9のステップにおける一致成立伴い、前記第9の
ステップで検出された前記第5の検出ID番号を前記検
出保護出力手段にロードする第10のステップと、 を有することを特徴とするID番号検出保護方法。
9. The ID number detection and protection method according to claim 8, further comprising the step of determining whether or not the third ID number that has been matched in the match determination in the fourth step is one of the first and second ID numbers. A sixth step of loading the data into the counter means, generating a third predicted value based on the third detected ID number in which the coincidence is established, and determining a coincidence with a fourth ID number detected next; And if the match is not established in the sixth step, the fourth detection ID number is loaded into the other counter means and
A seventh step of generating a predicted value of the following; an eighth step of performing interpolation in the detection protection output means when a match is not established in the sixth step; and a fifth detection ID detected next A ninth judgment is made to determine whether each of the numbers matches the third predicted value and the fourth predicted value.
And a tenth step of loading the fifth detection ID number detected in the ninth step into the detection protection output means when a match is established in the ninth step. ID number detection protection method.
【請求項10】第1のカウンタ手段と、第2のカウンタ手
段と、検出保護出力手段と、制御命令を発生するマイク
ロプロセッサと、プログラムセクションを記憶した読取
り可能な記録媒体とを備え、前記マイクロプロセッサは
前記記憶媒体からプログラムコードを読み出して動作す
るID番号検出保護回路を用いて、ID番号の検出、保
護を行うために、前記第1のプログラムセクションは、 第1の検出ID番号をロードする命令を第1のカウンタ
手段に対して発生する第1のプログラムセクションと、 次に検出された第2の検出ID番号と、第1のカウンタ
手段より得られる第1の予測値との一致判定を行う第2
のプログラムセクションと、 前記第2のプログラムセクションでの一致不成立の場合
に第2のカウンタ手段に対して前記第2の検出ID番号
のロード命令を発生する第3のプログラムセクション
と、 次に検出された第3のID番号と第1のカウンタ手段よ
り得られる前記第1の予測値、第3のID番号と第2の
カウンタ手段より得られる第2の予測値の一致判定を行
う第4のプログラムセクションと、 前記第4のプログラムセクションで一致が成立した場
合、前記第3の検出ID番号を前記検出保護出力手段に
ロードする命令を発生する第5のプログラムセクション
と、 とからなることを特徴とするID番号検出保護回路。
10. A microcontroller comprising: a first counter means; a second counter means; a detection protection output means; a microprocessor for generating a control instruction; and a readable recording medium storing a program section. The first program section loads a first detected ID number to detect and protect an ID number using an ID number detection and protection circuit that operates by reading a program code from the storage medium. A first program section for generating an instruction for the first counter means, a second detection ID number detected next, and a coincidence determination between a first predicted value obtained from the first counter means. Second to do
And a third program section for generating a load instruction of the second detection ID number to the second counter means when a match is not established in the second program section. A fourth program for determining whether the third ID number matches the first predicted value obtained from the first counter means, and the third ID number matches the second predicted value obtained from the second counter means. And a fifth program section that issues an instruction to load the third detection ID number into the detection protection output means when a match is established in the fourth program section. ID number detection and protection circuit.
【請求項11】請求項10記載のID番号検出保護回路
において、更に、 前記第4のプログラムセクションにおける一致判定で、
一致が成立した前記第3のID番号を前記第1、前記第
2のカウンタ手段の一方にロードする命令を発生すると
共に、前記第3のID番号を基に生成した第3の予測値
と次に検出された第4のID番号との一致判定を行う第
6のプログラムセクションと、 前記第6のプログラムセクションで一致が不成立の場合
に、第4の予測値を生成するため、他方のカウンタ手段
に対し前記第4の検出ID番号のロード命令を発生する
第7のプログラムセクションと、 前記第6のプログラムセクションで一致が不成立の場合
に、検出保護出力手段に対し補間命令を発生する第8の
プログラムセクションと、 次に検出された第5のID番号と、前記第3の予測値、
第4の予測値それぞれの一致判定を行う第9のプログラ
ムセクションと、 前記第9のプログラムセクションにおける一致成立に従
い、前記第5のID番号を前記検出保護出力手段にロー
ドする命令を発生する第10のプログラムセクション
と、 を有することを特徴とするID番号検出保護回路。
11. The ID number detection protection circuit according to claim 10, further comprising:
An instruction to load the third ID number for which a match has been established into one of the first and second counter means is generated, and a third predicted value generated based on the third ID number is A sixth program section for determining a match with the fourth ID number detected in the second program section; and a counter means for generating a fourth predicted value when a match is not established in the sixth program section. And a seventh program section for generating a load instruction with the fourth detection ID number, and an eighth instruction for generating an interpolation instruction to the detection protection output means when a match is not established in the sixth program section. A program section, a fifth ID number detected next, and the third predicted value,
A ninth program section for determining a match of each of the fourth predicted values; and a tenth instruction for loading the fifth ID number into the detection protection output means according to a match in the ninth program section. And an ID number detection protection circuit.
【請求項12】請求項10、11記載のID番号検出保
護回路において、前記マイクロプロセッサからの検出保
護出力に従い動作するディジタル処理回路を設け、前記
第1のカウンタ手段と、前記第2のカウンタ手段と、前記
検出保護出力手段と、前記制御命令を含む命令を生成す
る前記マイクロプロセッサと、前記プログラムセクショ
ンを記憶した前記記録媒体とを同一の半導体チップ上に
設けられることを特徴とするID番号検出保護回路。
12. The ID number detection and protection circuit according to claim 10, further comprising a digital processing circuit operable in accordance with a detection and protection output from said microprocessor, said first counter means and said second counter means. ID detection, wherein the detection protection output means, the microprocessor for generating an instruction including the control instruction, and the recording medium storing the program section are provided on the same semiconductor chip. Protection circuit.
【請求項13】第1のカウンタ手段と、第2のカウンタ手
段と、補間手段と、制御命令を発生するマイクロプロセ
ッサと、プログラムセクションを記憶した読取り可能な
記録媒体とを備え、前記マイクロプロセッサは前記記憶
媒体からプログラムコードを読み出して動作する有する
ID番号検出保護回路を用いて、ID番号の検出、保護
を行うために、前記プログラムセクションは、 第1の検出ID番号を記憶し、それを基に第1の予測値
を生成する第1のプログラムセクションと、 次に検出された第2の検出ID番号と第1の予測値との
一致判定を行う第2のプログラムセクションと、 第2のプログラムセクションで一致が不成立の場合に、
前記第2の検出ID番号を記憶し、それを基に第2の予
測値を生成する第3のプログラムセクションと、 次に検出された第3の検出ID番号と、第1の予測値、
第2の予測値のそれぞれとの一致判定を行う第4のプロ
グラムセクションと、 前記第4のプログラムセクションで一致が成立した場
合、前記第3の検出ID番号を記憶し、検出保護出力と
して出力する第5のプログラムセクションと、 前記第2及び前記第4のプログラムセクションのいずれ
かのプログラムセクションにおける一致判定で一致が成
立した前記第1、前記第2の予測値の一方の予測値と、
前記一方の予測値の次に検出された検出ID番号との一
致判定を行う第6のプログラムセクションと、 前記第6のプログラムセクションで一致が不成立の場合
に前記一方の予測値の次に検出されたID番号を記憶
し、それを基に第3の予測値を生成する第7のプログラ
ムセクションと、 前記第6のプログラムセクションで一致が不成立の場合
に前記第2及び前記第4のプログラムセクションのいず
れか一方で一致が成立し、記憶された検出ID番号を補
間し、検出保護出力として出力する第8のプログラムセ
クションと、 第3の予測値の次に検出された検出ID番号と、前記第
3の予測値の一致判定を行う第9のプログラムセクショ
ンと、 前記第9のプログラムセクションにおいて一致が成立し
た場合に、第3の予測値の次に検出された前記検出ID
番号を記憶し、検出保護出力として出力する第10のプ
ログラムセクションと。とを有することを特徴とするI
D番号検出保護回路。
13. A computer comprising: a first counter means; a second counter means; an interpolation means; a microprocessor for generating control instructions; and a readable recording medium storing a program section. In order to detect and protect an ID number by using an ID number detection and protection circuit that operates by reading a program code from the storage medium, the program section stores a first detected ID number and uses the first detected ID number as a basis. A first program section for generating a first predicted value, a second program section for performing a match determination between a second detected ID number detected next and the first predicted value, and a second program section. If no match is found for a section,
A third program section for storing the second detection ID number and generating a second prediction value based on the second detection ID number; a third detection ID number detected next; a first prediction value;
A fourth program section for performing a match determination with each of the second predicted values; and if the fourth program section matches, the third detection ID number is stored and output as a detection protection output. A fifth program section; one of the first and second predicted values that have been matched by a match determination in any one of the second and fourth program sections;
A sixth program section for determining a match with a detection ID number detected next to the one predicted value; and a sixth program section that is detected next to the one predicted value when a match is not established in the sixth program section. A seventh program section that stores the ID number obtained and generates a third predicted value based on the ID number; and a second program section and a fourth program section when a match is not established in the sixth program section. An eighth program section for which a match is established in one of them, interpolating the stored detection ID number and outputting it as a detection protection output, a detection ID number detected next to the third predicted value, A ninth program section for determining a match between the third predicted value and a ninth program section in which a match is established in the ninth program section; Detection ID
A tenth program section for storing the number and outputting it as a detection protection output. I characterized by having
D number detection protection circuit.
【請求項14】請求項13記載のID番号検出保護回路
において、前記マイクロプロセッサからの検出保護出力
に従い動作するディジタル処理回路を設け、前記ID番
号の検出保護処理を含む動作を行うマイクロプロセッサ
と、前記第1から前記第10までのプログラムセクショ
ンを含むプログラムセクションを記憶した記録媒体と、
前記ディジタル処理回路を同一の半導体チップ上に設け
ることを特徴とするID番号検出保護回路。
14. The ID number detection and protection circuit according to claim 13, further comprising a digital processing circuit that operates in accordance with the detection and protection output from said microprocessor, and performing an operation including said ID number detection and protection processing; A recording medium storing a program section including the first to tenth program sections;
An ID number detection protection circuit, wherein the digital processing circuit is provided on the same semiconductor chip.
【請求項15】記録媒体の再生によってそのデータ記録
単位に含まれる第1の検出ID番号をロードし、そのロ
ードされた前記第1の検出ID番号に対するインクリメ
ント動作により第1の予測値を生成する第1のカウンタ手
段と、 前記第1の予測値と異なる第2の検出ID番号をロード
し、ロードされた前記第2の検出ID番号に対するイン
クリメント動作により第2の予測値を生成する第2のカウ
ンタ手段と、 ID番号のロード、補間動作を行う検出保護出力手段
と、 記録媒体の再生を制御するシステム制御手段と、 次に検出された第3のID番号と前記第1及び第2の予測
値との一致判定を行い、不一致の場合は前記第1及び前
記第2のカウンタ手段のいずれか一方に対しロード命令
を発生すると共に、前記検出保護出力手段に対しては補
間命令を発生し、一致の場合は前記検出保護出力手段に
対してロード命令を発生し、前記システム制御手段に対
して一致成立に応じた割込み信号を生成する制御手段
と、 を有することを特徴とするID番号検出保護回路。
15. A first detection ID number included in a data recording unit is loaded by reproducing a recording medium, and a first predicted value is generated by an increment operation on the loaded first detection ID number. A first counter unit, a second detection ID number different from the first prediction value is loaded, and a second prediction value is generated by an increment operation on the loaded second detection ID number. Counter means, detection protection output means for loading and interpolating ID numbers, system control means for controlling reproduction of a recording medium, and a third ID number detected next and the first and second predictions A match with the value is determined, and if they do not match, a load command is issued to one of the first and second counter means, and an interpolation command is issued to the detection protection output means. Control means for generating a load instruction to the detection protection output means in the case of a match, and generating an interrupt signal in accordance with the establishment of a match to the system control means. ID number detection protection circuit.
【請求項16】請求項15記載のID番号検出保護回路
において、前記制御手段からの検出保護出力に従い動作
するディジタル処理回路を設け、前記第1のカウンタ手
段と、前記第2のカウンタ手段と、前記検出保護出力手
段と、前記制御手段と、前記ディジタル処理回路を同一
の半導体チップ上に設け、前記システム制御手段に対す
る割込み信号は前記半導体チップの外部へ出力すること
を特徴とするID番号検出保護回路。
16. The ID number detection protection circuit according to claim 15, further comprising: a digital processing circuit that operates according to the detection protection output from said control means, wherein said first counter means, said second counter means, ID number detection protection, wherein the detection protection output means, the control means, and the digital processing circuit are provided on the same semiconductor chip, and an interrupt signal to the system control means is output outside the semiconductor chip. circuit.
【請求項17】記録媒体の再生により、そのデータ記録
単位に含まれるID番号の検出が開始された起動状態に
おいて、本来検出されるべき一連のID番号とは番号の
連続性が成立しないID番号が含まれる検出状態に対す
るID番号を検出保護するために、 最初に検出された第1の検出ID番号を基に第1の予測
値を生成するステップと、 前記第1の予測値とは異なる第2の検出ID番号を基に
第2の予測値を生成するステップと、 前記第1、前記第2の予測値とは異なる第3の検出ID
番号を基に生成される第3の予測値と第4の検出ID番
号より一致判定を行い、一致が成立した場合に前記第4
の検出ID番号を検出保護出力として採用するステップ
と、 を有することを特徴とするID番号検出保護方法。
17. An ID number that does not have continuity with a series of ID numbers originally to be detected in a start state in which detection of an ID number included in the data recording unit is started by reproduction of the recording medium. Generating a first predicted value based on the first detected ID number detected first in order to detect and protect the ID number corresponding to the detection state including: Generating a second predicted value based on the second detected ID number; and a third detected ID different from the first and second predicted values.
A match is determined from the third predicted value generated based on the ID number and the fourth detection ID number.
Adopting the detected ID number as a detection protection output; and a method for detecting and protecting an ID number.
【請求項18】記録媒体の再生により、そのデータ記録
単位に含まれるID番号の検出が連続して行われる定常
状態において、本来検出されるべき一連のID番号とは
番号の連続性が成立しないID番号が含まれる検出状態
に対するID番号を検出保護するために、 少なくとも一度以上、検出ID番号とID番号予測値の
一致判定が成立した第1の検出ID番号を基に第1の予
測値を生成するステップと、 前記第1の予測値とは異なる第2の検出ID番号を基に
第2の予測値を生成するステップと、 前記第1、前記第2の予測値とは異なる第3の検出ID
番号を基に生成される第3の予測値と第4の検出ID番
号から一致判定を行い、一致が成立した場合に前記第4
の検出ID番号を検出保護出力として採用するステップ
と、を有することを特徴とするID番号検出保護方法。
18. In a steady state in which detection of an ID number included in a data recording unit is continuously performed by reproduction of a recording medium, number continuity is not established with a series of ID numbers to be originally detected. In order to detect and protect the ID number for the detection state including the ID number, the first predicted value is determined at least once based on the first detected ID number for which the coincidence determination between the detected ID number and the ID number predicted value has been established. Generating; a step of generating a second predicted value based on a second detection ID number different from the first predicted value; a third different from the first and second predicted values; Detection ID
A match is determined from the third predicted value generated based on the ID number and the fourth detection ID number.
Employing the detected ID number as a detection protection output.
【請求項19】記録媒体の再生よってそのデータ記録単
位に含まれる検出ID番号の内、検出された第1の検出
ID番号をロードし、そのロードした第1の検出ID番
号に対するインクリメント動作により第1の予測値を生
成する第1のカウンタ手段と、 第1の予測値と異なる第2の検出ID番号をロードし、
そのロードした前記第2の検出ID番号に対するインク
リメント動作により第2の予測値を生成する第2のカウン
タ手段と、 前記第1、前記第2の予測値と異なる第3の検出ID番
号をロードし、そのロードした前記第3の検出ID番号
に対するインクリメント動作により第3の予測値を生成
する第3のカウンタ手段と、 検出ID番号のロード、補間動作を行う検出保護出力手
段と、 第4の検出ID番号と前記第1、前記第2及び前記第3の
予測値との一致判定をそれぞれ行い、不一致の場合は前
記第1、前記第2及び前記第3のカウンタ手段のいずれか
一つのカウンタに対しロード命令を発生すると共に、前
記検出保護出力手段に対しては補間命令を発生し、一致
の場合は前記検出保護出力手段に対してロード命令を発
生する制御手段と、 を有することを特徴とするID番号検出保護回路。
19. Loading a first detection ID number detected among detection ID numbers included in a data recording unit by reproduction of a recording medium, and incrementing the loaded first detection ID number by an increment operation. Loading first detection means for generating a predicted value of 1 and a second detection ID number different from the first predicted value;
Second counter means for generating a second predicted value by an increment operation on the loaded second detected ID number; and loading a third detected ID number different from the first and second predicted values. Third counter means for generating a third predicted value by an increment operation on the loaded third detection ID number, detection protection output means for loading and interpolating the detection ID number, and fourth detection. The ID number and the first, the second and the third predicted value are each determined to match, and if they do not match, the first, the second and the third counter means any one of the counters Control means for generating a load instruction, generating an interpolation instruction for the detection protection output means, and generating a load instruction for the detection protection output means if the values match. ID number detection protection circuit according to claim.
【請求項20】請求項19記載のID番号検出保護回路
において、検出保護出力に従い動作するディジタル処理
回路を設け、前記第1のカウンタ手段と、前記第2のカウ
ンタ手段と、前記第3のカウンタ手段と、前記検出保護
出力手段と、前記制御手段と、前記ディジタル処理回路
を同一の半導体チップ上に設けることを特徴とするID
番号検出保護回路。
20. The ID number detection protection circuit according to claim 19, further comprising a digital processing circuit that operates in accordance with the detection protection output, wherein said first counter means, said second counter means, and said third counter are provided. ID, wherein said means, said detection protection output means, said control means, and said digital processing circuit are provided on the same semiconductor chip.
Number detection protection circuit.
【請求項21】請求項19記載のID番号検出保護回路
において、前記検出保護出力に従い動作するディジタル
処理回路と、前記制御手段に設けられ、命令を発生する
ためのマイクロプロセッサと、前記制御手段で生成され
る命令を前記マイクロプロセッサに発生させるプログラ
ムセクションを記憶した記録媒体とを設け、前記第1の
カウンタ手段と、前記第2のカウンタ手段と、前記第3の
カウンタ手段と、前記検出保護出力手段と、前記マイク
ロプロセッサと、前記記録媒体と、前記ディジタル処理
回路を同一の半導体チップ上に設けることを特徴とする
ID番号検出保護回路。
21. An ID number detection and protection circuit according to claim 19, wherein: a digital processing circuit which operates according to said detection and protection output; a microprocessor provided in said control means for generating an instruction; A recording medium storing a program section for causing the microprocessor to generate a generated instruction, wherein the first counter means, the second counter means, the third counter means, and the detection protection output are provided. Means, the microprocessor, the recording medium, and the digital processing circuit are provided on the same semiconductor chip.
【請求項22】請求項19記載のID番号検出保護回路
において、前記検出保護出力に従がって動作するディジ
タル処理回路と、前記制御手段に設けられ、ID番号の
検出保護処理動作を行うマイクロプロセッサと、マイク
ロプロセッサで前記検出保護処理を行うために必要なプ
ログラムセクションを記憶した記録媒体とを設け、前記
マイクロプロセッサと、前記プログラムセクションを記
憶した記録媒体と、前記ディジタル処理回路を同一の半
導体チップ上に設けることを特徴とするID番号検出保
護回路。
22. The ID number detection protection circuit according to claim 19, wherein a digital processing circuit that operates in accordance with the detection protection output and a micro-processor provided in the control means for performing ID number detection protection processing operation. A processor and a recording medium storing a program section necessary for performing the detection and protection processing by the microprocessor, wherein the microprocessor, the recording medium storing the program section, and the digital processing circuit are formed of the same semiconductor. An ID number detection protection circuit provided on a chip.
【請求項23】記録媒体のデータ記録単位に含まれるI
D番号の内、先に検出された第1の検出ID番号をロー
ドし、ロードされた前記第1の検出ID番号に対するイ
ンクリメント動作により第1の予測値を生成する第1のカ
ウンタ手段と、 前記第1の予測値と異なる第2の検出ID番号をロード
し、ロードされた前記第2の検出ID番号に対するイン
クリメント動作により第2の予測値を生成する第2のカウ
ンタ手段と、 第1、第2の予測値と異なる第3の検出ID番号をロー
ドし、ロードされた前記第3の検出ID番号に対するイ
ンクリメント動作により第3の予測値を生成する第3の
カウンタ手段と、 検出ID番号のロード、補間動作を行う検出保護出力手
段と、 記録媒体の再生を制御するシステム制御手段と、 第4の検出ID番号と前記第1、前記第2及び第3の予測
値との一致判定をそれぞれ行い、不一致の場合は前記第
1、前記第2及び前記第3のカウンタ手段のいずれか一方
のカウンタに対しロード命令を発生し、前記検出保護出
力手段に対して補間命令を発生し、一致の場合は前記シ
ステム制御手段に対して一致成立に呼応した割込み信号
を発生する制御手段と、 を有することを特徴とするID番号検出保護回路。
23. An I-frame included in a data recording unit of a recording medium.
First counter means for loading a first detection ID number detected earlier among the D numbers, and generating a first predicted value by an increment operation for the loaded first detection ID number; Second counter means for loading a second detection ID number different from the first prediction value and generating a second prediction value by an increment operation for the loaded second detection ID number; Third counter means for loading a third detection ID number different from the second predicted value and generating a third predicted value by an increment operation on the loaded third detection ID number; and loading the detected ID number Detection protection output means for performing an interpolation operation; system control means for controlling the reproduction of a recording medium; and performing a match determination between a fourth detection ID number and the first, second, and third predicted values. It said in the case of disagreement the first
1, a load instruction is generated for any one of the second and third counter means, an interpolation instruction is generated for the detection protection output means, and if they match, the system control means is generated. Control means for generating an interrupt signal in response to the establishment of a match.
【請求項24】請求項23記載のID番号検出保護回路
において、前記検出保護出力に従がって動作するディジ
タル処理回路を設け、前記第1のカウンタ手段と、前記
第2のカウンタ手段と、前記第3のカウンタ手段と、前記
検出保護出力手段と、前記制御手段と、前記ディジタル
処理回路を同一の半導体チップ上に設け、前記システム
制御手段に対する割込み信号は前記半導体チップの外部
へ出力することを特徴とするID番号検出保護回路。
24. The ID number detection and protection circuit according to claim 23, further comprising a digital processing circuit that operates in accordance with the detection and protection output, wherein the first counter means, the second counter means, The third counter means, the detection protection output means, the control means, and the digital processing circuit are provided on the same semiconductor chip, and an interrupt signal for the system control means is output to the outside of the semiconductor chip. And an ID number detection protection circuit.
JP15760098A 1998-06-05 1998-06-05 Id number detection protecting method and circuit therefor Pending JPH11353817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15760098A JPH11353817A (en) 1998-06-05 1998-06-05 Id number detection protecting method and circuit therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15760098A JPH11353817A (en) 1998-06-05 1998-06-05 Id number detection protecting method and circuit therefor

Publications (1)

Publication Number Publication Date
JPH11353817A true JPH11353817A (en) 1999-12-24

Family

ID=15653271

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15760098A Pending JPH11353817A (en) 1998-06-05 1998-06-05 Id number detection protecting method and circuit therefor

Country Status (1)

Country Link
JP (1) JPH11353817A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7158465B2 (en) 2002-04-06 2007-01-02 Samsung Electronics Co., Ltd. Apparatus and method for detecting and correcting relative address on optical storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7158465B2 (en) 2002-04-06 2007-01-02 Samsung Electronics Co., Ltd. Apparatus and method for detecting and correcting relative address on optical storage medium

Similar Documents

Publication Publication Date Title
KR100456250B1 (en) Cd player
JP4202658B2 (en) Data writing apparatus and DVD format data generation method
US5796690A (en) Disc controller with improved data sync and re-sync mark detection
JPH0444688A (en) Optical disk driving device
JP4618760B2 (en) Optical disc reproducing apparatus and data reproducing method thereof
JPH11353817A (en) Id number detection protecting method and circuit therefor
JP2002093037A (en) Optical disk driver
JP4636635B2 (en) Disc playback apparatus and disc playback method
JP2614670B2 (en) Method and apparatus for capturing data in recording / reproducing apparatus
JPH11232797A (en) Disk reproducing device and reproducing method
JP3442945B2 (en) Synchronous circuit
JPH10334586A (en) Signal processing circuit
JP3670758B2 (en) CD-ROM decoder
JP3699765B2 (en) Error flag generation circuit
JP4004102B2 (en) Code error correction detection device
JP2003091942A (en) Digital information reproducing device
JP2004288310A (en) Digital data recording and reproducing device and digital data reproducing method
JP3995693B2 (en) Code error correction detection device
JP3427051B2 (en) Code error detection circuit
JPH1116298A (en) Code error correcting device
JPH06349205A (en) Data reader
JP2003123404A (en) Method and device for protecting detection of synchronous detection code and method and device for protecting detection of id number
JPH07320420A (en) Digital signal reproducing device
JPH0512805A (en) Disk device
JP2000228073A (en) Data processing device