SIGNAL LEVEL CONTROL

Abstract: An automatic gain control system wherein the logarithm of the gain on an amplifier (14, Figure 1) is increased if the amplitude of the amplified signal S2 falls below the lower threshold L2 of a pair of thresholds, and wherein the logarithm of the gain is decreased if the amplitude exceeds the upper threshold L1 of the pair.

Description: SIGNAL LEVEL CONTROL This invention relates to methods and apparatus of controlling the gain applied to a received signal, in particular to a wireless signal received by a telecommunications device. A telecommunications receiver may be designed to operate optimally with received signals of a predetermined amplitude. Therefore, telecommunication receivers may be provided with an amplifying arrangement which has a gain factor G appropriate to endow the received signals with an amplitude close to a predetermined optimum. In a mobile telecommunications system, the strength of a received signal will vary according to changes in the separation of the receiver and the transmitter. Thus, a fixed- gain amplifying arrangement is often not useful for shifting received signals to the predetermined optimum amplitude. It is known to provide a telecommunications receiver with an amplifying arrangement having an automatic gain control (AGC) feature. The amplitude of the amplified signal produced by the amplifying arrangement is compared with a threshold value. The gain factor of the amplifying arrangement is then altered by an amount dependent in magnitude and sign upon, respectively, the magnitude and sign of the difference between the measured amplitude and the threshold. The object of the invention is the provision of improved gain control. According to a first aspect, the invention provides a method of controlling the gain applied to a received signal, comprising determining a parameter indicative of the amplitude of the received signal and adjusting the gain each time the parameter indicates that the amplitude is outside an amplitude range defined between an upper and a lower amplitude threshold. According to a second aspect, the invention provides apparatus for controlling the gain applied to a received signal, comprising means for determining a parameter indicative of the amplitude of the received signal, and means for adjusting the gain each time the parameter indicates that the amplitude is outside an amplitude range defined between an upper and a lower amplitude threshold. By comparing the amplitude with a range, it is possible to avoid rapid, and possibly oscillatory, variation of the gain due to minor changes in the measured amplitude. Thus, the processing burden is reduced. In one embodiment, gain variation is achieved by adjusting a gain parameter by a predetermined or fixed amount each time a variation is required. This advantageously decreases the processing burden since the adjustment process need only indicate the direction of a desired change, and not its magnitude. In a preferred embodiment, the parameter of the gain which is adjusted is the logarithm of the gain. This provides for fine control of gain value, especially where a system of incrementing and decrementing the logarithm by a fixed amount is used. The invention may be employed in a telecommunications receiver such a base station or a mobile unit in a mobile communications system. By way of example only, an embodiment of the invention will now be described with reference to the accompanying drawings in which: Figure 1 illustrates schematically a mobile telephone; Figure 2 is a plot, on a logarithmic scale, of the amplitude of a received signal versus time; and Figure 3 is a plot, on a logarithmic scale, of the same signal after amplification in the telephone of Figure 1. As shown in Figure 1, mobile telephone 10 comprises an antenna 12, an amplifier 14, amplitude measurement section (AMS) 16, gain control section (GCS) 18 and subsequent processing circuitry 20. The telephone 10 receives a signal Si through the antenna 12. Amplifier 14 amplifies Si into signal S 2 , where S 2 = GS|, G being the gain of the amplifier 14. The amplified signal S 2 is supplied to digital processing circuitry 20 for subsequent processing to provide, for example, audible signals to the user of the telephone 10. The gain G of amplifier 14 is set by a gain control signal S from GCS 18. The determination of signal S will now be described. The AMS 16 measures the amplitude of the received signal over a period of time. The AMS 16 records the maximum and minimum values of signal S 2 encountered during the interval. The minimum value is subtracted from the maximum value to produce an amplitude value for the interval which is less susceptible to offset errors. The amplitude value is transmitted as signal S 3 to the GCS 18 which utilises S 3 to make decisions about changing the gain of amplifier 14. In general terms, the GCS compares the amplitude value with an upper and a lower threshold. The GCS instructs the gain to be increased if the amplitude falls below the lower threshold (falling below the upper threshold has no effect) and also instructs the gain to be decreased if the amplitude exceeds the higher threshold (exceeding the lower threshold has no effect). The interval over which the level of signal S 2 is monitored by AMS 16 is then repeated and successive amplitude values are sent to GCS 18 which makes an ongoing series of adjustments to the logarithm of the gain of amplifier 14. It will be appreciated that the gain has overall maximum and minimum values (due to the design of amplifier 14) which cannot be traversed. Upon one of these limits being reached, attempts by the GCS 18 to traverse the limit will be ineffectual and, in this sense, the gain control process is temporarily disabled. Consider the case where Si has the form shown in Figure 2, i.e. the signal amplitude increases until time tl and decreases thereafter. The corresponding form of S 2 is shown in Figure 3, whose content will now be discussed by reference to Figures 1 and 2. In Figure 3, the signal S 2 is divided into a series of events, a-t. Between a and b, the AMS 16 determines an amplitude value which is supplied to the GSC 18 as S 3 . The GCS 18 determines that the amplitude value falls below a lower threshold L2 and operates to increase the gain of amplifier 14. A signal S 4 indicating that the gain is to be increased is sent by the GCS to the amplifier 14. The amplifier 14 responds to S 4 by incrementing the logarithm of the gain by a fixed amount, causing S 2 (=GSι) to step from b to c. The AMS 14 then goes through another sampling interval from c to d, sending, at the end of that interval, a new signal S 3 to the GCS 18. The GCS 18 again determines that the new amplitude value falls below the lower threshold L2 and sends an increment command as signal S . The amplifier 14 responds to the increment command by incrementing the logarithm of the gain by the same amount as before. The step to point e raises the amplitude above the lower threshold L2. Therefore, in subsequent intervals GCS 13 receives amplitude values (in signal S 3 ) which lie between the lower threshold L2 and the upper threshold LI . During this period the increase in S 2 is due to the increasing trend in Si only (Figure 3 does not accurately represent the gradient of Si). Some time later, at point f, S 2 exceeds the upper threshold LI and this fact is determined by the GCS 18 using the signal S 3 representative of the amplitude of S 2 over the last sampling interval of the AMS 16. Accordingly, the GCS 18 sends a decrement command as signal S to the amplifier 14. In response, the amplifier 14 decrements the logarithm of the gain by a fixed amount, causing S 2 to step down to point g. During the next sampling interval of the AMS 14, the amplitude of signal S 2 rises to point h, above the upper threshold LI. The GCS 18 then instructs the amplifier to reduce the logarithm gain by the same amount, bringing S 2 down to point i. This process of decrementing the logarithm of the gain successively continues until point n, which corresponds to time tl, at which the gradient of Si becomes a negative constant. At some later time, the signal S 2 reaches point o, where the GCS 18 determines that the amplitude of S 2 falls below the lower threshold L2 and instructs the amplifier 14 to increment the logarithm of the gain, stepping the signal to point p. Since the signal S 3 is now steadily decreasing in amplitude, it repeatedly falls below the lower threshold L2 and, at points q and s, the logarithm of the gain is stepped up above the threshold L2 to points r and t, respectively. By applying increments and decrements of the same magnitude to the logarithm of the gain of amplifier 14, the control system is made relatively simple. This scheme means that reductions in the gain follow a geometric series, and the scheme is less coarse than simply applying decrements to the linear gain. The spacing of the thresholds LI and L2 may be adjusted as desired. There is a trade-off in the selection of this spacing. A relatively small spacing gives tighter control of the level of signal S 2 but requires more frequent changes in the gain G. With a relatively small spacing there is a reduced probability of numerical overflow in the analogue to digital conversion of signal S 2 , but increased switching activity with resulting transient behaviour appearing in signal S 2 . With a relatively large spacing between the thresholds LI and L2, there is a reduction in switching activity with a reduction in the appearance of transients, but an increased probability of numerical overflow in the digital to analogue conversion of S 2 and in the elements of processing circuitry 20. It will be appreciated that although the invention has been described in the context of controlling the gain applied to a signal (Si) received in receiver 10, the control mechanism has general applicability to any signal undergoing amplification.

Claims: Claims 1. A method of controlling the gain applied to a received signal, comprising determining a parameter indicative of the amplitude of the received signal and adjusting the gain each time the parameter indicates that the amplitude is outside an amplitude range defined between an upper and a lower amplitude threshold. 2. A method according to claim 1, wherein the parameter comprises the difference between maximum and minimum levels of the received signal over a period of time. 3. A method according to claim 1 or 2, wherein adjusting the gain comprises adjusting the logarithm of the gain. 4. A method according to claim 3, wherein adjusting the logarithm of the gain comprises incrementing or decrementing the logarithm of the gain by a predetermined amount. 5. A method according to any one of claims 1 to 4, wherein adjusting the gain comprises reducing the gain if the amplitude exceeds the upper threshold, and increasing the gain if the amplitude falls below the lower threshold. 6. A method of modulating a received signal, comprising applying a gain to the received signal and adjusting the gain using the method of any preceding claim. 7. Apparatus for controlling the gain applied to a received signal, comprising means for determining a parameter indicative of the amplitude of the received signal, and means for adjusting the gain each time the parameter indicates that the amplitude is outside an amplitude range defined between an upper and a lower amplitude threshold. 8. Apparatus according to claim 7, wherein the parameter comprises the difference between maximum and minimum levels of the received signal over a period of time. 9. Apparatus according to claim 7 or 8, wherein the adjusting means comprises means for adjusting the logarithm of the gain. 10. Apparatus according to claim 9, wherein the means, for adjusting the logarithm of the gain is arranged to increment or decrement the logarithm of the gain by a predetermined amount. 11. Apparatus according to any one of claims 7 to 10, wherein the adjustment means comprises means for decreasing the gain if the amplitude exceeds the upper threshold and for increasing the gain if the amplitude falls below the lower threshold. 12. Apparatus for modulating a received signal comprising means for applying a gain to the received signal and apparatus according to any one of claims 7 to 11 for varying the gain. 13. A method of adjusting the gain applied to a received signal, substantially as hereinbefore described with reference to the accompanying figures. 14. A method of modulating a received signal, substantially as hereinbefore described with reference to the accompanying figures. 15. Apparatus for adjusting the gain applied to a received signal, substantially as hereinbefore described with reference to the accompanying figures. 16. Apparatus for modulating a received signal, substantially as hereinbefore described with reference to the accompanying figures. 17. A program for carrying out the method of any one of claims 1 to 6.

Inventors: LUCAS JONATHAN, THURSTON ANDY, LUCAS, JONATHAN, THURSTON, ANDY
Applicants: LUCAS JONATHAN, THURSTON ANDY, UBINETICS LTD, LUCAS, JONATHAN, THURSTON, ANDY, UBINETICS LIMITED
Application year: 2001
Main classification: H03G3
IPC codes: H03G3, H04B1