JP2897796B2 - Auto gain controller - Google Patents

Auto gain controller

Info

Publication number
JP2897796B2
JP2897796B2 JP4084466A JP8446692A JP2897796B2 JP 2897796 B2 JP2897796 B2 JP 2897796B2 JP 4084466 A JP4084466 A JP 4084466A JP 8446692 A JP8446692 A JP 8446692A JP 2897796 B2 JP2897796 B2 JP 2897796B2
Authority
JP
Japan
Prior art keywords
value
comparator
counter
signal
output
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 - Lifetime
Application number
JP4084466A
Other languages
Japanese (ja)
Other versions
JPH05251972A (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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
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

Description

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

【0001】[0001]

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

【0002】[0002]

【従来の技術】データ通信装置において、通信データは
通信路で減衰を受けるが、通信機間の距離や信号ケーブ
ルの種類により減衰率は一様ではない。そこで、通信機
の中にはオートゲインコトローラ(AGC)を持つこと
により、減衰量の多少を補償したものがある。オートゲ
インコントローラは、通信路で減衰したデータ信号の一
定期間内のピーク電圧を検出し、ピーク値と基準値の比
較によって増幅器の増幅率を変化させ信号を常にデータ
識別可能なレベルに増幅するように増幅器を制御する回
路である。オートゲインコントローラによって制御され
る増幅率はデータ信号のピーク電圧によって変わるが、
増幅率の変化はデジタル的であり、ピーク電圧がある値
を越えると1ステップ増幅率を下げ、ある値より低くな
ると増幅率を1ステップ上げるというように、増幅率は
ある一定の幅でステップ状に変化する。
2. Description of the Related Art In a data communication apparatus, 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 automatic gain controller (AGC) to compensate for the amount of attenuation. The auto gain controller detects a peak voltage of the data signal attenuated in the communication path within a certain period, changes the amplification factor of the amplifier by comparing the peak value with the reference value, and always amplifies the signal to a level at which data can be identified. Is a circuit for controlling the amplifier. The gain controlled by the auto gain controller depends on the peak voltage of the data signal,
The change in the amplification factor is digital. The amplification factor decreases in a certain step, such as decreasing the one-step amplification factor when the peak voltage exceeds a certain value, and increasing the amplification factor one step when the peak voltage falls below a certain value. Changes to

【0003】図3は、この種従来のオートゲインコント
ローラのブロック図である。同図において、1は入力信
号を増幅してデータ識別回路へ伝達する、ステップ状に
増幅率の変化する増幅器、2は増幅器1の出力信号のピ
ーク値を検出するピーク値検出回路、3はピーク値検出
回路2の検出値を保持するサンプル・ホールド回路であ
る。
FIG. 3 is a block diagram of a conventional auto gain controller of this kind. In the figure, reference numeral 1 denotes an amplifier that amplifies an input signal and transmits the amplified signal to a data discriminating circuit. This 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制御カウンタである。
Reference numeral 4 denotes a frame generation circuit for resetting the peak value detection circuit 2 and generating a frame signal for defining the sampling timing of the sample / hold circuit 3, and reference numeral 5 denotes a peak value held by the sample / hold circuit 3. The comparator 9a compares the reference value with the reference value, and counts the output value of the comparator 5 at the timing of the frame signal.
An AGC control counter for giving a down instruction.

【0005】次に、本従来例の動作について、図4のタ
イミングチャートを参照して説明する。フレーム発生回
路4は、図3の(a)に示すように、一定期間毎にフレ
ーム信号を出力する。ここでフレーム信号とフレーム信
号の間を1フレームとする。受信されたデータ信号は、
増幅器1に入力され増幅器1のそのときの増幅率で増幅
され、データ識別回路へ出力される。また、増幅された
データ信号はピーク値検出回路2にも入力され、データ
信号のピーク値の検出に用いられる〔図4の(b)〕。
Next, the operation of the 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
The signal is input to the amplifier 1, amplified at the current amplification factor of the amplifier 1, 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 [FIG. 4 (c)]. 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 a reference voltage by the comparator 5.

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

【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 automatic gain controller of the peak value detection type described above, when noise is included in the data signal, the data signal is erroneously detected as A as shown in FIG. As a result, the gain is detected as A ', and as a result, an inappropriate amplification factor B' is adjusted. Therefore, the conventional example has a problem that an error occurs at the time of data identification.

【0010】[0010]

【課題を解決するための手段】本発明のオートゲイン
ントローラは、データ信号を増幅する増幅器の出力信号
のピーク電圧を検出するピーク値検出回路と、データの
サンプル・ホールドを行うサンプル・ホールド回路と、
ピーク電圧と基準電圧とを比較するコンパレータと、前
記コンパレータの出力値が一定値以上である連続した期
間を計数し、前記コンパレータの出力値が一定値以下に
転じたときにリセットされる第1のカウンタと、前記コ
ンパレータの出力値が一定値以下である連続した期間を
計数し、前記コンパレータの出力値が一定値以上に転じ
たときにリセットされる第2のカウンタと、前記第1の
カウンタまたは前記第2のカウンタの計数値が所定の値
を越えた時に前記コンパレータの出力値に応じて前記増
幅器の増幅率を変更させる手段と、を具備するものであ
る。
Auto gain co <br/> controller of SUMMARY OF THE INVENTION The present invention performs a peak detection circuit for detecting a peak voltage of the output signal of the amplifier for amplifying a data signal, a sample-and-hold data A sample and hold circuit,
A comparator that compares the peak voltage with the reference voltage, and counts a continuous period in which the output value of the comparator is equal to or greater than a certain value, and the output value of the comparator is equal to or less than a certain value.
Turning a first counter that will be reset when the counts the continuous time output value is less than or equal to a predetermined value of said comparator, the output value of the comparator is turned more than a certain value
Changing the amplification factor of the amplifier according to an output value of the comparator when the second counter that will be reset, the count value of the first counter or the second counter exceeds a predetermined value when the Means.

【0011】[0011]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。図1は、本発明の一実施例を示すブロック
図である。同図において、1は入力信号を増幅してデー
タ識別回路へ伝達する、ステップ状に増幅率の変化する
増幅器、2は増幅器1の出力信号のピーク値を検出する
ピーク値検出回路、3はピーク値検出回路2の検出値を
保持するサンプル・ホールド回路である。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, reference numeral 1 denotes an amplifier that amplifies an input signal and transmits the amplified signal to a data discriminating circuit. This 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制御カウンタで
ある。
Reference numeral 4 denotes a frame generation circuit for resetting the peak value detection circuit 2 and generating a frame signal defining the sampling timing of the sample / hold circuit 3, and 5 denotes a peak value held by the sample / hold circuit 3. A comparator for comparing with a reference value, 6 is a counter for counting a continuous up signal output from the comparator 5, 7 is a counter for counting a continuous down signal output from the comparator 5, and 8 is a counter for counting the counters 6 and 7. The run / stop control circuit 9 outputs a run instruction when the value exceeds a predetermined value. The run / stop control circuit 9 increases the count value according to the output value of the comparator 5 when the run instruction is issued from the run / stop control circuit 8. Or down
The AGC control counter instructs the amplifier 1 to step up / down the amplification rate according to the count value.

【0013】次に、本実施例の動作について説明する。
従来例と同様に、増幅器1から出力されるデータ信号の
ピーク値に応じたup/down信号がコンパレータ5
から出力される。この出力信号は1フレーム毎にカウン
タ6、7に入力され、カウンタ6、7は、それぞれ以下
の動作を行う。
Next, the operation of this embodiment will be described.
As in the conventional example, an up / down signal corresponding to the peak value of the data signal output from the amplifier 1 is output from the comparator 5.
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 the "step-down signal"
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 instruction 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 → output the stop instruction. By the run instruction of the run / stop control circuit 8, AG
The C control counter 9 performs a step change operation on the amplifier 1 and stops the step change operation by the stop command (the count operation is also stopped). Counters 6, 7 and run /
FIG. 2 shows an operation example of the stop control circuit.

【0016】従来例では図4に示されるように、間断な
くステップ変更が繰り返されるが、本実施例では、アッ
プ信号またはダウン信号が所定の回数連続したときのみ
にステップ変更がなされるため、その回数が少なくな
る。そして、ノイズ等によって増幅率が誤って変更され
ることがなくなるため増幅器の増幅率を適正に維持する
ことが可能となる。なお、本実施例では、カウンタのr
un/stop判定値を4にしていたが、この値は適宜
変更しうる。
In the prior art, as shown in FIG. 4, the step change is repeated without interruption. In the present embodiment, however, the step change is performed only when the up signal or the down signal is repeated a predetermined number of times. Fewer times. Since the amplification factor is not erroneously changed due to noise or the like, 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 with the reference voltage continuously outputs the up signal or the down signal, the amplification factor of the amplifier is changed stepwise. Therefore, according to the present invention, it is possible to prevent the noise from being erroneously recognized as a normal signal and changing the amplification factor. Therefore, according to the present invention, the amplification factor of the amplifier can always be appropriately maintained,
Data reading errors can be prevented.

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

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

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

【図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制御カウンタ Reference Signs List 1 amplifier 2 peak value detection circuit 3 sample and hold circuit 4 frame generation circuit 5 comparator 6, 7 counter 8 run / stop control circuit 9, 9a AGC control counter

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H03G 3/20 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) H03G 3/20

Claims (1)

(57)【特許請求の範囲】(57) [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 every predetermined period, a comparator that compares a peak voltage within a predetermined period with a reference voltage, and an output of the comparator. Count the continuous period when the value is above a certain value, and when the output value of the comparator is below a certain value
A first counter that will be reset when turned on, counts the continuous time output value is less than or equal to a predetermined value of said comparator, the output value of the comparator is a predetermined value or more
A second counter that will be reset when turned on, the amplification factor of the first counter or the count value of said second counter in response to the output value of the comparator when it exceeds a predetermined value amplifier An automatic gain controller comprising:
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 JPH05251972A (en) 1993-09-28
JP2897796B2 true 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)

Families Citing this family (1)

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

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5921206B2 (en) * 1975-04-14 1984-05-18 株式会社東芝 AGC circuit
JPS6030445B2 (en) * 1977-07-09 1985-07-16 日本電気株式会社 automatic gain control circuit
JPS61269408A (en) * 1984-12-05 1986-11-28 Nec Corp Digital type automatic gain adjusting circuit
JPH069357B2 (en) * 1985-05-17 1994-02-02 沖電気工業株式会社 Automatic gain control amplifier
JPH0669128B2 (en) * 1985-05-17 1994-08-31 沖電気工業株式会社 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

Also Published As

Publication number Publication date
JPH05251972A (en) 1993-09-28

Similar Documents

Publication Publication Date Title
EP0256099B1 (en) A method for automatic gain control of a signal
KR970002751B1 (en) Audio signal testing circuit
EP0407135B1 (en) Apparatus for controlling transmission output level for burst signal
NL8102186A (en) DEVICE AND METHOD FOR APPROACHING AN ANALOGUE SIGNAL BY COMPRESSION
KR20060053965A (en) Automatic level adjustment circuit
US4514703A (en) Automatic level control system
US4371842A (en) Self-adjusting dual mode automatic gain control circuit
US4398061A (en) Audio processing apparatus and method
US4540974A (en) Adaptive analog-to-digital converter
KR20030067687A (en) A radio receiver
JP2897796B2 (en) Auto gain controller
JP2723776B2 (en) Automatic gain control circuit
JPH08201519A (en) Light reception circuit
JPH07235848A (en) Automatic gain control amplifier
JPS6030445B2 (en) automatic gain control circuit
JP3237350B2 (en) Automatic gain control device
JPH05206768A (en) Automatic gain controller
EP0733258B1 (en) Blank detector for cassette tape player
JPS601910A (en) Audio agc system
JPS5921206B2 (en) AGC circuit
JP2961210B2 (en) Automatic input level adjustment device
JPS5810939A (en) Detection circuit for reception signal interruption
JPS6365165B2 (en)
JPH04252521A (en) Adaptive noise reducing device
KR930002896Y1 (en) Automatic recording level control circuit