Class 9 Notes
Class 9 Notes
Analysis
ECE 5610/4610 Lecture Notes
r�0 r = 0 r�0
y y y
f � x� y � f � x� y � f � x� y �
x x x
x � t� � 0 � y � t� � i �� i = 0� 1� �
h LP � t � t
t
© 1990 2004
Mark A. Wickert
�
Chapter 1
Course Introduction/Overview
Contents
1-1
CHAPTER 1. COURSE INTRODUCTION/OVERVIEW
• Mathematical models
• Random signals in practice
• Course perspective
• What is this course about?
• The computer simulation project
• Instructor policies
• Course syllabus
Formulate
Hypothesis
Define Experiment to
Test Hypothesis
Physical Modify
or Simulation of Model
Process/System
Observations Predictions
Sufficient No
Agreement?
No All Aspects
of Interest
Investigated?
Stop
1 Alberto Leon-Garcia, Probability and Random Processes for Electrical Engineering, Addison-Wesley, Reading,
MA, 1989
Estimation
and Filtering Information
Signal Theory
Processing
Communication
Reliability & Wireless
Random Signals
and Systems
Linear
Systems
Others
Probability
Random
Variables
Statistics
Decision
Theory
Game Mathematics
Theory
2 X. Rong Li, Probability, Random Signals, and Statistics, CRC Press, Boca Raton, FL, 1999
Binary Received
Information Binary Information
Coder Channel Decoder
Communication System with Error Control
• The decoder then decides which bit was sent by using a majority
vote decision rule
• The system can tolerate one channel bit error without the de-
coder making an error
• A symbol error occurs when either two or three channel bit er-
rors occur
• The probability of a symbol error is given by
Pe �symbol) = P�2 bit errors) � P�3 bit errors)
• Assuming bit errors are statistically independent we can write
P�2 bit errors) = � · � · �1 − �) � � · �1 − �) · �
� �1 − �) · � · � = 3� 2�1 − �)
P�3 errors) = � · � · � = � 3
• The symbol error probability is thus
Pe �symbol) = 3� 2 − 2� 3
• Suppose Pe �bit) = � = 10−3, then Pe �symbol) = 2.998 × 10−6
• The error probability is reduced by three orders of magnitude,
but the coding reduces the throughput by a factor of three
fx � x n ) fx � x v + n )
Area = 1
vT
x
–1 0 v–1 1 v v+1
fx � x v + n )
PD = P � x ≥ vT v + n )
vT
x
–1 0 v–1 1 v v+1
Area corresponding to PD
f
–fc 0 fc
• To recover just the carrier from x�t) we may pass x�t) through
a filter
n�t)
S xx � f )
Highpass or
Bandpass Filter
f
–fc 0 fc
S yy � f )
f
–fc 0 fc
d1 � t ) WGN: n � t )
Delay, τ 1
c1 � t )
d2 � t )
Delay, τ 2
y� t)
c2 � t )
dK � t ) . . .
Delay, τ K
Tb dˆ 1 � t )
cK� t )
�0 � . ) dt
c1 � t – τ1 )
where
N0 −1
��
K −1
SNR = �
3N 2E b
K is the number of users and N is the number of spreading code
chips per bit, i.e., the processing gain; note here we assume per-
fect power control so all of the received signal powers are equal
• The term E b /N0 is the ratio of bit energy to noise power spectral
density, usually given in dB as 10 log10�E b /N0)
−2
K = 30 users
log 10 [ BEP ]
K = 20 users
−3
−4
K = 10 users
−5
K = 1 K = 5 users
−6
0 5 10 15 20 25 30
E b ⁄ N 0 dB
where
� � � � ��
1 2 t 1
g�t) = erf − π BTb −
2 ln 2 Tb 2
�� � � ��
2 t 1
� erf π BTb �
ln 2 Tb 2
• The GMSK shaping factor is BTb = 0.3 and the bit rate is Rb =
1/Tb = 270.833 kbps
• We can model the baseband GSM signal as a complex random
process
• Suppose we would like to obtain the fraction of GSM signal
power contained in an RF bandwidth of B Hz centered about
the carrier frequency
• There is no closed form expression for the power spectrum of a
GMSK signal
• A simulation constructed in MATLAB can be used to produce a
complex baseband version of the GSM signal
20
10
-10
P fraction
-20
-30
-40 B
-50
-60
-400 -300 -200 -100 0 100 200 300 400
GSM Power Containment vs. RF Bandwidth
1
Fractional Power 0.8
0.6
B = 200 kHz ↔ 95.6%
0.4 B = 100 kHz ↔ 67.8%
B = 50 kHz ↔ 38.0%
0.2
0
0 50 100 150 200 250 300
RF Bandwidth in kHz
Customers Servers
One
Queue 1
Random (waiting line)
Arrivals at λ 2 Departing
per unit time
Customers
(exponentially
...
distributed) Rate
λ m
T s = Average Service
Time
Separate
Customers Servers
Queues
1
Random
Arrivals at λ 2 Departing
per unit time Customers
(exponentially
...
distributed)
m
Rate
Assume customers T s = Average Service
λ⁄m Time
randomly pick queues
One long service-time customer
forces those behind into a long wait
TQSQ m m
= =
Ts m − λTs m−u
function Ec = erlang_c(m,u);
� Ec = erlangc(m,u)
�
� The Erlang-C formula
�
� Mark Wickert 2001
s = zeros(size(u));
for k=0,
s = s + u.ˆk/factorial(k);
end
Ec = (u.ˆm)/factorial(m)./(u.ˆm/factorial(m) + (1 - u/m).*s);
>> � m = 2 case
>> u = 0:.05:1.9;
>> m = 2;
>> Tqsq = m./(m - u);
>> Tqcq = erlang_c(m,u)./(m-u) + 1;
>> � m = 4 case
>> u = 0:.05:3.9;
>> m = 4;
>> Tqsq = m./(m - u);
>> Tqcq = erlang_c(m,u)./(m-u) + 1;
7
m = 2 Separate
6
5
TQ
------- 4
Ts
3
Common
2
0
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Traffic Intensity = λT s
7
m = 4
6 Separate
5
TQ
------- 4
Ts
3
2 Common
1
0
0 0.5 1 1.5 2 2.5 3 3.5 4
Traffic Intensity = λT s