US6037834A - Method and apparatus for automatic gain control with improved response time and stability - Google Patents
Method and apparatus for automatic gain control with improved response time and stability Download PDFInfo
- Publication number
- US6037834A US6037834A US09/036,397 US3639798A US6037834A US 6037834 A US6037834 A US 6037834A US 3639798 A US3639798 A US 3639798A US 6037834 A US6037834 A US 6037834A
- Authority
- US
- United States
- Prior art keywords
- mean
- gain
- average energy
- sub
- output signal
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03G—CONTROL OF AMPLIFICATION
- H03G3/00—Gain control in amplifiers or frequency changers
- H03G3/20—Automatic control
- H03G3/30—Automatic control in amplifiers having semiconductor devices
- H03G3/3089—Control of digital or coded signals
Definitions
- the present invention relates generally to Automatic Gain Control (AGC) circuits and more specifically pertains to AGC circuits with improved response time and stability.
- AGC Automatic Gain Control
- AGC circuits are designed to maintain a desired signal level at the output of the circuit. To achieve this goal, the algorithm used by the AGC circuit has to adapt to variations in the input signal of the circuit. Typically, there is a tradeoff between responsiveness and stability of the system. Thus, conventional AGC circuits are either sluggish or become unstable under certain circumstances.
- the value of the proportionality constant is one of the factors affecting the responsiveness of the system. Another factor is dependent on the way the long term average energy E mean is calculated. If the calculation of E mean involves input signals from many past time frames, the AGC circuit will be slow in incorporating changes in the signal. This may be somewhat desirable, since the AGC circuit should not react too rapidly to short term changes. On the other hand, if the system is too slow with incorporation of the changes, the AGC circuit may not be able to boost or attenuate the input signal in reasonable time. Therefore, the AGC circuit parameters should be chosen carefully to ensure both the stability and responsiveness of the system.
- FIG. 1 A block diagram of a conventional AGC circuit is presented in FIG. 1.
- the elements of the block diagram can be presented with following equations, applicable in linear or dB domain:
- R 0 energy of a current frame of the input signal
- ⁇ is an averaging constant
- ⁇ is a gain change
- G is an estimated gain
- ⁇ 1 is a coefficient representing linear slew rate
- ⁇ q is a coefficient representing quadratic slew rate.
- E mean and G are calculated recursively in the feedback loop. The initial value of G and E mean is set to zero dB, which is unity gain in linear domain.
- the gain change ⁇ is included in Eq. (1) indirectly, as a function of the averaging constant ⁇ .
- FIG. 1 represents the elements of the AGC circuit 10 observed during one frame.
- An input signal x(n) 12, already converted into digital form, is updated in a feedback loop 16 and exits as an output signal y(n) 13.
- the energy of the frame R 0 14, corresponding to the input signal x(n) 12, is calculated in a circuit element 14.
- the value of R 0 14 is used in a circuit element 17 of the feedback loop 16 to calculate a new estimated value of E mean ' 18 according to Eq. (1).
- the difference ⁇ 20 is obtained according to Eq. (2), in a summing element 19 which subtracts E ref 15 from the new estimated value of the E mean '18.
- the gain change ⁇ 22 is obtained according to Eq.
- the new estimate of the long term average energy E mean ' 18 is calculated in the circuit element 17 and represents the sum of the weighted estimated long term average energy E mean of the previous frame and the weighted input signal energy R 0 .
- the weighting parameter is the averaging constant ⁇ , which controls the relative weight of the two terms of Eq. (1) and determines how quickly new frames are incorporated in the long term average energy E mean calculations.
- the value of ⁇ depends on the circuit and is preferably about 0.1. A large value of ⁇ leads to a faster update of E mean and vice versa. Too large a value of ⁇ leads to a very fast update of E mean , which causes the AGC circuit to quickly react to variations in the input signal, thus leading to distortion. On the other hand, too small a value of ⁇ leads to very slow update of E mean which results in sluggish response.
- the gain change ⁇ is used for adjustment of the estimated gain G.
- the adjustment may be an increment or a decrement.
- the gain change ⁇ is represented with the Eq. (3) which has two terms.
- the first term is ⁇ 1 which represents a slew rate of the difference ⁇ and provides an adjustment based on a linear function.
- the second term ⁇ 2 ⁇ q is based on a square of the first term. Because too small slew value results in sluggish response and too large a value may lead to oscillations, the coefficients ⁇ 1 and ⁇ q should be set such that the quadratic term practically vanishes during small energy variations, when the linear term keeps track of small energy variations. On the other hand, when there is a large or abrupt change in energy, the quadratic term becomes more important because it adjusts the estimated gain G quickly. It also vanishes quickly as the E mean approaches the target reference energy level E ref .
- E mean is not close to E ref , leading to a large feedback in estimated gain calculation, as presented in Eq. (4).
- the estimated gain varies quickly in response to such a large feedback.
- E mean is an average long term energy computed over several frames, the effect of the increased gain will be reflected in E mean several frames later.
- the gain continues to increase rapidly in order to make E mean become close to E ref .
- the effect of the increased gain value is fully effecting the E mean , the gain has changed too much.
- the gain G reacts immediately to changes in E mean , but the E mean calculation reacts to changes in gain very gradually. This leads to oscillations in the AGC circuit, as illustrated in FIGS. 2 and 3. It can be seen that in a conventional system the estimating gain curve and the long term average energy E mean curve have the same general shape of an oscillation curve, and that E mean curve is lagging the estimated gain curve.
- Another object of the present invention is to provide an oscillation-free AGC circuit.
- an AGC circuit with a feedback loop which repeatedly adapts the gain and a long term average energy E mean of the output signal to rapidly approach a predetermined level.
- the long term average energy E mean is increased by a gain compensation parameter directly proportional to a gain change.
- FIG. 1 illustrates a block diagram of a conventional AGC circuit.
- FIG. 2 represents a gain curve obtained with the conventional circuit of FIG. 1.
- FIG. 3 represents a long term average energy oscillation curve obtained with the conventional circuit of FIG. 1.
- FIG. 4 illustrates a block diagram of an AGC circuit in accordance with the preferred embodiment of the present invention.
- FIG. 5 represents a gain curve obtained with the circuit of FIG. 4.
- FIG. 6 represents a long term average energy oscillation curve obtained with the circuit of FIG. 4.
- the present invention eliminates the instability problem inherent in the conventional AGC circuits and their algorithm, and provides a more responsive AGC circuit with improved stability. This is accomplished by incorporating the effect of the new gain element G' in the E mean ' calculation more rapidly. Another way to accomplish this task is to calculate E mean ' over a shorter period of time, but this may cause the AGC circuit to quickly react to short term variations in the input signal, thus leading to distortions which should be avoided.
- the method used in the present invention incorporates the effect of the new gain element G' in the E mean ' calculation more rapidly, thus speeding up the convergence of the E mean to E ref .
- the gain change ⁇ is added into the E mean calculation, and multiplied with a scale factor.
- FIG. 4 illustrates a block diagram of an AGC circuit 40 in accordance with the preferred embodiment of the present invention. All the elements of the illustrated preferred embodiment are the same as in FIG. 1 except element 17.
- the preferred embodiment of FIG. 4 shows element 30, substituted for element 17 of FIG. 1.
- Element 30 calculates the long term average energy E mean ' 18 according to the Eq. (5):
- the Eq. (1) is modified to Eq. (5) by adding an additional parameter for gain compensation, (1- ⁇ ) ⁇ , and the other three equations are the same.
- the gain change ⁇ is added to Eq. (5) directly, not only indirectly as in the Eq. (1).
- Eq. (1) incorporates the gain change ⁇ only in the second term of the equation, as a function of ⁇ , because it is proportional to a fraction of the frame energy R 0 obtained by multiplication with the averaging constant ⁇ .
- the gain compensation element is added where the gain change ⁇ is multiplied with the weight (1- ⁇ ). Since the value of ⁇ is preferably 0.1, in Eq.
- the average energy calculation in the illustrated circuit is still calculated over a long time period yet incorporates the changes in the gain almost immediately.
- the third parameter in the Eq. (5) for the gain compensation does not affect the way the variations in the input signal energy are averaged.
- the AGC circuit of the present invention is oscillation free, because the oscillations in the conventional AGC circuits occur because of the AGC algorithm used in those circuits, and not because of the changes in the input signal.
- the method and AGC circuit of the present invention were evaluated under the same test conditions as the conventional device of FIG. 1.
- the performance of the AGC circuit of FIG. 4 is shown in FIGS. 5 and 6.
- the initial value for the averaging constant ⁇ was 0.1
- the coefficients ⁇ 1 and ⁇ q were set to 0.100 and 0.025, respectively
- E ref was initially set to 24 dB
- R 0 was set to 7.7 dB.
- the conventional AGC circuit of FIG. 1 the slew rates were not high enough to avoid oscillations, thus leading to a slower response than wanted.
- the new algorithm of element 30 slew rates will be able to be set high enough to achieve very fast response, thus eliminating oscillations.
- the AGC algorithm and circuit of the present invention is believed to be especially applicable and useful in circuits where the input signal is constantly changing in time and fast response and stability of the system is necessary. It is understood that the principles of this invention may be applied in circuits where input signals are speech patterns, as in digital cordless and cellular telephones, and in digital telephone answering devices.
Landscapes
- Control Of Amplification And Gain Control (AREA)
Abstract
Description
E.sub.mean '=(1-β) E.sub.mean +βR.sub.0 (1)
Δ=E.sub.ref -E.sub.mean ' (2)
ε=f(Δ)=Δγ.sub.1 +sign(Δ)Δ.sup.2 γ.sub.q (3)
G'=G+ε (4)
E.sub.mean '=(1-β)E.sub.mean +βR.sub.0 +(1-β)ε(5)
Claims (6)
E.sub.mean =(1-β)E.sub.mean +βR.sub.0 +(1-β)ε
E.sub.mean =(1-β)E.sub.mean +βR.sub.0 +(1-β)ε
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US09/036,397 US6037834A (en) | 1998-03-06 | 1998-03-06 | Method and apparatus for automatic gain control with improved response time and stability |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US09/036,397 US6037834A (en) | 1998-03-06 | 1998-03-06 | Method and apparatus for automatic gain control with improved response time and stability |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| US6037834A true US6037834A (en) | 2000-03-14 |
Family
ID=21888396
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US09/036,397 Expired - Lifetime US6037834A (en) | 1998-03-06 | 1998-03-06 | Method and apparatus for automatic gain control with improved response time and stability |
Country Status (1)
| Country | Link |
|---|---|
| US (1) | US6037834A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111694394A (en) * | 2019-03-15 | 2020-09-22 | 新唐科技股份有限公司 | Digital voltage stabilizing system and control method thereof |
-
1998
- 1998-03-06 US US09/036,397 patent/US6037834A/en not_active Expired - Lifetime
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111694394A (en) * | 2019-03-15 | 2020-09-22 | 新唐科技股份有限公司 | Digital voltage stabilizing system and control method thereof |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8494182B2 (en) | Feedback limiter with adaptive time control | |
| US4563775A (en) | Apparatus for controlling transmission output power | |
| US7535859B2 (en) | Voice activity detection with adaptive noise floor tracking | |
| JP2886532B2 (en) | Adaptive control device with high accuracy and low drive energy consumption | |
| US6298139B1 (en) | Apparatus and method for maintaining a constant speech envelope using variable coefficient automatic gain control | |
| EP2023484A1 (en) | Automatic gain control device | |
| KR20000073788A (en) | Optimal control method for Adaptive Feedforward Linear Amplifier | |
| US5838599A (en) | Method and apparatus for nonlinear exponential filtering of signals | |
| JP2827240B2 (en) | Gain adjuster | |
| US8571233B2 (en) | Signal characteristic adjustment apparatus and signal characteristic adjustment method | |
| EP0537690B1 (en) | Burst control circuit for use in TDMA communications system | |
| US6037834A (en) | Method and apparatus for automatic gain control with improved response time and stability | |
| US5173649A (en) | Method and apparatus for improving dynamic response of a feedback control loop by generating a common-mode gain | |
| US20050033500A1 (en) | Stability and response of control systems | |
| US5999718A (en) | Linearizer method and apparatus | |
| US20040202243A1 (en) | Method and apparatus for low power-rise power control using sliding-window-weighted QoS measurements | |
| US5216589A (en) | Adaptive apparatus | |
| KR100353718B1 (en) | Apparatus for progressing a imtermodulayion spurious response attenuation(imd) performance in cdma portable radio terminal eqipment | |
| JPS636890Y2 (en) | ||
| KR100341851B1 (en) | Control method of adaptive predistortion linear amplifier | |
| JP2001053583A (en) | RF signal gain control circuit | |
| JPH0595240A (en) | Transmission power control circuit | |
| JP2797865B2 (en) | Variable voltage attenuator | |
| KR940002303B1 (en) | Electronic graphic equalizer automatic volume control device and control method | |
| KR20000012672U (en) | Output Compensation Circuit of Upconverter |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AS | Assignment |
Owner name: ROCKWELL SEMICONDUCTOR SYSTEMS, INC., CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:PATEL, BHASKER;GAREY, KENNETH E.;REEL/FRAME:009060/0869 Effective date: 19980303 |
|
| AS | Assignment |
Owner name: ROCKWELL SEMICONDUCTOR SYSTEMS, INC., CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:PATEL, BHASKER;GAREY, KENNETH E.;REEL/FRAME:009505/0796 Effective date: 19980303 |
|
| AS | Assignment |
Owner name: CREDIT SUISSE FIRST BOSTON, NEW YORK Free format text: SECURITY INTEREST;ASSIGNORS:CONEXANT SYSTEMS, INC.;BROOKTREE CORPORATION;BROOKTREE WORLDWIDE SALES CORPORATION;AND OTHERS;REEL/FRAME:009826/0056 Effective date: 19981221 |
|
| AS | Assignment |
Owner name: CONEXANT SYSTEMS, INC., CALIFORNIA Free format text: CHANGE OF NAME;ASSIGNORS:PATEL, BHASKER P.;GAREY, KENNETH E.;REEL/FRAME:010443/0402 Effective date: 19991014 |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
| AS | Assignment |
Owner name: CONEXANT SYSTEMS, INC., CALIFORNIA Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:CREDIT SUISSE FIRST BOSTON;REEL/FRAME:012273/0217 Effective date: 20011018 Owner name: BROOKTREE WORLDWIDE SALES CORPORATION, CALIFORNIA Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:CREDIT SUISSE FIRST BOSTON;REEL/FRAME:012273/0217 Effective date: 20011018 Owner name: BROOKTREE CORPORATION, CALIFORNIA Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:CREDIT SUISSE FIRST BOSTON;REEL/FRAME:012273/0217 Effective date: 20011018 Owner name: CONEXANT SYSTEMS WORLDWIDE, INC., CALIFORNIA Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:CREDIT SUISSE FIRST BOSTON;REEL/FRAME:012273/0217 Effective date: 20011018 |
|
| AS | Assignment |
Owner name: CONEXANT SYSTEMS, INC., CALIFORNIA Free format text: SECURITY INTEREST;ASSIGNOR:ALPHA INDUSTRIES, INC.;REEL/FRAME:013240/0860 Effective date: 20020625 |
|
| FEPP | Fee payment procedure |
Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| AS | Assignment |
Owner name: SKYWORKS SOLUTIONS, INC., CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:CONEXANT SYSTEMS, INC.;REEL/FRAME:014261/0264 Effective date: 20020625 |
|
| AS | Assignment |
Owner name: CONEXANT SYSTEMS, INC., CALIFORNIA Free format text: CHANGE OF NAME;ASSIGNOR:ROCKWELL SEMICONDUCTOR SYSTEMS, INC.;REEL/FRAME:014261/0289 Effective date: 19981202 |
|
| FPAY | Fee payment |
Year of fee payment: 4 |
|
| AS | Assignment |
Owner name: ALPHA INDUSTRIES, INC., MASSACHUSETTS Free format text: RELEASE AND RECONVEYANCE/SECURITY INTEREST;ASSIGNOR:CONEXANT SYSTEMS, INC.;REEL/FRAME:014580/0880 Effective date: 20030307 |
|
| AS | Assignment |
Owner name: SKYWORKS SOLUTIONS, INC., CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:CONEXANT SYSTEMS, INC.;REEL/FRAME:016784/0938 Effective date: 20020625 |
|
| FPAY | Fee payment |
Year of fee payment: 8 |
|
| FPAY | Fee payment |
Year of fee payment: 12 |