opening

Regular reports of my grabber activity and that of others, plus information on QRSS software, hardware and technique that comes my way

Tuesday, August 16, 2011

How to turn off your receiver's AGC

Even though the AGC is a wonderful invention there are times when it's nice to be able to turn it off.  In order to make quantitative measurements of signal levels the gain needs to be constant from the antenna input terminals to the audio output terminals.  The "A" in AGC keeps this from happening.

Very few receivers today have an "off" position for the AGC but I've found it is possible to effectively turn it off by simply backing off on the RF gain control.  I'm almost ashamed to say that in all my years hamming I have just discovered this.   Here's how it works.

Figure 1 is the AGC response curve made at Clifton Laboratories for a commercial grade receiver .  With the RF gain full on there is region from the noise floor up to a point called the "AGC knee" where receiver gain is linear.  At the knee the AGC kicks in and maintains a more-or-less constant audio output for an ever increasing RF input.  But, as the RF gain is backed off the knee moves to the right so that the linear region covers a much wider range and that's the fact we take advantage of to defeat the AGC.  If the knee is chosen carefully then all the signals likely to be received will be in the linear region.  It is always possible that a really strong signal will appear inside the bandpass to activate the AGC but for QRSS band conditions this is very unlikely.
Figure 1.  Receiver AGC Response Curve

As the RF gain on my TS-440 is reduced the S-meter moves up from the "peg" at S0 to higher and higher values...the higher it goes the wider the linear range.  I have found that S9 is a good set point.  To compensate for the drop in audio output I increase the audio gain.  Now you might think that in doing this that the SNR is being degraded but that's not the case.  While doing these experiments I keep track of the noise floor as well as the signal and the difference remains the same.  There is eventually a point where the signal is too weak to stay above the noise floor but for my system this is substantially above the S9 set point.

Not all receivers have the same AGC response curve and the linear region may not actually be all that linear.  To check my TS-440 I inserted attenuators of known values at the antenna terminals and looked for the corresponding drop in output as read via Spectrum Lab.  Actually I have only one attenuator I consider calibrated, a Tektronix 011-0059-01 fixed 20 dB type with BNC connectors.  I used this to check the internal attenuator in my TS-440 which is supposed to be 20 dB and checked out within a dB.  Thus I have two accurate 20 dB steps of attenuation for a total of 40 dB.

Figure 2 is the test setup.  For a signal source I used my Palomar R-X Noise Bridge which provides a strong, stable signal for testing.  With the noise source OFF the output as read by SL defines the system noise floor.  With the noise source ON the output was adjusted for a convenient level above the noise floor.  Attenuators were added to vary the input and the output observed on SL.
Figure 2.  Test Setup

Figure 3 shows the effect of the attenuators for two cases.  The first is with the AGC turned off by reducing the RF gain and you can see that the output closely follows the input.   The second run was made with the AGC full on at maximum RF gain where you can see the output hardly follows the input, particularly for the first step.  I did this run for two noise levels corresponding to S4 and S1.  The weaker level came closer to following the attenuation as is suggested in Figure 1. You can see AGC curves for other receivers at the previously cited link to help understand what goes on around the AGC knee  My hypothesis that reducing the RF gain turns the AGC off seems to be valid and the response of my receiving system is nearly linear under these conditions .  Now I can measure signal strengths and compare them in a meaningful way.
Figure 3.  Effect of Attenuators With and Without AGC

The impetus for this study was a desire to measure background noise so I could compare Summer and Winter conditions on the various bands for use with path loss calculations.  For example,  VOACAP predicts the signal level in dBm reaching a receiver from a transmitter for known power and antennas.  The unknown factor is the veiling effect of band noise.  I have begun making background noise measurements and can see the daily cycle and the effect of sferic spikes. This is interesting in and of itself and I'll describe it in a future post.

de w4hbk

2 comments:

  1. Great post Bill,

    Im rapidly coming to the conclusion that a combination of my old TS140, a decent quality soundcard and a few spectrum tools (generally Baudline under Linux) are quite a powerful tool for measurement.


    Ive been running a few tests as far as frequency accuracy and relative sig levels go against WWV over the last few days - with some interesting numbers about what I can hear down to at different times of the day and also relative drift on my RX (still plotting that for each WWV freq from warmup and against ambient).

    Im also wondering if things could be taken a stage further with a bit of hardware and software development - Im thinking - If I use a TRX with a CAT interface (via HAMLIB) and a 0-50MHz DDS with relay switch decade attenuation, all of a sudden you have for pretty much zero cost a reasonably well calibrated analyser and sweep gen - which opens up a whole bunch of response curve measurements.

    Doh!! Soo many projects soooooo little time ;)

    ReplyDelete
  2. Hello g7nbp
    I wonder if you have ever looked a a Doppelgram of WWV's signal at your QTH, I think you may be horrified at the Doppler Shift caused by propagation! It cannot be used as an RF frequency Standard at long range, because of propagation Doppler Shifts, more as a 'rough' indicator of frequency. A lesson I learned the hard way.

    ReplyDelete