JP4628620B2 - Digital AV signal processing device - Google Patents
Digital AV signal processing device Download PDFInfo
- Publication number
- JP4628620B2 JP4628620B2 JP2001301766A JP2001301766A JP4628620B2 JP 4628620 B2 JP4628620 B2 JP 4628620B2 JP 2001301766 A JP2001301766 A JP 2001301766A JP 2001301766 A JP2001301766 A JP 2001301766A JP 4628620 B2 JP4628620 B2 JP 4628620B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- digital
- buffer
- signal processing
- data amount
- 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
Landscapes
- Television Signal Processing For Recording (AREA)
- Television Systems (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Picture Signal Circuits (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、デジタルAV信号処理装置に関する。より詳細には、バッファに記憶されたデジタルデータがDA変換される速度を制御することが可能なデジタルAV信号処理装置に関する。
【0002】
【従来の技術】
近年、コンピュータネットワークの普及に伴い、コンピュータネットワークを介してAVコンテンツを表すデジタルAV信号を配信し、受信側装置においてそのデジタルAV信号を受信しながら再生(DA変換)するというAVコンテンツの視聴の形態が広まってきている。
【0003】
コンピュータネットワーク内では、データの伝送速度が変動し、伝送データに速度の周期の短い変動(例えば、ジッタ)が発生し得る。また、送信側装置(サーバやパーソナルコンピュータ)と受信側装置(デジタルAV信号処理装置)との間でクロックを同期させていないため、送信側装置のクロックと受信側装置のクロックとの間にクロック差が存在する。
【0004】
コンピュータによる処理のための通常のデータを伝送する際には、このようなジッタやクロック差は問題にならないが、デジタルAV信号を伝送する場合には、ジッタやクロック差が問題になる。このようなジッタやクロック差に起因して、音響信号や映像信号に不快な乱れ(例えば、音飛び)が発生するからである。
【0005】
従って、音響信号や映像信号に生じる不快な乱れを除去するために、バッファに記憶されたデジタルデータがDA変換される速度を制御する必要がある。このため、バッファに記憶されたデジタルデータがDA変換される速度を制御するための技術が開発されている。
【0006】
図12は、従来のデジタルAV信号処理装置300の構成を示す。デジタルAV信号処理装置300は、バッファ31と、DA変換器32と、電圧制御型発振器(Voltage−Controlled Oscillation、以下「VCO」という)33と、電圧制御型発振器コントローラ(以下「VCOコントローラ」という)34とを含む。
【0007】
バッファ31は、伝送系(例えば、コンピュータネットワーク)を通じてデジタルAV信号処理装置300に入力されたデジタルデータを記憶し、このデジタルデータを出力デジタルデータとして出力する。DA変換器32は、この出力デジタルデータをアナログデータに変換する。DA変換器32の変換速度は、VCO33が発生するクロック信号により決定される。
【0008】
バッファ31に入力されるデジタルデータの入力速度よりDA変換器32の変換速度が速い場合、バッファ31のデータ量が減少する。バッファ31に入力されるデジタルデータの入力速度よりDA変換器32の変換速度が遅い場合、バッファ31のデータ量が増加する。
【0009】
VCOコントローラ34は、バッファ31のデータ量を検出して、DA変換器32の変換速度が適切な値になるように、VCO33が発生するクロック信号の周波数を制御する。
【0010】
VCO33は、VCOコントローラ34から出力された出力データDA3を入力する。VCO33はVCOコントローラ34から出力された出力データDA3の値が大きいほどクロック信号の周波数を高くする。VCO33は加算器36から出力されたデータDA3の値が小さいほどクロック信号の周波数を低くする。
【0011】
VCOコントローラ34は、比較器35と、加算器36と、基準データ量メモリ37と、基準電圧メモリ38とを含む。
【0012】
基準データ量メモリ37は、バッファ31の全容量の半分のデータ量BHLFを記憶する。基準電圧メモリ38は、基準クロック周波数を発生させるデータである出力データDA2を出力する。加算器36は、出力データDA1の値と出力データDA2の値とを加算し、出力データDA3を出力する。
【0013】
図13は、比較器35の動作特性を示す。横軸は、バッファ31のデータ量BDATを示し、縦軸は、比較器35から出力される出力データDA1を示す。BMAXはバッファ31の全容量のデータ量、BHLFはバッファ31の全容量の半分のデータ量である。
【0014】
データ量BDATが多くなれば、比較器35から出力する出力データDA1の値が増加する。出力データDA1の値が増加すると出力データDA3の値が増加し、VCO33が発生するクロック信号の周波数を高くして、データ量BDATの増加を抑える。データ量BDATが少なくなれば、比較器35から出力する出力データDA1の値が減少する。出力データDA1の値が減少すると出力データDA3の値が減少し、VCO33が発生するクロック信号の周波数を低くして、データ量BDATの減少を抑える。
【0015】
以上の動作により、バッファに記憶されたデジタルデータがDA変換される速度を制御している。
【0016】
【発明が解決しようとする課題】
図14は、デジタルAV信号処理装置300へ入力するデジタルデータの入力速度の時間変化を示す。横軸は、時刻を示す。縦軸は、デジタルデータの入力速度を示す。時刻t1〜t2、時刻t4〜t5および時刻t7〜t8において、入力速度の周期の短い変動(ジッタ)が起こっている。時刻t3〜t6において、サーバやパーソナルコンピュータのクロック周波数が不安定であるために生じる速度の周期の長い変動が起こっている。
【0017】
図15は、図14に示す入力速度でデジタルAV信号処理装置300にデジタルデータが入力された場合のバッファ31のデータ量を示す。横軸は、時刻を示し、縦軸は、バッファ31のデータ量BDATを示す。時刻t1、t2、t3、t4、t5、t6、t7およびt8は、図14の時刻t1、t2、t3、t4、t5、t6、t7およびt8に対応している。
【0018】
図16は、図14に示す入力速度でデジタルAV信号処理装置300にデジタルデータが入力された場合のVCO33が発生する再生クロック信号の周波数を示す。横軸は、時刻を示し、縦軸は、VCO33が発生する再生クロック信号の周波数を示す。時刻t1、t2、t3、t4、t5、t6、t7およびt8は、図14の時刻t1、t2、t3、t4、t5、t6、t7およびt8に対応している。
【0019】
図14に示された入力速度の周期の短い変動(図14の時刻t1〜t2、時刻t4〜t5および時刻t7〜t8参照)の影響は、再生クロック信号の周波数に大きな影響を与えていない。つまり、図16に示された再生クロック信号の周波数の変動(ピッチ変動)が抑えられ(図16の時刻t1〜t2、時刻t4〜t5および時刻t7〜t8参照)、再生音質が向上している。
【0020】
しかし、従来のデジタルAV信号処理装置300は、クロック信号の周波数の制御をバッファに記憶されているデジタルデータのデータ量の所定の値(例えば、バッファの容量の半分の値BHLF)からの偏差のみに基づいて行うため、バッファに記憶されているデジタルデータのデータ量BDATが所定の値からずれた状態で一定のままとなった場合(図15の時刻t3〜t6)は、クロック信号の周波数の値も一定のまま(図16の時刻t3〜t6)になる。したがって、入力されるデジタルデータの入力速度が周期の長い変動を伴う場合に、バッファに記憶されているデジタルデータのデータ量が所定の値からずれた状態が持続することがある。このような状態では、バッファのオーバフローあるいはアンダフローが起こりやすい。
【0021】
本発明は、上記課題に鑑みてなされたものであり、入力されるデジタルデータの入力速度が周期の長い変動を伴うことによって生じるバッファのデータ量の偏差がなくなるように、バッファに記憶されたデジタルデータがDA変換される速度を制御することが可能なデジタルAV信号処理装置を提供することを目的とする。
【0022】
【課題を解決するための手段】
本発明によるデジタルAV信号処理装置は、デジタルAV信号処理装置に入力されるデジタルデータを記憶し前記デジタルデータを出力デジタルデータとして出力するバッファと、前記出力デジタルデータをアナログデータに変換するDA変換器と、前記DA変換器の変換速度を制御するクロック信号を発生する電圧制御型発振器と、前記バッファに記憶されている前記デジタルデータのデータ量を検出し、前記検出されたデータ量の所定の第1の値からの偏差と前記偏差の時間積分値とに基づいて、前記クロック信号の周波数を制御する電圧制御型発振器コントローラとを備えており、これにより上記目的が達成される。
【0023】
前記電圧制御型発振器コントローラは、前記偏差が一定範囲より大きい場合の前記偏差の変化量に対する前記クロック信号の前記周波数の変化の割合が、前記偏差が前記一定範囲より小さい場合の前記偏差の変化量に対する前記クロック信号の前記周波数の変化の割合より大きくなるように、前記クロック信号の周波数を制御してもよい。
【0024】
前記バッファが、リングバッファであり、前記デジタルAV信号処理装置に入力される前記デジタルデータは、前記リングバッファのデータ書き込み位置において前記リングバッファに入力され、前記リングバッファは、前記リングバッファ中のデータ読み出し位置において前記デジタルデータを出力し、前記電圧制御型発振器コントローラは、前記データ読み出し位置と前記データ書き込み位置とに基づいて前記リングバッファに記憶されている前記デジタルデータの前記データ量を計算し、前記電圧制御型発振器コントローラは、前記データ量が前記所定の第1の値よりも大きい所定の第2の値よりも大きくなった場合または前記データ量が前記所定の第1の値よりも小さい所定の第3の値よりも小さくなった場合に、前記データ読み出し位置および前記データ書き込み位置の少なくとも一方を変更してもよい。
【0025】
前記電圧制御型発振器コントローラは、変更後の前記データ量が前記リングバッファの容量の実質的に半分になるように、前記データ読み出し位置および前記データ書き込み位置の少なくとも一方を変更してもよい。
【0026】
前記デジタルデータは複数のパケットの形態でデジタルAV信号処理装置に入力され、前記電圧制御型発振器コントローラは、前記バッファのデータ量を前記複数のパケットが入力されるタイミングに同期して検出してもよい。
【0027】
前記デジタルデータは複数のパケットグループの形態でデジタルAV信号処理装置に入力され、前記複数のパケットグループの各々は、第1のデータ量を有する所定の数の第1パケットおよび第2のデータ量を有する所定の数の第2のパケットが所定の順序で配列した複数のパケットからなり、前記電圧制御型発振器コントローラは、前記バッファのデータ量を前記複数のパケットグループが入力されるタイミングに同期して検出してもよい。
【0028】
【発明の実施の形態】
以下、図1から図11を参照して本発明の実施の形態を説明する。
【0029】
図1は、本発明の実施の形態のデジタルAV信号処理装置100の構成を示す。デジタルAV信号処理装置100は、バッファ1と、DA変換器2と、VCO3と、VCOコントローラ4とを含む。
【0030】
バッファ1は、伝送系を通じてデジタルAV信号処理装置100に入力されるデジタルデータを記憶し、このデジタルデータを出力デジタルデータとして出力する。DA変換器2は、この出力デジタルデータをアナログデータに変換する。DA変換器2の変換速度は、VCO3が発生するクロック信号により決定される。
バッファ1に入力されるデジタルデータの入力速度よりDA変換器2の変換速度が速い場合、バッファ1のデータ量が減少する。バッファ1に入力されるデジタルデータの入力速度よりDA変換器2の変換速度が遅い場合、バッファ1のデータ量が増加する。VCOコントローラ4は、バッファ1に記憶されているデジタルデータのデータ量を検出し、検出されたデータ量の所定の値からの偏差と偏差の時間積分値とに基づいて、VCO3が発生するクロック信号の周波数を制御する。
【0031】
VCOコントローラ4は、第1の制御手段5と、第2の制御手段7と、バッファ1の全容量の半分のデータ量を記憶する基準データ量メモリ13と、加算器11と、第2のホールド手段12とを含む。
【0032】
第1の制御手段5は、バッファ1のデータ量BDATとバッファ1の全容量の半分のデータ量BHLFとを比較する第1の比較器6(K1はゲインを示す)を含む。第1の比較器6は、データ量BDATとデータ量BHLFとの偏差を検出し、偏差とゲインK1とに基づいた出力データDA1を加算器11に出力する。
【0033】
図2は、第1の比較器6の動作特性を示す。横軸は、バッファ1のデータ量BDATを示し、縦軸は、第1の比較器6から出力される出力データDA1を示す。BMAXはバッファ1の全容量のデータ量、BHLFはバッファ1の全容量の半分のデータ量である。第1の比較器6の動作特性は、勾配K1で点(BHLF、0)を通る直線に設定されている。また、第1の制御手段5は、動作周期が10msecに設定されている。第1の比較器6の動作特性(勾配K1)と第1の制御手段5の動作周期により、第1の制御手段5は、第1の制御手段5の時定数を決定する。
【0034】
第2の制御手段7は、バッファ1のデータ量BDATとバッファ1の全容量の半分のデータ量BHLFとを比較する第2の比較器8(K2はゲインを示す)と、第2の比較器8から出力された出力データDA0を時間積分する積分器9と、積分器9の出力をホールドする第1のホールド手段10を含む。
【0035】
図3は、第2の比較器8の動作特性を示す。横軸は、バッファ1のデータ量BDATを示し、縦軸は、第2の比較器8から出力される出力データDA0を示す。BMAXはバッファ1の全容量のデータ量、BHLFはバッファ1の全容量の半分のデータ量である。第2の比較器8の動作特性は、勾配K2で点(BHLF、0)を通る直線に設定されている。第2の制御手段7は、動作周期が100msecに設定されている。第2の比較器8の動作特性(勾配K2)と第2の制御手段7の動作周期により、第2の制御手段7は、第2の制御手段7の時定数を決定する。
【0036】
勾配K2は勾配K1よりもはるかに小さい値に設定されている。第1の制御手段5は、動作周期が10msecに設定されている。第2の制御手段7は、動作周期が100msecに設定されている。ここで、1/時定数=勾配/動作周期である。したがって、第1の制御手段5の時定数は、第2の制御手段7の時定数より小さい。
【0037】
第2の比較器8は、データ量BDATとデータ量BHLFとの偏差を検出し、偏差とゲインK2とに基づいた出力データDA0を積分器9に出力する。
【0038】
積分器9は、第2の比較器8から出力された出力データDA0を時間積分し、積分値を求める。積分器9が求めた積分値は、第1のホールド手段10でホールドされる。
【0039】
第1のホールド手段10は、ホールド値を出力データDA2として加算器11に出力する。第1のホールド手段10は、100ms周期でホールド値を更新する。第1のホールド手段10は、第2の制御手段7の制御周期を第1の制御手段5の制御周期より長く設定している場合に必要となる。
【0040】
加算器11は、出力データDA1と出力データDA2とを加算し、VCOコントローラ4が出力する出力データDA3を求める。
【0041】
第2のホールド手段12は、加算器11の出力データDA3をVCO3に出力する。第2のホールド手段12は、10ms周期でホールド値を更新する。
【0042】
このように、第1の制御手段5と、第2の制御手段7と、加算器11と、第2のホールド手段12と、基準データ量メモリ13とは、全体としてバッファに記憶されているデジタルデータのデータ量を検出し、検出されたデータ量の所定の値からの偏差と偏差の時間積分値とに基づいて、クロック信号の周波数を制御するVCOコントローラ4として機能する。
【0043】
図4は、VCOコントローラ4の動作特性を示す。横軸は、バッファ1のデータ量BDATを示し、縦軸は、VCOコントローラ4から出力される出力データDA3を示す。BMAXはバッファ1の全容量のデータ量、BHLFはバッファ1の全容量の半分のデータ量である。
【0044】
動作点P0は、入力データの入力速度が一定で、データ量がバッファ1の全容量の半分で平衡している状態(BHLF−BDAT=0)を示す。この時のVCOコントローラ4の出力データDA3は、出力データDA30である。
【0045】
図4を参照して、バッファ1を含むデジタルAV信号処理装置100に、入力速度の周期の短い変動および周期の長い変動を有するデジタルデータが入力された場合を考える。
【0046】
入力速度の周期の短い変動が原因でバッファ1のデータ量が増加し始め、時定数の小さい第1の制御手段5が反応する。第1の制御手段5の出力データDA1の値が増加し、動作点がP0からP1へ移動する。VCOコントローラ4は、出力データDA31を発生させてクロック周波数を増加させることで、データ量BDAT1で一旦平衡状態に入る。
【0047】
その後、時定数の大きい第2の制御手段7の出力データDA2の値が出力データDA20から徐々に上昇し、データ量の偏差(BHLF−BDAT)を小さくする方向であるP2に移行させる。データ量の偏差(BHLF−BDAT)が小さくなると、第1の制御手段5の出力データDA1の値の絶対値も減衰するので、出力データDA1の値と出力データDA2の値とが相殺し、結果としては出力データDA3の値に変化がなく、P1からP2へ平行移動となる。
【0048】
図5は、バッファ1を含むデジタルAV信号処理装置100に図14に示される特性を有するデジタルデータが入力した時のバッファ1のデータ量の変動を示す。横軸は、時刻を示す。縦軸は、バッファ1のデータ量BDATを示す。時刻t1、t2、t3、t4、t5、t6、t7、およびt8は、図14の時刻t1、t2、t3、t4、t5、t6、t7、およびt8に対応している。
【0049】
図6は、バッファ1を含むデジタルAV信号処理装置100に図14に示される特性を有するデジタルデータが入力した時のVCO3が発生する再生クロック信号の周波数の変動を示す。横軸は、時刻を示す。縦軸は、VCO3が発生する再生クロック信号の周波数を示す。時刻t1、t2、t3、t4、t5、t6、t7、およびt8は、図5の時刻t1、t2、t3、t4、t5、t6、t7、およびt8に対応している。
【0050】
図5と図15との比較と、図6と図16との比較から、デジタルAV信号処理装置100は、再生クロックの安定性を従来例と同じ程度に確保しながら、従来のデジタルAV信号処理装置300に比して、入力されるデジタルデータの入力速度の周期の長い変動が原因でおこるバッファのデータ量の所定値からの偏差を極めて小さく抑えることがわかる。
【0051】
本発明の実施の形態では、VCOコントローラ4の構成要素のすべてをマイコンのソフトウェアで実現している。処理負荷が極めて軽いため、使用するマイコンは専用マイコンとする必要はなく、機器全体を制御するためにシステムマイコンの処理能力の一部を使用して実現している。
【0052】
なお、デジタルAV信号処理装置100がDA変換器2を含むことは必須ではない。デジタルAV信号処理装置100の出力デジタルデータをDA変換器内蔵のスピーカシステムへ出力してもよい。
【0053】
バッファ1のデータ量は、バッファのオーバフローおよびアンダフローを効率的に防止するため、バッファ1の全容量の半分付近であることが望ましい。したがって、基準データメモリ13は、バッファ1の全容量の半分のデータ量を記憶するように設定した。しかし、基準データメモリ13が記憶するデータ量はバッファの全容量の実質的に半分であればよい。この場合でも、バッファのオーバフローおよびアンダフローを効率的に防止できるからである。
【0054】
本発明の実施の形態のデジタルAV信号処理装置100によれば、バッファに記憶されているデジタルデータのデータ量の所定の値からの偏差と偏差の時間積分値とに基づいて、クロック信号の周波数を制御する。
【0055】
バッファに記憶されているデジタルデータのデータ量の所定の値からの偏差が急激に大きくなった場合には、電圧制御型発振器コントローラは、バッファに記憶されているデジタルデータのデータ量の所定の値からの偏差に基づいてクロック信号の周波数を迅速に制御できる。したがって、入力されるデジタルデータの入力速度が周期の短い変動を伴う場合に、バッファに記憶されているデジタルデータのデータ量を所定の値にするように制御できる。
【0056】
バッファに記憶されているデジタルデータのデータ量が所定の値からずれた状態で一定となった場合には、偏差の時間積分値は時間の経過と共に増加するので、クロック信号の周波数の値が一定のままになることがない。したがって、入力されるデジタルデータの入力速度が周期の長い変動を伴う場合に、バッファに記憶されているデジタルデータのデータ量を所定の値にするように制御できる。
【0057】
(非線形な動作特性を有する比較器の利用)
なお、本発明においては、第1の比較器6および第2の比較器8の動作特性が線形であることは必須ではない。
【0058】
バッファ1のデータ量BDATとバッファの全容量の半分のデータ量BHLFとの偏差が所定の値を超えた場合に、第1の比較器6および第2の比較器8のうち、少なくとも一方の動作特性がより急峻になるように構成してもよい。さらに、第1の比較器6および第2の比較器8のうち、少なくとも一方の動作特性が曲線であってもよい。
【0059】
図7は、第1の比較器6の別の動作特性を示す。横軸は、バッファ1のデータ量BDATを示し、縦軸は、第1の比較器6から出力される出力データDA1を示す。BMAXはバッファ1の全容量のデータ量、BHLFはバッファ1の全容量の半分のデータ量である。第1の比較器6の動作特性は、データ量BDATが、データ量BDAT1〜BDAT2である場合、勾配K10で点(BHLF、0)を通る直線に設定されている。第1の比較器6の動作特性は、データ量BDATが、データ量BDAT2〜BMAXである場合、勾配K11の直線に設定されている。第1の比較器6の動作特性は、データ量BDATが、データ量0〜BDAT1である場合、勾配K12の直線に設定されている。
【0060】
勾配K11は、勾配K10より大きい。勾配K12は、勾配K10より大きい。
【0061】
図7に示す動作特性を有するように比較器6を設計した場合、バッファ1に入力されるデジタルデータの入力速度の周期の短い変動が発生しても、バッファ1のアンダフローやオーバフローを効果的に防止できる。
【0062】
例えば、異常ジッタなどによりデータ量BDATが少なくなりデータ量BDAT1以下のデータ量の動作点に移動した時でも、オーバフローやアンダフローを防止できる。
【0063】
図8は、第2の比較器8の別の動作特性を示す。横軸は、バッファ1のデータ量BDATを示し、縦軸は、第2の比較器8から出力される出力データDA0を示す。BMAXはバッファ1の全容量のデータ量、BHLFはバッファ1の全容量の半分のデータ量である。第2の比較器8の動作特性は、データ量BDATが、データ量BDAT1〜BDAT2である場合、勾配K20で点(BHLF、0)を通る直線に設定されている。第2の比較器8の動作特性は、データ量BDATが、データ量BDAT2〜BMAXである場合、勾配K21の直線に設定されている。第2の比較器8の動作特性は、データ量BDATが、データ量0〜BDAT1である場合、勾配K22の直線に設定されている。
【0064】
勾配K21は、勾配K20より大きい。勾配K22は、勾配K20より大きい。 図8に示す動作特性を有するように比較器8を設計した場合、バッファ1に入力されるデジタルデータの入力速度の周期の長い変動が発生しても、バッファ1のアンダフローやオーバフローを効果的に防止できる。
【0065】
また、バッファ1のデータ量BDATがバッファ1の全容量の半分のデータ量BHLFから大きく偏差した場合に、第2の制御手段7の制御間隔を変えて第2の制御手段7の時定数を短くしてもよい。
【0066】
以上のように、本発明の実施の形態のデジタルAV信号処理装置によれば、偏差が一定範囲より大きい場合の偏差の変化量に対するクロック信号の周波数の変化の割合が、偏差が一定範囲より小さい場合の偏差の変化量に対するクロック信号の周波数の変化の割合より大きくなるように設定されている。したがって、バッファのオーバフローおよびアンダフローを効率的に防止できる。
【0067】
(リングバッファの利用)
なお、デジタルAV信号処理装置100の構成において、バッファ1がリングバッファ21であってもよい。以下、リングバッファ21を含むデジタルAV信号処理装置100を説明する。
【0068】
図9は、リングバッファの概念を示す。読み出し位置RPから矢印Aで示す進行方向に進んで書き込み位置WPまでのデータ量は、リングバッファ21に記憶されているデータ量(未読データ量)である。書き込み位置WPから矢印Bで示す進行方向に進んで読み出し位置RPまでのデータ量は、すでにDAコンバータ2に出力した出力デジタルデータのデータ量である。書き込み位置WPから矢印Bで示す進行方向に進んで読み出し位置RPまでのデータは、やがて新着受信されたデジタルデータに書き換えられる。
【0069】
デジタルAV信号処理装置100に入力されるデジタルデータは、リングバッファ21のデータ書き込み位置WPにおいてリングバッファ21に入力される。リングバッファ21は、リングバッファ21中のデータ読み出し位置RPにおいてデジタルデータを出力する。
【0070】
VCOコントローラ4は、データ読み出し位置RPとデータ書き込み位置WPとに基づいて、リングバッファ21に記憶されているデジタルデータのデータ量を計算する。VCOコントローラ4は、データ量がデータ量BHLFよりも大きい所定の値よりも大きくなった場合またはデータ量がデータ量BHLFよりも小さい所定の値よりも小さくなった場合に、データ読み出し位置RPおよびデータ書き込み位置WPの少なくとも一方を変更する。
【0071】
リングバッファ21に入力されるデータに大きな入力遅延が発生すると、読み出し位置RPが書き込み位置WPに追いつき、アンダフローを生じる。また入力遅延で滞っていたデータが大量にリングバッファ21に入力されると、書き込み位置WPが読み出し位置RPに追いつき、オーバーフローを生じる。
【0072】
しかし、VCOコントローラ4は、書き込み位置WPが読み出し位置RPに追いつかないように、かつ読み出し位置RPが書き込み位置WPに追いつかないように、書き込み位置WPおよび読み出し位置RPの少なくとも一方を変更する。したがって、リングバッファ21のオーバフローおよびアンダフローを防止できる。さらに、アンダフローの場合はリングバッファ21に書き込まれていた過去データを自動的に送出するため、音の瞬断がなく、しかも再生される音は直前のデータであるため現在のデータとの相関が高く自然性にすぐれた音を再生できるという利点を有している。
【0073】
なお、VCOコントローラ4は、データ読み出し位置RPおよびデータ書き込み位置WPの少なくとも一方を変更する場合、データ量がバッファ1の全容量の実質的に半分になるよう、書き込み位置WPおよび読み出し位置RPの少なくとも一方を変更することが望ましい。
【0074】
(デジタルデータがパケットの形態である場合)
以下、デジタルAV信号処理装置100に入力されるデジタルデータが複数のパケットの形態である場合について説明する。
【0075】
図10は、デジタルAV信号処理装置100に入力されるデジタルデータがパケットの形態である場合のバッファ1のデータ量の時間変動を示す。横軸は、時刻を示す。縦軸は、バッファ1のデータ量BDATを示す。BMAXはバッファ1の全容量のデータ量、BHLFはバッファ1の全容量の半分のデータ量である。
【0076】
パケットが到着する毎に、パケット内の新たなデータがバッファ1に記憶され、その後、次のパケットが受信されるまでバッファ1のデータ量は一様に減少する。このように、デジタルAV信号処理装置100に入力されるデジタルデータがパケットの形態である場合は、ジッタの無い状態であっても、バッファ1のデータ量BDATが鋸波状に増減する。従って、VCOコントローラ4は、パケットが入力されるタイミングに同期してバッファ1のデータ量を検出するように設定する。さらに、バッファ1の全容量BMAXはパケットサイズより十分に大きいほうがよい。例えば、バッファ1の全容量BMAXは、パケットサイズの2倍以上である。
【0077】
図10に示すように、パケットが入力されるタイミングに同期して、時刻t1、t2、t3・・・でデータ量を読み出すことにより、VCOコントローラ4は、正確なデータ量を検出することができる。
【0078】
なお、下記に示すように、デジタルAV信号処理装置100に入力されるデジタルデータがパケットサイズの異なるパケットに分割されている場合でも、パケットが入力されるタイミングに同期してデータ量を読み出すことにより、VCOコントローラ4は、正確なバッファ1のデータ量を検出することができる。
【0079】
図11は、デジタルAV信号処理装置100に入力されるデジタルデータがパケットサイズの異なるように分割されているパケットの形態である場合のバッファ1のデータ量の時間変動を示す。横軸は、時刻を示す。縦軸は、バッファ1のデータ量BDATを示す。BMAXはバッファ1の全容量のデータ量、BHLFはバッファ1の全容量の半分のデータ量である。
【0080】
IEC958のオーディオ信号(サンプリング周波数が48kHz、転送レートが1.536Mbps)をユニバーサルシリアルバス(Universal Serial Bus、以下「USB」という)でパケット伝送する場合、USBは1msecのパケット構成となっているので、1msec毎に192バイトのパケットを送ればよい。
【0081】
一方、IEC958の別のオーディオ信号(サンプリング周波数が44.1kHz、転送レートが1.4112Mbps)をUSBでパケット伝送する場合は、USBは1msecのパケット構成となっているので、10msecで切り出した1764バイトの固定長データ単位を、例えば、9個の176バイトパケットと1個の180バイトパケットの10個の要素パケットに分割する必要がある。
【0082】
図11は、この信号(サンプリング周波数が44.1kHz、転送レートが1.4112Mbps)を送った場合のバッファ1のデータ量の時間変動を示す。
【0083】
この伝送形態では、要素パケットの入力されるタイミングでデータ量を読み出すと、パケットサイズが不揃いなため、正確なバッファのデータ量を検出できないことがわかる。
【0084】
正確なデータ量の検出を簡単に行うために、パケットグループ(9個の176バイトパケットと1個の180バイトパケットの10個の要素パケット)が入力するタイミングに同期してデータ量を検出すれば、正確にデータ量が把握できる。
【0085】
このように、デジタルデータは複数のパケットグループの形態でデジタルAV信号処理装置100に入力され、複数のパケットグループの各々は、第1のデータ量(176バイト)を有する9個の第1パケットおよび第2のデータ量(180バイト)を有する1個の第2のパケットが所定の順序で配列した複数のパケットからなる場合、VCOコントローラ4は、バッファのデータ量を複数のパケットグループが入力されるタイミングに同期して検出する。
【0086】
このように、デジタルAV信号処理装置100に入力されるデジタルデータがパケットの形態である場合は、ジッタの無い状態であっても、バッファ1のデータ量BDATが鋸波状に増減する。したがって、パケットが入力されるタイミングに同期してデータ量を読み出すことにより、デジタルAV信号処理装置100が含むVCOコントローラ4は、正確なバッファ1のデータ量を検出することができる。
【0087】
【発明の効果】
本発明のデジタルAV信号処理装置によれば、バッファに記憶されているデジタルデータのデータ量の所定の値からの偏差と偏差の時間積分値とに基づいて、クロック信号の周波数を制御する。
【0088】
バッファに記憶されているデジタルデータのデータ量の所定の値からの偏差が急激に大きくなった場合には、電圧制御型発振器コントローラは、バッファに記憶されているデジタルデータのデータ量の所定の値からの偏差に基づいてクロック信号の周波数を迅速に制御できる。したがって、入力されるデジタルデータの入力速度が周期の短い変動を伴う場合に、バッファに記憶されているデジタルデータのデータ量を所定の値にするように制御できる。
【0089】
バッファに記憶されているデジタルデータのデータ量が所定の値からずれた状態で一定となった場合には、偏差の時間積分値は時間の経過と共に増加するので、クロック信号の周波数の値が一定のままになることがない。したがって、入力されるデジタルデータの入力速度が周期の長い変動を伴う場合に、バッファに記憶されているデジタルデータのデータ量を所定の値にするように制御できる。
【0090】
さらに、本発明のデジタルAV信号処理装置によれば、偏差が一定範囲より大きい場合の偏差の変化量に対するクロック信号の周波数の変化の割合が、偏差が一定範囲より小さい場合の偏差の変化量に対するクロック信号の周波数の変化の割合より大きくなるように設定されている。したがって、バッファのオーバフローおよびアンダフローを効率的に防止できる。
【0091】
さらに、本発明のデジタルAV信号処理装置によれば、バッファとしてリングバッファを利用することで、書き込み位置WPおよび読み出し位置RPの少なくとも一方を変更することができる。したがって、リングバッファのオーバフローおよびアンダフローが防止できる。
【0092】
さらに、本発明のデジタルAV信号処理装置によれば、デジタルAV信号処理装置に入力されるデジタルデータがパケット状態である場合でも、パケットが入力されるタイミングに同期してバッファのデータ量を検出するように設定されるので、正確なバッファのデータ量を検出することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態のデジタルAV信号処理装置100の構成を示す図
【図2】第1の比較器6の動作特性を示す図
【図3】第2の比較器8の動作特性を示す図
【図4】VCOコントローラ4の動作特性を示す図
【図5】バッファ1を含むデジタルAV信号処理装置100に図14に示される特性を有するデジタルデータが入力した時のバッファ1のデータ量の変動を示す図
【図6】バッファ1を含むデジタルAV信号処理装置100に図14に示される特性を有するデジタルデータが入力した時のVCO3が発生する再生クロック信号の周波数の変動を示す図
【図7】第1の比較器6の別の動作特性を示す図
【図8】第2の比較器8の別の動作特性を示す図
【図9】リングバッファの概念を示す図
【図10】デジタルAV信号処理装置100に入力されるデジタルデータがパケット状態である場合のバッファ1のデータ量の時間変動を示す図
【図11】デジタルAV信号処理装置100に入力されるデジタルデータがパケットサイズの異なるように分割されているパケット状態である場合のバッファ1のデータ量の時間変動を示す図
【図12】従来のデジタルAV信号処理装置300の構成を示す図
【図13】比較器35の動作特性を示す図
【図14】デジタルAV信号処理装置300へ入力するデジタルデータの入力速度の時間変化を示す図
【図15】図14に示す入力速度でデジタルAV信号処理装置300にデジタルデータが入力された場合のバッファ31のデータ量を示す図
【図16】図14に示す入力速度でデジタルAV信号処理装置300にデジタルデータが入力された場合のVCO33が発生する再生クロック信号の周波数を示す図
【符号の説明】
1 バッファ
2 DA変換器
3 VCO
4 VCOコントローラ
5 第1の制御手段
6 第1の比較器
7 第2の制御手段
8 第2の比較器
9 積分器
10 第1のホールド手段
11 加算器
12 第2のホールド手段
13 基準データ量メモリ
100 デジタルAV信号処理装置[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a digital AV signal processing apparatus. More specifically, the present invention relates to a digital AV signal processing apparatus capable of controlling the speed at which digital data stored in a buffer is DA converted.
[0002]
[Prior art]
In recent years, with the spread of computer networks, a form of viewing AV contents in which a digital AV signal representing AV contents is distributed via the computer network and reproduced (DA conversion) while receiving the digital AV signal in the receiving side apparatus. Is spreading.
[0003]
Within a computer network, the transmission speed of data varies, and fluctuations (for example, jitter) with a short period of the speed can occur in the transmission data. In addition, since the clock is not synchronized between the transmission-side device (server or personal computer) and the reception-side device (digital AV signal processing device), the clock is between the transmission-side device clock and the reception-side device clock. There is a difference.
[0004]
Such jitter and clock difference are not a problem when transmitting normal data for processing by a computer, but jitter and clock difference are a problem when transmitting a digital AV signal. This is because unpleasant disturbance (for example, sound skipping) occurs in the audio signal and the video signal due to such jitter and clock difference.
[0005]
Therefore, it is necessary to control the speed at which the digital data stored in the buffer is DA-converted in order to remove unpleasant disturbances that occur in the audio signal and video signal. For this reason, a technique for controlling the speed at which the digital data stored in the buffer is DA-converted has been developed.
[0006]
FIG. 12 shows a configuration of a conventional digital AV
[0007]
The
[0008]
When the conversion speed of the
[0009]
The
[0010]
The VCO 33 receives the output data DA3 output from the
[0011]
The
[0012]
The reference
[0013]
FIG. 13 shows the operating characteristics of the
[0014]
As the data amount BDAT increases, the value of the output data DA1 output from the
[0015]
With the above operation, the speed at which the digital data stored in the buffer is DA converted is controlled.
[0016]
[Problems to be solved by the invention]
FIG. 14 shows changes over time in the input speed of digital data input to the digital AV
[0017]
FIG. 15 shows the data amount of the
[0018]
FIG. 16 shows the frequency of the recovered clock signal generated by the
[0019]
The influence of the short fluctuation of the input speed cycle shown in FIG. 14 (see time t1 to t2, time t4 to t5 and time t7 to t8 in FIG. 14) does not greatly affect the frequency of the recovered clock signal. That is, the fluctuation (pitch fluctuation) of the frequency of the reproduced clock signal shown in FIG. 16 is suppressed (see times t1 to t2, times t4 to t5 and times t7 to t8 in FIG. 16), and the reproduced sound quality is improved. .
[0020]
However, the conventional digital AV
[0021]
The present invention has been made in view of the above problems, and the digital data stored in the buffer is eliminated so that the deviation of the data amount of the buffer caused by the fluctuation of the input speed of the input digital data with a long cycle is eliminated. An object of the present invention is to provide a digital AV signal processing apparatus capable of controlling the speed at which data is DA-converted.
[0022]
[Means for Solving the Problems]
A digital AV signal processing device according to the present invention includes a buffer for storing digital data input to the digital AV signal processing device and outputting the digital data as output digital data, and a DA converter for converting the output digital data into analog data. A voltage-controlled oscillator that generates a clock signal for controlling the conversion speed of the DA converter, and a data amount of the digital data stored in the buffer, and a predetermined first amount of the detected data amount And a voltage-controlled oscillator controller for controlling the frequency of the clock signal based on a deviation from the value of 1 and a time integral value of the deviation, thereby achieving the above object.
[0023]
The voltage-controlled oscillator controller is configured such that a ratio of a change in the frequency of the clock signal to a change in the deviation when the deviation is larger than a certain range is a variation in the deviation when the deviation is smaller than the certain range. The frequency of the clock signal may be controlled so as to be larger than the rate of change of the frequency of the clock signal with respect to.
[0024]
The buffer is a ring buffer, and the digital data input to the digital AV signal processing device is input to the ring buffer at a data write position of the ring buffer, and the ring buffer stores data in the ring buffer. The digital data is output at a read position, and the voltage controlled oscillator controller calculates the data amount of the digital data stored in the ring buffer based on the data read position and the data write position, The voltage-controlled oscillator controller has a predetermined value when the data amount becomes larger than a predetermined second value larger than the predetermined first value or when the data amount is smaller than the predetermined first value. When the value becomes smaller than the third value of Location and may change at least one of said data write position.
[0025]
The voltage-controlled oscillator controller may change at least one of the data read position and the data write position so that the data amount after change is substantially half of the capacity of the ring buffer.
[0026]
The digital data is input to the digital AV signal processing apparatus in the form of a plurality of packets, and the voltage controlled oscillator controller detects the data amount of the buffer in synchronization with the input timing of the plurality of packets. Good.
[0027]
The digital data is input to a digital AV signal processing apparatus in the form of a plurality of packet groups, and each of the plurality of packet groups has a predetermined number of first packets and a second data amount having a first data amount. A predetermined number of second packets having a plurality of packets arranged in a predetermined order, and the voltage-controlled oscillator controller synchronizes the data amount of the buffer in synchronization with a timing at which the plurality of packet groups are input. It may be detected.
[0028]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to FIGS.
[0029]
FIG. 1 shows a configuration of a digital AV
[0030]
The
When the conversion speed of the DA converter 2 is higher than the input speed of the digital data input to the
[0031]
The
[0032]
The first control means 5 includes a first comparator 6 (K1 indicates a gain) that compares the data amount BDAT of the
[0033]
FIG. 2 shows operating characteristics of the
[0034]
The second control means 7 includes a second comparator 8 (K2 indicates a gain) that compares the data amount BDAT of the
[0035]
FIG. 3 shows the operating characteristics of the second comparator 8. The horizontal axis represents the data amount BDAT of the
[0036]
The gradient K2 is set to a value much smaller than the gradient K1. The operation period of the first control means 5 is set to 10 msec. The operation period of the second control means 7 is set to 100 msec. Here, 1 / time constant = gradient / operation cycle. Therefore, the time constant of the first control means 5 is smaller than the time constant of the second control means 7.
[0037]
The second comparator 8 detects a deviation between the data amount BDAT and the data amount BHLF, and outputs output data DA0 based on the deviation and the gain K2 to the
[0038]
The
[0039]
The first hold means 10 outputs the hold value to the adder 11 as output data DA2. The first hold means 10 updates the hold value at a cycle of 100 ms. The first hold means 10 is necessary when the control period of the second control means 7 is set longer than the control period of the first control means 5.
[0040]
The adder 11 adds the output data DA1 and the output data DA2, and obtains output data DA3 output from the
[0041]
The second hold means 12 outputs the output data DA3 from the adder 11 to the VCO3. The second hold means 12 updates the hold value at a cycle of 10 ms.
[0042]
As described above, the first control means 5, the second control means 7, the adder 11, the second hold means 12, and the reference data amount
[0043]
FIG. 4 shows the operating characteristics of the
[0044]
The operating point P0 indicates a state where the input speed of the input data is constant and the data amount is balanced at half the total capacity of the buffer 1 (BHLF-BDAT = 0). The output data DA3 of the
[0045]
Referring to FIG. 4, consider a case where digital data having a short fluctuation and a long fluctuation in input speed is input to digital AV
[0046]
Due to the short fluctuation of the input speed period, the data amount of the
[0047]
Thereafter, the value of the output data DA2 of the second control means 7 having a large time constant gradually rises from the output data DA20, and shifts to P2, which is a direction to reduce the data amount deviation (BHLF-BDAT). When the deviation (BHLF−BDAT) of the data amount is reduced, the absolute value of the value of the output data DA1 of the first control means 5 is also attenuated. As a result, there is no change in the value of the output data DA3 and the translation is from P1 to P2.
[0048]
FIG. 5 shows fluctuations in the data amount of the
[0049]
FIG. 6 shows fluctuations in the frequency of the recovered clock signal generated by the
[0050]
From the comparison between FIG. 5 and FIG. 15 and the comparison between FIG. 6 and FIG. 16, the digital AV
[0051]
In the embodiment of the present invention, all the components of the
[0052]
It is not essential that the digital AV
[0053]
The data amount of the
[0054]
According to the digital AV
[0055]
When the deviation of the data amount of the digital data stored in the buffer from the predetermined value suddenly increases, the voltage controlled oscillator controller determines the predetermined value of the data amount of the digital data stored in the buffer. The frequency of the clock signal can be quickly controlled based on the deviation from. Therefore, when the input speed of the input digital data is accompanied by a short cycle variation, the data amount of the digital data stored in the buffer can be controlled to a predetermined value.
[0056]
When the amount of digital data stored in the buffer becomes constant when it is deviated from a predetermined value, the deviation time integral value increases with time, so the frequency value of the clock signal is constant. Never stay. Therefore, when the input speed of the input digital data is accompanied by a fluctuation with a long period, the data amount of the digital data stored in the buffer can be controlled to a predetermined value.
[0057]
(Use of comparators with non-linear operating characteristics)
In the present invention, it is not essential that the operation characteristics of the
[0058]
Operation of at least one of the
[0059]
FIG. 7 shows another operational characteristic of the
[0060]
The gradient K11 is greater than the gradient K10. The gradient K12 is greater than the gradient K10.
[0061]
When the
[0062]
For example, overflow or underflow can be prevented even when the data amount BDAT decreases due to abnormal jitter or the like and moves to an operating point with a data amount equal to or less than the data amount BDAT1.
[0063]
FIG. 8 shows another operational characteristic of the second comparator 8. The horizontal axis represents the data amount BDAT of the
[0064]
The gradient K21 is larger than the gradient K20. The gradient K22 is greater than the gradient K20. When the comparator 8 is designed so as to have the operating characteristics shown in FIG. 8, even if a fluctuation in the cycle of the input speed of the digital data input to the
[0065]
Further, when the data amount BDAT in the
[0066]
As described above, according to the digital AV signal processing device of the embodiment of the present invention, the ratio of the change in the frequency of the clock signal to the amount of change in the deviation when the deviation is larger than the certain range is smaller than the certain range. It is set to be larger than the rate of change in the frequency of the clock signal with respect to the amount of change in the deviation. Therefore, buffer overflow and underflow can be efficiently prevented.
[0067]
(Use of ring buffer)
In the configuration of the digital AV
[0068]
FIG. 9 shows the concept of the ring buffer. The amount of data from the read position RP to the write position WP in the traveling direction indicated by the arrow A is the data amount (unread data amount) stored in the
[0069]
Digital data input to the digital AV
[0070]
The
[0071]
When a large input delay occurs in the data input to the
[0072]
However, the
[0073]
When the
[0074]
(When digital data is in packet form)
Hereinafter, a case where the digital data input to the digital AV
[0075]
FIG. 10 shows the time variation of the data amount of the
[0076]
Each time a packet arrives, new data in the packet is stored in
[0077]
As shown in FIG. 10, the
[0078]
As shown below, even when the digital data input to the digital AV
[0079]
FIG. 11 shows temporal variations in the data amount of the
[0080]
When transmitting an IEC958 audio signal (sampling frequency: 48 kHz, transfer rate: 1.536 Mbps) via a universal serial bus (Universal Serial Bus, hereinafter referred to as “USB”), the USB has a 1 msec packet configuration. A 192-byte packet may be sent every 1 msec.
[0081]
On the other hand, when another IEC958 audio signal (sampling frequency: 44.1 kHz, transfer rate: 1.4112 Mbps) is packet-transmitted via USB, the USB has a 1-msec packet structure, so 1764 bytes cut out at 10 msec. It is necessary to divide the fixed length data unit into 10 element packets, for example, 9 176-byte packets and 1 180-byte packet.
[0082]
FIG. 11 shows the time variation of the data amount of the
[0083]
In this transmission mode, when the data amount is read at the input timing of the element packet, it can be seen that the data size of the buffer cannot be detected because the packet sizes are not uniform.
[0084]
In order to easily detect the correct amount of data, if the amount of data is detected in synchronization with the input timing of the packet group (10 element packets of 9 176 byte packets and 1 180 byte packet), The amount of data can be accurately grasped.
[0085]
In this way, digital data is input to the digital AV
[0086]
As described above, when the digital data input to the digital AV
[0087]
【The invention's effect】
According to the digital AV signal processing apparatus of the present invention, the frequency of the clock signal is controlled based on the deviation from the predetermined value of the data amount of the digital data stored in the buffer and the time integral value of the deviation.
[0088]
When the deviation of the data amount of the digital data stored in the buffer from the predetermined value suddenly increases, the voltage controlled oscillator controller determines the predetermined value of the data amount of the digital data stored in the buffer. The frequency of the clock signal can be quickly controlled based on the deviation from. Therefore, when the input speed of the input digital data is accompanied by a short cycle variation, the data amount of the digital data stored in the buffer can be controlled to a predetermined value.
[0089]
When the amount of digital data stored in the buffer becomes constant when it is deviated from a predetermined value, the deviation time integral value increases with time, so the frequency value of the clock signal is constant. Never stay. Therefore, when the input speed of the input digital data is accompanied by a fluctuation with a long period, the data amount of the digital data stored in the buffer can be controlled to a predetermined value.
[0090]
Furthermore, according to the digital AV signal processing device of the present invention, the ratio of the change in the frequency of the clock signal to the amount of change in the deviation when the deviation is larger than the certain range corresponds to the amount of change in the deviation when the deviation is smaller than the certain range. It is set to be larger than the rate of change in the frequency of the clock signal. Therefore, buffer overflow and underflow can be efficiently prevented.
[0091]
Furthermore, according to the digital AV signal processing device of the present invention, it is possible to change at least one of the write position WP and the read position RP by using a ring buffer as a buffer. Therefore, overflow and underflow of the ring buffer can be prevented.
[0092]
Furthermore, according to the digital AV signal processing device of the present invention, even when the digital data input to the digital AV signal processing device is in a packet state, the data amount of the buffer is detected in synchronization with the timing at which the packet is input. Therefore, it is possible to detect an accurate buffer data amount.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of a digital AV
FIG. 2 is a diagram showing operating characteristics of the
FIG. 3 is a diagram showing operating characteristics of the second comparator 8;
FIG. 4 is a diagram showing operating characteristics of the
FIG. 5 is a diagram showing fluctuations in the data amount of the
6 is a diagram showing frequency fluctuation of a reproduction clock signal generated by the
FIG. 7 is a diagram showing another operating characteristic of the
FIG. 8 is a diagram showing another operating characteristic of the second comparator 8;
FIG. 9 is a diagram showing the concept of a ring buffer
FIG. 10 is a diagram showing temporal variation of the data amount of the
FIG. 11 is a diagram showing temporal variation of the data amount of the
12 is a diagram showing a configuration of a conventional digital AV
FIG. 13 is a diagram showing operating characteristics of the
FIG. 14 is a diagram showing a change over time in the input speed of digital data input to the digital AV
15 is a diagram showing the data amount of the
16 is a diagram showing the frequency of a regenerated clock signal generated by the
[Explanation of symbols]
1 buffer
2 DA converter
3 VCO
4 VCO controller
5 First control means
6 First comparator
7 Second control means
8 Second comparator
9 Integrator
10 First hold means
11 Adder
12 Second hold means
13 Reference data volume memory
100 Digital AV signal processor
Claims (6)
前記出力デジタルデータをアナログデータに変換するDA変換器と、
前記DA変換器の変換速度を制御するクロック信号を発生する電圧制御型発振器と、
前記バッファに記憶されている前記デジタルデータのデータ量を検出し、前記検出されたデータ量の所定の第1の値からの偏差と前記偏差の時間積分値とに基づいて、前記クロック信号の周波数を制御する電圧制御型発振器コントローラと
を備えたデジタルAV信号処理装置。A buffer for storing digital data input to the digital AV signal processing device, and outputting the digital data as output digital data;
A DA converter for converting the output digital data into analog data;
A voltage controlled oscillator that generates a clock signal for controlling the conversion speed of the DA converter;
The amount of the digital data stored in the buffer is detected, and the frequency of the clock signal is determined based on a deviation of the detected data amount from a predetermined first value and a time integral value of the deviation. A digital AV signal processing device comprising a voltage-controlled oscillator controller for controlling the signal.
前記デジタルAV信号処理装置に入力される前記デジタルデータは、前記リングバッファのデータ書き込み位置において前記リングバッファに入力され、
前記リングバッファは、前記リングバッファ中のデータ読み出し位置において前記デジタルデータを出力し、
前記電圧制御型発振器コントローラは、前記データ読み出し位置と前記データ書き込み位置とに基づいて前記リングバッファに記憶されている前記デジタルデータの前記データ量を計算し、
前記電圧制御型発振器コントローラは、前記データ量が前記所定の第1の値よりも大きい所定の第2の値よりも大きくなった場合または前記データ量が前記所定の第1の値よりも小さい所定の第3の値よりも小さくなった場合に、前記データ読み出し位置および前記データ書き込み位置の少なくとも一方を変更する、請求項1に記載のデジタルAV信号処理装置。The buffer is a ring buffer;
The digital data input to the digital AV signal processing device is input to the ring buffer at a data write position of the ring buffer;
The ring buffer outputs the digital data at a data read position in the ring buffer;
The voltage-controlled oscillator controller calculates the data amount of the digital data stored in the ring buffer based on the data read position and the data write position,
The voltage-controlled oscillator controller has a predetermined value when the data amount becomes larger than a predetermined second value larger than the predetermined first value or when the data amount is smaller than the predetermined first value. The digital AV signal processing device according to claim 1, wherein at least one of the data reading position and the data writing position is changed when the value becomes smaller than the third value.
前記電圧制御型発振器コントローラは、前記バッファのデータ量を前記複数のパケットが入力されるタイミングに同期して検出する、請求項1に記載のデジタルAV信号処理装置。The digital data is input to a digital AV signal processing device in the form of a plurality of packets,
The digital AV signal processing apparatus according to claim 1, wherein the voltage-controlled oscillator controller detects the data amount of the buffer in synchronization with a timing at which the plurality of packets are input.
前記電圧制御型発振器コントローラは、前記バッファのデータ量を前記複数のパケットグループが入力されるタイミングに同期して検出する、請求項1に記載のデジタルAV信号処理装置。The digital data is input to the digital AV signal processing apparatus in the form of a plurality of packet groups, and each of the plurality of packet groups has a predetermined number of first packets and a second data amount having a first data amount. A predetermined number of second packets having a plurality of packets arranged in a predetermined order;
The digital AV signal processing apparatus according to claim 1, wherein the voltage-controlled oscillator controller detects the data amount of the buffer in synchronization with a timing at which the plurality of packet groups are input.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001301766A JP4628620B2 (en) | 2000-10-10 | 2001-09-28 | Digital AV signal processing device |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000-308751 | 2000-10-10 | ||
| JP2000308751 | 2000-10-10 | ||
| JP2001301766A JP4628620B2 (en) | 2000-10-10 | 2001-09-28 | Digital AV signal processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2002198939A JP2002198939A (en) | 2002-07-12 |
| JP4628620B2 true JP4628620B2 (en) | 2011-02-09 |
Family
ID=26601756
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001301766A Expired - Fee Related JP4628620B2 (en) | 2000-10-10 | 2001-09-28 | Digital AV signal processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4628620B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5740949B2 (en) * | 2010-12-08 | 2015-07-01 | 富士通セミコンダクター株式会社 | Data transfer device, data transfer method, and semiconductor device |
| JP5633355B2 (en) * | 2010-12-14 | 2014-12-03 | 富士通セミコンダクター株式会社 | Data transfer device, data transfer method, and semiconductor device |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5396492A (en) * | 1993-04-28 | 1995-03-07 | At&T Corp. | Method and apparatus for adaptive clock recovery |
| JPH09261613A (en) * | 1996-03-26 | 1997-10-03 | Mitsubishi Electric Corp | Data receiving / playing device |
| JP3516829B2 (en) * | 1997-03-24 | 2004-04-05 | 三菱電機株式会社 | Communication device |
| JP3660517B2 (en) * | 1999-03-01 | 2005-06-15 | 三菱電機株式会社 | DATA RECEIVING DEVICE, SOURCE CLOCK REPRODUCTION METHOD USED FOR THE SAME, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR CAUSING COMPUTER TO EXECUTE THE METHOD |
-
2001
- 2001-09-28 JP JP2001301766A patent/JP4628620B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2002198939A (en) | 2002-07-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6229863B1 (en) | Reducing waiting time jitter | |
| EP1724960A1 (en) | Data reception device and data reception method | |
| JP2007501428A (en) | Buffer management system, digital audio receiver, headphones, speaker, buffer management method | |
| JP6290915B2 (en) | Common event-based multi-device media playback | |
| JPH07112183B2 (en) | Method and apparatus for synchronizing asynchronous data signals to generate synchronous data signals | |
| US5276688A (en) | Circuit arrangement for bit rate adjustment | |
| KR20050054462A (en) | Asynchronous signal input apparatus and sampling frequency conversion apparatus | |
| JPH04299653A (en) | Clock reproducing circuit | |
| JP3169335B2 (en) | Line connection device | |
| JP4628620B2 (en) | Digital AV signal processing device | |
| TWI629597B (en) | Time clock signal processing system and method thereof | |
| KR100404029B1 (en) | Digital AV signal processing apparatus | |
| JP2009503986A (en) | Data stream synchronization | |
| JP3296297B2 (en) | Synchronous control method | |
| US6239346B1 (en) | Musical tone signal processing apparatus and storage medium storing programs for realizing functions of apparatus | |
| CN103514925B (en) | Audio playing method, digital media controller and digital audio media player | |
| JP2004072217A (en) | Data playback device | |
| CN101510850A (en) | Apparatus and method for clock optimization process | |
| JP4778872B2 (en) | Music output device | |
| JP4923701B2 (en) | Streaming data receiving apparatus and jitter removal circuit | |
| US8483855B2 (en) | Method and device for the playback of digital audio signals | |
| KR20070099523A (en) | Data communication system, data reproducing apparatus and data reproducing method | |
| JP3842481B2 (en) | Receive buffer controller | |
| JP3901162B2 (en) | Timing adjustment apparatus and method | |
| JP2630057B2 (en) | Destuffing circuit of digital synchronous network. |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080418 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101014 |
|
| 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: 20101020 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101110 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131119 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |