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
JPH0423841B2 - - Google Patents
[go: Go Back, main page]

JPH0423841B2 - - Google Patents

Info

Publication number
JPH0423841B2
JPH0423841B2 JP59037574A JP3757484A JPH0423841B2 JP H0423841 B2 JPH0423841 B2 JP H0423841B2 JP 59037574 A JP59037574 A JP 59037574A JP 3757484 A JP3757484 A JP 3757484A JP H0423841 B2 JPH0423841 B2 JP H0423841B2
Authority
JP
Japan
Prior art keywords
circuit
signal
value
information
storage area
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
JP59037574A
Other languages
Japanese (ja)
Other versions
JPS60182209A (en
Inventor
Kazuhiko Yamamori
Masaji Konno
Takeshi Horiuchi
Yoshihiro Akita
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.)
Toshiba Corp
NTT Inc
Original Assignee
Toshiba Corp
Nippon Telegraph and Telephone 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 Toshiba Corp, Nippon Telegraph and Telephone Corp filed Critical Toshiba Corp
Priority to JP3757484A priority Critical patent/JPS60182209A/en
Publication of JPS60182209A publication Critical patent/JPS60182209A/en
Publication of JPH0423841B2 publication Critical patent/JPH0423841B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Control Of Amplification And Gain Control (AREA)

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は、電話機等の端末機器における送話あ
るいは受話信号レベルを入力信号レベルに拘らず
一定に保つ回路に係わり、特に出力信号レベルを
任意に可変設定できる自動利得制御回路に関す
る。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a circuit that maintains the level of a sending or receiving signal in a terminal device such as a telephone set at a constant level regardless of the input signal level, and particularly relates to a circuit that maintains a constant level of a sending or receiving signal in a terminal device such as a telephone, and in particular, a circuit that maintains a constant level of a sending or receiving signal in a terminal device such as a telephone, and in particular, a circuit that maintains a constant level of a sending or receiving signal in a terminal device such as a telephone. This invention relates to an automatic gain control circuit that can be set variably.

[発明の技術的背景とその問題点] 従来、この種の回路として、例えば第1図に
示す如く、信号レベル可変回路1の出力信号を整
流回路2で整流してその整流レベルを差動増幅器
3で直流電圧可変回路4にて設定された直流電圧
と比較し、その差電圧により時定数回路5の出力
レベルを制御してこの制御出力で上記信号レベル
可変回路1の利得を可変することにより、信号レ
ベル可変回路1の出力信号レベルを上記直流電圧
可変回路4の設定電圧と等しくなるようにしたも
のがある。
[Technical background of the invention and its problems] Conventionally, as shown in FIG. 1, as shown in FIG. 3, the output level of the time constant circuit 5 is controlled by the difference voltage, and the gain of the signal level variable circuit 1 is varied by this control output. There is one in which the output signal level of the variable signal level circuit 1 is made equal to the set voltage of the variable DC voltage circuit 4.

ところが、このような回路は、無信号時の回線
雑音等の異常増幅を抑制するため、時定数回路5
の放電時定数を比較的長く設定して信号レベル可
変回路1の利得変化が緩慢になるように構成して
いる。このため、直流電圧可変回路4のつまみを
調整して信号レベル可変回路1の出力信号レベル
を可変しようとしても、信号レベル可変回路1の
動作が応答性良く追従しない欠点があつた。
However, in such a circuit, in order to suppress abnormal amplification such as line noise when there is no signal, the time constant circuit 5 is
The discharge time constant of the signal level variable circuit 1 is set to be relatively long so that the gain change of the signal level variable circuit 1 becomes slow. For this reason, even if an attempt is made to vary the output signal level of the signal level variable circuit 1 by adjusting the knob of the DC voltage variable circuit 4, there is a drawback that the operation of the signal level variable circuit 1 does not follow with good response.

そこで、従来では、例えば第1図に示す如く、
ロータリスイツチ等を用いたリセツト回路6を設
け、このリセツト回路6を前記直流電圧設定回路
4のつまみと連動させて、このつまみが一定量操
作される毎に前記時定数回路5をリセツトするよ
うにしている。このようにすれば、信号レベル可
変回路1の出力信号レベルは、リセツト直後こそ
最大レベルに達するが、その後時定数回路5の放
電時定数よりも短かい充電時定数に従つて比較的
短時間のうちに直流電圧可変回路4で設定した値
に達する。
Therefore, conventionally, for example, as shown in Fig. 1,
A reset circuit 6 using a rotary switch or the like is provided, and this reset circuit 6 is interlocked with the knob of the DC voltage setting circuit 4 so that the time constant circuit 5 is reset each time this knob is operated by a certain amount. ing. In this way, the output signal level of the signal level variable circuit 1 reaches the maximum level immediately after the reset, but after that, it is controlled for a relatively short time according to the charging time constant that is shorter than the discharging time constant of the time constant circuit 5. The value set by the DC voltage variable circuit 4 will be reached within a while.

しかるに、上記従来の回路にあつては、直流電
圧可変回路4を調整する度毎に、1回もしくは操
作量によつては複数回時定数回路5がリセツトさ
れることになるため、調整時に信号レベル可変回
路1の出力信号レベルが大きく変動して送話特性
あるいは受話特性を劣化させることになり、極め
て好ましくなかつた。また、リセツト回路6は機
械的接点を用いた回路であるため、接触不良等を
起し易く動作が不安定であり、これを改善するに
は構成が複雑化して高価になるという欠点があつ
た。
However, in the conventional circuit described above, each time the DC voltage variable circuit 4 is adjusted, the time constant circuit 5 is reset once or multiple times depending on the amount of operation. This is extremely undesirable because the output signal level of the level variable circuit 1 fluctuates greatly, deteriorating the transmitting or receiving characteristics. In addition, since the reset circuit 6 is a circuit using mechanical contacts, it is prone to poor contact and has unstable operation, and to improve this, the configuration has to be complicated and expensive. .

[発明の目的] 本発明は、音声の瞬断などに起因する音声の復
帰時の信号レベルにふらつきを生じさせず安定的
なAGC動作を行え、かつ基準レベルの変更時な
どには簡易、高信頼性な構成で応答性よくレベル
設定が行える自動利得制御回路を提供することを
目的とする。
[Object of the Invention] The present invention is capable of performing stable AGC operation without causing fluctuations in the signal level when the audio is restored due to a momentary interruption of audio, etc., and is capable of performing simple and high-speed operation when changing the reference level. An object of the present invention is to provide an automatic gain control circuit that has a reliable configuration and can perform level setting with good responsiveness.

[発明の概要] 本発明は、上記目的を達成するために、信号伝
送路中に設けられた信号レベル可変回路と、この
信号レベル可変回路への入力信号に対するレベル
値を検出する信号検出回路と、この信号検出回路
により検出された信号レベルをデジタル化して入
力信号検出情報とする第1のアナログ・デジタル
変換回路と、前記信号レベル可変回路の出力信号
レベルを設定するための基準値設定信号をデジタ
ル化して基準値信号情報とする第2のアナログ・
デジタル変換回路と、前記入力信号検出情報を所
定サンプル毎に一旦ストアし、所定サンプル期間
後の前記入力信号検出情報との比較結果に応じて
それぞれ所定の一定値を逐次加算あるいは減算し
た累積結果を記憶するための記憶領域を有する第
1の記憶手段と、前記入力信号検出情報を所定サ
ンプル毎に一旦ストアし、所定サンプル期間後の
前記入力信号検出情報との比較結果に応じてそれ
ぞれ所定の一定値を逐次加算あるいは減算した累
積結果を記憶するめの記憶領域を有する第2の記
憶手段と、前記第1の記憶手段に記憶された累積
値と前記第2の記憶手段に記憶された累積値との
うちの値の大きい累積値を所定期間毎に経時的に
選択する時定数回路とを備え、前記時定数回路の
値と前記基準値信号情報との差情報を算出し、こ
の差情報に相当する利得制御信号を発生しこの利
得制御信号を前記信号レベル可変回路に制御入力
として供給して利得を可変せしめるようにしたも
のである。
[Summary of the Invention] In order to achieve the above object, the present invention includes a signal level variable circuit provided in a signal transmission path, and a signal detection circuit that detects a level value of an input signal to the signal level variable circuit. , a first analog-to-digital conversion circuit that digitizes the signal level detected by the signal detection circuit as input signal detection information; and a reference value setting signal for setting the output signal level of the signal level variable circuit. A second analog signal that is digitized and becomes reference value signal information.
A digital conversion circuit stores the input signal detection information once for each predetermined sample, and calculates the cumulative result of sequentially adding or subtracting a predetermined constant value depending on the comparison result with the input signal detection information after a predetermined sample period. a first storage means having a storage area for storing the input signal detection information once for each predetermined sample; a second storage means having a storage area for storing cumulative results obtained by sequentially adding or subtracting values; and a cumulative value stored in the first storage means and a cumulative value stored in the second storage means. and a time constant circuit that selects a cumulative value with a larger value among them over time at predetermined intervals, and calculates difference information between the value of the time constant circuit and the reference value signal information, and corresponds to this difference information. A gain control signal is generated, and this gain control signal is supplied as a control input to the signal level variable circuit to vary the gain.

[発明の実施例] 第2図は、本発明の一実施例における自動利得
制御回路のブロツク構成図である。
[Embodiment of the Invention] FIG. 2 is a block diagram of an automatic gain control circuit in an embodiment of the invention.

この回路は、信号レベル可変回路1への入力信
号を整流回路2で整流してその整流出力、つまり
入力信号検出レベルをA/D変換器10でデジタ
ル化して制御回路20に導びき、かつ直流電圧可
変回路4で設定された基準電圧をA/D変換器3
0でデジタル化して上記制御回路20に導入し、
この制御回路20で求められた制御情報をD/A
変換器40でアナログ信号に変換してこの信号を
利得制御信号として信号レベル可変回路1に供給
し、これにより出力信号レベルが一定となるよう
に信号レベル可変回路1の利得を制御するように
構成したものである。
This circuit rectifies the input signal to the signal level variable circuit 1 by a rectifier circuit 2, digitizes the rectified output, that is, the input signal detection level by an A/D converter 10, and guides it to a control circuit 20. The reference voltage set by the voltage variable circuit 4 is applied to the A/D converter 3.
0 and introduced into the control circuit 20,
The control information obtained by this control circuit 20 is D/A
The converter 40 converts the signal into an analog signal and supplies this signal as a gain control signal to the signal level variable circuit 1, thereby controlling the gain of the signal level variable circuit 1 so that the output signal level is constant. This is what I did.

制御回路20は、例えば第2図に示す如くマイ
クロプロセツサからなる中央制御部(CPU)2
1と、このCPU21の実行プログラムを記憶し
たリード・オンリー・メモリ(ROM)22と、
入力情報や演算情報を一時記憶するためのランダ
ム・アクセス・メモリ(RAM)23とから構成
されている。そして、制御回路20はCPU21
にて次のような演算動作および制御動作を行な
う。
The control circuit 20 includes, for example, a central control unit (CPU) 2 comprising a microprocessor as shown in FIG.
1, a read-only memory (ROM) 22 that stores the execution program of this CPU 21,
It is composed of a random access memory (RAM) 23 for temporarily storing input information and calculation information. The control circuit 20 is a CPU 21
The following calculation operations and control operations are performed.

まず、上記各A/D変換器10,30でデジタ
ル値に変換された入力信号情報、および基準値情
報である設定レベル情報が一定のタイミング毎
に、一時RAM23に記憶される。
First, input signal information converted into digital values by the A/D converters 10 and 30 and setting level information which is reference value information are temporarily stored in the RAM 23 at regular timings.

RAM23に記憶された設定レベル情報は、信
号レベル可変回路1の利得を設定するのに供す
る。
The setting level information stored in the RAM 23 is used to set the gain of the signal level variable circuit 1.

すなわち、直流電圧可変回路4で基準電圧が設
定されたことで定まるA/D変換器30の出力デ
ジタル値は、制御回路20を介してD/A変換器
40に供給され、信号レベル可変回路1での定常
利得が定まる。
That is, the output digital value of the A/D converter 30 determined by setting the reference voltage in the variable DC voltage circuit 4 is supplied to the D/A converter 40 via the control circuit 20, and the output digital value is supplied to the D/A converter 40 via the control circuit 20. The steady-state gain at is determined.

また、上記入力情報は、一旦上記RAM23に
ストアされる。上記RAM23には、上記入力情
報を記憶する領域のほかに第1および第2の記憶
領域が設定されている。この第1および第2の記
憶領域は等価的にレジスタとして働き、初期状態
における第1および第2の記憶領域の初期値は
「0」である。以後、一定のタイミング毎に、新
たな入力信号情報と第1の記憶領域の内容との比
較および第1の記憶領域の内容と第2の記憶領域
の内容との比較を行ない、比較結果に応じ現在値
に一定値の加算または減算を行なつて、上記第1
および第2の記憶領域の値を、演算結果値に順次
書き換える。このとき、上記比較自体は、一定の
タイミング、例えば、0.25msec毎に行なわれる。
しかし、上記加算または減算は、比較タイミング
毎に行なうのではなく、例えば、一定値(例えば
0.75dB)を加算するのは上記第1の記憶領域に
ストアされた値に対して入力信号情報が8タイミ
ング継続して大きいと判断されたとき、すなわち
第1の記憶領域にストアされた値に対して入力信
号情報が2msec間にわたつて大きいときのみで
ある。また、減算に関しては、上記第1の記憶領
域にストアされた値に対し入力信号情報が3000タ
イミング継続して小さいと判断されたとき、すな
わち第1の記憶領域にストアされた値に対し入力
信号情報が750msec間にわたつて小さいときのみ
である。
Further, the input information is temporarily stored in the RAM 23. In addition to the area for storing the input information, first and second storage areas are set in the RAM 23. The first and second storage areas function equivalently as registers, and the initial values of the first and second storage areas in the initial state are "0". Thereafter, the new input signal information is compared with the contents of the first storage area, and the contents of the first storage area and the contents of the second storage area are compared at regular intervals, and depending on the comparison results, the new input signal information is compared with the contents of the first storage area. By adding or subtracting a certain value to the current value,
Then, the values in the second storage area are sequentially rewritten to the calculation result values. At this time, the above comparison itself is performed at constant timing, for example, every 0.25 msec.
However, the addition or subtraction described above is not performed at each comparison timing, but rather, for example, by a constant value (e.g.
0.75dB) is added when the input signal information is judged to be larger than the value stored in the first storage area for 8 consecutive timings, that is, to the value stored in the first storage area. On the other hand, only when the input signal information is large over 2 msec. Regarding subtraction, when it is determined that the input signal information is smaller than the value stored in the first storage area for 3000 consecutive timings, that is, the input signal information is smaller than the value stored in the first storage area. Only when the information is small over 750 msec.

このように、上記第1の記憶領域にストアされ
た値に対する一定値の加算と減算の条件を違える
ことで、結果的に充電時定数と放電時定数を変え
ることになる。上記の例、上記第1の記憶領域に
ストアされた値に対する一定値の加減算の例で
は、放電時定数は充電時定数の375倍となる。
In this way, by changing the conditions for addition and subtraction of a constant value to the value stored in the first storage area, the charging time constant and the discharging time constant are changed as a result. In the above example of adding or subtracting a constant value to the value stored in the first storage area, the discharging time constant is 375 times the charging time constant.

また、比較タイミング毎に上記加減算を行なわ
ないようにしたのは、上記信号レベル可変回路1
の利得が急変しないようにするためである。
Moreover, the above-mentioned addition/subtraction is not performed at each comparison timing because the above-mentioned signal level variable circuit 1
This is to prevent the gain from changing suddenly.

上記の説明は、第1の記憶領域にストアされた
値に対する一定値の加減算を上述の条件のもとに
行なう、充放電動作の説明であるが、同様に第2
の記憶領域にストアされた値に対する一定値(例
えば0.75dB)の加減算条件を設定することでも
充放電回路が等価的に形成される。
The above explanation is about a charging/discharging operation in which a constant value is added or subtracted from the value stored in the first storage area under the above conditions.
A charging/discharging circuit can also be equivalently formed by setting a condition for addition/subtraction of a constant value (for example, 0.75 dB) to the value stored in the storage area.

すなわち、RAM23に形成した第1および第
2の記憶領域にストアされた値に対し、それぞれ
上記CPU21により一定値の加減算を累積的に
行なうことで、充放電時定数回路を2個有するこ
とになる。
That is, by cumulatively adding and subtracting constant values to the values stored in the first and second storage areas formed in the RAM 23 by the CPU 21, two charge/discharge time constant circuits are provided. .

ここで、上記第1の記憶領域を用いて形成され
る第1の時定数回路は、通常の通話信号のレベル
変化に追随せしめるために働き、上記第2の記憶
領域を用いて形成される第2の時定数回路は、受
話/送話の切換過渡時等に追随するためのもので
ある。
Here, the first time constant circuit formed using the first storage area works to follow the level change of a normal call signal, and the first time constant circuit formed using the second storage area The time constant circuit No. 2 is for following the transition of switching between receiving and transmitting.

上記第2の記憶領域を用いた上記第2の時定数
回路についてさらに説明するに、通話相手の声を
聞いている状態から逆に相手に対し発声をする時
間間隔は、通常の会話レベルの変化に比べ極めて
緩慢であるので、第1の時定数回路に対し第2の
時定数回路の時定数をAGC動作を行なう上で大
きくする必要がある。
To further explain the second time constant circuit using the second storage area, the time interval between listening to the other party's voice and conversely speaking to the other party is determined by the change in the normal conversation level. Therefore, it is necessary to make the time constant of the second time constant circuit larger than that of the first time constant circuit in order to perform the AGC operation.

上記第1の時定数回路は等価充電時定数を
LA1、等価放電時定数をLB1とすると前述した関
係から、 LA1=16msec/6dB ……(1) LB1=6sec/6dB ……(2) なる関係を得る。
The above first time constant circuit has an equivalent charging time constant.
Assuming that LA1 and the equivalent discharge time constant are LB1, the following relationships are obtained from the above-mentioned relationship: LA1=16 msec/6 dB...(1) LB1=6 sec/6 dB...(2).

(1)式は充電時に入力信号レベルが倍の値となる
のに16msecを要し、(2)式は放電時に入力信号レ
ベルが半値となるのに6sec要することを意味す
る。
Equation (1) means that it takes 16 msec for the input signal level to double its value during charging, and equation (2) means that it takes 6 seconds for the input signal level to reach half its value during discharging.

また、0.25msec毎のタイミングでRAM23に
ストアされた値と入力信号情報の値との比較に基
づき、前述のように充電時には8回大なる比較結
果が継続したときに、放電時には3000回小なる比
較結果が継続したときに0.75dBの加減算を行な
うことから、 750msec/2msec=6sec/16msec=3000/8=37
5……(3) なる関係を得る。
In addition, based on the comparison between the value stored in the RAM 23 and the value of the input signal information at a timing of every 0.25 msec, when the comparison result continues to be large 8 times during charging as described above, it becomes smaller 3000 times during discharging. Since 0.75dB is added or subtracted when the comparison results continue, 750msec/2msec=6sec/16msec=3000/8=37
5……(3) Obtain the following relationship.

同様に、第2の時定数回路の等価充電時定数を
LA2、等価放電時定数をLB2とすると、例えば、 LA2=6sec/6dB ……(4) LB2=20sec/6dB ……(5) に設定する。
Similarly, the equivalent charging time constant of the second time constant circuit is
If LA2 and the equivalent discharge time constant are LB2, then set to, for example, LA2=6sec/6dB...(4) LB2=20sec/6dB...(5).

また、第2の時定数回路では0.25msec毎のタ
イミングで、RAM23にストアされた値と入力
情報の値との比較に基づき、充電時には3000回
(750msec間)大なる比較結果が継続したときに、
放電時には10000回(2.5sec間)小なる比較結果
が継続したときに0.75dBの加減算を行なうので、 2.5sec/750msec=20sec/6sec=10000/3000=3.
3……(6) なる関係を得る。
In addition, the second time constant circuit compares the value stored in the RAM 23 and the value of the input information at every 0.25 msec, and when a large comparison result continues 3000 times (for 750 msec) during charging, ,
During discharge, when a small comparison result continues 10,000 times (2.5 seconds), 0.75 dB is added or subtracted, so 2.5 seconds/750 msec = 20 seconds/6 seconds = 10000/3000 = 3.
3……(6) Obtain the following relationship.

つまり、話者の交代に追随するための第2の時
定数回路においては、放電時定数は充電時定数の
3.3倍である。
In other words, in the second time constant circuit for following the change of speakers, the discharging time constant is equal to the charging time constant.
It is 3.3 times.

上記のように入力信号VAを整流回路2で整流
した信号をA/D変換器10でデジタル信号に変
換した信号は、上述したように、RAM23の第
1および第2の記憶領域を用いてCPU21によ
る第1の時定数回路、第2の時定数回路によりフ
イルタ動作を受ける。
As mentioned above, the signal obtained by rectifying the input signal V A by the rectifier circuit 2 and converting it into a digital signal by the A/D converter 10 is converted into a digital signal by using the first and second storage areas of the RAM 23. A filter operation is performed by a first time constant circuit and a second time constant circuit by the CPU 21.

そして、上記CPU21は、上記フイルタ動作
中に上記RAM23にストアされた第1の記憶領
域の値と第2の記憶領域の値との比較を行い、大
きいほうの値をフイルタ値としてサンプルする。
Then, the CPU 21 compares the value of the first storage area and the value of the second storage area stored in the RAM 23 during the filter operation, and samples the larger value as the filter value.

このフイルタ値としてサンプルされる上記第1
の記憶領域、第2の記憶領域にストアされたフイ
ルタ電圧値の大小関係を第4図に示す。
The above first sampled as this filter value
FIG. 4 shows the magnitude relationship between the filter voltage values stored in the second storage area and the second storage area.

第4図中○イは、電源投入時における立上り特性
を示すもので、M1は第1の記憶領域の内容の変
化を、またM2は第2の記憶領域の内容の変化を
それぞれ示している。
In FIG. 4, ◯ indicates the rise characteristic when the power is turned on, M1 indicates a change in the content of the first storage area, and M2 indicates a change in the content of the second storage area.

また上記定常状態において、何らかの理由によ
り音声の瞬断が生じると、検出信号レベルが瞬間
的に低下することになるが、CPU21では上記
検出信号レベルの変化に対して第1の放電時定数
LB1が付与されるので、第1の記憶領域の内容
M1は第4図○ロに示す如くわずかしか減少しない。
このため、この第1の記憶領域の内容M1により
支配される信号レベル可変回路1の利得が大きく
変化することはなく、この結果音声の復帰時の信
号レベルのふらつきは生じない。
In addition, in the above-mentioned steady state, if an instantaneous audio interruption occurs for some reason, the detection signal level will drop instantaneously, but in the CPU 21, the first discharge time constant is set in response to the change in the detection signal level.
Since LB1 is assigned, the contents of the first storage area
M1 decreases only slightly as shown in Figure 4.
Therefore, the gain of the signal level variable circuit 1, which is controlled by the content M1 of the first storage area, does not change significantly, and as a result, the signal level does not fluctuate when the audio returns.

一方、話の中断等により比較的長時間音声が途
断えると、その検出信号レベルの低下に伴つて第
4図○ハに示す如く、第1の記憶領域の内容M1は
比較的短かい第1の放電時定数LB1に従つて大き
く低下する。しかるに、このとき第2の記憶領域
の内容M2は、長い第2の放電時定数LB2により
それほど大きく低下しないため、上記第1の記憶
領域の内容M1よりも大きくなる。したがつて、
この期間では、第1の記憶領域の内容M1に代つ
て第2の記憶領域の内容M2が基準値情報との減
算に供され、この結果信号レベル可変回路1の利
得は、上記第2の記憶領域の内容M2と後述する
基準値情報との差に対応して制御される。このた
め、音声の復帰時に信号レベル可変回路1が異常
増幅を起すことはない。
On the other hand, when the audio is interrupted for a relatively long period of time due to an interruption in the conversation, etc., the detection signal level decreases and the content M1 of the first storage area is changed to a relatively short first storage area as shown in Figure 4. It decreases greatly according to the discharge time constant LB1 of 1. However, at this time, the content M2 of the second storage area does not decrease significantly due to the long second discharge time constant LB2, and thus becomes larger than the content M1 of the first storage area. Therefore,
During this period, the content M2 of the second storage area is subtracted from the reference value information instead of the content M1 of the first storage area, and as a result, the gain of the signal level variable circuit 1 is the same as that of the second storage area. It is controlled in accordance with the difference between the content M2 of the area and reference value information, which will be described later. Therefore, the signal level variable circuit 1 does not cause abnormal amplification when the voice returns.

第4図に示したように、入力信号VAに対する
フイルタ電圧が上記第1の記憶領域または第2の
記憶領域からサンプルされたフイルタ値VA′は、
CPU21の動作により、レベル設定のための基
準値情報VBとの間で、 VC=VA′−VB ……(7) なる演算を行なうのに供する。
As shown in FIG. 4, the filter value V A obtained by sampling the filter voltage from the first storage area or the second storage area for the input signal V A is as follows:
The operation of the CPU 21 is used to perform the following calculation with reference value information V B for level setting: V C =V A '-V B (7).

上記第(7)式による演算は、直流電圧可変回路4
で設定した電位に基づく信号ゲインとフイルタ電
圧との差電圧を意味し、当該演算はCPU21に
よつて行われる。このCPU21によつて得られ
たデジタル形態の上記第(7)式に対する演算結果は
D/A変換器40によつてアナログ信号に変換さ
れて信号レベル可変回路1に対する利得制御情報
として加えられる。
The calculation according to the above equation (7) is performed by the DC voltage variable circuit 4
It means the difference voltage between the signal gain based on the potential set in and the filter voltage, and the calculation is performed by the CPU 21. The calculation result for the above equation (7) in digital form obtained by the CPU 21 is converted into an analog signal by the D/A converter 40 and added as gain control information to the signal level variable circuit 1.

ここで、上記(7)式による演算結果VCがVC>0
であれば、差分に応じ上記信号レベル可変回路1
の減衰量を増加する。
Here, the calculation result V C by the above formula (7) is V C > 0
If so, the above signal level variable circuit 1 according to the difference
Increase the amount of attenuation.

これとは逆に、演算結果VCがVC≦0であると
きは、減衰量を0とし、出力信号VOのレベルを
一定レベルとする。
On the contrary, when the calculation result V C is V C ≦0, the attenuation amount is set to 0, and the level of the output signal V O is set to a constant level.

次に以上の動作を第3図を参照しながらさらに
詳しく説明する。
Next, the above operation will be explained in more detail with reference to FIG.

() 第3図は、上述した本発明に係る自動利得
制御回路における比較動作の制御手順の概略を
示すフローチヤートであり、まずデジタル化さ
れた入力信号情報VA′と第1の記憶領域にスト
アされている値との比較を行う。上記第1の記
憶領域の初期値は前述したように「0」である
が、入力信号情報VA′は入力信号VAを平滑化
した値なので、初期状態では入力信号情報
VA′は第1の記憶領域の値(初期値「0」)よ
りも大きい。このため、初期状態では第1の記
憶領域に一定値(0.75dB)を加算する。この
ことは上記第1の記憶領域の値が0.75dBに相
当する値に書き替えられることを意味する。
() FIG. 3 is a flowchart showing an outline of the control procedure for the comparison operation in the automatic gain control circuit according to the present invention described above. First, the digitized input signal information V A ' and the first storage area are Compare with stored value. The initial value of the first storage area is "0" as described above, but since the input signal information V A ' is a value obtained by smoothing the input signal V A , in the initial state, the input signal information
V A ' is larger than the value of the first storage area (initial value "0"). Therefore, in the initial state, a constant value (0.75 dB) is added to the first storage area. This means that the value in the first storage area is rewritten to a value corresponding to 0.75 dB.

リターンによつて、次に入力信号情報VA′と
比較するときに比較対象となる第1の記憶領域
にストアされている値は上記0.75dBに相当す
る値である。このような比較はリターン動作が
繰り返すごとに行われ、比較結果に応じ上記第
1の記憶領域にストアされる値は巡回的に加算
または減算される。
Due to the return, the value stored in the first storage area to be compared with the input signal information V A ' next time is a value corresponding to the above-mentioned 0.75 dB. Such a comparison is performed each time the return operation is repeated, and the value stored in the first storage area is cyclically added or subtracted depending on the comparison result.

すなわち、上記第1の記憶領域に巡回的に加
算された値に対して入力信号情報VA′の値が大
きい状態が継続する場合には、上記第1の記憶
領域にストアされる値は累積的に増加する。こ
の場合結果的に上記第1の記憶領域をあたかも
コンデンサとしているが如く、当該領域の値は
入力情報レベルVA′と同等となるまで増加し、
充電動作と等価な動作を行う。
In other words, if the value of the input signal information V A ' continues to be larger than the value cyclically added to the first storage area, the value stored in the first storage area will be accumulated. increase. In this case, as a result, the value of the first storage area increases until it becomes equal to the input information level V A ′, as if it were a capacitor.
Performs an operation equivalent to charging operation.

これとは逆に、第1の記憶領域にストアされ
ている値に対して入力信号情報VA′の値が小さ
い状態が継続すると、上記第1の記憶領域の値
は漸次減少して放電動作と等価な動作を行う。
On the contrary, if the value of the input signal information V A ' continues to be smaller than the value stored in the first storage area, the value in the first storage area will gradually decrease and the discharge operation will occur. performs the equivalent operation.

このようにして第3図中の入力信号情報
VA′と第1の記憶領域にストアされた値との巡
回的な比較によつて等価的に前述の第1の時定
数回路をなす。
In this way, the input signal information in Figure 3
By cyclically comparing V A ' with the value stored in the first storage area, the first time constant circuit described above is equivalently formed.

() 次に上記第1の時定数回路をなす第1の記
憶領域の値は第2の記憶領域の値と比較され
る。この比較は第3図の制御手順にリターンに
より巡回的に行われ、比較結果に応じ上記第2
の記憶領域の値は、順次一定値が加算または減
算される。
() Next, the value in the first storage area forming the first time constant circuit is compared with the value in the second storage area. This comparison is performed cyclically by returning to the control procedure shown in Figure 3, and depending on the comparison result, the above-mentioned second
A fixed value is sequentially added or subtracted from the value of the storage area.

このため、上記第2の記憶領域は、前述した
第2の時定数(充放電時定数、ともに第1の時
定数よりも大きい)を呈する第2の時定数回路
に供する。
Therefore, the second storage area is provided to a second time constant circuit exhibiting the second time constant (charging and discharging time constants, both of which are larger than the first time constant).

() この後、第1の記憶領域の値と第2の記憶
領域の値との大小の判定を行う。
() After this, the magnitude of the value in the first storage area and the value in the second storage area is determined.

この判定は、上記信号レベル可変回路1に対
する制御量を上記第1および第2の記憶領域の
いずれか大きい方の値で制御し、制御量の急変
を防ぐのに供する。
This determination is used to control the control amount for the signal level variable circuit 1 using the larger value of either the first or second storage area, and to prevent sudden changes in the control amount.

() このようにして定まつた第1または第2の
記憶領域に得られる等価フイルタ電圧は、前述
の直流電圧可変回路4で設定された基準電圧と
の差情報がCPU21で算出され、当該差電圧
に応じた値に応じ、上記信号レベル可変回路1
の減衰量が制御される。
() The equivalent filter voltage obtained in the first or second storage area determined in this way is calculated by the CPU 21 from the difference information from the reference voltage set by the aforementioned DC voltage variable circuit 4, and the difference information is calculated by the CPU 21. The above signal level variable circuit 1 according to the value corresponding to the voltage.
The amount of attenuation is controlled.

上述した()〜()の制御ステツプを繰り
返すことで、整流回路2に得られる入力信号に応
じた整流電圧に追随するフイルタ電圧を得ること
ができる。
By repeating the control steps () to () described above, a filter voltage that follows the rectified voltage according to the input signal obtained by the rectifier circuit 2 can be obtained.

さて、以上のような通話動作中に、話者が直流
電圧可変回路4のつまみを受話音声信号レベルを
増加させる方向に操作すると、制御回路20の
RAM23に、それまでの基準値情報に代つて上
記操作による新たな基準値情報が記憶される。そ
して、この新たな基準値情報は、CPU21にて
時定数演算を終了した入力信号情報(第1および
第2の記憶領域の内容のうちの値の大きい方)と
即時減算される。そうしてこの減算により得られ
た差情報は、利得制御情報に変換されたのち信号
レベル可変回路1に供給され、この結果信号レベ
ル可変回路1の利得は即時上記基準値に対応する
値に変化する。したがつて、以後入力音声信号は
上記基準値により定めたレベルで一定となる。
Now, during the above call operation, when the speaker operates the knob of the DC voltage variable circuit 4 in the direction of increasing the received voice signal level, the control circuit 20 changes.
New reference value information resulting from the above operation is stored in the RAM 23 in place of the previous reference value information. Then, this new reference value information is immediately subtracted from the input signal information (the larger value of the contents of the first and second storage areas) for which the time constant calculation has been completed by the CPU 21. The difference information obtained by this subtraction is then converted into gain control information and then supplied to the signal level variable circuit 1, and as a result, the gain of the signal level variable circuit 1 immediately changes to a value corresponding to the reference value. do. Therefore, from now on, the input audio signal remains constant at the level determined by the reference value.

以上のように、本実施例によれば、入力信号情
報と第1の記憶領域の内容との比較結果に応じた
一定値の加算および減算を、加算は第1の記憶領
域の内容に対して入力信号情報が8タイミング継
続して大きいときに、また減算は第1の記憶領域
の内容に対して入力信号情報が3000タイミング継
続して小さいときにそれぞれ行うといつた具合
に、加算および減算をおこなう条件を異ならせ、
第1の時定数回路の放電時定数を充電時定数に比
して大きく設定したことにより、音声の瞬断等よ
るレベル変化に対しては利得変化を緩慢として音
声の復帰時の信号レベルのふらつきを防止でき、
かつ基準レベルの変更時にはリセツト動作などを
行なわずとも応用性よくレベル設定が行えるよう
になる。このようにリセツト動作などを行う必要
がないことから、ロータリスイツチ機構や連動機
構等を使用した複雑なリセツト回路を不要にでき
るので、構成簡単にして信頼性の高い回路を提供
できる利点がある。
As described above, according to the present embodiment, addition and subtraction of a constant value are performed according to the comparison result between the input signal information and the contents of the first storage area, and the addition is performed with respect to the contents of the first storage area. Addition and subtraction are performed when the input signal information is large for 8 consecutive timings, and subtraction is performed when the input signal information is small for 3000 consecutive timings with respect to the contents of the first storage area. Under different conditions,
By setting the discharging time constant of the first time constant circuit to be larger than the charging time constant, the gain changes slowly in response to level changes due to momentary audio interruptions, etc., and the signal level fluctuates when the audio returns. can be prevented,
In addition, when changing the reference level, level setting can be performed with great flexibility without performing a reset operation or the like. Since there is no need to perform a reset operation as described above, a complicated reset circuit using a rotary switch mechanism, an interlocking mechanism, etc. is not required, so there is an advantage that a highly reliable circuit can be provided with a simple configuration.

また本実施例では、制御系がフイードフオワー
ド系となつているために、安定的な動作を行わし
めることができる。
Further, in this embodiment, since the control system is a feed forward system, stable operation can be performed.

さらに本実施例によれば、第1の時定数回路に
加えて、この第1の時定数回路よりも充電時定
数、放電時定数ともに大きな第2の時定数回路を
設け、この第1および第2の時定数回路のそれぞ
れの出力のうちの値の大きい方を基準値情報との
減算に供しているので、例えば話者の交代時など
における比較的長い時間の音声中断が生じたとし
ても、音声の復帰時に異常増幅が起きることを防
止可能である。
Further, according to this embodiment, in addition to the first time constant circuit, a second time constant circuit is provided which has a larger charging time constant and a larger discharging time constant than the first time constant circuit. Since the larger value of the outputs of the two time constant circuits is used for subtraction with the reference value information, even if a relatively long audio interruption occurs, such as when a speaker changes, It is possible to prevent abnormal amplification from occurring when the voice returns.

なお、本発明は上記実施例に限定されるもので
はない。例えば上記実施例では回線を介して到来
した信号に対してレベル制御を行なう場合につい
て説明したが、マイクロホンから入力された音声
に対して適用してもよい。ただしこの場合には、
パツドの減衰量を基準値情報として制御回路20
に供給すればよい。また、CPU21で、 VC=VA′/VB なる演算を行なつたのちに、この演算で得られた
VCをCPU21で対数変換すれば、演算回路を減
らして演算素度を高め得るとともに、ダイナミツ
クレンジを広くできる。さらに、信号レベル可変
回路としては、利得制御情報に従つて減衰量を可
変制御するものの他に、増幅度を可変制御するも
のを適用してもよい。その他、時定数演算の手順
や時定数演算の回数等についても本発明の要旨を
逸脱しないい範囲で種々変形して実施できる。
Note that the present invention is not limited to the above embodiments. For example, in the above embodiment, a case has been described in which level control is performed on a signal arriving via a line, but the present invention may also be applied to audio input from a microphone. However, in this case,
The control circuit 20 uses the attenuation amount of the pad as reference value information.
It should be supplied to Also, after performing the calculation V C =V A ′/V B on the CPU 21, the result obtained by this calculation is
If V C is logarithmically converted by the CPU 21, the number of arithmetic circuits can be reduced and the arithmetic precision can be increased, and the dynamic range can be widened. Furthermore, as the signal level variable circuit, in addition to the one that variably controls the amount of attenuation according to the gain control information, the one that variably controls the degree of amplification may be applied. In addition, the procedure of time constant calculation, the number of times of time constant calculation, etc. can be modified in various ways without departing from the gist of the present invention.

[発明の効果] 以上詳述したように本発明は、信号伝送路中に
設けられた信号レベル可変回路と、この信号レベ
ル可変回路への入力信号に対するレベル値を検出
する信号検出回路と、この信号検出回路により検
出された信号レベルをデジタル化して入力信号検
出情報とする第1のアナログ・デジタル変換回路
と、前記信号レベル可変回路の出力信号レベルを
設定するための基準値設定信号をデジタル化して
基準値信号情報とする第2のアナログ・デジタル
変換回路と、前記入力信号検出情報を所定サンプ
ル毎に一旦ストアし、所定サンプル期間後の前記
入力信号検出情報との比較結果に応じてそれぞれ
所定の一定値を逐次加算あるいは減算した累積結
果を記憶するための記憶領域を有する第1の記憶
手段と、前記入力信号検出情報を所定サンプル毎
に一旦ストアし、所定サンプル期間後の前記入力
信号検出情報との比較結果に応じてそれぞれ所定
の一定値を逐次加算あるいは減算した累積結果を
記憶するための記憶領域を有する第2の記憶手段
と、前記第1の記憶手段に記憶された累積値と前
記第2の記憶手段に記憶された累積値とのうちの
値の大きい累積値を所定期間毎に経時的に選択す
る時定数回路とを備え、前記時定数回路の値と前
記基準信号情報との差情報を算出し、この差情報
に相当する利得制御信号を発生しこの利得制御信
号を前記信号レベル可変回路に制御入力として供
給して利得を可変せしめるようにしたものであ
る。
[Effects of the Invention] As detailed above, the present invention includes a signal level variable circuit provided in a signal transmission path, a signal detection circuit that detects a level value of an input signal to the signal level variable circuit, and a signal detection circuit that detects a level value of an input signal to the signal level variable circuit. a first analog-to-digital conversion circuit that digitizes the signal level detected by the signal detection circuit as input signal detection information; and digitizes a reference value setting signal for setting the output signal level of the signal level variable circuit. a second analog-to-digital conversion circuit that stores the input signal detection information once for each predetermined sample, and stores the input signal detection information as reference value signal information, and converts the input signal detection information into predetermined values according to the comparison result with the input signal detection information after a predetermined sample period. a first storage means having a storage area for storing cumulative results obtained by sequentially adding or subtracting a constant value; a second storage means having a storage area for storing cumulative results obtained by sequentially adding or subtracting predetermined constant values according to the comparison results with the information; and a cumulative value stored in the first storage means. a time constant circuit that selects a larger cumulative value from among the cumulative values stored in the second storage means over time at predetermined intervals, and the value of the time constant circuit and the reference signal information are difference information is calculated, a gain control signal corresponding to this difference information is generated, and this gain control signal is supplied as a control input to the signal level variable circuit to vary the gain.

従つて本発明によれば、音声の瞬断などに起因
する音声の復帰時の信号レベルにふらつきを生じ
させず安定的なAGC動作を行え、かつ基準レベ
ルの変更時などには簡易、高信頼性な構成で応答
性よくレベル設定が行える自動利得制御回路を提
供することができる。
Therefore, according to the present invention, it is possible to perform stable AGC operation without causing fluctuations in the signal level when the audio is restored due to a momentary audio interruption, etc., and to perform simple and highly reliable operation when changing the reference level. Therefore, it is possible to provide an automatic gain control circuit that can perform level setting with good responsiveness and a flexible configuration.

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

第1図は従来における自動利得制御回路のブロ
ツク構成図、第2図は本発明の一実施例における
自動利得制御回路のブロツク構成図、第3図は同
回路における制御回路の制御手順を示すフローチ
ヤート、第4図は第2図に示した回路の作用説明
に用いるためのもので、時定数演算の結果を示す
特性図である。 1……信号レベル可変回路、2……整流回路、
4……直流電圧可変回路、10,30……A/D
変換器、20……制御回路、21……CPU、2
2……ROM、23……RAM、40……D/A
変換器。
Fig. 1 is a block diagram of a conventional automatic gain control circuit, Fig. 2 is a block diagram of an automatic gain control circuit according to an embodiment of the present invention, and Fig. 3 is a flowchart showing the control procedure of the control circuit in the same circuit. The chart shown in FIG. 4 is used to explain the operation of the circuit shown in FIG. 2, and is a characteristic diagram showing the results of time constant calculation. 1... Signal level variable circuit, 2... Rectifier circuit,
4...DC voltage variable circuit, 10, 30...A/D
Converter, 20...Control circuit, 21...CPU, 2
2...ROM, 23...RAM, 40...D/A
converter.

Claims (1)

【特許請求の範囲】 1 信号伝送路中に設けられた信号レベル可変回
路と、 この信号レベル可変回路への入力信号に対する
レベル値を検出する信号検出回路と、 この信号検出回路により検出された信号レベル
をデジタル化して入力信号検出情報とする第1の
アナログ・デジタル変換回路と、 前記信号レベル可変回路の出力信号レベルを設
定するための基準値設定信号をデジタル化して基
準値信号情報とする第2のアナログ・デジタル変
換回路と、 前記入力信号検出情報を所定サンプル毎に一旦
ストアし、所定サンプル期間後の前記入力信号検
出情報との比較結果に応じてそれぞれ所定の一定
値を逐次加算あるいは減算した累積結果を記憶す
るための記憶領域を有する第1の記憶手段と、 前記入力信号検出情報を所定サンプル毎に一旦
ストアし、所定サンプル期間後の前記第1の記憶
領域に記憶された累積値との比較結果に応じてそ
れぞれ所定の一定値を逐次加算あるいは減算した
累積結果を記憶するための記憶領域を有する第2
の記憶手段と、 前記第1の記憶手段に記憶された累積値と前記
第2の記憶手段に記憶された累積値とのうちの値
の大きい累積値を所定期間毎に経時的に選択する
時定数回路と、 この時定数回路の値と前記基準値信号情報との
差情報を算出し、この差情報に相当する利得制御
信号を発生しこの利得制御信号を前記信号レベル
可変回路に制御入力として供給して利得を可変せ
しめる制御信号発生回路とを具備したことを特徴
とする自動利得制御回路。
[Claims] 1. A signal level variable circuit provided in a signal transmission path, a signal detection circuit that detects a level value of an input signal to this signal level variable circuit, and a signal detected by this signal detection circuit. a first analog-to-digital conversion circuit that digitizes a level to provide input signal detection information; and a first analog-to-digital conversion circuit that digitizes a reference value setting signal for setting an output signal level of the signal level variable circuit to provide reference value signal information. The analog-to-digital conversion circuit No. 2 stores the input signal detection information once for each predetermined sample, and sequentially adds or subtracts a predetermined constant value depending on the comparison result with the input signal detection information after a predetermined sample period. a first storage means having a storage area for storing cumulative results obtained by the input signal detection; A second storage area having a storage area for storing cumulative results obtained by sequentially adding or subtracting predetermined constant values according to the comparison results with
a storage means, and a time for selecting a cumulative value with a larger value out of the cumulative value stored in the first storage means and the cumulative value stored in the second storage means over time at each predetermined period. a constant circuit; calculating difference information between the value of this time constant circuit and the reference value signal information, generating a gain control signal corresponding to this difference information, and using this gain control signal as a control input to the signal level variable circuit; 1. An automatic gain control circuit comprising: a control signal generation circuit that supplies a control signal to vary the gain.
JP3757484A 1984-02-29 1984-02-29 Automatic gain control circuit Granted JPS60182209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3757484A JPS60182209A (en) 1984-02-29 1984-02-29 Automatic gain control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3757484A JPS60182209A (en) 1984-02-29 1984-02-29 Automatic gain control circuit

Publications (2)

Publication Number Publication Date
JPS60182209A JPS60182209A (en) 1985-09-17
JPH0423841B2 true JPH0423841B2 (en) 1992-04-23

Family

ID=12501298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3757484A Granted JPS60182209A (en) 1984-02-29 1984-02-29 Automatic gain control circuit

Country Status (1)

Country Link
JP (1) JPS60182209A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6372208A (en) * 1986-09-12 1988-04-01 Nippon Colin Co Ltd Signal amplification system
JPH0630031B2 (en) * 1986-09-25 1994-04-20 日本電気株式会社 Automatic power control circuit
GB8826918D0 (en) * 1988-11-17 1988-12-21 Motorola Inc Power amplifier for radio frequency signal
JPH0529854A (en) * 1991-07-22 1993-02-05 Fujitsu General Ltd Signal level control circuit
JP2918388B2 (en) * 1992-04-24 1999-07-12 オリオン電機株式会社 Automatic adjustment circuit of analog control unit
JPH05343938A (en) * 1992-06-05 1993-12-24 Japan Radio Co Ltd Powr controller in digital modulation demodulation system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5614709A (en) * 1979-07-18 1981-02-13 Shigeru Tanizawa Agc circuit
JPS5660313U (en) * 1979-10-12 1981-05-22
JPS5813006A (en) * 1981-07-16 1983-01-25 Matsushita Electric Ind Co Ltd Automatic level controller

Also Published As

Publication number Publication date
JPS60182209A (en) 1985-09-17

Similar Documents

Publication Publication Date Title
US5946391A (en) Telephones with talker sidetone
JPH0247142B2 (en)
JPS6339179B2 (en)
KR20020071967A (en) Improved system and method for implementation of an echo canceller
JPH03113923A (en) Echo compensating device
US4514703A (en) Automatic level control system
US5787165A (en) Handsfree radiotelephone having dynamic path attenuation control for echo suppression
JPH0423841B2 (en)
US5909489A (en) Method of and circuit arrangement for improving the transmission properties of an echo affected transmission link in a telecommunications network
GB2072466A (en) Time assigned speech interpolation system
JP2981044B2 (en) Digital automatic gain controller
JPS6041851A (en) Loudspeaker telephone set
JPS6138653B2 (en)
JPH0578974B2 (en)
JPS5889098A (en) Controlling method for ac motor
JP2546001B2 (en) Automatic gain control device
CA2261521C (en) Telephone apparatus
JPS6132853B2 (en)
US5933493A (en) Telecommunications system, a subscriber unit, and a television set comprising a subscriber unit
JPH055420B2 (en)
JPS58225713A (en) Automatic sound volume control circuit
JP3024550B2 (en) Audio level compensation circuit for mobile terminal equipment
JPS6257308A (en) Automatic gain control circuit
JP2659359B2 (en) Hands-free phone
KR950003664B1 (en) Automatic gain control device and its method of modem

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term