JP3306020B2 - Video clock automatic setting device and automatic setting method thereof - Google Patents

Video clock automatic setting device and automatic setting method thereof

Info

Publication number
JP3306020B2
JP3306020B2 JP10331099A JP10331099A JP3306020B2 JP 3306020 B2 JP3306020 B2 JP 3306020B2 JP 10331099 A JP10331099 A JP 10331099A JP 10331099 A JP10331099 A JP 10331099A JP 3306020 B2 JP3306020 B2 JP 3306020B2
Authority
JP
Japan
Prior art keywords
video
period
display period
sync
horizontal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP10331099A
Other languages
Japanese (ja)
Other versions
JP2000295494A (en
Inventor
和則 丹羽
一生 佐藤
Original Assignee
株式会社シーベル
エレクトロ・システム株式会社
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 株式会社シーベル, エレクトロ・システム株式会社 filed Critical 株式会社シーベル
Priority to JP10331099A priority Critical patent/JP3306020B2/en
Publication of JP2000295494A publication Critical patent/JP2000295494A/en
Application granted granted Critical
Publication of JP3306020B2 publication Critical patent/JP3306020B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル映像機器
において、映像用のクロックを発生する回路に使用され
るPLL(Phase−Lock Loop)分周回路
の分周比を自動的に設定する映像用クロック自動設定装
置及びその自動設定方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital video apparatus for automatically setting a frequency dividing ratio of a PLL (Phase-Lock Loop) frequency dividing circuit used for a circuit for generating a video clock. The present invention relates to an automatic clock setting device and an automatic clock setting method.

【0002】[0002]

【従来の技術】デジタル映像機器において、映像信号を
デジタル化する際に用いられる一定の周波数は、PLL
分周回路によって生成されることが多い。
2. Description of the Related Art In digital video equipment, a fixed frequency used when digitizing a video signal is controlled by a PLL.
Often generated by a frequency divider.

【0003】入力される映像によってPLL分周回路に
よる分周比はまちまちである。PLL分周回路の分周比
は、H−SYNCの立下がり又は立上がりから、次のH
−SYNCの立下がり又は立上がりまでのクロックの数
で設定される。
[0003] The frequency division ratio of the PLL frequency divider circuit varies depending on the input image. The frequency division ratio of the PLL frequency dividing circuit is determined by the following H from the falling or rising of H-SYNC.
-Set by the number of clocks until SYNC falls or rises.

【0004】ちなみに、入力映像に合わない周波数の状
態のとき、A/Dコンバ−タ等で入力映像信号をデジタ
ル変換すると、ジッターが発生するため、画質が劣化し
てしまう。そのため、入力映像信号に対応した分周比は
必要不可欠となっている。
[0004] Incidentally, when the input video signal is converted into a digital signal by an A / D converter or the like in a state where the frequency does not match the input video, jitter occurs and the image quality deteriorates. Therefore, the frequency division ratio corresponding to the input video signal is indispensable.

【0005】[0005]

【発明が解決しようとする課題】ところで、上述した従
来のデジタル映像機器においては、オシロスコープによ
って波形観測を行い、さらに波形観測によって得られた
値の計算を行う。その後、設定値プログラムを有するソ
フトウエアーにより、H−SYNCの立下がり又は立上
がりから、次のH−SYNCの立下がり又は立上がりま
でのクロックの数を検索することで、PLL分周回路の
分周比の設定が行われている。
By the way, in the above-mentioned conventional digital video equipment, a waveform is observed by an oscilloscope, and a value obtained by the waveform observation is calculated. Then, by using software having a set value program, the number of clocks from the falling or rising edge of H-SYNC to the falling or rising edge of the next H-SYNC is searched, whereby the dividing ratio of the PLL divider circuit is obtained. Has been set.

【0006】ところが、このような方法では、PLLの
分周比の正確な値を得ることが困難となっている。なぜ
なら、設定値はあくまでも予め設定された値で限られい
る(全部でない)からである。
However, with such a method, it is difficult to obtain an accurate value of the frequency division ratio of the PLL. This is because the set values are limited to preset values (not all).

【0007】そこで、正確な値を得るために、映像信号
を確認しながら手動で設定することが行われている。こ
の場合、長年の経験と勘が必要となるといった問題があ
る。
Therefore, in order to obtain an accurate value, a manual setting is performed while checking a video signal. In this case, there is a problem that many years of experience and intuition are required.

【0008】本発明は、このような状況に鑑みてなされ
たものであり、PLL分周回路の分周比の設定を容易か
つ確実に行うことができる映像用クロック自動設定装置
及びその自動設定方法を提供することができるようにす
るものである。
SUMMARY OF THE INVENTION The present invention has been made in view of such circumstances, and an image clock automatic setting device and an automatic setting method capable of easily and reliably setting a frequency dividing ratio of a PLL frequency dividing circuit. That can be provided.

【0009】[0009]

【課題を解決するための手段】請求項1に記載の映像用
クロック自動設定装置は、アナログ映像信号をデジタル
化する際の一定の周波数を生成するPLL分周手段と、
アナログ映像信号を、周波数に基づきデジタル信号に変
換するA/D変換手段と、A/D変換手段によってデジ
タルに変換された信号に対し、2値化処理を行う2値化
手段と、2値化手段によって2値化処理された信号を、
1画素毎に振分けるシリアル/パラレル変換手段と、
リアル/パラレル変換手段によって振分けられた1画素
毎の映像表示期間のクロック数をカウントする第1及び
第2の映像期間カウント回路と、これら第1及び第2の
映像期間カウント回路に対応し、1V−SYNCの期間
中の水平映像表示期間の最大値を、数ライン又は全ライ
ンに渡って検出する第1及び第2の最大値検出回路とを
有し、カウントの結果から1画素毎の映像表示期間を検
出するとともに、映像表示期間が各水平毎に一定しない
場合に水平映像表示期間の最大値から水平映像表示期間
を検出する映像期間検出手段と、検出された第1及び第
2の映像期間カウント回路の出力と第1及び第2の最大
値検出回路からの出力とを比較し、第1及び第2の映像
期間カウント回路の出力が第1及び第2の最大値検出回
路からの出力より小さければPLL分周手段の分周比を
多くし、逆の場合はPLL分周手段の分周比を小さくす
るように分周比を決定するPLL分周比決定手段とを備
えることを特徴とする。また、第1及び第2の映像期間
カウント回路には、A/D変換手段によってデジタル信
号に変換された映像信号の映像表示期間のクロック数を
カウントするカウンターと、2値化手段からの出力がH
レベルの間、カウンターからの出力をラッチするラッチ
回路とが設けられているようにすることができる。ま
た、第1及び第2の最大値検出回路には、第1及び第2
の映像期間カウント手段から各水平期間毎に出力される
数と、現時点での水平画素数とを比較する比較器と、最
大値をラッチする最大値ラッチレジスターとが設けられ
ているようにすることができる。また、H−SYNCの
立下がり又は立上がりから次のH−SYNCの立下がり
又は立上がりの間の映像表示期間は、自動位置調整手段
によって自動調整されるようにすることができる。ま
た、自動位置調整手段は、A/D変換手段によってデジ
タルに変換された信号を、1フレーム分記憶する映像メ
モリーと、映像メモリーに記憶された1フレーム分の映
像信号のH−SYNCの立下がりから映像表示期間まで
の間に相当するクロックの数をカウントするカウンター
と、カウンターの出力と、PLL分周比決定手段によっ
て決定されたクロックの数とを比較する比較器と、比較
器による比較結果に基づき、H−SYNCの立下がり又
は立上がりから次のH−SYNCの立下がり又は立上が
りの間の映像表示期間の位置を調整するための設定値を
決定する映像期間設定値決定回路とを備えるようにする
ことができる。請求項6に記載の映像用クロック自動設
定装置の自動設定方法は、アナログ映像信号をデジタル
化する際の一定の周波数を生成する工程と、アナログ映
像信号を、周波数に基づきデジタル信号に変換する工程
と、A/D変換手段によってデジタルに変換された信号
に対し、2値化処理を行う工程と、2値化手段によって
2値化処理された信号を、1画素毎に振分ける工程と、
振分けられた1画素毎の映像表示期間のクロック数のカ
ウント結果から1画素毎の映像表示期間を検出するとと
もに、映像表示期間が各水平毎に一定しない場合に1V
−SYNCの期間中の水平映像表示期間の最大値から水
平映像表示期間を検出する工程と、検出された1画素毎
の映像表示期間と最大値から検出された水平映像表示期
間とを比較し、1画素毎の映像表示期間が水平映像表示
期間より小さければ周波数の分周比を多くし、逆の場合
は周波数の分周比を小さくするように分周比を決定する
工程とを備えることを特徴とする。また、2値化処理さ
れた出力がHレベルの間、カウントされた出力をラッチ
する工程が含まれるようにすることができる。また、水
平期間毎に出力されるカウントの数と、現時点での水平
画素数とを比較する工程と、最大値をラッチする工程
が含まれるようにすることができる。また、H−SYN
Cの立下がり又は立上がりから次のH−SYNCの立下
がり又は立上がりの間の映像表示期間を、自動調整する
工程が含まれるようにすることができる。また、デジタ
ルに変換された信号を、1フレーム分記憶する工程と、
記憶された1フレーム分の映像信号のH−SYNCの立
下がりから映像表示期間までの間に相当するクロックの
数をカウントする工程と、カウントの出力と、分周比の
決定されたクロックの数とを比較する工程と、比較結果
に基づき、H−SYNCの立下がり又は立上がりから次
のH−SYNCの立下がり又は立上がりの間の映像表示
期間の位置を調整するための設定値を決定する工程とが
含まれるようにすることができる。本発明に係る映像用
クロック自動設定装置及びその自動設定方法において
は、PLL分周手段からの周波数に基づき、A/D変換
手段によってデジタルに変換された映像信号に対し、2
値化手段によって2値化処理を行い、シリアル/パラレ
ル変換手段によって2値化処理された信号を1画素毎に
振分けた後、映像期間検出手段によって振分けられた1
画素毎の映像表示期間を検出するとともに、PLL分周
比決定手段によって、映像期間検出手段の出力と、PL
L分周手段の分周比とを比較し、分周比を映像期間検出
手段の出力に合うように決定するようにする。
According to the present invention, there is provided an automatic video clock setting device comprising: a PLL frequency dividing means for generating a constant frequency when an analog video signal is digitized;
A / D conversion means for converting an analog video signal into a digital signal based on a frequency, binarization means for performing a binarization process on a signal converted into digital by the A / D conversion means, and binarization The signal binarized by the means is
Serial / parallel conversion means for distributing each pixel ,
One pixel assigned by real / parallel conversion means
First and second counting the number of clocks in each video display period
A second video period count circuit, and the first and second
1V-SYNC period corresponding to video period count circuit
The maximum value of the horizontal image display period during
And first and second maximum value detection circuits for detecting
The video display period for each pixel is detected based on the counting result.
And the video display period is not constant for each horizontal
The horizontal video display period from the maximum value of the horizontal video display period
A video period detecting means for detecting the first and second detected
2 and the first and second maximums
The first and second images are compared with the output from the value detection circuit.
When the output of the period count circuit is the first and second maximum value detection times
If the output from the road is smaller than the
In the opposite case, decrease the frequency division ratio of the PLL frequency dividing means.
PLL frequency division ratio determining means for determining the frequency division ratio as described above. The first and second video period counting circuits include a counter for counting the number of clocks in a video display period of the video signal converted into a digital signal by the A / D converter, and an output from the binarization unit. H
A latch circuit for latching the output from the counter during the level may be provided. The first and second maximum value detection circuits include first and second maximum value detection circuits.
And a maximum value latch register for latching the maximum value and a comparator for comparing the number output for each horizontal period from the video period counting means with the current number of horizontal pixels. Can be. Further, the video display period from the fall or rise of H-SYNC to the fall or rise of the next H-SYNC can be automatically adjusted by the automatic position adjusting means. Further, the automatic position adjusting means includes a video memory for storing one frame of the signal converted into a digital signal by the A / D converter, and a falling edge of H-SYNC of the video signal for one frame stored in the video memory. Counter for counting the number of clocks corresponding to the period from to the video display period, a comparator for comparing the output of the counter with the number of clocks determined by the PLL dividing ratio determining means, and a comparison result by the comparator And a video period setting value determining circuit for determining a setting value for adjusting a position of a video display period between the falling or rising of H-SYNC and the falling or rising of the next H-SYNC based on Can be 7. The automatic setting method of the video clock automatic setting device according to claim 6, wherein a step of generating a constant frequency when digitizing the analog video signal and a step of converting the analog video signal into a digital signal based on the frequency.
If, with respect to the signal which has been converted to digital form by A / D converter, and performing binarization processing, and the signal binarized by the binarizing means, allocates for each pixel step,
The number of clocks during the video display period for each pixel
When the video display period for each pixel is detected from the count result,
If the video display period is not constant for each horizontal, 1V
-The maximum value of the horizontal video display period during the SYNC period is
A step of detecting a flat image display period, and for each detected pixel
Video display period and horizontal video display period detected from the maximum value
And the video display period for each pixel is horizontal video display
If it is smaller than the period, increase the frequency division ratio, and vice versa.
Determines the frequency division ratio to reduce the frequency division ratio
And a step . Further, a step of latching the counted output while the binarized output is at the H level may be included. Further, it is possible to be included and the step of latching and comparing the number of counts is outputted every horizontal period and the number of horizontal pixels in the current, the maximum value. Also, H-SYN
Automatically adjusts the video display period from the fall or rise of C to the fall or rise of the next H-SYNC
Steps may be included. A step of storing the digitally converted signal for one frame;
A step of counting the number of clocks corresponding to a period from the fall of H-SYNC of the stored one-frame video signal to the video display period, the output of the count, and the number of clocks for which the division ratio is determined the step of determining and comparing, comparison based on the result, the setting values for adjusting the position of the image display period between the falling or rising of the next H-SYNC falling or the rising of the H-SYNC bets And can be included. In the video clock automatic setting device and the automatic setting method according to the present invention, the video signal converted into digital by the A / D conversion unit based on the frequency from the PLL frequency dividing unit is set to 2 bits.
The binarization processing is performed by the binarization unit, the signal binarized by the serial / parallel conversion unit is assigned to each pixel, and then the 1 signal assigned by the video period detection unit is assigned.
The video display period for each pixel is detected, and the output of the video period detection unit is output by the PLL frequency division ratio determining unit.
The frequency division ratio of the L frequency dividing means is compared, and the frequency dividing ratio is determined so as to match the output of the video period detecting means.

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態につい
て説明する。
Embodiments of the present invention will be described below.

【0011】図1は、本発明の映像用クロック自動設定
装置の一実施の形態を示すブロック図、図2は、図1の
映像用クロック自動設定装置の動作原理を説明するため
の図、図3は、図1の映像期間カウント回路を説明する
ためのブロック図、図4は、図3の映像期間カウント回
路の動作原理を説明するための図、図5は、図1の最大
値検出回路を説明するためのブロック図、図6は、図3
の映像期間カウント回路を説明するためのブロック図、
図7は、図1の映像用クロック自動設定装置の動作を説
明するための図である。
FIG. 1 is a block diagram showing an embodiment of an automatic video clock setting device according to the present invention. FIG. 2 is a diagram for explaining the principle of operation of the automatic video clock setting device of FIG. 3 is a block diagram for explaining the video period count circuit of FIG. 1, FIG. 4 is a diagram for explaining the operation principle of the video period count circuit of FIG. 3, and FIG. 5 is a maximum value detection circuit of FIG. FIG. 6 is a block diagram for explaining FIG.
Block diagram for explaining the video period counting circuit of
FIG. 7 is a diagram for explaining the operation of the video clock automatic setting device of FIG.

【0012】図1に示す映像用クロック自動設定装置
は、A/D変換回路1、2値化回路2、S/P(シリア
ル/パラレル)変換回路3、PLL分周比決定回路6、
HD発生回路7、PLL分周回路8、遅延回路9、1/
2分周回路10、入力端子11a〜11c、映像期間検
出回路17A及び自動位置調整回路17Bを備えてい
る。
An automatic video clock setting device shown in FIG. 1 includes an A / D conversion circuit 1, a binarization circuit 2, an S / P (serial / parallel) conversion circuit 3, a PLL frequency division ratio determination circuit 6,
HD generating circuit 7, PLL frequency dividing circuit 8, delay circuit 9, 1 /
The circuit includes a divide-by-2 circuit 10, input terminals 11a to 11c, a video period detection circuit 17A, and an automatic position adjustment circuit 17B.

【0013】A/D変換回路1は、入力端子11aから
入力されるアナログ映像信号をデジタル信号に変換す
る。2値化回路2は、A/D変換回路1によってデジタ
ルに変換された信号に対し、ある値より大きい場合はH
レベルを出力し、小さい場合はLレベルを出力する。
The A / D conversion circuit 1 converts an analog video signal input from the input terminal 11a into a digital signal. The binarization circuit 2 outputs H to the signal converted to digital by the A / D conversion circuit 1 when the signal is larger than a certain value.
The level is output. If the level is low, the L level is output.

【0014】S/P(シリアル/パラレル)変換回路3
は、1画素毎に2値化回路2からの出力を、映像期間カ
ウント回路4A,4Bに振分ける。PLL分周比決定回
路6は、後述する映像期間カウント回路4A,4Bより
出力されたデ−タを基に、PLL分周回路8の分周比
と、遅延回路9の遅延量を決定する。
S / P (serial / parallel) conversion circuit 3
Distributes the output from the binarization circuit 2 to the video period count circuits 4A and 4B for each pixel. The PLL frequency dividing ratio determining circuit 6 determines the frequency dividing ratio of the PLL frequency dividing circuit 8 and the delay amount of the delay circuit 9 based on the data output from the video period counting circuits 4A and 4B described later.

【0015】HD発生回路7は、入力H−SYNCの立
下がりの1クロック期間のみHレベルのパルスを発生す
る。PLL分周回路8は、入力H−SYNC×分周比の
周波数を発振する。
HD generation circuit 7 generates an H-level pulse only during one clock period of the falling edge of input H-SYNC. The PLL frequency dividing circuit 8 oscillates a frequency of input H-SYNC × frequency dividing ratio.

【0016】遅延回路9は、PLL分周回路8から発振
された周波数を、発振周波数の周期の値より小さい値に
して遅延させる。1/2分周回路10は、PLL分周回
路8から発振された周波数を1/2に分周し、後述する
カウンター(A,B)13a,13b及びカウンター2
1に与える。入力端子11a〜11cには、映像信号、
H−SYNC、V−SYNCが入力される。
The delay circuit 9 delays the frequency oscillated from the PLL frequency divider 8 to a value smaller than the period of the oscillation frequency. The 分 frequency dividing circuit 10 divides the frequency oscillated from the PLL frequency dividing circuit 8 by 、, and generates counters (A, B) 13 a and 13 b and a counter 2 described later.
Give to 1. A video signal,
H-SYNC and V-SYNC are input.

【0017】映像期間検出回路17Aは、映像期間カウ
ント回路4A,4B及び最大値検出回路5A,5Bを備
えている。
The image period detecting circuit 17A includes image period counting circuits 4A and 4B and maximum value detecting circuits 5A and 5B.

【0018】映像期間カウント回路4A,4Bは、フリ
ップフロップ回路12a,12b、カウンター(A,
B)13a,13b及びラッチ回路(A,B)14a,
14bを備えている。
The image period counting circuits 4A and 4B are composed of flip-flop circuits 12a and 12b and counters (A and
B) 13a, 13b and latch circuits (A, B) 14a,
14b.

【0019】カウンター(A,B)13a,13bは、
1/2分周回路10によって1/2に分周されたPLL
分周回路8の周波数をカウントする。ラッチ回路(A,
B)14a,14bは、SRFF(セット・リセット・
フリップ・フロップ)信号に基づいてカウンター(A,
B)13a,13bからの出力をラッチする。
The counters (A, B) 13a, 13b
PLL frequency-divided by 1/2 by 1/2 frequency dividing circuit 10
The frequency of the frequency divider 8 is counted. Latch circuit (A,
B) 14a and 14b are SRFF (set / reset /
A counter (A,
B) Latch the outputs from 13a and 13b.

【0020】最大値検出回路5A,5Bは、比較器
(A,B)15a,15b及び最大値ラッチレジスター
(A,B)16a,16bを備えている。最大値ラッチ
レジスター(A,B)16a,16bは、比較器(A,
B)15a,15bからの出力から最大値をラッチす
る。
The maximum value detection circuits 5A and 5B include comparators (A and B) 15a and 15b and maximum value latch registers (A and B) 16a and 16b. The maximum value latch registers (A, B) 16a, 16b are provided with comparators (A,
B) Latch the maximum value from the outputs from 15a and 15b.

【0021】自動位置調整回路17Bは、映像信号をク
ロック単位で遅延させことにより、目的とする位置へ映
像信号を自動調整するものであり、フリップフロップ回
路18、映像期間設定値決定回路19、比較器20、カ
ウンター21、映像メモリー22を備えている。ここ
で、目的とする位置とは、PLL分周比決定回路6によ
って決定されたPLL分周回路8による分周比のクロッ
ク数と一致する位置である。
The automatic position adjustment circuit 17B automatically adjusts the video signal to a target position by delaying the video signal in clock units. The flip-flop circuit 18, the video period set value determination circuit 19, The apparatus includes a device 20, a counter 21, and a video memory 22. Here, the target position is a position that matches the number of clocks of the frequency division ratio by the PLL frequency dividing circuit 8 determined by the PLL frequency dividing ratio determining circuit 6.

【0022】フリップフロップ回路18は、目的とする
位置へ映像信号を自動調整する際、カウンター(A,
B)13a,13bに対してSRFF(セット・リセッ
ト・フリップ・フロップ)信号を送出する。
When the flip-flop circuit 18 automatically adjusts a video signal to a target position, a counter (A,
B) Send an SRFF (set / reset / flip / flop) signal to 13a and 13b.

【0023】映像期間設定値決定回路19は、目的とす
る位置へ映像信号を自動調整するための値を決定する。
比較器20は、図4のHーCYNCの立下がりからSR
FFーQの立上がるまでの間に相当するクロックの数
と、PLL分周比決定回路6によって決定された目的の
位置に相当するクロックの数とを比較する。
The video period setting value determination circuit 19 determines a value for automatically adjusting a video signal to a target position.
Comparator 20 detects SR from the falling edge of H-SYNC in FIG.
The number of clocks corresponding to the time until the FF-Q rises is compared with the number of clocks corresponding to the target position determined by the PLL frequency division ratio determining circuit 6.

【0024】カウンター21は、PLL分周回路8から
発振された周波数を1/2に分周する1/2分周回路1
0からの周波数に基づき、映像メモリー22に記憶され
た1フレーム分の映像信号のHーCYNCの立下がりか
らSRFFーQの立上がるまでの間に相当するクロック
の数をカウントする。映像メモリー22は、1フレーム
分の映像信号を記憶する。
The counter 21 is a 1/2 frequency dividing circuit 1 for dividing the frequency oscillated from the PLL frequency dividing circuit 8 into 1/2.
Based on the frequency from 0, the number of clocks corresponding to a period from the falling edge of H-SYNC to the rising edge of SRFF-Q of the video signal for one frame stored in the video memory 22 is counted. The video memory 22 stores a video signal for one frame.

【0025】次に、このような構成の映像用クロック自
動設定装置の動作を、図2〜図7を用いて説明する。
Next, the operation of the video clock automatic setting device having such a configuration will be described with reference to FIGS.

【0026】まず、図2を用いて映像用クロック自動設
定装置の動作原理を説明する。
First, the operation principle of the video clock automatic setting device will be described with reference to FIG.

【0027】図2のように、一般的な映像信号は、V−
SYNC及びH−SYNCにより同期がとられている。
また、これらの同期信号の内側に映像信号がある。
As shown in FIG. 2, a general video signal is V-
Synchronization is achieved by SYNC and H-SYNC.
Also, there is a video signal inside these synchronization signals.

【0028】映像信号の電圧は、ブランキング期間より
も一般的に高い電圧を示す。一般的には、そのH−SY
NCから映像開始までの時間(バックポ−チ)を生かし
たクランプ回路により映像の基準を決めている。
The voltage of the video signal generally indicates a higher voltage than the blanking period. Generally, the H-SY
The reference of the image is determined by a clamp circuit utilizing the time from the NC to the start of the image (back porch).

【0029】本実施の形態では、その映像表示期間の電
圧がバックポ−チ期間より高いことに注目している。す
なわち、入力された映像信号から映像表示期間を判断
し、映像表示期間と映像DOT数とが一致するように制
御するとともに、PLL分周回路8の分周比を決定する
ようにしている。これにより、映像表示期間の最初と最
後が異なる特殊な映像を除いても、ほぼ90%以上問題
を生じないことが分った。
In the present embodiment, it is noted that the voltage during the video display period is higher than the voltage during the backporch period. That is, the video display period is determined from the input video signal, control is performed so that the video display period matches the number of video DOTs, and the frequency division ratio of the PLL frequency dividing circuit 8 is determined. As a result, it has been found that almost 90% or more of the problems do not occur even if a special image at the beginning and end of the image display period is removed.

【0030】そして、まず図1のA/D変換回路1によ
ってデジタル信号に変換された映像信号は、2値化回路
2によって2値化された後、図3の映像期間カウント回
路4A(4B)によって映像表示期間がカウントされ
る。
First, the video signal converted into a digital signal by the A / D conversion circuit 1 of FIG. 1 is binarized by the binarization circuit 2, and then the video period count circuit 4A (4B) of FIG. Thus, the video display period is counted.

【0031】すなわち、図4に示すように、入力された
映像信号は、映像の基準レベルより少し高い電圧で2値
化される。2値化信号のままでは黒レベルの場所がLO
Wとなる。そこで、図3の映像期間カウント回路4A
(4B)により、黒レベルの場所がLOWとなることの
補正が行われる。
That is, as shown in FIG. 4, the input video signal is binarized at a voltage slightly higher than the reference level of the video. When the binary signal is used, the black level is
W. Therefore, the image period counting circuit 4A of FIG.
By (4B), the correction that the location of the black level becomes LOW is performed.

【0032】すなわち、H−SYNCでフリップフロッ
プ回路12a,12bのSRFF(セット・リセット・
フリップ・フロップ)信号のQがLレベルとなると、カ
ウンター13a(13b)はクリアーされる。次いで、
2値化レベルの最初の立上がりでSRFF信号をHレベ
ルとすると、カウンター13a(13b)がカウントを
開始する。
That is, the SRFF (set / reset / reset) of the flip-flop circuits 12a and 12b is controlled by H-SYNC.
When the Q of the (flip flop) signal becomes L level, the counter 13a (13b) is cleared. Then
When the SRFF signal is set to the H level at the first rising of the binarization level, the counter 13a (13b) starts counting.

【0033】また、カウンター13a(13b)におけ
るクロックは、PLL分周回路8で生成された周波数が
用いられる。そして、ラッチ回路14a(14b)によ
り、カウンター13a(13b)のカウント値が2値化
のHレベルの間ラッチされる。
As the clock in the counter 13a (13b), the frequency generated by the PLL frequency divider 8 is used. Then, the count value of the counter 13a (13b) is latched by the latch circuit 14a (14b) during the binarized H level.

【0034】ここで、図4のaのタイミングで読出した
ラッチ回路14a(14b)のラッチ出力は、PLL分
周回路8の分周比が合っていれば映像表示期間(水平表
示DOT数)と同じ値になる。実際には、カウンター1
3a(13b)は、0からカウントを開始するため、カ
ウント開始時は水平表示DOT数−1となる。
Here, the latch output of the latch circuit 14a (14b) read out at the timing of FIG. 4A is equal to the video display period (the number of horizontal display DOTs) if the frequency division ratio of the PLL frequency divider 8 is correct. Have the same value. Actually, Counter 1
Since 3a (13b) starts counting from 0, the horizontal display DOT number is -1 at the start of counting.

【0035】ちなみに、映像表示期間が各水平毎に一定
しない(左右の端の部分に黒がある)場合は、1ライン
の値のみでは正確な結果が得られない。
Incidentally, when the video display period is not constant for each horizontal line (there is black at the right and left ends), an accurate result cannot be obtained only with the value of one line.

【0036】そのため、図5に示すように、最大値検出
回路5A(5B)によって検出された水平映像表示期間
の最大値により、水平映像表示期間が判断される。この
とき、1V−SYNCの期間中の水平映像表示期間が、
数ライン又は全ライン検出される。
Therefore, as shown in FIG. 5, the horizontal image display period is determined based on the maximum value of the horizontal image display period detected by the maximum value detection circuit 5A (5B). At this time, the horizontal video display period during the 1V-SYNC period is
Several or all lines are detected.

【0037】ここで、図5の最大値ラッチレジスター1
6a(16b)の内容は、V−SYNCでクリアーされ
る。そして、比較器15a(15b)により、図3の映
像期間カウント回路4A(4B)から各水平毎に出力さ
れる数と、いままでの水平画素数とが比較され、新たな
数が多ければ最大値ラッチレジスター16a(16b)
の値が変えられる。
Here, the maximum value latch register 1 shown in FIG.
The content of 6a (16b) is cleared by V-SYNC. Then, the comparator 15a (15b) compares the number output for each horizontal from the video period counting circuit 4A (4B) of FIG. 3 with the number of horizontal pixels up to now. Value latch register 16a (16b)
Can be changed.

【0038】これを、次のV−SYNCの手前まで行う
と、水平最大画素数の値が最大値ラッチレジスター16
a(16b)によってラッチされる。このラッチされた
値に基づき、図1のPLL分周比決定回路6により、次
のPLL分周回路8の分周比が決定される。
When this operation is performed up to the point just before the next V-SYNC, the value of the horizontal maximum pixel number becomes the maximum value latch register 16.
a (16b). Based on this latched value, the PLL dividing ratio determining circuit 6 of FIG. 1 determines the next dividing ratio of the PLL dividing circuit 8.

【0039】すなわち、PLL分周比決定回路6は、最
大値ラッチレジスター16a(16b)によってラッチ
された値を水平表示DOT数と比較する。このとき、水
平表示DOT数より小さければPLL分周回路8の分周
比を多くし、大きければ少なくする。
That is, the PLL frequency division ratio determining circuit 6 compares the value latched by the maximum value latch register 16a (16b) with the number of horizontal display DOTs. At this time, if the number is smaller than the horizontal display DOT number, the frequency dividing ratio of the PLL frequency dividing circuit 8 is increased, and if it is larger, the frequency dividing ratio is decreased.

【0040】このとき、図3の映像期間カウント回路4
A(4B)は、図6に示すように、2つ設けられている
ため、映像信号とPLL分周回路8で生成されたクロッ
クの位相差によるズレを検出することができる。
At this time, the video period counting circuit 4 shown in FIG.
As shown in FIG. 6, two A (4B) are provided, so that a deviation due to a phase difference between the video signal and the clock generated by the PLL frequency dividing circuit 8 can be detected.

【0041】すなわち、S/P(シリアル/パラレル)
変換回路3からの出力の映像表示期間は、映像期間カウ
ント回路4A,4Bのカウンター13a,13bによっ
てカウントされる。
That is, S / P (serial / parallel)
The video display period of the output from the conversion circuit 3 is counted by the counters 13a and 13b of the video period counting circuits 4A and 4B.

【0042】このとき、以下の4つの条件が1つでも成
立した場合、PLL分周回路8の分周比は、各条件での
±2とした前の状態に戻される。また、遅延回路9によ
って、カウンター13a,13bが水平表示付近になる
ようPLL分周回路8の生成するクロックに遅延(ディ
レー)がかけられる。これにより、クロックのズレがな
くなる。
At this time, if at least one of the following four conditions is satisfied, the frequency division ratio of the PLL frequency divider 8 is returned to the state before ± 2 under each condition. Further, the clock generated by the PLL frequency dividing circuit 8 is delayed (delayed) by the delay circuit 9 so that the counters 13a and 13b are in the vicinity of the horizontal display. This eliminates the clock shift.

【0043】(条件1)カウンター(A)13aが水平
表示期間1/2と同じになり、カウンター(B)13b
が水平表示期間−1のときに、PLL分周回路8の分周
比を+2とする。PLL分周回路8のロックを確認して
カウンター(A,B)13a,13bを読出したとき、
カウンター(A)13aが水平表示期間+1でカウンタ
ー(B)13bが水平表示期間になった。
(Condition 1) The counter (A) 13a becomes the same as the horizontal display period 1/2, and the counter (B) 13b
Is the horizontal display period-1, the frequency division ratio of the PLL frequency divider 8 is set to +2. When the lock of the PLL frequency divider 8 is confirmed and the counters (A, B) 13a and 13b are read,
The counter (A) 13a has a horizontal display period of +1 and the counter (B) 13b has a horizontal display period.

【0044】(条件2)カウンター(B)13bが水平
表示期間と同じになり、カウンター(A)13aが水平
表示期間−1のときに、PLL分周回路8の分周比を+
2とする。PLL分周回路8のロックを確認してカウン
ター(A,B)13a,13bを読出したとき、カウン
ター(B)13bが水平表示期間+1でカウンター
(A)13aが水平表示期間になった。
(Condition 2) When the counter (B) 13b becomes the same as the horizontal display period and the counter (A) 13a is in the horizontal display period -1, the division ratio of the PLL frequency divider 8 is set to +
Let it be 2. When the counters (A, B) 13a and 13b are read out after confirming the lock of the PLL frequency dividing circuit 8, the counter (B) 13b is in the horizontal display period +1 and the counter (A) 13a is in the horizontal display period.

【0045】(条件3)カウンター(A)13aが水平
表示期間と同じになり、カウンター(B)13bが水平
表示期間−1のときに、PLL分周回路8の分周比を−
2とする。PLL分周回路8のロックを確認してカウン
ター(A,B)13a,13bを読出したとき、カウン
ター(A)13aが水平表示期間+1でカウンター
(B)13bが水平表示期間になった。
(Condition 3) When the counter (A) 13a is the same as the horizontal display period and the counter (B) 13b is in the horizontal display period -1, the frequency division ratio of the PLL frequency divider 8 is set to-
Let it be 2. When the counters (A, B) 13a and 13b are read out after confirming the lock of the PLL frequency dividing circuit 8, the counter (A) 13a is in the horizontal display period +1 and the counter (B) 13b is in the horizontal display period.

【0046】(条件4)カウンター(B)13bが水平
表示期間と同じになり、カウンター(A)13aが水平
表示期間−1のときに、PLL分周回路8の分周比を−
2とする。PLL分周回路8のロックを確認してカウン
ター(A,B)13a,13bを読出したとき、カウン
ター(B)13bが水平表示期間+1でカウンター
(A)13aが水平表示期間になった。
(Condition 4) When the counter (B) 13b becomes the same as the horizontal display period and the counter (A) 13a is in the horizontal display period -1, the frequency division ratio of the PLL frequency divider 8 is set to-
Let it be 2. When the counters (A, B) 13a and 13b are read out after confirming the lock of the PLL frequency dividing circuit 8, the counter (B) 13b is in the horizontal display period +1 and the counter (A) 13a is in the horizontal display period.

【0047】次に、図1の自動位置調整回路17Bの動
作について説明する。
Next, the operation of the automatic position adjusting circuit 17B of FIG. 1 will be described.

【0048】上述したように、H−SYNC当たりの映
像表示画素数からH−SYNC当たりの総画素数が検出
される。この課程で、図7に示すように、A点からB点
までのPLL分周回路8で発振されるクロック数が分か
る。
As described above, the total number of pixels per H-SYNC is detected from the number of video display pixels per H-SYNC. In this process, as shown in FIG. 7, the number of clocks oscillated by the PLL frequency dividing circuit 8 from the point A to the point B can be determined.

【0049】これは、図4のH−SYNCの立下がりか
らSRFFーQの立上がるまでの間に相当する。このク
ロックの数とPLL分周比決定回路6によって決定され
た目的の位置とから、映像信号をクロック単位で遅延さ
せことにより、目的とする位置へ映像信号を自動調整す
ることが可能となる。
This corresponds to the period from the fall of H-SYNC to the rise of SRFF-Q in FIG. By delaying the video signal in clock units from the number of clocks and the target position determined by the PLL frequency division ratio determining circuit 6, it is possible to automatically adjust the video signal to the target position.

【0050】すなわち、カウンター21により、PLL
分周回路8から発振された周波数を1/2に分周する1
/2分周回路10からの周波数に基づき、映像メモリー
22に記憶された1フレーム分の映像信号のHーCYN
Cの立下がりからSRFFーQの立上がるまでの間に相
当するクロックの数がカウントされる。
That is, the PLL is controlled by the counter 21.
1 that divides the frequency oscillated from the frequency dividing circuit 8 by half
H-CYN of the video signal for one frame stored in the video memory 22 based on the frequency from the frequency divider 10
The number of clocks corresponding to the period from the fall of C to the rise of SRFF-Q is counted.

【0051】次いで、比較器20により、図7のH−S
YNCの立下がりからSRFFーQの立上がるまでの間
に相当するクロックの数と、PLL分周比決定回路6に
よって決定された目的の位置に相当するクロックの数と
が比較される。
Next, the comparator 20 calculates the HS of FIG.
The number of clocks corresponding to the period from the falling of YNC to the rising of SRFF-Q is compared with the number of clocks corresponding to the target position determined by the PLL frequency division ratio determining circuit 6.

【0052】そして、映像期間設定値決定回路19によ
り、比較器20からの比較出力に基づき、映像信号をク
ロック単位で遅延させことで、目的とする位置へ映像信
号が自動調整される。
Then, based on the comparison output from the comparator 20, the video signal is automatically adjusted to a target position by delaying the video signal in clock units by the video period set value determination circuit 19.

【0053】このように、本実施の形態では、PLL分
周回路8からの周波数に基づき、A/D変換回路1によ
ってデジタルに変換された映像信号に対し、2値化回路
2によって2値化処理を行い、S/P(シリアル/パラ
レル)変換回路3によって2値化処理された信号を1画
素毎に振分けた後、映像期間検出回路17Aによって振
分けられた1画素毎の映像表示期間を検出するととも
に、PLL分周比決定回路6によって、映像期間検出回
路17Aの出力と、PLL分周回路8の分周比とを比較
し、分周比を映像期間検出回路17Aの出力に合うよう
に決定するようにしたので、PLL分周回路8の分周比
の設定を容易かつ確実に行うことができる。
As described above, in the present embodiment, the video signal converted into digital by the A / D converter 1 based on the frequency from the PLL frequency divider 8 is binarized by the binarization circuit 2. After performing the processing, the signal binarized by the S / P (serial / parallel) conversion circuit 3 is distributed for each pixel, and then the video display period for each pixel distributed by the video period detection circuit 17A is detected. At the same time, the output of the video period detecting circuit 17A is compared with the dividing ratio of the PLL frequency dividing circuit 8 by the PLL dividing ratio determining circuit 6 so that the dividing ratio matches the output of the video period detecting circuit 17A. Since the determination is made, the frequency division ratio of the PLL frequency divider 8 can be set easily and reliably.

【0054】また、自動位置調整回路17Bにより、図
4のH−SYNCの立下がりからSRFFーQの立上が
るまでの間に相当するクロックの数と、PLL分周比決
定回路6によって決定された目的の位置とから、映像信
号をクロック単位で遅延させるようにしたので、目的と
する位置へ映像信号を自動調整することが可能となる。
The number of clocks corresponding to the period from the falling edge of H-SYNC to the rising edge of SRFF-Q in FIG. 4 and the PLL dividing ratio determining circuit 6 determine the number of clocks by the automatic position adjusting circuit 17B. Since the video signal is delayed in clock units from the target position, the video signal can be automatically adjusted to the target position.

【0055】なお、本実施の形態では、映像期間検出回
路17Aの映像期間カウント回路4A,4Bを2個とし
た場合について説明したが、これに限らず、4個以上と
することもできる。
In the present embodiment, the case where the number of the image period counting circuits 4A and 4B of the image period detecting circuit 17A is two has been described. However, the present invention is not limited to this, and may be four or more.

【0056】[0056]

【発明の効果】以上の如く本発明に係る映像用クロック
自動設定装置及びその自動設定方法によれば、PLL分
周手段からの周波数に基づき、A/D変換手段によって
デジタルに変換された映像信号に対し、2値化手段によ
って2値化処理を行い、シリアル/パラレル変換手段に
よって2値化処理された信号を1画素毎に振分けた後、
映像期間検出手段によって振分けられた1画素毎の映像
表示期間を検出するとともに、PLL分周比決定手段に
よって、映像期間検出手段の出力と、PLL分周手段の
分周比とを比較し、分周比を映像期間検出手段の出力に
合うように決定するようにしたので、PLL分周回路の
分周比の設定を容易かつ確実に行うことができる。
As described above, according to the video clock automatic setting apparatus and the automatic setting method according to the present invention, the video signal converted into digital by the A / D conversion means based on the frequency from the PLL frequency dividing means. On the other hand, after the binarization processing is performed by the binarization means and the signal subjected to the binarization processing by the serial / parallel conversion means is distributed for each pixel,
In addition to detecting the video display period for each pixel allocated by the video period detection unit, the output of the video period detection unit is compared with the frequency division ratio of the PLL frequency division unit by the PLL frequency division ratio determination unit. Since the division ratio is determined so as to match the output of the video period detection means, the division ratio of the PLL divider circuit can be set easily and reliably.

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

【図1】本発明の映像用クロック自動設定装置の一実施
の形態を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of an automatic video clock setting device of the present invention.

【図2】図1の映像用クロック自動設定装置の動作原理
を説明するための図である。
FIG. 2 is a diagram for explaining the operation principle of the video clock automatic setting device of FIG. 1;

【図3】図1の映像期間カウント回路を説明するための
ブロック図である。
FIG. 3 is a block diagram for explaining a video period counting circuit of FIG. 1;

【図4】図3の映像期間カウント回路の動作原理を説明
するための図である。
FIG. 4 is a diagram for explaining the operation principle of the video period counting circuit of FIG. 3;

【図5】図1の最大値検出回路を説明するためのブロッ
ク図である。
FIG. 5 is a block diagram for explaining a maximum value detection circuit in FIG. 1;

【図6】図3の映像期間カウント回路を説明するための
ブロック図である。
FIG. 6 is a block diagram for explaining the video period counting circuit of FIG. 3;

【図7】図1の映像用クロック自動設定装置の動作を説
明するための図である。
FIG. 7 is a diagram for explaining the operation of the video clock automatic setting device of FIG. 1;

【符号の説明】 1 A/D変換回路 2 2値化回路 3 S/P(シリアル/パラレル)変換回路 4A,4B 映像期間カウント回路 5A,5B 最大値検出回路 6 PLL分周比決定回路 7 HD発生回路 8 PLL分周回路 9 遅延回路 10 1/2分周回路 11a〜11c 入力端子 12a,12b フリップフロップ回路 13a,13b カウンター(A,B) 14a,14b ラッチ回路(A,B) 15a,15b 比較器(A,B) 16a,16b 最大値ラッチレジスター(A,B) 17A 映像期間検出回路 17B 自動位置調整回路 18 フリップフロップ回路 19 映像期間設定値決定回路 20 比較器 21 カウンター 22 映像メモリー[Description of Signs] 1 A / D conversion circuit 2 Binarization circuit 3 S / P (serial / parallel) conversion circuit 4A, 4B Video period count circuit 5A, 5B Maximum value detection circuit 6 PLL frequency division ratio determination circuit 7 HD Generator 8 PLL frequency divider 9 Delay circuit 10 1/2 frequency divider 11a to 11c Input terminals 12a, 12b Flip-flop circuits 13a, 13b Counters (A, B) 14a, 14b Latch circuits (A, B) 15a, 15b Comparator (A, B) 16a, 16b Maximum value latch register (A, B) 17A Video period detection circuit 17B Automatic position adjustment circuit 18 Flip-flop circuit 19 Video period setting value determination circuit 20 Comparator 21 Counter 22 Video memory

フロントページの続き (72)発明者 佐藤 一生 東京都練馬区桜台4丁目2番地8号飯田 ビル2F エレクトロ・システム株式会 社内 (56)参考文献 特開 平3−97376(JP,A) 特開 平9−297555(JP,A) 特開 平5−27736(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 5/14 - 5/217 G09G 1/16 Continuation of front page (72) Inventor Kazuo Sato 4-2-8 Sakuradai, Nerima-ku, Tokyo Iida Building 2F Electro System Co., Ltd. In-house (56) References JP-A-3-97376 (JP, A) JP-A Heihei 9-297555 (JP, A) JP-A-5-27736 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 5/14-5/217 G09G 1/16

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 アナログ映像信号をデジタル化する際の
一定の周波数を生成するPLL分周手段と、 前記アナログ映像信号を、前記周波数に基づきデジタル
信号に変換するA/D変換手段と、 前記A/D変換手段によってデジタルに変換された信号
に対し、2値化処理を行う2値化手段と、 前記2値化手段によって2値化処理された信号を、1画
素毎に振分けるシリアル/パラレル変換手段と、前記シリアル/パラレル変換手段によって振分けられた
1画素毎の映像表示期間のクロック数をカウントする第
1及び第2の映像期間カウント回路と、これら第1及び
第2の映像期間カウント回路に対応し、1V−SYNC
の期間中の水平映像表示期間の最大値を、数ライン又は
全ラインに渡って検出する第1及び第2の最大値検出回
路とを有し、前記カウントの結果から前記1画素毎の映
像表示期間を検出するとともに、前記映像表示期間が各
水平毎に一定しない場合に前記水平映像表示期間の最大
値から前記水平映像表示期間を検出する 映像期間検出手
段と、前記検出された第1及び第2の映像期間カウント回路の
出力と前記第1及び第2の最大値検出回路からの出力と
を比較し、前記第1及び第2の映像期間カウント回路の
出力が前記第1及び第2の最大値検出回路からの出力よ
り小さければ前記PLL分周手段の分周比を多くし、逆
の場合は前記PLL分周手段の分周比を小さくするよう
に前記分周比を決定する PLL分周比決定手段とを備え
ることを特徴とする映像用クロック自動設定装置。
1. A PLL frequency dividing means for generating a constant frequency when digitizing an analog video signal; A / D converting means for converting the analog video signal into a digital signal based on the frequency; A binarizing unit for performing a binarizing process on the signal converted into a digital signal by the / D converting unit; a serial / parallel for distributing the signal binarized by the binarizing unit for each pixel Conversion means and the serial / parallel conversion means
Count the number of clocks in the video display period for each pixel
First and second video period counting circuits;
1V-SYNC corresponding to the second video period count circuit
The maximum value of the horizontal video display period during the period of
First and second maximum value detection times detected over all lines
And an image for each pixel from the result of the counting.
While detecting the image display period, the image display period
The maximum of the horizontal video display period when it is not constant for each horizontal
A video period detecting means for detecting the horizontal video display period from the value, and a first and a second video period counting circuit.
Output and output from the first and second maximum value detection circuits.
And comparing the first and second video period count circuits.
The output is different from the output from the first and second maximum value detection circuits.
If it is smaller, the frequency division ratio of the PLL frequency dividing means is increased,
In this case, the frequency division ratio of the PLL frequency dividing means should be reduced.
And a PLL frequency dividing ratio determining means for determining the frequency dividing ratio.
【請求項2】 前記第1及び第2の映像期間カウント回
路には、 前記A/D変換手段によってデジタル信号に変換された
映像信号の映像表示期間のクロック数をカウントするカ
ウンターと、 前記2値化手段からの出力がHレベルの間、前記カウン
ターからの出力をラッチするラッチ回路とが設けられて
いることを特徴とする請求項1に記載の映像用クロック
自動設定装置。
2. The image processing apparatus according to claim 1, wherein the first and second video period counting circuits include a counter for counting the number of clocks in a video display period of the video signal converted into a digital signal by the A / D converter. 2. An automatic video clock setting device according to claim 1 , further comprising a latch circuit for latching an output from said counter while an output from said converting means is at H level.
【請求項3】 前記第1及び第2の最大値検出回路に
は、 前記第1及び第2の映像期間カウント手段から各水平期
間毎に出力される数と、現時点での水平画素数とを比較
する比較器と、 前記最大値をラッチする最大値ラッチレジスターとが設
けられていることを特徴とする請求項1に記載の映像用
クロック自動設定装置。
3. The first and second maximum value detection circuits include a number output from the first and second video period counting means for each horizontal period and a current number of horizontal pixels. The video clock automatic setting device according to claim 1 , further comprising a comparator for comparing, and a maximum value latch register for latching the maximum value.
【請求項4】 H−SYNCの立下がり又は立上がりか
ら次の前記H−SYNCの立下がり又は立上がりの間の
前記映像表示期間は、自動位置調整手段によって自動調
整されることを特徴とする請求項1〜3の何れかに記載
の映像用クロック自動設定装置。
The image display period between the fall or rise of 4. H-SYNC following the H-SYNC falling or the rising of the claims, characterized in that it is automatically adjusted by the automatic position adjustment means The video clock automatic setting device according to any one of claims 1 to 3 .
【請求項5】 前記自動位置調整手段は、 前記A/D変換手段によってデジタルに変換された信号
を、1フレーム分記憶する映像メモリーと、 前記映像メモリーに記憶された1フレーム分の映像信号
のH−SYNCの立下がりから前記映像表示期間までの
間に相当するクロックの数をカウントするカウンター
と、 前記カウンターの出力と、前記PLL分周比決定手段に
よって決定されたクロックの数とを比較する比較器と、 前記比較器による比較結果に基づき、前記H−SYNC
の立下がり又は立上がりから次の前記H−SYNCの立
下がり又は立上がりの間の前記映像表示期間の位置を調
整するための設定値を決定する映像期間設定値決定回路
とを備えることを特徴とする請求項4に記載の映像用ク
ロック自動設定装置。
5. The automatic position adjusting means comprises: a video memory for storing one frame of a signal converted into a digital signal by the A / D conversion means; and a video signal for one frame stored in the video memory. A counter for counting the number of clocks corresponding to a period from the fall of H-SYNC to the video display period; and comparing the output of the counter with the number of clocks determined by the PLL frequency division ratio determining means. A comparator, and based on the comparison result by the comparator, the H-SYNC
And a video period set value determining circuit for determining a set value for adjusting the position of the video display period between the fall or the rise of the H-SYNC and the fall or the rise of the next H-SYNC. The video clock automatic setting device according to claim 4 .
【請求項6】 アナログ映像信号をデジタル化する際の
一定の周波数を生成する工程と、 前記アナログ映像信号を、前記周波数に基づきデジタル
信号に変換する工程と、 前記A/D変換手段によってデジタルに変換された信号
に対し、2値化処理を行う工程と、 2値化手段によって2値化処理された信号を、1画素毎
に振分ける工程と、 前記振分けられた1画素毎の映像表示期間のクロック数
のカウント結果から前記1画素毎の映像表示期間を検出
するとともに、前記映像表示期間が各水平毎に一定しな
い場合に1V−SYNCの期間中の水平映像表示期間の
最大値から前記水平映像表示期間を検出する工程と、 前記検出された1画素毎の映像表示期間と前記最大値か
ら検出された水平映像表示期間とを比較し、前記1画素
毎の映像表示期間が前記水平映像表示期間より小さけれ
ば前記周波数の分周比を多くし、逆の場合は前記周波数
の分周比を小さくするように前記分周比を決定する工程
を備えることを特徴とする映像用クロック自動設定装
置の自動設定方法。
6. A step of generating a constant frequency when digitizing an analog video signal, a step of converting the analog video signal into a digital signal based on the frequency, and converting the analog video signal into a digital signal by the A / D conversion means. to converted signals, and performing binarization processing, the binarization signal by binarizing means, the steps of allocating to each pixel, the image display period of each pixel, which is the distribution Number of clocks
The video display period of each pixel is detected from the count result of
And the video display period is not constant for each horizontal
The horizontal video display period during the 1V-SYNC period
Detecting the horizontal image display period from a maximum value; and determining the detected image display period for each pixel and the maximum value.
Is compared with the horizontal image display period detected from the
Each video display period is shorter than the horizontal video display period
If the frequency division ratio of the frequency is increased,
Determining the frequency division ratio so as to reduce the frequency division ratio
And an automatic setting method for the video clock automatic setting device.
【請求項7】 前記2値化処理された出力がHレベルの
間、前記カウントされた出力をラッチする工程が含まれ
ることを特徴とする請求項6に記載の映像用クロック自
動設定装置の自動設定方法。
7. During the binarized output is at the H level, the automatic video clock automatic setting device according to claim 6, characterized in that includes the step of latching the count output Setting method.
【請求項8】 前記水平期間毎に出力されるカウントの
数と、現時点での水平画素数とを比較する工程と、 前記最大値をラッチする工程とが含まれることを特徴と
する請求項6に記載の映像用クロック自動設定装置の自
動設定方法。
8. claims, characterized the number of counts is output to each of the horizontal period, and comparing the number of horizontal pixels in the current, to include a step of latching the maximum value 6 3. The automatic setting method of the video clock automatic setting device according to 1.
【請求項9】 H−SYNCの立下がり又は立上がりか
ら次の前記H−SYNCの立下がり又は立上がりの間の
前記映像表示期間を、自動調整する工程が含まれること
を特徴とする請求項6〜8に記載の映像用クロック自動
設定装置の自動設定方法。
9. The method according to claim 6, further comprising the step of automatically adjusting the video display period from the fall or rise of H-SYNC to the fall or rise of the next H-SYNC . 9. The automatic setting method of the video clock automatic setting device according to 8 .
【請求項10】 前記デジタルに変換された信号を、1
フレーム分記憶する工程と、 前記記憶された1フレーム分の映像信号のH−SYNC
の立下がりから前記映像表示期間までの間に相当するク
ロックの数をカウントする工程と、 前記カウントの出力と、前記分周比の決定されたクロッ
クの数とを比較する工程と、 前記比較結果に基づき、前記H−SYNCの立下がり又
は立上がりから次の前記H−SYNCの立下がり又は立
上がりの間の前記映像表示期間の位置を調整するための
設定値を決定する工程とが含まれることを特徴とする
求項9に記載の映像用クロック自動設定装置の自動設定
方法。
10. The digitally converted signal is
A step of storing frames, and an H-SYNC of the stored video signal of one frame.
A step of counting the number of corresponding clock period from the fall to the image display period, and the output of the count, a step of comparing the number of the division ratio determined clock, the comparison result the basis, to include determining a set value for adjusting the position of the image display period between the H-SYNC falling or the rising of the next the H-SYNC falling or rising of Special features
An automatic setting method for the video clock automatic setting device according to claim 9 .
JP10331099A 1999-04-09 1999-04-09 Video clock automatic setting device and automatic setting method thereof Expired - Fee Related JP3306020B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10331099A JP3306020B2 (en) 1999-04-09 1999-04-09 Video clock automatic setting device and automatic setting method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10331099A JP3306020B2 (en) 1999-04-09 1999-04-09 Video clock automatic setting device and automatic setting method thereof

Publications (2)

Publication Number Publication Date
JP2000295494A JP2000295494A (en) 2000-10-20
JP3306020B2 true JP3306020B2 (en) 2002-07-24

Family

ID=14350651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10331099A Expired - Fee Related JP3306020B2 (en) 1999-04-09 1999-04-09 Video clock automatic setting device and automatic setting method thereof

Country Status (1)

Country Link
JP (1) JP3306020B2 (en)

Also Published As

Publication number Publication date
JP2000295494A (en) 2000-10-20

Similar Documents

Publication Publication Date Title
US5933196A (en) Pixel conversion apparatus
JPH0946619A (en) Video signal processor and display system
US6385267B1 (en) System and method for locking disparate video formats
JP3487803B2 (en) Adjustment method of sampling clock and interface circuit for digital display device
US6621480B1 (en) Phase adjuster, phase adjusting method and display device
US5874846A (en) Method and apparatus for frequency generation in a synchronous system
US7193600B2 (en) Display device and pixel corresponding display device
JP3306020B2 (en) Video clock automatic setting device and automatic setting method thereof
US7710501B1 (en) Time base correction and frame rate conversion
JP2004254007A (en) Jitter canceling method and apparatus
US6587139B1 (en) Device for measuring period of synchronizing signal and display device
KR20010070301A (en) Synchronous frequency converting circuit
US4701800A (en) Scanning line position control system for shifting the position of scanning lines to improve photographic reproduction quality
KR19990044779A (en) Digital deflection processing apparatus for cathode ray tube and its deflection processing method
US5966184A (en) Video synchronizing signal generator
WO1998043439A9 (en) Video synchronizing signal generator
US6433829B1 (en) Signal processing apparatus for setting up vertical blanking signal of television set
US7298418B2 (en) Method and system for processing in a non-line locked system
EP0842579A1 (en) Method and apparatus for digitizing video signals especially for flat panel lcd displays
JPH10340074A (en) Image signal processing circuit
EP1071281A1 (en) Automatic luminance adjustment device and method
JP2000156795A (en) Sampling clock automatic adjustment device
EP0547882A1 (en) Method and apparatus for determining the average picture level of a video signal
JP2543262B2 (en) Video signal blanking processing device
JP3662997B2 (en) Video control signal output device between digital encoder and frame buffer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees