JP4061731B2 - Signal processing circuit and method thereof - Google Patents
Signal processing circuit and method thereof Download PDFInfo
- Publication number
- JP4061731B2 JP4061731B2 JP25558598A JP25558598A JP4061731B2 JP 4061731 B2 JP4061731 B2 JP 4061731B2 JP 25558598 A JP25558598 A JP 25558598A JP 25558598 A JP25558598 A JP 25558598A JP 4061731 B2 JP4061731 B2 JP 4061731B2
- Authority
- JP
- Japan
- Prior art keywords
- transmission
- time
- packet
- data
- block
- 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
Links
Images
Description
【0001】
【発明が属する技術分野】
本発明は、ディジタルシリアルインタフェースに用いられる信号処理回路およびその方法に関する。
【0002】
【従来の技術】
近年、マルチメディア・データ転送のためのインタフェースとして、高速データ転送、リアルタイム転送を実現するIEEE(The Institute of Electrical and Electronic Engineers) 1394、High Performance Sirial Busが規格化された。
【0003】
このIEEE1394シリアルインタフェースのデータ転送においては、ネットワーク内で行われる転送動作をサブアクションと呼び、2つのサブアクションが規定されている。
一つは、従来のRequest,Acknowledge の要求、受信確認を行うアシンクロナス(Asynchronous) 転送であり、他の一つはあるチャネル当たり125μs毎に少なくとも1パケットを送るアイソクロナス(Isochronous) 転送である。アイソクロナス転送では、データ送信の速度が保証されるという利点がある。
【0004】
ところで、アイソクロナス転送において、アイソクロナス通信用パケットをIEEE1394シリアルバスを介して送信する場合に、送信側のアプリケーションI/FやIEEE1394シリアルバスにおいて生じたジッタなどの影響で、アイソクロナス通信用パケットの送信時刻がDVプロトコルで規定されている許容最大遅延時間を越えてしまうと、当該アイソクロナス通信用パケットが受信側において有効に処理されず、例えば表示タイミングに間に合わないなどの事態が生じてしまう。
【0005】
そのため、送信側では、アイソクロナス通信用パケットを送信する際に、当該送信のタイミングが許容最大遅延時間を越えていないか否かを判断し、許容最大遅延時間を越えていると判断した場合には、当該アイソクロナス通信用パケットを送信しないレイト(Late)処理を行っている。
従来では、送信側において、送信データをアプリケーションI/Fから入力するタイミングが固定であり、送信を行おうとするアイソクロナス通信用パケットを送信できる最も早い時間は規則的に決まることから、レイト処理を一定の時間間隔で行っている。例えば、アプリケーションI/Fから入力する送信データが映像信号である場合には、フレーム同期信号を基準としてフレーム単位でレイト処理を行っている。
【0006】
【発明が解決しようとする課題】
しかしながら、送信側において、送信データをアプリケーションI/Fから入力するタイミングが変動する場合には、アイソクロナス通信用パケットを送信できる最も早い時間が不規則に決まり、上述した従来の手法では、レイト処理を適切に行うことができないという問題がある。
【0007】
本発明は上述した従来技術の問題点に鑑みてなされ、送信データをアプリケーションI/Fから入力するタイミングが変動した場合でも、レイト処理を適切に行うことができる信号処理回路を提供することを目的とする。
【0008】
【課題を解決するための手段】
上述した従来技術の問題点を解決し、上述した目的を達成するために、本発明の第1の観点の信号処理回路は、自ノードからシリアルインタフェースバスを介して接続された他ノードに、所定の時間間隔でパケットを送信する信号処理回路において、基準時刻を決定するタイマと、入力タイミングが可変する送信データが入力され、該送信データに規定された第1のブロックを分割して得られた複数の第2のブロックを単位として書き込みおよび読み出しが行われる第1の記憶手段と、前記送信データ内の前記第1のブロックの区切りを示す同期信号を入力し、当該同期信号および前記タイマが示す基準時刻に基づいて、前記第2のブロックをパケットにして送信するときの基準タイミング信号を生成し、該基準タイミング信号にあらかじめ決められた遅延時間を加算してタイムスタンプデータを生成して、送信時刻指示データとして出力する送信時刻指示データ生成手段と、前記パケットを送信するときに、当該パケットの送信が許可される最も遅い時刻を経過していないか否かを判断するレイト判断回路と、前記レイト判断回路が前記基準時刻と前記送信時刻指示データを比較して、前記最も遅い時刻を経過していないと判断した場合に、前記第1の記憶手段に記憶された前記第2のブロックを有する前記パケットを前記シリアルインタフェースバスを介して前記他ノードに送信し、前記レイト判断回路が前記最も遅い時刻を経過したと判断した場合に、前記第1の記憶手段に記憶された前記第2のブロックを有する前記パケットを前記シリアルインタフェースバスを介して前記他ノードに送信しない送信決定回路とを有する。
【0009】
本発明の第1の観点の信号処理回路は、先ず、レイト判断回路において、パケットを送信するときに、当該パケットの送信が許可される最も遅い時刻を経過していないか否かが判断される。
そして、前記レイト判断回路が前記最も遅い時刻を経過していないと判断した場合に、送信決定手段によって、前記パケットが前記シリアルインタフェースバスを介して前記他ノードに送信され、前記レイト判断回路が前記最も遅い時刻を経過したと判断した場合に、前記送信決定手段によって、前記パケットが前記シリアルインタフェースバスを介して前記他ノードに送信されない。
【0010】
また、本発明の第2の観点の信号処理回路は、基準時刻を決定するタイマと、入力タイミングが可変する送信データが入力され、該送信データに規定された第1のブロックを分割して得られた複数の第2のブロックを単位として書き込みおよび読み出しが行われる第1の記憶手段と、前記送信データ内の前記第1のブロックの区切りを示す同期信号を入力し、当該同期信号および前記タイマが示す基準時刻に基づいて、前記第2のブロックをパケットにして送信するときの基準タイミング信号を生成し、該基準タイミング信号にあらかじめ決められた遅延時間を加算してタイムスタンプデータを生成して、送信時刻指示データとして出力する送信時刻指示データ生成手段と、前記基準タイミング信号を記憶する第2の記憶手段と、前記第1の記憶手段から前記第2のブロックを読み出したときに、当該読み出した第2のブロックに対応する前記基準タイミング信号を前記第2の記憶手段から読み出す読み出し手段と、前記送信時刻指示データと前記タイマが示す基準時刻とを比較して、前記第1の記憶手段から読み出した前記第2のブロックを送信するか否かを決定する送信決定手段とを有する。
【0011】
本発明の第2の観点の信号処理回路では、送信データが、第1のブロックを単位として、第1の記憶手段に書き込まれた後に読み出され、送信決定手段に出力される。
また、それと並行して、送信時刻指示データ生成手段に、前記送信データ内の前記第1のブロックの区切りを示すブロック識別信号が入力され、当該ブロック識別信号および前記タイマが示す基準時刻に基づいて、前記第2のブロックの送信が許可される最も早い時刻を指示する送信時刻指示データが前記第2のブロック毎に生成される。
次に、第2のブロックに対応する基準タイミング信号が第2の記憶手段に記憶された後に、前記第1の記憶手段から前記第2のブロックが読み出されたときに、当該読み出した第2のブロックに対応する前記基準タイミング信号を前記第2の記憶手段から読み出されて前記送信決定手段に出力される。
次に、送信決定手段において、前記送信時刻指示データと前記タイマが示す基準時刻とを比較して、前記第1の記憶手段から読み出した前記第2のブロックを送信するか否かを決定する。
【0012】
また、本発明の信号処理方法は、自ノードからシリアルインタフェースバスを介して接続された他ノードに、所定の時間間隔でパケットを送信する信号処理方法において、入力タイミングが可変する送信データが入力され、該送信データに規定された第1のブロックを分割して得られた複数の第2のブロックを単位として第1の記憶手段に書き込むステップと、前記送信データ内の前記第1のブロックの区切りを示す同期信号を入力し、当該同期信号およびタイマが示す基準時刻に基づいて、前記第2のブロックをパケットにして送信するときの基準タイミング信号を生成し、該基準タイミング信号にあらかじめ決められた遅延時間を加算してタイムスタンプデータを生成して、送信時刻指示データとして出力するステップと、前記基準タイミング信号を第2の記憶手段に記憶するステップと、前記第1の記憶手段から前記第2のブロックを読み出したときに、当該読み出した第2のブロックに対応する前記基準タイミング信号を前記第2の記憶手段から読み出すステップと、前記第2のブロックを前記パケットとして送信するときに、当該パケットの送信が許可される最も遅い時刻を経過していないか否かを判断するステップと、前記基準時刻と前記送信時刻指示データを比較して、前記最も遅い時刻を経過していないと判断した場合に、前記パケットを前記シリアルインタフェースバスを介して前記他ノードに送信し、前記最も遅い時刻を経過したと判断した場合に、前記パケットを前記シリアルインタフェースバスを介して前記他ノードに送信しないステップとを有する。
【0013】
【発明の実施の形態】
以下、本発明の実施形態に係わるDVCR(Digital Video Cassette Recorder) 用信号処理回路について説明する。
本実施形態に係わるDVCR用信号処理回路は、リンク・レイヤ回路のレイト処理回路に主な特徴を有している。
【0014】
図1は、DVCR用信号処理回路1の構成図である。
図1に示すように、DVCR用信号処理回路1は、例えば、リンク・レイヤ回路10、フィジカル・レイヤ回路20およびマイクロコンピュータ30を有する。
また、リンク・レイヤ回路10はデジタル・ビデオカセット・レコーダ40に接続されており、フィジカル・レイヤ回路20はIEEE1394シリアルバスBSに接続されている。
【0015】
リンク・レイヤ回路10は、マイクロコンピュータ30の制御の下、アシンクロナス転送およびアイソクロナス転送の制御、並びにフィジカル・レイヤ回路20の制御を行う。
図1に示すように、リンク・レイヤ回路10は、例えば、リンクコア101、マイクロコンピュータI/F(Interface) 102、送信用FIFOメモリ(AT-FIFO) 104、受信用FIFOメモリ(AR-FIFO) 105、アウトバウンド回路106、オートリスポンス回路107、送信用リンクFIFOメモリ(LAT-FIFO)108、インバウンド回路109、デマルチプレクサ110、コンフィギュレーションレジスタ(Configuration Register、以下CFRという)群111、トランザクションレジスタ(Transaction Register)、以下TSRという)群113、デジタル・ビデオカメラI/F120、レイト処理回路121、アイソクロナス通信用FIFOメモリ(I-FIFO)122および受信前処理・送信後処理回路123を有する。
【0016】
DVCR用信号処理回路1において、リンクコア101、マイクロコンピュータI/F102、送信用FIFOメモリ104、受信用FIFOメモリ105、アウトバウンド回路106、オートリスポンス回路107、送信用リンクFIFOメモリ108およびデマルチプレクサ110によって、アシンクロナス通信系回路が構成される。
また、デマルチプレクサ110、リンクコア101、デジタル・ビデオカセット・レコーダI/F120、レイト処理回路121、アイソクロナス通信用FIFOメモリ122および受信前処理・送信後処理回路123によって、アイソクロナス通信系回路が構成される。
【0017】
アシンクロナス通信系回路
〔マイクロコンピュータI/F102〕
マイクロコンピュータI/F102は、主としてマイクロコンピュータ30と、送信用FIFOメモリ104および受信用FIFOメモリ105との間でのアシンクロナス通信用パケットの書き込み、読み出し等の調停、並びに、マイクロコンピュータ30とCFR群111との各種データの送受信の調停を行う。
例えば、マイクロコンピュータ30からは、後述するようにレイト処理回路121におけるノミナル・タイミング(NT)信号の生成に用いられるノミナル(Nominal) 初期値およびノミナルステップ値が、マイクロコンピュータI/F102を介してCFR群111の所定のレジスタに設定される。
【0018】
〔送信用FIFOメモリ104および受信用FIFOメモリ105〕
送信用FIFOメモリ104には、IEEE1394シリアルバスBSに伝送させるアシンクロナス通信用パケットが格納され、受信用FIFOメモリ105にはIEEE1394シリアルバスBSを伝送されてきたアシンクロナス通信用パケットが格納される。
【0019】
〔インバウンド回路109〕
インバウンド回路109は、CFR群111の所定のレジスタによってオートレスポンスが指定されている場合には、デマルチプレクサ110から入力したアシンクロナス通信用パケットをオートレスポンス回路107に出力する。一方、インバウンド回路109は、CFR群111の所定のレジスタによってオートレスポンスが指定されていない場合には、デマルチプレクサ110から入力したアシンクロナス通信用パケットを受信用FIFOメモリ105に出力する。
【0020】
〔オートレスポンス回路107〕
オートレスポンス回路107は、インバウンド回路109から入力したアシンクロナス通信用パケットに対して、所定のオートレスポンス処理を行い、その処理結果であるアシンクロナス通信用パケットをアウトバウンド回路106に出力する。
ここで、オートレスポンス処理とは、IEEE1394シリアルバスBSを伝送されてきたアシンクロナス通信用パケットを、マイクロコンピュータ30に出力して処理するのではなく、リンク・レイヤ回路10内で処理を行い、その処理結果をIEEE1394シリアルバスBSを伝送する処理をいう。
【0021】
〔アウトバウンド回路106〕
アウトバウンド回路106は、CFR群111の所定のレジスタによってオートレスポンスが指定されている場合には、オートリスポンス回路107から入力したアシンクロナス通信用パケットを送信用リンクFIFOメモリ108に出力する。一方、アウトバウンド回路106は、CFR群111の所定のレジスタによってオートレスポンスが指定されていない場合には、送信用FIFOメモリ104から入力したアシンクロナス通信用パケットを送信用リンクFIFOメモリ108に出力する。
【0022】
〔送信用リンクFIFOメモリ108〕
送信用リンクFIFOメモリ108は、アウトバウンド回路106から入力したアシンクロナス通信用パケットを格納するリングバッファである。
【0023】
〔デマルチプレクサ110〕
デマルチプレクサ110は、リンクコア101から入力した通信用パケットの1394ヘッダ内に存在するt−code(図2には図示せず)を参照して、アシンクロナス通信用パケットおよびアイソシンクロナス通信用パケットおよびセルフ−ユロパケットのいずれであるかを識別し、アシンクロナス通信用パケットであればインバウンド回路109に出力し、アイソシンクロナス通信用パケットであれば受信前処理・送信後処理回路123に出力する。
【0024】
〔リンクコア101〕
リンクコア101は、アシンクロナス通信用パケットおよびアイソクロナス通信用パケットの送信回路、受信回路、これらパケットのIEEE1394シリアルバスBSを直接ドライブするフィジカル・レイヤ回路20とのインタフェース回路、125μs毎にリセットされるサイクルタイムを出力するサイクルタイマ、サイクルモニタやCRC回路から構成されている。
また、リンクコア101は、フィジカル・レイヤ回路20およびIEEE1394シリアルバスBSを介して、送受信先の信号処理回路との間で、送受信の可否を示すCS(Cycle Start) パケットを125μs毎に送受信する。
そして、たとえばサイクルタイムなどの時間データや、CSパケットの送受信の有無などは、CFR群111の所定のレジスタを通してアイソクロナス通信系処理回路に供給および指示される。
【0025】
アイソクロナス通信系回路
アイソクロナス通信系回路の構成要素を説明する前に、アイソクロナス通信用パケットのフォーマットについて説明する。
〔アイソクロナス通信用パケットのフォーマット〕
図2はアイソクロナス通信用パケットの基本構成例を示す図である。
図2に示すように、アイソクロナス通信のパケットは、第1クワドレットが1394ヘッダ(Header)、第2クワドレットがヘッダCRC(Header-CRC)、第3クワドレットがCIPヘッダ1(CIP-Header1)、第4クワドレットがCIPヘッダ2(CIP-Header2)、第5クワドレット以降がデータ領域(Data)である。そして、最後のクワドレットがデータCRC(Data-CRC)である。
【0026】
1394ヘッダは、データ長を表すdata-length 、このパケット転送されるチャネルの番号(0〜63のいずれか)を示すchannel 、処理のコードを表すtcode 、および各アプリケーションで規定される同期コードsyにより構成されている。
ヘッダCRCは、パケットヘッダの誤り検出符号である。
【0027】
CIPヘッダ1は、送信ノード番号のためのSID(Source node ID)領域、データブロックの長さのためのDBS(Data Block Size) 領域、パケット化におけるデータの分割数のためのFN(Fraction Number) 領域、パディングデータのクワドレット数のためのQPC(Quadlet Padding Count) 領域、ソースパケットヘッダの有無を表すフラグのためのSPH領域、アイソクロナスパケットの数を検出するカウンタのためのDBC(Data Block Continuty Counter)領域により構成されている。
なお、DBS領域は、1アイソクロナスパケットで転送するクワドレット数を表す。
【0028】
CIPヘッダ2は、転送されるデータの種類を表す信号フォーマットのためのFMT領域、信号フォーマットに対応して利用されるFDF(Format Dependent Field)領域、フレームパルス信号FRのタイムスタンプ情報のためのSyncTimeにより構成されている。
【0029】
また、データCRCは、データフィールドの誤り検出符号である。
【0030】
以下、アイソクロナス通信系回路の各構成要素について詳細に説明する。
〔デジタル・ビデオカセット・レコーダI/F120〕
デジタル・ビデオカセット・レコーダI/F120は、送信時に、デジタル・ビデオカセット・レコーダ40から入力した4ビットのデータ幅のDVCRデータを32ビットのデータ幅のDVCRデータに変換し、当該変換したDVCRデータをレイト処理回路121に出力する。これは、デジタル・ビデオカセット・レコーダ40から入力するDVCRデータの最小データの単位が4ビットであるのに対して、IEEE1394規格では、取り扱う最小データの単位が32ビット(=1クワドレット(quadlet) )だからである。
【0031】
また、デジタル・ビデオカセット・レコーダI/F120は、送信時に、デジタル・ビデオカセット・レコーダ40から入力したフレームパルス信号FRをレイト処理回路121に出力する。フレームパルス信号FRは、デジタル・ビデオカセット・レコーダ40から入力されるDVCRデータのフレームの先頭でパルスを発生する信号である。
ところで、本実施形態では、デジタル・ビデオカセット・レコーダ40は、後述するコントローラ210から入力した出力制御信号に基づいて、デジタル・ビデオカセット・レコーダI/F120に対してのDVCRデータの出力タイミングを制御している。
従って、デジタル・ビデオカセット・レコーダ40からデジタル・ビデオカセット・レコーダI/F120に入力されるDVCRデータの入力タイミングは不規則に変動することがある。
なお、DVCRデータの出力タイミングの制御は、1アイソクロナス通信用パケット分のDVCRデータを単位として行われる。
【0032】
また、デジタル・ビデオカセット・レコーダI/F120は、受信時に、レイト処理回路121から入力した32ビットのデータ幅のDVCRデータを4ビットのデータ幅のDVCRデータに変換し、当該変換したDVCRデータをデジタル・ビデオカセット・レコーダ40に出力する。
【0033】
〔アイソクロナス通信用FIFOメモリ122〕
図3に示すように、アイソクロナス通信用FIFOメモリ122は、例えば、コントローラ210およびRAM(Random Access Memory)211を有する。
RAM211は、バンクPB1 ,PB2 ,PB3 およびPB4 からなる4バンク構成をしており、デジタル・ビデオカセット・レコーダI/F120からのDVCRデータの書き込みを行う一のバンクを書き込み用切り換え信号に基づいてスイッチSW3 で選択し、送信決定回路205にDVCRデータの読み出しを行う一のバンクを読み出し用切り換え信号に基づいて選択する。
ここで、バンクPB1 ,PB2 ,PB3 およびPB4 の各々は、図2に示す1アイソクロナス通信用パケット分のDVCRデータを記憶可能な480バイトの記憶容量を有している。
NTSC方式の場合には、1フレーム分のDVCRデータは、250個のアイソクロナス通信用パケットに分割される。
【0034】
コントローラ210は、RAM211の記憶状態を監視し、RAM211がフルにならないように、図1に示すデジタル・ビデオカセット・レコーダ40からのDVRCデータの出力を制御する出力制御信号生成する。
また、コントローラ210は、デジタル・ビデオカセット・レコーダI/F120から入力した1アイソクロナス通信用パケット分のDVCRデータの先頭フラグを監視することで、1パケット分のDVCRデータがRAM211の各バンクに書き込まれたか否かを判断し、書き込まれたと判断すると、書き込み用切り換え信号で次のバンクに切り換えることを指示する。
また、コントローラ210は、1パケット分のDVCRデータの書き込みが終了したバンクPB1 〜PB4 から1パケット分のDVCRデータを順に読み出すための読み出し用切り換え信号を生成する。
なお、コントローラ210は、出力制御信号、書き込み用切り換え信号および読み出し用切り換え信号を生成するにあたって、CFR群111の所定のレジスタを通して得られたCSパケットの送受信の有無を参照する。
【0035】
〔レイト処理回路121〕
図3に示すように、レイト処理回路121は、例えば、ノミナル・タイミング(NT)生成回路200、サンプリング回路201、レジスタNT−reg1 ,NT−reg2 ,NT−reg3 ,NT−reg4 、スイッチSW1 ,SW2 、メモリ202、加算回路203、レイト判断回路204および送信決定回路205を有する。
【0036】
ノミナル・タイミング生成回路200は、デジタル・ビデオカセット・レコーダI/F120からのフレームパルス信号FRと、CFR群111の所定のレジスタから読み出されたノミナル(Nominal) 初期値およびノミナルステップ値とを入力し、これらを用いてノミナル・タイミング(NT)信号を生成する。NT信号は、RAM211の容量を小さくするために、1フレーム分のDVCRデータを分割して得られたアイソクロナス通信用パケットを時間的に均等化して送信する基準タイミング(ノミナル・タイミング)を決定する。
ここで、ノミナル初期値は、デジタル・ビデオカセット・レコーダI/F120から入力した最初の1アイソクロナス通信用パケット分のDVCRデータが、RAM211に書き込まれる前にNT信号にパルスが発生しないように、フレーム同期信号FRにパルスが発生してから最初のパルスをNT信号に発生するまでの時間を制御するために用いられる。
また、ノミナルステップ値は、例えばWWWシステムなどでは、1フレームのクロック数(時間)が固定ではなく、ジッタに依存することから、フレーム毎に、NT信号にパルスを発生させる時間間隔を指定して制御するために用いられる。
【0037】
サンプリング回路201は、ノミナル・タイミング生成回路200から入力したNT信号と、リンクコア101で生成されCFR群111の所定のレジスタからを介して入力したサイクルタイムとを用いて、NT信号にパルスが発生したタイミングで、サイクルタイムが示す時間をサンプリングし、当該サンプリングした時間をNT時間として、スイッチSW1 に出力する。
ここで、サイクルタイムは、32ビットからなり、下位12ビットが40.69ns毎にインクリメントされ、その上位13ビットが125μs毎にインクリメントされ、その上の7ビットが秒数のカウント値を示している。
【0038】
レジスタNT−reg1 ,NT−reg2 ,NT−reg3 およびNT−reg4 は、それぞれスイッチSW1 によって選択されたときに、サンプリング回路201からのNT時間を書き込んで記憶し、スイッチSW2 によって選択されたときに、記憶しているNT時間を読み出して加算回路203に出力する。
ここで、レジスタNT−reg1 ,NT−reg2 ,NT−reg3 およびNT−reg4 は、RAM211のそれぞれバンクPB1 ,PB2 ,PB3 およびPB4 に記憶されている1アイソクロナス通信用パケット分のDVCRデータのNT時間を記憶する。また、当該NT時間は、RAM211に記憶されている対応する1アイソクロナス通信用パケット分のDVCRデータの送信が許可される最も早い時刻を示している。
なお、スイッチSW1 とSW3 とは連動して切り換わり、スイッチSW2 とSW4 とも連動して切り換わる。
【0039】
加算回路203は、スイッチSW2 から入力したNT時間と、メモリ202から読み出した許容最大遅延時間である450μsとを加算し、当該加算の結果をタイムスタンプとしてレイト判断回路204に出力する。
ここで、タイムスタンプは、対応するアイソクロナス通信用パケットの送信が許可される最も遅い時刻を示している。
また、許容最大遅延時間は、送信側から送信したアイソクロナス通信用パケットを受信側において有効に処理(例えば表示処理)できるようにシステムで予め決められいるものであり、例えば、ジッタなどが発生しない正常な状態において、アイソクロナス通信用パケットが、送信側のアイソクロナス通信用FIFOメモリ122を出力してから、受信側のアプリケーションI/F(デジタル・ビデオカセット・レコーダI/F120に対応する)から出力するまでの時間を基準として決定される。
本実施形態では、IEC61883規格に基づいて、許容最大遅延時間は450μsとなっている。なお、許容最大遅延時間はシステムの種類に応じて任意に決定される。
【0040】
レイト判断回路204は、サイクルタイムの前記上位13ビットがカウントアップしたタイミング(125μs毎にカウントアップする)で、サイクルタイムが示す時間とタイムスタンプが示す時間とを比較し、サイクルタイムが示す時間がタイムスタンプが示す時間に比べて遅い場合にレイトと判断し、そうでない場合にレイトではないと判断し、レイト判断結果を送信決定回路205に出力する。
ここで、レイトと判断されるのは、ノミナル・タイミング生成回路200から出力されるNT信号に対応するパルスが発生するタイミングから、当該パルスに対応する1パケット分のDVCRデータがRAM211から読み出されるまでの時間が、許容最大遅延時間450μsを越えた場合である。
【0041】
送信決定回路205は、レイト判断回路204から入力したレイト判断結果がレイトを示している場合には、スイッチSW4 から入力した1アイソクロナス通信用パケット分のDVCRデータを後段の図1に示す受信前処理・送信後処理回路123には出力しない。その後、送信決定回路205は、切り換わったスイッチSW4 を介して次のバンクPB1 ,PB2 ,PB3 およびPB4 から入力したDVCRデータを送信するか否かをレイト判断結果に基づいて決定する。
この場合に、送信決定回路205は、次のバンクPB1 ,PB2 ,PB3 ,PB4 が空である場合や、当該次のバンクに対応するレジスタNT−reg1 ,NT−reg2 ,NT−reg3 ,NT−reg4 にNT時間が記憶されていない場合には、ダミーパケットを受信前処理・送信後処理回路123に出力する。
ここで、ダミーパケットは、図2に示すアイソクロナス通信用パケットのうち、データを除く、1394ヘッダ、ヘッダCRC、CIPヘッダ1、CIPヘッダ2およびデータCRCから構成されているパケットである。
【0042】
一方、送信決定回路205は、レイト判断回路204から入力したレイト判断結果がレイトを示していない場合には、スイッチSW4 から入力した1アイソクロナス通信用パケット分のDVCRデータを後段の受信前処理・送信後処理回路123に出力する。
【0043】
〔受信前処理・送信後処理回路123〕
受信前処理・送信後処理回路123は、送信時に、図2に示すデータ領域(Data)にDVCRデータを設定し、1394ヘッダ、CIPヘッダ1およびCIPヘッダ2およびデータCRCを付加してアイソクロナス通信用パケットを生成し、これをリンクコア101に出力する。
ここで、レイト処理回路121の送信決定回路205において、レイトと判断されて送信されなかったアイソクロナス通信用パケットの次のアイソクロナス通信用パケットには、DBCの番号を1つ飛ばして付与する。
【0044】
受信前処理・送信後処理回路123は、受信時に、リンクコア101を介してIEEE1394シリアルバスBSを伝送されてきたアイソクロナス通信用パケットを受けて、受信パケットの1394ヘッダ、CIPヘッダ1,2などの内容を解析し、データを復元してDVCRデータをアイソクロナス通信用FIFOメモリ122に格納する。
【0045】
アイソクロナス通信用パケットの送信時の動作
以下、DVCR用信号処理回路1におけるアイソクロナス通信用パケットの送信時の動作について説明する。
図3に示すアイソクロナス通信用FIFOメモリ122のコントローラ210からの出力制御信号に基づいて、デジタル・ビデオカセット・レコーダ40から4ビットのデータ幅のDVCRデータが、デジタル・ビデオカセット・レコーダI/F120に出力される。
DVCRデータは、デジタル・ビデオカセット・レコーダI/F120において、32ビットのデータ幅のDVCRデータに変換され、当該変換されたDVCRデータがアイソクロナス通信用FIFOメモリ122に出力される。
また、DVCRデータと同期してフレームパルス信号FRが、デジタル・ビデオカセット・レコーダI/F120を介してデジタル・ビデオカセット・レコーダ40からレイト処理回路121のノミナル・タイミング生成回路200に出力される。
【0046】
1アイソクロナス通信用パケット分のDVCRデータは、コントローラ210からの書き込み用切り換え信号に基づいてスイッチSW3 が選択したRAM211のバンクPB1 〜PB4 のいずれかのバンクに書き込まれる。
また、バンクPB1 〜PB4 に書き込まれたDVCRデータは、コントローラ210からの読み出し用切り換え信号に基づいてスイッチSW4 によって選択されたときに送信決定回路205に出力される。
【0047】
上述したDVCRデータの処理と並行して、以下に示すレイト判断処理がレイト処理回路121において行われる。
すなわち、デジタル・ビデオカセット・レコーダI/F120からのフレームパルス信号FRと、CFR群111の所定のレジスタから読み出されたノミナル(Nominal) 初期値およびノミナルステップ値とを用いて、ノミナル・タイミング生成回路200においてノミナル・タイミング(NT)信号が生成され、当該NT信号がサンプリング回路201に出力される。
次に、サンプリング回路201において、NT信号にパルスが発生したタイミングで、サイクルタイムが示す時間がサンプリングされ、当該サンプリングされた時間がNT時間としてスイッチSW1 に出力される。
次に、スイッチSW1 に出力されたNT時間が、コントローラ210からの書き込み用切り換え信号に基づいてスイッチSW1 が選択したレジスタNT−reg1 〜NT−reg4 に書き込まれる。
このとき、スイッチSW1 とスイッチSW3 とは、書き込み用切り換え信号に基づいて連動して切り換えられる。
従って、レジスタNT−reg1 〜NT−reg4 には、それぞれバンクPB1 〜PB4 に記憶されているDVCRデータに対応するNT時間が記憶される。
【0048】
次に、レジスタNT−reg1 〜NT−reg4 に書き込まれたNT時間が、コントローラ210からの読み出し用切り換え信号に基づいてスイッチSW2 によって選択されたときに読み出されて加算回路203に出力される。
そして、加算回路203において、当該読み出されたNT時間とメモリ202から読み出されたた許容最大遅延時間450μsとが加算され、当該加算の結果がタイムスタンプとしてレイト判断回路204に出力される。
【0049】
次に、レイト判断回路204において、サイクルタイムの上位13ビットがカウントアップしたタイミングで、125μs毎に、サイクルタイムが示す時間とタイムスタンプが示す時間とが比較され、サイクルタイムが示す時間がタイムスタンプが示す時間に比べて遅い場合にレイトと判断され、そうでない場合にレイトではないと判断され、レイト判断結果が送信決定回路205に出力される。
【0050】
次に、送信決定回路205において、レイト判断回路204から入力したレイト判断結果がレイトを示している場合には、スイッチSW4 から入力した1アイソクロナス通信用パケット分のDVCRデータは後段の図1に示す受信前処理・送信後処理回路123に出力されない。その後、送信決定回路205において、切り換わったスイッチSW4 を介して次のバンクPB1 ,PB2 ,PB3 およびPB4 から入力したDVCRデータを送信するか否かをレイト判断結果に基づいて決定される。
この場合に、送信決定回路205は、次のバンクPB1 ,PB2 ,PB3 ,PB4 が空である場合や、当該次のバンクに対応するレジスタNT−reg1 ,NT−reg2 ,NT−reg3 ,NT−reg4 にNT時間が記憶されていない場合には、ダミーパケットが受信前処理・送信後処理回路123に出力される。
【0051】
一方、送信決定回路205において、レイト判断回路204から入力したレイト判断結果がレイトを示していない場合には、スイッチSW4 から入力した1アイソクロナス通信用パケット分のDVCRデータが後段の受信前処理・送信後処理回路123に出力される。
そして、DVCRデータに、図2に示す1394ヘッダ、CIPヘッダ1およびCIPヘッダ2およびデータCRCが付加されてアイソクロナス通信用パケットが生成され、当該アイソクロナス通信用パケットがリンクコア101、フィジカル・レイヤ回路20およびIEEE1394シリアルバスBSを介して、送信先のノードに出力される。
【0052】
アイソクロナス通信用パケットの受信時の動作
DVCR用信号処理回路1におけるアイソクロナス通信用パケットの受信時には、受信したアイソクロナス通信用パケットが、図1に示すリンクコア101、デマルチプレクサ110を介して、受信前処理・送信後処理回路123に出力される。
そして、受信前処理・送信後処理回路123において、アイソクロナス通信用パケットの1394ヘッダ、CIPヘッダ1,2などの内容が解析され、復元されてDVCRデータが、アイソクロナス通信用FIFOメモリ122に格納された後に、デジタル・ビデオカセット・レコーダI/F120を介して、デジタル・ビデオカセット・レコーダ40に出力される。
【0053】
以上説明したように、DVCR用信号処理回路1によれば、アイソクロナス通信用パケットを送信する際に、1アイソクロナス通信用パケット分のDVCRデータ毎に、当該DVCRデータの送信が許可される最も早い時刻を決定するNT時間をノミナル・タイミング生成回路200およびサンプリング回路201を用いて生成し、当該NT時間に許容最大遅延時間450μsを加算することで、当該DVCRデータの送信が許可される最も遅い時刻を示すタイムスタンプを生成する。そして、RAM211のバンクPB1 〜PB4 から1アイソクロナス通信用パケット分のDVCRデータを読み出したタイミングで、当該読み出したDVCRデータに対応するタイムスタンプとサイクルタイムとを比較することで、当該DVCRデータを含むアイソクロナス通信用パケットの送信がレイトになるか否かを判断し、レイトにならない場合にのみ、当該DVCRデータを図1に示す受信前処理・送信後処理回路123に出力する。
そのため、DVCR用信号処理回路1によれば、レイト判断をフレーム単位で行うのではなく、1アイソクロナス通信用パケット分のDVCRデータを単位として行うことができ、前述したように、図3に示すコントローラ210からの出力制御信号に基づいてデジタル・ビデオカセット・レコーダ40からのDVCRデータの出力タイミングが変動した場合でも、レイト判断を正確に行うことができる。
【0054】
また、DVCR用信号処理回路1によれば、図3に示すコントローラ210はRAM211がオーバーフローしないように出力制御信号を用いてデジタル・ビデオカセット・レコーダ40のDVCRデータの出力を制御しているため、RAM211がオーバーフローすることを回避できる。
【0055】
本発明は上述した実施形態には限定されない。
例えば、上述した実施形態では、図1に示すデジタル・ビデオカセット・レコーダ40から送信データを入力する場合を例示したが、送信データを出力するアプリケーションは特に限定されないが、本発明は、送信データの出力タイミングが変動するアプリケーションを用いる場合に特に有効である。
【0056】
また、上述した実施形態では、図1に示すように、アイソクロナス通信系回路に加えて、アシンクロナス通信系回路を備えたDVCR用信号処理回路1を例示したが、本発明は、アシンクロナス通信系回路を備えていなくてもよい。この場合には、図1において、リンクコア101からのアイソクロナス通信用パケットを無条件に受信前処理・送信後処理回路123に出力する構成にする。
【0057】
また、上述した実施形態では、図3に示すレイト処理回路121において、許容最大遅延時間を加算する加算回路203をレジスタNT−reg1 〜NT−reg4 の後段に設けたが、加算回路203をレジスタNT−reg1 〜NT−reg4 の前段に設けてもよい。
【0058】
また、本発明では、通信バスとして、IEEE1394を例示したが、アイソクロナス通信モードを持つものであれば、その他の通信バスを用いた場合にも適用できる。
【0059】
【発明の効果】
以上説明したように、本発明の信号処理回路およびその方法によれば、例えばアプリケーションI/Fなどから送信データを入力するタイミングが変動した場合でも、レイト処理を適切に行うことができる。
【図面の簡単な説明】
【図1】図1は、本発明の実施形態に係わるDVCR用信号処理回路の構成図である。
【図2】図2はアイソクロナス通信用パケットの基本構成例を示す図である。
【図3】図3は、図1に示すレイト処理回路およびアイソクロナス通信用FIFOメモリの内部構成図である。
【符号の説明】
1…DVCR用信号処理回路、10…リンク・レイヤ回路、20…フィジカル・レイヤ回路、30…マイクロコンピュータ、40…デジタル・ビデオカセット・レコーダ、101…リンクコア、102…マイクロコンピュータI/F、104…送信用FIFOメモリ、105…受信用FIFOメモリ、106…アウトバウンド回路、107…オートリスポンス回路、108…送信用リンクFIFOメモリ、109…インバウンド回路、110…デマルチプレクサ、111…CFR群、112…リンクコア、113…TSR群、120…デジタル・ビデオカセット・レコーダI/F、121…レイト処理回路、122…アイソクロナス通信用FIFOメモリ、123…受信前処理・送信後処理回路、200…ノミナル・タイミング生成回路、201…サンプリング回路、202…メモリ、203…加算回路、204…レイト判断回路、205…送信決定回路、211…RAM、210…コントローラ[0001]
[Technical field to which the invention belongs]
The present invention relates to a signal processing circuit used in a digital serial interface and a method thereof.
[0002]
[Prior art]
In recent years, IEEE (The Institute of Electrical and Electronic Engineers) 1394 and High Performance Serial Bus that realize high-speed data transfer and real-time transfer have been standardized as interfaces for multimedia data transfer.
[0003]
In the data transfer of the IEEE1394 serial interface, a transfer operation performed in the network is called a subaction and two subactions are defined.
One is conventional Asynchronous transfer for request / acknowledge request and reception confirmation, and the other is isochronous transfer for sending at least one packet every 125 μs per channel. Isochronous transfer has an advantage that the data transmission speed is guaranteed.
[0004]
By the way, in isochronous transfer, when an isochronous communication packet is transmitted via the IEEE1394 serial bus, a jitter generated in the application interface on the transmission side or the IEEE1394 serial bus is generated.TIf the transmission time of the isochronous communication packet exceeds the allowable maximum delay time specified by the DV protocol, the isochronous communication packet is not processed effectively on the receiving side, for example, in time for display timing. Such a situation will occur.
[0005]
Therefore, when transmitting a packet for isochronous communication, the transmitting side determines whether the transmission timing does not exceed the allowable maximum delay time, and if it determines that the allowable maximum delay time is exceeded, Then, a rate process that does not transmit the isochronous communication packet is performed.
Conventionally, transmission data is sent to the application on the transmission side.I / FThe timing to input from is fixedYes,Since the earliest time during which an isochronous communication packet to be transmitted can be transmitted is regularly determined, the rate processing is performed at regular time intervals. For example, applicationI / FWhen the transmission data input from is a video signal, the rate processing is performed in units of frames with reference to the frame synchronization signal.
[0006]
[Problems to be solved by the invention]
However, on the transmission side, the transmission dataI / FWhen the input timing fluctuates, the earliest time at which an isochronous communication packet can be transmitted is irregularly determined, and the conventional method described above has a problem that the rate processing cannot be performed appropriately.
[0007]
The present invention has been made in view of the above-described problems of the prior art, and uses transmission data as an application.I / FAn object of the present invention is to provide a signal processing circuit that can perform rate processing appropriately even when the input timing of the input signal fluctuates.
[0008]
[Means for Solving the Problems]
In order to solve the above-described problems of the prior art and achieve the above-described object, the signal processing circuit according to the first aspect of the present invention is connected to another node connected via a serial interface bus from its own node. In a signal processing circuit that transmits packets at time intervals ofA timer for determining a reference time and transmission data whose input timing is variable are input, and writing and reading are performed in units of a plurality of second blocks obtained by dividing the first block defined in the transmission data. First storage means to be performed and a synchronization signal indicating a break of the first block in the transmission dataEnter the relevantBased on a synchronization signal and a reference time indicated by the timer, a reference timing signal for transmitting the second block as a packet is generated, and a predetermined delay time is added to the reference timing signal to obtain a time stamp Transmission time instruction data generating means for generating data and outputting it as transmission time instruction data;A rate determining circuit for determining whether or not the latest time at which transmission of the packet is permitted has elapsed when the packet is transmitted; andCompare the reference time and the transmission time instruction data,If it is determined that the latest time has not passed,The packet having the second block stored in the first storage means;When transmitted to the other node via the serial interface bus and the late determination circuit determines that the latest time has elapsed,FirstStorage meansThe packet having the second block stored inIs transmitted to the other node via the serial interface bus.
[0009]
In the signal processing circuit according to the first aspect of the present invention, first, in the rate determination circuit, when transmitting a packet, it is determined whether or not the latest time at which transmission of the packet is permitted has elapsed. .
When the late determination circuit determines that the latest time has not elapsed, the packet is transmitted to the other node via the serial interface bus by the transmission determination unit, and the late determination circuit When it is determined that the latest time has elapsed, the transmission determination unit does not transmit the packet to the other node via the serial interface bus.
[0010]
The signal processing circuit according to the second aspect of the present invention receives a timer for determining a reference time and transmission data whose input timing is variable, and is obtained by dividing the first block defined in the transmission data. A first storage means for writing and reading in units of a plurality of second blocks, a synchronization signal indicating a break of the first block in the transmission data, and the synchronization signal and the timer Based on the reference time indicated by the reference signal, a reference timing signal for transmitting the second block as a packet is generated, and a predetermined delay time is added to the reference timing signal to generate time stamp data. , Transmission time instruction data generating means for outputting as transmission time instruction data, andReference timing signalAnd when the second block is read from the first storage means, the second block corresponding to the read second blockReference timing signalReading means for reading from the second storage means;The transmission time instruction data andA reference time indicated by the timer;CompareThe firstofTransmission determining means for determining whether or not to transmit the second block read from the storage means.
[0011]
In the signal processing circuit according to the second aspect of the present invention, transmission data is read after being written in the first storage means in units of the first block, and is output to the transmission determination means.
At the same time, a block identification signal indicating the delimiter of the first block in the transmission data is input to the transmission time instruction data generating means, and based on the block identification signal and the reference time indicated by the timer Transmission time instruction data indicating the earliest time at which transmission of the second block is permitted is generated for each second block.
next,Reference timing signal corresponding to the second blockIs stored in the second storage means, and when the second block is read from the first storage means, the second block corresponding to the read second block is stored.Reference timing signalIs read from the second storage means and output to the transmission determining means.
Next, in the transmission determining means,The transmission time instruction data andA reference time indicated by the timer;CompareThe firstofDecide whether to transmit the second block read from the storage meansDo.
[0012]
The signal processing method of the present invention is a signal processing method in which packets are transmitted from a local node to another node connected via a serial interface bus at predetermined time intervals, and transmission data with variable input timing is input. Writing to the first storage means in units of a plurality of second blocks obtained by dividing the first block defined in the transmission data, and delimiting the first block in the transmission data Input a synchronization signal indicatingBitBased on the reference time indicated by the timer, a reference timing signal for transmitting the second block as a packet is generated, and a predetermined delay time is added to the reference timing signal to generate time stamp data. Outputting as transmission time instruction data, andReference timing signalIn the second storage means, and when the second block is read from the first storage means, the second block corresponding to the read second blockReference timing signalReading from the second storage means, and the second blockTheWhen transmitting as the packet, the step of determining whether or not the latest time at which transmission of the packet is permitted has elapsed has been compared with the reference time and the transmission time indication data, and the latest When it is determined that the time has not elapsed, the packet is transmitted to the other node via the serial interface bus, and when it is determined that the latest time has elapsed, the packet is transmitted to the serial interface bus. And not transmitting to the other nodes via the network.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
A signal processing circuit for DVCR (Digital Video Cassette Recorder) according to an embodiment of the present invention will be described below.
The DVCR signal processing circuit according to the present embodiment has a main feature in the rate processing circuit of the link layer circuit.
[0014]
FIG. 1 is a configuration diagram of a DVCR
As shown in FIG. 1, the DVCR
The
[0015]
The
As shown in FIG. 1, the
[0016]
In the DVCR
The
[0017]
Asynchronous communication system circuit
[Microcomputer I / F102]
The microcomputer I /
For example, the
[0018]
[
The
[0019]
[Inbound circuit 109]
The
[0020]
[Auto response circuit 107]
The
Here, the auto-response process is not performed by outputting the asynchronous communication packet transmitted through the IEEE 1394 serial bus BS to the
[0021]
[Outbound circuit 106]
The
[0022]
[Transmission link FIFO memory 108]
The transmission
[0023]
[Demultiplexer 110]
The
[0024]
[Link Core 101]
The
The
For example, time data such as cycle time and the presence / absence of transmission / reception of a CS packet are supplied and instructed to the isochronous communication processing circuit through a predetermined register of the
[0025]
Isochronous communication system circuit
Before describing the components of the isochronous communication system circuit, the format of the packet for isochronous communication will be described.
[Packet format for isochronous communication]
FIG. 2 is a diagram showing a basic configuration example of an isochronous communication packet.
As shown in FIG. 2, in the isochronous communication packet, the first quadlet has a 1394 header (Header), the second quadlet has a header CRC (Header-CRC), the third quadlet has a CIP header 1 (CIP-Header1), and the fourth quadlet. The quadlet is a CIP header 2 (CIP-Header2), and the fifth and subsequent quadlets are a data area (Data). The last quadlet is data CRC (Data-CRC).
[0026]
The 1394 header includes a data-length indicating a data length, a channel indicating a channel number (any one of 0 to 63) to which the packet is transferred, a tcode indicating a processing code, and a synchronization code sy defined by each application. It is configured.
The header CRC is an error detection code of the packet header.
[0027]
The
The DBS area represents the number of quadlets transferred in one isochronous packet.
[0028]
The CIP header 2 includes an FMT area for a signal format indicating the type of data to be transferred, an FDF (Format Dependent Field) area used corresponding to the signal format, and SyncTime for time stamp information of the frame pulse signal FR. It is comprised by.
[0029]
The data CRC is a data field error detection code.
[0030]
Hereinafter, each component of the isochronous communication system circuit will be described in detail.
[Digital Video Cassette Recorder I / F120]
At the time of transmission, the digital video cassette recorder I /
[0031]
Also, the digital video cassette recorder I /
By the way, in this embodiment, the digital
Therefore, the input timing of DVCR data input from the digital
The control of the DVCR data output timing is performed in units of DVCR data for one isochronous communication packet.
[0032]
Also, the digital video cassette recorder I /
[0033]
[
As illustrated in FIG. 3, the isochronous
RAM 211 is bank PB1, PB2, PBThreeAnd PBFour4 banks, and one switch for writing DVCR data from the digital video cassette recorder I /
Here, bank PB1, PB2, PBThreeAnd PBFourEach has a storage capacity of 480 bytes capable of storing DVCR data for one isochronous communication packet shown in FIG.
In the case of the NTSC system, one frame of DVCR data is divided into 250 isochronous communication packets.
[0034]
The
Further, the
In addition, the
The
[0035]
[Late processing circuit 121]
As shown in FIG. 3, the
[0036]
The nominal
Here, the nominal initial value is set so that no pulse is generated in the NT signal before DVCR data for the first one isochronous communication packet input from the digital video cassette recorder I /
For example, in the WWW system, the nominal step value is not fixed in the number of clocks (time) of one frame.ToSince it depends, it is used to specify and control the time interval for generating a pulse in the NT signal for each frame.
[0037]
The sampling circuit 201 generates a pulse in the NT signal using the NT signal input from the nominal
Here, the cycle time consists of 32 bits, the lower 12 bits are incremented every 40.69 ns, the upper 13 bits are incremented every 125 μs, and the upper 7 bits indicate the count value in seconds. .
[0038]
Register NT-reg1, NT-reg2, NT-regThreeAnd NT-regFourSwitch SW1The NT time from the sampling circuit 201 is written and stored when selected by the switch SW.2Is selected, the stored NT time is read and output to the
Here, register NT-reg1, NT-reg2, NT-regThreeAnd NT-regFourIs the bank PB of the RAM 211.1, PB2, PBThreeAnd PBFourThe NT time of the DVCR data for one isochronous communication packet stored in is stored. The NT time indicates the earliest time at which transmission of DVCR data for one corresponding isochronous communication packet stored in the RAM 211 is permitted.
Switch SW1And SWThreeSwitches in conjunction with the switch SW2And SWFourIt switches in conjunction with both.
[0039]
The
Here, the time stamp indicates the latest time when transmission of the corresponding isochronous communication packet is permitted.
Further, the allowable maximum delay time is predetermined in the system so that the isochronous communication packet transmitted from the transmission side can be effectively processed (for example, display processing) on the reception side. In this state, the isochronous communication packet is output from the transmission-side isochronous
In the present embodiment, the allowable maximum delay time is 450 μs based on the IEC61883 standard. The allowable maximum delay time is arbitrarily determined according to the type of system.
[0040]
The
Here, it is determined that the rate is from the timing at which a pulse corresponding to the NT signal output from the nominal
[0041]
When the rate determination result input from the
In this case, the
Here, the dummy packet is a packet composed of a 1394 header, a header CRC, a
[0042]
On the other hand, if the rate determination result input from the
[0043]
[Pre-reception / post-transmission processing circuit 123]
The pre-reception processing /
Here, the
[0044]
The pre-reception processing /
[0045]
Operation when sending packets for isochronous communication
The operation of the DVCR
Based on the output control signal from the
The DVCR data is converted into DVCR data having a data width of 32 bits in the digital video cassette recorder I /
The frame pulse signal FR is output from the digital
[0046]
The DVCR data for one isochronous communication packet is sent to the switch SW based on the write switching signal from the controller 210.ThreeSelected by the bank PB of the RAM 2111~ PBFourIs written to any bank.
Bank PB1~ PBFourThe DVCR data written to the switch SW is based on the read switching signal from the controller 210.FourIs output to the
[0047]
In parallel with the above-described DVCR data processing, the following rate determination processing is performed in the
That is, using the frame pulse signal FR from the digital video cassette recorder I /
Next, in the sampling circuit 201, the time indicated by the cycle time is sampled at the timing when the pulse is generated in the NT signal, and the sampled time is set as the NT time and the switch SW.1Is output.
Next, switch SW1NT time output to the switch SW based on the switching signal for writing from the
At this time, switch SW1And switch SWThreeAre switched in conjunction with each other based on a switching signal for writing.
Therefore, register NT-reg1~ NT-regFourIn each bank PB1~ PBFourNT time corresponding to the DVCR data stored in is stored.
[0048]
Next, register NT-reg1~ NT-regFourThe NT time written to the switch SW is changed based on the read switching signal from the controller 210.2Is read out and output to the
Then, the adding
[0049]
Next, the
[0050]
Next, in the
In this case, the
[0051]
On the other hand, in the
The 1394 header,
[0052]
Operation when receiving packets for isochronous communication
When the DVCR
Then, in the pre-reception /
[0053]
As described above, according to the DVCR
Therefore, according to the DVCR
[0054]
Further, according to the DVCR
[0055]
The present invention is not limited to the embodiment described above.
For example, in the above-described embodiment, the case where transmission data is input from the digital
[0056]
In the above-described embodiment, as shown in FIG. 1, the DVCR
[0057]
In the above-described embodiment, in the
[0058]
In the present invention, IEEE 1394 is exemplified as the communication bus. However, as long as the communication bus has an isochronous communication mode, the present invention can be applied to other communication buses.
[0059]
【The invention's effect】
As described above, according to the signal processing circuit and the method of the present invention, for example, an applicationI / FEven when the timing for inputting the transmission data fluctuates from the above, the rate processing can be appropriately performed.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a DVCR signal processing circuit according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating a basic configuration example of an isochronous communication packet.
FIG. 3 is an internal configuration diagram of the late processing circuit and the isochronous communication FIFO memory shown in FIG. 1;
[Explanation of symbols]
DESCRIPTION OF
Claims (7)
基準時刻を決定するタイマと、
入力タイミングが可変する送信データが入力され、該送信データに規定された第1のブロックを分割して得られた複数の第2のブロックを単位として書き込みおよび読み出しが行われる第1の記憶手段と、
前記送信データ内の前記第1のブロックの区切りを示す同期信号を入力し、当該同期信号および前記タイマが示す基準時刻に基づいて、前記第2のブロックをパケットにして送信するときの基準タイミング信号を生成し、該基準タイミング信号にあらかじめ決められた遅延時間を加算してタイムスタンプデータを生成して、送信時刻指示データとして出力する送信時刻指示データ生成手段と、
前記パケットを送信するときに、当該パケットの送信が許可される最も遅い時刻を経過していないか否かを判断するレイト判断回路と、
前記レイト判断回路が前記基準時刻と前記送信時刻指示データを比較して、前記最も遅い時刻を経過していないと判断した場合に、前記第1の記憶手段に記憶された前記第2のブロックを有する前記パケットを前記シリアルインタフェースバスを介して前記他ノードに送信し、前記レイト判断回路が前記最も遅い時刻を経過したと判断した場合に、前記第1の記憶手段に記憶された前記第2のブロックを有する前記パケットを前記シリアルインタフェースバスを介して前記他ノードに送信しない送信決定回路と
を有する信号処理回路。In a signal processing circuit that transmits a packet at a predetermined time interval from its own node to another node connected via a serial interface bus,
A timer for determining a reference time;
First storage means to which transmission data whose input timing is variable is input, and writing and reading are performed in units of a plurality of second blocks obtained by dividing the first block defined in the transmission data; ,
A reference timing signal for inputting a synchronization signal indicating a break of the first block in the transmission data and transmitting the second block as a packet based on the synchronization signal and a reference time indicated by the timer A transmission time instruction data generating means for generating a time stamp data by adding a predetermined delay time to the reference timing signal, and outputting it as transmission time instruction data;
A rate determining circuit that determines whether or not the latest time at which transmission of the packet is permitted has elapsed when transmitting the packet;
When the late determination circuit compares the reference time with the transmission time instruction data and determines that the latest time has not elapsed, the second block stored in the first storage means is The second packet stored in the first storage means when the late determination circuit determines that the latest time has passed, and transmits the packet to the other node via the serial interface bus. And a transmission decision circuit that does not transmit the packet having a block to the other node via the serial interface bus.
前記基準タイミング信号は、前記第1の記憶手段に記憶されている複数の第2のブロックに対応し、前記パケット毎に当該パケットの送信が許可される最も早い時刻を示す
請求項1に記載の信号処理回路。The transmission time instruction data generating means includes a second memory means for storing said reference timing signal,
The reference timing signal corresponds to a plurality of second blocks stored in the first storage unit, and indicates the earliest time at which transmission of the packet is permitted for each packet. Signal processing circuit.
入力タイミングが可変する送信データが入力され、該送信データに規定された第1のブロックを分割して得られた複数の第2のブロックを単位として書き込みおよび読み出しが行われる第1の記憶手段と、
前記送信データ内の前記第1のブロックの区切りを示す同期信号を入力し、当該同期信号および前記タイマが示す基準時刻に基づいて、前記第2のブロックをパケットにして送信するときの基準タイミング信号を生成し、該基準タイミング信号にあらかじめ決められた遅延時間を加算してタイムスタンプデータを生成して、送信時刻指示データとして出力する送信時刻指示データ生成手段と、
前記基準タイミング信号を記憶する第2の記憶手段と、
前記第1の記憶手段から前記第2のブロックを読み出したときに、当該読み出した第2のブロックに対応する前記基準タイミング信号を前記第2の記憶手段から読み出す読み出し手段と、
前記送信時刻指示データと前記タイマが示す基準時刻とを比較して、前記第1の記憶手段から読み出した前記第2のブロックを送信するか否かを決定する送信決定手段と
を有する信号処理回路。A timer for determining a reference time;
First storage means to which transmission data whose input timing is variable is input, and writing and reading are performed in units of a plurality of second blocks obtained by dividing the first block defined in the transmission data; ,
A reference timing signal for inputting a synchronization signal indicating a break of the first block in the transmission data and transmitting the second block as a packet based on the synchronization signal and a reference time indicated by the timer A transmission time instruction data generating means for generating a time stamp data by adding a predetermined delay time to the reference timing signal, and outputting it as transmission time instruction data;
Second storage means for storing the reference timing signal ;
Reading means for reading out the reference timing signal corresponding to the read second block from the second storage means when reading the second block from the first storage means;
It is compared with the reference time indicated by the transmission time instruction data and the timer, signal processing circuit and a transmission determining means for determining whether to transmit the first and the second read from the storage means of the block .
前記第2の記憶手段は、前記複数のバンクにそれぞれ対応した複数のレジスタを有し、
前記第1の記憶手段および前記第2の記憶手段の書き込み動作および読み出し動作時に、前記バンクの切り換えと前記レジスタの切り換えとが連動するように制御する制御手段
をさらに有する請求項3に記載の信号処理回路。The first storage means has a plurality of banks each storing the second block,
The second storage means has a plurality of registers respectively corresponding to the plurality of banks,
4. The signal according to claim 3, further comprising a control unit configured to control the switching of the bank and the switching of the register in association with each other during a write operation and a read operation of the first storage unit and the second storage unit. Processing circuit.
前記同期信号は、フレーム同期信号であり、
前記第1のブロックは、フレームであり、
前記第2のブロックは、各アイソクロナス通信用パケットに設定される映像信号である
請求項3に記載の信号処理回路。The transmission data is a video signal,
The synchronization signal is a frame synchronization signal;
The first block is a frame;
The signal processing circuit according to claim 3, wherein the second block is a video signal set in each isochronous communication packet.
入力タイミングが可変する送信データが入力され、該送信データに規定された第1のブロックを分割して得られた複数の第2のブロックを単位として第1の記憶手段に書き込むステップと、
前記送信データ内の前記第1のブロックの区切りを示す同期信号を入力し、当該同期信号およびタイマが示す基準時刻に基づいて、前記第2のブロックをパケットにして送信するときの基準タイミング信号を生成し、該基準タイミング信号にあらかじめ決められた遅延時間を加算してタイムスタンプデータを生成して、送信時刻指示データとして出力するステップと、
前記基準タイミング信号を第2の記憶手段に記憶するステップと、
前記第1の記憶手段から前記第2のブロックを読み出したときに、当該読み出した第2のブロックに対応する前記基準タイミング信号を前記第2の記憶手段から読み出すステップと、
前記第2のブロックを前記パケットとして送信するときに、当該パケットの送信が許可される最も遅い時刻を経過していないか否かを判断するステップと、
前記基準時刻と前記送信時刻指示データを比較して、前記最も遅い時刻を経過していないと判断した場合に、前記パケットを前記シリアルインタフェースバスを介して前記他ノードに送信し、前記最も遅い時刻を経過したと判断した場合に、前記パケットを前記シリアルインタフェースバスを介して前記他ノードに送信しないステップと
を有する信号処理方法。In a signal processing method for transmitting packets at a predetermined time interval from a local node to another node connected via a serial interface bus,
A step of inputting transmission data whose input timing is variable, and writing to the first storage means in units of a plurality of second blocks obtained by dividing the first block defined in the transmission data;
Reference when you enter a synchronization signal indicating a break of the first block in said transmission data, the synchronization signal and the timer on the basis of the reference time indicated by the transmit and the second block to the packet Generating a timing signal, adding a predetermined delay time to the reference timing signal to generate time stamp data, and outputting as transmission time instruction data;
Storing the reference timing signal in a second storage means;
Reading the reference timing signal corresponding to the read second block from the second storage means when reading the second block from the first storage means;
When transmitting the second block as the packet, and determining whether or not elapsed the latest time that the transmission of the packet is permitted,
When comparing the reference time and the transmission time indication data and determining that the latest time has not elapsed, the packet is transmitted to the other node via the serial interface bus, and the latest time And a step of not transmitting the packet to the other node via the serial interface bus when it is determined that elapses.
請求項6に記載の信号処理方法。The signal according to claim 6, wherein, for each packet, the transmission time indication data of the packet is compared with a reference time to determine whether or not the latest time at which transmission of the packet is permitted has elapsed. Processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25558598A JP4061731B2 (en) | 1998-09-09 | 1998-09-09 | Signal processing circuit and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25558598A JP4061731B2 (en) | 1998-09-09 | 1998-09-09 | Signal processing circuit and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2000092088A JP2000092088A (en) | 2000-03-31 |
JP4061731B2 true JP4061731B2 (en) | 2008-03-19 |
Family
ID=17280771
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP25558598A Expired - Fee Related JP4061731B2 (en) | 1998-09-09 | 1998-09-09 | Signal processing circuit and method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4061731B2 (en) |
-
1998
- 1998-09-09 JP JP25558598A patent/JP4061731B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2000092088A (en) | 2000-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7155543B2 (en) | Method for transferring variable isochronous data and apparatus therefor | |
US6928126B2 (en) | Reception interface unit in transmission system | |
EP1062814B1 (en) | Apparatus and method for predictive time stamping of isochronous data packets | |
JPH10107752A (en) | Transfer rate adjustment device and transfer rate adjustment method for digital a/v data communication | |
JPH07321759A (en) | Communication system | |
US8392742B2 (en) | Cyclemaster synchronization in a distributed bridge | |
US6272114B1 (en) | Data processing apparatus/method and electronic apparatus with such apparatus/method | |
JP3034492B2 (en) | Digital A / V data transfer device and transfer method | |
JP3731283B2 (en) | Signal processing circuit and method thereof | |
JP3499818B2 (en) | Time stamp offset adjusting method and packet transmission device using the same | |
JP4061731B2 (en) | Signal processing circuit and method thereof | |
JP4038893B2 (en) | Signal processing circuit and method thereof | |
JP3799726B2 (en) | Signal processing circuit | |
JP3837857B2 (en) | Signal processing circuit | |
JP4032543B2 (en) | Signal processing circuit | |
JP4078740B2 (en) | Signal processing circuit | |
JPH11215143A (en) | Device and method for data communication | |
JP3997634B2 (en) | Signal processing circuit | |
JPH10190742A (en) | Data transmitting method/device, data receiving method/ device and integrated circuit for link layer | |
JPH07326127A (en) | Control signal generating circuit | |
JP3869088B2 (en) | Data transmission control method and data transmission control device | |
JP3189571B2 (en) | Data processing device | |
JP4045672B2 (en) | Signal processing circuit | |
JPH10285236A (en) | Signal processing circuit | |
JP3456009B2 (en) | Communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050629 |
|
A977 | Report on retrieval |
Effective date: 20070427 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
A131 | Notification of reasons for refusal |
Effective date: 20070508 Free format text: JAPANESE INTERMEDIATE CODE: A131 |
|
A521 | Written amendment |
Effective date: 20070706 Free format text: JAPANESE INTERMEDIATE CODE: A523 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070904 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071024 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Effective date: 20071204 Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Effective date: 20071217 Free format text: JAPANESE INTERMEDIATE CODE: A61 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110111 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |