Patent attributes
A method for controlling an adjustable gain in an amplifier having an output power level and an adjustable gain is disclosed. The method includes an enhancement to a conventional Automatic Gain Control (AGC) function that distinguishes between a signal caused by oscillation and a signal that actually appears in the amplifier's passband. The method also controls unwanted and out of control amplifier oscillation using an iterative correlation process. The method prevents gain “hunting” if the output signal level is near the “set point” of the maximum permitted output level by implementing some degree of Hysteresis. The correlation process is performed by tracking a specified number of alternating gain increase/decrease cycles. If in any cycle the gain is not changed, or is changed in the same direction as in the previous cycle, the correlator is reset and the process begins again. The value and/or length of the correlator is set to minimize false detection due to random signal inputs, while maintaining acceptable sensitivity to oscillation.