# Patent

## Title
Scaling using gain factors for use in data detection

## Abstract

Data is estimated from a received vector comprising a plurality of communications. A received wireless signal is converted to a baseband signal, which is sampled to produce a received vector. Channel responses are estimated for the received communications. The noise variance is estimated. The noise variance is scaled by a scaling factor. Samples are processed using the estimated channel responses and the scaled noise variance to produce a spread data vector. The spread data vector is despread to recover the data of the received wireless signal.

## Background
CROSS REFERENCE TO RELATED APPLICATIONS
This application is a continuation of U.S. patent application Ser. No. 11/408,411, filed Apr. 21, 2006, which issued on Dec. 25, 2007 as U.S. Pat. No. 7,313,172, which is a continuation of U.S. patent application Ser. No. 11/175,662, filed Jul. 6, 2005, which issued on May 9, 2006 as U.S. Pat. No. 7,042,929, which is a continuation of U.S. patent application Ser. No. 10/327,299, filed Dec. 20, 2002, which issued on Aug. 9, 2005 as U.S. Pat. No. 6,928,104, which in turn claims priority from U.S. Provisional Application No. 60/396,823, filed Jul. 18, 2002, which are incorporated by reference as if fully set forth herein.


BACKGROUND
This invention generally relates to wireless code division multiple access (CDMA) communication systems. In particular, the invention relates to scaling using gain factors during data detection in such systems.
In wireless CDMA communication systems, multiple communications are transmitted over a shared spectrum. The individual communications are distinguished by a code used to transmit each communication. In frequency division duplex (FDD) CDMA systems, uplink and downlink communications are separated by frequency spectrum. In time division duplex (TDD) CDMA or time division synchronous code division multiple access (TD-SCDMA) systems, uplink and downlink communications are separated by time.
One approach to receive communications in such systems is referred to as single user detection (SUD). In general, SUD is typically performed in a two part process. First, the received signal is equalized to compensate for the response of the wireless channel. Second, the equalized signal is despread using the codes of the user or users. SUD is typically utilized when all communications experience a same channel response. The preferred uses for the SUD is in the downlink and in the uplink when a single user monopolizes a frequency spectrum (in FDD) or time slot (in TDD or TD-SCDMA). Another approach to receive communications in such systems is referred to as multi-user detection (MUD). In MUD, the data from all users' data is estimated simultaneously.
In such systems, the individual communications, transmitted simultaneously, may have varying transmission power levels. To illustrate, in the uplink, a single User Equipment (UE) may transmit multiple coded composite transport channels (CCTrCHs). Each CCTrCH may have a differing quality of service (QOS), requiring a different transmit power level to reach the required QOS. In the downlink, each UE in addition to each individual UE's CCTrCH may require a differing transmission power level.
Due to the varying power levels between communications, the orthogonality between the received codes is degraded, reducing the performance of the data detection. Accordingly, it is desirable to have alternate approaches to data detection.
SUMMARY
Data is estimated from a received vector comprising a plurality of communications. A received wireless signal is converted to a baseband signal, which is sampled to produce a received vector. Channel responses are estimated for the received communications. The noise variance is estimated. The noise variance is scaled by a scaling factor. Samples are processed using the estimated channel responses and the scaled noise variance to produce a spread data vector. The spread data vector is despread to recover the data of the received wireless signal.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1A is a simplified diagram of a transmitter and a receiver using gain factor scaling for the uplink.
FIG. 1B is a simplified diagram of a transmitter and a receiver using gain factor scaling for the downlink.
FIG. 1C is a simplified diagram of channel response matrix scaling.
FIG. 2 is a flow chart for applying selective code power scaling.
FIG. 3 is a flow chart for applying total power scaling.
FIG. 4 is a flow chart for iterative selective code power scaling.
FIG. 5A is a simplified block diagram of a multiuser detection receiver using a scaled noise variance.
FIG. 5B is a simplified block diagram of a multiuser detection receiver using a scaled channel response matrix.



DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
FIGS. 1A, for the uplink, and 1B, for the downlink, are simplified diagrams of a transmitter and a receiver using gain factor scaling in a UE and base station. In FIG. 1A at the UE 20, data is spread by a modulation and spreading device 24 using the appropriate codes and modulated, such as by using quadrature phase shift keying (QPSK), M-ary quadrature amplitude modulation (QAM) or other modulation scheme. The spread signal is modulated to radio frequency by a modulation device 26 and radiated by an antenna 28 or antenna array.
After passing through the wireless air interface 30, an antenna 32 or antenna array at the base station 22 receives the communications. The received communications are converted to a baseband signal, such as by a demodulation device 34. A sampling device 36 samples the baseband signal, such as at the chip rate or a multiple of the chip rate, to produce a received vector r. A channel estimation device 38 estimates the channel responses for the received communications, as a channel response matrix H. All of the H matrixes in the following equations are presumed to be normalized. The channel estimation is typically performed using a reference signal, such as the midambles of communication bursts or a pilot code. The channel estimation device 38 also preferably estimates a variance of the noise σ2, although the estimated noise variance may be derived from other sources. The noise variance σ2 is scaled by a scaling device, such as by a factor of 1/P. Preferred derivations for the value of P are explained in detail later. Although the preferred embodiment scales the noise variance σ2, the channel response matrix H may be scaled by a scaling device 61 instead of the noise variance, producing H′, as shown in FIG. 1C. One approach to derive H′ is to multiply H by the square root of P, H′=H·√{square root over (P)}. For such an H′, H′HH′ equals PHHH.
A channel equalizer 42 uses the channel response matrix H and the scaled noise variance σ2/P to produce a spread data vector s. Preferably, the spread data vector s is scaled by a scaling device 64, such as by a factor 1/P ΛH, although this scaling device 64 may not be used. (•)H is the conjugate transpose operation. When the scaling device 64 is not used, the spread data vector s is passed directly to the despreader 46. ΛH is a diagonal matrix, which preferred derivations are explained in detail later. The despreader 46 despreads the scaled spread data or spread data using the codes C of the communications to recover the data d.
In FIG. 1B at the base station 22, data is spread and modulated by multiple modulation and spreading devices 481 to 48N for transmission to one or multiple UEs 20. The spread signals are combined by a combiner 50 and modulated to radio frequency by a modulator 52. The modulated signal is radiated by an antenna 32 or antenna array.
At a UE 20, an antenna 28 or antenna array receives the communications sent through the wireless air interface 30. The received communications are demodulated by a demodulator 54 to baseband. A sampling device 56 samples the baseband signal to produce a received vector r. A channel estimation device 58 estimates the channel response matrix H and the noise variance σ2. The noise variance is scaled by a scaling device 60, such as by a factor of 1/P. Alternately, as shown in FIG. 1C, the channel response matrix H can be scaled. A channel equalizer 62 processes the samples using the channel response matrix H and scaled noise variance to produce a spread data vector s. The spread data vector s is scaled by a scaling device 64, such as by a factor 1/P ΛH, although scaling device 64 may not be used. When the scaling device 64 is not used, the spread data vector s is passed directly to the despreader 66. The despreader 66 despreads either the scaled or unscaled spread data using the codes C of that UE's communications to recover the data of the UE's communications. Typically, if some of the received communications are for other UEs 20, the codes of those communications are not used to despread the other UEs' data.
Discussion of preferred algorithms for scaling in data detection are explained in conjunction with a preferred wideband CDMA (WCDMA) TDD system, although the invention is applicable to other systems, such as FDD/WCDMA, TD-SCDMA, CDMA 2000 as well as others.
The received vector r can be modeled per Equation 1.

r=AΛd+n  Equation 1

A is the normalized symbol response matrix. Λ is the signal amplitude gain matrix and is a diagonal matrix. n is the noise vector.
When K codes are transmitted at the same time (within the same timeslot), A=[A1, . . . , AK] is the normalized symbol response matrix of the K codes. Λ is preferably of size K·Ns. Ns is the number of data symbols in a data field. d=[d1, . . . , dK] is the data sequence carried by the K codes. Λ is per Equation 2.




  
    
      
        Λ
        =
        
          [
          
            
              
                
                  Λ
                  1
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
            
            
              
                
                  
                
              
              
                
                  Λ
                  2
                
              
              
                
                  
                
              
              
                
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                
              
              
                ⋰
              
              
                
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  Λ
                  K
                
              
            
          
          ]
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        2
      
    
  




Each amplitude gain sub-matrix for a kth code of the K codes, Λk, is a diagonal matrix of size of Ns with all the diagonals equal to the signal amplitudes, gk, of the kth code, per Equation 3.




  
    
      
        
          Λ
          k
        
        =
        
          [
          
            
              
                
                  g
                  k
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                0
              
            
            
              
                
                  
                
              
              
                
                  g
                  k
                
              
              
                
                  
                
              
              
                
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                
              
              
                ⋰
              
              
                
                  
                
              
            
            
              
                0
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  g
                  k
                
              
            
          
          ]
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        3
      
    
  




To estimate data {circumflex over (d)} in joint detection, a minimum mean square error (MMSE) approach per Equation 4 and 5 may be used.

{circumflex over (d)}=Λ−1(AHA+Λ−2σ2I)−1AHr  Equation 4

{circumflex over (d)}=Λ−1AH(AAH+Λ−2σ−2I)−1r  Equation 5

{circumflex over (d)} is the estimated data vector. Equation 4 and 5 are interchangeable by the matrix inversion lemma.

When all the communications pass through the same propagation channel H, the symbol response matrix A is per Equation 6.

A=[A1, . . . , AK]=[HC1, . . . , HCK]=H[C1, . . . , CK]=HC  Equation 6

H is preferably of size Q·Ns+W−1 by Q·Ns. Ns is the number of data symbols per data block that the data detection is performed. Q is the spreading factor of the communications and W is the length of the delay spread. C is preferably of size Q·Ns by K·Ns.
The received signal for a common channel can be modeled per Equation 7.

r=HCΛd+n  Equation 7

Applying a MMSE solution to determine dis per Equation 8.

{circumflex over (d)}=ΛHCHHH(HMHH+σ2I)−1r  Equation 8

The matrix M is the code correlation matrix per Equation 9.

M=CGCH  Equation 9

M is preferably of size Q·Ns. The matrix G is the code power matrix, per Equation 10.




  
    
      
        G
        =
        
          
            ΛΛ
            H
          
          =
          
            [
            
              
                
                  
                    Λ
                    1
                    2
                  
                
                
                  
                    
                  
                
                
                  
                    
                  
                
                
                  
                    
                  
                
              
              
                
                  
                    
                  
                
                
                  
                    Λ
                    2
                    2
                  
                
                
                  
                    
                  
                
                
                  
                    
                  
                
              
              
                
                  
                    
                  
                
                
                  
                    
                  
                
                
                  ⋰
                
                
                  
                    
                  
                
              
              
                
                  
                    
                  
                
                
                  
                    
                  
                
                
                  
                    
                  
                
                
                  
                    Λ
                    K
                    2
                  
                
              
            
            ]
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        10
      
    
  




The code correlation matrix M is a diagonal dominant matrix with all the diagonals having a same value, such as P. One value for P is the total power of all bursts per Equation 11.




  
    
      
        P
        =
        
          
            ∑
            
              k
              =
              1
            
            K
          
          ⁢
          
            g
            k
            2
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        11
      
    
  




In general, P is referred to as the code power scale factor. By ignoring the edge effects of the non-diagonal part of the matrix, an approximation for M, {circumflex over (M)}, is per Equation 12.

{circumflex over (M)}=P·I  Equation 12

By substituting Equation 12 into Equation 8, Equation 13 or 14 results.




  
    
      
        
          
            d
            _
          
          ^
        
        =
        
          
            1
            P
          
          ⁢
          
            Λ
            H
          
          ⁢
          
            C
            H
          
          ⁢
          
            
              
                H
                H
              
              ⁡
              
                (
                
                  
                    HH
                    H
                  
                  +
                  
                    
                      
                        σ
                        2
                      
                      P
                    
                    ⁢
                    I
                  
                
                )
              
            
            
              -
              1
            
          
          ⁢
          
            r
            _
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        13
      
    
  
  
    
      
        
          
            d
            _
          
          ^
        
        =
        
          
            1
            P
          
          ⁢
          
            Λ
            H
          
          ⁢
          
            
              
                C
                H
              
              ⁡
              
                (
                
                  
                    
                      H
                      H
                    
                    ⁢
                    H
                  
                  +
                  
                    
                      
                        σ
                        2
                      
                      P
                    
                    ⁢
                    I
                  
                
                )
              
            
            
              -
              1
            
          
          ⁢
          
            H
            H
          
          ⁢
          
            r
            _
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        14
      
    
  




Equation 13 and 14 are interchangeable by the matrix inversion lemma.
Equation 14 can be broken down in two stages per Equations 15 and 16.




  
    
      
        
          
            s
            _
          
          ^
        
        =
        
          
            
              (
              
                
                  
                    H
                    H
                  
                  ⁢
                  H
                
                +
                
                  
                    
                      σ
                      2
                    
                    P
                  
                  ⁢
                  I
                
              
              )
            
            
              -
              1
            
          
          ⁢
          
            H
            H
          
          ⁢
          
            r
            _
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        15
      
    
  
  
    
      
        
          
            d
            _
          
          ^
        
        =
        
          
            1
            P
          
          ⁢
          
            Λ
            H
          
          ⁢
          
            C
            H
          
          ⁢
          
            
              s
              _
            
            ^
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        16
      
    
  




In Equation 15, the channel equalization is performed. Preferably, the scaling in Equation 15 is performed by scaling devices 40, 60. Preferably, to reduce the complexity in solving equation 15 by the channel equalizer 42, 62, an approximate Cholesky or Fast Fourier Transform based solution is used, although other techniques may be used.
In Equation 16, the despreading is performed. The scaling,




  
    
      1
      P
    
    ⁢
    
      Λ
      H
    
  
  ,




during or prior to despreading may or may not be performed. Such scaling tends to improve the decoding performance of turbo-encoded signals.

By careful selection of the code power scaling factor, the overall performance of the receiver can be improved. The performance of the receiver can be modeled by Equation 17.

ŝ=s+If+w  Equation 17

If represents the residual interference after equalization due to the incomplete equalization of channel distortion that results in the inter-symbol interference (ISI) and multiple access interference (MAI). ŝest of Equation 18 represents the impact of If on the estimated spread data.




  
    
      
        
          
            
              s
              _
            
            ^
          
          est
        
        =
        
          
            
              
                s
                _
              
              ^
            
            +
            
              
                I
                _
              
              f
            
          
          =
          
            
              
                (
                
                  
                    
                      H
                      H
                    
                    ⁢
                    H
                  
                  +
                  
                    
                      
                        σ
                        2
                      
                      P
                    
                    ⁢
                    I
                  
                
                )
              
              
                -
                1
              
            
            ⁢
            
              H
              H
            
            ⁢
            H
            ⁢
            
              
            
            ⁢
            
              s
              _
            
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        18
      
    
  




w represents the noise after equalization and is per Equation 19.




  
    
      
        
          w
          _
        
        =
        
          
            
              (
              
                
                  
                    H
                    H
                  
                  ⁢
                  H
                
                +
                
                  
                    
                      σ
                      2
                    
                    P
                  
                  ⁢
                  I
                
              
              )
            
            
              -
              1
            
          
          ⁢
          
            H
            H
          
          ⁢
          
            n
            _
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        19
      
    
  




The interference If and noise w cannot be reduced simultaneously. Decreasing one tends to increase the other. For a large P, the residual interference is reduced, but the noise is increased. For a small P, the noise is reduced but at the cost of increased residual interference.
Two preferred embodiments for power scaling, determining P, are total power scaling and selective scaling. In total power scaling, P is determined per Equation 20.




  
    
      
        P
        =
        
          
            P
            T
          
          =
          
            
              K
              ·
              
                g
                avg
                2
              
            
            =
            
              
                
                  ∑
                  
                    m
                    ,
                    
                      n
                      =
                      1
                    
                  
                
                
                  M
                  ,
                  N
                
              
              ⁢
              
                
                  K
                  
                    m
                    ,
                    n
                  
                
                ⁢
                
                  g
                  
                    m
                    ,
                    n
                  
                  2
                
              
            
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        20
      
    
  




M is the number of UEs and N is the number of CCTrCHs per UE. Km,n is the total number of codes in the nth CCTrCH of the mth UE and gm,n is the gain factor for the nth CCTrCH of the mth UE.
Total power scaling tends to optimize performance over all connections equally and not to optimize any connection over the others. To illustrate, the code power matrix G is per Equation 21.




  
    
      
        G
        =
        
          [
          
            
              
                
                  Λ
                  
                    1
                    ,
                    1
                  
                  2
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
            
            
              
                
                  
                
              
              
                ⋰
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                
              
              
                
                  Λ
                  
                    1
                    ,
                    N
                  
                  2
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                ⋰
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                ⋰
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  Λ
                  
                    M
                    ,
                    1
                  
                  2
                
              
              
                
                  
                
              
              
                
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                ⋰
              
              
                
                  
                
              
            
            
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  Λ
                  
                    M
                    ,
                    N
                  
                  2
                
              
            
          
          ]
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        21
      
    
  




Λm,n2 is the code power sub-matrix corresponding to the nth CCTrCH of the mth UE. The code power gm,n2 in the matrix G and in G's sub-matrix can be approximated by one single common power in a least square error approach by minimizing Equation 22.




  
    
      
        
          x
          lse
        
        =
        
          arg
          ⁢
          
            
          
          ⁢
          
            
              min
              x
            
            ⁢
            
              
                ∑
                
                  m
                  ,
                  n
                
                
                  M
                  ,
                  N
                
              
              ⁢
              
                
              
              ⁢
              
                
                  (
                  
                    x
                    -
                    
                      g
                      
                        m
                        ,
                        n
                      
                      2
                    
                  
                  )
                
                2
              
            
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        22
      
    
  




The solution of least-square-error-power is the average power of all codes per Equation 23.




  
    
      
        
          g
          avg
          2
        
        =
        
          
            1
            K
          
          ⁢
          
            
              ∑
              
                
                  m
                  =
                  1
                
                ,
                
                  n
                  =
                  1
                
              
              
                M
                ,
                N
              
            
            ⁢
            
              
            
            ⁢
            
              
                K
                
                  m
                  ,
                  n
                
              
              ⁢
              
                g
                
                  m
                  ,
                  n
                
                2
              
            
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        23
      
    
  




K is the total number of codes transmitted in the time period of interest for the system and is per Equation 24.




  
    
      
        K
        =
        
          
            ∑
            
              
                m
                =
                1
              
              ,
              
                n
                =
                1
              
            
            
              M
              ,
              N
            
          
          ⁢
          
            
          
          ⁢
          
            K
            
              m
              ,
              n
            
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        24
      
    
  




The code power scale factor is determined by Equation 25.




  
    
      
        P
        =
        
          
            K
            ·
            
              g
              avg
              2
            
          
          =
          
            
              ∑
              
                m
                ,
                
                  n
                  =
                  1
                
              
              
                M
                ,
                N
              
            
            ⁢
            
              
            
            ⁢
            
              
                K
                
                  m
                  ,
                  n
                
              
              ⁢
              
                g
                
                  m
                  ,
                  n
                
                2
              
            
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        25
      
    
  




gavg2 is the average code power. A measure of the mismatch between code powers Δm,n is per Equation 26.

Δm,n=|gm,n2−gavg2|  Equation 26

As illustrated, total power scaling is optimal over all connections by minimizing the code power mismatch over all connections.
In selective code power scaling, P is determined to optimize a particular UE connection. To optimize a jth UE's connection, Equation 27 is used.

P=αjPT  Equation 27

αj is a factor for the jth UE that is based on the interference and noise level. αj should be adaptively adjusted based on the interference and noise level for optimum performance of the data detection. Two preferred equations for deriving αj are per Equations 28 and 29.




  
    
      
        
          a
          j
        
        =
        
          
            
              
                K
                
                  K
                  j
                
              
              ⁢
              
                
                  ∑
                  
                    i
                    =
                    1
                  
                  I
                
                ⁢
                
                  
                
                ⁢
                
                  
                    K
                    
                      i
                      ,
                      j
                    
                  
                  ⁢
                  
                    g
                    
                      i
                      ,
                      j
                    
                    2
                  
                
              
            
            
              P
              T
            
          
          =
          
            
              K
              
                K
                j
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  1
                
                I
              
              ⁢
              
                
              
              ⁢
              
                a
                
                  i
                  ,
                  j
                
              
            
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        28
      
    
  
  
    
      
        
          α
          j
        
        =
        
          
            
              
                1
                
                  K
                  j
                
              
              ⁢
              
                
                  ∑
                  
                    i
                    =
                    1
                  
                  I
                
                ⁢
                
                  
                
                ⁢
                
                  
                    K
                    
                      i
                      ,
                      j
                    
                  
                  ⁢
                  
                    g
                    
                      i
                      ,
                      j
                    
                    2
                  
                
              
            
            
              P
              T
            
          
          =
          
            
              1
              
                K
                j
              
            
            ⁢
            
              
                ∑
                
                  i
                  =
                  1
                
                I
              
              ⁢
              
                
              
              ⁢
              
                α
                
                  i
                  ,
                  j
                
              
            
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        29
      
    
  




Kj is the total number of codes carried by that jth UE. Ki,j is the number of codes for the ith CCTrCH of the jth UE. gi,j is the gain factor for the ith CCTrCH for the jth UE. I is the number of CCTrCHs of the UE.
Selective code power scaling may also be used to optimize a particular CCTrCH of a UE. To optimize the ith CCTrCH of the jth UE, Equation 30 is used.

P=αi,jPT  Equation 30

αi,j is a factor for the ith CCTrCH of the jth UE.
Selective code power scaling may also be used to optimize a particular code of a particular CCTrCH of a UE. To optimize the nth code of the ith CCTrCH of the jth UE, Equation 31 is used.

P=αn,i,jPT  Equation 31

αn,i,j is a factor for the nth code of the ith CCTrCH of the jth UE. Two preferred equations for determining αn,i,j are Equations 32 and 33.




  
    
      
        
          a
          
            n
            ,
            i
            ,
            j
          
        
        =
        
          
            Kg
            
              i
              ,
              j
            
            2
          
          
            P
            T
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        32
      
    
  
  
    
      
        
          a
          
            n
            ,
            i
            ,
            j
          
        
        =
        
          
            g
            
              i
              ,
              j
            
            2
          
          
            P
            T
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        33
      
    
  




Two special cases of selective code power scaling are maximum code power and minimum code power scaling. In maximum code power scaling, the maximum code power is used for the scaling. Maximum code power scaling is most applicable when the over-scaling of code power degrades less than the under-scaling of code power. In minimum code power scaling, the minimum code power is used for scaling. Minimum code power scaling is most applicable when the under-scaling of code power degrades less than the over-scaling of code power.
FIG. 2 is one flow chart for applying code power scaling. One UE or UE's CCTrCH is selected for optimum performance, Step 70. If SUD is being performed at the UE the selected CCTrCH is typically with the highest required QOS. If SUD is being performed at the base station, the UE of interest may be the furthest UE, to reduce that UE's transmission power level. Alternatively, the UE or UE CCTrCH of interest may be the UE or UE CCTrCH requiring the highest quality of service. For the UE/UE CCTrCH of interest, the gain factor(s) for that UE/CCTrCH is determined, Step 72. The code scaling factor P is determined from the gain factor(s). SUD is performed using the determined P, Step 74. The code scaling factor P is used in the data detection, such as by scaling devices 40, 44, 60, 64, Step 76. As a result, that UE's/UE CCTrCH's performance is optimized.
FIG. 3 is a flow chart for total power scaling. Total power scaling is preferably performed if all the CCTrCHs at a UE or base station require the same QOS. Additionally, total power scaling may be applied to reduce the complexity by eliminating the need to optimize the SUD for a particular UE. The gain factors of all UE codes are determined, Step 78, and the resulting code scaling factor P is determined, Step 80. The SUD is performed using the determined P, Step 82. This approach equally optimizes all codes.
In some cases P is not necessarily determined from the gain factors. For instance, when a common midamble is used in a downlink allocation, the estimated channel response, H′, has the total power information. Accordingly, the total power is embedded in the estimated channel response at the output of the channel estimator, i.e. H′=H·√{square root over (P)}. In this alternative, gain scaling is not required and steps 78 and 80 of FIG. 3 in this situation can be avoided.
FIG. 4 is a flow chart of iterative selective code power scaling. To optimize the performances, each UE or UE CCTrCH can be optimized. Sequentially for each UE/UE CCTrCH, the gain factor(s) are determined and the resulting code scaling factor P is determined, Step 86. Using P, SUD is performed and the data for that UE/UE CCTrCH is estimated, Step 88. The process is repeated until each of the UEs/UE CCTrCHs have been processed or all the UEs/UE CCTrCHs of interest have been processed, Step 90. This approach optimizes overall performance for each UE/UE CCTrCH at the expense of added complexity and delay.
FIGS. 5A and 5B are simplified block diagrams of gain factor scaling used in a multiuser detection receiver. In multiuser detection, data from all codes is detected simultaneously. These approaches to data detection can also experience improved performance by using gain factor scaling.
In FIG. 5A, the received communications are received by an antenna 100 or antenna array. The received communications are demodulated to baseband by a demodulator 102. The baseband signal is sampled by a sampling device 104 to produce a received vector, r. A channel estimation device 106 estimates the channel response as a channel response matrix, H. The noise variance σ2 is also determined, such as by the channel estimation device 106 or by another device. The noise variance σ2 is scaled by a scaling device 110, such as by a value 1/P. The channel response matrix H and the noise variance σ2 as well as the received vector and spreading codes C are input into a multiuser detection device 108. The multiuser detection device 108 produces a data vector d.
In an alternate approach as shown in FIG. 5B, the channel response matrix H is scaled. The received communications are received by an antenna 112 or antenna array. The received communications are demodulated to baseband by a demodulator 114. The baseband signal is sampled by a sampling device 116 to produce a received vector, r. A channel estimation device 118 estimates the channel response as a channel response matrix, H. The noise variance σ2 is also determined, such as by the channel estimation device 118 or by another device. For some multiuser detection algorithms, the noise variance σ2 is not used. For those algorithms, the noise variance σ2 is not detected. The channel response matrix H is scaled by a scaling device 122, such as by a value √{square root over (P)}. The channel response matrix H and the noise variance σ2 as well as the received vector r and spreading codes C are input into a multiuser detection device 120. The multiuser detection device 120 produces a data vector d. Preferably, for use with multiuser detectors, P is derived using total power scaling.
Alternately, the gain factor scaling can be performed in conjunction with the multiuser detection. For such gain scaling, the multiuser detection device 108, 120 performs the gain factor scaling.

## Claims

1. A user equipment (UE) comprising:
an antenna configured to receive a vector comprising a plurality of communications, the communications received in a shared spectrum;
a channel estimation device configured to estimate a channel response of the received vector, said channel response including a channel response matrix and a noise variance; and
a data estimation device configured to receive a scaled input, including one of a scaled version of a noise variance or a scaled version of a channel response, said scaled input scaled by a factor derived from at least one gain factor of the received communications, and to use the channel response and the received vector to detect data of the plurality of communications.

2. The UE of claim 1 wherein the data estimation device comprises a multiuser detection device.

3. The UE of claim 1 wherein the data estimation device comprises a channel equalizer configured to equalize the received vector, based on a channel response matrix and a scaled noise variance to produce a spread data vector, and a despreader configured to despread the spread data vector to recover data of the plurality of communications.

4. The UE of claim 3 wherein the equalized received vector is scaled by a scaling factor derived from at least one gain factor.

5. The UE of claim 1 wherein the at least one gain factor is a gain factor of a communication of interest.

6. The UE of claim 1 wherein the scaling factor is derived from gain factors from all of the received communications.

7. The UE of claim 1 wherein the scaling factor is derived from gain factors from a coded composite transport channel of interest.