Patent Document

BACKGROUND  
       [0001]     The present invention relates generally to automatic gain control (AGC) in communication devices, and more particularly to the improvement of AGC feedback systems using a feed forward scheme.  
         [0002]     AGC is a signal processing technique used to dynamically compensate for widely-varying channel gains encountered in various wireless and wire-line media at the receiver end. The strength of the wanted signal fluctuates because of changes in propagation conditions. Such conditions include the distance between transmitter and receiver, traveling medium such as air, wire or fiber optics, and the ambient noise around the medium. A receiver therefore includes AGC to maintain the signal at the input to a detector at a constant value despite fluctuations in the signal strength of the antenna or receiver. In a traditional approach, the AGC block forms a loop by estimating the received signal strength at an output by using a peak detector. The AGC adjusts the gain, negatively or positively, so as to bring the further received signal strength to a specified target peak value.  
         [0003]     The process of adjusting the gain for incoming signals by processing older signals has its disadvantages. While the signal is being processed, a delay is introduced. This delay could severely affect newer incoming signals. Such delays could also render incoming data erroneous, as the gain for the incoming signal might be too much or too little. Additionally, if the peaks of incoming signals vary rapidly within a given period, the delay of the AGC might completely miss the erratic signal and thus make the data incorrect. Given that digital communications typically require a fast transfer rate, the problem described above is critical and must be promptly addressed.  
         [0004]     Desirable in the art of automatic gain control designs are additional designs that provide a gain compensation mechanism to thereby reduce or eliminate the possibility of erroneous data detection.  
       SUMMARY  
       [0005]     In view of the foregoing, the following provides a system to enhance an AGC system, and more specifically, to reduce or eliminate the possibility of erroneous data detection by means of multiple signal comparisons and signal synchronization.  
         [0006]     In one embodiment, a system is provided to reduce or eliminate the possibility of erroneous data detection by means of a gain compensation mechanism. In one embodiment, after receiving a stream of analog signals, a gain is adjusted on the received analog signals using a first set of gain compensation parameters. Then, the adjusted analog signals are converted to digital signals. A predetermined number of digital signals are collected from the converted digital signals within a predetermined time period. The collected digital signals are delayed from being transferred out for further demodulation processing for a predetermined delay time. At the same time, a second set of gain compensation parameters are estimated based on the collected digital signals. The estimated second set of gain compensation parameters are applied to the delayed digital signals. This invention provides less saturation noise, more constant signal constellation, and accurate detection of the signal samples received right after a sudden change in signal conditions.  
         [0007]     The construction and method of operation of the invention, however, together with additional objects and advantages thereof will be best understood from the following description of specific embodiments when read in connection with the accompanying drawings. 
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0008]      FIG. 1A  presents a conventional AGC processor.  
         [0009]      FIG. 1B  presents a series of data frames with a change of magnitude.  
         [0010]      FIG. 2  presents an improved AGC processor with a feed-forward gain correction in accordance with one embodiment of the present invention. 
     
    
     DESCRIPTION  
       [0011]     The following detailed description provides illustration for an improved system to reduce or eliminate the possibility of erroneous data detection by means of a gain compensation mechanism.  
         [0012]      FIG. 1A  presents a conventional AGC processor  100 . In order to transmit digital data over a medium, the data must be converted into an analog signal. While the signal is being transmitted, its power may be lost. The power loss depends on the properties of the medium. When the analog signal is detected at the receiver, it is amplified by a variable amplifier  102  to compensate for power loss. The amplification can be negative or positive, and can vary between values. To analyze and recover the digital data in the analog signal the signal goes through an analog-to-digital converter (ADC)  104 . The ADC is an electronic device that converts analog signals into digital signals, which are a series of discrete numbers. Once the analog signal samples have been converted, they are sent to further processing. One processing path leads to a demodulation/detection process that extracts the data from the samples. The demodulation process may involve digital filters and will usually be done by a digital signal processor. The signal also leads to further AGC processing.  
         [0013]     Once the signal has been converted, a collection of received signal samples is stored temporarily for a specific duration in a collection module  106 . The collection module  106  is required since the output of the ADC  104  is a string or a series of raw amplitude values. The size of the collection buffer may be related to the frequency of the signal as well as the sampling rate of the ADC  104 . The magnitude or power of the signal is then estimated in an estimator module  108 . The estimator module  108  is similar to a peak detector in that it finds the highest magnitude in a given sample. Since the signal is now digital, the process involves searching for the highest value of the sample. The value provided in the estimator module  108  is then algebraically compared to a desired target level in a comparator module  110 . The target level can vary from system to system and may be adjusted dynamically. For example, if the highest magnitude of a sample is “112” and the desire target level is “150”, the comparator output would be −38. In other words, the desired target level is subtracted from the highest magnitude of the sample. It is understood that the comparison needs not be linear. Once the signal has been algebraically compared, it is compared again with the values of previous comparisons in a second comparator or estimator module  112 , which essentially is used to estimate the required receiver gain for future samples. By comparing the current signal conditions with previous signal conditions, the required gain at the variable amplifier  102  can be adjusted. Additionally, the gain level is stored for comparison with the next signal level in a storage module  114 . For example, the previous gain value stored in the storage module  114  was “−51”, while the current calculated value from the comparator module  110  is “−38”. The difference between the old value and the new value is now “13”, which means that the variable amplifier  102  needs to be adjusted by “13” units.  
         [0014]     This conventional processor  100  has a great disadvantage. The initial group of signal samples after a sudden change in signal conditions, e.g. in case of an abrupt power change in the discontinuous-transmission (DTX) or in fast fading conditions, are not properly compensated for the new signal conditions before being processed by demodulation and detection blocks, and thereby have a higher probability of erroneous detection. As shown in  FIG. 1B , if a series of frames of signal are arriving, the first 100 frames (e.g., frames  1 - 100 ) are at an amplitude level of “A”, but the following frames (e.g., frames  101 - 200 ) rise up to a much higher level of “2A” in this particular case. Assuming each 100 frames are examined to estimate and correct the gain, due to the abrupt change of the power level, the conventional method can not deal with the changes appropriately, therefore asserting wrong gain control.  
         [0015]      FIG. 2  presents an improved AGC processor  200  with a feed-forward gain correction in accordance with one embodiment of the present invention. Similar to the conventional processor  100 , the processor  200  has a gain controller  202  and an ADC  204 . The gain controller  202  first applies gain compensation parameters to the received signals. At this moment, the gain compensation parameters are derived from the data received in the past. A collection module  206  temporarily stores received signal samples, which are not instantaneously passed over to further demodulation/detection processing blocks. Once enough signal samples have been collected, the signal samples set takes two directions. As will be described in detail below, one direction leads to further demodulation/detection processing, while another direction leads to further AGC processing.  
         [0016]     The magnitude or power of the signal is then estimated in an estimator module  208 , which operates in a similar fashion as the estimator module  108 . The value provided by the estimator module  208  is then algebraically compared to a desired target level in a comparator module  210 . Once the signal has been algebraically compared with a target level, the result feeds into a second comparator/estimator module  212 , and it is compared again with the value of the previous gain stored in a storage module  214 . The estimator module  212  has filters included therein for producing a new gain, which is fed back to the gain controller  202  for parameter adjusting for new incoming signals. At the same time, the new gain is stored in the storage module  214  for future comparisons.  
         [0017]     Additionally, the collected signal sample from block  206  goes through another process. A delay time period is intentionally introduced in a delay module  216  to compensate for the processing time taken by the AGC processing from the modules  208 ,  210 , and  212 . The delay module  216  is needed in order to synchronize the signal with the computed AGC gain for use in a gain correction module  218 . In some situations, even if the delay time period does not perfectly match the time period needed for the processing time of the magnitude estimator  208 , the comparator module  210 , and the estimator module  212 , the finer gain control implemented by the gain correction module  218  is still an improvement upon the conventional approach because at least a part of the data currently under processing has been considered for generating the gain compensation parameters. The delay time can also be obtained by using simulation tools to more accurately estimate the duration of the processing time needed.  
         [0018]     Any gain compensation parameters computed by the feedback gain control loop or the feedback gain control module (including the modules  208 ,  210 ,  212 , and  214 ) based on this collection of signal samples is also used to correct the gain of the delayed signal samples, which have been gain controlled by using previous gain compensation parameters. The gain correction module  218  can deal with the gain control either in a linear domain or a log domain. If a log domain is used, some look-up tables may have to be implemented to convert data from the log domain to the linear domain. The route for extracting the data from block  206 , delaying it in the delay module  216 , and further feeding into the gain correction module  218  is referred to as the feed-forward gain control loop. Contrasting with the conventional method in which a gain compensation based on a previous set of signal samples are used to process a current set of signal samples, this feed-forward gain control loop provides a finer gain compensation because the same set of signal samples are used as a base to obtain the estimated gain.  
         [0019]     In essence, this invention proposes a novel procedure in order to reduce incorrect signal gain. By adding a feed-forward gain control loop, an improved gain compensation on received signal can be achieved such as in fast changing channel conditions and/or in discontinuous transmissions. Improvement to the AGC performance provides an increase in valid transmissions under faster transfer rates. Additionally, an improved control of the signal magnitude results in less saturation noise and more constant signal constellation. Finally, probability of accurate detection of the signal samples received right after a sudden change in channel conditions is improved.  
         [0020]     One significant advantage of the embodiment of this invention is that the signal to be demodulated and detected is with a finer gain, thereby resulting in less saturation noise. This compensation is critical since demodulation and detection extract the data from the signal and pass said data to other systems. An incorrect gain in the raw values of the sampled signal could lead to false detection or erroneous data. Additionally, since the flow is delayed, fast changing signals do not affect the system as the AGC gain and modulation scheme gain are synchronized, thereby leading to more constant signal constellation.  
         [0021]     The above illustration provides many different embodiments or embodiments for implementing different features of the invention. Specific embodiments of components and processes are described to help clarify the invention. These are, of course, merely embodiments and are not intended to limit the invention from that described in the claims.  
         [0022]     Although the invention is illustrated and described herein as embodied in one or more specific examples, it is nevertheless not intended to be limited to the details shown, since various modifications and structural changes may be made therein without departing from the spirit of the invention and within the scope and range of equivalents of the claims. Accordingly, it is appropriate that the appended claims be construed broadly and in a manner consistent with the scope of the invention, as set forth in the following claims.

Technology Category: 5