Method and network node for handling AGC and TPC scaling

09844011 · 2017-12-12

Assignee

Inventors

Cpc classification

International classification

Abstract

The embodiments herein relate to a method in a first network node (301) for handling Automatic Gain Control, AGC, scaling and Transmit Power Control, TPC, scaling of a signal received from a second network node (305). The first network node AGC compensates the signal for any AGC scaling changes. The AGC compensating the signal results in an AGC compensated signal comprising a constant AGC scaling. The first network node detects a TPC scaling change of the signal. The detection is based on the signal after the TPC scaling change and based on a predicted channel estimate. The predicted channel estimate is based on the signal before the TPC scaling change. The first network node TPC compensates for the detected TPC scaling change. The TPC compensation results in an AGC and TPC compensated signal comprising the constant AGC scaling and a constant TPC scaling according to the detected TPC scaling change.

Claims

1. A method, in a first network node, for handling Automatic Gain Control (AGC) scaling and Transmit Power Control (TPC) scaling of a signal received from a second network node, the method comprising: AGC compensating the signal for any AGC scaling changes, wherein the AGC compensating the signal results in an AGC compensated signal comprising a constant AGC scaling; detecting a TPC scaling change of the signal, wherein the detection is based on the signal after the TPC scaling change and based on a predicted channel estimate, wherein the predicted channel estimate is based on the signal before the TPC scaling change; and TPC compensating for the detected TPC scaling change, wherein the TPC compensating results in an AGC and TPC compensated signal comprising the constant AGC scaling and a constant TPC scaling according to the detected TPC scaling change.

2. The method of claim 1, wherein an amplitude of the signal before the TPC scaling change is compared with the amplitude of the signal after the TPC scaling change in order to detect the TPC scaling change.

3. The method of claim 1, wherein the predicted channel estimate is based on a fading model.

4. The method of claim 1: further comprising AGC compensating the predicted channel estimate in response to the AGC scaling of the signal having changed between the signal used for the predicted channel estimate and the signal used for the TPC detection; and wherein the detecting the TPC scaling change is based on the AGC compensated predicted channel estimate.

5. The method of claim 1, wherein the AGC compensating the signal for any AGC scaling change comprises: multiplying the signal before the AGC scaling change with the constant AGC scaling; and dividing the multiplied signal with the signal's respective AGC scaling.

6. The method of claim 1, wherein the constant AGC scaling is selected to be an AGC scaling of the signal after the AGC scaling change.

7. The method of claim 1, wherein the TPC compensating comprises multiplying the signal before the TPC scaling change with the detected TPC scaling change.

8. The method of claim 1, further comprising channel estimating the AGC and TPC compensated signal.

9. The method according to claim 8, further comprising rate adapting the channel estimate of the AGC and TPC compensated signal.

10. The method of claim 9, further comprising re-applying, on the channel estimate, the AGC scaling and the TPC scaling for which the signal has previously been compensated.

11. The method of claim 10, wherein the re-applying the AGC scaling and the TPC scaling comprises: dividing the channel estimate with the constant AGC scaling; multiplying the divided channel estimate with the signal's respective AGC scaling; and dividing the divided and multiplied channel estimate before the TPC scaling change with the detected TPC scaling change.

12. A first network node for handling Automatic Gain Control (AGC) scaling and Transmit Power Control (TPC) scaling of a signal received from a second network node, the first network node comprising: one or more processing circuits; memory containing instructions executable by the one or more processing circuits whereby the one or more processing circuits are configured to function as: an AGC compensating circuit configured to AGC compensate the signal for any AGC scaling change, wherein the AGC compensation results in an AGC compensated signal comprising a constant AGC scaling; a detector configured to detect a TPC scaling change of the signal, wherein the detection is based on the signal after the change in TPC scaling change and based on a predicted channel estimate, wherein the predicted channel estimate is based on the signal before the TPC scaling change; and a TPC compensating circuit adapted to TPC compensate for the detected TPC scaling change, wherein the TPC compensation results in an AGC and TPC compensated signal comprising the constant AGC scaling and a constant TPC scaling according to the detected TPC scaling change.

13. The first network node of claim 12, wherein the detector is configured to compare an amplitude of the signal before the TPC scaling change with the amplitude of the signal after the TPC scaling change in order to detect the TPC scaling change.

14. The first network node of claim 12, wherein the predicted channel estimate is based on a fading model.

15. The first network node of claim 12: wherein the AGC compensating circuit is configured to AGC compensate the predicted channel estimate in response to the AGC scaling of the signal having changed between the signal used for the predicted channel estimate and the signal used for the TPC detection; and wherein the detector is configured to detect the TPC scaling change based on the AGC compensated predicted channel estimate.

16. The first network node of claim 12, wherein the AGC compensating circuit is configured to: multiply the signal before the AGC scaling change with the constant AGC scaling; and divide the multiplied signal with the signal's respective AGC scaling.

17. The first network node of claim 12, wherein the constant AGC scaling is selected to be an AGC scaling of the signal after AGC scaling change.

18. The first network node of claim 12, wherein the TPC compensating circuit is configured to multiply the signal before the TPC scaling change with the detected TPC scaling change.

19. The first network node of claim 12, further comprising a channel estimator circuit configured to channel estimate the AGC and TPC compensated signal.

20. The first network node of claim 19, further comprising a rate adapting circuit configured to rate adapt the channel estimate of the AGC and TPC compensated signal.

21. The first network node of claim 19, further comprising a re-applying circuit configured to re-apply on the channel estimate, the AGC scaling, and the TPC scaling for which the signal has previously been compensated.

22. The first network node of claim 21, wherein the re-applying unit is configured to: divide the channel estimate with the constant AGC scaling; multiply the divided channel estimate with the signal's respective AGC scaling; and divide the divided and multiplied channel estimate before the TPC scaling change with the detected TPC scaling change.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) The embodiments herein will now be further described in more detail in the following detailed description by reference to the appended drawings illustrating the embodiments and in which:

(2) FIG. 1 are graphs illustrating embodiments of a true channel (ideal channel estimate) and channel estimation without TPC or AGC compensation.

(3) FIG. 2 are graphs Illustrating embodiments of a true channel (ideal channel estimate) and channel estimation with TPC and AGC compensation.

(4) FIG. 3 is a schematic block diagram illustrating embodiments of a communications network.

(5) FIG. 4 is a flow chart illustrating embodiments of a method.

(6) FIG. 5 is a schematic block diagram illustrating embodiments of slot a structure of WCDMA Dedicated Physical Control CHannel (DPCCH) channel with 6 pilot symbols and 4 non-pilot symbols in each slot.

(7) FIG. 6 is a schematic block diagram illustrating embodiments of a channel estimation in which the non-pilot symbols are demodulated and detected such that they may be used as pilot symbols.

(8) FIG. 7 is a schematic block diagram illustrating embodiments of the predicted channel estimate.

(9) FIG. 8a-b is a signaling diagram illustrating embodiments of a method for use in the channel estimation for WCDMA.

(10) FIG. 9a-c are flow charts illustrating embodiments of a method in a first network node.

(11) FIG. 10 is a schematic block diagram illustrating embodiments of a first network node.

(12) The drawings are not necessarily to scale and the dimensions of certain features may have been exaggerated for the sake of clarity. Emphasis is instead placed upon illustrating the principle of the embodiments herein.

DETAILED DESCRIPTION

(13) The embodiments herein detect the TPC commands by comparing the amplitude of received signal before and after the expected TPC scaling change. Also, both the amplitude changes due to AGC and TPC commands are compensated before channel estimation. The AGC and TPC commands are reapplied to the estimated channel after the channel estimation processing. In other words, the embodiments describe how to detect the TPC commands in a network node and how to compensate for both TPC and AGC scaling changes before the channel estimation and the TPC detection.

(14) FIG. 3 depicts a communications network 300 in which embodiments herein may be implemented. The communications network 300 may in some embodiments apply to one or more radio access technologies such as for example Long Term Evolution (LTE), LTE Advanced, WCDMA, Global System for Mobile Communications (GSM), Worldwide Interoperability for Microwave Access (WiMax), WiFi, or any other radio access technology, or other radio access technologies such as Wireless Local Area Network (WLAN).

(15) The wireless communications network 300 comprises a first network node 301 which is adapted to communicate with a second network node 305 via a communication link 310. In some embodiments, the first network node 301 is a base station and the second network node is a wireless device. In other embodiments, the first network node 301 is a wireless device and the second network node 305 is a base station. In yet other embodiments, both nodes are wireless devices such as in a Device to Device (D2D) communication. Also, both nodes might be base stations or other stationary nodes, such as for wireless backhaul or relay nodes.

(16) The base station may be a network node such as an eNB, NodeB, an eNodeB, Radio Network Controller (RNC), BTS or any other network unit capable to communicate via the communications link 310 with the wireless device.

(17) The wireless device may be a device by which a subscriber may access services offered by an operator's network and services outside operator's network to which the operator's radio access network and core network provide access, e.g. access to the Internet. The wireless device may be any device, mobile or stationary, enabled to communicate over a radio channel in the communications network, for instance but not limited to e.g. user equipment, mobile phone, smart phone, sensors, meters, vehicles, household appliances, medical appliances, media players, cameras, M2M device or any type of consumer electronic, for instance but not limited to television, radio, lighting arrangements, tablet computer, laptop or PC. The wireless device may be portable, pocket storable, hand held, computer comprised, or vehicle mounted devices, enabled to communicate voice and/or data, via the radio access network, with another entity, such as another wireless device or a server.

(18) It should be noted that the communications link 310 between the first network node 301 and the second network node 305 may be of any suitable kind comprising either a wired or wireless link. The link may use any suitable protocol depending on type and level of layer (e.g. as indicated by the Open Systems Interconnection (OSI) model) as understood by the person skilled in the art.

(19) The method for handling AGC scaling and TPC scaling of a signal received from a second network node 305, according to some embodiments will now be described with reference to the flowchart depicted in FIG. 4. The signal may be a reference signal. The method comprises the following steps, which steps may as well be carried out in another suitable order than described below.

(20) Step 401

(21) The first network node 301 receives the reference signal from the second network node 305. In some embodiments, the reference signal comprises symbols such as e.g. pilot symbol(s) and non-pilot symbol(s). In some embodiments, the reference signal is referred to as reference symbols or samples of the reference signal. A reference signal may be e.g. a DPCCH symbol for WCDMA or an LTE reference signal. In the following, a DPCCH symbol comprising pilot symbols and non-pilot symbols for WCDMA is used as an example. However, the embodiments herein are equally applicable to any type of reference signals. A DPCCH pilot symbol is a symbol which is completely known by the receiver while “non-pilot symbols” comprises control information. This control information is usually very robust coded such that it is possible to detect these “non-pilot symbols” very accurately. After detection, the “non-pilot symbols” may be considered as known and then used for channel estimation. In more detail, the first network node 301 receives at least one sample of the reference signal. A sample refers to a value or set of values at a point in time and/or space. Each sample of the reference signal may have an AGC scaling, a TPC scaling or both. The AGC scaling and/or the TPC scaling of a sample of the reference signal may be different from the AGC scaling and/or the TPC scaling of a previously received sample of the reference signal, e.g. there has been a change in the AGC and/or TPC scaling. Such AGC and/or TPC scaling may be seen as a change in the amplitude of the reference signal or as a time varying scaling due to AGC and TPC scaling.

(22) Step 402

(23) As a step 402, AGC compensation of any AGC scaling change is done by the first network node 301 such that all reference symbols in the reference signal have a common and constant AGC scaling. In other words, all time-varying AGC scaling is compensated for, i.e. removed, resulting in an AGC compensated signal with a constant AGC scaling. This common and constant AGC scaling may e.g. be chosen as the AGC scaling of the last received pilot symbol, such that all previously received pilot symbols are then multiplied with this common constant AGC scaling and divided by their respectively AGC scaling. If the channel estimate comprises state variables, then these must also be AGC scaled accordingly. This is described in more detail in FIG. 8. A state variable is one of the set of variables that are used to describe the mathematical “state” of a dynamical system. The AGC compensation of step 402 is performed before the TPC detection in step 403.

(24) Step 403

(25) The TPC scaling change of the reference signal is detected. From this detected change, the TPC command(s) applied to the received reference signal may be derived. This is described in more detail below. Within the TPC detection performed by the first network node 301, a predicted channel estimate is needed which will also be described in more detail below. The detection of the TPC scaling change may comprise detection of a first TPC command used before the TPC scaling change and a second TPC command used after the TPC scaling change, i.e. a plurality of samples are used in the TPC detection.

(26) Step 404

(27) The first network node 301 predicts the channel estimate needed by the TPC detector in step 403. The predicted channel estimate is a channel estimate based on received pilot symbols before the time instant with a potential TPC scaling change. The channel estimation might be used to calculate the predicted channel estimate.

(28) The predicted channel estimate is based on previously received reference signals up to slot “m−1” and used in the TPC detection between slot “m−1” and slot “m”, wherein the current reference signal is received in slot m, and wherein m is a positive integer. Thus, several samples of the reference signal are used for the predicted channel estimate.

(29) Step 405

(30) The predicted channel estimate, to be used in the TPC detector, is calculated from reference signals received up to, but not including, the TPC scaling change. This calculated predicted channel estimate is then used when reference signals are received after the TPC scaling change. In this delay one slot, the predicted channel estimate is stored between the receptions of reference signals of one slot to the reception of reference signals for the following slot.

(31) Step 406

(32) If the AGC scaling is changing between the samples of the reference signal used for the predicted channel estimate in step 404 and the samples of the reference signal used for the TPC detection in step 403, then the first network node 301 may perform an AGC rescaling of the predicted channel estimate. This rescaling is done as outlined in the step number 402 above.

(33) For WCDMA, these changes in amplitude of the reference signal due to the TPC scaling occur at slot borders. The predicted channel estimate is then based on received samples of the reference signal up to slot “m−1” and used in the TPC detection in step 403 between slot “m−1” and slot “m”. Here, “m” is a positive integer and larger than zero.

(34) Step 407

(35) After the TPC detection in step 403, all received reference symbols are compensated with differences in the scaling from detected TPC scaling change, in addition to the AGC compensation in step 402. For example, the pilot symbols received in previous slots may be divided by the detected TPC scaling change between slot “m−1” and slot “m”. If the channel estimate comprises state variables, then these may also be scaled accordingly. The outcome of step 407 is an AGC and TPC compensated signal.

(36) Step 408

(37) The first network node 301 performs a channel estimation using the AGC and TPC compensated pilot symbols. An example embodiment of a channel estimation algorithm for WCDMA is given below.

(38) Step 409

(39) The channel estimator of the first network node 301 may deliver channel estimates at the same rate as reference symbols. For WCDMA, this reference symbol rate equals the DPCCH symbol rate which is 15 kHz, see section 5.2.1.1 in 3GPP TS 25.211, V11.3.0, corresponding to a spreading factor of 256. However, this rate might differ from the rate in which data symbols are received. The data symbols are transmitted on another physical channel compared to the reference signals. For WCDMA, the physical channels are created by using different spreading codes.

(40) For WCDMA, the data rate on a Dedicated Physical Data CHannel (DPDCH) may be configured to be between 15 000 and 960 000 reference symbols/second and on Enhanced-DPCCH (E-DPCCH) between 15 000 and 1 920 000 reference symbols/second, see section 5.2.1 in 3GPP TS 25.211, V11.3.0. In such embodiment, the first network node 301 performs a rate adaptation of the channel estimates to the user data rate. One embodiment of a rate adaptation method is to calculate a linear interpolation between the channel estimates closest to the time position of reception of the data symbol. In another embodiment of the rate adaptation, the channel estimate for the time position which is closest in time to the time position of the data symbol is used. Other embodiments of rate adaption methods may comprise Rayleigh fading models together with Signal to Noise Ratio (SNR) and Doppler spread estimates. SNR is a measure that compares the level of a desired signal to the level of background noise. It is defined as the ratio of signal power to the noise power. The coherence time of the channel is related to a quantity known as the Doppler spread of the channel. When a user is moving, the user's velocity causes a shift in the frequency of the signal transmitted along each signal path. This phenomenon is known as the Doppler shift. Signals traveling along different paths may have different Doppler shifts, corresponding to different rates of change in phase. The difference in Doppler shifts between different signal components contributing to a single fading channel tap is known as the Doppler spread.

(41) One feature of the rate adaption is that it use channel estimates without time varying scaling due to AGC and TPC.

(42) For WCDMA, this rate adaption may comprise channel estimates from different slots. It is thus important that these channel estimates before the rate adaptation in step 409 do not have differences in scaling due to AGC and TPC commands.

(43) Step 410

(44) The first network node 301 performs an AGC and TPC scaling by multiplying the time varying scaling due to AGC and TPC scaling change with the rate adapted channel estimates such that the channel estimates describes both the impact of the radio channel on the received signal as well as the scaling due to AGC and TPC.

(45) Step 411

(46) The result of the method described in FIG. 4 is a channel estimate describing both the radio channel as well as the scaling due to the AGC and TPC.

(47) Channel Estimation

(48) The channel estimation in step 408 will now be described in more detail. Channel estimation for e.g. WCDMA is done separately for each RAKE finger and antenna by the use of received DPCCH symbols, see illustration in FIG. 5. The first network node 301 comprises a plurality of RAKE fingers and a plurality of antennas. A RAKE receiver mitigates multipath fading effects. The RAKE receiver does this by using several sub-receivers, also referred to as RAKE fingers. Each RAKE finger is delayed slightly in order to tune in to the individual multipath components. Here, both the pilot symbols and the so-called non-pilots symbols may be used in the channel estimation. The pilot symbols are seen in the white boxes and the non-pilots are seen in the hatched boxes. In FIG. 5, one slot is exemplified to comprise six pilot symbols and four non-pilot symbols. The non-pilots are then typically demodulated and detected with a temporary channel estimate, and may then be used as pilot symbols in the channel estimation, see a brief example below.

(49) In order to reduce the impact of interference and additive noise, a processing (e.g. a linear filter) which comprises several received and de-spread DPCCH symbols (both pilots and non-pilots) over time may be used in forming a channel estimate. Furthermore, channel estimates are typically needed for several time instants within a slot, e.g. at DPCCH symbol rate (i.e. 15 symbols/second) or at the rate in which user data symbols are received (15 000 to 1 920 000 symbols/second, see section 5.2.1 in 3GPP TS 25.211, V11.3.0). Examples of such processing to get good channel estimates at the DPCCH rate may be mean value calculations, a weighted sum, or linear filtered version of several received and despread DPCCH symbols. However, with time varying AGC scaling and time varying TPC scaling, these channel estimates becomes biased. The channel estimates may thus be improved by modifying the received and despread signals to a common constant AGC scaling before any channel estimation processing is performed. In the same way, the impact of the TPC may be compensated.

(50) WCDMA Channel Estimation with Non-Pilot Detection

(51) The channel estimation for WCDMA in step 408 of FIG. 4 may be based on both pilot symbols and non-pilot DPCCH symbols. FIG. 6 illustrates an embodiment of substeps of step 408. In FIG. 6, the non-pilot symbols are demodulated and detected in order to use them as pilot symbols. In FIG. 6, slot “m−1” comprises six pilot symbols illustrated with blank boxes and four non-pilot symbols illustrated with grey boxes. Slot “m”, which is a slot following slot “m−1”, comprises six pilot symbols illustrated with white boxes and four non-pilot symbols illustrated with hatched boxes. Slot “m” is referred to as the current slot and slot “m−1” is referred to as the previous slot. The constant “m” is a positive integer larger than 0. The embodiment comprises the following steps seen in FIG. 6, which steps may be performed in any suitable order than described below:

(52) Step 601

(53) The first network node 301 estimates the channel using the pilot symbols of previous slot “m−1”.

(54) Step 602

(55) The first network node 301 averages the received and demodulated pilot symbols of current slot “m”.

(56) Step 603

(57) The first network node 301 interpolates the channel over the non-pilot symbols between the last channel estimate from step 601 and the average from step 602. These interpolated channel estimates are used as temporary channel estimates in the demodulation of step 604.

(58) Step 604

(59) The first network node 301 demodulates and detects the non-pilots symbols for slot “m−1” by the use of temporary channel estimates from step 603.

(60) Step 605

(61) The first network node 301 estimates the channel using the non-pilot symbols as pilot symbols in slot “m−1”. The first network node 301 updates the slot index i.e. it sets “m=m+1” and returns to step 601.

(62) TPC Detection for WCDMA

(63) Step 403 of FIG. 4 will now be described in more detail and using the example of a WCDMA network.

(64) Denoting the received and despread reference signals in step 401 for slot “m”, DPCCH symbol “n”, RAKE finger “r” and antenna “a” as follows in equation (1):
y(m,n,r,a)=h(m,n,r,a)+u(m,n,r,a).  (1)

(65) The first network node 301 assumes that the predicted channel estimate ĥ.sub.pred(m,n,r,a|m−1) is available for the current slot “m”, based on samples of the received signal in a previous slot number “m−1”, as illustrated in FIG. 7. This predicted channel estimate ĥ.sub.pred may e.g. be equal to the average of the pilot symbols of the previous slot or more advanced channel prediction based on e.g. a fading model. These advanced channel prediction based on channel models include methods when the correlation in time of the channel is modeled by statistical functions such as Bessel functions or Auto-Regressive models. The pilot symbols are illustrated with white boxes and the non-pilot symbols are illustrated with hatched boxes in FIG. 7.

(66) The first network node 301 defines the TPC scaling amplitude as Δ=10.sup.1/20 or Δ=10.sup.2/20 (i.e. 1 or 2 dB in linear scale) if “algorithm 1” is used, and Δ=10.sup.1/20 if “algorithm 2” is used.

(67) The first network node 301 bases the TPC detection of step 403 in FIG. 4 on calculations of the following decision metrics:
D.sub.up=Σ.sub.nΣ.sub.rΣ.sub.a|y(m,n,r,a)−Δ.Math.h.sub.pred(m,n,r,a|m−1|.sup.p  (2)
D.sub.down=Σ.sub.nΣ.sub.rΣ.sub.a|y(m,n,r,a)−Δ.Math.h.sub.pred(m,n,r,a|m−1|.sup.p  (3)
D.sub.0=Σ.sub.nΣ.sub.rΣ.sub.a|y(m,n,r,a)−h.sub.pred(m,n,r,a|m−1|.sup.p  (4)
where the summations typically span the pilot symbols “n” of current slot “m” with several rake fingers “r” and antennas “a”, and where p defines the norm used. For example, p=1 corresponds to using the first norm. Another example is p=2 which corresponds to using the second norm i.e. ∥.sup.2 which denotes an absolute square.

(68) For “algorithm 1”, only the decision metrics D.sub.up (i.e. power increase) and D.sub.down (i.e. power decrease) are needed i.e.

(69) Δ ^ DPCCH = { Δ if D UP < D down Δ - 1 otherwise ( 5 )

(70) The criterion D.sub.up<D.sub.down used for “algorithm 1” for p=2 may be simplified to

(71) Re { Σ n Σ r Σ a y * ( m , n , r , a ) .Math. h pred ( m , n , r , a | m - 1 ) } > ( Δ 2 + 1 ) 2 Δ Σ n Σ r Σ a .Math. h pred ( m , n , r , a .Math. m - 1 .Math. ) .Math. 2 ( 6 )
where * denotes a complex conjugate.

(72) For “algorithm 2” all three decision metrics are needed, i.e.

(73) Δ ^ DPCCH = { Δ if D UP < D 0 1 if D 0 < D down Δ - 1 otherwise ( 7 )

(74) The criterion D.sub.up<D.sub.0 used for “algorithm 2” for p=2 may be simplified to
Re{Σ.sub.nΣ.sub.rΣ.sub.ay*(m,n,r,a).Math.h.sub.pred(m,n,r,a|m−1)}>½(Δ+1)Σ.sub.nΣ.sub.rΣ.sub.a|h.sub.pred(m,n,r,a|m−1|)|.sup.2  (8)
and the criterion D.sub.0<D.sub.down may be simplified to

(75) Re { Σ n Σ r Σ a y * ( m , n , r , a ) .Math. h pred ( m , n , r , a | m - 1 ) } > 1 2 Δ ( Δ + 1 ) Σ n Σ r Σ a .Math. h pred ( m , n , r , a .Math. m - 1 .Math. ) .Math. 2 ( 9 )
TPC Detection with Residual Decorrelation

(76) The TPC detection performed by the first network node 301, as previously proposed, may also comprise a residual decorrelation by including a noise covariance matrix:

(77) D up = Σ n .Math. _ up H ( m , n ) C - 1 ( m ) .Math. _ up ( m , n ) , ( 10 ) D down = Σ n .Math. _ down H ( m , n ) C - 1 ( m ) .Math. _ down ( m , n ) , ( 11 ) D 0 = Σ n .Math. _ 0 H ( m , n ) C - 1 ( m ) .Math. _ 0 ( m , n ) , ( 12 )
where H denotes a complex conjugate transpose and where
ε.sub.up(m,n), ε.sub.down(m,n), ε.sub.0(m,n) are vectors with residuals:
ε.sub.up(m,n,r,a)=y(m,n,r,a)−Δ.Math.h.sub.pred(m,n,r,a|m−1),  (13)
ε.sub.down(m,n,r,a)=y(m,n,r,a)−Δ.sup.−1.Math.h.sub.pred(m,n,r,a|m−1),  (14)
ε.sub.0(m,n,r,a)=y(m,n,r,a)−h.sub.pred(m,n,r,a|m−1),  (15)
for all RAKE fingers and antennas of the first network node 301 and where C.sup.−1 is the inverse of a residual covariance matrix C. This residual covariance matrix may be estimated by the first network node 301 e.g. based on unused spreading codes.

(78) The method for handling AGC scaling and TPC scaling of a signal received from a second network node 305, according to some embodiments will now be described with reference to the combined flowchart depicted in FIGS. 8a and 8b. FIG. 8b is a continuation of FIG. 8a. The received reference signal is shown at the top of FIG. 8a. Slot “m−1” comprises six pilot symbols represented by white boxes and four non-pilot symbols represented by hatched boxes. Slot “m” in FIG. 8a comprises six pilot symbols and four non-pilot symbols. The method comprises the following steps, which steps may as well be carried out in another suitable order than described below:

(79) Step 801

(80) This step is seen in FIG. 8a and is a step which corresponds to step 401 in FIG. 4. The first network node 301 receives six pilot symbols in slot “m−1”.

(81) Step 802

(82) This step is seen in FIG. 8a and is a step which corresponds to step 402 in FIG. 4. The first network node 301 performs AGC compensation of each of the six pilot symbols received in the reference signal in slot “m−1” in step 801. The AGC compensation is for any AGC scaling change of the received signal. The AGC scaling change may be seen as a time varying AGC scaling. The resulting AGC compensated signal comprises a constant AGC scaling.

(83) Step 803

(84) This step is seen in FIG. 8a and is a step which corresponds to step 403 in FIG. 4. The first network node 301 performs TPC detection of all six pilot symbols from step 801 together, i.e. a TPC scaling change is detected.

(85) Step 804

(86) This step is seen in FIG. 8a and is a step which corresponds to step 407 in FIG. 4. The first network node 301 performs TPC compensation of the AGC compensated signal in step 802, which results in an AGC and TPC compensated signal. The TPC compensation is a compensation of the detected TPC scaling change. The AGC and TPC compensated signal comprises all six pilot symbols. The AGC and TPC compensated signal comprises the constant AGC scaling and a constant TPC scaling according to the detected TPC scaling change.

(87) Step 805

(88) This step is seen in FIGS. 8a and 8b, and is a step which corresponds to step 408 in FIG. 4. The first network node 301 derives an internal channel estimate based on the AGC and TPC compensated signal from step 804.

(89) Step 806

(90) This step is seen in FIG. 8b and is a step which corresponds to step 409 in FIG. 4. The first network node 301 performs rate adaptation of the channel estimate from step 805.

(91) Step 807

(92) This step is seen in FIG. 8b and is a step which corresponds to step 410 in FIG. 4. The first network node 301 applies the AGC and TPC scaling from which the signal previously was compensated.

(93) Step 808

(94) This step is seen in FIG. 8b. The result of the AGC and TPC scaling in step 807 is a channel estimate for slot “m−2”.

(95) Step 809

(96) This step is seen in FIG. 8a and is a step which corresponds to step 401 in FIG. 4. The first network node 301 receives four non-pilot symbols in the reference signal in slot “m−1”.

(97) Step 810

(98) This step is seen in FIG. 8a and is a step which corresponds to step 402 in FIG. 4. The first network node 301 performs AGC compensation of the non-pilot symbols received in the reference signal in slot “m−1”. The AGC compensation is a compensation for any AGC scaling change of the signal. The AGC scaling change may be caused by a varying AGC scaling.

(99) Step 811

(100) This step is seen in FIG. 8a and is a step which corresponds to step 407 in FIG. 4. The first network node 301 performs TPC compensation of the four non-pilot symbols in slot “m−1” received in step 809, resulting in a TPC compensated signal. The TPC compensation is a compensation for a TPC scaling change.

(101) The TPC compensation 811 receives TPC detection results from step 819. TPC detection is not performed on the non-pilot symbols in slot “m−1” because the non-pilot symbols cannot be used in the TPC detection because they are unknown. The non-pilot symbols of slot “m−1” are detected in the channel estimate in step 820 after receiving the pilot symbols of slot “m”.

(102) Step 812

(103) This step is seen in FIG. 8a. The first network node 301 provides channel estimate internal signals based on the channel estimate from step 805.

(104) Step 813

(105) This step is seen in FIG. 8a and is a step which corresponds to step 402 in FIG. 4. The first network node 301 performs AGC compensation of the internal channel estimate from step 805. The AGC compensation is a compensation of an AGC scaling change.

(106) Step 814

(107) This step is seen in FIG. 8a and is a step which corresponds to step 407 in FIG. 4. The first network node 301 performs TPC compensation of the internal channel estimate from step 805, i.e. a compensation of a TPC scaling change. The TPC compensation in step 814 receives TPC detection results from step 819. The TPC compensating of step 814 receives the detected TPC scaling from step 819.

(108) Step 815

(109) This step is seen in FIG. 8a and is a step which corresponds to step 404 in FIG. 4. In some embodiments, the first network node 301 predicts a channel estimate based on the channel estimate from step 805.

(110) Step 816

(111) This step is seen in FIG. 8a and is a step which corresponds to step 406 in FIG. 4. In some embodiments, the first network node 301 performs an AGC compensation of any AGC scaling changes of the predicted channel estimate from step 815.

(112) Step 817

(113) This step is seen in FIG. 8a and is a step which corresponds to step 401 in FIG. 4. The first network node 301 receives six pilot symbols in the reference signal in slot “m”.

(114) Step 818

(115) This step is seen in FIG. 8a and is a step which corresponds to step 402 in FIG. 4. The first network node 301 performs AGC compensation of any AGC scaling change of the pilot symbols received in the reference signal in slot “m”.

(116) Step 819

(117) This step is seen in FIG. 8a and is a step which corresponds to step 403 in FIG. 4. The first network node 301 performs TPC detection of a TPC scaling change of the pilot symbol received in step 817. The TPC detection may be based on the predicted channel estimate from step 815 or from the AGC compensated predicted channel estimate from step 816.

(118) Step 820

(119) This step is seen in FIGS. 8a and 8b, and is a step which corresponds to step 408 in FIG. 4. The first network node 301 derives a channel estimate based on the AGC compensated signal from step 818 and the TPC compensated signals from steps 811 and 814.

(120) Step 821

(121) This step is seen in FIG. 8b and is a step which corresponds to step 409 in FIG. 4. The first network node 301 performs rate adaptation of the derived channel estimate form step 820.

(122) Step 822

(123) This step is seen in FIG. 8b and is a step which corresponds to step 410 in FIG. 4. The first network node 301 performs AGC and TPC scaling by applying the AGC and TPC scaling from which the signal previously was compensated.

(124) Step 823

(125) This step is seen in FIG. 8b. The result of the AGC and TPC scaling in step 822 is a channel estimate for slot “m−1”.

(126) As a result of the steps of FIG. 8, a channel estimate for the slot “m−1” and for the slot “m−2” is produced.

(127) Even though the above example embodiments uses six pilot symbols and four non-pilot symbols, any other suitable number of pilot and non-pilot symbols may be applicable. For example, the number of pilot symbols may be configured to be any number between 3 and 8, i.e. 3, 4, 5, 6, 7 or 8. In total, there may be 10 bits per slot for DPCCH. If there are 3 pilot symbols there are 7 non-pilot symbols in a slot. If there are 4 pilot symbols there are 6 non-pilot symbols. If there are 5 pilot symbols there are 5 non-pilot symbols. If there are 6 pilot symbols there are 4 non-pilot symbols. If there are 7 pilot symbols there are 3 non-pilot symbols. If there are 8 pilot symbols there are 2 non-pilot symbols.

(128) The method described above will now be described seen from the perspective of the first network node 301. FIGS. 9a-c are flowcharts describing the present method in the first network node 301 for handling AGC scaling and TPC scaling of a signal received from a second network node 305. The signal may be a reference signal comprising pilot symbols and non-pilot symbols. FIG. 9a illustrates steps 901, 902 and 903. FIG. 9b illustrates steps 901, 901a, 901b, 902, 903, 903a, 904 and 905. FIG. 9c illustrates steps 906, 907, 907a, 907b and 907c. The method comprises the following steps to be performed by the first network node 301:

(129) Step 901

(130) This step is seen in FIGS. 9a and 9b. This step corresponds to step 402 in FIG. 4, steps 802, 810 and 818 in FIG. 8. The first network node 301 AGC compensates the signal for any AGC scaling change. The AGC scaling change may be seen as a varying AGC scaling. The AGC compensation results in an AGC compensated signal comprising a constant AGC scaling.

(131) Step 901a

(132) This step is seen in FIG. 9b. This step corresponds to step 402 in FIG. 4 and steps 802, 810, 813 and 818 in FIG. 8. This step is a substep of step 901. In some embodiments, the first network node 301 multiplies the signal before the AGC scaling change with the constant AGC scaling.

(133) Step 901b

(134) This step is seen in FIG. 9b. This step corresponds to step 402 and steps 802, 810 and 818 in FIG. 8. This step is a substep of step 901 and a step that is performed after substep 901a. In some embodiments, the first network node divides the multiplied signal with the signal's respective AGC scaling.

(135) Step 902

(136) This step is seen in FIGS. 9a and 9b. This step corresponds to step 403 in FIG. 4 and to steps 803 and 819 in FIG. 8. The first network node 301 detects a TPC scaling change of the signal. The detection is based on the signal after the TPC scaling change and based on a predicted channel estimate. The predicted channel estimate is based on the signal before the TPC scaling change.

(137) In some embodiments, an amplitude of the signal before the TPC scaling change is compared with the amplitude of the signal after the TPC scaling change in order to detect the TPC scaling change. In some embodiments, the TPC scaling change is an expected TPC scaling which occurs at a slot border.

(138) In some embodiments, the predicted channel estimate is based on a fading model.

(139) In some embodiments, the detection of the TPC scaling change is based on the AGC compensated predicted channel estimate.

(140) Step 903

(141) This step is seen in FIGS. 9a and 9b. This step corresponds to step 407 in FIG. 4 and steps 804, 811 and 814 in FIG. 8. The first network node 301 TPC compensates for the detected TPC scaling change. The TPC compensation results in an AGC and TPC compensated signal comprising the constant AGC scaling and a constant TPC scaling according to the detected TPC scaling change.

(142) In some embodiments, the constant AGC scaling is selected to be an AGC scaling of the signal after the AGC scaling change.

(143) Step 903a

(144) This step is seen in FIG. 9b. This step corresponds to step 407 in FIG. 4 and steps 804, 811 and 814 in FIG. 8. This is a substep of step 903. In some embodiments, the first network node 301 multiplies the signal before the TPC scaling change with the detected TPC scaling change.

(145) Step 904

(146) This step is seen in FIG. 9b. This step corresponds to step 408 in FIG. 4 and steps 805 and 820 in FIG. 8. In some embodiments, the first network node 301 channel estimates the AGC and TPC compensated signal, i.e. it derives a channel estimate of the AGC and TPC compensated signal.

(147) Step 905

(148) This step is seen in FIG. 9b. This step corresponds to step 406 in FIG. 4 and step 816 in FIG. 8. In some embodiments, the first network node 301 AGC compensates the predicted channel estimate if the AGC scaling of the signal has changed between the signal used for the predicted channel estimate and the signal used for the TPC detection.

(149) Step 906

(150) This step is seen in FIG. 9c. This step corresponds to step 409 in FIG. 4 and steps 806 and 821 in FIG. 8. In some embodiments, the first network node 301 rate adapts the channel estimate of the AGC and TPC compensated signal.

(151) Step 907

(152) This step is seen in FIG. 9c. This step corresponds to step 410 in FIG. 4 and steps 807 and 822 in FIG. 8. In some embodiments, the first network node 301 re-applies, on the channel estimate from step 408 or step 409, the AGC scaling and the TPC scaling for which the signal has previously been compensated.

(153) Step 907a

(154) This step is seen in FIG. 9c. This step corresponds to step 410 in FIG. 4. This is a substep of step 907. In some embodiments, the first network node 301 divides the channel estimate with the constant AGC scaling.

(155) Step 907b

(156) This step is seen in FIG. 9c. This step corresponds to step 410 in FIG. 4. This is a substep of step 907. In some embodiments, the first network node 301 multiplies the divided channel estimate with the signal's respective AGC scaling.

(157) Step 907c

(158) This step is seen in FIG. 9c. This step corresponds to step 410 in FIG. 4. This step is a substep of step 907. In some embodiments, the first network node 301 divides the divided and multiplied channel estimate before the TPC scaling change with the detected TPC scaling change. The steps 907a, 907b and 907c may be performed in any suitable order.

(159) To perform the method steps shown in FIGS. 9a-c for handling AGC scaling and TPC scaling of a signal received from a second network node 305 the first network node 301 comprises an arrangement as shown in FIG. 10.

(160) The first network node 301 comprises an AGC compensating unit 1001 which is adapted to AGC compensate the signal for any AGC scaling change. The AGC scaling change may be seen as a varying AGC scaling. The AGC compensation results in an AGC compensated signal comprising a constant AGC scaling. In some embodiments, the AGC compensating unit 1001 is further adapted to AGC compensate the predicted channel estimate if the AGC scaling of the signal has changed between the signal used for the predicted channel estimate and the signal used for the TPC detection. In some embodiments, the AGC compensating unit 1001 is further adapted to multiply the signal before the AGC scaling change with the constant AGC scaling, and adapted to divide the multiplied signal with the signal's respective AGC scaling. In some embodiments, the constant AGC scaling is selected to be an AGC scaling of the signal after the AGC scaling change.

(161) The first network node 301 comprises a detector 1003 which is adapted to detect a TPC scaling change of the signal. The detection is based on the signal after the TPC scaling change and based on a predicted channel estimate. The predicted channel estimate is based on the signal before the TPC scaling change. In some embodiments, the detector 1003 is adapted to compare an amplitude of the signal before the TPC scaling change with the amplitude of the signal after the TPC scaling change in order to detect the TPC scaling change. In some embodiments, the predicted channel estimate is based on a fading model. In some embodiments, the detector 1003 is further adapted to detect the TPC scaling change based on the AGC compensated predicted channel estimate.

(162) The first network node 301 comprises a TPC compensating unit 1005 which is adapted to TPC compensate for the detected TPC scaling change. The TPC compensation results in an AGC and TPC compensated signal comprising the constant AGC scaling and a constant TPC scaling according to the detected TPC scaling change. In some embodiments, the TPC compensating unit 1005 is further adapted to multiply the signal before the TPC scaling change with the detected TPC scaling change.

(163) The first network node 301 may further comprise a channel estimator 1008 which is adapted to channel estimate the AGC and TPC compensated signal.

(164) The first network node 301 may further comprise a rate adapting unit 1010 which is adapted to rate adapt the channel estimate of the AGC and TPC compensated signal.

(165) The first network node 301 may further comprise a re-applying unit 1013 which is adapted to re-apply on the channel estimate, the AGC scaling and the TPC scaling for which the signal has previously been compensated. In some embodiments, the re-applying unit 1013 is further adapted to divide the channel estimate with the constant AGC scaling, multiply the divided channel estimate with the signal's respective AGC Scaling, and adapted to divide the divided and multiplied channel estimate before the change in TPC scaling with the detected TPC scaling change.

(166) The first network node 301 may comprise a receiver 1015 which is adapted to receive reference signals, pilot symbols, non-pilot symbols etc. from the second network node 305.

(167) The first network node 305 may comprises a transmitter 1018 which is adapted to transmit signals to other nodes in the communications network 300, such as e.g. the second network node 305.

(168) The first network node 301 may further comprise a memory 1020 comprising one or more memory units. The memory 1020 is arranged to be used to store data, received data streams, power level measurements, signals, pilot symbols, non-pilot symbols, AGC compensated signals, TPC compensate signals, detected TPC scaling changes, TPC commands, channel estimates, rate adapted signals, AGC scaling, TPC scaling, predicted channel estimates, channel estimate internal values, amplitudes, threshold values, time periods, configurations, schedulings, and applications to perform the methods herein when being executed in the first network node 301.

(169) The present mechanism for handling AGC scaling and TPC scaling of a signal received from a second network node 305 may be implemented through one or more processors, such as a processor 1023 in the first network node 301 depicted in FIG. 10 together with computer program code for performing the functions of the embodiments herein. The processor may be for example a Digital Signal Processor (DSP), Application Specific Integrated Circuit (ASIC) processor, Field-Programmable Gate Array (FPGA) processor or microprocessor. The program code mentioned above may also be provided as a computer program product, for instance in the form of a data carrier carrying computer program code for performing the embodiments herein when being loaded into the first network node 301. One such carrier may be in the form of a CD ROM disc. It is however feasible with other data carriers such as a memory stick. The computer program code may furthermore be provided as pure program code on a server and downloaded to the first network node 301.

(170) Those skilled in the art will also appreciate that the AGC compensating unit 1001, the detector 1003, the TPC compensating unit 1005, the channel estimator 1008, the rate adapting unit 1010, the re-applying unit 1013, the receiver 1015 and the transmitter 1018 described above may refer to a combination of analog and digital circuits, and/or one or more processors configured with software and/or firmware, e.g. stored in a memory, that when executed by the one or more processors such as the processor 1023 perform as described above.

(171) The embodiments herein are not limited to the above described embodiments. Various alternatives, modifications and equivalents may be used. Therefore, the above embodiments should not be taken as limiting the scope of the embodiments, which is defined by the appending claims.

(172) It should be emphasized that the term “comprises/comprising” when used in this specification is taken to specify the presence of stated features, integers, steps or components, but does not preclude the presence or addition of one or more other features, integers, steps, components or groups thereof. It should also be noted that the words “a” or “an” preceding an element do not exclude the presence of a plurality of such elements. The term “configured to” used herein may also be referred to as “arranged to” or “adapted to”.

(173) It should also be emphasized that the steps of the methods defined in the appended claims may, without departing from the embodiments herein, be performed in another order than the order in which they appear in the claims.