JPS60187115A - Digital agc circuit - Google Patents

Digital agc circuit

Info

Publication number
JPS60187115A
JPS60187115A JP4216384A JP4216384A JPS60187115A JP S60187115 A JPS60187115 A JP S60187115A JP 4216384 A JP4216384 A JP 4216384A JP 4216384 A JP4216384 A JP 4216384A JP S60187115 A JPS60187115 A JP S60187115A
Authority
JP
Japan
Prior art keywords
output
circuit
coefficient
multiplier
level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4216384A
Other languages
Japanese (ja)
Other versions
JPH0320927B2 (en
Inventor
Junji Maruyama
純司 丸山
Akira Ishimatsu
石松 彰
Kanji Kume
久米 寛司
Yoshihide Kai
甲斐 義英
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP4216384A priority Critical patent/JPS60187115A/en
Publication of JPS60187115A publication Critical patent/JPS60187115A/en
Publication of JPH0320927B2 publication Critical patent/JPH0320927B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a stable operation by providing a dead band around an output level with a comparison circuit and a selection circuit, multiplying a prescribed coefficient with a level error in excess of a deal band width and controlling the gain based on the result. CONSTITUTION:An output of a pre-stage variable gain amplifier 21 is outputted from an A/D converter 23 via a sample-and-hold circuit 22. A digital signal at each sampling is squared by a power calculation circuit 24 and a mean value of N times is outputted. Then the result is applied with decibel conversion by a logarithmic converting circuit 25. A subtractor 26 calculates the difference between a real AGC output and a reference level. A coefficient is multiplied with the error output, the gain of the amplifier 21 is controlled by an output of a multiplier 27 and a stable AGC operation is obtained. A selection circuit 28 selects the coefficient. When the comparator circuit 32 detects that the output of the subtractor 36 is within a dead band width not responsive within a prescribed range, a selection circuit 29 gives a zero output zeroing the input signal. When the width is at the outside of the dead band, the signal is given to the output of the multiplier 27 so as to apply feedback.

Description

【発明の詳細な説明】 (技術分野) 本発明はモデム、ファクシミリ等のディジタルAGC回
路に関する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a digital AGC circuit for modems, facsimiles, etc.

(技術的背景) 第1図に従来のディジタルAGC回路を示す。図におい
て1は前置可変利得増幅器、2はサンノルホールド回路
、3はA/Dコンバータ、、4は信号レベル算出回路、
5は基準信号レベルとの差を算出する減算回路、6はア
キームレータ、7は加算器である。アナログ入力信号は
前置可変利得増幅器ノで増幅し、サンノルホールド回路
2及びA/Dコンバータによってディジタル信号に変換
する。該ディジタル信号は信号レベル算出回路4でレベ
ル値の計算が行われ、減算回路5で基準信号レベルとの
差を算出する。該算出結果をアギュムレータ6を介して
前置可変利得増幅器1に帰還させることによってケ8イ
ンコントロールを行ない所望レベルの出力を得るもので
ある。しかしながら、電話回線のケ8インヒツトノイズ
や変調等で発生するライン信号のレベル変動、あるいは
前置可変利得増幅器lのゲイン切換で起る信号の変動に
よってAGC出力が振らつき、動作が不安定となる欠点
があった。
(Technical Background) FIG. 1 shows a conventional digital AGC circuit. In the figure, 1 is a pre-variable gain amplifier, 2 is a Sun-Norhold circuit, 3 is an A/D converter, 4 is a signal level calculation circuit,
5 is a subtraction circuit for calculating the difference from the reference signal level, 6 is an achimulator, and 7 is an adder. The analog input signal is amplified by the pre-variable gain amplifier and converted into a digital signal by the Sun-Norhold circuit 2 and the A/D converter. A signal level calculation circuit 4 calculates the level value of the digital signal, and a subtraction circuit 5 calculates the difference from the reference signal level. The calculated result is fed back to the pre-variable gain amplifier 1 via the aggregator 6 to perform key control and obtain an output at a desired level. However, the AGC output fluctuates due to line signal level fluctuations caused by input noise and modulation on the telephone line, or signal fluctuations caused by gain switching of the pre-variable gain amplifier l, resulting in unstable operation. There was a drawback.

(発明の目的) 本発明はかかる欠点に鑑みなされたもので、比較回路と
セレクト回路によって、所望する出力レベルの中心に一
定幅の不感動帯を設けること、又不感動幅を越えるレベ
ル誤差については乗算器により所定の係数を掛け、その
結果をも七にしてケ゛インコントロールを行うことによ
り、安定なAGC動作を得ることにある。以下図面を用
いて本発明の詳細な説明する。
(Object of the Invention) The present invention has been made in view of the above drawbacks, and it is possible to provide a dead band of a certain width at the center of a desired output level by a comparison circuit and a selection circuit, and to prevent a level error exceeding the dead band. The purpose of this method is to obtain stable AGC operation by multiplying by a predetermined coefficient using a multiplier, and using the result as 7 to perform key control. The present invention will be described in detail below using the drawings.

(発明の構成) 入力信号の変動に対して自動的に利得を調整して出力す
るディジタルAGC回路において、基準信号レベルとA
GC出力の差を出力する手段と、該出力と第]のセレク
ト回路によって選択した係数を乗nする乗算器と、一定
の不感動レベルを設定した比較回路の開側1によって前
記乗算器出力又はゼロ出力を選択する第2のセレクト回
路を有することを特徴としたディジタルAGC回路であ
る。
(Structure of the Invention) In a digital AGC circuit that automatically adjusts the gain and outputs it in response to fluctuations in an input signal, the reference signal level and the
means for outputting the difference between the GC outputs; a multiplier for multiplying the output by a coefficient selected by a second selection circuit; and a means for outputting the difference between the multiplier outputs or This is a digital AGC circuit characterized by having a second select circuit that selects zero output.

(実施例) 第2図は本発明に係る一実施例である。図において21
は前置可変利得増幅器、22はサンプルホールド回路、
23はめコンバータ、24は電力計算回路、25は対数
変換回路、26は基ωレベルとの差を算出する減算器、
27は乗算器、28は乗算器の係数を選択する第1のセ
レクト回路、29はアキュムレータへの大刀を選択する
第2のセレクト回路、3o(徒加算器、31はアギ。
(Example) FIG. 2 shows an example according to the present invention. 21 in the figure
is a pre-variable gain amplifier, 22 is a sample and hold circuit,
23 is a fitted converter; 24 is a power calculation circuit; 25 is a logarithmic conversion circuit; 26 is a subtracter that calculates the difference from the base ω level;
27 is a multiplier, 28 is a first select circuit that selects a coefficient of the multiplier, 29 is a second select circuit that selects a large sword to an accumulator, 3o (adder), and 31 is an agi.

ムレータ、32は比較回路である。先ずアナログ入力信
号は前置可変利得増幅器21で、アギームレータ3)で
指示されただけ増幅する。該前置可変利得増幅器21の
出力■はサンプルホールド回路22を通I)A/Dコン
バータによってザングリング毎にディソタル信号として
出力■される。一方ザンプリング毎のディノタル信号は
電力計初1回路24で2采し、N回の平均値を出力■す
る。次に対数変換回路によってディンベル(dB )に
変換した後出力■する。これは実際のAGC出力の平均
電力ヲティノベル(dB)で表現したものである。減算
器26は実際のAGC出力■(dB)と基準レベルの出
力■(dB)との差を泪算し、その結果を出方のする。
Mulator 32 is a comparison circuit. First, the analog input signal is amplified by a variable preamplifier 21 by an amount specified by an agiamulator 3). The output (1) of the pre-variable gain amplifier 21 is passed through a sample-and-hold circuit 22 (I) and outputted as a disotal signal (1) by an A/D converter for each Zangling. On the other hand, the dinotal signal for each sampling is divided into two in the first circuit 24 of the power meter, and the average value of N times is outputted. Next, the signal is converted into dimbels (dB) by a logarithmic conversion circuit and then output. This is the average power of the actual AGC output expressed in decibels (dB). The subtracter 26 calculates the difference between the actual AGC output (dB) and the reference level output (dB), and outputs the result.

換言すれば出力のは基準レベルと現実のAGC出力■の
誤差である。該誤差をその′1.1前置可変利得増利益
増1のゲインに反映させるとλGCの動作が振らつき不
安定なものとなってしまう。
In other words, the output is the error between the reference level and the actual AGC output. If this error is reflected in the gain of the '1.1 prefix variable gain increase profit increase 1, the operation of λGC will fluctuate and become unstable.

従って乗算器27によって、誤差出力■に係数α(α≦
1)を掛は乗算器27の出力■で前置可変利得増幅器2
10ケゝインコントロールを行い、安定なAGC動作を
得るものである。セレクト回路28は回線の状態によっ
て係数αを選択する。例えばAGCの立」二り時は6厘
を、通常の安定領域運転時は係数α2を選JRし、乗算
器27によって前記減算器26の出力■に掛け0を出力
する。
Therefore, the multiplier 27 adds a coefficient α (α≦
1) is multiplied by the output of the multiplier 27 and the pre-variable gain amplifier 2
10-key control is performed to obtain stable AGC operation. The selection circuit 28 selects the coefficient α depending on the state of the line. For example, when the AGC is running up or down, a coefficient of 6 is selected, and when operating in a normal stable region, a coefficient α2 is selected.The multiplier 27 multiplies the output of the subtracter 26 by the coefficient α2, and outputs 0.

一方比較回路は減算器の出力■が一定の範囲内では感動
j〜ないように不感動幅■(±ΔdB)の範囲内である
か否かを検定するもので、出力のが不感動範囲内の時は
、セレクト回路29は入力信号をゼロとすべくゼロ出力
■を選し、不感動範囲を越えた口4に6乗算器27の出
力[F]を選択するようにセレクト回路29を制御する
。前記比較回路32とセレクト回路29によって作られ
る不感動帯の範囲内にあるときは、前述の如くセレクト
回路29がゼロ出力G)を選択する。セレクト回路、2
9の出力■はアキュムレータにあるゲインデータと加算
器30によって加算され、前置可変利得増幅器21のゲ
インコントロールデータ■が出力される。本ディジタル
AGC回路は全体として帰還回路を形成しており、AG
C出力レベルが所望のレベルとなるよう、即ち出力■の
誤差が常にゼロに近づくよう動作するものである。
On the other hand, the comparison circuit tests whether or not the output of the subtracter is within the range of the non-sensing range (±ΔdB) so that the output of the subtracter is not within a certain range. In this case, the select circuit 29 selects the zero output ■ to make the input signal zero, and controls the select circuit 29 to select the output [F] of the 6 multiplier 27 for the output 4 that exceeds the insensible range. do. When it is within the dead zone created by the comparison circuit 32 and the selection circuit 29, the selection circuit 29 selects the zero output G) as described above. Select circuit, 2
The output (2) of 9 is added to the gain data in the accumulator by an adder 30, and gain control data (2) of the variable preamplifier 21 is output. This digital AGC circuit forms a feedback circuit as a whole, and the AG
It operates so that the C output level becomes a desired level, that is, the error of the output (2) always approaches zero.

第3図はAGCの誤差出力■とケ9インコントロールの
ためのセレクト回路29の出力0との関係を説明する図
である。誤差出力[F]が不感動幅の内にあるときは出
力■はゼロを示し、■外の値のときは係数α(α≦1)
の選択値によって出力(りが決定される。
FIG. 3 is a diagram illustrating the relationship between the error output (2) of the AGC and the output 0 of the select circuit 29 for key-in control. When the error output [F] is within the imperceptible range, the output ■ indicates zero, and when the value is outside ■, the coefficient α (α≦1)
The output (ri) is determined by the selected value of .

(発明の効果) 以上説明した如く本発明は比較回路とセレクト回路によ
゛って作られる不感動帯を設けることによって、該不感
動範囲内にある場合、セレクト回路は常にゼロ出力とな
ることと、不感動幅を越えるレベル誤差については、乗
算器によシ所定の係数をかけ、その結果をもとにケ゛イ
ン制御を行うためディノタル信号特有のAGC出力の振
らつへがな欠なり、−安定した出力を得ることができる
(Effects of the Invention) As explained above, the present invention provides a dead zone created by the comparator circuit and the select circuit, so that when the dead zone is within the dead zone, the select circuit always outputs zero. For level errors exceeding the dead range, the multiplier is multiplied by a predetermined coefficient and key control is performed based on the result, so it is necessary to fluctuate the AGC output, which is unique to dinotal signals. Stable output can be obtained.

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

第1図は従来のディジタルAGC回路、第2図は本発明
に係るディジタルAGC回路の1実施例、第3図は出力
のと■との関係を説明する説明図である。 21・・・前置可変利得増幅器、22・・・サンプルホ
ールド回路、23・・・A/Dコンバータ、24・・・
電力計算回路、25・・・対数変換回路、26・・・減
算器、27・・・粱算器、28,29・・・セレクト回
路、30・・・加算器、31・・・アキュムレータ、3
2・・・比較回路。 特許出願人沖電気工業株式会社 第1図 第2図
FIG. 1 is a conventional digital AGC circuit, FIG. 2 is an embodiment of the digital AGC circuit according to the present invention, and FIG. 3 is an explanatory diagram illustrating the relationship between output and (2). 21... Pre-variable gain amplifier, 22... Sample and hold circuit, 23... A/D converter, 24...
Power calculation circuit, 25... Logarithmic conversion circuit, 26... Subtractor, 27... Calculator, 28, 29... Select circuit, 30... Adder, 31... Accumulator, 3
2... Comparison circuit. Patent applicant Oki Electric Industry Co., Ltd. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 入力信号の変動に対して自動的に利得を調整して出力す
るディジタルAGC回路において、基準信号レベルとA
GC出力の差を出力する手段と、該出力と第1のセレク
ト回路によって選択した係数を乗算する乗算器と、一定
の不感動レベルを設定した比較回路の制御によって前記
莱算器出力又はゼロ出力を選択する第2のセレクト回路
を有することを特徴としたディジタルAGC回路。
In a digital AGC circuit that automatically adjusts the gain in response to input signal fluctuations and outputs it, the reference signal level and A
means for outputting the difference between the GC outputs; a multiplier for multiplying the output by a coefficient selected by the first selection circuit; and a comparator circuit in which a constant level is set, so that the output of the multiplier or zero output is controlled. A digital AGC circuit characterized by having a second select circuit that selects.
JP4216384A 1984-03-07 1984-03-07 Digital agc circuit Granted JPS60187115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4216384A JPS60187115A (en) 1984-03-07 1984-03-07 Digital agc circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4216384A JPS60187115A (en) 1984-03-07 1984-03-07 Digital agc circuit

Publications (2)

Publication Number Publication Date
JPS60187115A true JPS60187115A (en) 1985-09-24
JPH0320927B2 JPH0320927B2 (en) 1991-03-20

Family

ID=12628289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4216384A Granted JPS60187115A (en) 1984-03-07 1984-03-07 Digital agc circuit

Country Status (1)

Country Link
JP (1) JPS60187115A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007134769A (en) * 2005-11-08 2007-05-31 Hitachi Kokusai Electric Inc Radio transmitter

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56165423U (en) * 1980-05-09 1981-12-08
JPS5714206A (en) * 1980-06-30 1982-01-25 Toshiba Corp Automatic controller for audio level
JPS5875308A (en) * 1981-10-29 1983-05-07 Matsushita Electric Ind Co Ltd Demodulator

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56165423U (en) * 1980-05-09 1981-12-08
JPS5714206A (en) * 1980-06-30 1982-01-25 Toshiba Corp Automatic controller for audio level
JPS5875308A (en) * 1981-10-29 1983-05-07 Matsushita Electric Ind Co Ltd Demodulator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007134769A (en) * 2005-11-08 2007-05-31 Hitachi Kokusai Electric Inc Radio transmitter

Also Published As

Publication number Publication date
JPH0320927B2 (en) 1991-03-20

Similar Documents

Publication Publication Date Title
CA1138058A (en) Hybrid automatic gain control circuit
US8045720B2 (en) Method for dynamic determination of time constants, method for level detection, method for compressing an electric audio signal and hearing aid, wherein the method for compression is used
McNally Dynamic range control of digital audio signals
JPH09321559A (en) Automatic gain control circuit
GB2179810A (en) Dynamic range control of a signal
JPH02181507A (en) Gain controller
JPH09258781A (en) Digital voice processor
JPS60187115A (en) Digital agc circuit
US6005953A (en) Circuit arrangement for improving the signal-to-noise ratio
GB2147165A (en) Dynamic range control
US7433476B2 (en) Automatic gain control
CA2257461C (en) Hearing aid with improved percentile estimator
JPH09148862A (en) Auto gain control device and level display device
JPS6211170A (en) Power detection circuit
US6748092B1 (en) Hearing aid with improved percentile estimator
JPH05198092A (en) Level control circuit
JPH11220345A (en) Automatic gain controller
JPS6382010A (en) Automatic gain controller
JPH07105679B2 (en) Audio equipment
JPS63202110A (en) Agc circuit
GB2179809A (en) Dynamic range control of a signal
JPH05198089A (en) Level control circuit
JP3497813B2 (en) Digital audio dynamic range compressor
JPS63242011A (en) Gain control circuit
JP3029361B2 (en) Automatic gain control circuit