JPH05251972A - Automatic gain controller - Google Patents

Automatic gain controller

Info

Publication number
JPH05251972A
JPH05251972A JP4084466A JP8446692A JPH05251972A JP H05251972 A JPH05251972 A JP H05251972A JP 4084466 A JP4084466 A JP 4084466A JP 8446692 A JP8446692 A JP 8446692A JP H05251972 A JPH05251972 A JP H05251972A
Authority
JP
Japan
Prior art keywords
value
signal
amplifier
counter
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.)
Granted
Application number
JP4084466A
Other languages
Japanese (ja)
Other versions
JP2897796B2 (en
Inventor
Mieko Yui
美恵子 由井
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 JP4084466A priority Critical patent/JP2897796B2/en
Publication of JPH05251972A publication Critical patent/JPH05251972A/en
Application granted granted Critical
Publication of JP2897796B2 publication Critical patent/JP2897796B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the amplification factor of an amplifier from bring changed by mis-recognizing a noise as a regular signal. CONSTITUTION:A peak level detection circuit 2 detects a peak level of an output signal of an amplifier 1 for each period specified by a frame generating circuit 4 and the peak level is held by a sample-and-hold circuit 3. A comparator 5 compares the level with a reference level and outputs an up/down signal. When the up(down) signal is outputted consecutively for a prescribed number of times, a run/stop control circuit 8 outputs a run instruction to an AGC control counter 9 and the AGC control counter 9 revises the amplification factor of the amplifier 1 in response to an output signal of the comparator 5.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、オートゲインコントロ
ーラに関し、特に増幅器の出力するデータ信号のピーク
値を検出して増幅器の増幅率に変更を加えるオートゲイ
ンコントローラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic gain controller, and more particularly to an automatic gain controller that detects a peak value of a data signal output from an amplifier and changes the amplification factor of the amplifier.

【0002】[0002]

【従来の技術】データ通信装置において、通信データは
通信路で減衰を受けるが、通信機間の距離や信号ケーブ
ルの種類により減衰率は一様ではない。そこで、通信機
の中にはオートゲインコトローラ(AGC)を持つこと
により、減衰量の多少を補償したものがある。オートゲ
インコントローラは、通信路で減衰したデータ信号の一
定期間内のピーク電圧を検出し、ピーク値と基準値の比
較によって増幅器の増幅率を変化させ信号を常にデータ
識別可能なレベルに増幅するように増幅器を制御する回
路である。オートゲインコントローラによって制御され
る増幅率はデータ信号のピーク電圧によって変わるが、
増幅率の変化はデジタル的であり、ピーク電圧がある値
を越えると1ステップ増幅率を下げ、ある値より低くな
ると増幅率を1ステップ上げるというように、増幅率は
ある一定の幅でステップ状に変化する。
2. Description of the Related Art In a data communication device, communication data is attenuated in a communication path, but the attenuation rate is not uniform depending on the distance between communication devices and the type of signal cable. Therefore, some communication devices have an auto gain controller (AGC) to compensate for the amount of attenuation. The auto-gain controller detects the peak voltage of the data signal attenuated in the communication path within a certain period and changes the amplification factor of the amplifier by comparing the peak value and the reference value so that the signal is always amplified to a level at which data can be identified. It is a circuit that controls the amplifier. The amplification factor controlled by the auto gain controller changes depending on the peak voltage of the data signal,
The change in the amplification factor is digital. When the peak voltage exceeds a certain value, the amplification factor is decreased by one step, and when it becomes lower than a certain value, the amplification factor is increased by one step. Changes to.

【0003】図3は、この種従来のオートゲインコント
ローラのブロック図である。同図において、1は入力信
号を増幅してデータ識別回路へ伝達する、ステップ状に
増幅率の変化する増幅器、2は増幅器1の出力信号のピ
ーク値を検出するピーク値検出回路、3はピーク値検出
回路2の検出値を保持するサンプル・ホールド回路であ
る。
FIG. 3 is a block diagram of a conventional automatic gain controller of this type. In the figure, 1 is an amplifier that amplifies an input signal and transmits it to a data identification circuit, the amplification factor changes stepwise, 2 is a peak value detection circuit that detects the peak value of the output signal of the amplifier 1, and 3 is a peak. It is a sample and hold circuit that holds the detection value of the value detection circuit 2.

【0004】また、4はピーク値検出回路2をリセット
し、サンプル・ホールド回路3のサンプリングのタイミ
ングを規定するフレーム信号を発生するフレーム発生回
路、5はサンプル・ホールド回路3の保持するピーク値
と基準値とを比較するコンパレータ、9aはコンパレー
タ5の出力値をフレーム信号のタイミングでカウント
し、そのカウント値により増幅器1へ増幅率のアップ、
ダウンの指示を与えるAGC制御カウンタである。
Further, 4 is a frame generation circuit which resets the peak value detection circuit 2 and generates a frame signal which defines the sampling timing of the sample and hold circuit 3, and 5 is a peak value held by the sample and hold circuit 3. A comparator for comparing with a reference value, 9a counts the output value of the comparator 5 at the timing of the frame signal, and increases the amplification factor to the amplifier 1 by the count value,
It is an AGC control counter that gives a down instruction.

【0005】次に、本従来例の動作について、図4のタ
イミングチャートを参照して説明する。フレーム発生回
路4は、図3の(a)に示すように、一定期間毎にフレ
ーム信号を出力する。ここでフレーム信号とフレーム信
号の間を1フレームとする。受信されたデータ信号は、
増幅器1に入力され増幅器1のそのときの増幅率で増幅
され、データ識別回路へ出力される。また、増幅された
データ信号はピーク値検出回路2にも入力され、データ
信号のピーク値の検出に用いられる〔図4の(b)〕。
Next, the operation of this conventional example will be described with reference to the timing chart of FIG. The frame generation circuit 4 outputs a frame signal at regular intervals, as shown in FIG. Here, one frame is defined between the frame signals. The received data signal is
It is input to the amplifier 1, amplified by the amplification factor of the amplifier 1 at that time, and output to the data identification circuit. The amplified data signal is also input to the peak value detection circuit 2 and used for detecting the peak value of the data signal [(b) of FIG. 4].

【0006】ピーク値検出回路2の出力信号が入力され
るサンプル・ホールド回路3は、1フレーム間のデータ
信号のピーク値をホールドする〔図4の(c)〕。この
ホールド動作時にピーク値検出回路2はフレーム信号で
リセットされ、次のフレームのピーク値を探す。ホール
ドされたピーク電圧はコンパレータ5によって基準電圧
と比較される。
The sample and hold circuit 3 to which the output signal of the peak value detection circuit 2 is input holds the peak value of the data signal for one frame [(c) of FIG. 4]. During this hold operation, the peak value detection circuit 2 is reset by the frame signal and searches for the peak value of the next frame. The held peak voltage is compared with the reference voltage by the comparator 5.

【0007】この比較結果〔図4の(d)〕は、ピーク
電圧と基準電圧との関係によって、 ピーク電圧>基準電圧→増幅率を下げる(ステップダウ
ン) ピーク電圧<基準電圧→増幅率を上げる(ステップアッ
プ) の制御を行なうup/down信号としてAGC制御カ
ウンタ9aに入力され、フレーム信号に同期してそのカ
ウント値をアップ/ダウンさせる〔図4の(e)〕。A
GC制御カウンタ9aからそのカウント値によって決め
られた増幅率が増幅器1に指示され、増幅器はその増幅
率においてデータ信号の増幅を行う。
The comparison result ((d) of FIG. 4) shows that the peak voltage> the reference voltage → the amplification factor is lowered (step down) depending on the relationship between the peak voltage and the reference voltage. The peak voltage <the reference voltage → the amplification factor is increased. It is input to the AGC control counter 9a as an up / down signal for controlling (step-up), and the count value is increased / decreased in synchronization with the frame signal [(e) in FIG. 4]. A
The amplification factor determined by the count value is instructed to the amplifier 1 from the GC control counter 9a, and the amplifier amplifies the data signal at the amplification factor.

【0008】図5は、データ信号のピーク値と増幅率と
の関係を示すグラフである。同図に示されるように、ピ
ーク値がAであるとき、増幅器の増幅率はBに調整され
る。
FIG. 5 is a graph showing the relationship between the peak value of the data signal and the amplification factor. As shown in the figure, when the peak value is A, the amplification factor of the amplifier is adjusted to B.

【0009】[0009]

【発明が解決しようとする課題】上述した従来のピーク
値検出型のオートゲインコントローラでは、データ信号
にノイズが入った場合、図5に示すように、本来のピー
ク値がAであるのに誤ってA′と検出してしまい、その
結果、不適当な増幅率B′に調整されることになる。そ
のため従来例にはデータ識別時にエラーを起こすという
問題点があった。
In the conventional peak value detection type auto gain controller described above, when the data signal contains noise, the original peak value is A as shown in FIG. Will be detected as A ', and as a result, an inappropriate amplification factor B'will be adjusted. Therefore, the conventional example has a problem that an error occurs during data identification.

【0010】[0010]

【課題を解決するための手段】本発明のオートゲインン
ントローラは、データ信号を増幅する増幅器の出力信号
のピーク電圧を検出するピーク値検出回路と、データの
サンプル・ホールドを行うサンプル・ホールド回路と、
ピーク電圧と基準電圧とを比較するコンパレータと、前
記コンパレータの出力値が一定値以上である連続した期
間を計数する第1のカウンタと、前記コンパレータの出
力値が一定値以下である連続した期間を計数する第2の
カウンタと、前記第1のカウンタまたは前記第2のカウ
ンタの計数値が所定の値を越えた時に前記コンパレータ
の出力値に応じて前記増幅器の増幅率を変更させる手段
と、を具備するものである。
SUMMARY OF THE INVENTION An autogain controller according to the present invention comprises a peak value detection circuit for detecting a peak voltage of an output signal of an amplifier for amplifying a data signal, and a sample and hold circuit for sampling and holding data. When,
A comparator for comparing the peak voltage and the reference voltage, a first counter for counting a continuous period in which the output value of the comparator is a fixed value or more, and a continuous period for which the output value of the comparator is a fixed value or less. A second counter for counting, and means for changing the amplification factor of the amplifier according to the output value of the comparator when the count value of the first counter or the second counter exceeds a predetermined value. It is equipped with.

【0011】[0011]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。図1は、本発明の一実施例を示すブロック
図である。同図において、1は入力信号を増幅してデー
タ識別回路へ伝達する、ステップ状に増幅率の変化する
増幅器、2は増幅器1の出力信号のピーク値を検出する
ピーク値検出回路、3はピーク値検出回路2の検出値を
保持するサンプル・ホールド回路である。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, 1 is an amplifier that amplifies an input signal and transmits it to a data identification circuit, the amplification factor changes stepwise, 2 is a peak value detection circuit that detects the peak value of the output signal of the amplifier 1, and 3 is a peak. It is a sample and hold circuit that holds the detection value of the value detection circuit 2.

【0012】また、4はピーク値検出回路2をリセット
し、サンプル・ホールド回路3のサンプリングのタイミ
ングを規定するフレーム信号を発生するフレーム発生回
路、5はサンプル・ホールド回路3の保持するピーク値
と基準値とを比較するコンパレータ、6は、コンパレー
タ5の出力する連続したアップ信号をカウントするカウ
ンタ、7はコンパレータ5の出力する連続したダウン信
号をカウントするカウンタ、8は、カウンタ6、7のカ
ウント値が所定の値を超えたときにrun命令を出力す
るrun/stop制御回路、9はrun/stop制
御回路8からrun命令が発せられたときにコンパレー
タ5の出力値に応じてカウント値をupまたはdown
させ、そのカウント値に従って増幅器1に増幅率のアッ
プ/ダウンのステップを指示するAGC制御カウンタで
ある。
Further, 4 is a frame generation circuit which resets the peak value detection circuit 2 and generates a frame signal which defines the sampling timing of the sample and hold circuit 3, and 5 is a peak value held by the sample and hold circuit 3. A comparator for comparing with a reference value, 6 is a counter for counting continuous up signals output from the comparator 5, 7 is a counter for counting continuous down signals output by the comparator 5, and 8 is a counter for the counters 6 and 7. A run / stop control circuit that outputs a run instruction when the value exceeds a predetermined value, and 9 indicates that the count value is up according to the output value of the comparator 5 when the run instruction is issued from the run / stop control circuit 8. Or down
This is an AGC control counter that instructs the amplifier 1 to step up / down the amplification factor according to the count value.

【0013】次に、本実施例の動作について説明する。
従来例と同様に、増幅器1から出力されるデータ信号の
ピーク値に応じたup/down信号がコンパレータ5
から出力される。この出力信号は1フレーム毎にカウン
タ6、7に入力され、カウンタ6、7は、それぞれ以下
の動作を行う。
Next, the operation of this embodiment will be described.
Similar to the conventional example, the up / down signal corresponding to the peak value of the data signal output from the amplifier 1 is transmitted to the comparator 5
Is output from. This output signal is input to the counters 6 and 7 for each frame, and the counters 6 and 7 perform the following operations, respectively.

【0014】カウンタ6は、“ステップアップ信号”が
入力するとアップカウントし、“ステップダウン信号”
が入力するとリセット(カウント値=0)される。カウ
ンタ7は、“ステップダウン信号”が入力するとアップ
カウントし、“ステップアップ信号”が入力するとリセ
ット(カウント値=0)される。
The counter 6 counts up when a "step-up signal" is input, and a "step-down signal"
Is input, the value is reset (count value = 0). The counter 7 counts up when a "step-down signal" is input, and is reset (count value = 0) when a "step-up signal" is input.

【0015】run/stop制御回路8は、カウンタ
6、7の値によって以下の命令をAGCカウンタ9に対
して出力する。カウンタ6が4以上またはカウンタ7が
4以上の時→run命令を出力。カウンタ6が4未満か
つカウンタ7が4未満の時→stop命令を出力。この
run/stop制御回路8のrun命令によってAG
C制御カウンタ9は増幅器1に対してステップ変更動作
を行い、stop命令によってステップ変更動作停止す
る(カウント動作も停止)。カウンタ6、7とrun/
stop制御回路の動作例を図2に示す。
The run / stop control circuit 8 outputs the following instructions to the AGC counter 9 according to the values of the counters 6 and 7. When the counter 6 is 4 or more or the counter 7 is 4 or more → The run instruction is output. When the counter 6 is less than 4 and the counter 7 is less than 4, → stop command is output. The run command of the run / stop control circuit 8 causes AG
The C control counter 9 performs a step change operation on the amplifier 1, and stops the step change operation (stops the counting operation) by the stop command. Counters 6, 7 and run /
FIG. 2 shows an operation example of the stop control circuit.

【0016】従来例では図4に示されるように、間断な
くステップ変更が繰り返されるが、本実施例では、アッ
プ信号またはダウン信号が所定の回数連続したときのみ
にステップ変更がなされるため、その回数が少なくな
る。そして、ノイズ等によって増幅率が誤って変更され
ることがなくなるため増幅器の増幅率を適正に維持する
ことが可能となる。なお、本実施例では、カウンタのr
un/stop判定値を4にしていたが、この値は適宜
変更しうる。
In the conventional example, the step change is repeated without interruption as shown in FIG. 4, but in the present embodiment, the step change is made only when the up signal or the down signal continues for a predetermined number of times. The number of times decreases. Then, the amplification factor is prevented from being erroneously changed due to noise or the like, so that the amplification factor of the amplifier can be appropriately maintained. In this embodiment, the counter r
Although the un / stop determination value is set to 4, this value can be changed as appropriate.

【0017】[0017]

【発明の効果】以上説明したように、本発明は、ピーク
電圧と基準電圧とを比較するコンパレータが連続してア
ップ信号またはダウン信号を出力したときに増幅器の増
幅率にステップ変更を加えるものであるので、本発明に
よれば、ノイズを正規の信号と誤認して増幅率を変更す
ることがなくなる。従って、本発明によれば、増幅器の
増幅率を常に適正に維持することができるようになり、
データの読み誤り事故を防止することができる。
As described above, according to the present invention, when the comparator for comparing the peak voltage and the reference voltage continuously outputs the up signal or the down signal, the amplification factor of the amplifier is changed in steps. Therefore, according to the present invention, the amplification factor is not changed by erroneously recognizing noise as a normal signal. Therefore, according to the present invention, it becomes possible to always maintain the amplification factor of the amplifier appropriately.
It is possible to prevent data misreading accidents.

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

【図1】本発明の一実施例を示すブロック図。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1の実施例の動作説明図。FIG. 2 is an operation explanatory diagram of the embodiment of FIG.

【図3】従来例のブロック図。FIG. 3 is a block diagram of a conventional example.

【図4】従来例の動作説明図。FIG. 4 is an operation explanatory diagram of a conventional example.

【図5】AGC動作を説明するための特性図。FIG. 5 is a characteristic diagram for explaining an AGC operation.

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

1 増幅器 2 ピーク値検出回路 3 サンプル・ホールド回路 4 フレーム発生回路 5 コンパレータ 6、7 カウンタ 8 run/stop制御回路 9、9a AGC制御カウンタ 1 Amplifier 2 Peak value detection circuit 3 Sample and hold circuit 4 Frame generation circuit 5 Comparator 6 and 7 counter 8 run / stop control circuit 9 and 9a AGC control counter

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 増幅器の出力する信号のピーク電圧を検
出し、一定期間毎にリセットされるピーク値検出回路
と、 一定期間内のピーク電圧と基準電圧とを比較するコンパ
レータと、 前記コンパレータの出力値が一定値以上である連続した
期間を計数する第1のカウンタと、 前記コンパレータの出力値が一定値以下である連続した
期間を計数する第2のカウンタと、 前記第1のカウンタまたは前記第2のカウンタの計数値
が所定の値を越えた時に前記コンパレータの出力値に応
じて前記増幅器の増幅率を変更させる手段と、を具備す
るオートゲインコントローラ。
1. A peak value detection circuit that detects a peak voltage of a signal output from an amplifier and is reset at regular intervals, a comparator that compares the peak voltage and a reference voltage within a constant period, and an output of the comparator. A first counter for counting a continuous period in which a value is a certain value or more; a second counter for counting a continuous period in which an output value of the comparator is a certain value or less; the first counter or the first counter; And a means for changing the amplification factor of the amplifier according to the output value of the comparator when the count value of the second counter exceeds a predetermined value.
JP4084466A 1992-03-06 1992-03-06 Auto gain controller Expired - Lifetime JP2897796B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4084466A JP2897796B2 (en) 1992-03-06 1992-03-06 Auto gain controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4084466A JP2897796B2 (en) 1992-03-06 1992-03-06 Auto gain controller

Publications (2)

Publication Number Publication Date
JPH05251972A true JPH05251972A (en) 1993-09-28
JP2897796B2 JP2897796B2 (en) 1999-05-31

Family

ID=13831410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4084466A Expired - Lifetime JP2897796B2 (en) 1992-03-06 1992-03-06 Auto gain controller

Country Status (1)

Country Link
JP (1) JP2897796B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015145675A1 (en) * 2014-03-27 2015-10-01 三菱電機株式会社 Voltage signal detection device and voltage signal adjustment method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51120156A (en) * 1975-04-14 1976-10-21 Toshiba Corp Agc circuit
JPS5437449A (en) * 1977-07-09 1979-03-19 Nec Corp Automatic gain control circuit
JPS61263303A (en) * 1985-05-17 1986-11-21 Oki Electric Ind Co Ltd Automatic gain control amplifier
JPS61263304A (en) * 1985-05-17 1986-11-21 Oki Electric Ind Co Ltd Automatic gain control amplifier
JPS61269408A (en) * 1984-12-05 1986-11-28 Nec Corp Digital type automatic gain adjusting circuit
JPS6477307A (en) * 1987-09-18 1989-03-23 Toshiba Corp Automatic gain control circuit
JPH0272707A (en) * 1988-09-08 1990-03-13 Matsushita Electric Ind Co Ltd Automatic amplitude setting circuit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51120156A (en) * 1975-04-14 1976-10-21 Toshiba Corp Agc circuit
JPS5437449A (en) * 1977-07-09 1979-03-19 Nec Corp Automatic gain control circuit
JPS61269408A (en) * 1984-12-05 1986-11-28 Nec Corp Digital type automatic gain adjusting circuit
JPS61263303A (en) * 1985-05-17 1986-11-21 Oki Electric Ind Co Ltd Automatic gain control amplifier
JPS61263304A (en) * 1985-05-17 1986-11-21 Oki Electric Ind Co Ltd Automatic gain control amplifier
JPS6477307A (en) * 1987-09-18 1989-03-23 Toshiba Corp Automatic gain control circuit
JPH0272707A (en) * 1988-09-08 1990-03-13 Matsushita Electric Ind Co Ltd Automatic amplitude setting circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015145675A1 (en) * 2014-03-27 2015-10-01 三菱電機株式会社 Voltage signal detection device and voltage signal adjustment method
JPWO2015145675A1 (en) * 2014-03-27 2017-04-13 三菱電機株式会社 Voltage signal detection apparatus and voltage signal adjustment method

Also Published As

Publication number Publication date
JP2897796B2 (en) 1999-05-31

Similar Documents

Publication Publication Date Title
EP0407135B1 (en) Apparatus for controlling transmission output level for burst signal
CA2363400A1 (en) System and method for inverting automatic gain control (agc) and soft limiting
JPH03162115A (en) Automatic gain controller
RU2001114519A (en) Variable loop gain in dual-loop power control systems
US4514703A (en) Automatic level control system
US4540974A (en) Adaptive analog-to-digital converter
US4942385A (en) Photoelectric intrusion detector
JPH02113640A (en) Automatic gain controller
NL8600406A (en) AUTOMATICALLY CONTROLLED AMPLIFIER SYSTEM.
JPH05251972A (en) Automatic gain controller
JPH08201519A (en) Light reception circuit
JPH05206768A (en) Automatic gain controller
JP2713126B2 (en) Optical receiver
JP3237350B2 (en) Automatic gain control device
JPH0530161A (en) Telephone set with automatic adjsuting function for call tone volume
JP2759964B2 (en) Facsimile machine
GB2110490A (en) Adaptive analog-to-digital conversion method and system
JP3885625B2 (en) Automatic reception gain control method and apparatus
JP2961210B2 (en) Automatic input level adjustment device
JPS6365165B2 (en)
JPH05206820A (en) Method and device for controlling sensitivity of photoelectric switch
JPS60152112A (en) Automatic gain control circuit
JPH05223917A (en) Automatic gain control method in pulse receiver
JPH0773175B2 (en) Automatic gain control device
JPH02137550A (en) Reception system optimizing system