Sie sind auf Seite 1von 12

S72-238 WCDMA systems

Tutorial 2 25.01.2002.

Solutions
1.
Two spreading signals in vector form are S  ;  = and S   ;    = with the chip length U   . a) Calculate the cross correlation function between the spreading sequence S T and signal S T that is bit sequence ;= spread by S T . b) Calculate the cross correlation function between the spreading sequence S T and signal S T that is bit sequence ;= spread by S T . c) Calculate the cross correlation function between the spreading sequence S T and signal S  T  ;= spread by S  T . d) Calculate the cross correlation function between the spreading sequence S T and signal S  T  ;= spread by S  T . 1. The spreading signal is described as sequence of values o . Our spreading code has length four and we can express it as sum of four unit pulses S T  S N P T  N U , where S N is the n element of the spreading signal vector, and P T  N U is a unit pulse beginning at 0 and ending at U . A spread signal is generated by multiplying the bits of the S with the spreading sequence:  U S N
P T  N U
, where NB NS stand for the bit S T  A NB
PB T  NB4 S S S   N N
B

N 





and chip numbers accordingly. PB  PS

are unit pulses with the bit and chip

length accordingly and A NB


S NS
stand for the bit and chip amplitudes. The cross-correlation function 2XY U  between two signals X T
and Y T is defined as 4  2XY U  LIM X T Y T  U DT . 4 ld 4 4 Since we are dealing with a finite length signal the integration can be limited only to the values which are different from zero for out signal it would be interval  K  . For our signal when U is integer the correlation function can be written as sum of every chip of spread signal S T and reference signal S T  2U  S T U S T DT  U  U
 U

Since the signals are compounded from triangular impulses we can calculate the correlation only for integer values of U and between those 2 U is given by a linear function connecting two neighboring values. For integer U INT values 2 U INT is calculated as:

  U S M UINT S M U M  U  Between these values we use linear function 2 U  2 U


 2 U

U  U
2 U
. Where stand for the nearest smallest and highest integer respectively. We evaluate all the correlation functions with the Matlab. 2 U INT 
Figures from 1 to 8
correlation between s 11 and s 1 1 0.8 0.6 0.4 0.2
R ( t)

0 -0.2 -0.4 -0.6 -0.8 -1 -8

-6

-4

-2 0 2 time difference t

correlation between s 10 and s 1 1 0.8 0.6 0.4 0.2


R ( t)

0 -0.2 -0.4 -0.6 -0.8 -1 -8

-6

-4

-2 0 2 time difference t

correlation between s 21 and s 1 1 0.8 0.6 0.4 0.2


R ( t)

0 -0.2 -0.4 -0.6 -0.8 -1 -8

-6

-4

-2 0 2 time difference t

correlatio n between s 1 0.8 0.6 0.4 0.2 R ( t) 0 -0.2 -0.4 -0.6 -0.8 -1 -8

21

a nd s

-6

-4

-2

0 time difference t

correlatio n between s 1 0.8 0.6 0.4 0.2 R ( t) 0 -0.2 -0.4 -0.6 -0.8 -1 -8

20

a nd s

-6

-4

-2

0 time difference t

a ll the cross corre lation s 1 0.8 0.6 0.4 0.2 R ( t) 0 -0.2 -0.4 -0.6 -0.8 -1 -8 s1 [1 1] s1 [0 1] s2 [1 1] s2 [0 1]

-6

-4

-2

0 time difference t

2.
The transmitted signal sequence is A  ;   = . The spreading sequence is

S  ;    = .
Calculate amplitude of the signal and the interference for every bit if the channel response is Tap amplitude 0.5 0.3 0.2 Delay U in chips 0 1 2 And Rake receiver is tuned to the first channel tap.

2.
Since in the exercise there is no indication on Doppler components we assume that there is not any and describe the signal as a simple sum of delayed components of transmitted signal. The received signal is described in the form X T  BL T S T  UL T
,

Once again we can use notation for the spread signal as above:  U S N
P T  N U
S T  A NB
PB T  NB4  S S S  N   N 
B S

the multipath components 0.25 0.2 0.15 0.1 0.05 amplitude 0 -0.05 -0.1 -0.15 -0.2 -0.25 0

first second third

10

12

14

16

18

20

total received signal 0.5 0.4 0.3 0.2 0.1 amplitude 0 -0.1 -0.2 -0.3 -0.4 -0.5

10

12

14

16

18

20

The receiver correlates the received signal with reference spreading signal and integrates over it. ZM K T 

4
I

BLMIS T  UL

S T DT

N L


4 U BLMI  S T  UL

S T
DT BLMIS T  UL

S T DT , 4 U Lv
     


N L

Where the first term describes the signal arriving along the path the receiver has synchronised on and the other term is sum of the signals from other paths. Contributions of Taps\Symbols 1 2 3 Interference amp. total amplitude 1 -0.5 0.075 -0.05 0.025 -0.475 2 0.5 -0.15 0.1 -0.05 0.45 3 -0.5 0.15 -0.1 0.05 -0.45 4 0.5 -0.15 0.1 -0.05 0.45

3.
Consider the feedback shift-register shown below with mod 2 calculations. a) What is the polynomial that the shift register represents?
D3 D2 D1 1

a2

a1

a0

b) Determine the output of this circuit with the initial shift-register load A    A   A   . c) Determine the output of this circuit with the initial shift register load A    A   A   . d) Does this circuit generate a M -sequence? e) Calculate autocorrelation of the output sequence. f) Calculate power spectrum of the output sequence. g) How much the interference from other user will be suppressed when the users have spreading code described above but the codes have different phases? Reference: R.L. Peterson, R. Ziemer, D. Borth: Introduction to spread spectrum communications 1995. pages 695. chapter 3.

3.
a) The shift register generating the spreading sequence is given on the figure below.
D3 D2 D1 1

a2

a1

a0

Each element introduces a delay $ . The coefficient multiplying the delay element is 1 if the feedback is connected to it and 0 otherwise. The generator figure is described by a polynomial G $   $ $

b) At each step the output of the register is feed back to the register accordingly to the describing polynomial. By using output as input to the system we can calculate the registers state at each time step and from there the output sequence. Cycle Register State A$ Output 0 001 1 1  1 101 1 1 $ 2 111 1 1 $ $   3 110 0 $ $ 4 011 1 1 $  5 100 0 $  6 010 0 $ 7 001 1 1 The same output can also be calculated by dividing the generating polynomial G $ G $ with the initial state A $   . For that at each state we multiply the A $
I

polynomial G $ with the output of the generator and add to the state of the generator at that moment. This can be seen in the following table. Where the first line stands for the generator output at different steps $ . Rest of the lines describe the polynomials of the system state and added polynomial $ G $ .
T

System output  $ $

  1+

$ $ $

$

$

$ $ $

$ $ $

$ $

$ $

$ $

$ $ $

$ $

Since the system is recursive such division may be continued to infinity. However we see that at the delay $  the system state A  $ is same as initial state and the division starts to repeat itself. c) The output sequence is calculated as above but for different initial state, 011. Cycle Register State A$ Output  0 011 1 1 $ 1 100 0 $  2 010 0 $ 3 001 1 1  4 101 1 1 $

5 6 7

111 110 011

1 1

$ $ $

$ $

1 0 1

d) Maximal length sequence or M -sequence is a shift-register sequence that has the maximal possible period for an R -stage shift register. For a shift register with 3 stages the maximal cycle period is      . From the output of our sequence we see that the period of the output sequence is 7 i.e. the shift register generates a M sequence. e) Let represent the sequence of the generator output with binary digits KB B B B B K from the alphabet \ ^ . Because the code is periodic with specified by C T 
AN P T  N4 d
d

BN  B. N also the signal waveform C T is periodic, with period 4  .4C and is


N C

, where AN  
BN , and P T  N4C
is an unit

pulse beginning at 0 and ending at 4C . The waveform C T


is deterministic with autocorrelation function: 4   2C U  C T C T U DT , 4 

 d d 2C U   ANAM P T  M4C P T U  M4C DT . 4 M d N d  The integral here is nonzero only when P T  M4C and P T U  N4C overlap. The delay U can be expressed as U  K4C U F , where  b U F  4C . The pulses overlap only for N  K M and N  K M  .
2C U   2C K U F
4  UF  .    AMAK M P M P M UF DM . M  4 
C C

4  .   AMAK M  P M P M  4C U F D M . M  4 4 U
G

Let represent the binary sequence of B s as a vector B . The discrete periodic auto-correlation function is defined as:
.  .$  .  , where . ! is a number of places in which B  ANAN K  ! . N  . agrees and . $ is a number of places where B  disagrees with B K . Equivalently 2B K 

. ! is a number of zeros and . $ is a number of ones in modulo 2 sum of B  and BK . U U 2C K U  2B K F 2B K    F 4C 4C

Property: a maximal-length sequence contains one more one than zero. The number of  ones in the sequence is .  .  For an M -sequence the periodic auto-correlation function is two-valued and is given by:  K  L. 2B K    K v L. .
 b U F b 4C  U U    U 2C U      4C . 4C . 4C 4C b U F b .   4C U   U  2C U      . . 4C . 4C .   4C b U F b 4C U  .   4C   2C U    . 4C . .

f) The power spectrum of the sequence is the Fourier transform of its auto-correlation function 2# U .
3C F 
M

0 E F  MF d
M

Because we have periodic signal the spectrum of it is discrete with values at locations  FO  N where N is integer. .4C We are dealing with a periodic signal that can be described as sum of two signals. This is illustrated on the figure where one of the signals is constant at the level  and the other one is the correlation function to which is added a constant other signal has values only in interval 4C  U  4C .  .

 . This .

For calculating the signal spectrum we use the correlation function in the interval .4C .4C   U . The constant function in this interval has value  and the   . other functions can be described as two functions one interval 4C  U   f1 U and other in interval   U  4C , I  U .
a) NTc 1.0
1 N

Tc

b)

1 N

c) 1.0+
1 N

.  U 4C U  4C       4C 4C . . . . .  U  U      F U    . . 4C . 4C F U 

First we calculate the spectrum value at frequency  - that is the mean of the signal. Because the correlation function is described as a sum of two functions the mean will be sum of the means of these two. 4   4    0  DT I T DT I T DT   .4C 4  . 4    .   .    .  .  . .  .        . . . In order to calculate the spectrum at other frequencies we consider a fact that; by adding any constant value to the signal will change only mean of the signal, spectral component 0 , the value of other spectral components will not change. Accordingly to that we can calculate the spectrum of the signal from the signal 2 in the figure.
C

In order to calculate the spectrum of the signal we consider the relationship between the differentiation and Fourier transform D F T QIF & F DT  4    D F U I  QFT  D F U I Q FT E DT E DT .4C Q FI DT 4 Q FI DT 
C C C

4    .     I  Q FT I  Q FT  DT E DT E .4C Q FI . 4C 4 


C C C

 E  Q F4 E I  QF4 .      .4C   Q F I


 
I

.     I  Q F4 I  Q F4    E E E E
 .4C  Q FI  F I Q 
C C C C

  

.   4C     COS Q F  .4C  Q F I
 .   4C   SIN Q F  .4C Q F
 .  SINC  Q F4C  .
Sc(f) 1 NTc

N+1 sinc 2(fT ) c N 1 Tc 1 Tc f

g) Because other signals use the same spreading code and are separated only by phase  they will be suppressed by the correlation factor that is to the level  . .

Das könnte Ihnen auch gefallen