1
$\begingroup$
  1. Analog AGC is mainly used to increase the signal level to match the ADC sensitivity? Is Analog AGC also used to attenuate the signal?.
  2. Digital AGC is the first block used after ADC. Is the main purpose of digital AGC is to provide constant level to the signal processing receiver chain( RRC, CIC, demod....)
  3. So analog AGC output is range of signal levels but digital AGC always gives out a fixed level?
$\endgroup$
2
  • $\begingroup$ Is it possible to clarify what you mean by "...always gives out a fixed level" please? $\endgroup$
    – A_A
    Commented Jul 27, 2020 at 12:14
  • $\begingroup$ If the target level is 0 dBm. Digital AGC will bring any signal level to 0 dBm. If it is -5 dBm it will amplify .if 5dbm it will attenuate. $\endgroup$
    – Steve
    Commented Jul 27, 2020 at 15:05

1 Answer 1

2
$\begingroup$

Analog AGC is mainly used to increase the signal level to match the ADC sensitivity? Is Analog AGC also used to attenuate the signal?.

For "Analog AGC" we use analog control components (typically voltage variable amplifiers and voltage variable attenuators) to adjust the receiver gain, and we use an analog power detector to measure the total band power (within the bandwidth of the filtering up to the detector). This measured power is compared to a target which generates an error signal (often with an op-amp in an analog circuit) and the error is integrated in a loop filter (also often with the same op-amp) which then integrates to the control voltage needed to make the error go to zero (and the loop filter can be further modified for higher order loop control). In the end the band power AS MEASURED AT THE DETECTOR will be constant except for dynamic conditions during power transitions. Depending on what is used in the receiver for gain control, the AGC can amplify or attenuate all the signals in band as allowed.

Digital AGC is the first block used after ADC. Is the main purpose of digital AGC is to provide constant level to the signal processing receiver chain( RRC, CIC, demod....)

Digital AGC is not necessarily the first block after the ADC, or at least the level detector part of the AGC loop. A significant benefit of doing a subsequent AGC digitally is that you can measure the level (which sets the level of the overall waveform within the bandwidth at the detector) after more thorough filtering of the channel signal of interest and rejecting out of band interference (which could include other channels in a multiband receiver). This interference would reduce the signal of interest in band when AGC'd (power measured) earlier in the chain. Consider the above case earlier for the analog AGC where we have a very strong interference signal near the channel bandwidth of interest, so close that filtering in the analog would be costly. Assume too that we have a high dynamic range ADC with excess dynamic range allowing us to shift some of this filtering challenge to the digital. The analog AGC's purpose is to avoid excessive clipping at the ADC input (or other similar level sensitive components in the receiver chain), so with the strong interference our signal of interest will effectively be significantly attenuated, give the interference will set the full scale level at the ADC input.

So the Digital AGC's purpose is to further bring this signal back to the proper full scale level (and minimize subsequent receiver processing) by selecting the bandwidth of interest and removing the remaining interference digitally, and then once removed, bring the channel signal back to the proper full scale level (some determined back-off to minimize clipping in the waveform but also reduce the subsequent operations required assuming a fixed point design, meaning minimize datapath requirements).

Also we must be careful to consider all components between the adjusted signal level and the detector (assuming filtering prior to the detector means that the actual power in the signal affecting the components in line can be much higher leading to saturation, clipping and gain compression.

So analog AGC output is range of signal levels but digital AGC always gives out a fixed level?

Not quite. Both analog and digital AGC provide a fixed level of channel power, as measured by the relevant power/signal detector used. What may more likely occur in the analog is strong interference controlling the AGC, so the AGC sets its level based on the interference and not our signal of interest. The AGC only measures power and does not recognize signal from interference: we help that with filter design.

There are also systems where the level is measured digitally and the front-end gain is controlled but it is important to monitor the total signal level at the input the ADC to optimize the trade between quantization noise and clipping, maximizing the SNR of the signal with the proper AGC set-point at the ADC input. (Some clipping is often actually better than backing off too far and introducing more quantization noise in the process).

The AGC loop consists of a detector and a way to adjust the power along with an appropriate loop filter as a control loop. The power adjustment can be done as gain or attenuation or both, depending on what is available in the design. The detection and gain adjust and loop filter can all be done digitally or analog or both and as suggested above it can be a multi-loop design, and the gain can also include stepped gain control.

For more info see these posts: How to adjust receiver gains to avoid saturation and quantization noise to optimise post digital processing?

Role of Power Metric and LPF in AGC(Automatic Gain Controller)

AGC noise level

$\endgroup$
3
  • $\begingroup$ thanks for your detailed explanation. I got very good understanding now. I just have some more questions. 1. If analog AGC output power is constant then ADC will get constant input level? In this case if out of band interference is low i may not need a digital AGC?2. Always my digital signal processing blocks after agc will have a constant voltage level? $\endgroup$
    – Steve
    Commented Jul 28, 2020 at 12:17
  • $\begingroup$ 3 If I choose some signal level ranges to have fixed gain and some signals ranges level to have AGC. Lets say input ranges from(-110to-30dBm) so(-110to-75 dbm)i may amplify with a fixed gain of 60 so it becomes (-50 dbm tp -15 dbm) and (-75 to -30dbm) i may use agc to map to -50 dbm. so ADC will get (-15to-50 dbm). Here power is measured digitally controlling the analog gain.In this case should i have another digital agc to give constant level as my adc output is varying from -15 to -50 dbm even though i have a digital control to the analog gain. $\endgroup$
    – Steve
    Commented Jul 28, 2020 at 12:18
  • $\begingroup$ Hi @Steve! Yes to your first question if out of band "interference" is low meaning in general terms the power at the detector is represented by your signal of interest, then no digital AGC is needed. Your signal processing blocks will stay constant with time due to the analog AGC. And yes to your second question and this is typical of what I would do (have an active analog AGC region for the upper signal levels to keep ADC from saturating but fixed gain for all lower levels down to senstivity and do the AGC digitally. $\endgroup$ Commented Jul 28, 2020 at 13:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.