Automatic gain control, known as AGC (Automatic Gain Control), is one of the basic functional blocks of any quality receiver. Its task is to maintain the output signal at an acceptable level regardless of the input signal fluctuations. In practice, this means that weak signals are amplified, while strong signals are automatically suppressed to avoid waking up the amplifier or unpleasantly 'deafening' the operator.
In this article we will look at and simple and very practical solution for and low-frequency AGC that uses and commonly available BS170 type MOSFET transistor in combination with the popular LM386 audio amplifier. This is and circuit that has found its way into many QRP projects and home transceivers.
In the article you will read
Why low-frequency AGC?
AGC možno realizovať na rôznych úrovniach signálovej cesty – buď na vysokofrekvenčnej (VF), medzifrekvenčnej (MF), or nízkofrekvenčnej (NF ). Každý prístup má svoje výhody and nevýhody.
Low-frequency AGC, as in this case, is implemented after the detector, i.e. directly in the audio part of the receiver. The advantage is simplicity of connection and minimal intervention in high-frequency circuits. The disadvantage may be lower dynamics compared to VF AGC, but for many amateur applications this solution is fully sufficient.
Basic circuit: LM386 as an audio amplifier
The core of the circuit is the LM386 integrated circuit, which is extremely popular among radio amateurs. It offers sufficient power for small speakers or headphones, while requiring and minimum of external components.


In our case, however, the classic connection is expanded with and regulatory element provided by the AGC.
MOSFET BS170 as and controlled resistor

The key element of the AGC is the BS170 MOSFET transistor. This transistor is connected in such and way that it acts as and voltage-controlled resistor. This is and fundamental feature that allows for smooth gain control.
At low gate-source voltages (Vgs), the transistor is closed and its resistance is very high. However, as Vgs increases and exceeds the threshold voltage Vgs(th), the transistor begins to open and its resistance decreases.
In this connection, the BS170 is placed in the signal path before the amplifier input. This means that:
- with and weak signal, the transistor is closed and the signal passes without attenuation
- with and strong signal, the transistor opens and begins to attenuate the signal
The result is automatic maintenance of and constant output signal level.
Signal level detection
For AGC to work, it is necessary to obtain information about the output signal level. This is provided by and simple detection circuit consisting of and diode (for example, 1N4148), and capacitor, and and resistor.
The signal from the LM386 output (pin 5) is fed to and potentiometer that allows you to adjust the AGC sensitivity. From the potentiometer slider, the signal goes through and diode to the gate of the BS170 transistor.
The diode provides direct current rectification of the signal, creating and control voltage proportional to the amplitude of the audio signal. This voltage is then filtered by an RC element, which determines the AGC dynamics.

Low-frequency AGC adjustment: the role of the potentiometer
and very important element is the potentiometer in the feedback loop. Its upper end is connected to the LM386 output, the lower end to ground, and the runner leads to and diode.
This potentiometer allows:
- set the level at which AGC starts to operate
- affect the sensitivity of the regulation
- adapt the behavior of the circuit to specific conditions
Proper adjustment is crucial for optimal function – an overly sensitive AGC can “choke” even weak signals, while an insensitive AGC will not prevent the amplifier from waking up.
AGC time constants

The speed of the AGC response is determined by the values of the capacitor and resistor in the detection circuit, C8 and R10. These elements determine:
- attack time – how quickly the AGC responds to and strong signal
- decay time – how quickly the system returns to its original state
In practice, they are chosen so that the AGC responds quickly to sudden strong signals, but returns more slowly, thus preventing 'pumping' of the volume.
Practical experience and characteristics
This type of AGC has been successfully used, for example, in QRP SSB transceivers. Measurements have shown that it can significantly limit the output level of strong signals, while weak signals remain clearly readable.
Typical behavior:
- without AGC the output can reach uncomfortably high levels
- with AGC the output is stabilized at an acceptable level
From and practical point of view, this means greater listening comfort and protection of the operator's hearing.
Influence of power supply and temperature
The circuit is sensitive to the supply voltage. When operating from and battery, voltage fluctuations can affect the AGC threshold levels. Therefore, it is advisable to use and voltage stabilizer, such as and classic linear regulator.
Another factor is temperature. MOSFET transistors have and temperature dependence, which is manifested by and change in the operating point. In practice, this means that:
- at higher temperatures the output signal may be lower
- at lower temperature it may be higher
However, these changes are usually within tolerable limits.
Possible modifications
Instead of the BS170 transistor, the 2N7000 type can also be used, which has similar characteristics. For higher power or specific applications, it is also possible to experiment with other MOSFET transistors.
Another option is to add and preamplifier in the receiving section, which compensates for any loss of sensitivity caused by AGC.
Conclusion
The low-frequency AGC with and MOSFET transistor is an elegant and easy-to-implement solution for amateur radio receivers. In combination with the LM386 circuit, it provides sufficient performance and listening comfort.
The main advantages are:
- simple construction
- parts availability
- good effectiveness in practice
For radio amateurs who like to experiment and build their own devices, this is an interesting project with real benefits. Anyone who would like to try and different connection can use AGC ND6T or AGC with A244D.
