This invention relates to digital automatic gain control (“AGC”) circuits. AGC is used to reduce the dynamic range of received signals in a communication system. Many common AGC circuits use a feedback loop to drive the received signals to a desired reference level.
The accumulator 30 is illustrated in greater detail in
As such, the linear AGC circuit 10 of
Although the signal level of the received signal, x(n) 40, appears to be constant or approximately constant when viewed over a long period of time, the short term or instantaneous signal level of the received signal, x(n) 40, is continuously changing. The instantaneous signal level depends on, among other things, the transmitted symbols, channel response, and noise. The statistics (e.g., variance) of the AGC circuit 10 are different for different signal levels of the received signal, x(n) 40. Changes in the instantaneous signal level introduce noise into the AGC circuit gain, g(n) 45, and therefore, also introduce noise into the AGC output signal, y(n) 50. For the AGC circuit 10 of
The relationship between the signal level of the received signal, x(n) 40, and the noise introduced into the AGC circuit 10 of
where a(n) is the output 70 of the accumulator 30.
If the received signal, x(n) 40, is changed to x(n+1)=x(n)(1+Δ), the relative change in gain, Δgr(n), is given by EQN. 4.
Because the relative gain change depends inversely on the output, a(n) 70, of the accumulator 30, and because a(n) is small for strong signals, the variance in the AGC circuit gain, g(n) 45, is large for strong signals.
The AGC circuit 100 is able to achieve approximately the same convergence speed and statistics for received signals having different signal levels. However, a primary disadvantage of the AGC circuit 100 is the complexity involved in implementing the circuit 100.
Embodiments of the invention provide an automatic gain control (“AGC”) system or circuit that includes a multiplier, an envelope detector, a summation module, a filter module, a convergence module, and a feedback module. The circuit is configured to adjust its convergence speed according to the state of the system convergence. An error signal is generated as the difference between a reference signal and a scaled input signal. The generated error signal is processed by the convergence module to determine the convergence state of the AGC circuit, and the convergence speed of the circuit is adjusted according to the processed error signal. An output of the convergence module is input to the feedback module, and the feedback module generates an AGC circuit gain. The response time (e.g., the time required for the system to converge) of the AGC circuit is insensitive to the signal level of the received signal.
In one embodiment, the invention provides an AGC system having an AGC gain and an AGC convergence speed. The AGC system includes a summation module, a convergence module, and a feedback module. The summation module is configured to determine an error signal based at least in part on a received signal and a reference signal. The convergence module is configured to generate a convergence speed gain for the AGC system based at least in part on the error signal, and output a scaled error signal. The scaled error signal is based at least in part on the convergence speed gain and the error signal. The feedback module is configured to receive an input signal and output the AGC gain. The input signal is based at least in part on the AGC gain and the scaled error signal, and the AGC convergence speed is substantially independent of a signal level of the received signal.
In another embodiment, the invention provides a method of AGC in a digital receiver. The digital receiver includes an AGC module having an AGC gain and an AGC convergence speed. The method includes determining an error signal based at least in part on a received signal and a reference signal; generating, in a convergence module, a convergence speed gain based at least in part on the error signal; and generating a scaled error signal based at least in part on the convergence speed gain and the error signal. The method also includes generating a feedback signal based at least in part on the AGC gain and the scaled error signal. The AGC gain is based at least in part on the feedback signal, and the AGC convergence speed is substantially independent of a signal level of the received signal.
In yet another embodiment, the invention provides a device configured to process digital signals. The device includes a receiver having a demodulator, an equalizer, and an AGC module. The AGC module is configured to determine an error signal based at least in part on a received signal and a reference signal, generate a convergence speed gain based at least in part on the error signal, generate a scaled error signal based at least in part on the convergence speed gain and the error signal, and generate a feedback signal based at least in part on the AGC gain and the scaled error signal. The AGC gain is based at least in part on the feedback signal, and the AGC convergence speed is substantially independent of a signal level of the received signal.
Other aspects of the invention will become apparent by consideration of the detailed description and accompanying drawings.
Before any embodiments of the invention are explained in detail, it is to be understood that the invention is not limited in its application to the details of construction and the arrangement of components set forth in the following description or illustrated in the following drawings. The invention is capable of other embodiments and of being practiced or of being carried out in various ways.
Embodiments of the invention described herein relate to an automatic gain control (“AGC”) system or circuit. The system includes a first multiplier, an envelope detector, a summation module, a filter module, a convergence module, and a feedback module. The convergence module includes a convergence control module and a second multiplier. The feedback module includes an accumulator, a scalar multiplier module, and a third multiplier. The circuit is configured to adjust or modify its convergence speed according to the state of convergence of the AGC circuit. An error signal is generated as the difference between a reference signal and a scaled input signal (e.g., an output of the envelope detector). The error signal is filtered by the filter module and processed by the convergence module to determine the convergence state of the AGC circuit. The convergence speed of the AGC circuit is adjusted according to the processed error signal. An output of the convergence module is input to the feedback module, and the feedback module generates an AGC circuit gain. The AGC circuit gain is multiplied by the received signal at the first multiplier. Following convergence and stabilization of the AGC circuit, an output of the AGC circuit is equal or approximately equal to the reference signal.
The elements, components, and modules within the AGC system are implemented using hardware, software, or a combination of hardware and software. In some embodiments, for example, the AGC system is implemented using a controller, a microcontroller, a microprocessor, or another suitable processing device. The processing device includes, among other things, a processing unit, a memory, and a bus. The bus connects various components of the processing device including the memory and the processing unit. The memory includes, for example, read only memory (“ROM”), random access memory (“RAM”), electrically-erasable programmable read-only memory (“EEPROM”), or flash memory. The processing device also includes an input/output system having routines for transferring information between components within the processing device. Software or executable instructions included in the implementation of the AGC system are stored in the memory of the processing device or a memory connected to the processing device. In other embodiments, the processing device includes additional, fewer, or different components.
In some embodiments, the AGC system is implemented partially or entirely on a semiconductor chip (e.g., an FPGA semiconductor chip), such as a chip developed through a register transfer level (“RTL”) design process. In embodiments of the invention where the AGC system is not implemented entirely in a semiconductor chip, the AGC system is implemented at least partially on, for example, a printed circuit board (“PCB”). The PCB is populated with a plurality of electrical and electronic components which are used at least partially in combination to implement the AGC system. In some embodiments, the PCB includes the processing device or chip. The PCB also includes, for example, a plurality of additional passive and active components such as resistors, capacitors, inductors, integrated circuits, and amplifiers. These components are arranged and connected to provide electrical functions to the PCB which are required to implement the AGC system. The functions include, among other things, filtering, signal conditioning, signal level detection, addition, multiplication, integration, derivation, and voltage or current regulation. For descriptive purposes, the chip or the PCB and the electrical components populated on the PCB are collectively referred to as “the receiver.” The receiver is included in, or implemented in combination with, a variety of electrical and electronic devices, such as the digital communications device 200 illustrated in
In the illustrated embodiment, the device 200 includes a receiver module 205 and optional hardware and/or software module(s) 210 that provide additional functions (e.g., display functions) to the device 200. In other embodiments, the device 200 includes more or fewer modules. For example, certain depicted modules are implemented on other devices that interface with the device 200 (e.g., the receiver module 205 interfaces with a display module incorporated into a separate device). The receiver module 205 includes, among other things, a demodulator 215, an equalizer 220, and an AGC module 225. In other embodiments, the receiver module 205 includes one or more additional modules, such as, for example, a tuner, a sync and timing recovery module, a matched filter, a phase tracker, a deinterleaver, a carrier recovery module, a decoder, a slicer, and/or a derandomizer. The AGC module 225 includes the hardware, software, or combination of hardware and software described above which is necessary to implement an AGC system or circuit, such as the AGC circuit 300 illustrated in
The circuit 300 includes a first multiplier 305, an envelope detector 310, a summation module 315, a filter module 320, a convergence module 325, and a feedback module 330. The convergence module 325 includes a convergence control module 335 and a second multiplier 340. The feedback module 330 includes an accumulator 345, a scalar multiplier module 350, and a third multiplier 355. In some embodiments, the filter module 320, the convergence control module 335, and the multipliers 305, 340, and 355, are implemented using, for example, bit shifting, addition, or look-up tables (“LUTs”). The components and modules depicted in
The circuit 300 receives an input signal, x(n) 360, which can be a real signal or a complex signal. The input signal is multiplied by a gain signal, g(n) 365, at the multiplier 305. An output signal, y(n) 370, of the multiplier 305 is input to the envelope detector 310, which obtains a signal level envelope of the signal, y(n) 370. In some embodiments, the envelope detector 310 determines the absolute value or the power of the signal, y(n) 370. An output 375 of the envelope detector 310 is subtracted from a reference signal, R 380, at the summation module 315. The reference signal, R 380, is constant or approximately constant and is related to a desired average signal level. An output of the summation module 315 is an error signal, e(n) 385, which is filtered by the filter module 320. In some embodiments, the filter module 320 includes a low-pass filter which is used to reduce instantaneous noise in the circuit 300 and obtain an average error signal 390. In one embodiment, the filter module 320 uses a first-order infinite impulse response (“IIR”) filter, although other types and orders of filters can be used. Some embodiments of the invention also use addition and bit shifting to simplify the design of the filter module 320.
The output 390 of the filter module 320 enters the convergence module 325, which determines a convergence speed for the AGC circuit 300 by modifying an output 395 of the convergence control module 335 based on the average error signal 390. The output 395 of the convergence control module 335 is a scalar which is multiplied by the average error signal 390 at the second multiplier 340. A large average error signal 390 indicates that the signal, y(n) 370, is far away from the signal level of the reference signal, R 380. Thus, a large value of the signal 395 is sent to the multiplier 340, and the AGC circuit convergence speed is increased (e.g., the AGC circuit gain, g(n) 365, is increased). A small average error signal 390 indicates that the AGC circuit 300 has nearly converged. Thus, a small value of the signal 395 is sent to the multiplier 340, and the convergence speed of the AGC circuit 300 is decreased. In some embodiments, an output 400 (i.e., a gain adjusted error signal) of the convergence module 325 is proportional to the average error signal 390. The convergence control module 335 uses, for example, a LUT, and because the convergence speed of the AGC circuit 300 does not have to be precise (e.g., is coarse), a simple LUT with only a few entries is used. Additionally, because the output 395 of the convergence control module 335 also does not have to be precise (e.g., is coarse), the second multiplier does not have to be a full multiplier. In some embodiments, the second multiplier is implemented using bit shifting.
Using the convergence of the AGC circuit 300, which is determined based on the average error signal 390 in the convergence control module 335 and the feedback module 330, is advantageous for at least three reasons: (1) a large output 395 of the convergence control module 335 resulting from a large average error signal 390 during convergence guarantees a fast AGC circuit response (e.g., a fast convergence, a fast response to changing signal levels, etc.); (2) following convergence and during a tracking mode (e.g., when the average error signal is small), a small AGC circuit gain, g(n) 365, reduces the amount of noise resulting from instantaneous signal level fluctuations, and the noise is independent of the signal level of the received signal; and (3) as previously described, for a step input having a signal level, c, a time constant of the AGC circuit 300 is related (e.g., is proportional) to 1/αc, which results in the convergence speed of the AGC circuit 300 being slow when the signal level, c, is small. As is described in greater detail below, the feedback module 330 is configured to control the convergence speed of the AGC circuit 300 independently of the signal level of the received signal, x(n) 360 (e.g., when the average error signal is large, but the signal level of the received signal, x(n) 360, is small). As a result of multiplying the AGC circuit gain, g(n) 365, by the gain adjusted average error signal 400, the convergence speed of the AGC circuit 300 is substantially independent of the received signal's signal level.
The output 400 of the second multiplier 340 is multiplied by the AGC circuit gain, g(n) 365, at the third multiplier 355. The output 405 (i.e., a gain adjusted averaged error signal) of the third multiplier 355 is input to the accumulator 345, which reduces the noise in the gain adjusted averaged error signal 405. In some embodiments, the accumulator 345 has the same configuration as the accumulator 30 shown in and described with respect to
The feedback module 330 has a sub-loop which includes the third multiplier 355, the accumulator 345, and the scalar multiplier module 350. The sub-loop causes the statistics (e.g., variance) of the AGC circuit gain, g(n) 365, to be approximately the same for received signals having strong signal levels and received signals having weak signal levels. As such, the noise introduced by fluctuations in signal level is approximately the same regardless of the signal level of the received signal, x(n) 360.
The independent relationship between the noise due to signal level fluctuations and the received signal's signal level is shown mathematically below. Following AGC circuit stabilization, the relation shown below in EQN. 5 is true.
where a(n) is the output 410 of the accumulator 345, x(n) is the received signal 360, α is the scalar multiplier from the scalar multiplier module 350, and R is the reference signal 380. If the received signal, x(n) 360, is changed to x(n+1) as shown below in EQN. 6,
x(n+1)=x(n)(1+Δ) EQN. 6
then,
y(n)=x(n)a(n−1)α EQN. 7
and
a(n)=a(n−1)+(R−y(n))a(n−1)α EQN. 8
The accumulator output, a(n) 410, can then be expressed as
a(n)=(Rα+1)a(n−1)−x(n)α2α2(n−1) EQN. 9
Using EQN. 9, the relative gain change is represented as shown in EQNS. 10 and 11.
As such, the relative change in loop gain is independent of the received signal, x(n) 360, and the statistics of the AGC circuit gain (e.g., variance) are substantially consistent regardless of the signal level of the received signal, x(n) 360.
Additionally, the convergence module 325 and the feedback module 330 work in conjunction with one another to reduce the effects of sudden signal level changes on the AGC circuit gain, g(n) 365. For example, if a strong received signal, x(n) 360, suddenly changes to a weak signal, and the AGC circuit gain, g(n) 365, is small both before and immediately following the change, the input signal 405 to the accumulator 345 is small. The signal 405 is small due to the multiplication of a small AGC circuit gain, g(n) 365, at the third multiplier 355, and as a result, the convergence speed of the AGC circuit 300 would be slow.
In such a situation, the convergence control module 335 provides convergence speed compensation. As a consequence of the sudden signal level change of the received signal, x(n) 360, the average error signal 390 is large, and the output 395 of the convergence control module 335 is large. The large average error signal 390 and the large output 395 of the convergence control module 335 provide for faster convergence when multiplied by the gain, g(n) 365, at the multiplier 355. Soon thereafter, the AGC circuit gain, g(n) 365, is able to catch up to the change in the received signal's signal level, and the multiplication of AGC circuit gain, g(n) 365, at the third multiplier 355 quickly increases the convergence speed of the AGC circuit 300. Accordingly, only a small effect from the prior (small) AGC circuit gain, g(n) 365, is observed.
The convergence speed of the AGC circuit 300 and its statistics approximate those of the log-exponential AGC circuit 100 of
A process 500 for AGC is illustrated in
The previously described device 200, which includes the AGC circuit 300 and is capable of executing the process 500, is implemented in, or as, any of a variety of additional devices which receive radio frequency signals from a transmitter 600, such as those illustrated in the communications system 605 of
Thus, the invention provides, among other things, an AGC system or circuit that is configured to adjust its convergence speed according to a state of system convergence. An error signal is generated as the difference between a reference signal and a scaled input signal. The error signal is processed to determine the convergence state of the AGC system, and the convergence speed of the circuit is adjusted according to the processed error signal. Various features and advantages of the invention are set forth in the following claims.
Number | Name | Date | Kind |
---|---|---|---|
4263560 | Ricker | Apr 1981 | A |
5623521 | Yaguchi et al. | Apr 1997 | A |
5784410 | Nakano | Jul 1998 | A |
5982235 | Kinomura | Nov 1999 | A |
6370210 | Yamamoto | Apr 2002 | B1 |
6708025 | Iwata et al. | Mar 2004 | B2 |
6782061 | Ichihara | Aug 2004 | B2 |
6843597 | Li et al. | Jan 2005 | B1 |
7076223 | Matsugatani et al. | Jul 2006 | B2 |
7116733 | Yamanaka et al. | Oct 2006 | B2 |
7277510 | Kilani et al. | Oct 2007 | B1 |
7386285 | Yamauchi | Jun 2008 | B2 |
7408493 | Lusky et al. | Aug 2008 | B2 |
7436913 | Kang et al. | Oct 2008 | B2 |
7501895 | Yang | Mar 2009 | B2 |
7504884 | Ra et al. | Mar 2009 | B2 |
7596192 | Furuya | Sep 2009 | B2 |
7924524 | Dahle et al. | Apr 2011 | B2 |
20030026363 | Stoter et al. | Feb 2003 | A1 |
20050146643 | Lee | Jul 2005 | A1 |
20060222118 | Murthy et al. | Oct 2006 | A1 |
20070268408 | Kim et al. | Nov 2007 | A1 |
20080273636 | Zhu et al. | Nov 2008 | A1 |
20090042526 | Maulik et al. | Feb 2009 | A1 |
20090092207 | Takahashi | Apr 2009 | A1 |
Number | Date | Country |
---|---|---|
61009009 | Jan 1986 | JP |
11195942 | Jul 1999 | JP |
20000061607 | Oct 2000 | KR |
1020040024805 | Mar 2004 | KR |
Entry |
---|
ATSC, “A/53: ATSC Digital Television Standard, Parts 1-6, 2007”, Advanced Television Systems Committee, Inc., Washington, D.C., available online at: <http://www.atsc.org/standards/a53/a—53-Part-1-6-2007.pdf>, 136 pages, Jan. 3, 2007. |
ATSC, ATSC Recommended Practice: Receiver Performance Guidelines (with Corrigendum No. 1 and Amendment No. 1), Doc. A/74, Advanced Television Systems Committee, Washington, D.C., available online at: <http://www.atsc.org/standards/a—74-w-Corr-1-Amend-1.pdf>, 69 pages, Jun. 18, 2004, Corrigendum No. 1 dated Jul. 11, 2007, Amendment No. 1 dated Nov. 29, 2007. |
Korean Intellectual Property Office, “Notice of Allowance”, “from Foreign Counterpart of U.S. Appl. No. 12/622,151”, Nov. 14, 2012, pp. 1-3, Published in: KR. |
Number | Date | Country | |
---|---|---|---|
20110116582 A1 | May 2011 | US |