Professional Documents
Culture Documents
TTE Generation and Analysis of BLER-tables by Developing An UMTS Link Level Simulator
TTE Generation and Analysis of BLER-tables by Developing An UMTS Link Level Simulator
<E
.s -4
MeasmedEBno value Y.lith no Power Control (v = 30 kmlh)
6
-8
0
'--------:"'0----1-'-00----1-"-'0----20'--0-----'2'-0----'30-0
Slot number
Figure 4-25 Measured EblNO value per time slot in case of 1 path Rayleigh fading (v = 30 km/h)
Power Control effect (v - 30 kmlh)
12,-------,------,-----,------"-----,----"r======-=="
10
EOOO
-8 '---__----1 ---'- ---'- --'- --'-- --'-- -'--- _
o 50 100 150 200 250 300 350 400
Power Control iteration number
Figure 4-26 Measured EblNO value per time slot vs. EblNO target in case of 1 path Rayleigh fading with
power control (v =30 km/h)
66
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
5 SISO Simulations
5.1 Simulation process
06/12/2004
The results in this chapter are generated by using the stand-alone-C version of the simulator.
Most of the simulation results are generated by using a computer cluster. During the simulation
the results are stored in txt files. Post processing of those results is done in the Matlab
environment (Appendix A describes this process in detail).
5.1.1 Statistical reliability
To gain insight in the statistical reliability of the simulation results, confidence intervals are
determined from the simulation results.
A confidence interval gives an estimated range of values which is likely to include an unknown
population parameter, the estimated range being calculated from a given set of sample data.
5
The BER for a specific EblNO value is calculated based on an average from different loop,
frame and slot transmission. This 'sample mean' will have a probability density function (PDF)
which can be described by [ 15 ]:
( 5-1 )
With:
f.i
a-
n
The true mean value
The standard deviation of a single BER calculation
The number of values that is used to calculated the mean value
In the link level simulator several stochastic processes are present which will cause a variation
of the mean BER value. For example the addition of AWON noise and the addition of several
Rayleigh faded multipath components will determine the overall probability density function of
the average BER value.
Because of the complexity of determining the overall probability function of the link level
results the overall PDF will be presumed normal distributed. Because the average BER value
and its variation differ each during the simulation of different EblNO value, the mean value and
the standard deviation have to be estimated.
In the link level simulator the 95% confidence intervals are implemented. Assuming a normal
distribution the value z can be determined, when z represents the point on the standard normal
density curve.
5 Definition takenfrom Valerie J. Easton and John H. McColl's Statistics Glossarv vl.l
67
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
04
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0
-5 -4
-z Z
06/12/2004
Figure 5-1 Probability density function of the normal distribution (mean = 0, sigma = 1)
In the case of 95 % confidence levels z equals 1.96. The confidence intervals can be described
by:
confid.intervals =xz * J;; (5-2 )
As stated before the standard deviation of the process is not known and is estimated as well
from the samples, this implies that the correctness of the confidence intervals is dependent on
how close the estimated standard deviation value is to the true value. When using an estimated
value for the standard deviation the sample mean will follow the t-distribution [ 15 ]:
( 5-3 )
With:
J1
s
n
The true mean value
The estimated standard deviation of a single BER calculation
The number of values that is used to calculated the mean value
However when a large number of samples is used (n is large) the estimated standard deviation
will match the true standard deviation of the process. In the link level simulator this is
presumed; the confidence levels are calculated based on Formula ( 5-2) and the assumption that
the mean value is normal distributed. Figure 5-2 shows the confidence intervals for a specific
simulation. The blue dots indicate the average estimated BER value and the blue lines the
confidence interval. The red line shows the true average values of the process.
68
Generation and analysis of BLER-tables by developing an UMTS link level simulator
B(L)ER-cur.e QPSK
userbils::: 320,errors::: 100,frame length =38000,ch esti late =512,no fingers=3,lraject=200
Ber-R bit = 10, 256, i cod 0 r
Theoretical QPSK Rayleigh fading cur.e !_
. . __ --:: --;
- - .- - - - -;.. - - .- _. - - , - .- - -- - - - - - - - - - - - - - - - - --
10.
2
- - - - - - - - - - - - - - .. - - - - - - - - - - - --=- -: ..... - --:: -: - - ,
- - - - - - - -, - - --= - - --:- - ::- - - - - - -- --- - '.- - - - - - - - - - - - ::::..
06/12/2004
10
Eb I NO (dB)
15 20 25
Figure 5-2 Example of the confidence intervals in the link level simulator
5.2
5.2.1
SISO simulation results and analysis
Validation simulations
To validate the results of the link level simulator, a number of scenarios has been defined in
which the link level results should match theoretical curves. The next paragraphs show the
derivation of the theoretical AWGN curve in case of QPSK modulation and matched filter
reception. The theoretical Rayleigh fading curve is also determined.
5.2.1.1 Error probability for a binary signal
The received sampled binary signals have two conditional probability density functions (PDF).
Considering the following signal consisting of the transmitted signal and noise:
for a binary 1sent
for a binary 0 sent
With:
ta sampling time
69
Generation and analysis of BLER-tables by developing an UMTS link level simulator
Two PDF's can be identified:
f(r
o
IS1 sent)
f(r
o
IS2 sent)
Assuming that if there was no noise the following relations are valid:
r
o
> V
r
for a binary 1sent
r
o
< V
r
for a binary 0 sent
06112/2004
With V
r
the threshold value at the receiver site two errors can occur, an error if r
o
< V
r
if a
binary I is sent:
( 5-4 )
And an error if r
o
> V
r
if a binary 0 is sent:
Now the BER can be calculated:
BER = P
e
= P(errorls
1
sent)P(s1 sent)+ P(errorlS
2
sent)P(s2 sent)
The source statistics can be considered equally in most cases so:
1
P(S1 sent) = P(S2 sent) =-
2
Error probability for Gaussian Noise
( 5-5 )
( 5-6 )
( 5-7)
If the channel noise is assumed a zero-mean Gaussian process and that the receiver processing
circuits, except for the threshold device are linear. Then we know that for a Gaussian process at
the input, the output of a linear processor will also be a Gaussian process.
The two condition probability density functions will look like:
( 5-8 )
70
Generation and analysis ofBLER-tables by developing an UMTS link level simulator 06/12/2004
(5-9 )
With:
( ] " ~ = n ~ = n ~ ( t o ) = n ~ ( t )
So the new BER becomes:
the average power of the output noise from the receiver
processing circuit where the output noise process is wide-
sense stationary.
(5-10)
Reduced with the Q(z) functions:
( 5-11 )
The error can be minimized by choosing the best value forV
T
The optimum value for V
T
is:
v _5
01
+ 5
02
T - 2
The resulting Bit Error Rate now becomes:
Influence of the matched filter
( 5-12 )
( 5-13 )
Analysing the equation in the last paragraph, it is important at the receiver to maximize the
instantaneous power of the difference output signal at t = to' To do this a matched filter can be
used.
A matched filter is a linear filter that maximizes the instantaneous output signal power at the
sampling time to when compared with the average output noise power.
Two characteristics of a matched filter:
The wave-shape of the signal is known.
71
Generation and analysis ofHLER-tables by developing an UMTS link level simulator 06/12/2004
The Power Density Spectrum (PSD) of the additive input noise is known.
For the case of white noise and the wave-shape of the signals are known, the filter needs to be
matched to the difference signal of the transmitted symbols:
( 5-14 )
The output peak signal to average noise ratio is than obtained from the matched filter as:
(5-15 )
the white noise PSD
the difference signal energy at the receiver input
For a binary signalling corrupted with white Gaussian noise, matched filter reception and by
using the optimum threshold setting, the BER is:
( 5-16 )
Binary Phase Shift Keying (BPSK)
The two base-band signalling waveforms ofBPSK signalling are:
S1(t) = Acos(wet + Be)
S1(t) = -Acos(wet+BJ
o< t ~ T (binary 1)
o< t ~ T (binary 0)
This signal plus white Gaussian noise is present at the receiver input.
To determine the performance of a matched-filter reception, the energy in the difference signal
is determined:
T
Ed = J[2Acos(w
e
t + .9J]2 dt =2A
2
T
o
The energy per bit is:
( 5-17 )
72
Generation and analysis of BLER-tables by developing an UMTS link level simulator
The BPSK bit error rate is:
Quadrature Phase Shift Keying (QPSK)
06112/2004
( 5-18 )
( 5-19 )
QPSK is a multilevel signalling technique that uses 4 levels per symbol, the QPSK signal may
be represented by:
0< t ~ T ( 5-20)
The QPSK is equivalent to two BPSK signals-one using a cosine carrier and the other a sine
carrier. The QPSK signal is detected by a coherent receiver. Because the two channels of the
receiver are BPSK receivers, the BER for the QPSK receiver is:
( 5-21 )
Theoretical one-path Rayleigh fading curve (QPSK)
The theoretical BER for QPSK in case of one-path Rayleigh fading can also be determined
([ 9 ]). The theoretical BER can be calculated with Formula (5-22 ).
( 5-22)
5.2.1.2 Validation results
The previous paragraph provides two theoretical BER-curves which can be used to validate the
link level simulator. During the validation the latest version of the link level simulator has been
used. Four reference scenarios have been identified to validate the link level simulator.
73
Generation and analysis of BLER-tables by developing an UMTS link level simulator
Reference scenario one
06/12/2004
The first reference scenario concerns the simulation of a data transmission from one user with a
channel that contains only pure AWGN. The scenario parameters are displayed in Table 5-1.
The expected BER-curve should match with the theoretical AWGN BER-curve. Figure 5-3
shows the theoretical AWGN BER-curve (solid line) and the simulated values (blue dots). It can
be seen that the results from the simulation match exactly with the theoretical BER-curve.
Scenario parameters Value
Environment One LOS component
Speed of the user Speed of the user influence not active
Type of channel coding Channel coding not active
Spreading factor 32
Table 5-1 Scenario parameters reference scenario one
B(LIER-c""" QPSK
10. 1 _ =38000.C_h =512,no
-:..: :: .:: :. :: :: =1:: =- _ :::: _' .. Ber R bit _ 50, SF == 32. speed _ 1. i
- -I - - - - ._- .- Theoretical QPSK AWGN CUM
-.---------
-------------- ._-----------
- :: -=1 :.: :: :: :: =- :: =- - - -= :: :: :: :: '= :: -= :: _ :: :: -::::l ::
- - - - -I - - - - - - - - - - ,_.- .- .- - ---t - - - - - - -
,
10
3
= -= =- = =-= .:::':1 :: :: -= -= '-= ;:; ::: 1= _
. - __ -I - - - ..:. I=--
---1-------+----
__
- - - - - -
....
.. _--------
---'- --'-- ....--------l
9 10
10; 7: 7 C 7 =: = 7 = '= = =.' =c. = = , = _, '7 7 =C ==='" =C C == ==_,
__ __I -+ -l- - - _ _ _ _ _ ....:. --I -__ - __ - -
-__ ------4--
I
106L "------L-
o 2 3 4 5
Eb I NO (dB)
Figure 5-3 AWNG reference curve
Reference scenario two
The second reference scenario concerns the simulation of data in a one-path Rayleigh fading
environment with a corresponding one finger Rake receiver. The main scenario parameters are
displayed in Table 5-2. Figure 5-4 shows the simulation results and the theoretical BER-curve
for one-path Rayleigh fading. It can be seen that the results from the simulation (blue dots)
match exactly the theoretical one-path Rayleigh fading curve (red solid line).
74
Generation and analysis of BLER-tables by developing an UMTS link level simulator 06/12/2004
Scenario parameters Value
Environment One-path Rayleigh fading
Speed of the user Speed of the user influence not active
Type of channel coding Channel coding not active
Spreading factor 32
Receiver one finger Rake receiver
Table 5-2 Scenario parameters reference scenario two
B(L)ER-cul".e QPSK
usemits = 320,errors :: 100.frame length =38000,ch esli ~ a l e =512,no fingers=1.traject=200
10'
10
3
::- _
10
Eb I NO (dB)
15 20 25
Figure 5-4 One-path Rayleigh fading
Reference scenario three
Reference scenario three includes the use of a three-path Rayleigh fading environment. The
receiver exits of a tree-finger Rake receiver. Because a large spreading factor is used, the
receiver should be able separate all the multipath components and combine them to restore the
original data. This implies that all the simulated values should match the one-path theoretical
Rayleigh fading curve. Table 5-3 shows the main scenario parameters. Figure 5-5 shows the
simulation results for this scenario and it can be concluded that the results from the simulation
exactly match the one-path Rayleigh fading BER-curve.
Scenario parameters Value
Environment Three-path Rayleigh fading
Speed of the user Speed of the user influence not active
Type of channel coding Channel coding not active
Spreading factor 256
Receiver 3 finger Rake receiver
Table 5-3 Scenario parameters reference scenario three
75
Generation and analysis of BLER-tables by developing an UMTS link level simulator
Eb I NO (dB)
06/12/2004
Figure 5-5
Reference scenario four
3 path Rayleigh fading curve, 3 rake fingers, large SF
The last scenario is the same as scenario two except an extra receive antenna is added. Table 5-4
shows the scenario parameters and Figure 5-6 the simulation results. Because of the use of two
receive antennas, the simulation results are expected be 3 dB shifted from the one-path
theoretical Rayleigh fading BER-curve. Figure 5-6 shows this expected shift.
Scenario parameters Value
Environment One-path Rayleigh fading
Speed of the user Speed of the user influence not active
Type of channel coding Channel coding not active
Spreading factor 32
Receiver Two receive antennas, one finger Rake
Receiver
Table 5-4 Scenario parameters reference scenario four
76
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
B(L)ER-cUM QPSK
userbHs =: 320,errors =: 100,fT'ame length =30,ch esli update =512,00 fingers=1,lrajecl=400
10
10':=- =- :::: ::::. :::: := :::: :::: :::::::: :::: :::: =:::: :::: :::: :::: :::: :::: :::: :::: ::::. ::::. _:::: =- :::: ::::. :::: :::: :::::::: :::: :::: -=- _
- - - - - - - _: - - - -- - - - - -- - - - - - - - - - - - - - -- - - - - -
10-
3
1---------------
06112/2004
10
Eb I NO (dB)
15 20 25
Figure 5-6 One path Rayleigh fading curve with 2 receive antennas
5.2.2 Influence parameter settings
This paragraph shows the SISO simulation results for different parameter settings of the link
level simulator. The confidence levels are not shown in these simulation results to increase the
visibility of the real simulation results. However, the confidence levels are smaller than in
previous simulation results in this report (for example in Figure 5-6). The results in this section
are generated with the C-compiled version of the simulator (see Appendix A: The user manual)
on a cluster of computers. Within in the same simulation time, more reliable results were
generated.
The parameters setting which are used in the simulations are listed in Table 5-5. The paragraph
is dived into two sections: results without power control and results with power control.
Scenario properties Interface parameters Parameter options
Environmental properties Environment Hilly Terrain (Htx) (envir =1)
Rural Area (Rax) (envir = 2)
Typically Urban (Tux) (envir = 3)
User properties Speed of the user 0.13 m/s
13.83 m/s
33.33 m/s
69.3 m/s
Bearer type properties Type of channel coding No coding (cod = 0)
1/2 convolution coding (cod = 1)
1/3 convolution coding (cod = 2)
1/3 turbo coding ( cod = 3)
Spreading factor 8,16,32,64,256
Table 5-5 Parameter setting SISO simulation results overview
77
Generation and analysis ofBLER-tables by deYeloping an UMTS link leYel simulator
5.2.2.1 Without power control
06112/2004
This paragraph shows the result of SISO simulations without power control. Each set of
simulations includes the simulation results of the parameter setting displayed in Table 5-6.
Scenario properties Interface parameters Parameter options
Environmental properties Environment Typically Urban (Tux)
User properties Speed of the user 0.83 m/s
Bearer type properties Type of channel coding No coding
Spreading factor 256
Table 5-6 Parameter setting which is present in all simulation sets
SISO results with variation of the spreading factor
Figure 5-7 shows the SISO simulation results for different spreading factor. All the other
parameter settings are kept constant. The solid red line in the figure shows the theoretical one-
path Rayleigh BER curve. It can be seen that all the curves are almost parallel to the theoretical
curve for a large range. At high EblNO values all the curves end with a threshold value. The
larger the SF is, the lower the threshold value is. This can be explained by the fact that the Rake
receiver is better to separate the multipath components when the SF is large. This can be
explained by Formula ( 4-24 ); the received signal which is present in each finger contains next
to noise also shifted versions of the original data signal. After the de-spreading (the integral in
Formula ( 4-24 )) extra noise will be present because of these signals. When the spreading factor
is large, this noise contribution will be less. This is an effect of the de-spreading process in
CDMA.
H( Ljl:R-<.:urv.: QPSK '\:!O. JOO. Inune knglh 300, Channd updmc period 512, no l'Ulcrs 3. lmlCe! length 400
10"
r f .
i I I
l
-----,- ------ -,
_________ J. L____ I
t'._- I :
10 I r.. ...c. __ - ::: ==-= :1 ==-= = -= == -= -= '::- =- = -= -= -= =- =-=- -=- '::- -=- =- -= :::
E _... L. i-
l ---- --: --_. _c -=- - -= :::: -= :::: -= = - - - - - - - - - = = = = =
- - - - -I - - - - - -f. -"'-,,- - -- - I'" - - - - - - - - - _. -- _. - r _. - - -
128.SF OKJ.cod O.cn"jr 3
BerRbll 12.SF 256..,>pccd OKI.cnd O..... IlVlr I
Ber R bll 256. Sf- K. 0 KJ. cod O. l'IlVlr \
Her R bil - ,31. Sf 64. OKJ. O. 3
Her R bll 384. Sf K. >peed OK3. O. cnVl1 -"
H<:r R hll 64. Sot- 12. 'pct:d - 0.8]. end O. CDVlr J
rhCOrdJcal RayleJgh Jadlngcllf"c
_____1 J __""'_''',__ L _
I
_. 1. _
10
-= --= --= -=1 == =-:: j =::::. .::::. :.
---= :: -= .: =1 ==- -: :: :::: J =- =- =- =- =- r =- _
- - - - -1- - - - - I - - - - - r - -
- - - _..- - - .- - .- - 'I - - - - - I'
I
.=".= ==-===-===--=-1.===-=-
- - - - :: =-= =- ====I ====-=:
,- =- ==- :::::::: :::: :::: :::: :::: f :::: :::: ::::
10
I
- - - - -I - - - - - I - - - - - r .- - .- .- - - -'-'-, - - -- - .- - - - T - - - -
Figure 5-7
- - - - -1- - - - - 1 - - - .- .- r - - - - - - - - - - -. - - - T .- - - -
-= ::: =- ==1 =- _ =:::: ::: :! = ====c :::: :::: :::: =:::: :::: :::: -= :::: :::: :::: :::: -= ,= :::: :::: I -= :::: :::: :::: :::: =
I I
I
_____1__. J __ ... __ L 1. _. _
I I
I I
10 1 J __. _..__. L
=- ====1 ====:: J =:: _.: r:::::: -:: -:: :: :: -= -= :: -= =- :: :: -= - - =- t :: -= _= --= --=:
- - - - -1- - - - - ---t - -. - - - t- .- - - - - - - - - - --< - - - - T - - - - --
I " f
1 1 1 1
.- - - - - - - - -t - - - - - - - - - - - - - -
10' 1.._ l 1 1
o 10 15 20 :!S JO 35
I-.bl l\{) (dBl
SISO results without power control for different information bit rates
78
Generation and analysis of BLER-tables by developing an UMTS link level simulator
SISO results with variation of the environment
06/12/2004
Figure 5-8 shows the SISO simulation results in case of the variation of the environment. The
environment is incorporated by using different PDP's profiles for different environments. Figure
5-8 shows that in the results it mainly concerns a shift from the theoretical Rayleigh fading
BER-curve. The rural environment delivers the best performance. This can be explained by the
presence of a Line-Of-Sight (LOS)-component in the Power Delay Profile (PDP).
B(L)ER-curve QPSK: userbils -= 32U, errors -= ]OU. frame length ""JOU. Channe1update period --'5l2, no ringers=oJ. traJect lcnglh =400
~ ) - ,
,
10 - - --= .-::
- - - - - - - - - - - - - - - - - - - ~ - - - - ..... ~ " ' - -- - - .- - - - - --
10
4
_ ------ ---------- - - - - ------
Ber R bit = 12, SF - 256, speed - O.R3. cod ~ O. cnvir - 1
Ber RbIt - 12, ~ T - 256. speed - U.R]. cod - O. cnvir -= 2
BCT R bit - 12, SF"'" 256. speed - (1.10. cod - n. cnvir -= J
Theoretical Rayleigh rading curve
10
1U 15 20
Eb I NO (dBI
25 10 }5
Figure 5-8 SISO results without power control for different environments
SISO results with variation of the user speed
Figure 5-9 shows the SISO simulation results in case variation of user speed. The speed of the
user is incorporated in the link level simulator by the Doppler frequency which changes the
channel coefficients faster when the speed of the user is higher. The channel estimation period
does not change during a change of the speed of the user, this implies that when the speed of the
user is high, the channel estimation coefficients will differ from the real channel coefficients
more than compared to a low user speed. Figure 5-9 shows that the speed of the user causes a
threshold value at high EblNO values. If the speed of the user increases the threshold value
increases as well.
79
Gcncration and analysis of 8LER-tablcs by dcveloping an UMTS link lcvel simulator
B( L)ER-curvc QPSK. ll-.;t::rblts - 320. errors - JOO. thltnc length -100. Channel upd1te penod -512, no Irajcl:l knbrth -400
06/12/2004
"
Iii =- ==:..:: =-:! =:..:: -= -= :1- .-: :. -= =1=:..:: =-:..:: =t: =:..:: ==-.::: =- =- =- =- =-:..:: =- =-:
_____ .1 _ _ _ _. _ _ _ _ _ _ _ _ _ _ _ _ __ _ _ __ . . _
,
]()1
:: 10
, I
I I
- ,_ - - - =- --:: I:. ::: =- -= -= ::: =. =- =:::
- - - - + - - - >.. - - - - - 1- .- "- - - - - - - - - - - .-
----------------
,
- - - + - - - - - - - - - - I--
I
-------- -- -_.__._---
I
Ber Rblt 12, SF -256. -0.10. cOlj-O.cllvir - 3
Ber R bit - 12, SF = 256. speed - 13.1\:<. cod - I). envlI - 'l
Bel" R bil - 12, Sf - 256, speed - JJ.J1. cod II. Cn\'lr-
Ber R bll 12, SF 256. speed _. /l9 44. end 1I. cnvir - 1
Theoretical Rayleigh t:1dmg curve
1
00 10 _ -= =. == == =-= -=1 -= .::: = :: -=- 1= == :: -= -= -= :::: =.:. ::: _ -"- _ ----
=-= ::-: = - I -= ::-: -= -= =1 =. -:: ::: :: .:: I=.- '':: -= ==:::: ::: -= :=. :. .:: _ -::
______ l I _
I
I 1 1
10 - -- -- - - T - - - - -I - 1
I ,
__
10
I
III 15 20
Eb / NO (dB)
25 JO 35
Figure 5-9 SISO results without power control for different user speeds
SISO results with variation of the channel coding type
Figure 5-10 shows the SISO simulation results for different types of channel coding. It can be
seen that the channel coding does not affect the shape of the BER-curve a lot. This can be
explained by the fact that channel coding adds extra redundancy bits to the original data rate; the
coding algorithm will increase the performance of the transmission, but the number of bits that
have to be transmitted increases as well. Due to the definition of the Eb/NO value the average
power per bit will decrease as well. Figure 5-10 shows that the gain which is achieved due to the
channel coding is compensated by the energy decrease per bit. This implies that the resulting
curves will not vary a lot from the curves without channel coding.
80
Generation and analysis ofBLER-tables by developing an UMTS link level simulator 06112/2004
B(LjER-cUfve QPSK: userbus -0 321, errors- JOO, frame length <'00. Chal1l1elupdatc period -512, no fingcrs-3. traJccl length -4011
Ber R bit 12, SF 0 256, specd ..." 0.1:<3. cod _. ll, envlr 3
Ber R bit = 12, SF = 256, speed = 0.1:<3. cod = I. envir 3
Ber R bit - 12, SF..." 256, speed 0.1:<3, cod..." 2. envir - 3
Bcr R bil - 12, SF "'0" 256. :-'llecd - 0.1:<3. cod - 3, envir - 3
Theoretical R<lyleigh f<lding curve
30
1 1 1
:::- - - - -'-:;,,; - - - - - - - - - - - - - - - - - -;- - - - - - 1- - - --
- - - - - - . - - - --i - - - - - - ,- - - - - - - ...:. - - - + - - '.- -
1 1 1
--_._------_._-
- - - - - - -- - -- - -J--- -"--- - - - - -
, - - - - - - - - - - ---l - - - - - - - - - - - - t- - - - - - + - -- - -- _.
.- - - - - - - - - - - - ---1 - - - - - - - - - - - - I-- - - - - - + - - - - -
1
10 - -j f
I
--
____________ _ L l _
1 1
1 1
1 1
I. 1
1 r
I _ I I
=== ====== == == ===: === ==
I "1'
I I
I 'I"
l _
____________ J ....:L 1
I I L
__ -.J . L ._ _ _ _ _ l.. _ ..__. _
I I I
------- ---1- -----------r-----1-----
I I I
[0
4
i I I
[0 is 2(J 25
Eb' NO (dB)
" 10
10
'"
'"
ciS
10
Figure 5-10 SISO results without power control for different types of coding
5.2.2.2 With power control
This paragraph concerns the SISO simulation results in the case the power control function is
active. The number of results with power control is still limited. As stated before the power
control will affect the SISO results mostly when the speed of the user is low. In this case the
power control function will be able to compensate for the fast fading effect as is explained in
paragraph 3.1.3.
SISO results with variation of the user speed
Figure 5-11 shows the effect of power control for different user speeds. At low speeds (for
example 0.83 ms) the power control can compensate for the effect of fast fading very well. This
implies that the BER-curve will tend more towards the theoretical AWGN BER-curve. Figure
5-11 shows that the blue curve more tends towards the blue solid AWNG curve than the
theoretical Rayleigh fading curve. Due to the fact that the power control adjusts the transmission
power with quite large steps the simulated curve will never generate a perfect match with the
theoretical AWGN curve. For larger speed of the users it can be seen that the curves more tend
towards the theoretical Rayleigh fading BER-curve.
81
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
B(LIER-curve no. - 30(J, frame length. -\0000. Ch.,mnclllpUalo: period -512. no fingers-J. If<JjcL1 length -[00
10
10;
d5
10
,
III
06/1212004
III
10 15 20
Eh, NU (JBI
25 JII 15
Figure 5-11 SISO results with power control for different speeds of the user
Comparison with SISO simulation results from literature
Comparison of the simulation results with ones that can be found in literature is difficult.
Definitions of the used energy ratio (for example the EbINO) may differ, also the implemented
link level chain may vary (for example different PDP's are used to model the environment or
the stepsize of the power control function is different). However, this paragraph contains a
global comparison with simulation results with power control from literature.
The results which are used for comparison are taken from [ 25 ], but can also be found in an
Eurescom project document ([ 26 D. Figure 5-12 shows the effect of the user speed on the
EblNO value which is needed to achieve a BLER of 10% in case a packet data is being
transmitted with 480 kb/s. The parameter setting of the simulations differ from the one that is
used to generate Figure 5-11, also the used PDP's are different from the ones that are used in the
developed simulator. However it can be seen that the overall effect is the same: if the speed of
the user increases the required EblNO increases as well.
Figure 5-13 shows the effect of the user speed on the EblNO value which is needed to achieve a
BER of 0, 1% in case of voice transmission of 8 kb/s. Again a different parameter setting is used
in this simulation. However it can be noticed that the effect of the speed of the user does not
greatly influence the BER until a speed of 200 km/h has been reached. This is explained be the
fact that at speeds between 25 and 250 km/h the power control function and the channel
estimation function become less effective and less precise but the effectiveness of the
interleaver in spreading the error bursts increases and therefore the system working point
remains rather independent of the user speed in this region ([ 25 D. At user speeds more than
250 km/h the channel will change to fast for the power control and channel estimation to be
effective.
From this comparison it can be concluded that the SISO simulation results with power control
have to be extended to make a final comparison with simulation results which can be found in
literature ([ 17 ], [ 25 ], [ 26 D. However, it can be seen that the results in literature and the ones
82
Generation and analysis of BLER-tables by developing an UMTS link level simulator 06/12/2004
from the developed simulator both show that in the case of large user speeds the performance of
the system decreases because of the fast change of the channel.
1000 10 100
Mobile speed (km/hr)
-- Outdoor-to-indoor A
-- Outdoor-to-indoor B
+--------+------l-6- Vehicular A
-0- Vehicular B
10
9
cfl
8 0
II
a:: 7
l:D
6
Q
5
l.I.I
4
3
5
Figure 5-12 Downlink system working point for UDD 480 kb/s service (113 convolutional coding, SF =4,
interleaving = tOms) [ 25)
1000 10 100
Mobile speed (kmlhr)
, , , , , . , ... ,
. , . , , ",. " .. , , " , .. ,
--------------------------------------------------- . , . , .... , ,.' .. , ,., ,," ....
, . , .. , '" ,
, , . ,. ,., ,
, I ,. "
Outdoor-to-indoor A +
Outdoor-to-indoor B .:.
I I I III I I I II II
Vehicular A .:. J __J
Vehicular B : ::::: :: ::: ::
T1__,__, -,-,-,-,-,,-,---,-_...J-:- :-:-:-1-;-----:---:- -:-;-;::
I I I I I I III I I I I 'I III '" I II II
------.---T- - r '-r lili------r---.--'--,- )-I-(ir-----'---r j-r-.-r 11
I I I I I I III I' I I I I III 'I I I II II
I I I I I I III I I I I I "1' 'I I I II It
17
16
.... 15
0
14
II
13
0::
LU
12
Q:lI
\.9>
11
is' 10
"U
-
9
0
8
l.I.I
7
6
1
Figure 5-13 Downlink system working point for 8kb/s voice data service (113 convolutional coding, SF
=128, interleaving = 20ms) [ 25)
83
Generation and analysis ofBLER-tables by developing an UMTS link leve! simulator 06/12/2004
5.2.3 Parameterisation of the SISO link level results
The number of BLER-tables which has to be present to the system level simulator is large. With
the present parameter settings the amount of BLER-tables is 144. To increase the manageability
of the results it might be desirable to parameterise the generated BLER-tables. For that reason
linear parameterisation has been investigated.
Analysis of the BLER-tables shows that all generated curves (on a logarithmic scale) can be
described by two straight lines as is depicted in Figure 5-14. The fist line describes the slope of
the BLER-curve, the second line describes the threshold value of the BLER-curve for high
EblNO values. As Figure 5-15 shows, the slopes and the threshold values differ for every
parameter setting. Based on this conclusion the following linear parameterisation functions can
be established:
Slope value =fCcoding type, environment type, speed of the user, spreading factor) ( 5-23 )
Threshold value =fCcoding type, environment type, speed of the user, spreading factor) (5-24)
BIL )ER-"':UfH QPSK. us...:rbits"'" 320. <:rrors )O(), frame length "'"JOn, Channel upuatc pcnou no ringers"), Ira.lcd lcn
b
J1:h -,.400
Line # 2
35
,
'0
,
25 15 20
Ebi NO (dBI
'or- -- ---:--- -- ------ ----- -:- -----
............ _ - - - - I - - - - - i- - - - - - - - - - .- - - - - - I" - - - - -I - - - - - I TheoretIcal Rayleigh fading curvr
'0' - -:- - - - -, - - - - - - - i-----:- -----
._ .1 _ _....... _ _ _ _ _ L _ ... I _
- -= -= -= - -= - -= -= =: -= -= -= -=
..
I
' , ' ....
CO I I .......
""I :-: ':--------:: :c: : : : :': : : ..........
"'1::::,_:_ .::-::::::::::::f::_ __ Li,,"
..... __ __ -l. _ - - - - 1-_ _ _ _ _ +- - -_I __
I , ,
10 I L j
fl 5 10
Figure 5-14 Linear parameterisation orthe SISO results without power control
To identify the linear parameterisation coefficients a Matlab program has been written. This
program determines from all generated BLER-curves the slope values and the threshold values.
Based on the (scenario) parameter settings it tries to find the linear parameterisation
coefficients. However, the results of this linear parameterisation method are not very promising.
It showed that linear modelling of the slope and threshold values is not valid for these curves.
An explanation for this failure is that the effect of a change in one specific scenario parameter is
dependent on the other scenario parameters. For example change of the speed of the user in a
rural environment will affect the BLER-curves differently than in an urban environment.
84
Generation and analysis of BLER-tables by developing an UMTS link level simulator 06/12/2004
B(L)ER-curv..: QPSK: usl'rbits - no, - 300. frame knglh Channel upll'He period --'-512, 110 lraJcd Icnbrth -400
_ t _
'"
:: :I =:: : :: S::: ===:: =:: :: =:: ==:1= =:: :: :: :: :: =======
-r ---- -- --,- ----- -r
1 ,I
le
1- - - - - - - - - - - - - --" -iJ-
- - - - - - - - - _. - - ""'-
- t - - - - - - - - - - - - - -. - - -- - . -- - --
- -
1- - -
1
======l===:::=-------
.. _.... _-------
1
-= ==- =!: ==-= =::::! -= =- =-= ='-:: -= -= "=:
Ber R bit - 12. SF - 25f>. spCl"d OK1. cod U, cnvlr J
Ber R bll - J 2. Sf - 256. speed 1.1 ,KI<, cod - 0, envlI' J
Ber R bit - 12. Sf - 256. 'ip..::cd - 3.L13 , cod - O. envlr - 3
Btr R bit J 2. Sf 256, speed - 6'1.44, cod'""' 0, enVlr - '3
The()Tel iea! Raykigh fading curve
-}
Threshold values
lS 3U 25 I{)
"
I{)
Slope values ---+1
Figure 5-15 Linear parameterisation of the SISO results without power control
85
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
6 SIMO Link level simulator
06/12/2004
As stated in the introduction one of the goals of this study was to investigate the effect of
multiple antennas. This concerns the effect of multiple antennas on the BER/BLER-curves and
indirect the effect of multiple antennas on the interface between link and system level simulator.
Paragraph 6.land Paragraph 6.2 describe the extension of the SISO link level simulator to the
SIMO link level simulator.
6.1 Channel modification
The channel model of the SISO simulator consists of tapped-delay line with dependent Rayleigh
fading simulators (see Figure 4-18). The average powers of the delay signals are obtained from
the power delay profiles provided by 3GPP.
The current implementation of the SIMO model uses the SISO PDP's as well, it is assumed that
all the distinctive multi-path components have a different Direction of Arrivals (DOA's). This is
visualized in Figure 6-1.
The receiver (the uplink considered) is equipped with several antennas. Signals with the same
DOA's will be received with a different phase shift at each antenna. The antenna spacing is
assumed to be ,,1/2 and the number of receive elements is four. Formula ( 6-1 ) describes the
signals from one multi-path component arriving at one antenna element (at the k'th snapshot)
([ 23 D.
N
x
m
(k) = Ls;Ck)e-j2ff(dmIAc)SinB; + n
m
(k)
i=!
( 6-1 )
With:
d
m
siCk)
B
i
A
c
nm(k)
Distance of the m'th antenna element measured from the reference antenna
element
The different arriving signals
Incident angle of Si (k)
Wavelength at the carrier frequency
Noise addition
The received signal at the antenna elements can be expressed in matrices as shown in Formula
( 6-1 )
Y=AS
With:
( 6-1 )
Generation and analysis ofBLER-tables by developing an UMTS link level simulator 06112/2004
S m X n matrix, columns contain the signals from different directions, rows contain the
different samples.
A m x n matrix, columns contain the phase shifts due to the positions of the receive
antennas, rows contain the DOA's from the different arriving signals.
Y m x n matrix, columns contain the different samples, rows contain the signals which
arrive on the different antenna elements.
#1 #2 #3
User
position
Interferer
position
Figure 6-1 SIMO Channel model
Space
processing
Spatial
response
SISORok.
Receiver
_ ,
SISO Rake :
... -_ ....
_ ~ : : ~ ~ ~ J
1-- - .. - -- - .. - .. - ---,
: S1S0 Rake :
____ .J "''" _
l _ ~ : : ~ ~ ~ .. ~ .... __ .. J
~
separa.te signals
. from different
directions
MRC!OP
6.2 Receiver modification
The receiver has been extended with a space-processing block which can be seen in Figure 6-1.
The current implementation uses the same time processing block as the SISO simulator. Future
extensions may include the design of one space-time block function in the simulator. This will
decrease the computing time of simulations.
The beamforming algorithm which is implemented is Maximum Ratio Combining (MRC). This
algorithm only uses the DOA's of the wanted signals (multipath components from the desired
user) and does not cancel out the multipath components of the interferers. The algorithm is
expressed in Formula ( 6-2).
(6-2 )
In case ofMRC: W = A
With:
Y m x n matrix, columns contain the different samples, rows contain the signals which
arrive on the different antenna elerrx.nts.
88
Generation and analysis ofBLER-tables by developing an UMTS link level simulator 06/12/2004
W m X n matrix, columns contain the phase shifts due to the positions of the receive
antennas, rows contain the DOA's from the different arriving signals.
S m x n matrix, columns contain the signals from different directions, rows contain the
different samples.
89
Generation and analysis of BLER-tables by developing an UMTS link level simulator
7 SIMO simulations results and analysis
7.1 Simulation process
06/12/2004
The SIMa results have been obtained by running simulations for a given spread of the multi-
path components of the user and the interferer. This implies that a BER/BLER curve is only
valid for one specific angular profile of user and interferer multi-Qath cQmponents. The SIMa
results will be presented in the normal BER/BLER-curve with an according beamforming
pattern.
7.1.1 Angular spread of the multi-path components
The simulation of a SIMa situation requires additional information about the arriving multi-
path components. DOA's from each multi-path component from the user and interfere have to
be known for a correct simulation of the scenario.
True DOA's from the multi-path components can only be obtained from measurements or ray-
tracing models. However these options are not available to the link level simulator therefore a
stochastic model is used. An average angular spread of the multi-path components is related to a
environment ([ 14 D. Every simulation DOA's of the multi-path components are determined by
using the angular spread of the multi-path components. The angular spread of the multipath
component for different environments are listed in Table 7-1. This table however is not
complete for all environments. However for the intended simulations this angular spread
information will be sufficient
~ ~ !
Urban 15
Table 7-1 Angular spread of multi-path components connected to environments
7.2 Simulation results
7.2.1 Without power Control
Figure 7-1 shows a SIMa situation in case there exits a large separation of the user and
interferer multipath components. Figure 7-2 shows the corresponding BER-curve. It can be
concluded that the BER-curves resembles the one without the use of multiple antennas; in this
case the beam-forming pattern shows that the space algorithm is able to isolate the user signals.
91
Generation and analysis ofBLER-tablcs by developing an UMTS link level simulator
20
06/12/2004
90 - -
30
10.(
-30
Figure 7-1 Beamforming pattern (the desired user multipath components are red, the multipath
components from the interferes blue)
B(L)ER-culV QPSK
userbils ::: 320,errors::: 100,frame length =3800a,ch esti update =512,no fingers=3.trajecl=100
- - - _1- ... _
10.
1
- - - - - - - 1- -
::':1::: --:. :: ~ -= = = =::: ::: ::: =::: - - - - -
- - __ - - - _I . _
10-
2
- - - .- - - - 1- - - - - - - -1-
~ , - - , - , -,' --
20
,] ._' : c _
10 15
Eb I NO (dB)
25
Figure 7-2 SIMO results without power control
Figure 7-3 shows a beam-fonning pattern that is not able separate the interfering multipath
components from the desired user multipath components. The corresponding BER-curve
(Figure 7-4) shows a decrease in performance (almost 5 dB) compared to the scenario in which
good user separation is possible.
Beamformer of the user
10
90
30
I
I
'I
I 5 '
" l
, (
Angle in degrees
Figure 7-3 Beamforming pattern (the desired user multipath components are red, the multipath
components from the interferes blue)
92
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
B(lIER""",, QPSK
userbits == 320,ooor5 = 100,frame length =38000,ch esti updale =512,no fingers=3.traject=100
10' .-----_-
-,,,,,,,cc """ ,ro," "'"""_-"""', _. _ _ _ _ _ _ _ _ _ _ _ _ _ Theoretical QPSK Rayleigh fading _
__ 1 -J _
, ,
, ,
10' , ' 'J
06/12/2004
.
"
10.
2
<D
iii
10.
3
-----1--
,
,
,
,
.,.
,
,
- _I __
------------1---
---i--
,
,
,
,
,
., -
-------1-
Ebl NO (dB)
15 20 25
Figure 7-4 SIMO results without power control
93
Generation and analysis ofHLER-tables by developing an UMTS link level simulator
8 Conclusions and recommendations
8.1 Conclusions
06/12/2004
The research in this project has provided qualitative insight in the link level chain of UMTS
transmission and link level simulations in general. The key parameters that influence the link
level performance have been identified and the individual effect of the parameters has been
studied. A complete overview of the effect of different parameter settings has been given,
current literature does not provide in such an overview as already noticed in ( [ 12] ).
Regarding the interface between system and link level simulation it can be stated that a clear
interface has been defined for the 'SISO case' and conclusions and recommendations for the
'SIMO case' have been made.
8.1.1 SISO link level simulator
First the conclusions regarding the influence of parameter settings of the link level chain are
discussed, secondly the conclusions regarding the interface with the system simulator are given.
At the end of this paragraph the conclusions regarding the parameterisation process will be
discussed.
Parameter influences in the SISO link level simulator
The 'information bit rate' is a parameter in the link level simulator that does influence the
performance of the link. The information bit rate concerns the bit rate of the user data, which is
generated in the first block of the simulator.
Based on the information bit rate an appropriate spreading factor is selected, the length of the
SF is responsible for the effect to the BERIBLER curves. It is observed that the larger the SF,
the better the performance will be. In the simulation results without power control it can be seen
that the threshold value (which is present in most of the cases) is related to the length of the SF.
The cause of this effect is a better separation of the different multi-path components in the Rake
receiver when the SF is large.
In UMTS three types of 'channel coding' have been defined: 1/2 convolution coding, 1/3
convolution coding and 1/3 turbo coding. The effect of the Eb/NO curves in the case of no
'power control' is small in the BERIBLER-curves. The gain which is obtained by the effect of
the coding algorithm is annihilated by the energy decrease per chip because of the coding rate
(more chips have to be transmitted to transfer the original user data). In the case of power
control the effect of channel coding is more visible due to the lack of deep fading dips (more
stable SNIR) the coding algorithms perform better.
As described in the report the effect of the different 'Environments' is simulated by the use of
different Power Delay Profiles (PDP's) for each environment. The PDP's include delay and
power information for the different multi-path components. Differences in these delays and
power can cause extra noise in the receiver, because the number of rake fingers is limited. The
rural environment delivers the best performance, mainly because a LOS-componept is present in
the PDP.
95
Generation and analysis ofHLER-tables by developing an UMTS link level simulator 06112/2004
The 'speed of the user' parameter has a large influence on the overall BERIBLER curves. This
can be explained by the fact that the channel which is experienced by a user will change based
on the speed of the user. In the simulations without power control the effect of the speed of the
users is present because of imperfect channel estimation. A large speed of the user implies a fast
change of the channel and this implies that the channel estimation will be less accurate.
In the case power control is active, another effect of the speed of the user is noticeable. As
stated before, when the speed of the user is low the channel will change slowly. This implies
that the power control will be capable of compensating the effect of fast fading. At low speed
this means that the generated BLER-curves more tend to the AWGN theoretical curve than to
the Rayleigh theoretical curve.
It was shown that a comparison of the simulation results with ones that can be found in
literature is difficult. Definitions of the used energy ratio (for example the EbINO) may differ,
also the implemented link level chain may vary (for example different PDP's are used to model
the environment or the stepsize of the power control function is different). However, a
comparison with simulation results with power control was given in paragraph 5.2.2.2.
Interface conclusions SISO
The interface between the link and system simulator for the SISO case has been clearly defined.
The main conclusions of the interface study are that the power control function is absolutely
needed in the link level simulations even if the power control is present in the system level
simulator. The energy ratio (EbINO) which is used to select a BLER-value is an average value
over a period which is longer than the period of the power control. This implies that the power
control is namely able to compensate for the fast fading even during the period over which the
EblNO is averaged.
Regarding the output SNIR value of the system simulator it can be concluded that it is most
desirable that the Rayleigh fading process is disabled in the system simulator. The other option
to use the current SNIR output requires a transformation of the output SNIR to a SNIR which
can be used by the link level simulator but will cause extra unreliability.
The parameterisation of the generated results has been researched: it was shown that without
power control, the curves can be described by a slope- and a threshold variable. A linear fitting
program has been designed to identify the model coefficients. However it showed that based on
the generated results, a linear modelling process does not provide coefficients that are suitable
to generate the results with a high reliability. Non-linear modelling might provide better
coefficients which can be used to parameterise the results.
In the case of results with power control, no parameterisation research has been started. First
observations show that a further (analytical) study is needed to find out what parameters can be
used to characterize the BLER-curves.
8.1.2 SIMO link level simulator
First the conclusions regarding the influence of parameter settings are discussed, afterwards the
conclusions regarding the interface with the system simulator are discussed.
SIMO link level simulator
The SIMO link level simulator is equipped with one space-time algorithm; Maximum Ratio
Combining in combination with a Rake Receiver. This algorithm is used to study the effect of
beam-forming on the link level results. Simulation results show that the performance of the
96
Generation and analysis of BLER-tables by developing an UMTS link level simulator 06/12/2004
beam-forming process is very dependent on the angle of arrivals of the different mUlti-path
components from the desired user and its interferers. In other words if an average improvement
due to effect of multiple antennas is calculated, the average value will have a large standard
deviation.
Interface SIMa
As stated before, the angle of arrivals of the multi-path components of the user and the
interferers have a large influence on the performance. This indicates that when linking the
system simulator to link level simulator results, without a parameter that describes the position
of the wanted and unwanted interfering signals, the performance improvement calculation will
be very inaccurate with respect to the real world situation.
To simulate the effect of multiple antennas in the system- and link level simulator in a proper
way two options have been identified:
Option I: Introduce an extra parameter which gives information about the angle of arrivals of
the signals. This extra parameter can be used by the system simulator to select an appropriate
BLER-table which has been generated with the same parameter value.
Option 2: Perform an effective SNIR calculation in the system simulator. This implies that the
gain which is obtained by the use of multiple antennas is incorporated in the SNIR-value which
is used to select a SISO BLER-table. Using this option requires research of the SISO and SIMO
BER/BLER tables. This option namely implies that SISO and SIMO-curves should have more
or less the same shape and the SNIR improvement between the SISO and SIMO results should
correspond to the effective SNIR calculation which has to be performed in the system level
simulator.
8.2 Recommendations
The recommendations paragraph is spilt into two sections: one section containing the
recommendations regarding the SISO simulator and one section regarding the SIMO simulator.
SISO link level simulator
To gain more insight in the effect of the different parameter settings in the link level simulator,
the research has to be extended with an analytic approach. Some literature focuses on the
analytical modelling of for example fading process ([ 13 ]). An analytical approach will also
provide insight in the non-linear modelling process of the link level results.
The number of SISO simulations results with power control is still limited. Extending the
number of simulations with power control will provide the option make a more precise
comparison of the simulation results with the ones that can be found in literature ([ 17 ], [ 25 ], [
26 ]).
A topic that could be investigated more could be the effect of over-sampling the channel. A
more precise implementation of the PDP's can be achieved and also the effect of pulse shaping
may be investigated, although literature shows that the effect is little in DS-CDMA systems in
case ofjust AWGN ([ 16 ]).
97
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
8.2.1 SIMO link level simulator
06/12/2004
The current number of SIMO simulation results is limited, the recommendation is to generate a
large number of SIMO simulation results with different angular spreads of the user and
interferer multipath components. This will provide insight in the shape and the 'EbINO' shift
based on a certain angular spread as explained in the conclusions. Especially this will provide
information about the feasibility of incorporating the effect of multiple antennas in the system
level simulator.
The current SIMO link level simulator is only equipped with one space-time algorithm, it might
be desirable to investigate the effect of other algorithms as well. The resulting BLER-curves
may differ in shape and EblNO shift.
For future developments it is desirable that the receiver is not split into two parts: the 'space'
and 'time' equalisation blocks (like a the current implementation). When designing a space-time
algorithm from scratch in a link level simulator, the use of optimized matrices will increase the
manageability of the different variables and may increase the speed of the simulations.
Regarding the current development in the 3GPP standardisation process and the developments
in the B4 project it is desirable to study the link level effect of MIMO systems as well.
Extending the link level simulator to a MIMO situation requires the insertion of a space-coding
block, a MIMO channel and a space coding receiver. A very extended MIMO Matlab channel
model is already available in literature ([ 14 ]).This channel model may be used as a guideline
for the development of a own specific MIMO channel model.
98
Generation and analysis of BLER-tables by developing an UMTS link level simulator
9 References
[ 1 ] BraBantBreeBand (B4) website
http://www.brabantbreedband.nl
[2 ] Matic, D., Rijken, M. and Jevrosimovic, M.
D4.1: MULTI-ANTENNA TRANSCEIVERS AND UMTS
Internal B4 deliverable
[ 3 ] Jorguseski, L. and Matic, D.
MODYSIM UPGRADE SPECIFICATION FOR QQQ
Internal TNO Telecom, 30-4-2004
[ 4 ] Fleuren,M., Jorgeski,L., Vermijmeren,S. and Meijerink, E.
SPECIFICATlON OF MODYSIM
TNO Telecom internal (MOMENTUM), 2001
06/1212004
[ 5 ] Holma, H. and Toskala, A.
WCDMA FOR UMTS: RADIO ACCES FOR THIRD GENERATION MOBILE
COMMUNICATIONS
Chichester, England: John Wiley, 2000
[ 6 ] 3GPP Technical Specification 25.212,
MULTIPLEXING AND CHANNEL CODING (FDD)
www.3GPP.org
[7] W.C.Lee
MOBILE COMMUNICATIONS ENGINEERING: Theory and applications
McGraw-Hill, U.S: New York, 1997
[ 8] 3GPP Technical Specification 25.213,
SPREADING AND MODULATION (FDD)
www.3GPP.org
[ 9 ] Harada, H. and Prasad,R.
SIMULATION AND SOFTWARE RADIO FOR MOBILE COMMUNICATIONS
Artech House; Book and CD-ROM edition (May 1,2002)
[ 10 ] Rappaport, Th. S.
WIRELESS COMMUNICATIONS; PRINCIPLES AND PRACTISE
Upper Saddle River; Prentice Hall, 2002
[ 1]] Jakes, W.C.
MICROWAVE MOBILE COMMUNICATIONS
John Wiley and Sons; 1974
[ 12] Kicken, M.J.H.
ACQUIRING BLER-TABLES FOR A UMTS SYSTEM SIMULATOR
Internship report, January 2004
99
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
[ 13] Simon, M.K. and Alouini, M.S.
DIGITAL COMMUNICATION OVER FADING CHANNELS
John Wiley and Sons; 2000
[ 14] Schumacher, L.
1ST METRA; Matlab implementation of a MIMO channel
06/12/2004
[ 15] Leon-Garcia, A
PROBABILITY AND RANDOM PROCESSES FOR ELECTRICAL ENGINEERING
Addison-Wesley Publishing Company, 1989.
[ 16 ] Orten,P. abd Svensson,A.
SOME RESULTS ON PULSE SHAPING IN DS-CDMA SYSTEMS
Frames Document no: AC090/CTH/AIl/PI/I/004
[ 17] Andrade, E., Shinoda, A, Pellenz, M., Yacoub, M.
A COMPREHENSIVE 3G LINK LEVEL SIMULATOR
IEEE proceedings of the 3th simulation sympsium, 2002. p. 381 - 388
[ 18] 3GPP Technical Specification 25.302, Physical Layer - Services provided by the
Physical Layer (FDD)
[ 19] Ericsson WCDMA training documents
TNO telecom internals
[ 20] Proakis, J.G.
Digital Communications
McGraW-Hill International Editions, 1995
[21] Wade, G.
CODING TECHNIQUES: AN INTRODUCTION TO COMPRESSION AND ERROR
CONTROL
Hampshire: Palgrave, 2000.
[22 ] Haykin, S.
COMMUNICATION SYSTEMS, FOURTH EDITION
Simon Haykin, McMaster University
[23] Van der Veen, A
SIGNAL PROCESSING FOR WIRELESS COMMUNICAITONS
Dictate TU Delft ET4147
[ 24] Seeger, A
SYSTEM ASPECTS IN COMMUNICATIONS
http://www.master.ei.tum.de/mainframe/datalcourses/72157.html
[25] Melis, B. and Romano, G.
UMTS WCDMA: EVALUATION OF RADIO PERFORMANCE BY MEANS OF
LINK LEVEL SIMNULATIONS
IEEE Personal Communications, 2000. pA2 - 49
100
Generation and analysis of BLER-tables by developing an UMTS link level simulator 06/12/2004
[26] EURESCOM Project P921, UMTS Radio Access
DEVELPMENT OF LINK SIMULATORS AND INTEGRATION WITH THE
APPLICATION LAYER
101
Generation and analysis ofHLER-tables by developing an UMTS link level simulator 06/12/2004
Appendix A: User manual UMTS Link level simulator
103
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
A.I Introduction
06/12/2004
This manual can be used to run simulations with the UMTS link level simulator as described in
[1 ].
With a given parameter set the link level simulator is capable of generating so called BLER-
curves. The BLER-curves contain the relationship between signal-to-noise ratios and BLER
values.
The simulator has been developed in Matlab and has two operation modes: operation in the
Matlab environment and stand-alone operation. Both operation modes will be explained in this
document.
104
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
A.2 Simulation structure
06/\2/2004
This chapter gives a short overview of the simulation structure of the link level simulator in
pseudo code. It will not provide information about the implemented functions of the simulator
itself. The variables used in the pseudo code can be found in Table 9-1.
\05
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
A.3 Operation process
06/12/2004
As stated in the introduction the simulator can be used in two operation modes: in the Matlab
environment and as standalone application. Originally the simulator has been designed in
Matlab. To decrease simulation time and increase the usability of the simulator a standalone
application has been created. The stand-alone simulator is a (in C) compiled version of the
Matlab simulator. However to use the stand-alone version Matlab libraries are required.
A.I.I Operation in Matlab environment
All Matlab simulation scripts are stored in one directory (most likely: \LLsimulator_v.x.x.x),
which has to be the Matlab working directory. The function 'LL_main.m' is the main function
of the simulator and calls all the required functions. 'BER_eval_shel1.m' is a shell function,
which can be used to call the main function with a given parameter set. calls
a graphical user interface.
A.t.t.1 Operation with shell function
'BER_eval_shel1.m' contains all the necessary parameters for a single simulation. This means
that the function can be used to generate a single BLER-curve.
The parameters are divided into 2 sections: 'Simulation parameters' and 'Transmission chain'
parameters.
Simulation variables
EbnO start Information bit energy over spectral noise density (EbnO) start value,
-
this variable is only used for testing purposes. The default value is zero.
EbnO step Increasement of the EbnO value during simulation
EbnO max Maximum EbnO value during one simulation
errors Minimum number of errors which has to be detected per EbnO loop
BER target
Minimum value for bit error rate during one simulation
min chips Minimum number of chips in one simulation loop (I frame)
max frame Maximum number of frame retransmissions
traj Minimum number of frames in one transmission
const Constellation diagrams (on = 1, off= 0)
pdp Show the used Power Delay Profile (on = I, off = 0)
psd Power spectrum (on = 1, off= 0)
th AWGN Plot theoretical AWGN curve (on = 1, off = 0)
th Rayl Plot theoretical Rayleigh Fading curve (on = I, off = 0)
ber fit Ber fitting (on = 1, off= 0)
beamplot Plot the beamformer
output Output directory, default: '\\ntlsam1O\brh$\sim\results\'
Table 9-1 Simulation parameters
106
Generation and analysis ofBLER-tables by developing an UMTS link level simulator 06/12/2004
Transmission chain parameters
Transmitter variables:
M Number of userbits which are transmitted in one loop
R bit Bitrate of the offered service in kbps
CRCsize Cyclic Redundancy Check (CRC) length (options are: 8, 12, 16,24)
Codenumber Number of OVSF-code which is used!
Cod Coding type (0 = no coding, 1 = 1/2 convolutional, 2 = 1/3
convolutional, 3 = 1/3 turbo coding)
Channel variables:
multip Mu1tipath channel (on = 1)
MIMO MIMO channel (on = 1, off = 0)
envir Type of environment 1 = Htx, 2 = Rax, 3 = Tux.
v Speed of the user (mls)
NoI Number of interferers
TrafficSpread Spread of the multipath components (narrow -> 15, medium -> 45, wide
-> 90)
RadioEnv Spread of the users (suburban -> 5, urban -> 15)
Receiver variables:
M Number oftx antenna's
no fingers Number of Rake fingers in Rake receiver
ch esti update Number of chips after which the channel estimation is performed (>SF)
Table 9-2 Transmission chain parameter
A.1.1.2 Operation with graphical user interface (GUI)
The graphical user interface (Figure 9-1) can be started by entering the command
'ber_eva1_gui.m' on the Matlab command line.
The variables that are displayed in the Gill are exactly the same as listed in Table 9-1 and Table
9-2. The advantage over the use of the Gill to the shell function apart from the more is the some
variables have a limited number of options, which prevents the user from choosing not existent
options. Another advantage is the possibility to save the settings of a simulation. By default the
interface opens using last time settings.
107
Generation and analysis ofBLER-tables by developing an UMTS link level simulator 06/12/2004
Figure 9-1 Graphical user interface link level simulator
108
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
A.1.2 Stand alone operation
06/12/2004
As stated before, simulations can also be performed by a compiled C version of the Matlab files.
This approach is more desirable when generation a large number of BERIBLER curves. The
simulation time is shorter and remote access operation is possible.
A.1.2.1 Creation of the stand-alone application
To create a standalone version of the simulator the simulator files must be compiled to an
executable file. To compile the Matlab version of the simulator the following Matlab commands
can be used:
This command compiles 'ber_eval_c.m' and all the linked m-files into a C-stand-alone
compilation. The function 'ber_eval_c.m' is an adjusted version of 'ber_eval.m'. The first
contains some data type conversions which are needed for the compiled c version of the code.
The results of this compilation process are stored in the '/compiled' directory.
When using the Matlab 7 compiler the results of this process consists of 2 files:
1. ber eval c.exe
2. ber eval c.ctf
Both files are needed for the stand-alone operation.
A.1.2.2 Running the stand-alone application
Running of the stand-alone application requires not only the 2 generated files but also the
installation of Matlab libraries and runtime components. To install then on a different machine
than the original the following procedure [ 28 ] should be undertaken:
Install the 'MCR installer' on the target machine, this installer will copy all the necessary library
and runtime files onto the target machine. The file MCRIstaller.exe can be found in the
<matlabroot>\toolbox\compiler\deploy\win32 directory.
After installation the following path should be added to the system path:
<mcr root>\runtime\win32.
To start the simulator in the stand-alone mode and to generate a single BLER-table the
following commands can be used.
109
Generation and analysis ofBLER-tables by developing an UMTS link level simulator 06/1212004
When simulating the last line should be replaced changed to pass the real values of the function
to simulator:
During the simulation the simulator generates the following output:
Displaying the in-between results of the simulation in DOS box
After the simulation the simulator creates a txt file which contains all the simulation parameters
and the simulation results. The default directory for the output txt files is:
'\\ntlsaml O\brh$\sim\results'.
To generate a complete set of BLERIBER curves a batch file can be used. The batch file starts
different simulations with different parameter settings. As an example a part of such a batch file
is displayed below:
110
Generation and analysis ofBLER-tables by developing an UMTS link level simulator 06/1212004
A.l.3 Remote access operation
The stand-alone simulator can also be runned on a remote pc using the 'rsh' functionality.
Another batch file can be created for this purpose (,start_sim.bat'). This batch files starts two
batch files on 2 remote pc's (in this case \\SAM21 & \\SAM22).
A disadvantage is that the in-between results are not directly available, however also the in-
between can be stored in an additional .txt file. This can be accomplished by adding the
following command to the 'rsh' line:
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
A.4 Post processing
06/12/2004
This chapter concerns the post processing of the generated .txt files.
The simulator generates .txt files in a directory (default: '\\ntlsamlO\brh$\sim\results'). The
name of the txt files is distracted from the input parameters of the simulator and therefore easy
to categorize.
The most important variables are available in the name of the txt-file.
To generate the corresponding BERIBLER curves from the link level results the following steps
should be undertaken:
1. Place output results in directories with less than seven output files. For example they
may be categorized first to environment and after to the speed of the user.
2. Copy the post-processing m- file (grabnplot.m) to each of the directories.
3. Start Matlab and change the working directory to the directory of the catergorized
output results.
4. Run grabnplot.m
As a result all the BERIBLER curves are plotted in one figure.
REMARK: The displayed BLER value is estimated from the BER-value in the output files,
the 'real' BLER value is also available in the output files but far less accurate
than the estimated value. To use the 'real' BLER-value the simulation time
must be extended to undesirable simulation times.
112
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
A.5 References
06/12/2004
[ 27] Kicken, M.J.H.
GENERATION AND ANALYSIS OF BLER-TABLES BY DEVELOPING AN
UMTS LINK LEVEL SIMULATOR
TNO Telecom internal graduation report, 2004
[ 28 ] Matlab 7
COMPILER VA.O TOOLBOX HELP DOCUMENT
113
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
Appendix B: Matlab functions
06/12/2004
115
Generation and analysis ofBLER-tables by developing an UMTS link level simulator 06/12/2004
B.I. LL
malD.m
% 18-2-2004 Marcel Kicken
% Main function for a B(L)ER analysis of an UMTS transceiver
function [BER, BLER_v, EbnO, comp1ex_chips_awgn, Rcod, numberofframes, numberofchips,
muci] = LLmain(mu1tip, envir, v, EbnO_step, BER_target, CRCsize, SF, cod, ...
m, codenumber, tsp, errors, const, psd, R_bit,res_m, no fingers, ch_rs, min chips,
max_frame, traj, pdp, ch_esti_update, EbnO_max, MIMO,
NoI,beamp1ot,TrafficSpread,RadioEnv,M,EbnO start);
%%%%%%%%%%%%%%%%% Input parameters %%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%%%%%%%%%%%%%%% General %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% res m % Output file identifier
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% %%%%%%%%%%%%% Simulation variables %%%%%%%%%%%%%%%%%%%%%%%%%
% EbnO start %
compatible with the rest of
% EbnO step %
% EbnO max %
% errors %
% BER_target %
% min_chips %
% max frame %
% traj %
% tsp = 1 I 3.84e6; %
EbnO start value (use only for testing!! : not fully
the simulator)
Channel bit energy over spectral noise increase
Maximum EbnO value
Number of errors
BER target
Minimum number of chips in one simulation loop (1 frame)
Maximum number of frame retransmissions
Minimum number of frames in one transmission
Time step (chip period)
%
% canst
% pdp
% psd
% th AWGN
% th_Ray1
% ber fit
% beamp10t
% output
%
%
%
%
%
%
%
%
Constellation diagrams (on ~ 1, off = 0)
Show the used Power Delay Profile (on = 1, off 0)
Power spectrum (on ~ 1, off = 0)
Plot theoretical AWGN curve (on = 1, off = 0)
Plot theoretical Rayleigh Fading curve (on = 1, off
Ber fitting (on = 1, off = 0)
Plot the beamformer
Output directory
0)
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% %%%%%%%%%%%% Transmission chain parameters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% %Transrnitter
Spread of the users (suburban -> 5, urban -> 15)
Number of userbits which are transmitted in one
loop
Bitrate of the offered service in kbps
Cyclic Redundancy Check (CRC) Length (options are:
8, 12, 16, 24)
Number of OVSF-code which is used!
Coding type (0 = no coding, 1 = 1/2 convolutional,
2 = 1/3 convolutional, 3 ~ 1/3 turbo coding)
Spreading Factor
Channel bit rate in kbps
components (narrow -> 15,
~ 1)
off = 0)
Htx, 2 Tux. Rax, 3
Multipath channel (on
MIMO channel (on = 1,
Type of environment 1
Speed of the user (m/s)
Number of interferers
Spread of the multipath
%
%
%
%
%
%
%
%
%
%
%
%
%
%
% R bit
% CRCsize
% codenumber
% cod
% SF
% ch rs
%
% %Channel
% multip
% MIMO
% envir
% m
% v
% NoI
% TrafficSpread
medium -> 45, wide -> 90)
% RadioEnv
%
% %Receiver
% M % Number of tx antenna's
% no_fingers % Number of Rake fingers in Rake receiver
% ch estl update % Number of chips after which the channel estimation
is performed (largest SF)
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
116
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
%%%%%%%%%%%%% output variables %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% BER % Bit Error Rate
% BLER v % Block Error Rate
% complex chips_awgn % Baseband signal at the receiver site (for testing
% purposes only)
% Rcod % Coding rate
% numberofframes % Number of frames which are transmitted during one
% simulation
% numberofchips % Number of chips which are transmitted per frame
% muci % Confidence levels (stored in cell array)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
06/1212004
% Check whether number of userbits corresponds whith the used coding type
if ((rem(m,2)==0) & cod ~ = 3 ) I ((rem(m,2)-=0) & cod -=3)
disp('ERROR: Incorrect number of userbits: use an odd number for turbo coding and
even number else! ');
return
end
%%%%%%%%%%% function variables %%%%%%%%%%%
% Identify the corresponding coding rates according to the coding type
if cod == 1
Rcod = 2;
elseif cod 2 I cod 3;
Rcod 3;
else
Rcod 1;
end
min frame traj; % Minimum number of frame transmissions is equal to the
var traj
data tx [];
i chlps [] ;
q_chips [];
nUmberofchips = 1;
% load the correct environment parameters
[tap no, itau, dlvl, direct_wave] = envir_param(envir,tsp);
% load the correct channel parameters
[phiUdeg, phiU, phildeg, phiI,lambda] =
MISO-param(length(itau),NoI,TrafficSpread,RadioEnv);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% UMTS link level blocks %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
while numberofchips < min chips
% ----------- DPDCH source ----------
data tx_temp = userbits(m); % random bit generation
% ---------- CRC & tail bit insertion -----------
data crc = CRCadd(data tx temp, CRCsize);
% Channel coding -----------------------------
if cod == 1;
[data_cod,trel] encoder conv2(data_crc);
elseif cod == 2;
[data_cod,trel] encoder_conv3(data crc);
elseif cod == 3;
[data_cod, g, alpha, puncture, niter, L total, dec alg, m_t, Rcod]
encoder_mk(data_crc);
else
data cod data crc;
end
% ---------- Serial to parallel mapping
117
Generation and analysis ofBLER-tables by developing an UMTS link level simulator 0611212004
ser2parmap(data cod);
%%% Scatterplot generation %%%
if const == 1
b = figure(l);
set(b,'position',[0 300 1024 400]);
subplot(2,4,1) ;
scatterplot(i_data + j.*q_data);
title('Constellation of channel bits at transmitter');
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% --------------------- Spreading
% Channelisation process
% Applying of the OVSF codes
[i chips temp, OVSF i]
[q_chips_temp, OVSF_q]
channelisation(i data,SF,codenumber);
channelisation(q_data,SF,codenumber);
% --------------------- Frame filling
i chips
q_chips
[i ChlPS l chips_tempJ;
[q_chips q_chips temp];
numberofchips = length(i_chips);
numberofchbits numberofchips / SF;
TP_chip_length length(i ChlPS temp);
data_tx = [data_tx data_tx_temp];
% -------------------------------------------------------------------
end
% ------------- Scrambling and frame equalization -------------------
% Scrambling process
% -------------------------------------------------------------------
%%%%%%%%%%%% EbnO loop set up %%%%%%%%%%%
% print to screen
fprintf('\n Ebno BER BLER');
fprintf('\n-------------------------');
spow = (i chlps(1)A2 + q_chips(1)A2)/2; % Chip power
n = 0;
BER= [1];
firsttime ~ 1;
EbnO value = EbnO start;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
while (BER(n + firsttime) > BER_target & EbnO value <= EbnO_max)
different EbnO values
firsttime = 0;
n = n + 1;
w = 0;
loop_number = 0;
noe = [];
BER_temp = [0];
BLER_temp ~ [0];
%%%%%%%%%%% Frame retransmission loop set up %%%%%%%%%%%%%%%%%%
update_counter = [OJ;
complex_chips channel I tot = [OJ;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Loop for
118
Generation and analysis ofBLER-tables by developing an UMTS link level simulator 06/12/2004
channel I tot [OJ;
while ((sum(noe)
max_frame);
w = w + 1;
loop_number
fprintf ( , . ' ) ;
complex_chips
ii=O;
< errors)
%
w;
(loop number <= min frame)) & (loop number <
Loop for FRAME retransmissions
% ---------- Baseband modulation ----------
complex chips = (i chips + j .* q_chips);
%%% Scatterplot generation %%%
if const = ~ l
figure (1)
subplot(2,4,1);
scatterplot(complex_chips);
title('Constellation of chips at transmitter');
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ---------- Channel ----------
% Signal of the desired user
[complex_chlps channel_U,taus,xc,xs,flat,dlvl,steervecU,lambda]
LL_channel(multip,MIMO,complex chips, tsp, envir, v, SF,n,w, EbnO value,
m,CRCsize, Rcod,spow,M,phiUdeg,phiU,lambda);
% Signal(s) of the interferer(s)
for ii = 1 : 1 : NoI
% Generation of interferer chips
complex chlps I = sqrt(2) .* (((2.* (double(rand(l,length(complex chips >
0.5) - 1) + j .* 2.* (double(rand(l,length(complex chips > 0.5) -
1) ;
[complex chips channel_I, taus I,xc I,xs_I,flat_I,dlvl I,steervecI,lambdal =
LL_channel(multlp,MIMO,complex_chlps I, tsp, enVlr, v, SF,n,w, EbnO_value,
m,CRCsize, Rcod,spow,M,phiIdeg(ii,:),phiI(ii, :),lambda);
end
complex_chips channel I tot
complex_chips channel I;
complex_chips channel I tot +
% Addition of the user and interferer(s) signal(s)
complex chips tot = (complex chips channel U +
complex_chlps channel I tot) .!(NoI + 1);
% Noise addition
[complex_chips_awgn]
Rcod,spow) ;
AWGN(complex chlps tot, EbnO_value, m, SF,CRCsize,
% ------------------------------------------------------
%%% Scatterplot generation %%%%%%%
if const == 1
figure (1)
subplot(2,4,2);
scatterplot(complex_chlps awgn)
title ('Constellation of chips at receiver');
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Power spectrum generation %%%%
if psd ~ ~ 1
N 512;
Y = fft(complex_chips_awgn, N);
119
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
P Y.* conj (Y) I N;
q 1 I tsp;
f q* (0 : 511) IN;
figure(2)
plot (f, P (1: 512
title ('Frequency content of y')
xlabel('frequency (Hz) ')
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ---------- Baseband demodulation ----------
imag(complex_chips_awgn);
real (complex chips awgn);
% ---------- Receiver ---------------------
if MIMO == 1 & multip 1
% Space processing
06/12/2004
[complex_chips_channel] space_proc(complex_chips awgn,steervecU,lambda,M,
phiUdeg,phildeg,beamplot);
% Scatterplot generation %%%%%%%
if const ~ ~ 1
figure(l)
subplot(2,4,5);
scatterplot(complex_chips_channel)
title('After space processing');
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Time processing (Rake receiver)
[rx ch_bits_total_i, rx_ch_bits_total_q] ~ rake (real (complex_chips_channel),
lmag(complex_chips channel), taus ,xc ,xs, no flngers, OVSF i, OVSF_q, flat,
dlvl, scr long DWL, ch_esti update);
elseif multip ~ ~ 1
% ---------- only time processing (Rake Receiver) ---------------------
[rx_ch_bits_total_i, rx ch bits total q] = rake(i awgn, q_awgn, taus ,xc
,xs, no flngers, OVSF_i, OVSF_q, flat, dlvl, scr long_DWL, ch esti_update);
else
%
% Descrambling
Receiver (no time processing) ----
chips_dsc = (i awgn + q_awgn * j)
conj (scr long DWL);
* conj ((l+j) labs (l+j
*
i awgn
q_awgn
real (chips dsc);
imag(chips dsc);
end
rx ch bits total i
- - - -
rx ch_bltS total q
dechannelisation(i awgn, OVSF_i);
dechannelisation(q_awgn, OVSF q);
%%% Calculation of the effective received SNIR %%%%
% calculation of the signal to noise ratio for the channel bits
rec_ch_pow = rx_ch_bits_total i.
A
2 T rx ch_bltS total_q.A2 I
length(rx_ch_bits total i);
120
Generation and analysis ofHLER-tables by developing an UMTS link level simulator
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% Scatterplot generation %%%%%%%%%%%%%%%%%%%%%%%
if const == 1
figure (1)
subplot(2,4,6);
scatterplotrx ch_bits total i + j .* rx_ch_bits_total_q) ./SF);
title('Constellation of channel bits at receiver');
drawnow; % forces matlab to redraw the screen
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ------------- Frame detraction ---------------------
data rx = [];
06/12/2004
for p = 0 : 1 numberofchbits / TP_ch_bit length) - 1)
the number of TP which are transmitted
% LOOp till
rx_ch_bits_i ~ rx_ch_bits total i(l + P * TP_ch_bit length
TP_ch_bit_length);
rx_ch_bits_q = rx_ch_bits_total_q(l + p * TP ch_bit length
TP_ch_bit_length) ;
(p + 1) *
(p + 1) *
%
if cod == 1
data demod
data decod
Channel decoding & demodulation----------
% 1/2 hard decision convolutional decoding
par2serdemap(rx_ch_bits_i, rx_ch_bits_q);
decoder conv(data_demod,trel, Rcod);
elseif cod == 2 % 1/3 hard decision convolutional decoding
data demod par2serdemap(rx_ch_bits_i, rx_ch_bits_q);
data decod = decoder conv (data_demod, trel, Rcod);
elseif cod == 3 % 1/3 soft decision turbo decoding
data demod par2ser(rx_ch_bits i, rx ch_bits_q);
data decod ~ decoder_mk(data_demod, g, alpha, puncture,
dec alg, m_t, Rcod, SF, EbnO_value);
niter,
else
data demod
data decod
end
% no decoding
par2serdemap(rx_ch_bits i, rx ch bits q);
data_demod;
% ---------- CRC & tail bit removal and evaluation ----------
[error, data rx_temp] ~ CRCrem(data_decod, CRCsize);
data rx = [data_rx data rx_temp];
end % TP block evaluation
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% B(L)ER evaluation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[BER_temp(w),noe(w)] = ber(data_tx(l:length(data_rx, data_rx);
BLER_temp(w) = ble(data_tx(l:length(data_rx, data rx);
end % End of frame / packet retransmission
numberofframes(n) loop_number; % Number of transmitted frames per EbnO value
% BER_temp
BER(n) ~ sum (BER_temp) / loop number;
BLER_v(n) sum (BLER_temp) / loop_number;
121
Generation and analysis ofBLER-tables by developing an UMTS link level simulator
% Statistical reliability calculation
[mu,sigma,muci(nj,sigmaci] = normfit(BER_temp);
% Print inbetween results to screen
fprintf('\n %2.2f %f %f', EbnO_value,BER(n),BLER_v(n;
EbnO value ~ EbnO value + EbnO step;
06/12/2004
end % End of the different Ebno values ....
EbnO [O:EbnO step:EbnO_value-EbnO step];
% Print to matlab compatible txt file
fprintf(res_m, '\r\n ebnO = [ 'I;
fprintf(res_m,'%2.2f " EbnO);
fprintf(res_m, '];');
fprintf(res_m, '\r\n BER ~ ['I;
fprintf(res_m, '%f " BER);
fprintf(res_m, 'J; 'I;
fprintf(res_m, '\r\n BLER_v = ['I;
fprintf(res_m, '%f " BLER_v);
fprintf(res_m, ']; 'I;
%statistical reliability
fprintf(res_m, '\r\n muci = [');
fprintf(res_m, '%d " cel12mat(muci;
fprintf (res_m, ']; ') ;
%angles of the users
fprintf(res_m, '\r\n phiU = ['I;
fprintf(res_m, '%d " phiU);
fprintf(res_m, 'J; ');
fprintf(res_m, '\r\n phil = ['I;
fprintf(res_m, '%d " phil);
fprintf(res_m, 'J;');
fclose (res_m);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
122