JPH0822276A - Automatic sampling clock adjusting method and its circuit - Google Patents

Automatic sampling clock adjusting method and its circuit

Info

Publication number
JPH0822276A
JPH0822276A JP15833994A JP15833994A JPH0822276A JP H0822276 A JPH0822276 A JP H0822276A JP 15833994 A JP15833994 A JP 15833994A JP 15833994 A JP15833994 A JP 15833994A JP H0822276 A JPH0822276 A JP H0822276A
Authority
JP
Japan
Prior art keywords
signal
sampling
clock
circuit
output
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.)
Granted
Application number
JP15833994A
Other languages
Japanese (ja)
Other versions
JP3389955B2 (en
Inventor
Kota Hashiguchi
耕太 橋口
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.)
Fujitsu General Ltd
Original Assignee
Fujitsu General 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 Fujitsu General Ltd filed Critical Fujitsu General Ltd
Priority to JP15833994A priority Critical patent/JP3389955B2/en
Publication of JPH0822276A publication Critical patent/JPH0822276A/en
Application granted granted Critical
Publication of JP3389955B2 publication Critical patent/JP3389955B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Image Input (AREA)
  • Synchronizing For Television (AREA)

Abstract

PURPOSE:To provide a sampling clock with an optimum phase by automatically adjusting a sampling clock phase in a video signal processing circuit sampling an analog video signal by a clock pulse. CONSTITUTION:An input analog video signal S1 is made a binary signal by a binary signal making circuit 101, and the binary signal is made the sampling clock, and a zero signal and a one signal of a phase variable clock S3 formed in a clock oscillation circuit 107, a delay circuit 108 and a selector 109 are sampling-counted and compared, and the phase of the clock S3 is adjusted by the selector 109 so that the difference becomes zero, and the sampling clock signal S3 with the phase suitable for the input analog video signal S1 is obtained.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えばアナログ映像信
号を一定の周波数でサンプリングして表示する液晶ディ
スプレイ(LCD)やプラズマディスプレイ(PDP)
におけるように、アナログ映像信号をクロックパルスで
サンプリングする映像信号処理回路において、例えば映
像信号がパソコン出力の文字信号等のように周期的に変
化する場合に最適な位相のクロックパルスを発生させる
手段に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a liquid crystal display (LCD) or a plasma display (PDP) for sampling and displaying an analog video signal at a constant frequency.
In a video signal processing circuit for sampling an analog video signal with a clock pulse as in 1), it relates to a means for generating a clock pulse having an optimum phase when the video signal periodically changes such as a character signal output from a personal computer. .

【0002】[0002]

【従来の技術】映像信号とサンプリングクロックの位相
関係を設定する回路例を図6に示す(特開平2−124
691参照)。調整時の入力映像信号は静止状態の信号
とし、入力手段508よりCUP506へ位相合せ開始
の信号が入力されると、CPU506は遅延線510の
複数の出力のうちの一つを選択するセレクタ511で選
択して出力する。その出力クロックで入力映像信号S0
をA/D変換器501でA/D変換し、これをメモリ5
02に蓄える。次に遅延線510の出力の内の前回と異
なる一つをセレクタ511で選択して出力したクロック
でA/D変換された信号と前記メモリ502に蓄えられ
た映像データを順次比較器503で比較して、異なるデ
ータの数を計数器504でカウントし結果をCPU50
6で読み取る。以上を順次繰り返してCUP506は計
数器504の計数が最も少なかったセレクタ511の状
態にセレクタを設定するとともにEEPROM507に
記憶しておき、電源オフ後再度電源を投入したさい、E
EPROM507の記憶内容によりセレクタ511の状
態を設定する。ここで509は映像信号S0の水平同期
信号に同期した原サンプリングクロック信号を発生する
位相ロックループ(PLL)、505は映像信号S0の
同期信号とセレクタ511から出力するクロック信号に
より、前記A/D変換回路501とメモリ502を制御
作動させるサンプリング処理回路である。
2. Description of the Related Art An example of a circuit for setting the phase relationship between a video signal and a sampling clock is shown in FIG. 6 (JP-A-2-124).
691). The input video signal at the time of adjustment is a stationary signal, and when a signal for starting the phase matching is input from the input means 508 to the CUP 506, the CPU 506 causes the selector 511 to select one of a plurality of outputs of the delay line 510. Select and output. Input video signal S0 with its output clock
Is A / D converted by the A / D converter 501, and this is converted into the memory 5
Store in 02. Next, one of the outputs of the delay line 510, which is different from the previous one, is selected by the selector 511 and the signal A / D converted by the clock output and the video data stored in the memory 502 are sequentially compared by the comparator 503. Then, the number of different data is counted by the counter 504 and the result is calculated by the CPU 50.
Read at 6. By repeating the above in sequence, the CUP 506 sets the selector to the state of the selector 511 with the smallest count of the counter 504 and stores it in the EEPROM 507, and when the power is turned off and then turned on again, E
The state of the selector 511 is set according to the contents stored in the EPROM 507. Here, 509 is a phase locked loop (PLL) that generates an original sampling clock signal synchronized with the horizontal synchronizing signal of the video signal S0, and 505 is the A / D based on the synchronizing signal of the video signal S0 and the clock signal output from the selector 511. This is a sampling processing circuit that controls and operates the conversion circuit 501 and the memory 502.

【0003】[0003]

【発明が解決しようとする課題】以上のサンプリングク
ロックの位相調整法によると、入力映像信号が同一位相
関係の場合は、一度設定すれば以後の位相は自動的に最
適に設定され、画面を見ながら人手でクロック位相を調
整する煩わしさが解消される。しかしながら、例えば異
なったパソコンを接続した場合、あるいは同一パソコン
でも表示モードの異なる信号を表示する場合、最適位相
にあるかを画面を見て確認し、ずれていれば入力手段で
設定を指令して、入力が変わる毎、あるいは表示モード
が変わる毎に設定し直さなければならない。またセレク
タのセレクト数を多くすると計数値が最小を示す範囲は
広くなり最適値が判然としなくなり、他方セレクト数を
少なくすると最適な位相からのずれが大きくなり、入力
の僅かな変動で誤表示を起こし易くなるなど、正確な最
適値が得られにくい恐れがある。さらに設定は、メモリ
に蓄えられた以前の信号と現信号を比較して行うため、
静止入力映像信号が必要であり、また最低2フレーム期
間以上の時間を要する。
According to the above method of adjusting the phase of the sampling clock, when the input video signals have the same phase relationship, once set, the subsequent phases are automatically set to the optimum, and the screen is viewed. However, the trouble of manually adjusting the clock phase is eliminated. However, if different PCs are connected, or if the same PC displays different signals in different display modes, check the screen to see if it is in the optimum phase, and if there is a deviation, command the settings using the input means. , Every time the input is changed or the display mode is changed, the setting must be reset. Also, if the number of select of the selector is increased, the range where the count value is the minimum becomes wider and the optimum value becomes unclear. There is a possibility that it may be difficult to obtain an accurate optimum value, for example, it may occur easily. Furthermore, the setting is done by comparing the previous signal and the current signal stored in the memory,
A still input video signal is required, and at least two frame periods or more is required.

【0004】[0004]

【課題を解決するための手段】本発明は以上の問題点に
鑑みなされたもので、入力映像信号を2値信号に変え
て、この2値信号をクロックとしてサンプリングクロッ
クをデータとてサンプリングし得られるた結果の論理0
の数と1の数の差が最小となるようにサンプリングクロ
ックの位相を調整する。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and can convert an input video signal into a binary signal and use this binary signal as a clock to sample a sampling clock as data. The logical 0 of the result
The phase of the sampling clock is adjusted so that the difference between the number of 1 and the number of 1 is minimized.

【0005】[0005]

【作用】入力映像信号を2値信号とし、この2値信号を
クロックとしてサンプリングクロックをデータとてサン
プリングすると、本来のサンプレイングクロックの位相
が最適であれば、得られる結果は0と1がほぼ同数とな
るはずである。従ってこの0と1の数の差の絶対値が最
小となるように本来のクロックの位相を調整することで
最適のサンプリングクロックが得られる。
When the input video signal is a binary signal and the sampling clock is used as data for sampling with the binary signal as a clock, if the original phase of the sun-playing clock is optimum, the obtained results are almost 0 and 1. It should be the same number. Therefore, the optimum sampling clock can be obtained by adjusting the phase of the original clock so that the absolute value of the difference between the numbers of 0 and 1 is minimized.

【0006】[0006]

【実施例】以下、本発明によるサンプリングクロックの
自動調整について図を用いて詳細に説明する。図1は、
本発明の1実施例のブロック図、図2は同概要タイミン
グ図である。ここでS1は入力映像信号である。101
は映像信号S1をある閾値TLでスライスして2値信号
S2を作る2値信号化回路である。102はサンプリン
グクロックS3をデータとし、2値信号S2をクロック
として論理0のデータをサンプリングする0信号サンプ
リグ回路で、103は論理1のデータをサンプリグする
1信号サンプリグ回路である。104と105は各々0
信号サンプリング回路102と1信号サンプリング信号
回路103の出力を計数する計数器である。106は計
数器104と105の計数値を比較する比較器である。
107は元となるクロック信号を発生する原クロック発
振回路である。108は原クロックから複数の位相のず
れたクロックを出力する遅延回路である。109は比較
器106の出力で遅延回路108の複数個の出力からサ
ンプリングクロック信号となる一つのクロック信号S3
を選択するセレクタである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The automatic adjustment of the sampling clock according to the present invention will be described in detail below with reference to the drawings. Figure 1
FIG. 2 is a block diagram of one embodiment of the present invention, and FIG. 2 is a schematic timing diagram of the same. Here, S1 is an input video signal. 101
Is a binary signal conversion circuit for slicing the image signal S1 with a certain threshold value TL to generate a binary signal S2. Reference numeral 102 is a 0 signal sampling circuit for sampling logic 0 data using the sampling clock S3 as data and the binary signal S2 as a clock, and 103 is a 1 signal sampling circuit for sampling logic 1 data. 104 and 105 are 0 respectively
It is a counter that counts the outputs of the signal sampling circuit 102 and the 1-signal sampling signal circuit 103. Reference numeral 106 is a comparator that compares the count values of the counters 104 and 105.
Reference numeral 107 is an original clock oscillator circuit that generates an original clock signal. Reference numeral 108 denotes a delay circuit that outputs a clock that is out of phase with the original clock. Reference numeral 109 denotes an output of the comparator 106, and one clock signal S3 serving as a sampling clock signal from a plurality of outputs of the delay circuit 108.
Is a selector for selecting.

【0007】図2に示すように、入力映像信号S1の2
値化信号S2でサンプリングクロック信号S3をサンプ
リングすると、サンプリングクロックの位相を順次進め
たときに、サンプリング点の値は論理1から0に変化
し、サンプリングクロックの位相を順次遅らせたとく
は、サンプル点の値は0から1に変化する。従って例え
ば0信号サンプル度数から1信号サンプル度数を引いた
値となる比較器106の出力が正のときはサンプリング
クロックの位相を遅らせるようにセレクタ109を選択
し、負のときは進めるように選択することで、最適な位
相のサンプリングクロックが得られる。なおここではサ
ンプリングクロックS3はデューティ50%を想定して
いるが、デューティ50%以外のときは一定位相の位相
シフト手段を用いて、前記サンプル点から180度ずれ
た点をサンプリングクロックの位相点とすれば良い。
As shown in FIG. 2, 2 of the input video signal S1
When the sampling clock signal S3 is sampled with the binarized signal S2, when the phase of the sampling clock is sequentially advanced, the value of the sampling point changes from logic 1 to 0, and the phase of the sampling clock is gradually delayed. The value of changes from 0 to 1. Therefore, for example, when the output of the comparator 106, which is a value obtained by subtracting the 1-signal sample frequency from the 0-signal sample frequency, is positive, the selector 109 is selected to delay the phase of the sampling clock, and when the output is negative, the selector 109 is selected to advance. Thus, the sampling clock with the optimum phase can be obtained. Although the sampling clock S3 is assumed to have a duty of 50% here, when the duty is other than 50%, a phase shift means having a constant phase is used to set a point deviated by 180 degrees from the sampling point as a phase point of the sampling clock. Just do it.

【0008】図3は第2の実施例のブロック図である。
ここでS1は入力映像信号である。201は映像信号S
1をある閾値でスライスして2値信号S2を作る2値信
号化回路である。202はサンプリングクロックS3を
データとし、2値信号S2をクロックとして論理0のデ
ータをサンプリングする0信号サンプリグ回路で、20
3は論理1のデータをサンプリグする1信号サンプリグ
回路である。204は0信号サンプリング回路202と
1信号サンプリング信号回路203の出力を入力し、セ
レクタの選択信号を出力するCPUである。205は元
となるクロック信号を発生する原クロック発振回路であ
る。206は原クロックから複数の位相のずれたクロッ
クを出力する遅延回路である。207はCPU204の
出力で遅延回路206の複数個の出力からサンプリング
クロック信号となる一つのクロック信号S3を選択する
セレクタである。
FIG. 3 is a block diagram of the second embodiment.
Here, S1 is an input video signal. 201 is a video signal S
It is a binary signal conversion circuit for slicing 1 with a certain threshold value to generate a binary signal S2. Reference numeral 202 denotes a 0 signal sampling circuit for sampling logic 0 data using the sampling clock S3 as data and the binary signal S2 as a clock.
Reference numeral 3 is a 1-signal sampling circuit for sampling logic 1 data. Reference numeral 204 denotes a CPU which inputs the outputs of the 0 signal sampling circuit 202 and the 1 signal sampling signal circuit 203 and outputs a selector selection signal. Reference numeral 205 denotes an original clock oscillation circuit that generates a clock signal as an original. Reference numeral 206 denotes a delay circuit that outputs a clock that is out of phase with the original clock. A selector 207 is an output of the CPU 204 and selects one clock signal S3 to be a sampling clock signal from a plurality of outputs of the delay circuit 206.

【0009】図2に示すように、入力映像信号S1の2
値化信号S2でサンプリングクロック信号S3をサンプ
リングすると、サンプリングクロックの位相を順次進め
たときに、サンプリング点の値は論理1から0に変化
し、サンプリングクロックの位相を順次遅らせたとく
は、サンプル点の値は0から1に変化する。従ってCP
U204で0信号サンプル度数から1信号サンプル度数
を引いた値が正のときはサンプリングクロックの位相を
遅らせるようにセレクタ207を選択し、負のときは進
めるように選択してほぼ零となる点に選択することで、
最適な位相のサンプリングクロックが得られる。なおこ
こではサンプリングクロックS3はデューティ50%を
想定しているが、デューティ50%以外のときは一定位
相の位相シフト手段を用いて、前記サンプル点から18
0度ずれた点をサンプリングクロックの位相点とすれば
良い。この実施例では、各種制御用として搭載が一般的
になっているCPUを共用して、サンプリングクロック
の自動位相合せ回路が得られる。
As shown in FIG. 2, 2 of the input video signal S1.
When the sampling clock signal S3 is sampled with the binarized signal S2, when the phase of the sampling clock is sequentially advanced, the value of the sampling point changes from logic 1 to 0, and the phase of the sampling clock is gradually delayed. The value of changes from 0 to 1. Therefore CP
When the value obtained by subtracting the 1-signal sample frequency from the 0-signal sample frequency in U204 is positive, the selector 207 is selected so as to delay the phase of the sampling clock, and when the value is negative, the selector 207 is selected to be advanced to the point where it becomes almost zero. By selecting,
A sampling clock with an optimum phase can be obtained. It is assumed that the sampling clock S3 has a duty of 50%, but when the duty is other than 50%, the phase shift means having a constant phase is used to obtain 18 from the sampling point.
The point shifted by 0 degrees may be used as the phase point of the sampling clock. In this embodiment, a CPU, which is generally mounted for various controls, is shared to obtain an automatic phase adjusting circuit for sampling clocks.

【0010】図4は第3の実施例のブロック図である。
ここでS1は入力映像信号である。301は映像信号S
1をある閾値でスライスして2値信号S2を作る2値信
号化回路である。302は調整用クロックS4をデータ
とし、2値信号S2をクロックとして論理0のデータを
サンプリングする0信号サンプリグ回路で、303は論
理1のデータをサンプリグする1信号サンプリグ回路で
ある。304は0信号サンプリング回路302と1信号
サンプリング信号回路303の出力を入力し、2種類の
セレクタの選択信号を出力するCPUである。305は
元となるクロック信号を発生する原クロック発振回路で
ある。306は原クロックから複数の位相のずれたクロ
ックを出力する遅延回路である。307はCPU304
の出力の一つで遅延回路306の複数個の出力から調整
用クロック信号S4となる一つのクロックを選択するセ
レクタAである。308はCPU304の他の出力で遅
延回路306の複数個の出力からサンプリングクロック
信号となる一つのクロック信号S3を選択するセレクタ
Bである。
FIG. 4 is a block diagram of the third embodiment.
Here, S1 is an input video signal. 301 is the video signal S
It is a binary signal conversion circuit for slicing 1 with a certain threshold value to generate a binary signal S2. Reference numeral 302 is a 0-signal sampling circuit for sampling logic 0 data using the adjustment clock S4 as data and the binary signal S2 as a clock. Reference numeral 303 is a 1-signal sampling circuit for sampling logic 1 data. Reference numeral 304 denotes a CPU which inputs the outputs of the 0 signal sampling circuit 302 and the 1 signal sampling signal circuit 303 and outputs selection signals of two types of selectors. Reference numeral 305 is an original clock oscillation circuit that generates a clock signal as an original. Reference numeral 306 is a delay circuit that outputs a clock that is out of phase with the original clock. 307 is the CPU 304
Is a selector A that selects one clock serving as the adjustment clock signal S4 from a plurality of outputs of the delay circuit 306 by one of the outputs of the above. A selector B 308 is another output of the CPU 304 and selects one clock signal S3 to be a sampling clock signal from a plurality of outputs of the delay circuit 306.

【0011】入力映像信号S1が例えばパソコンからの
文字信号のように、周期的でサンプリングクロックとの
位相合せが必要とされる場には、その入力映像信号の2
値化信号S2で調整用クロック信号S3をサンプリング
すると、調整用クロックの位相を順次進めたときに、サ
ンプリング点の値は論理1から0に変化し、調整用クロ
ックの位相を順次遅らせたときは、サンプル点の値は0
から1に変化する。他方入力映像信号S1が一般のテレ
ビ信号のように周期性がなく特別サンプリングクロック
との位相合せを要しない場合は、サンプル点の値はラン
ダムに変化する。従ってCPU304で0信号サンプル
度数から1信号サンプル度数を引いた値が正のときはサ
ンプリングクロックの位相を遅らせるようにセレクタA
307を選択し、負のときは進めるように選択してほぼ
零となる点の選択値で得られる調整用クロックの前記サ
ンプリング位相点から、180度位相がずれた位相点が
サンプリングクロックS3のサンプリング位相点となる
ようにセレクタB308を選択設定する。他方0信号サ
ンプル度数から1信号サンプル度数を引いた値がランダ
ムに変化するときはセレクタBの選択値は変化させずに
以前の設定値のままとしておく。この実施例では、例え
ばマルチメディアディスプレイのように周期性のある信
号とランダム位相の信号が入れ替わっても、クロック位
相合せのため、位相ずれを起こしたりせず安定なサンプ
リングクロックが得られる。
If the input video signal S1 is periodic and requires phase matching with the sampling clock, such as a character signal from a personal computer, then the input video signal S2 is
When the adjustment clock signal S3 is sampled with the binarized signal S2, the value of the sampling point changes from logic 1 to 0 when the phase of the adjustment clock is sequentially advanced, and when the phase of the adjustment clock is delayed sequentially. , The value of sample point is 0
Changes from 1 to 1. On the other hand, when the input video signal S1 has no periodicity and does not need to be in phase with the special sampling clock like a general television signal, the value of the sampling point changes randomly. Therefore, when the value obtained by subtracting the 1-signal sample frequency from the 0-signal sample frequency is positive in the CPU 304, the selector A is arranged to delay the phase of the sampling clock.
307 is selected, and when negative, it is selected to advance and the phase point 180 degrees out of phase from the sampling phase point of the adjustment clock obtained with the selected value of the point that becomes substantially zero is the sampling point of the sampling clock S3. Selector B308 is selected and set so as to be the phase point. On the other hand, when the value obtained by subtracting the 1-signal sample frequency from the 0-signal sample frequency changes at random, the selection value of the selector B is not changed and remains at the previous setting value. In this embodiment, even if a signal having a periodicity and a signal having a random phase are exchanged, as in a multimedia display, for example, the clock phase matching does not cause a phase shift and a stable sampling clock can be obtained.

【0012】図5は第4の実施例である。ここでS1は
入力映像信号である。401は映像信号S1をある閾値
でスライスして2値信号S2を作る2値信号化回路であ
る。402はサンプリングクロックS3をデータとし、
2値信号S2をクロックとして論理0のデータをサンプ
リングする0信号サンプリグ回路で、403は論理1の
データをサンプリグする1信号サンプリグ回路である。
404と405は各々0信号サンプリング回路402と
1信号サンプリング信号回路403の出力を計数する計
数器である。406は計数器604と605の計数値を
比較する比較器である。407は比較器406の出力を
積分する低周波通過フィルタ(LPF)である。408
はLPFからの出力電圧で発振周波数が変化するサンプ
リングクロックS3を出力する電圧制御発振器(VC
O)である。
FIG. 5 shows a fourth embodiment. Here, S1 is an input video signal. Reference numeral 401 denotes a binary signal conversion circuit that slices the video signal S1 with a certain threshold value to generate a binary signal S2. 402 uses the sampling clock S3 as data,
A 0 signal sampling circuit for sampling logic 0 data using the binary signal S2 as a clock, and 403 is a 1 signal sampling circuit for sampling logic 1 data.
404 and 405 are counters for counting the outputs of the 0 signal sampling circuit 402 and the 1 signal sampling signal circuit 403, respectively. Reference numeral 406 is a comparator that compares the count values of the counters 604 and 605. A low frequency pass filter (LPF) 407 integrates the output of the comparator 406. 408
Is a voltage controlled oscillator (VC) that outputs a sampling clock S3 whose oscillation frequency changes with the output voltage from the LPF.
O).

【0013】図2に示すように、入力映像信号S1の2
値化信号S2でサンプリングクロック信号S3をサンプ
リングすると、サンプリングクロックの位相を順次進め
たときに、サンプリング点の値は論理1から0に変化
し、サンプリングクロックの位相を順次遅らせたとく
は、サンプル点の値は0から1に変化する。従って比較
器406の出力が1信号サンプル度数を基準として0信
号サンプル度数に比例した電圧が出力するようにしてお
きくと、その電圧がLPF407で積分されVCO40
8にかかる。VCOの特性を印加電圧が大きくなる時発
振周波数が増大するようにしておけば、最適な位相と周
波数のサンプリングクロックが得られる。なおここでは
サンプリングクロックS3はデューティ50%を想定し
ているが、デューティ50%以外のときは一定位相の位
相シフト手段を用いて、前記サンプル点から180度ず
れた点をサンプリングクロックの位相点とすれば良い。
この実施例では、位相だけでなく、周波数も自動的に調
整されるサンプリングクロックの自動調整回路が得られ
る。
As shown in FIG. 2, 2 of the input video signal S1.
When the sampling clock signal S3 is sampled with the binarized signal S2, when the phase of the sampling clock is sequentially advanced, the value of the sampling point changes from logic 1 to 0, and the phase of the sampling clock is gradually delayed. The value of changes from 0 to 1. Therefore, when the output of the comparator 406 is set to output a voltage proportional to the 0 signal sample frequency with reference to the 1 signal sample frequency, the voltage is integrated by the LPF 407 and the VCO 40
It takes 8. By setting the characteristics of the VCO so that the oscillation frequency increases when the applied voltage increases, a sampling clock having an optimum phase and frequency can be obtained. Although the sampling clock S3 is assumed to have a duty of 50% here, when the duty is other than 50%, a phase shift means having a constant phase is used to set a point deviated by 180 degrees from the sampling point as a phase point of the sampling clock. Just do it.
In this embodiment, an automatic adjusting circuit for the sampling clock is obtained in which not only the phase but also the frequency is automatically adjusted.

【0014】[0014]

【発明の効果】アナログ映像信号を一定の周波数でサン
プリングして表示する液晶ディスプレイ(LCD)やプ
ラズマディスプレイ(PDP)などように、アナログ映
像信号をクロックパルスでサンプリングする映像信号処
理回路において、映像信号が周期的に変化する場合に最
適な位相のクロックパルスを発生させるてめに、入力映
像信号を2値信号に変えて、この2値信号をクロックと
してサンプリングクロックをデータとてサンプリングし
得られるた結果の論理0の数と1の数の差が最小となる
ようにサンプリングクロックの位相を調整することで、
最適のサンプリングクロックの位相に自動的に設定でき
る。従って従来のように、表示画面で位相ずれが起こっ
たあと手動で設定をしなおす必要がなく、つねに自動的
に最適な位相のサンプリングクロックが得られる。
EFFECT OF THE INVENTION In a video signal processing circuit for sampling an analog video signal with a clock pulse, such as a liquid crystal display (LCD) or a plasma display (PDP) which samples an analog video signal at a constant frequency and displays the video signal. In order to generate a clock pulse having an optimum phase when the frequency changes periodically, the input video signal is converted into a binary signal, and the sampling clock is used as the data to sample the sampling clock. By adjusting the phase of the sampling clock so that the difference between the resulting number of logical 0s and 1s is minimized,
The optimum sampling clock phase can be set automatically. Therefore, unlike the conventional case, there is no need to manually reset the setting after the phase shift occurs on the display screen, and the sampling clock with the optimum phase can always be obtained.

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

【図1】第1の実施例の概略ブロック図である。FIG. 1 is a schematic block diagram of a first embodiment.

【図2】本実施例の概要タイミング図である。FIG. 2 is a schematic timing chart of the present embodiment.

【図3】第2の実施例の概略ブロック図である。FIG. 3 is a schematic block diagram of a second embodiment.

【図4】第3の実施例の概要ブロック図である。FIG. 4 is a schematic block diagram of a third embodiment.

【図5】第4の実施例の概要ブロック図である。FIG. 5 is a schematic block diagram of a fourth embodiment.

【図6】従来の実施例の概要ブロック図である。FIG. 6 is a schematic block diagram of a conventional example.

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

S1 入力映像信号 S2 入力映像信号の2値化信号 S3 サンプリングクロック信号 101 2値信号化回路 102 0信号サンプリング回路 103 1信号サンプリング回路 104 計数器 105 計数器 106 比較器 107 原クロック発振回路 108 セレクタ 204 CPU 407 低周波通過フィルタ(LPF) 408 電圧制御発振器(VCO) S1 input video signal S2 binarized signal of input video signal S3 sampling clock signal 101 binary signal conversion circuit 102 0 signal sampling circuit 103 1 signal sampling circuit 104 counter 105 counter 106 comparator 107 original clock oscillation circuit 108 selector 204 CPU 407 Low-frequency pass filter (LPF) 408 Voltage controlled oscillator (VCO)

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 5/06 Z 7/24 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI technical display location H04N 5/06 Z 7/24

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 入力映像信号をクロックパルスでサンプ
リングする映像信号処理回路において、前記映像信号を
2値信号に変える2値信号化手段と、位相又は周波数あ
るいはその両方を制御調整できるクロック信号発生手段
と、前記2値化信号の変化点でクロック信号をサプリン
グし、その遅れ度数及び進み度数を計数する計数手段
と、その各計数値を比較する比較手段とを備え、該比較
値が最小となるように前記クロック信号発生手段を制御
して、前記アナログ映像信号に最適な位相のサンプリン
グクロックが得られるようにしてなるサンプリングクロ
ック自動調整方法。
1. A video signal processing circuit for sampling an input video signal with clock pulses, a binary signal converting means for converting the video signal into a binary signal, and a clock signal generating means capable of controlling and adjusting phase and / or frequency. And a counting means for sampling the clock signal at the changing point of the binarized signal and counting the delay frequency and the advance frequency thereof, and a comparing means for comparing the respective count values, and the comparison value is minimized. A sampling clock automatic adjusting method for controlling the clock signal generating means to obtain a sampling clock having an optimum phase for the analog video signal.
【請求項2】 入力映像信号を一定の振幅レベル以下で
論理0,一定の振幅レベル以上で論理1を出力する2値
信号化回路と、サンプリングクロックをデータとし前記
2値信号をクロックとして前記サンプリングクロックの
0信号をサンプリングする0信号サンプリグ回路及び1
信号をサンプリグする1信号サンプリグ回路と、前記0
信号サンプリグ回路の出力度数及び1信号サンプリグ回
路の出力度数を各々計数する計数器と、前記各計数器の
計数値を比較する比較器と、原クロック信号発振回路
と、原クロック信号を複数個の異なる位相で出力する遅
延回路と、その遅延回路の出力を前記比較器で選択し前
記サンプリングクロック信号を出力するセレクタとを備
え、前記セレクタの出力を0信号サンプリグ度数と1信
号サンプリグ度数の差がほぼ零となるように前記遅延回
路の出力を選択するようにしてなる請求項1記載のサン
プリングクロック自動調整回路。
2. A binary signal conversion circuit that outputs a logic 0 when an input video signal is below a certain amplitude level and a logic 1 when it is above a certain amplitude level, and the sampling is performed using a sampling clock as data and the binary signal as a clock. 0 signal sampling circuit for sampling 0 signal of clock and 1
A 1-signal sampling circuit for sampling a signal, and 0
A counter that counts the output frequency of the signal sampling circuit and the output frequency of the one-signal sampling circuit, a comparator that compares the count values of the counters, an original clock signal oscillation circuit, and a plurality of original clock signals. A delay circuit that outputs in different phases and a selector that selects the output of the delay circuit by the comparator and outputs the sampling clock signal are provided, and the output of the selector is the difference between the 0 signal sampling frequency and the 1 signal sampling frequency. 2. The sampling clock automatic adjustment circuit according to claim 1, wherein the output of the delay circuit is selected so as to be substantially zero.
【請求項3】 入力映像信号を一定の振幅レベル以下で
論理0,一定の振幅レベル以上で論理1を出力する2値
信号化回路と、サンプリングクロックをデータとし前記
2値信号をクロックとして前記サンプリングクロックの
0信号をサンプリングする0信号サンプリグ回路及び1
信号をサンプリグする1信号サンプリグ回路と、前記0
信号サンプリグ回路の出力度数及び1信号サンプリグ回
路の出力度数とを入力して、その各々の度数の差に対応
するセレクタ選択信号を出力するCPUと、原クロック
信号発振回路と、原クロック信号を複数個の異なる位相
で出力する遅延回路と、その遅延回路の出力を前記CP
Uの出力で選択し前記サンプリングクロック信号を出力
するセレクタとを備え、前記セレクタの出力を0信号サ
ンプリグ度数と1信号サンプリグ度数の差がほぼ零とな
るように前記遅延回路の出力を選択するようにしてなる
請求項1記載のサンプリングクロック自動調整回路。
3. A binary signal conversion circuit that outputs a logical 0 when an input video signal is below a certain amplitude level and a logical 1 when it is above a certain amplitude level, and the sampling is performed using a sampling clock as data and the binary signal as a clock. 0 signal sampling circuit for sampling 0 signal of clock and 1
A 1-signal sampling circuit for sampling a signal, and 0
A plurality of CPUs for inputting the output frequency of the signal sampling circuit and the output frequency of the one-signal sampling circuit and outputting a selector selection signal corresponding to the difference between the respective frequencies, an original clock signal oscillation circuit, and a plurality of original clock signals. The delay circuit for outputting the different phases and the output of the delay circuit for the CP
A selector that selects the output of U and outputs the sampling clock signal, and selects the output of the delay circuit so that the difference between the 0 signal sampling frequency and the 1 signal sampling frequency becomes substantially zero. The sampling clock automatic adjusting circuit according to claim 1.
【請求項4】 入力映像信号を一定の振幅レベル以下で
論理0,一定レベル以上で論理1を出力する2値信号化
回路と、調整用クロックをデータとし前記2値信号をク
ロックとして前記調整用クロックの0信号をサンプリン
グする0信号サンプリグ回路及び1信号をサンプリグす
る1信号サンプリグ回路と、前記0信号サンプリグ回路
の出力及び1信号サンプリグ回路の出力とを入力して、
その各々の度数の差に対応する2種類のセレクタ選択信
号を出力するCPUと、原クロック信号発振回路と、原
クロック信号を複数個の異なる位相で出力する遅延回路
と、その遅延回路の出力を前記CPUの一つの出力で選
択し前記調整用クロック信号を出力する第一のセレクタ
と、前記CPUの他の出力で選択しサンプリングクロッ
クを出力する第二のセレクタとを備え、前記セレクタの
選択値を変化させたとき、0信号サンプリグ度数と1信
号サンプリグ度数の差が零を示す時には、その選択値を
第二のセレクタの選択値として設定し、前記0信号サン
プリグ回路の出力度数と1信号サンプリグ回路の出力の
度数の差がランダムに変化するときは、得られた結果で
第二のセレクタの設定値を変える事のないようにしてな
る請求項1記載のサンプリングクロック自動調整回路。
4. A binary signal conversion circuit which outputs a logic 0 when an input video signal is below a certain amplitude level and a logic 1 when it is above a certain level, and the adjustment clock is data and the binary signal is a clock. The 0 signal sampling circuit for sampling the 0 signal of the clock, the 1 signal sampling circuit for sampling the 1 signal, the output of the 0 signal sampling circuit and the output of the 1 signal sampling circuit are input,
A CPU that outputs two types of selector selection signals corresponding to the respective frequency differences, an original clock signal oscillation circuit, a delay circuit that outputs the original clock signal in a plurality of different phases, and an output of the delay circuit. The selection value of the selector includes a first selector that selects one output of the CPU and outputs the adjustment clock signal, and a second selector that selects the other output of the CPU and outputs a sampling clock. When the difference between the 0-signal sampling frequency and the 1-signal sampling frequency is zero, the selected value is set as the selection value of the second selector, and the output frequency of the 0-signal sampling circuit and the 1-signal sampling signal are set. 2. The setting value of the second selector is not changed by the obtained result when the difference in the frequency of the output of the circuit randomly changes. Pump ring clock automatic adjustment circuit.
【請求項5】 位相及び周波数が制御できるクロック信
号発生手段として、電圧制御発振器を使用してなる請求
項1記載のサンプリングクロック自動調整回路。
5. The sampling clock automatic adjusting circuit according to claim 1, wherein a voltage controlled oscillator is used as the clock signal generating means capable of controlling the phase and frequency.
JP15833994A 1994-07-11 1994-07-11 Method and circuit for automatically adjusting sampling clock Expired - Fee Related JP3389955B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15833994A JP3389955B2 (en) 1994-07-11 1994-07-11 Method and circuit for automatically adjusting sampling clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15833994A JP3389955B2 (en) 1994-07-11 1994-07-11 Method and circuit for automatically adjusting sampling clock

Publications (2)

Publication Number Publication Date
JPH0822276A true JPH0822276A (en) 1996-01-23
JP3389955B2 JP3389955B2 (en) 2003-03-24

Family

ID=15669482

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15833994A Expired - Fee Related JP3389955B2 (en) 1994-07-11 1994-07-11 Method and circuit for automatically adjusting sampling clock

Country Status (1)

Country Link
JP (1) JP3389955B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0880135A1 (en) * 1997-05-23 1998-11-25 Sharp Kabushiki Kaisha Digital recording/reproduction apparatus
WO1999042989A1 (en) * 1998-02-19 1999-08-26 Matsushita Electric Industrial Co., Ltd. Video signal processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0880135A1 (en) * 1997-05-23 1998-11-25 Sharp Kabushiki Kaisha Digital recording/reproduction apparatus
WO1999042989A1 (en) * 1998-02-19 1999-08-26 Matsushita Electric Industrial Co., Ltd. Video signal processor
US6462726B1 (en) 1998-02-19 2002-10-08 Matsushita Electric Industrial Co., Ltd. Video signal processor

Also Published As

Publication number Publication date
JP3389955B2 (en) 2003-03-24

Similar Documents

Publication Publication Date Title
US5233316A (en) Digital voltage controlled oscillator having a ring oscillator with selectable output taps
JP2944607B2 (en) Digital PLL circuit and clock generation method
JP3324401B2 (en) PLL circuit
US6768385B2 (en) Intelligent phase lock loop
US5896428A (en) Digital counter and digital phase locked loop circuit using same
US6621480B1 (en) Phase adjuster, phase adjusting method and display device
US6449017B1 (en) RGB self-alignment and intelligent clock recovery
JP3389955B2 (en) Method and circuit for automatically adjusting sampling clock
US6844785B2 (en) Phase-lock loop for preventing frequency drift and jitter and method thereof
JP3523362B2 (en) Clock circuit and processor using the same
US5168360A (en) Sampling clock generating circuit for a-d conversion of a variety of video signals
US6133900A (en) OSD device capable of maintaining the size of displayed OSD data at a constant in a multisync monitor regardless of a frequency of a horizontal synchronous signal
JPH10229504A (en) Synchronization processing circuit
US6597403B1 (en) System for generating horizontal synchronizing signal compatible with multi-scan
JP3315277B2 (en) Image display device
JPH11219157A (en) Sampling clock control device
JP2994307B2 (en) Variable period signal generation circuit
JP2000078433A (en) Pll circuit, ad conversion circuit using the same and video signal processor
KR950007610B1 (en) Double speed deflection-sync signal system of television
JPH11194738A (en) Sampling clock adjusting circuit for video display device
JP3353372B2 (en) Liquid crystal display
CN1211929C (en) Low power consumption high frequency time pulse generator
JPH08102660A (en) Signal modulation circuit
JPH1115428A (en) Horizontal display width adjustment circuit
JP2001292058A (en) Clock frequency divider

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090117

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090117

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Free format text: PAYMENT UNTIL: 20090117

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090117

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100117

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110117

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120117

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees