JP3956510B2 - Synchronization detecting device and method, and reproducing device - Google Patents

Synchronization detecting device and method, and reproducing device Download PDF

Info

Publication number
JP3956510B2
JP3956510B2 JP31759798A JP31759798A JP3956510B2 JP 3956510 B2 JP3956510 B2 JP 3956510B2 JP 31759798 A JP31759798 A JP 31759798A JP 31759798 A JP31759798 A JP 31759798A JP 3956510 B2 JP3956510 B2 JP 3956510B2
Authority
JP
Japan
Prior art keywords
data
synchronization
length
pattern
comparison
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP31759798A
Other languages
Japanese (ja)
Other versions
JP2000152175A (en
Inventor
正明 五十崎
祥夫 大米
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 EP99308875A priority patent/EP1001635B1/en
Priority to US09/435,967 priority patent/US6470142B1/en
Priority to DE69938118T priority patent/DE69938118T2/en
Priority to KR1019990049425A priority patent/KR100654072B1/en
Priority to CNB991277554A priority patent/CN1168258C/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

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
この発明は、記録媒体から再生された、互いに異なる少なくとも2つのデータ長のデータブロックから同期パターンを検出する同期検出装置および方法、ならびに、再生装置に関する。
【0002】
【従来の技術】
近年、記録媒体として磁気テープが用いられ、ディジタルビデオ信号およびディジタルオーディオ信号の記録再生を行うようにした、ディジタルビデオテープレコーダが普及しつつある。
【0003】
このような装置では、ディジタルビデオデータおよびディジタルオーディオデータを所定長のパケット単位に格納し、パケットのそれぞれに、同期検出用の同期パターン、パケットのそれぞれを識別するためのブロックID、データの内容を表すIDおよびエラー訂正用のパリティを付加してシンクブロックを構成する。そして、このシンクブロックを、データの種類に応じてグループ化してセクタとし、セクタ単位でシリアルデータとして磁気テープに記録される。記録は、回転ヘッドによって磁気テープ上に斜めにトラックを形成する、ヘリカルスキャン方式で行われる。
【0004】
また、記録に際して、同一セクタ内の各シンクブロックの長さは同じにされると共に、ブロックIDが連続、且つデータ内容を表すIDは、同じ値とされる。
【0005】
図23は、トラック上の各セクタの配置の一例を概略的に示す。回転ヘッドが図の左側から右側へとトレースし、トラックが形成される。トラックは、上述したように、実際には磁気テープに対して斜めに形成され、1フレームのビデオデータは、複数、例えば4トラックを用いて記録される。ビデオデータが記録されるビデオセクタに挟まれて、オーディオデータを記録するオーディオセクタが複数、配置される。この例では、Ch1〜Ch8までの8チャンネル分のオーディオ信号を扱うことができるようにされているため、A1〜A8の8つのオーディオセクタが配される。
【0006】
各セクタの間には、例えばオーディオ信号のセクタ単位でのインサート編集が可能なように、オーディオデータの記録されないエディットギャップ(EG)が配置される。また、トラックの先頭には、プリアンブルが設けられる。プリアンブルは、再生時に、再生クロック用のPLLがロックしやすいような信号、例えば「FF(16進表記)」のデータが繰り返し記録される。さらに、記録媒体上での最短記録波長は、1トラック分のデータ量に依存する。
【0007】
再生時には、回転ヘッドによって磁気テープ上のトラックがトレースされ、再生信号が得られる。この再生信号の、上述のプリアンブル部分における信号のエッジが検出され、このエッジ間隔を利用して、再生クロック用のPLLをロックさせる。そして、再生信号から、シンク検出回路によって、再生クロックに同期した再生ビット列から同期パターンを検出し、各々のシンクブロックの先頭位置を検出する。そして、検出されたシンクブロック内のパケットを、ブロックID番号およびデータ内容のIDとに応じて並べ替えて、元のデータ列を復号する。すなわち、シンクブロック先頭の同期パターンのビット列および出現周期、さらに、同一セクタ内でブロックID番号が連続で、且つデータ内容を表すIDが同じであるというということを利用して、シンクブロックの位相が特定される。
【0008】
例えば、同期パターンのビット列が固有パターンと一致し、且つシンクブロック長だけ遅延した位置に同一のパターンが検出され、さらに、ブロックID番号が適正であった場合に、シンクブロックの位相が特定される。
【0009】
ここで、データ列の復号時に、データ列にエラーが生じている場合について考える。ここでは、データ列のビット間隔は常に同じで、ランダムエラーだけが付加されたと仮定する。この場合、同期パターン間のビット間隔は、同一セクタ内で常に同じであるため、セクタの先頭で同期検出ができれば、あとはブロック長に基づきフライホイール処理を行うことで、後ろの同期ブロックの先頭位相は特定できる。よって、この場合には、セクタの先頭位置での同期検出確率が十分確保されていれば良いことになる。
【0010】
なお、フライホイール処理は、以前検出された同期に引き続き同期信号を発生させる処理であり、イナーシャ回路で実現される。
【0011】
【発明が解決しようとする課題】
実際のディジタルビデオテープレコーダでは、ビデオとオーディオの2種類のデータを扱う。例えばビデオの編集単位当たりの、データ量の異なる2種類のデータを1種類の長さのシンクブロックに格納して扱うためには、どちらかのデータ長に冗長な部分を挿入して長さを合わせることになる。
【0012】
例えば、欧州諸国などで採用されているPAL/SECAM方式のフォーマットを考えると、周期が50Hzの1フィールド内のオーディオデータのサンプル数は、サンプリング周波数を48KHzとした場合、910サンプルとなる(1サンプルは、24ビット+制御ビット)。これをビデオのデータ数に合わせたブロック長Lのシンクブロックに収めようとした場合、
910サンプル×(24ビット+制御ビット)=L×n ・・・(1)
となる。但し、nは、整数である。したがって、オーディオデータのバイト数をLの整数倍にすれば、無駄な記録エリアが無く、効率がよい。
【0013】
一方、ビデオデータは、総データ量、処理の単位である画像ブロックの最小単数、編集単位当たりのトラック数などで、最適なシンクブロック長が決まる。つまり、シンクブロック長は、格納されるデータの種類によって最適な値が異なることとなり、オーディオデータとビデオデータの両者にとって最適なシンクブロック長の組み合わせが無い場合には、どちらかのシンクブロックに対して冗長なデータを挿入しなければ同じ長さにできないため、効率が悪くなってしまう。
【0014】
そこで、オーディオデータとビデオデータを格納するシンクブロックの長さを、それぞれ最適なものを選択するような記録フォーマットとすれば、記録効率を上げることができる。すなわち、1つの記録フォーマット中に、長さの異なるシンクブロックが混在することになる。
【0015】
上述したように、再生時には、シンク検出回路によって同期パターンを検出し、シンクブロックを切り出す必要がある。図24は、従来技術によるシンク検出回路の構成の一例を示す。この回路は、データ長がLであるシンクブロックに対応している。端子300から供給された入力データは、データ長Lに対応するディレイ301に供給されると共に、比較回路304の一方の入力端に供給される。比較回路304の他方の入力端には、入力データがディレイ301で遅延されたものが供給される。
【0016】
ディレイ301から出力されたデータ列は、ディレイライン303を介して2L分遅延され、可変シフタ305に供給される。
【0017】
また、入力データは、シンク比較回路302にも供給され、内部でラッチされる。そして、ラッチされている入力データに対して、各ビット位置で8ビットからなる同期パターンとの比較を行う。比較結果として、同期パターンの検出結果と、どのビット位置でパターンが一致したのかを示すビットシフト量が比較回路304に供給される。比較回路304では、この検出結果に基づき一方および他方の入力端に供給されたデータ列からシンクブロックを検出し、シンクブロックに格納されたブロックID番号およびデータ内容のIDに基づき、上述したように、シンクブロックの妥当性を判断すると共に、シンクブロックの位相を特定する。
【0018】
比較回路304で得られたシンクブロックの位相情報に基づき、シンク位置補正回路306でシンク位置補正情報が生成される。このシンク位置補正情報は、可変シフタ305およびイナーシャ回路307とに供給される。イナーシャ回路307では、シンク位置補正情報と、予め与えられたシンクブロック長Lとに基づき、シンクブロック長に対応した同期パルスが生成される。一方、ディレイライン303を介して可変シフタ305に供給されたデータ列は、シンク位置補正情報に基づき所定量だけビットシフトされる。そして、イナーシャ回路307から供給された同期パルスに基づき、出力データとして出力端308に導出される。また、イナーシャ回路307で生成された同期パルスは、端子309にも導出される。
【0019】
このように、従来技術によるシンク検出回路では、同期パターンを検出する回路を1組しか持たず、一連の入力データ中に異なる長さのデータブロックがある場合には、対応できなかった。また、同期信号である同期パルスを生成するイナーシャ回路307は、パルス発生周期が固定的とされていて、複数のデータ長からなるデータ列には対応できなかったという問題点があった。
【0020】
1種類の同期パターン間隔しか扱えないシンク検出回路で、複数のシンクブロック長を有するデータ列を処理する方法としては、入力されたデータ列に対応して検出するシンクブロック長を切り替える制御信号を用いることが考えられる。例えば、トラック上のオーディオおよびビデオセクタの位置に対して、再生ヘッドの位置情報から切り替えタイミングを生成することが可能である。
【0021】
しかしながら、この方法では、例えばデータレートが高く、再生ヘッド数が多く必要な再生システムでは、再生ヘッドのそれぞれに対応する制御信号を生成しなければならないという問題点があった。
【0022】
また、記録時と異なるテープ速度で再生を行う、変速再生の際に回転ヘッドの回転数を制御するようなシステムでは、切り替えタイミングが動的に変化することになり、制御信号を生成するのがこんなであるという問題点があった。
【0023】
さらに、図24の従来技術による構成のように、全体で処理が3L分遅延する回路において、このままの状態で制御信号を用いて、検出ブロック長をLから、Lよりも短いKに瞬時に切り替えると、データを遅延させている回路上の(3L−K)分の長さのデータが消失してしまうという問題点があった。これは、全ディレイ上に3L分のデータが存在するのに、データ長Kのタイミングでデータが出力されるように制御されてしまうからである。
【0024】
したがって、この発明の目的は、データ列中に混在する、異なる長さのデータブロックのそれぞれを自動的に検出できるようにした同期検出装置および方法、ならびに、再生装置を提供することにある。
【0025】
【課題を解決するための手段】
この発明は、上述した課題を解決するために、同期を検出するための同期パターンを有する互いに異なる少なくとも2つのデータ長のデータブロックの同期を検出する同期検出装置において、入力データに対して同期パターンの検出を行う同期パターン検出手段と、入力データを所定単位長毎に順に格納すると共に、格納されているデータを所定単位長毎に古い順から出力する、第1のデータ長Lに対応する長さの第1のメモリ手段と、パターン検出手段の検出結果に基づき、第1のメモリ手段に入力されるデータと第1のメモリ手段から出力されるデータとが共に同期パターンと一致するかどうかを検出する第1の比較手段と、第1のメモリ手段と同時に入力データが入力され、入力データを所定長単位毎に順に格納すると共に、格納されているデータを所定単位長毎に古い順から出力する、第1のデータ長Lより短く、且つ、第1のデータ長Lと整数倍の関係に無い第2のデータ長Kに対応する長さの第2のメモリ手段と、パターン検出手段の検出結果に基づき、第2のメモリ手段に入力されるデータと第2のメモリ手段から出力されるデータとが共に同期パターンと一致するかどうかを検出する第2の比較手段とを有し、第1の比較手段および第2の比較手段のうち何れか一方で同期パターンの一致が検出されたら、同期検出がなされたとすることを特徴とする同期検出装置である。
【0026】
また、この発明は、記録媒体に記録された、同期を検出するための同期パターンを有する互いに異なる少なくとも2つのデータ長のデータブロックを再生する再生装置において、記録媒体から再生された再生データに対して同期パターンの検出を行う同期パターン検出手段と、再生データを所定単位長毎に順に格納すると共に、格納されているデータを所定単位長毎に古い順から出力する、第1のデータ長Lに対応する長さの第1のメモリ手段と、パターン検出手段の検出結果に基づき、第1のメモリ手段に入力されるデータと第1のメモリ手段から出力されるデータとが共に同期パターンと一致するかどうかを検出する第1の比較手段と、第1のメモリ手段と同時に再生データが入力され、再生データを所定長単位毎に順に格納すると共に、格納されているデータを所定単位長毎に古い順から出力する、第1のデータ長Lより短く、且つ、第1のデータ長Lと整数倍の関係に無い第2のデータ長Kに対応する長さの第2のメモリ手段と、パターン検出手段の検出結果に基づき、第2のメモリ手段に入力されるデータと第2のメモリ手段から出力されるデータとが共に同期パターンと一致するかどうかを検出する第2の比較手段と、第1の比較手段および第2の比較手段のうち何れか一方で同期パターンの一致が検出されたら、同期検出がなされたとし、再生データを、第1の比較手段および第2の比較手段のうち同期パターンの一致が検出された方に対応するデータ長からなるデータブロック単位で出力する出力手段とを有することを特徴とする再生装置である。
【0027】
また、この発明は、同期を検出するための同期パターンを有する互いに異なる少なくとも2つのデータ長のデータブロックの同期を検出する同期検出方法において、第1のデータ長Lに対応する長さの第1のメモリに対して、入力データを所定単位長毎に順に格納すると共に、第1のメモリから格納されているデータを所定単位長毎に古い順から出力するステップと、第1のデータ長Lより短く、且つ、第1のデータ長Lと整数倍の関係に無い第2のデータ長Kに対応する長さの第2のメモリに対して、第1のメモリと同時に入力データが入力され、入力データを所定長単位毎に順に格納すると共に、第2のメモリに格納されているデータを所定単位長毎に古い順から出力するステップと、入力データに対して同期パターンの検出を行う同期パターン検出のステップと、パターン検出のステップによる検出結果に基づき、第1のメモリに入力されるデータと第1のメモリから出力されるデータとが共に同期パターンと一致するかどうかを検出する第1の比較のステップと、パターン検出のステップの検出結果に基づき、第2のメモリに入力されるデータと第2のメモリから出力されるデータとが共に同期パターンと一致するかどうかを検出する第2の比較のステップとを有し、第1の比較のステップおよび第2の比較のステップのうち何れか一方で同期パターンの一致が検出されたら、同期検出がなされたとすることを特徴とする同期検出方法である。
【0028】
上述したように、この発明は、第1および第2のデータ長L、Kにそれぞれ対応する長さの、第1および第2のメモリ手段に対してデータが入力され、これら第1および第2のメモリ手段それぞれについて、入力データと出力データとが比較され、第1および第2のメモリ手段の何れかにおいて、入出力の双方に同期パターンが検出されたときに同期検出がなされたとされているため、互いに異なる少なくとも2つのデータ長に対して、自動的に同期検出を行うことができる。
【0029】
【発明の実施の形態】
以下、この発明をディジタルビデオテープレコーダに対して適用した一実施形態について説明する。この一実施形態は、放送局の環境で使用して好適なもので、互いに異なる複数のフォーマットのビデオ信号の記録・再生を可能とするものである。例えば、NTSC方式に基づいたインターレス走査で有効ライン数が480本の信号(480i信号)およびPAL方式に基づいたインターレス走査で有効ライン数が576本の信号(576i信号)の両者を殆どハードウエアを変更せずに記録・再生することが可能とされる。さらに、インターレス走査でライン数が1080本の信号(1080i信号)、プログレッシブ走査(ノンインターレス)でライン数がそれぞれ480本、720本、1080本の信号(480p信号、720p信号、1080p信号)などの記録・再生も行うようにできる。
【0030】
また、この一実施形態では、ビデオ信号信号はMPEG2方式に基づき圧縮符号化され、オーディオ信号は非圧縮で扱われる。周知のように、MPEG2は、動き補償予測符号化と、DCTによる圧縮符号化とを組み合わせたものである。MPEG2のデータ構造は、階層構造をなしており、下位から、ブロック層、マクロブロック層、スライス層、ピクチャ層、GOP層およびシーケンス層となっている。
【0031】
ブロック層は、DCTを行う単位であるDCTブロックからなる。マクロブロック層は、複数のDCTブロックで構成される。スライス層は、ヘッダ部と、行間をまたがらない任意個のマクロブロックより構成される。ピクチャ層は、ヘッダ部と、複数のスライスとから構成される。ピクチャは、1画面に対応する。GOP(Group Of Picture)層は、ヘッダ部と、フレーム内符号化に基づくピクチャであるIピクチャと、予測符号化に基づくピクチャであるPおよびBピクチャとから構成される。
【0032】
Iピクチャ(Intra-coded picture:イントラ符号化画像) は、符号化されるときその画像1枚の中だけで閉じた情報を使用するものである。従って、復号時には、Iピクチャ自身の情報のみで復号できる。Pピクチャ(Predictive-coded picture :順方向予測符号化画像)は、予測画像(差分をとる基準となる画像)として、時間的に前の既に復号されたIピクチャまたはPピクチャを使用するものである。動き補償された予測画像との差を符号化するか、差分を取らずに符号化するか、効率の良い方をマクロブロック単位で選択する。Bピクチャ(Bidirectionally predictive-coded picture :両方向予測符号化画像)は、予測画像(差分をとる基準となる画像)として、時間的に前の既に復号されたIピクチャまたはPピクチャ、時間的に後ろの既に復号されたIピクチャまたはPピクチャ、並びにこの両方から作られた補間画像の3種類を使用する。この3種類のそれぞれの動き補償後の差分の符号化と、イントラ符号化の中で、最も効率の良いものをマクロブロック単位で選択する。
【0033】
従って、マクロブロックタイプとしては、フレーム内符号化(Intra) マクロブロックと、過去から未来を予測する順方向(Foward)フレーム間予測マクロブロックと、未来から過去を予測する逆方向(Backward)フレーム間予測マクロブロックと、前後両方向から予測する両方向マクロブロックとがある。Iピクチャ内の全てのマクロブロックは、フレーム内符号化マクロブロックである。また、Pピクチャ内には、フレーム内符号化マクロブロックと順方向フレーム間予測マクロブロックとが含まれる。Bピクチャ内には、上述した4種類の全てのタイプのマクロブロックが含まれる。
【0034】
GOPには、最低1枚のIピクチャが含まれ、PおよびBピクチャは、存在しなくても許容される。最上層のシーケンス層は、ヘッダ部と複数のGOPとから構成される。
【0035】
MPEGのフォーマットにおいては、スライスが1つの可変長符号系列である。可変長符号系列とは、可変長符号を復号化しなければデータの境界を検出できない系列である。
【0036】
また、シーケンス層、GOP層、ピクチャ層、スライス層およびマクロブロック層の先頭には、それぞれ、バイト単位に整列された所定のビットパターンを有する識別コード(スタートコードと称される)が配される。なお、上述した各層のヘッダ部は、ヘッダ、拡張データまたはユーザデータをまとめて記述したものである。シーケンス層のヘッダには、画像(ピクチャ)のサイズ(縦横の画素数)等が記述される。GOP層のヘッダには、タイムコードおよびGOPを構成するピクチャ数等が記述される。
【0037】
スライス層に含まれるマクロブロックは、複数のDCTブロックの集合であり、DCTブロックの符号化系列は、量子化されたDCT係数の系列を0係数の連続回数(ラン)とその直後の非0系列(レベル)を1つの単位として可変長符号化したものである。マクロブロックならびにマクロブロック内のDCTブロックには、バイト単位に整列した識別コードは付加されない。すなわち、これらは、1つの可変長符号系列ではない。
【0038】
マクロブロックは、画面(ピクチャ)を16画素×16ラインの格子状に分割したものである。スライスは、例えばこのマクロブロックを水平方向に連結してなる。連続するスライスの前のスライスの最後のマクロブロックと、次のスライスの先頭のマクロブロックとは連続しており、スライス間でのマクロブロックのオーバーラップを形成することは、許されていない。また、画面のサイズが決まると、1画面当たりのマクロブロック数は、一意に決まる。
【0039】
一方、復号および符号化による信号の劣化を避けるためには、符号化データ上で編集することが望ましい。このとき、PピクチャおよびBピクチャは、その復号に、時間的に前のピクチャあるいは前後のピクチャを必要とする。そのため、編集単位を1フレーム単位とすることができない。この点を考慮して、この一実施形態では、1つのGOPが1枚のIピクチャからなるようにしている。
【0040】
また、例えば1フレーム分の記録データが記録される記録領域が所定のものとされる。MPEG2では、可変長符号化を用いているので、1フレーム期間に発生するデータを所定の記録領域に記録できるように、1フレーム分の発生データ量が制御される。さらに、この一実施形態では、磁気テープへの記録に適するように、1スライスを1マクロブロックから構成すると共に、1マクロブロックを、所定長の固定枠に当てはめる。
【0041】
図1は、この一実施形態による記録再生装置の記録側の構成の一例を示す。記録時には、所定のインターフェース例えばSDI(Serial Data Interface) の受信部を介してディジタルビデオ信号が端子101から入力される。SDIは、(4:2:2)コンポーネントビデオ信号とディジタルオーディオ信号と付加的データとを伝送するために、SMPTEによって規定されたインターフェイスである。入力ビデオ信号は、ビデオエンコーダ102においてDCT(Discrete Cosine Transform) の処理を受け、係数データに変換され、係数データが可変長符号化される。ビデオエンコーダ102からの可変長符号化(VLC)データは、MPEG2に準拠したエレメンタリストリームである。この出力は、セレクタ103の一方の入力端に供給される。
【0042】
一方、入力端子104を通じて、ANSI/SMPTE 305Mによって規定されたインターフェイスである、SDTI(Serial Data Transport Interface) のフォーマットのデータが入力される。この信号は、SDTI受信部105で同期検出される。そして、バッファに一旦溜め込まれ、エレメンタリストリームが抜き出される。抜き出されたエレメンタリストリームは、セレクタ103の他方の入力端に供給される。
【0043】
セレクタ103で選択され出力されたエレメンタリストリームは、ストリームコンバータ106に供給される。ストリームコンバータ106では、MPEG2の規定に基づきDCTブロック毎に並べられていたDCT係数を、1マクロブロックを構成する複数のDCTブロックを通して、周波数成分毎にまとめ、まとめた周波数成分を並べ替える。並べ替えられた変換エレメンタリストリームは、パッキングおよびシャフリング部107に供給される。
【0044】
エレメンタリストリームのビデオデータは、可変長符号化されているため、各マクロブロックのデータの長さが不揃いである。パッキングおよびシャフリング部107では、マクロブロックが固定枠に詰め込まれる。このとき、固定枠からはみ出た部分は、固定枠のサイズに対して余った部分に順に詰め込まれる。また、タイムコード等のシステムデータが入力端子108からパッキングおよびシャフリング部107に供給され、ピクチャデータと同様にシステムデータが記録処理を受ける。また、走査順に発生する1フレームのマクロブロックを並び替え、テープ上のマクロブロックの記録位置を分散させるシャフリングが行われる。シャフリングによって、変速再生時に断片的にデータが再生される時でも、画像の更新率を向上させることができる。
【0045】
パッキングおよびシャフリング部107からのビデオデータおよびシステムデータ(以下、特に必要な場合を除き、システムデータを含む場合も単にビデオデータと言う。)が外符号エンコーダ109に供給される。ビデオデータおよびオーディオデータに対するエラー訂正符号としては、積符号が使用される。積符号は、ビデオデータまたはオーディオデータの2次元配列の縦方向に外符号の符号化を行い、その横方向に内符号の符号化を行い、データシンボルを2重に符号化するものである。外符号および内符号としては、リードソロモンコード(Reed-Solomon code) を使用できる。
【0046】
外符号エンコーダ109の出力がシャフリング部110に供給され、複数のECC(Error Correctig Code)ブロックにわたってシンクブロック単位で順番を入れ替える、シャフリングがなされる。シンクブロック単位のシャフリングによって特定のECCブロックにエラーが集中することが防止される。シャフリング部110でなされるシャフリングをインターリーブと称することもある。シャフリング部110の出力が混合部111に供給され、オーディオデータと混合される。なお、混合部111は、後述のように、メインメモリにより構成される。
【0047】
112で示す入力端子からオーディオデータが供給される。この一実施形態では、非圧縮のディジタルオーディオ信号が扱われる。ディジタルオーディオ信号は、入力側のSDI受信部(図示しない)またはSDTI受信部105で分離されたもの、またはオーディオインターフェースを介して入力されたものである。入力ディジタルオーディオ信号が遅延部113を介してAUX付加部114に供給される。遅延部113は、オーディオ信号とビデオ信号と時間合わせ用のものである。入力端子115から供給されるオーディオAUXは、補助的データであり、オーディオデータのサンプリング周波数等のオーディオデータに関連する情報を有するデータである。オーディオAUXは、AUX付加部114にてオーディオデータに付加され、オーディオデータと同等に扱われる。
【0048】
AUX付加部114からのオーディオデータおよびAUX(以下、特に必要な場合を除き、AUXを含む場合も単にオーディオデータと言う。)が外符号エンコーダ116に供給される。外符号エンコーダ116は、オーディオデータに対して外符号の符号化を行う。外符号エンコーダ116の出力がシャフリング部117に供給され、シャフリング処理を受ける。オーディオシャフリングとして、シンクブロック単位のシャフリングと、チャンネル単位のシャフリングとがなされる。
【0049】
シャフリング部117の出力が混合部111に供給され、ビデオデータとオーディオデータが1チャンネルのデータとされる。混合部111の出力がID付加部118が供給され、ID付加部118にて、シンクブロック番号を示す情報等を有するIDが付加される。ID付加部118の出力が内符号エンコーダ119に供給され、内符号の符号化がなされる。さらに、内符号エンコーダ119の出力が同期付加部120に供給され、シンクブロック毎の同期信号が付加される。同期信号が付加されることによってシンクブロックが連続する記録データが構成される。この記録データが記録アンプ121を介して回転ヘッド122に供給され、磁気テープ123上に記録される。回転ヘッド122は、実際には、隣接するトラックを形成するヘッドのアジマスが互いに異なる複数の磁気ヘッドが回転ドラムに取り付けられたものである。
【0050】
記録データに対して必要に応じてスクランブル処理を行っても良い。また、記録時にディジタル変調を行っても良く、さらに、パーシャル・レスポンスクラス4とビタビ符号を使用しても良い。
【0051】
図2は、この発明の一実施形態の再生側の構成の一例を示す。磁気テープ123から回転ヘッド122で再生された再生信号が再生アンプ131を介して同期検出部132に供給される。再生信号に対して、等化や波形整形などがなされる。また、ディジタル変調の復調、ビタビ復号等が必要に応じてなされる。同期検出部132は、シンクブロックの先頭に付加されている同期信号を検出する。同期検出によって、シンクブロックが切り出される。
【0052】
同期検出回路132の出力が内符号エンコーダ133に供給され、内符号のエラー訂正がなされる。内符号エンコーダ133の出力がID補間部134に供給され、内符号によりエラーとされたシンクブロックのID例えばシンクブロック番号が補間される。ID補間部134の出力が分離部135に供給され、ビデオデータとオーディオデータとが分離される。上述したように、ビデオデータは、MPEGのイントラ符号化で発生したDCT係数データおよびシステムデータを意味し、オーディオデータは、PCM(Pulse Code Modulation) データおよびAUXを意味する。
【0053】
分離部135からのビデオデータがデシャフリング部136において、シャフリングと逆の処理がなされる。デシャフリング部136は、記録側のシャフリング部110でなされたシンクブロック単位のシャフリングを元に戻す処理を行う。デシャフリング部136の出力が外符号デコーダ137に供給され、外符号によるエラー訂正がなされる。訂正できないエラーが発生した場合には、エラーの有無を示すエラーフラグがエラー有りを示すものとされる。
【0054】
外符号デコーダ137の出力がデシャフリングおよびデパッキング部138に供給される。デシャフリングおよびデパッキング部138は、記録側のパッキングおよびシャフリング部107でなされたマクロブロック単位のシャフリングを元に戻す処理を行う。また、デシャフリングおよびデパッキング部138では、記録時に施されたパッキングを分解する。すなわち、マクロブロック単位にデータの長さを戻して、元の可変長符号を復元する。さらに、デシャフリングおよびデパッキング部138において、システムデータが分離され、出力端子139に取り出される。
【0055】
デシャフリングおよびデパッキング部138の出力が補間部140に供給され、エラーフラグが立っている(すなわち、エラーのある)データが修整される。すなわち、変換前に、マクロブロックデータの途中にエラーがあるとされた場合には、エラー箇所以降の周波数成分のDCT係数が復元できない。そこで、例えばエラー箇所のデータをブロック終端符号(EOB)に置き替え、それ以降の周波数成分のDCT係数をゼロとする。同様に、高速再生時にも、シンクブロック長に対応する長さまでのDCT係数のみを復元し、それ以降の係数は、ゼロデータに置き替えられる。さらに、補間部140では、ビデオデータの先頭に付加されているヘッダがエラーの場合に、ヘッダ(シーケンスヘッダ、GOPヘッダ、ピクチャヘッダ、ユーザデータ等)を回復する処理もなされる。
【0056】
DCTブロックに跨がって、DCT係数がDC成分および低域成分から高域成分へと並べられているため、このように、ある箇所以降からDCT係数を無視しても、マクロブロックを構成するDCTブロックのそれぞれに対して、満遍なくDCならびに低域成分からのDCT係数を行き渡らせることができる。
【0057】
補間部140の出力がストリームコンバータ141に供給される。ストリームコンバータ141では、記録側のストリームコンバータ106と逆の処理がなされる。すなわち、DCTブロックに跨がって周波数成分毎に並べられていたDCT係数を、DCTブロック毎に並び替える。これにより、再生信号がMPEG2に準拠したエレメンタリストリームに変換される。
【0058】
また、ストリームコンバータ141の入出力は、記録側と同様に、マクロブロックの最大長に応じて、十分な転送レート(バンド幅)を確保しておく。マクロブロックの長さを制限しない場合には、画素レートの3倍のバンド幅を確保するのが好ましい。
【0059】
ストリームコンバータ141の出力がビデオデコーダ142に供給される。ビデオデコーダ142は、エレメンタリストリームを復号し、ビデオデータを出力する。すなわち、ビデオデコーダ142は、逆量子化処理と、逆DCT処理とがなされる。復号ビデオデータが出力端子143に取り出される。外部とのインターフェースには、例えばSDIが使用される。また、ストリームコンバータ141からのエレメンタリストリームがSDTI送信部144に供給される。SDTI送信部144には、経路の図示を省略しているが、システムデータ、再生オーディオデータ、AUXも供給され、SDTIフォーマットのデータ構造を有するストリームへ変換される。SDTI送信部144からのストリームが出力端子145を通じて外部に出力される。
【0060】
分離部135で分離されたオーディオデータがデシャフリング部151に供給される。デシャフリング部151は、記録側のシャフリング部117でなされたシャフリングと逆の処理を行う。デシャフリング部117の出力が外符号デコーダ152に供給され、外符号によるエラー訂正がなされる。外符号デコーダ152からは、エラー訂正されたオーディオデータが出力される。訂正できないエラーがあるデータに関しては、エラーフラグがセットされる。
【0061】
外符号デコーダ152の出力がAUX分離部153に供給され、オーディオAUXが分離される。分離されたオーディオAUXが出力端子154に取り出される。また、オーディオデータが補間部155に供給される。補間部155では、エラーの有るサンプルが補間される。補間方法としては、時間的に前後の正しいデータの平均値で補間する平均値補間、前の正しいサンプルの値をホールドする前値ホールド等を使用できる。補間部155の出力が出力部156に供給される。出力部156は、エラーであり、補間できないオーディオ信号の出力を禁止するミュート処理、並びにビデオ信号との時間合わせのための遅延量調整処理がなされる。出力部156から出力端子157に再生オーディオ信号が取り出される。
【0062】
なお、図1および図2では省略されているが、入力データと同期したタイミング信号を発生するタイミング発生部、記録再生装置の全体の動作を制御するシステムコントローラ(マイクロコンピュータ)等が備えられている。
【0063】
この一実施形態では、磁気テープへの信号の記録は、回転する回転ヘッド上に設けられた磁気ヘッドにより、斜めのトラックを形成する、ヘリカルスキャン方式によって行われる。磁気ヘッドは、回転ドラム上の、互いに対向する位置に、それぞれ複数個が設けられる。すなわち、磁気テープが回転ヘッドに180°程度の巻き付け角で以て巻き付けられている場合、回転ヘッドの180°の回転により、同時に複数本のトラックを形成することができる。また、磁気ヘッドは、互いにアジマスの異なる2個で一組とされる。複数個の磁気ヘッドは、隣接するトラックのアジマスが互いに異なるように配置される。
【0064】
図3は、上述した回転ヘッドにより磁気テープ上に形成されるトラックフォーマットの一例を示す。これは、1フレーム当たりのビデオおよびオーディオデータが8トラックで記録される例である。例えばフレーム周波数が29.97Hz、レートが50Mbps、有効ライン数が480本で有効水平画素数が720画素のインターレス信号(480i信号)およびオーディオ信号が記録される。また、フレーム周波数が25Hz、レートが50Mbps、有効ライン数が576本で有効水平画素数が720画素のインターレス信号(576i信号)およびオーディオ信号も、図3と同一のテープフォーマットによって記録できる。
【0065】
互いに異なるアジマスの2トラックによって1セグメントが構成される。すなわち、8トラックは、4セグメントからなる。セグメントを構成する1組のトラックに対して、アジマスと対応するトラック番号〔0〕とトラック番号〔1〕が付される。図3に示される例では、前半の8トラックと、後半の8トラックとの間で、トラック番号が入れ替えられると共に、フレーム毎に互いに異なるトラックシーケンスが付される。これにより、アジマスが異なる1組の磁気ヘッドのうち一方が、例えば目詰まりなどにより読み取り不能状態に陥っても、前フレームのデータを利用してエラーの影響を小とできる。
【0066】
トラックのそれぞれにおいて、両端側にビデオデータが記録されるビデオセクタが配され、ビデオセクタに挟まれて、オーディオデータが記録されるオーディオセクタが配される。なお、この図3および後述する図4は、テープ上のオーディオセクタの配置を示すものである。
【0067】
図3のトラックフォーマットでは、8チャンネルのオーディオデータを扱うことができるようにされている。A1〜A8は、それぞれオーディオデータの1〜8chのセクタを示す。オーディオデータは、セグメント単位で配列を変えられて記録される。オーディオデータは、1フィールド期間で発生するオーディオサンプル(例えばフィールド周波数が29.97Hzで、サンプリング周波数が48kHzの場合には、800サンプルまたは801サンプル)が偶数番目のサンプルと奇数番目のサンプルとにわけられ、各サンプル群とAUXによって積符号の1ECCブロックが構成される。
【0068】
図3では、1フィールド分のデータが4トラックに記録されるので、オーディオデータの1チャンネル当たりの2個のECCブロックが4トラックに記録される。2個のECCブロックのデータ(外符号パリティを含む)が4個のセクタに分割され、図3に示すように、4トラックに分散されて記録される。2個のECCブロックに含まれる複数のシンクブロックがシャフリングされる。例えばA1の参照番号が付された4セクタによって、チャンネル1の2ECCブロックが構成される。
【0069】
また、ビデオデータは、この例では、1トラックに対して4ECCブロック分のデータがシャフリング(インターリーブ)され、Upper SideおよびLower Sideで各セクタに分割され記録される。Lower Sideのビデオセクタには、所定位置にシステム領域が設けられる。
【0070】
なお、図3において、SAT1(Tr)およびSAT2(Tm)は、サーボロック用の信号が記録されるエリアである。また、各記録エリアの間には、所定の大きさのギャップ(Vg1,Sg1,Ag,Sg2,Sg3およびVg2)が設けられる。
【0071】
図3は、1フレーム当たりのデータを8トラックで記録する例であるが、記録再生するデータのフォーマットによっては、1フレーム当たりのデータを4トラック、6トラックなどでの記録することができる。図4Aは、1フレームが6トラックのフォーマットである。この例では、トラックシーケンスが〔0〕のみとされる。
【0072】
図4Bに示すように、テープ上に記録されるデータは、シンクブロックと称される等間隔に区切られた複数のブロックからなる。図4Cは、シンクブロックの構成を概略的に示す。詳細は後述するが、シンクブロックは、同期検出するためのSYNCパターン、シンクブロックのそれぞれを識別するためのID、後続するデータの内容を示すDID、データパケットおよびエラー訂正用の内符号パリティから構成される。データは、シンクブロック単位でパケットとして扱われる。すなわち、記録あるいは再生されるデータ単位の最小のものが1シンクブロックである。シンクブロックが多数並べられて(図4B)、例えばビデオセクタが形成される(図4A)。
【0073】
図5は、記録/再生の最小単位である、ビデオデータのシンクブロックのデータ構成をより具体的に示す。この一実施形態においては、記録するビデオデータのフォーマットに適応して1シンクブロックに対して1個乃至は2個のマクロブロックのデータ(VLCデータ)が格納されると共に、1シンクブロックのサイズが扱うビデオ信号のフォーマットに応じて長さが変更される。図5Aに示されるように、1シンクブロックは、先頭から、2バイトのSYNCパターン、2バイトのID、1バイトのDID、例えば112バイト〜206バイトの間で可変に規定されるデータ領域および12バイトのパリティ(内符号パリティ)からなる。なお、データ領域は、ペイロードとも称される。
【0074】
先頭の2バイトのSYNCパターンは、同期検出用であり、所定のビットパターンを有する。固有のパターンに対して一致するSYNCパターンを検出することで、同期検出が行われる。
【0075】
図6Aは、ID0およびID1のビットアサインの一例を示す。IDは、シンクブロックが固有に持っている重要な情報を持っており、各2バイト(ID0およびID1)が割り当てられている。ID0は、1トラック中のシンクブロックのそれぞれを識別するための識別情報(SYNC ID)が格納される。SYNC IDは、例えば各セクタ内のシンクブロックに対して付された通し番号である。SYNC IDは、8ビットで表現される。ビデオのシンクブロックとオーディオのシンクブロックとでそれぞれ別個にSYNC IDが付される。
【0076】
ID1は、シンクブロックのトラックに関する情報が格納される。MSB側をビット7、LSB側をビット0とした場合、このシンクブロックに関して、ビット7でトラックの上側(Upper)か下側(Lower)かが示され、ビット5〜ビット2で、トラックのセグメントが示される。また、ビット1は、トラックのアジマスに対応するトラック番号が示され、ビット0は、このシンクブロックがビデオデータおよびオーディオデータを区別するビットである。
【0077】
図6Bは、ビデオの場合のDIDのビットアサインの一例を示す。DIDは、ペイロードに関する情報が格納される。上述したID1のビット0の値に基づき、ビデオおよびオーディオで、DIDの内容が異なる。ビット7〜ビット4は、未定義(Reserved)とされている。ビット3および2は、ペイロードのモードであり、例えばペイロードのタイプが示される。ビット3および2は、補助的なものである。ビット1でペイロードに1個あるいは2個のマクロブロックが格納されることが示される。ビット0でペイロードに格納されるビデオデータが外符号パリティであるかどうかが示される。
【0078】
図6Cは、オーディオの場合のDIDのビットアサインの一例を示す。ビット7〜ビット4は、Reservedとされている。ビット3でペイロードに格納されているデータがオーディオデータであるか、一般的なデータであるかどうかが示される。ペイロードに対して、圧縮符号化されたオーディオデータが格納されている場合には、ビット3がデータを示す値とされる。ビット2〜ビット0は、NTSC方式における、5フィールドシーケンスの情報が格納される。すなわち、NTSC方式においては、ビデオ信号の1フィールドに対してオーディオ信号は、サンプリング周波数が48kHzの場合、800サンプルおよび801サンプルの何れかであり、このシーケンスが5フィールド毎に揃う。ビット2〜ビット0によって、シーケンスの何処に位置するかが示される。
【0079】
図5に戻って説明すると、図5B〜図5Eは、上述のペイロードの例を示す。図5Bおよび図5Cは、ペイロードに対して、1および2マクロブロックのビデオデータ(可変長符号化データ)が格納される場合の例をそれぞれ示す。図5Bに示される、1マクロブロックが格納される例では、先頭の3バイトに、後続するマクロブロックの長さを示す長さ情報LTが配される。なお、長さ情報LTには、自分自身の長さを含んでも良いし、含まなくても良い。また、図5Cに示される、2マクロブロックが格納される例では、先頭に第1のマクロブロックの長さ情報LTが配され、続けて第1のマクロブロックが配される。そして、第1のマクロブロックに続けて第2のマクロブロックの長さを示す長さ情報LTが配され、続けて第2のマクロブロックが配される。長さ情報LTは、デパッキングのために必要な情報である。
【0080】
図5Dは、ペイロードに対して、ビデオAUX(補助的)データが格納される場合の例を示す。先頭の長さ情報LTには、ビデオAUXデータの長さが記される。この長さ情報LTに続けて、5バイトのシステム情報、12バイトのPICT情報、および92バイトのユーザ情報が格納される。ペイロードの長さに対して余った部分は、Reservedとされる。
【0081】
図5Eは、ペイロードに対してオーディオデータが格納される場合の例を示す。オーディオデータは、ペイロードの全長にわたって詰め込むことができる。オーディオ信号は、圧縮処理などが施されない、例えばPCM形式で扱われる。これに限らず、所定の方式で圧縮符号化されたオーディオデータを扱うようにもできる。
【0082】
この一実施形態においては、各シンクブロックのデータの格納領域であるペイロードの長さは、ビデオシンクブロックとオーディオシンクブロックとでそれぞれ最適に設定されているため、互いに等しい長さではない。また、ビデオデータを記録するシンクブロックの長さと、オーディオデータを記録するシンクブロックの長さとを、信号フォーマットに応じてそれぞれ最適な長さに設定される。これにより、複数の異なる信号フォーマットを統一的に扱うことができる。
【0083】
図7Aは、MPEGエンコーダのDCT回路から出力されるビデオデータ中のDCT係数の順序を示す。DCTブロックにおいて左上のDC成分から開始して、水平ならびに垂直空間周波数が高くなる方向に、DCT係数がジグザグスキャンで出力される。その結果、図7Bに一例が示されるように、全部で64個(8画素×8ライン)のDCT係数が周波数成分順に並べられて得られる。
【0084】
このDCT係数がMPEGエンコーダのVLC部によって可変長符号化される。すなわち、最初の係数は、DC成分として固定的であり、次の成分(AC成分)からは、ゼロのランとそれに続くレベルに対応してコードが割り当てられる。従って、AC成分の係数データに対する可変長符号化出力は、周波数成分の低い(低次の)係数から高い(高次の)係数へと、AC1 ,AC2 ,AC3 ,・・・と並べられたものである。可変長符号化されたDCT係数をエレメンタリストリームが含んでいる。
【0085】
ストリームコンバータ106では、供給された信号のDCT係数の並べ替えが行われる。すなわち、それぞれのマクロブロック内で、ジグザグスキャンによってDCTブロック毎に周波数成分順に並べられたDCT係数がマクロブロックを構成する各DCTブロックにわたって周波数成分順に並べ替えられる。
【0086】
図8は、このストリームコンバータ106におけるDCT係数の並べ替えを概略的に示す。(4:2:2)コンポーネント信号の場合に、1マクロブロックは、輝度信号Yによる4個のDCTブロック(Y1 ,Y2 ,Y3 およびY4 )と、色度信号Cb,Crのそれぞれによる2個ずつのDCTブロック(Cb1 ,Cb2 ,Cr1 およびCr2 )からなる。
【0087】
上述したように、ビデオエンコーダ102では、MPEG2の規定に従いジグザグスキャンが行われ、図8Aに示されるように、各DCTブロック毎に、DCT係数がDC成分および低域成分から高域成分に、周波数成分の順に並べられる。一つのDCTブロックのスキャンが終了したら、次のDCTブロックのスキャンが行われ、同様に、DCT係数が並べられる。
【0088】
すなわち、マクロブロック内で、DCTブロックY1 ,Y2 ,Y3 およびY4 、DCTブロックCb1 ,Cb2 ,Cr1 およびCr2 のそれぞれについて、DCT係数がDC成分および低域成分から高域成分へと周波数順に並べられる。そして、連続したランとそれに続くレベルとからなる組に、〔DC,AC1 ,AC2 ,AC3 ,・・・〕と、それぞれ符号が割り当てられるように、可変長符号化されている。
【0089】
ストリームコンバータ106では、可変長符号化され並べられたDCT係数を、一旦可変長符号を解読して各係数の区切りを検出し、マクロブロックを構成する各DCTブロックに跨がって周波数成分毎にまとめる。この様子を、図8Bに示す。最初にマクロブロック内の8個のDCTブロックのDC成分をまとめ、次に8個のDCTブロックの最も周波数成分が低いAC係数成分をまとめ、以下、順に同一次数のAC係数をまとめるように、8個のDCTブロックに跨がって係数データを並び替える。
【0090】
並び替えられた係数データは、DC(Y1 ),DC(Y2 ),DC(Y3 ),DC(Y4 ),DC(Cb1 ),DC(Cb2 ),DC(Cr1 ),DC(Cr2 ),AC1 (Y1 ),AC1 (Y2 ),AC1 (Y3 ),AC1 (Y4 ),AC1 (Cb1 ),AC1 (Cb2 ),AC1 (Cr1 ),AC1 (Cr2 ),・・・である。ここで、DC、AC1 、AC2 、・・・は、図7を参照して説明したように、ランとそれに続くレベルとからなる組に対して割り当てられた可変長符号の各符号である。
【0091】
ストリームコンバータ106で係数データの順序が並べ替えられた変換エレメンタリストリームは、パッキングおよびシャフリング部107に供給される。マクロブロックのデータの長さは、変換エレメンタリストリームと変換前のエレメンタリストリームとで同一である。また、ビデオエンコーダ102において、ビットレート制御によりGOP(1フレーム)単位に固定長化されていても、マクロブロック単位では、長さが変動している。パッキングおよびシャフリング部107では、マクロブロックのデータを固定枠に当てはめる。
【0092】
図9は、パッキングおよびシャフリング部107でのマクロブロックのパッキング処理を概略的に示す。マクロブロックは、所定のデータ長を持つ固定枠に当てはめられ、パッキングされる。このとき用いられる固定枠のデータ長を、記録および再生の際のデータの最小単位であるシンクブロック長と一致させている。これは、シャフリングおよびエラー訂正符号化の処理を簡単に行うためである。図9では、簡単のため、1フレームに8マクロブロックが含まれるものと仮定する。
【0093】
可変長符号化によって、図9Aに一例が示されるように、8マクロブロックの長さは、互いに異なる。この例では、固定枠である1シンクブロックの長さと比較して、マクロブロック#1のデータ,#3のデータおよび#6のデータがそれぞれ長く、マクロブロック#2のデータ,#5のデータ,#7のデータおよび#8のデータがそれぞれ短い。また、マクロブロック#4のデータは、1シンクブロックと略等しい長さである。
【0094】
パッキング処理によって、マクロブロックが1シンクブロック長の固定長枠に詰め込まれる。過不足無くデータを詰め込むことができるのは、1フレーム期間で発生するデータ量が固定量に制御されているからである。図9Bに一例が示されるように、1シンクブロックと比較して長いマクロブロックは、シンクブロック長に対応する位置で分割される。分割されたマクロブロックのうち、シンクブロック長からはみ出た部分(オーバーフロー部分)は、先頭から順に空いている領域に、すなわち、長さがシンクブロック長に満たないマクロブロックの後ろに、詰め込まれる。
【0095】
図9Bの例では、マクロブロック#1の、シンクブロック長からはみ出た部分が、先ず、マクロブロック#2の後ろに詰め込まれ、そこがシンクブロックの長さに達すると、マクロブロック#5の後ろに詰め込まれる。次に、マクロブロック#3の、シンクブロック長からはみ出た部分がマクロブロック#7の後ろに詰め込まれる。さらに、マクロブロック#6のシンクブロック長からはみ出た部分がマクロブロック#7の後ろに詰め込まれ、さらにはみ出た部分がマクロブロック#8の後ろに詰め込まれる。こうして、各マクロブロックがシンクブロック長の固定枠に対してパッキングされる。
【0096】
各マクロブロックの長さは、ストリームコンバータ106において予め調べておくことができる。これにより、このパッキング部107では、VLCデータをデコードして内容を検査すること無く、マクロブロックのデータの最後尾を知ることができる。
【0097】
図10は、一実施形態で使用されるエラー訂正符号の一例を示し、図10Aは、ビデオデータに対するエラー訂正符号の1ECCブロックを示し、図10Bは、オーディオデータに対するエラー訂正符号の1ECCブロックを示す。図10Aにおいて、VLCデータがパッキングおよびシャフリング部107からのデータである。VLCデータの各行に対して、SYNCパターン、ID、DIDが付加され、さらに、内符号のパリティが付加されることによって、1SYNCブロックが形成される。
【0098】
すなわち、VLCデータの配列の垂直方向に整列する所定数のシンボル(バイト)から10バイトの外符号のパリティが生成され、その水平方向に整列する、ID、DIDおよびVLCデータ(または外符号のパリティ)の所定数のシンボル(バイト)から内符号のパリティが生成される。図10Aの例では、10個の外符号パリティのシンボルと、12個の内符号のパリティのシンボルとが付加される。具体的なエラー訂正符号としては、リードソロモン符号が使用される。また、図10Aにおいて、1SYNCブロック内のVLCデータの長さが異なるのは、59.94Hz、25Hz、23.976Hzのように、ビデオデータのフレーム周波数が異なるのと対応するためである。
【0099】
図10Bに示すように、オーディオデータに対する積符号もビデオデータに対するものと同様に、10シンボルの外符号のパリティおよび12シンボルの内符号のパリティを生成するものである。オーディオデータの場合は、サンプリング周波数が例えば48kHzとされ、1サンプルが16ビットに量子化される。1サンプルを他のビット数例えば24ビットに変換しても良い。上述したフレーム周波数の相違に応じて、1SYNCブロック内のオーディオデータの量が相違している。前述したように、1フィールド分のオーディオデータ/1チャンネルによって2ECCブロックが構成される。1ECCブロックには、偶数番目および奇数番目の一方のオーディオサンプルとオーディオAUXとがデータとして含まれる。
【0100】
次に、図2を用いて上述した、同期検出回路132について、さらに詳細に説明する。図11は、この発明による同期検出回路132の構成の一例を示す。この同期検出回路132は、互いにデータ長の異なるシンクブロックを、自動的に検出できるようにされており、この発明の主旨をなすものである。
【0101】
なお、以下では、この同期検出回路132では、〔L>K〕および〔2K>L〕であるような、2種類の異なるデータ長LおよびKを有するシンクブロックの検出を行うものとする。データ長LおよびKは、所定周波数のクロックのLおよびKクロック分に相当する。
【0102】
ビットシリアルである入力データが端子1に対して入力される。この入力データは、シフトレジスタL10、シフトレジスタK11、比較(L)回路12の一方の入力端、比較(K)13回路の一方の入力端およびシンク比較回路14にそれぞれ供給される。
【0103】
シフトレジスタL10およびシフトレジスタK11は、それぞれデータ長LおよびKに対応するビット長を有する。シフトレジスタL10の出力は、2L分の遅延を有するディレイライン19と、長さLの同期パターンに対応した比較(L)回路12の他方の入力端に供給される。シフトレジスタK11の出力は、長さKの同期パターンに対応した比較(K)回路13の他方の入力端に供給される。シンク比較回路14による、同期パターン検出結果と、同期パターンがどのビット位置で一致したかを示すビットシフト量情報とが比較(L)回路12および比較(K)回路13にそれぞれ供給される。
【0104】
比較(L)回路12での検出結果およびシフト量が信号CLとしてシンク検出回路15に供給される。同様に、比較(K)回路13での検出結果およびシフト量が信号CKとしてシンク検出回路15に供給される。シンク検出回路15では、信号CLあるいは信号CKに基づき、シンク情報の検出ならびホールドがなされる。ホールドされたシンク情報は、位相制御回路16で位相制御され、シンクRAM17に書き込まれる。シンクRAM17における、先頭から(2L−K)の長さに相当する位置からシンク情報が読み出され、イナーシャ回路18に供給される。
【0105】
一方、出力制御回路20には、シンクRAM17から、(3L−K)だけ遅延されたシンク情報が供給されると共に、イナーシャ回路18で生成された同期パルスが供給される。供給されたこれらのシンク情報および同期パルスに基づき、ディレイライン19に格納された入力データが読み出され、シンクブロックとして出力端21に導出される。また、イナーシャ回路18で生成された同期パルスは、出力端22にも導出される。
【0106】
次に、上述した同期検出回路132での処理について、さらに詳細に説明する。上述したように、シンクブロックは、先頭の2バイトに同期パターンが配され、3バイト目にID番号(ID0)、4バイト目に付加情報(ID1)が配される。付加情報には、このシンクブロックに格納されているデータの種別が記される。
【0107】
シンクブロックは、実際には、記録媒体から再生されたシリアルデータを単純に、8ビット毎にシリアル−パラレル変換された1バイト単位のデータを扱うため、元のシンクブロックを構成するデータに対してビットシフトされた状態で入力される。この様子を、図12に示す。入力データは、図12Aのように単純に8ビット(1オクテット)を単位として扱われる。図12Bに一例が示されるように、この入力データの区切りと元の(記録時の)データの区切りとは、必ずしも対応しておらず、各バイトのデータは、例えば図12Cに示されるように、入力データの区切りに対して、この例では3ビット、シフトしている。
【0108】
入力データと元のデータとのビットシフト量は、同期パターンの検出時に、そのデータをどれだけシフトすれば固有の同期パターンになるかによって判断される。ここでは、入力したデータ列のビットシフト量が0で、元のデータと一致しているとして説明する。この例では、入力データと、入力に対してLおよびKクロック分遅延されたデータを参照する。そして、それらのデータを、ビットシフトした値が固有の同期パターンと一致するかどうか、ID番号の連続性およびID情報の同一性を検証し、全てが適正であった場合に、同期パターンが検出されたと判断している。
【0109】
図13Aは、入力端1から入力される入力データの一例を示す。同期パターンを先頭とする各シンクブロックの長さがLで示される。この入力データが入力端1に供給され、シフトレジスタL10およびシフトレジスタK11に、それぞれ順次供給される。データが入力され続けると、シフトレジスタL10内のレジスタが図14Aのような状態となる。なお、図14A中で、SYNC(L)は、同期パターンの前半の8ビットを示し、SYNC(H)は、後半の8ビットを示す。
【0110】
入力端1からの直接的な入力データと、シフトレジスタL10の出力とが比較(L)回路12の一方および他方の入力端に供給される。例えば、比較(L)回路12の一方の入力端に供給されるデータは、図14Aの「A」の位置のデータであり、他方の入力端に供給されるデータは、「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ならびにNOR回路38を用いて調べる。この様子を、図14Bに示す。比較結果は、出力端39に導出される。
【0112】
なお、入力データは、予めシンク比較回路14で同期パターンと一致するかどうかが調べられ、その結果が比較(L)回路12および比較(K)回路13にそれぞれ通知される。シンク比較回路14では、図16に一例が示されるように、内部でラッチしている入力データに対して、各ビット位置で8ビットの同期パターンと比較する。シンク比較回路14から、比較(L)回路12および比較(K)回路13に対して、同期パターンが検出されたかどうかを示す検出結果と、同期パターンが検出された場合、その同期パターンがどのビット位置で一致したのかを示すビットシフト量とが供給される。
【0113】
このような処理を行うことによって、データ長Lの間隔で同期パターンが入力されると、比較(L)回路12では、シンク比較回路14で検出されたのと同一のビット位置で同期パターンが一致したことを検出することができる。そして、検出結果とビットシフト量とが信号CLとして出力される。これにより、図13Aに示される各シンクブロックの位置を確認することができる。
【0114】
一方、シフトレジスタK11においては、レジスタのビット長が入力されているシンクブロックのバイト数よりも短いので、上述した図14Aに示されるような状態にはならない。こちらの検出回路側で同期パターンを検出することが無い。
【0115】
同様に、データ長がKであるシンクブロックが連続的に入力されると、このときには、シフトレジスタK11および比較(K)回路13が、上述した図14Aおよび図14Bの状態となるため、同期パターンの一致を検出することができる。また、この場合、シフトレジスタL10および比較(L)回路12は、図14Aおよび図14Bの状態にならないため、こちらの検出回路側では、同期パターンが検出されることがない。
【0116】
このように、図11の回路を用いて、入力データ上に特別にデータ長の情報を持たせなくても、複数のシンクブロックを検出することができる。原理的には、検出するデータ長毎に、シフトレジスタおよび比較回路を設けることで、同時に検出することが可能なデータ長の種類を増やすことができる。
【0117】
次に、入力したデータを出力する際の、シンクブロックの先頭の位置を示す同期パルスを生成する方法について説明する。本来、この同期検出回路132で扱われるデータは、図13Aで示したように、シンクブロックが連続的に入力されるものである。しかしながら、記録ならびに伝送系の過程で生じたエラーなどのため、データの一部若しくは連続したある区間だけ消失している可能性がある。シンクブロックのデータ部分、すなわちデータパケットは、エラー訂正符号を構成しているので、このように同期パターンを含むデータの一部が欠落しても、エラー訂正ができる可能性がある。しかし、エラー訂正処理を実行させるためには、エラー訂正符号の先頭、つまりシンクブロックの先頭の位置が正しく検出されていることが必要である。
【0118】
そこで、同一セクタ内では、同じ長さのシンクブロックが連続して記録されていることを考えると、一度、特定のデータ長で同期パターンを検出したならば、その時点でのデータ長の間隔でシンクブロックが並んでいる可能性が高いと考えられる。したがって、同期パターンを検出できなくても、次に同期パターンを検出するまで、前回検出された同期パルスを出力し続けることにより、この同期パルスに基づきデータを再生することができる可能性がある。例えば、図13Cに示されるように、シンクブロック長に対応する同期パルスに基づき、図13Bの如く、シンクブロックを正しく再生することができる。
【0119】
このための手段として、一度、同期パターンを検出できたなら、出力データの先頭にタイミングを合わせて一定間隔でパルスを出力するような回路を用いる。上述したイナーシャ回路18がこの回路に相当する。
【0120】
図17は、上述のイナーシャ回路18の構成の一例を示す。この回路18は、データ長LおよびKの2種類のデータ長に対応したものである。端子50に対して、データ長をLあるいはKの何れかに決定するための、識別信号L/Kが供給される。識別信号L/Kは、例えば、同期パターンの検出をシフトレジスタ10Lを用いて行ったか、シフトレジスタK11を用いて行ったかを示す識別信号である。また、端子51に対して、同期パターンの検出のタイミングに対応した信号(スタートパルス)が供給される。
【0121】
スタートパルスは、L/Kカウンタ52のスタート端子STに供給されると共に、当初端子51側が選択されているスイッチ回路54を介して、OR回路58の一方の入力端に供給される。OR回路58の出力は、後述するカウンタ59のロード入力端に供給される。
【0122】
端子50に入力された識別信号L/Kは、L/Kカウンタ52のイネーブル端子ENに供給されると共に、スイッチ回路53の選択制御信号として用いられる。スイッチ回路53は、この識別信号L/Kの内容に応じて入力端53Aおよび53Bを選択される。入力端53Aおよび53Bの選択に応じて、カウンタ59のロードデータ端子に対して、データ長LおよびKに対応した初期値が例えば図示されないシステムコントローラから供給されロードされる。
【0123】
カウンタ59は、所定のクロックに基づき、ロードされた初期値からカウントダウンする。そして、カウント値が〔0〕になったところで、同期パルスを1クロック分、出力する。出力された同期パルスは、出力端60に導出されると共に、OR回路58の他方の入力端に供給される。同期パルスが出力されると、再度、スイッチ回路53を介して初期値がロードされ、カウントダウンが再開される。
【0124】
カウンタ59でのカウントは、OR回路58から出力されるパルスを起点として開始される。すなわち、端子51から供給されたスタートパルスか、あるいは、カウンタ59から出力される同期パルスの何れかが起点とされる。そして、カウントの途中であっても、OR回路58からのパルスが供給されれば、ロードデータ端子から初期値がロードされ、その初期値からのカウントダウンが開始される。したがって、入力データの同期パターンの検出位置が変わった場合でも、カウントの途中で初期値がロードされるので、入力データに追随した同期パルスを出力することができる。なお、スイッチ回路54は、この回路18の動作に応じて適宜選択される。スイッチ回路54の選択によっては、後述するL/Kカウンタ52から出力が起点とされる。
【0125】
図18は、データ長がLである場合の、イナーシャ回路18での動作タイミングの一例を示す。カウンタ59では、図18Aのクロックに基づきカウントダウンが行われる。例えば、タイミングAでスタートパルスと識別信号L/Kとが入力される(図18Bおよび図18C)。すると、次のクロックで、ロードデータ端子からデータ長Lに対応した初期値が入力され、初期値からのカウントダウンがなされる(図18D)。そして、カウント値が〔0〕になると(タイミングB)、スタートパルスが入力されなくても、図18Eに示されるように同期パルスが出力される。これにより、一度スタートされると、一定間隔で同期パルスを出力することができる。
【0126】
また、タイミングCのように、カウンタ59によるカウントダウンの途中でスタートパルスが入力されると、その時点で初期値がロードされる。さらに、タイミングDのように、カウント値が〔0〕になるのとスタートパルスの入力とが同時でも、上述のタイミングBと同様に、その時点で初期値がロードされる。
【0127】
このように、スタートパルスが入力されてからLクロック後に、同期パルスが出力される。一方、データ長がKの場合でも、イナーシャ回路18内で(L−K)クロック分のディレイが調整され(後述する)、その後、カウンタ59でのカウントダウンが開始される。そのため、出力データ(シンクブロック)を出力するのに際して、Lクロック分だけ遅延させる必要がある。この出力データの遅延は、図11におけるディレイライン19内の、ディレイ19Bを用いて行われる。
【0128】
次に、同期パターンの検出結果をイナーシャ回路18に伝達する方法について、図19〜図21を用いて説明する。先ず、図20を用いて、データ長がLの場合について説明する。図19は、タイミングAが最も新しい時間に入力された同期パターンを示し、入力端子1に対して同期パターンがD、C、BおよびAの順番で入力されることが示される。なお、A、B、CおよびDそれぞれのタイミングで入力された同期パターンに対応したシンクブロックを、それぞれシンクブロックA、B、CおよびDと称する。
【0129】
図19のAおよびBのタイミングで同期パターンが検出された場合、シフトレジスタL10およびディレイライン19には、それぞれ図20に示されるように、各データが格納される。すなわち、シンクブロックCがディレイライン19中のディレイ19Bに格納され、シンクブロックBがディレイ19Aに格納される。一方、シンクブロックAは、シフトレジスタL10に格納されている。
【0130】
シンクブロックBに対してイナーシャ回路18をスタートさせなければいけない。このシンクブロックBの先頭に相当するシンクRAM17上の格納位置は、シンクRAM17の先頭から(L−K)分進んだ位置、すなわち、(シンクRAM17の最終出力位置から2L遡った位置である。このシンクRAM17には、各シンクブロックの対応する位置に、そのシンクブロックの、同期パターンの検出情報、シンクブロック長およびビットシフト量が格納される。最終出力位置からLクロック前の格納位置から、イナーシャ回路18に対して同期パターンの検出情報が出力される。同期パターン検出情報は、例えば識別信号L/Kである。
【0131】
図21は、データ長がKの場合の例である。この場合も、上述のデータ長がLの場合と動作は同様にしてなされる。このデータ長がKの場合には、シンクブロックBに対して、同期パターン検出情報をシンクRAM17の先頭、すなわち、最終出力位置から(3L−K)だけ遡った位置である。したがって、ディレイライン19中のシンクブロックBのタイミングと、シンクRAM17中の対応するデータのタイミングとは、同タイミングとされる。
【0132】
ここで、シンクRAM17からのイナーシャ回路18へのデータの出力位置は、シンクブロック長がLかKかに関わらず、シンクRAM17の最終出力位置からLクロック前の位置で読み出している。一方、シンクブロック長がKの場合には、イナーシャ回路18でもKクロック周期の同期パルスを出力するため、このままでは、同期パルスの出力と、ディレイライン19中のシンクブロックデータとの出力位相が(L−K)クロック分、ずれてしまうことになる。
【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から入力されスタート端子STに供給される、スタートパルスによって起動される。起動されると、(L−K)からカウントダウンが開始され、カウント値が〔0〕になると、1クロック分のパルスが出力される。
【0134】
スイッチ回路54は、シンクRAM17のイナーシャ回路18への出力がシンクブロック長Kであるときに、L/Kカウンタ52の出力を選択するように切り替えられる。出力されたパルスは、スイッチ回路54およびOR回路58を介して、カウンタ59のロード端子に供給される。これにより、カウンタ59では、ロードデータ端子から初期値が読み込まれ、カウントダウンが再開される。このように、L/Kカウンタ52でカウンタ59での再カウントを遅延させることにより、イナーシャ回路18の同期パルス出力と、ディレイライン19およびシンクRAM17の出力のタイミングが合うように調整される。
【0135】
シンクRAM17への書き込みは、位相制御回路16によって制御される。比較(L)回路12あるいは比較(K)回路13からシンク検出回路15に対して、同期パターンの検出結果が供給され検出報告がなされると、シンク検出回路15では、その報告に基づき、同期パターンの検出タイミング、すなわち、比較(L)回路12および比較(K)回路13の何方から検出報告があったかの情報を、位相制御回路16に供給する。
【0136】
位相制御回路16では、この情報に基づき、シンクRAM17への書き込みアドレスを求めると共に、シンクRAM17に対して書き込むデータを作成する。シンクRAM17へは、上述したように、シンク検出フラグブロック長情報(L/K)およびビットシフト量が書き込まれる。それらが位相制御回路16で作成される。また、シンクRAM17に対する書き込みアドレスは、図20および図21を用いて説明したように、イナーシャ回路18による処理を開始させるシンクブロックBが、データ長がKの場合にはシンクRAM17の先頭から書き込まれ、データ長がLの場合には、シンクRAM17の先頭から(L−K)クロック分遅延された位置から書き込まれる。
【0137】
なお、データ列の記録媒体への記録時に、予め、データ長とシンクブロックを識別するための識別情報を、シンクブロックのデータ中に格納しておくことができる。こうすることで、再生時に、検出したデータ長と、シンクブロック種別の妥当性をのチェックを行い、後段のアプリケーションソフトウェアで誤った処理を行うことを防ぐことができる。
【0138】
この適用例としては、ビデオデータとオーディオデータのシンクブロック長を予め決めておき、ID情報(ID1)の中の、オーディオ/ビデオを示すフラグと、検出されたシンクブロックのデータ長との関係が一致したときのみ、正しい同期パターンが検出されたと見做すという処理が考えられる。
【0139】
このような識別情報として、例えば、シンクブロック中のID1、DIDおよび長さ情報LTを用いることができる。
【0140】
この一実施形態では、シンク検出回路15において、このチェックが行われる。すなわち、このチェックにより不当であると判断された場合には、同期パターンが検出されなかったとして処理され、位相制御回路16への上述の報告を行わないようにする。
【0141】
シンク検出情報は、出力データへ反映される。すなわち、最終出力段である出力制御回路20では、イナーシャ回路18出力と、同期パターンの検出情報に基づき、ディレイライン19からの出力データを、ビットシフト量だけシフトさせ、元のデータの1バイト単位に復元する。
【0142】
図22は、出力制御回路20から出力されるデータの例を示す。この例では、データ長Lが〔6〕とされている。図22Aのクロックに基づき全体的な動作が行われる。端子1からの入力データは、データ長が〔6〕のシンクブロックAに続いて、データ長が〔4〕に相当するデータギャップとなる。続けて、データ長が(6)のシンクブロックCが入力される。このように、入力データから同期パターンが検出され、カウンタ59により、データ長Lからカウントダウンされる。カウント値が〔0〕になると、同期パルスが生成され、データが出力される。データ長が〔6〕のままで、データ長の異なる(L>)データギャップが入力されても、次に正常なシンクブロックCが入力されると、カウント値が〔0〕になる前にデータ長Lに対応する値からカウントダウンが開始される。これにより、シンクブロックしは、正常に出力される。
【0143】
なお、上述では、データ長がLおよびKの間隔での同期パターンの参照を行っているが、これはこの例に限定されない。すなわち、同様の処理で、L,2,3,・・・,nL、K,2K,3K,・・・,mKの間隔で、同期パターンの参照を行うことも、可能である。
【0144】
また、上述では、この記録媒体として磁気テープを用いるようにしているが、これはこの例に限定されない。この発明は、例えば、ハードディスクや光磁気ディスクなどの、ディスク状記録媒体に適用することが可能である。また、記録媒体だけでなく、ネットワークなどの通信を介して伝送されたデータに対しても適用可能である。
【0145】
【発明の効果】
以上説明したように、この発明によれば、複数の長さのシンクブロックから構成されるディジタルデータ列から、各シンクブロックの位相を検出する際に、検出するブロック長の切り替え信号などを外部から入力する必要が無いので、再生装置のシステム構成を簡単にすることができるという効果がある。
【0146】
また、この一実施形態によれば、入力された異なるシンクブロック長の差分に基づき、データの出力を制御しているため、シンクブロック長が切り替わる点で、データが消失しないように処理することができる効果がある。
【図面の簡単な説明】
【図1】この発明の一実施形態の記録側の構成を示すブロック図である。
【図2】この発明の一実施形態の再生側の構成を示すブロック図である。
【図3】トラックフォーマットの一例を示す略線図である。
【図4】トラックフォーマットの他の例を示す略線図である。
【図5】シンクブロックの構成の複数の例を示す略線図である。
【図6】シンクブロックに付加されるIDおよびDIDの内容を示す略線図である。
【図7】ビデオエンコーダの出力の方法と可変長符号化を説明するための略線図である。
【図8】ビデオエンコーダの出力の順序の並び替えを説明するための略線図である。
【図9】順序の並び替えられたデータをシンクブロックにパッキングする処理を説明するための略線図である。
【図10】ビデオデータおよびオーディオデータに対するエラー訂正符号を説明するための略線図である。
【図11】この発明による同期検出回路の構成の一例を示すブロック図である。
【図12】入力データのビットシフトを説明するための略線図である。
【図13】入力データならびに同期パルスを説明するための略線図である。
【図14】シフトレジスタを用いたシンク検出を説明するための略線図である。
【図15】比較(L)回路および比較(K)回路の構成の一例を示すブロック図である。
【図16】シンク比較回路での同期パターン検出を説明するための略線図である。
【図17】この発明によるイナーシャ回路の構成の一例を示すブロック図である。
【図18】イナーシャ回路での動作タイミングの一例を示すタイミングチャートである。
【図19】同期パターンの検出結果をイナーシャ回路に伝達する方法を説明するための略線図である。
【図20】同期パターンの検出結果をイナーシャ回路に伝達する方法を説明するための略線図である。
【図21】同期パターンの検出結果をイナーシャ回路に伝達する方法を説明するための略線図である。
【図22】出力制御回路から出力されるデータの例を示すタイミングチャートである。
【図23】トラック上の各セクタの配置の一例を概略的に示す略線図である。
【図24】従来技術によるシンク検出回路の構成の一例を示すブロック図である。
【符号の説明】
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・・・出力部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a synchronization detection apparatus and method for detecting a synchronization pattern from at least two data blocks having different data lengths reproduced from a recording medium, and a reproduction apparatus.
[0002]
[Prior art]
In recent years, a magnetic tape is used as a recording medium, and a digital video tape recorder that records and reproduces a digital video signal and a digital audio signal is becoming widespread.
[0003]
In such an apparatus, digital video data and digital audio data are stored in units of packets of a predetermined length, and a synchronization pattern for synchronization detection, a block ID for identifying each packet, and data contents are stored in each packet. The sync block is configured by adding the ID to be represented and the parity for error correction. The sync blocks are grouped according to the type of data into sectors, and are recorded on the magnetic tape as serial data in units of sectors. Recording is performed by a helical scan method in which tracks are formed obliquely on a magnetic tape by a rotary head.
[0004]
Further, at the time of recording, the lengths of the sync blocks in the same sector are made the same, the block IDs are continuous, and the IDs representing the data contents are the same values.
[0005]
FIG. 23 schematically shows an example of the arrangement of each sector on the 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, since audio signals for eight channels from Ch1 to Ch8 can be handled, eight audio sectors A1 to A8 are arranged.
[0006]
Between each sector, an edit gap (EG) in which no audio data is recorded is arranged so that, for example, insert editing can be performed in units of sectors of the audio signal. A preamble is provided at the head of the track. In the preamble, a signal for easily locking the reproduction clock PLL, 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]
At the time of reproduction, a track on the magnetic tape is traced by the rotary head, and a reproduction signal is obtained. The edge of the signal in the preamble portion of the reproduced signal is detected, and the reproduced clock PLL is locked using the edge interval. Then, the sync pattern is detected from the playback bit string synchronized with the playback clock from the playback signal by the sync detection circuit, and the head position of each sync block is detected. Then, the detected packets in the sync block are rearranged according to the block ID number and the data content ID, and the original data string is decoded. That is, by using the fact that the sync block head sync pattern bit string and appearance period, and the block ID numbers are continuous in the same sector and the ID representing the data contents are the same, the phase of the sync block is Identified.
[0008]
For example, when the sync pattern bit string matches the unique pattern and the same pattern is detected at a position delayed by the sync block length, and the block ID number is appropriate, the sync block phase is specified. .
[0009]
Here, consider a case where an error occurs in the data string when the data string is decoded. Here, it is assumed that the bit interval of the data string is always the same and only a random error is added. In this case, since the bit interval between the synchronization patterns is always the same within the same sector, if synchronization can be detected at the head of the sector, then flywheel processing is performed based on the block length, so that the head of the subsequent synchronization block is The phase can be specified. Therefore, in this case, it is only necessary to ensure a sufficient synchronization detection probability at the head position of the sector.
[0010]
The flywheel process is a process for generating a synchronization signal following the previously detected synchronization, and is realized by an inertia circuit.
[0011]
[Problems to be solved by the invention]
An actual digital video tape recorder handles two types of data, video and audio. For example, in order to store and handle two types of data with different data amounts per video editing unit in one type of sync block, insert a redundant part into one of the data lengths. To match.
[0012]
For example, considering the PAL / SECAM format used in European countries, the number of audio data samples in one field with a period of 50 Hz is 910 samples when the sampling frequency is 48 KHz (one sample). Is 24 bits + control bits). When trying to fit this in a sync block with a block length L that matches the number of video data,
910 samples × (24 bits + control bits) = L × n (1)
It becomes. However, n is an integer. Therefore, if the number of bytes of audio data is an integral multiple of L, there is no useless recording area and efficiency is improved.
[0013]
On the other hand, the optimum sync block length of video data is determined by the total amount of data, the minimum number of image blocks that are units 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 stored data. If there is no optimum sync block length combination for both audio data and video data, either sync block length is If redundant data is not inserted, the length cannot be made the same, resulting in poor efficiency.
[0014]
Therefore, if the sync block for storing the audio data and the video data has a recording format in which the optimum length is selected, the recording efficiency can be increased. That is, sync blocks having different lengths are mixed in one recording format.
[0015]
As described above, at the time of reproduction, it is necessary to detect the synchronization pattern by the sync detection circuit and cut out the sync block. FIG. 24 shows an example of the configuration of a sync detection circuit according to the prior 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 also supplied 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]
The data string output from the delay 301 is delayed by 2L via the delay line 303 and supplied to the variable shifter 305.
[0017]
The input data is also supplied to the sync comparison circuit 302 and latched therein. Then, the latched input data is compared with a synchronization pattern consisting of 8 bits at each bit position. As a comparison result, a detection result of the synchronization pattern and a bit shift amount indicating at which bit position the pattern matches are supplied to the comparison circuit 304. The comparison circuit 304 detects the 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. The validity of the sync block is determined, and the phase of the sync block is specified.
[0018]
Based on the sync block phase information obtained by the comparison circuit 304, the sync position correction information is generated by the sync position correction circuit 306. 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 data string supplied to the variable shifter 305 via the delay line 303 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, the output data is derived to the output terminal 308. Further, the synchronization pulse generated by the inertia circuit 307 is also derived to the terminal 309.
[0019]
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 having different lengths are included 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 cannot handle a data string having a plurality of data lengths.
[0020]
As a method of processing a data string having a plurality of sync block lengths by a sync detection circuit that can handle only one type of sync pattern interval, a control signal for switching the sync block length to be detected corresponding to the input data string is used. It is possible. For example, the switching timing can be generated from the position information of the reproducing head for the position of the audio and video sectors on the track.
[0021]
However, this method has a problem that, for example, in a reproduction system that requires a high data rate and a large number of reproduction heads, it is necessary to generate a control signal corresponding to each reproduction head.
[0022]
Also, in a system in which playback is performed at a tape speed different from that at the time of recording, and the rotational speed of the rotary head is controlled during variable speed playback, the switching timing changes dynamically, and the control signal is generated. There was a problem that this was the case.
[0023]
Further, as in the configuration according to the prior art of FIG. 24, in the circuit in which the processing is delayed by 3L as a whole, the detection block length is instantaneously switched from L to K shorter than L using the control signal in this state. In this case, there is a problem that data of a length of (3L-K) 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 3 L worth of data exists on all delays.
[0024]
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a synchronization detection device and method, and a playback device that can automatically detect data blocks of different lengths mixed in a data string.
[0025]
[Means for Solving the Problems]
In order to solve the above-described problem, the present invention provides a synchronization detection apparatus for detecting synchronization of at least two data blocks having different data lengths having a synchronization pattern for detecting synchronization, and for synchronizing the input data with the synchronization pattern A length corresponding to the first data length L, in which the input data is sequentially stored every predetermined unit length, and the stored data is output from the oldest order every predetermined unit length. Whether the data inputted to the first memory means and the data outputted from the first memory means both coincide with the synchronization pattern based on the first memory means and the detection result of the pattern detecting means. Input data is input simultaneously with the first comparing means to be detected and the first memory means, and the input data is sequentially stored for each predetermined length unit. Data corresponding to a second data length K that is shorter than the first data length L and is not an integer multiple of the first data length L. Based on the detection result of the second memory means and the pattern detection means, it is detected whether the data inputted to the second memory means and the data outputted from the second memory means both coincide with the synchronization pattern. And a second comparison means, and a synchronization detection is performed when a synchronization pattern match is detected in either one of the first comparison means and the second comparison means. It is.
[0026]
The present invention also provides a reproducing apparatus for reproducing at least two different data length data blocks having a synchronization pattern for detecting synchronization recorded on a recording medium, with respect to reproduced data reproduced from the recording medium. A synchronization pattern detecting means for detecting the synchronization pattern and storing the reproduction data in order for each predetermined unit length and outputting the stored data in order from the oldest for each predetermined unit length. Based on the detection result of the corresponding first memory means and the pattern detection means, the data input to the first memory means and the data output from the first memory means both match the synchronization pattern. The reproduction data is input simultaneously with the first comparison means for detecting whether or not and the first memory means, and the reproduction data is sequentially stored for each predetermined length unit. Corresponding to a second data length K that is shorter than the first data length L and that is not in an integral multiple relationship with the first data length L, the stored data is output in order from the oldest for every predetermined unit length. Whether the data input to the second memory means and the data output from the second memory means match the synchronization pattern based on the length of the second memory means and the detection result of the pattern detection means If the coincidence of the synchronization pattern is detected in any one of the second comparison means for detecting the first comparison means, and the first comparison means and the second comparison means, it is assumed that synchronization detection has been made, A reproducing apparatus comprising: output means for outputting data block units each having a data length corresponding to the one of the comparison means and the second comparison means for which the synchronization pattern match is detected.
[0027]
The present invention also provides 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 of the length corresponding to the first data length L From the first data length L, a step of sequentially storing input data for each predetermined unit length and outputting data stored in the first memory from the oldest order for each predetermined unit length. Input data is input simultaneously with the first memory to the second memory having a length corresponding to the second data length K that is short and has no integer multiple relationship with the first data length L. A step of sequentially storing data in units of a predetermined length and outputting data stored in the second memory from an old order in units of a predetermined unit length, and performing synchronization pattern detection on input data First detecting whether the data input to the first memory and the data output from the first memory both match the synchronization pattern based on the detection result of the turn detection step and the pattern detection step The second step of detecting whether the data input to the second memory and the data output from the second memory both match the synchronization pattern based on the detection results of the comparison step and the pattern detection step The synchronization detection is characterized in that the synchronization detection is performed when a synchronization pattern match is detected in any one of the first comparison step and the second comparison step. Is the method.
[0028]
As described above, according to the present invention, data is input to the first and second memory means having lengths corresponding to the first and second data lengths L and K, respectively. For each of the memory means, the input data and the output data are compared, and the synchronization detection is made when either of the first and second memory means detects a synchronization pattern for both input and output. Therefore, synchronization detection can be automatically performed for at least two different data lengths.
[0029]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment in which the present invention is applied to a digital video tape recorder will be described. This embodiment is suitable for use in a broadcast station environment, and enables recording / playback of video signals in a plurality of different formats. For example, both signals with 480 effective lines (480i signal) in interlaced scanning based on the NTSC system and signals with 576 effective lines (576i signal) in interlaced scanning based on the PAL system are almost hard. It is possible to record and play back without changing the wear. Furthermore, signals with 1080 lines (1080i signal) in interlaced scanning and signals with 480 lines, 720 lines, and 1080 lines in progressive scanning (non-interlaced) (480p signal, 720p signal, 1080p signal), respectively. Recording / playback can be performed.
[0030]
In this embodiment, the video signal signal is compression-encoded based on the MPEG2 system, and the audio signal is handled uncompressed. As is well known, MPEG2 is a combination of motion compensation predictive coding and compression coding by DCT. The data structure of MPEG2 has a hierarchical structure, and from the lower order is a block layer, a macroblock layer, a slice layer, a picture layer, a GOP layer, and a sequence layer.
[0031]
The block layer is composed of DCT blocks that are units for performing DCT. The macroblock layer is composed of a plurality of DCT blocks. The slice layer is composed of a header part and an arbitrary number of macroblocks that do not extend between rows. The picture layer is composed of a header part and a plurality of slices. A picture corresponds to one screen. The GOP (Group Of Picture) layer is composed of a header part, an I picture that is a picture based on intra-frame coding, and a P and B picture that are pictures based on predictive coding.
[0032]
An I picture (Intra-coded picture) uses information that is closed only in one picture when it is encoded. Therefore, at the time of decoding, it can be decoded only with 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 that is temporally previous as a predicted picture (an image that serves as a reference for obtaining a difference). . Whether the difference from the motion compensated predicted image is encoded or encoded without taking the difference is selected in units of macroblocks. A B picture (Bidirectionally predictive-coded picture) is a previously decoded I picture or P picture that is temporally previous, as a predicted picture (a reference picture for obtaining a difference). Three types of I pictures or P pictures that have already been decoded and interpolated pictures made from both are used. Among the three types of motion-compensated difference encoding and intra-encoding, the most efficient one is selected for each macroblock.
[0033]
Therefore, macroblock types include intra-frame (Intra) macroblocks, forward (Foward) inter-frame prediction macroblocks that predict the future from the past, and backward (Backward) frames that predict the past from the future. There are prediction macroblocks and bidirectional macroblocks that predict from both the front and rear directions. All macroblocks in an I picture are intraframe coded macroblocks. Further, the P picture includes an intra-frame encoded macro block and a forward inter-frame prediction macro block. The B picture includes all the four types of macroblocks described above.
[0034]
A GOP includes at least one I picture, and P and B pictures are allowed even if they do not exist. The uppermost sequence layer includes a header part and a plurality of GOPs.
[0035]
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 the variable-length code is decoded.
[0036]
In addition, an identification code (referred to as a start code) having a predetermined bit pattern arranged in units of bytes is arranged at the heads of the sequence layer, GOP layer, picture layer, slice layer, and macroblock layer. . In addition, the header part of each layer mentioned above describes a header, extension data, or user data collectively. In the header of the sequence layer, the size (number of vertical and horizontal pixels) of the image (picture) is described. In the GOP layer header, a time code, the number of pictures constituting the GOP, and the like are described.
[0037]
The macroblock included in the slice layer is a set of a plurality of DCT blocks, and the coded sequence of the DCT block is a sequence of quantized DCT coefficients, the number of consecutive 0 coefficients (run), and the non-zero sequence immediately thereafter. (Level) is variable length encoded as one unit. Identification codes arranged in byte units are not added to the macroblock and the DCT block in the macroblock. That is, these are not one variable length code sequence.
[0038]
The macro block is obtained by dividing a screen (picture) into a grid of 16 pixels × 16 lines. The slice is formed by, for example, connecting the macro blocks in the horizontal direction. The last macroblock of the previous slice and the first macroblock of the next slice are continuous, and it is not allowed to form macroblock overlap between slices. When the screen size is determined, the number of macro blocks per screen is uniquely determined.
[0039]
On the other hand, in order to avoid signal degradation due to decoding and encoding, it is desirable to edit on the encoded data. At this time, the P picture and the B picture require the temporally previous picture or the previous and subsequent pictures for decoding. For this reason, 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]
Further, for example, a recording area in which recording data for one frame is recorded is a predetermined one. Since MPEG2 uses variable length coding, the amount of data generated for one frame is controlled so that data generated in one frame period can be recorded in a predetermined recording area. Further, in this embodiment, one slice is composed of one macro block and one macro block is applied to a fixed frame having a predetermined length so as to be suitable for recording on a magnetic tape.
[0041]
FIG. 1 shows an example of the configuration of the recording side of the recording / reproducing apparatus according to this embodiment. At the time of recording, a digital video signal is input from the terminal 101 via a receiving unit of a predetermined interface, for example, SDI (Serial Data Interface). SDI is an interface defined by SMPTE for transmitting (4: 2: 2) component video signals, digital audio signals and additional data. The input video signal is subjected to DCT (Discrete Cosine Transform) processing in the video encoder 102, converted into coefficient data, and the coefficient data is variable-length encoded. The variable length coding (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]
On the other hand, SDTI (Serial Data Transport Interface) format data, which is an interface defined by ANSI / SMPTE 305M, is input through the input terminal 104. This signal is synchronously detected by the SDTI receiving unit 105. Then, 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]
The elementary stream selected and output by the selector 103 is supplied to the stream converter 106. In the stream converter 106, the DCT coefficients arranged for each DCT block based on the MPEG2 regulations are collected for each frequency component through a plurality of DCT blocks constituting one macro block, and the collected frequency components are rearranged. The rearranged converted elementary streams are supplied to the packing and shuffling unit 107.
[0044]
Since the video data of the elementary stream is variable-length encoded, the data lengths of the macroblocks are not uniform. In the packing and shuffling unit 107, macroblocks are packed in a fixed frame. At this time, the portion that protrudes from the fixed frame is sequentially packed into the remaining portion with respect to the size of the fixed frame. In addition, system data such as a time code is supplied from the input terminal 108 to the packing and shuffling unit 107, and the system data is subjected to a recording process in the same manner as picture data. Further, shuffling is performed in which the macroblocks of one frame generated in the scanning order are rearranged to distribute the recording positions of the macroblocks on the tape. By shuffling, the image update rate can be improved even when data is reproduced piecewise during variable speed reproduction.
[0045]
Video data and system data from the packing and shuffling unit 107 (hereinafter, unless otherwise required, system data is also simply referred to as video data) is supplied to the outer code encoder 109. A product code is used as an error correction code for video data and audio data. In the product code, the outer code is encoded in the vertical direction of the two-dimensional array of video data or audio data, the inner code is encoded in the horizontal direction, and the data symbols are encoded doubly. As the outer code and the inner code, a Reed-Solomon code can be used.
[0046]
The output of the outer code encoder 109 is supplied to the shuffling unit 110, and shuffling is performed in which the order is changed in units of sync blocks over a plurality of ECC (Error Correctig Code) blocks. Shuffling in sync block units prevents errors from concentrating on a specific ECC block. The shuffling performed by the shuffling unit 110 may be referred to as interleaving. The output of the shuffling unit 110 is supplied to the mixing unit 111 and mixed with the audio data. Note that the mixing unit 111 includes a main memory as will be described later.
[0047]
Audio data is supplied from an input terminal 112. In this embodiment, uncompressed digital audio signals are handled. The digital audio signal is separated by an input side SDI receiving unit (not shown) or SDTI receiving unit 105, or input via an audio interface. The input digital audio signal is supplied to the AUX adding unit 114 via the delay unit 113. 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 a sampling frequency of the audio data. The audio AUX is added to the audio data by the AUX adding unit 114 and is handled in the same way as the audio data.
[0048]
Audio data and AUX from the AUX adding unit 114 (hereinafter referred to simply as audio data including AUX unless otherwise required) are supplied to the outer code encoder 116. The outer code encoder 116 encodes audio data with an outer code. The output of the outer code encoder 116 is supplied to the shuffling unit 117 and subjected to shuffling processing. As audio shuffling, shuffling in sync blocks and shuffling in channels are performed.
[0049]
The output of the shuffling unit 117 is supplied to the mixing unit 111, and the video data and the audio data are converted into one channel data. The output of the mixing unit 111 is supplied to the ID adding unit 118, and the ID adding unit 118 adds an ID having information indicating a sync block number. The output of the ID adding unit 118 is supplied to 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 unit 120, and a synchronization signal for each sync block is added. Recording data with continuous sync blocks is configured by adding a synchronization signal. This recording data is supplied to the rotary head 122 via the recording amplifier 121 and recorded on the magnetic tape 123. The rotary head 122 is actually a magnetic head in which a plurality of magnetic heads having different azimuths forming adjacent tracks are attached to a rotary drum.
[0050]
You may perform a scramble process with respect to recording data as needed. Also, digital modulation may be performed during recording, and partial response class 4 and Viterbi code may be used.
[0051]
FIG. 2 shows an example of the configuration on the reproduction side of one embodiment of the present invention. A reproduction signal reproduced by the rotary head 122 from the magnetic tape 123 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 detector 132 detects a synchronization signal added to the head of the sync block. A sync block is cut out by synchronization detection.
[0052]
The output of the synchronization detection circuit 132 is supplied to the inner code encoder 133, and error correction of the inner code is performed. The output of the inner code encoder 133 is supplied to the ID interpolation unit 134, and the ID of the sync block in which an error has occurred due to the inner code, for example, the sync block number is interpolated. The output of the ID interpolation unit 134 is supplied to the separation unit 135, and 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 means PCM (Pulse Code Modulation) data and AUX.
[0053]
The video data from the separation unit 135 is processed in the deshuffling unit 136 in the reverse manner to the shuffling. The deshuffling unit 136 performs a process of restoring the sync block unit shuffling performed by the recording-side shuffling unit 110. The output of the deshuffling unit 136 is supplied to the outer code decoder 137, and error correction using the outer code is performed. When an error that cannot be corrected occurs, an error flag indicating the presence or absence of an error indicates that there is an error.
[0054]
The output of the outer code decoder 137 is supplied to the deshuffling and depacking unit 138. The deshuffling and depacking unit 138 performs processing for restoring the macroblock unit shuffling performed by the recording side packing and shuffling unit 107. The deshuffling and depacking unit 138 disassembles the packing applied during recording. That is, the original variable length code is restored by returning the data length in units of macroblocks. Further, in the deshuffling and depacking unit 138, the system data is separated and taken out to the output terminal 139.
[0055]
The output of the deshuffling and depacking unit 138 is supplied to the interpolation unit 140, and the data in which the error flag is set (that is, there is an error) is corrected. That is, if there is an error in the middle of the macroblock data before conversion, the DCT coefficient of the frequency component 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 frequency components thereafter are set to zero. Similarly, during high-speed reproduction, only DCT coefficients up to the length corresponding to the sync block length are restored, and the subsequent coefficients are replaced with zero data. Further, the interpolation unit 140 performs processing for recovering the header (sequence header, GOP header, picture header, user data, etc.) when the header added to the head of the video data is an error.
[0056]
Since the DCT coefficients are arranged from the DC component and the low-frequency component to the high-frequency component across the DCT block, a macroblock is configured even if the DCT coefficient is ignored from a certain point in this way. For each DCT block, DCT coefficients from DC and low frequency components can be distributed evenly.
[0057]
The output of the interpolation unit 140 is supplied to the stream converter 141. The stream converter 141 performs the reverse process of the stream converter 106 on the recording side. That is, the DCT coefficients arranged for each frequency component across DCT blocks are rearranged for each DCT block. As a result, the reproduction signal is converted into an elementary stream compliant with MPEG2.
[0058]
As for the input / output of the stream converter 141, as in the recording side, a sufficient transfer rate (bandwidth) is secured according to the maximum length of the macroblock. When the length of the macroblock is not limited, it is preferable to secure a bandwidth that is three times the pixel rate.
[0059]
The output of the stream converter 141 is supplied to the video decoder 142. The 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. Decoded video data is extracted to the output terminal 143. For example, SDI is used as an interface with the outside. Further, the elementary stream from the stream converter 141 is supplied to the SDTI transmission unit 144. Although the route is not shown in the SDTI transmission unit 144, system data, reproduction audio data, and AUX are also supplied and converted into a stream having a data structure of the SDTI format. A stream from the SDTI transmission unit 144 is output to the outside through the output terminal 145.
[0060]
The audio data separated by the separation unit 135 is supplied to the deshuffling unit 151. The deshuffling unit 151 performs a process reverse to that 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 using the outer code is performed. From the outer code decoder 152, error-corrected audio data is output. For data with errors that cannot be corrected, an error flag is set.
[0061]
The output of the outer code decoder 152 is supplied to the AUX separation unit 153, and the audio AUX is separated. The separated audio AUX is taken out to the output terminal 154. Audio data is supplied to the interpolation unit 155. The interpolation unit 155 interpolates samples with errors. As an interpolation method, average value interpolation for interpolating with the average value of correct data before and after time, pre-value hold for holding the value of the previous correct sample, and the like can be used. The output of the interpolation unit 155 is supplied to the output unit 156. The output unit 156 performs a mute process for prohibiting output of an audio signal that is an error and cannot be interpolated, and a delay amount adjustment process for time alignment with the video signal. A reproduced audio signal is extracted from the output unit 156 to the output terminal 157.
[0062]
Although omitted in FIGS. 1 and 2, a timing generator for generating a timing signal synchronized with input data, a system controller (microcomputer) for controlling the overall operation of the recording / reproducing apparatus, and the like are provided. .
[0063]
In this embodiment, the signal recording on the magnetic tape is performed by a helical scan method in which an oblique track is formed by a magnetic head provided on a rotating rotary head. A plurality of magnetic heads are provided on the rotary drum at positions facing each other. That is, when the magnetic tape is wound around the rotary head with a winding angle of about 180 °, a plurality of tracks can be simultaneously formed by rotating the rotary head at 180 °. Further, two magnetic heads having different azimuths are used as one set. The plurality of magnetic heads are arranged so that adjacent tracks have different azimuths.
[0064]
FIG. 3 shows an example of a track format formed on the magnetic tape by the rotary head described above. This is an example in which video and audio data per frame are recorded in 8 tracks. For example, an interlace signal (480i signal) and an audio signal having a frame frequency of 29.97 Hz, a rate of 50 Mbps, an effective line number of 480, and an effective horizontal pixel number of 720 pixels are recorded. Further, an interlace signal (576i signal) and an audio signal having a frame frequency of 25 Hz, a rate of 50 Mbps, an effective line number of 576, and an effective horizontal pixel number of 720 pixels can be recorded in the same tape format as in FIG.
[0065]
One segment is composed of two tracks of different azimuths. That is, 8 tracks are composed of 4 segments. A track number [0] and a track number [1] corresponding to azimuth are assigned to a set of tracks constituting a segment. In the example shown in FIG. 3, the track numbers are interchanged between the first 8 tracks and the second 8 tracks, and different track sequences are attached to each frame. As a result, even if one of the pair of magnetic heads having different azimuths becomes unreadable due to clogging, for example, the influence of the error can be reduced using the data of the previous frame.
[0066]
In each of the tracks, a video sector in which video data is recorded is disposed on both ends, and an audio sector in which audio data is recorded is disposed between the video sectors. FIG. 3 and FIG. 4 described later show the arrangement of audio sectors on the tape.
[0067]
In the track format shown in FIG. 3, 8-channel audio data can be handled. A1 to A8 indicate sectors 1 to 8ch of audio data, respectively. Audio data is recorded by changing the arrangement in segment units. Audio data is divided into even-numbered samples and odd-numbered samples of 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 samples or 801 samples). Each sample group and AUX constitute one ECC block of product codes.
[0068]
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. Data of two ECC blocks (including outer code parity) are divided into four sectors, and are distributed and recorded on four tracks as shown in FIG. A plurality of sync blocks included in two ECC blocks are shuffled. For example, a 2 ECC block of channel 1 is configured by 4 sectors to which a reference number of A1 is attached.
[0069]
In this example, video data for 4 ECC blocks is shuffled (interleaved) with respect to one track, and is divided into each sector by Upper Side and Lower Side and recorded. A system area is provided at a predetermined position in the video sector of the Lower Side.
[0070]
In FIG. 3, SAT1 (Tr) and SAT2 (Tm) are areas in which servo lock signals are recorded. In addition, gaps (Vg1, Sg1, Ag, Sg2, Sg3, and Vg2) having a predetermined size are provided between the recording areas.
[0071]
FIG. 3 shows an example in which data per frame is recorded in 8 tracks, but data per frame can be recorded in 4 tracks, 6 tracks, etc. depending on the format of data to be recorded and reproduced. FIG. 4A shows a format in which one frame has 6 tracks. In this example, the track sequence is only [0].
[0072]
As shown in FIG. 4B, the data recorded on the tape is composed of a plurality of blocks called “sink blocks” divided at equal intervals. FIG. 4C schematically shows the configuration of the sync block. As will be described in detail later, 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 handled as a packet in sync block units. That is, the smallest data unit to be recorded or reproduced is one sync block. A large number of sync blocks are arranged (FIG. 4B) to form, for example, a video sector (FIG. 4A).
[0073]
FIG. 5 more specifically shows the data structure of the sync block of video data, which is the minimum unit of recording / reproduction. In this embodiment, data of one or two macroblocks (VLC data) is stored in one sync block according to the format of video data to be recorded, and the size of one sync block is The length is changed according to the format of the video signal to be handled. As shown in FIG. 5A, one sync block is composed of a 2-byte SYNC pattern, 2-byte ID, 1-byte DID, for example, a data area variably defined between 112 bytes and 206 bytes, and 12 bytes from the top. Consists of byte parity (internal code parity). The data area is also called a payload.
[0074]
The first 2-byte SYNC pattern is for synchronization detection and has a predetermined bit pattern. Synchronization detection is performed by detecting a SYNC pattern that matches a unique pattern.
[0075]
FIG. 6A shows an example of bit assignments of ID0 and ID1. The ID has important information inherent to the sync block, and 2 bytes (ID0 and ID1) are assigned to each ID. ID0 stores identification information (SYNC ID) for identifying each sync block in one track. The SYNC ID is, for example, a serial number assigned to the sync block in each sector. The SYNC ID is expressed by 8 bits. A SYNC ID is assigned to each of the video sync block and the audio sync block.
[0076]
ID1 stores information related to the track of the sync block. If the MSB side is bit 7 and the LSB side is bit 0, then regarding the sync block, bit 7 indicates whether the track is upper (Upper) or lower (Lower), and bits 5 to 2 indicate the track segment. Is shown. Bit 1 indicates a track number corresponding to the azimuth of the track, and bit 0 is a bit by which the sync block distinguishes video data and audio data.
[0077]
FIG. 6B shows an example of DID bit assignment in the case of video. The DID stores information related to the payload. Based on the value of bit 0 of ID1 described above, the contents of DID differ between video and audio. Bits 7 to 4 are undefined (Reserved). Bits 3 and 2 are payload modes, for example indicating the type of 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 outer code parity.
[0078]
FIG. 6C shows an example of DID bit assignment in the case of audio. Bits 7 to 4 are reserved. Bit 3 indicates whether the data stored in the payload is audio data or general data. When compression-encoded audio data is stored for the payload, bit 3 is a value indicating the data. Bits 2 to 0 store 5-field sequence information in the NTSC system. That is, in the NTSC system, when the sampling frequency is 48 kHz, the audio signal is one of 800 samples and 801 samples for one field of the video signal, and this sequence is arranged every five fields. Bit 2 to bit 0 indicate where in the sequence.
[0079]
Returning to FIG. 5, FIGS. 5B to 5E show examples of the above-described payload. FIGS. 5B and 5C show examples of cases where video data (variable-length encoded data) of 1 and 2 macroblocks is stored in the payload, respectively. In the example shown in FIG. 5B in which one macroblock is stored, length information LT indicating the length of the subsequent macroblock is arranged in the first three bytes. The length information LT may or may not include its own length. Also, in the example shown in FIG. 5C in which two macroblocks are stored, the length information LT of the first macroblock is arranged at the head, and then the first macroblock is arranged. Then, the length information LT indicating the length of the second macro block is arranged following the first macro block, and the second macro block is arranged subsequently. The length information LT is information necessary for depacking.
[0080]
FIG. 5D shows an example where video AUX (auxiliary) data is stored for the payload. The length information LT describes the length of the video AUX data. Following this length information LT, 5-byte system information, 12-byte PICT information, and 92-byte user information are stored. The remaining portion with respect to the length of the payload is reserved.
[0081]
FIG. 5E shows an example where 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, for example, is handled in the PCM format. However, 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 optimally set for each of the video sync block and the audio sync block, and is not equal to each other. Also, the length of the sync block for recording video data and the length of the sync block for recording audio data are set to optimum lengths according to the signal format. Thereby, a plurality of different signal formats can be handled in a unified manner.
[0083]
FIG. 7A shows the order of DCT coefficients in video data output from the DCT circuit of the MPEG encoder. Starting from the upper left DC component in the DCT block, DCT coefficients are output in a zigzag scan in the direction of increasing horizontal and vertical spatial frequencies. As a result, as shown in FIG. 7B, a total of 64 (8 pixels × 8 lines) DCT coefficients are arranged in order of frequency components.
[0084]
This DCT coefficient is variable length encoded by the VLC part of the MPEG encoder. That is, the first coefficient is fixed as a DC component, and codes are assigned from the next component (AC component) corresponding to a run of zero and the subsequent level. Therefore, the variable length coding output for the coefficient data of the AC component is changed from the low (low order) coefficient of the frequency component to the high (high order) coefficient. 1 , AC 2 , AC Three , ... are arranged. The elementary stream includes variable length encoded DCT coefficients.
[0085]
In the stream converter 106, the DCT coefficients of the supplied signal are rearranged. That is, in each macroblock, the DCT coefficients arranged in the order of frequency components for each DCT block by zigzag scanning are rearranged in the order of frequency components over each DCT block constituting the macroblock.
[0086]
FIG. 8 schematically shows the rearrangement of DCT coefficients in the stream converter 106. In the case of a (4: 2: 2) component signal, one macroblock includes four DCT blocks (Y 1 , Y 2 , Y Three And Y Four ) And two DCT blocks (Cb) by chromaticity signals Cb and Cr, respectively. 1 , Cb 2 , Cr 1 And Cr 2 ).
[0087]
As described above, the video encoder 102 performs zigzag scanning in accordance with the MPEG2 standard, and as shown in FIG. 8A, for each DCT block, the DCT coefficient is changed from a DC component and a low frequency component to a high frequency component. Arranged in order of components. When the scan of one DCT block is completed, the next DCT block is scanned, and the DCT coefficients are arranged in the same manner.
[0088]
That is, in the macro block, the DCT block Y 1 , Y 2 , Y Three And Y Four , DCT block Cb 1 , Cb 2 , Cr 1 And Cr 2 DCT coefficients are arranged in order of frequency from the DC component and the low-frequency component to the high-frequency component. Then, a set consisting of a continuous run and the following level is divided into [DC, AC 1 , AC 2 , AC Three ,...], And variable length coding is performed so that codes are assigned.
[0089]
In the stream converter 106, the variable-length encoded and arranged DCT coefficients are once decoded by detecting the delimiter of each coefficient, and for each frequency component across each DCT block constituting the macroblock. To summarize. This is shown in FIG. 8B. First, the DC components of the eight DCT blocks in the macroblock are gathered, then the AC coefficient components having the lowest frequency components of the eight DCT blocks are gathered, and then the AC coefficients of the same order are gathered in order. The coefficient data is rearranged across the DCT blocks.
[0090]
The rearranged coefficient data is DC (Y 1 ), DC (Y 2 ), DC (Y Three ), DC (Y Four ), DC (Cb 1 ), DC (Cb 2 ), DC (Cr 1 ), DC (Cr 2 ), AC 1 (Y 1 ), AC 1 (Y 2 ), AC 1 (Y Three ), AC 1 (Y Four ), AC 1 (Cb 1 ), AC 1 (Cb 2 ), AC 1 (Cr 1 ), AC 1 (Cr 2 ), ... Where DC, AC 1 , AC 2 ,... Are each code of a variable length code assigned to a set consisting of a run and a subsequent level, as described with reference to FIG.
[0091]
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. Further, even if the video encoder 102 is fixed in GOP (one frame) unit by bit rate control, the length varies in macroblock unit. The packing and shuffling unit 107 applies the macro block data to the fixed frame.
[0092]
FIG. 9 schematically illustrates a macroblock packing process in the packing and shuffling unit 107. The macro block is applied to a fixed frame having a predetermined data length and packed. The data length of the fixed frame used at this time is made to coincide with the sync block length which is the minimum unit of data at the time of recording and reproduction. This is because the shuffling and error correction coding processes are easily performed. In FIG. 9, for simplicity, it is assumed that 8 macroblocks are included in one frame.
[0093]
As an example is shown in FIG. 9A, the lengths of 8 macroblocks are different from each other by variable length coding. In this example, the data of macroblock # 1, data of # 3 and data of # 6 are longer than the length of one sync block which is a fixed frame, respectively, and data of macroblock # 2, data of # 5, # 7 data and # 8 data are short. Further, the data of the macro block # 4 has a length substantially equal to one sync block.
[0094]
By the packing process, macroblocks are packed into a fixed length frame having a length of one sync block. The reason why data can be packed without excess or deficiency is that 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 that is longer than one sync block is divided at a position corresponding to the sync block length. Of the divided macroblocks, the portion that overflows from the sync block length (overflow portion) is packed into an area that is vacant in order from the top, that is, after the macroblock whose length is less than the sync block length.
[0095]
In the example of FIG. 9B, the portion of the macro block # 1 that protrudes from the sync block length is first stuffed behind the macro block # 2, and when that reaches the length of the sync block, Stuffed into. Next, the portion of the macro block # 3 that protrudes from the sync block length is packed behind the macro block # 7. Further, the portion of the macro block # 6 that protrudes from the sync block length is packed behind the macro block # 7, and the portion that protrudes further is packed behind the macro block # 8. In this way, each macroblock is packed into a fixed frame having a sync block length.
[0096]
The length of each macro block can be checked in advance by the stream converter 106. Thereby, the packing unit 107 can know the tail end of the data of the macroblock without decoding the VLC data and checking the contents.
[0097]
FIG. 10 shows an example of an error correction code used in one embodiment, FIG. 10A shows a 1 ECC block of the error correction code for video data, and FIG. 10B shows a 1 ECC block of the error correction code for audio data. . 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 VLC data, and a parity of an inner code is further added to form one SYNC block.
[0098]
That is, a parity of 10 bytes of outer code is generated from a predetermined number of symbols (bytes) aligned in the vertical direction of the VLC data array, and ID, DID and VLC data (or outer code parity) aligned in the horizontal direction. The parity of the inner code is generated from a predetermined number of symbols (bytes). In the example of FIG. 10A, 10 outer code parity symbols and 12 inner code parity symbols are added. A Reed-Solomon code is used as a specific error correction code. In FIG. 10A, the lengths of VLC data in one SYNC block are different because they correspond to different frame frequencies of video data such as 59.94 Hz, 25 Hz, and 23.976 Hz.
[0099]
As shown in FIG. 10B, the product code for audio data is similar to that for video data, and generates 10-symbol outer code parity and 12-symbol inner code parity. In the case of audio data, the sampling frequency is 48 kHz, for example, and one sample is quantized to 16 bits. One sample may be converted into another number of bits, for example, 24 bits. The amount of audio data in one SYNC block differs according to the difference in frame frequency described above. As described above, two ECC blocks are formed by one field of audio data / one channel. One ECC block includes even-numbered and odd-numbered audio samples and audio AUX as data.
[0100]
Next, the synchronization detection circuit 132 described above with reference to FIG. 2 will be described in more detail. FIG. 11 shows an example of the configuration of the synchronization detection circuit 132 according to the present invention. The synchronization detection circuit 132 can automatically detect sync blocks having different data lengths, and forms the gist of the present invention.
[0101]
In the following, it is assumed that the synchronization detection circuit 132 detects sync blocks having two different data lengths L and K, such as [L> K] and [2K> L]. The data lengths L and K correspond to L and K clocks of a clock with a predetermined frequency.
[0102]
Input data which is bit serial is input to the terminal 1. This input data is supplied to the shift register L10, the shift register K11, one input terminal of the comparison (L) circuit 12, one input terminal of the comparison (K) 13 circuit, and the sync comparison circuit 14, respectively.
[0103]
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 supplied to the delay line 19 having a delay of 2L and the other input terminal of the comparison (L) circuit 12 corresponding to the synchronization pattern of length L. The output of the shift register K11 is supplied to the other input terminal of the comparison (K) circuit 13 corresponding to the synchronization pattern of length K. The sync pattern detection result by the sync comparison circuit 14 and the bit shift amount information indicating at which bit position the synchronization pattern is matched are supplied to the comparison (L) circuit 12 and the comparison (K) circuit 13, respectively.
[0104]
The detection result and shift amount in the comparison (L) circuit 12 are supplied to the sink detection circuit 15 as a signal CL. Similarly, the detection result and shift amount in the comparison (K) circuit 13 are supplied to the sink detection circuit 15 as a signal CK. The sync detection circuit 15 detects and holds sync information based on the signal CL or the signal CK. 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 the position corresponding to the length (2L-K) from the head in the sync RAM 17 and supplied to the inertia circuit 18.
[0105]
On the other hand, the sync information delayed by (3L-K) is supplied from the sync RAM 17 to the output control circuit 20, and the synchronization pulse generated by the inertia circuit 18 is supplied. Based on the supplied sync information and sync pulse, the input data stored in the delay line 19 is read out and is output to the output terminal 21 as a sync block. Further, the synchronization pulse generated by the inertia circuit 18 is also derived to the output terminal 22.
[0106]
Next, processing in the above-described synchronization detection circuit 132 will be described in further detail. As described above, in the sync block, a synchronization pattern is arranged in the first two bytes, an ID number (ID0) is arranged in the third byte, and additional information (ID1) is arranged in the fourth byte. In the additional information, the type of data stored in the sync block is described.
[0107]
Since the sync block actually handles serial data reproduced from the recording medium simply in units of 1 byte in which serial-parallel conversion is performed every 8 bits, data corresponding to the original sync block is processed. Input in a bit-shifted state. This is shown in FIG. Input data is simply handled in units of 8 bits (1 octet) as shown in FIG. 12A. As an example is shown in FIG. 12B, the input data delimiter does not necessarily correspond to the original (recording) data delimiter, and the data of each byte is, for example, as shown in FIG. 12C. In this example, the input data is delimited by 3 bits.
[0108]
The bit shift amount between the input data and the original data is determined by detecting how much the data is shifted when the synchronization pattern is detected. Here, the description will be made assuming that the bit shift amount of the input data string is 0 and coincides with the original data. In this example, input data and data delayed by L and K clocks with respect to the input are referred to. Then, verify whether the bit-shifted value of the data matches the unique sync pattern, the continuity of the ID number and the identity of the ID information, and if all are correct, the sync pattern is detected Judging that it was done.
[0109]
FIG. 13A shows an example of input data input from the input terminal 1. The length of each sync block starting from the synchronization 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. As data continues to be input, the registers in the shift register L10 are in a state as shown in FIG. 14A. In FIG. 14A, SYNC (L) indicates the first 8 bits of the synchronization pattern, and SYNC (H) indicates the second 8 bits.
[0110]
Direct input data from the input terminal 1 and the output of the shift register L10 are supplied to one and the other input terminals of the comparison (L) circuit 12. For example, the 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 is the data at the position “B”. It is data.
[0111]
The comparison (L) circuit 12 is configured, for example, as shown in FIG. The comparison (K) circuit 13 has the same configuration. The shift register L10 is input from the terminal 30, and 8 bits are stored in the 8-bit parallel registers 31 and 32, respectively. Similarly, input data from the input terminal 1 is input from the terminal 34, and 8 bits are stored in the 8-bit parallel registers 35 and 36. Whether the data stored in the registers 31 and 32 matches the data stored in the registers 35 and 36 is checked using the EXOR circuits 33 and 37 and the NOR circuit 38. This is shown in FIG. 14B. The comparison result is derived to the output terminal 39.
[0112]
It is to be noted that the input data is checked in advance by the sync comparison circuit 14 to see if it matches the synchronization pattern, and the result is notified to the comparison (L) circuit 12 and the comparison (K) circuit 13, respectively. The sync comparison circuit 14 compares the internally latched input data with an 8-bit synchronization pattern at each bit position, as shown in FIG. A detection result indicating whether or not a synchronization pattern has been detected from the sync comparison circuit 14 to the comparison (L) circuit 12 and the comparison (K) circuit 13, and if a synchronization pattern is detected, which bit is included in the synchronization pattern A bit shift amount indicating whether the positions coincide with each other is supplied.
[0113]
By performing such processing, when a synchronization pattern is input at intervals of the data length L, the comparison (L) circuit 12 matches the synchronization pattern at the same bit position detected by the sync comparison circuit 14. Can be detected. Then, the detection result and the bit shift amount are output as a signal CL. Thereby, the position of each sync block shown in FIG. 13A can be confirmed.
[0114]
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 as shown in FIG. This detection circuit side does not detect a synchronization pattern.
[0115]
Similarly, when sync blocks having a data length of K are continuously input, the shift register K11 and the comparison (K) circuit 13 at this time are in the states of FIGS. 14A and 14B described above. Matches can be detected. In this case, since the shift register L10 and the comparison (L) circuit 12 do not enter the states shown in FIGS. 14A and 14B, no synchronization pattern is detected on the detection circuit side.
[0116]
In this way, 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]
Next, a method for generating a synchronization pulse indicating the start position of the sync block when outputting the input data will be described. Originally, the data handled by the synchronization detection circuit 132 is one in which sync blocks are continuously input as shown in FIG. 13A. However, there is a possibility that a part of data or a certain continuous section is 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 constitutes an error correction code, there is a possibility that error correction can be performed even if a part of the data including the synchronization pattern is lost. However, in order to execute the error correction process, it is necessary that the head of the error correction code, that is, the position of the head of the sync block is correctly detected.
[0118]
Therefore, 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 interval at that time is detected. There is a high possibility that the sync blocks are lined up. Therefore, even if the synchronization pattern cannot be detected, there is a possibility that data can be reproduced based on this 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, based on the sync pulse corresponding to the sync block length, the sync block can be correctly reproduced as shown in FIG. 13B.
[0119]
As a means for this purpose, a circuit is used that outputs a pulse at a constant interval in time with the head of the output data once the synchronization pattern has been detected. The inertia circuit 18 described above corresponds to this circuit.
[0120]
FIG. 17 shows an example of the configuration of the inertia circuit 18 described above. This circuit 18 corresponds to two types of data lengths of data lengths L and K. An identification signal L / K for determining the data length as either L or K is supplied to the terminal 50. The identification signal L / K is, for example, an identification signal indicating whether the synchronization pattern is detected using the shift register 10L or the shift register K11. Further, a signal (start pulse) corresponding to the detection timing of the synchronization pattern is supplied to the terminal 51.
[0121]
The start pulse is supplied to the start terminal ST of the L / K counter 52 and is also supplied to one input terminal of the OR circuit 58 via the switch circuit 54 in which the terminal 51 side is initially selected. The output of the OR circuit 58 is supplied to a load input terminal of a counter 59 described later.
[0122]
The identification signal L / K input to the terminal 50 is supplied to the enable terminal EN of the L / K counter 52 and used as a selection control signal for the switch circuit 53. The switch circuit 53 selects the input terminals 53A and 53B according to the contents of the 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 to and loaded from the load data terminal of the counter 59, for example.
[0123]
The counter 59 counts down from the loaded initial value based on a predetermined clock. When the count value reaches [0], a synchronization pulse is output for one clock. The output synchronization pulse is led 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]
Counting by the counter 59 is started with a pulse output from the OR circuit 58 as a starting point. That is, either the start pulse supplied from the terminal 51 or the synchronization pulse output from the counter 59 is the starting point. Even during the counting, if the pulse from the OR circuit 58 is supplied, the initial value is loaded from the load data terminal, and the countdown from the initial value is started. Therefore, even when the detection position of the synchronization pattern of the input data is changed, the initial value is loaded in the middle of the count, so that a 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, the output is started from the L / K counter 52 described later.
[0125]
FIG. 18 shows an example of the 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, an 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). When the count value reaches [0] (timing B), even if no start pulse is input, a synchronization pulse is output as shown in FIG. 18E. Thus, once started, synchronization pulses can be output at regular intervals.
[0126]
Further, when a start pulse is input during the countdown by the counter 59 as in timing C, the initial value is loaded at that time. Further, even when the count value becomes [0] and the start pulse is input at the same time as at timing D, the initial value is loaded at that time as in the above-described timing B.
[0127]
Thus, the synchronization pulse is output L clocks after the start pulse is input. On the other hand, even when the data length is K, a delay of (LK) clocks is adjusted in the inertia circuit 18 (described later), and then the countdown by the counter 59 is started. Therefore, it is necessary to delay the output data (sync block) by L clocks. The delay of the output data is performed using a delay 19B in the delay line 19 in FIG.
[0128]
Next, a method for transmitting the synchronization pattern detection result to the inertia circuit 18 will be described with reference to FIGS. First, the case where the data length is L will be described with reference to FIG. FIG. 19 shows a synchronization pattern inputted at the latest timing A, and shows that the synchronization pattern is inputted in the order of D, C, B, and A to the input terminal 1. The sync blocks corresponding to the synchronization patterns input at the respective timings A, B, C, and D are referred to as sync blocks A, B, C, and D, respectively.
[0129]
When the synchronization 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. 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]
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 2L backward from the final output position of the sync RAM 17. The sync RAM 17 stores the sync pattern detection information, sync block length, and bit shift amount of the sync block at the corresponding position of each sync block, and the inertia from the storage position before the L clock from 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]
FIG. 21 shows an example when the data length is K. In this case, the operation is the same as in the case where the data length is L. When the data length is K, the sync pattern detection information is the head of the sync RAM 17 with respect to the sync block B, that is, a position that is back by (3L-K) from the final output position. 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 timing.
[0132]
Here, the output position of data from the sync RAM 17 to the inertia circuit 18 is read at a position before the L clock from 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 having a K clock period, so that the output phase of the sync pulse and the sync block data in the delay line 19 is (( LK) will be shifted by the amount of clock.
[0133]
Therefore, the L / K counter 52 in the inertia circuit 18 is used (FIG. 17). The L / K counter 52 is a counter that counts only the difference between the data length L and K. The L / K counter 52 performs a counting operation only when the sync block length is K based on the identification signal L / K supplied from the terminal 50 to the enable terminal EN. Data lengths L and K are supplied as initial values by a system controller (not shown). The L / K counter 52 is activated by a start pulse input from the terminal 51 and supplied to the start terminal ST. When activated, the countdown starts from (LK). When the count value reaches [0], a pulse for one clock is output.
[0134]
The switch circuit 54 is switched to select the output of the L / K counter 52 when the output of the sync RAM 17 to the inertia circuit 18 is the sync block length K. The output pulse is supplied to the load terminal of the counter 59 through the switch circuit 54 and the OR circuit 58. As a result, the counter 59 reads the initial value from the load data terminal and restarts the countdown. As described above, the L / K counter 52 delays the re-counting by the counter 59 so that the synchronization pulse output of the inertia circuit 18 and the output of the delay line 19 and the sync RAM 17 are adjusted.
[0135]
Writing to the sync RAM 17 is controlled by the phase control circuit 16. When the synchronization pattern detection result 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 made, the sync detection circuit 15 makes a synchronization pattern based on the report. , That is, information indicating which of the comparison (L) circuit 12 and comparison (K) circuit 13 has received a detection report is supplied to the phase control circuit 16.
[0136]
Based on this information, the phase control circuit 16 obtains a write address to the sync RAM 17 and creates data to be written to the sync RAM 17. As described above, the sync detection flag block length information (L / K) and the bit shift amount are written into the sync RAM 17. They are created by the phase control circuit 16. As described with reference to FIGS. 20 and 21, the write address to the sync RAM 17 is written from the head of the sync RAM 17 when the sync block B for starting the processing by the inertia circuit 18 has a data length of K. When the data length is L, data is written from a position delayed by (L−K) clocks from the head of the sync RAM 17.
[0137]
It should be noted that identification information for identifying the data length and the sync block can be stored in the data of the sync block in advance when the data string is recorded on the recording medium. By doing this, it is possible to check the validity of the detected data length and sync block type during reproduction, and prevent erroneous processing from being performed in the subsequent application software.
[0138]
As an application example, the sync block length of video data and audio data is determined in advance, and the relationship between the flag indicating audio / video in the ID information (ID1) and the data length of the detected sync block is as follows. Only when they match, it can be considered that a correct synchronization pattern is detected.
[0139]
As such identification information, for example, ID1, DID and length information LT in the sync block can be used.
[0140]
In this embodiment, this check is performed in the sync detection circuit 15. In other words, if it is determined that this check is unfair, it is processed that the synchronization pattern has not been detected, and the above-described report to the phase control circuit 16 is not performed.
[0141]
The sync detection information is reflected in the output data. That is, in the output control circuit 20 which is the final output stage, the output data from the delay line 19 is shifted by the bit shift amount based on the output of the inertia circuit 18 and the detection information of the synchronization pattern, and 1 byte unit of the original data Restore to.
[0142]
FIG. 22 shows an example of data output from the output control circuit 20. In this example, the data length L is [6]. The overall operation is performed based on the clock of FIG. 22A. The input data from the terminal 1 has a data gap corresponding to the data length [4] following the sync block A having the data length [6]. Subsequently, a sync block C having a data length of (6) is input. In this way, the synchronization pattern is detected from the input data, and the counter 59 counts down from the data length L. When the count value reaches [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 as [6], the next time a normal sync block C is input, the data is counted before the count value becomes [0]. Countdown starts from a value corresponding to the length L. As a result, the sync block is output normally.
[0143]
In the above description, reference is made to the synchronization pattern at intervals of the data length L and K, but this is not limited to this example. That is, it is also possible to refer to the synchronization pattern at intervals of L, 2, 3,..., NL, K, 2K, 3K,.
[0144]
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 or 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]
【The invention's effect】
As described above, according to the present invention, when a phase of each sync block is detected from a digital data sequence composed of sync blocks having a plurality of lengths, a block length switching signal to be detected is externally input. Since there is no need to input, there is an effect that the system configuration of the playback apparatus can be simplified.
[0146]
Further, according to this embodiment, since the output of data is controlled based on the difference between different input sync block lengths, processing is performed so that data is not lost at the point where the sync block length is switched. There is an effect that can be done.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a recording side according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a configuration on the playback side according to an embodiment of the present invention.
FIG. 3 is a schematic diagram illustrating an example of a track format.
FIG. 4 is a schematic diagram illustrating another example of a track format.
FIG. 5 is a schematic diagram illustrating a plurality of examples of the configuration of a sync block.
FIG. 6 is a schematic diagram showing contents of ID and DID added to a sync block.
FIG. 7 is a schematic diagram for explaining a video encoder output method and variable-length coding.
FIG. 8 is a schematic diagram for explaining rearrangement of the output order of the video encoder;
FIG. 9 is a schematic diagram for explaining a process of packing the data in which the order is rearranged into a sync block;
FIG. 10 is a schematic diagram for explaining error correction codes for video data and audio data;
FIG. 11 is a block diagram showing an example of the configuration of a synchronization detection circuit according to the present invention.
FIG. 12 is a schematic diagram for explaining bit shift of input data;
FIG. 13 is a schematic diagram for explaining input data and a synchronization pulse;
FIG. 14 is a schematic diagram for explaining sync detection using a shift register;
FIG. 15 is a block diagram illustrating an example of a configuration of a comparison (L) circuit and a comparison (K) circuit.
FIG. 16 is a schematic diagram for explaining synchronization pattern detection in a sync comparison circuit;
FIG. 17 is a block diagram showing an example of the configuration of an inertia circuit according to the present invention.
FIG. 18 is a timing chart showing an example of operation timing in the inertia circuit.
FIG. 19 is a schematic diagram for explaining a method of transmitting a detection result of a synchronization pattern to an inertia circuit.
FIG. 20 is a schematic diagram for explaining a method of transmitting a detection result of a synchronization pattern to an inertia circuit.
FIG. 21 is a schematic diagram for explaining a method of transmitting a detection result of a synchronization pattern to an inertia circuit.
FIG. 22 is a timing chart showing an example of data output from the output control circuit.
FIG. 23 is a schematic diagram schematically illustrating an example of an arrangement of sectors on a track.
FIG. 24 is a block diagram showing an example of the configuration of a sync detection circuit according to the prior art.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 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 ... Sync RAM, 18 ... Inertia circuit, 19 ... Delay line, 20 ... Output control circuit, 52 ... L / K counter, 59. ..Counter, 100 ... Recording / reproducing apparatus, 114 ... AUX addition circuit, 116 ... Outer code encoder, 117 ... Shuffling, 118 ... ID addition circuit, 119 ... Inner code encoder , 120 ... synchronization adding circuit, 123 ... magnetic tape, 132 ... synchronization detecting circuit, 133 ... inner code decoder, 134 ... ID interpolation circuit, 151 ... deshuffling circuit, 152 · The outer code decoder, 153 ... AUX separating circuit, 155 ... interpolation circuit, 156 ... output unit

Claims (9)

同期を検出するための同期パターンを有する互いに異なる少なくとも2つのデータ長のデータブロックの同期を検出する同期検出装置において、
入力データに対して同期パターンの検出を行う同期パターン検出手段と、
上記入力データを所定単位長毎に順に格納すると共に、格納されているデータを上記所定単位長毎に古い順から出力する、第1のデータ長Lに対応する長さの第1のメモリ手段と、
上記パターン検出手段の検出結果に基づき、上記第1のメモリ手段に入力されるデータと上記第1のメモリ手段から出力されるデータとが共に上記同期パターンと一致するかどうかを検出する第1の比較手段と、
上記第1のメモリ手段と同時に上記入力データが入力され、上記入力データを上記所定長単位毎に順に格納すると共に、格納されているデータを上記所定単位長毎に古い順から出力する、上記第1のデータ長Lより短く、且つ、上記第1のデータ長Lと整数倍の関係に無い第2のデータ長Kに対応する長さの第2のメモリ手段と、
上記パターン検出手段の検出結果に基づき、上記第2のメモリ手段に入力されるデータと上記第2のメモリ手段から出力されるデータとが共に上記同期パターンと一致するかどうかを検出する第2の比較手段と
を有し、
上記第1の比較手段および上記第2の比較手段のうち何れか一方で上記同期パターンの上記一致が検出されたら、同期検出がなされたとすることを特徴とする同期検出装置。
In a synchronization detection device for detecting synchronization of data blocks having at least two different data lengths having a synchronization pattern for detecting synchronization,
Synchronization pattern detection means for detecting a synchronization pattern for input data;
First memory means having a length corresponding to a first data length L, which sequentially stores the input data for each predetermined unit length and outputs the stored data from the oldest order for each predetermined unit length; ,
Based on the detection result of the pattern detection means, a first for detecting whether the data inputted to the first memory means and the data outputted from the first memory means both coincide with the synchronization pattern A comparison means;
The input data is input simultaneously with the first memory means, the input data is stored in order for each predetermined length unit, and the stored data is output from the oldest order for each predetermined unit length. Second memory means having a length corresponding to a second data length K that is shorter than the data length L of 1 and not in an integer multiple relationship with the first data length L;
Based on the detection result of the pattern detection means, a second for detecting whether the data inputted to the second memory means and the data outputted from the second memory means both coincide with the synchronization pattern A comparison means,
A synchronization detection apparatus, wherein synchronization is detected when the coincidence of the synchronization pattern is detected by either one of the first comparison means and the second comparison means.
請求項1に記載の同期検出装置において、
上記第1のデータ長Lと上記第2のデータ長Kとは、(L>K)且つ(2K>L)の関係であることを特徴とする同期検出装置。
In the synchronous detection device according to claim 1,
The synchronization detecting device, wherein the first data length L and the second data length K have a relationship of (L> K) and (2K> L).
請求項1に記載の同期検出装置において、
上記入力データを遅延させる遅延手段と、
上記同期検出がなされたら、同期が検出されたデータ長に対応した間隔で同期信号を出力する同期信号生成手段と、
上記同期信号生成手段によって生成された上記同期信号に同期させて上記遅延手段からデータを出力する出力制御手段と
をさらに有し、
上記同期信号生成手段は、上記第2の比較手段で上記同期パターンの上記一致が検出された場合には、上記第1のデータ長と上記第2のデータ長との差分に対応する時間だけ遅延されて上記同期信号を出力するようにしたことを特徴とする同期検出装置。
In the synchronous detection device according to claim 1,
Delay means for delaying the input data;
When the synchronization is detected, a synchronization signal generating means for outputting a synchronization signal at an interval corresponding to the data length for which synchronization is detected;
Output control means for outputting data from the delay means in synchronization with the synchronization signal generated by the synchronization signal generation means,
The synchronization signal generation means delays by a time corresponding to the difference between the first data length and the second data length when the coincidence of the synchronization pattern is detected by the second comparison means. And outputting the synchronization signal.
請求項1に記載の同期検出装置において、
上記第1および第2のデータ長からなるデータブロックのそれぞれに対して格納された、上記第1および第2のデータ長に対応した識別情報と、上記同期検出の結果とを比較するようにしたことを特徴とする同期検出装置。
In the synchronous detection device according to claim 1,
The identification information corresponding to the first and second data lengths stored for each of the data blocks having the first and second data lengths is compared with the result of the synchronization detection. A synchronization detection device characterized by the above.
記録媒体に記録された、同期を検出するための同期パターンを有する互いに異なる少なくとも2つのデータ長のデータブロックを再生する再生装置において、
記録媒体から再生された再生データに対して同期パターンの検出を行う同期パターン検出手段と、
上記再生データを所定単位長毎に順に格納すると共に、格納されているデータを上記所定単位長毎に古い順から出力する、第1のデータ長Lに対応する長さの第1のメモリ手段と、
上記パターン検出手段の検出結果に基づき、上記第1のメモリ手段に入力されるデータと上記第1のメモリ手段から出力されるデータとが共に上記同期パターンと一致するかどうかを検出する第1の比較手段と、
上記第1のメモリ手段と同時に上記再生データが入力され、上記再生データを上記所定長単位毎に順に格納すると共に、格納されているデータを上記所定単位長毎に古い順から出力する、上記第1のデータ長Lより短く、且つ、上記第1のデータ長Lと整数倍の関係に無い第2のデータ長Kに対応する長さの第2のメモリ手段と、
上記パターン検出手段の検出結果に基づき、上記第2のメモリ手段に入力されるデータと上記第2のメモリ手段から出力されるデータとが共に上記同期パターンと一致するかどうかを検出する第2の比較手段と、
上記第1の比較手段および上記第2の比較手段のうち何れか一方で上記同期パターンの上記一致が検出されたら、同期検出がなされたとし、上記再生データを、上記第1の比較手段および上記第2の比較手段のうち上記同期パターンの上記一致が検出された方に対応するデータ長からなるデータブロック単位で出力する出力手段と
を有することを特徴とする再生装置。
In 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,
Synchronization pattern detection means for detecting a synchronization pattern for reproduction data reproduced from a recording medium;
First memory means having a length corresponding to a first data length L, which sequentially stores the reproduction data for each predetermined unit length and outputs the stored data from the oldest order for each predetermined unit length; ,
Based on the detection result of the pattern detection means, a first for detecting whether the data inputted to the first memory means and the data outputted from the first memory means both coincide with the synchronization pattern A comparison means;
The reproduction data is input simultaneously with the first memory means, the reproduction data is sequentially stored for each predetermined length unit, and the stored data is output from the oldest for each predetermined unit length. Second memory means having a length corresponding to a second data length K that is shorter than the data length L of 1 and not in an integer multiple relationship with the first data length L;
Based on the detection result of the pattern detection means, a second for detecting whether the data inputted to the second memory means and the data outputted from the second memory means both coincide with the synchronization pattern A comparison means;
When the coincidence of the synchronization pattern is detected by either one of the first comparison unit and the second comparison unit, it is assumed that synchronization detection has been performed, and the reproduction data is converted into the first comparison unit and the above-described comparison unit. A playback apparatus comprising: output means for outputting in units of data blocks each having a data length corresponding to the one in which the coincidence of the synchronization pattern is detected among the second comparison means.
請求項5に記載の再生装置において、
上記第1のデータ長Lと上記第2のデータ長Kとは、(L>K)且つ(2K>L)の関係であることを特徴とする再生装置。
The playback apparatus according to claim 5, wherein
The reproduction apparatus according to claim 1, wherein the first data length L and the second data length K have a relationship of (L> K) and (2K> L).
請求項5に記載の再生装置において、
上記再生データを遅延させる遅延手段と、
上記同期検出がなされたら、同期が検出されたデータ長に対応した間隔で同期信号を出力する同期信号生成手段と、
上記同期信号生成手段によって生成された上記同期信号に同期させて上記遅延手段からデータを出力する出力制御手段と
をさらに有し、
上記同期信号生成手段は、上記第2の比較手段で上記同期パターンの上記一致が検出された場合には、上記第1のデータ長と上記第2のデータ長との差分に対応する時間だけ遅延されて上記同期信号を出力するようにしたことを特徴とする再生装置。
The playback apparatus according to claim 5, wherein
Delay means for delaying the reproduction data;
When the synchronization is detected, a synchronization signal generating means for outputting a synchronization signal at an interval corresponding to the data length for which synchronization is detected;
Output control means for outputting data from the delay means in synchronization with the synchronization signal generated by the synchronization signal generation means,
The synchronization signal generation means delays by a time corresponding to the difference between the first data length and the second data length when the coincidence of the synchronization pattern is detected by the second comparison means. And outputting the synchronizing signal.
請求項5に記載の再生装置において、
上記出力手段から出力される、上記第1および第2のデータ長からなる上記データブロックのそれぞれに対して格納された、上記第1および第2のデータ長に対応した識別情報と、上記同期検出の結果とを比較するようにしたことを特徴とする再生装置。
The playback apparatus according to claim 5, wherein
Identification information corresponding to the first and second data lengths stored for each of the data blocks having the first and second data lengths output from the output means, and the synchronization detection A reproduction apparatus characterized in that the result of the comparison is compared.
同期を検出するための同期パターンを有する互いに異なる少なくとも2つのデータ長のデータブロックの同期を検出する同期検出方法において、
第1のデータ長Lに対応する長さの第1のメモリに対して、入力データを所定単位長毎に順に格納すると共に、該第1のメモリから格納されているデータを上記所定単位長毎に古い順から出力するステップと、
上記第1のデータ長Lより短く、且つ、上記第1のデータ長Lと整数倍の関係に無い第2のデータ長Kに対応する長さの第2のメモリに対して、上記第1のメモリと同時に上記入力データが入力され、上記入力データを上記所定長単位毎に順に格納すると共に、該第2のメモリに格納されているデータを上記所定単位長毎に古い順から出力するステップと、
上記入力データに対して同期パターンの検出を行う同期パターン検出のステップと、
上記パターン検出のステップによる検出結果に基づき、上記第1のメモリに入力されるデータと上記第1のメモリから出力されるデータとが共に上記同期パターンと一致するかどうかを検出する第1の比較のステップと、
上記パターン検出のステップの検出結果に基づき、上記第2のメモリに入力されるデータと上記第2のメモリから出力されるデータとが共に上記同期パターンと一致するかどうかを検出する第2の比較のステップと
を有し、
上記第1の比較のステップおよび上記第2の比較のステップのうち何れか一方で上記同期パターンの上記一致が検出されたら、同期検出がなされたとすることを特徴とする同期検出方法。
In a synchronization detection method for detecting synchronization of data blocks of at least two different data lengths having a synchronization pattern for detecting synchronization,
Input data is sequentially stored for each predetermined unit length in a first memory having a length corresponding to the first data length L, and data stored from the first memory is stored for each predetermined unit length. To output from the oldest to
For a second memory having a length shorter than the first data length L and corresponding to a second data length K that is not an integer multiple of the first data length L, the first data length L The step of inputting the input data simultaneously with the memory, sequentially storing the input data for each predetermined length unit, and outputting the data stored in the second memory from the oldest order for each predetermined unit length; ,
A synchronization pattern detection step for detecting a synchronization pattern for the input data;
A first comparison for detecting whether the data input to the first memory and the data output from the first memory both match the synchronization pattern based on the detection result of the pattern detection step. And the steps
A second comparison for detecting whether the data input to the second memory and the data output from the second memory both match the synchronization pattern based on the detection result of the pattern detection step And having steps of
A synchronization detection method, wherein synchronization is detected when the coincidence of the synchronization pattern is detected in any one of the first comparison step and the second comparison step.
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
DE69938118T DE69938118T2 (en) 1998-11-09 1999-11-08 Data recording device and method
EP99308875A EP1001635B1 (en) 1998-11-09 1999-11-08 Data recording apparatus and method
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
CNB991277554A CN1168258C (en) 1998-11-09 1999-11-09 Data recording, recording and reproducing, reproducing and synchronous detecting device and method, recording medium
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 JP2000152175A (en) 2000-05-30
JP3956510B2 true 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
JP2000152175A (en) 2000-05-30

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
JP3921841B2 (en) Signal processing apparatus and method, and recording apparatus, reproducing apparatus, and recording / reproducing apparatus
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
US6807366B1 (en) Data recording apparatus, data recording/reproducing apparatus, data recording method, and data recording/reproducing method
KR100719780B1 (en) Data transmitting apparatus and method thereof, recording apparatus, and recording and reproducing apparatus
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
JP4099556B2 (en) Recording apparatus and method, reproducing apparatus and method, and recording / reproducing apparatus and method
JP2000132914A (en) Data processor and data recorder
JP2000134110A (en) Data transmitter and transmission method
JP2001169243A (en) Recorder and recording method, and reproducing device and reproducing method
JP2000312341A (en) Data transmitter, method therefor, recorder and recording and reproducing device
JP4051782B2 (en) Data processing apparatus and method, and data reproducing apparatus
JP2000149455A (en) Data recorder and recording method, data recording and reproducing device and recording and reproducing method, and data recording medium
JP3978903B2 (en) Data recording apparatus, data recording method, data processing apparatus, and data processing method
JP2000152177A (en) Data processor and its method, and data reproducing device
JP2000293435A (en) Device and method for reproducing data
JP2000123485A (en) Recording device and method
JP2000195171A (en) Signal processing device and method, and reproducing device
JP2000156052A (en) Recording device and method, reproducing device and method, recording/reproducing device and video signal recording/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