JP2000152187A - Synchronization detector, its method and reproducing device - Google Patents

Synchronization detector, its method and reproducing device

Info

Publication number
JP2000152187A
JP2000152187A JP10317598A JP31759898A JP2000152187A JP 2000152187 A JP2000152187 A JP 2000152187A JP 10317598 A JP10317598 A JP 10317598A JP 31759898 A JP31759898 A JP 31759898A JP 2000152187 A JP2000152187 A JP 2000152187A
Authority
JP
Japan
Prior art keywords
synchronization
data
length
detected
sync
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.)
Granted
Application number
JP10317598A
Other languages
Japanese (ja)
Other versions
JP4010067B2 (en
Inventor
Masaaki Isozaki
正明 五十崎
Yoshio Ooyone
祥夫 大米
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP31759898A priority Critical patent/JP4010067B2/en
Publication of JP2000152187A publication Critical patent/JP2000152187A/en
Application granted granted Critical
Publication of JP4010067B2 publication Critical patent/JP4010067B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To surely obtain synchronization even on the occurrence of an error of a synchronization pattern on the way of a sector. SOLUTION: In the case that no synchronization is detected, an inertia circuit 18 generates a synchronization pulse based on synchronization detection information fed from a SYNC RAM 17. An output control circuit 20 outputs data of a delay line 19 based on the synchronization pulse and counts the number of times of the synchronization pulses. When the count reached a prescribed number or over, a Fab-SYNC is outputted. When receiving both the Fab-SYNC and a pulse at synchronization detection, a phase control circuit 16 generates a write address of the synchronization detection information to a SYNC RAM 17 so that the synchronization detection information is written in an address of the SYNC RAM 17 where the inertia circuit 18 generates the synchronization pulse in tracing forward by a prescribed amount.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、この発明は、記
録媒体から再生されたデータブロックから同期パターン
を検出する際に、同期パターンが一定期間以上検出され
なかった部分に前戻って、データブロックの位相を特定
する同期検出装置および方法、ならびに、再生装置に関
する。
BACKGROUND OF THE INVENTION The present invention relates to a data block for detecting a synchronization pattern from a data block reproduced from a recording medium by returning to a portion where the synchronization pattern has not been detected for a predetermined period or more. The present invention relates to a synchronization detection device and method for specifying the phase of a signal, and a playback device.

【0002】[0002]

【従来の技術】近年、記録媒体として磁気テープが用い
られ、ディジタルビデオ信号およびディジタルオーディ
オ信号の記録再生を行うようにした、ディジタルビデオ
テープレコーダが普及しつつある。
2. Description of the Related Art In recent years, digital video tape recorders, which use a magnetic tape as a recording medium and record and reproduce digital video signals and digital audio signals, are becoming widespread.

【0003】このような装置では、ディジタルビデオデ
ータおよびディジタルオーディオデータを所定長のパケ
ット単位に格納し、パケットのそれぞれに、同期検出用
の同期パターン、パケットのそれぞれを識別するための
ブロックID、データの内容を表すIDおよびエラー訂
正用のパリティを付加してシンクブロックを構成する。
そして、このシンクブロックを、データの種類に応じて
グループ化してセクタとし、セクタ単位でシリアルデー
タとして磁気テープに記録される。記録は、回転ヘッド
によって磁気テープ上に斜めにトラックを形成する、ヘ
リカルスキャン方式で行われる。
In such an apparatus, digital video data and digital audio data are stored in units of packets of a predetermined length, and each packet has a synchronization pattern for detecting synchronization, a block ID for identifying each packet, and a data. The sync block is configured by adding an ID representing the contents of the above and a parity for error correction.
Then, the sync blocks are grouped into sectors according to the type of data, and are recorded on the magnetic tape as serial data in sector units. Recording is performed by a helical scan method in which tracks are formed diagonally on a magnetic tape by a rotating head.

【0004】また、記録に際して、同一セクタ内の各シ
ンクブロックの長さは同じにされると共に、ブロックI
Dが連続、且つデータ内容を表すIDは、同じ値とされ
る。
At the time of recording, the length of each sync block in the same sector is made the same, and
IDs in which D is continuous and represent data contents have the same value.

【0005】図23は、トラック上の各セクタの配置の
一例を概略的に示す。回転ヘッドが図の左側から右側へ
とトレースし、トラックが形成される。トラックは、上
述したように、実際には磁気テープに対して斜めに形成
され、1フレームのビデオデータは、複数、例えば4ト
ラックを用いて記録される。ビデオデータが記録される
ビデオセクタに挟まれて、オーディオデータを記録する
オーディオセクタが複数、配置される。この例では、C
h1〜Ch8までの8チャンネル分のオーディオ信号を
扱うことができるようにされているため、A1〜A8の
8つのオーディオセクタが配される。
FIG. 23 schematically shows an example of the arrangement of each sector on a track. The rotating head traces from the left side to the right side of the figure to form a track. As described above, the track is actually formed obliquely with respect to the magnetic tape, and one frame of video data is recorded using a plurality of, for example, four tracks. A plurality of audio sectors for recording audio data are arranged between video sectors for recording video data. In this example, C
Since audio signals for eight channels from h1 to Ch8 can be handled, eight audio sectors A1 to A8 are arranged.

【0006】各セクタの間には、例えばオーディオ信号
のセクタ単位でのインサート編集が可能なように、オー
ディオデータの記録されないエディットギャップ(E
G)が配置される。また、トラックの先頭には、プリア
ンブルが設けられる。プリアンブルは、再生時に、再生
クロック用のPLLがロックしやすいような信号、例え
ば「FF(16進表記)」のデータが繰り返し記録され
る。さらに、記録媒体上での最短記録波長は、1トラッ
ク分のデータ量に依存する。
[0006] Between each sector, an edit gap (E) in which audio data is not recorded is inserted so that, for example, insert editing can be performed in sector units of an audio signal.
G) is arranged. A preamble is provided at the beginning of the track. In the preamble, a signal that makes it easy for the PLL for the reproduction clock to lock during reproduction, for example, data of “FF (hexadecimal notation)” is repeatedly recorded. Further, the shortest recording wavelength on the recording medium depends on the data amount for one track.

【0007】再生時には、回転ヘッドによって磁気テー
プ上のトラックがトレースされ、再生信号が得られる。
この再生信号の、上述のプリアンブル部分における信号
のエッジが検出され、このエッジ間隔を利用して、再生
クロック用のPLLをロックさせる。そして、再生信号
から、シンク検出回路によって、再生クロックに同期し
た再生ビット列から同期パターンを検出し、各々のシン
クブロックの先頭位置を検出する。そして、検出された
シンクブロック内のパケットを、ブロックID番号およ
びデータ内容のIDとに応じて並べ替えて、元のデータ
列を復号する。すなわち、シンクブロック先頭の同期パ
ターンのビット列および出現周期、さらに、同一セクタ
内でブロックID番号が連続で、且つデータ内容を表す
IDが同じであるというということを利用して、シンク
ブロックの位相が特定される。
At the time of reproduction, tracks on the magnetic tape are traced by the rotating head, and a reproduction signal is obtained.
The edge of the signal in the preamble portion of the reproduced signal is detected, and the PLL for the reproduced clock is locked using the edge interval. Then, from the reproduced signal, a sync pattern is detected from the reproduced bit string synchronized with the reproduced clock by the sync detection circuit, and the head position of each sync block is detected. Then, the packets in the detected sync block are rearranged according to the block ID number and the data content ID, and the original data sequence is decoded. That is, by utilizing the fact that the bit sequence and appearance period of the synchronization pattern at the head of the sync block and that the block ID number is continuous and the ID indicating the data content is the same within the same sector, the phase of the sync block is changed. Specified.

【0008】例えば、同期パターンのビット列が固有パ
ターンと一致し、且つシンクブロック長だけ遅延した位
置に同一のパターンが検出され、さらに、ブロックID
番号が適正であった場合に、シンクブロックの位相が特
定される。
For example, the same pattern is detected at a position where the bit string of the synchronization pattern matches the unique pattern and is delayed by the sync block length.
If the number is correct, the phase of the sync block is specified.

【0009】ここで、データ列の復号時に、データ列に
エラーが生じている場合について考える。ここでは、デ
ータ列のビット間隔は常に同じで、ランダムエラーだけ
が付加されたと仮定する。この場合、同期パターン間の
ビット間隔は、同一セクタ内で常に同じであるため、セ
クタの先頭で同期検出ができれば、あとはブロック長に
基づきフライホイール処理を行うことで、後ろの同期ブ
ロックの先頭位相は特定できる。よって、この場合に
は、セクタの先頭位置での同期検出確率が十分確保され
ていれば良いことになる。
Here, consider a case where an error has occurred in the data string when decoding the data string. Here, it is assumed that the bit intervals of the data string are always the same, and only a random error is added. In this case, the bit interval between the synchronization patterns is always the same within the same sector. Therefore, if the synchronization can be detected at the beginning of the sector, the flywheel processing is performed based on the block length, and then the beginning of the subsequent synchronization block is obtained. The phase can be specified. Therefore, in this case, it is sufficient that the synchronization detection probability at the head position of the sector is sufficiently ensured.

【0010】なお、フライホイール処理は、以前検出さ
れた周期で、引き続いて同期信号を発生させる処理であ
り、イナーシャ回路で実現される。
[0010] The flywheel process is a process for continuously generating a synchronizing signal at a previously detected cycle, and is realized by an inertia circuit.

【0011】この例では、同期検出を、データの入力点
とブロック長分だけ遅延した点とを参照して行っている
ので、セクタの先頭で同期検出を行うためには、セクタ
の先頭で2個連続して同期パターンを検出する必要があ
る。図24は、セクタの先頭で2個連続して同期パター
ンを検出できない例を示す。図24Aは、セクタの先頭
で4個連続してエラーがある例である。図24B〜図2
4Eは、セクタの先頭4個のうち3個にエラーがある例
である。図24F〜図24Hは、セクタの先頭4個のう
ち2個にエラーがあり、連続した2個が検出されていな
い例である。
In this example, the synchronization detection is performed with reference to the data input point and the point delayed by the block length. Therefore, in order to perform the synchronization detection at the head of the sector, two bits are detected at the head of the sector. It is necessary to detect the synchronization pattern continuously. FIG. 24 shows an example in which two consecutive synchronization patterns cannot be detected at the beginning of a sector. FIG. 24A is an example in which there are four consecutive errors at the head of a sector. 24B-2
4E is an example in which three out of the first four sectors have an error. FIGS. 24F to 24H are examples in which two out of the first four sectors have an error and two consecutive ones are not detected.

【0012】一方、図24Iは、セクタの先頭4個のう
ち3個まで検出されているが、そのうち先頭の2個が連
続して検出されていない。これは、連続して検出されて
いる後半の2個の同期パターンから、同期パターンを前
に戻っての同期検出が可能である。
On the other hand, in FIG. 24I, up to three out of four heads of a sector are detected, but two heads are not detected continuously. In this case, it is possible to detect the synchronization by returning the synchronization pattern back from the latter two synchronization patterns that are continuously detected.

【0013】ここで、同期パターンが検出できない確率
について考える。確率は、 バイトエラー発生確率:Pbytes 同期パターン4バイトがエラーになる確率:Ps=1-(1-Pbytes)4 ・・・(1) 同期パターン検出エラー確率: Pse=Ps4+4 ×Ps3 ×(1-Ps)+3×Ps2 ×(1-Ps)2+Ps×(1-Ps)3 ・・・(2) このように求められる。
Here, consider the probability that a synchronization pattern cannot be detected. The probability is: byte error occurrence probability: Pbytes Synchronization pattern 4 byte error probability: Ps = 1- (1-Pbytes) 4 ... (1) Synchronization pattern detection error probability: Pse = Ps 4 + 4 × Ps 3 × (1-Ps) + 3 × Ps 2 × (1-Ps) 2 + Ps × (1-Ps) 3 (2) It is obtained as described above.

【0014】例えば有効走査線数が480本のノンイン
ターレス(プログレッシブ)走査で、ビデオレートが9
0Mbpsの場合、セクタ先頭の発生頻度が3596回
/sとなる。同期パターン誤りによるエラーの発生頻度
Tse は、Pbytes=1×10-3とした場合、上述の式(1)お
よび式(2)に基づき、 Tse=14.3回/s このようになる。
For example, a non-interlaced (progressive) scan having 480 effective scanning lines and a video rate of 9
In the case of 0 Mbps, the frequency of occurrence of the head of the sector is 3596 times / s. Error frequency due to synchronization pattern error
When Tbytes is set to Pbytes = 1 × 10 −3 , Tse = 14.3 times / s based on the above equations (1) and (2).

【0015】次に、上述した図24Iのような場合にお
いて、遡りによって同期検出を行う例について考える。
すなわち、3、4の位置の同期パターンは、検出できる
ため、これにより、1の同期パターンの位置は、3、4
の位置から前戻りすることで計算可能である。この前戻
り処理をした場合での、同期パターン検出ができない確
率は、 Pse=Ps4+4 ×Ps×(1-Ps)3+3 ×Ps2 ×(1-Ps)4 ・・・(3) この式(3)で計算できる。Pbytes=1×10-3とすると、 Tse=0.175 回/s このようになる。すなわち、前戻り処理を行うことによ
って、飛躍的に同期検出能力が高まる。
Next, in the case shown in FIG. 24I described above, an example in which synchronization is detected retroactively will be considered.
That is, since the synchronization patterns at the positions 3 and 4 can be detected, the positions of the synchronization patterns 1 and 3
It can be calculated by going back from the position. The probability that the synchronization pattern cannot be detected in the case of performing this forward processing is as follows: Pse = Ps 4 +4 × Ps × (1-Ps) 3 +3 × Ps 2 × (1-Ps) 4 (3) ) It can be calculated by equation (3). If Pbytes = 1 × 10 -3 , Tse = 0.175 times / s. That is, by performing the forward return processing, the synchronization detection ability is dramatically improved.

【0016】図25は、従来の技術による、前戻り処理
を行うようにされた同期検出回路の構成の一例を示す。
この回路は、データ長がLであるシンクブロックに対応
している。端子300から供給された入力データは、デ
ータ長Lに対応するシフトレジスタ301に供給される
と共に、比較回路303の一方の入力端に供給される。
比較回路303の他方の入力端には、入力データがシフ
トレジスタ301で遅延されたものが供給される。シフ
トレジスタ301から出力されたデータ列は、ディレイ
ライン307を介して6L分遅延され、可変シフタ30
8に供給される。
FIG. 25 shows an example of a configuration of a synchronization detecting circuit adapted to perform a backward process according to the conventional technique.
This circuit corresponds to a sync block whose data length is L. The input data supplied from the terminal 300 is supplied to the shift register 301 corresponding to the data length L and to one input terminal of the comparison circuit 303.
The other input terminal of the comparison circuit 303 is supplied with the input data delayed by the shift register 301. The data string output from the shift register 301 is delayed by 6 L via the delay line 307, and
8 is supplied.

【0017】図26は、セクタの先頭から読み出された
入力データの一例を概略的に示す。「×」は、同期パタ
ーンにエラーがあるデータである。「○」は、同期パタ
ーンにエラーがないデータである。時間的には、データ
lがより新しく、データaが最も古い。ここでは、デー
タaがセクタの先頭であるとする。例えばディレイライ
ン307において、4L目にデータaが格納され、ディ
レイライン307の先頭に向けてデータb、データc、
データdと格納される。シフトレジスタ301にはデー
タeが格納される。入力端300には、データfが到来
していることになる。また、入力データは、シンク比較
回路302にも供給され、内部でラッチされる。そし
て、ラッチされている入力データに対して、各ビット位
置で8ビットからなる同期パターンとの比較を行う。比
較結果として、同期パターンの検出結果と、どのビット
位置でパターンが一致したのかを示すビットシフト量が
比較回路303に供給される。比較回路303では、こ
の検出結果に基づき一方および他方の入力端に供給され
たデータ列からシンクブロックを検出する。検出結果に
基づき、シンク検出回路304でシンクブロックに格納
されたブロックID番号およびデータ内容のIDに基づ
き、上述したように、シンクブロックの妥当性を判断す
ると共に、シンクブロックの位相を特定する。
FIG. 26 schematically shows an example of input data read from the head of a sector. “×” is data having an error in the synchronization pattern. “○” is data having no error in the synchronization pattern. In terms of time, data 1 is newer and data a is oldest. Here, it is assumed that data a is the head of a sector. For example, in the delay line 307, data a is stored in the fourth L, and data b, data c,
Data d is stored. Data e is stored in the shift register 301. The data f has arrived at the input terminal 300. The input data is also supplied to the sync comparison circuit 302 and is latched internally. Then, the latched input data is compared with a synchronization pattern consisting of 8 bits at each bit position. As a comparison result, a detection result of the synchronization pattern and a bit shift amount indicating at which bit position the pattern matches are supplied to the comparison circuit 303. The comparison circuit 303 detects a sync block from the data strings supplied to one and the other input terminals based on the detection result. Based on the detection result, the sync detection circuit 304 determines the validity of the sync block and specifies the phase of the sync block, as described above, based on the block ID number and the data content ID stored in the sync block.

【0018】シンク検出回路304では、検出された同
期パターンを含むシンクブロックに格納されたID情報
(ID番号)と、システム関数として予め知られている
当該セクタの先頭のシンクブロックのID番号とに基づ
き、当該セクタの先頭のシンクブロック(データa)へ
の相対位置を計算する。このときには、この例では、シ
フトレジスタ301内のデータeと、ディレイライン3
07の先頭のデータdに基づき、相対位置の計算が行わ
れる。
The sync detection circuit 304 compares the ID information (ID number) stored in the sync block containing the detected synchronization pattern with the ID number of the first sync block of the sector, which is known in advance as a system function. Based on this, the relative position of the sector to the head sync block (data a) is calculated. At this time, in this example, the data e in the shift register 301 and the delay line 3
Calculation of the relative position is performed based on the leading data d of 07.

【0019】この相対位置情報が位相制御回路305に
供給される。相対位相情報は、位相制御回路305によ
り書き込みアドレスを計算され、(6L+K)の長さを
有するシンクRAM306に書き込まれる。また、その
アドレスには、イナーシャ回路309を起動させるため
の起動信号や、同期パターンの検出情報が併せて書き込
まれる。
The relative position information is supplied to the phase control circuit 305. For the relative phase information, a write address is calculated by the phase control circuit 305, and is written to the sink RAM 306 having a length of (6L + K). A start signal for starting the inertia circuit 309 and synchronization pattern detection information are also written into the address.

【0020】上述した、位相制御回路305から供給さ
れ書き込まれた各情報は、シンクRAM306中を、デ
ィレイライン307中のデータの移動に対応して移動
し、シンクRAM306の後端からLの位置に来ると、
イナーシャ回路309に供給される。これによりイナー
シャ回路309から同期パルスが出力される。同期パル
スは、端子310に導出されると共に、可変シフタ30
8に供給される。
The information supplied and written from the phase control circuit 305 moves in the sync RAM 306 in accordance with the movement of the data in the delay line 307, and moves to the position L from the rear end of the sync RAM 306. When you come,
It is supplied to the inertia circuit 309. As a result, a synchronization pulse is output from the inertia circuit 309. The synchronization pulse is led out to the terminal 310 and the variable shifter 30
8 is supplied.

【0021】可変シフタ308では、シンクRAM30
6から供給された相対位相情報と、イナーシャ回路30
9から供給された同期パルスとに基づき、ディレイライ
ン307から出力されたデータaを位相シフトさせると
共に、同期パルスに同期させて、シンクブロックとして
出力端311に導出させる。セクタの先頭のシンクブロ
ックが同期パルスに同期されて出力される。
In the variable shifter 308, the sync RAM 30
6 and the inertia circuit 30
The data a output from the delay line 307 is phase-shifted based on the synchronization pulse supplied from No. 9 and synchronized with the synchronization pulse to be output to the output terminal 311 as a sync block. The sync block at the head of the sector is output in synchronization with the synchronization pulse.

【0022】[0022]

【発明が解決しようとする課題】この図25に示す構成
では、シンク検出回路304で予めセクタ先頭のIDと
して知られている情報に基づき、各種信号を形成し、セ
クタ先頭での前戻り処理のみが行われる。そのため、例
えば図25に示されるデータh〜データjまでのよう
な、セクタの途中で同期パターンが検出できなかった場
合の前戻り処理を行うことができないという問題点があ
った。
In the configuration shown in FIG. 25, various signals are formed by the sync detection circuit 304 based on information that is known in advance as the ID of the head of the sector, and only the return processing at the head of the sector is performed. Is performed. For this reason, there is a problem that the backward processing cannot be performed when the synchronization pattern cannot be detected in the middle of the sector, such as data h to data j shown in FIG. 25, for example.

【0023】例えばノントラッキング再生を行うような
再生装置では、1つのトラックを複数の再生ヘッドでト
レースするので、それぞれの再生ヘッドからの信号は、
トラックの途中から再生された信号となる。このときに
は、セクタの途中から同期パターンを検出し、イナーシ
ャ回路を動作させる必要がある。ところが、上述したよ
うに、従来の方法では、セクタ中の特定の番号を検出し
た場合に前戻り処理を行うようにされているため、セク
タの途中からのデータに対しては前戻り処理が行えない
という問題点があった。
For example, in a reproducing apparatus that performs non-tracking reproduction, one track is traced by a plurality of reproducing heads.
The signal is reproduced from the middle of the track. At this time, it is necessary to detect the synchronization pattern from the middle of the sector and operate the inertia circuit. However, as described above, in the conventional method, when a specific number in a sector is detected, the rewind process is performed. Therefore, the rewind process cannot be performed on data from the middle of the sector. There was no problem.

【0024】また、従来では、同時に対応できるシンク
ブロック長が1種類だけとされており、互いに異なる複
数のシンクブロック長を持つような記録フォーマットで
は使用することができないという問題点があった。
Further, conventionally, only one type of sync block length can be simultaneously supported, and there is a problem that it cannot be used in a recording format having a plurality of different sync block lengths.

【0025】したがって、この発明の目的は、セクタの
途中で同期パターンのエラーがあっても確実に同期を得
ることができると共に、互いに異なる複数のシンクブロ
ック長が混在するような記録フォーマットにも対応でき
るような同期検出装置および方法、ならびに、再生装置
を提供することにある。
Therefore, an object of the present invention is to be able to reliably obtain synchronization even if a synchronization pattern error occurs in the middle of a sector, and to cope with a recording format in which a plurality of different sync block lengths are mixed. An object of the present invention is to provide an apparatus and method for detecting synchronization which can be performed, and a reproducing apparatus.

【0026】[0026]

【課題を解決するための手段】この発明は、上述した課
題を解決するために、同期を検出するための同期パター
ンがデータ長毎に付加されて入力されたビット列から同
期検出を行う同期検出装置において、入力データの同期
パターンを検出して入力データの同期を検出すると共
に、同期を検出できたことを示す情報と検出された同期
の間隔に基づくデータ長情報とからなる同期検出情報を
作成する同期検出手段と、入力データを同期に対応した
データブロックとして順に複数格納する第1のメモリ手
段と、同期検出手段による同期検出情報を格納する、第
1のメモリ手段と対応した長さを有する第2のメモリ手
段と、同期検出手段で同期が検出されない場合に、第2
のメモリ手段に書き込まれた同期検出情報の位置と同期
検出情報のデータ長情報とに基づき、データ長に対応す
る同期信号を生成する同期信号生成手段と、同期信号生
成手段により同期信号が生成された回数をカウントし、
カウント値が所定値以上になり、且つ、同期検出手段に
よる同期の検出がなされたら、第2のメモリ手段に対し
て、同期が検出された位置よりも所定長だけ前戻りした
位置に、検出された同期に伴う同期検出情報を書き込む
ように制御する位相制御手段とを有することを特徴とす
る同期検出装置である。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention provides a synchronization detecting apparatus for detecting a synchronization from a bit string input with a synchronization pattern for detecting synchronization added for each data length. A synchronization pattern of the input data is detected by detecting a synchronization pattern of the input data, and synchronization detection information including information indicating that synchronization has been detected and data length information based on the detected synchronization interval is created. A synchronization detecting means, a first memory means for sequentially storing a plurality of input data as data blocks corresponding to synchronization, and a first memory means for storing synchronization detection information by the synchronization detecting means and having a length corresponding to the first memory means. When the synchronization is not detected by the memory means of the second and the synchronization detecting means, the second
A synchronization signal generating means for generating a synchronization signal corresponding to the data length based on the position of the synchronization detection information written in the memory means and the data length information of the synchronization detection information; Count the number of times
When the count value is equal to or more than the predetermined value and the synchronization is detected by the synchronization detecting means, the second memory means is detected at a position which is moved back by a predetermined length from the position at which the synchronization is detected. And phase control means for controlling to write synchronization detection information accompanying the synchronization.

【0027】また、この発明は、記録媒体から再生され
た、同期を検出するための同期パターンがデータ長毎に
付加されたビット列から同期検出を行う再生装置におい
て、再生データの同期パターンを検出して再生データの
同期を検出すると共に、同期を検出できたことを示す情
報と検出された同期の間隔に基づくデータ長情報とから
なる同期検出情報を作成する同期検出手段と、再生デー
タを同期に対応したデータブロックとして順に複数格納
する第1のメモリ手段と、同期検出手段による同期検出
情報を格納する、第1のメモリ手段と対応した長さを有
する第2のメモリ手段と、同期検出手段で同期が検出さ
れない場合に、第2のメモリ手段に書き込まれた同期検
出情報の位置と同期検出情報のデータ長情報とに基づ
き、データ長に対応する同期信号を生成する同期信号生
成手段と、同期信号生成手段により同期信号が生成され
た回数をカウントし、カウント値が所定値以上になり、
且つ、同期検出手段による同期の検出がなされたら、第
2のメモリ手段に対して、同期が検出された位置よりも
所定長だけ前戻りした位置に、検出された同期に伴う同
期検出情報を書き込むように制御する位相制御手段と、
同期信号生成手段により生成された同期信号あるいは同
期検出手段で検出された同期に基づき第1のメモリ手段
に格納されたデータブロックを出力する出力制御手段と
を有することを特徴とする再生装置である。
According to the present invention, there is provided a reproducing apparatus for detecting synchronization from a bit string reproduced from a recording medium to which a synchronization pattern for detecting synchronization is added for each data length. Synchronization detection means for detecting the synchronization of the reproduced data, generating synchronization detection information comprising information indicating that the synchronization has been detected and data length information based on the detected synchronization interval, and synchronizing the reproduced data. First memory means for storing a plurality of data blocks in order as corresponding data blocks, second memory means for storing synchronization detection information by the synchronization detection means and having a length corresponding to the first memory means; If the synchronization is not detected, the data length corresponds to the position of the synchronization detection information written in the second memory means and the data length information of the synchronization detection information. A synchronization signal generating means for generating a that synchronization signal, counts the number of times the synchronizing signal is generated by the synchronizing signal generating means, the count value becomes a predetermined value or more,
When the synchronization is detected by the synchronization detection means, the synchronization detection information associated with the detected synchronization is written to the second memory means at a position which is returned by a predetermined length from the position at which the synchronization is detected. Phase control means for controlling
An output control means for outputting a data block stored in the first memory means based on the synchronization signal generated by the synchronization signal generation means or the synchronization detected by the synchronization detection means. .

【0028】また、この発明は、同期を検出するための
同期パターンがデータ長毎に付加されて入力されたビッ
ト列から同期検出を行う同期検出方法において、入力デ
ータの同期パターンを検出して入力データの同期を検出
すると共に、同期を検出できたことを示す情報と検出さ
れた同期の間隔に基づくデータ長情報とからなる同期検
出情報を作成する同期検出のステップと、入力データを
同期に対応したデータブロックとして第1のメモリに順
に複数格納するステップと、第1のメモリと対応した長
さを有する第2のメモリに、同期検出のステップによる
同期検出情報を格納するステップと、同期検出のステッ
プで同期が検出されない場合に、第2のメモリに書き込
まれた同期検出情報の位置と同期検出情報のデータ長情
報とに基づき、データ長に対応する同期信号を生成する
同期信号生成のステップと、同期信号生成のステップに
より同期信号が生成された回数をカウントし、カウント
値が所定値以上になり、且つ、同期検出のステップによ
る同期の検出がなされたら、第2のメモリに対して、同
期が検出された位置よりも所定長だけ前戻りした位置
に、検出された同期に伴う同期検出情報を書き込むよう
に制御する位相制御のステップとを有することを特徴と
する同期検出方法である。
According to another aspect of the present invention, there is provided a synchronization detecting method for detecting a synchronization from an input bit string to which a synchronization pattern for detecting synchronization is added for each data length. A synchronization detection step of generating synchronization detection information including information indicating that synchronization has been detected and data length information based on the detected synchronization interval, and input data corresponding to the synchronization. Storing a plurality of data blocks in the first memory in order, storing the synchronization detection information in the second memory having a length corresponding to the first memory, and detecting the synchronization; If the synchronization is not detected in step (2), the data is determined based on the position of the synchronization detection information written in the second memory and the data length information of the synchronization detection information. A synchronization signal generation step for generating a synchronization signal corresponding to the data length, and counting the number of times a synchronization signal has been generated by the synchronization signal generation step. When the synchronization is detected, the phase control of the second memory is performed such that the synchronization detection information accompanying the detected synchronization is written to a position which is returned by a predetermined length from the position where the synchronization is detected. And a synchronization detecting method.

【0029】上述したように、この発明は、入力データ
が同期に対応したデータブロックとして第1のメモリに
順に複数格納され、同期検出手段では、入力データの同
期パターンを検出して入力データの同期を検出すると共
に、同期を検出できたことを示す情報と検出された同期
の間隔に基づくデータ長情報とからなる同期検出情報を
作成する。同期検出手段による同期検出情報が第1のメ
モリに対応した長さを有する第2のメモリに格納され
る。同期信号生成手段では、同期が検出されない場合
に、第2のメモリに書き込まれた同期検出情報の位置と
同期検出情報のデータ長情報とに基づき、データ長に対
応する同期信号を生成する。同期信号生成手段により同
期信号が生成された回数がカウントされ、カウント値が
所定値以上になり、且つ、同期検出手段による同期の検
出がなされたら、第位相制御手段によって、第2のメモ
リ手段に対して、同期が検出された位置よりも所定長だ
け前戻りした位置に、検出された同期に伴う同期検出情
報を書き込むように制御される。そのため、同期信号生
成手段では、同期が検出されない位置まで前戻りして同
期信号が生成される。
As described above, according to the present invention, a plurality of input data are sequentially stored in the first memory as data blocks corresponding to synchronization, and the synchronization detecting means detects a synchronization pattern of the input data and synchronizes the input data. And generates synchronization detection information including information indicating that synchronization has been detected and data length information based on the detected synchronization interval. The synchronization detection information by the synchronization detecting means is stored in a second memory having a length corresponding to the first memory. The synchronization signal generation means generates a synchronization signal corresponding to the data length based on the position of the synchronization detection information written in the second memory and the data length information of the synchronization detection information when the synchronization is not detected. The number of times the synchronization signal is generated by the synchronization signal generation means is counted, and when the count value becomes equal to or greater than a predetermined value and the synchronization is detected by the synchronization detection means, the second phase control means stores the data in the second memory means. On the other hand, control is performed so that synchronization detection information associated with the detected synchronization is written at a position that is returned by a predetermined length from the position where the synchronization is detected. Therefore, the synchronizing signal generation means generates a synchronizing signal by returning to a position where no synchronization is detected.

【0030】[0030]

【発明の実施の形態】以下、この発明をディジタルVC
Rに対して適用した一実施形態について説明する。この
一実施形態は、放送局の環境で使用して好適なもので、
互いに異なる複数のフォーマットのビデオ信号の記録・
再生を可能とするものである。例えば、NTSC方式に
基づいたインターレス走査で有効ライン数が480本の
信号(480i信号)およびPAL方式に基づいたイン
ターレス走査で有効ライン数が576本の信号(576
i信号)の両者を殆どハードウエアを変更せずに記録・
再生することが可能とされる。さらに、インターレス走
査でライン数が1080本の信号(1080i信号)、
プログレッシブ走査(ノンインターレス)でライン数が
それぞれ480本、720本、1080本の信号(48
0p信号、720p信号、1080p信号)などの記録
・再生も行うようにできる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described with reference to digital VC.
An embodiment applied to R will be described. This embodiment is suitable for use in a broadcast station environment,
Recording and recording of video signals of multiple different formats
It enables playback. For example, a signal (480i signal) having 480 effective lines in the interlaced scanning based on the NTSC system and a signal (576 signals) having 576 effective lines in the interlaced scanning based on the PAL system.
i) are recorded with almost no hardware changes.
It is possible to reproduce. Furthermore, a signal having 1080 lines (1080i signal) in interlaced scanning,
In progressive scanning (non-interlace), the number of lines is 480, 720, and 1080, respectively.
Recording / reproduction such as 0p signal, 720p signal, and 1080p signal) can also be performed.

【0031】また、この一実施形態では、ビデオ信号は
MPEG2方式に基づき圧縮符号化され、オーディオ信
号は非圧縮で扱われる。周知のように、MPEG2は、
動き補償予測符号化と、DCTによる圧縮符号化とを組
み合わせたものである。MPEG2のデータ構造は、階
層構造をなしており、下位から、ブロック層、マクロブ
ロック層、スライス層、ピクチャ層、GOP層およびシ
ーケンス層となっている。
In this embodiment, a video signal is compression-encoded based on the MPEG2 system, and an audio signal is handled uncompressed. As is well known, MPEG2 is
This is a combination of motion compensation predictive coding and compression coding by DCT. The data structure of MPEG2 has a hierarchical structure, and includes a block layer, a macroblock layer, a slice layer, a picture layer, a GOP layer, and a sequence layer from the lowest level.

【0032】ブロック層は、DCTを行う単位であるD
CTブロックからなる。マクロブロック層は、複数のD
CTブロックで構成される。スライス層は、ヘッダ部
と、行間をまたがらない任意個のマクロブロックより構
成される。ピクチャ層は、ヘッダ部と、複数のスライス
とから構成される。ピクチャは、1画面に対応する。G
OP(Group Of Picture)層は、ヘッダ部と、フレーム内
符号化に基づくピクチャであるIピクチャと、予測符号
化に基づくピクチャであるPおよびBピクチャとから構
成される。
The block layer is a unit for performing DCT, D
It consists of a CT block. The macroblock layer includes a plurality of D
It is composed of CT blocks. The slice layer is composed of a header section and any number of macroblocks that do not extend between rows. The picture layer includes a header section and a plurality of slices. A picture corresponds to one screen. G
The OP (Group Of Picture) layer includes a header portion, an I picture that is a picture based on intra-frame coding, and P and B pictures that are pictures based on predictive coding.

【0033】Iピクチャ(Intra-coded picture:イント
ラ符号化画像) は、符号化されるときその画像1枚の中
だけで閉じた情報を使用するものである。従って、復号
時には、Iピクチャ自身の情報のみで復号できる。Pピ
クチャ(Predictive-coded picture :順方向予測符号化
画像)は、予測画像(差分をとる基準となる画像)とし
て、時間的に前の既に復号されたIピクチャまたはPピ
クチャを使用するものである。動き補償された予測画像
との差を符号化するか、差分を取らずに符号化するか、
効率の良い方をマクロブロック単位で選択する。Bピク
チャ(Bidirectionally predictive-coded picture :両
方向予測符号化画像)は、予測画像(差分をとる基準と
なる画像)として、時間的に前の既に復号されたIピク
チャまたはPピクチャ、時間的に後ろの既に復号された
IピクチャまたはPピクチャ、並びにこの両方から作ら
れた補間画像の3種類を使用する。この3種類のそれぞ
れの動き補償後の差分の符号化と、イントラ符号化の中
で、最も効率の良いものをマクロブロック単位で選択す
る。
An I-picture (Intra-coded picture) uses information that is closed only in one picture when it is coded. Therefore, at the time of decoding, decoding can be performed using only the information of the I picture itself. A P-picture (Predictive-coded picture: a forward predictive coded picture) uses a previously decoded I-picture or P-picture which is temporally previous as a predicted picture (a reference picture for taking a difference). . Whether to encode the difference from the motion-compensated predicted image, to encode without taking the difference,
The more efficient one is selected for each macroblock. A B picture (Bidirectionally predictive-coded picture) is a temporally previous I-picture or P-picture which is temporally preceding, and a temporally backward I-picture, We use three types of I-pictures or P-pictures already decoded, as well as interpolated pictures made from both. Among the three types of difference coding after motion compensation and intra coding, the most efficient one is selected for each macroblock.

【0034】従って、マクロブロックタイプとしては、
フレーム内符号化(Intra) マクロブロックと、過去から
未来を予測する順方向(Foward)フレーム間予測マクロブ
ロックと、未来から過去を予測する逆方向(Backward)フ
レーム間予測マクロブロックと、前後両方向から予測す
る両方向マクロブロックとがある。Iピクチャ内の全て
のマクロブロックは、フレーム内符号化マクロブロック
である。また、Pピクチャ内には、フレーム内符号化マ
クロブロックと順方向フレーム間予測マクロブロックと
が含まれる。Bピクチャ内には、上述した4種類の全て
のタイプのマクロブロックが含まれる。
Therefore, as the macroblock type,
Intra-frame coding (Intra) macroblock, forward (Fward) inter-frame prediction macroblock predicting the future from the past, and backward (Backward) interframe prediction macroblock predicting the future from the future, There is a bidirectional macroblock to be predicted. All macroblocks in an I picture are intra-coded macroblocks. The P picture includes an intra-frame coded macro block and a forward inter-frame predicted macro block. The B picture includes all four types of macroblocks described above.

【0035】GOPには、最低1枚のIピクチャが含ま
れ、PおよびBピクチャは、存在しなくても許容され
る。最上層のシーケンス層は、ヘッダ部と複数のGOP
とから構成される。
A GOP contains at least one I picture, and P and B pictures are allowed even if they do not exist. The top sequence layer is composed of a header section and multiple GOPs.
It is composed of

【0036】MPEGのフォーマットにおいては、スラ
イスが1つの可変長符号系列である。可変長符号系列と
は、可変長符号を復号化しなければデータの境界を検出
できない系列である。
In the MPEG format, a slice is one variable-length code sequence. A variable-length code sequence is a sequence in which a data boundary cannot be detected unless a variable-length code is decoded.

【0037】また、シーケンス層、GOP層、ピクチャ
層、スライス層およびマクロブロック層の先頭には、そ
れぞれ、バイト単位に整列された所定のビットパターン
を有する識別コード(スタートコードと称される)が配
される。なお、上述した各層のヘッダ部は、ヘッダ、拡
張データまたはユーザデータをまとめて記述したもので
ある。シーケンス層のヘッダには、画像(ピクチャ)の
サイズ(縦横の画素数)等が記述される。GOP層のヘ
ッダには、タイムコードおよびGOPを構成するピクチ
ャ数等が記述される。
At the head of the sequence layer, GOP layer, picture layer, slice layer, and macroblock layer, an identification code (referred to as a start code) having a predetermined bit pattern aligned in byte units is provided. Be placed. Note that the header section of each layer described above collectively describes a header, extension data, or user data. In the header of the sequence layer, the size of the image (picture) (the number of vertical and horizontal pixels) and the like are described. The time code, the number of pictures constituting the GOP, and the like are described in the header of the GOP layer.

【0038】スライス層に含まれるマクロブロックは、
複数のDCTブロックの集合であり、DCTブロックの
符号化系列は、量子化されたDCT係数の系列を0係数
の連続回数(ラン)とその直後の非0系列(レベル)を
1つの単位として可変長符号化したものである。マクロ
ブロックならびにマクロブロック内のDCTブロックに
は、バイト単位に整列した識別コードは付加されない。
すなわち、これらは、1つの可変長符号系列ではない。
The macro blocks included in the slice layer are:
It is a set of a plurality of DCT blocks, and the encoded sequence of the DCT block is a variable of a sequence of quantized DCT coefficients, with the number of consecutive 0 coefficients (run) and a non-zero sequence (level) immediately after it as one unit. It is a long code. The macroblock and the DCT block in the macroblock are not added with the identification codes arranged in byte units.
That is, they are not one variable-length code sequence.

【0039】マクロブロックは、画面(ピクチャ)を1
6画素×16ラインの格子状に分割したものである。ス
ライスは、例えばこのマクロブロックを水平方向に連結
してなる。連続するスライスの前のスライスの最後のマ
クロブロックと、次のスライスの先頭のマクロブロック
とは連続しており、スライス間でのマクロブロックのオ
ーバーラップを形成することは、許されていない。ま
た、画面のサイズが決まると、1画面当たりのマクロブ
ロック数は、一意に決まる。
A macroblock is a screen (picture) of 1
It is divided into a grid of 6 pixels × 16 lines. A slice is formed by connecting these macroblocks in the horizontal direction, for example. The last macroblock of the previous slice of a continuous slice and the first macroblock of the next slice are continuous, and it is not allowed to form a macroblock overlap between slices. When the size of the screen is determined, the number of macroblocks per screen is uniquely determined.

【0040】一方、復号および符号化による信号の劣化
を避けるためには、符号化データ上で編集することが望
ましい。このとき、PピクチャおよびBピクチャは、そ
の復号に、時間的に前のピクチャあるいは前後のピクチ
ャを必要とする。そのため、編集単位を1フレーム単位
とすることができない。この点を考慮して、この一実施
形態では、1つのGOPが1枚のIピクチャからなるよ
うにしている。
On the other hand, in order to avoid signal deterioration due to decoding and encoding, it is desirable to edit the encoded data. At this time, the P picture and the B picture require a temporally preceding picture or a preceding and succeeding picture for decoding. Therefore, the editing unit cannot be set to one frame unit. In consideration of this point, in this embodiment, one GOP is made up of one I picture.

【0041】また、例えば1フレーム分の記録データが
記録される記録領域が所定のものとされる。MPEG2
では、可変長符号化を用いているので、1フレーム期間
に発生するデータを所定の記録領域に記録できるよう
に、1フレーム分の発生データ量が制御される。さら
に、この一実施形態では、磁気テープへの記録に適する
ように、1スライスを1マクロブロックから構成すると
共に、1マクロブロックを、所定長の固定枠に当てはめ
る。
For example, a recording area in which recording data for one frame is recorded is a predetermined area. MPEG2
Since the variable length coding is used, the amount of generated data for one frame is controlled so that data generated during one frame period can be recorded in a predetermined recording area. Further, in this embodiment, one slice is composed of one macroblock so as to be suitable for recording on a magnetic tape, and one macroblock is applied to a fixed frame having a predetermined length.

【0042】図1は、この一実施形態による記録再生装
置の記録側の構成の一例を示す。記録時には、所定のイ
ンターフェース例えばSDI(Serial Data Interface)
の受信部を介してディジタルビデオ信号が端子101か
ら入力される。SDIは、(4:2:2)コンポーネン
トビデオ信号とディジタルオーディオ信号と付加的デー
タとを伝送するために、SMPTEによって規定された
インターフェイスである。入力ビデオ信号は、ビデオエ
ンコーダ102においてDCT(Discrete Cosine Trans
form) の処理を受け、係数データに変換され、係数デー
タが可変長符号化される。ビデオエンコーダ102から
の可変長符号化(VLC)データは、MPEG2に準拠
したエレメンタリストリームである。この出力は、セレ
クタ103の一方の入力端に供給される。
FIG. 1 shows an example of the configuration on the recording side of the recording / reproducing apparatus according to this embodiment. At the time of recording, a predetermined interface, for example, SDI (Serial Data Interface)
The digital video signal is input from the terminal 101 via the receiving unit of the above. SDI is an interface defined by SMPTE for transmitting (4: 2: 2) component video signals, digital audio signals, and additional data. An input video signal is converted by a video encoder 102 into a DCT (Discrete Cosine Transform).
form), is converted into coefficient data, and the coefficient data is subjected to variable length coding. The variable length coded (VLC) data from the video encoder 102 is an elementary stream compliant with MPEG2. This output is supplied to one input terminal of the selector 103.

【0043】一方、入力端子104を通じて、ANSI
/SMPTE 305Mによって規定されたインターフ
ェイスである、SDTI(Serial Data Transport Inter
face) のフォーマットのデータが入力される。この信号
は、SDTI受信部105で同期検出される。そして、
バッファに一旦溜め込まれ、エレメンタリストリームが
抜き出される。抜き出されたエレメンタリストリーム
は、セレクタ103の他方の入力端に供給される。
On the other hand, through the input terminal 104, the ANSI
SDTI (Serial Data Transport Inter), which is an interface defined by / SMPTE 305M
face) format data is input. This signal is synchronously detected by SDTI receiving section 105. And
Once stored in the buffer, the elementary stream is extracted. The extracted elementary stream is supplied to the other input terminal of the selector 103.

【0044】セレクタ103で選択され出力されたエレ
メンタリストリームは、ストリームコンバータ106に
供給される。ストリームコンバータ106では、MPE
G2の規定に基づきDCTブロック毎に並べられていた
DCT係数を、1マクロブロックを構成する複数のDC
Tブロックを通して、周波数成分毎にまとめ、まとめた
周波数成分を並べ替える。並べ替えられた変換エレメン
タリストリームは、パッキングおよびシャフリング部1
07に供給される。
The elementary stream selected and output by the selector 103 is supplied to a stream converter 106. In the stream converter 106, the MPE
The DCT coefficients arranged for each DCT block based on the G2 rule are replaced with a plurality of DCTs constituting one macroblock.
Through the T block, frequency components are grouped, and the grouped frequency components are rearranged. The rearranged converted elementary stream is stored in the packing and shuffling unit 1.
07.

【0045】エレメンタリストリームのビデオデータ
は、可変長符号化されているため、各マクロブロックの
データの長さが不揃いである。パッキングおよびシャフ
リング部107では、マクロブロックが固定枠に詰め込
まれる。このとき、固定枠からはみ出た部分は、固定枠
のサイズに対して余った部分に順に詰め込まれる。ま
た、タイムコード等のシステムデータが入力端子108
からパッキングおよびシャフリング部107に供給さ
れ、ピクチャデータと同様にシステムデータが記録処理
を受ける。また、走査順に発生する1フレームのマクロ
ブロックを並び替え、テープ上のマクロブロックの記録
位置を分散させるシャフリングが行われる。シャフリン
グによって、変速再生時に断片的にデータが再生される
時でも、画像の更新率を向上させることができる。
Since the video data of the elementary stream is variable-length coded, the data length of each macroblock is not uniform. In the packing and shuffling unit 107, macro blocks are packed in a fixed frame. At this time, the portion that protrudes from the fixed frame is sequentially packed into a surplus portion with respect to the size of the fixed frame. Also, system data such as time code is input to the input terminal 108.
Is supplied to the packing and shuffling unit 107, and the system data is subjected to a recording process similarly to the picture data. Also, shuffling is performed in which the macroblocks of one frame generated in the scanning order are rearranged and the recording positions of the macroblocks on the tape are dispersed. Shuffling can improve the image update rate even when data is reproduced in pieces during variable speed reproduction.

【0046】パッキングおよびシャフリング部107か
らのビデオデータおよびシステムデータ(以下、特に必
要な場合を除き、システムデータを含む場合も単にビデ
オデータと言う。)が外符号エンコーダ109に供給さ
れる。ビデオデータおよびオーディオデータに対するエ
ラー訂正符号としては、積符号が使用される。積符号
は、ビデオデータまたはオーディオデータの2次元配列
の縦方向に外符号の符号化を行い、その横方向に内符号
の符号化を行い、データシンボルを2重に符号化するも
のである。外符号および内符号としては、リードソロモ
ンコード(Reed-Solomon code) を使用できる。
The video data and system data from the packing and shuffling unit 107 (hereinafter, also referred to as video data even when system data is included unless otherwise required) are supplied to the outer code encoder 109. A product code is used as an error correction code for video data and audio data. The product code encodes an outer code in a vertical direction of a two-dimensional array of video data or audio data, encodes an inner code in a horizontal direction thereof, and encodes data symbols doubly. As the outer code and the inner code, a Reed-Solomon code can be used.

【0047】外符号エンコーダ109の出力がシャフリ
ング部110に供給され、複数のECC(Error Correct
ig Code)ブロックにわたってシンクブロック単位で順番
を入れ替える、シャフリングがなされる。シンクブロッ
ク単位のシャフリングによって特定のECCブロックに
エラーが集中することが防止される。シャフリング部1
10でなされるシャフリングをインターリーブと称する
こともある。シャフリング部110の出力が混合部11
1に供給され、オーディオデータと混合される。なお、
混合部111は、後述のように、メインメモリにより構
成される。
The output of the outer code encoder 109 is supplied to the shuffling unit 110 and a plurality of ECCs (Error Correction
ig Code) blocks are shuffled to change the order in sync block units. The shuffling in sync block units prevents errors from concentrating on a specific ECC block. Shuffling part 1
Shuffling performed at 10 may be referred to as interleaving. The output of the shuffling unit 110 is
1 and mixed with audio data. In addition,
The mixing unit 111 includes a main memory, as described later.

【0048】112で示す入力端子からオーディオデー
タが供給される。この一実施形態では、非圧縮のディジ
タルオーディオ信号が扱われる。ディジタルオーディオ
信号は、入力側のSDI受信部(図示しない)またはS
DTI受信部105で分離されたもの、またはオーディ
オインターフェースを介して入力されたものである。入
力ディジタルオーディオ信号が遅延部113を介してA
UX付加部114に供給される。遅延部113は、オー
ディオ信号とビデオ信号と時間合わせ用のものである。
入力端子115から供給されるオーディオAUXは、補
助的データであり、オーディオデータのサンプリング周
波数等のオーディオデータに関連する情報を有するデー
タである。オーディオAUXは、AUX付加部114に
てオーディオデータに付加され、オーディオデータと同
等に扱われる。
Audio data is supplied from an input terminal denoted by reference numeral 112. In this embodiment, an uncompressed digital audio signal is handled. The digital audio signal is supplied to an input SDI receiver (not shown)
These are separated by the DTI receiving unit 105 or input through an audio interface. The input digital audio signal is supplied to A
It is supplied to the UX adding unit 114. The delay unit 113 is for time alignment of the audio signal and the video signal.
The audio AUX supplied from the input terminal 115 is auxiliary data, and is data having information related to audio data such as the sampling frequency of audio data. The audio AUX is added to the audio data by the AUX adding unit 114, and is treated the same as the audio data.

【0049】AUX付加部114からのオーディオデー
タおよびAUX(以下、特に必要な場合を除き、AUX
を含む場合も単にオーディオデータと言う。)が外符号
エンコーダ116に供給される。外符号エンコーダ11
6は、オーディオデータに対して外符号の符号化を行
う。外符号エンコーダ116の出力がシャフリング部1
17に供給され、シャフリング処理を受ける。オーディ
オシャフリングとして、シンクブロック単位のシャフリ
ングと、チャンネル単位のシャフリングとがなされる。
The audio data and AUX from the AUX adding unit 114 (hereinafter, AUX except when necessary)
Is also simply referred to as audio data. ) Is supplied to the outer code encoder 116. Outer code encoder 11
No. 6 encodes an outer code for audio data. The output of the outer code encoder 116 is the shuffling unit 1
17 and undergoes a shuffling process. As audio shuffling, shuffling in sync block units and shuffling in channel units are performed.

【0050】シャフリング部117の出力が混合部11
1に供給され、ビデオデータとオーディオデータが1チ
ャンネルのデータとされる。混合部111の出力がID
付加部118が供給され、ID付加部118にて、シン
クブロック番号を示す情報等を有するIDが付加され
る。ID付加部118の出力が内符号エンコーダ119
に供給され、内符号の符号化がなされる。さらに、内符
号エンコーダ119の出力が同期付加部120に供給さ
れ、シンクブロック毎の同期信号が付加される。同期信
号が付加されることによってシンクブロックが連続する
記録データが構成される。この記録データが記録アンプ
121を介して回転ヘッド122に供給され、磁気テー
プ123上に記録される。回転ヘッド122は、実際に
は、隣接するトラックを形成するヘッドのアジマスが互
いに異なる複数の磁気ヘッドが回転ドラムに取り付けら
れたものである。
The output of the shuffling unit 117 is
1 and the video data and the audio data are converted into data of one channel. The output of the mixing unit 111 is ID
The adding unit 118 is supplied, and the ID adding unit 118 adds an ID including information indicating a sync block number. The output of the ID addition unit 118 is the inner code encoder 119
, And the inner code is encoded. Further, the output of the inner code encoder 119 is supplied to the synchronization adding section 120, and a synchronization signal for each sync block is added. By adding the synchronization signal, recording data in which the sync blocks are continuous is configured. This recording data is supplied to the rotary head 122 via the recording amplifier 121, and is recorded on the magnetic tape 123. In practice, the rotary head 122 is configured such that a plurality of magnetic heads having different azimuths of heads forming adjacent tracks are attached to the rotary drum.

【0051】記録データに対して必要に応じてスクラン
ブル処理を行っても良い。また、記録時にディジタル変
調を行っても良く、さらに、パーシャル・レスポンスク
ラス4とビタビ符号を使用しても良い。
The recording data may be scrambled as required. Further, digital modulation may be performed at the time of recording, and a partial response class 4 and Viterbi code may be used.

【0052】図2は、この発明の一実施形態の再生側の
構成の一例を示す。磁気テープ123から回転ヘッド1
22で再生された再生信号が再生アンプ131を介して
同期検出回路132に供給される。再生信号に対して、
等化や波形整形などがなされる。また、ディジタル変調
の復調、ビタビ復号等が必要に応じてなされる。同期検
出部132は、シンクブロックの先頭に付加されている
同期信号を検出する。同期検出によって、シンクブロッ
クが切り出される。
FIG. 2 shows an example of the configuration on the reproducing side according to an embodiment of the present invention. Rotating head 1 from magnetic tape 123
The reproduction signal reproduced at 22 is supplied to the synchronization detection circuit 132 via the reproduction amplifier 131. For the playback signal,
Equalization and waveform shaping are performed. Further, demodulation of digital modulation, Viterbi decoding, and the like are performed as necessary. The synchronization detection unit 132 detects a synchronization signal added to the head of the sync block. The sync block is cut out by the synchronization detection.

【0053】同期検出ブロック132の出力が内符号エ
ンコーダ133に供給され、内符号のエラー訂正がなさ
れる。内符号エンコーダ133の出力がID補間部13
4に供給され、内符号によりエラーとされたシンクブロ
ックのID例えばシンクブロック番号が補間される。I
D補間部134の出力が分離部135に供給され、ビデ
オデータとオーディオデータとが分離される。上述した
ように、ビデオデータは、MPEGのイントラ符号化で
発生したDCT係数データおよびシステムデータを意味
し、オーディオデータは、PCM(Pulse Code Modulati
on) データおよびAUXを意味する。
The output of the synchronization detection block 132 is supplied to the inner code encoder 133, and the error of the inner code is corrected. The output of the inner code encoder 133 is the ID interpolation unit 13
The ID of the sync block, which has been supplied to the block No. 4 and made an error by the inner code, for example, a sync block number is interpolated. I
The output of the D interpolation unit 134 is supplied to a separation unit 135, where the video data and the audio data are separated. As described above, video data means DCT coefficient data and system data generated by MPEG intra coding, and audio data is PCM (Pulse Code Modulati
on) means data and AUX.

【0054】分離部135からのビデオデータがデシャ
フリング部136において、シャフリングと逆の処理が
なされる。デシャフリング部136は、記録側のシャフ
リング部110でなされたシンクブロック単位のシャフ
リングを元に戻す処理を行う。デシャフリング部136
の出力が外符号デコーダ137に供給され、外符号によ
るエラー訂正がなされる。訂正できないエラーが発生し
た場合には、エラーの有無を示すエラーフラグがエラー
有りを示すものとされる。
The video data from the separation unit 135 is subjected to the reverse processing of the shuffling in the deshuffling unit 136. The deshuffling unit 136 performs a process of restoring the shuffling in sync block units performed by the shuffling unit 110 on the recording side. Deshuffling part 136
Is supplied to the outer code decoder 137, and error correction by the outer code is performed. When an error that cannot be corrected occurs, an error flag indicating the presence or absence of the error is set to indicate the presence of the error.

【0055】外符号デコーダ137の出力がデシャフリ
ングおよびデパッキング部138に供給される。デシャ
フリングおよびデパッキング部138は、記録側のパッ
キングおよびシャフリング部107でなされたマクロブ
ロック単位のシャフリングを元に戻す処理を行う。ま
た、デシャフリングおよびデパッキング部138では、
記録時に施されたパッキングを分解する。すなわち、マ
クロブロック単位にデータの長さを戻して、元の可変長
符号を復元する。さらに、デシャフリングおよびデパッ
キング部138において、システムデータが分離され、
出力端子139に取り出される。
The output of the outer code decoder 137 is supplied to a deshuffling and depacking unit 138. The deshuffling and depacking unit 138 performs processing for restoring shuffling in macroblock units performed by the packing and shuffling unit 107 on the recording side. In the deshuffling and depacking unit 138,
Disassemble the packing applied during recording. That is, the length of the data is returned in units of macroblocks, and the original variable length code is restored. Further, in the deshuffling and depacking unit 138, the system data is separated,
It is taken out to the output terminal 139.

【0056】デシャフリングおよびデパッキング部13
8の出力が補間部140に供給され、エラーフラグが立
っている(すなわち、エラーのある)データが修整され
る。すなわち、変換前に、マクロブロックデータの途中
にエラーがあるとされた場合には、エラー箇所以降の周
波数成分のDCT係数が復元できない。そこで、例えば
エラー箇所のデータをブロック終端符号(EOB)に置
き替え、それ以降の周波数成分のDCT係数をゼロとす
る。同様に、高速再生時にも、シンクブロック長に対応
する長さまでのDCT係数のみを復元し、それ以降の係
数は、ゼロデータに置き替えられる。さらに、補間部1
40では、ビデオデータの先頭に付加されているヘッダ
がエラーの場合に、ヘッダ(シーケンスヘッダ、GOP
ヘッダ、ピクチャヘッダ、ユーザデータ等)を回復する
処理もなされる。
Deshuffling and depacking unit 13
The output of No. 8 is supplied to the interpolation unit 140, and the data for which the error flag is set (that is, there is an error) is corrected. That is, if it is determined that there is an error in the macroblock data before the conversion, the DCT coefficients of the frequency components after the error location cannot be restored. Therefore, for example, the data at the error location is replaced with a block end code (EOB), and the DCT coefficients of the subsequent frequency components are set to zero. Similarly, at the time of high-speed reproduction, only DCT coefficients up to the length corresponding to the sync block length are restored, and the coefficients thereafter are replaced with zero data. Further, the interpolation unit 1
In 40, when the header added to the head of the video data is an error, the header (sequence header, GOP
Header, picture header, user data, etc.) are also recovered.

【0057】DCTブロックに跨がって、DCT係数が
DC成分および低域成分から高域成分へと並べられてい
るため、このように、ある箇所以降からDCT係数を無
視しても、マクロブロックを構成するDCTブロックの
それぞれに対して、満遍なくDCならびに低域成分から
のDCT係数を行き渡らせることができる。
Since the DCT coefficients are arranged from the DC component and the low-frequency component to the high-frequency component across the DCT block, even if the DCT coefficients are ignored from a certain point onward, the macro block , DCT coefficients from DC and low-frequency components can be distributed evenly to each of the DCT blocks constituting.

【0058】補間部140の出力がストリームコンバー
タ141に供給される。ストリームコンバータ141で
は、記録側のストリームコンバータ106と逆の処理が
なされる。すなわち、DCTブロックに跨がって周波数
成分毎に並べられていたDCT係数を、DCTブロック
毎に並び替える。これにより、再生信号がMPEG2に
準拠したエレメンタリストリームに変換される。
The output of the interpolation section 140 is supplied to the stream converter 141. In the stream converter 141, the reverse process to that of the stream converter 106 on the recording side is performed. That is, the DCT coefficients arranged for each frequency component across the DCT blocks are rearranged for each DCT block. Thereby, the reproduced signal is converted into an elementary stream conforming to MPEG2.

【0059】また、ストリームコンバータ141の入出
力は、記録側と同様に、マクロブロックの最大長に応じ
て、十分な転送レート(バンド幅)を確保しておく。マ
クロブロックの長さを制限しない場合には、画素レート
の3倍のバンド幅を確保するのが好ましい。
As for the input / output of the stream converter 141, a sufficient transfer rate (bandwidth) is secured in accordance with the maximum length of the macroblock, as in the recording side. When the length of the macroblock is not limited, it is preferable to secure a bandwidth three times the pixel rate.

【0060】ストリームコンバータ141の出力がビデ
オデコーダ142に供給される。ビデオデコーダ142
は、エレメンタリストリームを復号し、ビデオデータを
出力する。すなわち、ビデオデコーダ142は、逆量子
化処理と、逆DCT処理とがなされる。復号ビデオデー
タが出力端子143に取り出される。外部とのインター
フェースには、例えばSDIが使用される。また、スト
リームコンバータ141からのエレメンタリストリーム
がSDTI送信部144に供給される。SDTI送信部
144には、経路の図示を省略しているが、システムデ
ータ、再生オーディオデータ、AUXも供給され、SD
TIフォーマットのデータ構造を有するストリームへ変
換される。SDTI送信部144からのストリームが出
力端子145を通じて外部に出力される。
The output of the stream converter 141 is supplied to the video decoder 142. Video decoder 142
Decodes the elementary stream and outputs video data. That is, the video decoder 142 performs an inverse quantization process and an inverse DCT process. The decoded video data is taken out to the output terminal 143. For the interface with the outside, for example, SDI is used. In addition, the elementary stream from the stream converter 141 is supplied to the SDTI transmitting unit 144. Although illustration of the path is omitted, the SDTI transmission unit 144 is also supplied with system data, reproduced audio data, and AUX, and
It is converted into a stream having a data structure of the TI format. The stream from the SDTI transmission unit 144 is output to the outside through the output terminal 145.

【0061】分離部135で分離されたオーディオデー
タがデシャフリング部151に供給される。デシャフリ
ング部151は、記録側のシャフリング部117でなさ
れたシャフリングと逆の処理を行う。デシャフリング部
117の出力が外符号デコーダ152に供給され、外符
号によるエラー訂正がなされる。外符号デコーダ152
からは、エラー訂正されたオーディオデータが出力され
る。訂正できないエラーがあるデータに関しては、エラ
ーフラグがセットされる。
The audio data separated by the separation unit 135 is supplied to the deshuffling unit 151. The deshuffling unit 151 performs a process opposite to the shuffling performed by the shuffling unit 117 on the recording side. The output of the deshuffling unit 117 is supplied to the outer code decoder 152, and error correction by the outer code is performed. Outer code decoder 152
Output the error-corrected audio data. An error flag is set for data having an uncorrectable error.

【0062】外符号デコーダ152の出力がAUX分離
部153に供給され、オーディオAUXが分離される。
分離されたオーディオAUXが出力端子154に取り出
される。また、オーディオデータが補間部155に供給
される。補間部155では、エラーの有るサンプルが補
間される。補間方法としては、時間的に前後の正しいデ
ータの平均値で補間する平均値補間、前の正しいサンプ
ルの値をホールドする前値ホールド等を使用できる。補
間部155の出力が出力部156に供給される。出力部
156は、エラーであり、補間できないオーディオ信号
の出力を禁止するミュート処理、並びにビデオ信号との
時間合わせのための遅延量調整処理がなされる。出力部
156から出力端子157に再生オーディオ信号が取り
出される。
The output of the outer code decoder 152 is supplied to the AUX separation section 153, where the audio AUX is separated.
The separated audio AUX is taken out to the output terminal 154. The audio data is supplied to the interpolation unit 155. The interpolating unit 155 interpolates a sample having an error. As the interpolation method, it is possible to use an average value interpolation for interpolating with the average value of correct data before and after in time, a previous value hold for holding a previous correct sample value, and the like. The output of the interpolation unit 155 is supplied to the output unit 156. The output unit 156 performs a mute process for inhibiting the output of an audio signal that is in error and cannot be interpolated, and performs a delay amount adjustment process for time alignment with a video signal. The reproduced audio signal is extracted from the output unit 156 to the output terminal 157.

【0063】なお、図1および図2では省略されている
が、入力データと同期したタイミング信号を発生するタ
イミング発生部、記録再生装置の全体の動作を制御する
システムコントローラ(マイクロコンピュータ)等が備
えられている。
Although not shown in FIGS. 1 and 2, a timing generator for generating a timing signal synchronized with input data, a system controller (microcomputer) for controlling the entire operation of the recording / reproducing apparatus, and the like are provided. Have been.

【0064】この一実施形態では、磁気テープへの信号
の記録は、回転する回転ヘッド上に設けられた磁気ヘッ
ドにより、斜めのトラックを形成する、ヘリカルスキャ
ン方式によって行われる。磁気ヘッドは、回転ドラム上
の、互いに対向する位置に、それぞれ複数個が設けられ
る。すなわち、磁気テープが回転ヘッドに180°程度
の巻き付け角で以て巻き付けられている場合、回転ヘッ
ドの180°の回転により、同時に複数本のトラックを
形成することができる。また、磁気ヘッドは、互いにア
ジマスの異なる2個で一組とされる。複数個の磁気ヘッ
ドは、隣接するトラックのアジマスが互いに異なるよう
に配置される。
In this embodiment, recording of a signal on a magnetic tape is performed by a helical scan method in which an oblique track is formed by a magnetic head provided on a rotating rotary head. A plurality of magnetic heads are provided on the rotating drum at positions facing each other. That is, when the magnetic tape is wound around the rotary head at a winding angle of about 180 °, a plurality of tracks can be simultaneously formed by rotating the rotary head by 180 °. The magnetic heads are formed as a set of two magnetic heads having different azimuths. The plurality of magnetic heads are arranged such that azimuths of adjacent tracks are different from each other.

【0065】図3は、上述した回転ヘッドにより磁気テ
ープ上に形成されるトラックフォーマットの一例を示
す。これは、1フレーム当たりのビデオおよびオーディ
オデータが8トラックで記録される例である。例えばフ
レーム周波数が29.97Hz、レートが50Mbp
s、有効ライン数が480本で有効水平画素数が720
画素のインターレス信号(480i信号)およびオーデ
ィオ信号が記録される。また、フレーム周波数が25H
z、レートが50Mbps、有効ライン数が576本で
有効水平画素数が720画素のインターレス信号(57
6i信号)およびオーディオ信号も、図3と同一のテー
プフォーマットによって記録できる。
FIG. 3 shows an example of a track format formed on a magnetic tape by the rotary head described above. This is an example in which video and audio data per frame are recorded on eight tracks. For example, the frame frequency is 29.97 Hz, and the rate is 50 Mbp
s, the number of effective lines is 480, and the number of effective horizontal pixels is 720
A pixel interlace signal (480i signal) and an audio signal are recorded. When the frame frequency is 25H
z, the rate is 50 Mbps, the number of effective lines is 576, and the number of effective horizontal pixels is 720.
6i signal) and audio signal can also be recorded in the same tape format as in FIG.

【0066】互いに異なるアジマスの2トラックによっ
て1セグメントが構成される。すなわち、8トラック
は、4セグメントからなる。セグメントを構成する1組
のトラックに対して、アジマスと対応するトラック番号
One segment is constituted by two tracks having different azimuths. That is, eight tracks are composed of four segments. Track number corresponding to azimuth for a set of tracks constituting a segment

〔0〕とトラック番号〔1〕が付される。図3に示され
る例では、前半の8トラックと、後半の8トラックとの
間で、トラック番号が入れ替えられると共に、フレーム
毎に互いに異なるトラックシーケンスが付される。これ
により、アジマスが異なる1組の磁気ヘッドのうち一方
が、例えば目詰まりなどにより読み取り不能状態に陥っ
ても、前フレームのデータを利用してエラーの影響を小
とできる。
[0] and a track number [1] are assigned. In the example shown in FIG. 3, track numbers are exchanged between the first eight tracks and the second eight tracks, and different track sequences are assigned to each frame. Thus, even if one of the set of magnetic heads having different azimuths becomes unreadable due to clogging or the like, the influence of an error can be reduced by using the data of the previous frame.

【0067】トラックのそれぞれにおいて、両端側にビ
デオデータが記録されるビデオセクタが配され、ビデオ
セクタに挟まれて、オーディオデータが記録されるオー
ディオセクタが配される。なお、この図3および後述す
る図4は、テープ上のオーディオセクタの配置を示すも
のである。
In each of the tracks, a video sector in which video data is recorded is arranged at both ends, and an audio sector in which audio data is recorded is interposed between the video sectors. 3 and FIG. 4, which will be described later, show the arrangement of audio sectors on the tape.

【0068】図3のトラックフォーマットでは、8チャ
ンネルのオーディオデータを扱うことができるようにさ
れている。A1〜A8は、それぞれオーディオデータの
1〜8chのセクタを示す。オーディオデータは、セグ
メント単位で配列を変えられて記録される。オーディオ
データは、1フィールド期間で発生するオーディオサン
プル(例えばフィールド周波数が29.97Hzで、サン
プリング周波数が48kHzの場合には、800サンプル
または801サンプル)が偶数番目のサンプルと奇数番
目のサンプルとにわけられ、各サンプル群とAUXによ
って積符号の1ECCブロックが構成される。
In the track format shown in FIG. 3, eight channels of audio data can be handled. A1 to A8 indicate sectors of channels 1 to 8 of the audio data, respectively. The audio data is recorded with its arrangement changed in segment units. For audio data, audio samples generated in one field period (for example, when the field frequency is 29.97 Hz and the sampling frequency is 48 kHz, 800 or 801 samples) are divided into even-numbered samples and odd-numbered samples. Each sample group and AUX form one ECC block of a product code.

【0069】図3では、1フィールド分のデータが4ト
ラックに記録されるので、オーディオデータの1チャン
ネル当たりの2個のECCブロックが4トラックに記録
される。2個のECCブロックのデータ(外符号パリテ
ィを含む)が4個のセクタに分割され、図3に示すよう
に、4トラックに分散されて記録される。2個のECC
ブロックに含まれる複数のシンクブロックがシャフリン
グされる。例えばA1の参照番号が付された4セクタに
よって、チャンネル1の2ECCブロックが構成され
る。
In FIG. 3, since data for one field is recorded on four tracks, two ECC blocks per channel of audio data are recorded on four tracks. The data of two ECC blocks (including the outer code parity) is divided into four sectors, and as shown in FIG. 3, the data is dispersedly recorded on four tracks. Two ECCs
A plurality of sync blocks included in the block are shuffled. For example, two ECC blocks of channel 1 are constituted by four sectors to which reference numbers A1 are assigned.

【0070】また、ビデオデータは、この例では、1ト
ラックに対して4ECCブロック分のデータがシャフリ
ング(インターリーブ)され、Upper Sideお
よびLower Sideで各セクタに分割され記録さ
れる。Lower Sideのビデオセクタには、所定
位置にシステム領域が設けられる。
In this example, the video data is shuffled (interleaved) for four ECC blocks for one track, divided into upper sectors and lower sides, and recorded. In the lower sector video sector, a system area is provided at a predetermined position.

【0071】なお、図3において、SAT1(Tr)お
よびSAT2(Tm)は、サーボロック用の信号が記録
されるエリアである。また、各記録エリアの間には、所
定の大きさのギャップ(Vg1,Sg1,Ag,Sg
2,Sg3およびVg2)が設けられる。
In FIG. 3, SAT1 (Tr) and SAT2 (Tm) are areas where servo lock signals are recorded. In addition, a gap of a predetermined size (Vg1, Sg1, Ag, Sg) is provided between the recording areas.
2, Sg3 and Vg2).

【0072】図3は、1フレーム当たりのデータを8ト
ラックで記録する例であるが、記録再生するデータのフ
ォーマットによっては、1フレーム当たりのデータを4
トラック、6トラックなどでの記録することができる。
図4Aは、1フレームが6トラックのフォーマットであ
る。この例では、トラックシーケンスが
FIG. 3 shows an example in which data per frame is recorded on eight tracks. However, depending on the format of data to be recorded / reproduced, data per frame is recorded in four tracks.
Recording can be performed on tracks, six tracks, and the like.
FIG. 4A shows a format in which one frame has six tracks. In this example, the track sequence is

〔0〕のみとさ
れる。
Only [0] is set.

【0073】図4Bに示すように、テープ上に記録され
るデータは、シンクブロックと称される等間隔に区切ら
れた複数のブロックからなる。図4Cは、シンクブロッ
クの構成を概略的に示す。詳細は後述するが、シンクブ
ロックは、同期検出するためのSYNCパターン、シン
クブロックのそれぞれを識別するためのID、後続する
データの内容を示すDID、データパケットおよびエラ
ー訂正用の内符号パリティから構成される。データは、
シンクブロック単位でパケットとして扱われる。すなわ
ち、記録あるいは再生されるデータ単位の最小のものが
1シンクブロックである。シンクブロックが多数並べら
れて(図4B)、例えばビデオセクタが形成される(図
4A)。
As shown in FIG. 4B, the data recorded on the tape is composed of a plurality of equally spaced blocks called sync blocks. FIG. 4C schematically shows a configuration of the sync block. As will be described later in detail, the sync block is composed of a SYNC pattern for detecting synchronization, an ID for identifying each sync block, a DID indicating the content of subsequent data, a data packet, and an inner code parity for error correction. Is done. Data is,
It is treated as a packet in sync block units. That is, the smallest data unit to be recorded or reproduced is one sync block. A number of sync blocks are arranged (FIG. 4B) to form, for example, a video sector (FIG. 4A).

【0074】図5は、記録/再生の最小単位である、ビ
デオデータのシンクブロックのデータ構成をより具体的
に示す。この一実施形態においては、記録するビデオデ
ータのフォーマットに適応して1シンクブロックに対し
て1個乃至は2個のマクロブロックのデータ(VLCデ
ータ)が格納されると共に、1シンクブロックのサイズ
が扱うビデオ信号のフォーマットに応じて長さが変更さ
れる。図5Aに示されるように、1シンクブロックは、
先頭から、2バイトのSYNCパターン、2バイトのI
D、1バイトのDID、例えば112バイト〜206バ
イトの間で可変に規定されるデータ領域および12バイ
トのパリティ(内符号パリティ)からなる。なお、デー
タ領域は、ペイロードとも称される。
FIG. 5 shows the data structure of a sync block of video data, which is the minimum unit of recording / reproduction, more specifically. In this embodiment, one or two macroblocks of data (VLC data) are stored for one sync block according to the format of video data to be recorded, and the size of one sync block is reduced. The length is changed according to the format of the video signal to be handled. As shown in FIG. 5A, one sync block is
From the beginning, a 2-byte SYNC pattern, a 2-byte I
D, a 1-byte DID, for example, a data area variably defined between 112 bytes and 206 bytes, and a 12-byte parity (inner code parity). Note that the data area is also called a payload.

【0075】先頭の2バイトのSYNCパターンは、同
期検出用であり、所定のビットパターンを有する。固有
のパターンに対して一致するSYNCパターンを検出す
ることで、同期検出が行われる。
The first two bytes of the SYNC pattern are used for synchronization detection and have a predetermined bit pattern. Synchronization detection is performed by detecting a SYNC pattern that matches the unique pattern.

【0076】図6Aは、ID0およびID1のビットア
サインの一例を示す。IDは、シンクブロックが固有に
持っている重要な情報を持っており、各2バイト(ID
0およびID1)が割り当てられている。ID0は、1
トラック中のシンクブロックのそれぞれを識別するため
の識別情報(SYNC ID)が格納される。SYNC
IDは、例えば各セクタ内のシンクブロックに対して
付された通し番号である。SYNC IDは、8ビット
で表現される。ビデオのシンクブロックとオーディオの
シンクブロックとでそれぞれ別個にSYNC IDが付
される。
FIG. 6A shows an example of the bit assignment of ID0 and ID1. The ID has important information inherent to the sync block, and each ID has 2 bytes (ID
0 and ID1). ID0 is 1
The identification information (SYNC ID) for identifying each of the sync blocks in the track is stored. SYNC
The ID is, for example, a serial number assigned to a sync block in each sector. The SYNC ID is represented by 8 bits. SYNC IDs are separately assigned to video sync blocks and audio sync blocks.

【0077】ID1は、シンクブロックのトラックに関
する情報が格納される。MSB側をビット7、LSB側
をビット0とした場合、このシンクブロックに関して、
ビット7でトラックの上側(Upper)か下側(Lo
wer)かが示され、ビット5〜ビット2で、トラック
のセグメントが示される。また、ビット1は、トラック
のアジマスに対応するトラック番号が示され、ビット0
は、このシンクブロックがビデオデータおよびオーディ
オデータを区別するビットである。
ID1 stores information on the track of the sync block. When the MSB side is bit 7 and the LSB side is bit 0, with respect to this sync block,
Bit 7 indicates whether the track is above (upper) or below (Lo)
wer), and bits 5 to 2 indicate the segment of the track. Bit 1 indicates the track number corresponding to the azimuth of the track.
Are bits for distinguishing video data and audio data by this sync block.

【0078】図6Bは、ビデオの場合のDIDのビット
アサインの一例を示す。DIDは、ペイロードに関する
情報が格納される。上述したID1のビット0の値に基
づき、ビデオおよびオーディオで、DIDの内容が異な
る。ビット7〜ビット4は、未定義(Reserve
d)とされている。ビット3および2は、ペイロードの
モードであり、例えばペイロードのタイプが示される。
ビット3および2は、補助的なものである。ビット1で
ペイロードに1個あるいは2個のマクロブロックが格納
されることが示される。ビット0でペイロードに格納さ
れるビデオデータが外符号パリティであるかどうかが示
される。
FIG. 6B shows an example of bit assignment of DID in the case of video. The DID stores information related to the payload. The content of DID differs between video and audio based on the value of bit 0 of ID1 described above. Bits 7 to 4 are undefined (Reserve
d). Bits 3 and 2 are the mode of the payload, for example, indicating the type of the payload.
Bits 3 and 2 are auxiliary. Bit 1 indicates that one or two macroblocks are stored in the payload. Bit 0 indicates whether the video data stored in the payload is an outer code parity.

【0079】図6Cは、オーディオの場合のDIDのビ
ットアサインの一例を示す。ビット7〜ビット4は、R
eservedとされている。ビット3でペイロードに
格納されているデータがオーディオデータであるか、一
般的なデータであるかどうかが示される。ペイロードに
対して、圧縮符号化されたオーディオデータが格納され
ている場合には、ビット3がデータを示す値とされる。
ビット2〜ビット0は、NTSC方式における、5フィ
ールドシーケンスの情報が格納される。すなわち、NT
SC方式においては、ビデオ信号の1フィールドに対し
てオーディオ信号は、サンプリング周波数が48kHz
の場合、800サンプルおよび801サンプルの何れか
であり、このシーケンスが5フィールド毎に揃う。ビッ
ト2〜ビット0によって、シーケンスの何処に位置する
かが示される。
FIG. 6C shows an example of bit assignment of DID in the case of audio. Bits 7-4 are R
Eserved. Bit 3 indicates whether the data stored in the payload is audio data or general data. If compression-encoded audio data is stored in the payload, bit 3 is a value indicating the data.
Bit 2 to bit 0 store information of a 5-field sequence in the NTSC system. That is, NT
In the SC system, the sampling frequency of an audio signal for one field of a video signal is 48 kHz.
Is either 800 samples or 801 samples, and this sequence is aligned every five fields. Bit 2 to bit 0 indicate where in the sequence it is located.

【0080】図5に戻って説明すると、図5B〜図5E
は、上述のペイロードの例を示す。図5Bおよび図5C
は、ペイロードに対して、1および2マクロブロックの
ビデオデータ(可変長符号化データ)が格納される場合
の例をそれぞれ示す。図5Bに示される、1マクロブロ
ックが格納される例では、先頭の3バイトに、後続する
マクロブロックの長さを示す長さ情報LTが配される。
なお、長さ情報LTには、自分自身の長さを含んでも良
いし、含まなくても良い。また、図5Cに示される、2
マクロブロックが格納される例では、先頭に第1のマク
ロブロックの長さ情報LTが配され、続けて第1のマク
ロブロックが配される。そして、第1のマクロブロック
に続けて第2のマクロブロックの長さを示す長さ情報L
Tが配され、続けて第2のマクロブロックが配される。
長さ情報LTは、デパッキングのために必要な情報であ
る。
Referring back to FIG. 5, FIGS. 5B to 5E
Shows an example of the above-mentioned payload. 5B and 5C
Shows an example in which video data (variable-length coded data) of 1 and 2 macroblocks is stored for the payload, respectively. In the example shown in FIG. 5B in which one macroblock is stored, length information LT indicating the length of the following macroblock is arranged in the first three bytes.
The length information LT may or may not include its own length. 5C shown in FIG.
In an example in which a macroblock is stored, the length information LT of the first macroblock is arranged at the head, and the first macroblock is arranged subsequently. Then, length information L indicating the length of the second macroblock following the first macroblock
T is arranged, followed by a second macroblock.
The length information LT is information necessary for depacking.

【0081】図5Dは、ペイロードに対して、ビデオA
UX(補助的)データが格納される場合の例を示す。先
頭の長さ情報LTには、ビデオAUXデータの長さが記
される。この長さ情報LTに続けて、5バイトのシステ
ム情報、12バイトのPICT情報、および92バイト
のユーザ情報が格納される。ペイロードの長さに対して
余った部分は、Reservedとされる。
FIG. 5D shows video A for the payload.
An example in which UX (auxiliary) data is stored will be described. The head length information LT describes the length of the video AUX data. Subsequent to the length information LT, 5-byte system information, 12-byte PICT information, and 92-byte user information are stored. The remaining portion of the payload length is reserved.

【0082】図5Eは、ペイロードに対してオーディオ
データが格納される場合の例を示す。オーディオデータ
は、ペイロードの全長にわたって詰め込むことができ
る。オーディオ信号は、圧縮処理などが施されない、例
えばPCM形式で扱われる。これに限らず、所定の方式
で圧縮符号化されたオーディオデータを扱うようにもで
きる。
FIG. 5E shows an example in which audio data is stored in the payload. Audio data can be packed over the entire length of the payload. The audio signal is not subjected to compression processing or the like, and is handled in, for example, a PCM format. The present invention is not limited to this, and audio data compressed and encoded by a predetermined method can be handled.

【0083】この一実施形態においては、各シンクブロ
ックのデータの格納領域であるペイロードの長さは、ビ
デオシンクブロックとオーディオシンクブロックとでそ
れぞれ最適に設定されているため、互いに等しい長さで
はない。また、ビデオデータを記録するシンクブロック
の長さと、オーディオデータを記録するシンクブロック
の長さとを、信号フォーマットに応じてそれぞれ最適な
長さに設定される。これにより、複数の異なる信号フォ
ーマットを統一的に扱うことができる。
In this embodiment, the length of the payload, which is the data storage area of each sync block, is not set equal to each other because the video sync block and the audio sync block are optimally set. . In addition, the length of a sync block for recording video data and the length of a sync block for recording audio data are set to optimal lengths according to the signal format. Thereby, a plurality of different signal formats can be handled uniformly.

【0084】図7Aは、MPEGエンコーダのDCT回
路から出力されるビデオデータ中のDCT係数の順序を
示す。DCTブロックにおいて左上のDC成分から開始
して、水平ならびに垂直空間周波数が高くなる方向に、
DCT係数がジグザグスキャンで出力される。その結
果、図7Bに一例が示されるように、全部で64個(8
画素×8ライン)のDCT係数が周波数成分順に並べら
れて得られる。
FIG. 7A shows the order of DCT coefficients in video data output from the DCT circuit of the MPEG encoder. Starting from the DC component at the upper left in the DCT block, in the direction where the horizontal and vertical spatial frequencies increase,
DCT coefficients are output by zigzag scan. As a result, as shown in an example in FIG. 7B, a total of 64 (8
DCT coefficients of (pixel × 8 lines) are obtained by being arranged in the order of frequency components.

【0085】このDCT係数がMPEGエンコーダのV
LC部によって可変長符号化される。すなわち、最初の
係数は、DC成分として固定的であり、次の成分(AC
成分)からは、ゼロのランとそれに続くレベルに対応し
てコードが割り当てられる。従って、AC成分の係数デ
ータに対する可変長符号化出力は、周波数成分の低い
(低次の)係数から高い(高次の)係数へと、AC1
AC2 ,AC3 ,・・・と並べられたものである。可変
長符号化されたDCT係数をエレメンタリストリームが
含んでいる。
This DCT coefficient is equal to the V of the MPEG encoder.
Variable length coding is performed by the LC unit. That is, the first coefficient is fixed as a DC component, and the next component (AC
From the component), codes are assigned corresponding to the run of zero and the subsequent level. Therefore, the variable-length coded output for the coefficient data of the AC component is converted from the low (low-order) coefficient of the frequency component to the high (high-order) coefficient of AC 1 ,
AC 2 , AC 3 ,... The elementary stream includes DCT coefficients subjected to variable length coding.

【0086】ストリームコンバータ106では、供給さ
れた信号のDCT係数の並べ替えが行われる。すなわ
ち、それぞれのマクロブロック内で、ジグザグスキャン
によってDCTブロック毎に周波数成分順に並べられた
DCT係数がマクロブロックを構成する各DCTブロッ
クにわたって周波数成分順に並べ替えられる。
In the stream converter 106, the DCT coefficients of the supplied signal are rearranged. That is, in each macroblock, DCT coefficients arranged in order of frequency components for each DCT block by zigzag scan are rearranged in order of frequency components over each DCT block constituting the macroblock.

【0087】図8は、このストリームコンバータ106
におけるDCT係数の並べ替えを概略的に示す。(4:
2:2)コンポーネント信号の場合に、1マクロブロッ
クは、輝度信号Yによる4個のDCTブロック(Y1
2 ,Y3 およびY4 )と、色度信号Cb,Crのそれ
ぞれによる2個ずつのDCTブロック(Cb1 ,C
2 ,Cr1 およびCr2 )からなる。
FIG. 8 shows this stream converter 106.
2 schematically shows the rearrangement of the DCT coefficients in. (4:
2: 2) In the case of a component signal, one macroblock is composed of four DCT blocks (Y 1 ,
Y 2, and Y 3 and Y 4), chroma signal Cb, DCT blocks (Cb 1 of every two according to each of Cr, C
b 2 , Cr 1 and Cr 2 ).

【0088】上述したように、ビデオエンコーダ102
では、MPEG2の規定に従いジグザグスキャンが行わ
れ、図8Aに示されるように、各DCTブロック毎に、
DCT係数がDC成分および低域成分から高域成分に、
周波数成分の順に並べられる。一つのDCTブロックの
スキャンが終了したら、次のDCTブロックのスキャン
が行われ、同様に、DCT係数が並べられる。
As described above, the video encoder 102
Then, a zigzag scan is performed in accordance with the rules of MPEG2, and as shown in FIG. 8A, for each DCT block,
DCT coefficient is changed from DC component and low frequency component to high frequency component,
The frequency components are arranged in order. When scanning of one DCT block is completed, scanning of the next DCT block is performed, and similarly, DCT coefficients are arranged.

【0089】すなわち、マクロブロック内で、DCTブ
ロックY1 ,Y2 ,Y3 およびY4、DCTブロックC
1 ,Cb2 ,Cr1 およびCr2 のそれぞれについ
て、DCT係数がDC成分および低域成分から高域成分
へと周波数順に並べられる。そして、連続したランとそ
れに続くレベルとからなる組に、〔DC,AC1 ,AC
2 ,AC3 ,・・・〕と、それぞれ符号が割り当てられ
るように、可変長符号化されている。
That is, in the macro block, DCT blocks Y 1 , Y 2 , Y 3 and Y 4 , DCT block C
For each of b 1 , Cb 2 , Cr 1 and Cr 2 , the DCT coefficients are arranged in order of frequency from the DC component and the low-frequency component to the high-frequency component. Then, [DC, AC 1 , AC
2, AC 3, and..], So that codes are assigned, it is variable length coded.

【0090】ストリームコンバータ106では、可変長
符号化され並べられたDCT係数を、一旦可変長符号を
解読して各係数の区切りを検出し、マクロブロックを構
成する各DCTブロックに跨がって周波数成分毎にまと
める。この様子を、図8Bに示す。最初にマクロブロッ
ク内の8個のDCTブロックのDC成分をまとめ、次に
8個のDCTブロックの最も周波数成分が低いAC係数
成分をまとめ、以下、順に同一次数のAC係数をまとめ
るように、8個のDCTブロックに跨がって係数データ
を並び替える。
In the stream converter 106, the variable-length coded and arranged DCT coefficients are once decoded by decoding the variable-length code to detect a break of each coefficient, and the frequency is spread over each DCT block constituting the macro block. Summarize by component. This is shown in FIG. 8B. First, the DC components of the eight DCT blocks in the macroblock are summarized, the AC coefficient components of the eight DCT blocks having the lowest frequency components are summarized, and the AC coefficients of the same order are grouped in order. The coefficient data is rearranged across the DCT blocks.

【0091】並び替えられた係数データは、DC
(Y1 ),DC(Y2 ),DC(Y3 ),DC
(Y4 ),DC(Cb1 ),DC(Cb2 ),DC(C
1 ),DC(Cr2 ),AC1 (Y1 ),AC1 (Y
2 ),AC1 (Y3 ),AC1 (Y4 ),AC1 (Cb
1 ),AC1 (Cb2 ),AC1 (Cr1 ),AC
1 (Cr2 ),・・・である。ここで、DC、AC1
AC2 、・・・は、図7を参照して説明したように、ラ
ンとそれに続くレベルとからなる組に対して割り当てら
れた可変長符号の各符号である。
The rearranged coefficient data is DC
(Y 1 ), DC (Y 2 ), DC (Y 3 ), DC
(Y 4 ), DC (Cb 1 ), DC (Cb 2 ), DC (C
r 1 ), DC (Cr 2 ), AC 1 (Y 1 ), AC 1 (Y
2 ), AC 1 (Y 3 ), AC 1 (Y 4 ), AC 1 (Cb
1 ), AC 1 (Cb 2 ), AC 1 (Cr 1 ), AC
1 (Cr 2 ),. Where DC, AC 1 ,
AC 2 ,... Are, as described with reference to FIG. 7, each of the variable-length codes assigned to the set consisting of the run and the subsequent level.

【0092】ストリームコンバータ106で係数データ
の順序が並べ替えられた変換エレメンタリストリーム
は、パッキングおよびシャフリング部107に供給され
る。マクロブロックのデータの長さは、変換エレメンタ
リストリームと変換前のエレメンタリストリームとで同
一である。また、ビデオエンコーダ102において、ビ
ットレート制御によりGOP(1フレーム)単位に固定
長化されていても、マクロブロック単位では、長さが変
動している。パッキングおよびシャフリング部107で
は、マクロブロックのデータを固定枠に当てはめる。
The converted elementary stream in which the order of the coefficient data is rearranged by the stream converter 106 is supplied to the packing and shuffling unit 107. The data length of the macroblock is the same for the converted elementary stream and the elementary stream before conversion. In the video encoder 102, even if the length is fixed in GOP (one frame) units by bit rate control, the length varies in macroblock units. The packing and shuffling unit 107 applies the data of the macroblock to the fixed frame.

【0093】図9は、パッキングおよびシャフリング部
107でのマクロブロックのパッキング処理を概略的に
示す。マクロブロックは、所定のデータ長を持つ固定枠
に当てはめられ、パッキングされる。このとき用いられ
る固定枠のデータ長を、記録および再生の際のデータの
最小単位であるシンクブロック長と一致させている。こ
れは、シャフリングおよびエラー訂正符号化の処理を簡
単に行うためである。図9では、簡単のため、1フレー
ムに8マクロブロックが含まれるものと仮定する。
FIG. 9 schematically shows packing processing of a macroblock in packing and shuffling section 107. The macro block is applied to a fixed frame having a predetermined data length and is packed. The data length of the fixed frame used at this time is matched with the sync block length, which is the minimum unit of data during recording and reproduction. This is to simplify the processing of shuffling and error correction coding. In FIG. 9, for simplicity, it is assumed that one frame includes eight macroblocks.

【0094】可変長符号化によって、図9Aに一例が示
されるように、8マクロブロックの長さは、互いに異な
る。この例では、固定枠である1シンクブロックの長さ
と比較して、マクロブロック#1のデータ,#3のデー
タおよび#6のデータがそれぞれ長く、マクロブロック
#2のデータ,#5のデータ,#7のデータおよび#8
のデータがそれぞれ短い。また、マクロブロック#4の
データは、1シンクブロックと略等しい長さである。
As shown in an example in FIG. 9A, the lengths of the eight macroblocks are different from each other due to the variable length coding. In this example, as compared with the length of one sync block, which is a fixed frame, the data of macro block # 1, the data of # 3 and the data of # 6 are each longer, and the data of macro block # 2, the data of # 5, # 7 data and # 8
The data of each is short. The data of the macro block # 4 has a length substantially equal to one sync block.

【0095】パッキング処理によって、マクロブロック
が1シンクブロック長の固定長枠に詰め込まれる。過不
足無くデータを詰め込むことができるのは、1フレーム
期間で発生するデータ量が固定量に制御されているから
である。図9Bに一例が示されるように、1シンクブロ
ックと比較して長いマクロブロックは、シンクブロック
長に対応する位置で分割される。分割されたマクロブロ
ックのうち、シンクブロック長からはみ出た部分(オー
バーフロー部分)は、先頭から順に空いている領域に、
すなわち、長さがシンクブロック長に満たないマクロブ
ロックの後ろに、詰め込まれる。
By the packing process, macro blocks are packed into a fixed-length frame having a length of one sync block. Data can be packed without excess or shortage because the amount of data generated in one frame period is controlled to a fixed amount. As shown in an example in FIG. 9B, a macroblock longer than one sync block is divided at a position corresponding to the sync block length. Of the divided macroblocks, the part (overflow part) that protrudes from the sync block length is placed in an area that is vacant in order from the top,
That is, it is packed after a macroblock whose length is less than the sync block length.

【0096】図9Bの例では、マクロブロック#1の、
シンクブロック長からはみ出た部分が、先ず、マクロブ
ロック#2の後ろに詰め込まれ、そこがシンクブロック
の長さに達すると、マクロブロック#5の後ろに詰め込
まれる。次に、マクロブロック#3の、シンクブロック
長からはみ出た部分がマクロブロック#7の後ろに詰め
込まれる。さらに、マクロブロック#6のシンクブロッ
ク長からはみ出た部分がマクロブロック#7の後ろに詰
め込まれ、さらにはみ出た部分がマクロブロック#8の
後ろに詰め込まれる。こうして、各マクロブロックがシ
ンクブロック長の固定枠に対してパッキングされる。
In the example of FIG. 9B, the macro block # 1
The portion that exceeds the sync block length is first packed after the macro block # 2, and when it reaches the length of the sync block, it is packed after the macro block # 5. Next, the portion of the macro block # 3 that is outside the sync block length is packed behind the macro block # 7. Further, the part of the macro block # 6 that protrudes from the sync block length is packed after the macro block # 7, and the part that protrudes further is packed after the macro block # 8. Thus, each macroblock is packed in a fixed frame of the sync block length.

【0097】各マクロブロックの長さは、ストリームコ
ンバータ106において予め調べておくことができる。
これにより、このパッキング部107では、VLCデー
タをデコードして内容を検査すること無く、マクロブロ
ックのデータの最後尾を知ることができる。
The length of each macroblock can be checked in advance by the stream converter 106.
As a result, the packing unit 107 can know the end of the data of the macro block without decoding the VLC data and checking the contents.

【0098】図10は、一実施形態で使用されるエラー
訂正符号の一例を示し、図10Aは、ビデオデータに対
するエラー訂正符号の1ECCブロックを示し、図10
Bは、オーディオデータに対するエラー訂正符号の1E
CCブロックを示す。図10Aにおいて、VLCデータ
がパッキングおよびシャフリング部107からのデータ
である。VLCデータの各行に対して、SYNCパター
ン、ID、DIDが付加され、さらに、内符号のパリテ
ィが付加されることによって、1SYNCブロックが形
成される。
FIG. 10 shows an example of an error correction code used in one embodiment. FIG. 10A shows one ECC block of an error correction code for video data.
B is 1E of an error correction code for audio data.
Indicates a CC block. In FIG. 10A, VLC data is data from the packing and shuffling unit 107. A SYNC pattern, ID, and DID are added to each row of the VLC data, and a parity of an inner code is added to form one SYNC block.

【0099】すなわち、VLCデータの配列の垂直方向
に整列する所定数のシンボル(バイト)から10バイト
の外符号のパリティが生成され、その水平方向に整列す
る、ID、DIDおよびVLCデータ(または外符号の
パリティ)の所定数のシンボル(バイト)から内符号の
パリティが生成される。図10Aの例では、10個の外
符号パリティのシンボルと、12個の内符号のパリティ
のシンボルとが付加される。具体的なエラー訂正符号と
しては、リードソロモン符号が使用される。また、図1
0Aにおいて、1SYNCブロック内のVLCデータの
長さが異なるのは、59.94Hz、25Hz、23.
976Hzのように、ビデオデータのフレーム周波数が
異なるのと対応するためである。
That is, a 10-byte parity of the outer code is generated from a predetermined number of symbols (bytes) aligned in the vertical direction of the array of VLC data, and the ID, DID, and VLC data (or outer) are aligned in the horizontal direction. Parity of the inner code is generated from a predetermined number of symbols (bytes) of the code parity. In the example of FIG. 10A, 10 outer code parity symbols and 12 inner code parity symbols are added. As a specific error correction code, a Reed-Solomon code is used. FIG.
At 0A, the lengths of VLC data in one SYNC block are different at 59.94 Hz, 25 Hz, 23.
This is because the frame frequency of video data is different, such as 976 Hz.

【0100】図10Bに示すように、オーディオデータ
に対する積符号もビデオデータに対するものと同様に、
10シンボルの外符号のパリティおよび12シンボルの
内符号のパリティを生成するものである。オーディオデ
ータの場合は、サンプリング周波数が例えば48kHz
とされ、1サンプルが16ビットに量子化される。1サ
ンプルを他のビット数例えば24ビットに変換しても良
い。上述したフレーム周波数の相違に応じて、1SYN
Cブロック内のオーディオデータの量が相違している。
前述したように、1フィールド分のオーディオデータ/
1チャンネルによって2ECCブロックが構成される。
1ECCブロックには、偶数番目および奇数番目の一方
のオーディオサンプルとオーディオAUXとがデータと
して含まれる。
As shown in FIG. 10B, the product code for audio data is the same as that for video data.
The parity of the 10-symbol outer code and the parity of the 12-symbol inner code are generated. In the case of audio data, the sampling frequency is, for example, 48 kHz.
And one sample is quantized to 16 bits. One sample may be converted into another bit number, for example, 24 bits. According to the difference in the frame frequency described above, 1SYN
The amount of audio data in the C block is different.
As described above, one field of audio data /
One channel forms two ECC blocks.
One ECC block includes one of even-numbered and odd-numbered audio samples and audio AUX as data.

【0101】次に、図2を用いて上述した、同期検出回
路132について、さらに詳細に説明する。図11は、
この発明による同期検出回路132の構成の一例を示
す。この同期検出回路132は、互いにデータ長の異な
るシンクブロックを、自動的に検出できるようにされる
と共に、セクタの途中で同期パターンのエラーがあって
も、前戻り処理を行えるようにされており、この発明の
主旨をなすものである。
Next, the synchronization detecting circuit 132 described above with reference to FIG. 2 will be described in more detail. FIG.
1 shows an example of the configuration of a synchronization detection circuit 132 according to the present invention. The synchronization detection circuit 132 can automatically detect sync blocks having different data lengths, and can perform a backward process even if a synchronization pattern error occurs in the middle of a sector. This is the gist of the present invention.

【0102】なお、以下では、この同期検出回路132
では、〔L>K〕および〔2K>L〕であるような、2
種類の異なるデータ長LおよびKを有するシンクブロッ
クの検出を行うものとする。データ長LおよびKは、所
定周波数のクロックのLおよびKクロック分に相当す
る。
In the following, the synchronization detection circuit 132
Then, 2 such that [L> K] and [2K> L]
It is assumed that sync blocks having different data lengths L and K are detected. The data lengths L and K correspond to L and K clocks of a clock of a predetermined frequency.

【0103】ビットシリアルである入力データが端子1
に対して入力される。この入力データは、シフトレジス
タL10、シフトレジスタK11、比較(L)回路12
の一方の入力端、比較(K)13回路の一方の入力端お
よびシンク比較回路14にそれぞれ供給される。
When the bit serial input data is input to terminal 1
Is entered for This input data is supplied to a shift register L10, a shift register K11, a comparison (L) circuit 12
, One input terminal of a comparison (K) 13 circuit, and a sink comparison circuit 14.

【0104】シフトレジスタL10およびシフトレジス
タK11は、それぞれデータ長LおよびKに対応するビ
ット長を有する。シフトレジスタL10の出力は、6L
分の遅延を有するディレイライン19と、長さLの同期
パターンに対応した比較(L)回路12の他方の入力端
に供給される。シフトレジスタK11の出力は、長さK
の同期パターンに対応した比較(K)回路13の他方の
入力端に供給される。シンク比較回路14による、同期
パターン検出結果と、同期パターンがどのビット位置で
一致したかを示すビットシフト量情報とが比較(L)回
路12および比較(K)回路13にそれぞれ供給され
る。
Shift register L10 and shift register K11 have bit lengths corresponding to data lengths L and K, respectively. The output of the shift register L10 is 6L
A delay line 19 having a delay of one minute and the other input terminal of the comparison (L) circuit 12 corresponding to the synchronization pattern of length L are supplied. The output of the shift register K11 is the length K
Is supplied to the other input terminal of the comparison (K) circuit 13 corresponding to the synchronization pattern of The synchronization pattern detection result by the sync comparison circuit 14 and bit shift amount information indicating at which bit position the synchronization pattern matches are supplied to the comparison (L) circuit 12 and the comparison (K) circuit 13, respectively.

【0105】比較(L)回路12での検出結果およびシ
フト量が信号CLとしてシンク検出回路15に供給され
る。同様に、比較(K)回路13での検出結果およびシ
フト量が信号CKとしてシンク検出回路15に供給され
る。シンク検出回路15では、信号CLあるいは信号C
Kに基づき、シンク情報の検出ならびホールドがなされ
る。ホールドされたシンク情報は、位相制御回路16に
供給される。位相制御回路16では、この情報に基づき
シンクRAM17へのシンク情報の書き込みアドレスを
求める。
The detection result and the shift amount in the comparison (L) circuit 12 are supplied to the sync detection circuit 15 as a signal CL. Similarly, the detection result and shift amount in the comparison (K) circuit 13 are supplied to the sync detection circuit 15 as a signal CK. In the sync detection circuit 15, the signal CL or the signal C
Based on K, detection and hold of the sync information are performed. The held sync information is supplied to the phase control circuit 16. The phase control circuit 16 determines the write address of the sync information to the sync RAM 17 based on this information.

【0106】シンク情報は、このアドレスに基づきシン
クRAM17に書き込まれる。シンクRAM17は、全
体で(7L−K)分の長さを有し、書き込まれたデータ
は、例えばクロックに基づきデータ長に対応したアドレ
スを移動され、最終的にシンクRAM17から出力され
る。また、図11に示されるように、シンクRAM17
中の(6L−K)の長さの前半部分17Aと、Lの長さ
の後半部分17Bとの中間から、イナーシャ回路18へ
の出力がなされる。
The sync information is written into the sync RAM 17 based on this address. The sink RAM 17 has a length of (7L−K) as a whole, and the written data is moved to an address corresponding to the data length based on, for example, a clock, and is finally output from the sink RAM 17. In addition, as shown in FIG.
The output to the inertia circuit 18 is made from the middle of the first half 17A of the length (6L-K) and the second half 17B of the length L.

【0107】位相制御回路16によるシンクRAM17
のアドレス制御により、データの位相が制御され、前戻
り処理がなされる。シンクRAM17における、前半部
分17Aからシンク情報が出力され、イナーシャ回路1
8に供給される。
The sync RAM 17 by the phase control circuit 16
By controlling the address, the phase of the data is controlled, and the return processing is performed. The sync information is output from the first half 17A of the sync RAM 17, and the inertia circuit 1
8 is supplied.

【0108】一方、出力制御回路20には、シンクRA
M17から、位相制御回路16のアドレス制御に基づく
分だけ遅延されたシンク情報が供給されると共に、イナ
ーシャ回路18で生成された同期パルスが供給される。
供給されたこれらのシンク情報および同期パルスに基づ
き、ディレイライン19に格納された入力データが読み
出され、シンクブロックとして出力端21に導出され
る。また、イナーシャ回路18で生成された同期パルス
は、出力端22にも導出される。
On the other hand, the output control circuit 20
From M17, the sync information delayed by the amount based on the address control of the phase control circuit 16 is supplied, and the synchronization pulse generated by the inertia circuit 18 is supplied.
Input data stored in the delay line 19 is read out based on the supplied sync information and synchronization pulse, and is derived to the output terminal 21 as a sync block. Further, the synchronization pulse generated by the inertia circuit 18 is also output to the output terminal 22.

【0109】なお、同期パルスが検出されておらず、イ
ナーシャ回路18からの同期パルスのみで出力データの
同期がとられている場合、出力制御回路20から信号F
ab−SYNCが出力される。この信号Fab−SYN
Cは、位相制御回路16に供給され、前戻り処理がなさ
れる。
When no synchronization pulse is detected and the output data is synchronized only by the synchronization pulse from the inertia circuit 18, the signal F from the output control circuit 20 is output.
ab-SYNC is output. This signal Fab-SYN
C is supplied to the phase control circuit 16 and a return process is performed.

【0110】次に、上述した同期検出回路132での処
理について、さらに詳細に説明する。上述したように、
シンクブロックは、先頭の2バイトに同期パターンが配
され、3バイト目にID番号(ID0)、4バイト目に
付加情報(ID1)が配される。付加情報には、このシ
ンクブロックに格納されているデータの種別が記され
る。
Next, the processing in the synchronization detection circuit 132 will be described in more detail. As mentioned above,
In the sync block, a synchronization pattern is provided in the first two bytes, an ID number (ID0) is provided in the third byte, and additional information (ID1) is provided in the fourth byte. The type of data stored in the sync block is described in the additional information.

【0111】シンクブロックは、実際には、記録媒体か
ら再生されたシリアルデータを単純に、8ビット毎にシ
リアル−パラレル変換された1バイト単位のデータを扱
うため、元のシンクブロックを構成するデータに対して
ビットシフトされた状態で入力される。この様子を、図
12に示す。入力データは、図12Aのように単純に8
ビット(1オクテット)を単位として扱われる。図12
Bに一例が示されるように、この入力データの区切りと
元の(記録時の)データの区切りとは、必ずしも対応し
ておらず、各バイトのデータは、例えば図12Cに示さ
れるように、入力データの区切りに対して、この例では
3ビット、シフトしている。
In practice, the sync block simply handles serial data reproduced from the recording medium in units of one byte, which is serial-parallel converted for every 8 bits. Are input in a bit-shifted state. This is shown in FIG. The input data is simply 8 as shown in FIG.
Bits (1 octet) are treated as a unit. FIG.
B, as shown in an example, the delimiter of the input data does not always correspond to the delimiter of the original (recording) data, and the data of each byte is, for example, as shown in FIG. In this example, the input data is shifted by 3 bits with respect to the division of the input data.

【0112】入力データと元のデータとのビットシフト
量は、同期パターンの検出時に、そのデータをどれだけ
シフトすれば固有の同期パターンになるかによって判断
される。ここでは、入力したデータ列のビットシフト量
が0で、元のデータと一致しているとして説明する。こ
の例では、入力データと、入力に対してLおよびKクロ
ック分遅延されたデータを参照する。そして、それらの
データを、ビットシフトした値が固有の同期パターンと
一致するかどうか、ID番号の連続性およびID情報の
同一性を検証し、全てが適正であった場合に、同期パタ
ーンが検出されたと判断している。
The bit shift amount between the input data and the original data is determined by detecting how much the data is shifted to obtain a unique synchronization pattern when the synchronization pattern is detected. Here, a description will be given assuming that the bit shift amount of the input data string is 0 and matches the original data. In this example, reference is made to input data and data delayed by L and K clocks with respect to the input. Then, the data is verified whether the bit-shifted value matches the unique synchronization pattern, the continuity of the ID number and the identity of the ID information, and if all the data are correct, the synchronization pattern is detected. It is judged that it was done.

【0113】図13Aは、入力端1から入力される入力
データの一例を示す。同期パターンを先頭とする各シン
クブロックの長さがLで示される。この入力データが入
力端1に供給され、シフトレジスタL10およびシフト
レジスタK11に、それぞれ順次供給される。データが
入力され続けると、シフトレジスタL10内のレジスタ
が図14Aのような状態となる。なお、図14A中で、
SYNC(L)は、同期パターンの前半の8ビットを示
し、SYNC(H)は、後半の8ビットを示す。
FIG. 13A shows an example of input data input from the input terminal 1. The length of each sync block starting from the sync pattern is indicated by L. This input data is supplied to the input terminal 1 and sequentially supplied to the shift register L10 and the shift register K11. When data is continuously input, the register in the shift register L10 enters a state as shown in FIG. 14A. In FIG. 14A,
SYNC (L) indicates the first eight bits of the synchronization pattern, and SYNC (H) indicates the second eight bits.

【0114】入力端1からの直接的な入力データと、シ
フトレジスタL10の出力とが比較(L)回路12の一
方および他方の入力端に供給される。例えば、比較
(L)回路12の一方の入力端に供給されるデータは、
図14Aの「A」の位置のデータであり、他方の入力端
に供給されるデータは、「B」の位置のデータである。
The input data directly from the input terminal 1 and the output of the shift register L 10 are supplied to one and the other input terminals of the comparison (L) circuit 12. For example, data supplied to one input terminal of the comparison (L) circuit 12 is:
The data at the position “A” in FIG. 14A and the data supplied to the other input terminal are the data at the position “B”.

【0115】比較(L)回路12は、例えば図15に一
例が示されるような構成とされる。なお、比較(K)回
路13も、同様の構成とされる。シフトレジスタL10
が端子30から入力され、8ビットパラレルのレジスタ
31、32に8ビットずつが格納される。同様に、入力
端1からの入力データが端子34から入力され、8ビッ
トパラレルのレジスタ35、36に8ビットずつが格納
される。これら、レジスタ31、32に格納されたデー
タと、レジスタ35、36に格納されたデータとが一致
するかどうかを、EXOR回路33、37ならびにNO
R回路38を用いて調べる。この様子を、図14Bに示
す。比較結果は、出力端39に導出される。
The comparison (L) circuit 12 has, for example, a configuration as shown in FIG. The comparison (K) circuit 13 has the same configuration. Shift register L10
Is input from a terminal 30, and 8 bits are stored in 8-bit parallel registers 31 and 32, respectively. Similarly, input data from the input terminal 1 is input from a terminal 34, and 8-bit parallel registers 35 and 36 store 8 bits each. The EXOR circuits 33, 37 and NO determine whether the data stored in the registers 31, 32 and the data stored in the registers 35, 36 match.
A check is made using the R circuit 38. This is shown in FIG. 14B. The comparison result is output to the output terminal 39.

【0116】なお、入力データは、予めシンク比較回路
14で同期パターンと一致するかどうかが調べられ、そ
の結果が比較(L)回路12および比較(K)回路13
にそれぞれ通知される。シンク比較回路14では、図1
6に一例が示されるように、内部でラッチしている入力
データに対して、各ビット位置で8ビットの同期パター
ンと比較する。シンク比較回路14から、比較(L)回
路12および比較(K)回路13に対して、同期パター
ンが検出されたかどうかを示す検出結果と、同期パター
ンが検出された場合、その同期パターンがどのビット位
置で一致したのかを示すビットシフト量とが供給され
る。
It is to be noted that the input data is checked beforehand by the sync comparison circuit 14 as to whether it matches the synchronization pattern, and the result is compared with the comparison (L) circuit 12 and the comparison (K) circuit 13.
Respectively. In the sink comparison circuit 14, FIG.
As shown in an example in FIG. 6, input data latched internally is compared with an 8-bit synchronization pattern at each bit position. From the sync comparison circuit 14, the comparison (L) circuit 12 and the comparison (K) circuit 13 provide a detection result indicating whether a synchronization pattern has been detected and, if a synchronization pattern has been detected, which bit A bit shift amount indicating whether the positions match is supplied.

【0117】このような処理を行うことによって、デー
タ長Lの間隔で同期パターンが入力されると、比較
(L)回路12では、シンク比較回路14で検出された
のと同一のビット位置で同期パターンが一致したことを
検出することができる。そして、検出結果とビットシフ
ト量とが信号CLとして出力される。これにより、図1
3Aに示される各シンクブロックの位置を確認すること
ができる。
By performing such processing, when a synchronization pattern is input at intervals of the data length L, the comparison (L) circuit 12 performs synchronization at the same bit position detected by the sync comparison circuit 14. It can be detected that the patterns match. Then, the detection result and the bit shift amount are output as the signal CL. As a result, FIG.
The position of each sync block shown in FIG. 3A can be confirmed.

【0118】一方、シフトレジスタK11においては、
レジスタのビット長が入力されているシンクブロックの
バイト数よりも短いので、上述した図14Aに示される
ような状態にはならない。こちらの検出回路側で同期パ
ターンを検出することが無い。
On the other hand, in the shift register K11,
Since the bit length of the register is shorter than the number of bytes of the input sync block, the state shown in FIG. 14A is not obtained. This detection circuit does not detect the synchronization pattern.

【0119】同様に、データ長がKであるシンクブロッ
クが連続的に入力されると、このときには、シフトレジ
スタK11および比較(K)回路13が、上述した図1
4Aおよび図14Bの状態となるため、同期パターンの
一致を検出することができる。また、この場合、シフト
レジスタL10および比較(L)回路12は、図14A
および図14Bの状態にならないため、こちらの検出回
路側では、同期パターンが検出されることがない。
Similarly, when sync blocks having a data length of K are successively input, at this time, the shift register K11 and the comparison (K) circuit 13 operate as shown in FIG.
Since the state shown in FIG. 4A and the state shown in FIG. 14B are obtained, it is possible to detect the coincidence of the synchronization patterns. In this case, the shift register L10 and the comparison (L) circuit 12
14B, the synchronization pattern is not detected on the detection circuit side.

【0120】このように、図11の回路を用いて、入力
データ上に特別にデータ長の情報を持たせなくても、複
数のシンクブロックを検出することができる。原理的に
は、検出するデータ長毎に、シフトレジスタおよび比較
回路を設けることで、同時に検出することが可能なデー
タ長の種類を増やすことができる。
As described above, a plurality of sync blocks can be detected by using the circuit of FIG. 11 without specially providing data length information on input data. In principle, by providing a shift register and a comparison circuit for each data length to be detected, the types of data lengths that can be detected simultaneously can be increased.

【0121】次に、入力したデータを出力する際の、シ
ンクブロックの先頭の位置を示す同期パルスを生成する
方法について説明する。本来、この同期検出回路132
で扱われるデータは、図13Aで示したように、シンク
ブロックが連続的に入力されるものである。しかしなが
ら、記録ならびに伝送系の過程で生じたエラーなどのた
め、データの一部若しくは連続したある区間だけ消失し
ている可能性がある。シンクブロックのデータ部分、す
なわちデータパケットは、エラー訂正符号を構成してい
るので、このように同期パターンを含むデータの一部が
欠落しても、エラー訂正ができる可能性がある。しか
し、エラー訂正処理を実行させるためには、エラー訂正
符号の先頭、つまりシンクブロックの先頭の位置が正し
く検出されていることが必要である。
Next, a method of generating a synchronization pulse indicating the head position of a sync block when outputting input data will be described. Originally, the synchronization detection circuit 132
The data handled in step (1) is data to which sync blocks are continuously input as shown in FIG. 13A. However, there is a possibility that only a part of data or a certain continuous section has been lost due to an error or the like generated in the process of recording and transmission. Since the data portion of the sync block, that is, the data packet, forms an error correction code, even if a part of the data including the synchronization pattern is lost, there is a possibility that the error can be corrected. However, in order to execute the error correction process, the head of the error correction code, that is, the position of the head of the sync block needs to be correctly detected.

【0122】そこで、同一セクタ内では、同じ長さのシ
ンクブロックが連続して記録されていることを考える
と、一度、特定のデータ長で同期パターンを検出したな
らば、その時点でのデータ長の間隔でシンクブロックが
並んでいる可能性が高いと考えられる。したがって、同
期パターンを検出できなくても、次に同期パターンを検
出するまで、前回検出された同期パルスを出力し続ける
ことにより、この同期パルスに基づきデータを再生する
ことができる可能性がある。例えば、図13Cに示され
るように、シンクブロック長に対応する同期パルスに基
づき、図13Bの如く、シンクブロックを正しく再生す
ることができる。
Considering that sync blocks of the same length are continuously recorded in the same sector, once a synchronization pattern is detected with a specific data length, the data length at that time is detected. It is highly probable that the sync blocks are arranged at intervals of. Therefore, even if the synchronization pattern cannot be detected, there is a possibility that data can be reproduced based on the synchronization pulse by continuing to output the previously detected synchronization pulse until the next synchronization pattern is detected. For example, as shown in FIG. 13C, the sync block can be correctly reproduced based on the synchronization pulse corresponding to the sync block length as shown in FIG. 13B.

【0123】このための手段として、一度、同期パター
ンを検出できたなら、出力データの先頭にタイミングを
合わせて一定間隔でパルスを出力するような回路を用い
る。上述したイナーシャ回路18がこの回路に相当す
る。
As means for this purpose, a circuit is used in which once a synchronization pattern has been detected, a pulse is output at regular intervals in synchronization with the start of output data. The above-mentioned inertia circuit 18 corresponds to this circuit.

【0124】図17は、上述のイナーシャ回路18の構
成の一例を示す。この回路18は、データ長LおよびK
の2種類のデータ長に対応したものである。端子50に
対して、データ長をLあるいはKの何れかに決定するた
めの、識別信号L/Kが供給される。識別信号L/K
は、例えば、同期パターンの検出をシフトレジスタ10
Lを用いて行ったか、シフトレジスタK11を用いて行
ったかを示す識別信号である。また、端子51に対し
て、同期パターンの検出のタイミングに対応した信号
(スタートパルス)が供給される。
FIG. 17 shows an example of the configuration of the inertia circuit 18 described above. This circuit 18 has data lengths L and K
This corresponds to the two types of data length. An identification signal L / K for determining the data length to be either L or K is supplied to the terminal 50. Identification signal L / K
For example, the detection of the synchronization pattern
This is an identification signal indicating whether the operation was performed using L or the shift register K11. Further, a signal (start pulse) corresponding to the timing of detecting the synchronization pattern is supplied to the terminal 51.

【0125】スタートパルスは、L/Kカウンタ52の
スタート端子STに供給されると共に、当初端子51側
が選択されているスイッチ回路54を介して、OR回路
58の一方の入力端に供給される。OR回路58の出力
は、後述するカウンタ59のロード入力端に供給され
る。
The start pulse is supplied to the start terminal ST of the L / K counter 52 and is also supplied to one input terminal of the OR circuit 58 via the switch circuit 54 whose terminal 51 is initially selected. The output of the OR circuit 58 is supplied to a load input terminal of a counter 59 described later.

【0126】端子50に入力された識別信号L/Kは、
L/Kカウンタ52のイネーブル端子ENに供給される
と共に、スイッチ回路53の選択制御信号として用いら
れる。スイッチ回路53は、この識別信号L/Kの内容
に応じて入力端53Aおよび53Bを選択される。入力
端53Aおよび53Bの選択に応じて、カウンタ59の
ロードデータ端子に対して、データ長LおよびKに対応
した初期値が例えば図示されないシステムコントローラ
から供給されロードされる。
The identification signal L / K input to the terminal 50 is
It is supplied to the enable terminal EN of the L / K counter 52 and is used as a selection control signal of the switch circuit 53. Switch circuit 53 selects input terminals 53A and 53B according to the content of identification signal L / K. In response to the selection of the input terminals 53A and 53B, initial values corresponding to the data lengths L and K are supplied and loaded from, for example, a system controller (not shown) to the load data terminal of the counter 59.

【0127】カウンタ59は、所定のクロックに基づ
き、ロードされた初期値からカウントダウンする。そし
て、カウント値が
The counter 59 counts down from the loaded initial value based on a predetermined clock. And the count value is

〔0〕になったところで、同期パルス
を1クロック分、出力する。出力された同期パルスは、
出力端60に導出されると共に、OR回路58の他方の
入力端に供給される。同期パルスが出力されると、再
度、スイッチ回路53を介して初期値がロードされ、カ
ウントダウンが再開される。
When [0] is reached, a synchronization pulse is output for one clock. The output sync pulse is
The signal is output to the output terminal 60 and supplied to the other input terminal of the OR circuit 58. When the synchronization pulse is output, the initial value is loaded again via the switch circuit 53, and the countdown is restarted.

【0128】カウンタ59でのカウントは、OR回路5
8から出力されるパルスを起点として開始される。すな
わち、端子51から供給されたスタートパルスか、ある
いは、カウンタ59から出力される同期パルスの何れか
が起点とされる。そして、カウントの途中であっても、
OR回路58からのパルスが供給されれば、ロードデー
タ端子から初期値がロードされ、その初期値からのカウ
ントダウンが開始される。したがって、入力データの同
期パターンの検出位置が変わった場合でも、カウントの
途中で初期値がロードされるので、入力データに追随し
た同期パルスを出力することができる。なお、スイッチ
回路54は、この回路18の動作に応じて適宜選択され
る。スイッチ回路54の選択によっては、後述するL/
Kカウンタ52から出力が起点とされる。
The count by the counter 59 is determined by the OR circuit 5
The process is started with the pulse output from 8 as a starting point. That is, the start point is either the start pulse supplied from the terminal 51 or the synchronization pulse output from the counter 59. And even during the counting,
When the pulse is supplied from the OR circuit 58, the initial value is loaded from the load data terminal, and the countdown from the initial value is started. Therefore, even if the detection position of the synchronization pattern of the input data changes, the initial value is loaded during the counting, so that the synchronization pulse following the input data can be output. The switch circuit 54 is appropriately selected according to the operation of the circuit 18. Depending on the selection of the switch circuit 54, L /
The output from the K counter 52 is the starting point.

【0129】図18は、データ長がLである場合の、イ
ナーシャ回路18での動作タイミングの一例を示す。カ
ウンタ59では、図18Aのクロックに基づきカウント
ダウンが行われる。例えば、タイミングAでスタートパ
ルスと識別信号L/Kとが入力される(図18Bおよび
図18C)。すると、次のクロックで、ロードデータ端
子からデータ長Lに対応した初期値が入力され、初期値
からのカウントダウンがなされる(図18D)。そし
て、カウント値が
FIG. 18 shows an example of the operation timing of the inertia circuit 18 when the data length is L. The counter 59 counts down based on the clock of FIG. 18A. For example, a start pulse and an identification signal L / K are input at timing A (FIGS. 18B and 18C). Then, at the next clock, the initial value corresponding to the data length L is input from the load data terminal, and the countdown from the initial value is performed (FIG. 18D). And the count value is

〔0〕になると(タイミングB)、ス
タートパルスが入力されなくても、図18Eに示される
ように同期パルスが出力される。これにより、一度スタ
ートされると、一定間隔で同期パルスを出力することが
できる。
When it reaches [0] (timing B), a synchronization pulse is output as shown in FIG. 18E even if no start pulse is input. Thus, once started, a synchronization pulse can be output at regular intervals.

【0130】また、タイミングCのように、カウンタ5
9によるカウントダウンの途中でスタートパルスが入力
されると、その時点で初期値がロードされる。さらに、
タイミングDのように、カウント値が
As shown at timing C, the counter 5
If a start pulse is input during the countdown by 9, the initial value is loaded at that time. further,
Like timing D, the count value

〔0〕になるのと
スタートパルスの入力とが同時でも、上述のタイミング
Bと同様に、その時点で初期値がロードされる。
Even when the input of [0] and the input of the start pulse are performed at the same time, the initial value is loaded at that time in the same manner as at the timing B described above.

【0131】このように、スタートパルスが入力されて
からLクロック後に、同期パルスが出力される。一方、
データ長がKの場合でも、イナーシャ回路18内で(L
−K)クロック分のディレイが調整され(後述する)、
その後、カウンタ59でのカウントダウンが開始され
る。そのため、出力データ(シンクブロック)を出力す
るのに際して、Lクロック分だけ遅延させる必要があ
る。この出力データの遅延は、図11におけるディレイ
ライン19内の、ディレイ19Bを用いて行われる。
As described above, the synchronization pulse is output L clocks after the start pulse is input. on the other hand,
Even when the data length is K, (L
-K) The delay for the clock is adjusted (described later),
Thereafter, the countdown by the counter 59 is started. Therefore, when outputting the output data (sync block), it is necessary to delay by L clocks. This delay of the output data is performed using the delay 19B in the delay line 19 in FIG.

【0132】次に、次に、同期パターンの検出結果をイ
ナーシャ回路18に伝達する方法について、図19〜図
21を用いて説明する。先ず、図20を用いて、データ
長がLの場合について説明する。図19は、タイミング
Aが最も新しい時間に入力された同期パターンを示し、
入力端子1に対して同期パターンがF、E、D、C、B
およびAの順番で入力されることが示される。なお、
A、B、C、D、EおよびFそれぞれのタイミングで入
力された同期パターンに対応したシンクブロックを、そ
れぞれシンクブロックA、B、C、D、EおよびFと称
する。
Next, a method of transmitting the detection result of the synchronization pattern to the inertia circuit 18 will be described with reference to FIGS. First, the case where the data length is L will be described with reference to FIG. FIG. 19 shows a synchronization pattern in which the timing A is input at the latest time,
Synchronization pattern for input terminal 1 is F, E, D, C, B
And A in the order shown. In addition,
The sync blocks corresponding to the synchronization patterns input at the respective timings of A, B, C, D, E, and F are referred to as sync blocks A, B, C, D, E, and F, respectively.

【0133】データ長がLである場合、これらのシンク
ブロックA〜Fは、シンクブロックAがシフトレジスタ
L10に入力された時点で、シフトレジスタL10およ
びディレイライン19に対して、図20のように格納さ
れる。すなわち、シフトレジスタL10には、シンクブ
ロックAが格納され、ディレイライン19には、先頭か
ら、シンクブロックB〜Fが順に格納されている。ま
た、シンクブロックFが当該セクタの先頭のシンクブロ
ックであるとする。
When the data length is L, these sync blocks A to F are applied to the shift register L10 and the delay line 19 at the time when the sync block A is input to the shift register L10 as shown in FIG. Is stored. That is, the sync block A is stored in the shift register L10, and the sync blocks BF are sequentially stored in the delay line 19 from the top. It is also assumed that sync block F is the first sync block of the sector.

【0134】図19において、F〜Cまでの位置で同期
パターンが検出できず、BおよびAの位置で同期パター
ンが検出されているものとする。この場合、シンクブロ
ックBに対してイナーシャ回路18を起動させなければ
ならない。一方、このシンクブロックBは、ディレイラ
イン19の先頭に格納されている(図20)。この位置
ではまだシンクブロックの出力はできないので、同期パ
ターンの検出情報を保管しておかなければならない。そ
のため、シンクRAM17が用いられる。
In FIG. 19, it is assumed that a synchronization pattern cannot be detected at positions F to C, and a synchronization pattern has been detected at positions B and A. In this case, the inertia circuit 18 must be activated for the sync block B. On the other hand, the sync block B is stored at the head of the delay line 19 (FIG. 20). At this position, the sync block cannot be output yet, so the sync pattern detection information must be stored. Therefore, the sink RAM 17 is used.

【0135】同期パターンの検出情報、すなわち同期検
出がなされたことを示す情報、データ長情報およびビッ
トシフト量は、図20に示されるように、(7L−K)
分の長さを有するシンクRAM17の先頭から(L−
K)の位置、すなわち、後端から6Lの位置に格納され
る。
As shown in FIG. 20, the detection information of the synchronization pattern, that is, the information indicating that the synchronization has been detected, the data length information, and the bit shift amount are (7L−K).
From the beginning of the sink RAM 17 having a length of (L-
K), that is, 6L from the rear end.

【0136】ここで、同期パルスを生成し、同期を行う
位置を、セクタの先頭に対応する図19におけるFとす
る。すると、同期パターンの検出情報は、図20に示す
シンクRAM17のFの位置に格納すればよい。また、
図20に示されるように、シンクRAM17の後端側か
ら1L分戻った位置から、イナーシャ回路18に対して
同期パターンの検出情報を出力する。これにより、ディ
レイライン19に格納されたシンクブロックFと同期パ
ルスとのタイミングが一致することになる。
Here, the position where the synchronization pulse is generated and synchronization is performed is indicated by F in FIG. 19 corresponding to the head of the sector. Then, the synchronization pattern detection information may be stored at the position of F in the sync RAM 17 shown in FIG. Also,
As shown in FIG. 20, detection information of the synchronization pattern is output to the inertia circuit 18 from a position returned by 1 L from the rear end side of the sync RAM 17. Thereby, the timing of the sync block F stored in the delay line 19 coincides with the timing of the synchronization pulse.

【0137】同様に、データ長がKの場合の例を図21
に示す。基本的には、上述のデータ長がLの場合と動作
は同じである。但し、データ長がKの場合には、シンク
RAM17への同期パターン情報の書き込み位置は、シ
ンクRAM17の先頭からとなる。これにより、ディレ
イライン19に格納されたシンクブロックの位置と、シ
ンクRAM17に格納される同期パターン情報の位置と
が対応することになる。なお、データ長がKの場合に
も、イナーシャ回路18への出力は、シンクRAM17
の後端側から1L分戻った位置とされる。
Similarly, an example when the data length is K is shown in FIG.
Shown in Basically, the operation is the same as when the data length is L. However, when the data length is K, the write position of the synchronization pattern information in the sync RAM 17 is from the top of the sync RAM 17. As a result, the position of the sync block stored in the delay line 19 corresponds to the position of the synchronization pattern information stored in the sync RAM 17. Even when the data length is K, the output to the inertia circuit 18 is output to the sink RAM 17.
From the rear end side by 1L.

【0138】以上において、同期パターンの検出情報
の、シンクRAM17への先頭から数えた書き込み位置
と、前戻り量との関係式は、 データ長Lの場合:書き込み位置ML=L−K+戻り量×L+α ・・(1) データ長Kの場合:書き込み位置MK=戻り量×K+α ・・(2) となる。ここで、αは、処理による遅延の補正量であ
る。なお、戻り量とは、図19に示される戻り量であ
る。この例では、セクタ内でID番号が連続しているの
で、Bの位置のID番号と、当該セクタの先頭の、既知
であるID番号の差分からこの戻り量を求めている。
In the above, the relational expression between the write position counted from the top of the sync RAM 17 and the forward return amount of the synchronous pattern detection information is as follows: For data length L: write position ML = L−K + return amount × L + α (1) For data length K: write position MK = return amount × K + α (2) Here, α is a delay correction amount due to the processing. The return amount is the return amount shown in FIG. In this example, since the ID numbers are continuous within the sector, the return amount is obtained from the difference between the ID number at the position B and the known ID number at the head of the sector.

【0139】このように、互いに異なる長さのシンクブ
ロックから構成されているデータ列におけるセクタ(1
セクタは、単一の長さのシンクブロックから構成されて
いる)の先頭においての前戻り処理が可能とされる。
As described above, the sector (1) in the data string composed of the sync blocks having different lengths from each other.
A sector is composed of a sync block of a single length).

【0140】次に、セクタの途中で同期パターンが検出
できなくなった場合の、前戻り処理について説明する。
当該セクタの読み出し中において、連続して同期パター
ンの検出ができなくなり、その後、当該セクタ内で再
度、同期パターンが検出できた場合、ある一定のシンク
ブロック数分だけ過去に遡って、早期パルスを発生させ
る処理を行う。
Next, a description will be given of the forward return processing when a synchronous pattern cannot be detected in the middle of a sector.
During the reading of the sector, the synchronization pattern cannot be detected continuously, and then, when the synchronization pattern can be detected again in the sector, an earlier pulse is sent backward by a certain number of sync blocks. Perform the process to generate.

【0141】先ず、出力制御回路20において、所定の
シンクブロック数以上、同期パターンが検出できない状
態であるかどうかが判断される。上述したように、出力
制御回路20に対して、シンクRAM17から同期パタ
ーン検出情報が供給されると共に、イナーシャ回路18
から同期パルスが供給される。出力制御回路20にお
て、これらの信号ならびに情報を用いて、この判断を行
う。すなわち、同期パルスをトリガにして、シンクRA
M17の出力を検査する。
First, the output control circuit 20 determines whether a synchronization pattern cannot be detected for a predetermined number of sync blocks or more. As described above, the synchronous pattern detection information is supplied from the sink RAM 17 to the output control circuit 20 and the inertia circuit 18
Supplies a synchronization pulse. The output control circuit 20 makes this determination using these signals and information. That is, the sync RA
Check the output of M17.

【0142】図22は、この処理を行うための構成の一
例を示す。カウンタ73のイネーブル端子CEに対し
て、AND回路72の出力が接続され、端子71から供
給されるシンクRAM17からの同期パターン検出情報
内の、同期検出ビットを反転したものと、端子70から
供給されるイナーシャ回路18からの同期パルスとのA
NDをとった値が供給される。これにより、同期パルス
が検出されておらず、イナーシャ回路18によって生成
された同期パルスのみの場合(この状態を、Fab−S
YNCと称する)には、カウンタ73がカウントアップ
される。
FIG. 22 shows an example of a configuration for performing this processing. The output of the AND circuit 72 is connected to the enable terminal CE of the counter 73, and the inverted synchronization detection bit in the synchronization pattern detection information from the sync RAM 17 supplied from the terminal 71 and the signal supplied from the terminal 70. A with the synchronization pulse from the inertia circuit 18
The value obtained by taking ND is supplied. As a result, when no synchronization pulse is detected and only the synchronization pulse generated by the inertia circuit 18 is used (this state is referred to as Fab-S
The counter 73 counts up to “YNC”.

【0143】なお、カウンタ73は、同期パターンが検
出され、端子71の同期パターン検出ビットが立った
ら、リセットされる。
The counter 73 is reset when the synchronization pattern is detected and the synchronization pattern detection bit of the terminal 71 is set.

【0144】カウンタ73の出力は、比較回路75のデ
ータ端子に入力される。比較回路75のRef端子に
は、例えば図示されないシステムコントローラから端子
74を介して供給された、Fab−SYNC検出レベル
が入力される。比較回路75では、カウンタ73のカウ
ント値がFab−SYNC検出レベルを越えたら、例え
ば値が〔1〕のFab−SYNC検出信号を出力する。
例えば、5シンクブロック以上、Fab−SYNCが続
いたら、Fab−SYNC検出信号を出力する。この信
号は端子76から位相制御回路16に対して供給され
る。
The output of the counter 73 is input to the data terminal of the comparison circuit 75. To the Ref terminal of the comparison circuit 75, for example, a Fab-SYNC detection level supplied via a terminal 74 from a system controller (not shown) is input. When the count value of the counter 73 exceeds the Fab-SYNC detection level, the comparison circuit 75 outputs, for example, a Fab-SYNC detection signal whose value is [1].
For example, if Fab-SYNC continues for five or more sync blocks, a Fab-SYNC detection signal is output. This signal is supplied to the phase control circuit 16 from the terminal 76.

【0145】位相制御回路16では、Fab−SYNC
検出信号の値が〔1〕であるときに、同期パターンを検
出した旨をシンク検出回路15から受け取ったら、予め
設定されている前戻り量だけ前戻り処理を行うように、
シンクRAM17に対する同期パターン検出情報の書き
込みアドレスを作成する。そして、受け取った同期パタ
ーン検出情報を、このアドレスに基づきシンクRAM1
7に書き込む。これによる前戻り処理は、図19〜図2
1を用いて既に説明した方法と同一になされる。
In the phase control circuit 16, Fab-SYNC
When the value of the detection signal is [1], and when the fact that the synchronization pattern has been detected is received from the sync detection circuit 15, the forward return processing is performed by a preset forward return amount.
A write address of the synchronous pattern detection information to the sync RAM 17 is created. Then, the received synchronization pattern detection information is stored in the sink RAM 1 based on this address.
Write to 7. The forward return process according to this is shown in FIGS.
1 is performed in the same manner as described above.

【0146】なお、位相制御回路16では、上述した、
セクタ先頭での前戻り処理と、このセクタ途中での前戻
り処理とが重なった場合には、セクタ先頭での前戻り処
理を優先的に行う。
In the phase control circuit 16,
If the forward return process at the head of the sector and the forward return process in the middle of the sector overlap, the forward return process at the head of the sector is preferentially performed.

【0147】また、Fab−SYNC検出信号は、図2
2に示される構成に限らず、例えば、図17に点線で示
されるように、イナーシャ回路18にFab−SYNC
回路55を設け、これにより出力するようにしてもよ
い。すなわち、Fab−SYNC回路55は、カウンタ
59から出力される同期パルスによってカウントアップ
するカウンタである。このカウンタは、端子51から供
給されるスタートパルスによってリセットされる。Fa
b−SYNC回路55のカウント値は、Fab−SYN
C信号として端子56に導出される。Fab−SYNC
信号は、位相制御回路16に供給される。
Further, the Fab-SYNC detection signal is shown in FIG.
In addition to the configuration shown in FIG. 2, for example, as shown by a dotted line in FIG.
A circuit 55 may be provided to output the signal. That is, the Fab-SYNC circuit 55 is a counter that counts up by a synchronization pulse output from the counter 59. This counter is reset by a start pulse supplied from the terminal 51. Fa
The count value of the b-SYNC circuit 55 is Fab-SYNC
The signal is output to the terminal 56 as a C signal. Fab-SYNC
The signal is supplied to the phase control circuit 16.

【0148】同期パターン検出情報は、出力データへ反
映される。すなわち、最終出力段である出力制御回路2
0では、イナーシャ回路18の出力と、同期パターン検
出情報とに基づき、ディレイライン19からの出力デー
タを、ビットシフト量だけシフトさせ、元のデータの1
バイト単位に復元する。
The synchronization pattern detection information is reflected on the output data. That is, the output control circuit 2 which is the final output stage
At 0, the output data from the delay line 19 is shifted by the bit shift amount based on the output of the inertia circuit 18 and the synchronization pattern detection information, and
Restore byte by byte.

【0149】なお、上述では、データ長がLおよびKの
間隔での同期パターンの参照を行っているが、これはこ
の例に限定されない。すなわち、同様の処理で、L,
2,3,・・・,nL、K,2K,3K,・・・,mK
の間隔で、同期パターンの参照を行うことも、可能であ
る。
In the above description, the synchronization pattern is referred to at intervals of data lengths L and K, but this is not limited to this example. That is, in the same processing, L,
, NL, K, 2K, 3K, ..., mK
It is also possible to refer to the synchronization pattern at intervals of.

【0150】また、上述では、この記録媒体として磁気
テープを用いるようにしているが、これはこの例に限定
されない。この発明は、例えば、ハードディスクや光磁
気ディスクなどの、ディスク状記録媒体に適用すること
が可能である。また、記録媒体だけでなく、ネットワー
クなどの通信を介して伝送されたデータに対しても適用
可能である。
Further, in the above description, the magnetic tape is used as the recording medium, but this is not limited to this example. The present invention can be applied to a disk-shaped recording medium such as a hard disk and a magneto-optical disk. Further, the present invention can be applied not only to a recording medium but also to data transmitted via communication such as a network.

【0151】[0151]

【発明の効果】以上説明したように、この発明によれ
ば、互いに異なるデータ長のシンクブロックを自動的に
検出し、イナーシャ回路による同期パルス出力を制御す
る情報を、データ長に応じて、シンクRAMの前戻り処
理を行いたい位置に対応して書き込むようにしている。
そのため、同期信号の検出回路として不可欠な、セクタ
先頭での前戻り処理を、互いに異なるシンクブロック長
を持つ記録フォーマットで実現できるという効果があ
る。
As described above, according to the present invention, sync blocks having different data lengths are automatically detected, and information for controlling the output of the synchronization pulse by the inertia circuit is synchronized with the data length. Writing is performed corresponding to the position of the RAM where the backward processing is to be performed.
Therefore, there is an effect that the rewind process at the head of the sector, which is indispensable as a circuit for detecting a synchronization signal, can be realized by recording formats having different sync block lengths.

【0152】また、この発明によれば、Fab−SYN
C検出信号によって、セクタの途中でも、同期検出の前
戻り処理を行うことができるという効果がある。
Further, according to the present invention, Fab-SYN
By the C detection signal, there is an effect that the backward processing of the synchronization detection can be performed even in the middle of the sector.

【0153】、ノントラッキング再生を行うような再生
装置では、1本のトラックを複数のヘッドでトレースす
るために、それぞれのヘッドからの出力においては、ト
ラックの途中から再生されたデータも処理しなければい
けない。すなわち、セクタの先頭以外でも、同期をとり
直す必要がでてくる。この発明によれば、セクタの途中
でも、前戻り処理ができるので、同期検出能力を向上さ
せることができるという効果がある。
In a reproducing apparatus that performs non-tracking reproduction, since one track is traced by a plurality of heads, the data reproduced from the middle of the track must be processed in the output from each head. I have to. That is, synchronization needs to be re-established other than at the head of the sector. According to the present invention, it is possible to perform the rewinding process even in the middle of a sector, so that there is an effect that the synchronization detection capability can be improved.

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

【図1】この発明の一実施形態の記録側の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a configuration on a recording side according to an embodiment of the present invention.

【図2】この発明の一実施形態の再生側の構成を示すブ
ロック図である。
FIG. 2 is a block diagram showing a configuration of a reproducing side according to an embodiment of the present invention.

【図3】トラックフォーマットの一例を示す略線図であ
る。
FIG. 3 is a schematic diagram illustrating an example of a track format.

【図4】トラックフォーマットの他の例を示す略線図で
ある。
FIG. 4 is a schematic diagram illustrating another example of a track format.

【図5】シンクブロックの構成の複数の例を示す略線図
である。
FIG. 5 is a schematic diagram illustrating a plurality of examples of a configuration of a sync block.

【図6】シンクブロックに付加されるIDおよびDID
の内容を示す略線図である。
FIG. 6 shows an ID and a DID added to a sync block.
FIG.

【図7】ビデオエンコーダの出力の方法と可変長符号化
を説明するための略線図である。
FIG. 7 is a schematic diagram for explaining an output method of a video encoder and variable-length encoding.

【図8】ビデオエンコーダの出力の順序の並び替えを説
明するための略線図である。
FIG. 8 is a schematic diagram for explaining rearrangement of an output order of a video encoder.

【図9】順序の並び替えられたデータをシンクブロック
にパッキングする処理を説明するための略線図である。
FIG. 9 is a schematic diagram for explaining a process of packing data rearranged in order into a sync block.

【図10】ビデオデータおよびオーディオデータに対す
るエラー訂正符号を説明するための略線図である。
FIG. 10 is a schematic diagram for explaining an error correction code for video data and audio data.

【図11】この発明による同期検出回路の構成の一例を
示すブロック図である。
FIG. 11 is a block diagram showing an example of a configuration of a synchronization detection circuit according to the present invention.

【図12】入力データのビットシフトを説明するための
略線図である。
FIG. 12 is a schematic diagram for explaining bit shift of input data.

【図13】入力データならびに同期パルスを説明するた
めの略線図である。
FIG. 13 is a schematic diagram for explaining input data and a synchronization pulse.

【図14】シフトレジスタを用いたシンク検出を説明す
るための略線図である。
FIG. 14 is a schematic diagram for explaining sync detection using a shift register.

【図15】比較(L)回路および比較(K)回路の構成
の一例を示すブロック図である。
FIG. 15 is a block diagram illustrating an example of a configuration of a comparison (L) circuit and a comparison (K) circuit.

【図16】シンク比較回路での同期パターン検出を説明
するための略線図である。
FIG. 16 is a schematic diagram for explaining synchronization pattern detection in the sync comparison circuit.

【図17】この発明によるイナーシャ回路の構成の一例
を示すブロック図である。
FIG. 17 is a block diagram showing an example of a configuration of an inertia circuit according to the present invention.

【図18】イナーシャ回路での動作タイミングの一例を
示すタイミングチャートである。
FIG. 18 is a timing chart showing an example of operation timing in the inertia circuit.

【図19】同期パターンの検出結果をイナーシャ回路に
伝達する方法を説明するための略線図である。
FIG. 19 is a schematic diagram for explaining a method of transmitting a detection result of a synchronization pattern to an inertia circuit.

【図20】同期パターンの検出結果をイナーシャ回路に
伝達する方法を説明するための略線図である。
FIG. 20 is a schematic diagram illustrating a method of transmitting a detection result of a synchronization pattern to an inertia circuit.

【図21】同期パターンの検出結果をイナーシャ回路に
伝達する方法を説明するための略線図である。
FIG. 21 is a schematic diagram illustrating a method of transmitting a detection result of a synchronization pattern to an inertia circuit.

【図22】Fab−SYNC検出信号を出力する構成の
一例を示すブロック図である。
FIG. 22 is a block diagram illustrating an example of a configuration for outputting a Fab-SYNC detection signal.

【図23】トラック上の各セクタの配置の一例を概略的
に示す略線図である。
FIG. 23 is a schematic diagram schematically showing an example of the arrangement of each sector on a track.

【図24】セクタの先頭で2個連続して同期パターンを
検出できない例を示す略線図である。
FIG. 24 is a schematic diagram illustrating an example in which two consecutive synchronization patterns cannot be detected at the beginning of a sector.

【図25】従来の技術による前戻り処理を行う同期検出
回路の構成の一例を示すブロック図である。
FIG. 25 is a block diagram illustrating an example of a configuration of a synchronization detection circuit that performs a return process according to a conventional technique.

【図26】セクタの先頭から読み出された入力データの
一例を概略的に示す略線図である。
FIG. 26 is a schematic diagram schematically showing an example of input data read from the head of a sector;

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

10・・・シフトレジスタL、11・・・シフトレジス
タK、12・・・比較(L)回路、13・・・比較
(K)回路、14・・・シンク比較回路、15・・・シ
ンク検出回路、16・・・位相制御回路、17・・・シ
ンクRAM、18・・・イナーシャ回路、19・・・デ
ィレイライン、20・・・出力制御回路、59・・・カ
ウンタ、73・・・カウンタ、比較回路、100・・・
記録再生装置、114・・・AUX付加回路、116・
・・外符号エンコーダ、117・・・シャフリング、1
18・・・ID付加回路、119・・・内符号エンコー
ダ、120・・・同期付加回路、123・・・磁気テー
プ、132・・・同期検出回路、133・・・内符号デ
コーダ、134・・・ID補間回路、151・・・デシ
ャフリング回路、152・・・外符号デコーダ、153
・・・AUX分離回路、155・・・補間回路、156
・・・出力部
10 shift register L, 11 shift register K, 12 ... comparison (L) circuit, 13 ... comparison (K) circuit, 14 ... sync comparison circuit, 15 ... sync detection Circuit, 16 ... Phase control circuit, 17 ... Sink RAM, 18 ... Inertia circuit, 19 ... Delay line, 20 ... Output control circuit, 59 ... Counter, 73 ... Counter , Comparison circuit, 100...
Recording / reproducing device, 114 ... AUX adding circuit, 116
..Outer code encoders, 117... Shuffling, 1
18 ... ID addition circuit, 119 ... inner code encoder, 120 ... synchronization addition circuit, 123 ... magnetic tape, 132 ... synchronization detection circuit, 133 ... inner code decoder, 134 ... -ID interpolation circuit, 151 ... deshuffling circuit, 152 ... outer code decoder, 153
... AUX separation circuit, 155 ... interpolation circuit, 156
... Output unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 5/907 H04N 5/92 H 5/92 Fターム(参考) 5C018 CA05 GA02 HA05 KA02 LA03 5C052 AA01 AB05 CC02 CC03 CC06 CC11 CC12 GA04 GA07 GB02 GB06 GB07 GB09 GC06 GD01 GD05 GD06 GD09 GF04 5C053 FA22 GA16 GB01 GB06 GB07 GB08 GB10 GB11 GB15 GB18 GB22 GB26 GB30 GB38 HA01 HA33 JA12 JA21 JA26 KA08 KA09 KA19 KA20 KA21 KA24 5D044 AB05 AB07 BC01 CC03 FG10 FG19 GM19 GM27 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 5/907 H04N 5/92 H 5/92 F term (Reference) 5C018 CA05 GA05 HA05 KA02 LA03 5C052 AA01 AB05 CC02 CC03 CC06 CC11 CC12 GA04 GA07 GB02 GB06 GB07 GB09 GC06 GD01 GD05 GD06 GD09 GF04 5C053 FA22 GA16 GB01 GB06 GB07 GB08 GB10 GB11 GB15 GB18 GB22 GB26 GB30 GB38 HA01 HA33 JA12 JA21 JA26 KA08 KA09 KA19 KA20 KA21 BG07 GM27

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 同期を検出するための同期パターンがデ
ータ長毎に付加されて入力されたビット列から同期検出
を行う同期検出装置において、 入力データの同期パターンを検出して上記入力データの
同期を検出すると共に、上記同期を検出できたことを示
す情報と検出された上記同期の間隔に基づくデータ長情
報とからなる同期検出情報を作成する同期検出手段と、 上記入力データを上記同期に対応したデータブロックと
して順に複数格納する第1のメモリ手段と、 上記同期検出手段による上記同期検出情報を格納する、
上記第1のメモリ手段と対応した長さを有する第2のメ
モリ手段と、 上記同期検出手段で上記同期が検出されない場合に、上
記第2のメモリ手段に書き込まれた上記同期検出情報の
位置と該同期検出情報の上記データ長情報とに基づき、
上記データ長に対応する同期信号を生成する同期信号生
成手段と、 上記同期信号生成手段により上記同期信号が生成された
回数をカウントし、カウント値が所定値以上になり、且
つ、上記同期検出手段による上記同期の検出がなされた
ら、上記第2のメモリ手段に対して、上記同期が検出さ
れた位置よりも所定長だけ前戻りした位置に、検出され
た上記同期に伴う上記同期検出情報を書き込むように制
御する位相制御手段とを有することを特徴とする同期検
出装置。
1. A synchronization detecting device for adding a synchronization pattern for detecting synchronization for each data length and performing synchronization detection from an input bit sequence, wherein a synchronization pattern of the input data is detected to synchronize the input data. A synchronization detecting means for generating synchronization detection information comprising information indicating that the synchronization has been detected and data length information based on the detected synchronization interval; and First memory means for sequentially storing a plurality of data blocks as data blocks, and storing the synchronization detection information by the synchronization detection means;
A second memory unit having a length corresponding to the first memory unit; and a position of the synchronization detection information written in the second memory unit when the synchronization is not detected by the synchronization detection unit. Based on the data length information of the synchronization detection information,
Synchronizing signal generating means for generating a synchronizing signal corresponding to the data length; counting the number of times the synchronizing signal is generated by the synchronizing signal generating means; Is detected, the synchronization detection information associated with the detected synchronization is written into the second memory means at a position which is returned by a predetermined length from the position at which the synchronization is detected. And a phase control means for controlling the synchronization.
【請求項2】 請求項1に記載の同期検出装置におい
て、 上記第2のメモリ手段は、上記データブロックの長さの
整数倍の長さから、上記データブロックよりも短く、且
つ、上記データブロックの半分の長さを越える他のデー
タブロックの長さを差し引いた長さを有し、 上記位相制御手段は、上記同期検出手段によって上記デ
ータブロックに対応する同期が検出されたら、上記同期
検出情報を上記第2のメモリ手段の後端側から上記デー
タブロック長さの整数倍の位置から書き込み、上記同期
検出手段によって上記他のデータブロックに対応する同
期が検出されたら、上記同期検出情報を上記第2のメモ
リ手段の先頭から上記他のデータブロック長さの整数倍
の位置から書き込むようにしたことを特徴とする同期検
出装置。
2. The synchronization detecting device according to claim 1, wherein said second memory means is shorter than said data block by a length which is an integral multiple of the length of said data block, and is shorter than said data block. The phase control means has a length obtained by subtracting the length of another data block exceeding half the length of the data block. If the synchronization corresponding to the data block is detected by the synchronization detection means, From the rear end side of the second memory means from an integer multiple of the data block length. When the synchronization detecting means detects the synchronization corresponding to the other data block, the synchronization detecting information is written A synchronization detecting device, wherein writing is performed from a position of an integral multiple of the length of the other data block from the head of the second memory means.
【請求項3】 記録媒体から再生された、同期を検出す
るための同期パターンがデータ長毎に付加されたビット
列から同期検出を行う再生装置において、 再生データの同期パターンを検出して上記再生データの
同期を検出すると共に、上記同期を検出できたことを示
す情報と検出された上記同期の間隔に基づくデータ長情
報とからなる同期検出情報を作成する同期検出手段と、 上記再生データを上記同期に対応したデータブロックと
して順に複数格納する第1のメモリ手段と、 上記同期検出手段による上記同期検出情報を格納する、
上記第1のメモリ手段と対応した長さを有する第2のメ
モリ手段と、 上記同期検出手段で上記同期が検出されない場合に、上
記第2のメモリ手段に書き込まれた上記同期検出情報の
位置と該同期検出情報の上記データ長情報とに基づき、
上記データ長に対応する同期信号を生成する同期信号生
成手段と、 上記同期信号生成手段により上記同期信号が生成された
回数をカウントし、カウント値が所定値以上になり、且
つ、上記同期検出手段による上記同期の検出がなされた
ら、上記第2のメモリ手段に対して、上記同期が検出さ
れた位置よりも所定長だけ前戻りした位置に、検出され
た上記同期に伴う上記同期検出情報を書き込むように制
御する位相制御手段と、 上記同期信号生成手段により生成された上記同期信号あ
るいは上記同期検出手段で検出された同期に基づき上記
第1のメモリ手段に格納された上記データブロックを出
力する出力制御手段とを有することを特徴とする再生装
置。
3. A reproducing apparatus for performing synchronization detection from a bit string to which a synchronization pattern for detecting synchronization is added for each data length, reproduced from a recording medium, wherein the synchronization pattern of the reproduction data is detected to detect the synchronization pattern. Synchronization detection means for generating synchronization detection information comprising information indicating that the synchronization has been detected and data length information based on the detected synchronization interval, and synchronizing the reproduced data with the synchronization data. A first memory unit for sequentially storing a plurality of data blocks as data blocks corresponding to the above, and storing the synchronization detection information by the synchronization detection unit;
A second memory unit having a length corresponding to the first memory unit; and a position of the synchronization detection information written in the second memory unit when the synchronization is not detected by the synchronization detection unit. Based on the data length information of the synchronization detection information,
Synchronizing signal generating means for generating a synchronizing signal corresponding to the data length; counting the number of times the synchronizing signal is generated by the synchronizing signal generating means; Is detected, the synchronization detection information associated with the detected synchronization is written into the second memory means at a position which is returned by a predetermined length from the position at which the synchronization is detected. Output means for outputting the data block stored in the first memory means based on the synchronization signal generated by the synchronization signal generation means or the synchronization detected by the synchronization detection means. A playback device, comprising: a control unit.
【請求項4】 請求項3に記載の再生装置において、 上記第2のメモリ手段は、上記データブロックの長さの
整数倍の長さから、上記データブロックよりも短く、且
つ、上記データブロックの半分の長さを越える他のデー
タブロックの長さを差し引いた長さを有し、 上記位相制御手段は、上記同期検出手段によって上記デ
ータブロックに対応する同期が検出されたら、上記同期
検出情報を上記第2のメモリ手段の後端側から上記デー
タブロック長さの整数倍の位置から書き込み、上記同期
検出手段によって上記他のデータブロックに対応する同
期が検出されたら、上記同期検出情報を上記第2のメモ
リ手段の先頭から上記他のデータブロック長さの整数倍
の位置から書き込むようにしたことを特徴とする再生装
置。
4. The reproducing apparatus according to claim 3, wherein said second memory means is shorter than said data block by a length which is an integral multiple of the length of said data block and is shorter than said data block. The phase control unit has a length obtained by subtracting the length of another data block exceeding half the length, and the synchronization detection unit detects the synchronization detection information when the synchronization corresponding to the data block is detected by the synchronization detection unit. Writing is performed from the rear end side of the second memory means at a position which is an integral multiple of the data block length, and when the synchronization corresponding to the other data block is detected by the synchronization detecting means, the synchronization detection information is written to the second memory block. A reproducing apparatus characterized in that writing is performed from a position of an integral multiple of the length of the other data block from the head of the second memory means.
【請求項5】 同期を検出するための同期パターンがデ
ータ長毎に付加されて入力されたビット列から同期検出
を行う同期検出方法において、 入力データの同期パターンを検出して上記入力データの
同期を検出すると共に、上記同期を検出できたことを示
す情報と検出された上記同期の間隔に基づくデータ長情
報とからなる同期検出情報を作成する同期検出のステッ
プと、 上記入力データを上記同期に対応したデータブロックと
して第1のメモリに順に複数格納するステップと、 上記第1のメモリと対応した長さを有する第2のメモリ
に、上記同期検出のステップによる上記同期検出情報を
格納するステップと、 上記同期検出のステップで上記同期が検出されない場合
に、上記第2のメモリに書き込まれた上記同期検出情報
の位置と該同期検出情報の上記データ長情報とに基づ
き、上記データ長に対応する同期信号を生成する同期信
号生成のステップと、 上記同期信号生成のステップにより上記同期信号が生成
された回数をカウントし、カウント値が所定値以上にな
り、且つ、上記同期検出のステップによる上記同期の検
出がなされたら、上記第2のメモリに対して、上記同期
が検出された位置よりも所定長だけ前戻りした位置に、
検出された上記同期に伴う上記同期検出情報を書き込む
ように制御する位相制御のステップとを有することを特
徴とする同期検出方法。
5. A synchronization detection method for adding a synchronization pattern for detecting synchronization for each data length and performing synchronization detection from an input bit string, wherein a synchronization pattern of the input data is detected to synchronize the input data. Detecting and generating synchronization detection information including information indicating that the synchronization has been detected and data length information based on the detected synchronization interval; and synchronizing the input data with the synchronization. Storing a plurality of data blocks in the first memory in order in the first memory; storing the synchronization detection information in the synchronization detection step in a second memory having a length corresponding to the first memory; If the synchronization is not detected in the synchronization detection step, the position of the synchronization detection information written in the second memory and the synchronization A synchronizing signal generating step of generating a synchronizing signal corresponding to the data length based on the data length information of the output information; and counting the number of times the synchronizing signal is generated by the synchronizing signal generating step. Is greater than or equal to a predetermined value, and when the synchronization is detected in the step of detecting the synchronization, the second memory is returned to a position which is returned by a predetermined length from the position where the synchronization is detected.
A phase control step of controlling to write the synchronization detection information accompanying the detected synchronization.
JP31759898A 1998-11-09 1998-11-09 Synchronization detecting device and method, and reproducing device Expired - Fee Related JP4010067B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31759898A JP4010067B2 (en) 1998-11-09 1998-11-09 Synchronization detecting device and method, and reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31759898A JP4010067B2 (en) 1998-11-09 1998-11-09 Synchronization detecting device and method, and reproducing device

Publications (2)

Publication Number Publication Date
JP2000152187A true JP2000152187A (en) 2000-05-30
JP4010067B2 JP4010067B2 (en) 2007-11-21

Family

ID=18090009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31759898A Expired - Fee Related JP4010067B2 (en) 1998-11-09 1998-11-09 Synchronization detecting device and method, and reproducing device

Country Status (1)

Country Link
JP (1) JP4010067B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004062927A (en) * 2002-07-25 2004-02-26 Nec Yamagata Ltd Optical disk reproducing apparatus and data reproducing method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004062927A (en) * 2002-07-25 2004-02-26 Nec Yamagata Ltd Optical disk reproducing apparatus and data reproducing method thereof
US7343544B2 (en) 2002-07-25 2008-03-11 Nec Electronics Corporation Optical disk playback apparatus and data playback method therefor
JP4618760B2 (en) * 2002-07-25 2011-01-26 ルネサスエレクトロニクス株式会社 Optical disc reproducing apparatus and data reproducing method thereof

Also Published As

Publication number Publication date
JP4010067B2 (en) 2007-11-21

Similar Documents

Publication Publication Date Title
KR100654072B1 (en) Data recording apparatus, data recording method, data recording and reproducing apparatus, data recording and reproducing method, data reproducing apparatus, data reproducing method, data record medium, digital data reproducing apparatus, digital data reproducing method, synchronization detecting apparatus, and synchronization detecting method
US5579183A (en) Recording and reproducing an MPEG information signal on/from a record carrier
US6028726A (en) Digital data recording/reproducing apparatus and method with means for adding arrival time to a data packet
JP4010066B2 (en) Image data recording apparatus and recording method, and image data recording / reproducing apparatus and recording / reproducing method
JP2000125262A (en) Signal processing unit, its method, recorder, reproducing device and recording and reproducing device
JP4182641B2 (en) Data processing apparatus and method, and recording apparatus and method
KR100642532B1 (en) Data processing apparatus and data recording apparatus
JP2000149454A (en) Signal processor and processing method, recording device reproducing device, recording and reproducing device, and video signal recording and reproducing device
US6807366B1 (en) Data recording apparatus, data recording/reproducing apparatus, data recording method, and data recording/reproducing method
KR100719780B1 (en) Data transmitting apparatus and method thereof, recording apparatus, and recording and reproducing apparatus
JP4010067B2 (en) Synchronization detecting device and method, and reproducing device
JP3956510B2 (en) Synchronization detecting device and method, and reproducing device
JP2000132914A (en) Data processor and data recorder
JP2000134110A (en) Data transmitter and transmission method
JP2001169243A (en) Recorder and recording method, and reproducing device and reproducing method
JP2000149455A (en) Data recorder and recording method, data recording and reproducing device and recording and reproducing method, and data recording medium
JP3978903B2 (en) Data recording apparatus, data recording method, data processing apparatus, and data processing method
JP2000152177A (en) Data processor and its method, and data reproducing device
JP2000312341A (en) Data transmitter, method therefor, recorder and recording and reproducing device
JP2000293435A (en) Device and method for reproducing data
JP2000137951A (en) Recording device and its method, reproducing device and its method, and recording/reproducing device and its method
JP2000123485A (en) Recording device and method
JP2000195171A (en) Signal processing device and method, and reproducing device
JP2000152174A (en) Image data processor its method and image data recorder
JP2000149426A (en) Memory accessing device and method therefor, and data processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050719

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070711

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070814

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070827

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

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees