Automatic Gain Control (AGC) For Multichannel/Wideband Communications System
Automatic Gain Control (AGC) system for multi-channel signals attenuates an incoming multi-channel signal by providing a gain. The system further adjusts each individual channel, of the multi-channel signal, by supplying a second gain if needed. The AGC system is designed to ensure a received signal power is at an optimal level for analog to digital conversion or any other form of signal processing. The system also enables elimination of mid-packet gain adjustments.
This application is a continuation of U.S. application Ser. No. 15/644,071, filed Jul. 7, 2017, which is a continuation of U.S. application Ser. No. 14/853,688, filed Sep. 14, 2015, now U.S. Pat. No. 9,705,715, issued Jul. 11, 2017, which is a continuation of U.S. application Ser. No. 13/846,285, filed Mar. 18, 2013, now U.S. Pat. No. 9,136,811, issued Sep. 15, 2015, which is a continuation of U.S. application Ser. No. 11/472,797, filed Jun. 22, 2006, which is a continuation-in-part of U.S. application Ser. No. 11/357,910, filed Feb. 17, 2006, which is a continuation of U.S. application Ser. No. 11/190,071 filed Jul. 26, 2005, which claims the benefit of U.S. Provisional Application No. 60/591,381, filed on Jul. 26, 2004. The entire teachings of the above applications are incorporated herein by reference.
BACKGROUNDAnalog to digital conversion is a commonly used technique wherein a continuous signal is converted to a digital signal for the purpose of signal processing. An analog to digital converter (ADC) is often used for such a conversion. ADCs typically have a limited number of bits available, and thus a limited conversion range, to perform analog to digital conversions. Automatic gain control (AGC) is therefore used to adjust the power level of an incoming signal such that the ADC will receive signals at a fixed level; thus, the number of bits required by the ADC to perform conversions may be dramatically reduced. The AGC controls the gain of a system in order to maintain an adequate performance over a range of input signal levels.
Gain will be discussed herein in terms of decibels (dB). A dB is typically used to describe the ratio between two measurements of electrical power, which may be arithmetically added and subtracted. A dBm represents an absolute unit of electrical power. A dBm may be defined as A=10*log 10(P2/(1 mW)), where A is the absolute unit of power and P2 is a measurement of electrical power. The ratio of power may be defined as P2/(1 mW)=10{circumflex over ( )}(A/10). For example, 1 dBm is one dB greater than 0 dBm, or about 1.259 mW (1.259=101/10).
A canonical form of a conventional AGC scheme in a digital communications system 100, is illustrated in
As discussed above, when designing a digital communication system, the dynamic range must be put into consideration. The dynamic range of the input signal may be extremely large; 802.11 modems typically support close to 90 dB of dynamic range. Area and power requirements for an ADC typically increases by four times every 6 dB. Hence, a large ADC dynamic range is extremely expensive.
A solution for this problem, as previously mentioned, is to reduce the dynamic range seen at the ADC by performing automatic gain control. An ideal AGC switches in the right amount of analog gain such that the signal power at its output A,
As an example, consider a system that must receive single channel signals from −100 dBm to −10 dBm, 90 dB of dynamic range. To accommodate this range, a VGA is used that must be set to 0 through 90 dB of gain. Therefore, for a signal which is (−10−X) dBm, X dB of gain is typically switched into the signal. Using this technique the output always stays at −10 dBm. Otherwise, assuming 1 bit is required to convert a 6 dB analog signal to a digital signal, a maximum of 15 bits would be needed to convert a −90 dBm signal. A conversion requiring 15 bits is technically very difficult. Thus, if a −40 dBm signal arrives in the system, 30 dB of gain is added to the signal in order to obtain the optimum value, dramatically reducing the amount of bits required for the conversion.
One way of building such an AGC is to simply cycle through all possible gain settings, for example in 2 dB steps, and stop when the desired signal level is reached. One might choose to use a binary search instead of a linear one to increase the speed of the acquisition.
SUMMARYA system and method for automatically providing gain adjustments to a multi-channel signal and gain adjustments to an individual channel, of the multi-channel signal, is discussed. The system comprises a multi-channel receiver, the receiver further comprising an outer programmable gain controller, controlling gain of a multi-channel signal, and a plurality of inner programmable gain controllers, each inner gain controller controlling gain of a respective individual channel. The multi-channel receiver further comprises an analog to digital converter to digitize the gain controlled multi-channeled signal, and each respective individual channel further comprises a digital filter.
The outer gain controller may receive feedback from each respective channel to adjust gain values and determine whether a signal is being processed. The feedback may be provided by a modem or an analyzer. The outer gain controller may supply a fixed nominal gain while an acquisition threshold power level or a high threshold power level is not exceeded. Once an acquisition threshold power level or a high threshold power level is exceeded, the outer gain controller adjusts the gain such that a total power is brought below the acquisition threshold. The inner and outer gain controllers may be either digital or analog.
The foregoing will be apparent from the following more particular description of example embodiments, as illustrated in the accompanying drawings in which like reference characters refer to the same parts throughout the different views. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating embodiments.
A description of example embodiments follows.
Many problems arise when using prior art methods of automatic gain control for multi-channel signals. Multi-channel systems, also referred to as wideband systems, simultaneously support multiple physical layer channels. As an example, the case when such channels are frequency separated will be specifically discussed, but it should be appreciated that such separation may also be along other dimensions, for example, orthogonal signatures. It should be understood that these channels typically overlap in time and are separable along some other dimension.
An example of a multi-channeled system is illustrated in
A problem in an integrated multi-channel system is that, while multiple channels are received at different power levels and hence have different optimal gain settings, they are forced to share a common gain. Therefore, we provide a technique to resolve the inevitable conflicts that result, such as mid-packet gain adjustments.
First, a two packet arrival scenario is presented to illustrate deficiencies of conventional AGCs in a multi-channel system. Consider the packet arrival scenario depicted in
Now consider the same scenario as described above except that the second packet arrives at −23 dBm, as shown in
A system is needed that will provide the desired gain adjustments for multi-channel signals, while minimizing mid-packet gain changes. A block diagram of a wideband AGC scheme, according to one embodiment of the present invention, is shown in
The functionality of OAGC may be described as a two state machine. The first state of the OAGC is called the HUNT state. While the OAGC is in the HUNT state, a fixed, nominal analog gain is applied. The OAGC stays in this state until the power in the band differs from an acquisition threshold, or the desired power level, and if the power level of the incoming signal is within the operating range of the OAGC. When this happens, the OAGC adjusts the analog gain such that the total power level is brought down to the level of the acquisition threshold, and the OAGC transitions to a second state, the LOCKED state. Thus, the OAGC attenuates the incoming signal.
As an example, shown in
As seen in the example provided by
Upon receiving the analog gain adjustments, the multi-channel input signal 601 is then digitized with the use of an ADC 607. BPFs 609-611 filter the multi-channel signal 601 into individual channels. In order to fully utilize the word length of the digital signal in the individual channels, the individualized digital signal may be further adjusted in order to bring the signal to the acquisition power level. The gain of the individual channels are digitally adjusted, if needed, with the use of inner VGAs 613-615. Inner automatic gain controllers (IAGC) 617-619 provide information to the inner VGAs 613-615, respectively, used to adjust the gain of the individual channels.
Functionally, inner AGCs are similar to conventional AGCs, with one difference being that they are entirely digital (there is no analog gain to control). Each channel comprises its own IAGC which operates on the output of the channelizing filter. The IAGCs operate on a single parameter, the desired reference level. When the input signal to the IAGC differs from the reference level, the digital gain is adjusted to correct for that difference.
In the example provided by
The individual channels are then demodulated with the use of modems 621-623. The modems 621-623 also provide feedback to the common OAGC identifying if a packet is being processed. It should also be appreciated that feedback may be provided with the use of other devices, for example, an end point analyzer.
Considering the two packet scenario, depicted in
When packet 2 arrives, the total power level of the system will be increased from −20 dBm to about −19.96 dBm at time 1, given that this is a minimal increase in power, it will probably not be significant enough to cross the high threshold. Hence, the OAGC will stay in the LOCKED state and a downward attenuation of 10 dB will also be added to packet 2. Thus, packet 2 will now comprise a power level of −50 dBm. The IAGC of the individual channel comprising packet 2, will adjust the gain and bring the −50 dBm packet up to −30 dBm by adding 20 dB of gain. Of course, the ADC must have enough spare dynamic range to support the digitization of the −50 dBm signal.
When the −20 dBm signal ends, the OAGC will notice a 20 dB drop in power, which may take it below the low threshold. However, the modem on the individual channel comprising packet 2, will indicate that a receive is in progress and the OAGC will wait for that to finish before transitioning back to the HUNT state. Thus, as may be seen from the above example, the OAGC acts as an attenuator and shifts the incoming signal downward, while the IAGC supplies a gain to the individual channels in order to raise the signal to the acquisition level.
The values of the maximum and minimum thresholds, acquisition, and maximum and minimum decodable levels are determined by system requirements. The acquisition threshold may be set as in conventional AGCs. It is simply the desired signal level one wishes to see at the ADC input. The high threshold should be set higher than the acquisition threshold plus the single sided OAGC acquisition error but no higher than the tolerable saturation limit. The low threshold should be set lower than the acquisition threshold minus the single sided AGC acquisition error. A problem in setting the low threshold too low is that the OAGC will not unlock even after the packet that caused the AGC is finished.
Due to several noise sources that affect signal power estimation and gain control, practical AGCs always have a finite acquisition error. So an AGC with +/−1 dB of acquisition error guarantees that the output of the variable gain stage will be correct to within that tolerance if the input is within the specified dynamic range.
When selecting the value of the threshold levels, it is useful to examine statistical data to determine the range where most of the incoming signals will fall. The solution presented is not a perfect solution as there are occasions where a packet may be dropped or saturated, as is shown in
The amount of headroom budgeted for the system must also be put into consideration. For example, consider if 15 packets arrived at the same time, all at the acquisition level (−30 dBm). Although no gain would be needed, the system would see an overall power level of −18.24 dBm. Thus, the headroom must be set at a level greater than −18.24 dBm in order to accommodate the incoming signal. For the above mentioned reasons it is also useful to statistically examine the range incoming signals are likely to fall.
This invention is applicable to any communications systems that supports two or more concurrent physical layer channels and minimizes the need for mid-packet gain adjustments. Although the channels discussed in this application are separated in frequency to illustrate the key concepts of the invention, it should be appreciated that the channels may be separable along other dimensions.
Furthermore, although an analog OAGC was considered, it is conceivable that the OAGC could be fully digital in those communications systems that utilize this invention to minimize the digital word-length (which is analogous to ADC dynamic range). Therefore, all controllers described herein may be analog or digital controllers and use proportional, integral, and differential (PID) controllers, state-space controllers, or other forms of control known in the art.
While example embodiments have been particularly shown and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the embodiments encompassed by the appended claims.
Claims
1. (canceled)
2. An automatic gain controller (AGC) to control a variable gain amplifier (VGA) implemented within a multi-channel receiver, the multi-channel receiver comprising the VGA operable to adjust gain of a multi-channel signal, an analog to digital converter (ADC) operable to digitize the output of the VGA and a plurality of digital filters operable to filter the output of the ADC into a plurality of individual channels of different frequencies, the AGC operable to:
- apply a first nominal analog gain to an incoming multi-channel signal to ensure a total power level of the multi-channel signal output from the VGA is at a desired acquisition threshold for the ADC; and
- apply the first nominal analog gain as a first fixed nominal analog gain to all incoming multi-channel signals unless the total power level of the multi-channel signal output from the VGA is above a high power threshold for the ADC or below a low power threshold for the ADC.
3. The AGC according to claim 2 further operable, if the total power level of the multi-channel signal output from the VGA becomes above the high power threshold for the ADC, to apply a second nominal analog gain to the multi-channel signal to ensure the total power level of the multi-channel signal output from the VGA is at the desired acquisition threshold for the ADC.
4. The AGC according to claim 3 further operable to subsequently apply the second nominal analog gain as a second fixed nominal analog gain to all incoming multi-channel signals unless the total power level of the multi-channel signal output from the VGA is above the high power threshold for the ADC or below the low power threshold for the ADC.
5. The AGC according to claim 2 further operable, if the total power level of the multi-channel signal output from the VGA is below the low power threshold for the ADC, to: determine if a packet is being processed on any of the individual channels, and apply the first nominal analog gain to the multi-channel signal until no packets are being processed on any of the individual channels.
6. The AGC according to claim 5 further operable, if the total power level of the multi-channel signal output from the VGA is below the low power threshold for the ADC and no packet is being processed on any of the individual channels, to apply a third nominal analog gain to the multi-channel signal to ensure the total power level of the multi-channel signal output from the VGA is at the desired acquisition threshold for the ADC.
7. A system incorporating the AGC according to claim 2, the system further comprising the VGA controlled by the AGC, the ADC operable to digitize the multi-channel signal output from the VGA, and the plurality of digital filters operable to filter the output of the ADC into the plurality of individual channels of different frequencies.
8. The system according to claim 7 further comprising a plurality of modems, each of the modems operable to demodulate one of the individual channels; wherein the AGC is further operable, if the total power level of the multi-channel signal output from the VGA is below the low power threshold for the ADC, to: determine if a packet is being processed by any of the modems, and apply the first nominal analog gain to the multi-channel signal until no packets are being processed by any of the modems.
9. A method of controlling a gain amplifier for a multi-channel signal prior to digitizing the multi-channel signal and filtering the digitized multi-channel signal into a plurality of individual channels, the method comprising:
- applying a first nominal analog gain to an incoming multi-channel signal to ensure a total power level of the multi-channel signal output from the gain amplifier is at a desired acquisition threshold for digitizing; and
- applying the first nominal analog gain as a first fixed nominal analog gain to all incoming multi-channel signals unless the total power level of the multi-channel signal output from the gain amplifier is above a high power threshold for digitizing or below a low power threshold for digitizing.
10. The method according to claim 9 further comprising: if the total power level of the multi-channel signal output from the gain amplifier becomes above the high power threshold for digitizing, applying a second nominal analog gain to the multi-channel signal to ensure the total power level of the multi-channel signal output from the gain amplifier is at the desired acquisition threshold for digitizing.
11. The method according to claim 10 further comprising: subsequently applying the second nominal analog gain as a second fixed nominal analog gain to all incoming multi-channel signals unless the total power level of the multi-channel signal output from the gain amplifier is above the high power threshold for digitizing or below the low power threshold for digitizing.
12. The method according to claim 9 further comprising: if the total power level of the multi-channel signal output from the gain amplifier is below the low power threshold for digitizing, determining if a packet is being processed on any of the individual channels into which the multi-channel signal is filtered, and applying the first nominal analog gain to the multi-channel signal until no packets are being processed on any of the individual channels.
13. The method according to claim 12 further comprising: if the total power level of the multi-channel signal output from the gain amplifier is below the low power threshold for digitizing and no packet is being processed on any of the individual channels, applying a third nominal analog gain to the multi-channel signal to ensure the total power level of the multi-channel signal output from the gain amplifier is at the desired acquisition threshold for digitizing.
14. The method according to claim 9 further comprising digitizing the multi-channel signal output from the gain amplifier and filtering the digitized multi-channel signal into the plurality of individual channels.
15. The method according to claim 14 further comprising demodulating each of the individual channels with a corresponding modem; wherein the method further comprises: if the total power level of the multi-channel signal output from the gain amplifier is below the low power threshold for the digitizing, determining if a packet is being processed by any of the modems, and applying the first nominal analog gain to the multi-channel signal until no packets are being processed by any of the modems.
16. A multi-channel receiver comprising:
- a variable gain amplifier (VGA) operable to adjust gain of a multi-channel signal;
- an analog to digital converter (ADC) operable to digitize the output of the VGA;
- a plurality of digital filters operable to filter the output of the ADC into a plurality of individual channels of different frequencies; and
- an automatic gain controller (AGC) operable to control the VGA to apply a first nominal analog gain to an incoming multi-channel signal to ensure a total power level of the multi-channel signal output from the VGA is at a desired acquisition threshold for the ADC; and apply the first nominal analog gain as a first fixed nominal analog gain to all incoming multi-channel signals unless the total power level of the multi-channel signal output from the VGA is above a high power threshold for the ADC or below a low power threshold for the ADC.
17. The multi-channel receiver according to claim 16, wherein the AGC is further operable, if the total power level of the multi-channel signal output from the VGA becomes above the high power threshold for the ADC, to apply a second nominal analog gain to the multi-channel signal to ensure the total power level of the multi-channel signal output from the VGA is at the desired acquisition threshold for the ADC.
18. The multi-channel receiver according to claim 17, wherein the AGC is further operable to subsequently apply the second nominal analog gain as a second fixed nominal analog gain to all incoming multi-channel signals unless the total power level of the multi-channel signal output from the VGA is above the high power threshold for the ADC or below the low power threshold for the ADC.
19. The multi-channel receiver according to claim 16, wherein the AGC is further operable, if the total power level of the multi-channel signal output from the VGA is below the low power threshold for the ADC, to: determine if a packet is being processed on any of the individual channels, and apply the first nominal analog gain to the multi-channel signal until no packets are being processed on any of the individual channels.
20. The multi-channel receiver according to claim 19, wherein the AGC is further operable, if the total power level of the multi-channel signal output from the VGA is below the low power threshold for the ADC and no packet is being processed on any of the individual channels, to apply a third nominal analog gain to the multi-channel signal to ensure the total power level of the multi-channel signal output from the VGA is at the desired acquisition threshold for the ADC.
21. The multi-channel receiver according to claim 16 further comprising a plurality of modems, each of the modems operable to demodulate one of the individual channels; and wherein the AGC is further operable, if the total power level of the multi-channel signal output from the VGA is below the low power threshold for the ADC, to: determine if a packet is being processed by any of the modems, and applying the first nominal analog gain to the multi-channel signal until no packets are being processed by any of the modems.
Type: Application
Filed: Feb 4, 2019
Publication Date: Nov 21, 2019
Inventors: Manish Bhardwaj (Cambridge, MA), Garret Shih (Brookline, MA)
Application Number: 16/266,920