Patent ID: 7386074

Claim:
A digital gain control system comprising: an rms voltage converter receiving one or more digital inputs and forming an rms value; and a digital gain controller including: an iteration variable set to an initial value; a digital gain value having n data bits, said digital gain value having a maximum value and a minimum value, the initial digital gain value being set to the median of said maximum value and said minimum value; a correction value having an initial value which is half of said initial digital gain value; an iteration controller which performs the following sequential steps m times, said m being an integer less than said n: comparing the rms value from said rms voltage converter to a threshold voltage value; adding said correction value to said digital gain value if said rms value is less than said threshold voltage value, or subtracting said correction value from said digital gain value if said rms value is greater than said threshold voltage value; forming a new correction value for a subsequent iteration by halving said correction value.