Method for automatic gain control, for instance in a telecommunication system, device and computer program product therefor

Abstract
A method for automatic gain control of an output signal generated from an input signal includes measuring power of the output signal. Measuring power of the output signal includes setting at least one power threshold, measuring a rate of crossing of the at least one power threshold by the output signal over an observation window, and deriving from the rate of crossing a measured power of the output signal. The method further includes providing a reference power, subtracting the measured power from the reference power to obtain an error signal, and mixing the input signal with the error signal. An analog-to-digital conversion is performed on a result of the mixing to obtain a gain-controlled output signal.
Description
FIELD OF THE INVENTION

The present invention relates to techniques for automatic gain control (AGC), and more particularly, to an automatic gain control of signals received in a mobile telecommunication system.


Exemplary telecommunication systems are those systems based on the CDMA (Code Division Multiple Access) technique, and in the following, reference will primarily be made to CDMA systems. However, this is not to be construed in a limiting sense, and the present invention is applicable to a wide variety of telecommunication systems including but not limited to satellite telecommunications systems and terrestrial mobile telecommunication systems operating according to the GSM, UMTS, CDMA2000, IS95 and WBCDMA standards.


BACKGROUND OF THE INVENTION

In a mobile telecommunication system the received signal envelope may exhibit a very large dynamic range. A gain control is therefore required in the receiver to adjust the signal amplitude at the input of the analog-to-digital converter (ADC). The automatic gain control should control the signal amplitude to avoid or limit saturation of the analog-to-digital converter, and at the same time, ensure an efficient exploitation of the ADC dynamic range.


As reported in the standard technical literature, the AGC loop adjustment is based on the measurement of the received signal power. This measurement can be effected directly at the RF unit or after (i.e., downstream) the ADC. In a classical AGC implementation, the signal level is adjusted by multiplying the signal itself by a proper scale factor. This scale factor is calculated by measuring the received signal power over a certain interval.


In FIG. 1 a simplified block diagram of an AGC loop according to the prior art is shown. Such an AGC loop is designated by the reference numeral 10 and receives an input signal Sin, which corresponds to the received signal, as well as a reference digital signal Pref that is indicative of a reference power level.


The reference power signal Pref is fed to a summation node 11 along with a measured power signal Pmeas. In the summation node 11 the measured power signal Pmeas is added with a negative sign (i.e., subtracted) from the reference digital power signal Pref to obtain an error signal Perr. The error signal Perr is fed into a loop filter 12 with a transfer function F(z) that usually involves a FIR (Finite Impulse Response) filter, a gain factor and an integrator. The filter 12 produces a filtered error signal Pf, which is multiplied in a multiplying node 13 by the input signal Sin.


The output of the multiplying node 13 is sent to an analog-to-digital converter 14 that produces a digital output signal x(t) comprising a controlled output signal Sout of the loop 10. The controlled output signal Sout is also transmitted over a feedback branch back to the summing node 11. The feedback branch includes a power measurement block 15, which measures the power of the output signal Sout, thus generating the measured power signal Pmeas that is fed back to the summation node 11. The power measurement block 15 usually performs squaring and averaging operations over a certain time interval of the controlled output signal Sout to obtain the above mentioned scale factor for multiplying the input signal Sin.


The reference digital power signal Pref can be regarded as a steady state signal exempt from disturbances, whereas the power variations of the input signal Sin can be regarded as a source of disturbances. The loop shown in FIG. 1 performs a direct measurement of the power of the received signal. Such a direct measurement is, however, quite expensive in terms of required hardware resources and power consumption involved.


SUMMARY OF THE INVENTION

An object of the present invention is to provide an arrangement that reduces the cost of the hardware resources required for automatic gain control and the power consumption at the receiver.


According to the present invention, this object is achieved by a method for the automatic gain control in telecommunication systems having the characteristics set forth in the claims that follow. The invention also relates to a corresponding receiver, as well as to a computer program product directly loadable in the memory of a digital computer and comprising software code portions for performing the method when the product is run on a computer.


Substantially, the present invention provides for an indirect estimation of the power of the received signal, which is obtained through the measurement of a threshold crossing rate of the received signal. In comparison with prior art arrangements, the present invention reduces the hardware resource and the supply power requirements at the receiver.




BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will now be described, purely by way of a non-limiting example, with reference to the annexed drawings, wherein:



FIG. 1 is a block diagram of a receiver adapted for implementing an automatic gain control according to the prior art;



FIG. 2 is a block diagram of a receiver adapted for implementing an automatic gain control according to the present invention;



FIG. 3 schematically illustrates in greater detail the power measurement block as shown in FIG. 2; and



FIG. 4 schematically details an alternative embodiment of the power measurement block circuit as shown in FIG. 3.




DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The basic idea underlying the arrangement described herein is to measure over a given observation window the number of times the absolute value of the signal at the output of the analog-to-digital converter is above a certain threshold. Such a measurement provides an indirect estimate of the power of the received signal, which is then compared to a reference value (power set-point) to obtain the loop error signal. The error signal, properly scaled and filtered, is used to drive a variable gain amplifier to control the amplitude of the signal at the input of the analog-to-digital converter. The variable gain amplifier has an exponential characteristic.


In FIG. 2, the blocks and elements that perform the same functions as those included in the AGC loop 10 described with reference to FIG. 1 are indicated by the same reference numbers. The illustrated AGC loop 20 receives at its two inputs the input signal Sin that corresponds to the received signal, and the reference power value Pref that is preferably expressed in dB.


The reference digital power signal Pref is fed to the summation node 11 along with the measured power signal Pmeas. In the summation node 11 the measured power signal Pmeas is subtracted from the reference digital power signal Pref to obtain the error signal Perr. The error signal Perr is then fed into a loop filter 22. The filtered error signal Pf from the loop filter 22 is sent as a control signal to a variable gain amplifier 23 that receives at its input the input signal Sin.


The gain of the variable gain amplifier 23 is thus set by the value of the filtered error signal Pf. The output of the variable gain amplifier 23 is then sent to the analog-to-digital converter 14 that supplies the controlled output signal Sout to the output of the AGC loop 20 and to the feedback branch.


The feedback branch comprises a power measurement block 25. This in turn includes a module 27 for estimating the threshold crossing rate of the power of the controlled output signal Sout. The module 27 is associated with a module for calculating the power value from the threshold crossing rate, indicated by reference 29. Downstream of the module 29, a linear-to-logarithm (dB) conversion block 26 is arranged to ensure a uniform behavior over a large operating range.


As previously indicated, x(t) denotes the digital output process of the analog-to-digital converter 14, and is then defined as a discrete random variable:
β={0x(t)Th1x(t)>Th(1)

Th indicates a power threshold value.


Thus, the values of the variable β are representative of the crossings of the threshold Th by the signal x(t) at the output of the analog-to-digital converter 14. The overflow probability P, i.e., the probability for the variable β to be equal to 1, which means an overflow of the analog-to-digital converter 14 with respect to the threshold Th, can be expressed as:
P(β=1)=erfc(Th2σ2)(2)

where σ2 indicates the variance (i.e., the power) of the signal x(t).


Indicating with E(β) the statistical expectation of the variable β, i.e.,:
E(β)=erfc(Th2σ2)(3)

the variance σ2 can be obtained by the measurement of the expectation E(β).


This operation can be implemented by accumulating over a given time window a number N of values of the variable β in the module 27 for estimating the threshold crossing rate. An estimator indicated by χ is thus obtained that substantially represents the crossing rate in the chosen observation window:
χ=1Ni=1Nβ(4)

The statistical expectation E(χ) of the estimator χ is:
E(χ)=1Ni=1NE(β)=E(β)=erfc(Th2σ2)=fsingle(σ2)(5)

where fsingle indicates a single threshold function binding the variance σ2 to the estimator χ, as opposed to a multi-threshold function fMulti that will be described below.


Thus, inversion of the single level function fsingle, (i.e., inverting the complementary error function erfc), yields:
σ^2=fsingle-1(χ)=12(Thierfc(E(χ)))(6)

{acute over (σ)}2 corresponds to the measurement of the power of the signal x(t).


Due to the range of expectation E(χ), namely [0,1] being the same as the input value of the inverse error function ierfc in the power measure block 25, the function ierfc(E(χ)) can be obtained simply by a look up table (LUT) without having to perform a difficult analytical or numerical calculation. This will be shown with reference to FIG. 3, and results in a small number of values within a small, limited range. The look up table also takes into account the squaring and division operations required by equation (6).


The final behavior of the AGC loop 20 depends on the actual setting of a number of parameters, in particular, parameters like the digital reference power Pref, the power threshold Th used for the crossing-rate measurement, a loop operating frequency fs, and a loop gain KG.


It can be demonstrated that the AGC loop 20 behaves essentially like a first order high-pass filter with a normalized cut-off frequency fhp:
fhp=12πln(11-KG)(7)

Thus, by setting the loop gain KG value it is possible to obtain a given bandwidth. To set the digital reference power Pref level, the dynamic range of the analog-to-digital converter 14 should be taken into account.


In the embodiment described herein such a range is set to [−2, 2] and the analog-to-digital converter 14 has a unitary gain. This means that the output range will be in the interval [−2, 2] with a fractional quantization step depending on the word size. An acceptable value for the saturation rate of the ADC is about 5%, which corresponds to a variance σ2=1, as it can be derived from equation 3. The value selected for the digital reference power is then Pref=0 dB (on each component). However, fine tuning may be needed to optimize performance in a number of different fading conditions.


The center point of the single side dynamic range, i.e., for a threshold value Th=1, is chosen as the value of the threshold. The loop operating frequency fs is chosen equal to 1.5 KHz (i.e., the slot rate of the received signal in the UMTS/WCDMA standard). As shown above, the frequency response of a first order loop is already quite satisfactory. For this reason no additional loop filters have been introduced.


The AGC loop 20 is actually required to compensate only power variations of the received signal due to slow fading. Consequently, the loop bandwidth is set to 15 Hz which corresponds to a loop gain KG value of 0.07 (eq. 7). In this way, for the chosen value of the loop gain KG, the oscillations of the input power, in dB, are reduced by a factor of about 9×10−2 at a frequency fs*10−3 (1.5 Hz @ fs=1.5 KHz) and by a factor of about 7×10−1 at a frequency fs*10−2 (15 Hz @ fs=1.5 KHz).


The AGC loop 20 is able to significantly compensate the slow power variations over the channel, and is almost not sensitive to fast variations. In FIG. 3 an embodiment of the power measurement block 25 is shown. The digital output signal x(t) from the analog-to-digital converter 14 is input to the module 27 for estimating the threshold crossing rate. Specifically, this is done via two threshold comparators 21 and 22, operating on the I-channel and the Q-channel of the output signal x(t), respectively.


The results of the two comparisons performed at the threshold comparators 21 and 22 are then summed in a summation node 24. To accumulate over the chosen observation window, i.e., N times, the results from the comparators 21 and 22 that implement equation (4), a logic circuit is provided downstream of the summation node 24. This logic circuit includes a first data register 34 followed by a second data register 36. A control circuit 33 controls a reset input RST of the first data register 34 and an enable input EN of the second data register 36. The output of the data register 34 is fed to the data register 36 and to the summing node 24. This is done to accumulate the values of the variable β up to the moment the control circuit 33 enables feeding the accumulated value through the data register 36 to a look up table that embodies the module for calculating the power value from the threshold crossing rate 29.


The logic circuit also performs under the control of the control circuit 33 a division by 2N, to evaluate the crossing rate or the estimator. Such a look up table 29 contains the values of the inverse of function fsingle. The threshold crossing rate is used to extract from the look up table 29 the value of the relative estimated power expressed in dB.


The observation window may be chosen to be equal to 38400 for example, and the threshold Th set to half of the single-sided output range of the analog-to-digital converter 14. Such a choice of the threshold value has the additional advantage of requiring a very simple comparator since only the 2 most significant bits of the digital output x(t) are required to detect the threshold crossing event.


The accumulation result may be mapped onto the power values in the look up table 29 differently according to the degree of accuracy selected. In a simple case (uniform quantization with 75 points), the result of the accumulation is divided by 1024. In this way, at the input of the look up table 29 an integer value in the range [0, 75] is obtained. For each one of these values the estimated power is given as the output. For a more efficient implementation, the conversion to the logarithmic domain can be included in the look-up-table in such a way that the look-up table 29 and the a linear-to-logarithmic conversion block 26 results in a single physical component


In an alternative embodiment, as shown in FIG. 4, multiple threshold comparisons can be adopted, to improve performance in terms of estimation mean square error. This can be obtained by adding a moderate amount of complexity to the basic circuitry.


In the following the case is detailed of three thresholds of increasing values Th1, Th2, Th3,. Those of skill in the art will promptly appreciate that the thresholds may in fact be any number. The discrete variable β is defined as:
β={0x(t)Th11Th1<x(t)Th22Th2<x(t)Th33Th3<x(t)(8)

Overflow probabilities with respect to each of the three thresholds, Th1, Th2, Th3 can be easily obtained by applying equation (2).


In this case, the statistical expectation E (β) corresponds to the multilevel function fMulti:
E(β)=i=13erfc(Thi2σ2)=fMulti(σ2)(9)

By applying the same procedure already described for the single threshold method, an accumulation of N values of the variable β, E(χ) is obtained as:
E(χ)=1Ni=1NE(β)=E(β)=fMulti(σ2)(10)

and, using χ as an estimator of σ2:

σ2=fMulti−1(E(χ))  (12)


This is implemented through a power measurement block 35, as shown in FIG. 4. The power measurement block 35 comprises a module for estimating the threshold crossing rate 37 by using two multilevel comparators 31 and 32 for the I channel and the Q channel of the signal x(t), respectively.


The power measurement block 35 is then substantially identical to the block 25 for the single threshold method shown in FIG. 3, with the exception of a look up table 39 that implements the inverse of multi-threshold function fMulti from equation (12). However, the look up table 39 has the same size as the look up table 29 for the single threshold.


The functions implemented in the look-up tables 29 and 39 are significantly non-linear. It is thus advisable to use a non-uniform quantization on the x axis to minimize hardware complexity. This may be done while applying a uniform quantization on the y axis.


The arrangements disclosed herein permit remarkable advantages to be obtained over the known approaches. Circuit complexity and hardware requirements at the receiver are significantly reduced due to absence of any multipliers. Savings on the order of 55% of the chip area in the single threshold case, and 30% in the multi-threshold case can be achieved in comparison with the conventional implementation, as shown for instance in FIG. 1. Such a reduction also involves a reduction in power consumption at the receiver.


Receivers implementing the automatic gain control method described exhibit undistorted estimation even in the presence of strong saturation at the output of the analog-to-digital converter. Without prejudice to the underlying principle of the invention, the details and embodiment may vary, also significantly, with respect to what has been discussed just by way of example without departing from the scope of the invention, and as defined by the claims that follow.


For instance, devices different from the illustrated variable gain amplifier may be used for mixing the received signal with the error signal in the AGC loop. Any device/circuit adapted to scale the received signal on the basis of a proportionality relationship to the error signal and/or the measured power may be used for that purpose.


The primary field of application of the arrangement disclosed herein are for devices where the gain of an incoming signal is to be controlled. A typical case is for receivers in mobile telecommunications systems, such as receivers for satellite and terrestrial mobile telecommunications systems according to the GSM, UMTS, CDMA2000, IS95 and WBCDMA standards, for example.

Claims
  • 1-24. (Cancelled).
  • 25. A method for automatic gain control of an output signal generated from an input signal, the method comprising: measuring power of the output signal comprising setting at least one power threshold, measuring a rate of crossing of the at least one power threshold by the output signal over an observation window, and deriving from the rate of crossing a measured power of the output signal.
  • 26. A method of claim 25, further comprising: providing a reference power; subtracting the measured power from the reference power to obtain an error signal; mixing the input signal with the error signal; and performing an analog-to-digital conversion on a result of the mixing to obtain a gain-controlled output signal.
  • 27. A method of claim 25, wherein deriving the measured power comprises: accumulating a number of the crossings of the at least one power threshold by the output signal; and calculating the rate of the crossings as a statistical expectation from the number of crossings.
  • 28. A method of claim 27, wherein deriving the measured power further comprises applying at least one threshold function to the statistical expectation to obtain the measured power.
  • 29. A method of claim 28, wherein the at least one threshold function comprises an inverse error function ·(ierfc).
  • 30. A method of claim 28, further comprising setting multiple thresholds and applying a multi-threshold function to the statistical expectation to obtain the measured power.
  • 31. A method of claim 28, wherein the at least one threshold function is evaluated by retrieving values in a look up table.
  • 32. A method of claim 26, further comprising filtering the error signal through a loop filter prior to being mixed with the input signal.
  • 33. A method of claim 26, wherein mixing the error signal with the input signal is performed by amplifying the input signal with a variable gain function of the error signal.
  • 34. A method according to claim 25, further comprising converting the measured power of the output signal from a linear value to a logarithmic value.
  • 35. A method according to claim 25, wherein the input signal is received by a telecommunications system.
  • 36. An automatic gain control device for providing a gain-controlled output signal from an input signal, the automatic gain control device comprising: a power measurement module for measuring power of the output signal and comprising at least one threshold module for measuring a rate of crossing of at least one power threshold by the output signal over an observation window, and at least one power module for deriving from the rate of crossing a measured power.
  • 37. An automatic gain control device of claim 36, further comprising: a summing node for subtracting the measured power from a reference power to obtain an error signal; a mixer node for mixing the input signal with the error signal; and an analog-to-digital converter for converting a result of the mixing to obtain the gain-controlled output signal.
  • 38. An automatic gain control device of claim 36, wherein said at least one threshold module comprises an accumulator for accumulating a number of crossings of at least one power threshold by the output signal, and for measuring the rate of the crossings as a statistical expectation from the number of crossings.
  • 39. An automatic gain control device of claim 38, wherein said at least one threshold module comprises at least one threshold comparator for applying a threshold function to the statistical expectation (E(χ)) to obtain the measured power.
  • 40. An automatic gain control device of claim 39, wherein said at least one threshold comparator implements the threshold function as an inverse error function.
  • 41. An automatic gain control device of claim 39, wherein said at least one threshold module comprises a plurality of threshold comparators for applying a multi-threshold function to the statistical expectation to obtain the measured power.
  • 42. An automatic gain control device of claim 41, wherein said at least one power module includes a look up table containing values for the multi-threshold function.
  • 43. An automatic gain control device of claim 37, further comprising a loop filter for filtering the error signal prior to mixing the filtered error signal with the input signal.
  • 44. An automatic gain control device of claim 37, wherein said mixer node mixes the error signal with the input signal by amplifying the input signal with a variable gain function of the error signal.
  • 45. An automatic gain control device of claim 36, further comprising a linear-to-logarithmic converter for converting the measured power from a linear value to a logarithmic value.
  • 46. A receiver for a telecommunications system comprising: an input for receiving an input signal; and an automatic gain control device downstream from said input for providing a gain-controlled output signal from the input signal, said automatic gain control device comprising a threshold module for measuring a rate of crossing of at least one power threshold by the output signal over an observation window, a power module for deriving from the rate of crossing a measured power of the output signal, a summing node for subtracting the measured power from a reference power to obtain an error signal, a mixer node for mixing the input signal with the error signal, and an analog-to-digital converter for converting a result of the mixing to obtain a gain-controlled output signal.
  • 47. A receiver of claim 46, wherein said threshold module comprises an accumulator for accumulating a number of crossings of at least one power threshold by the output signal, and for measuring the rate of the crossings as a statistical expectation from the number of crossings.
  • 48. A receiver of claim 47, wherein said threshold module comprises at least one threshold comparator for applying a threshold function to the statistical expectation to obtain the measured power.
  • 49. A receiver of claim 48, wherein said at least one threshold comparator implements the threshold function as an inverse error function.
  • 50. A receiver of claim 48, wherein said threshold module comprises a plurality of threshold comparators for applying a multi-threshold function to the statistical expectation to obtain the measured power.
  • 51. A receiver of claim 48, wherein said power module includes a look up table containing values for the multi-threshold function.
  • 52. A receiver of claim 46, further comprising a loop filter for filtering the error signal prior to mixing the filtered error signal with the input signal.
  • 53. A receiver of claim 46, wherein said mixer node mixes the error signal with the input signal by amplifying the input signal with a variable gain function of the error signal.
  • 54. A receiver of claim 46, wherein the input signal is based upon at least one of the following GSM, UMTS, CDMA2000, IS95 and WBCDMA standards.
  • 55. A computer-readable medium for automatic gain control of an output signal generated from an input signal, the computer-readable medium comprising: a first data field containing data for setting at least one power threshold; a second data field containing data for measuring a rate of crossing of the at least one power threshold by an output signal over an observation window; and a third data field containing data for deriving from the rate of crossing a measured power of the output signal.
  • 56. A computer-readable medium of claim 55, further comprising: a fourth data field containing data for subtracting the measured power from a reference power to obtain an error signal; a fifth data field containing data for mixing the input signal with the error signal; and a sixth data field containing data for performing an analog-to-digital conversion on a result of the mixing to obtain a gain-controlled output signal.
  • 57. A computer-readable medium of claim 55, wherein the third data field containing data for deriving the measured power further comprises data for accumulating a number of the crossings of the at least one power threshold by the output signal; and calculating the rate of the crossings as a statistical expectation from the number of crossings.
  • 58. A computer-readable medium of claim 57, wherein the third data field containing data for deriving the measured power further comprises data for applying at least one threshold function to the statistical expectation to obtain the measured power.
  • 59. A computer-readable medium of claim 58, wherein the third data field containing data for deriving the measured power further comprises data for setting multiple thresholds and applying a multi-threshold function to the statistical expectation to obtain the measured power.
  • 60. A computer-readable medium of claim 58, wherein the at least one threshold function is evaluated by retrieving values in a look up table.
  • 61. A computer-readable medium of claim 56, further comprising a seventh data field containing data for filtering the error signal through a loop filter prior to being mixed with the input signal.
  • 62. A computer-readable medium of claim 56, wherein the fifth data field further comprises data so that mixing the error signal with the input signal is performed by amplifying the input signal with a variable gain function of the error signal.
Priority Claims (1)
Number Date Country Kind
03354064.2 Jul 2003 EP regional