Digital automatic gain control method and apparatus
First Claim
Patent Images
1. 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.
7 Assignments
0 Petitions
Accused Products
Abstract
An RF receiver which produces quadrature digitized outputs and has a gain control is coupled to a digital gain controller which converts the quadrature digitized outputs into an rms voltage, and iterates over a finite number of steps to quickly control the gain to a level sufficient to achieve subsequent digital signal processing without limitations caused by insufficient dynamic range or nonlinear saturation effects caused by insufficient signal or excessive signal at the A/D input, respectively.
-
Citations
47 Claims
-
1. 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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A process for generating a value Vagc where said Vagc is a digital value having n bits and operative for controlling the gain of a processor which produces one or more channels of digital samples, said process comprising:
-
setting Vagc to an initial value; setting Vcorrection to a value substantially equal to half of said Vagc initial value; and performing the following first through fourth steps m iterations in sequence; a first step of measuring said digital samples; a second step of converting said digital samples into an rms value; a third step of comparing said rms value with a threshold value and adding said Vcorrection to said Vagc if said rms value is less than said threshold value, and subtracting said Vcorrection from said Vagc if said rms value is greater than said threshold value; a fourth step of forming a new value of said Vcorrection by halving the value of said Vcorrection. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. An RF front end comprising:
-
an RF receiver responsive to a digital gain control input of width n bits, said RF receiver producing quadrature output digital values; and a digital gain controller coupled to said digital gain control input and producing a digital output Vagc coupled to said digital gain control input in response to said quadrature output digital values, said output Vagc generated by; setting Vagc to an initial value 2(n−
1)−
1 and setting an iteration variable k to 0;performing the following first through fourth steps while said k is less than m, where said m is an integer less than said n; a first step of measuring said quadrature output digital values and producing the rms value of said quadrature output digital values; a second step of comparing said rms value to a threshold value; a third step of incrementing said k; a fourth step of adding a correction value 2(n−
k−
1) to said Vagc if said rms value is less than said threshold value, and subtracting a correction value 2(n−
k−
1) from said Vagc if said rms value is greater than said threshold value. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32)
-
-
33. A digital gain control system for a first and second stream of quadrature data, said first and said second stream of quadrature data multiplexed into a single alternating stream of data having an associated first stream interval and a second stream interval, the digital gain control system operative on said single stream of data and computing a gain control value for each said first and said second stream of quadrature data said digital gain control system including:
-
an rms voltage converter receiving one or more values from said single stream of data and forming an rms value; and a digital gain controller including; an iteration variable associated with each said stream of data, each said iteration variable set to an initial value; a digital gain value for each said stream of data, each said digital gain value having n bits, said digital gain value having a maximum value and a minimum value, each said digital gain value being initially set to the median of said maximum value and said minimum value; a correction value associated with each said stream of data, each said correction value having an initial value which is substantially half of the initial digital gain value associated with a corresponding said stream of data; an iteration process which performs the following sequential steps m times for each said stream of data; comparing the rms value from said rms voltage converter for a particular stream of data to a threshold voltage value associated with said particular stream of data; adding said correction value associated with said particular stream of data to said digital gain value if said rms value is less than said threshold voltage level associated with said particular stream of data, or subtracting said correction value associated with said particular stream of data from said digital gain value if said rms value is greater than said threshold voltage level associated with said particular stream of data; forming a new correction value associated with said particular stream of data by halving said correction value associated with said particular stream of data; whereby said digital gain control systems computes said first gain control value using only values from said first stream of data and computes said second gain control value using only values from said second stream of data. - View Dependent Claims (34, 35, 36, 37)
-
-
38. An RF front end comprising:
-
a first RF receiver having a digital gain control input of width n and producing a first quadrature output digital value including a first I value and a first Q value; a second RF receiver having a digital gain control input of width n bits and producing a second quadrature output digital value including a second I value and a second Q value; a multiplexer converting said first I value and said second I value into a stream of alternating first and second I values, and also converting said first Q value and said second Q value into a stream of alternating first and second Q values; and a digital gain controller coupled to said stream of alternating I values and said stream of alternating Q values and producing a first output Vagc and a second output Vagc, respectively, each of said first Vagc and said second Vagc independently generated by; setting Vagc to an initial value 2(n−
1)−
1, where n is said bit width, and setting an iteration variable k to 0;performing the following steps while said k is less than said m; a first step of measuring said quadrature digital values and producing the rms value of said quadrature digital values; a second step of comparing said rms value to a threshold value; a third step of incrementing said k; and a fourth step of adding a correction value 2(n−
k−
1) to said Vagc if said rms value is less than said threshold value, and subtracting the correction value 2(n−
k−
1) from said Vagc if said rms value is greater than said threshold value. - View Dependent Claims (39, 40, 41, 42)
-
-
43. A process for generating a first value Vagc and a second value Vagc from an alternating stream of first quadrature data and second quadrature data, where said first Vagc is derived exclusively from said first quadrature data and said second Vagc is derived exclusively from said second quadrature data, where each of said first Vagc and said second Vagc are each digital values having n bits, said process comprising for each said first and second Vagc:
-
setting Vagc to a first value; and setting Vcorrection to a value equal to substantially half of said Vagc first value; performing the following steps m times in sequence; measuring one or more said quadrature data samples and converting said quadrature data samples into an rms value; comparing said rms value with a threshold value and adding said Vcorrection to said Vagc if said rms value is less than said threshold value, and subtracting said Vcorrection from said Vagc if said rms value is greater than said threshold value; forming a new value of said Vcorrection by halving the value of said Vcorrection. - View Dependent Claims (44, 45, 46, 47)
-
Specification