JP2000156795A - Sampling clock automatic adjustment device - Google Patents

Sampling clock automatic adjustment device

Info

Publication number
JP2000156795A
JP2000156795A JP10330368A JP33036898A JP2000156795A JP 2000156795 A JP2000156795 A JP 2000156795A JP 10330368 A JP10330368 A JP 10330368A JP 33036898 A JP33036898 A JP 33036898A JP 2000156795 A JP2000156795 A JP 2000156795A
Authority
JP
Japan
Prior art keywords
sampling clock
frequency
data
sampling
video signal
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
JP10330368A
Other languages
Japanese (ja)
Inventor
Takuya Ueda
拓也 上田
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP10330368A priority Critical patent/JP2000156795A/en
Publication of JP2000156795A publication Critical patent/JP2000156795A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a device that automates adjustment of the frequency and the phase of a sampling clock, when a digital video signal is employed. SOLUTION: This automatic adjustment device is provided with an A/D converter section 101, that receives and samples a video signal for converting the signal into digital video signal data, a storage section 102 that stores the video signal data, an arithmetic processing section 107 that reads the video signal data for adjusting the frequency and phase of a sampling clock, a sampling clock generating section 105 that generates and outputs the sampling clock, a frequency control section 106 that controls the setting a frequency of the sampling clock from the sampling clock generating section 105 by receiving frequency control data from the arithmetic processing section 107, a delay section 103 that supplies a signal delaying the sampling clock to the A/D converter section 101, and a phase control means 104 that applies setting control of the delay in the sampling clock in the delay section 103 to the control data from the arithmetic processing section 107.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はサンプリングクロッ
ク自動調整装置に関し、特に、映像信号を標本化する際
に用いるサンプリングクロックの周波数と位相を自動調
整する装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an automatic sampling clock adjusting apparatus, and more particularly to an apparatus for automatically adjusting the frequency and phase of a sampling clock used when sampling a video signal.

【0002】[0002]

【従来の技術】アナログ映像信号をデジタル信号に変換
するときのA/D(アナログ/デジタル)変換部でのサ
ンプリングクロックの調整としては、従来、予め複数種
類の信号のデータをプリセットしておき、信号判別を行
って、特定の信号のデータを呼び出すという手法が用い
られている。また、入力映像信号が、未知の信号の場合
には、周波数調整、位相調整ともに作業担当者が、モニ
タ画面を目視して調整を行っていた。
2. Description of the Related Art In order to adjust a sampling clock in an A / D (analog / digital) converter when converting an analog video signal into a digital signal, conventionally, data of a plurality of types of signals are preset in advance. A technique of performing signal discrimination and calling out data of a specific signal is used. In addition, when the input video signal is an unknown signal, the operator in charge of both frequency adjustment and phase adjustment visually adjusts the monitor screen.

【0003】映像信号をデジタルに変換するときのサン
プリング周波数を自動調整するものとして、例えば特開
平5−347768号公報には、A/D変換部でデジタ
ル信号に変換され画像メモリに書き込まれたデジタル映
像信号を読み出しモアレカウント部で映像信号に発生し
ているモアレ数を数え、そのモアレ数によりクロック制
御部の出力するサンプリング数を、入力する映像信号の
水平走査線1本分の画素数に合わせるようにした構成が
提案されている。
For automatically adjusting a sampling frequency when converting a video signal into a digital signal, for example, Japanese Patent Application Laid-Open No. 5-347768 discloses a digital signal which is converted into a digital signal by an A / D converter and written into an image memory. The video signal is read out, the number of moire generated in the video signal is counted by the moiré counting unit, and the sampling number output by the clock control unit is adjusted to the number of pixels for one horizontal scanning line of the input video signal based on the moiré number. Such a configuration has been proposed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、この従
来の自動調整方式では、サンプリングクロックの周波数
の調整は自動でできるものの、サンプリングクロックの
位相が正しく入力映像信号と一致している場合にのみ、
自動調整機能が有効に働くことになる。
However, in this conventional automatic adjustment method, the frequency of the sampling clock can be automatically adjusted, but only when the phase of the sampling clock is correctly matched with the input video signal.
The automatic adjustment function works effectively.

【0005】通常の調整時には、サンプリングクロック
の位相が正しく入力映像信号と一致しているとは限ら
ず、サンプリングクロックの位相調整機能を具備してい
ない上記従来の自動調整方式を適用しても、位相の調整
を自動で行うことはできず、結局、人手で調整する他な
い。
At the time of normal adjustment, the phase of the sampling clock does not always match the input video signal correctly, and even if the above-mentioned conventional automatic adjustment method without the function of adjusting the phase of the sampling clock is applied, The phase cannot be adjusted automatically, and after all, there is no other way than to adjust it manually.

【0006】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、映像信号をデジ
タル信号とするときのサンプリングクロックの周波数及
び位相の調整を自動化する装置を提供することにある。
Accordingly, the present invention has been made in view of the above problems, and an object of the present invention is to provide an apparatus for automatically adjusting the frequency and phase of a sampling clock when a video signal is converted into a digital signal. It is in.

【0007】[0007]

【課題を解決するための手段】前記目的を達成する本発
明は、映像信号を入力しサンプリングクロックで標本化
してデジタル信号の映像信号データに変換するA/D変
換手段と、前記A/D変換手段で標本化された映像信号
データを格納保持する保持手段と、前記保持手段に格納
された映像信号データを読み出し前記サンプリングクロ
ックの周波数及び位相を調整するための演算処理を行う
演算処理手段と、水平同期信号を入力し前記サンプリン
グクロックを生成出力する周波数可変のサンプリングク
ロック発生手段と、前記演算処理手段からの周波数の制
御データを受け該制御データに応じて前記サンプリング
クロック発生手段におけるサンプリングクロックの周波
数を設定制御する周波数制御手段と、遅延時間が可変と
され、前記サンプリングクロック発生手段からのサンプ
リングクロックを入力しこれを遅延させた信号を前記A
/D変換手段にサンプリングクロックとして供給する遅
延手段と、前記演算処理手段からの位相の制御データに
受け該制御データに応じて前記遅延手段における前記サ
ンプリングクロックの遅延量を設定制御する位相制御手
段と、を備える。
According to the present invention, there is provided an A / D converter for inputting a video signal, sampling the video signal with a sampling clock, and converting the sampled video signal into digital signal video signal data. Holding means for storing and holding the video signal data sampled by the means, arithmetic processing means for reading the video signal data stored in the holding means and performing arithmetic processing for adjusting the frequency and phase of the sampling clock; Frequency-variable sampling clock generating means for inputting a horizontal synchronizing signal and generating and outputting the sampling clock; receiving frequency control data from the arithmetic processing means; and controlling the frequency of the sampling clock in the sampling clock generating means according to the control data. Frequency control means for setting and controlling the delay time; It said input signal delayed this sampling clock from ring clock generator A
Delay means for supplying a sampling clock to the / D conversion means, phase control means for receiving the phase control data from the arithmetic processing means, and setting and controlling the delay amount of the sampling clock in the delay means according to the control data; , Is provided.

【0008】[0008]

【発明の実施の形態】本発明の実施の形態について説明
する。本発明の実施の形態は、映像信号を入力しサンプ
リングクロックで標本化してデジタル信号の映像信号デ
ータに変換するA/D変換部(図1の101)と、A/
D変換部(図1の101)で標本化された映像信号デー
タを格納保持する保持部(図1の102)と、保持部
(図1の102)に格納された映像信号データを読み出
しサンプリングクロックの周波数及び位相を調整するた
めの演算処理を行う演算処理部(図1の107)と、水
平同期信号を入力しサンプリングクロックを生成出力す
る周波数可変のサンプリングクロック発生部(図1の1
05)と、演算処理部(図1の107)からの周波数の
制御データを受け該制御データに応じてサンプリングク
ロック発生部(図1の105)におけるサンプリングク
ロックの周波数を設定制御する周波数制御部(図1の1
06)と、遅延時間が可変とされ、サンプリングクロッ
ク発生部(図1の105)からのサンプリングクロック
を入力し遅延させた信号をA/D変換部(図1の10
1)にサンプリングクロックとして供給する遅延部(図
1の103)と、演算処理部(図1の107)からの位
相制御データに受け該制御データに応じて前記遅延部
(図1の103)におけるサンプリングクロックの遅延
量を設定制御する位相制御部(図1の104)と、を備
える。
Embodiments of the present invention will be described. The embodiment of the present invention includes an A / D conversion unit (101 in FIG. 1) that inputs a video signal, samples the video signal with a sampling clock, and converts it into video signal data of a digital signal.
A holding unit (102 in FIG. 1) for storing and holding the video signal data sampled by the D conversion unit (101 in FIG. 1), and a sampling clock for reading out the video signal data stored in the holding unit (102 in FIG. 1). An arithmetic processing unit (107 in FIG. 1) that performs arithmetic processing for adjusting the frequency and phase of the signal, and a variable frequency sampling clock generation unit (1 in FIG. 1) that receives a horizontal synchronization signal and generates and outputs a sampling clock.
05) and a frequency control unit (107) that receives the control data of the frequency from the arithmetic processing unit (107 in FIG. 1) and sets and controls the frequency of the sampling clock in the sampling clock generation unit (105 in FIG. 1) according to the control data. 1 in FIG.
06), the delay time is variable, and a signal delayed by inputting the sampling clock from the sampling clock generator (105 in FIG. 1) is converted into an A / D converter (10 in FIG. 1).
1) which receives the phase control data from the arithmetic processing unit (107 in FIG. 1) as a sampling clock and supplies the phase control data to the delay unit (103 in FIG. 1) according to the control data. A phase control unit (104 in FIG. 1) for setting and controlling the delay amount of the sampling clock.

【0009】本発明の実施の形態において、演算処理部
(図1の107)は、所定パターンの調整用映像信号を
ある周波数のサンプリングクロックにてA/D変換部
(図1の101)でサンプリングしたサンプリングデー
タについて1ライン分、保持部(図1の102)から読
み出し、サンプリングデータ分布の最小点の数を算出
し、最小点の個数Nが非零の場合、前記周波数にNを加
算もしくは減算した周波数のサンプリングクロックに、
周波数制御部(図1の106)を介してサンプリングク
ロック発生部(図1の105)の周波数を設定し、調整
用映像信号を前記A/D変換部(図1の101)でサン
プリングし、前記個数Nが零の場合、周波数調整を終え
るように制御する。
In the embodiment of the present invention, an arithmetic processing unit (107 in FIG. 1) samples an adjustment video signal of a predetermined pattern by an A / D conversion unit (101 in FIG. 1) using a sampling clock of a certain frequency. One line of the sampled data is read from the holding unit (102 in FIG. 1), and the number of minimum points of the sampling data distribution is calculated. When the number N of minimum points is non-zero, N is added to or subtracted from the frequency. The sampling clock of the frequency
The frequency of the sampling clock generator (105 in FIG. 1) is set via a frequency controller (106 in FIG. 1), and the adjustment video signal is sampled by the A / D converter (101 in FIG. 1). When the number N is zero, control is performed so as to end the frequency adjustment.

【0010】また、本発明の実施の形態において、演算
処理部(図1の107)は、所定の調整用映像信号を調
整済みの周波数のサンプリングクロックにてA/D変換
部(図1の101)でサンプリングしたサンプリングデ
ータについて、前回のサンプリング時よりも遅延部(図
1の104)の遅延量を位相制御部(図1の104)を
介して単位ステップ増大させた遅延量でサンプリングし
た今回のサンプリングデータが、前回のサンプリングデ
ータよりも大きく、今回のサンプリング時よりも遅延部
(図1の103)の遅延量を前記位相制御部(図1の1
04)を介して単位ステップ増大させた遅延量でサンプ
リングする次回のサンプリングデータよりも大きい場
合、遅延量が調整されたものとして調整処理を終える。
なお、遅延部での遅延量は、最大遅延量から単位ステッ
プ毎に減少させるようにしてもよい。
In the embodiment of the present invention, the arithmetic processing unit (107 in FIG. 1) converts the predetermined adjustment video signal into an A / D converter (101 in FIG. 1) using a sampling clock having an adjusted frequency. ), The delay amount of the delay unit (104 in FIG. 1) is sampled by the phase control unit (104 in FIG. 1) with the delay amount increased by a unit step from the time of the previous sampling. The sampling data is larger than the previous sampling data, and the delay amount of the delay unit (103 in FIG. 1) is set to be larger than that in the current sampling by the phase control unit (1 in FIG. 1).
If the delay time is larger than the next sampling data to be sampled with the delay amount increased by the unit step via step 04), the adjustment process is terminated assuming that the delay amount has been adjusted.
Note that the delay amount in the delay unit may be reduced from the maximum delay amount for each unit step.

【0011】本発明は、他の実施の形態として、遅延時
間が可変とされ、水平同期信号を入力し遅延させた信号
を出力する遅延部と、遅延部から遅延出力された水平同
期信号を入力しサンプリングクロックを生成出力してA
/D変換部に供給するサンプリングクロック発生部と、
を備え、周波数制御部は、演算処理部からの周波数の制
御データを受け該制御データに応じてサンプリングクロ
ック発生部におけるサンプリングクロックの周波数を設
定制御し、位相制御部では、演算処理部からの位相制御
データに受け該制御データに応じて前記遅延部における
水平同期信号の遅延量を設定制御する構成としてもよ
い。以下実施例に即して詳細に説明する。
According to another embodiment of the present invention, a delay unit having a variable delay time, receiving a horizontal synchronization signal and outputting a delayed signal, and receiving a horizontal synchronization signal delayed from the delay unit is input. A sampling clock is generated and output.
A sampling clock generation unit for supplying to the / D conversion unit;
The frequency control unit receives the control data of the frequency from the arithmetic processing unit, sets and controls the frequency of the sampling clock in the sampling clock generating unit according to the control data, and the phase control unit controls the phase from the arithmetic processing unit. It may be configured to receive control data and set and control a delay amount of a horizontal synchronization signal in the delay unit in accordance with the control data. Hereinafter, the present invention will be described in detail with reference to examples.

【0012】[0012]

【実施例】図1は、本発明の一実施例の構成を示すブロ
ック図である。図1を参照すると、本実施例は、A/D
変換部101、サンプリングデータ保持部102、遅延
部103、位相コントロール部104、サンプリングク
ロック発生部105、周波数コントロール部106、及
び演算処理部107を備えて構成されている。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. Referring to FIG. 1, the present embodiment employs an A / D
It includes a conversion unit 101, a sampling data holding unit 102, a delay unit 103, a phase control unit 104, a sampling clock generation unit 105, a frequency control unit 106, and an arithmetic processing unit 107.

【0013】A/D変換部101には、調整用信号とし
て、中間色のない文字列または縦縞が画面全域にわたり
表示される映像信号を入力する。A/D変換部101に
入力された映像信号は、サンプリングクロック発生部1
05により生成されたサンプリングクロックでサンプリ
ングされ、サンプリングデータ保持部102で保持され
る。
The A / D converter 101 receives, as an adjustment signal, a video signal in which a character string or a vertical stripe having no intermediate color is displayed over the entire screen. The video signal input to the A / D converter 101 is supplied to the sampling clock generator 1
The data is sampled by the sampling clock generated in step S <b> 05 and held in the sampling data holding unit 102.

【0014】演算処理部107は、サンプリングデータ
保持部102で保持されたデータを入力し、適切なデー
タとなるように周波数コントロール部106と位相コン
トロール部104を制御する。
The arithmetic processing unit 107 receives the data held in the sampling data holding unit 102 and controls the frequency control unit 106 and the phase control unit 104 so that the data becomes appropriate data.

【0015】サンプリングクロック発生部105は、周
波数コントロール部106から出力された制御データに
基づき、サンプリングクロックを発生する。遅延部10
3は、位相コントロール部104からの制御データによ
り遅延時間が可変させる。サンプリングクロック発生部
106からのサンプリングクロックは、遅延部103に
入力されて遅延されA/D変換部101のサンプリング
クロックとして供給される。
The sampling clock generator 105 generates a sampling clock based on the control data output from the frequency controller 106. Delay unit 10
3 varies the delay time according to the control data from the phase control unit 104. The sampling clock from the sampling clock generation unit 106 is input to the delay unit 103 and is delayed and supplied as a sampling clock of the A / D conversion unit 101.

【0016】本発明の一実施例の動作について説明す
る。
The operation of one embodiment of the present invention will be described.

【0017】A/D変換部101に、調整用の入力映像
信号として、中間色のない文字列または縦縞(例えば背
景が黒で縦縞が白)が画面全域にわたり表示される映像
信号を入力する。
As an input video signal for adjustment, a video signal in which a character string without intermediate colors or vertical stripes (for example, a black background and white vertical stripes) are displayed over the entire screen is input to the A / D converter 101.

【0018】A/D変換部101はA/Dコンバータよ
りなり、入力される映像信号をサンプリングクロックで
標本化する。このとき、入力される映像信号が白のアル
ファベット“H”文字(背景は黒)の文字列とした場合
を考える。図2(a)に示すように、“H”文字の最上
列(ライン)は、サンプリングクロック1でサンプリン
グされた場合に、適切にサンプリングされたといえる。
The A / D converter 101 comprises an A / D converter, and samples an input video signal with a sampling clock. At this time, a case is considered where the input video signal is a character string of white alphabet “H” characters (background is black). As shown in FIG. 2A, it can be said that the uppermost row (line) of the “H” character is properly sampled when it is sampled by the sampling clock 1.

【0019】一方、図2(b)に示すように、サンプリ
ングクロック2の場合には、周波数がずれているため、
あるサンプリングポイントでは合っているが(サンプル
値は255)、別のサンプリングポイントでは合ってい
ない(本来255となるべきサンプルポイントの値は2
00となっている)。
On the other hand, as shown in FIG. 2B, in the case of the sampling clock 2, since the frequency is shifted,
It matches at one sampling point (the sample value is 255) but does not match at another sampling point (the value of the sample point that should originally be 255 is 2
00).

【0020】そして図2(c)に示すように、サンプリ
ングクロック3の場合には、位相がずれているため、全
体に、サンプリングポイントが合っていない。
As shown in FIG. 2C, in the case of the sampling clock 3, since the phase is shifted, the sampling points do not coincide with each other.

【0021】A/D変換部101で標本化された調整用
の映像信号データは、サンプリングデータ保持部102
に保持される。
The adjustment video signal data sampled by the A / D conversion unit 101 is supplied to a sampling data holding unit 102.
Is held.

【0022】サンプリングデータ保持部102はメモリ
よりなり、A/D変換部101で標本化された調整用の
映像信号データが書き込まれ、演算処理部107で読み
出される。メモリに保持するデータの量は、1水平走査
期間(「1ライン」という)分とする。
The sampling data holding unit 102 is composed of a memory, and the adjustment video signal data sampled by the A / D conversion unit 101 is written in, and read out by the arithmetic processing unit 107. The amount of data held in the memory is one horizontal scanning period (referred to as "one line").

【0023】演算処理部107は、サンプリングデータ
保持部102で保持された映像信号データを、読み出
し、現在のサンプリングクロックでサンプリングされた
データが、映像信号に対して、適切であるかどうかを判
別する。この判別方法について説明する。
The arithmetic processing unit 107 reads out the video signal data held by the sampling data holding unit 102 and determines whether the data sampled by the current sampling clock is appropriate for the video signal. . This determination method will be described.

【0024】ここでは、A/D変換部101として8ビ
ットのA/Dコンバータ(デジタル出力コードは0〜2
55)を用いた場合について説明する。A/D変換部1
01の出力として、256階調のデータが得られる。仮
に、明度の最低値のデータを“0”、明度の最高値のデ
ータを“255”とする。
Here, the A / D converter 101 is an 8-bit A / D converter (digital output code is 0 to 2).
55) will be described. A / D converter 1
As an output of 01, data of 256 gradations is obtained. It is assumed that the data of the lowest brightness value is “0” and the data of the highest brightness value is “255”.

【0025】図2(a)に示したように、サンプリング
クロック1で標本化した場合、文字部分のデータは“2
55”、文字の無い部分(背景)は“0”となる。すな
わちA/D変換部101で正しく標本化された映像信号
データは本来“0”か“255”しかとりえないことに
なる。そして、これ以外のデータが得られた場合には、
サンプリングクロックの周波数もしくは位相が正しく設
定されていないことになる。
As shown in FIG. 2A, when sampling is performed at the sampling clock 1, the data of the character portion is "2".
55, and the portion without a character (background) is "0", that is, the video signal data correctly sampled by the A / D converter 101 can originally take only "0" or "255". And if other data is obtained,
This means that the frequency or phase of the sampling clock is not set correctly.

【0026】演算処理部107では、まず、周波数を合
わせるように周波数コントロール部106を制御する。
周波数が合っていない場合、図2(b)に示すように、
文字部分のデータのサンプル値は“200”となり、
“255”とはならない。演算処理部107は、例えば
値が“200”のサンプル値が“255”となるよう
に、周波数コントロール部107を制御する。
First, the arithmetic processing unit 107 controls the frequency control unit 106 so as to match the frequency.
If the frequencies do not match, as shown in FIG.
The sample value of the character part data is "200",
It does not become “255”. The arithmetic processing unit 107 controls the frequency control unit 107 so that, for example, the sample value with the value “200” becomes “255”.

【0027】また、位相が合ってないときには、図2
(c)に示したように、サンプル値は“255”とはな
らない。このとき、サンプリングクロック数(周波数)
が正しく設定されていれば、文字部分のサンプル値は、
すべて一様になる。つまり、文字部分のサンプル値がす
べて一様になるように、周波数コントロール部106を
制御すればよい。
When the phases are not matched, FIG.
As shown in (c), the sample value does not become “255”. At this time, the number of sampling clocks (frequency)
If is set correctly, the sample value of the character part is
Everything becomes uniform. That is, the frequency control unit 106 may be controlled so that the sample values of the character portion are all uniform.

【0028】例として、サンプリングクロック数が1ラ
インあたり800の信号を入力した場合を考える。
As an example, consider a case where a signal whose sampling clock number is 800 per line is input.

【0029】最初に1ラインあたり795のサンプリン
グクロックが入力されたものとし、サンプリングデータ
を取得する。
First, it is assumed that 795 sampling clocks are input per line, and sampling data is obtained.

【0030】サンプリングデータの値が“0”の場合、
その部分は、文字部分ではなく背景部分であるため、演
算処理を速く行うために、この部分は無視する。
When the value of the sampling data is "0",
Since this part is not a character part but a background part, this part is ignored in order to speed up the arithmetic processing.

【0031】図3に示すように、文字部分のサンプリン
グデータの最小点が5点出る。つまり、次式(1)のよ
うに周波数コントロール部106を制御することによ
り、サンプリングクロックの周波数は正しく設定され
る。
As shown in FIG. 3, five minimum points of the sampling data of the character portion appear. That is, by controlling the frequency control unit 106 as in the following equation (1), the frequency of the sampling clock is set correctly.

【0032】 PIXELCLK = PIXELCLK0 + N …(1)PIXELCLK = PIXELCLK0 + N (1)

【0033】但し、PIXELCLKは、入力信号の最
適サンプリングクロック数、PIXELCLK0は現在
のサンプリングクロック数、Nはサンプリングデータの
最小点数である。
Here, PIXELCLK is the optimum number of sampling clocks of the input signal, PIXELCLK0 is the current number of sampling clocks, and N is the minimum number of sampling data.

【0034】一方、1ラインあたりのサンプリングクロ
ックの周波数805の場合も、最小点が5点現れる。こ
の場合、上式(1)を適用した場合、サンプリングクロ
ックは810となり、さらにその差は大きくなる。前回
に比べてその差が大きくなった場合には、前回の状態か
らNを、マイナス符号を付した−Nとすることにより一
致する。
On the other hand, also at the frequency 805 of the sampling clock per line, five minimum points appear. In this case, when the above equation (1) is applied, the sampling clock is 810, and the difference is further increased. When the difference is larger than the last time, the difference is matched by setting N from the previous state to -N with a minus sign.

【0035】図4に、演算処理部107の処理をフロー
チャートとして示す図である。
FIG. 4 is a flowchart showing the processing of the arithmetic processing unit 107.

【0036】任意のサンプリングクロック(=PIXE
LCLK)を入力し(ステップS1)、サンプリングデ
ータを取得し(ステップS2)、データ分布の最小点の
数(N)を算出し(ステップS3)、Nが0でない場合
(ステップS4)、サンプリングクロックをPIXEL
CLK+N又はPIXELCLK−Nとして(ステップ
S5)、サンプリングデータを取得するステップS2に
移行し、Nが0の場合、周波数調整は終了する。
Any sampling clock (= PIXE)
LCLK) is input (step S1), sampling data is obtained (step S2), the number (N) of the minimum points of the data distribution is calculated (step S3), and if N is not 0 (step S4), the sampling clock PIXEL
As CLK + N or PIXELCLK-N (step S5), the process proceeds to step S2 for acquiring sampling data, and if N is 0, the frequency adjustment ends.

【0037】周波数が一致した場合、次に位相を合わせ
る。位相は、サンプリングデータ保持部102の文字部
分のサンプリングデータの値がすべて“255”となる
ように、位相コントロール部104を制御すればよい。
信号のレベルの誤差を考えると文字部分のサンプリング
データの値は必ずしも“255”となるとは限らないの
で、サンプリングデータの値が一番大きくなるところ
で、位相が一致したものとする。
If the frequencies match, the phases are adjusted next. The phase may be controlled by controlling the phase control unit 104 such that the sampling data values of the character portion of the sampling data holding unit 102 are all “255”.
Considering the error of the signal level, the value of the sampling data of the character portion is not always "255", so it is assumed that the phase coincides where the value of the sampling data becomes maximum.

【0038】ここで比較するデータは、文字部分につい
ては、すべて同じであるため、数点の文字部分だけを比
較演算することにより、演算処理部107における処理
を簡略化することができる。
Since the data to be compared are the same for the character portions, the comparison processing is performed on only a few character portions, so that the processing in the arithmetic processing section 107 can be simplified.

【0039】位相コントロール部104は、遅延部10
3での遅延時間を制御する。位相コントロール部104
からの制御信号により、1ステップずつサンプリングク
ロックを遅延させ、1ステップごとに、サンプリングデ
ータを比較する。
The phase control unit 104 includes the delay unit 10
3 controls the delay time. Phase control unit 104
The sampling clock is delayed by one step in accordance with the control signal from the CPU, and the sampling data is compared for each step.

【0040】あるステップでのサンプリングデータが、
1ステップ前のサンプリングデータよりも大きく、さら
に、1ステップ後のサンプリングデータよりも大きいと
き、当該ステップでのサンプリングデータの値は最大値
であることから、当該ステップのとき位相が一致したこ
とになる。これを、次式(2)に示す。
The sampling data at a certain step is
When the sampling data is larger than the sampling data before one step and larger than the sampling data after one step, the value of the sampling data at the step is the maximum value, and thus, the phases match at the step. . This is shown in the following equation (2).

【0041】 DSTEPN-1<DSTEPNSTEPN+1<DSTEPN …(2)D STEPN-1 <D STEPN D STEPN + 1 <D STEPN ... (2)

【0042】但し、DSTEPN-1は1ステップ前のデー
タ、DSTEPNは位相が一致したときのデータ、DSTEPN+1
は1ステップ後のデータである。
Where D STEPN-1 is the data of the previous step, D STEPN is the data when the phases match, and D STEPN + 1
Is the data after one step.

【0043】本発明の一実施例において、サンプリング
クロック発生部105は、分周値を適宜選択することで
複数の周波数を選択出力可能なプログラマブルPLL
(Phase Locked Loop;位相周期ループ)回路が用い
られる。
In one embodiment of the present invention, the sampling clock generator 105 is a programmable PLL capable of selecting and outputting a plurality of frequencies by appropriately selecting a frequency division value.
(Phase Locked Loop) circuit is used.

【0044】周波数コントロール部106は、PLL回
路中の分周回路の分周比をコントロールすることで、周
波数を可変に設定する。
The frequency control section 106 variably sets the frequency by controlling the frequency dividing ratio of the frequency dividing circuit in the PLL circuit.

【0045】次に本発明の第2の実施例について説明す
る。前記の実施例では、1ライン(1水平走査期間)に
ついて処理しているが、垂直帰線消去期間(「Vブラン
キング期間」という)には映像信号がないので、Vブラ
ンキング期間を越える量のサンプリングデータを用いて
処理した場合、より正確な処理が行える。
Next, a second embodiment of the present invention will be described. In the above embodiment, processing is performed for one line (one horizontal scanning period). However, since there is no video signal in the vertical blanking period (referred to as “V blanking period”), the amount exceeding the V blanking period is used. When the processing is performed using the sampling data of (1), more accurate processing can be performed.

【0046】図1に示した前記実施例では、遅延部10
3はサンプリングクロック発生部105からの後段に設
け、サンプリングクロックを遅延することにより位相調
整を行っているが、遅延部が水平同期信号を入力して水
平同期信号を遅延させた信号をサンプリングクロック発
生部105に供給する構成としてもよい。
In the embodiment shown in FIG.
Numeral 3 is provided at a stage subsequent to the sampling clock generation unit 105 and performs phase adjustment by delaying the sampling clock. The delay unit receives the horizontal synchronization signal and delays the horizontal synchronization signal to generate the sampling clock. It may be configured to supply to the unit 105.

【0047】周波数調整や位相調整時、映像信号、及び
サンプリング時の誤差やノイズを考慮して、演算処理部
107でのデータの値の認識にマージンを持たせて演算
処理を行ってもよい。
In consideration of errors and noises at the time of frequency adjustment and phase adjustment, video signals, and sampling, the arithmetic processing unit 107 may perform arithmetic processing with a margin for recognizing data values.

【0048】[0048]

【発明の効果】以上説明したように、本発明によれば、
サンプリングクロックの周波数調整、位相調整を自動化
することができる、という効果を奏する。
As described above, according to the present invention,
This has the effect that frequency adjustment and phase adjustment of the sampling clock can be automated.

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

【図1】本発明の一実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an embodiment of the present invention.

【図2】本発明の一実施例を説明するための図である。FIG. 2 is a diagram for explaining an embodiment of the present invention.

【図3】本発明の一実施例を説明するための図である。FIG. 3 is a diagram for explaining one embodiment of the present invention.

【図4】本発明の一実施例における周波数調整の処理説
明するための流れ図である。
FIG. 4 is a flowchart illustrating a frequency adjustment process according to an embodiment of the present invention.

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

101 A/D変換部 102 サンプリングデータ保持部 103 遅延部 104 位相コントロール部 105 サンプリングクロック発生部 106 周波数コントロール部 107 演算処理部 Reference Signs List 101 A / D conversion unit 102 Sampling data holding unit 103 Delay unit 104 Phase control unit 105 Sampling clock generation unit 106 Frequency control unit 107 Operation processing unit

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】映像信号を入力しサンプリングクロックで
標本化してデジタル信号の映像信号データに変換するA
/D変換手段と、 前記A/D変換手段で標本化された前記映像信号データ
を格納保持する保持手段と、 前記保持手段に格納された前記映像信号データを読み出
し前記サンプリングクロックの周波数及び位相を最適に
調整するための演算処理を行う演算処理手段と、 前記サンプリングクロックを生成出力する周波数可変型
のサンプリングクロック発生手段と、 前記演算処理手段からの周波数の制御データを受け該制
御データに応じて前記サンプリングクロック発生手段に
おけるサンプリングクロックの周波数を設定制御する周
波数制御手段と、 遅延時間が可変とされ、前記サンプリングクロック発生
手段からのサンプリングクロックを入力し、これを遅延
させた信号を前記A/D変換手段にサンプリングクロッ
クとして供給する遅延手段と、 前記演算処理手段からの位相の制御データに受け該制御
データに応じて前記遅延手段における前記サンプリング
クロックの遅延量を設定制御する位相制御手段と、 を備えたことを特徴とするサンプリングクロック自動調
整装置。
1. A method for inputting a video signal, sampling the video signal with a sampling clock, and converting the input video signal into video signal data of a digital signal.
/ D conversion means; holding means for storing and holding the video signal data sampled by the A / D conversion means; reading out the video signal data stored in the holding means to determine the frequency and phase of the sampling clock. Arithmetic processing means for performing arithmetic processing for optimal adjustment; variable frequency sampling clock generating means for generating and outputting the sampling clock; receiving frequency control data from the arithmetic processing means in accordance with the control data Frequency control means for setting and controlling the frequency of the sampling clock in the sampling clock generating means; and a delay time variable, a sampling clock from the sampling clock generating means being input, and a signal obtained by delaying the signal being input to the A / D converter. Delay means for supplying the conversion means with a sampling clock; A phase control means for receiving control data of the phase from the arithmetic processing means and for setting and controlling the amount of delay of the sampling clock in the delay means in accordance with the control data; .
【請求項2】前記サンプリングクロック発生手段が、水
平同期信号を入力し、該水平同期信号と前記周波数制御
手段からの周波数設定に基づき、前記周波数のサンプリ
ングクロックを生成出力する、ことを特徴とする請求項
1記載のサンプリングクロック自動調整装置。
2. The apparatus according to claim 1, wherein said sampling clock generating means inputs a horizontal synchronizing signal, and generates and outputs a sampling clock of said frequency based on said horizontal synchronizing signal and a frequency setting from said frequency control means. The automatic sampling clock adjusting device according to claim 1.
【請求項3】映像信号を入力しサンプリングクロックで
標本化してデジタル信号の映像信号データに変換するA
/D変換手段と、 前記A/D変換手段で標本化された前記映像信号データ
を格納保持する保持手段と、 前記保持手段に格納された前記映像信号データを読み出
し前記サンプリングクロックの周波数及び位相を最適に
調整するための演算処理を行う演算処理手段と、 遅延時間が可変とされ、前記水平同期信号を入力しこれ
を遅延させた信号を出力する遅延手段と、 前記遅延手段から遅延させて出力される水平同期信号を
入力し前記サンプリングクロックを生成出力して前記A
/D変換手段に供給する、周波数可変型のサンプリング
クロック発生手段と、 前記演算処理手段からの周波数の制御データを受け該制
御データに応じて前記サンプリングクロック発生手段に
おけるサンプリングクロックの周波数を設定制御する周
波数制御手段と、 前記演算処理手段からの位相の制御データに受け該制御
データに応じて前記遅延手段における、前記水平同期信
号の遅延量を設定制御する位相制御手段と、 を備えたことを特徴とするサンプリングクロック自動調
整装置。
3. A method for inputting a video signal, sampling the video signal with a sampling clock, and converting it into video signal data of a digital signal.
/ D conversion means; holding means for storing and holding the video signal data sampled by the A / D conversion means; reading out the video signal data stored in the holding means to determine the frequency and phase of the sampling clock. Arithmetic processing means for performing arithmetic processing for optimal adjustment; delay means having a variable delay time, receiving the horizontal synchronizing signal and outputting a signal obtained by delaying the horizontal synchronizing signal; , And generates and outputs the sampling clock.
A variable frequency sampling clock generating means for supplying to the / D converting means; receiving the frequency control data from the arithmetic processing means, and setting and controlling the frequency of the sampling clock in the sampling clock generating means according to the control data. Frequency control means, and phase control means for receiving control data of the phase from the arithmetic processing means and setting and controlling the amount of delay of the horizontal synchronization signal in the delay means in accordance with the control data. Automatic sampling clock adjustment device.
【請求項4】前記演算処理手段が、所定パターンの調整
用映像信号をある周波数のサンプリングクロックにて前
記A/D変換手段で標本化した所定個数のサンプリング
データについて、前記保持手段から読み出し、前記サン
プリングデータ分布の最小点の数を算出し、最小点の個
数Nが非零の場合、前記周波数に対して、前記Nを加算
もしくは減算した周波数の値を新たなサンプリングクロ
ックの周波数として、前記周波数制御手段を介して前記
サンプリングクロック発生手段に設定し、前記新たに設
定された周波数のサンプリングクロックにて、前記調整
用映像信号を前記A/D変換手段でサンプリングし、前
記個数Nが零の場合、周波数の調整が完了したものとし
て自動調整処理を終えるように制御する、ことを特徴と
する請求項1乃至3のいずれか一に記載のサンプリング
クロック自動調整装置。
4. The arithmetic processing unit reads out from the holding unit a predetermined number of sampled data obtained by sampling the adjustment video signal of a predetermined pattern by the A / D conversion unit with a sampling clock of a certain frequency. The number of the minimum points of the sampling data distribution is calculated, and when the number N of the minimum points is non-zero, the value of the frequency obtained by adding or subtracting the N from the frequency is used as a new sampling clock frequency, and When the adjustment video signal is sampled by the A / D converter with the sampling clock of the newly set frequency set in the sampling clock generator through the controller, and the number N is zero. And controlling the automatic adjustment process to end assuming that the frequency adjustment has been completed. Sampling clock automatic adjustment device according to any one of.
【請求項5】前記演算処理手段が、所定パターンの調整
用映像信号を調整済みの周波数のサンプリングクロック
にて前記A/D変換手段で標本化したサンプリングデー
タについて、N回目(但し、Nは正整数)のサンプリン
グ時よりも前記遅延手段の遅延量を単位ステップ増大又
は減少させた遅延量のサンプリングクロックにて前記A
/D変換手段で標本化したN+1回目のサンプリングデ
ータの値が、前記N回目のサンプリングデータの値より
も大きく、前記N+1回目のサンプリング時よりも前記
遅延手段の遅延量を単位ステップ増大又は減少させた遅
延量でサンプリングクロックにて前記A/D変換手段で
標本化したN+2回目のサンプリングデータよりも大き
い場合、遅延量が調整されたものとして、位相の自動調
整処理を終える、ことを特徴とする請求項1乃至3のい
ずれか一に記載のサンプリングクロック自動調整装置。
5. The method according to claim 1, wherein the arithmetic processing means performs an N-th (where N is positive) sampling data obtained by sampling the adjustment video signal of the predetermined pattern with the sampling clock having the adjusted frequency by the A / D conversion means. A), the delay amount of the delay means is increased or decreased by a unit step as compared with the sampling clock of the integer A).
The value of the (N + 1) th sampling data sampled by the / D conversion means is larger than the value of the Nth sampling data, and the delay amount of the delay means is increased or decreased by a unit step as compared with the time of the (N + 1) th sampling data. If the delay amount is larger than the (N + 2) -th sampling data sampled by the A / D conversion means with the sampling clock, the delay amount is adjusted and the automatic phase adjustment process is terminated. The sampling clock automatic adjustment device according to claim 1.
【請求項6】前記調整用映像信号が、明度の最高値と最
低値よりなり、中間色を含まない所定の文字パターンも
しくは縦縞パターンよりなる、ことを特徴とする請求項
3又は5記載のサンプリングクロック自動調整装置。
6. The sampling clock according to claim 3, wherein the adjustment video signal comprises a maximum value and a minimum value of lightness and a predetermined character pattern or vertical stripe pattern not including an intermediate color. Automatic adjustment device.
【請求項7】前記演算処理手段が、所定パターンの調整
用映像信号をある周波数のサンプリングクロックにて前
記A/D変換手段で標本化した所定個数のサンプリング
データについて背景画像データに対応する値の処理はス
キップする、ことを特徴とする請求項6記載のサンプリ
ングクロック自動調整装置。
7. The arithmetic processing means according to claim 1, wherein said adjusting video signal of a predetermined pattern is sampled by said A / D converting means at a sampling clock of a certain frequency by a predetermined number of sampling data corresponding to background image data. 7. The automatic sampling clock adjusting device according to claim 6, wherein the process is skipped.
【請求項8】前記演算処理手段が、所定パターンの調整
用映像信号をある周波数のサンプリングクロックにて前
記A/D変換手段で標本化した所定個数のサンプリング
データについて、前記保持手段から、1ライン分もしく
は垂直帰線消去期間を超える分読み出して、周波数、及
び位相の調整処理を行なう、ことを特徴とする請求項4
乃至7のいずれか一に記載のサンプリングクロック自動
調整装置。
8. The storage device according to claim 1, wherein said arithmetic processing means is configured to execute one line of sampling data of a predetermined number of sampled data sampled by said A / D conversion means at a sampling clock of a certain frequency. 5. The frequency and phase adjustment processing is performed by reading data for a period of time that exceeds the vertical blanking period.
8. The automatic sampling clock adjustment apparatus according to any one of claims 1 to 7.
JP10330368A 1998-11-20 1998-11-20 Sampling clock automatic adjustment device Pending JP2000156795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10330368A JP2000156795A (en) 1998-11-20 1998-11-20 Sampling clock automatic adjustment device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10330368A JP2000156795A (en) 1998-11-20 1998-11-20 Sampling clock automatic adjustment device

Publications (1)

Publication Number Publication Date
JP2000156795A true JP2000156795A (en) 2000-06-06

Family

ID=18231832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10330368A Pending JP2000156795A (en) 1998-11-20 1998-11-20 Sampling clock automatic adjustment device

Country Status (1)

Country Link
JP (1) JP2000156795A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8330860B2 (en) 2009-06-12 2012-12-11 Kabushiki Kaisha Toshiba Color signal processing circuit, color signal processing method and television system
US8525771B2 (en) 2006-06-30 2013-09-03 Nec Display Solutions, Ltd. Image display apparatus and method of adjusting clock phase using delay evaluation signal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8525771B2 (en) 2006-06-30 2013-09-03 Nec Display Solutions, Ltd. Image display apparatus and method of adjusting clock phase using delay evaluation signal
US9262989B2 (en) 2006-06-30 2016-02-16 Nec Display Solutions, Ltd. Image display apparatus and method of adjusting clock phase using a delay evaluation signal
US8330860B2 (en) 2009-06-12 2012-12-11 Kabushiki Kaisha Toshiba Color signal processing circuit, color signal processing method and television system

Similar Documents

Publication Publication Date Title
JP3673303B2 (en) Video signal processing device
US8525771B2 (en) Image display apparatus and method of adjusting clock phase using delay evaluation signal
JP3622270B2 (en) Video signal processing apparatus, information processing system, and video signal processing method
JP2950261B2 (en) Liquid crystal display
US6621480B1 (en) Phase adjuster, phase adjusting method and display device
JP2000156795A (en) Sampling clock automatic adjustment device
KR100339459B1 (en) Liquid crystal display apparatus
JPH06161384A (en) Liquid crystal gamma correcting circuit
JP3371689B2 (en) A / D conversion reference voltage setting circuit
KR100308259B1 (en) Digital convergence corrector
JP2874672B2 (en) Automatic phase adjustment system for display device
JP3409844B2 (en) Clock phase automatic adjustment system and method
JPH1049103A (en) Display controller
JP3896368B2 (en) Image display device
KR100941791B1 (en) Automatic Gain Adjustment In Analoge/Digital Video Converter
JP3306020B2 (en) Video clock automatic setting device and automatic setting method thereof
JP3338173B2 (en) Video signal processing device
JPH10340074A (en) Image signal processing circuit
JP2001188503A (en) Image display device, device for detecting number of horizontal effective pixels and picture display method
JP2001013944A (en) Sampling clock generating device, storage medium stored with control program for generation of sampling clock
AU2745499A (en) Automatic luminance adjustment device and method
JPH11275386A (en) Automatic luminance adjusting device
JPH11311967A (en) Display device
JP2002033939A (en) Image processor
JP2001175213A (en) Automatic clock phase adjusting circuit