JP3613725B2 - Sampling frequency / phase adjusting method, sampling frequency / phase adjusting device and LCD device - Google Patents
Sampling frequency / phase adjusting method, sampling frequency / phase adjusting device and LCD device Download PDFInfo
- Publication number
- JP3613725B2 JP3613725B2 JP10453699A JP10453699A JP3613725B2 JP 3613725 B2 JP3613725 B2 JP 3613725B2 JP 10453699 A JP10453699 A JP 10453699A JP 10453699 A JP10453699 A JP 10453699A JP 3613725 B2 JP3613725 B2 JP 3613725B2
- Authority
- JP
- Japan
- Prior art keywords
- phase
- frequency
- sampling clock
- sampling
- value
- 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
- Liquid Crystal (AREA)
- Liquid Crystal Display Device Control (AREA)
- Synchronizing For Television (AREA)
- Picture Signal Circuits (AREA)
- Transforming Electric Information Into Light Information (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、サンプリング周波数・位相調整方法、サンプリング周波数・位相調整装置およびLCD(Liquid Crystal Display)装置に関し、さらに詳しくは、LCD装置におけるサンプリング周波数および位相を短時間で最適化することが出来るサンプリング周波数・位相調整方法、サンプリング周波数・位相調整装置およびそのサンプリング周波数・位相調整装置を備えたLCD装置に関する。
【0002】
【従来の技術】
図8は、従来のLCD装置におけるサンプリング周波数・位相調整装置の一例を示す構成図である。
このサンプリング周波数・位相調整装置500は、例えばパソコンから送られたアナログのビデオ信号VDをデジタルのビデオ信号に変換するA/D変換器Cへ供給するサンプリングクロックKを発生するPLL(Phase−Locked Loop)部4と、そのPLL部4が内蔵するプリスケーラ3にプリスケーラ値pを設定すると共にサンプリングクロックKの位相φを設定するサンプリングクロック制御部51と、図9の(a)に示す水平周期Thを計測すると共に図9の(b)に示す水平表示期間(水平走査期間内で画像表示に有効な波形期間)Tdを計測する「水平周期および水平表示期間計測部」52とを具備して構成されている。
LCD装置は、LCDパネルPと、LCDパネル駆動回路Aと、A/D変換器Cと、上記サンプリング周波数・位相調整装置500とを具備して構成される。
【0003】
上記サンプリング周波数・位相調整装置500の動作は、次の(1)〜(5)の通りである。
(1)サンプリングクロック制御部51は、水平同期周波数fhおよび垂直同期周波数fvに対応する水平解像度iを取得する。例えば、水平同期周波数fhが35.1kHz,垂直同期周波数fvが56Hzのときの水平解像度iは“800”である。
(2)サンプリングクロック制御部51は、前記水平周期Thおよび前記水平表示期間Tdを取得する。そして、プリスケーラ値pの初期値を、p=i×{Th/Td}により算出し、前記PLL部4に設定する。例えば、水平解像度iが800,水平周期Thが28.49μs,水平表示期間Tdが22.792μsのとき、p=1000となる。なお、前記PLL部4は、前記水平周期Thの期間内に、プリスケーラ値pの回数分だけサンプリングクロックKを発生するが、A/D変換器Cがエッジサンプリングを行う関係上、水平表示期間Td内のサンプル数が水平解像度iと等しくなることは保証されない。
(3)サンプリングクロック制御部51は、前記水平表示期間Td内のサンプリングクロック数HDをカウントする。サンプリングクロック数HDが前記水平解像度iと異なれば、新たなプリスケーラ値pをp=p’×{i/HD}により算出し、前記PLL部4に設定し直す。p’は、設定し直す前のプリスケーラ値である。例えば、p’が1000で、水平解像度iが800で、サンプリングクロック数HDが“801”のとき、p=998となる。
(4)新たなプリスケーラ値pに設定し直した後でも、前記サンプリングクロック数HDが前記水平解像度iと異なれば、上記(3)の処理を繰り返して、プリスケーラ値pを再び設定し直す。
(5)プリスケーラ値pの再設定を規定回数だけ行った後でも前記サンプリングクロック数HDが前記水平解像度iと異なれば、サンプリングクロックKの位相を微小量だけ順にずらせるように位相φを設定する。そして、この操作を繰り返し、前記サンプリングクロック数HDが前記水平解像度iと等しくなったときのプリスケーラ値pおよび位相φを適値として決定する。
【0004】
【発明が解決しようとする課題】
上記従来のサンプリング周波数・位相調整装置500では、水平表示期間Td内のサンプリングクロック数HDを水平解像度iと等しくするように調整し、水平表示期間Td内のサンプリングクロック数HDが水平解像度iと等しくなったときのサンプリング周波数・位相を適値として決定している。
しかし、この方式では、使用する値として、最適のサンプリング周波数および位相を決定するまでに時間が長くかかる場合がある問題点があった。
そこで、本発明の目的は、最適なサンプリング周波数および位相を短時間で決定することが出来るサンプリング周波数・位相調整方法、サンプリング周波数・位相調整装置およびLCD装置を提供することにある。
【0005】
【課題を解決するための手段】
第1の観点では、本発明は、アナログのビデオ信号をデジタルに変換してLCDパネル駆動回路に送るA/D変換回路へ供給するサンプリングクロックの周波数および位相を調整するサンプリング周波数・位相調整方法であって、前記サンプリングクロックの位相の複数の候補値を用意し、各候補値について前記サンプリングクロックの周波数の適正値を所定探索範囲内で探索し、適正値が見つかればその適正値と候補値とを取得し、それら取得した候補値が最も長く連続している位相範囲の中間の候補値を位相として決定し、それに対応する適正値を前記サンプリングクロックの周波数として決定することを特徴とするサンプリング周波数・位相調整方法を提供する。
【0006】
第2の観点では、本発明は、アナログのビデオ信号をデジタルに変換してLCDパネル駆動回路に送るA/D変換回路へ供給するサンプリングクロックの周波数および位相を、次の(a)から(g)の手順によって決定することを特徴とするサンプリング周波数・位相調整方法を提供する。
(a)サンプリングクロックの周波数をある初期値に設定する。
(b)サンプリングクロックの位相をある候補値に設定する。
(c)水平表示期間内の前記サンプリングクロックの数をカウントし、そのカウント値が目標値に一致したか否かを判定する。
(d)第1の所定回数だけ連続して一致するか、第2の所定回数まで一致しなくなるまで、上記(c)を繰り返す。但し、前記カウント値が目標値と一致しなければ、次回の上記(c)を行う前に、目標値に近づける方向に前記サンプリングクロックの周波数を変更する。
(e)第1の所定回数だけ連続して一致したときのサンプリングクロックの周波数および位相を記憶する。
(f)サンプリングクロックの位相の全ての候補値について、上記(c)から(e)を繰り返す。
(g)一致した位相が最も長く連続している位相範囲の中間の位相とそれに対応するサンプリング周波数を選択し決定する。
【0007】
上記本発明によるサンプリング周波数・位相調整方法では、位相の複数の候補値の一つについてサンプリングクロックの周波数の適正値を探索し、所定探索範囲内で適正値が見つかればその適正値と候補値とを取得することを全ての候補値について繰り返し、適正値が見つかった候補値が最も長く連続している位相範囲の中間の候補値を位相として決定し、それに対応する適正値をサンプリングクロックの周波数として決定するので、最適なサンプリング周波数および位相を短時間で決定することが出来る。
【0008】
第3の観点では、本発明は、アナログのビデオ信号をデジタルに変換してLCDパネル駆動回路(A)に送るA/D変換回路(C)へ供給するサンプリングクロック(K)を発生するサンプリングクロック発生手段(4)と、水平表示期間内のサンプリングクロック数(HD)をカウントする水平表示期間カウンタ(8)と、サンプリングクロック(K)の位相φの複数の候補値のそれぞれについて前記サンプリングクロック(K)の周波数の適正値を所定探索範囲内で探索し適正値が見つかればその適正値と候補値とを取得しそれら取得した候補値が最も長く連続している位相範囲の中間の候補値を位相として決定しそれに対応する適正値を前記サンプリングクロックの周波数として決定するサンプリングクロック制御手段(5)とを具備したことを特徴とするサンプリング周波数・位相調整装置を提供する。
上記第3の観点によるサンプリング周波数・位相調整装置では、上記第1の観点によるサンプリング周波数・位相調整方法を好適に実施できる。
【0009】
第4の観点では、本発明は、アナログのビデオ信号をデジタルに変換してLCDパネル駆動回路(A)に送るA/D変換回路(C)へ供給するサンプリングクロック(K)を発生するサンプリングクロック発生手段(4)と、水平表示期間内のサンプリングクロック数(HD)をカウントする水平表示期間カウンタ(8)と、次の(a)から(g)の手順によって前記サンプリングクロック(K)の周波数と位相とを決定するサンプリングクロック制御手段(5)とを具備したことを特徴とするサンプリング周波数・位相調整装置を提供する。
(a)サンプリングクロックの周波数をある初期値に設定する。
(b)サンプリングクロックの位相をある候補値に設定する。
(c)水平表示期間内の前記サンプリングクロックの数をカウントし、そのカウント値が目標値に一致したか否かを判定する。
(d)第1の所定回数だけ連続して一致するか、第2の所定回数だけ一致しなくなるまで、上記(c)を繰り返す。但し、前記カウント値が目標値と一致しなければ、次回の上記(c)を行う前に、目標値に近づける方向に前記サンプリングクロックの周波数を変更する。
(e)第1の所定回数だけ連続して一致したときのサンプリングクロックの周波数および位相を記憶する。
(f)サンプリングクロックの位相の全ての候補値について、上記(c)から(e)を繰り返す。
(g)一致した位相が最も長く連続している位相範囲の中間の位相とそれに対応するサンプリング周波数を選択し決定する。
上記第4の観点によるサンプリング周波数・位相調整装置では、上記第2の観点によるサンプリング周波数・位相調整方法を好適に実施できる。
【0010】
第5の観点では、本発明は、LCDパネルと、LCDパネル駆動回路と、アナログのビデオ信号をデジタルに変換して前記LCDパネル駆動回路に送るA/D変換回路と、請求項3または請求項4に記載のサンプリング周波数・位相調整装置とを具備したことを特徴とするLCD装置を提供する。
上記第5の観点のLCD装置では、A/D変換回路のサンプリングクロックの周波数と位相とを迅速に最適化できるので、画面上での水平方向の表示精度を高くすることが出来る。
【0011】
【発明の実施の形態】
以下、図に示す実施形態により本発明をさらに詳細に説明する。なお、これにより本発明が限定されるものではない。
図1は、本発明の一実施形態にかかるLCDにおけるサンプリング周波数・位相調整装置100を示す構成図である。
このサンプリング周波数・位相調整装置100は、例えばパソコンから送られたアナログのビデオ信号VD(R信号,G信号,B信号)をデジタルのビデオ信号r,g,bに変換するA/D変換器Cへ供給するサンプリングクロックKを発生するPLL部4と、そのPLL部4が内蔵するプリスケーラ3にプリスケーラ値pを設定すると共にサンプリングクロックKの位相φを設定するCPU5と、前記ビデオ信号r,g,bを合成する合成回路2と、図2に示すように水平同期周波数fhおよび垂直同期周波数fvごとの水平解像度iを格納する水平解像度テーブル6と、水平周期(図5のTh)内のサンプリングクロック数をカウントする第1水平周期カウンタ7と、水平表示期間(図5のTd)内のサンプリングクロック数をカウントする水平表示期間カウンタ8と、水平同期信号Hsyncの同期パルスの立ち下がりから水平表示期間の開始までの水平バックポーチ(図5のTb;水平方向の表示開始位置に対応する)内のサンプリングクロック数をカウントする水平バックポーチカウンタ9と、計時用パルスS(例えば20MHz)を発生する水晶発振器10と、水平周期内の計時用パルス数をカウントする第2水平周期カウンタ11と、垂直周期内の計時用パルス数をカウントする垂直周期カウンタ12とを具備している。
なお、前記デジタルのビデオ信号r,g,bの伝送方式としては、各色のデータを1画素づつシリアルに伝送するシリアル伝送方式を採用してもよいし、複数画素のデータをパラレルに伝送するパラレル伝送方式を採用してもよい。
LCD装置は、LCDパネルPと、LCDパネル駆動回路Aと、A/D変換器Cと、上記サンプリング周波数・位相調整装置100とを具備して構成される。
【0012】
図3および図4は、このサンプリング周波数・位相調整装置100によるサンプリング周波数および位相調整処理を示すフロー図である。
図5の(a)は、垂直同期信号Vsyncの波形図である。(b)は、水平同期信号Hsyncの波形図である。(c)は、画像表示に有効な波形期間を斜線領域として示したデジタルのビデオ信号r,g,bの説明図である。(d)は、合成回路2から出力された合成信号の説明図である。(e)は、サンプリングクロックKの波形図である。
【0013】
図3のステップS1では、サンプリングクロックKの位相を示すクロックフェイズ番号nを“0”に初期化する。
ステップS2では、第2水平周期カウンタ11にて計時用パルスSをカウントし、水平周期Thを計測する。例えば、水平周期Thは、28.49μsである。また、垂直周期カウンタ12にて計時用パルスSをカウントし、垂直周期Tvを計測する。例えば、垂直周期Tvは、17.85msである。
ステップS3では、水平同期周波数fh(=1/Th)および垂直同期周波数fv(=1/Tv)を算出する。上記数値例では、水平同期周波数fhは、35.1kHzである。垂直同期周波数fvは、56Hzである。
ステップS4では、水平解像度テーブル6(図2参照)から、水平同期周波数fhおよび垂直同期周波数fvに対応する水平解像度iを読み出す。上記数値例では、水平解像度iとして、“800”が読み出される。
ステップS5では、水平解像度ごとのプリスケーラ値pの初期値が予め格納されたプリスケーラ初期値テーブル(図示せず)から、上記ステップS4で読み出された水平解像度iに対応するプリスケーラ値pを取り出し、PLL部4に設定する(この設定により、PLL部4からサンプリングクロックKが出力される)。水平解像度i=800に対応するプリスケーラ値pの初期値は、例えば“1000”である。
ステップS6では、位相φ=0を、PLL部4に設定する。なお、位相φ=0は、例えば、水平同期信号Hsyncの同期パルスの立ち下がりと同時刻にサンプリングクロックKが発生するクロックフェイズを意味する。
【0014】
図4に進み、ステップS7では、第1水平周期カウンタ7にて水平周期Th内のサンプリングクロック数HCをカウントする。また、水平表示期間カウンタ8にて水平表示期間Td内のサンプリングクロック数HDをカウントする。
ステップS8では、プリスケーラ値pを、
p=i×{HC/HD}
により算出し、PLL部4に設定する。例えば、水平解像度iが800,水平周期Th内のサンプリングクロック数HCが“1000”,水平表示期間Td内のサンプリングクロック数HDが“799”のとき、p=1001となる。
ステップS9では、水平表示期間Td内のサンプリングクロック数HDが水平解像度に連続して一致した回数をカウントするOK連続数カウンタnokを“0”に初期化する。また、水平表示期間Td内のサンプリングクロック数HDが水平解像度に一致しなかった回数をカウントするNG数カウンタnngを“0”に初期化する。
【0015】
ステップS10では、水平表示期間カウンタ8にて、水平表示期間Td内のサンプリングクロック数HDをカウントする。
ステップS11では、水平表示期間Td内のサンプリングクロック数HDが水平解像度iと等しいならステップS12へ進み、等しくなければステップS15へ進む。
【0016】
ステップS12では、OK連続数カウンタnokが“4”以上でないならステップS13へ進み、“4”以上ならステップS14へ進む。
ステップS13では、OK連続数カウンタnokを“1”だけインクリメントし、前記ステップS10に戻る。
【0017】
ステップS14では、設定中の位相φを“OK”と判定し、設定中のプリスケーラ値pおよび位相φの“OK”を保存する。そして、ステップS19へ進む。
【0018】
ステップS15では、NG数カウンタnngが“8”以上でないならステップS16へ進み、“8”以上ならステップS18へ進む。
ステップS16では、新たなプリスケーラ値pをp=p’±1(p’は設定し直す前のプリスケーラ値)により算出し、前記PLL部4に設定し直す。すなわち、サンプリングクロック数HD<水平解像度iならばプリスケーラ値p=p’+1とし、サンプリングクロック数HD>水平解像度iならばプリスケーラ値p=p’−1とする。例えば、p’=1000,i=800のとき、HD=799ならばp=1001とし、HD=801ならばp=999とする。
ステップS17では、OK連続数カウンタnokを“0”に初期化し、NG数カウンタnngを“1”だけインクリメントし、前記ステップS10に戻る。
【0019】
ステップS18では、設定中の位相φを“NG”と判定し、設定中のプリスケーラ値pおよび位相φの“NG”を保存する。そして、ステップS19へ進む。
【0020】
ステップS19では、クロックフェイズ番号n≧15か否か判定し、n<15ならばステップS20へ進み、n≧15となったらステップS22へ進む。
ステップS20では、クロックフェイズ番号nを“1”だけインクリメントする。
ステップS21では、サンプリングクロックKをその周期に対してn/16だけずらせる(遅らせる)位相φを、PLL部4に設定する。そして、上記ステップS7に戻る。
【0021】
ステップS22では、上記ステップS14,S18で得られた結果から、最適なプリスケーラ値pおよび位相φを決定し、前記PLL部4に設定する。すなわち、上記ステップS14で位相φが“OK”と連続して判定された回数が最大のクロックフェイズ番号nのグループ(クロックフェイズ番号n=15と、n=0は連続していると見なす)の中でクロックフェイズ番号nが中間のもの(中間のものが2つあるときは、小さな方)に対応するプリスケーラ値pおよび位相φを最適値とする。例えば、図6のような結果が得られた場合には、n=12に対応するプリスケーラ値“1000”および位相φ(=12/16周期遅れ)を最適値として決定する。また、図7のような結果が得られた場合には、n=11に対応するプリスケーラ値“1000”および位相φ(=11/16周期遅れ)を最適値として決定する。
【0022】
なお、CPU5は、水平バックポーチカウンタ9のカウント値に基づいて画像表示位置制御信号をLCDパネル駆動回路Aに送り、画像を常に一定位置に表示する。
【0023】
以上のサンプリング周波数・位相調整装置100によれば、サンプリングクロックKの位相φを1/16周期ずつ順にずらせながら、水平表示期間Td内のサンプリングクロック数HDが水平解像度iに一致するようにプリスケーラ値pを変更することを繰り返すので、サンプリングクロックKの最適な周波数および位相を短時間で決定することが出来る。
【0024】
【発明の効果】
本発明のサンプリング周波数・位相調整方法、サンプリング周波数・位相調整装置およびLCD装置によれば、位相の複数の候補値の一つについてサンプリングクロックの周波数の適正値を探索し、所定探索範囲内で適正値が見つかればその適正値と候補値とを取得することを全ての候補値について繰り返し、それら取得した候補値が最も長く連続している位相範囲の中間の候補値を位相として決定し、それに対応する適正値を前記サンプリングクロックの周波数として決定するので、LCD装置のA/D変換回路へ供給するサンプリング周波数および位相を短時間で最適の値に決定することが出来る。
【図面の簡単な説明】
【図1】本発明の一実施形態にかかるサンプリング周波数・位相調整装置を示す構成図である。
【図2】図1のサンプリング周波数・位相調整装置における水平解像度テーブルの内容を示す説明図である。
【図3】図1のサンプリング周波数・位相調整装置によるサンプリング周波数および位相調整処理を示すフロー図である。
【図4】図3の続きのフロー図である。
【図5】図1のサンプリング周波数・位相調整装置の各部の波形図である。
【図6】水平表示期間カウンタのカウント値が水平解像度と等しいか否かを示す判定結果の説明図である。
【図7】水平表示期間カウンタのカウント値が水平解像度と等しいか否かを示す判定結果の別の説明図である。
【図8】LCDにおける従来のサンプリング周波数・位相調整装置を示す構成図である。
【図9】水平同期信号およびビデオ信号を示す説明図である。
【符号の説明】
100 サンプリング周波数・位相調整装置
2 合成回路
3 プリスケーラ
4 PLL部
5 CPU
6 水平解像度テーブル
7 第1水平周期カウンタ
8 水平表示期間カウンタ
9 水平バックポーチカウンタ
10 水晶発振器
11 第2水平周期カウンタ
12 垂直周期カウンタ
C A/D変換器
A LCDパネル駆動回路
K サンプリングクロック
P LCDパネル
Tb 水平バックポーチ
Td 水平表示期間
Th 水平周期
Tv 垂直周期
Hsync 水平同期信号
Vsync 垂直同期信号
VD ビデオ信号[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a sampling frequency / phase adjustment method, a sampling frequency / phase adjustment device, and an LCD (Liquid Crystal Display) device, and more particularly, a sampling frequency capable of optimizing the sampling frequency and phase in an LCD device in a short time. The present invention relates to a phase adjustment method, a sampling frequency / phase adjustment device, and an LCD device including the sampling frequency / phase adjustment device.
[0002]
[Prior art]
FIG. 8 is a block diagram showing an example of a sampling frequency / phase adjusting device in a conventional LCD device.
This sampling frequency / phase adjustment apparatus 500 is a PLL (Phase-Locked Loop) that generates a sampling clock K supplied to an A / D converter C that converts an analog video signal VD sent from a personal computer into a digital video signal, for example. )
The LCD device includes an LCD panel P, an LCD panel driving circuit A, an A / D converter C, and the sampling frequency / phase adjusting device 500.
[0003]
The operation of the sampling frequency / phase adjustment apparatus 500 is as follows (1) to (5).
(1) The sampling clock control unit 51 acquires the horizontal resolution i corresponding to the horizontal synchronization frequency fh and the vertical synchronization frequency fv. For example, when the horizontal synchronization frequency fh is 35.1 kHz and the vertical synchronization frequency fv is 56 Hz, the horizontal resolution i is “800”.
(2) The sampling clock control unit 51 acquires the horizontal period Th and the horizontal display period Td. Then, an initial value of the prescaler value p is calculated by p = i × {Th / Td} and set in the
(3) The sampling clock control unit 51 counts the number of sampling clocks HD within the horizontal display period Td. If the sampling clock number HD is different from the horizontal resolution i, a new prescaler value p is calculated by p = p ′ × {i / HD}, and is set in the
(4) Even after resetting to the new prescaler value p, if the sampling clock number HD is different from the horizontal resolution i, the processing of (3) is repeated and the prescaler value p is reset.
(5) If the sampling clock number HD is different from the horizontal resolution i even after the prescaler value p is reset a predetermined number of times, the phase φ is set so that the phase of the sampling clock K is shifted by a minute amount in order. . Then, this operation is repeated, and the prescaler value p and the phase φ when the sampling clock number HD becomes equal to the horizontal resolution i are determined as appropriate values.
[0004]
[Problems to be solved by the invention]
The above-described conventional sampling frequency and phase adjuster 500 adjusts the sampling clock number HD in the horizontal display period Td to be equal to the horizontal resolution i, the sampling clock number HD in the horizontal display period Td and horizontal resolution i The sampling frequency and phase when they are equal are determined as appropriate values.
However, this method has a problem that it may take a long time to determine the optimum sampling frequency and phase as values to be used .
SUMMARY OF THE INVENTION An object of the present invention is to provide a sampling frequency / phase adjustment method, a sampling frequency / phase adjustment device, and an LCD device that can determine an optimum sampling frequency and phase in a short time.
[0005]
[Means for Solving the Problems]
In a first aspect, the present invention is a sampling frequency / phase adjustment method for adjusting the frequency and phase of a sampling clock supplied to an A / D conversion circuit that converts an analog video signal to digital and sends it to an LCD panel driving circuit. A plurality of candidate values for the phase of the sampling clock are prepared, an appropriate value of the frequency of the sampling clock is searched for within a predetermined search range for each candidate value, and if an appropriate value is found, the appropriate value and the candidate value Sampling frequency, determining the candidate value in the middle of the phase range where the acquired candidate values are longest as a phase, and determining an appropriate value corresponding thereto as the frequency of the sampling clock. Provide a phase adjustment method.
[0006]
In a second aspect, the present invention relates to the frequency and phase of a sampling clock supplied to an A / D conversion circuit that converts an analog video signal to digital and sends it to an LCD panel driving circuit from the following (a) to (g The sampling frequency / phase adjustment method is characterized in that it is determined by the procedure of
(A) The sampling clock frequency is set to a certain initial value.
(B) The sampling clock phase is set to a certain candidate value.
(C) Count the number of sampling clocks in the horizontal display period, and determine whether or not the count value matches the target value.
(D) The above (c) is repeated until the first predetermined number of times matches or until the second predetermined number of times does not match. However, if the count value does not match the target value, the frequency of the sampling clock is changed in a direction approaching the target value before performing the next (c).
(E) The frequency and phase of the sampling clock when the first predetermined number of times coincides are stored.
(F) The above (c) to (e) are repeated for all candidate values of the sampling clock phase.
(G) Select and determine the intermediate phase of the phase range in which the matched phases are the longest and the corresponding sampling frequency .
[0007]
In the sampling frequency / phase adjustment method according to the present invention, an appropriate value of the sampling clock frequency is searched for one of a plurality of candidate values of the phase, and if an appropriate value is found within a predetermined search range, to acquire repeated for all candidate values, the intermediate candidate value of the phase range candidate value appropriate value is found is continuous longest is determined as the phase, a proper value corresponding to the frequency of the sampling clock Thus, the optimum sampling frequency and phase can be determined in a short time.
[0008]
In a third aspect, the present invention relates to a sampling clock that generates a sampling clock (K) that converts an analog video signal to digital and supplies it to an A / D conversion circuit (C) that is sent to an LCD panel drive circuit (A). The generating means (4), the horizontal display period counter (8) for counting the number of sampling clocks (HD) within the horizontal display period, and the sampling clock (for each of a plurality of candidate values of the phase φ of the sampling clock (K)) K) searches for an appropriate value of the frequency within a predetermined search range, and if an appropriate value is found, obtains the appropriate value and a candidate value, and selects an intermediate candidate value in the phase range where the acquired candidate values are the longest continuous. and a sampling clock control means (5) for determining the proper value determined as a phase corresponding to the frequency of the sampling clock Providing the sampling frequency and phase adjusting apparatus characterized by a.
The sampling frequency / phase adjustment apparatus according to the third aspect can suitably implement the sampling frequency / phase adjustment method according to the first aspect.
[0009]
In a fourth aspect, the present invention relates to a sampling clock that generates a sampling clock (K) that converts an analog video signal into a digital signal and supplies it to an A / D conversion circuit (C) that is sent to an LCD panel drive circuit (A). The generation means (4), the horizontal display period counter (8) for counting the number of sampling clocks (HD) in the horizontal display period, and the frequency of the sampling clock (K) by the following procedures (a) to (g) And a sampling clock control means (5) for determining the phase and the phase.
(A) The sampling clock frequency is set to a certain initial value.
(B) The sampling clock phase is set to a certain candidate value.
(C) Count the number of sampling clocks in the horizontal display period, and determine whether or not the count value matches the target value.
(D) The above (c) is repeated until the first predetermined number of times coincides or the second predetermined number of times does not coincide. However, if the count value does not match the target value, the frequency of the sampling clock is changed in a direction approaching the target value before performing the next (c).
(E) The frequency and phase of the sampling clock when the first predetermined number of times coincides are stored.
(F) The above (c) to (e) are repeated for all candidate values of the sampling clock phase.
(G) Select and determine the intermediate phase of the phase range in which the matched phases are the longest and the corresponding sampling frequency .
In the sampling frequency / phase adjustment apparatus according to the fourth aspect, the sampling frequency / phase adjustment method according to the second aspect can be suitably implemented.
[0010]
In a fifth aspect, the present invention relates to an LCD panel, an LCD panel driving circuit, an A / D conversion circuit that converts an analog video signal to digital and sends the digital video signal to the LCD panel driving circuit. An LCD device comprising the sampling frequency / phase adjusting device according to 4 is provided.
In the LCD device of the fifth aspect, since the frequency and phase of the sampling clock of the A / D conversion circuit can be quickly optimized, the display accuracy in the horizontal direction on the screen can be increased.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be described in more detail with reference to embodiments shown in the drawings. Note that the present invention is not limited thereby.
FIG. 1 is a block diagram showing a sampling frequency /
This sampling frequency /
As a transmission method for the digital video signals r, g, and b, a serial transmission method that serially transmits data of each color one pixel at a time may be adopted, or a parallel transmission that transmits data of a plurality of pixels in parallel. A transmission method may be adopted.
The LCD device includes an LCD panel P, an LCD panel driving circuit A, an A / D converter C, and the sampling frequency /
[0012]
3 and 4 are flowcharts showing the sampling frequency and phase adjustment processing by the sampling frequency /
FIG. 5A is a waveform diagram of the vertical synchronization signal Vsync. (B) is a waveform diagram of the horizontal synchronization signal Hsync. (C) is an explanatory diagram of digital video signals r, g, and b in which a waveform period effective for image display is shown as a hatched area. (D) is an explanatory diagram of a synthesized signal output from the
[0013]
In step S1 of FIG. 3, the clock phase number n indicating the phase of the sampling clock K is initialized to “0”.
In step S2, the second horizontal cycle counter 11 counts the timing pulse S and measures the horizontal cycle Th. For example, the horizontal period Th is 28.49 μs. Further, the vertical period counter 12 counts the time-measurement pulse S and measures the vertical period Tv. For example, the vertical period Tv is 17.85 ms.
In step S3, a horizontal synchronization frequency fh (= 1 / Th) and a vertical synchronization frequency fv (= 1 / Tv) are calculated. In the above numerical example, the horizontal synchronization frequency fh is 35.1 kHz. The vertical synchronization frequency fv is 56 Hz.
In step S4, the horizontal resolution i corresponding to the horizontal synchronization frequency fh and the vertical synchronization frequency fv is read from the horizontal resolution table 6 (see FIG. 2). In the above numerical example, “800” is read as the horizontal resolution i.
In step S5, a prescaler value p corresponding to the horizontal resolution i read in step S4 is extracted from a prescaler initial value table (not shown) in which the initial value of the prescaler value p for each horizontal resolution is stored in advance. The
In step S6, the phase φ = 0 is set in the
[0014]
Proceeding to FIG. 4, in step S7, the first
In step S8, the prescaler value p is set to
p = i × {HC / HD}
And set in the
In step S9, an OK continuous number counter nok that counts the number of times that the sampling clock number HD within the horizontal display period Td continuously matches the horizontal resolution is initialized to “0”. Also, an NG counter nng that counts the number of times the sampling clock number HD within the horizontal display period Td does not match the horizontal resolution is initialized to “0”.
[0015]
In step S10, the horizontal
In step S11, if the sampling clock number HD in the horizontal display period Td is equal to the horizontal resolution i, the process proceeds to step S12, and if not, the process proceeds to step S15.
[0016]
In step S12, if the OK continuous number counter nok is not "4" or more, the process proceeds to step S13, and if it is "4" or more, the process proceeds to step S14.
In step S13, the OK continuous number counter nok is incremented by "1", and the process returns to step S10.
[0017]
In step S14, it is determined that the phase φ being set is “OK”, and the prescaler value p being set and “OK” of the phase φ are stored. Then, the process proceeds to step S19.
[0018]
In step S15, if the NG counter nng is not “8” or more, the process proceeds to step S16, and if it is “8” or more, the process proceeds to step S18.
In step S16, a new prescaler value p is calculated from p = p ′ ± 1 (p ′ is a prescaler value before resetting), and is reset in the
In step S17, the OK continuous number counter nok is initialized to “0”, the NG number counter nng is incremented by “1”, and the process returns to step S10.
[0019]
In step S18, the phase φ being set is determined as “NG”, and the prescaler value p being set and “NG” of the phase φ are stored. Then, the process proceeds to step S19.
[0020]
In step S19, it is determined whether or not the clock phase number n ≧ 15. If n <15, the process proceeds to step S20, and if n ≧ 15, the process proceeds to step S22.
In step S20, the clock phase number n is incremented by “1”.
In step S21, the phase φ for shifting (delaying) the sampling clock K by n / 16 with respect to the period is set in the
[0021]
In step S22, the optimum prescaler value p and phase φ are determined from the results obtained in steps S14 and S18 and set in the
[0022]
The
[0023]
According to the sampling frequency /
[0024]
【The invention's effect】
According to the sampling frequency / phase adjustment method, sampling frequency / phase adjustment device, and LCD device of the present invention, an appropriate value of the sampling clock frequency is searched for one of a plurality of candidate values for the phase, and is appropriate within a predetermined search range. If the value is found, the appropriate value and the candidate value are acquired for all candidate values, and the candidate value in the middle of the phase range in which the acquired candidate values are the longest continuous is determined as the phase, and corresponding Since the appropriate value to be determined is determined as the frequency of the sampling clock , the sampling frequency and phase to be supplied to the A / D conversion circuit of the LCD device can be determined to the optimum values in a short time.
[Brief description of the drawings]
FIG. 1 is a configuration diagram showing a sampling frequency / phase adjusting apparatus according to an embodiment of the present invention.
2 is an explanatory diagram showing the contents of a horizontal resolution table in the sampling frequency / phase adjustment apparatus of FIG. 1; FIG.
FIG. 3 is a flowchart showing sampling frequency and phase adjustment processing by the sampling frequency / phase adjustment apparatus of FIG. 1;
FIG. 4 is a flowchart subsequent to FIG. 3;
5 is a waveform diagram of each part of the sampling frequency / phase adjustment apparatus of FIG. 1; FIG.
FIG. 6 is an explanatory diagram of a determination result indicating whether or not the count value of the horizontal display period counter is equal to the horizontal resolution.
FIG. 7 is another explanatory diagram of a determination result indicating whether or not the count value of the horizontal display period counter is equal to the horizontal resolution.
FIG. 8 is a block diagram showing a conventional sampling frequency / phase adjusting device in an LCD.
FIG. 9 is an explanatory diagram showing a horizontal synchronization signal and a video signal.
[Explanation of symbols]
100 Sampling Frequency /
6 horizontal resolution table 7 first
Claims (5)
前記サンプリングクロックの位相の複数の候補値を用意し、各候補値について前記サンプリングクロックの周波数の適正値を所定探索範囲内で探索し、適正値が見つかればその適正値と候補値とを取得し、それら取得した候補値が最も長く連続している位相範囲の中間の候補値を位相として決定し、それに対応する適正値を前記サンプリングクロックの周波数として決定することを特徴とするサンプリング周波数・位相調整方法。A sampling frequency / phase adjustment method for adjusting a frequency and a phase of a sampling clock supplied to an A / D conversion circuit that converts an analog video signal into a digital signal and sends it to an LCD panel driving circuit,
Prepare a plurality of candidate values for the phase of the sampling clock, search for an appropriate value of the frequency of the sampling clock for each candidate value within a predetermined search range, and obtain an appropriate value and a candidate value if an appropriate value is found. The sampling frequency / phase adjustment is characterized in that the candidate value in the middle of the phase range in which the acquired candidate values are the longest is determined as the phase, and the appropriate value corresponding thereto is determined as the frequency of the sampling clock. Method.
(a)サンプリングクロックの周波数をある初期値に設定する。
(b)サンプリングクロックの位相をある候補値に設定する。
(c)水平表示期間内の前記サンプリングクロックの数をカウントし、そのカウント値が目標値に一致したか否かを判定する。
(d)第1の所定回数だけ連続して一致するか、第2の所定回数まで一致しなくなるまで、上記(c)を繰り返す。但し、前記カウント値が目標値と一致しなければ、次回の上記(c)を行う前に、目標値に近づける方向に前記サンプリングクロックの周波数を変更する。
(e)第1の所定回数だけ連続して一致したときのサンプリングクロックの周波数および位相を記憶する。
(f)サンプリングクロックの位相の全ての候補値について、上記(c)から(e)を繰り返す。
(g)一致した位相が最も長く連続している位相範囲の中間の位相とそれに対応するサンプリング周波数を選択し決定する。The frequency and phase of a sampling clock to be supplied to an A / D conversion circuit that converts an analog video signal to digital and sends it to an LCD panel drive circuit are determined by the following procedures (a) to (g): Sampling frequency and phase adjustment method.
(A) The sampling clock frequency is set to a certain initial value.
(B) The sampling clock phase is set to a certain candidate value.
(C) Count the number of sampling clocks in the horizontal display period, and determine whether or not the count value matches the target value.
(D) The above (c) is repeated until the first predetermined number of times matches or until the second predetermined number of times does not match. However, if the count value does not match the target value, the frequency of the sampling clock is changed in a direction approaching the target value before performing the next (c).
(E) The frequency and phase of the sampling clock when the first predetermined number of times coincides are stored.
(F) The above (c) to (e) are repeated for all candidate values of the sampling clock phase.
(G) Select and determine the intermediate phase of the phase range in which the matched phases are the longest and the corresponding sampling frequency .
(a)サンプリングクロックの周波数をある初期値に設定する。
(b)サンプリングクロックの位相をある候補値に設定する。
(c)水平表示期間内の前記サンプリングクロックの数をカウントし、そのカウント値が目標値に一致したか否かを判定する。
(d)前記カウント値が目標値と一致しなければ、目標値に近づける方向に前記サンプリングクロックの周波数を変更し、上記(c)を繰り返す。所定回数繰り返しても一致しなければ、(f)へ進む。
(e)一致したときのサンプリングクロックの周波数および位相を記憶し、(f)へ進む。
(f)サンプリングクロックの位相の全ての候補値について、上記(c)から(e)を繰り返す。
(g)一致した位相が最も長く連続している位相範囲の中間の位相とそれに対応するサンプリング周波数を選択し決定する。Sampling clock generating means (4) for generating a sampling clock (K) to be supplied to an A / D conversion circuit (C) for converting an analog video signal to digital and sending it to the LCD panel drive circuit (A), and a horizontal display period A horizontal display period counter (8) for counting the number of sampling clocks (HD) in the display, and sampling clock control means for determining the frequency and phase of the sampling clock (K) by the following procedures (a) to (g) (5). A sampling frequency / phase adjusting apparatus comprising:
(A) The sampling clock frequency is set to a certain initial value.
(B) The sampling clock phase is set to a certain candidate value.
(C) Count the number of sampling clocks in the horizontal display period, and determine whether or not the count value matches the target value.
(D) If the count value does not match the target value, the frequency of the sampling clock is changed in a direction approaching the target value, and the above (c) is repeated. If it does not match even after repeating a predetermined number of times, the process proceeds to (f).
(E) Store the frequency and phase of the sampling clock when they match, and proceed to (f).
(F) The above (c) to (e) are repeated for all candidate values of the sampling clock phase.
(G) Select and determine the intermediate phase of the phase range in which the matched phases are the longest and the corresponding sampling frequency .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10453699A JP3613725B2 (en) | 1999-04-12 | 1999-04-12 | Sampling frequency / phase adjusting method, sampling frequency / phase adjusting device and LCD device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10453699A JP3613725B2 (en) | 1999-04-12 | 1999-04-12 | Sampling frequency / phase adjusting method, sampling frequency / phase adjusting device and LCD device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2000299797A JP2000299797A (en) | 2000-10-24 |
JP3613725B2 true JP3613725B2 (en) | 2005-01-26 |
Family
ID=14383225
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10453699A Expired - Fee Related JP3613725B2 (en) | 1999-04-12 | 1999-04-12 | Sampling frequency / phase adjusting method, sampling frequency / phase adjusting device and LCD device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3613725B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3781959B2 (en) * | 2000-09-29 | 2006-06-07 | Necディスプレイソリューションズ株式会社 | Image display device |
DE10254469B4 (en) * | 2002-11-21 | 2004-12-09 | Sp3D Chip Design Gmbh | Method and device for determining a frequency for sampling analog image data |
JP4926422B2 (en) * | 2005-07-26 | 2012-05-09 | ローム株式会社 | Image processing apparatus and electronic apparatus using the same |
JP2007163684A (en) * | 2005-12-12 | 2007-06-28 | Nec Viewtechnology Ltd | Projector device and video adjustment method thereof |
-
1999
- 1999-04-12 JP JP10453699A patent/JP3613725B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2000299797A (en) | 2000-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4182124B2 (en) | Image display device, dot clock phase adjustment circuit, and clock phase adjustment method | |
TWI253611B (en) | Liquid crystal display driving scaler capable of reducing electromagnetic interference | |
US20050052440A1 (en) | Apparatus for and method of processing display signal | |
JPH10153989A (en) | Dot clock circuit | |
US20070200843A1 (en) | Display driving integrated circuit and method of generating system clock signal using oscillator clock signal | |
US6704009B2 (en) | Image display | |
JP2008197141A (en) | Image display device and frequency control method thereof | |
JP3613725B2 (en) | Sampling frequency / phase adjusting method, sampling frequency / phase adjusting device and LCD device | |
US6501310B2 (en) | Sampling clock adjusting method, and an interface circuit for displaying digital image | |
JP3879951B2 (en) | Phase adjusting device, phase adjusting method and display device | |
JP3427298B2 (en) | Video signal conversion device and LCD device | |
JP3911862B2 (en) | Pixel clock signal generation device and synchronization signal generation device | |
JP4006122B2 (en) | Digital image display device | |
JP2010050633A (en) | Video signal synchronization generating apparatus | |
KR100266167B1 (en) | Adjusting apparatus of sampling freqeuncy and sampling position and adjusting methods thereof | |
JP2001092423A (en) | Display driving controller | |
JP3030837B2 (en) | AFC circuit for horizontal synchronization signal and video signal processing device | |
JPH11177901A (en) | Device and method for synthesizing osd | |
JP2001100701A (en) | Liquid crystal display device | |
KR970011589B1 (en) | Apparatus for generating a synchronization signal | |
JPH11261411A (en) | Sampling clock controller | |
KR0153991B1 (en) | Improved half-line generator capable of displaying osd | |
JP2000231366A (en) | Picture display device | |
JPH11341368A (en) | Synchronization adjusting method for head separation type ccd camera | |
JP2000194344A (en) | Picture display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040322 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040330 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040524 |
|
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: 20041019 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20041020 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071112 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081112 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091112 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101112 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111112 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111112 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121112 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121112 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131112 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131112 Year of fee payment: 9 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131112 Year of fee payment: 9 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |