【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、ディジタルVTR (ビデオテーブレコーダ
)のエンコーダ回路等に用いられるデータ〔発明の概要
〕
本発明は、入力ディジタルビデオ信号及び入力ディジタ
ルオーディオ信号をそれぞれ所定数の記録ブロックに分
割し、分割された信号をそれぞれブロック符号化するた
めにシャフリングするデータ符号化回路において、ビデ
オ信号のシャフリング用メモリとオーディオ信号のシャ
フリング用メモリとを1つのメモリデバイスのメモリ空
間内に設けることにより、回路構威を簡略化し、IC化
する際の外部接続ピン数を低減するものである.〔従来
の技術〕
ビデオ信号をディジタル化して記録するディジタルVT
R (ビデオテープレコーダ)のフォーマットとしては
、輝度信号及びクロマ信号のコンポーネント信号をディ
ジタル化するいわゆるD1フォーマット、NTSCやP
AL等のテレビジョン標準方式のコンポジット信号をそ
のままデイジタル化するいわゆるD2フォーマット等が
知られている.これらのディジタルVTRのフォーマッ
トにおいては、1フィールド分の入力ディジタル信号を
所定ブロック数に分割し、分割された信号をいわゆるシ
ャフリングする等してブロック符号化している.
例えば第4図は、上記いわゆるD2フォーマットのディ
ジタルVTRの記録側のデータ符号化回路、いわゆるエ
ンコーダ回路を示している.この第4図において、入力
端子1lに供給されたディジタルビデオ信号は、ライン
シャフル回路12に送られて1ライン(l水平期間、1
■1)内の有効データがシャフリングされた後、アウタ
ECC符号器(あるいは外パリティ付加回路)13に送
られる.例えばいわゆるPAL方式の場合、第5図に示
すような入力ビデオ信号V▲9のI}I−64μsec
の内の有効データとして948サンプルを取り出して上
記ライン内シャフリングを行った後、アウタECC符号
器13に送っている.各サンプルデータのワード長は8
ビット(lバイト)としている.なお、いわゆるNTS
C方式の場合には、図中の括弧内に示すように、l H
= 63.55usecで、有効データ数は768サ
ンプルとなる.以下の説明中での数値はPAL方式の場
合を示し、NTSC方式の場合を括弧内に示している.
アウタECC符号器13では、上記シャフリングされた
有効データを2つのチャンネル、すなわちチャンネル0
とチャンネルlとに分割した後、各チャンネルの474
(384)バイトのデータをそれぞれ6等分し、79
(64)バイトのデータに4バイトの外パリティ符号
を付加した外パリテイブロ・ンクを6個生威して、第5
図のデータDPA,DPBを出力する.これらの出力デ
ータ[lPA , DPBは、セクタシャフル回路14
に送られ、1セクタ76 (85)ライン分のデータが
シャフルメモリに書込/続出されることによりセクタシ
+フリングされる.
ここで第6図は、1フィールド内の有効データを示して
おり、1ライン当たり948(768)サンフ゜ルで3
04 (255)ラインのサンプルデータが、1サンプ
ル交互にかつライン間で反転するようないわゆる市松模
様のパターンでチャンネル0とチャンネルlとに分配さ
れる.また、1フィールド内の有効データは76 (8
5)ライン毎に4(3)つのセグメントに分割され、各
セグメントのチャンネルOとチャンネルlとでそれぞれ
セクタを構成している.すなわち、lセクタは1ライン
当たり474 (384)サンフ゜ノレで76 (85
)ラインであるから、1セクタ当たりのサンプルワード
数あるいはバイト数は、474X76=36024
(ソートある一一はバイト) :PAL( 38
4X85=32640 (フードある+1はバイト
) :NTSC )となる.第7図は、セクタシャ
フル回路14内に設けられる1個のセクタメモリに対し
て書込/続出する際の1セクタ内でのデータ配列状態を
示している。すなわち、先ず1ライン当たり474 (
384)ワードを6つの外パリティブロックに分配する
ことで得られる474(384) + 6 =79(6
4)ワードのそれぞれのブロック毎に4ワードの外パリ
テイ符号を付加し、これを上記76 (85)ライン分
行うことにより、横方向に76(85) X 6−45
6(510)バイトで、縦方向に79(64) +4−
83(68)ワードの容量空間を構戚する.各ライン内
のデータはl2サンプル周期の並べ替え(シャフリング
)が行われている。この1セクタ内のデータ量は、
83X456=37848 [バイト] :PAL
( 68X510=34684 [バイト] :
NTSC )となる.このセクタ配列の横方向には、
76 (85)ハイトのサプアレイ(小配列)が6個配
列されており、データ記録時には、図中の左下隅から横
方向に順次読み出して、上記76 (85)バイトのサ
プアレイ毎に8ワード=8バイトのインナECC(内パ
リティ符号)を付加する.このとき第7図に示すように
、2つの上記内パリティブロック毎にSYNC(同期パ
ターン)及びID(識別パターン)が付加されて、1つ
のシンクプロックを構成する。なお、1シンクブロック
内の先の内パリティブロックは上記ID(J”別パター
ン)も含んでいる.再び第4図に戻って、上記セクタシ
ャフル回路14内には4個のセクタメモリH^1、MA
2、MBI,MB2が設けられており、アウタ已CC符
号器l3からの、上記チャンネル0及び!にそれぞれ振
り分けられた各サンプルデータは、セクタシャフル回路
14内の各切換スイッチS^1及びSBIをそれぞれ介
してセクタメモリMAL,MA2及びMBI、MB2に
それぞれ送られている.第8図にはこれら4個のセクタ
メモリバ^1〜MB2に対する書込(W)及び続出(R
)のタイξングを、上記PAL方式の場合について示し
ており、1つのチャンネルの2個のメモリ、例えばh^
1、M^2に対して、上記1セクタ分のデータを一方に
書き込んでいる間に他方から読み出すように制御してい
る.セクタメモリh^1、M^2から読み出されたチャ
ンネルOのデータは切換スイッチS^2を介して出力さ
れ、またセクタメモリMBI、MB2から読み出された
チャンネル1のデータは切換スイッチSR2を介して出
力される.
ここで、上記セクタシャフル回路14に対するデータ書
込動作は、入力端子11からの入力ビデオ信号V +a
の同期信号等に基づいてタイミング発生回路31が発生
する書込制御信号等により制御され、データ読出動作は
、入力端子32を介して供給される記録リファレンス信
号に基づいてタイミング発生回路33が発生する続出制
御信号等により制御されるようになっている.これは、
セクタシャフル回路14から読み出したクイ5ングで記
録データが出力されることを考慮し、これを上記記録リ
ファレンス信号に合わせるようにしたものである.
セクタシャフル回路14からの上記チャンネル0、lの
各データは、それぞれ切換スイッチ15A,15Bを介
してSYNC, Ill,インナ[!CC付加回路l6
A,16Bに送られている.この付加回路16A,16
Bからの出力データは、上記第7図に示すような、2つ
の内パリティブロックにSYNC (同期パターン)及
びID(1!別バクーン)が付加されて威るシンクブロ
ックを基本単位とし、これが複数個集まってビデオセク
タを構成している。このビデオセクタの前後位置に後述
するオーディオデークが付加されて、第8図や第9図に
示すような各チャンネル毎の記録データDA及びDBが
形威されル.ソして、一方(7)SYNC. In,
4ンtF.cc付加回路16Aからの記録データDAは
そのままチャンネル符号化回路18Aでチャンネル符号
化されて出力端子19Aより取り出され、他方の付加回
路16Bからの記録データDBは遅延回路17で後述す
る記録ヘッドの位相差分だけ遅延された遅延データDD
Bとなった後、チャンネル符号化回路18Bでチャンネ
ル符号化されて出力端子19Bより取り出される.
タイミング発生回路33からの記録タイξング信号は、
そのまま出力端子34Aを介して、また遅延回路l7を
介し出力端子34Bを介してそれぞれ取り出される。こ
のタイ稟ング信号の基本パルスとしては、例えば第9図
のセグメントパルスSP等が考えられる.このセグメン
トパルスSPは、上記ヘリカルトラックを形威するため
のへ・冫ド切換タイミングパルスであり、PAL方式の
場合には1フィールドの1/4 (NTSC方式ではl
フィールドの1/3)の周期を有している.上記出力端
子19Aより取り出された記録信号は、第10図に示す
回転ヘッド装置の記録ヘッドHA,HCに、また出力端
子19Bより取り出された記録信号は、記録へッドHB
,HDに送られている.ここで、記録ヘッドHA,HB
が略々同し位置に、また記録ヘッドIIC,HDが略々
同じ位置に配置されており、これらのヘッド対HA、H
Bとヘッド対HC,HDとは、矢印r方向に回転する回
転ドラム1に180°の角度差を持って配置され、磁気
テープ2は回転ドラムlの周囲に略々tso”の角度範
囲で巻き付けられて矢印t方向に案内されており、回転
ドラム1の半回転毎にいずれか一方のヘッド対が磁気テ
ープ2と摺接する.このことから、上記出力端子19A
からの記録信号は、回転ドラムlの半回転毎に記録ヘッ
ドHA,HCの内の磁気テープ2と摺接する側に切り換
えて送り、出力端子19Bからの記録信号は、記録ヘッ
ドHB,HDの内の磁気テーブ2と摺接する側に回転ド
ラムlの半回転毎に切り換えて送っている.このとき、
記録ヘッドHA及びHB(又は記録ヘッドHC及びHD
)により、第11図に示すように磁気テーブ2上に1対
のへリカルトラツクTA及びTB(又はTC及びTD)
が同じタイミングで記録形成される.なお、PAL方式
では1フィールドのビデオ信号が4対(8本)のヘリカ
ルトラックに記録されるのに対し、NTSC方式では1
フィールドが3対(6本)のヘリカルトラックに記録さ
れるようになっている.ところで、上記チャンネル0と
lの各記録ヘッドHAとHB(又は記録ヘッドHCとH
D)は、物理的に同し位置には配置できないため、所定
の(例えば4.22゜の)角度差(及び図示しないがヘ
ッド高さの差)をもって配置されている.これは記録動
作を行う際の各記録ヘッドHAとHB(又はI CとH
D)についてのドラム回転位相差となり、テープ摺接開
始タイξングのずれ、すなわち記録タイミングのずれと
なって表れる.そこで、記録ヘッドHA (HC)に供
給するチャンネル0の記録信号に対して、記録へッドH
B (HD)に供給するチャンネル1の記録信号を、上
記ドラム回転位相差に対応する所定時間だけ遅延させる
ことによって、上記各ヘッドの回転位相差に基づく記録
タイミングのずれを補正している.次に、オーディオ信
号については、サンプリング周波数を48kHz、lサ
ンプルヮード長を20ビットとしており、1オーディオ
セクタ当たり、PAL方式では240サンプル(NTS
C方式では266又は267サンプル、以下NTSC方
式の場合の数値を括弧で括って示す)のオーディオ信号
の4チャンネル分が第4図の入力端子21に供給される
.この人力オーディオ信号Alt,に対しては、バイト
変換回路22にて上記20ビットの2サンプルに対して
8ビットの5ワードを割り当てるような変換が行われ、
次のAIIXデータ付加回路23にて補助的なAUXデ
ータが付加されてlオーディオセクタ当たり608 (
680)バイトのデータとなる.アウタECC付加回路
24では、8バイトのデータに対して4バイトの外パリ
ティ符号を付加した外パリティブロックを76 (85
)ブロック生威する.次のオーディオシャフル回路25
では、外パリティブロックを1セクタ分まとめてシャツ
ルメモリに書き込んだ後に読み出すことによりセクタシ
ャフリングを行っている.従って、オーディオシャフル
メモリに書き込まれるデータは、
(8+4)X 76 X 4 胃3648 (バ
イト) :PAL( (8+4)xssX 4
−4080 (バイト) :NTSC )とな
る.オーディオシャフル回路25からは、第9図のフォ
ーマットに従った各タイミングで、上記各チャンネル0
とチャンネル1とに4セクタのオーディオデータ^υ0
、^υ1、^U2、^U3が読み出され、切換スイッチ
15Aと15Bとをそれぞれ介して、上記SYNC,
10,インナECC付加回路16Aと16Bとに送られ
る.なお、各オーディオデータ^uO〜^U3はそれぞ
れ2重書きされ、例えば第9図に示すチャンネル0の記
録データの内のヘフドHAに送られる領域内のオーディ
オデータ^uO、^U1は、その直前のチャンネルlの
記録データの内のオーディオデータ^UO、AUIと同
じものである.従って、オーディオ信号及びビデオ信号
の1セグメントに対応する記録トラックは、第11図の
斜線部のようになり、テープ上端側の4セクタのオーデ
ィオデータがファーストコピー、下端側がセカンドコピ
ーである.
〔発明が解決しようとする課題〕
ところで、現実のメモリtC等のメモリデバイスの記憶
容量は遣常2の巾巣の値となっており、実際にIC等の
部品を用いて上記セクタシャフル回路14を構威する場
合に必要とされるメモリの容量は、次のようになる.す
なわち、1ビデオセクタのサンプルデータの容量は、P
AL方式では37848バイト(NTSC方式では34
680バイト、以下括弧付きで示す)であり、上記2セ
クタでは75696 (69360)バイトとなる.こ
れは2 ” = 65536の値よりも大きいから、メ
モリICとしては21−131072バイトのものを使
用せざるを得ない.また、オーディオシャフル回路25
にもメモリICが必要とされ、上記エンコーダ回路をI
C化する際に、上記ビデオセクタシャフル用メモリの接
続ビンとオーディオシャフル用メモリの接続ピンとが必
要となり、ICパッケージのピン数が増大し大型化する
等の欠点がある.
また、上述のいわゆるD2フォーマットにおけるセクタ
シ中フル回路l4内のメモリ門^1〜MB2に対するデ
ータの書込/読出のタイミングは非常に詰まっており、
特に上記PAL方式の場合には、第8図からも明らかな
ように時間的余裕が極めて少ないため、例えば入力ビデ
オ信号と記録リファレンス信号との間に位相ずれが生じ
た場合に、書込勤作と読出動作が重なる事態も発生し、
正常な動作が行われなくなる危険性もある.
本発明は、このような欠点を解決すべくなされたもので
あり、現実のメモリIC等のデバイスの容量とシャフリ
ングに必要とされるメモリ容量とを勘案し、ビデオ信号
のシャフリング用メモリとオーディオ信号のシャフリン
グ用メモリとを同一メモリデバイス内に設けると共に、
メモリに対するデータの書込/読出の時間的余裕も拡大
可能なデータ符号化回路の提供を目的とする.〔課題を
解決するための手段〕
本発明のデータ符号化回路は、入力デイジタルビデオ信
号及び入力ディジタルオーディオ信号をそれぞれ所定数
の記録ブロック(ビデオセクタ及びオーディオセクタ)
に分割し、分割された信号をそれぞれブロック符号化す
るためにシャフリングするデータ符号化回路において、
上記ビデオ信号のシャフリング用のメモリと、上記オー
ディオ信号のシャフリング用のメモリとを、1つのメモ
リデバイスのメモリ空間内に設けることにより上記課題
を解決している.
〔作 用〕
ビデオ信号のシャフリング用メモリとオーディオ信号の
シャフリング用メモリとを同一メモリデバイス内に設け
ることにより、回路構威を簡略化すると共に、データ符
号化回路をIC化する際のメモリ接続ピン数を低減でき
る.
(実施例)
第1図は本発明の一実施例としてのデータ符号化回路を
示すブロック回路図である.この実施例のデータ符号化
回路は、いわゆるD2フォーマットのディジタルVTR
(ビデオテーブレコーダ)の記録側エンコーダ回路に
適用して好ましいものである.
この第1図において、入力端子1lにはlサンプルワー
ドが8ビット(1バイト)のディジタルビデオ信号が供
給されている.この入力ビデオ信号v,7は、ラインシ
ャフル回路12に送られて、1ライン内の有効データが
シャフリングされる.アウタECC符号器l3では、上
記シャフリングされた有効データを2つのチャンネル、
すなわちチャンネル0とチャンネル1とに分割した後、
各チャンネルのデータをそれぞれ6等分し、4バイトの
外パリティ符号を付加して、各チャンネル毎にそれぞれ
セクタシャフル回路2OA及び20Bに送っている.
入力端子21に供給されたオーディオ信号^Dimは、
前述と同様に1サンプルワードが20ビットであり、バ
イト変換回路22にて上記20ビットを8ビットのワー
ドに変換され、次のAUXデータ付加回路23にて補助
的なAIIXデータが付加されて1オーディオセクタ当
たり608 (680)バイトのデータとなる.アウタ
ECC付加回路24では、8バイトのデータに対して4
バイトの外パリティ符号を付加した外パリティブロック
を76(85)ブロック生成し、各チャンネル毎にそれ
ぞれセクタシャフル回路2OA及び20Bに送っている
.セクタシ中フル回路2OAあるいは20B内のメモリ
は、例えば第2図に示すように、上記ビデオ信号用のセ
クタシャツルメモリとオーディオ信号用のセクタシャフ
ルメモリとが同一メモリデバイス内のメモリ空間内に設
けられている.すなわち、第2図AはPAL方式の場合
、第2図BはNTSC方式の場合のメモリ空間の分割形
態の具体例をそれぞれ示している.ここで、先ずビデオ
信号のセクタシ中フルに必要なメモリ容量として、書込
/読出の時間的余裕を拡大するために3セクタ分を確保
しようとすると、
37848x 3 =113544 [^イト]
:PAL( 34680x 3 =104
040 [バイト] :NTSC )以下NT
SC方式の場合の数{Iifを括弧内に示すとなる.ま
たオーディオ信号のセクタシャフルには、2セクタ分の
容量があれば書込/読出は充分余裕があるから、必要な
メモリ容量は、3648X 2 =7296 [
バイト] :PAL( 4080x 2 =8
160 [バイト] :NTSC )となる.
これらを2の巾梁の容量のメモリデバイス内に収めるた
めには、
113544+7296=120840<131072
=2” :PAL( 104040+8160=112
200<131072=2” :NTSC ”)より、
2”r+4ト、すなわち128kli{}のメモリデバ
イスを用いれば充分である.これは、従来の第4図に示
したような2ビデオセクタ構威のセクタシャフル回路1
4に必要とされたメモリ容量と等しく、部品点数の増加
はない.このようにして、現実のメモリIC等の128
kバイトのメモリ空間内に、ビデオ信号のセクタシャフ
ル用の3つのメモリブロックM1〜M3と、オーディオ
信号のセクタシャフル用の2つのメモリブロックMAu
l、Mau2とを設けることができる.
次に、このようなセクタシャフル回路2OA,20Bの
メモリに対する書込/読出のタイξングについて考察す
る.
メモリ続出については、前述した第9図に示すようない
わゆるD2フォーマットに従って、ビデオデータ及びオ
ーディオデータが読み出され、ビデオ続出期間とオーデ
ィオ続出期間と分離されており、同時に読み出されるこ
とが無いため、ビデオメモリとオーディオメモリが一体
化されても何ら問題は無い。Detailed Description of the Invention [Field of Industrial Application] The present invention relates to data used in an encoder circuit of a digital VTR (video table recorder), etc. [Summary of the Invention] In a data encoding circuit that divides a signal into a predetermined number of recording blocks and shuffles each divided signal for block encoding, a memory for shuffling a video signal and a memory for shuffling an audio signal are used. By providing it within the memory space of one memory device, it simplifies the circuit structure and reduces the number of external connection pins when integrated into an IC. [Prior art] Digital VT that digitizes and records video signals
R (video tape recorder) formats include the so-called D1 format, which digitizes component signals of luminance signals and chroma signals, NTSC and P
The so-called D2 format, etc., which directly digitizes a composite signal of a television standard system such as AL, is known. In the formats of these digital VTRs, one field of input digital signals is divided into a predetermined number of blocks, and the divided signals are block encoded by so-called shuffling or the like. For example, FIG. 4 shows a data encoding circuit, a so-called encoder circuit, on the recording side of the so-called D2 format digital VTR. In FIG. 4, the digital video signal supplied to the input terminal 1l is sent to the line shuffle circuit 12 and shuffled for one line (l horizontal period, 1
(1) After the valid data in 1) is shuffled, it is sent to the outer ECC encoder (or outer parity addition circuit) 13. For example, in the case of the so-called PAL system, the input video signal V▲9 I}I-64μsec as shown in FIG.
After extracting 948 samples as valid data from the data and performing the above-mentioned intra-line shuffling, they are sent to the outer ECC encoder 13. The word length of each sample data is 8
It is set as bit (l byte). In addition, the so-called NTS
In the case of C method, l H
= 63.55 usec, and the number of valid data is 768 samples. The numerical values in the following explanation are for the PAL system, and those for the NTSC system are shown in parentheses.
The outer ECC encoder 13 sends the shuffled valid data to two channels, namely channel 0.
and channel l, 474 of each channel
(384) Divide each byte of data into 6 equal parts, 79
(64) Generate 6 outer parity blocks in which a 4-byte outer parity code is added to the byte data, and
Output the data DPA and DPB shown in the figure. These output data [lPA, DPB are the sector shuffle circuit 14
The data for one sector and 76 (85) lines is written/outputted to the shuffle memory, thereby being shuffled. Here, FIG. 6 shows valid data in one field, with 948 (768) samples per line and 3
04 (255) lines of sample data are distributed to channel 0 and channel l in a so-called checkerboard pattern in which one sample is alternated and reversed between lines. Also, the valid data in one field is 76 (8
5) Each line is divided into four (3) segments, and channel O and channel I of each segment constitute a sector. In other words, the l sector is 474 (384) per line and 76 (85
) line, the number of sample words or bytes per sector is 474X76=36024
(One byte is sorted) :PAL( 38
4X85=32640 (with hood +1 is part-time job): NTSC). FIG. 7 shows the state of data arrangement within one sector when writing/sequentially outputting data to one sector memory provided in the sector shuffle circuit 14. That is, first of all, 474 (
474 (384) + 6 = 79 (6
4) By adding 4 words of outer parity code to each block of words and doing this for the above 76 (85) lines, 76 (85) x 6-45 in the horizontal direction
6 (510) bytes, 79 (64) +4- vertically
Constructs a capacity space of 83 (68) words. The data within each line is rearranged (shuffled) at 12 sample periods. The amount of data in this one sector is 83X456=37848 [bytes]: PAL
(68X510=34684 [bytes]:
NTSC). In the horizontal direction of this sector array,
Six sub-arrays (small arrays) with a height of 76 (85) are arranged, and when recording data, they are sequentially read in the horizontal direction from the lower left corner in the figure, and 8 words = 8 for each sub-array of 76 (85) bytes. Add the inner ECC (inner parity code) of the byte. At this time, as shown in FIG. 7, a SYNC (synchronization pattern) and an ID (identification pattern) are added to each of the two parity blocks to form one sync block. Note that the first inner parity block in one sync block also includes the above-mentioned ID (J" different pattern). Returning to FIG. 4 again, the sector shuffle circuit 14 has four sector memories H^1. , M.A.
2, MBI, MB2 are provided, and the channels 0 and ! from the outer CC encoder l3 are provided. The sample data respectively distributed to the sector shuffling circuit 14 is sent to the sector memories MAL, MA2 and MBI, MB2 via the changeover switches S^1 and SBI, respectively, in the sector shuffle circuit 14. FIG. 8 shows write (W) and subsequent write (R) to these four sector memory bars ^1 to MB2.
) is shown for the case of the above PAL system, and two memories of one channel, for example h^
1, M^2 is controlled so that while data for one sector is written to one, it is read from the other. Channel O data read from sector memories h^1 and M^2 is output via changeover switch S^2, and channel 1 data read from sector memories MBI and MB2 is outputted through changeover switch SR2. Output via . Here, the data write operation to the sector shuffle circuit 14 is performed using the input video signal V+a from the input terminal 11.
The data read operation is controlled by a write control signal etc. generated by a timing generation circuit 31 based on a synchronization signal etc. of It is controlled by successive control signals, etc. this is,
Considering that the recording data is output by the queuing read from the sector shuffle circuit 14, this is made to match the recording reference signal. The respective data of channels 0 and l from the sector shuffle circuit 14 are sent to SYNC, Ill, and inner[!] via changeover switches 15A and 15B, respectively. CC addition circuit l6
It is being sent to A and 16B. This additional circuit 16A, 16
The output data from B uses a sync block as a basic unit, in which a SYNC (synchronization pattern) and an ID (1! another Bakun) are added to the two parity blocks, as shown in Figure 7 above, and multiple sync blocks are used as the basic unit. Together they make up a video sector. Audio disks, which will be described later, are added to the front and back positions of this video sector, and recording data DA and DB for each channel as shown in FIGS. 8 and 9 are formed. On the other hand, (7) SYNC. In,
4th F. The recording data DA from the cc addition circuit 16A is directly channel-encoded by the channel encoding circuit 18A and taken out from the output terminal 19A, and the recording data DB from the other addition circuit 16B is sent to the delay circuit 17 to adjust the phase of the recording head, which will be described later. Delayed data DD delayed by the difference
After becoming B, it is channel encoded by the channel encoding circuit 18B and taken out from the output terminal 19B. The recording timing signal from the timing generation circuit 33 is
The signal is taken out directly through the output terminal 34A, and through the delay circuit 17 and then through the output terminal 34B. As the basic pulse of this tie-up signal, for example, the segment pulse SP shown in FIG. 9 can be considered. This segment pulse SP is a switching timing pulse for producing the above-mentioned helical track, and is 1/4 of one field in the case of PAL system (l in NTSC system)
It has a period of 1/3 of the field. The recording signal taken out from the output terminal 19A is sent to the recording heads HA and HC of the rotary head device shown in FIG. 10, and the recording signal taken out from the output terminal 19B is sent to the recording head HB.
, is being sent to the HD. Here, the recording heads HA, HB
are arranged at approximately the same position, and the recording heads IIC and HD are arranged at approximately the same position, and these head pairs HA and H
B and head pairs HC and HD are arranged with an angle difference of 180° on a rotating drum 1 rotating in the direction of arrow r, and a magnetic tape 2 is wound around the rotating drum l in an angular range of approximately tso''. and is guided in the direction of arrow t, and one of the heads comes into sliding contact with the magnetic tape 2 every half rotation of the rotating drum 1. From this, the output terminal 19A
The recording signal from the output terminal 19B is switched and sent to the side of the recording head HA, HC that comes into sliding contact with the magnetic tape 2 every half rotation of the rotating drum l, and the recording signal from the output terminal 19B is sent to the side of the recording head HA, HC that comes into sliding contact with the magnetic tape 2. The feed is switched every half rotation of the rotating drum l to the side that comes into sliding contact with the magnetic tape 2. At this time,
Recording heads HA and HB (or recording heads HC and HD
), a pair of helical tracks TA and TB (or TC and TD) are placed on the magnetic tape 2 as shown in FIG.
are recorded at the same timing. Note that in the PAL system, one field of video signals is recorded on four pairs (eight) helical tracks, whereas in the NTSC system, one field of video signals is recorded on four pairs (eight helical tracks).
The field is recorded on three pairs (six) helical tracks. By the way, each recording head HA and HB (or recording heads HC and H
D) cannot be physically placed at the same position, so they are placed with a predetermined angle difference (for example, 4.22 degrees) (and a difference in head height, although not shown). This means that each recording head HA and HB (or IC and H
D) is the drum rotation phase difference, which appears as a deviation in the tape sliding start timing, that is, a deviation in the recording timing. Therefore, for the recording signal of channel 0 supplied to the recording head HA (HC), the recording head H
By delaying the recording signal of channel 1 supplied to B (HD) by a predetermined time corresponding to the drum rotational phase difference, the recording timing shift based on the rotational phase difference of each head is corrected. Next, regarding the audio signal, the sampling frequency is 48 kHz, the sample length is 20 bits, and each audio sector has 240 samples in the PAL system (NTS
In the case of the C system, four channels of audio signals of 266 or 267 samples (hereinafter the numerical values for the NTSC system are shown in parentheses) are supplied to the input terminal 21 in FIG. For this human audio signal Alt, a conversion is performed in the byte conversion circuit 22 such that five words of 8 bits are assigned to the two samples of 20 bits,
In the next AIIX data addition circuit 23, auxiliary AUX data is added to 608 yen per audio sector (
680) bytes of data. The outer ECC adding circuit 24 adds 76 (85
) The block is activated. Next audio shuffle circuit 25
In this example, sector shuffling is performed by writing one sector of the outer parity block to the shuffle memory and then reading it out. Therefore, the data written to the audio shuffle memory is (8+4) x 76 x 4 stomach 3648 (bytes) :PAL( (8+4)xssX 4
-4080 (bytes): NTSC). The audio shuffle circuit 25 outputs each channel 0 at each timing according to the format shown in FIG.
and channel 1 have 4 sectors of audio data ^υ0
, ^υ1, ^U2, and ^U3 are read out, and the above-mentioned SYNC,
10, sent to inner ECC addition circuits 16A and 16B. Note that each of the audio data ^uO to ^U3 is written twice, and for example, the audio data ^uO and ^U1 in the area sent to the head HA of the recorded data of channel 0 shown in Fig. 9 are written immediately before that. This is the same as the audio data ^UO and AUI in the recorded data of channel l. Therefore, the recording track corresponding to one segment of the audio signal and video signal is as shown in the shaded area in FIG. 11, where the audio data in the four sectors at the top end of the tape is the first copy, and the bottom end is the second copy. [Problem to be Solved by the Invention] By the way, the storage capacity of an actual memory device such as the memory tC is usually a value of 2, and the above sector shuffle circuit 14 is actually implemented using components such as ICs. The amount of memory required to configure is as follows. In other words, the sample data capacity of one video sector is P
37,848 bytes for AL system (34 bytes for NTSC system)
680 bytes (shown in parentheses below), and the two sectors above are 75,696 (69,360) bytes. This is larger than the value of 2'' = 65536, so a memory IC of 21-131072 bytes must be used. Also, the audio shuffle circuit 25
A memory IC is also required, and the above encoder circuit is
When converting to C, connection bins for the video sector shuffle memory and connection pins for the audio shuffle memory are required, resulting in disadvantages such as an increase in the number of pins of the IC package and an increase in size. Furthermore, in the above-mentioned so-called D2 format, the timing of writing/reading data to and from the memory gates ^1 to MB2 in the full circuit l4 during sector transfer is very tight.
Particularly in the case of the above-mentioned PAL system, as it is clear from Fig. 8, there is very little time margin, so if a phase shift occurs between the input video signal and the recording reference signal, for example, the write operation cannot be performed. A situation may occur where the read operation overlaps with the
There is also a risk that normal operation may no longer occur. The present invention has been made to solve these drawbacks, and takes into consideration the capacity of actual devices such as memory ICs and the memory capacity required for shuffling, and is designed to be used as a memory for shuffling video signals. A memory for shuffling audio signals is provided in the same memory device, and
The purpose is to provide a data encoding circuit that can increase the time margin for writing/reading data to/from memory. [Means for Solving the Problems] The data encoding circuit of the present invention encodes an input digital video signal and an input digital audio signal into predetermined numbers of recording blocks (video sectors and audio sectors), respectively.
In a data encoding circuit that shuffles the divided signals to encode each block,
The above problem is solved by providing a memory for shuffling the video signal and a memory for shuffling the audio signal in the memory space of one memory device. [Function] By providing a memory for shuffling video signals and a memory for shuffling audio signals in the same memory device, the circuit structure is simplified and the memory is used when converting the data encoding circuit into an IC. The number of connection pins can be reduced. (Embodiment) FIG. 1 is a block circuit diagram showing a data encoding circuit as an embodiment of the present invention. The data encoding circuit of this embodiment is a so-called D2 format digital VTR.
This is preferable for application to the recording-side encoder circuit of a video table recorder. In FIG. 1, a digital video signal of 1 sample word of 8 bits (1 byte) is supplied to an input terminal 1l. This input video signal v,7 is sent to a line shuffling circuit 12, where valid data within one line is shuffled. In the outer ECC encoder l3, the shuffled valid data is divided into two channels,
That is, after dividing into channel 0 and channel 1,
The data of each channel is divided into six equal parts, a 4-byte outer parity code is added, and the data is sent to sector shuffle circuits 2OA and 20B for each channel. The audio signal ^Dim supplied to the input terminal 21 is
As mentioned above, one sample word is 20 bits, and the byte conversion circuit 22 converts the 20 bits into an 8-bit word, and the next AUX data addition circuit 23 adds auxiliary AIIX data to one sample word. This is 608 (680) bytes of data per audio sector. In the outer ECC addition circuit 24, 4
Seventy-six (85) outer parity blocks with byte outer parity codes added are generated and sent to sector shuffle circuits 2OA and 20B for each channel. In the memory in the sector shuffle circuit 2OA or 20B, for example, as shown in FIG. 2, the sector shuffle memory for the video signal and the sector shuffle memory for the audio signal are provided in the memory space of the same memory device. It is being done. That is, FIG. 2A shows a specific example of the memory space division format in the case of the PAL system, and FIG. 2B shows a specific example of the form of memory space division in the case of the NTSC system. First, if we try to secure 3 sectors as the memory capacity required for the full video signal sector in order to expand the time margin for writing/reading, 37848x 3 = 113544 [^ite]
:PAL(34680x3=104
040 [byte]: NTSC) or less NT
In the case of the SC method, the number {Iif is shown in parentheses. Also, for sector shuffling of audio signals, if there is a capacity for 2 sectors, there is sufficient margin for writing/reading, so the required memory capacity is 3648X 2 = 7296 [
Byte]: PAL (4080x 2 = 8
160 [bytes]: NTSC).
In order to fit these into a memory device with a capacity of 2 widths, 113544+7296=120840<131072
= 2": PAL (104040+8160=112
200<131072=2”:NTSC”),
It is sufficient to use a memory device of 2"r+4t, that is, 128kli{}.
The memory capacity is the same as that required for 4, and there is no increase in the number of parts. In this way, 128 of the actual memory IC etc.
Within the k-byte memory space, three memory blocks M1 to M3 for sector shuffling of video signals and two memory blocks MAu for sector shuffling of audio signals.
1 and Mau2 can be provided. Next, consideration will be given to the writing/reading timing of such sector shuffle circuits 2OA and 20B to and from the memories. Regarding memory succession, video data and audio data are read out according to the so-called D2 format as shown in FIG. There is no problem even if the video memory and audio memory are integrated.
次に、メモリ書込については、ビデオデータの書込要求
とオーディオデータの書込要求とは、時間的にそれぞれ
独立に発生する。しかし、1フィールド期間中の処理時
間を考えると、ビデオ信号の前述した有効な書込データ
は、PAL方式の4セクタ分(NTSC方式の3セクタ
分)で、37848X 4 −151392 [
バイト] FPAL( 34680X 3
=104040 [バイト] :NTSC )
また、オーディオ信号の1フィールド分の書込データは
、
3648X 4 −14592 [バイト]
:PAL( 4080X 3 =12240
[バイト] :NTSC )であり、メモリへ
の書込動作をRF記録周波数に基づいて行うとすると、
r o=154.2182/16=9.46 [MHz
] :PAL( f eh”12B/16=8 1MH
z] :NTSC )従って、lフィールド期間中に書
き込めるデータ量は、
9.46X10も/50 = 192800 [+G
イト/フィールFl :PAL( 8X10’/
59.94−133466 [パイ}/フィールEl
:NTSC )従って、これらの数値から、上記
周波数f。のクロックを用いて適当に時間を振り分けれ
ば、ビデオデータとオーディオデータとを上記一体化さ
れたメモリに書き込む処理時間を充分にとれることが明
らかである.実際には、例えば第3図に示すように、l
水平期間=II1をビデオ信号書込区間とオーディオ信
号書込区間とに分割して、初めの498 (498)ク
ロックでビデオデークを書き込み、続<96クロックで
オーディオデータを書き込み得るように(書き込まない
ときもある)゛制御すればよい.ここでオーディオデー
タについては、書込が可能となるまでデータを止めなけ
ればならないが、これは例えばバイト変換回路22での
続出を制御すること等により容易に実現できる.
なお、第1図の回路の伯の構或及び動作は、前述した第
4図に示すデータ符号化回路と同様であるため、対応す
る部分に同じ指示符号を付して説明を省略する.
以上のような構成によれば、同しメモリデバイスのメモ
リ空間内にビデオセクタシ中フリング用のメモリとオー
ディオシャフリング用のメモリとを配分して設けている
ため、従来個別に必要であったオーディオシャフリング
メモリを削減でき、しかもこのデータ符号化回路をIC
化する際に、上記オーディオシャフリングメモリに接続
するための外部ピンが不要となるので、ICパンケージ
のピン数を削減でき、ICを小型化することができる.
しかも、本発明実施例によれば、ビデオ信号の各チャン
ネル毎に3ブロック構成で、それぞれ3セクタ分のメモ
リ容量を有しているため、各メモリの書込(W)/読出
(R)の時間的余裕が大幅に増大し、例えばカラーフィ
ールドのシーケンスによる書込タイξングの数ラインの
ずれに対処し得ることは勿論のこと、入力ビデオ信号と
記録リファレンス信号との間の位相ずれが生じても、例
えば十数ライン程度の位相差まで充分に対処でき、許容
位相ずれ量を拡大できる.さらに、前述したヘッド対H
ASHB間(あるいはHC,HD間)の回転位相差分を
補正するための遅延を、各チャンネルからの続出タイミ
ングをずらすことで容易に実現でき、簡単な構戒で上記
へ・ノド回転位相差を補償でき、第4図の遅延回路17
が不要となって回路構成を大幅に簡略化できる.
なお、本発明は上記実施例のみに限定されるものではな
く、例えば、ビデオ信号のアウタECC符号器l3とオ
ーディオ信号のアウタECC符号器24とを共通化しし
てもよい.また、これらのアウタECC符号化に用いら
れるメモリを、上記セクタシャフル用のメモリと同じメ
モリデバイスのメモリ空間内に設けるようにしてもよい
.さらに、ビデオセクタのシャフリング用のメモリを4
ブロック(4セクタ)以上で構成するようにしてもよい
.この他、本発明の要旨を逸脱しない範囲で種々の変更
が可能であることは勿論である.〔発明の効果〕
本発明のデータ変換回路によれば、同じメモリデバイス
のメモリ空間内にビデオ信号のシャフリング用メモリと
オーディオ信号のシャフリング用メモリとを同一メモリ
デバイス内に設けているため、従来個別に必要であった
オーディオシャフリングメモリを削減できる.またデー
タ符号化回路をIC化する際に、上記オーディオシ+フ
リングメモリに接続するための外部ピンが不要となって
ICパッケージのピン数を削減でき、ICを小型化する
ことができる.
また、本発明の実施例によれば、ビデオ信号のセクタシ
ャフリング用のメモリを3ブロック(3ビデオセクタ)
構威としているため、メモリに対する書込/読出の時間
的余裕が大幅に増大し、例えば入力ディジタル信号と記
録リファレンス信号との間の位相ずれの許容値を大幅に
拡大できる.また、記録チャンネル毎の記録ヘッドの位
置の差等により生しる記録タイ果ングのずれの補正を、
上記メモリを兼用することで同時に行えるため、該ずれ
の補正のための遅延メモリを別個に設ける必要がなくな
り、回路構威を簡略化できる.Next, regarding memory writing, a video data write request and an audio data write request are generated independently in terms of time. However, considering the processing time during one field period, the above-mentioned valid write data of the video signal is 4 sectors in the PAL system (3 sectors in the NTSC system), which is 37848X 4 - 151392 [
Byte] FPAL (34680X 3
=104040 [byte] :NTSC)
Also, the write data for one field of audio signal is 3648X 4 -14592 [bytes]
:PAL(4080X3=12240
[byte]: NTSC), and if the write operation to the memory is performed based on the RF recording frequency, r o = 154.2182/16 = 9.46 [MHz
] :PAL( f eh”12B/16=8 1MH
z]: NTSC) Therefore, the amount of data that can be written during the l field period is 9.46 x 10/50 = 192800 [+G
Light/Feel Fl: PAL (8X10'/
59.94-133466 [Pi}/Feel El
:NTSC) Therefore, from these values, the above frequency f. It is clear that by appropriately allocating time using the clock of , it is possible to obtain sufficient processing time for writing video data and audio data into the integrated memory. In reality, for example, as shown in FIG.
The horizontal period = II1 is divided into a video signal writing period and an audio signal writing period, so that the video data can be written in the first 498 (498) clocks, and the audio data can be written in the next <96 clocks (when not writing). (There are some) ``You just have to control it.'' As for the audio data, it is necessary to stop the data until writing becomes possible, but this can be easily achieved by, for example, controlling successive output in the byte conversion circuit 22. The structure and operation of the circuit shown in FIG. 1 are the same as those of the data encoding circuit shown in FIG. 4 described above, so corresponding parts are denoted by the same reference numerals and a description thereof will be omitted. According to the above configuration, the memory for video sector shuffling and the memory for audio shuffling are allocated and provided within the memory space of the same memory device, which was previously required separately. Audio shuffling memory can be reduced, and this data encoding circuit can be integrated into an IC.
Since external pins for connecting to the audio shuffling memory are not required when converting the audio shuffling memory, the number of pins on the IC pancake can be reduced and the IC can be made smaller. Moreover, according to the embodiment of the present invention, each channel of the video signal has a three-block configuration, each having a memory capacity of three sectors, so that writing (W)/reading (R) of each memory is The time margin is significantly increased and it is possible, for example, to cope with a few lines of deviation in write timing due to the sequence of color fields, as well as phase shifts between the input video signal and the recording reference signal. However, it can sufficiently deal with phase differences of, for example, about ten lines, and the allowable phase shift amount can be expanded. Furthermore, the above-mentioned head pair H
The delay to correct the rotational phase difference between ASHB (or between HC and HD) can be easily realized by shifting the successive output timing from each channel, and the above can be achieved with a simple arrangement.・Compensate for the throat rotational phase difference The delay circuit 17 in FIG.
This eliminates the need for circuit configuration, which greatly simplifies the circuit configuration. It should be noted that the present invention is not limited to the above-mentioned embodiments; for example, the outer ECC encoder l3 for the video signal and the outer ECC encoder 24 for the audio signal may be made common. Further, the memory used for these outer ECC encodings may be provided in the memory space of the same memory device as the memory for sector shuffling. In addition, the memory for video sector shuffling is 4
It may be made up of blocks (4 sectors) or more. It goes without saying that various other changes can be made without departing from the gist of the present invention. [Effects of the Invention] According to the data conversion circuit of the present invention, a video signal shuffling memory and an audio signal shuffling memory are provided in the same memory device within the memory space of the same memory device. The audio shuffling memory that was previously required separately can be reduced. Furthermore, when converting the data encoding circuit into an IC, external pins for connection to the audio shuffling memory are no longer required, so the number of pins on the IC package can be reduced, and the IC can be made smaller. Further, according to the embodiment of the present invention, three blocks (three video sectors) of memory for sector shuffling of video signals are provided.
As a result, the time margin for writing to/reading from the memory is greatly increased, and for example, the allowable phase shift between the input digital signal and the recording reference signal can be greatly expanded. In addition, it is possible to correct discrepancies in recording ties caused by differences in the position of the recording head for each recording channel.
Since the above memories can be used simultaneously, it is not necessary to separately provide a delay memory for correcting the deviation, and the circuit structure can be simplified.
【図面の簡単な説明】[Brief explanation of the drawing]
第1図は本発明に係るデータ符号化回路の一実施例の概
略構成を示すブロック回路図、第2図はセクタシャッフ
ル用メモリを構威するメモリデバイスのメモリ空間の分
割形態を示す図、第3図はメモリ書き込み動作説明のた
めのタイムチャート、第4図はディジタルVTRの記録
側に設けられるエンコーダ回路としてのデータ符号化回
路の従来例を示すブロック回路図、第5図は入力ビデオ
信号の1ライン内の有効データ及び外パリティブロック
を示すタイムチャート、第6図は1フィールド内の有効
データのチャンネル分配及びセグメント分割を示す図、
第7図は1セクタ内のサンプノレデー夕の配列状態及び
シンクブロンクを示す図、第8図はセクタシャフル回路
内の各セクタメモ17に対する書込/!5’!出動作及
び記録データを説明するためのタイムチャート、第9図
は記録トラ・ソクに対応する記録データを示すタイムチ
ャート、第10図は回転ヘッド装置の概略平面図、第1
1図は磁気テープ上の記録トラックパターンを示す概略
正面図である。
11・・・・・・・・ビデオ入力端子
l2・・・・・・・・ラインシャフル回路13・・・・
・・・・アウタECC付加回路l4・・・・・・・・セ
クタシャフノレ回路16A,16B・・・・・・SYN
C, TO,インチECC付加回路17・・・・・・・
・遅延回路
21・・・・・・・・オーディオ入力端子24・・・・
・・・・アウタECC付加回路25・・・・・・・・オ
ーディオシャフノレ回路ガ^1〜MB2・・・・・セク
タメモリ31,
33・・・・・タイξング発生回路FIG. 1 is a block circuit diagram showing a schematic configuration of an embodiment of a data encoding circuit according to the present invention, FIG. Figure 3 is a time chart for explaining the memory write operation, Figure 4 is a block circuit diagram showing a conventional example of a data encoding circuit as an encoder circuit provided on the recording side of a digital VTR, and Figure 5 is a diagram of the input video signal. A time chart showing valid data within one line and outer parity blocks, FIG. 6 is a diagram showing channel distribution and segment division of valid data within one field,
FIG. 7 is a diagram showing the arrangement state of sample data in one sector and sync bronch, and FIG. 8 is a diagram showing write/! to each sector memory 17 in the sector shuffle circuit. 5'! FIG. 9 is a time chart showing recording data corresponding to the recording track/socket; FIG. 10 is a schematic plan view of the rotary head device;
FIG. 1 is a schematic front view showing a recording track pattern on a magnetic tape. 11...Video input terminal l2...Line shuffle circuit 13...
...Outer ECC addition circuit 14...Sector shuffling circuit 16A, 16B...SYN
C, TO, inch ECC addition circuit 17...
・Delay circuit 21...Audio input terminal 24...
...Outer ECC addition circuit 25 ...Audio shuffling circuit Ga^1 to MB2 ... Sector memory 31, 33 ...Tie ξ generation circuit