# US 2003/0227986 A1 · Digital automatic gain control

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0227986 A1
- Document ID: US20030227986A1
- Status: Published application
- Kind: A1
- Application number: 10/167,713
- Filed: 2002-06-10
- Published: 2003-12-11
- Earliest claimed: 2002-06-10
- Assignees: QUALCOMM Incorporated
- Inventors: Daniel F. Filipovic
- Web page: https://patentgrep.com/patent/US20030227986A1

## CPC

- H04L 27/3809: {Amplitude regulation arrangements}
- H03G 3/002: {Control of digital or coded signals (H03G3/3089 take precedence)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H03G: CONTROL OF AMPLIFICATION

## Abstract

A wireless communication device (WCD) implements an improved architecture for performing automatic gain control (AGC). For example, a WCD including a wireless receiver and a modem may incorporate a digital variable gain amplifier (DVGA) and an automatic gain control (AGC) unit that have the improved architecture. In particular, the architecture of the DVGA and AGC unit may be simplified and improved specifically for handing signals modulated according to a wireless networking standard such as one of the IEEE 802.11 standards.

## Claims

### Claim 1

A method comprising:
multiplying an M-bit baseband sample of an RF signal by an N-bit gain factor to generate a product having M+N bits;
shifting the M-bit baseband sample by N bits to generate a shifted value having M+N bits; and
generating an output by selecting a subset of M+N+1 bits of a sum of the product and the shifted value.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
measuring a power level of the output; and
adjusting the N-bit gain factor as a function of the power level.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
storing a control word having a plurality of bits, wherein the control word has a value indicative of the measured power level;
determining the gain factor as a function of the control word; and
generating the output by selecting the subset of M+N+1 bits as a function of the control word.

### Claim 4 (depends on 3)

The method of claim 3, further comprising determining the N-bit gain factor as a function of at least a subset of a plurality of bits of the control word.

### Claim 5 (depends on 3)

The method of claim 3, further comprising generating the output by selecting the subset of M+N+1 bits as a function of a subset of a plurality of bits of the control word.

### Claim 6 (depends on 1)

The method of claim 1, wherein the RF signal is modulated according to a wireless networking standard.

### Claim 7

A method comprising:
measuring power levels of baseband samples of an RF signal;
accumulating differences between the measured power levels and a set point;
adjusting a gain factor as a function of the accumulation; and
applying the adjusted gain factor to scale the baseband samples.

### Claim 8 (depends on 7)

The method of claim 7, further comprising accumulating the differences without translating the differences to linear values.

### Claim 9 (depends on 8)

The method of claim 8, wherein the accumulation defines a set of bits, and wherein adjusting the gain factor as a function of the accumulation comprises adjusting the gain factor according to a subset of bits of the accumulation.

### Claim 10 (depends on 9)

The method of claim 9, wherein applying the adjusted gain factor to scale the baseband samples comprises:
multiplying the baseband samples by the adjusted gain factor;
shifting the baseband samples to generate a shifted value; and
generating an output by selecting a subset of bits of a sum of the product and the shifted value.

### Claim 11 (depends on 7)

The method of claim 7, wherein the RF signal is modulated according to a wireless networking standard.

### Claim 12

A wireless communication device comprising:
a variable gain amplifier including:
a multiplier to multiply an M-bit baseband sample of an RF signal by an N-bit gain factor to generate a product having M+N bits,
a shift register to shift the M-bit baseband sample by N bits to generate a shifted value having M+N bits, and
a bit selector to generate an output by selecting at least a subset of M+N+1 bits of a sum of the product and the shifted value; and
a demodulation unit to demodulate the output.

### Claim 13 (depends on 12)

The wireless communication device of claim 12, further comprising:
a power detector to measure a power level of the output; and
an accumulator to accumulate differences between the measured power level and a set point, wherein the gain factor is defined by the accumulation.

### Claim 14 (depends on 12)

The wireless communication device of claim 12, further comprising a register to store a control word having a plurality of bits, wherein the accumulation defines the control word, and wherein the gain factor is determined as a function of at least a subset of the plurality of bits of the control word.

### Claim 15 (depends on 14)

The wireless communication device of claim 14, wherein the bit selector is configured to generate the output by selecting the subset of M+N+1 bits as a function of at least a subset of the plurality of bits of the control word.

### Claim 16 (depends on 12)

The wireless communication device of claim 12, wherein RF signal is modulated according to a wireless networking standard.

### Claim 17

A wireless communication device comprising:
an automatic gain control unit that measures a power level of baseband samples of an RF signal and accumulates differences between the measured power levels and a set point; and
a digital variable gain amplifier that adjusts a gain factor as a function of the accumulation and applies the adjusted gain factor to scale the baseband samples.

### Claim 18 (depends on 17)

The wireless communication device of claim 17, wherein the digital variable gain amplifier adjusts the gain factor by selecting an adjusted gain factor according to a subset of bits of the accumulation.

### Claim 19 (depends on 18)

The wireless communication device of claim 18, wherein the digital variable gain amplifier applies the adjusted gain factor by:
multiplying the baseband samples by the adjusted gain factor;
shifting the baseband samples to generate a shifted value; and
generating an output by selecting a subset of bits of a sum of the product and the shifted value.

### Claim 20 (depends on 17)

The wireless communication device of claim 17, wherein the RF signal is modulated according to an IEEE 802.11 standard.

### Claim 21

A variable gain amplifier comprising:
a multiplier to multiply an M-bit baseband sample of an RF signal by an N-bit gain factor to generate a product having M+N bits;
a shift register to shift the M-bit baseband sample by N bits to generate a shifted value having M+N bits; and
a bit selector to generate an output by selecting at least a subset of M+N+1 bits of a sum of the product and the shifted value.

### Claim 22

An integrated circuit comprising:
a variable gain amplifier including:
a multiplier to multiply an M-bit baseband sample of an RF signal by an N-bit gain factor to generate a product having M+N bits,
a shift register to shift the M-bit baseband sample by N bits to generate a shifted value having M+N bits, and
a bit selector to generate an output by selecting at least a subset of M+N+1 bits of a sum of the product and the shifted value; and
an automatic gain control unit that defines the gain factor.

### Claim 23 (depends on 22)

The integrated circuit of claim 22, wherein the automatic gain control unit includes:
a power detector to measure a power level of the output; and
an accumulator to accumulate a difference between the measured power level and a set point, wherein the gain factor is adjusted according to the accumulation.

### Claim 24 (depends on 23)

The integrated circuit of claim 23, wherein the automatic gain control unit includes a register to store a control word having a plurality of bits, the control word being defined as a function of the accumulation.

### Claim 25 (depends on 24)

The integrated circuit of claim 24, wherein the gain factor is determined as a function of at least a subset of the plurality of bits of the control word.

### Claim 26 (depends on 24)

The integrated circuit of claim 24, wherein the bit selector is configured to generate the output by selecting the subset of M+N+1 bits as a function of at least a subset of the plurality of bits of the control word.

### Claim 27

An integrated circuit comprising:
an automatic gain control unit that measures a power level of baseband samples of a received RF signal and accumulates measured power level errors for a number of baseband samples; and
a digital variable gain amplifier that adjusts a gain factor as a function of the accumulation and applies the adjusted gain factor to scale the baseband samples.

### Claim 28 (depends on 27)

The integrated circuit of claim 27, wherein the digital variable gain amplifier adjusts the gain factor by selecting an adjusted gain factor according to a subset of bits of the accumulation.

### Claim 29 (depends on 28)

The integrated circuit of claim 28, wherein the digital variable gain amplifier applies the adjusted gain factor by:
multiplying the baseband samples by the adjusted gain factor;
shifting the baseband samples to generate a shifted value; and
generating an output by selecting a subset of bits of a sum of the product and the shifted value.

### Claim 30 (depends on 27)

The integrated circuit of claim 27, wherein the RF signal is modulated according to an IEEE 802.11 standard.

### Claim 31

An apparatus comprising:
means for multiplying an M-bit baseband sample of an RF signal by an N-bit gain factor to generate a product having M+N bits;
means for shifting the M-bit baseband sample by N bits to generate a shifted value having M+N bits; and
means for generating an output by selecting at least a subset of M+N+1 bits of a sum of the product and the shifted value.

### Claim 32 (depends on 31)

The apparatus of claim 31, further comprising:
means for measuring a power level of the output; and
means for adjusting the gain factor as a function of the power level.

### Claim 33 (depends on 31)

The apparatus of claim 31, further comprising:
means for storing a control word having a plurality of bits;
means for determining the gain factor as a function of the control word; and
means for generating the output as a function of the control word.

### Claim 34 (depends on 33)

The apparatus of claim 33, wherein the gain factor is determined as a function of at least a subset of the plurality of bits of the control word.

### Claim 35 (depends on 33)

The apparatus of claim 33, further comprising means for generating the output by selecting the subset as a function of at least a subset of the plurality of bits of the control word.

### Claim 36

An apparatus comprising:
means for measuring a power level of baseband samples;
means for accumulating differences between the measurements and a set point;
means for adjusting a gain factor as a function of the accumulation; and
means for applying the adjusted gain factor to scale the baseband samples.
