JPH04150210A - Agc circuit - Google Patents

Agc circuit

Info

Publication number
JPH04150210A
JPH04150210A JP27264490A JP27264490A JPH04150210A JP H04150210 A JPH04150210 A JP H04150210A JP 27264490 A JP27264490 A JP 27264490A JP 27264490 A JP27264490 A JP 27264490A JP H04150210 A JPH04150210 A JP H04150210A
Authority
JP
Japan
Prior art keywords
input
output
agc
signal
comparator
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
JP27264490A
Other languages
Japanese (ja)
Inventor
Tsutomu Miki
三木 務
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP27264490A priority Critical patent/JPH04150210A/en
Publication of JPH04150210A publication Critical patent/JPH04150210A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Amplification And Gain Control (AREA)

Abstract

PURPOSE:To easily revise an AGC level by amplifying and smoothing an input signal, comparing the signal with an AGC level setting signal and controlling an amplification factor of an input amplifier depending on a count of an up- down counter by an output of a comparator. CONSTITUTION:The AGC circuit is provided with an input amplifier 2 amplifying an input signal, a smoothing circuit 3 smoothing an output level of the input amplifier 2 and a comparator 5 comparing an output of the smoothing circuit 3 with an externally given AGC level setting signal and outputting the result representing the relation of quantity. Then the amplification factor of the input amplifier 2 is controlled in response to the count of an up-down counter 7 counting up or counting down in response to the output of the comparator 5. Thus, the AGC level is easily revised.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、振幅が変動する入力信号を、一定の振幅を
持つ出力信号に変換するAGC回路に関するものである
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to an AGC circuit that converts an input signal with varying amplitude into an output signal with constant amplitude.

〔従来の技術〕[Conventional technology]

第2図は、従来のAGC回路を示すブロック図である。 FIG. 2 is a block diagram showing a conventional AGC circuit.

同図に示すように、入力信号端子1から入力されるアナ
ログの入力信号が、抵抗を介して入力増幅器を構成する
演算増幅器2の逆相入力(−)に、演算増幅器2の出力
がこの演算増幅器2の出力信号のレベルを平滑化する積
分器3の入力と、スイッチSWIないしSW4の入力に
、積分器3の出力が、この積分器3の出力であるアナロ
グ信号をディジタル信号に変換するA/Dコンバータ4
の入力にそれぞれ与えられている。
As shown in the figure, an analog input signal input from input signal terminal 1 is inputted via a resistor to the negative phase input (-) of operational amplifier 2 which constitutes the input amplifier, and the output of operational amplifier 2 is connected to this operational amplifier. The output of the integrator 3 is connected to the input of the integrator 3 that smoothes the level of the output signal of the amplifier 2, and to the input of the switches SWI to SW4. /D converter 4
are given for each input.

このA/Dコンバータ4の出力は、デコーダ8に入力さ
れ、デコーダ8の複数の出力がスイッチSWIないしS
W4の導通・非導通を制御する制御入力に入力されてい
る。
The output of this A/D converter 4 is input to a decoder 8, and a plurality of outputs of the decoder 8 are connected to switches SWI to S.
It is input to the control input that controls conduction/non-conduction of W4.

また、スイッチSW4ないしSW4の出力が演算増幅器
2とともに入力増幅器を構成する抵抗を介して演算増幅
器2の逆相入力(−)に与えられている。
Further, the outputs of the switches SW4 and SW4 are applied to the negative phase input (-) of the operational amplifier 2 via a resistor that together with the operational amplifier 2 constitutes an input amplifier.

さらに、演算増幅器2の正相入力(+)は接地されてい
る。
Furthermore, the positive phase input (+) of the operational amplifier 2 is grounded.

なお、このAGC回路の出力は、演算増幅器2の出力端
子から出力される。
Note that the output of this AGC circuit is output from the output terminal of the operational amplifier 2.

次に動作について説明する。入力信号端子1から入力さ
れたアナログの入力信号は、演算増幅器2で増幅され、
この増幅された信号が積分器3て積分されることによっ
て、入力信号の平均的なレベルに平滑化される。
Next, the operation will be explained. The analog input signal input from the input signal terminal 1 is amplified by the operational amplifier 2,
This amplified signal is integrated by an integrator 3, thereby smoothing it to the average level of the input signal.

この平均的なレベルに平滑化されたアナログの入力信号
は、A/Dコンバータ4によってディジタル信号に変換
される。
This analog input signal smoothed to an average level is converted into a digital signal by the A/D converter 4.

A/Dコンバータ4の出力であるディジタル信号は、デ
コーダ8に入力され、デコーダ8は、入力されたディジ
タル信号に応じてスイッチSW1ないしSW4のうちの
一つのスイッチを導通させ、演算増幅器2の出力が、導
通されたスイッチ及び対応するフィードバック量を制御
する抵抗を介して、演算増幅器2の逆相入力(−)にフ
ィードバックされる。
The digital signal that is the output of the A/D converter 4 is input to the decoder 8, and the decoder 8 makes one of the switches SW1 to SW4 conductive according to the input digital signal, and outputs the operational amplifier 2. is fed back to the negative phase input (-) of the operational amplifier 2 via the turned-on switch and the corresponding resistor that controls the amount of feedback.

初期状態では通常、入力信号端子1から入力される入力
信号が入力されていないため、デコーダ回路8の出力は
、入力増幅器の増幅率を最も高くするように設定されて
いる。
In the initial state, since no input signal is normally input from the input signal terminal 1, the output of the decoder circuit 8 is set to maximize the amplification factor of the input amplifier.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のAGC回路は以上のように構成されていたので、
AGC回路の所望の出力レベル(以下AGCレベルとい
う。)が入力信号端子1から入力される入力信号の平均
的なレベルによって一律に決定され、また、デコーダ8
のデコードパターンを変更してAGCレベルを変更する
場合、AGC回路の出力レベルが急激に変動するという
問題点があった。
Since the conventional AGC circuit was configured as above,
The desired output level of the AGC circuit (hereinafter referred to as AGC level) is uniformly determined by the average level of the input signal input from the input signal terminal 1, and the decoder 8
When changing the AGC level by changing the decoding pattern, there is a problem in that the output level of the AGC circuit changes rapidly.

また、AGCレベルを変更する場合、上記のようにデコ
ーダ8のデコードパターンを変更する必要があるが、デ
コーダ8は通常ROMなどで構成されており、その内容
を変更するのが容易でないという問題点があった。
In addition, when changing the AGC level, it is necessary to change the decoding pattern of the decoder 8 as described above, but the problem is that the decoder 8 is usually composed of a ROM etc., and it is not easy to change its contents. was there.

この発明は以上のような問題点を解決するためになされ
たもので、AGCレベルを容易に変更することができ、
しかもAGCレベルを変更する場合、AGC回路の出力
レベルが徐々に変化するAGC回路を得ることを目的と
している。
This invention was made to solve the above problems, and allows the AGC level to be easily changed.
Moreover, when changing the AGC level, the aim is to obtain an AGC circuit in which the output level of the AGC circuit gradually changes.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係るAGC回路は、入力信号を増幅する入力
増幅器と、入力増幅器の出力レベルを平滑化する平滑化
回路と、平滑化回路の出力値と、外部から与えられるA
GCレベル設定信号の値とを比較し、その大小関係を出
力する比較器と、比較器の出力に応じて、アップカウン
ト或いはダウンカウントを行うアップダウンカウンタと
、アップダウンカウンタのカウント値に応じて、入力増
幅器の増幅率を制御する手段とを備えて構成されている
The AGC circuit according to the present invention includes an input amplifier that amplifies an input signal, a smoothing circuit that smoothes the output level of the input amplifier, an output value of the smoothing circuit, and an externally applied AGC circuit.
A comparator that compares the value of the GC level setting signal and outputs the magnitude relationship, an up/down counter that counts up or down depending on the output of the comparator, and a counter that counts up or down depending on the output of the comparator. , and means for controlling the amplification factor of the input amplifier.

〔作用〕[Effect]

この発明に係るAGC回路では、入力増幅器によって入
力信号を増幅し、平滑化回路によって該入力増幅器の出
力レベルを平滑化し、比較器によって該平滑化回路の出
力値と、外部から与られるAGCレベル設定信号の値と
を比較してその大小関係を出力し、アップダウンカウン
タにより該比較器の出力に応じてアップカウント或いは
ダウンカウントを行い、該アップダウンカウンタのカウ
ント値に応じて、入力増幅器の増幅率を制御しているの
で、AGCレベル設定信号を変えればAGCレベルも変
化し、かつそのときも入力増幅器の増幅率はアップダウ
ンカウンタのカウント値の変化に応じて徐々に変化する
In the AGC circuit according to the present invention, an input amplifier amplifies an input signal, a smoothing circuit smoothes the output level of the input amplifier, and a comparator compares the output value of the smoothing circuit with an externally applied AGC level setting. The value of the signal is compared and the magnitude relationship is outputted, an up-down counter performs up-counting or down-counting according to the output of the comparator, and the input amplifier is amplified according to the count value of the up-down counter. Since the ratio is controlled, if the AGC level setting signal is changed, the AGC level also changes, and even at that time, the amplification ratio of the input amplifier gradually changes according to the change in the count value of the up/down counter.

〔実施例〕〔Example〕

第1図は、この発明によるAGC回路の一実施例を示す
ブロック図である。同図に示すように、入力信号端子1
から入力されるアナログの入力信号が、抵抗を介して入
力増幅器を構成する演算増幅器2の逆相入力(−)に、
演算増幅器2の出力がこの演算増幅器2の出力信号のレ
ベルを平滑化する積分器3の入力と、スイッチSWIな
いしSW4の入力に、積分器3の出力がこの積分器3の
出力であるアナログ信号をディジタル信号に変換するA
/Dコンバータ4の入力に与えられている。
FIG. 1 is a block diagram showing one embodiment of an AGC circuit according to the present invention. As shown in the figure, input signal terminal 1
The analog input signal input from
The output of the operational amplifier 2 is connected to the input of the integrator 3 that smoothes the level of the output signal of the operational amplifier 2, and to the input of the switch SWI to SW4, the output of the integrator 3 is an analog signal that is the output of the integrator 3. A to convert into a digital signal
/D converter 4 input.

このA/Dコンバータ4の出力は、比較器5の一方の入
力に入力され、比較器5の出力がパルス発生器6の入力
に、パルス発生器6の複数の出力がアップダウンカラン
タフの入力に与えられている。
The output of the A/D converter 4 is input to one input of the comparator 5, the output of the comparator 5 is input to the pulse generator 6, and the multiple outputs of the pulse generator 6 are input to the up-down carantuff. is given to.

アップダウンカランタフの複数の出力が、デコーダ8の
入力に、デコーダ8の複数の出力がスイッチSWIない
しSW4の導通・非導通を制御する制御入力に、スイッ
チSWIないしSW4の出力が演算増幅器2とともに入
力増幅器を構成する抵抗を介して演算増幅器2の逆相入
力(−)に与えられている。
A plurality of outputs of the up-down carantuff are input to the decoder 8, a plurality of outputs of the decoder 8 are control inputs for controlling conduction/non-conduction of the switches SWI to SW4, and outputs of the switches SWI to SW4 are connected to the operational amplifier 2. It is applied to the negative phase input (-) of the operational amplifier 2 via a resistor constituting the input amplifier.

また、AGCレベル設定データ入力端子9から与えられ
るAGCレベル設定データが比較器5の他方の入力に与
えられている。
Further, AGC level setting data applied from the AGC level setting data input terminal 9 is applied to the other input of the comparator 5.

さらに、演算増幅器2の正相入力(+)は接地されてい
る。
Furthermore, the positive phase input (+) of the operational amplifier 2 is grounded.

なお、このAGC回路の出力は、演算増幅器2から出力
される 次に動作について説明する。入力信号端子1から入力さ
れたアナログの入力信号は、演算増幅器2で増幅され、
この増幅された信号が積分器3で積分されることによっ
て、入力信号の平均的なレベルに平滑化される。
The operation of the output of this AGC circuit, which is output from the operational amplifier 2, will be explained next. The analog input signal input from the input signal terminal 1 is amplified by the operational amplifier 2,
This amplified signal is integrated by the integrator 3, thereby smoothing it to the average level of the input signal.

この平均的なレベルに平滑化されたアナログの入力信号
は、A/Dコンバータ4によってディジタル信号に変換
される。A/Dコンバータ4の出力であるディジタル信
号は、比較器5の一方の入力に与えられ、比較器5の他
方の入力に接続されているAGCレベル設定データ入力
端子9から与えられるディジタルのAGCレベル設定デ
ータと比較され、その大小関係を示す比較結果の信号(
例えばH″あるいは“L”レベルの信号)が比較器5か
ら出力される。
This analog input signal smoothed to an average level is converted into a digital signal by the A/D converter 4. The digital signal which is the output of the A/D converter 4 is given to one input of the comparator 5, and the digital AGC level given from the AGC level setting data input terminal 9 connected to the other input of the comparator 5. The comparison result signal (
For example, a signal of "H" or "L" level) is output from the comparator 5.

この比較器5の出力は、パルス発生器6に入力され、パ
ルス発生器6は比較器5から出力される大小関係を示す
比較結果の信号に応じて、アップカウント用パルス或い
はダウンカララント用パルスのうち、一方のパルスを発
生する。
The output of the comparator 5 is input to a pulse generator 6, and the pulse generator 6 generates an up-count pulse or a down-count pulse according to the comparison result signal indicating the magnitude relationship output from the comparator 5. One of the two pulses is generated.

アップダウンカウンタ7は、パルス発生器6から出力さ
れるアップカウント用パルス或いはダウンカウント用パ
ルスのうちの一方のパルスに対してそれぞれアップカウ
ント或いはダウンカウントを行い、そのカウント値を出
ツノする。
The up-down counter 7 performs up-counting or down-counting on one of the up-count pulses and the down-count pulses output from the pulse generator 6, and outputs the count value.

デコーダ8は、アップダウンカウンタ7からの出力であ
るカウント値に応じてスイッチSWIないしSW4のう
ちの−っのスイッチを導通させ、演算増幅器2の出力が
、導通されたスイッチ及び対応するフィードバック量を
制御する抵抗を介して、演算増幅器2の逆相入力(−)
にフィードバックされる。
The decoder 8 makes one of the switches SWI to SW4 conductive according to the count value output from the up-down counter 7, and the output of the operational amplifier 2 indicates the turned-on switch and the corresponding feedback amount. Opposite phase input (-) of operational amplifier 2 via a resistor to control
will be given feedback.

このフィードバックの結果、演算増幅器2の出力は比較
器5の他方の入力に与えられているAGCレベル設定デ
ータのレベルに連続的に近付き、最終的には同じレベル
となる。このようにしてAGCレベル設定データによっ
てAGCレベルを設定できる。
As a result of this feedback, the output of the operational amplifier 2 continuously approaches the level of the AGC level setting data applied to the other input of the comparator 5, and eventually reaches the same level. In this way, the AGC level can be set using the AGC level setting data.

AGCレベル設定データを変更すれば、AGCレベルも
変化するが、いくらAGCレベル設定データを大きく変
化させた場合でも、アップダウンカウンタのカウント値
は徐々にしか変化しないので、AGC回路の出力レベル
が急激に変動するようなことはない。
If you change the AGC level setting data, the AGC level will also change, but no matter how much you change the AGC level setting data, the count value of the up/down counter will only change gradually, so the output level of the AGC circuit will change suddenly. There will be no fluctuations.

なお、この実施例では、デコーダ8の出力を4ビツト、
すなわちアップダウンカウンタ7の出力を2ビツトとし
、入力増幅器の増幅率を4通りに切り替える例を示した
が、アップダウンカウンタ7の出力ビツト数及び入力増
幅器の増幅率の切り替え数を目的に応して実施例とは異
なるビット数及び切り替え数に設定しても良い。
In this embodiment, the output of the decoder 8 is 4 bits,
In other words, an example is shown in which the output of the up-down counter 7 is 2 bits and the amplification factor of the input amplifier is switched in four ways. The number of bits and the number of switching may be set differently from those in the embodiment.

また、パルス発生器6は、アップダウンカランタフに対
して、アップカウント用パルス或いはダウンカウント用
パルスのうち、どちらか一方を出力していたが、アップ
カウント・ダウンカウント用パルスと、アップカウント
・ダウンカウント制御信号を出力し、アップダウンカウ
ンタ7で、アップカウント・ダウンカウント制御信号の
制御によって、アップカウント・ダウンカウント用パル
スをそれぞれアップカウント或いはダウンカウントする
ようにしても良い。
Furthermore, the pulse generator 6 outputs either an up-count pulse or a down-count pulse to the up-down count, but the pulse generator 6 outputs either an up-count pulse or a down-count pulse. A down-count control signal may be output, and the up-down counter 7 may up-count or down-count the up-count and down-count pulses under control of the up-count and down-count control signals.

また、積分器3で平滑化された演算増幅器2の出力ヲ、
A/Dコンバータ4てディジタルに変換し、このディジ
タルデータと、AGCレベル設定データ入力端子9から
与えられるディジタルのAGCレベル設定データとをデ
ィジタルの比較器5で比較していたが、A/Dコンバー
タ4を削除し、ディジタルの比較器5をアナログの比較
器に替えるとともにAGCレベル設定データ端子9から
与えられるディジタルのAGCレベル設定データをAG
Cレベル設定信号端子から与えられるアナログのAGC
レベル設定信号に替え、積分器3で平滑化された演算増
幅器2の出力をアナログのままでアナログの比較器に入
力し、AGCレベル設定信号端子から与えられるアナロ
グのAGCレベル設定信号と比較するようにしても良い
In addition, the output of the operational amplifier 2 smoothed by the integrator 3 is
The A/D converter 4 converts the data into digital data, and the digital comparator 5 compares this digital data with the digital AGC level setting data given from the AGC level setting data input terminal 9. 4 is deleted, the digital comparator 5 is replaced with an analog comparator, and the digital AGC level setting data given from the AGC level setting data terminal 9 is changed to AG.
Analog AGC given from C level setting signal terminal
Instead of the level setting signal, the output of the operational amplifier 2 smoothed by the integrator 3 is inputted as analog to the analog comparator and compared with the analog AGC level setting signal given from the AGC level setting signal terminal. You can also do it.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、入力信号を増幅する
入力増幅器と、入力増幅器の出力レベルを平滑化する平
滑化回路と、平滑化回路の出力値と、外部から与えられ
るAGCレベル設定信号の値とを比較し、その大小関係
を出力する比較器と、比較器の出ノjに応じて、アップ
カウント或いはダウンカウントを行うアップダウンカウ
ンタと、アップダウンカウンタのカウント値に応じて、
入力増幅器の増幅率を制御する手段とを設けたので、A
GCレベルを容易に変更することができるとともに、A
GCレベルの変更時にAGC回路の出力レベルの変化を
徐々に行うことができるという効果がある。
As described above, according to the present invention, there is provided an input amplifier that amplifies an input signal, a smoothing circuit that smoothes the output level of the input amplifier, an output value of the smoothing circuit, and an externally applied AGC level setting signal. A comparator that compares the value of and outputs the magnitude relationship, an up/down counter that counts up or down depending on the output of the comparator, and depending on the count value of the up/down counter,
Since a means for controlling the amplification factor of the input amplifier is provided, A
The GC level can be easily changed, and the A
This has the advantage that when changing the GC level, the output level of the AGC circuit can be changed gradually.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明によるAGC回路の一実施例を示すブ
ロック図、第2図は従来のAGC回路を示すブロック図
である。 図において、1は入力信号端子、2は演算増幅器、3は
積分器、4はA/Dコンバータ、5は比較器、6はパル
ス発生器、7はアップダウンカウンタ、8はデコーダ、
9はAGCレベル設定データ入力端子、SWIないしS
W4はスイッチである。 なお、各図中同一符号は同一または相当部分を示す。 第 図 手 続 補 正 書(自発) 平成 3年6 月7 日 1゜ 事 件 の 表示 特願平2−272644号 2゜ 発 明 の 名 称 AGC回路 3゜ 補正をする者 事件との関係
FIG. 1 is a block diagram showing an embodiment of an AGC circuit according to the present invention, and FIG. 2 is a block diagram showing a conventional AGC circuit. In the figure, 1 is an input signal terminal, 2 is an operational amplifier, 3 is an integrator, 4 is an A/D converter, 5 is a comparator, 6 is a pulse generator, 7 is an up/down counter, 8 is a decoder,
9 is the AGC level setting data input terminal, SWI or S
W4 is a switch. Note that the same reference numerals in each figure indicate the same or corresponding parts. Amendment to figure procedure (spontaneous) June 7, 1991 1゜Indication of the case Patent Application No. 2-272644 2゜Name of the invention AGC circuit 3゜Relationship with the case

Claims (1)

【特許請求の範囲】[Claims] (1)入力信号を増幅する入力増幅器と、 前記入力増幅器の出力レベルを平滑化する平滑化回路と
、 前記平滑化回路の出力値と、外部から与えられるAGC
レベル設定信号の値とを比較し、その大小関係を出力す
る比較器と、 前記比較器の出力に応じて、アップカウント或いはダウ
ンカウントを行うアップダウンカウンタと、 前記アップダウンカウンタのカウント値に応じて、前記
入力増幅器の増幅率を制御する手段とを備えるAGC回
路。
(1) An input amplifier that amplifies an input signal, a smoothing circuit that smoothes the output level of the input amplifier, an output value of the smoothing circuit, and an externally applied AGC.
a comparator that compares the value of the level setting signal and outputs the magnitude relationship; an up/down counter that counts up or down depending on the output of the comparator; and a count value of the up/down counter and means for controlling an amplification factor of the input amplifier.
JP27264490A 1990-10-09 1990-10-09 Agc circuit Pending JPH04150210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27264490A JPH04150210A (en) 1990-10-09 1990-10-09 Agc circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27264490A JPH04150210A (en) 1990-10-09 1990-10-09 Agc circuit

Publications (1)

Publication Number Publication Date
JPH04150210A true JPH04150210A (en) 1992-05-22

Family

ID=17516798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27264490A Pending JPH04150210A (en) 1990-10-09 1990-10-09 Agc circuit

Country Status (1)

Country Link
JP (1) JPH04150210A (en)

Similar Documents

Publication Publication Date Title
US5633637A (en) Digital-to-analog converter circuit
JPH0478208B2 (en)
US4151481A (en) Digital gain control system
JPS59128806A (en) Agc circuit
US6492924B2 (en) Circuits, systems, and methods for signal processors that buffer a signal dependent current
JPH04150210A (en) Agc circuit
JPH05275946A (en) Gain control amplifier
JPS62165415A (en) Automatic gain control circuit
JPH10135828A (en) A/d converter
JPH018006Y2 (en)
JPH03169171A (en) Image pickup signal processor
JPH0636160B2 (en) Analog signal comparison circuit
JP2539977Y2 (en) Standard power supply
JPH07231255A (en) A/d converter
JPS63132510A (en) Programmable gain-controlled amplifier
JPH0250620A (en) D-a conversion circuit
JPH0326666Y2 (en)
JPH02207620A (en) D/a converter with gain switch
JPH08154056A (en) Analog/digital converting method and automatic gain control circuit
JPS60213126A (en) A/d and d/a converter
JPS62210710A (en) Sound volume control circuit
JPS63266928A (en) Digital-analog converter
JPH03258119A (en) Digital/analog converter
JPH04365109A (en) Error amplifying circuit
JPH0130324B2 (en)