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

Synchronization detector, its method and reproducing device

Info

Publication number
JP2000152175A
JP2000152175A JP10317597A JP31759798A JP2000152175A JP 2000152175 A JP2000152175 A JP 2000152175A JP 10317597 A JP10317597 A JP 10317597A JP 31759798 A JP31759798 A JP 31759798A JP 2000152175 A JP2000152175 A JP 2000152175A
Authority
JP
Japan
Prior art keywords
data
synchronization
length
output
unit
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
JP10317597A
Other languages
Japanese (ja)
Other versions
JP3956510B2 (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 JP31759798A priority Critical patent/JP3956510B2/en
Priority to DE69938118T priority patent/DE69938118T2/en
Priority to US09/435,967 priority patent/US6470142B1/en
Priority to EP99308875A priority patent/EP1001635B1/en
Priority to CNB991277554A priority patent/CN1168258C/en
Priority to KR1019990049425A priority patent/KR100654072B1/en
Publication of JP2000152175A publication Critical patent/JP2000152175A/en
Priority to US10/172,673 priority patent/US7398007B2/en
Application granted granted Critical
Publication of JP3956510B2 publication Critical patent/JP3956510B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To automatically detect respective data blocks of different length intermingled in a data stream. SOLUTION: Input data are fed to shift registers 10, 11 respectively corresponding to data lengths L, K where L>K and 2K>L hold. Based on a synchronization pattern in input data detected by a circuit 14, the synchronization pattern is detected in inputs and outputs of the shift registers 10, 11. A data length of signals from the circuits 10, 11 from which the synchronization pattern is detected is used for a SYNC block length. The detected SYNC information is stored in a RAM 17 from the head of the information when the length of the information is K and stored in the RAM 17 from a bit of the information by (L-K) bits from the least significant bit when the length is L. The information is fed to an inertia circuit 18 from the (2L-K)th bit from the head of the information stored in the RAM 17. When the length is K, the circuit 18 delays the information by (L-K) and outputs a resulting synchronization pulse. A delay line 19 outputs a SYNC block synchronously with the synchronization pulse.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、記録媒体から再
生された、互いに異なる少なくとも2つのデータ長のデ
ータブロックから同期パターンを検出する同期検出装置
および方法、ならびに、再生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a synchronization detecting apparatus and method for detecting a synchronization pattern from data blocks of at least two different data lengths reproduced from a recording medium, and a reproducing apparatus.

【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 generating a synchronization signal following the previously detected synchronization.
It is realized by an inertia circuit.

【0011】[0011]

【発明が解決しようとする課題】実際のディジタルビデ
オテープレコーダでは、ビデオとオーディオの2種類の
データを扱う。例えばビデオの編集単位当たりの、デー
タ量の異なる2種類のデータを1種類の長さのシンクブ
ロックに格納して扱うためには、どちらかのデータ長に
冗長な部分を挿入して長さを合わせることになる。
In an actual digital video tape recorder, two types of data, video and audio, are handled. For example, in order to store two types of data having different data amounts per video editing unit in one type of sync block and handle them, a redundant portion is inserted into either data length to reduce the length. Will be aligned.

【0012】例えば、欧州諸国などで採用されているP
AL/SECAM方式のフォーマットを考えると、周期
が50Hzの1フィールド内のオーディオデータのサン
プル数は、サンプリング周波数を48KHzとした場
合、910サンプルとなる(1サンプルは、24ビット
+制御ビット)。これをビデオのデータ数に合わせたブ
ロック長Lのシンクブロックに収めようとした場合、9
10サンプル×(24ビット+制御ビット)=L×n
・・・(1)となる。但し、nは、整数である。した
がって、オーディオデータのバイト数をLの整数倍にす
れば、無駄な記録エリアが無く、効率がよい。
For example, P used in European countries and the like
Considering the format of the AL / SECAM system, the number of samples of audio data in one field having a cycle of 50 Hz is 910 when the sampling frequency is 48 KHz (one sample is 24 bits + control bits). If this is to be accommodated in a sync block having a block length L corresponding to the number of video data, 9
10 samples × (24 bits + control bits) = L × n
... (1) Here, n is an integer. Therefore, if the number of bytes of the audio data is set to an integral multiple of L, there is no useless recording area and the efficiency is high.

【0013】一方、ビデオデータは、総データ量、処理
の単位である画像ブロックの最小単数、編集単位当たり
のトラック数などで、最適なシンクブロック長が決ま
る。つまり、シンクブロック長は、格納されるデータの
種類によって最適な値が異なることとなり、オーディオ
データとビデオデータの両者にとって最適なシンクブロ
ック長の組み合わせが無い場合には、どちらかのシンク
ブロックに対して冗長なデータを挿入しなければ同じ長
さにできないため、効率が悪くなってしまう。
On the other hand, the optimum sync block length of video data is determined by the total amount of data, the minimum singular image block as a unit of processing, the number of tracks per editing unit, and the like. In other words, the optimum value of the sync block length differs depending on the type of data to be stored, and if there is no optimum combination of the sync block lengths for both the audio data and the video data, the sync block length is determined for either of the sync blocks. Since the same length cannot be obtained unless redundant data is inserted, the efficiency is reduced.

【0014】そこで、オーディオデータとビデオデータ
を格納するシンクブロックの長さを、それぞれ最適なも
のを選択するような記録フォーマットとすれば、記録効
率を上げることができる。すなわち、1つの記録フォー
マット中に、長さの異なるシンクブロックが混在するこ
とになる。
Therefore, if the length of the sync block for storing the audio data and the video data is set to a recording format that selects the optimum length, the recording efficiency can be improved. That is, sync blocks having different lengths are mixed in one recording format.

【0015】上述したように、再生時には、シンク検出
回路によって同期パターンを検出し、シンクブロックを
切り出す必要がある。図24は、従来技術によるシンク
検出回路の構成の一例を示す。この回路は、データ長が
Lであるシンクブロックに対応している。端子300か
ら供給された入力データは、データ長Lに対応するディ
レイ301に供給されると共に、比較回路304の一方
の入力端に供給される。比較回路304の他方の入力端
には、入力データがディレイ301で遅延されたものが
供給される。
As described above, at the time of reproduction, it is necessary to detect a synchronization pattern by a sync detection circuit and cut out a sync block. FIG. 24 shows an example of the configuration of a sync detection circuit according to the related art. This circuit corresponds to a sync block whose data length is L. The input data supplied from the terminal 300 is supplied to the delay 301 corresponding to the data length L and to one input terminal of the comparison circuit 304. The other input terminal of the comparison circuit 304 is supplied with the input data delayed by the delay 301.

【0016】ディレイ301から出力されたデータ列
は、ディレイライン303を介して2L分遅延され、可
変シフタ305に供給される。
The data string output from the delay 301 is delayed by 2 L via the delay line 303 and supplied to the variable shifter 305.

【0017】また、入力データは、シンク比較回路30
2にも供給され、内部でラッチされる。そして、ラッチ
されている入力データに対して、各ビット位置で8ビッ
トからなる同期パターンとの比較を行う。比較結果とし
て、同期パターンの検出結果と、どのビット位置でパタ
ーンが一致したのかを示すビットシフト量が比較回路3
04に供給される。比較回路304では、この検出結果
に基づき一方および他方の入力端に供給されたデータ列
からシンクブロックを検出し、シンクブロックに格納さ
れたブロックID番号およびデータ内容のIDに基づ
き、上述したように、シンクブロックの妥当性を判断す
ると共に、シンクブロックの位相を特定する。
The input data is supplied to the sink comparison circuit 30.
2 and latched internally. Then, the latched input data is compared with a synchronization pattern consisting of 8 bits at each bit position. As a result of the comparison, the detection result of the synchronization pattern and the bit shift amount indicating at which bit position the pattern matches are used as the comparison circuit 3
04. The comparison circuit 304 detects a sync block from the data string supplied to one and the other input terminals based on the detection result, and based on the block ID number and the data content ID stored in the sync block, as described above. , Judge the validity of the sync block, and specify the phase of the sync block.

【0018】比較回路304で得られたシンクブロック
の位相情報に基づき、シンク位置補正回路306でシン
ク位置補正情報が生成される。このシンク位置補正情報
は、可変シフタ305およびイナーシャ回路307とに
供給される。イナーシャ回路307では、シンク位置補
正情報と、予め与えられたシンクブロック長Lとに基づ
き、シンクブロック長に対応した同期パルスが生成され
る。一方、ディレイライン303を介して可変シフタ3
05に供給されたデータ列は、シンク位置補正情報に基
づき所定量だけビットシフトされる。そして、イナーシ
ャ回路307から供給された同期パルスに基づき、出力
データとして出力端308に導出される。また、イナー
シャ回路307で生成された同期パルスは、端子309
にも導出される。
A sync position correction circuit 306 generates sync position correction information based on the sync block phase information obtained by the comparison circuit 304. This sync position correction information is supplied to the variable shifter 305 and the inertia circuit 307. In the inertia circuit 307, a synchronization pulse corresponding to the sync block length is generated based on the sync position correction information and the sync block length L given in advance. On the other hand, the variable shifter 3
The data sequence supplied to 05 is bit-shifted by a predetermined amount based on the sync position correction information. Then, based on the synchronization pulse supplied from the inertia circuit 307, it is output to the output terminal 308 as output data. The synchronization pulse generated by the inertia circuit 307 is supplied to the terminal 309
Is also derived.

【0019】このように、従来技術によるシンク検出回
路では、同期パターンを検出する回路を1組しか持た
ず、一連の入力データ中に異なる長さのデータブロック
がある場合には、対応できなかった。また、同期信号で
ある同期パルスを生成するイナーシャ回路307は、パ
ルス発生周期が固定的とされていて、複数のデータ長か
らなるデータ列には対応できなかったという問題点があ
った。
As described above, the sync detection circuit according to the prior art has only one set of circuits for detecting a synchronization pattern, and cannot cope with a case where data blocks of different lengths exist in a series of input data. . In addition, the inertia circuit 307 that generates a synchronization pulse, which is a synchronization signal, has a problem that the pulse generation cycle is fixed, and the inertia circuit 307 cannot cope with a data string having a plurality of data lengths.

【0020】1種類の同期パターン間隔しか扱えないシ
ンク検出回路で、複数のシンクブロック長を有するデー
タ列を処理する方法としては、入力されたデータ列に対
応して検出するシンクブロック長を切り替える制御信号
を用いることが考えられる。例えば、トラック上のオー
ディオおよびビデオセクタの位置に対して、再生ヘッド
の位置情報から切り替えタイミングを生成することが可
能である。
As a method of processing a data string having a plurality of sync block lengths by a sync detection circuit which can handle only one type of synchronization pattern interval, a control for switching a sync block length to be detected corresponding to an input data string is used. It is conceivable to use a signal. For example, it is possible to generate a switching timing for the position of the audio and video sectors on the track from the position information of the reproducing head.

【0021】しかしながら、この方法では、例えばデー
タレートが高く、再生ヘッド数が多く必要な再生システ
ムでは、再生ヘッドのそれぞれに対応する制御信号を生
成しなければならないという問題点があった。
However, this method has a problem that, for example, in a reproducing system requiring a high data rate and a large number of reproducing heads, it is necessary to generate a control signal corresponding to each reproducing head.

【0022】また、記録時と異なるテープ速度で再生を
行う、変速再生の際に回転ヘッドの回転数を制御するよ
うなシステムでは、切り替えタイミングが動的に変化す
ることになり、制御信号を生成するのがこんなであると
いう問題点があった。
Further, in a system in which reproduction is performed at a tape speed different from that at the time of recording and in which the number of rotations of a rotary head is controlled during variable speed reproduction, the switching timing dynamically changes, and a control signal is generated. There was a problem that it was like this.

【0023】さらに、図24の従来技術による構成のよ
うに、全体で処理が3L分遅延する回路において、この
ままの状態で制御信号を用いて、検出ブロック長をLか
ら、Lよりも短いKに瞬時に切り替えると、データを遅
延させている回路上の(3L−K)分の長さのデータが
消失してしまうという問題点があった。これは、全ディ
レイ上に3L分のデータが存在するのに、データ長Kの
タイミングでデータが出力されるように制御されてしま
うからである。
Further, as in the configuration according to the prior art shown in FIG. 24, in a circuit whose processing is delayed by 3L as a whole, the detection block length is changed from L to K shorter than L by using a control signal in this state. If the switching is performed instantaneously, there is a problem that data of (3L-K) length on the circuit that delays data is lost. This is because control is performed so that data is output at the timing of the data length K even though data of 3L exists on all delays.

【0024】したがって、この発明の目的は、データ列
中に混在する、異なる長さのデータブロックのそれぞれ
を自動的に検出できるようにした同期検出装置および方
法、ならびに、再生装置を提供することにある。
Accordingly, an object of the present invention is to provide a synchronization detecting apparatus and method, and a reproducing apparatus, which are capable of automatically detecting data blocks of different lengths mixed in a data string. is there.

【0025】[0025]

【課題を解決するための手段】この発明は、上述した課
題を解決するために、同期を検出するための同期パター
ンを有する互いに異なる少なくとも2つのデータ長のデ
ータブロックの同期を検出する同期検出装置において、
入力データに対して同期パターンの検出を行う同期パタ
ーン検出手段と、入力データを所定単位長毎に順に格納
すると共に、格納されているデータを所定単位長毎に古
い順から出力する、第1のデータ長Lに対応する長さの
第1のメモリ手段と、パターン検出手段の検出結果に基
づき、第1のメモリ手段に入力されるデータと第1のメ
モリ手段から出力されるデータとが共に同期パターンと
一致するかどうかを検出する第1の比較手段と、第1の
メモリ手段と同時に入力データが入力され、入力データ
を所定長単位毎に順に格納すると共に、格納されている
データを所定単位長毎に古い順から出力する、第1のデ
ータ長Lより短く、且つ、第1のデータ長Lと整数倍の
関係に無い第2のデータ長Kに対応する長さの第2のメ
モリ手段と、パターン検出手段の検出結果に基づき、第
2のメモリ手段に入力されるデータと第2のメモリ手段
から出力されるデータとが共に同期パターンと一致する
かどうかを検出する第2の比較手段とを有し、第1の比
較手段および第2の比較手段のうち何れか一方で同期パ
ターンの一致が検出されたら、同期検出がなされたとす
ることを特徴とする同期検出装置である。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention provides a synchronization detecting apparatus for detecting the synchronization of at least two different data lengths of a data block having a synchronization pattern for detecting synchronization. At
A first synchronization pattern detecting means for detecting a synchronization pattern for input data; a first storage unit for storing the input data in order of a predetermined unit length and outputting the stored data in an order of a predetermined unit length from the oldest order; Based on the detection result of the first memory means having a length corresponding to the data length L, and the pattern detection means, the data input to the first memory means and the data output from the first memory means are both synchronized. First comparison means for detecting whether or not the pattern matches a pattern, input data is input simultaneously with the first memory means, and the input data is sequentially stored in predetermined length units, and the stored data is stored in predetermined units. A second memory means which is shorter than the first data length L and has a length corresponding to the second data length K which is not an integral multiple of the first data length L, which is output from the oldest one for each length And puta A second comparing means for detecting whether or not the data input to the second memory means and the data output from the second memory means coincide with the synchronization pattern based on the detection result of the second detecting means; A synchronization detection device that, when the synchronization pattern is detected by one of the first comparison unit and the second comparison unit, the synchronization detection is performed.

【0026】また、この発明は、記録媒体に記録され
た、同期を検出するための同期パターンを有する互いに
異なる少なくとも2つのデータ長のデータブロックを再
生する再生装置において、記録媒体から再生された再生
データに対して同期パターンの検出を行う同期パターン
検出手段と、再生データを所定単位長毎に順に格納する
と共に、格納されているデータを所定単位長毎に古い順
から出力する、第1のデータ長Lに対応する長さの第1
のメモリ手段と、パターン検出手段の検出結果に基づ
き、第1のメモリ手段に入力されるデータと第1のメモ
リ手段から出力されるデータとが共に同期パターンと一
致するかどうかを検出する第1の比較手段と、第1のメ
モリ手段と同時に再生データが入力され、再生データを
所定長単位毎に順に格納すると共に、格納されているデ
ータを所定単位長毎に古い順から出力する、第1のデー
タ長Lより短く、且つ、第1のデータ長Lと整数倍の関
係に無い第2のデータ長Kに対応する長さの第2のメモ
リ手段と、パターン検出手段の検出結果に基づき、第2
のメモリ手段に入力されるデータと第2のメモリ手段か
ら出力されるデータとが共に同期パターンと一致するか
どうかを検出する第2の比較手段と、第1の比較手段お
よび第2の比較手段のうち何れか一方で同期パターンの
一致が検出されたら、同期検出がなされたとし、再生デ
ータを、第1の比較手段および第2の比較手段のうち同
期パターンの一致が検出された方に対応するデータ長か
らなるデータブロック単位で出力する出力手段とを有す
ることを特徴とする再生装置である。
According to the present invention, there is provided a reproducing apparatus for reproducing data blocks of at least two different data lengths having a synchronization pattern for detecting synchronization recorded on a recording medium. A synchronization pattern detecting means for detecting a synchronization pattern with respect to the data, and a first data for storing the reproduced data in order of a predetermined unit length and outputting the stored data in an order of oldness for the predetermined unit length. First of length corresponding to length L
And a first means for detecting whether both the data inputted to the first memory means and the data outputted from the first memory means coincide with the synchronization pattern based on the detection result of the pattern detecting means. The reproduction data is input simultaneously with the comparison means and the first memory means, and the reproduction data is sequentially stored in units of a predetermined length, and the stored data is output from the oldest unit in the predetermined unit length. And a second memory unit having a length corresponding to a second data length K that is shorter than the data length L of the first data length L and is not an integral multiple of the first data length L, and a detection result of the pattern detection unit. Second
Comparing means for detecting whether both the data inputted to the memory means and the data outputted from the second memory means coincide with the synchronization pattern, the first comparing means and the second comparing means If a synchronization pattern match is detected in one of the first and second comparison means, it is determined that synchronization has been detected. And output means for outputting in data block units each having a data length.

【0027】また、この発明は、同期を検出するための
同期パターンを有する互いに異なる少なくとも2つのデ
ータ長のデータブロックの同期を検出する同期検出方法
において、第1のデータ長Lに対応する長さの第1のメ
モリに対して、入力データを所定単位長毎に順に格納す
ると共に、第1のメモリから格納されているデータを所
定単位長毎に古い順から出力するステップと、第1のデ
ータ長Lより短く、且つ、第1のデータ長Lと整数倍の
関係に無い第2のデータ長Kに対応する長さの第2のメ
モリに対して、第1のメモリと同時に入力データが入力
され、入力データを所定長単位毎に順に格納すると共
に、第2のメモリに格納されているデータを所定単位長
毎に古い順から出力するステップと、入力データに対し
て同期パターンの検出を行う同期パターン検出のステッ
プと、パターン検出のステップによる検出結果に基づ
き、第1のメモリに入力されるデータと第1のメモリか
ら出力されるデータとが共に同期パターンと一致するか
どうかを検出する第1の比較のステップと、パターン検
出のステップの検出結果に基づき、第2のメモリに入力
されるデータと第2のメモリから出力されるデータとが
共に同期パターンと一致するかどうかを検出する第2の
比較のステップとを有し、第1の比較のステップおよび
第2の比較のステップのうち何れか一方で同期パターン
の一致が検出されたら、同期検出がなされたとすること
を特徴とする同期検出方法である。
According to the present invention, there is provided a synchronization detecting method for detecting synchronization of data blocks having at least two different data lengths having a synchronization pattern for detecting synchronization, the length corresponding to the first data length L Storing the input data in units of a predetermined unit length in order in the first memory, and outputting the data stored in the first memory in units of the predetermined unit length in chronological order; Input data is input simultaneously with the first memory to the second memory having a length shorter than the length L and corresponding to the second data length K which is not an integral multiple of the first data length L. Storing the input data in units of a predetermined length, outputting the data stored in the second memory in units of a predetermined length in chronological order, and detecting a synchronization pattern with respect to the input data. Detecting whether the data input to the first memory and the data output from the first memory coincide with the synchronization pattern based on the detection result of the synchronization pattern detection step and the pattern detection step. Detecting whether the data input to the second memory and the data output from the second memory coincide with the synchronization pattern based on the detection results of the first comparison step and the pattern detection step. A second comparison step of performing synchronization detection if a synchronization pattern match is detected in one of the first comparison step and the second comparison step. This is a synchronization detection method.

【0028】上述したように、この発明は、第1および
第2のデータ長L、Kにそれぞれ対応する長さの、第1
および第2のメモリ手段に対してデータが入力され、こ
れら第1および第2のメモリ手段それぞれについて、入
力データと出力データとが比較され、第1および第2の
メモリ手段の何れかにおいて、入出力の双方に同期パタ
ーンが検出されたときに同期検出がなされたとされてい
るため、互いに異なる少なくとも2つのデータ長に対し
て、自動的に同期検出を行うことができる。
As described above, according to the present invention, the first and second data lengths L and K corresponding to the first and second data lengths L and K, respectively, are used.
Data is input to the first and second memory means, and the input data and the output data are compared in each of the first and second memory means. Since it is determined that the synchronization has been detected when the synchronization pattern is detected in both outputs, the synchronization can be automatically detected for at least two different data lengths.

【0029】[0029]

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

【0030】また、この一実施形態では、ビデオ信号信
号はMPEG2方式に基づき圧縮符号化され、オーディ
オ信号は非圧縮で扱われる。周知のように、MPEG2
は、動き補償予測符号化と、DCTによる圧縮符号化と
を組み合わせたものである。MPEG2のデータ構造
は、階層構造をなしており、下位から、ブロック層、マ
クロブロック層、スライス層、ピクチャ層、GOP層お
よびシーケンス層となっている。
In this embodiment, a video signal signal is compression-encoded based on the MPEG2 system, and an audio signal is handled uncompressed. As is well known, MPEG2
Is a combination of motion-compensated 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.

【0031】ブロック層は、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.

【0032】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.

【0033】従って、マクロブロックタイプとしては、
フレーム内符号化(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.

【0034】GOPには、最低1枚のIピクチャが含ま
れ、PおよびBピクチャは、存在しなくても許容され
る。最上層のシーケンス層は、ヘッダ部と複数のGOP
とから構成される。
A GOP includes 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

【0035】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.

【0036】また、シーケンス層、GOP層、ピクチャ
層、スライス層およびマクロブロック層の先頭には、そ
れぞれ、バイト単位に整列された所定のビットパターン
を有する識別コード(スタートコードと称される)が配
される。なお、上述した各層のヘッダ部は、ヘッダ、拡
張データまたはユーザデータをまとめて記述したもので
ある。シーケンス層のヘッダには、画像(ピクチャ)の
サイズ(縦横の画素数)等が記述される。GOP層のヘ
ッダには、タイムコードおよびGOPを構成するピクチ
ャ数等が記述される。
At the head of each 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 arranged 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.

【0037】スライス層に含まれるマクロブロックは、
複数の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.

【0038】マクロブロックは、画面(ピクチャ)を1
6画素×16ラインの格子状に分割したものである。ス
ライスは、例えばこのマクロブロックを水平方向に連結
してなる。連続するスライスの前のスライスの最後のマ
クロブロックと、次のスライスの先頭のマクロブロック
とは連続しており、スライス間でのマクロブロックのオ
ーバーラップを形成することは、許されていない。ま
た、画面のサイズが決まると、1画面当たりのマクロブ
ロック数は、一意に決まる。
The macro block is composed of one screen (picture).
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.

【0039】一方、復号および符号化による信号の劣化
を避けるためには、符号化データ上で編集することが望
ましい。このとき、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.

【0040】また、例えば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.

【0041】図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.

【0042】一方、入力端子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.

【0043】セレクタ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.

【0044】エレメンタリストリームのビデオデータ
は、可変長符号化されているため、各マクロブロックの
データの長さが不揃いである。パッキングおよびシャフ
リング部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.

【0045】パッキングおよびシャフリング部107か
らのビデオデータおよびシステムデータ(以下、特に必
要な場合を除き、システムデータを含む場合も単にビデ
オデータと言う。)が外符号エンコーダ109に供給さ
れる。ビデオデータおよびオーディオデータに対するエ
ラー訂正符号としては、積符号が使用される。積符号
は、ビデオデータまたはオーディオデータの2次元配列
の縦方向に外符号の符号化を行い、その横方向に内符号
の符号化を行い、データシンボルを2重に符号化するも
のである。外符号および内符号としては、リードソロモ
ンコード(Reed-Solomon code) を使用できる。
The video data and system data from the packing and shuffling section 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.

【0046】外符号エンコーダ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.

【0047】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.

【0048】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.

【0049】シャフリング部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.

【0050】記録データに対して必要に応じてスクラン
ブル処理を行っても良い。また、記録時にディジタル変
調を行っても良く、さらに、パーシャル・レスポンスク
ラス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.

【0051】図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 unit 132 via the reproduction amplifier 131. Equalization and waveform shaping are performed on the reproduced signal. 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.

【0052】同期検出回路132の出力が内符号エンコ
ーダ133に供給され、内符号のエラー訂正がなされ
る。内符号エンコーダ133の出力がID補間部134
に供給され、内符号によりエラーとされたシンクブロッ
クのID例えばシンクブロック番号が補間される。ID
補間部134の出力が分離部135に供給され、ビデオ
データとオーディオデータとが分離される。上述したよ
うに、ビデオデータは、MPEGのイントラ符号化で発
生したDCT係数データおよびシステムデータを意味
し、オーディオデータは、PCM(Pulse Code Modulati
on) データおよびAUXを意味する。
The output of the synchronization detecting circuit 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 134
And the ID of the sync block in which the error occurred due to the inner code, for example, the sync block number is interpolated. ID
The output of the 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.

【0053】分離部135からのビデオデータがデシャ
フリング部136において、シャフリングと逆の処理が
なされる。デシャフリング部136は、記録側のシャフ
リング部110でなされたシンクブロック単位のシャフ
リングを元に戻す処理を行う。デシャフリング部136
の出力が外符号デコーダ137に供給され、外符号によ
るエラー訂正がなされる。訂正できないエラーが発生し
た場合には、エラーの有無を示すエラーフラグがエラー
有りを示すものとされる。
The video data from the separation unit 135 is subjected to a process reverse to 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.

【0054】外符号デコーダ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.

【0055】デシャフリングおよびデパッキング部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.

【0056】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 position onward, the macro block , DCT coefficients from DC and low-frequency components can be distributed evenly to each of the DCT blocks constituting.

【0057】補間部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.

【0058】また、ストリームコンバータ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.

【0059】ストリームコンバータ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.

【0060】分離部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.

【0061】外符号デコーダ152の出力がAUX分離
部153に供給され、オーディオAUXが分離される。
分離されたオーディオAUXが出力端子154に取り出
される。また、オーディオデータが補間部155に供給
される。補間部155では、エラーの有るサンプルが補
間される。補間方法としては、時間的に前後の正しいデ
ータの平均値で補間する平均値補間、前の正しいサンプ
ルの値をホールドする前値ホールド等を使用できる。補
間部155の出力が出力部156に供給される。出力部
156は、エラーであり、補間できないオーディオ信号
の出力を禁止するミュート処理、並びにビデオ信号との
時間合わせのための遅延量調整処理がなされる。出力部
156から出力端子157に再生オーディオ信号が取り
出される。
The output of the outer code decoder 152 is supplied to an 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.

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

【0063】この一実施形態では、磁気テープへの信号
の記録は、回転する回転ヘッド上に設けられた磁気ヘッ
ドにより、斜めのトラックを形成する、ヘリカルスキャ
ン方式によって行われる。磁気ヘッドは、回転ドラム上
の、互いに対向する位置に、それぞれ複数個が設けられ
る。すなわち、磁気テープが回転ヘッドに180°程度
の巻き付け角で以て巻き付けられている場合、回転ヘッ
ドの180°の回転により、同時に複数本のトラックを
形成することができる。また、磁気ヘッドは、互いにア
ジマスの異なる2個で一組とされる。複数個の磁気ヘッ
ドは、隣接するトラックのアジマスが互いに異なるよう
に配置される。
In this embodiment, signal recording on a magnetic tape is performed by a helical scan method in which a diagonal 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.

【0064】図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.

【0065】互いに異なるアジマスの2トラックによっ
て1セグメントが構成される。すなわち、8トラック
は、4セグメントからなる。セグメントを構成する1組
のトラックに対して、アジマスと対応するトラック番号
One segment is composed of 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.

【0066】トラックのそれぞれにおいて、両端側にビ
デオデータが記録されるビデオセクタが配され、ビデオ
セクタに挟まれて、オーディオデータが記録されるオー
ディオセクタが配される。なお、この図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.

【0067】図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.

【0068】図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.

【0069】また、ビデオデータは、この例では、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.

【0070】なお、図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).

【0071】図3は、1フレーム当たりのデータを8ト
ラックで記録する例であるが、記録再生するデータのフ
ォーマットによっては、1フレーム当たりのデータを4
トラック、6トラックなどでの記録することができる。
図4Aは、1フレームが6トラックのフォーマットであ
る。この例では、トラックシーケンスが
FIG. 3 shows an example in which data per frame is recorded on eight 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.

【0072】図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).

【0073】図5は、記録/再生の最小単位である、ビ
デオデータのシンクブロックのデータ構成をより具体的
に示す。この一実施形態においては、記録するビデオデ
ータのフォーマットに適応して1シンクブロックに対し
て1個乃至は2個のマクロブロックのデータ(VLCデ
ータ)が格納されると共に、1シンクブロックのサイズ
が扱うビデオ信号のフォーマットに応じて長さが変更さ
れる。図5Aに示されるように、1シンクブロックは、
先頭から、2バイトのSYNCパターン、2バイトのI
D、1バイトのDID、例えば112バイト〜206バ
イトの間で可変に規定されるデータ領域および12バイ
トのパリティ(内符号パリティ)からなる。なお、デー
タ領域は、ペイロードとも称される。
FIG. 5 more specifically shows the data structure of a sync block of video data, which is the minimum unit of recording / reproduction. 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.

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

【0075】図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.

【0076】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.

【0077】図6Bは、ビデオの場合のDIDのビット
アサインの一例を示す。DIDは、ペイロードに関する
情報が格納される。上述したID1のビット0の値に基
づき、ビデオおよびオーディオで、DIDの内容が異な
る。ビット7〜ビット4は、未定義(Reserve
d)とされている。ビット3および2は、ペイロードの
モードであり、例えばペイロードのタイプが示される。
ビット3および2は、補助的なものである。ビット1で
ペイロードに1個あるいは2個のマクロブロックが格納
されることが示される。ビット0でペイロードに格納さ
れるビデオデータが外符号パリティであるかどうかが示
される。
FIG. 6B shows an example of DID bit assignment 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.

【0078】図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.

【0079】図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.

【0080】図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.

【0081】図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.

【0082】この一実施形態においては、各シンクブロ
ックのデータの格納領域であるペイロードの長さは、ビ
デオシンクブロックとオーディオシンクブロックとでそ
れぞれ最適に設定されているため、互いに等しい長さで
はない。また、ビデオデータを記録するシンクブロック
の長さと、オーディオデータを記録するシンクブロック
の長さとを、信号フォーマットに応じてそれぞれ最適な
長さに設定される。これにより、複数の異なる信号フォ
ーマットを統一的に扱うことができる。
In this embodiment, the length of the payload, which is the data storage area of each sync block, is set optimally for the video sync block and the audio sync block, and is therefore not equal to each other. . 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.

【0083】図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.

【0084】このDCT係数がMPEGエンコーダのV
LC部によって可変長符号化される。すなわち、最初の
係数は、DC成分として固定的であり、次の成分(AC
成分)からは、ゼロのランとそれに続くレベルに対応し
てコードが割り当てられる。従って、AC成分の係数デ
ータに対する可変長符号化出力は、周波数成分の低い
(低次の)係数から高い(高次の)係数へと、AC1
AC2 ,AC3 ,・・・と並べられたものである。可変
長符号化されたDCT係数をエレメンタリストリームが
含んでいる。
This DCT coefficient is equal to 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.

【0085】ストリームコンバータ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.

【0086】図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 ).

【0087】上述したように、ビデオエンコーダ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.

【0088】すなわち、マクロブロック内で、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.

【0089】ストリームコンバータ106では、可変長
符号化され並べられたDCT係数を、一旦可変長符号を
解読して各係数の区切りを検出し、マクロブロックを構
成する各DCTブロックに跨がって周波数成分毎にまと
める。この様子を、図8Bに示す。最初にマクロブロッ
ク内の8個のDCTブロックのDC成分をまとめ、次に
8個のDCTブロックの最も周波数成分が低いAC係数
成分をまとめ、以下、順に同一次数のAC係数をまとめ
るように、8個のDCTブロックに跨がって係数データ
を並び替える。
The stream converter 106 decodes the variable-length coded and arranged DCT coefficients once by decoding the variable-length code to detect a break of each coefficient, and extends the frequency 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.

【0090】並び替えられた係数データは、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.

【0091】ストリームコンバータ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.

【0092】図9は、パッキングおよびシャフリング部
107でのマクロブロックのパッキング処理を概略的に
示す。マクロブロックは、所定のデータ長を持つ固定枠
に当てはめられ、パッキングされる。このとき用いられ
る固定枠のデータ長を、記録および再生の際のデータの
最小単位であるシンクブロック長と一致させている。こ
れは、シャフリングおよびエラー訂正符号化の処理を簡
単に行うためである。図9では、簡単のため、1フレー
ムに8マクロブロックが含まれるものと仮定する。
FIG. 9 schematically shows the processing of packing macroblocks 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.

【0093】可変長符号化によって、図9Aに一例が示
されるように、8マクロブロックの長さは、互いに異な
る。この例では、固定枠である1シンクブロックの長さ
と比較して、マクロブロック#1のデータ,#3のデー
タおよび#6のデータがそれぞれ長く、マクロブロック
#2のデータ,#5のデータ,#7のデータおよび#8
のデータがそれぞれ短い。また、マクロブロック#4の
データは、1シンクブロックと略等しい長さである。
As shown in an example in FIG. 9A, the lengths of 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.

【0094】パッキング処理によって、マクロブロック
が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.

【0095】図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.

【0096】各マクロブロックの長さは、ストリームコ
ンバータ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.

【0097】図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.

【0098】すなわち、VLCデータの配列の垂直方向
に整列する所定数のシンボル(バイト)から10バイト
の外符号のパリティが生成され、その水平方向に整列す
る、ID、DIDおよびVLCデータ(または外符号の
パリティ)の所定数のシンボル(バイト)から内符号の
パリティが生成される。図10Aの例では、10個の外
符号パリティのシンボルと、12個の内符号のパリティ
のシンボルとが付加される。具体的なエラー訂正符号と
しては、リードソロモン符号が使用される。また、図1
0Aにおいて、1SYNCブロック内のVLCデータの
長さが異なるのは、59.94Hz、25Hz、23.
976Hzのように、ビデオデータのフレーム周波数が
異なるのと対応するためである。
That is, a 10-byte outer code parity 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.

【0099】図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.

【0100】次に、図2を用いて上述した、同期検出回
路132について、さらに詳細に説明する。図11は、
この発明による同期検出回路132の構成の一例を示
す。この同期検出回路132は、互いにデータ長の異な
るシンクブロックを、自動的に検出できるようにされて
おり、この発明の主旨をなすものである。
Next, the synchronization detection 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 detecting circuit 132 is adapted to automatically detect sync blocks having different data lengths, and forms the gist of the present invention.

【0101】なお、以下では、この同期検出回路132
では、〔L>K〕および〔2K>L〕であるような、2
種類の異なるデータ長LおよびKを有するシンクブロッ
クの検出を行うものとする。データ長LおよびKは、所
定周波数のクロックのLおよびKクロック分に相当す
る。
In the following, this 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.

【0102】ビットシリアルである入力データが端子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.

【0103】シフトレジスタL10およびシフトレジス
タK11は、それぞれデータ長LおよびKに対応するビ
ット長を有する。シフトレジスタL10の出力は、2L
分の遅延を有するディレイライン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 2L
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.

【0104】比較(L)回路12での検出結果およびシ
フト量が信号CLとしてシンク検出回路15に供給され
る。同様に、比較(K)回路13での検出結果およびシ
フト量が信号CKとしてシンク検出回路15に供給され
る。シンク検出回路15では、信号CLあるいは信号C
Kに基づき、シンク情報の検出ならびホールドがなされ
る。ホールドされたシンク情報は、位相制御回路16で
位相制御され、シンクRAM17に書き込まれる。シン
クRAM17における、先頭から(2L−K)の長さに
相当する位置からシンク情報が読み出され、イナーシャ
回路18に供給される。
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 phase-controlled by the phase control circuit 16 and written to the sync RAM 17. The sync information is read from a position corresponding to the length (2L−K) from the top in the sync RAM 17 and supplied to the inertia circuit 18.

【0105】一方、出力制御回路20には、シンクRA
M17から、(3L−K)だけ遅延されたシンク情報が
供給されると共に、イナーシャ回路18で生成された同
期パルスが供給される。供給されたこれらのシンク情報
および同期パルスに基づき、ディレイライン19に格納
された入力データが読み出され、シンクブロックとして
出力端21に導出される。また、イナーシャ回路18で
生成された同期パルスは、出力端22にも導出される。
On the other hand, the output control circuit 20
From M17, the sync information delayed by (3L-K) 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.

【0106】次に、上述した同期検出回路132での処
理について、さらに詳細に説明する。上述したように、
シンクブロックは、先頭の2バイトに同期パターンが配
され、3バイト目にID番号(ID0)、4バイト目に
付加情報(ID1)が配される。付加情報には、このシ
ンクブロックに格納されているデータの種別が記され
る。
Next, the processing in the synchronization detecting 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.

【0107】シンクブロックは、実際には、記録媒体か
ら再生されたシリアルデータを単純に、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.

【0108】入力データと元のデータとのビットシフト
量は、同期パターンの検出時に、そのデータをどれだけ
シフトすれば固有の同期パターンになるかによって判断
される。ここでは、入力したデータ列のビットシフト量
が0で、元のデータと一致しているとして説明する。こ
の例では、入力データと、入力に対してLおよびKクロ
ック分遅延されたデータを参照する。そして、それらの
データを、ビットシフトした値が固有の同期パターンと
一致するかどうか、ID番号の連続性およびID情報の
同一性を検証し、全てが適正であった場合に、同期パタ
ーンが検出されたと判断している。
The bit shift amount between the input data and the original data is determined based on 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.

【0109】図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.

【0110】入力端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”.

【0111】比較(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 a configuration as shown in FIG. 15, for example. 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.

【0112】なお、入力データは、予めシンク比較回路
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 in advance 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.

【0113】このような処理を行うことによって、デー
タ長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 synchronizes 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.

【0114】一方、シフトレジスタ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.

【0115】同様に、データ長が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.

【0116】このように、図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.

【0117】次に、入力したデータを出力する際の、シ
ンクブロックの先頭の位置を示す同期パルスを生成する
方法について説明する。本来、この同期検出回路132
で扱われるデータは、図13Aで示したように、シンク
ブロックが連続的に入力されるものである。しかしなが
ら、記録ならびに伝送系の過程で生じたエラーなどのた
め、データの一部若しくは連続したある区間だけ消失し
ている可能性がある。シンクブロックのデータ部分、す
なわちデータパケットは、エラー訂正符号を構成してい
るので、このように同期パターンを含むデータの一部が
欠落しても、エラー訂正ができる可能性がある。しか
し、エラー訂正処理を実行させるためには、エラー訂正
符号の先頭、つまりシンクブロックの先頭の位置が正し
く検出されていることが必要である。
Next, a method for 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.

【0118】そこで、同一セクタ内では、同じ長さのシ
ンクブロックが連続して記録されていることを考える
と、一度、特定のデータ長で同期パターンを検出したな
らば、その時点でのデータ長の間隔でシンクブロックが
並んでいる可能性が高いと考えられる。したがって、同
期パターンを検出できなくても、次に同期パターンを検
出するまで、前回検出された同期パルスを出力し続ける
ことにより、この同期パルスに基づきデータを再生する
ことができる可能性がある。例えば、図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.

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

【0120】図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.

【0121】スタートパルスは、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 also 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.

【0122】端子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.

【0123】カウンタ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.

【0124】カウンタ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.

【0125】図18は、データ長がLである場合の、イ
ナーシャ回路18での動作タイミングの一例を示す。カ
ウンタ59では、図18Aのクロックに基づきカウント
ダウンが行われる。例えば、タイミングAでスタートパ
ルスと識別信号L/Kとが入力される(図18Bおよび
図18C)。すると、次のクロックで、ロードデータ端
子からデータ長Lに対応した初期値が入力され、初期値
からのカウントダウンがなされる(図18D)。そし
て、カウント値が
FIG. 18 shows an example of operation timing in 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.

【0126】また、タイミング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.

【0127】このように、スタートパルスが入力されて
から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.

【0128】次に、同期パターンの検出結果をイナーシ
ャ回路18に伝達する方法について、図19〜図21を
用いて説明する。先ず、図20を用いて、データ長がL
の場合について説明する。図19は、タイミングAが最
も新しい時間に入力された同期パターンを示し、入力端
子1に対して同期パターンがD、C、BおよびAの順番
で入力されることが示される。なお、A、B、Cおよび
Dそれぞれのタイミングで入力された同期パターンに対
応したシンクブロックを、それぞれシンクブロックA、
B、CおよびDと称する。
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, referring to FIG.
The case will be described. FIG. 19 shows the synchronization pattern input at the latest timing A, and shows that the synchronization pattern is input to the input terminal 1 in the order of D, C, B, and A. The sync blocks corresponding to the synchronization patterns input at the respective timings of A, B, C, and D are respectively referred to as sync blocks A,
Called B, C and D.

【0129】図19のAおよびBのタイミングで同期パ
ターンが検出された場合、シフトレジスタL10および
ディレイライン19には、それぞれ図20に示されるよ
うに、各データが格納される。すなわち、シンクブロッ
クCがディレイライン19中のディレイ19Bに格納さ
れ、シンクブロックBがディレイ19Aに格納される。
一方、シンクブロックAは、シフトレジスタL10に格
納されている。
When a synchronous pattern is detected at the timings A and B in FIG. 19, each data is stored in the shift register L10 and the delay line 19 as shown in FIG. 20, respectively. That is, the sync block C is stored in the delay 19B in the delay line 19, and the sync block B is stored in the delay 19A.
On the other hand, the sync block A is stored in the shift register L10.

【0130】シンクブロックBに対してイナーシャ回路
18をスタートさせなければいけない。このシンクブロ
ックBの先頭に相当するシンクRAM17上の格納位置
は、シンクRAM17の先頭から(L−K)分進んだ位
置、すなわち、(シンクRAM17の最終出力位置から
2L遡った位置である。このシンクRAM17には、各
シンクブロックの対応する位置に、そのシンクブロック
の、同期パターンの検出情報、シンクブロック長および
ビットシフト量が格納される。最終出力位置からLクロ
ック前の格納位置から、イナーシャ回路18に対して同
期パターンの検出情報が出力される。同期パターン検出
情報は、例えば識別信号L/Kである。
The inertia circuit 18 must be started for the sync block B. The storage position on the sync RAM 17 corresponding to the head of the sync block B is a position advanced by (LK) from the head of the sync RAM 17, that is, (a position that is 2 L ahead of the final output position of the sync RAM 17. In the sync RAM 17, the sync pattern detection information, the sync block length, and the bit shift amount of the sync block are stored at the position corresponding to each sync block, and the inertia is calculated from the storage position L clocks before the final output position. Synchronization pattern detection information is output to the circuit 18. The synchronization pattern detection information is, for example, an identification signal L / K.

【0131】図21は、データ長がKの場合の例であ
る。この場合も、上述のデータ長がLの場合と動作は同
様にしてなされる。このデータ長がKの場合には、シン
クブロックBに対して、同期パターン検出情報をシンク
RAM17の先頭、すなわち、最終出力位置から(3L
−K)だけ遡った位置である。したがって、ディレイラ
イン19中のシンクブロックBのタイミングと、シンク
RAM17中の対応するデータのタイミングとは、同タ
イミングとされる。
FIG. 21 shows an example in which the data length is K. Also in this case, the operation is performed in the same manner as when the data length is L. When the data length is K, the sync pattern detection information for the sync block B is read from the top of the sync RAM 17, that is, from the last output position by (3L).
−K). Therefore, the timing of the sync block B in the delay line 19 and the timing of the corresponding data in the sync RAM 17 are the same.

【0132】ここで、シンクRAM17からのイナーシ
ャ回路18へのデータの出力位置は、シンクブロック長
がLかKかに関わらず、シンクRAM17の最終出力位
置からLクロック前の位置で読み出している。一方、シ
ンクブロック長がKの場合には、イナーシャ回路18で
もKクロック周期の同期パルスを出力するため、このま
までは、同期パルスの出力と、ディレイライン19中の
シンクブロックデータとの出力位相が(L−K)クロッ
ク分、ずれてしまうことになる。
Here, the data output position from the sync RAM 17 to the inertia circuit 18 is read at a position L clocks before the final output position of the sync RAM 17 regardless of whether the sync block length is L or K. On the other hand, when the sync block length is K, the inertia circuit 18 also outputs a sync pulse with a K clock cycle. In this state, the output phase of the sync pulse and the output phase of the sync block data in the delay line 19 become ( LK) clocks.

【0133】そこで、イナーシャ回路18中の、L/K
カウンタ52が用いられる(図17)。L/Kカウンタ
52は、データ長のLとKの差分だけをカウントするカ
ウンタである。L/Kカウンタ52は、端子50からイ
ネーブル端子ENに供給された識別信号L/Kに基づ
き、シンクブロック長がKであるときだけ、カウント動
作を行う。図示されないシステムコントローラにより、
データ長LおよびKが初期値として供給される。L/K
カウンタ52は、端子51から入力されスタート端子S
Tに供給される、スタートパルスによって起動される。
起動されると、(L−K)からカウントダウンが開始さ
れ、カウント値が
Therefore, L / K in the inertia circuit 18
A counter 52 is used (FIG. 17). The L / K counter 52 is a counter that counts only the difference between the data lengths L and K. The L / K counter 52 performs a count operation based on the identification signal L / K supplied from the terminal 50 to the enable terminal EN only when the sync block length is K. By a system controller not shown,
Data lengths L and K are supplied as initial values. L / K
The counter 52 receives a signal from the terminal 51 and receives a start signal S
Triggered by a start pulse supplied to T.
When activated, the countdown starts from (LK) and the count value becomes

〔0〕になると、1クロック分のパル
スが出力される。
When it becomes [0], a pulse for one clock is output.

【0134】スイッチ回路54は、シンクRAM17の
イナーシャ回路18への出力がシンクブロック長Kであ
るときに、L/Kカウンタ52の出力を選択するように
切り替えられる。出力されたパルスは、スイッチ回路5
4およびOR回路58を介して、カウンタ59のロード
端子に供給される。これにより、カウンタ59では、ロ
ードデータ端子から初期値が読み込まれ、カウントダウ
ンが再開される。このように、L/Kカウンタ52でカ
ウンタ59での再カウントを遅延させることにより、イ
ナーシャ回路18の同期パルス出力と、ディレイライン
19およびシンクRAM17の出力のタイミングが合う
ように調整される。
The switch circuit 54 is switched so as to select the output of the L / K counter 52 when the output of the sink RAM 17 to the inertia circuit 18 is the sync block length K. The output pulse is supplied to the switch circuit 5
4 and to the load terminal of the counter 59 via the OR circuit 58. Thus, the counter 59 reads the initial value from the load data terminal, and restarts the countdown. As described above, by delaying the re-counting by the counter 59 by the L / K counter 52, the synchronization pulse output of the inertia circuit 18 and the output timing of the delay line 19 and the sync RAM 17 are adjusted so as to match.

【0135】シンクRAM17への書き込みは、位相制
御回路16によって制御される。比較(L)回路12あ
るいは比較(K)回路13からシンク検出回路15に対
して、同期パターンの検出結果が供給され検出報告がな
されると、シンク検出回路15では、その報告に基づ
き、同期パターンの検出タイミング、すなわち、比較
(L)回路12および比較(K)回路13の何方から検
出報告があったかの情報を、位相制御回路16に供給す
る。
The writing to the sink RAM 17 is controlled by the phase control circuit 16. When the detection result of the synchronization pattern is supplied from the comparison (L) circuit 12 or the comparison (K) circuit 13 to the sync detection circuit 15 and a detection report is issued, the sync detection circuit 15 performs the synchronization To the phase control circuit 16, that is, information on which of the comparison (L) circuit 12 and the comparison (K) circuit 13 has received the detection report.

【0136】位相制御回路16では、この情報に基づ
き、シンクRAM17への書き込みアドレスを求めると
共に、シンクRAM17に対して書き込むデータを作成
する。シンクRAM17へは、上述したように、シンク
検出フラグブロック長情報(L/K)およびビットシフ
ト量が書き込まれる。それらが位相制御回路16で作成
される。また、シンクRAM17に対する書き込みアド
レスは、図20および図21を用いて説明したように、
イナーシャ回路18による処理を開始させるシンクブロ
ックBが、データ長がKの場合にはシンクRAM17の
先頭から書き込まれ、データ長がLの場合には、シンク
RAM17の先頭から(L−K)クロック分遅延された
位置から書き込まれる。
The phase control circuit 16 obtains a write address to the sink RAM 17 based on this information and creates data to be written to the sink RAM 17. As described above, the sync detection flag block length information (L / K) and the bit shift amount are written to the sync RAM 17. They are created by the phase control circuit 16. The write address for the sink RAM 17 is, as described with reference to FIGS.
When the data length is K, the sync block B for starting the process by the inertia circuit 18 is written from the top of the sync RAM 17, and when the data length is L, the data is (LK) clocks from the top of the sync RAM 17. Written from the delayed position.

【0137】なお、データ列の記録媒体への記録時に、
予め、データ長とシンクブロックを識別するための識別
情報を、シンクブロックのデータ中に格納しておくこと
ができる。こうすることで、再生時に、検出したデータ
長と、シンクブロック種別の妥当性をのチェックを行
い、後段のアプリケーションソフトウェアで誤った処理
を行うことを防ぐことができる。
Note that when recording a data string on a recording medium,
The data length and the identification information for identifying the sync block can be stored in advance in the data of the sync block. By doing so, it is possible to check the validity of the detected data length and the sync block type at the time of reproduction, and prevent erroneous processing by application software at the subsequent stage.

【0138】この適用例としては、ビデオデータとオー
ディオデータのシンクブロック長を予め決めておき、I
D情報(ID1)の中の、オーディオ/ビデオを示すフ
ラグと、検出されたシンクブロックのデータ長との関係
が一致したときのみ、正しい同期パターンが検出された
と見做すという処理が考えられる。
In this application example, the sync block length of video data and audio data is determined in advance, and
Only when the relationship between the flag indicating audio / video in the D information (ID1) and the data length of the detected sync block matches, it is possible to consider that a correct synchronization pattern has been detected.

【0139】このような識別情報として、例えば、シン
クブロック中のID1、DIDおよび長さ情報LTを用
いることができる。
As such identification information, for example, ID1, DID and length information LT in the sync block can be used.

【0140】この一実施形態では、シンク検出回路15
において、このチェックが行われる。すなわち、このチ
ェックにより不当であると判断された場合には、同期パ
ターンが検出されなかったとして処理され、位相制御回
路16への上述の報告を行わないようにする。
In this embodiment, the sync detection circuit 15
In, this check is performed. That is, if it is determined by this check that the pattern is invalid, it is determined that the synchronization pattern has not been detected, and the above-described report to the phase control circuit 16 is not performed.

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

【0142】図22は、出力制御回路20から出力され
るデータの例を示す。この例では、データ長Lが〔6〕
とされている。図22Aのクロックに基づき全体的な動
作が行われる。端子1からの入力データは、データ長が
〔6〕のシンクブロックAに続いて、データ長が〔4〕
に相当するデータギャップとなる。続けて、データ長が
(6)のシンクブロックCが入力される。このように、
入力データから同期パターンが検出され、カウンタ59
により、データ長Lからカウントダウンされる。カウン
ト値が
FIG. 22 shows an example of data output from the output control circuit 20. In this example, the data length L is [6]
It has been. The overall operation is performed based on the clock of FIG. 22A. The input data from the terminal 1 follows the sync block A having the data length of [6], followed by the data length of [4].
Is the data gap corresponding to. Subsequently, a sync block C whose data length is (6) is input. in this way,
A synchronization pattern is detected from the input data and a counter 59
Thus, the countdown is performed from the data length L. The count value is

〔0〕になると、同期パルスが生成され、データ
が出力される。データ長が〔6〕のままで、データ長の
異なる(L>)データギャップが入力されても、次に正
常なシンクブロックCが入力されると、カウント値が
At [0], a synchronization pulse is generated and data is output. Even if a data gap having a different data length (L>) is input while the data length remains [6], when the next normal sync block C is input, the count value is increased.

〔0〕になる前にデータ長Lに対応する値からカウント
ダウンが開始される。これにより、シンクブロックし
は、正常に出力される。
Before reaching [0], the countdown is started from the value corresponding to the data length L. As a result, the sync block is output normally.

【0143】なお、上述では、データ長が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.

【0144】また、上述では、この記録媒体として磁気
テープを用いるようにしているが、これはこの例に限定
されない。この発明は、例えば、ハードディスクや光磁
気ディスクなどの、ディスク状記録媒体に適用すること
が可能である。また、記録媒体だけでなく、ネットワー
クなどの通信を介して伝送されたデータに対しても適用
可能である。
Further, in the above description, a 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.

【0145】[0145]

【発明の効果】以上説明したように、この発明によれ
ば、複数の長さのシンクブロックから構成されるディジ
タルデータ列から、各シンクブロックの位相を検出する
際に、検出するブロック長の切り替え信号などを外部か
ら入力する必要が無いので、再生装置のシステム構成を
簡単にすることができるという効果がある。
As described above, according to the present invention, when the phase of each sync block is detected from a digital data string composed of sync blocks of a plurality of lengths, the block length to be detected is switched. Since there is no need to input a signal or the like from the outside, there is an effect that the system configuration of the reproducing apparatus can be simplified.

【0146】また、この一実施形態によれば、入力され
た異なるシンクブロック長の差分に基づき、データの出
力を制御しているため、シンクブロック長が切り替わる
点で、データが消失しないように処理することができる
効果がある。
Further, according to this embodiment, since the data output is controlled based on the difference between the input different sync block lengths, processing is performed so that the data is not lost at the point where the sync block length is switched. There is an effect that can be.

【図面の簡単な説明】[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】出力制御回路から出力されるデータの例を示
すタイミングチャートである。
FIG. 22 is a timing chart showing an example of data output from the output control circuit.

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

【図24】従来技術によるシンク検出回路の構成の一例
を示すブロック図である。
FIG. 24 is a block diagram illustrating an example of a configuration of a sync detection circuit according to the related art.

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

10・・・シフトレジスタL、11・・・シフトレジス
タK、12・・・比較(L)回路、13・・・比較
(K)回路、14・・・シンク比較回路、15・・・シ
ンク検出回路、16・・・位相制御回路、17・・・シ
ンクRAM、18・・・イナーシャ回路、19・・・デ
ィレイライン、20・・・出力制御回路、52・・・L
/Kカウンタ、59・・・カウンタ、100・・・記録
再生装置、114・・・AUX付加回路、116・・・
外符号エンコーダ、117・・・シャフリング、118
・・・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, 52 ... L
/ K counter, 59 counter, 100 recording / reproducing device, 114 AUX addition circuit, 116
Outer code encoder, 117... Shuffling, 118
... ID addition circuit, 119 ... inner encoder
120: synchronous 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 section

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C053 FA21 FA22 GB01 GB05 GB10 GB15 GB18 GB21 GB37 HA01 HA04 JA01 JA07 JA21 JA24 KA01 KA09 LA06 5D044 AB05 AB07 BC01 CC03 DE03 DE32 GM26  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C053 FA21 FA22 GB01 GB05 GB10 GB15 GB18 GB21 GB37 HA01 HA04 JA01 JA07 JA21 JA24 KA01 KA09 LA06 5D044 AB05 AB07 BC01 CC03 DE03 DE32 GM26

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 同期を検出するための同期パターンを有
する互いに異なる少なくとも2つのデータ長のデータブ
ロックの同期を検出する同期検出装置において、 入力データに対して同期パターンの検出を行う同期パタ
ーン検出手段と、 上記入力データを所定単位長毎に順に格納すると共に、
格納されているデータを上記所定単位長毎に古い順から
出力する、第1のデータ長Lに対応する長さの第1のメ
モリ手段と、 上記パターン検出手段の検出結果に基づき、上記第1の
メモリ手段に入力されるデータと上記第1のメモリ手段
から出力されるデータとが共に上記同期パターンと一致
するかどうかを検出する第1の比較手段と、 上記第1のメモリ手段と同時に上記入力データが入力さ
れ、上記入力データを上記所定長単位毎に順に格納する
と共に、格納されているデータを上記所定単位長毎に古
い順から出力する、上記第1のデータ長Lより短く、且
つ、上記第1のデータ長Lと整数倍の関係に無い第2の
データ長Kに対応する長さの第2のメモリ手段と、 上記パターン検出手段の検出結果に基づき、上記第2の
メモリ手段に入力されるデータと上記第2のメモリ手段
から出力されるデータとが共に上記同期パターンと一致
するかどうかを検出する第2の比較手段とを有し、 上記第1の比較手段および上記第2の比較手段のうち何
れか一方で上記同期パターンの上記一致が検出された
ら、同期検出がなされたとすることを特徴とする同期検
出装置。
1. A synchronization detection device for detecting synchronization of data blocks having at least two different data lengths having a synchronization pattern for detecting synchronization, wherein a synchronization pattern is detected for input data. And storing the input data in order for each predetermined unit length,
A first memory unit having a length corresponding to a first data length L for outputting stored data from the oldest unit for each of the predetermined unit lengths; First comparing means for detecting whether both data input to the memory means and data output from the first memory means coincide with the synchronization pattern; and Input data is input, the input data is stored in order for each of the predetermined length units, and the stored data is output from the oldest order for each of the predetermined unit lengths, shorter than the first data length L, and A second memory unit having a length corresponding to a second data length K which is not an integral multiple of the first data length L; and a second memory unit based on a detection result of the pattern detection unit. Enter in And second comparing means for detecting whether both the data to be output and the data output from the second memory means coincide with the synchronization pattern. The first comparing means and the second comparing means A synchronization detecting device, wherein when one of the means detects the coincidence of the synchronization pattern, the synchronization is detected.
【請求項2】 請求項1に記載の同期検出装置におい
て、 上記第1のデータ長Lと上記第2のデータ長Kとは、
(L>K)且つ(2K>L)の関係であることを特徴と
する同期検出装置。
2. The synchronization detection device according to claim 1, wherein the first data length L and the second data length K are:
A synchronization detection device characterized by a relationship of (L> K) and (2K> L).
【請求項3】 請求項1に記載の同期検出装置におい
て、 上記入力データを遅延させる遅延手段と、 上記同期検出がなされたら、同期が検出されたデータ長
に対応した間隔で同期信号を出力する同期信号生成手段
と、 上記同期信号生成手段によって生成された上記同期信号
に同期させて上記遅延手段からデータを出力する出力制
御手段とをさらに有し、 上記同期信号生成手段は、上記第2の比較手段で上記同
期パターンの上記一致が検出された場合には、上記第1
のデータ長と上記第2のデータ長との差分に対応する時
間だけ遅延されて上記同期信号を出力するようにしたこ
とを特徴とする同期検出装置。
3. The synchronization detecting device according to claim 1, wherein: a delay unit for delaying the input data; and, when the synchronization is detected, outputting a synchronization signal at an interval corresponding to a data length in which the synchronization is detected. A synchronization signal generation unit; and an output control unit that outputs data from the delay unit in synchronization with the synchronization signal generated by the synchronization signal generation unit, wherein the synchronization signal generation unit includes: If the comparison means detects the coincidence of the synchronization pattern, the first
Wherein the synchronization signal is output after being delayed by a time corresponding to the difference between the data length of the second data length and the second data length.
【請求項4】 請求項1に記載の同期検出装置におい
て、 上記第1および第2のデータ長からなるデータブロック
のそれぞれに対して格納された、上記第1および第2の
データ長に対応した識別情報と、上記同期検出の結果と
を比較するようにしたことを特徴とする同期検出装置。
4. The synchronization detection device according to claim 1, wherein the first and second data lengths stored for each of the data blocks having the first and second data lengths correspond to the first and second data lengths. A synchronization detection device, wherein the identification information is compared with a result of the synchronization detection.
【請求項5】 記録媒体に記録された、同期を検出する
ための同期パターンを有する互いに異なる少なくとも2
つのデータ長のデータブロックを再生する再生装置にお
いて、 記録媒体から再生された再生データに対して同期パター
ンの検出を行う同期パターン検出手段と、 上記再生データを所定単位長毎に順に格納すると共に、
格納されているデータを上記所定単位長毎に古い順から
出力する、第1のデータ長Lに対応する長さの第1のメ
モリ手段と、 上記パターン検出手段の検出結果に基づき、上記第1の
メモリ手段に入力されるデータと上記第1のメモリ手段
から出力されるデータとが共に上記同期パターンと一致
するかどうかを検出する第1の比較手段と、 上記第1のメモリ手段と同時に上記再生データが入力さ
れ、上記再生データを上記所定長単位毎に順に格納する
と共に、格納されているデータを上記所定単位長毎に古
い順から出力する、上記第1のデータ長Lより短く、且
つ、上記第1のデータ長Lと整数倍の関係に無い第2の
データ長Kに対応する長さの第2のメモリ手段と、 上記パターン検出手段の検出結果に基づき、上記第2の
メモリ手段に入力されるデータと上記第2のメモリ手段
から出力されるデータとが共に上記同期パターンと一致
するかどうかを検出する第2の比較手段と、 上記第1の比較手段および上記第2の比較手段のうち何
れか一方で上記同期パターンの上記一致が検出された
ら、同期検出がなされたとし、上記再生データを、上記
第1の比較手段および上記第2の比較手段のうち上記同
期パターンの上記一致が検出された方に対応するデータ
長からなるデータブロック単位で出力する出力手段とを
有することを特徴とする再生装置。
5. At least two different recording mediums each having a synchronization pattern for detecting synchronization recorded on a recording medium.
A reproducing apparatus for reproducing a data block having two data lengths, a synchronous pattern detecting means for detecting a synchronous pattern for the reproduced data reproduced from the recording medium, and storing the reproduced data in order for each predetermined unit length,
A first memory unit having a length corresponding to a first data length L for outputting stored data from the oldest unit for each of the predetermined unit lengths; First comparing means for detecting whether both data input to the memory means and data output from the first memory means coincide with the synchronization pattern; and Playback data is input, the playback data is stored in order for each of the predetermined length units, and the stored data is output from the oldest order for each of the predetermined unit lengths, shorter than the first data length L, and A second memory unit having a length corresponding to a second data length K which is not an integral multiple of the first data length L; and a second memory unit based on a detection result of the pattern detection unit. Enter in Second comparing means for detecting whether both the data to be output and the data output from the second memory means coincide with the synchronization pattern, and among the first comparing means and the second comparing means If the coincidence of the synchronization pattern is detected in any one of them, it is determined that the synchronization has been detected, and the reproduced data is detected by the first comparison means and the second comparison means. Output means for outputting in units of data blocks each having a data length corresponding to the reproduced data.
【請求項6】 請求項5に記載の再生装置において、 上記第1のデータ長Lと上記第2のデータ長Kとは、
(L>K)且つ(2K>L)の関係であることを特徴と
する再生装置。
6. The reproducing apparatus according to claim 5, wherein the first data length L and the second data length K are:
A playback device characterized by the relationship of (L> K) and (2K> L).
【請求項7】 請求項5に記載の再生装置において、 上記再生データを遅延させる遅延手段と、 上記同期検出がなされたら、同期が検出されたデータ長
に対応した間隔で同期信号を出力する同期信号生成手段
と、 上記同期信号生成手段によって生成された上記同期信号
に同期させて上記遅延手段からデータを出力する出力制
御手段とをさらに有し、 上記同期信号生成手段は、上記第2の比較手段で上記同
期パターンの上記一致が検出された場合には、上記第1
のデータ長と上記第2のデータ長との差分に対応する時
間だけ遅延されて上記同期信号を出力するようにしたこ
とを特徴とする再生装置。
7. The reproducing apparatus according to claim 5, wherein: a delay means for delaying the reproduced data; and a synchronizing signal for outputting a synchronizing signal at an interval corresponding to a data length in which the synchronism is detected when the synchronism is detected. Signal generating means; and output control means for outputting data from the delay means in synchronization with the synchronizing signal generated by the synchronizing signal generating means, wherein the synchronizing signal generating means comprises: Means for detecting the match of the synchronization pattern,
Wherein the synchronization signal is output after being delayed by a time corresponding to the difference between the data length of the second data length and the second data length.
【請求項8】 請求項5に記載の再生装置において、 上記出力手段から出力される、上記第1および第2のデ
ータ長からなる上記データブロックのそれぞれに対して
格納された、上記第1および第2のデータ長に対応した
識別情報と、上記同期検出の結果とを比較するようにし
たことを特徴とする再生装置。
8. The reproduction apparatus according to claim 5, wherein the first and second data blocks output from the output unit and having the first and second data lengths are stored. A reproducing apparatus characterized by comparing identification information corresponding to a second data length with a result of the synchronization detection.
【請求項9】 同期を検出するための同期パターンを有
する互いに異なる少なくとも2つのデータ長のデータブ
ロックの同期を検出する同期検出方法において、 第1のデータ長Lに対応する長さの第1のメモリに対し
て、入力データを所定単位長毎に順に格納すると共に、
該第1のメモリから格納されているデータを上記所定単
位長毎に古い順から出力するステップと、 上記第1のデータ長Lより短く、且つ、上記第1のデー
タ長Lと整数倍の関係に無い第2のデータ長Kに対応す
る長さの第2のメモリに対して、上記第1のメモリと同
時に上記入力データが入力され、上記入力データを上記
所定長単位毎に順に格納すると共に、該第2のメモリに
格納されているデータを上記所定単位長毎に古い順から
出力するステップと、 上記入力データに対して同期パターンの検出を行う同期
パターン検出のステップと、 上記パターン検出のステップによる検出結果に基づき、
上記第1のメモリに入力されるデータと上記第1のメモ
リから出力されるデータとが共に上記同期パターンと一
致するかどうかを検出する第1の比較のステップと、 上記パターン検出のステップの検出結果に基づき、上記
第2のメモリに入力されるデータと上記第2のメモリか
ら出力されるデータとが共に上記同期パターンと一致す
るかどうかを検出する第2の比較のステップとを有し、 上記第1の比較のステップおよび上記第2の比較のステ
ップのうち何れか一方で上記同期パターンの上記一致が
検出されたら、同期検出がなされたとすることを特徴と
する同期検出方法。
9. A synchronization detection method for detecting synchronization of data blocks having at least two different data lengths having a synchronization pattern for detecting synchronization, wherein the first data length L corresponds to the first data length L. In the memory, the input data is sequentially stored for each predetermined unit length, and
Outputting the data stored from the first memory for each of the predetermined unit lengths, starting from the oldest one; and a relationship between the first data length L and an integral multiple of the first data length L. The input data is input simultaneously with the first memory to a second memory having a length corresponding to a second data length K that does not exist, and the input data is sequentially stored in units of the predetermined length. Outputting the data stored in the second memory from the oldest unit for each of the predetermined unit lengths; detecting a synchronous pattern with respect to the input data; Based on the detection result of the step,
A first comparing step of detecting whether both the data input to the first memory and the data output from the first memory coincide with the synchronization pattern, and detecting the pattern detecting step Based on the result, a second comparing step of detecting whether both the data input to the second memory and the data output from the second memory match the synchronization pattern, A synchronization detection method, wherein if one of the first comparison step and the second comparison step detects the coincidence of the synchronization patterns, the synchronization is detected.
JP31759798A 1998-11-09 1998-11-09 Synchronization detecting device and method, and reproducing device Expired - Fee Related JP3956510B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP31759798A JP3956510B2 (en) 1998-11-09 1998-11-09 Synchronization detecting device and method, and reproducing device
US09/435,967 US6470142B1 (en) 1998-11-09 1999-11-08 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
EP99308875A EP1001635B1 (en) 1998-11-09 1999-11-08 Data recording apparatus and method
DE69938118T DE69938118T2 (en) 1998-11-09 1999-11-08 Data recording device and method
CNB991277554A CN1168258C (en) 1998-11-09 1999-11-09 Data recording, recording and reproducing, reproducing and synchronous detecting device and method, recording medium
KR1019990049425A KR100654072B1 (en) 1998-11-09 1999-11-09 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
US10/172,673 US7398007B2 (en) 1998-11-09 2002-06-14 Data recording and reproducing method and apparatus for adding synchronization data during recording and detecting synchronization data during reproduction

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
JP2000152175A true JP2000152175A (en) 2000-05-30
JP3956510B2 JP3956510B2 (en) 2007-08-08

Family

ID=18090000

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP3956510B2 (en)

Also Published As

Publication number Publication date
JP3956510B2 (en) 2007-08-08

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
JP4010066B2 (en) Image data recording apparatus and recording method, and image data recording / reproducing apparatus and recording / reproducing method
KR100668993B1 (en) Signal processing apparatus and method, recording apparatus, playback apparatus, recording and playback apparatus, and stream processing apparatus and method
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
KR100739262B1 (en) Recording apparatus and method, and reproducing apparatus and method
KR100719780B1 (en) Data transmitting apparatus and method thereof, recording apparatus, and recording and reproducing apparatus
US6807366B1 (en) Data recording apparatus, data recording/reproducing apparatus, data recording method, and data recording/reproducing method
JP2001169251A (en) Recording device and method, and reproducing device and method
JP3956510B2 (en) Synchronization detecting device and method, and reproducing device
JP4010067B2 (en) Synchronization detecting device and method, and reproducing device
KR100681992B1 (en) Recording apparatus and method
JP2000132914A (en) Data processor and data recorder
JP2001169243A (en) Recorder and recording method, and reproducing device and reproducing method
JP2000134110A (en) Data transmitter and transmission method
JP2000312341A (en) Data transmitter, method therefor, recorder and recording and reproducing device
JP2000149455A (en) Data recorder and recording method, data recording and reproducing device and recording and reproducing method, and data recording medium
JP2000152177A (en) Data processor and its method, and data reproducing device
JP2000293435A (en) Device and method for reproducing data
JP3978903B2 (en) Data recording apparatus, data recording method, data processing apparatus, and data processing method
JP2000123485A (en) Recording device and method
JP2000137951A (en) Recording device and its method, reproducing device and its method, and recording/reproducing device and its method
JP2000149426A (en) Memory accessing device and method therefor, and data processor
JP2000195171A (en) Signal processing device and method, and reproducing device

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: 20070328

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: 20070417

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070430

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

Free format text: PAYMENT UNTIL: 20100518

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110518

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120518

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130518

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees