JPH11219157A - Sampling clock control device - Google Patents

Sampling clock control device

Info

Publication number
JPH11219157A
JPH11219157A JP10022882A JP2288298A JPH11219157A JP H11219157 A JPH11219157 A JP H11219157A JP 10022882 A JP10022882 A JP 10022882A JP 2288298 A JP2288298 A JP 2288298A JP H11219157 A JPH11219157 A JP H11219157A
Authority
JP
Japan
Prior art keywords
signal
minimum value
circuit
maximum value
thinning
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.)
Pending
Application number
JP10022882A
Other languages
Japanese (ja)
Inventor
Toshiyuki Yamauchi
利之 山内
Koji Tachikawa
浩司 立川
Koichi Yamazaki
耕一 山▲崎▼
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP10022882A priority Critical patent/JPH11219157A/en
Publication of JPH11219157A publication Critical patent/JPH11219157A/en
Pending legal-status Critical Current

Links

Landscapes

  • Liquid Crystal Display Device Control (AREA)
  • Synchronizing For Television (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To automatically generate a sampling clock having a period equal to the frequency of an input adjustment pattern signal, and optimally control a clock phase, regarding a device for showing a video signal. SOLUTION: Adjustment pattern signals having an adjustment pattern for a two-picture element period, are sampled through an A/D converter 1 and the number of pulses having maximum and minimum values is counted, regarding signals thinned out via a thinning-out means 2. Also, a dividing ratio is changed and roughly adjusted with a size error detection means 3. Then, a size and a phase are fine adjusted with a maximum and minimum value detection and hold means 4 for detecting and holding the maximum and minimum values of thinned-out signals.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、サンプリングクロ
ック制御装置に関するもので、特に入力される映像信号
の画素数に応じたサンプリングクロックを再生する手段
に特徴を有する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sampling clock control device, and more particularly to a means for reproducing a sampling clock corresponding to the number of pixels of an input video signal.

【0002】[0002]

【従来の技術】従来のドットクロック信号の周波数や、
位相を自動で調整される装置においては、特に入力信号
が画素に基づいて構成され、離散的な情報をもつ場合に
は、特開平5−66752号公報に示すように入力映像
信号からドットクロック信号(サンプリングクロック信
号)を、水平同期信号から水平走査周期を検出し、その
両者の比からPLL回路の分周比を決定してドットクロ
ック信号を再生していた。
2. Description of the Related Art The frequency of a conventional dot clock signal,
In a device that automatically adjusts the phase, especially when the input signal is configured based on pixels and has discrete information, as shown in JP-A-5-66752, a dot clock signal For the (sampling clock signal), the dot clock signal is reproduced by detecting the horizontal scanning cycle from the horizontal synchronizing signal and determining the frequency division ratio of the PLL circuit from the ratio between the two.

【0003】従来のドットクロック再生回路について、
図11を用いて説明する。図11において、映像信号か
らエッジ検出部11により信号の変化点に関するエッジ
情報を検出し、周波数測定回路12で前記エッジ情報か
ら周波数を測定する。たとえば、基準パルスを利用し
て、前記エッジ情報に含まれる変化点の間隔をカウント
する方法をとる構成が一般的である。水平同期信号につ
いても周波数測定回路13により前記同期信号の周波数
を測定し、演算部14で前記測定回路12および13で
測定された周波数の比、つまり、てい倍数を求め、この
値をPLL回路15の分周比として設定することで、自
動的に入力信号の画素数にあったドットクロック信号を
発生させていた。
[0003] With respect to a conventional dot clock reproducing circuit,
This will be described with reference to FIG. In FIG. 11, an edge detector 11 detects edge information relating to a change point of a signal from a video signal, and a frequency measuring circuit 12 measures a frequency from the edge information. For example, a configuration is generally employed in which a reference pulse is used to count the intervals between transition points included in the edge information. As for the horizontal synchronization signal, the frequency of the synchronization signal is measured by the frequency measurement circuit 13, and the ratio of the frequencies measured by the measurement circuits 12 and 13, that is, the multiplier, is calculated by the calculation unit 14. , The dot clock signal corresponding to the number of pixels of the input signal is automatically generated.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の構成では、入力映像信号のエッジを検出し、基準パ
ルスを用いて周波数を測定して周期を測定する際に、エ
ッジ検出出力の変化点の間隔をカウントする方法をとる
と、基準パルスの周波数には、入力映像信号に含まれる
最高周波数以上のものが必要になり、前記周波数測定部
が前記最高周波数で動作する必要があり、入力映像信号
の最高周波数が高くなれば、それに応じた基準パルスの
高周波数化が必要となるという問題があった。
However, in the above conventional configuration, when the edge of the input video signal is detected, the frequency is measured using the reference pulse, and the period is measured, the change point of the edge detection output is determined. If the method of counting the intervals is adopted, the frequency of the reference pulse needs to be higher than the highest frequency included in the input video signal, and the frequency measurement unit needs to operate at the highest frequency. If the maximum frequency of the reference pulse becomes higher, there is a problem that the frequency of the reference pulse must be increased accordingly.

【0005】[0005]

【課題を解決するための手段】前記課題を解決するため
に本発明のサンプリングクロック制御装置は、2画素周
期の調整パターンを有する入力映像信号をその水平同期
信号にロックしたVCO出力から分周して得られるサン
プリングクロックでA/D変換する手段と、前記サンプ
リングクロックの水平同期信号に対する位相を変化する
遅延回路と、前記A/D変換された調整パターン部の映
像信号を間引きする間引き手段と、その間引き信号の所
定の期間内の最大値パルスと最小値パルスの数をカウン
トするサイズ誤差検出手段と、前記間引き信号の最大値
と最小値を検出する最大値最小値検出保持手段とを有
し、前記間引き信号の最大値パルスと最小値パルスの数
のカウンタ値が所定の数になるように前記VCO出力の
分周比を粗調整し、その状態より前記間引き回路からの
間引き信号の前記最大値と最小値のレベル差が零となる
ように前記VCOの分周比を微調整し、次に前記サンプ
リングクロックの位相を前記遅延回路により変化して前
記最大値最小値保持回路に保持される最大値と最小値の
レベル差を最大にすることを特徴としたものである。
In order to solve the above-mentioned problems, a sampling clock control device according to the present invention divides an input video signal having an adjustment pattern of a two-pixel cycle from a VCO output locked to a horizontal synchronizing signal. Means for performing A / D conversion with the sampling clock obtained by the above, a delay circuit for changing the phase of the sampling clock with respect to the horizontal synchronization signal, and thinning means for thinning out the A / D converted video signal of the adjustment pattern section; Size error detection means for counting the number of maximum value pulses and minimum value pulses within a predetermined period of the thinning signal, and maximum value and minimum value detection holding means for detecting the maximum value and the minimum value of the thinning signal. Coarsely adjusting the frequency division ratio of the VCO output so that the counter value of the number of maximum value pulses and minimum value pulses of the thinning signal becomes a predetermined number; Finely adjust the frequency division ratio of the VCO so that the level difference between the maximum value and the minimum value of the thinning signal from the thinning circuit becomes zero, and then change the phase of the sampling clock by the delay circuit. Then, the level difference between the maximum value and the minimum value held in the maximum value / minimum value holding circuit is maximized.

【0006】本発明によれば、水平同期信号に対する映
像信号開始位置の最適化及び入力映像信号の画素数と最
適サンプリング位相を有するサンプリングクロックを自
動的に再生可能であり、更に前記サンプリング部より後
の回路の動作周波数を半分以下にすることができる。
According to the present invention, it is possible to optimize a video signal start position with respect to a horizontal synchronizing signal and automatically reproduce a sampling clock having the number of pixels of an input video signal and an optimal sampling phase. The operating frequency of the circuit can be reduced to half or less.

【0007】[0007]

【発明の実施の形態】(実施の形態1)以下に本発明の
請求項1に記載された発明の実施の形態について図1か
ら図10を用いて説明する。
(Embodiment 1) An embodiment of the invention described in claim 1 of the present invention will be described below with reference to FIGS.

【0008】図1において、2画素周期のパターンを有
する所定の調整パターン信号を用いた例を説明する。す
なわち、A/Dコンバータ1の入力映像信号は、図2に
示すように1水平同期信号中の無信号期間が4画素で、
2画素周期パターンの映像信号部が16画素の総画素が
20画素である調整パターン信号を用いる場合を説明す
る。A/Dコンバータ1の出力は、間引き回路2及び位
置誤差検出回路5に供給される。
Referring to FIG. 1, an example using a predetermined adjustment pattern signal having a pattern of two pixel periods will be described. That is, as shown in FIG. 2, the input video signal of the A / D converter 1 has four pixels in a no-signal period in one horizontal synchronization signal.
A case will be described in which a video signal portion of a 2-pixel periodic pattern uses an adjustment pattern signal in which the total number of pixels is 16 and the total number of pixels is 20. The output of the A / D converter 1 is supplied to a thinning circuit 2 and a position error detection circuit 5.

【0009】ここで、図2の入力調整パターン信号の振
幅、A/Dコンバータの量子化出力レベルの最大値及び
最小値は既知であり、また、水平期間中におけるサンプ
リングクロックの初期位相は、水平同期信号の立下りエ
ッジ以降とする。そして、2画素周期の入力調整パター
ン信号は垂直期間中の所定の1水平期間に挿入される。
Here, the amplitude of the input adjustment pattern signal shown in FIG. 2 and the maximum and minimum values of the quantized output level of the A / D converter are known, and the initial phase of the sampling clock during the horizontal period is horizontal. It is after the falling edge of the synchronization signal. Then, the input adjustment pattern signal of a two-pixel cycle is inserted in one predetermined horizontal period in the vertical period.

【0010】間引き回路2は、サンプリングクロック単
位で入力される映像信号のデータを間引いて、データの
繰り返し周波数を落とす。また、サンプリングクロック
単位で間引く位置を変化させることで、映像信号波形の
1周期分(図2の領域d)に対する位相が変化する。次
に間引き回路2でサンプリングクロックに対して繰り返
し周波数の落とされた映像信号の間引きデータは、サイ
ズ誤差検出回路3及び最大値最小値検出保持回路4に供
給される。
[0010] The thinning circuit 2 thins out the data of the video signal input in units of sampling clocks to reduce the repetition frequency of the data. Further, by changing the position to be decimated in sampling clock units, the phase with respect to one cycle of the video signal waveform (region d in FIG. 2) changes. Next, the decimated data of the video signal whose repetition frequency is reduced with respect to the sampling clock by the decimating circuit 2 is supplied to a size error detecting circuit 3 and a maximum value minimum value detecting and holding circuit 4.

【0011】サイズ誤差検出回路3の内部ブロック構成
を図3に示す。図3において、1水平同期期間中(図2
の領域a+b+c)の量子化された間引き回路2の出力
に対して最大値検出回路31及び最小値検出回路32で
最大値パルス、最小値パルスを検出する。最大値パル
ス、最小値パルスはそれぞれ2値信号のHIGHパルス
信号として演算部33に出力される。演算部33、カウ
ンタ34ではHIGHパルス信号で表される1水平同期
期間中の最大値パルスの個数と最小値パルスの個数を加
算し、PLL回路8に設定される分周比αと水平同期信
号1周期分に当たる期間の画素数の差の検出を行ってい
る。
FIG. 3 shows an internal block configuration of the size error detection circuit 3. As shown in FIG. In FIG. 3, during one horizontal synchronization period (FIG.
A maximum value pulse and a minimum value pulse are detected by the maximum value detection circuit 31 and the minimum value detection circuit 32 from the quantized output of the thinning circuit 2 in the region a + b + c). Each of the maximum value pulse and the minimum value pulse is output to the calculation unit 33 as a HIGH pulse signal of a binary signal. The arithmetic unit 33 and the counter 34 add the number of maximum value pulses and the number of minimum value pulses in one horizontal synchronization period represented by a HIGH pulse signal, and add the frequency division ratio α set in the PLL circuit 8 to the horizontal synchronization signal. The difference in the number of pixels in a period corresponding to one cycle is detected.

【0012】図2における水平同期期間a+b+cに対
して映像信号(図2の領域b)は約80%の領域を占め
ており、A/Dコンバータ1から出力される1水平同期
期間中の映像信号も約80%の領域となる。同じように
1水平同期期間における間引き回路2の出力も1水平同
期信号中の映像信号は約80%である。調整パターンに
図2のような単位情報量(1画素)を基準に構成される
図2の映像表示領域b(領域dのような2画素周期のパ
ターンから成る映像信号)の信号パターンを有する映像
信号を用いたときPLL回路8に設定される分周比αと
水平同期信号1周期分(図2の領域a+b+c)に当た
る期間の画素数の差が大きい場合は、ほとんど水平同期
期間のサンプリング初期位相に関係なく間引き回路2の
出力には調整パターンを構成する2階調信号の最大値、
最小値が含まれることとなるため、サイズ誤差検出回路
3からの出力信号に基づいてPLL回路8に設定される
分周比αと水平同期信号1周期分(図2の領域a+b+
c)に当たる期間の画素数の差が出力されることにな
る。
The video signal (region b in FIG. 2) occupies about 80% of the horizontal synchronization period a + b + c in FIG. 2, and the video signal output from the A / D converter 1 during one horizontal synchronization period. Is also about 80%. Similarly, the output of the thinning circuit 2 in one horizontal synchronization period is about 80% of the video signal in one horizontal synchronization signal. An image having a signal pattern of a video display area b (a video signal having a pattern of a two-pixel cycle such as an area d) in FIG. 2 configured based on the unit information amount (one pixel) as shown in FIG. When the difference between the frequency division ratio α set in the PLL circuit 8 and the number of pixels in a period corresponding to one cycle of the horizontal synchronization signal (region a + b + c in FIG. 2) is large when the signal is used, the sampling initial phase of the horizontal synchronization period is almost Irrespective of the maximum value of the two gradation signals forming the adjustment pattern,
Since the minimum value is included, the frequency division ratio α set in the PLL circuit 8 based on the output signal from the size error detection circuit 3 and one period of the horizontal synchronization signal (region a + b + in FIG. 2)
The difference in the number of pixels in the period corresponding to c) is output.

【0013】PLL回路8に設定されている分周比αと
水平同期信号1周期分(図2の領域a+b+c)に当た
る期間の画素数の差が大きい場合は、サイズ誤差検出回
路3で粗調整を行うもので、PLL回路8に設定されて
いる分周比αの方が水平同期信号1周期分(図2の領域
a+b+c)に当たる期間の画素数よりも大きい場合
は、分周比αの値を増加させるとサイズ誤差検出回路3
の出力は増加し、分周比αの値を減少するとサイズ誤差
検出回路3の出力は減少していく。また、PLL回路8
に設定されている分周比αの方が水平同期信号1周期分
(図2の領域a+b+c)に当たる期間の画素数よりも
小さい場合は、分周比αの値を増加させるとサイズ誤差
検出回路3の出力は減少し、分周比αの値を減少すると
サイズ誤差検出回路3の出力は増加していく。このこと
よりサイズ誤差検出回路3のカウンタ34のカウント値
が0になるとサイズ誤差が0になる。なお、サイズ誤差
を2画素周期パターンの場合、その1周期分近く(2あ
るいは3以内)に設定して粗調整を行って次の最大値最
小値検出保持装置で微調整を行っても同様の調整結果が
得られる。
If the difference between the frequency division ratio α set in the PLL circuit 8 and the number of pixels in a period corresponding to one cycle of the horizontal synchronizing signal (region a + b + c in FIG. 2) is large, coarse adjustment is performed by the size error detection circuit 3. If the frequency division ratio α set in the PLL circuit 8 is larger than the number of pixels in a period corresponding to one cycle of the horizontal synchronizing signal (the area a + b + c in FIG. 2), the value of the frequency division ratio α is changed. Increasing the size error detection circuit 3
Increases, and when the value of the frequency division ratio α decreases, the output of the size error detection circuit 3 decreases. The PLL circuit 8
Is smaller than the number of pixels in a period corresponding to one cycle of the horizontal synchronizing signal (the area a + b + c in FIG. 2), increasing the value of the frequency division ratio α increases the size error detection circuit. The output of the size error detection circuit 3 increases when the value of the frequency division ratio α decreases. Thus, when the count value of the counter 34 of the size error detection circuit 3 becomes 0, the size error becomes 0. In the case where the size error is a two-pixel cycle pattern, the same applies even if the coarse adjustment is performed by setting the size error to be close to one cycle (within 2 or 3) and the fine adjustment is performed by the next maximum / minimum value detection and holding device. An adjustment result is obtained.

【0014】最大値最小値検出保持回路4は、サイズ誤
差検出回路3の出力が0付近となった後のサンプリング
クロックの位相及びサイズ誤差の微調整を行う。最大値
最小値検出保持回路4の出力データは、処理画素毎に、
現在の画素値とそれまでの最大値とを比較し、大きい方
の値を最大値として保存し、また処理画素毎に、現在の
画素値とそれまでの最小値とを比較し、小さい方の値を
最小値として保存するという動作を水平同期信号1周期
分に当たる期間(図2の領域a+b+c)に対して行い
映像信号の最大値及び最小値の検出を行う。最大値最小
値検出保持回路4で検出された水平同期信号1周期分の
期間中の映像信号の最大値及び最小値は、セレクタ6を
介して判断部7に供給される。
The maximum / minimum value detection and holding circuit 4 finely adjusts the phase of the sampling clock and the size error after the output of the size error detection circuit 3 becomes close to zero. The output data of the maximum value minimum value detection and holding circuit 4 is, for each processing pixel,
Compare the current pixel value with the previous maximum value, save the larger value as the maximum value, and compare the current pixel value with the previous minimum value for each processed pixel, The operation of storing the value as the minimum value is performed for a period corresponding to one cycle of the horizontal synchronizing signal (region a + b + c in FIG. 2), and the maximum value and the minimum value of the video signal are detected. The maximum value and the minimum value of the video signal during one period of the horizontal synchronization signal detected by the maximum value minimum value detection holding circuit 4 are supplied to the determination unit 7 via the selector 6.

【0015】位置誤差検出回路5は、水平同期信号に対
するA/Dコンバータ1の映像信号の先頭位置をカウン
トし(図4の領域δ)表示デバイス(図示せず)におけ
る表示開始位置を表す信号を発生している。これは、2
画素周期パターンを用いてサンプリングクロックのサイ
ズと位相を調整した後、LCD等の表示デバイスへの適
正な表示開始位置を決定するため、前記適正開始位置を
示す予め定められたδを測定して実際の表示映像信号の
転送を開始するものである。
The position error detection circuit 5 counts the start position of the video signal of the A / D converter 1 with respect to the horizontal synchronizing signal (region δ in FIG. 4) and outputs a signal representing the display start position on a display device (not shown). It has occurred. This is 2
After adjusting the size and phase of the sampling clock using the pixel period pattern, in order to determine an appropriate display start position on a display device such as an LCD, a predetermined δ indicating the appropriate start position is measured and measured. The transfer of the display video signal is started.

【0016】図4はサンプリングクロック制御時に用い
られるパソコンなどの出力信号に代表される所定の映像
信号と水平同期信号とA/Dコンバータ1の出力及び表
示デバイスの表示開始位置を表す信号(A,B,C)を
示している。信号Aは表示デバイスにおける映像信号の
表示開始位置が無信号期間から始まっており元の映像の
右端が表示デバイスに表示されないことになる。また信
号Cは表示デバイスにおける映像信号の表示開始位置が
A/Dコンバータ出力の映像信号の途中から始まってい
るため元の映像の左端が表示デバイスに表示されないこ
とになる。信号BはA/Dコンバータの映像信号開始位
置と表示デバイスの表示開始位置が一致している場合で
あり入力映像信号のサンプリングデータは表示デバイス
に最適に表示されることになる。すなわち、映像信号の
先頭位置であるδを位置誤差検出回路5内のカウンタ
(図示せず)で所定のクロック(図示せず)をカウント
して最適な表示位置を決定している。
FIG. 4 shows a predetermined video signal typified by an output signal from a personal computer or the like used for sampling clock control, a horizontal synchronizing signal, an output of the A / D converter 1 and signals (A, B, C). In the signal A, the display start position of the video signal on the display device starts from the no-signal period, and the right end of the original video is not displayed on the display device. In the signal C, since the display start position of the video signal on the display device starts in the middle of the video signal output from the A / D converter, the left end of the original video is not displayed on the display device. The signal B is a case where the video signal start position of the A / D converter matches the display start position of the display device, and the sampling data of the input video signal is optimally displayed on the display device. That is, δ, which is the head position of the video signal, is counted by a counter (not shown) in the position error detection circuit 5 for a predetermined clock (not shown) to determine an optimum display position.

【0017】セレクタ6はサイズ誤差検出回路3、最大
値最小値検出保持回路4、位置誤差検出回路5の出力の
中から判断部7が選択し、各出力を選択的に切り換えて
いる。
The selector 6 selects the output from the size error detection circuit 3, the maximum value minimum value detection holding circuit 4, and the output from the position error detection circuit 5, and selectively switches each output.

【0018】判断部7は、マイコン等で構成され、PL
L回路8への分周比と位相変化量を各々変化させた際に
サイズ誤差検出回路3、最大値最小値検出保持回路4で
得られるサイズ誤差と最大値と最小値の差を用いて、P
LL回路8に設定される分周比αが、入力映像信号の水
平同期信号1周期分に当たる期間の総画素数と一致して
いるかどうか及びサンプリングクロックの位相が最適か
どうかの判断を行っている。
The judgment section 7 is constituted by a microcomputer or the like,
By using the size error and the difference between the maximum value and the minimum value obtained by the size error detection circuit 3 and the maximum value minimum value detection holding circuit 4 when the frequency division ratio and the phase change amount to the L circuit 8 are respectively changed, P
It is determined whether the frequency division ratio α set in the LL circuit 8 matches the total number of pixels in a period corresponding to one cycle of the horizontal synchronization signal of the input video signal and whether the phase of the sampling clock is optimal. .

【0019】PLL回路8は、分周器82と位相比較器
83とLPF84とVCO85及び遅延回路81等で構
成され、判断部7によって設定された分周比αに基づい
た周期のサンプリングクロックを発生しA/Dコンバー
タ1に供給している。またサンプリングクロックは遅延
回路81によって判断部7から設定される位相変化量に
より遅延され位相の異なるサンプリングクロックを出力
する。前記遅延量により入力映像信号の水平同期信号1
周期分に当たる期間の総画素数と前記分周比が一致した
場合の前記サンプリングクロックの変化点は、図2の映
像表示領域bの全画素に対して同じ位置となる。つまり
一定の遅延量を持たせることで映像信号の画素に対して
一定の位相をとることになりその遅延量を変化させるこ
とで前記サンプリングされる映像信号パターンの位相が
変化することになる。遅延回路81は、分周器82の出
力線86あるいは位相比較器83への入力線87の場所
に設置したり、分周器82の中に内蔵させることでも実
現可能である。
The PLL circuit 8 includes a frequency divider 82, a phase comparator 83, an LPF 84, a VCO 85, a delay circuit 81, and the like, and generates a sampling clock having a period based on the frequency division ratio α set by the determination unit 7. And supplied to the A / D converter 1. The sampling clock is delayed by the delay circuit 81 by the amount of phase change set by the determination unit 7 and outputs sampling clocks having different phases. The horizontal synchronization signal 1 of the input video signal is
The change point of the sampling clock when the total number of pixels in the period corresponding to the cycle matches the frequency division ratio is the same position for all the pixels in the video display area b in FIG. In other words, by giving a certain amount of delay, a certain phase is taken with respect to the pixel of the video signal, and by changing the amount of delay, the phase of the sampled video signal pattern changes. The delay circuit 81 can be realized by being installed at the position of the output line 86 of the frequency divider 82 or the input line 87 to the phase comparator 83, or by being built in the frequency divider 82.

【0020】次に、図1のシステムに、単位情報量(1
画素)を基準に構成される図2の映像表示領域b(領域
dのような2画素周期のパターンから成る映像信号)の
信号パターンを有する映像信号が入力された場合につい
て説明する。
Next, the system shown in FIG.
A case will be described in which a video signal having a signal pattern of a video display area b (a video signal having a two-pixel cycle pattern like the area d) shown in FIG.

【0021】次に、サンプリングクロック数が1水平期
間内の画素数より大きくサンプリングクロックの位相が
サイズ誤差検出に最適な場合の動作を図5を用いて説明
する。図5(a)は、水平同期信号と2画素周期のパタ
ーンの入力映像信号とサンプリングクロックのサンプリ
ング点を示すもので、図5(b)は、図1のA/Dコン
バータ1に(a)に示した2画素周期のパターンから成
る映像信号を入力した時のA/Dコンバータ1の出力波
形である。
Next, the operation in the case where the number of sampling clocks is larger than the number of pixels in one horizontal period and the phase of the sampling clock is optimal for size error detection will be described with reference to FIG. FIG. 5A shows a horizontal synchronization signal, an input video signal having a pattern of two pixel periods, and sampling points of a sampling clock, and FIG. 5B shows the A / D converter 1 shown in FIG. 7 shows an output waveform of the A / D converter 1 when a video signal having a pattern of a two-pixel cycle shown in FIG.

【0022】図5(a)では、分周比α=26とし、水
平同期信号1周期分に当たる期間(図2の領域a+b+
c)の画素数20との差は6としている。
In FIG. 5A, the frequency division ratio α is set to 26, and a period corresponding to one cycle of the horizontal synchronizing signal (region a + b + in FIG. 2)
The difference between c) and the number of pixels 20 is set to 6.

【0023】図5(c)は、前記A/Dコンバータ1の
出力を間引き回路2に入力し、A/Dコンバータ1でサ
ンプルホールドされた図5(b)の波形を矢印にふられ
た数字1、3、5、‥‥‥の位置及び順番で間引いたも
のである。
FIG. 5 (c) shows the waveform of FIG. 5 (b) sampled and held by the A / D converter 1 by inputting the output of the A / D converter 1 to the thinning circuit 2. 1, 3, 5, and .DELTA.

【0024】図5(d)は、図3の最大値検出回路31
に図5(c)の間引き回路2の出力を入力し、最大値検
出回路31において予め既知の最大値と比較して出力さ
れる最大値パルスであり、図5(e)は、図3の最小値
検出回路32に図5(c)の間引き回路2の出力を入力
し、最小値検出回路32において最大値パルス検出後の
最小値(この場合は零レベル)を検出して出力される最
小値パルスを示すものである。図5の場合、最大値パル
スと最小値パルスの数の加算値は6となり、PLL回路
8に設定される分周比αと1水平期間内の画素数との差
の絶対値Zは26−20=6となる。
FIG. 5D shows the maximum value detection circuit 31 of FIG.
5 (c) is a maximum value pulse which is output by comparing with a previously known maximum value in the maximum value detection circuit 31. FIG. 5 (e) shows the maximum value pulse of FIG. The output of the thinning circuit 2 in FIG. 5C is input to the minimum value detection circuit 32, and the minimum value (zero level in this case) after detection of the maximum value pulse is detected by the minimum value detection circuit 32, and the minimum value is output. It shows a value pulse. In the case of FIG. 5, the sum of the number of maximum value pulses and the number of minimum value pulses is 6, and the absolute value Z of the difference between the frequency division ratio α set in the PLL circuit 8 and the number of pixels in one horizontal period is 26− 20 = 6.

【0025】図6は、分周比αは20で、図5の場合と
はサンプリングクロックの初期位相が異なる場合を示す
ものである。図6(a)は入力映像信号とサンプリング
クロックのサンプリング点を、図6(b)は、そのA/
Dコンバータ1の出力波形である。図6(c)は、図6
(b)の矢印にふられた数字1、3、5、・・・・の位
置及び順番で、間引きを行った場合の間引き回路2の出
力である。
FIG. 6 shows a case where the frequency division ratio α is 20, and the initial phase of the sampling clock is different from that of FIG. FIG. 6A shows the sampling points of the input video signal and the sampling clock, and FIG.
4 is an output waveform of the D converter 1. FIG.
Are the outputs of the thinning circuit 2 when thinning is performed in the positions and in the order of the numbers 1, 3, 5,...

【0026】図6(d)は、図3の最大値検出回路31
に図6(c)の間引き回路2の出力を入力し、最大値検
出回路31において最大値と判断した最大値パルス信号
を示し、図6(e)は、図3の最大値検出回路31に図
6(c)の間引き回路2の出力を入力し、最小値検出回
路31において最小値と判断した最小値パルス信号を示
すものである。最小値パルスは図5の時に説明したよう
に最大値パルス出力後の最小値(零レベル)を検出して
出力され、最大値パルスと最小値パルスの数の加算値は
4となる。
FIG. 6D shows the maximum value detection circuit 31 of FIG.
6 (c) shows the input of the output of the decimation circuit 2 and shows the maximum value pulse signal determined to be the maximum value by the maximum value detection circuit 31. FIG. 6 (e) shows the maximum value detection signal of FIG. 6C shows a minimum value pulse signal which is input from the output of the thinning circuit 2 and is determined to be the minimum value by the minimum value detection circuit 31. As described with reference to FIG. 5, the minimum value pulse is output after detecting the minimum value (zero level) after the output of the maximum value pulse, and the added value of the number of the maximum value pulse and the minimum value pulse becomes 4.

【0027】ここで、図6(d)、(e)の場合は、水
平同期信号1周期(図2の領域a+b+c)中のサイズ
誤差検出回路3の出力は、PLL回路8に設定されてい
る分周比α=26と水平同期信号1周期分に当たる期間
(図2の領域a+b+c)の画素数20の差の絶対値に
はならず4が出力される。この場合はサイズ誤差を正確
に検出できないが、1水平同期期間中のサンプリングク
ロックの位相は変えずに、PLL回路8に設定されてい
る分周比αを変化させ水平同期信号1周期分(図2の領
域a+b+c)に当たる期間の画素数の差を変化させる
と、PLL回路8に設定されている分周比αの方が水平
同期信号1周期分(図2の領域a+b+c)に当たる期
間の画素数よりも大きい場合であるから、分周比αの値
を減少するとサイズ誤差検出回路3の出力は減少してい
き図3のカウンタ34のカウント値は0になる。
Here, in the case of FIGS. 6D and 6E, the output of the size error detection circuit 3 during one cycle of the horizontal synchronizing signal (the area a + b + c in FIG. 2) is set in the PLL circuit 8. The absolute value of the difference between the number of pixels 20 in the period (area a + b + c in FIG. 2) corresponding to the division ratio α = 26 and one cycle of the horizontal synchronizing signal is output as 4 instead. In this case, the size error cannot be detected accurately. However, the frequency division ratio α set in the PLL circuit 8 is changed without changing the phase of the sampling clock during one horizontal synchronization period, and one cycle of the horizontal synchronization signal (FIG. When the difference in the number of pixels in the period corresponding to the second region a + b + c) is changed, the number of pixels in the period corresponding to one period of the horizontal synchronization signal (region a + b + c in FIG. 2) is equal to the frequency division ratio α set in the PLL circuit 8. Therefore, when the value of the frequency division ratio α is reduced, the output of the size error detection circuit 3 is reduced, and the count value of the counter 34 in FIG.

【0028】同様に、図2のような2画素周期のパター
ンから成る映像信号を図1の回路に入力したとき、サン
プリングクロック数が1水平期間内の画素数より小さい
場合において、サイズ誤差検出回路3の水平同期信号1
周期(図2の領域a+b+c)中の出力は、PLL回路
8に設定されている分周比αと水平同期信号1周期分に
当たる期間(図2の領域a+b+c)の画素数20の差
の絶対値をZとすると、一定の値Z、あるいは1水平同
期期間中のサンプリングクロックの位相がサイズ誤差検
出に最適でなく、サンプリングクロック数が1水平期間
内の画素数より小さい場合は、サイズ誤差を正確に検出
できないが、1水平同期期間中のサンプリングクロック
の位相は変えずPLL回路8に設定されている分周比α
と水平同期信号1周期分(図2の領域a+b+c)に当
たる期間の画素数の差を変化させると、PLL回路8に
設定されている分周比αの方が水平同期信号1周期分
(図2の領域a+b+c)に当たる期間の画素数よりも
小さい場合であるから、分周比αの値を増加するとサイ
ズ誤差検出回路3の出力は減少していき図3のカウンタ
34のカウント値は0になる(図示せず)。
Similarly, when a video signal having a pattern of two pixel periods as shown in FIG. 2 is input to the circuit of FIG. 1, if the number of sampling clocks is smaller than the number of pixels in one horizontal period, the size error detection circuit 3 horizontal sync signal 1
The output during the period (region a + b + c in FIG. 2) is the absolute value of the difference between the frequency division ratio α set in the PLL circuit 8 and the number of pixels 20 in the period corresponding to one period of the horizontal synchronization signal (region a + b + c in FIG. 2). Let Z be a constant value, or if the phase of the sampling clock during one horizontal synchronization period is not optimal for size error detection and the number of sampling clocks is smaller than the number of pixels in one horizontal period, the size error However, the phase of the sampling clock during one horizontal synchronization period is not changed, and the frequency division ratio α set in the PLL circuit 8 is not changed.
When the difference in the number of pixels in a period corresponding to one cycle of the horizontal synchronizing signal (the area a + b + c in FIG. 2) is changed, the frequency division ratio α set in the PLL circuit 8 becomes one cycle of the horizontal synchronizing signal (FIG. Is smaller than the number of pixels in the period corresponding to the region a + b + c), the output of the size error detection circuit 3 decreases as the value of the frequency division ratio α increases, and the count value of the counter 34 in FIG. (Not shown).

【0029】次に図7、図8によりPLL回路8の分周
比αと水平同期信号1周期分に当たる期間(図2の領域
a+b+c)の画素数20の差が小さいとき、その差を
変化させた場合のサンプリング位相と最大値最小値検出
保持回路4で検出される最大値、最小値との関係につい
て説明する。
Next, according to FIGS. 7 and 8, when the difference between the division ratio α of the PLL circuit 8 and the number of pixels 20 in the period corresponding to one cycle of the horizontal synchronizing signal (region a + b + c in FIG. 2) is small, the difference is changed. The relationship between the sampling phase and the maximum and minimum values detected by the maximum and minimum value detection and holding circuit 4 will be described.

【0030】図7(a)は、水平同期信号と2画素周期
のパターンの入力映像信号とサンプリング点の関係を示
すものであり、図7(b)は、A/Dコンバータ1の出
力である。前記A/Dコンバータ1の出力は図7(a)
の映像信号波形付近の矢印の位置で、矢印にふられてい
る数字の順番でサンプリングを行った波形である。図7
(a)では分周比α=21とし、水平同期信号1周期分
に当たる期間(図2の領域a+b+c)の画素数20と
の差は1としている。
FIG. 7A shows the relationship between a horizontal synchronizing signal, an input video signal having a pattern of two pixel periods, and sampling points, and FIG. 7B shows the output of the A / D converter 1. . The output of the A / D converter 1 is shown in FIG.
At the position of the arrow near the video signal waveform of FIG. FIG.
In (a), the frequency division ratio α is set to 21, and the difference from the number of pixels 20 in a period (region a + b + c in FIG. 2) corresponding to one cycle of the horizontal synchronization signal is set to 1.

【0031】図7(c)は、前記A/Dコンバータ1の
出力を間引き回路2に入力し、A/Dコンバータ1で図
7(b)に示すようにサンプリングされた映像信号を矢
印にふられた数字1、3、5、7・・・・の位置及び順
番で間引いたものである。
FIG. 7 (c) shows the output of the A / D converter 1 input to the thinning circuit 2, and the video signal sampled by the A / D converter 1 as shown in FIG. .. Are thinned out in the positions and in the order of the numbers 1, 3, 5, 7,...

【0032】図7(d)は、PLL回路8の分周比αは
同じで図8(a)の2画素の周期パターンから成る映像
信号の矢印にふられた数字1、2、3、4・・・の順番
でサンプリングしたときのA/Dコンバータ1の出力
(図8(b)の波形)を間引き回路2に入力し、図7
(b)の矢印にふられた数字2、4、6、8・・・・の
位置及び順番で間引きを行った場合の間引き回路2の出
力である。
FIG. 7D shows that the frequency division ratio α of the PLL circuit 8 is the same, and the numerals 1, 2, 3, 4 indicated by the arrows of the video signal composed of the periodic pattern of two pixels shown in FIG. The output (waveform of FIG. 8B) of the A / D converter 1 when sampling in the order of.
This is the output of the thinning circuit 2 when the thinning is performed in the positions and in the order of the numbers 2, 4, 6, 8,...

【0033】ここで、図7(c)、(d)の間引き出力
を最大値最小値検出保持回路4に入力し、そこで得られ
た最大値、最小値の差を求めると図7(c)、(d)中
に示される値Xが得られることになる。この例では、最
大値Xは3.3Vとなる。
Here, the thinning outputs of FIGS. 7C and 7D are input to the maximum / minimum value detection holding circuit 4, and the difference between the maximum value and the minimum value obtained therefrom is calculated as shown in FIG. , (D) are obtained. In this example, the maximum value X is 3.3V.

【0034】次に、図8(a)は、図7(a)の場合に
比べてサンプリング位相が0.5画素ずれている場合を
示すものである。
Next, FIG. 8A shows a case where the sampling phase is shifted by 0.5 pixel as compared with the case of FIG. 7A.

【0035】図8(b)は、A/Dコンバータ1の出力
であり、図8(a)の映像信号波形付近の矢印の位置
で、矢印にふられている数字の順番でサンプリングを行
った波形である。図8(a)では分周比α=21とし、
水平同期信号1周期分に当たる期間(図2の領域a+b
+c)の画素数20との差は1としている。
FIG. 8B shows the output of the A / D converter 1. Sampling was performed at the positions indicated by arrows near the video signal waveform in FIG. 8A in the order indicated by the arrows. It is a waveform. In FIG. 8A, the division ratio α = 21,
A period corresponding to one cycle of the horizontal synchronization signal (region a + b in FIG. 2)
The difference between + c) and the number of pixels 20 is 1.

【0036】図8(c)は、前記A/Dコンバータ1の
出力を間引き回路2に入力し、A/Dコンバータ1で図
8(b)に示すサンプリングされた映像信号を矢印にふ
られた数字1、3、5、7・・・・の位置及び順番で間
引いたものである。図8(d)は、PLL回路8の分周
比αは同じで上記のサンプリング位置よりもサンプリン
グ間隔の1つ分遅らせた場合、つまり図8(a)の2画
素の周期パターンから成る映像信号の矢印にふられた数
字1、2、3、4・・・の順番でサンプリングしたとき
のA/Dコンバータ1の出力(図8(b)の波形)を間
引き回路2に入力し、図8(b)の矢印にふられた数字
2、4、6、8・・・・の位置及び順番で、間引きを行
った場合の間引き回路2の出力である。
FIG. 8 (c) shows the output of the A / D converter 1 input to the thinning-out circuit 2, and the A / D converter 1 shows the sampled video signal shown in FIG. .. Are thinned out in the positions and the order of the numerals 1, 3, 5, 7,.... FIG. 8D shows a case where the frequency division ratio α of the PLL circuit 8 is the same and is delayed by one sampling interval from the above sampling position, that is, a video signal having a two-pixel periodic pattern shown in FIG. The output (waveform of FIG. 8B) of the A / D converter 1 when sampling is performed in the order of numbers 1, 2, 3, 4,... Are the outputs of the thinning circuit 2 when thinning is performed in the positions and in the order of the numbers 2, 4, 6, 8,...

【0037】図8(c)、(d)の間引き出力を最大値
最小値検出保持回路4に入力し、そこで得られた最大
値、最小値の差を求めると図8(c)中に示される値Y
(3.3Vより小さい)と図8(d)中に示される値X
(3.3V)が得られることになる。
8 (c) and 8 (d) are input to the maximum / minimum value detection / holding circuit 4, and the difference between the maximum and minimum values obtained therefrom is shown in FIG. 8 (c). Value Y
(Smaller than 3.3 V) and the value X shown in FIG.
(3.3 V) is obtained.

【0038】図7(c)、(d)、図8(c)、(d)
は、サンプリングクロック数が1水平期間内の画素数よ
り小さい場合のA/Dコンバータ1の出力であり、PL
L回路8の分周比αは同じでサンプリング位置や間引き
する位置を変化させたときの間引き回路2の出力を最大
値最小値検出保持回路4に入力したものである。ここ
で、最大値最小値検出保持回路4で保持した最大値、最
小値は異なり、最大値、最小値の差は0ではないある値
を持っている。
FIGS. 7 (c) and 7 (d), FIGS. 8 (c) and 8 (d)
Is the output of the A / D converter 1 when the number of sampling clocks is smaller than the number of pixels in one horizontal period.
The division ratio α of the L circuit 8 is the same, and the output of the thinning circuit 2 when the sampling position or the thinning position is changed is input to the maximum / minimum value detection holding circuit 4. Here, the maximum value and the minimum value held by the maximum value / minimum value detection holding circuit 4 are different, and the difference between the maximum value and the minimum value has a certain value other than 0.

【0039】次に図9、図10によりPLL回路8の分
周比αと水平同期信号1周期分に当たる期間(図2の領
域a+b+c)の画素数20の差が0のとき、つまりサ
ンプリングクロック数が1水平期間内の画素数と同じで
あるとき、サンプリング位相と最大値最小値検出保持回
路4で検出される最大値、最小値との関係について説明
する。
Next, according to FIGS. 9 and 10, when the difference between the frequency division ratio α of the PLL circuit 8 and the number of pixels 20 in the period corresponding to one cycle of the horizontal synchronizing signal (region a + b + c in FIG. 2) is 0, ie, the number of sampling clocks Is the same as the number of pixels in one horizontal period, the relationship between the sampling phase and the maximum and minimum values detected by the maximum and minimum value detection and holding circuit 4 will be described.

【0040】図9(a)は、図2の領域a+b+cの映
像信号を、また、図9(b)は、図1のA/Dコンバー
タ1に図9(a)の映像信号波形付近の矢印の位置で、
矢印にふられている数字の順番でサンプリングを行った
波形である。図9(c)は、前記A/Dコンバータ1の
出力を間引き回路2の出力であり、図9(a)に示すサ
ンプリングされた映像信号を矢印にふられた数字1、
3、5・・・・の位置及び順番で間引いたものである。
図9(d)は、PLL回路8の分周比αは同じで上記の
サンプリング位置よりも1画素分遅らせた場合、つまり
図9(a)の2画素の周期パターンから成る映像信号の
矢印にふられた数字1、2、3、4・・・の順番でサン
プリングしたときのA/Dコンバータ1の出力(図9
(a)の波形)を間引き回路2に入力し、図9(a)の
矢印にふられた数字2、4、6・・・・の位置及び順番
で、間引きされた間引き回路2の出力である。図9
(c)、(d)の間引き回路2の出力を最大値最小値検
出保持回路4に入力し、そこで得られた最大値、最小値
の差を求めると図9(c)中に示される値X(実施例で
は3.3V)と図9(d)中に示される値0Vが得られ
ることになる。
FIG. 9A shows a video signal in the area a + b + c in FIG. 2, and FIG. 9B shows an arrow in the vicinity of the video signal waveform in FIG. 9A in the A / D converter 1 in FIG. At the position
This is a waveform sampled in the order of the numbers indicated by the arrows. FIG. 9C shows the output of the A / D converter 1 as the output of the thinning circuit 2. The sampled video signal shown in FIG.
.. Are thinned out in the position and order of 3, 5,.
FIG. 9D shows the case where the frequency division ratio α of the PLL circuit 8 is the same and is delayed by one pixel from the sampling position, that is, the arrow of the video signal composed of the periodic pattern of two pixels in FIG. The output of the A / D converter 1 when sampling is performed in the order of the numbers 1, 2, 3, 4,.
9 (a) is input to the thinning-out circuit 2, and the output of the thinning-out circuit 2 which has been thinned out at the positions and in the order of the numbers 2, 4, 6,... is there. FIG.
(C), (d) The output of the thinning circuit 2 is input to the maximum / minimum value detection and holding circuit 4, and the difference between the maximum value and the minimum value obtained therefrom is obtained as shown in FIG. 9 (c). X (3.3 V in the embodiment) and the value 0 V shown in FIG. 9D are obtained.

【0041】図10は、分周比αと画素数は図9と同様
一致するが、図9とサンプリングクロック位相が、図1
0(a)に示すように0.5画素異なる場合である。ま
た、図10(b)は、図10(a)の映像信号波形付近
の矢印の位置で、矢印にふられている数字の順番でサン
プリングを行うことを示す図である。
FIG. 10 shows that the frequency division ratio α and the number of pixels are the same as in FIG. 9, but the sampling clock phase is the same as FIG.
In this case, the difference is 0.5 pixels as shown in FIG. FIG. 10B is a diagram showing that sampling is performed in the order indicated by the arrows at the positions of the arrows near the video signal waveform in FIG. 10A.

【0042】図10(c)は、前記A/Dコンバータ1
の出力を間引き回路2に入力し、A/Dコンバータ1で
サンプリングホールドした2画素間隔毎に間引いた波形
である。前記間引き回路2の出力は、図10(a)に示
すサンプリングされた映像信号を矢印にふられた数字
1、3、5・・・・の位置及び順番で間引いたものであ
る。図10(d)は、PLL回路8の分周比αは同じで
上記のサンプリング位置よりも1画素分遅らせた場合、
つまり図10(a)の2画素の周期パターンから成る映
像信号の矢印にふられた数字1、2、3、4・・・の順
番でサンプリングしたときのA/Dコンバータ1の出力
(図10(a)の波形)を間引き回路2に入力し、図1
0(a)の矢印にふられた数字2、4、6・・・・の位
置及び順番で、2画素毎に間引きを行った場合の間引き
回路2の出力である。
FIG. 10 (c) shows the A / D converter 1
Are input to the thinning-out circuit 2 and are sampled and held by the A / D converter 1 and are thinned out at intervals of two pixels. The output of the thinning circuit 2 is obtained by thinning the sampled video signals shown in FIG. 10A in the positions and in the order of the numbers 1, 3, 5,... FIG. 10D shows a case where the frequency division ratio α of the PLL circuit 8 is the same and is delayed by one pixel from the above sampling position.
That is, the output of the A / D converter 1 when sampling is performed in the order of the numbers 1, 2, 3, 4,... Indicated by the arrows of the video signal composed of the periodic pattern of two pixels in FIG. (A) is input to the thinning-out circuit 2 and FIG.
This is the output of the thinning circuit 2 when thinning is performed every two pixels in the positions and in the order of the numbers 2, 4, 6,... Indicated by the arrow 0 (a).

【0043】ここで、図10(c)、(d)において、
A/Dコンバータ1のサンプリングクロックの位相を、
遅延回路45で変化させた場合の、水平同期信号の一周
期分に当たる期間(図2の領域a+b+c)の映像表示
領域b中に間引き回路2から出力される波形は、その変
化させた位相における波形の値を出力し続けることにな
る。例えば、図10(a)のような2画素周期の信号を
入力した場合では、1画素期間中一定値をとるから、サ
ンプリングクロックの位相を映像信号の画素の周期に一
致したクロックに対して変化させた場合の間引き回路2
から出力される波形は、それぞれ図10(c)、(d)
となる。図10(c)、(d)の間引き回路2の出力を
最大値最小値検出保持回路4に入力し、そこで得られた
最大値、最小値の差を求めると図10(c)、(d)中
に示される値Z(3.3Vより小)が得られることにな
る。
Here, in FIGS. 10C and 10D,
The phase of the sampling clock of the A / D converter 1 is
When changed by the delay circuit 45, the waveform output from the thinning circuit 2 in the video display area b during a period corresponding to one cycle of the horizontal synchronizing signal (area a + b + c in FIG. 2) is the waveform at the changed phase. Will continue to be output. For example, when a signal having a two-pixel cycle as shown in FIG. 10A is input, a constant value is taken during one pixel period. Therefore, the phase of the sampling clock changes with respect to a clock that matches the pixel cycle of the video signal. Thinning circuit 2
10 (c) and (d) are waveforms output from
Becomes 10 (c) and 10 (d), the output of the thinning circuit 2 is input to the maximum / minimum value detection / holding circuit 4, and the difference between the maximum value and the minimum value obtained therefrom is calculated as shown in FIGS. ) Is obtained (smaller than 3.3 V).

【0044】図9(c)、(d)、図10(c)、
(d)は、PLL回路8に設定されている分周比αと水
平同期信号1周期分に当たる期間(図2の領域a+b+
c)の画素数20が等しい場合にPLL回路8の分周比
αは同じで、サンプリング位置や間引きする位置を変化
させたときの間引き回路2の出力を最大値最小値検出保
持回路4に入力したものである。ここで、最大値最小値
検出保持回路4で保持した最大値、最小値はある位相に
おいて等しくなるときがある(図9(d))。
FIGS. 9C, 9D, 10C,
FIG. 2D shows the frequency division ratio α set in the PLL circuit 8 and the period corresponding to one cycle of the horizontal synchronization signal (region a + b + in FIG. 2).
c) When the number of pixels 20 is equal, the frequency division ratio α of the PLL circuit 8 is the same, and the output of the thinning circuit 2 when the sampling position or the thinning position is changed is input to the maximum / minimum value detection holding circuit 4. It was done. Here, the maximum value and the minimum value held by the maximum value / minimum value detection holding circuit 4 may be equal in a certain phase (FIG. 9D).

【0045】すなわち、この最大値、最小値の値が等し
くなったときがPLL回路8に設定されている分周比α
と水平同期信号1周期分に当たる期間(図2の領域a+
b+c)の画素数20が一致するときであり、このとき
サンプリングの位相を予め定められた位相量、例えば、
サンプリングクロックの1/16間隔で変化させ最大
値、最小値の差が一番大きくなるとき(図9の
(a))、サンプリングの位相が最適となる。
That is, when the maximum value and the minimum value become equal, the division ratio α set in the PLL circuit 8 is determined.
And a period corresponding to one cycle of the horizontal synchronizing signal (region a + in FIG. 2).
b + c) when the number of pixels 20 coincides. At this time, the sampling phase is set to a predetermined phase amount, for example,
When the difference between the maximum value and the minimum value is changed at the interval of 1/16 of the sampling clock and becomes the largest (FIG. 9A), the sampling phase becomes optimal.

【0046】よって、図5(c)、(d)、図6
(c)、(d)の入力映像信号の水平同期信号の1周期
分に当たる期間(図2の領域a+b+c)の画素数20
とPLL回路8の分周比αの差の関係を判断部7に入力
し、PLL回路8に設定されている分周比αの大まかな
調整(差が1周期分の画素数付近の2、3以内まで)を
施し、水平同期信号の1周期分に当たる期間(図2の領
域a+b+c)の画素数20とPLL回路8の分周比α
の差が小さい場合には微調整を行うため、最大値最小値
検出保持回路4で保持している最大値、最小値と位相の
関係を判断部7に入力し、その入力値から、PLL回路
8に設定されている分周比αが一致しているかどうか及
びサンプリングクロックの位相が最適かどうかの判断を
行う。なお、以上の説明では、A/Dコンバータ1にP
LL回路8の出力であるサンプリングクロックを入力
し、A/Dコンバータ1の出力を間引き回路2に供給す
る構成をとったが、PLL回路8のサンプリングクロッ
クを分周してあらかじめ周波数を落としたサンプリング
クロックをA/Dコンバータ1に供給し、後段の間引き
回路2を省いた構成についても同様に実施可能である。
Therefore, FIGS. 5C, 5D, and 6
The number of pixels in a period (region a + b + c in FIG. 2) corresponding to one cycle of the horizontal synchronization signal of the input video signal in (c) and (d) is 20
And the difference between the frequency dividing ratio α of the PLL circuit 8 and the determination unit 7, and roughly adjusts the frequency dividing ratio α set in the PLL circuit 8 (when the difference is around 2, 2 near the number of pixels for one cycle). 3), and the number of pixels 20 and the division ratio α of the PLL circuit 8 during a period (region a + b + c in FIG. 2) corresponding to one cycle of the horizontal synchronizing signal.
When the difference is small, the relationship between the maximum value, the minimum value, and the phase held by the maximum value / minimum value detection holding circuit 4 is input to the determination unit 7 and the PLL circuit is calculated from the input value. It is determined whether the frequency division ratio α set to 8 matches and whether the phase of the sampling clock is optimal. In the above description, the A / D converter 1 has P
The sampling clock which is the output of the LL circuit 8 is input and the output of the A / D converter 1 is supplied to the thinning circuit 2. However, the sampling clock of the PLL circuit 8 is frequency-divided to reduce the sampling frequency in advance. A configuration in which a clock is supplied to the A / D converter 1 and the thinning-out circuit 2 at the subsequent stage is omitted can be similarly implemented.

【0047】以上のように、1周期分の画素数が2の周
期パターンからなる調整用パターンである映像信号をサ
ンプリングして、PLL回路の分周比と入力映像信号の
水平同期信号1周期分の画素数が一致すれば、入力波形
の調整用パターンの画素周期における位相と最大値、最
小値の関係から、最大値、最小値の差が最大になった状
態が画素数、入力波形の画素周期における位相の点で共
に最適であると判断でき、そのサンプリングクロックを
用いて通常のグラフィクス映像信号をサンプリングして
表示装置(図示せず)に表示する。なお、1周期分の画
素数が2以上でも、同様に処理してサイズ、位相を調整
することが出来る。
As described above, the video signal, which is an adjustment pattern consisting of a periodic pattern in which the number of pixels for one cycle is two, is sampled, and the frequency division ratio of the PLL circuit and one cycle of the horizontal synchronizing signal of the input video signal are obtained. If the number of pixels of the input waveform matches, the state where the difference between the maximum value and the minimum value is the maximum is determined from the relationship between the phase and the maximum value and the minimum value in the pixel cycle of the adjustment pattern of the input waveform. It can be determined that both are optimal in terms of the phase in the cycle, and a normal graphics video signal is sampled using the sampling clock and displayed on a display device (not shown). Even when the number of pixels in one cycle is two or more, the size and phase can be adjusted by performing the same processing.

【0048】例えば、VGAモードからXVGAモード
の640×480、800×600、1024×768
等のグラフィクスモードに対応したそれぞれの調整用パ
ターンを使用して、各々の入力映像に対応したサンプリ
ングクロック数が640個、800個、1024個のサ
ンプリング位相の最適なサンプリングクロックを発生
し、それぞれのモードの映像を表示することが出来る。
For example, from VGA mode to XVGA mode, 640 × 480, 800 × 600, 1024 × 768
Using the respective adjustment patterns corresponding to the graphics mode, etc., the number of sampling clocks corresponding to each input video is 640, 800, and 1024, and the optimum sampling clocks of the sampling phases are generated. Mode images can be displayed.

【0049】[0049]

【発明の効果】以上のように、本発明のサンプリングク
ロック制御装置によれば、種々の表示グラフィクスモー
ドに対応してクロック数とクロックパルス位相の最適な
サンプリングクロックを自動的に発生することが高速に
出来る。
As described above, according to the sampling clock control device of the present invention, it is possible to automatically generate an optimal sampling clock with the number of clocks and the clock pulse phase corresponding to various display graphics modes. Can be

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

【図1】本発明の実施の形態におけるサンプリングクロ
ック制御装置の全体のブロック構成図
FIG. 1 is an overall block configuration diagram of a sampling clock control device according to an embodiment of the present invention.

【図2】本発明の実施の形態におけるサンプリングクロ
ック制御装置の入力調整パターン信号と水平同期信号を
模式的に示す図
FIG. 2 is a diagram schematically showing an input adjustment pattern signal and a horizontal synchronization signal of the sampling clock control device according to the embodiment of the present invention.

【図3】本発明の実施の形態におけるサンプリングクロ
ック制御装置のサイズ誤差検出回路のブロック構成図
FIG. 3 is a block diagram of a size error detection circuit of the sampling clock control device according to the embodiment of the present invention.

【図4】本発明の実施の形態におけるサンプリングクロ
ック装置の映像信号開始位置と表示デバイス開始位置を
模式的に示す図
FIG. 4 is a diagram schematically showing a video signal start position and a display device start position of the sampling clock device according to the embodiment of the present invention.

【図5】本発明の実施の形態におけるサンプリングクロ
ック制御装置のサイズ誤差検出回路の最大値パルス及び
最小値パルスとサンプリングクロックとの関係を模式的
に示す図
FIG. 5 is a diagram schematically showing the relationship between the maximum value pulse and the minimum value pulse of the size error detection circuit of the sampling clock control device and the sampling clock in the embodiment of the present invention.

【図6】本発明の実施の形態におけるサンプリングクロ
ック制御装置のサイズ誤差検出回路の最大値パルス及び
最小値パルスとサンプリングクロックとの他の関係を模
式的に示す図
FIG. 6 is a diagram schematically illustrating another relationship between the maximum value pulse and the minimum value pulse of the size error detection circuit of the sampling clock control device according to the embodiment of the present invention and the sampling clock;

【図7】本発明の実施の形態におけるサンプリングクロ
ック制御装置の最大値最小値検出保持回路の動作を模式
的に説明するための波形図
FIG. 7 is a waveform chart for schematically explaining the operation of the maximum / minimum value detection holding circuit of the sampling clock control device according to the embodiment of the present invention.

【図8】本発明の実施の形態におけるサンプリングクロ
ック制御装置の最大値最小値検出保持回路の動作を模式
的に説明するための他の波形図
FIG. 8 is another waveform diagram for schematically explaining the operation of the maximum / minimum value detection holding circuit of the sampling clock control device according to the embodiment of the present invention.

【図9】本発明の実施の形態におけるサンプリングクロ
ック制御装置の分周比と入力調整パターン信号の画素数
の差が等しい場合の最大値最小値検出保持回路の動作を
模式的に説明するための波形図
FIG. 9 is a diagram schematically illustrating the operation of the maximum value / minimum value detection and holding circuit when the difference between the frequency division ratio of the sampling clock control device and the number of pixels of the input adjustment pattern signal is equal in the embodiment of the present invention. Waveform diagram

【図10】本発明の実施の形態におけるサンプリングク
ロック制御装置の分周比と入力調整パターン信号の画素
数の差が等しい場合の最大値最小値検出保持回路の動作
を模式的に説明するための他の波形図
FIG. 10 is a diagram schematically illustrating an operation of a maximum value / minimum value detection holding circuit when the difference between the frequency division ratio of the sampling clock control device and the number of pixels of the input adjustment pattern signal is equal in the embodiment of the present invention. Other waveform diagrams

【図11】従来の実施の形態におけるサンプリングクロ
ック制御装置のブロック構成図
FIG. 11 is a block diagram of a sampling clock control device according to a conventional embodiment.

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

1 A/Dコンバータ 2 間引き回路 3 サイズ誤差検出回路 4 最大値最小値検出保持回路 5 位置誤差検出回路 6 セレクタ 7 判断部 8 PLL回路 31 最大値検出回路 32 最小値検出回路 33 演算部 34 カウンタ 81 遅延回路 82 分周器 83 位相比較器 84 LPF 85 VCO Reference Signs List 1 A / D converter 2 Thinning circuit 3 Size error detection circuit 4 Maximum value minimum value detection holding circuit 5 Position error detection circuit 6 Selector 7 Judgment unit 8 PLL circuit 31 Maximum value detection circuit 32 Minimum value detection circuit 33 Arithmetic unit 34 Counter 81 Delay circuit 82 frequency divider 83 phase comparator 84 LPF 85 VCO

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 5/06 H04N 5/06 Z ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI H04N 5/06 H04N 5/06 Z

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 2画素周期の調整パターンを有する入力
映像信号をその水平同期信号にロックしたVCO出力か
ら分周して得られるサンプリングクロックでA/D変換
する手段と、前記サンプリングクロックの水平同期信号
に対する位相を変化する遅延回路と、前記A/D変換さ
れた調整パターン部の映像信号を間引きする間引き手段
と、その間引き信号の所定の期間内の最大値パルスと最
小値パルスの数をカウントするサイズ誤差検出手段と、
前記間引き信号の最大値と最小値を検出する最大値最小
値検出保持手段とを有し、前記間引き信号の最大値パル
スと最小値パルスの数のカウンタ値が所定の数になるよ
うに前記VCO出力の分周比を粗調整し、その状態より
前記間引き回路からの間引き信号の前記最大値と最小値
のレベル差が零となるように前記VCOの分周比を微調
整し、次に前記サンプリングクロックの位相を前記遅延
回路により変化して前記最大値最小値保持回路に保持さ
れる最大値と最小値のレベル差を最大にすることを特徴
とするサンプリングクロック制御装置。
A means for performing A / D conversion with a sampling clock obtained by dividing an input video signal having an adjustment pattern of a two-pixel cycle from a VCO output locked to the horizontal synchronization signal, and a horizontal synchronization of the sampling clock; A delay circuit for changing the phase of the signal, a thinning means for thinning out the video signal of the A / D-converted adjustment pattern section, and counting the number of maximum value pulses and minimum value pulses within a predetermined period of the thinning signal Size error detection means to perform
A maximum value / minimum value detection holding unit for detecting a maximum value and a minimum value of the thinning signal, wherein the VCO is controlled so that the counter value of the number of maximum value pulses and minimum value pulses of the thinning signal becomes a predetermined number. The frequency division ratio of the output is roughly adjusted, and from that state, the frequency division ratio of the VCO is finely adjusted so that the level difference between the maximum value and the minimum value of the decimation signal from the decimation circuit becomes zero. A sampling clock control device wherein a phase of a sampling clock is changed by the delay circuit to maximize a level difference between a maximum value and a minimum value held in the maximum value / minimum value holding circuit.
JP10022882A 1998-02-04 1998-02-04 Sampling clock control device Pending JPH11219157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10022882A JPH11219157A (en) 1998-02-04 1998-02-04 Sampling clock control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10022882A JPH11219157A (en) 1998-02-04 1998-02-04 Sampling clock control device

Publications (1)

Publication Number Publication Date
JPH11219157A true JPH11219157A (en) 1999-08-10

Family

ID=12095065

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10022882A Pending JPH11219157A (en) 1998-02-04 1998-02-04 Sampling clock control device

Country Status (1)

Country Link
JP (1) JPH11219157A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001125527A (en) * 1999-10-29 2001-05-11 Matsushita Electric Ind Co Ltd Distinction improving device for video
JP2001249637A (en) * 2000-03-02 2001-09-14 Nec Mitsubishi Denki Visual Systems Kk Display device
KR20020059233A (en) * 2000-12-20 2002-07-12 아끼구사 나오유끼 Liquid crystal display
JP2006506669A (en) * 2002-11-21 2006-02-23 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Method and apparatus for determining a frequency for sampling an analog signal
JP2009147916A (en) * 2007-11-21 2009-07-02 Fujitsu Ten Ltd Video signal processing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001125527A (en) * 1999-10-29 2001-05-11 Matsushita Electric Ind Co Ltd Distinction improving device for video
JP2001249637A (en) * 2000-03-02 2001-09-14 Nec Mitsubishi Denki Visual Systems Kk Display device
KR20020059233A (en) * 2000-12-20 2002-07-12 아끼구사 나오유끼 Liquid crystal display
JP2006506669A (en) * 2002-11-21 2006-02-23 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Method and apparatus for determining a frequency for sampling an analog signal
JP2009147916A (en) * 2007-11-21 2009-07-02 Fujitsu Ten Ltd Video signal processing device

Similar Documents

Publication Publication Date Title
JP4182124B2 (en) Image display device, dot clock phase adjustment circuit, and clock phase adjustment method
JP3220023B2 (en) Liquid crystal display
JPH10153989A (en) Dot clock circuit
CN112562597B (en) Display control device and method with dynamic backlight adjustment mechanism
JP2008197141A (en) Image display device and frequency control method thereof
JP3487803B2 (en) Adjustment method of sampling clock and interface circuit for digital display device
EP0953963B1 (en) Clock generation circuit for a display device capable of displaying an image independently of the number of dots in a horizontal period of the input signal
JPH11219157A (en) Sampling clock control device
JP3315277B2 (en) Image display device
JPH0566752A (en) Dot clock reproduction circuit
JPH11143449A (en) Sampling clock control device
JP2874672B2 (en) Automatic phase adjustment system for display device
JP2000050150A (en) Image pickup device
JP2713063B2 (en) Digital image generation device
JP4906199B2 (en) Image format conversion pre-processing device and image display device
JP3451216B2 (en) Image display device and sampling frequency adjustment method
KR100425687B1 (en) Separation circuit for composition sync-signal of flat pannel display
JP3518317B2 (en) Dot clock automatic reproduction device for image display device
JP3484958B2 (en) Liquid crystal display device sampling phase adjustment method
JP3974341B2 (en) Video display device
JP3402184B2 (en) Sampling clock generator
JPH10340074A (en) Image signal processing circuit
JP3541628B2 (en) Superimpose device
JPH1049103A (en) Display controller
JP2000244768A (en) Video signal processing circuit

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20031216