JP3412456B2 - Automatic gain control device - Google Patents

Automatic gain control device

Info

Publication number
JP3412456B2
JP3412456B2 JP17358597A JP17358597A JP3412456B2 JP 3412456 B2 JP3412456 B2 JP 3412456B2 JP 17358597 A JP17358597 A JP 17358597A JP 17358597 A JP17358597 A JP 17358597A JP 3412456 B2 JP3412456 B2 JP 3412456B2
Authority
JP
Japan
Prior art keywords
signal
state
gain control
error
level
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
JP17358597A
Other languages
Japanese (ja)
Other versions
JPH1127560A (en
Inventor
玲互 柳澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP17358597A priority Critical patent/JP3412456B2/en
Publication of JPH1127560A publication Critical patent/JPH1127560A/en
Application granted granted Critical
Publication of JP3412456B2 publication Critical patent/JP3412456B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Picture Signal Circuits (AREA)

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明はテレビ、ビデオテー
プレコーダ等で、映像信号の利得を調整するために用い
られる、自動利得制御装置に関するものである。 【0002】 【従来の技術】従来、自動利得制御装置は特開平5−7
5895号公報に記載されたものが知られている。 【0003】図3に従来の自動利得制御装置のブロック
図を示す。図3において、11は利得調整手段、12は
AD変換手段、13は誤差レベル検出手段、18はDA
変換手段、19はアナログ映像信号入力端子、110は
ディジタル映像信号出力端子、31は変換手段である。
以下、図3を用いて従来の自動利得制御装置について説
明する。 【0004】端子19より入力されたアナログ映像信号
は、利得調整手段11で最適な利得に調整され、AD変
換手段12でアナログ−ディジタル変換され、ディジタ
ル映像信号となり端子110より出力される。この後デ
ィジタル映像信号には、YC分離等のディジタル信号処
理が施される。 【0005】一方、ディジタル映像信号の信号レベルと
基準レベルとの差を、誤差レベル検出手段13で検出す
る。図4に誤差レベル検出手段13の構成例を示す。図
4において、41は同期分離回路、42はシンクチップ
レベル検出回路、43はペデスタルレベル検出回路、4
4、45は減算器、46はディジタル映像信号入力端子
である。 【0006】同期分離回路41は、端子46から入力さ
れるディジタル映像信号より水平同期信号を分離する。
図5(a)にディジタル映像信号の例、図5(b)に分
離された水平同期信号の例を示す。シンクチップレベル
検出回路42では、水平同期信号を基準にして図5
(c)に示すようなパルスを生成し、このパルスが1の
期間ディジタル映像信号を積分して、シンクチップレベ
ルSを出力する。同様にペデスタルレベル検出回路43
では、水平同期信号を基準にして図5(d)に示すよう
なパルスを生成し、このパルスが1の期間ディジタル映
像信号を積分して、ペデスタルレベルPを出力する。減
算器44でP−Sを計算し、同期信号の長さ、すなわち
ディジタル映像信号のレベルL=P−Sを求める。これ
と基準レベルL0との差を減算器45で求め、誤差信号
L−L0を出力する。 【0007】変換手段31は、誤差信号L−L0をディ
ジタル利得制御信号に変換して出力する。 【0008】図6に変換手段31の構成例を示す。図6
において、210は符号判別回路、211は選択回路、
213は加算器、214はフリップフロップ、215は
誤差信号入力端子、216はディジタル利得制御信号出
力端子である。 【0009】端子215より入力される誤差信号L−L
0の符号が正か負か0かを符号判別回路210で判別す
る。L−L0>0の時、選択回路211では−1が選択
される。このため加算器213、フリップフロップ21
4で構成されるカウンタの値が1小さくなる。すなわち
端子216より出力されるディジタル利得制御信号の値
が1小さくなる。これをDA変換手段18によりディジ
タル−アナログ変換し、利得調整手段11の利得を可変
する。アナログ利得制御信号は以前より小さくなってい
るので、AD変換手段12に入力されるアナログ映像信
号のレベルが小さくなる。よってAD変換手段12より
出力されるディジタル映像信号のレベルが小さくなり、
誤差レベルL−L0は0に近づく。逆にL−L0<0の
時、選択回路211で1が選択されるので、同様にして
アナログ利得制御信号が以前より大きくなり、AD変換
手段12より出力されるディジタル映像信号のレベルが
大きくなって、L−L0はマイナスの方向から0に近づ
く。以上の動作を通じて、誤差レベルL−L0はしだい
に0に近づいていき、最終的に0に一致すると、符号判
別回路210がこれを検出し、選択回路211が0を選
択するため、加算器213、フリップフロップ214で
構成されるカウンタは動作を停止する。すなわち、ディ
ジタル利得制御信号が一定レベルとなり、ディジタル映
像信号の同期信号のレベルがLに等しい状態で収束す
る。実際はノイズの影響で誤差信号が完全に0に収束す
ることはなく、このためディジタル利得制御信号は誤差
信号が0になる付近で常に増減する。以上の動作によ
り、ディジタル映像信号のレベルが基準レベルに等しい
状態に自動的に調整される。 【0010】 【発明が解決しようとする課題】しかしながら上記した
従来の構成では、チャンネルの切り替え等でアナログ映
像信号が切り替わる際、ディジタル映像信号のレベルを
基準レベルに高速に収束させようとすると、ディジタル
映像信号に重畳しているノイズのために安定に収束せ
ず、これが明るさの変動(フリッカ)となって現れてし
まうという問題点を有していた。 【0011】本発明は上記従来の問題点を解決するもの
で、ディジタル映像信号のレベルを基準レベルに高速に
収束させてもフリッカにならない、自動利得制御装置を
提供することを目的とする。 【0012】 【課題を解決するための手段】この課題を解決するため
に本発明の自動利得制御装置は、アナログ利得制御信号
に応じてアナログ映像信号の利得を可変し利得が調整さ
れたアナログ映像信号を出力する利得調整手段と、前記
利得が調整されたアナログ映像信号をディジタル映像信
号に変換するAD変換手段と、前記ディジタル映像信号
の大きさを基準レベルと比較し、その差を誤差信号とし
て出力する誤差レベル検出手段と、前記誤差信号が0に
等しい期間が所定の期間を越えたことを検出し、検出結
果を一致検出信号として出力する一致検出手段と、前記
誤差信号が所定の誤差より大きい期間が所定の期間以上
となった時を検出し、検出結果を不一致検出信号として
出力する比較手段と、前記一致検出信号で一致状態に移
行し、前記不一致検出信号で不一致状態に移行し、前記
一致状態と前記不一致状態を示す状態信号を出力する状
態保持手段と、前記状態信号が前記不一致状態の時に前
記誤差信号をディジタル利得制御信号に変換して出力
し、前記状態信号が前記不一致状態から前記一致状態に
変化したときの前記ディジタル利得制御信号を保持し前
記一致状態の時に出力するレベル変換手段と、前記ディ
ジタル利得制御信号を前記アナログ利得制御信号に変換
するDA変換手段とから構成されている。 【0013】 【発明の実施の形態】本発明は、利得調整手段がアナロ
グ利得制御信号に応じてアナログ映像信号の利得を可変
し、利得が調整されたアナログ映像信号を出力する。こ
の利得が調整されたアナログ映像信号をAD変換手段で
ディジタル映像信号に変換する。誤差レベル検出手段で
ディジタル映像信号の大きさを基準レベルと比較し、差
を誤差信号として出力する。一致検出手段では誤差信号
が0に等しい期間が所定の期間を越えたことを検出し、
検出結果を一致検出信号として出力する。比較手段では
誤差信号が所定の誤差より大きい期間が所定の期間以上
となった時を検出し、検出結果を不一致検出信号として
出力する。状態保持手段は不一致検出信号で不一致状態
に移行し、一致検出信号が出力されるまで不一致状態を
保持し、一致検出信号が出力されると一致状態に移行す
る。レベル変換手段では、不一致状態の時に誤差信号を
ディジタル利得制御信号に変換して出力し、一致状態に
遷移した時に直前のディジタル利得制御信号を保持して
出力する。DA変換手段でディジタル利得制御信号をア
ナログ利得制御信号に変換し、このアナログ利得制御信
号に応じてアナログ映像信号の利得を調整する。 【0014】以下、本発明の実施の形態について、図面
を用いて説明する。 (実施の形態1)図1は本発明の実施の形態の自動利得
制御装置のブロック図を示すものである。図1におい
て、11は利得調整手段、12はAD変換手段、13は
誤差レベル検出手段、14は一致検出手段、15は比較
手段、16は状態保持手段、17はレベル変換手段、1
8はDA変換手段、19はアナログ映像信号入力端子、
110はディジタル映像信号出力端子である。従来の技
術の項で述べた図3と同じ動作をするものについては同
じ符号を付けている。以下、図1を参照しながら本実施
の形態の自動利得制御装置について、特に本発明の特徴
的な部分である一致検出手段14,比較手段15,状態
保持手段16,レベル変換手段17について説明する。 【0015】一致検出手段14,比較手段15,状態保
持手段16,レベル変換手段17の具体的な構成例を図
2に示す。図2において、21は一致検出回路、22、
27はアップダウンカウンタ、23、24、25、28
は比較器、26はORゲート、29はセットリセットフ
リップフロップ、210は符号判別回路、211、21
2は選択回路、213は加算器、214はフリップフロ
ップ、215は誤差信号入力端子、216はディジタル
利得制御信号出力端子である。 【0016】従来の技術の項で説明したような動作で、
端子215より誤差信号L−L0が入力される。一致検
出手段14は、L−L0=0となる期間が所定の期間を
越えた時に一致検出信号を出力する。以下一致検出手段
14の動作を説明する。 【0017】一致検出回路21はL−L0=0の時に1
を出力し、L−L0≠0の時に0を出力する。アップダ
ウンカウンタ22は、一致検出回路21の出力が1の時
にその出力を1ずつ増加させ、0の時に1ずつ減少させ
る。ただし最小値は0である。よってL−L0≠0が連
続して続くと、出力は0となり、L−L0=0が連続し
て続くと出力は1ずつ増加する。比較器23はアップダ
ウンカウンタ22の出力を定数Mと比較し、アップダウ
ンカウンタ22の出力がMを越えた時に、すなわち誤差
信号L−L0がM回以上連続して0になった時に誤差信
号がゼロであると判断し、一致検出信号に1を出力す
る。定数Mは一致検出の精度を決定する定数で、通常は
数H程度(1Hは1水平周期)に選ばれる。 【0018】比較手段15は、誤差信号L−L0が所定
のレベルを超え、その期間が所定の期間以上となった時
に、不一致検出信号を出力する。以下比較手段15の動
作を説明する。 【0019】比較器24は誤差信号L−L0が定数L1
より大きい時1を出力する。比較器25は誤差信号L−
L0が定数L2より小さいとき1を出力する。ただしL
2<0<L1である。定数L1、L2は誤差信号のノイ
ズ成分で比較手段15が動作するのを防ぐ目的で設定さ
れており、誤差信号のノイズレベルよりも十分大きな数
値に選ばれる。通常ノイズ成分は正負対称なので、L2
=−L1である。 【0020】次に比較器24、25の出力の論理和をO
Rゲート26でとる。これによりORゲート26の出力
は、誤差信号がノイズレベルの範囲を超えて0よりはず
れた時に1となる。このORゲート26の出力は、アッ
プダウンカウンタ22、比較器23同様、アップダウン
カウンタ27でカウントされ、比較器28で定数Nと比
較される。すなわち誤差信号L−L0がN回以上連続し
て定数L1、L2で定められる範囲を超えた時、誤差信
号がゼロではないと判断し、不一致検出信号に1を出力
する。定数Nは不一致検出の精度を決定する定数で、通
常は数100H程度に選ばれる。一致検出の定数Mを数
Hに、不一致検出の定数Nを数100Hに選ぶのは、デ
ィジタル映像信号を所定のレベルへと素早く引き込み、
一旦引き込んだ後はノイズに影響されない安定な利得調
整を行うためである。 【0021】状態保持手段16はセットリセットフリッ
プフロップ29で構成され、一致検出信号が1になった
時に出力が1にセットされ、不一致検出信号が1の時0
にリセットされる。すなわち状態保持手段16は一致検
出信号が入力されると不一致検出信号が入力されるまで
一致状態(出力=1)を保持し、逆に不一致検出信号が
入力されると一致検出信号が入力されるまで不一致状態
(出力=0)を保持する。 【0022】レベル変換手段17では、誤差信号L−L
0をディジタル利得制御信号に変換して端子216より
出力する。状態保持手段16の出力が0の時(不一致状
態の時)、選択回路212は選択回路211の出力を選
択する。符号判別回路210で誤差信号L−L0の符号
が正か0か負かを判別し、その結果に応じて選択回路2
11よりそれぞれ−4か0か1かを出力する。誤差電圧
が正の方向に大きい時はアナログ映像信号のレベルが大
きいときであって、AD変換手段12のダイナミックレ
ンジを越えてしまう可能性がある。そこで選択回路21
1の出力を−4とし、誤差信号が負の時に比べ4倍高速
に応答させている。 【0023】加算器213、フリップフロップ214で
構成されるカウンタは、選択回路211の出力に応じて
増減する、すなわちディジタル利得制御信号が増減す
る。最終的には従来の技術の項で説明したように、誤差
信号が0になるように収束していく。そうすると一致検
出手段14から一致検出信号が出力され、状態保持手段
16の出力が1(一致状態)へと変化し、選択回路21
2は0を出力するため、ディジタル利得制御信号は一定
になる。またこの時、誤差信号はノイズを含めて定数L
1、L2で決定される範囲内にあるので、ノイズに影響
されることなく、ディジタル利得制御信号は一定値を保
持し続ける。よってこの状態では一定の利得調整が利得
調整手段11で行われ、フリッカの発生しない安定した
動作が可能になる。 【0024】チャンネル切り替え等によりアナログ映像
信号が切り替わると、誤差電圧が定数L1、L2で決定
される範囲を所定の期間超えるので、状態保持手段16
の出力が0(不一致状態)へと変化する。そうすると上
記したのと同様の動作で、最終的には再び一致状態へと
変化し、以後安定に動作する。 【0025】以上のように本発明によれば、不一致状態
で高速に応答させ、一致状態では応答を停止すること
で、応答の高速化とフリッカの発生しない安定した利得
調整が可能になる。 【0026】なお、以上の説明では、誤差レベル検出手
段13で、映像信号の同期信号の大きさと基準レベルと
の差を検出する構成としたが、色信号のバーストレベル
と基準レベルとの差を検出する構成にすれば、色信号に
ついても同様に、高速でフリッカのない利得調整が可能
である。 【0027】 【発明の効果】以上のように本発明によれば、アナログ
映像信号の利得を可変る利得調整手段と、利得が調整さ
れたアナログ映像信号をディジタル映像信号に変換する
AD変換手段と、ディジタル映像信号の大きさを基準レ
ベルと比較し誤差信号を出力する誤差レベル検出手段
と、誤差信号が0に等しい期間が所定の期間を越えたこ
を検出する一致検出手段と、誤差信号が所定の誤差よ
り大きい期間が所定の期間以上となった時を検出し出力
する比較手段と、一致状態と不一致状態を示す状態信号
を出力する状態保持手段と、状態信号に応じて誤差信号
をディジタル利得制御信号に変換して出力するレベル変
換手段と、ディジタル利得制御信号をアナログ利得制御
信号に変換するDA変換手段とを設けることにより、高
速でかつフリッカのない安定な利得調整が可能となり、
その実用的効果は大きい。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic gain control device used for adjusting a gain of a video signal in a television, a video tape recorder, or the like. 2. Description of the Related Art Conventionally, an automatic gain control device is disclosed in
One described in Japanese Patent No. 5895 is known. FIG. 3 shows a block diagram of a conventional automatic gain control device. In FIG. 3, reference numeral 11 denotes gain adjustment means, 12 denotes AD conversion means, 13 denotes error level detection means, and 18 denotes DA
Conversion means, 19 is an analog video signal input terminal, 110 is a digital video signal output terminal, and 31 is a conversion means.
Hereinafter, a conventional automatic gain control device will be described with reference to FIG. [0004] The analog video signal input from the terminal 19 is adjusted to an optimum gain by the gain adjusting means 11, converted from analog to digital by the AD conversion means 12, becomes a digital video signal, and is output from the terminal 110. Thereafter, the digital video signal is subjected to digital signal processing such as YC separation. On the other hand, the difference between the signal level of the digital video signal and the reference level is detected by the error level detecting means 13. FIG. 4 shows a configuration example of the error level detecting means 13. In FIG. 4, 41 is a sync separation circuit, 42 is a sync tip level detection circuit, 43 is a pedestal level detection circuit,
Reference numerals 4 and 45 denote subtracters, and reference numeral 46 denotes a digital video signal input terminal. The sync separation circuit 41 separates a horizontal sync signal from a digital video signal input from a terminal 46.
FIG. 5A shows an example of a digital video signal, and FIG. 5B shows an example of a separated horizontal synchronizing signal. In the sync chip level detection circuit 42, the horizontal synchronization signal is used as a reference.
A pulse as shown in (c) is generated, and the pulse integrates the digital video signal for one period to output a sync tip level S. Similarly, the pedestal level detection circuit 43
Then, a pulse as shown in FIG. 5D is generated based on the horizontal synchronizing signal, and the pulse integrates the digital video signal for one period to output a pedestal level P. The subtractor 44 calculates PS, and obtains the length of the synchronization signal, that is, the level L = PS of the digital video signal. The difference between this and the reference level L0 is obtained by the subtractor 45, and an error signal L-L0 is output. [0007] The conversion means 31 converts the error signal L-L0 into a digital gain control signal and outputs it. FIG. 6 shows a configuration example of the conversion means 31. FIG.
, 210 is a code determination circuit, 211 is a selection circuit,
213 is an adder, 214 is a flip-flop, 215 is an error signal input terminal, and 216 is a digital gain control signal output terminal. The error signal LL inputted from the terminal 215
The sign judgment circuit 210 judges whether the sign of 0 is positive or negative or 0. When L−L0> 0, the selection circuit 211 selects −1. Therefore, the adder 213 and the flip-flop 21
The value of the counter composed of 4 is decreased by 1. That is, the value of the digital gain control signal output from the terminal 216 decreases by one. This is digital-to-analog converted by the DA converter 18 and the gain of the gain adjuster 11 is varied. Since the analog gain control signal is smaller than before, the level of the analog video signal input to the AD converter 12 is reduced. Therefore, the level of the digital video signal output from the AD conversion means 12 decreases,
The error level L-L0 approaches zero. Conversely, when L-L0 <0, 1 is selected by the selection circuit 211, so that the analog gain control signal becomes larger than before, and the level of the digital video signal output from the AD converter 12 becomes larger. Therefore, L-L0 approaches 0 from a negative direction. Through the above operation, the error level L-L0 gradually approaches 0. When the error level finally matches 0, the sign discrimination circuit 210 detects this and the selection circuit 211 selects 0, so that the adder 213 , The counter constituted by the flip-flop 214 stops its operation. That is, the digital gain control signal is at a constant level, and converges in a state where the level of the synchronizing signal of the digital video signal is equal to L. Actually, the error signal does not completely converge to 0 due to the influence of noise. Therefore, the digital gain control signal always increases or decreases near the point where the error signal becomes 0. By the above operation, the level of the digital video signal is automatically adjusted to a state equal to the reference level. [0010] However, in the above-mentioned conventional configuration, when the level of the digital video signal is made to converge to the reference level at a high speed when the analog video signal is switched by switching the channel or the like, the digital video signal cannot be obtained. There has been a problem that the noise does not converge stably due to the noise superimposed on the video signal, and this appears as fluctuation (flicker) in brightness. SUMMARY OF THE INVENTION It is an object of the present invention to solve the above-mentioned conventional problems and to provide an automatic gain control device which does not cause flicker even when the level of a digital video signal is converged to a reference level at high speed. [0012] In order to solve this problem, an automatic gain control device according to the present invention varies the gain of an analog video signal according to an analog gain control signal and adjusts the gain of the analog video signal. Gain adjusting means for outputting a signal, AD converting means for converting the analog video signal whose gain has been adjusted into a digital video signal, comparing the magnitude of the digital video signal with a reference level, and using the difference as an error signal. An error level detection means for outputting, a coincidence detection means for detecting that a period in which the error signal is equal to 0 has exceeded a predetermined period, and outputting a detection result as a coincidence detection signal; Large period is longer than specified period
And a comparing means for detecting a time when the error has occurred and outputting a detection result as a mismatch detection signal; shifting to a match state with the match detection signal; shifting to a mismatch state with the mismatch detection signal; State holding means for outputting a state signal indicating that the error signal has been converted to a digital gain control signal and output when the state signal is in the mismatched state, and the state signal has changed from the mismatched state to the matched state. And a DA converter for converting the digital gain control signal into the analog gain control signal. According to the present invention, the gain adjusting means changes the gain of an analog video signal according to an analog gain control signal, and outputs an analog video signal whose gain has been adjusted. The analog video signal whose gain has been adjusted is converted into a digital video signal by AD conversion means. The error level detecting means compares the magnitude of the digital video signal with the reference level, and outputs the difference as an error signal. The coincidence detecting means detects that the period during which the error signal is equal to 0 exceeds a predetermined period ,
The detection result is output as a coincidence detection signal. In the comparing means, the period during which the error signal is larger than the predetermined error is longer than the predetermined period
Detects when a, and outputs the detection result as a mismatch detection signal. The state holding means shifts to the mismatch state by the mismatch detection signal, holds the mismatch state until the match detection signal is output, and shifts to the match state when the match detection signal is output. The level conversion means converts the error signal into a digital gain control signal in the case of a non-match state and outputs the digital gain control signal. The DA converter converts the digital gain control signal into an analog gain control signal, and adjusts the gain of the analog video signal according to the analog gain control signal. Hereinafter, embodiments of the present invention will be described with reference to the drawings. (Embodiment 1) FIG. 1 is a block diagram showing an automatic gain control device according to an embodiment of the present invention. In FIG. 1, reference numeral 11 denotes gain adjustment means, 12 denotes AD conversion means, 13 denotes error level detection means, 14 denotes coincidence detection means, 15 denotes comparison means, 16 denotes state holding means, 17 denotes level conversion means,
8 is DA conversion means, 19 is an analog video signal input terminal,
110 is a digital video signal output terminal. Components that perform the same operations as in FIG. 3 described in the section of the prior art are denoted by the same reference numerals. Hereinafter, the automatic gain control device according to the present embodiment will be described with reference to FIG. 1, particularly, the coincidence detecting means 14, the comparing means 15, the state holding means 16, and the level converting means 17 which are characteristic parts of the present invention. . FIG. 2 shows a specific configuration example of the coincidence detecting means 14, the comparing means 15, the state holding means 16, and the level converting means 17. In FIG. 2, reference numeral 21 denotes a coincidence detection circuit;
27 is an up / down counter, 23, 24, 25, 28
Is a comparator, 26 is an OR gate, 29 is a set / reset flip-flop, 210 is a code discriminating circuit, 211 and 21
2 is a selection circuit, 213 is an adder, 214 is a flip-flop, 215 is an error signal input terminal, and 216 is a digital gain control signal output terminal. In the operation as described in the section of the prior art,
An error signal L-L0 is input from a terminal 215. The coincidence detecting means 14 outputs a coincidence detection signal when the period when L−L0 = 0 exceeds a predetermined period. Hereinafter, the operation of the coincidence detecting means 14 will be described. The coincidence detecting circuit 21 outputs 1 when L-L0 = 0.
And outputs 0 when L−L0 ≠ 0. The up-down counter 22 increases the output by one when the output of the coincidence detection circuit 21 is 1, and decreases the output by 1 when the output is 0. However, the minimum value is 0. Therefore, if L-L0 ≠ 0 continues continuously, the output becomes 0, and if L-L0 = 0 continues, the output increases by one. The comparator 23 compares the output of the up / down counter 22 with a constant M. When the output of the up / down counter 22 exceeds M, that is, when the error signal L−L0 becomes 0 continuously for M times or more, the error signal is output. Is determined to be zero, and 1 is output to the coincidence detection signal. The constant M is a constant that determines the accuracy of coincidence detection, and is usually selected to be about several H (1H is one horizontal cycle). The comparing means 15 outputs a non-coincidence detection signal when the error signal L-L0 exceeds a predetermined level and the period becomes longer than a predetermined period. Hereinafter, the operation of the comparing means 15 will be described. The comparator 24 determines that the error signal L-L0 is a constant L1.
When it is larger, 1 is output. The comparator 25 outputs the error signal L−
When L0 is smaller than the constant L2, 1 is output. Where L
2 <0 <L1. The constants L1 and L2 are set for the purpose of preventing the operation of the comparing means 15 with the noise component of the error signal, and are selected to be sufficiently larger than the noise level of the error signal. Since the noise component is usually symmetric,
= -L1. Next, the logical sum of the outputs of the comparators 24 and 25 is
Take at R gate 26. As a result, the output of the OR gate 26 becomes 1 when the error signal goes out of 0 beyond the range of the noise level. The output of the OR gate 26 is counted by an up / down counter 27 like the up / down counter 22 and the comparator 23, and compared with a constant N by a comparator 28. That is, when the error signal L-L0 exceeds the range defined by the constants L1 and L2 continuously N times or more, it is determined that the error signal is not zero, and 1 is output as the mismatch detection signal. The constant N is a constant that determines the accuracy of mismatch detection, and is usually selected to be several hundreds of hours. Selecting the constant M for coincidence detection to several H and the constant N for non-coincidence detection to several hundred H is because the digital video signal is quickly pulled to a predetermined level.
This is to perform stable gain adjustment that is not affected by noise once the pull-in is performed. The state holding means 16 comprises a set / reset flip-flop 29. The output is set to 1 when the coincidence detection signal becomes 1, and 0 when the inconsistency detection signal is 1.
Is reset to That is, when the match detection signal is input, the state holding means 16 holds the match state (output = 1) until the mismatch detection signal is input, and conversely, when the mismatch detection signal is input, the match detection signal is input. Until then, the mismatch state (output = 0) is held. In the level conversion means 17, the error signal LL
0 is converted to a digital gain control signal and output from terminal 216. When the output of the state holding means 16 is 0 (in a mismatch state), the selection circuit 212 selects the output of the selection circuit 211. The sign discriminating circuit 210 discriminates whether the sign of the error signal L−L0 is positive, 0 or negative, and selects the selecting circuit 2 according to the result.
11 outputs -4, 0 or 1, respectively. When the error voltage is large in the positive direction, it is when the level of the analog video signal is large, and may exceed the dynamic range of the AD converter 12. Therefore, the selection circuit 21
The output of 1 is -4, and the response is four times faster than when the error signal is negative. The counter composed of the adder 213 and the flip-flop 214 increases or decreases according to the output of the selection circuit 211, that is, the digital gain control signal increases or decreases. Eventually, as described in the section of the related art, the error signal converges to zero. Then, a coincidence detection signal is output from the coincidence detection means 14, and the output of the state holding means 16 changes to 1 (coincidence state).
Since 2 outputs 0, the digital gain control signal becomes constant. At this time, the error signal is a constant L including noise.
1, since it is within the range determined by L2, the digital gain control signal keeps a constant value without being affected by noise. Therefore, in this state, a constant gain adjustment is performed by the gain adjustment means 11, and a stable operation without flicker can be performed. When the analog video signal is switched by channel switching or the like, the error voltage exceeds the range determined by the constants L1 and L2 for a predetermined period.
Changes to 0 (unmatched state). Then, by the same operation as described above, the state finally changes to the coincidence state again, and thereafter the operation is stabilized. As described above, according to the present invention, a high-speed response is performed in a non-coincidence state, and a response is stopped in a coincidence state, so that a high-speed response and stable gain adjustment without flicker can be performed. In the above description, the error level detecting means 13 detects the difference between the magnitude of the synchronization signal of the video signal and the reference level. However, the difference between the burst level of the color signal and the reference level is determined. According to the configuration for detecting the color signal, the gain can be adjusted at high speed without flicker similarly. As described above, according to the present invention, gain adjustment means for varying the gain of an analog video signal, and AD conversion means for converting the analog video signal whose gain has been adjusted into a digital video signal. , this in which the error level detecting means for outputting a comparison error signal the magnitude of the digital video signal with a reference level, a period error signal is equal to 0 exceeds a predetermined time period
And coincidence detection means for detecting the door state holding error signal to output a state signal indicating a comparison means is greater than the period predetermined error is detected outputs when equal to or more than a predetermined period of time, the matching state inconsistent state Means, a level converting means for converting an error signal into a digital gain control signal in accordance with the state signal and outputting the digital gain control signal, and a DA converting means for converting the digital gain control signal into an analog gain control signal. Stable gain adjustment without flicker is possible,
Its practical effect is great.

【図面の簡単な説明】 【図1】本発明の実施の形態1における自動利得調整装
置の構成を示すブロック図 【図2】同実施の形態1における具体的な構成例を示す
ブロック図 【図3】従来の自動利得調整装置の構成を示すブロック
図 【図4】誤差レベル検出手段の具体的な構成例を示すブ
ロック図 【図5】誤差レベル検出手段の動作を説明する信号波形
図 【図6】変換手段の具体的な構成を示すブロック図 【符号の説明】 11 利得調整手段 12 AD変換手段 13 誤差レベル検出手段 14 一致検出手段 15 比較手段 16 状態保持手段 17 レベル変換手段 18 DA変換手段
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram illustrating a configuration of an automatic gain adjustment device according to a first embodiment of the present invention. FIG. 2 is a block diagram illustrating a specific configuration example according to the first embodiment. 3 is a block diagram showing a configuration of a conventional automatic gain adjustment device. FIG. 4 is a block diagram showing a specific configuration example of an error level detection unit. FIG. 5 is a signal waveform diagram for explaining the operation of the error level detection unit. 6 Block diagram showing a specific configuration of the conversion means [Explanation of reference numerals] 11 Gain adjustment means 12 AD conversion means 13 Error level detection means 14 Match detection means 15 Comparison means 16 State holding means 17 Level conversion means 18 DA conversion means

Claims (1)

(57)【特許請求の範囲】 【請求項1】 アナログ利得制御信号に応じてアナログ
映像信号の利得を可変し利得が調整されたアナログ映像
信号を出力する利得調整手段と、 前記利得が調整されたアナログ映像信号をディジタル映
像信号に変換するAD変換手段と、 前記ディジタル映像信号の大きさを基準レベルと比較
し、その差を誤差信号として出力する誤差レベル検出手
段と、 前記誤差信号が0に等しい期間が所定の期間を超えたこ
を検出し、検出結果を一致検出信号として出力する一
致検出手段と、 前記誤差信号が所定の誤差より大きい期間が所定の期間
以上となった時を検出し、検出結果を不一致検出信号と
して出力する比較手段と、 前記一致検出信号で一致状態に移行し、前記不一致検出
信号で不一致状態に移行し、前記一致状態と前記不一致
状態を示す状態信号を出力する状態保持手段と、 前記状態信号が前記不一致状態の時に前記誤差信号をデ
ィジタル利得制御信号に変換して出力し、前記状態信号
が前記不一致状態から前記一致状態に変化したときの前
記ディジタル利得制御信号を保持し前記一致状態の時に
出力するレベル変換手段と、 前記ディジタル利得制御信号を前記アナログ利得制御信
号に変換するDA変換手段とを備えたことを特徴とする
自動利得制御装置。
(57) Claims: (1) gain adjusting means for varying the gain of an analog video signal in accordance with an analog gain control signal and outputting an analog video signal whose gain has been adjusted; A / D conversion means for converting the analog video signal into a digital video signal, an error level detection means for comparing the magnitude of the digital video signal with a reference level, and outputting the difference as an error signal, That the equal period has exceeded the predetermined period
And a coincidence detecting means for detecting the result as a coincidence detection signal, and a period in which the error signal is larger than a predetermined error is a predetermined period
Comparing means for detecting the time when the above has occurred , and outputting a detection result as a mismatch detection signal; shifting to a match state by the match detection signal; shifting to a mismatch state by the mismatch detection signal; State holding means for outputting a state signal indicating a state; and when the state signal is in the mismatched state, the error signal is converted into a digital gain control signal and output, and the state signal changes from the mismatched state to the matched state. Level conversion means for holding the digital gain control signal at the time of the conversion and outputting the digital gain control signal in the coincidence state, and DA conversion means for converting the digital gain control signal to the analog gain control signal. Gain control device.
JP17358597A 1997-06-30 1997-06-30 Automatic gain control device Expired - Fee Related JP3412456B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17358597A JP3412456B2 (en) 1997-06-30 1997-06-30 Automatic gain control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17358597A JP3412456B2 (en) 1997-06-30 1997-06-30 Automatic gain control device

Publications (2)

Publication Number Publication Date
JPH1127560A JPH1127560A (en) 1999-01-29
JP3412456B2 true JP3412456B2 (en) 2003-06-03

Family

ID=15963315

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17358597A Expired - Fee Related JP3412456B2 (en) 1997-06-30 1997-06-30 Automatic gain control device

Country Status (1)

Country Link
JP (1) JP3412456B2 (en)

Also Published As

Publication number Publication date
JPH1127560A (en) 1999-01-29

Similar Documents

Publication Publication Date Title
JP3034542B2 (en) White balance control device
EP0782331B1 (en) Multiple video input clamping arrangement
US4698679A (en) Sync separator
JP3412456B2 (en) Automatic gain control device
EP0244240B1 (en) A sync separator
US5963267A (en) Delay correction circuit
EP0281169B1 (en) Line synchronising circuit in a picture display device
KR100365847B1 (en) Black level detecting circuit of video signal
US5838390A (en) System and method for multi-level gain control
JP2526202B2 (en) Color video camera
KR960007562Y1 (en) A.g.c circuit
KR0122946Y1 (en) Mute circuit of a monitor
JPH0580865B2 (en)
JP3232594B2 (en) Synchronous circuit
JPWO2004093442A1 (en) Automatic gain control circuit
JP2000152031A (en) Signal clamping device and recording medium
JPH0225314B2 (en)
JPH09135368A (en) Digital horizontal synchronizing separator circuit
JPH07203246A (en) Gamma correction system
JPH1075383A (en) Clamp circuit
JPH0832894A (en) Automatic gain controller
JPH1141490A (en) Clamping device
JPH08223445A (en) Digital synchronizing signal separator circuit
JPH05244631A (en) Frequency separation circuit
JPH0822077B2 (en) Automatic white balance adjustment device

Legal Events

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