JP2000244768A - Video signal processing circuit - Google Patents

Video signal processing circuit

Info

Publication number
JP2000244768A
JP2000244768A JP11045064A JP4506499A JP2000244768A JP 2000244768 A JP2000244768 A JP 2000244768A JP 11045064 A JP11045064 A JP 11045064A JP 4506499 A JP4506499 A JP 4506499A JP 2000244768 A JP2000244768 A JP 2000244768A
Authority
JP
Japan
Prior art keywords
signal
sampling clock
phase
video signal
video
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
JP11045064A
Other languages
Japanese (ja)
Inventor
Akihiro Kimura
明浩 木村
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.)
Nippon Avionics Co Ltd
Original Assignee
Nippon Avionics 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 Nippon Avionics Co Ltd filed Critical Nippon Avionics Co Ltd
Priority to JP11045064A priority Critical patent/JP2000244768A/en
Publication of JP2000244768A publication Critical patent/JP2000244768A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent degradation of video quality after A/D conversion. SOLUTION: A sampling clock CLK synchronized with variable phase synchronizing signals CHSYNC is generated by using a PLL circuit 1, a clock 1/2CLK is generated by frequency dividing the sampling clock CLK by 2 and the clock 1/2CLK is latched by delay edge signals S2 for which the edge of the front side of video signals VIDEO is delayed for the 1/2 cycle of the sampling clock CLK. The latched judgment signals S3 are integrated, synchronizing signals HSYNC from the outside are sampled corresponding to the level of the integrated judgment signals S4 and the variable phase synchronizing signals CHSYNC are generated.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、映像信号処理回路
に係り、特に映像信号の同期信号を受け入れ、この同期
信号に応じて生成される映像信号処理の基となるサンプ
リングクロックの位相を自動的に調整する回路に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video signal processing circuit, and more particularly to a video signal processing circuit which accepts a synchronizing signal of a video signal and automatically adjusts a phase of a sampling clock which is generated based on the synchronizing signal. To a circuit that adjusts to

【0002】[0002]

【従来の技術】マルチメディア時代を迎え、例えば、テ
レビジョン信号やパーソナルコンピュータのRGBビデ
オ信号をプロジェクタに取り込んで大画面で表示した
り、プリンタでプリントアウトする場合など、映像信号
処理においてデジタル信号処理が採用されるようになっ
てきている。このテレビジョン信号やパーソナルコンピ
ュータのRGBビデオ信号は通常アナログ信号であるの
で、デジタル信号処理を行うにはA/D変換を行い、デ
ジタル映像信号に変換する必要がある。このためには、
映像信号に同期したサンプリングクロックが必要であ
り、通常の場合フェーズ・ロックド・ループ(以下、P
LLという。)回路を設け、同期信号に同期したサンプ
リングクロックを生成している。
2. Description of the Related Art In the era of multimedia, digital signal processing is used in video signal processing, for example, when a television signal or an RGB video signal of a personal computer is taken into a projector and displayed on a large screen or printed out by a printer. Is being adopted. Since the television signal and the RGB video signal of a personal computer are usually analog signals, it is necessary to perform A / D conversion to convert the signals into digital video signals in order to perform digital signal processing. To do this,
A sampling clock synchronized with the video signal is required, and usually a phase locked loop (hereinafter referred to as P
Called LL. ) Circuit is provided to generate a sampling clock synchronized with the synchronization signal.

【0003】テレビジョン信号やパーソナルコンピュー
タのRGBビデオ信号は方式が別であり、またパーソナ
ルコンピュータではさまざまな画面モードを選択できる
ようになっている。ここで、映像信号処理回路は複数方
式の映像信号に対応できればそれだけ汎用性が増し、有
用な回路となる。ところが、このPLL回路をそのまま
用いると、生成したサンプリングクロックは入力同期信
号と一義的に一定の位相関係になるだけで、映像信号を
サンプリングするのに最適な位相関係にはならないとい
う問題点があった。
[0003] Television signals and RGB video signals of personal computers have different systems, and various screen modes can be selected in personal computers. Here, if the video signal processing circuit can cope with video signals of a plurality of systems, the versatility is increased correspondingly and the video signal processing circuit becomes a useful circuit. However, if this PLL circuit is used as it is, there is a problem that the generated sampling clock has only a fixed phase relationship uniquely with the input synchronization signal, but does not have an optimal phase relationship for sampling a video signal. Was.

【0004】これは、例えば、パーソナルコンピュータ
の機種による映像信号のピクセルクロックの周波数やタ
イミングなどの相異、また接続ケーブル長による映像信
号の鈍りなどの相異によって引き起こされるものであ
り、適切な位相で映像信号をサンプリングすることがで
きないままだとA/D変換後の映像品質が大きく劣化す
ることになってしまう。図5はこの様子を示す図で、
(A)は映像信号、(B)、(C)はサンプリングクロ
ックである。図5(C)のような位相のサンプリングク
ロックの場合はA/D変換後の映像品質は良いものとな
り、(B)のような位相のサンプリングクロックの場合
はその映像品質は悪いものとなる。このような問題点を
解決するために、PLL回路で生成されたサンプリング
クロックを予め決められた時間(2〜3ns)遅延させ
る遅延回路を多段設け、遅延サンプリングクロック群を
生成し、その中から映像信号をサンプリングに最適な位
相のサンプリングクロックを選択することで位相を調整
する方法が提案されている。
This is caused by, for example, differences in the frequency and timing of the pixel clock of the video signal depending on the type of personal computer, and differences such as dullness of the video signal due to the length of the connection cable. If the video signal cannot be sampled by the above method, the video quality after A / D conversion will be greatly deteriorated. FIG. 5 shows this state.
(A) is a video signal, and (B) and (C) are sampling clocks. In the case of a sampling clock having a phase as shown in FIG. 5C, the video quality after A / D conversion is good, and in the case of a sampling clock having a phase as shown in FIG. 5B, the video quality is poor. In order to solve such a problem, multiple stages of delay circuits for delaying the sampling clock generated by the PLL circuit for a predetermined time (2 to 3 ns) are provided, and a group of delayed sampling clocks is generated. There has been proposed a method of adjusting the phase by selecting a sampling clock having an optimal phase for sampling a signal.

【0005】この従来の方法について図6〜図9を用い
て説明する。図6は従来の映像信号処理回路のブロック
図であり、図7はその要部タイミングチャート、図8、
9はサンプリングクロックの自動位相調整動作を説明す
るフローチャートである。図6において、1はPLL回
路からなり、入力同期信号SYNCに同期したクロック
CLKを生成するクロック生成部、2はクロック生成部
1からのクロックCLKを一段当たり2〜3ns遅延さ
せ、位相をずらす遅延部が多段接続された多段クロック
遅延回路21と、そこから得られた複数のサンプリング
クロックSCLK〜SCLKを受け選択信号SEL
により一つのサンプリングクロックSCLKを選択す
る選択回路22からなるクロック位相ずらし部、3は入
力映像信号をサンプリングSCLKによりA/D変換
するA/D変換部、4はデジタル変換された映像信号を
フレーム単位で格納するフレームメモリ部、5は前記選
択信号SELを生成し、フレームメモリ4から映像デー
タを読み込み、種々の演算を行なうCPU部である。
[0005] This conventional method will be described with reference to FIGS. 6 to 9. FIG. 6 is a block diagram of a conventional video signal processing circuit, and FIG.
9 is a flowchart for explaining an automatic phase adjusting operation of the sampling clock. In FIG. 6, reference numeral 1 denotes a PLL circuit which generates a clock CLK synchronized with the input synchronization signal SYNC. 2 denotes a delay which delays the clock CLK from the clock generation unit 1 by 2 to 3 ns per stage and shifts the phase. A multi-stage clock delay circuit 21 having a multi-stage connection and a plurality of sampling clocks SCLK 0 to SCLK n obtained therefrom, and a selection signal SEL.
Clock phase shifting unit consisting of the selection circuit 22 for selecting one of the sampling clock SCLK i, the 3 A / D converter for A / D conversion by the input video signal sampling SCLK i, the video signal digitally converted 4 A frame memory unit 5 for storing frames is a CPU unit for generating the selection signal SEL, reading video data from the frame memory 4, and performing various operations.

【0006】図7において、(A)は入力映像信号、
(B)〜(N)はそれぞれ順次位相がずらされたサンプ
リングクロックSCLK〜SCLKである。サンプ
リングクロックSCLK〜SCLKは入力映像信号
の生成もとであるパーソナルコンピュータ中でデジタル
映像信号データであったときの一周期分を複数の位相の
サンプリングクロックに分けたものである。
FIG. 7A shows an input video signal,
(B) to (N) are sampling clocks SCLK 0 to SCLK n whose phases are sequentially shifted, respectively. Sampling clock SCLK 0 ~SCLK n is obtained by dividing the one period of time even digital video signal data in a personal computer is generating the original input video signal into a plurality of phase sampling clock.

【0007】図8、9のフローチャートを用いて、この
映像信号処理回路のサンプリングクロックの位相調整方
法について説明する。調整にあたっては、入力する映像
信号としては平坦な映像信号ではなく、キャラクタ信号
のように各走査線毎に映像信号の輝度(又は彩度)に大
きい変動を含む映像信号が適するので、ここでは縦縞模
様の映像信号(図示せず。)を用いるものとする。
A method of adjusting the phase of the sampling clock of the video signal processing circuit will be described with reference to the flowcharts of FIGS. In the adjustment, the input video signal is not a flat video signal, but a video signal including a large variation in the luminance (or saturation) of the video signal for each scanning line, such as a character signal, is suitable. It is assumed that a video signal (not shown) of the pattern is used.

【0008】最初にCPU部5からの選択信号SELで
サンプリングクロックSCLKが選択されたとして説
明する(図8の201)。これは説明の便宜上であっ
て、実際は任意のサンプリングクロックSCLKを最
初に選択することが可能である。入力映像信号VIDE
OはサンプリングクロックSCLKでA/D変換部3
でA/D変換され(図8の202)、フレームメモリ部
4に格納される(図8の203)。次に任意の走査線H
の一走査線分の映像データをフレームメモリ部4から読
み出し(図8の204)、その一走査線分の中の隣接す
る画素間のデータの差分が最大となるところを見つけ出
し、その時のアドレスAD、ADK+1を決定する
(図8の205)。
[0008] First the sampling clock SCLK 0 is described as selected by the selection signal SEL from the CPU unit 5 (201 in FIG. 8). This is a convenience of explanation, actually it is possible to select any of the sampling clock SCLK i first. Input video signal VIDE
O is the sampling clock SCLK 0 and the A / D converter 3
Are A / D converted (202 in FIG. 8) and stored in the frame memory unit 4 (203 in FIG. 8). Next, any scanning line H
The video data for one scanning line is read out from the frame memory unit 4 (204 in FIG. 8), a location where the data difference between adjacent pixels in the one scanning line is maximized is found, and the address AD at that time is found. K and AD K + 1 are determined (205 in FIG. 8).

【0009】次に、CPU部5からサンプリングクロッ
クSCLKを選択し(図9の206、207)、入力
映像信号VIDEOをサンプリングクロックSCLK
でA/D変換し(図9の208)、フレームメモリ部4
に格納する(図9の209)。次にフレームメモリ部4
から前記アドレスAD、ADK+1の映像データを読
み出し(図9の210)、その画素間の映像データの差
分を算出し、記憶する(図9の211)。この手順をサ
ンプリングクロックSCLKまで実行し(図9の21
2、213、207〜211)、記憶されているそれぞ
れのサンプリングクロックにおけるアドレスAD、A
K+1の差分の最大値を算出決定し(図9の21
4)、その時のサンプリングクロックを最適位相のサン
プリングクロックとして選定、保持する(図9の21
5)。
Next, a sampling clock SCLK 1 is selected from the CPU section 5 (206 and 207 in FIG. 9), and the input video signal VIDEO is converted to the sampling clock SCLK 1.
A / D conversion (208 in FIG. 9)
(209 in FIG. 9). Next, the frame memory unit 4
The video data at the addresses AD K and AD K + 1 is read out from the memory (210 in FIG. 9), and the difference of the video data between the pixels is calculated and stored (211 in FIG. 9). This procedure was performed until the sampling clock SCLK n (21 in FIG. 9
2, 213, 207 to 211), and the addresses AD K , A in each stored sampling clock.
The maximum value of the difference of DK + 1 is calculated and determined (21 in FIG. 9).
4), the sampling clock at that time is selected and held as the sampling clock of the optimum phase (21 in FIG. 9).
5).

【0010】[0010]

【発明が解決しようとする課題】しかしながら、この位
相調整方法は、サンプリングクロックの位相を順次変化
させて、その度に画像データをフレームメモリに格納
し、この格納された画像データのうち特定のアドレスの
映像データをCPUで読み出し、サンプリングクロック
の最適位相を判定するので、回路規模が大きくなり、ま
た煩雑な論理が必要であるという問題点があった。本発
明は、上記課題を解決するために、映像信号は画素単位
の中央部が最適のレベルを表していることに注目してな
されたもので、簡単な構成でサンプリングクロックの位
相の自動的調整を確実に実現できる映像信号処理回路を
提供することを目的とする。
However, in this phase adjusting method, the phase of the sampling clock is sequentially changed, and each time the image data is stored in the frame memory, a specific address of the stored image data is stored. Since the CPU reads out the video data and determines the optimal phase of the sampling clock, the circuit size becomes large and complicated logic is required. SUMMARY OF THE INVENTION In order to solve the above problems, the present invention has been made by paying attention to the fact that the central part of a pixel unit represents an optimum level, and automatically adjusts the phase of a sampling clock with a simple configuration. It is an object of the present invention to provide a video signal processing circuit capable of reliably realizing the above.

【0011】[0011]

【課題を解決するための手段】本発明になる映像信号処
理回路は、同期信号を基にこの同期信号のN倍(Nは整
数)の周波数のサンプリングクロックを生成するフェー
ズ・ロックド・ループ回路を備え、このサンプリングク
ロックを基に映像信号を処理する映像信号処理回路にお
いて、映像信号のエッジを検出するエッジ検出部と、こ
のエッジ検出部からのエッジ信号を前記サンプリングク
ロックの1/2周期分遅延させると共に波形整形する遅
延波形整形部と、前記サンプリングクロックを2分周す
る2分周部と、この2分周部からのクロックを前記遅延
波形整形部からの信号でラッチするDタイプフリップフ
ロップ部と、このDタイプフリップフロップ部からの信
号を積分する積分回路部と、この積分回路部からの信号
と前記同期信号のレベルを比較して、レベルが一致した
ときに位相を変化させた同期信号を生成する位相可変部
と、を有し、この位相を変化させた同期信号を前記フェ
ーズ・ロックド・ループ回路に供給することで映像信号
処理のサンプリングクロックの位相を自動的に調整する
ことを特徴とするものである。
A video signal processing circuit according to the present invention includes a phase locked loop circuit for generating a sampling clock having a frequency N times (N is an integer) the synchronous signal based on the synchronous signal. A video signal processing circuit for processing a video signal based on the sampling clock; an edge detector for detecting an edge of the video signal; and an edge signal from the edge detector being delayed by a half cycle of the sampling clock. And a D-type flip-flop unit for latching the clock from the divide-by-2 unit with a signal from the delay waveform shaping unit. An integration circuit for integrating the signal from the D-type flip-flop; and a signal from the integration circuit and the synchronization signal. A phase-variable unit that compares the bells and generates a synchronization signal having a changed phase when the levels match, and supplies the synchronization signal with the changed phase to the phase-locked loop circuit. Thus, the phase of the sampling clock for video signal processing is automatically adjusted.

【0012】[0012]

【発明の実施の形態】以下、本発明について図面を用い
て詳しく説明する。図1は本発明の1実施形態を示す映
像信号処理回路である。図1において、1は図示しない
外部からの同期信号を基に映像信号の基準となる同期信
号の周波数のN倍(Nは整数)の周波数のサンプリング
クロックCLKを生成するPLL回路部、2は同期信号
が有効になる度に位相を一定とし、サンプリングクロッ
クCLKを2分周し、クロック1/2CLKを生成する
2分周部、3は映像信号VIDEOのエッジを検出し、
エッジ信号S1を生成するエッジ検出部、4はエッジ信
号S1をサンプリングクロックCLKのほぼ半周期分遅
延させると共に波形整形して前側のエッジに相当する部
分のみとした遅延エッジ信号S2を生成する遅延波形整
形部、5はクロック1/2CLKを遅延エッジ信号S2
でラッチし、映像信号のエッジ毎にクロック1/2CL
Kのレベルを判定する判定信号S3を生成するDタイプ
フリップフロップ回路部、6は判定信号S3を積分して
積分判定信号S4を生成する積分回路部で、例えば、フ
レーム期間等のようにサンプリングクロックCLKに比
べて十分長い時定数を有するもの、7は例えば、高速コ
ンパレータ等で構成され、同期信号HSYNCと積分判
定信号S4のレベルを比較して、一致したとき同期信号
HSYNCをサンプリングして、そのタイミングの位相
で可変位相同期信号CHSYNCを生成し、同期信号H
SYNCの位相を可変する位相可変部である。このサン
プリングクロックは、例えば、外部からの映像信号がパ
ーソナルコンピュータのVGA場合は、その表示画素数
から同期信号の周波数の800倍の周波数を有するサン
プリングクロックとなる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings. FIG. 1 shows a video signal processing circuit according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a PLL circuit unit that generates a sampling clock CLK having a frequency N times (N is an integer) the frequency of a synchronization signal serving as a reference of a video signal based on an external synchronization signal (not shown). Each time the signal becomes valid, the phase is kept constant, the sampling clock CLK is divided by two, and the frequency dividing unit 3 that generates the clock 1/2 CLK detects the edge of the video signal VIDEO,
An edge detector 4 for generating the edge signal S1 delays the edge signal S1 by substantially a half cycle of the sampling clock CLK and shapes the waveform to generate a delayed edge signal S2 in which only a portion corresponding to the front edge is generated. The shaping unit 5 converts the clock 1/2 CLK into the delayed edge signal S2.
, And clock 1 / 2CL for each edge of the video signal.
A D-type flip-flop circuit section that generates a determination signal S3 for determining the level of K, an integration circuit section 6 that integrates the determination signal S3 to generate an integration determination signal S4, for example, a sampling clock such as a frame period 7, which has a time constant sufficiently longer than CLK, for example, is constituted by a high-speed comparator or the like, compares the level of the synchronization signal HSYNC with the level of the integration determination signal S4, and samples the synchronization signal HSYNC when they match, A variable phase synchronization signal CHSYNC is generated at the timing phase, and the synchronization signal H is generated.
This is a phase variable unit that varies the phase of SYNC. For example, when the external video signal is a VGA of a personal computer, the sampling clock has a frequency 800 times the frequency of the synchronization signal based on the number of display pixels.

【0013】次に、このような映像信号処理回路のサン
プリングクロックの位相調整動作について説明する。図
2は、このサンプリングクロックの位相調整動作を説明
するタイミングチャートである。図2において、HSY
NCは図示しない外部から供給される映像信号に同期し
た同期信号、CLKはPLL回路部1で生成されるサン
プリングクロック、1/2CLKは2分周部2で生成さ
れるクロックで、前述したように、このクロック1/2
CLKは同期信号HSYNCに対して常に一定の位相と
なるようになっている。VIDEOは外部から供給され
る映像信号、S1はエッジ検出信号、S2は遅延エッジ
信号、S3は判定信号である。図3は図2のクロック1
/2CLK、遅延エッジ信号S2、判定信号S3の時間
軸を拡大して示すタイミングチャート図である。また、
図4は積分判定信号S4のレベルに応じて同期信号HS
YNCのサンプリングレベルを決定し、どのレベルで可
変位相同期信号CHSYNCを生成するかを示す模式図
である。
Next, the operation of adjusting the phase of the sampling clock of the video signal processing circuit will be described. FIG. 2 is a timing chart for explaining the sampling clock phase adjustment operation. In FIG. 2, HSY
NC is a synchronizing signal synchronized with a video signal supplied from outside (not shown), CLK is a sampling clock generated by the PLL circuit unit 1, and 1 / 2CLK is a clock generated by the divide-by-2 unit 2, as described above. , This clock 1/2
CLK always has a fixed phase with respect to the synchronization signal HSYNC. VIDEO is a video signal supplied from the outside, S1 is an edge detection signal, S2 is a delayed edge signal, and S3 is a determination signal. FIG. 3 shows clock 1 of FIG.
FIG. 3 is a timing chart diagram showing an enlarged time axis of / 2CLK, a delayed edge signal S2, and a determination signal S3. Also,
FIG. 4 shows the synchronization signal HS according to the level of the integration determination signal S4.
FIG. 9 is a schematic diagram showing a YNC sampling level determined and at which level a variable phase synchronization signal CHSYNC is generated.

【0014】説明の便宜上、Dタイプフリップフロップ
部5を初期設定して判定信号S3が「0」に設定された
として動作を説明する。判定信号S3は「0」であるか
ら、積分判定信号S4も「0」であり、位相可変部7は
図4の一回目のサンプリングレベルで示されるように同
期信号HSYNCが立ち上がるとすぐに可変位相同期信
号CHSYNCが出力され、PLL回路部1に入力され
る。PLL回路部1は前述したように動作し、サンプリ
ングクロックCLKを生成し、このサンプリングクロッ
クCLKを基にクロック1/2CLKが生成される。こ
の時映像信号VIDEOのケーブルによる影響は少なく
とも同期信号HSYNCと同程度であるので、サンプリ
ングクロックCLKの位相は映像信号VIDEOより進
んでいる。
For convenience of explanation, the operation will be described assuming that the D-type flip-flop unit 5 is initialized and the determination signal S3 is set to "0". Since the determination signal S3 is "0", the integral determination signal S4 is also "0", and the phase variable section 7 changes the phase as soon as the synchronization signal HSYNC rises as shown by the first sampling level in FIG. The synchronization signal CHSYNC is output and input to the PLL circuit unit 1. The PLL circuit section 1 operates as described above, generates the sampling clock CLK, and generates the clock CLK CLK based on the sampling clock CLK. At this time, the influence of the cable of the video signal VIDEO is at least the same as that of the synchronization signal HSYNC, so that the phase of the sampling clock CLK is advanced from the video signal VIDEO.

【0015】従って、映像信号VIDEOを基に生成さ
れるエッジ信号S1の遅延エッジ信号S2の位相は図3
(A)のようになり判定信号S3は「1」となるが、積
分回路部6の時定数は大きいので積分判定信号S4のレ
ベル上昇は少しだけである。このため、図4の2回目の
サンプリングレベルはその上昇分だけ上がるので、その
分PLL回路部1に入力される可変位相同期信号CHS
YNCの位相が遅れるので、サンプリングクロックCL
Kの位相がその分遅延し、映像信号VIDEOとサンプ
リングクロックCLKの位相は相対的に接近する。この
接近する状態は、判定信号S3が「0」になるまで続く
(図3(B)、図4のn回目のサンプリングレベル)。
Therefore, the phase of the delayed edge signal S2 of the edge signal S1 generated based on the video signal VIDEO is shown in FIG.
As shown in (A), the determination signal S3 becomes "1". However, since the time constant of the integration circuit section 6 is large, the level of the integration determination signal S4 increases only slightly. For this reason, the second sampling level in FIG. 4 rises by the rise, so that the variable phase synchronizing signal CHS inputted to the PLL circuit 1 is correspondingly increased.
Since the phase of YNC is delayed, the sampling clock CL
The phase of K is delayed by that amount, and the phases of the video signal VIDEO and the sampling clock CLK are relatively close. This approaching state continues until the determination signal S3 becomes "0" (FIG. 3B, n-th sampling level in FIG. 4).

【0016】判定信号S3が「0」となると積分判定信
号S4は下降し始め、映像信号VIDEOとサンプリン
グクロックCLKの位相は相対的に離れるが、今回は判
定信号S3が反転したばかりなので、位相の少しの変動
で判定信号S3は「1」に反転し、この判定信号S3の
反転が繰り返されることになる。この反転の繰り返しは
時定数の大きい積分回路部6により緩やかなものとなり
積分判定信号S4のレベルは適当なところで安定する。
When the judgment signal S3 becomes "0", the integration judgment signal S4 starts to fall, and the phases of the video signal VIDEO and the sampling clock CLK are relatively separated from each other, but this time the judgment signal S3 has just been inverted. The determination signal S3 is inverted to "1" with a slight change, and the inversion of the determination signal S3 is repeated. This repetition of the inversion is made gentle by the integration circuit section 6 having a large time constant, and the level of the integration determination signal S4 is stabilized at an appropriate level.

【0017】こうすることにより、最終的に映像信号V
IDEOにおける画素単位の映像の中央部がサンプリン
グクロックCLKの立ち上がりに一致する。当然、映像
信号VIDEOにおける画素単位の映像はその中央部が
最も正確なレベルとなっている可能性が最も高いので、
このタイミングでサンプリングすることにより最良のサ
ンプリングすることが可能となる。ここでは、同期信号
HSYNCの立ち上がり時間に特に何の加工もせずに信
号系の有する特性に依存するようにしているが、立ち上
がり時間を適宜遅延するように調整する回路を設けてお
くのも有効な手段である。
By doing so, finally the video signal V
The central part of the video in the pixel unit in IDEO coincides with the rising edge of the sampling clock CLK. Naturally, the image of the pixel unit in the video signal VIDEO is most likely to have the most accurate level at the center,
By sampling at this timing, the best sampling can be performed. Here, the rising time of the synchronization signal HSYNC is made to depend on the characteristics of the signal system without any particular processing, but it is also effective to provide a circuit for adjusting the rising time to be appropriately delayed. Means.

【0018】この実施の形態では、位相可変部7は高速
コンパレータ等を用いて、同期信号HSYNCと積分判
定信号S4のレベルが一致したときに可変位相同期信号
CHSYNCを生成するように構成したが、別途A/D
変換部とA/D変換結果に応じた位相変動量設定部を設
けて、積分判定信号S4をA/D変換し、その値に応じ
て予め決められた位相変動量を有する可変位相同期信号
CHSYNCを生成するようにしてもよい。
In this embodiment, the phase variable section 7 is configured to use a high-speed comparator or the like to generate the variable phase synchronization signal CHSYNC when the level of the synchronization signal HSYNC matches the level of the integration determination signal S4. A / D separately
A conversion unit and a phase variation amount setting unit according to the A / D conversion result are provided, the A / D conversion of the integration determination signal S4 is performed, and the variable phase synchronization signal CHSYNC having a predetermined phase variation amount according to the value is provided. May be generated.

【0019】[0019]

【発明の効果】本発明によれば、以上説明したように、
PLL回路を用いて可変位相同期信号に同期したサンプ
リングクロックを生成し、このサンプリングクロックを
2分周してクロックを生成し、このクロックを映像信号
の前側のエッジを前記サンプリングクロックの1/2周
期分遅延させた遅延エッジ信号でラッチし、このラッチ
された判定信号を積分し、この積分された積分判定信号
のレベルに応じて外部からの同期信号をサンプリングし
て前記可変位相同期信号を生成するようにしたので、前
記サンプリングクロックの立ち上がりは映像信号の画素
単位の映像の中央部に一致するから、最良のサンプリン
グが可能となるので、サンプリングクロックの位相の自
動調節を確実に実現できる映像信号処理回路を提供でき
る。従って、映像信号とサンプリングクロックの位相関
係は適切なものとなっているので、A/D変換後の映像
品質は良質なものとなり、鮮明な表示映像を実現でき
る。
According to the present invention, as described above,
A sampling clock synchronized with the variable phase synchronizing signal is generated by using a PLL circuit, the sampling clock is frequency-divided by 2 to generate a clock, and this clock is generated by dividing the leading edge of the video signal by a half cycle of the sampling clock. The variable phase synchronization signal is generated by latching with the delayed edge signal delayed by an amount, integrating the latched determination signal, and sampling an external synchronization signal according to the level of the integrated determination signal. Since the rising edge of the sampling clock coincides with the center of the video of the video signal in pixel units, the best sampling is possible, and the video signal processing that can reliably realize the automatic adjustment of the phase of the sampling clock is ensured. Circuit can be provided. Therefore, since the phase relationship between the video signal and the sampling clock is appropriate, the video quality after A / D conversion is good, and a clear display video can be realized.

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

【図1】本発明の1実施の形態を示す映像信号処理回路
である。
FIG. 1 is a video signal processing circuit according to an embodiment of the present invention.

【図2】図1の映像信号処理回路のサンプリングクロッ
クの位相調整動作を説明するタイミングチャートであ
る。
FIG. 2 is a timing chart illustrating a sampling clock phase adjusting operation of the video signal processing circuit of FIG. 1;

【図3】図2のクロック1/2CLK、遅延エッジ信号
S2、判定信号S3の時間軸を拡大して示すタイミング
チャート図である。
FIG. 3 is a timing chart showing an enlarged time axis of a clock 1/2 CLK, a delayed edge signal S2, and a determination signal S3 in FIG. 2;

【図4】積分判定信号S4のレベルに応じた可変位相同
期信号CHSYNCの生成の位相を示す模式図である。
FIG. 4 is a schematic diagram showing a generation phase of a variable phase synchronization signal CHSYNC according to a level of an integration determination signal S4.

【図5】映像信号のサンプリングの様子を示す図で、
(A)は映像信号、(B)、(C)はサンプリングクロ
ックである。
FIG. 5 is a diagram showing a state of sampling a video signal;
(A) is a video signal, and (B) and (C) are sampling clocks.

【図6】従来の映像信号処理回路のブロック図である。FIG. 6 is a block diagram of a conventional video signal processing circuit.

【図7】従来の映像信号処理回路の要部タイミングチャ
ートである。
FIG. 7 is a timing chart of a main part of a conventional video signal processing circuit.

【図8】従来の映像信号処理回路における自動位相調整
動作を説明する第1のフローチャートである。
FIG. 8 is a first flowchart illustrating an automatic phase adjustment operation in a conventional video signal processing circuit.

【図9】従来の映像信号処理回路における自動位相調整
動作を説明する第2のフローチャートである。
FIG. 9 is a second flowchart illustrating an automatic phase adjustment operation in the conventional video signal processing circuit.

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

1 PLL回路部 2 2分周部 3 エッジ検出部 4 遅延波形整形部 5 D F/F部 6 積分回路部 7 位相可変部 DESCRIPTION OF SYMBOLS 1 PLL circuit part 2 2 frequency division part 3 Edge detection part 4 Delay waveform shaping part 5 DF / F part 6 Integrating circuit part 7 Phase variable part

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 同期信号を基にこの同期信号のN倍(N
は整数)の周波数のサンプリングクロックを生成するフ
ェーズ・ロックド・ループ回路を備え、このサンプリン
グクロックを基に映像信号を処理する映像信号処理回路
において、 映像信号のエッジを検出するエッジ検出部と、 このエッジ検出部からのエッジ信号を前記サンプリング
クロックの1/2周期分遅延させると共に波形整形する
遅延波形整形部と、 前記サンプリングクロックを2分周する2分周部と、 この2分周部からのクロックを前記遅延波形整形部から
の信号でラッチするDタイプフリップフロップ部と、 このDタイプフリップフロップ部からの信号を積分する
積分回路部と、 この積分回路部からの信号と前記同期信号のレベルを比
較して、レベルが一致したときに位相を変化させた同期
信号を生成する位相可変部と、 を有し、この位相を変化させた同期信号を前記フェーズ
・ロックド・ループ回路に供給することで映像信号処理
のサンプリングクロックの位相を自動的に調整すること
を特徴とする映像信号処理回路。
1. A synchronizing signal which is based on N times (N
A phase locked loop circuit that generates a sampling clock having a frequency of (integer), a video signal processing circuit that processes a video signal based on the sampling clock, an edge detection unit that detects an edge of the video signal, A delay waveform shaping section for delaying the edge signal from the edge detecting section by a half cycle of the sampling clock and shaping the waveform; a divide-by-2 section for dividing the sampling clock by 2; A D-type flip-flop unit for latching a clock with a signal from the delay waveform shaping unit; an integration circuit unit for integrating a signal from the D-type flip-flop unit; a signal from the integration circuit unit and a level of the synchronization signal And a phase variable section that generates a synchronization signal having a changed phase when the levels match. A video signal processing circuit which automatically adjusts the phase of a sampling clock for video signal processing by supplying a synchronization signal having this phase changed to the phase locked loop circuit.
JP11045064A 1999-02-23 1999-02-23 Video signal processing circuit Pending JP2000244768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11045064A JP2000244768A (en) 1999-02-23 1999-02-23 Video signal processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11045064A JP2000244768A (en) 1999-02-23 1999-02-23 Video signal processing circuit

Publications (1)

Publication Number Publication Date
JP2000244768A true JP2000244768A (en) 2000-09-08

Family

ID=12708935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11045064A Pending JP2000244768A (en) 1999-02-23 1999-02-23 Video signal processing circuit

Country Status (1)

Country Link
JP (1) JP2000244768A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005109712A (en) * 2003-09-29 2005-04-21 Leader Electronics Corp Phase regulator of frame signal
JP2011259507A (en) * 2004-04-29 2011-12-22 Analog Devices Inc Apparatus and method for automated determination of sampling phase of analog video signal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005109712A (en) * 2003-09-29 2005-04-21 Leader Electronics Corp Phase regulator of frame signal
JP2011259507A (en) * 2004-04-29 2011-12-22 Analog Devices Inc Apparatus and method for automated determination of sampling phase of analog video signal

Similar Documents

Publication Publication Date Title
US6215467B1 (en) Display control apparatus and method and display apparatus
JP3622270B2 (en) Video signal processing apparatus, information processing system, and video signal processing method
JPH0946619A (en) Video signal processor and display system
JPH10153989A (en) Dot clock circuit
JP2001356729A (en) Picture display device
JPH10319932A (en) Display device
JP5001606B2 (en) Timing detection circuit
JP2002049362A (en) Picture processor and picture processing method
US4970588A (en) Video monitoring apparatus with plural inputs
US6686969B1 (en) Display device
KR100339459B1 (en) Liquid crystal display apparatus
JP2000244768A (en) Video signal processing circuit
JP2000152030A (en) Video signal processing circuit
JP2001331157A (en) Video signal converting device
JPH10340074A (en) Image signal processing circuit
JP3448521B2 (en) Automatic Clock Phase Adjuster for Pixel Corresponding Display
JPH1049103A (en) Display controller
JP3338173B2 (en) Video signal processing device
JP2000338926A (en) Image display device
KR100237421B1 (en) Conversion device of scanning line in the output signal of liquid crystal display device
KR100234738B1 (en) Synchronous processing apparatus for lcd projector
KR100907100B1 (en) Dot clock signal generator for video horizontal synchronous signal
JP3306020B2 (en) Video clock automatic setting device and automatic setting method thereof
KR20030067363A (en) Image Decoder of Image Processor System
JPH07134575A (en) Video signal conversion device