JP3427298B2 - Video signal conversion device and LCD device - Google Patents

Video signal conversion device and LCD device

Info

Publication number
JP3427298B2
JP3427298B2 JP23676199A JP23676199A JP3427298B2 JP 3427298 B2 JP3427298 B2 JP 3427298B2 JP 23676199 A JP23676199 A JP 23676199A JP 23676199 A JP23676199 A JP 23676199A JP 3427298 B2 JP3427298 B2 JP 3427298B2
Authority
JP
Japan
Prior art keywords
video signal
value
phase
horizontal
sampling clock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP23676199A
Other languages
Japanese (ja)
Other versions
JP2001060077A (en
Inventor
重雄 林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Totoku Electric Co Ltd
Original Assignee
Totoku Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Totoku Electric Co Ltd filed Critical Totoku Electric Co Ltd
Priority to JP23676199A priority Critical patent/JP3427298B2/en
Publication of JP2001060077A publication Critical patent/JP2001060077A/en
Application granted granted Critical
Publication of JP3427298B2 publication Critical patent/JP3427298B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ビデオ信号変換装
置およびLCD(Liquid Crystal Display)装置に関
し、さらに詳しくは、アナログビデオ信号をデジタルビ
デオ信号に変換するA/D変換手段のサンプリングクロ
ックの周波数および位相を短時間で最適化できるビデオ
信号変換装置およびそのビデオ信号変換装置を備えたL
CD装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video signal conversion device and an LCD (Liquid Crystal Display) device, and more particularly, to a sampling clock frequency of an A / D conversion means for converting an analog video signal into a digital video signal and Video signal converter capable of optimizing phase in a short time and L equipped with the video signal converter
Regarding a CD device.

【0002】[0002]

【従来の技術】図16は、従来のLCD装置の一例を示
す構成図である。このLCD装置500は、例えばパソ
コンからの入力アナログビデオ信号を増幅して出力アナ
ログビデオ信号を出力するビデオアンプ20と、出力ア
ナログビデオ信号をデジタルビデオ信号に変換するA/
D変換器21と、デジタルビデオ信号に応じてLCDパ
ネルPを駆動するLCDパネル駆動回路Aと、画像を表
示するLCDパネルPとを具備している。
2. Description of the Related Art FIG. 16 is a block diagram showing an example of a conventional LCD device. The LCD device 500 includes, for example, a video amplifier 20 that amplifies an input analog video signal from a personal computer and outputs an output analog video signal, and an A / A that converts the output analog video signal into a digital video signal.
It includes a D converter 21, an LCD panel drive circuit A for driving the LCD panel P according to a digital video signal, and an LCD panel P for displaying an image.

【0003】また、LCD装置500は、前記A/D変
換器21に供給するサンプリングクロックKを発生する
発生するPLL(Phase-Locked Loop)部4と、サンプ
リングクロックKの周波数を指令するプリスケーラ値p
およびサンプリングクロックKの位相を指令する位相値
φを前記PLL部4に供給するサンプリングクロック制
御部51と、図17の(a)に示す水平周期Thを計測
すると共に図17の(b)に示す水平表示期間(水平走
査期間内で画像表示に有効な波形期間)Tdを計測する
水平周期・水平表示期間計測部52とを具備している。
Further, the LCD device 500 includes a PLL (Phase-Locked Loop) unit 4 for generating a sampling clock K to be supplied to the A / D converter 21, and a prescaler value p for instructing the frequency of the sampling clock K.
And a sampling clock control unit 51 that supplies a phase value φ that commands the phase of the sampling clock K to the PLL unit 4, and the horizontal period Th shown in FIG. 17A is measured and shown in FIG. 17B. A horizontal period / horizontal display period measuring unit 52 for measuring a horizontal display period (waveform period effective for image display within the horizontal scanning period) Td.

【0004】前記ビデオアンプ20と、A/D変換器2
1と、PLL部4と、サンプリングクロック制御部51
と、水平周期・水平表示期間計測部52とが、ビデオ信
号変換装置501を構成する。
The video amplifier 20 and the A / D converter 2
1, the PLL unit 4, and the sampling clock control unit 51
And the horizontal period / horizontal display period measuring unit 52 configure a video signal conversion device 501.

【0005】上記サンプリングクロック制御部51の動
作は、次の(1)〜(5)の通りである。 (1)サンプリングクロック制御部51は、水平同期周
波数fhおよび垂直同期周波数fvに対応する水平解像
度iを取得する。例えば、水平同期周波数fhが35.
1kHz,垂直同期周波数fvが56Hzのときの水平
解像度iは“800”である。 (2)サンプリングクロック制御部51は、前記水平周
期Thおよび前記水平表示期間Tdを取得する。そし
て、プリスケーラ値pの初期値を、p=i×{Th/T
d}により算出し、前記PLL部4に設定する。例え
ば、水平解像度iが800,水平周期Thが28.49
μs,水平表示期間Tdが22.792μsのとき、p
=1000となる。なお、前記PLL部4は、前記水平
周期Thの期間内に、プリスケーラ値pの回数分だけサ
ンプリングクロックKを発生するが、A/D変換器21
がエッジサンプリングを行う関係上、水平表示期間Td
内のサンプル数が水平解像度iと等しくなることは保証
されない。 (3)サンプリングクロック制御部51は、前記水平表
示期間Td内のサンプリングクロック数をカウントす
る。サンプリングクロック数HDが前記水平解像度iと
異なれば、新たなプリスケーラ値pをp=p’×{i/
HD}により算出し、前記PLL部4に設定し直す。
p’は、設定し直す前のプリスケーラ値である。例え
ば、p’が1000で、水平解像度iが800で、サン
プリングクロック数HDが“801”のとき、p=99
8となる。 (4)新たなプリスケーラ値pに設定し直した後でも、
前記サンプリングクロック数HDが前記水平解像度iと
異なれば、上記(3)の処理を繰り返して、プリスケー
ラ値pを再び設定し直す。 (5)プリスケーラ値pの再設定を規定回数だけ行った
後でも前記サンプリングクロック数HDが前記水平解像
度iと異なれば、サンプリングクロックKの位相を微小
量だけ順にずらせるように位相値φを設定する。そし
て、この操作を繰り返し、前記サンプリングクロック数
HDが前記水平解像度iと等しくなったときのプリスケ
ーラ値pおよび位相値φを最適値として設定する。
The operation of the sampling clock controller 51 is as follows (1) to (5). (1) The sampling clock control unit 51 acquires the horizontal resolution i corresponding to the horizontal synchronizing frequency fh and the vertical synchronizing frequency fv. For example, the horizontal synchronization frequency fh is 35.
The horizontal resolution i is "800" when the vertical synchronizing frequency fv is 1 kHz and the vertical synchronizing frequency fv is 56 Hz. (2) The sampling clock control unit 51 acquires the horizontal cycle Th and the horizontal display period Td. Then, the initial value of the prescaler value p is p = i × {Th / T
d} and set in the PLL unit 4. For example, the horizontal resolution i is 800 and the horizontal period Th is 28.49.
μs, when the horizontal display period Td is 22.792 μs, p
= 1000. The PLL unit 4 generates the sampling clock K for the number of times of the prescaler value p within the period of the horizontal cycle Th, but the A / D converter 21
Because the edge sampling is performed, the horizontal display period Td
There is no guarantee that the number of samples in will equal the horizontal resolution i. (3) The sampling clock controller 51 counts the number of sampling clocks within the horizontal display period Td. If the number of sampling clocks HD is different from the horizontal resolution i, a new prescaler value p is set to p = p '× {i /
HD} and set again in the PLL unit 4.
p'is a prescaler value before resetting. For example, when p ′ is 1000, the horizontal resolution i is 800, and the sampling clock number HD is “801”, p = 99
It becomes 8. (4) Even after resetting to a new prescaler value p,
If the sampling clock number HD is different from the horizontal resolution i, the process (3) is repeated to reset the prescaler value p. (5) If the number of sampling clocks HD is different from the horizontal resolution i even after the resetting of the prescaler value p is performed a prescribed number of times, the phase value φ is set so that the phase of the sampling clock K is sequentially shifted by a minute amount. To do. Then, by repeating this operation, the prescaler value p and the phase value φ when the sampling clock number HD becomes equal to the horizontal resolution i are set as optimum values.

【0006】[0006]

【発明が解決しようとする課題】上記従来のビデオ信号
変換装置501では、水平表示期間Td内のサンプリン
グクロック数を水平解像度iと等しくするようにプリス
ケーラ値pの値を調整し、それに何回か失敗すると位相
値φを変更し、再び水平表示期間Td内のサンプリング
クロック数を水平解像度iと等しくするようにプリスケ
ーラ値pの値を調整することを繰り返しているが、この
方式では繰り返し回数が多くなるため、最適なプリスケ
ーラ値pおよび位相値φを決定するまでの処理時間が長
くかかる問題点があった。そこで、本発明の目的は、ア
ナログビデオ信号をデジタルビデオ信号に変換するA/
D変換手段の最適なサンプリング周波数および位相を短
時間で決定することが出来るビデオ信号変換装置および
LCD装置を提供することにある。
In the conventional video signal converting apparatus 501, the prescaler value p is adjusted so that the number of sampling clocks in the horizontal display period Td is equal to the horizontal resolution i, and the prescaler value p is adjusted several times. If it fails, the phase value φ is changed, and the prescaler value p is adjusted again so that the number of sampling clocks in the horizontal display period Td becomes equal to the horizontal resolution i, but this method requires a large number of repetitions. Therefore, there is a problem that it takes a long processing time until the optimum prescaler value p and the phase value φ are determined. Therefore, an object of the present invention is to convert an analog video signal into a digital video signal, which is A /
An object of the present invention is to provide a video signal conversion device and an LCD device capable of determining the optimum sampling frequency and phase of the D conversion means in a short time.

【0007】[0007]

【課題を解決するための手段】第1の観点では、本発明
は、入力アナログビデオ信号を増幅して出力アナログビ
デオ信号を出力するビデオ増幅手段(20)と、前記出
力アナログビデオ信号をデジタルビデオ信号に変換する
A/D変換手段(21)と、そのA/D変換手段(2
1)に供給するサンプリングクロック(K)を発生する
サンプリングクロック発生手段(4)と、前記出力アナ
ログビデオ信号または前記デジタルビデオ信号がスライ
スレベルより高い期間のサンプリングクロック数(H
D)をカウントする水平表示期間カウンタ(8)と、位
相調整時に前記スライスレベルが前記出力アナログビデ
オ信号または前記デジタルビデオ信号の最大レベルより
僅かに小さいか又は前記出力アナログビデオ信号または
前記デジタルビデオ信号のボトムレベルより僅かに大き
くなるように前記スライスレベルおよび前記出力アナロ
グビデオ信号または前記デジタルビデオ信号の最大レベ
ルおよびボトムレベルの少なくとも一つを調整する水平
表示期間カウント調整手段(5)と、前記サンプリング
クロック(K)の周波数と位相の複数の候補についての
前記水平表示期間カウンタのカウント値を検出し該カウ
ント値を基に前記サンプリングクロック(K)の周波数
と位相とを決定するサンプリングクロック制御手段
(5)とを具備したことを特徴とするビデオ信号変換装
置(101)を提供する。上記第1の観点のビデオ信号
変換装置(101)では、サンプリングクロック(K)
の周波数と位相の複数の候補についての水平表示期間カ
ウンタのカウント値を基にサンプリングクロック(K)
の周波数と位相とを決定するが、その水平表示期間カウ
ンタは出力アナログビデオ信号またはデジタルビデオ信
号がスライスレベルより高い期間のサンプリングクロッ
ク数(HD)をカウントする。そして、位相調整時に、
スライスレベルおよび出力アナログビデオ信号またはデ
ジタルビデオ信号の最大レベルおよびボトムレベルの少
なくとも一つは、スライスレベルが出力アナログビデオ
信号またはデジタルビデオ信号の最大レベルより僅かに
小さいか又はボトムレベルより僅かに大きくなるように
調整される。このため、発明の実施の形態で詳述するよ
うに、ビデオ信号の立上り,立下りの「なまり」に起因
してビデオ信号を適正にサンプリングできなくなる状態
を水平表示期間カウンタのカウント値の変化として検出
可能となり、A/D変換手段(21)の最適なサンプリ
ング周波数および位相を短時間で決定できるようにな
る。
According to a first aspect, the present invention relates to a video amplification means (20) for amplifying an input analog video signal and outputting an output analog video signal, and the output analog video signal being a digital video signal. A / D conversion means (21) for converting into a signal and its A / D conversion means (2
Sampling clock generating means (4) for generating a sampling clock (K) to be supplied to 1), and a sampling clock number (H) during a period when the output analog video signal or the digital video signal is higher than a slice level.
A horizontal display period counter (8) for counting D), and the slice level at the time of phase adjustment is slightly smaller than the maximum level of the output analog video signal or the digital video signal, or the output analog video signal or the digital video signal Horizontal display period count adjusting means (5) for adjusting at least one of the maximum level and the bottom level of the slice level and the output analog video signal or the digital video signal so as to be slightly higher than the bottom level of Sampling clock control means for detecting the count value of the horizontal display period counter for a plurality of candidates for the frequency and phase of the sampling clock (K) and determining the frequency and phase of the sampling clock (K) based on the count value. (5) with Providing a video signal converter (101), characterized in. In the video signal converter (101) according to the first aspect, the sampling clock (K)
Sampling clock (K) based on the count value of the horizontal display period counter for multiple candidates of frequency and phase of
The horizontal display period counter counts the number of sampling clocks (HD) during the period when the output analog video signal or digital video signal is higher than the slice level. And when adjusting the phase,
At least one of the slice level and the maximum level and the bottom level of the output analog video signal or the digital video signal is such that the slice level is slightly smaller than the maximum level of the output analog video signal or the digital video signal or slightly larger than the bottom level. Is adjusted. Therefore, as will be described in detail in the embodiments of the invention, a state in which the video signal cannot be properly sampled due to the "rounding" of the rising and falling of the video signal is referred to as a change in the count value of the horizontal display period counter. It becomes possible to detect, and the optimum sampling frequency and phase of the A / D conversion means (21) can be determined in a short time.

【0008】なお、上記構成において「僅かに」とは、
電源のドリフト等を考慮すると、0.1V以上が好まし
い。また、位相調整の精度を考慮すると、出力アナログ
ビデオ信号またはデジタルビデオ信号の振幅に対して位
相調整の±1単位分すなわち2単位分に相当する電圧
(サンプリングクロックKの周期をM分割して位相調整
する場合、(振幅/M)×2)未満が好ましい。ここ
で、Mは、デジタル処理の都合上、“2”の倍数が好ま
しい。
In the above structure, "slightly" means
Considering the drift of the power supply, 0.1 V or more is preferable. In consideration of the accuracy of phase adjustment, a voltage corresponding to ± 1 unit of phase adjustment, that is, 2 units of the amplitude of the output analog video signal or digital video signal (the period of the sampling clock K is divided into M When adjusting, it is preferably less than (amplitude / M) × 2). Here, M is preferably a multiple of “2” for the convenience of digital processing.

【0009】第2の観点では、本発明は、LCDパネル
(P)と、LCDパネル駆動回路(A)と、上記第1の
観点のビデオ信号変換装置(101)とを具備したこと
を特徴とするLCD装置(100)を提供する。上記第
2の観点のLCD装置(100)では、アナログビデオ
信号をデジタルビデオ信号に変換するA/D変換手段
(21)の最適なサンプリング周波数および位相を短時
間で決定できるので、画面上での水平方向の表示精度を
高くすることが出来る。
According to a second aspect, the present invention comprises an LCD panel (P), an LCD panel drive circuit (A), and the video signal conversion device (101) according to the first aspect. An LCD device (100) is provided. In the LCD device (100) of the second aspect, the optimum sampling frequency and phase of the A / D conversion means (21) for converting an analog video signal into a digital video signal can be determined in a short time, so that it can be displayed on the screen. The display accuracy in the horizontal direction can be increased.

【0010】[0010]

【発明の実施の形態】以下、図に示す実施形態により本
発明をさらに詳細に説明する。なお、これにより本発明
が限定されるものではない。図1は、本発明の一実施形
態にかかるLCD装置100を示す構成ブロック図であ
る。このLCD装置100は、例えばパソコンから送ら
れた入力アナログビデオ信号(R信号,G信号,B信
号)を増幅して出力アナログビデオ信号を出力するビデ
オアンプ20と、出力アナログビデオ信号をデジタルビ
デオ信号(r信号,g信号,b信号)に変換するA/D
変換器21と、デジタルビデオ信号に応じてLCDパネ
ルPを駆動するLCDパネル駆動回路Aと、画像を表示
するLCDパネルPとを具備している。
BEST MODE FOR CARRYING OUT THE INVENTION The present invention will now be described in more detail with reference to the embodiments shown in the drawings. The present invention is not limited to this. FIG. 1 is a configuration block diagram showing an LCD device 100 according to an embodiment of the present invention. The LCD device 100 includes a video amplifier 20 for amplifying an input analog video signal (R signal, G signal, B signal) sent from a personal computer and outputting an output analog video signal, and an output analog video signal for a digital video signal. A / D to convert to (r signal, g signal, b signal)
It comprises a converter 21, an LCD panel drive circuit A for driving the LCD panel P according to a digital video signal, and an LCD panel P for displaying an image.

【0011】また、LCD装置100は、前記A/D変
換器21へ供給するサンプリングクロックKを発生する
PLL部4と、前記デジタルビデオ信号の最大レベルを
検出し保持しCPU5へ出力する最大レベル検出回路3
と、前記A/D変換器21への入力に適合するように前
記出力アナログビデオ信号のボトム電圧を指令するブラ
イト値および前記出力アナログビデオ信号の振幅を指令
するコントラスト値を前記ビデオアンプ20へ出力する
と共にサンプリングクロックKの周波数を指令するプリ
スケーラ値pおよびサンプリングクロックKの位相を指
令する位相値φを前記PLL部4に供給し且つ比較・合
成回路2へスライスレベルを指令するスライスレベル値
を供給するCPU5と、前記デジタルビデオ信号のr信
号,g信号,b信号がそれぞれスライスレベルより高い
期間の論理和の期間はイネーブル信号Eを“1”にし他
の期間は“0”にする比較・合成回路2と、前記イネー
ブル信号Eが“1”の期間にサンプリングクロックKを
カウントする水平表示期間カウンタ8と、水平周期(図
3のTh)内のサンプリングクロックKの数をカウント
する第1水平周期カウンタ7と、水平同期信号Hsyncの
同期パルスの立ち下がりから水平表示期間の開始までの
水平バックポーチ(図3のTb;水平方向の表示開始位
置に対応する)内のサンプリングクロックKの数をカウ
ントする水平バックポーチカウンタ9と、計時用パルス
S(例えば20MHz)を発生する水晶発振器10と、
水平周期内の計時用パルス数をカウントする第2水平周
期カウンタ11と、垂直周期内の計時用パルス数をカウ
ントする垂直周期カウンタ12とを具備している。
Further, the LCD device 100 detects the maximum level of the PLL unit 4 for generating the sampling clock K to be supplied to the A / D converter 21 and the maximum level of the digital video signal and outputs the detected maximum level to the CPU 5. Circuit 3
And a bright value that commands the bottom voltage of the output analog video signal and a contrast value that commands the amplitude of the output analog video signal to the video amplifier 20 so as to match the input to the A / D converter 21. In addition, the prescaler value p for instructing the frequency of the sampling clock K and the phase value φ for instructing the phase of the sampling clock K are supplied to the PLL unit 4 and the slice level value for instructing the slice level to the comparison / synthesis circuit 2 is supplied. Comparing / synthesizing the CPU 5 and the enable signal E set to "1" during the logical OR period of the r signal, the g signal, and the b signal of the digital video signal above the slice level, and "0" in the other periods. A circuit 2 and a horizontal circuit for counting the sampling clock K during the period when the enable signal E is "1". The indicated period counter 8, the first horizontal period counter 7 that counts the number of sampling clocks K in the horizontal period (Th in FIG. 3), and from the fall of the synchronization pulse of the horizontal synchronization signal Hsync to the start of the horizontal display period. A horizontal back porch counter 9 for counting the number of sampling clocks K in a horizontal back porch (Tb in FIG. 3; corresponding to the horizontal display start position) and a crystal oscillator 10 for generating a clock pulse S (for example, 20 MHz). When,
A second horizontal cycle counter 11 that counts the number of timekeeping pulses in the horizontal cycle and a vertical cycle counter 12 that counts the number of timekeeping pulses in the vertical cycle are provided.

【0012】前記ビデオアンプ20と、A/D変換器2
1と、PLL部4と、最大レベル検出回路3と、CPU
5と、比較・合成回路2と、水平表示期間カウンタ8と
が、ビデオ信号変換装置101を構成する。
The video amplifier 20 and the A / D converter 2
1, a PLL unit 4, a maximum level detection circuit 3, a CPU
5, the comparison / combination circuit 2, and the horizontal display period counter 8 constitute a video signal conversion device 101.

【0013】なお、前記デジタルビデオ信号の伝送方式
としては、r,g,bの各色のデジタルデータをそれぞ
れ1画素づつシリアルに伝送するシリアル伝送方式を採
用してもよいし、複数画素のデジタルデータをパラレル
に伝送するパラレル伝送方式を採用してもよい。
As the transmission method of the digital video signal, a serial transmission method for serially transmitting digital data of each color of r, g, and b for each pixel may be adopted, or digital data of a plurality of pixels may be adopted. A parallel transmission method for transmitting in parallel may be adopted.

【0014】図2は、前記CPU5が内蔵する水平解像
度テーブル6の概念図である。水平解像度テーブル6
は、水平同期周波数fhおよび垂直同期周波数fvごと
の水平解像度iを格納している。
FIG. 2 is a conceptual diagram of the horizontal resolution table 6 incorporated in the CPU 5. Horizontal resolution table 6
Stores the horizontal resolution i for each horizontal synchronization frequency fh and vertical synchronization frequency fv.

【0015】図3の(a)は、垂直同期信号Vsyncの波
形図である。図3の(b)は、水平同期信号Hsyncの波
形図である。図3の(c)は、画像表示に有効な波形期
間を斜線領域として示したデジタルビデオ信号の存在期
間を示す概念図である。図3の(d)は、イネーブル信
号Eの概念図である。図3の(e)は、サンプリングク
ロックKの概念図である。
FIG. 3A is a waveform diagram of the vertical synchronizing signal Vsync. FIG. 3B is a waveform diagram of the horizontal synchronization signal Hsync. FIG. 3C is a conceptual diagram showing the existence period of the digital video signal in which the waveform period effective for image display is shown as a shaded area. FIG. 3D is a conceptual diagram of the enable signal E. FIG. 3E is a conceptual diagram of the sampling clock K.

【0016】図4および図5は、ビデオ信号変換装置1
01によるサンプリング周波数および位相調整処理を示
すフロー図である。図4のステップS1では、サンプリ
ングクロックKの位相を示すクロックフェイズ番号nを
“0”に初期化する。ステップS2では、第2水平周期
カウンタ11にて計時用パルスSをカウントし、水平周
期Thを計測する。例えば、水平周期Thは、28.4
9μ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”
である。
FIG. 4 and FIG. 5 show a video signal conversion apparatus 1
11 is a flowchart showing a sampling frequency and phase adjustment processing by 01. FIG. In step S1 of FIG. 4, 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 time counting pulse S to measure the horizontal cycle Th. For example, the horizontal cycle Th is 28.4.
9 μs. Further, the vertical cycle counter 12 counts the time counting pulse S to measure the vertical cycle Tv. For example, the vertical cycle Tv is 17.85 ms. In step S3, the horizontal synchronizing frequency fh (= 1 / Th) and the vertical synchronizing 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 synchronizing frequency fh and the vertical synchronizing frequency fv is read from the horizontal resolution table 6 (see FIG. 2). In the above numerical example, “800” is read out as the horizontal resolution i. In step S5, the prescaler value p corresponding to the horizontal resolution i read in step S4 is retrieved from the prescaler initial value table (not shown) in which the initial value of the prescaler value p for each horizontal resolution is stored in advance. It is set in the PLL unit 4 (this setting causes the sampling clock K to be output from the PLL unit 4). The initial value of the prescaler value p corresponding to the horizontal resolution i = 800 is, for example, “1000”.
Is.

【0017】ステップS51では、最大レベル値を読み
込む。ステップS52では、スライスレベルが最大レベ
ル値より僅かに小さいか又はボトム値より僅かに大きく
なるように、スライスレベル値およびブライトネス値お
よびコントラスト値の少なくとも一つを調整する。上記
ステップS51,S52の意義については図8〜図14
を参照して後述する。
In step S51, the maximum level value is read. In step S52, at least one of the slice level value, the brightness value, and the contrast value is adjusted so that the slice level is slightly lower than the maximum level value or slightly higher than the bottom value. 8 to 14 for the significance of steps S51 and S52.
Will be described later with reference to.

【0018】ステップS6では、位相値φ=0を、PL
L部4に設定する。なお、位相値φ=0は、例えば、水
平同期信号Hsyncの同期パルスの立ち下がりと同時刻に
サンプリングクロックKが立ち下がる位相を意味する。
In step S6, the phase value φ = 0 is set to PL
Set to L part 4. The phase value φ = 0 means, for example, the phase at which the sampling clock K falls at the same time as the fall of the sync pulse of the horizontal sync signal Hsync.

【0019】図5に進み、ステップS7では、第1水平
周期カウンタ7にて水平周期Th内のサンプリングクロ
ック数HCをカウントする。また、水平表示期間カウン
タ8にてイネーブル信号Eが“1”の間のサンプリング
クロックKのカウント値HDを得る。ステップS8で
は、プリスケーラ値pを、 p=i×{HC/HD} により算出し、PLL部4に設定する。例えば、水平解
像度iが800,水平周期Th内のサンプリングクロッ
ク数HCが“1000”,水平表示期間カウンタ8のカ
ウント値HDが“799”のとき、p=1001とな
る。ステップS9では、水平表示期間カウンタ8のカウ
ント値HDが水平解像度に連続して一致した回数をカウ
ントするOK連続数カウンタnokを“0”に初期化す
る。また、水平表示期間カウンタ8のカウント値HDが
水平解像度に一致しなかった回数をカウントするNG数
カウンタnngを“0”に初期化する。
Referring to FIG. 5, in step S7, the first horizontal cycle counter 7 counts the number of sampling clocks HC within the horizontal cycle Th. Further, the horizontal display period counter 8 obtains the count value HD of the sampling clock K while the enable signal E is "1". In step S8, the prescaler value p is calculated by p = i × {HC / HD} and set in the PLL unit 4. For example, when the horizontal resolution i is 800, the number of sampling clocks HC in the horizontal cycle Th is "1000", and the count value HD of the horizontal display period counter 8 is "799", p = 1001. In step S9, an OK consecutive number counter nok for counting the number of times the count value HD of the horizontal display period counter 8 consecutively matches the horizontal resolution is initialized to "0". Further, an NG number counter nng that counts the number of times that the count value HD of the horizontal display period counter 8 does not match the horizontal resolution is initialized to "0".

【0020】ステップS10では、水平表示期間カウン
タ8にて、イネーブル信号Eが“1”の間のサンプリン
グクロックKのカウント値HDを得る。ステップS11
では、水平表示期間カウンタ8のカウント値HDが水平
解像度iと等しいならステップS12へ進み、等しくな
ければステップS15へ進む。
In step S10, the horizontal display period counter 8 obtains the count value HD of the sampling clock K while the enable signal E is "1". Step S11
Then, if the count value HD of the horizontal display period counter 8 is equal to the horizontal resolution i, the process proceeds to step S12, and if not, the process proceeds to step S15.

【0021】ステップS12では、OK連続数カウンタ
nokが“4”以上でないならステップS13へ進み、
“4”以上ならステップS14へ進む。ステップS13
では、OK連続数カウンタnokを“1”だけインクリメ
ントし、前記ステップS10に戻る。
In step S12, if the OK continuous number counter nok is not "4" or more, the process proceeds to step S13.
If it is "4" or more, the process proceeds to step S14. Step S13
Then, the OK continuous number counter nok is incremented by "1", and the process returns to step S10.

【0022】ステップS14では、設定中の位相値φを
“OK”と判定し、設定中のプリスケーラ値pおよび位
相値φの“OK”を保存する。そして、ステップS19
へ進む。
In step S14, the phase value φ being set is determined to be "OK", and the prescaler value p and the phase value φ being set "OK" are stored. Then, step S19
Go to.

【0023】ステップ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=80
1ならばp=999とする。ステップS17では、OK
連続数カウンタnokを“0”に初期化し、NG数カウン
タnngを“1”だけインクリメントし、前記ステップS
10に戻る。
In step S15, the NG number counter nng
If is not "8" or more, the process proceeds to step S16, "8"
If so, the process proceeds to step S18. In step S16,
A new prescaler value p is calculated by p = p '± 1 (p' is a prescaler value before resetting), and is reset in the PLL unit 4. That is, if the count value HD <horizontal resolution i, the prescaler value p = p '+ 1, and if the count value HD> horizontal resolution i, the prescaler value p = p'-
Set to 1. For example, when p ′ = 1000 and i = 800, if HD = 799, then p = 1001 and HD = 80.
If 1, p = 999. In step S17, OK
The continuous number counter nok is initialized to "0", the NG number counter nng is incremented by "1", and the step S
Return to 10.

【0024】ステップS18では、設定中の位相値φを
“NG”と判定し、設定中のプリスケーラ値pおよび位
相値φの“NG”を保存する。そして、ステップS19
へ進む。
In step S18, the phase value φ being set is determined to be "NG", and the prescaler value p and the phase value φ "NG" being set are stored. Then, step S19
Go to.

【0025】ステップS19では、クロックフェイズ番
号n≧15か否か判定し、n<15ならばステップS2
0へ進み、n≧15となったらステップS22へ進む。
ステップS20では、クロックフェイズ番号nを“1”
だけインクリメントする。ステップS21では、サンプ
リングクロックKをその周期に対してn/16だけずら
せる(遅らせる)位相値φを、PLL部4に設定する。
そして、上記ステップS7に戻る。
In step S19, it is determined whether or not the clock phase number n ≧ 15. If n <15, step S2
0, and when n ≧ 15, the process proceeds to step S22.
In step S20, the clock phase number n is set to "1".
Increment only. In step S21, the phase value φ that shifts (delays) the sampling clock K by n / 16 with respect to the cycle is set in the PLL unit 4.
Then, the process returns to step S7.

【0026】ステップS22では、上記ステップS1
4,S18で得られた結果から、最適なプリスケーラ値
pおよび位相値φを決定し、前記PLL部4に設定す
る。すなわち、上記ステップS14で位相値φが“O
K”と連続して判定された回数が最大のクロックフェイ
ズ番号nのグループ(クロックフェイズ番号n=15
と、n=0は連続していると見なす)の中でクロックフ
ェイズ番号nが中間のもの(中間のものが2つあるとき
は、小さな方)に対応するプリスケーラ値pおよび位相
値φを最適値とする。例えば、図6のような結果が得ら
れた場合には、n=12に対応するプリスケーラ値“1
000”および位相値φ(=12/16周期遅れ)を最
適値として決定する。また、図7のような“OK”の連
続する列が2つあるような結果が得られた場合には、
“OK”の列の長い方のn=11に対応するプリスケー
ラ値“1000”および位相値φ(=11/16周期遅
れ)を最適値として決定する。
In step S22, the above step S1
4, the optimum prescaler value p and phase value φ are determined from the results obtained in S18 and set in the PLL unit 4. That is, in step S14, the phase value φ is "O".
The group of clock phase number n (clock phase number n = 15) that has the largest number of consecutive determinations with K ”
, And n = 0 is regarded as continuous), the prescaler value p and the phase value φ corresponding to the one having the intermediate clock phase number n (the smaller one when there are two intermediate numbers) are optimal. The value. For example, when the result as shown in FIG. 6 is obtained, the prescaler value “1” corresponding to n = 12 is obtained.
000 "and the phase value φ (= 12/16 period delay) are determined as optimum values. Further, when the result that there are two consecutive rows of" OK "as shown in FIG.
The prescaler value “1000” and the phase value φ (= 11/16 cycle delay) corresponding to the longer n = 11 in the “OK” column are determined as optimum values.

【0027】なお、CPU5は、水平バックポーチカウ
ンタ9のカウント値に基づいて画像表示位置制御信号を
LCDパネル駆動回路Aに送り、画像を常に一定位置に
表示する。
The CPU 5 sends an image display position control signal to the LCD panel drive circuit A based on the count value of the horizontal back porch counter 9 to always display an image at a fixed position.

【0028】次に、図8〜図14を参照し、図4のステ
ップS51,S52の意義について説明する。なお、図
6,図7の説明ではサンプリングクロックKの1周期を
16分割(クロックフェイズ番号0〜15)して位相を
調整したが、説明の都合上、図8〜図14ではサンプリ
ングクロックKの1周期を8分割(位相a〜h)して位
相を調整する場合を想定する。
Next, the significance of steps S51 and S52 in FIG. 4 will be described with reference to FIGS. In the description of FIGS. 6 and 7, one cycle of the sampling clock K is divided into 16 (clock phase numbers 0 to 15) to adjust the phase, but for convenience of description, in FIGS. It is assumed that one cycle is divided into eight (phases a to h) to adjust the phase.

【0029】図8は、調整時のデジタルビデオ信号の最
小値−最大値が“0”−“255”(出力アナログビデ
オ信号のボトム値が2V、最大レベル値が4V)であ
り、スライスレベルが“128”(出力アナログビデオ
信号の電圧に換算して3V)であり、サンプリングクロ
ックKが位相aの状態を表している。出力アナログビデ
オ信号の立上りと立下りに「なまり」があるため、出力
アナログビデオ信号のボトム値と最大レベル値とスライ
スレベルの関係によって、イネーブル信号E=“1”の
期間が変化する。従って、水平表示期間カウンタ8のカ
ウント値HDが変化しうる。また、出力アナログビデオ
信号の最大レベルをサンプリングできる期間は、位相に
よって変化しうる。図8の例では、カウント値HD=i
となる。そして、最大レベルを表示できる期間(位相a
で出力アナログビデオ信号の最大レベルをサンプリング
できる期間をサンプリングクロック数に換算した値)=
iとなる。この場合、カウント値HDと最大レベルを表
示できる期間とが水平解像度iに合致し、問題はない。
図9は、調整時のデジタルビデオ信号の最小値−最大値
が“0”−“255”(出力アナログビデオ信号のボト
ム値が2V、最大レベル値が4V)であり、スライスレ
ベルが“128”(出力アナログビデオ信号の電圧に換
算して3V)であり、サンプリングクロックKが位相d
の状態を表している。この例では、カウント値HD=i
となる。一方、最大レベルを表示できる期間=i−1と
なる。この場合、最大レベルを表示できる期間が水平解
像度iに合致せず、表示に「ちらつき」を生じるなどの
不具合を生じる。しかし、カウント値HDは水平解像度
iに合致しているため、位相dで不具合が生じることを
CPU5は検出できない。つまり、スライスレベルが出
力アナログビデオ信号のボトム値と最大レベル値の中間
付近の場合、カウント値HDに基づいて位相を調整して
も、表示に「ちらつき」を生じるなどの不具合が生じる
ことがある。
In FIG. 8, the minimum value-maximum value of the digital video signal during adjustment is "0"-"255" (the bottom value of the output analog video signal is 2V, the maximum level value is 4V), and the slice level is It is "128" (3V converted to the voltage of the output analog video signal), and the sampling clock K represents the state of the phase a. Since the rising edge and the falling edge of the output analog video signal have "blurring", the period of the enable signal E = "1" changes depending on the relationship between the bottom value, the maximum level value, and the slice level of the output analog video signal. Therefore, the count value HD of the horizontal display period counter 8 may change. Also, the period during which the maximum level of the output analog video signal can be sampled may change depending on the phase. In the example of FIG. 8, the count value HD = i
Becomes Then, the period during which the maximum level can be displayed (phase a
Value converted to the number of sampling clocks during which the maximum level of the output analog video signal can be sampled with
i. In this case, the count value HD and the period during which the maximum level can be displayed match the horizontal resolution i, and there is no problem.
In FIG. 9, the minimum value-maximum value of the digital video signal during adjustment is "0"-"255" (the bottom value of the output analog video signal is 2V, the maximum level value is 4V), and the slice level is "128". (3V converted to the voltage of the output analog video signal), and the sampling clock K has a phase d
Represents the state of. In this example, the count value HD = i
Becomes On the other hand, the period in which the maximum level can be displayed is i-1. In this case, the period during which the maximum level can be displayed does not match the horizontal resolution i, which causes a problem such as "flickering" in the display. However, since the count value HD matches the horizontal resolution i, the CPU 5 cannot detect that a defect occurs in the phase d. That is, when the slice level is near the middle of the bottom value and the maximum level value of the output analog video signal, even if the phase is adjusted based on the count value HD, a problem such as "flickering" may occur in the display. .

【0030】図10は、調整時のデジタルビデオ信号の
最小値−最大値を“0”−“140〜153”(出力ア
ナログビデオ信号のボトム値が2V、最大レベル値を
3.1〜3.2V)に調整し、スライスレベルが“12
8”(出力アナログビデオ信号の電圧に換算して3V)
であり、サンプリングクロックKが位相aの状態を表し
ている。この例では、カウント値HD=iとなる。ま
た、最大レベルを表示できる期間=iとなる。この場
合、カウント値HDと最大レベルを表示できる期間とが
水平解像度iに合致し、問題はない。図11は、調整時
のデジタルビデオ信号の最小値−最大値を“0”−“1
40〜153”(出力アナログビデオ信号のボトム値が
2V、最大レベル値を3.1〜3.2V)に調整し、スラ
イスレベルが“128”(出力アナログビデオ信号の電
圧に換算して3V)であり、サンプリングクロックKが
位相dの状態を表している。この例では、カウント値H
D=i−1となる。また、最大レベルを表示できる期間
=i−1となる。この場合、最大レベルを表示できる期
間が水平解像度iに合致せず、表示に「ちらつき」を生
じるなどの不具合を生じる。ところが、カウント値HD
も水平解像度iに合致しないため、この位相dが不適当
であることをCPU5は検出できる。つまり、スライス
レベルが出力アナログビデオ信号の最大レベル値より僅
かに小さくなるように、スライスレベル値またはコント
ラスト値を調整した上で、カウント値HDに基づいて位
相を調整すれば、表示に「ちらつき」を生じるなどの不
具合を回避できる。これが図4のステップS51,S5
2の意義である。
In FIG. 10, the minimum value-maximum value of the digital video signal during adjustment is "0"-"140 to 153" (the bottom value of the output analog video signal is 2V, the maximum level value is 3.1 to 3. 2V) and the slice level is "12".
8 "(3V converted to the output analog video signal voltage)
And the sampling clock K represents the state of phase a. In this example, the count value HD = i. Also, the period during which the maximum level can be displayed is i. In this case, the count value HD and the period during which the maximum level can be displayed match the horizontal resolution i, and there is no problem. FIG. 11 shows the minimum value-maximum value of the digital video signal at the time of adjustment as "0"-"1".
40-153 "(bottom value of output analog video signal is 2V, maximum level value is 3.1-3.2V), slice level is" 128 "(3V converted to output analog video signal voltage) And the sampling clock K represents the state of the phase d. In this example, the count value H
D = i-1. Further, the period during which the maximum level can be displayed is i-1. In this case, the period during which the maximum level can be displayed does not match the horizontal resolution i, which causes a problem such as "flickering" in the display. However, the count value HD
Also does not match the horizontal resolution i, the CPU 5 can detect that this phase d is inappropriate. That is, if the slice level value or the contrast value is adjusted so that the slice level becomes slightly smaller than the maximum level value of the output analog video signal, and then the phase is adjusted based on the count value HD, the display "flickers". It is possible to avoid problems such as occurrence of. This is steps S51 and S5 in FIG.
2 is the significance.

【0031】図12は、調整時のデジタルビデオ信号の
最小値−最大値が“0”−“255”(出力アナログビ
デオ信号のボトム値が2V、最大レベル値が4V)であ
り、スライスレベルを“32”(出力アナログビデオ信
号の電圧に換算して2.25V)に調整し、サンプリン
グクロックKが位相aの状態を表している。この例で
は、カウント値HD=iとなる。また、最大レベルを表
示できる期間=iとなる。この場合、カウント値HDと
最大レベルを表示できる期間とが水平解像度iに合致
し、問題はない。図13は、調整時のデジタルビデオ信
号の最小値−最大値が“0”−“255”(出力アナロ
グビデオ信号のボトム値が2V、最大レベル値が4V)
であり、スライスレベルを“32”(出力アナログビデ
オ信号の電圧に換算して2.25V)に調整し、サンプ
リングクロックKが位相dの状態を表している。この例
では、カウント値HD=i+1となる。また、最大レベ
ルを表示できる期間=i−1となる。この場合、最大レ
ベルを表示できる期間が水平解像度iに合致せず、表示
に「ちらつき」を生じるなどの不具合を生じる。ところ
が、カウント値HDも水平解像度iに合致しないため、
この位相dが不適当であることをCPU5は検出でき
る。つまり、スライスレベルが出力アナログビデオ信号
のボトム値より僅かに大きくなるように、スライスレベ
ル値を調整した上で、カウント値HDに基づいて位相を
調整すれば、表示に「ちらつき」を生じるなどの不具合
を回避できる。これが図4のステップS51,S52の
意義である。
In FIG. 12, the minimum value-maximum value of the digital video signal during adjustment is "0"-"255" (the bottom value of the output analog video signal is 2V, the maximum level value is 4V), and the slice level is The value is adjusted to "32" (converted into the voltage of the output analog video signal to 2.25V), and the sampling clock K represents the state of the phase a. In this example, the count value HD = i. Also, the period during which the maximum level can be displayed is i. In this case, the count value HD and the period during which the maximum level can be displayed match the horizontal resolution i, and there is no problem. In FIG. 13, the minimum value-maximum value of the digital video signal during adjustment is "0"-"255" (bottom value of output analog video signal is 2V, maximum level value is 4V).
That is, the slice level is adjusted to “32” (converted into the voltage of the output analog video signal and 2.25 V), and the sampling clock K represents the state of the phase d. In this example, the count value HD = i + 1. Further, the period during which the maximum level can be displayed is i-1. In this case, the period during which the maximum level can be displayed does not match the horizontal resolution i, which causes a problem such as "flickering" in the display. However, since the count value HD also does not match the horizontal resolution i,
The CPU 5 can detect that this phase d is inappropriate. In other words, if the slice level value is adjusted so that the slice level is slightly higher than the bottom value of the output analog video signal and then the phase is adjusted based on the count value HD, "flicker" may occur in the display. You can avoid problems. This is the significance of steps S51 and S52 in FIG.

【0032】図14は、調整時のデジタルビデオ信号の
最小値−最大値を“0”−“44〜57”(出力アナロ
グビデオ信号のボトム値を1.5V、最大レベル値を2.
35〜2.45V)に調整し、スライスレベルが“9
7”(出力アナログビデオ信号の電圧に換算して2.2
5V)であり、サンプリングクロックKが位相aの状態
を表している。この例では、カウント値HD=iとな
る。また、最大レベルを表示できる期間=iとなる。こ
の場合、カウント値HDと最大レベルを表示できる期間
とが水平解像度iに合致し、問題はない。図15は、調
整時のデジタルビデオ信号の最小値−最大値を“0”−
“44〜57”(出力アナログビデオ信号のボトム値を
1.5V、最大レベル値を2.35〜2.45V)に調整
し、スライスレベルが“97”(出力アナログビデオ信
号の電圧に換算して2.25V)であり、サンプリング
クロックKが位相dの状態を表している。この例では、
カウント値HD=i−1となる。また、最大レベルを表
示できる期間=i−1となる。この場合、最大レベルを
表示できる期間が水平解像度iに合致せず、表示に「ち
らつき」を生じるなどの不具合を生じる。ところが、カ
ウント値HDも水平解像度iに合致しないため、この位
相dが不適当であることをCPU5は検出できる。つま
り、スライスレベルが出力アナログビデオ信号の最大レ
ベル値より小さくなるように且つスライスレベルと出力
アナログビデオ信号の最大レベル値の差が出力アナログ
ビデオ信号の振幅に対して位相調整の2単位分に相当す
る電圧(サンプリングクロックKの周期を8分割して位
相調整する場合、振幅×2/8)未満になるように、ブ
ライトネス値およびコントラスト値を調整した上で、カ
ウント値HDに基づいて位相を調整すれば、表示に「ち
らつき」を生じるなどの不具合を回避できる。これが図
4のステップS51,S52の意義である。
In FIG. 14, the minimum value-maximum value of the digital video signal at the time of adjustment is "0"-"44 to 57" (the bottom value of the output analog video signal is 1.5V and the maximum level value is 2.50).
35 to 2.45V) and adjust the slice level to "9.
7 ”(converted to output analog video signal voltage of 2.2
5 V), and the sampling clock K represents the state of the phase a. In this example, the count value HD = i. Also, the period during which the maximum level can be displayed is i. In this case, the count value HD and the period during which the maximum level can be displayed match the horizontal resolution i, and there is no problem. In FIG. 15, the minimum value-the maximum value of the digital video signal at the time of adjustment is "0"-
Adjust to “44 to 57” (bottom value of output analog video signal is 1.5V, maximum level value is 2.35 to 2.45V) and slice level is “97” (converted to the voltage of output analog video signal. 2.25 V), and the sampling clock K represents the state of the phase d. In this example,
The count value HD = i-1. Further, the period during which the maximum level can be displayed is i-1. In this case, the period during which the maximum level can be displayed does not match the horizontal resolution i, which causes a problem such as "flickering" in the display. However, since the count value HD also does not match the horizontal resolution i, the CPU 5 can detect that the phase d is inappropriate. That is, the slice level is smaller than the maximum level value of the output analog video signal, and the difference between the slice level and the maximum level value of the output analog video signal corresponds to two units of phase adjustment with respect to the amplitude of the output analog video signal. The brightness value and the contrast value are adjusted to be less than the voltage (amplitude × 2/8 when the phase is adjusted by dividing the cycle of the sampling clock K into 8), and then the phase is adjusted based on the count value HD. By doing so, it is possible to avoid problems such as "flickering" in the display. This is the significance of steps S51 and S52 in FIG.

【0033】以上のLCD装置100およびビデオ信号
変換装置101によれば、サンプリングクロックKの位
相を“1/M”周期ずつ順にずらせながら、水平表示期
間カウンタ8のカウント値HDが水平解像度iに一致す
るようにプリスケーラ値pを変更することを繰り返すの
で、サンプリングクロックKの最適な周波数および位相
を短時間で決定することが出来る。また、位相調整時
に、スライスレベルが出力アナログビデオ信号またはデ
ジタルビデオ信号の最大レベルより僅かに小さいか又は
ボトムレベルより僅かに大きくなるように、スライスレ
ベル値およびブライトネス値およびコントラスト値の少
なくとも一つを調整するため、ビデオ信号の立上り,立
下りの「なまり」に起因してビデオ信号を適正にサンプ
リングできなくなる状態を水平表示期間カウンタ8のカ
ウント値の変化として検出可能となる。
According to the LCD device 100 and the video signal conversion device 101 described above, the count value HD of the horizontal display period counter 8 coincides with the horizontal resolution i while the phase of the sampling clock K is sequentially shifted by "1 / M" cycles. Since the changing of the prescaler value p is repeated as described above, the optimum frequency and phase of the sampling clock K can be determined in a short time. Further, at the time of phase adjustment, at least one of the slice level value, the brightness value and the contrast value is set so that the slice level is slightly smaller than the maximum level of the output analog video signal or the digital video signal or slightly larger than the bottom level. Because of the adjustment, the state in which the video signal cannot be properly sampled due to the "blunting" of the rising and falling of the video signal can be detected as a change in the count value of the horizontal display period counter 8.

【0034】[0034]

【発明の効果】本発明のビデオ信号変換装置およびLC
D装置によれば、アナログビデオ信号をデジタルビデオ
信号に変換するA/D変換手段の最適なサンプリング周
波数および位相を短時間で決定することが出来る。ま
た、ビデオ信号の立上り,立下りの「なまり」に起因し
てビデオ信号を適正にサンプリングできなくなる状態を
水平表示期間カウンタのカウント値の変化として検出可
能となる。
The video signal converter and LC of the present invention.
According to the D device, the optimum sampling frequency and phase of the A / D conversion means for converting the analog video signal into the digital video signal can be determined in a short time. Further, it is possible to detect a state in which the video signal cannot be properly sampled due to the "blurring" of the rising and falling edges of the video signal, as a change in the count value of the horizontal display period counter.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施形態にかかるLCD装置を示す
構成ブロック図である。
FIG. 1 is a configuration block diagram showing an LCD device according to an embodiment of the present invention.

【図2】水平解像度テーブルの内容を示す説明図であ
る。
FIG. 2 is an explanatory diagram showing the contents of a horizontal resolution table.

【図3】図1のLCD装置の各部の波形図である。FIG. 3 is a waveform diagram of each part of the LCD device of FIG.

【図4】図1のLCD装置におけるサンプリング周波数
および位相調整処理を示すフロー図である。
4 is a flowchart showing a sampling frequency and phase adjustment process in the LCD device of FIG.

【図5】図4の続きのフロー図である。FIG. 5 is a flowchart showing a continuation of FIG. 4;

【図6】水平表示期間カウンタのカウント値が水平解像
度と等しいか否かを示す判定結果の説明図である。
FIG. 6 is an explanatory diagram of a determination result indicating whether the count value of the horizontal display period counter is equal to the horizontal resolution.

【図7】水平表示期間カウンタのカウント値が水平解像
度と等しいか否かを示す判定結果の別の説明図である。
FIG. 7 is another explanatory diagram of the determination result indicating whether or not the count value of the horizontal display period counter is equal to the horizontal resolution.

【図8】スライスレベルがボトム値と最大レベル値の中
間であり且つ位相aでサンプリングした状態を示す説明
図である。
FIG. 8 is an explanatory diagram showing a state in which the slice level is between the bottom value and the maximum level value and sampling is performed at the phase a.

【図9】スライスレベルがボトム値と最大レベル値の中
間であり且つ位相dでサンプリングした状態を示す説明
図である。
FIG. 9 is an explanatory diagram showing a state in which the slice level is between the bottom value and the maximum level value and sampling is performed at the phase d.

【図10】スライスレベルが最大レベル値より僅かに小
さく且つ位相aでサンプリングした状態を示す説明図で
ある。
FIG. 10 is an explanatory diagram showing a state in which the slice level is slightly smaller than the maximum level value and sampling is performed at the phase a.

【図11】スライスレベルが最大レベル値より僅かに小
さく且つ位相dでサンプリングした状態を示す説明図で
ある。
FIG. 11 is an explanatory diagram showing a state in which the slice level is slightly smaller than the maximum level value and sampling is performed at the phase d.

【図12】スライスレベルがボトム値より僅かに大きく
且つ位相aでサンプリングした状態を示す説明図であ
る。
FIG. 12 is an explanatory diagram showing a state in which the slice level is slightly higher than the bottom value and sampling is performed at the phase a.

【図13】スライスレベルがボトム値より僅かに大きく
且つ位相dでサンプリングした状態を示す説明図であ
る。
FIG. 13 is an explanatory diagram showing a state where the slice level is slightly higher than the bottom value and sampling is performed at the phase d.

【図14】スライスレベルが最大レベル値より僅かに小
さく且つ位相aでサンプリングした状態を示す説明図で
ある。
FIG. 14 is an explanatory diagram showing a state in which the slice level is slightly smaller than the maximum level value and sampling is performed at the phase a.

【図15】スライスレベルが最大レベル値より僅かに小
さく且つ位相dでサンプリングした状態を示す説明図で
ある。
FIG. 15 is an explanatory diagram showing a state in which the slice level is slightly smaller than the maximum level value and sampling is performed at the phase d.

【図16】従来のLCD装置の一例を示す構成ブロック
図である。
FIG. 16 is a configuration block diagram showing an example of a conventional LCD device.

【図17】水平同期信号およびビデオ信号を示す説明図
である。
FIG. 17 is an explanatory diagram showing a horizontal synchronizing signal and a video signal.

【符号の説明】[Explanation of symbols]

100 LCD装置 101 ビデオ信号変換装置 2 比較・合成回路 3 最大レベル検出回路 4 PLL部 5 CPU 6 水平解像度テーブル 7 第1水平周期カウンタ 8 水平表示期間カウンタ 9 水平バックポーチカウンタ 10 水晶発振器 11 第2水平周期カウンタ 12 垂直周期カウンタ 20 ビデオアンプ 21 A/D変換器 A LCDパネル駆動回路 K サンプリングクロック P LCDパネル Td 水平表示期間 Th 水平周期 Hsync 水平同期信号 Vsync 垂直同期信号 100 LCD device 101 video signal converter 2 Comparison / synthesis circuit 3 Maximum level detection circuit 4 PLL section 5 CPU 6 Horizontal resolution table 7 1st horizontal cycle counter 8 Horizontal display period counter 9 Horizontal back porch counter 10 Crystal oscillator 11 Second horizontal cycle counter 12 Vertical cycle counter 20 video amplifier 21 A / D converter A LCD panel drive circuit K sampling clock P LCD panel Td horizontal display period Th horizontal cycle Hsync Horizontal sync signal Vsync Vertical sync signal

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G09G 3/36 G02F 1/133 505 G09G 3/20 623 H04N 5/66 102 ─────────────────────────────────────────────────── ─── Continuation of front page (58) Fields surveyed (Int.Cl. 7 , DB name) G09G 3/36 G02F 1/133 505 G09G 3/20 623 H04N 5/66 102

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力アナログビデオ信号を増幅して出力
アナログビデオ信号を出力するビデオ増幅手段(20)
と、前記出力アナログビデオ信号をデジタルビデオ信号
に変換するA/D変換手段(21)と、そのA/D変換
手段(21)に供給するサンプリングクロック(K)を
発生するサンプリングクロック発生手段(4)と、前記
出力アナログビデオ信号または前記デジタルビデオ信号
がスライスレベルより高い期間のサンプリングクロック
数(HD)をカウントする水平表示期間カウンタ(8)
と、位相調整時に前記スライスレベルが前記出力アナロ
グビデオ信号または前記デジタルビデオ信号の最大レベ
ルより僅かに小さいか又は前記出力アナログビデオ信号
または前記デジタルビデオ信号のボトムレベルより僅か
に大きくなるように前記スライスレベルおよび前記出力
アナログビデオ信号または前記デジタルビデオ信号の最
大レベルおよびボトムレベルの少なくとも一つを調整す
る水平表示期間カウント調整手段(5)と、前記サンプ
リングクロック(K)の周波数と位相の複数の候補につ
いての前記水平表示期間カウンタのカウント値を検出し
該カウント値を基に前記サンプリングクロック(K)の
周波数と位相とを決定するサンプリングクロック制御手
段(5)とを具備したことを特徴とするビデオ信号変換
装置(101)。
1. A video amplification means (20) for amplifying an input analog video signal and outputting an output analog video signal.
An A / D conversion means (21) for converting the output analog video signal into a digital video signal, and a sampling clock generation means (4) for generating a sampling clock (K) to be supplied to the A / D conversion means (21). ) And a horizontal display period counter (8) for counting the number of sampling clocks (HD) in a period in which the output analog video signal or the digital video signal is higher than a slice level.
And the slice so that at the time of phase adjustment, the slice level is slightly lower than the maximum level of the output analog video signal or the digital video signal or slightly higher than the bottom level of the output analog video signal or the digital video signal. Horizontal display period count adjusting means (5) for adjusting a level and at least one of a maximum level and a bottom level of the output analog video signal or the digital video signal, and a plurality of frequency and phase of the sampling clock (K). A sampling clock control means (5) for detecting a count value of the horizontal display period counter for a candidate and determining a frequency and a phase of the sampling clock (K) based on the count value is provided. Video signal converter (101).
【請求項2】 LCDパネル(P)と、LCDパネル駆
動回路(A)と、請求項1に記載のビデオ信号変換装置
(101)とを具備したことを特徴とするLCD装置
(100)。
2. An LCD device (100) comprising an LCD panel (P), an LCD panel drive circuit (A) and the video signal conversion device (101) according to claim 1.
JP23676199A 1999-08-24 1999-08-24 Video signal conversion device and LCD device Expired - Fee Related JP3427298B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23676199A JP3427298B2 (en) 1999-08-24 1999-08-24 Video signal conversion device and LCD device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23676199A JP3427298B2 (en) 1999-08-24 1999-08-24 Video signal conversion device and LCD device

Publications (2)

Publication Number Publication Date
JP2001060077A JP2001060077A (en) 2001-03-06
JP3427298B2 true JP3427298B2 (en) 2003-07-14

Family

ID=17005411

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23676199A Expired - Fee Related JP3427298B2 (en) 1999-08-24 1999-08-24 Video signal conversion device and LCD device

Country Status (1)

Country Link
JP (1) JP3427298B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100481504B1 (en) * 2002-11-12 2005-04-07 삼성전자주식회사 Controlling apparatus of sampling phase for digital display apparatus and controlling method thereof
JP5327774B2 (en) * 2007-11-09 2013-10-30 グローバル・オーエルイーディー・テクノロジー・リミテッド・ライアビリティ・カンパニー Display device

Also Published As

Publication number Publication date
JP2001060077A (en) 2001-03-06

Similar Documents

Publication Publication Date Title
US6097444A (en) Automatic image quality adjustment device adjusting phase of sampling clock for analog video signal to digital video signal conversion
JP4182124B2 (en) Image display device, dot clock phase adjustment circuit, and clock phase adjustment method
EP0805430A1 (en) Video adapter and digital image display apparatus
US6097379A (en) Liquid crystal display device
JPH10153989A (en) Dot clock circuit
US20060256119A1 (en) Method and apparatus for a digital display
JP2000292767A (en) Liquid crystal display device
US11081065B2 (en) Display control apparatus and method having dynamic backlight adjusting mechanism
US20070200843A1 (en) Display driving integrated circuit and method of generating system clock signal using oscillator clock signal
JP2000298447A (en) Pixel synchronizing circuit
US6621480B1 (en) Phase adjuster, phase adjusting method and display device
US7649530B2 (en) Mode-selecting apparatus, display apparatus including the same, and method of selecting a mode in display unit
US4998169A (en) Flat-panel display unit for displaying image data from personal computer or the like
JP3427298B2 (en) Video signal conversion device and LCD device
JP3613725B2 (en) Sampling frequency / phase adjusting method, sampling frequency / phase adjusting device and LCD device
KR20020028867A (en) Method and device for compensating the phase for flat screens
KR100339459B1 (en) Liquid crystal display apparatus
US7664979B2 (en) Method for adjusting monitor clock phase that selects scaler threshold voltage corresponding to period having reference number of pulses
JP4006122B2 (en) Digital image display device
JP2001083927A (en) Display device and its driving method
KR100266167B1 (en) Adjusting apparatus of sampling freqeuncy and sampling position and adjusting methods thereof
JPH11219157A (en) Sampling clock control device
JPH10319913A (en) Display device
JPH08248395A (en) Liquid crystal display device
JPH0934400A (en) Image display device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090516

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090516

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100516

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100516

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110516

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120516

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130516

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140516

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140516

Year of fee payment: 11

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: 20140516

Year of fee payment: 11

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