METHOD AND ARRANGEMENT FOR GAIN CONTROL

Abstract: The invention relates to a method and an arrangement implementing the method for gain control. In the method, a signal is modulated and the modulated signal is amplified with a power amplifier (312) to an output (313). A modulated signal of a given timeslot is applied to a control unit (323) before the power amplifier (312). Said amplified modulated signal is applied from the output (313) to the control unit (323). The signals are compared in the control unit, in which a control signals is also generated based on the comparison. The gain is controlled based on the control signal in a following at least one timeslot. The gain may also be controlled between timeslots, based on the control signal.

Description: METHOD AND ARRANGEMENT FOR GAIN CONTROL FIELD OF THE INVENTION [0001] The invention relates to a method and an arrangement implementing the method for non-real-time gain control of a transmitter. The so- lution of the invention is typically usable in a transmitter of the TDMA radio system. BACKGROUND OF THE INVENTION [0002] Figure 1 shows a prior art solution, wherein gain control in a base station transmitter is implemented analogically and using feedback. A modulated constant-amplitude input signal is attenuated to the desired power level with an attenuator 100. The attenuated signal is amplified with a power amplifier 102 to an output 103 and a feedback 104, wherein the signal is detected with a power detector 106. The detected signal is applied to an adder 108, wherein it is added to a power setting signal. Said addition generates a control signal, which is filtered in a filter 110, whereupon the control signal is used for gain control to adjust the output power to the desired level. [0003] Once the signal is amplitude-modulated, and control is to be fast, the prior art solution distorts the modulation. When control it to be slow, the prior art solution has no time to follow fast power setting alterations. Thus, the prior art solution suffers significant drawbacks when a signal is amplitude- modulated. BRIEF DESCRIPTION OF THE INVENTION [0004] The object of the invention is to provide a method and an arrangement implementing the method so that gain control is accurate and the gain control of the invention does not distort modulation. This is achieved with a method for gain control, in which method a signal is modulated and the modulated signal is amplified with a power amplifier to an output. The method further comprises applying a modulated signal of a given timeslot before the power amplifier to a control unit, applying said amplified modulated signal from the output to the control unit, comparing the signals in the control unit, generating a control signal in the control unit based on the comparison, and adjusting the gain based on the control signal in a following at least one timeslot. [0005] The invention also relates to a method for gain control, in which method a signal is modulated and the modulated signal is amplified with a power amplifier to an output. The method further comprises applying a modulated signal of a given timeslot before the power amplifier to a control unit, applying said amplified modulated signal from the output to the control unit, comparing the signals in the control unit, generating a control signal in the control unit based on the comparison, and adjusting the gain based on the control signal between timeslots. [0006] The invention further relates to an arrangement for gain control, the arrangement comprising a modulator for modulating a signal and a power amplifier for amplifying the modulated signal to an output. The ar- rangement also comprises a control unit for comparing a modulated signal of a given timeslot, applied to the control unit before the power amplifier, with a modulated amplified signal of said given timeslot, applied to the control unit after the poser amplifier, and for generating a control signal based on said comparison, and a controller for gain control in a following at least one timeslot based on the control signal. [0007] The invention still further relates to an arrangement for gain control, the arrangement comprising a modulator for modulating a signal and a power amplifier for amplifying the modulated signal to an output. The arrangement also comprises a control unit for comparing a modulated signal of a given timeslot, applied to the control unit before the power amplifier, with a modulated amplified signal of said given timeslot, applied to the control unit after the power amplifier, and for generating a control signal based on said comparison, and a controller for gain control between timeslots based on the control signal. [0008] The preferred embodiments of the invention are disclosed in the dependent claims. [0009] The invention is based on comparing, in the control unit, a modulated signal of a given timeslot, applied to the control unit before the power amplifier, with said modulated amplified signal of a given timeslot, ap- plied to the control unit after the power amplifier. A control signal is generated in the control unit based on said comparison. Power is controlled based on the control signal in a following at least one timeslot. Power can be controlled based on the control signal also between timeslots. The above gain control is used to adjust an output signal towards an ideal value. [0010] The method and arrangement of the invention can be used to adjust the power of an amplitude-modulated signal at good regulation accu- racy. The solution of the invention meets the requirements of both a wide dynamic area and high speed. BRIEF DESCRIPTION OF THE FIGURES [0011] Figure 1 shows a prior art solution, Figure 2 is a basic block diagram of the solution of the invention, Figure 3 shows a preferred embodiment of the invention, Figure 4A shows a solution of analogically implemented up-conver- sion, Figure 4B shows a solution of digitally implemented up-conversion, Figures 5A and 5B show signal processing models. DETAILED DESCRIPTION OF THE INVENTION [0012] Signal modulation methods used in transmitters of a radio system are typically linear modulation methods. In linear modulation methods, the amplitude and phase of a signal are usually modulated. In the solution of the invention, gain control is provided upon linear modulation of a signal such that gain control does not distort the modulation. The solution of the invention is typically applicable to transmitters used in systems according to the TDMA technology (Time Division Multiple Access). In the block diagram of the transmitter according to the solution of the invention shown in Figure 2, a modulator 300 modulates a digital input signal into a complex envelope. The modulated signal is applied to a main signal path 301 and to a reference signal path 302. On the main signal path, the modulated signal is applied to an up-converter 304, with which the signal is converted into at least one desired frequency. From the up-converter, the signal is applied to a windowing generator 306, with which the signal is divided into the desired timeslots. The windowing generator may be located at some other point on the main signal path 301 or for example in the modulator 300. The digital input signal is converted into an analog signal with a DA converter 308, typically after said window generation performed in the windowing generator. [0013] A controller 310 is used for gain control based on the control signal in such a way that signal power at an output 313 is adjusted to the desired level. From the controller, the analog signal is applied to a power amplifier 312, which amplifies the signal to an output power level to the output 313, where the signal is filtered with an antenna filter 315 and transmitted with an antenna 317. The analog signal amplified by the power amplifier to the output is also applied to a feedback 314. At the feedback, the analog signal is detected with a detector unit 316, which may be located at some other point of the feedback than is shown in Figure 2. The detector unit 316 may be a detector, which amplitude-detects the signal, or an absolute value generator, which generates the absolute value of the signal. Both the above may also constitute the detector unit. After detection, the signal is filtered with a filter 318. Filtering is typically anti alias filtering for AD conversion. The analog signal is converted into a digital signal with an AD converter 319. There are also second and third alternative ways to implement the above. In the second implementation, the signal, applied to the feedback, is first filtered, whereupon said analog signal is AD converted into a digital signal. In the second implementation, detection is carried out after AD conversion by digital detection of the digital signal. In the third embodiment, AD conversion is not carried out at all, i.e. the digital signal remains analog. Filtering is not either always necessary. [0014] The power level of the feedback 314 signal is set with a power level adjuster 320, in order for said signal to be comparable in a desired way with a signal applied from the reference signal path 302. The power level adjuster may also be located on the reference signal path 302, in which case it is not necessarily needed in the feedback 314. The signal of the reference signal path 302 is detected with a detector unit 321 such that it is comparable with the feedback 314 signal. The detector unit 321 may be a detector or an absolute value generator, in the same way as the feedback detector unit 316. In the solution of the invention, for example a detector based on the detection of global maximum power values may constitute the detector unit 316, 321. The signal is typically filtered with a filter 322 on the reference signal path 302. [0015] The above signals from the feedback 314 and the reference signal path 302 are applied to a control unit 323. In the control unit 323, at least one control signal is generated based on the comparison of said signals. The control signal may be a digital or an analog signal. At least one control signal is used to control at least one controller 310 via at least one control branch 328 for gain control to the desired level in a following at least one time- slot. By gain control, the power of a signal at the output 313 is adjusted towards the ideal value. Control may also be performed between timeslots. Said timeslots are timeslots into which the windowing generator 306 divided the signal. The control unit 323 is typically digitally implemented. The modulator 300 and the up-converter 304 may be digitally implemented. If analog signals are applied to the control unit from the feedback and the reference signal path, analog signal comparison may be performed in the control unit. [0016] In the preferred embodiment of the invention shown in Figure 3, a baseband modulator 300 modulates the digital symbols in a digital input signal into a complex envelope signal in a system conforming to the TDMA technology. The complex envelope signal is applied on the main signal path 301 to an up-converter 304 and to a detector unit 321 on the reference signal path 302. The up-converter 304 may be implemented digitally or analogically. Figure 4A shows a solution according to analogically implemented up-conversion. A modulated digital signal is applied to the reference signal path 302 and to the main signal path 301. On the main signal path, the digital signal is converted with the DA converter 308 into an analog signal, whereupon the signal is filtered with a filter 402, which is typically a low-pass filter. The filtered complex envelope signal is converted into radio frequencies with a converter 404 and a phase shifter 406. A windowing generator 306 is used to generate timeslots conforming to the TDMA technology for the signal. With reference to Figure 3, the signal may be applied to the detector unit 321 of the reference signal path 302 from the baseband modulator 300, whereby the signal is a complex envelope signal in digital form. The signal may also be ap- plied to the detector unit 321 after the up-converter 304 as an analog signal at the points shown in Figure 4A by broken arrows. [0017] Figure 4B shows a solution according to digitally implemented up-conversion. A modulated complex envelope signal is applied to the detector unit 321 on the reference signal path 302 and to an interpolator 411 , with which the signals are interpolated. After interpolation, an oscillator 408 and a converter 410 are used to up-convert the complex envelope signal. The oscillator is typically a numerically controlled oscillator. The windowing generator 306 is used to generate the desired timeslots conforming to the TDMA technology for the signal, which may also be performed for the reference sig- nal path 302. On the main signal path 301 , said digital signal is converted after the windowing generator into an analog signal with the DA converter 308, and filtered with a filter 412, which is typically a low-pass filter. The signal may be applied to the detector unit 321 on the reference signal path 302 directly from the baseband modulator 300 or the signal may also be applied to the detector unit 321 after the up-converter as either a digital or an analog signal from the points shown in Figure 4B by broken arrows. [0018] The controller 310 in Figure 3 may comprise at least one discrete controller 414 or at least one continuous controller 416 or at least one of both of said controllers. A discrete controller is based on discrete amplification or attenuation steps, and a continuous controller is based on continuous control. The control steps of a discrete controller may be e.g. 2 dB, whereby 15 control steps generate 30-dB dynamics. A continuous controller may comprise one or more voltage-regulated or current-regulated amplifiers or attenuators, or a combination of the above. Furthermore, correction controllers may be used for correcting errors due to the frequency responses of components or the temperature drift in transmitter amplification. The non-idealities of both a continuous and a discrete controller can be modelled into correction parameters that can be utilized in the generation of control signals. The controller or a part of the controller may also be located elsewhere than what is shown in Figures 2 and 3, e.g. in the modulator and/or up-converter. The solution of the invention may be implemented for example by performing discrete control at the point of the controller 310 shown in Figures 2 and 3, and fine adjustment for fine adjusting the discrete control with the controller for example in connection with windowing. [0019] From the controller 310, the signal is applied to the power amplifier 312, which amplifies the signal to the desired output power level. The analog signal amplified by the power amplifier as an output signal at the output 313 is also applied to the feedback 314, via which the signal is applied to the control unit 323. The output signal is filtered at the output with an antenna filter 315, whereupon it is transmitted by the antenna 317. In the feedback, the ana- log signal is detected with the detector unit 316. Detection is typically continuous. From the detection, the information obtained in a period of time comprised by a measuring sequence is typically utilized. The amplitude values of an envelope are typically detected in detection. The measurement on which the detection is based can also be based on for example maximum amplitude values, the signal mean value or root-mean-square value. [0020] The detected signal is filtered with the filter 318. The detected signal, which is in analog form, is converted into a digital signal with the AD converter 319, typically after the filtering performed with the filter 318. The power level of the feedback 314 signal is set to the desired level with the power level adjuster 320, in order for said signal to be comparable in the desired way with the signal detected on the reference signal path 302. On the reference signal path, detection can be carried out in the same way as feedback detection. The signal of the reference path is typically filtered with the filter 322 on the reference signal path 302. The power level adjuster may also be located on the reference signal path 302, whereby it is not necessarily needed in the feedback 314. [0021] Said signals from the feedback 314 and the reference signal path 302 are applied to the control unit 323. The control unit comprises an error parameter unit 421 and a control signal generator 423. Said signals are compared in an error parameter estimator 425 comprised by the error parame- ter unit to generate error parameters. In the comparison of the signal of the reference signal path with the signal of the feedback, signal power values, such as local maximum power values and/or global maximum power values are compared to generate error parameters. Signals may also be modified in the error parameter unit as desired for the generation of error parameters. The error parameter unit 421 comprises an error parameter memory 424. The error parameters are applied to a control signal generator 423, which optionally, based also on other parameters, generates at least one control signal in a generation unit 430 comprised by the control signal generator 423. The control signal is used to control the controller 310 via the control branch 328 for gain control, in order for the output power of the transmitter to be on the desired level in a following at least one timeslot or between timeslots or in both of the above. Timeslots are timeslots into which the windowing generator 306 has divided the signal. In the solution of the invention for adjusting power by gain control, power adjustment can be stated to be non-real-time. The error pa- rameter unit 421 and the control signal generator 423 are typically digitally implemented. [0022] The above-described generation of error parameters is carrier out based on measuring sequences. A period of time comprised by one measuring sequence may be either one timeslot typical of the TDMA technol- ogy or a given part of a timeslot, e.g. the training sequence. During the measuring sequence, the required detection is carried out from the output signal. After detection, the feedback 314 signal or the signal of the reference signal path 302 or both of them are scaled before the estimation of error parameters. If both signals are in analog form, their analog difference can also be applied to the error parameter unit 421 for the generation of error parameters. [0023] The feedback 314 signal and the signal of the reference sig- nal path 302 are preferably compared in the error parameter unit 421 such that samples taken from a signal are weighted according to the signal amplitude so that low amplitude values are not so significant. For example, local rnaximums of the signals may be searched for and compared or the root-mean-square values of the signals may be compared. This avoids mistakes caused by the inaccuracy of the detection unit 316 at low signal values. Samples may also be rejected if the signal level of the sample is too low or if the signal level changes faster than the detection unit is able to follow. Accepted samples are processed to determine the strengths of the signal of the reference signal path and the feedback signal from the period of time comprised by the measuring sequence. Dividing the measuring sequence into periods of time allows signal strengths to be determined in detail, and thereby, the differences in strengths during the measuring sequence. The differences in strengths allow the amplification error of the transmitter in different TDMA timeslots to be determined. The periods of time comprised by the measuring sequence are typically at least of the length of a symbol comprised by the signal. [0024] Part of the processing performed by the error parameter unit 421 can be comprised by the filters 318, 322 for example such that when said filters are slow, they use their slowness to compensate for the amplitude errors caused by delay differences between the reference signal path 302 and the feedback 314. Slow filters also allow a low sampling frequency for the error parameter unit. [0025] If need be, the control signal generator 423 utilizes a memory unit 427 in whose memory the assumed signal amplification of the main signal path 301 can be stored in the first embodiment as a function of the control signals, and optionally as the function of other factors, such as power adjustment level, frequency, temperature and/or time. In the second embodiment, the assumed values of the control signals are stored in the memory of the memory unit 427 as a function of power adjustment levels, and optionally as the function of other factors, such as frequency, temperature and/or time. Said embodiments may be combined, if need be. For example the deviation of the real output signal from the assumed output signal at different points of time, estimated via detection, can be stored in the error parameter memory 424 of the error parameter unit 421. The control signal generator 423 gener- ates control signals for different power adjustment levels based on the information stored in said memory unit 427 of the control signal generator and the error parameter memory 424 of the error parameter unit 421. A solution is feasible, wherein the control signal generator generates the control signal based on information stored in either the memory unit 427 or the error parameter memory 424. The preferred embodiment of the invention may also be imple- mented by implementing the memory unit and the error parameter memory as one unit for example by applying error parameter information directly to the memory unit 427, the information comprised by which is modified in such a way that the error parameter information is also included in the generation of the final information to be used in the generation of control signals for different power levels. [0026] In the power level setting performed by the power level adjuster 320, the response of the feedback 312 is modelled such that when the signal power is the right one at the output of the transmitter, the error parameter unit 421 is correctly calibrated, i.e. it does not tend to change the situation unless there is cause for it. The response of the feedback can also be modelled to a response memory 429 of the error parameter unit, if need be. [0027] The memory of the control unit 323 may comprise the response memory 429 of the error parameter unit 421 and the memory unit 427 of the control signal generator 423. The memory of the control unit may be updated when required for example by a control signal generated by the control unit. [0028] The modelled responses of the main signal path 301 and the feedback 314 may also comprise responses of the parts succeeding the control system, such as an antenna filter, an antenna cable, an antenna booster, a power divider or responses of control couplings. This enables the compensation of the effect of these parts on the power of the signal applied to an antenna. [0029] A control signal that remains in its constant value during a TDMA timeslot is called a static control signal. Control by static control signals may be performed with a discrete controller, such as a step controller. A control signal that changes during a TDMA timeslot is called a dynamic control signal. The use of a dynamical control signal requires a continuous controller. Control by dynamic control signals is required if the power of the arrangement changes excessively during a TDMA timeslot. If control by static control signals only is used, one error parameter per TDMA timeslot is enough. If control by dynamic control signals is used, several error parameters are required per TDMA timeslot. [0030] In the following, two feasible control algorithms are described in detail. However, the invention is in no way restricted to the algorithms to be described next. [0031] In the algorithm according to explicit control, the response memory of the error parameter unit comprises a nominal control signal: Ven o m = f(power adjustment level, [frequency], [temperature], [time]) [0032] The brackets [ ] indicate that the nominal control signal Vc n0 m can be expressed as the function of the magnitudes in the brackets, if need be. The memory comprised by the error parameter unit 421 includes the required deviation of the control signal from the nominal value at different points of time in a period of time. These points of time represent the parts of different measuring sequences, wherein the error parameter unit 421 has compared the signals of the reference signal path with the feedback signals. If the measuring sequence is not divided into periods of time, only one error parameter exists and it includes the correction of the mean control signal of a measuring sequence: Err = c(power adjustment level, [frequency], [temperature]) [0033] The brackets [ ] indicate that the mean control signal correction err can be expressed as the function of the magnitudes in the brackets, if need be. [0034] When a measuring sequence is divided into periods of time, the above formula is as follows: Err* = c(power adjustment level, [frequency], [temperature], t*) [0035] Said formula defines the error parameters for different periods of time. [0036] The control signal generator 423 calculates the required corrected control signal based on error parameters (assuming that N error pa- rameters exist): Vc = Ven o m + interpolation function(time;errι, err 2 err N ), wherein the interpolation function can mean any known interpolation or curve adaptation method. The error parameter unit compares the strengths of the signal of the reference signal path and the feedback signal in different periods of time, as was described above. If there is a difference between the strengths, a correction in the direction of said difference is made in the corresponding error parameter. The correction is usually made such that the control arrangement does not overreact (i.e. become instable) or become too sensitive to measuring errors. [0037] In the algorithm according to implicit control, the response memory 429 of the error parameter unit 421 comprises a control signal G e p according to the expected gain as a function of power adjustment level, temperature and/or time: G ex p = g(control signal, [power adjustment level], [frequency], [temperature], [time]) [0038] The brackets [ ] indicate that the control signal G exp accord- ing to the expected gain can be expressed as the function of the magnitudes in the brackets, if need be. The error parameter memory 424 of the error parameter unit 421 includes parameters that describe the deviation of the gain from the expected value. These parameters may be functions of for example the level of gain control, frequency or temperature. Let us assume that N error parameters exit. The control signal generator uses them to interpret the deviation by means of function h: Gdev = h(time; ern, err 2 err N ). [0039] The deviation of the gain may also be defined as follows: G dev = h(control signal, [power adjustment level], [frequency], [temperature], [time]) [0040] The brackets [ ] indicate that the deviation of the gain G de may be expressed as the function of the magnitudes in the brackets, if need be. [0041] The control signal generator now knows the corrected gain of the transmitter: ^corr = Cie p + ^dev [0042] In the implicit power adjustment algorithm, a control signal is searched for, whereby G CO rr becomes equal to the desired gain in a given TDMA timeslot. [0043] Figures 5A and 5B show processing models for the signals of the reference signal path and the feedback. Figure 5A shows a parallel signal processing model, wherein the signals of the reference signal path 302 and the feedback 314 are processed in the desired manner separately 500, 502 to generate processing results. A first processing result is generated from the signal of the reference signal path, i.e. the signal applied to the control unit 323 before the power amplifier 312, and a second processing result is generated from the feedback signal, i.e. the signal applied to the control unit 323 from the output 313. The processing results are compared with each other to generate a control signal 506, which comprises information on the differences between the strengths of the signals of the reference signal path and the feedback for gain control. [0044] Figure 5B shows a processing model wherein the signals of the reference signal path 302 and the feedback 314 are processed together 508. In the processing, the signals of the reference signal path and the feed- back are processed and the signals of the reference signal path and the feedback are compared by generating a control signal 510, which comprises information on the differences between the strengths of the signals of the reference signal path and the feedback for gain control. A mathematical algorithm, e.g. the LMS algorithm (Least Mean Square) may be used in the above gen- eration of the control signal 510. The algorithm defines the delay between the signals of the reference signal path and the feedback, and the difference between the strengths of said signals. The algorithm uses the above to generate the control signal 510 for gain control. [0045] The at least one control signal 506, 510 generated from the processing described above in connection with Figures 5A and 5B can be used to update the information on the transmitter response stored in the memory of the control unit 323. The steps described in connection with Figures 5A and 5B are typically performed in the control unit 323. Signal processing may be based on weighted signal values. Signals can be processed for example by integration. Part of signal processing may also be performed in one or more filters 318, 322. Signal processing may also be performed in one or more detector units 316, 321 , such as in a detector based on the detection of global maximum power values, of which type e.g. detector unit 316, 321 can be. The control unit 323 may also comprise one or more filters for signal processing, the one or more filters being located somewhere on the signal path of the control unit, such as e.g. in the error parameter estimator 425. The above one or more filters may be an analog and/or digital filter. [0046] The error parameter unit 421 and the control signal generator 423 or parts thereof may be implemented processor-based or logics-based. [0047] In the solution of the invention, the gain control based on a control signal generated by the control unit 323 can also be performed on a digital signal before the power amplifier 312. [0048] To summarize, it may be stated that in the solution of the invention, a comparison between the feedback signal and the signal of the reference signal path is performed, error parameters are generated based on said comparison and/or previous error parameters, and control signals based on the error parameters are used to control at least one controller in the next timeslot(s) to adjust the powers of output signals to ideal values or as close as possible to ideal values. The error parameters are updated, if need be. [0049] The parts included in the present specification, whose im- plementations have not been described, at least not in detail, are implemented in accordance with prior art. [0050] Although the invention is described above with reference to examples according to the accompanying figures, it is apparent that the invention is not limited thereto, but can be modified in a variety of ways within the scope of the inventive idea disclosed in the attached claims.

Claims: CLAIMS 1. An arrangement for gain control, the arrangement comprising a modulator (300) for modulating a signal and a power amplifier (312) for amplifying the modulated signal to an output (313), c h a r a c t e r i z e d in that the arrangement comprises: a control unit (323) for comparing a modulated signal of a given timeslot, applied to the control unit before the power amplifier, with a modulated amplified signal of said given timeslot, applied to the control unit after the power amplifier, and for generating a control signal based on said comparison, and a controller (310) for gain control in a following at least one timeslot based on the control signal. 2. An arrangement for gain control, the arrangement comprising a modulator (300) for modulating a signal and a power amplifier (312) for ampli- fying the modulated signal to an output (313), c h a r a c t e r i z e d in that the arrangement comprises: a control unit (323) for comparing a modulated signal of a given timeslot, applied to the control unit before the power amplifier, with a modulated amplified signal of said given timeslot, applied to the control unit after the power amplifier, and for generating a control signal based on said comparison, and a controller (310) for gain control between timeslots based on the control signal. 3. An arrangement as claimed in claim 1 or 2, characterized in that the arrangement comprises a detector unit (316, 321) for detecting and/or creating the absolute value of the signal to be applied. 4. An arrangement as claimed in claim 1 or 2, characterized in that the timeslot is a timeslot according to the TDMA technology (Time Division Multiple Access). 5. An arrangement as claimed in claim 4, characterized in that the arrangement comprises a control unit (323) for comparing the signals in at least one measuring sequence comprising a timeslot according to the TDMA technology (Time Division Multiple Access). 6. An arrangement as claimed in claim 1 or 2, characterized in that the arrangement comprises a control unit (323) for comparing signal power values. 7. An arrangement as claimed in claim 6, characterized in that the arrangement comprises a control unit (323) for comparing the local maximum power values of signals. 8. An arrangement as claimed in claim 6, characterized in that the arrangement comprises a control unit (323) for comparing the global maximum power values of signals. 9. An arrangement as claimed in claim 1 or 2, characterized in that the arrangement comprises a control unit (323) for generating a proc- essing result from the signal applied to the control unit before the power amplifier (312) and for generating a processing result from the signal applied to the control unit from the output (313). 10. An arrangement as claimed in claim 9, characterized in that the arrangement comprises a control unit (323) for comparing the processing results for the generation of a control signal. 11. An arrangement as claimed in claim 1 or 2, characterize d in that the arrangement comprises a control unit (323) for processing signals by integration. 12. An arrangement as claimed in claim 1 or 2, character- i z e d in that the arrangement comprises a control unit (323) for processing signals based on weighted signal values. 13. An arrangement as claimed in claim 1 or 2, characterized in that the arrangement comprises a control unit (323) for comparing the processed signals for the generation of a control signal. 14. An arrangement as claimed in claim 1 or 2, characterized in that the arrangement comprises one or more filters (318, 322) for performing part of the signal processing. 15. An arrangement as claimed in claim 1 or 2, characterized in that the arrangement comprises one or more detector units (316, 321) for performing part of the signal processing. 16. An arrangement as claimed in claim 1 or 2, characterized in that the control unit (323) comprises an error parameter unit (421) for generating error parameters and a control signal generator (423) for generating at least one control signal based on the above error parameters. 17. An arrangement as claimed in claim 1 or 2, characterized in that the arrangement comprises a power level adjuster (320) for ad- justment the power level of the signal to be applied to the control unit (323) to be comparable with the signal to be compared. 18. An arrangement as claimed in claim 1 or 2, characterized in that the control unit (323) comprises one or more filters for process- ing. 19. An arrangement as claimed in claim 1 or 2, characterized in that the control unit (323) comprises a memory, in which error parameters and/or a previously modelled arrangement response is stored. 20. An arrangement as claimed in claim 19, characterized in that the arrangement comprises a control unit (323) for generating a control signal based on error parameters and/or a previously modelled arrangement response. 21. An arrangement as claimed in claim 19, characterized in that the arrangement comprises a control unit (323), whose memory is up- dated, if need be. 22. An arrangement as claimed in claim 1 or 2, characterized in that the controller (310) comprises a discrete controller (414). 23. An arrangement as claimed in claim 1 or 2, characterize d in that the controller (310) comprises a continuous controller (416). 24. An arrangement as claimed in claim 1 or 2, characterized in that the arrangement comprises a control unit (323) for gain control based on a control signal on a digital signal before the power amplifier (312). 25. A method for gain control, in which method a signal is modulated and the modulated signal is amplified with a power amplifier (312) to an output (313), characterized by applying a modulated signal of a given timeslot before the power amplifier (312) to a control unit (323); applying said amplified modulated signal from the output (313) to the control unit (323); comparing the signals in the control unit; generating a control signal in the control unit, based on the comparison; and controlling the gain based on the control signal in a following at least one timeslot. 26. A method for gain control, in which method a signal is modulated and the modulated signal is amplified with a power amplifier (312) to an output (313), c h a r a c t e r i z e d by: applying a modulated signal of a given timeslot before the power amplifier (312) to a control unit (323); applying said amplified modulated signal from the output (313) to the control unit (323); comparing the signals in the control unit; generating a control signal in the control unit, based on the comparison; and controlling the gain based on the control signal between timeslots. 27. A method as claimed in claim 25 or 26, characterized by applying the signal detected and/or as an absolute value. 28. A method as claimed in claim 25 or 26, characterized by the timeslot being a timeslot according to the TDMA technology (Time Division Multiple Access). 29. A method as claimed in claim 28, characterized by comparing the signals in at least one measuring sequence comprising a time- slot according to the TDMA technology (Time Division Multiple Access). 30. A method as claimed in claim 25 or 26, characterized by comparing the signal power values in the comparison. 31. A method as claimed in claim 30, characterized by comparing the local maximum power values of signals in the comparison. 32. A method as claimed in claim 30, c h a r a c t e r i z e d by the global maximum power values of signals in the comparison. 33. A method as claimed in claim 25 or 26, characterized by generating a processing result from the signal applied to the control unit (323) before the power amplifier (312) and generating a processing result from the signal applied to the control unit (323) from the output (313). 34. A method as claimed in claim 33, characterized by comparing the processing results with each other to generate a control signal (506). 35. A method as claimed in claim 25 or 26, characterized by processing the signals by integration. 36. A method as claimed in claim 25 or 26, characterized by processing the signals based on weighted signal values. 37. A method as claimed in claim 25 or 26, characterized by comparing the processed signals to generate a control signal. 38. A method as claimed in claim 25 or 26, characterized by processing the signals partly by filtering with filters (318, 322). 39. A method as claimed in claim 25 or 26, characterized by processing the signals in one or more detector units (316, 321). 40. A method as claimed in claim 25 or 26, characterized by generating error parameters in the control unit (323), based on which a control signal is generated in the control unit. 41. A method as claimed in claim 25 or 26, characterized by setting the power level of the signal to be applied to the control unit (323) to be comparable with the signal to be compared. 42. A method as claimed in claim 25 or 26, characterized by performing the processing by filtering with one or more filters comprised by the control unit (323). 43. A method as claimed in claim 25 or 26, characterized by storing error parameters and/or a previously modelled arrangement response in the memory of the control unit (323). 44. A method as claimed in claim 43, characterized by generating a control signal in the control unit (323) based on the error parameters and/or the previously modelled arrangement response. 45. A method as claimed in claim 43, characterized by updating the memory of the control unit (323) when necessary. 46. A method as claimed in claim 25 or 26, characterized by performing the gain control based on the control signal with a controller (310), which is a discrete controller (414). 47. A method as claimed in claim 25 or 26, characterized by performing the gain control based on the control signal with a controller (310), which is a continuous controller (416). 48. A method as claimed in claim 25 or 26, characterized by performing the gain control based on the control signal on a digital signal before the power amplifier (312).

Inventors: ADOLFSEN PEKKA, DEKKER ANDRE, PORANEN TIMO, ADOLFSEN, PEKKA, DEKKER, ANDRE, PORANEN, TIMO
Applicants: ADOLFSEN PEKKA, DEKKER ANDRE, NOKIA NETWORKS OY, PORANEN TIMO, ADOLFSEN, PEKKA, DEKKER, ANDRE, PORANEN, TIMO
Application year: 2001
Main classification: H03G3
IPC codes: H03G3, H04B1