Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0834449B2 - Automatic gain control device - Google Patents
[go: Go Back, main page]

JPH0834449B2 - Automatic gain control device - Google Patents

Automatic gain control device

Info

Publication number
JPH0834449B2
JPH0834449B2 JP355687A JP355687A JPH0834449B2 JP H0834449 B2 JPH0834449 B2 JP H0834449B2 JP 355687 A JP355687 A JP 355687A JP 355687 A JP355687 A JP 355687A JP H0834449 B2 JPH0834449 B2 JP H0834449B2
Authority
JP
Japan
Prior art keywords
value
gain
signal
maximum value
gain control
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
JP355687A
Other languages
Japanese (ja)
Other versions
JPS63172529A (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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP355687A priority Critical patent/JPH0834449B2/en
Publication of JPS63172529A publication Critical patent/JPS63172529A/en
Publication of JPH0834449B2 publication Critical patent/JPH0834449B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は伝送系における損失や入力信号レベルの変化
を補償する自動利得制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic gain control device for compensating for a loss in a transmission system and a change in input signal level.

従来の技術 従来より、電話回線を用いてデータや音声を伝送する
際に、出力信号レベルを一定に保つための自動利得制御
装置が重要視されてきた。
2. Description of the Related Art Conventionally, an automatic gain control device for keeping a constant output signal level has been emphasized when transmitting data or voice using a telephone line.

以下、図面を参照しながら、上述したような従来の自
動利得制御装置について説明を行なう。
Hereinafter, the conventional automatic gain control device as described above will be described with reference to the drawings.

第5図は従来の自動利得制御装置の構成を示すもので
ある。第5図において、51は信号を入力する入力端子、
52は信号を出力する出力端子、53は利得設定値に基づい
て入力信号を増幅する可変増幅回路、54は入力信号の絶
対値を求める絶対値回路、55は一定時間内における入力
信号の絶対値の最大値を探索する最大値探索回路、56は
最大値探索回路55で得られた結果に基づいて可変増幅回
路53の利得を設定する利得制御回路である。
FIG. 5 shows the structure of a conventional automatic gain control device. In FIG. 5, 51 is an input terminal for inputting a signal,
52 is an output terminal that outputs a signal, 53 is a variable amplifier circuit that amplifies the input signal based on the gain setting value, 54 is an absolute value circuit that calculates the absolute value of the input signal, and 55 is the absolute value of the input signal within a fixed time A maximum value search circuit for searching for the maximum value of, and a gain control circuit 56 for setting the gain of the variable amplification circuit 53 based on the result obtained by the maximum value search circuit 55.

以上のように構成された自動利得制御装置について、
以下その動作について説明する。
Regarding the automatic gain control device configured as described above,
The operation will be described below.

まず、入力端子51から入力した入力信号は、可変増幅
回路53により利得制御回路56からの利得設定値に基づい
て増幅され、出力端子52から出力される。また、入力端
子51から入力した入力信号は絶対値回路54にも送られ絶
対値化されて、最大値探索回路55に出力される。最大値
探索回路55では一定時間内における絶対値化された入力
信号の最大値を求め、その結果を利得制御回路56に出力
する。ここで一定時間の長さは数百ミリ秒から数秒程度
が適当である。利得制御回路56は最大値が小さく無音と
見なせる場合には過去の利得設定値を保つが、それ以外
の場合には、最大値が最大振幅近くの大きな値の時には
利得設定値を小さくし、最大値が無音でないが小さな値
の時には利得設定値を大きくし、求められた利得設定値
を可変増幅回路53に出力する。
First, the input signal input from the input terminal 51 is amplified by the variable amplification circuit 53 based on the gain setting value from the gain control circuit 56 and output from the output terminal 52. The input signal input from the input terminal 51 is also sent to the absolute value circuit 54, converted into an absolute value, and output to the maximum value search circuit 55. The maximum value search circuit 55 finds the maximum value of the input signal that has been converted into an absolute value within a fixed time, and outputs the result to the gain control circuit 56. Here, it is appropriate that the length of the fixed time is about several hundred milliseconds to several seconds. The gain control circuit 56 keeps the past gain setting value when the maximum value is small and can be regarded as silence, but in other cases, when the maximum value is a large value near the maximum amplitude, the gain setting value is decreased and When the value is not silent but is small, the gain setting value is increased and the obtained gain setting value is output to the variable amplification circuit 53.

発明が解決しようとする問題点 しかしながら、上記のような構成では、過大な入力信
号によりオーバーフローが生じた時にも一定時間の経過
を待たなくては利得が下がらないために、データ信号の
場合には歪んで復調しにくい信号となり、また音声信号
の場合には非常に耳ざわりな音になるという問題を有し
ていた。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention However, in the above-described configuration, the gain does not decrease until a certain time elapses even when an overflow occurs due to an excessive input signal. There is a problem that the signal becomes distorted and becomes difficult to demodulate, and in the case of a voice signal, it becomes a very audible sound.

本発明は上記問題点に鑑み、過大入力信号に対しても
安定した利得制御を行なうことのできる自動利得制御装
置を提供するものである。
In view of the above problems, the present invention provides an automatic gain control device capable of performing stable gain control even with an excessive input signal.

問題点を解決するための手段 この目的を達成するために、本発明の自動利得制御装
置は、入力信号を設定値に基づいて増幅して出力信号を
得る可変増幅手段と、前記可変増幅手段の出力信号の絶
対値を求める絶対値化手段と、前記絶対値化手段の出力
信号に基いて前記入力信号の有無/無音を判断する有音
判定手段と、前記有音判定手段が有音であると判断した
時間長を累計する計時手段と、前記計時手段が累積して
いる間における前記絶対値化手段の出力信号の最大値を
求める最大値探索手段と、前記計時手段が一定時間の累
計を終了したら前記最大値探索手段により求められた最
大値に基づいて利得の設定値を決定し前記可変増幅手段
に出力する利得制御手段と、前記絶対値化手段の出力に
基いて前記可変増幅手段の出力信号がオーバーフローで
あるかもしくはオーバーフローをしそうであると判断し
た場合に制御信号を前記計時手段に送り、前記計時手段
が一定時間より早く累計を終了するように前記計時手段
の累計内容を修正するオーバーフロー検出手段と、前記
有音判定手段が有音と判断しかつ前記絶対値化手段の出
力信号が所定値より小さい場合には前記計時手段の累計
を速めるように制御する小信号検出手段とを備えたこと
を特徴とする。
Means for Solving the Problems In order to achieve this object, an automatic gain control device of the present invention includes a variable amplification means for amplifying an input signal based on a set value to obtain an output signal, and the variable amplification means. The absolute value converting means for obtaining the absolute value of the output signal, the voice determining means for determining the presence / absence of the input signal based on the output signal of the absolute converting means, and the voice determining means are voiced. The time measuring means for accumulating the determined time length, the maximum value searching means for obtaining the maximum value of the output signal of the absolute value converting means while the time measuring means is accumulating, and the time measuring means for accumulating the fixed time. Upon completion, the gain control means for determining the set value of the gain based on the maximum value obtained by the maximum value searching means and outputting it to the variable amplifying means, and the variable amplifying means based on the output of the absolute value converting means Output signal is over Overflow detection means for sending a control signal to the timekeeping means when it is determined that the flow or overflow is likely to occur, and correcting the accumulated contents of the timekeeping means so that the timekeeping means finishes the accumulation earlier than a fixed time And a small signal detecting means for controlling to accelerate the total of the clocking means when the sound determining means determines that there is sound and the output signal of the absolute value converting means is smaller than a predetermined value. Is characterized by.

作用 この構成によって、オーバーフロー検出手段がオーバ
ーフローであるか、もしくはオーバーフローをしそうで
あると判断したら、計時手段が早く一定時間の累計を終
了するように累計内容を修正することにより、過大な入
力信号により出力信号がオーバーフローを起こしそうな
時には直ちに回避し、万一出力信号がオーバーフローを
起こした場合でも速やかに治めることとなる。また、有
音判定手段および計時手段が有音の時間のみを累計し、
一定時間に達する毎に最大値探索手段に最大値を求めさ
せることにより、無音時やパルス性雑音が入力した時に
利得制御手段が誤動作することを防ぐこととなる。更
に、小信号検出手段が小さいレベルの有音信号に対して
は計時手段の累計を速めるように制御することにより、
立ち上がり特性を速くすることとなる。
Action With this configuration, when the overflow detection means determines that it is overflowing or is about to overflow, the timekeeping means corrects the accumulated contents so that the accumulation of the fixed time is ended quickly, and thereby, an excessive input signal is generated. When an output signal is likely to overflow, it is immediately avoided, and even if the output signal overflows, it can be quickly cured. Also, the sound determination means and the time counting means accumulate only the time when there is sound,
By causing the maximum value searching means to find the maximum value each time a fixed time is reached, it is possible to prevent the gain control means from malfunctioning during silence or when pulse noise is input. Further, by controlling the small signal detecting means to speed up the accumulation of the time measuring means for a sound signal of a small level,
The start-up characteristics will be faster.

実施例 以下本発明の一実施例について、図面を参照しながら
説明する。
Embodiment An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例における自動利得制御装置
の構成を示すものである。第1図において、1は信号を
入力する入力端子、2は信号を出力する出力端子、3は
利得設定値に基づいて入力信号を増幅する可変増幅回
路、4は可変増幅回路3の出力信号の絶対値を求める絶
対値回路、5は絶対値の最大値を探索する最大値探索回
路、6は最大値探索回路5で得られた結果に基づいて可
変増幅回路3の利得を設定する利得制御回路、7は入力
信号が有音であるか無音であるかを判断する有音判定回
路、8は有音判定回路7が入力信号は有音であると判断
した時間長を累計し、累計値が一定値になったら最大値
探索回路5に、最大値を求めるように要求する計時回
路、9は可変増幅回路3の出力信号がオーバーフローで
あるかもしくはオーバーフローをしそうであると判断し
たら計時回路8の累計値が早く一定値になるように累計
値の内容を修正するオーバーフロー検出回路、10は有音
判定回路7が有音であると判断した時の絶対値が小レベ
ルの時には計時回路8の累計を速めるように制御する小
信号検出回路である。第2図は本発明の一実施例におけ
る自動利得制御装置の各閾値を示すものである。第2図
において、21は零レベル、22は出力信号の絶対値の最大
振幅レベル、23は有音判定回路7の有音判定閾値、24は
利得制御回路6の過小利得閾値、25は利得制御回路6の
過大利得閾値、26はオーバーフロー検出回路9のオーバ
ーフロー閾値、27は小信号検出回路10の小信号閾値であ
る。
FIG. 1 shows the configuration of an automatic gain control device according to an embodiment of the present invention. In FIG. 1, 1 is an input terminal for inputting a signal, 2 is an output terminal for outputting a signal, 3 is a variable amplifier circuit for amplifying an input signal based on a gain setting value, 4 is an output signal of the variable amplifier circuit 3. An absolute value circuit for obtaining an absolute value, 5 is a maximum value search circuit for searching for the maximum absolute value, and 6 is a gain control circuit for setting the gain of the variable amplification circuit 3 based on the result obtained by the maximum value search circuit 5. , 7 is a voice determination circuit for determining whether the input signal is voiced or silent, 8 is a total of time lengths when the voice determination circuit 7 determines that the input signal is voiced, and the accumulated value is When the constant value is reached, the maximum value search circuit 5 is requested to obtain the maximum value, and 9 is a timer circuit of the timer circuit 8 when it is determined that the output signal of the variable amplifier circuit 3 is overflowing or is about to overflow. So that the cumulative value quickly becomes a constant value An overflow detection circuit for correcting the content of the accumulated value, and a small signal detection circuit 10 for controlling the accumulation of the time counting circuit 8 to be accelerated when the absolute value when the sound determination circuit 7 determines that there is sound is a small level. Is. FIG. 2 shows each threshold value of the automatic gain control device in one embodiment of the present invention. In FIG. 2, 21 is a zero level, 22 is the maximum amplitude level of the absolute value of the output signal, 23 is a voice determination threshold of the voice determination circuit 7, 24 is an undergain threshold of the gain control circuit 6, and 25 is gain control. An excessive gain threshold of the circuit 6, 26 is an overflow threshold of the overflow detection circuit 9, and 27 is a small signal threshold of the small signal detection circuit 10.

以上のように構成された自動利得制御装置について、
以下その動作について説明する。
Regarding the automatic gain control device configured as described above,
The operation will be described below.

まず、入力端子1から入力した入力信号は可変増幅回
路3により、利得制御回路6からの利得設定値に基づい
て増幅され、出力端子2から出力される。また可変増幅
回路3の出力信号は、絶対値回路4にも送られて絶対値
化され、最大値探索回路5、有音判定回路7、オーバー
フロー検出回路9および小信号検出回路10に出力され
る。最大値探索回路5では、計時回路8で指示された時
間区間内における絶対値の最大値を求め、その結果を利
得制御回路6に出力する。利得制御回路5は、最大値が
過小利得閾値24以下ならば利得が小さいと判断して現在
の利得設定値を増加し、最大値が過大利得閾値25以上な
らば利得が大きいと判断して現在の利得設定値を減少
し、求められた利得設定値を可変増幅回路3に出力す
る。有音判定回路7は絶対値が有音半定閾値23以下なら
ば無音であると判断しても何もせず、絶対値が有音判定
閾値23以上ならば有音であると判断して、計時回路8が
累計を進めるように制御する。計時回路8は累計値が一
定値に達したら、最大値探索回路5に対し、累計を開始
してから一定値に達するまでの間の絶対値の最大値を求
めるように制御する。ここで、一定値は数百ミリ秒から
数秒程度の長さが適当である。オーバーフロー検出回路
9は、絶対値がオーバーフロー閾値26以上になったら、
計時回路8の累計値を修正し、早く一定値に達するよう
にする。ここで、累計値の修正値は、入力信号の性質に
よるが、一定値までの残り時間が数ミリ秒から数十ミリ
秒になるように設定するのが適当である。つまり、この
一定値までの残り時間を短かくすれば、オーバーフロー
を直ちに回避できるが、利得が下がり過ぎることがあ
り、反対に長くすれば、利得の下がりすぎはなくなる
が、オーバーフローを回避するのが遅くなることがある
ので、適当に調整する必要がある。小信号検出回路10で
は、有音判定回路7が有音と判断し、かつ絶対値が小信
号検出閾値27以下の時には、計時回路8の累計を速める
ように制御し、速く一定値に達するようにする。
First, the input signal input from the input terminal 1 is amplified by the variable amplification circuit 3 based on the gain setting value from the gain control circuit 6 and output from the output terminal 2. The output signal of the variable amplification circuit 3 is also sent to the absolute value circuit 4 to be converted into an absolute value, and output to the maximum value search circuit 5, the sound determination circuit 7, the overflow detection circuit 9 and the small signal detection circuit 10. . The maximum value search circuit 5 obtains the maximum absolute value within the time period designated by the clock circuit 8 and outputs the result to the gain control circuit 6. The gain control circuit 5 determines that the gain is small if the maximum value is less than the excessive gain threshold 24 and increases the current gain setting value, and determines that the gain is large if the maximum value is greater than the excessive gain threshold 25 and presently. The gain setting value is reduced, and the obtained gain setting value is output to the variable amplifier circuit 3. If the absolute value is equal to or less than the half-sound threshold 23, the sound determination circuit 7 does nothing, and if the absolute value is equal to or greater than the sound determination threshold 23, the sound determination circuit 7 determines that there is sound. The time counting circuit 8 is controlled to advance the total. When the cumulative value reaches a constant value, the time counting circuit 8 controls the maximum value search circuit 5 to obtain the maximum absolute value from the start of the cumulative value until the constant value is reached. Here, it is appropriate that the constant value has a length of several hundred milliseconds to several seconds. The overflow detection circuit 9 detects if the absolute value exceeds the overflow threshold value 26.
The cumulative value of the clock circuit 8 is corrected so that the constant value is reached quickly. Here, the correction value of the cumulative value depends on the nature of the input signal, but it is suitable to set it so that the remaining time until a fixed value is from several milliseconds to several tens of milliseconds. In other words, if the remaining time to this fixed value is shortened, the overflow can be avoided immediately, but the gain may decrease too much. On the contrary, if it is made longer, the gain will not decrease too much, but it is possible to avoid the overflow. It may be slow, so it is necessary to adjust it appropriately. In the small signal detection circuit 10, when the sound determination circuit 7 determines that there is sound, and when the absolute value is less than the small signal detection threshold 27, control is performed so as to accelerate the cumulative total of the time counting circuit 8 so that the constant value is reached quickly. To

以上のように本実施例によれば、オーバーフロー検出
回路9がオーバーフローであるか、もしくはオーバーフ
ローをしそうであると判断したら、計時回路8の累計値
を修正して、早く一定値に達するようにすることによ
り、オーバーフローを起こしそうな時には直ちに回避す
ることができ、万一オーバーフローを起こしても速やか
に治めることができる。また、有音判定回路7および計
時回路8が有音の時間のみを累計し、累計値が一定値に
達する毎に、最大値探索回路5に最大値を求めさせるよ
うにすることにより、利得制御回路6は、有意味な信号
から得られる情報を用いて利得制御が行なえるので、無
音時に利得が上がってしまったり、パルス性雑音が入力
時に利得が大きく下がってしまったりする利得制御回路
6の誤動作を防ぐことができる。さらに、利得制御回路
6に過小利得閾値24と過大利得閾値25を設けることによ
り、最大値が過小利得閾値24と過大利得閾値25との間に
ある時には利得は変化しないこととなり、利得制御を安
定に行なうことができる。そして、小レベルの有音信号
の時には小信号検出回路10が計時回路8の累計を速くす
るように制御することにより、小信号に対する立ち上が
り特性を速くすることができる。
As described above, according to the present embodiment, when the overflow detection circuit 9 determines that the overflow has occurred or is about to overflow, the cumulative value of the time counting circuit 8 is corrected so that the fixed value is quickly reached. As a result, when an overflow is likely to occur, it can be immediately avoided, and even if an overflow should occur, it can be quickly controlled. In addition, the voice control circuit 7 and the timekeeping circuit 8 accumulate only voiced time, and the maximum value search circuit 5 is caused to obtain the maximum value each time the accumulated value reaches a certain value, whereby gain control is performed. Since the circuit 6 can perform gain control using information obtained from a meaningful signal, the gain is increased when there is no sound, and the gain is greatly decreased when pulse noise is input. Malfunctions can be prevented. Further, by providing the under-gain threshold 24 and the over-gain threshold 25 in the gain control circuit 6, the gain does not change when the maximum value is between the under-gain threshold 24 and the over-gain threshold 25, and the gain control is stabilized. Can be done Then, when the sound signal of a small level is present, the small signal detection circuit 10 controls so as to speed up the accumulation of the time counting circuit 8, whereby the rising characteristic for the small signal can be speeded up.

以下、本発明の他の実施例について、図面を参照しな
がら説明する。
Another embodiment of the present invention will be described below with reference to the drawings.

第3図は本発明の他の実施例における自動利得制御装
置の構成を示すものである。第3第において、31は入力
端子、32は出力端子、33はアナログ・ディジタル変換器
(以下A/D変換器とする)、34はマイクロ・コンビュー
タ、35はディジタル・アナログ変換器(以下D/A変換器
とする)である。
FIG. 3 shows the structure of an automatic gain control device according to another embodiment of the present invention. In the third, 31 is an input terminal, 32 is an output terminal, 33 is an analog / digital converter (hereinafter referred to as A / D converter), 34 is a micro-computer, and 35 is a digital / analog converter (hereinafter D / D converter). A converter).

以上のように構成された自動利得制御装置について、
以下その動作について説明する。
Regarding the automatic gain control device configured as described above,
The operation will be described below.

まず、入力端子31から入力された入力信号はA/D変換
器33でアナログ信号からディジタル信号に変換され、マ
イクロ・コンピュータ34に入力される。次にマイクロ・
コンピュータ34は入力された信号を処理して、D/A変換
器35に出力する。そして、ディジタル信号はD/A変換器3
5によりアナログ信号に変換され、出力端子32から出力
される。
First, the input signal input from the input terminal 31 is converted from an analog signal to a digital signal by the A / D converter 33 and input to the microcomputer 34. Then micro
The computer 34 processes the input signal and outputs it to the D / A converter 35. Then, the digital signal is sent to the D / A converter 3
It is converted into an analog signal by 5 and output from the output terminal 32.

第4図はマイクロコンピュータ34における処理のフロ
ーチャートを示すものである。ここで用いている閾値は
第2図と同様のものである。
FIG. 4 shows a flowchart of processing in the microcomputer 34. The threshold values used here are the same as those in FIG.

まず、ディジタル化された信号がA/D変換器33から入
力された(ステップ401)、利得設定値に基づいて増幅
され(ステップ402)、D/A変換器35に出力される(ステ
ップ403)。次に入力信号は絶対値化され(ステップ40
4)、有音判定閾値23と比較され(ステップ405)、有音
判定閾値23以下、つまり無音と判断されれば、終了する
(ステップ419)。一方、有音判定閾値23より大きい、
つまり有音と判断されれば、タイマーをインクリメント
し(ステップ406)、さらに絶対値が小信号検出閾値27
と比較され(ステップ419)、小信号検出閾値27よりも
小さければ、小レベルの有音信号と判断され、タイマー
をインクリメントし(ステップ420)、タイマーが一定
値と比較され(ステップ407)、一定値以下ならば、タ
イマーはまだカウント途中なので、絶対値がオーバーフ
ロー閾値26と比較され(ステップ408)、絶対値がオー
バーフロー閾値26以下ならば、オーバーフローは起きな
いと見なされて、絶対値と最大値の比較に分岐する(ス
テップ411)。一方、絶対値がオーバーフロー閾値26よ
りも大きいならば、オーバーフローが起きているか、も
しくは起きそうであると判断し、タイマーが修正値と比
較され(ステップ409)、タイマーが修正値未満なら
ば、タイマーが修正値に変更される(ステップ410)。
そして、絶対値が最大値と比較され(ステップ411)、
絶対値のほうが最大値よりも大きければ、最大値が絶対
値に変更され(ステップ412)、終了する(ステップ41
9)。
First, the digitized signal is input from the A / D converter 33 (step 401), amplified based on the gain setting value (step 402), and output to the D / A converter 35 (step 403). . The input signal is then absolute valued (step 40
4) Then, it is compared with the voice determination threshold 23 (step 405), and if it is determined that the voice determination threshold is less than 23, that is, no sound, the process ends (step 419). On the other hand, larger than the voice determination threshold 23,
In other words, if it is determined that there is sound, the timer is incremented (step 406), and the absolute value is further set to the small signal detection threshold 27.
(Step 419), if it is smaller than the small signal detection threshold value 27, it is judged to be a low level sound signal, the timer is incremented (step 420), the timer is compared with a constant value (step 407), and the constant value is maintained. If it is less than or equal to the value, the timer is still counting, so the absolute value is compared with the overflow threshold 26 (step 408), and if the absolute value is less than or equal to the overflow threshold 26, it is considered that no overflow occurs and the absolute value and the maximum value are exceeded. (Step 411). On the other hand, if the absolute value is larger than the overflow threshold value 26, it is determined that an overflow has occurred or is about to occur, and the timer is compared with the correction value (step 409). Is changed to the corrected value (step 410).
The absolute value is then compared to the maximum value (step 411),
If the absolute value is larger than the maximum value, the maximum value is changed to the absolute value (step 412), and the process ends (step 41).
9).

一方、タイマーと一定値の比較において(ステップ40
9)、タイマーが一定値以上ならば、タイマーはカウン
トを終了したので、求められた最大値は過大利得閾値25
と比較され(ステップ413)、過大利得閾値25以上なら
ば、利得が過大であると判断して、利得設定値は下げら
れ(ステップ418)、最大値が過小利得閾値24との比較
で(ステップ414)、過小利得閾値24以下ならば、利得
が過小であると判断して、利得設定値は上げられる(ス
テップ417)。そしてタイマーがクリアされ(ステップ4
15)、最大値がクリアされ(ステップ416)、終了する
(ステップ419)。これら一連の動作はサンプリング周
波数毎に行なわれる。
On the other hand, when comparing the timer with a fixed value (Step 40
9) If the timer is above a certain value, the timer has finished counting, so the maximum value found is the excessive gain threshold 25.
(Step 413), if the gain is over 25, it is judged that the gain is excessive, the gain setting value is lowered (step 418), and the maximum value is compared with the under-gain threshold 24 (step 413). 414) If it is below the under-gain threshold 24, it is judged that the gain is under-determined and the gain setting value is increased (step 417). Then the timer is cleared (Step 4
15), the maximum value is cleared (step 416), and the process ends (step 419). These series of operations are performed for each sampling frequency.

以上のように本実施例によば、マイクロ・コンピュー
タ34に信号処理を全て行なわせることにより、より簡素
な回路構成となり、低価格化することができる。
As described above, according to the present embodiment, by causing the microcomputer 34 to perform all signal processing, the circuit configuration becomes simpler and the cost can be reduced.

なお、本実施例では、信号処理をマイクロ・コンピュ
ータ34に行なわせたが、マイクロ・コンピュータ34は、
シグナル・プロセッサでもよい。
In the present embodiment, the signal processing was performed by the microcomputer 34, but the microcomputer 34
It may be a signal processor.

発明の効果 本発明は、計時手段を制御するオーバーフロー検出手
段を設けることにより、オーバーフローが起こりそうな
らば直ちに回避し、万一オーバーフローが起きても速や
かに治めるこができ、さらに有音判定手段および有音時
間を計測する計時手段を設けることにより、無音時やパ
ルス性雑音の入力時に、利得制御手段が誤動作すること
を防ぐことができる。さらに小レベルの有音信号を検出
する小信号検出手段を設けることにより、立ち上がり特
性を速くできるという効果を得ることができる優れた自
動利得制御装置を実現できるものである。
EFFECTS OF THE INVENTION The present invention, by providing the overflow detection means for controlling the timekeeping means, can be avoided immediately if an overflow is likely to occur, and can be quickly controlled even if an overflow should occur. By providing the clocking means for measuring the voiced time, it is possible to prevent the gain control means from malfunctioning when there is no sound or when pulse noise is input. Further, by providing a small signal detecting means for detecting a sound signal of a small level, it is possible to realize an excellent automatic gain control device capable of obtaining the effect of making the rising characteristic faster.

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

第1図は本発明の一実施例における自動利得制御装置の
構成を示すブロック図、第2図はその各閾値を示す線
図、第3図は本発明の他の実施例における自動利得制御
装置の構成を示すブロック図、第4図はそのマイクロコ
ンピュータのフローチャート、第5図は従来の自動利得
制御装置の構成を示すブロック図である。 3……可変増幅回路、4……絶対値回路、5……最大値
探索回路、6……利得制御回路、7……有音判定回路、
8……計時回路、9……オーバーフロー検出回路、10…
…小信号検出回路、23……有音判定閾値、24……過小利
得閾値、25……過大利得閾値、26……オーバーフロー閾
値、27……小信号検出閾値。
FIG. 1 is a block diagram showing a configuration of an automatic gain control device according to an embodiment of the present invention, FIG. 2 is a diagram showing respective threshold values thereof, and FIG. 3 is an automatic gain control device according to another embodiment of the present invention. Is a block diagram showing the configuration of FIG. 4, FIG. 4 is a flow chart of the microcomputer, and FIG. 5 is a block diagram showing the configuration of a conventional automatic gain control device. 3 ... Variable amplification circuit, 4 ... Absolute value circuit, 5 ... Maximum value search circuit, 6 ... Gain control circuit, 7 ... Voice determination circuit,
8 ... Clock circuit, 9 ... Overflow detection circuit, 10 ...
… Small signal detection circuit, 23 …… Voice judgment threshold, 24 …… Under-gain threshold, 25 …… Over-gain threshold, 26 …… Overflow threshold, 27 …… Small signal detection threshold.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】入力信号を設定値に基づいて増幅して出力
信号を得る可変増幅手段と、前記可変増幅手段の出力信
号の絶対値を求める絶対値化手段と、前記絶対値化手段
の出力信号に基いて前記入力信号の有無/無音を判断す
る有音判定手段と、前記有音判定手段が有音であると判
断した時間長を累計する計時手段と、前記計時手段が累
積している間における前記絶対値化手段の出力信号の最
大値を求める最大値探索手段と、前記計時手段が一定時
間の累計を終了したら前記最大値探索手段により求めら
れた最大値に基づいて利得の設定値を決定し前記可変増
幅手段に出力する利得制御手段と、前記絶対値化手段の
出力に基いて前記可変増幅手段の出力信号がオーバーフ
ローであるかもしくはオーバーフローをしそうであると
判断した場合に制御信号を前記計時手段に送り、前記計
時手段が一定時間より早く累計を終了するように前記計
時手段の累計内容を修正するオーバーフロー検出手段
と、前記有音判定手段が有音と判断しかつ前記絶対値化
手段の出力信号が所定値より小さい場合には前記計時手
段の累計を速めるように制御する小信号検出手段とを備
えたことを特徴とする自動利得制御装置。
1. A variable amplifying means for amplifying an input signal based on a set value to obtain an output signal, an absolute value converting means for obtaining an absolute value of an output signal of the variable amplifying means, and an output of the absolute value converting means. The sound determination unit that determines the presence / absence of the input signal based on a signal, the time counting unit that accumulates the length of time that the sound determination unit determines that there is sound, and the time counting unit are cumulative. Between the maximum value searching means for finding the maximum value of the output signal of the absolute value converting means, and the set value of the gain based on the maximum value found by the maximum value searching means when the time counting means completes the accumulation of the fixed time. And a gain control means for outputting to the variable amplification means, and a control when it is determined that the output signal of the variable amplification means overflows or is likely to overflow based on the output of the absolute value conversion means. A signal is sent to the time measuring means, overflow detecting means for correcting the accumulated contents of the time measuring means so that the time measuring means completes the accumulation earlier than a fixed time, and the sound determining means determines that there is sound and An automatic gain control device, comprising: a small signal detecting means for controlling so as to speed up the accumulation of the time counting means when the output signal of the digitizing means is smaller than a predetermined value.
【請求項2】利得制御手段は、最大値探索手段により求
められた最大値が過小利得閾値より小さいと判断したら
前記可変増幅手段の利得の設定値を増加するように制御
する第1の判定手段と、最大値が過大利得閾値より大き
いと判断したら前記可変増幅手段の現在の利得の設定値
を減少するように制御する第2の判定手段とを有するこ
とを特徴とする特許請求の範囲第1項記載の自動利得制
御装置。
2. The first determination means for controlling the gain control means to increase the set value of the gain of the variable amplification means when it is determined that the maximum value obtained by the maximum value search means is smaller than the under-gain threshold. And a second judging means for controlling so as to decrease the current gain setting value of the variable amplifying means when it is judged that the maximum value is larger than the excessive gain threshold value. An automatic gain control device according to the paragraph.
JP355687A 1987-01-09 1987-01-09 Automatic gain control device Expired - Fee Related JPH0834449B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP355687A JPH0834449B2 (en) 1987-01-09 1987-01-09 Automatic gain control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP355687A JPH0834449B2 (en) 1987-01-09 1987-01-09 Automatic gain control device

Publications (2)

Publication Number Publication Date
JPS63172529A JPS63172529A (en) 1988-07-16
JPH0834449B2 true JPH0834449B2 (en) 1996-03-29

Family

ID=11560698

Family Applications (1)

Application Number Title Priority Date Filing Date
JP355687A Expired - Fee Related JPH0834449B2 (en) 1987-01-09 1987-01-09 Automatic gain control device

Country Status (1)

Country Link
JP (1) JPH0834449B2 (en)

Also Published As

Publication number Publication date
JPS63172529A (en) 1988-07-16

Similar Documents

Publication Publication Date Title
EP0256099B1 (en) A method for automatic gain control of a signal
US5677962A (en) Hybrid analog and digital amplifier with a delayed step change in the digital gain
US8473291B2 (en) Sound processing apparatus, apparatus and method for controlling gain, and computer program
EP1607939B1 (en) Speech signal compression device, speech signal compression method, and program
US5016205A (en) Digital signal processor based AGC
JPH1188088A (en) Automatic sound volume correcting method/device
JPS6239746B2 (en)
JPS6359109A (en) Automatic gain controller
JPH0834449B2 (en) Automatic gain control device
JP4204828B2 (en) Automatic gain control device, automatic gain control method, and automatic gain control program
JPS63172528A (en) automatic gain control device
JP5128269B2 (en) Sound equipment
US6748092B1 (en) Hearing aid with improved percentile estimator
JPH11220345A (en) Automatic gain controller
JP3541263B2 (en) Gain setting method
JP3237350B2 (en) Automatic gain control device
JP2002299975A (en) Digital AGC device
CN115102612B (en) Gain control method, device, gain controller and signal receiving end
JP3870005B2 (en) Expansion circuit
JPH0773175B2 (en) Automatic gain control device
JPH10117115A (en) Dynamic low-pass amplifier
JPH06169229A (en) Automatic gain controller
JPS63144278A (en) Sonar receiver
JPH06121018A (en) Digital AGC device
JP2868070B2 (en) Automatic gain control method in time division multiplex communication.

Legal Events

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