Lecture 10
Lecture 10
Introduce
– Calculating BER Examples
– Power consumption
– Gaussian PDF of noise
Summary
ELEC1200 1
The Binary Channel
P[IN=0] 1 − Pe0
0 0
Pe0
IN OUT
Pe1
1 P[IN=1]
1
1 − Pe1
IN OUT
Pe1
1 P[IN=1]
1
1 − Pe1
ELEC1200
Two types of errors! 3
ELEC1200: A System View of
Communications: from Signals to Packets
Lecture 10
Review:
– The binary channel model
Introduce
– Calculating BER Examples
– Power consumption
– Gaussian PDF of noise
Summary
ELEC1200 4
Example
Input/Output Bit Streams
n 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
IN 1 1 0 1 1 0 0 1 1 1 0 1 1 0 1 0 0 1 1 1 1 0 1 1 1
OUT 1 1 0 1 1 0 0 1 1 1 1 1 1 0 1 0 0 1 1 0 1 0 0 1 1
By definition:
# of errors 3
BER ≈ = 12%
=
# of bit pairs 25
0
8
0
Pe0 = 1
8
IN OUT
Pe1 = 2
17
1 1
P[IN=1] = 17
25
1 − Pe1 = 15
17
1 8 2 17 3
BER = Pe0 ⋅ P[IN=0] + Pe1 ⋅ P[IN=1] = ⋅ + ⋅ =
8 25 17 25 25
ELEC1200 5
Intuition
P[IN=0] 1 − Pe0
0 0
Pe0
IN OUT
Pe1
1 1
P[IN=1] 1 − Pe1
• Since P[IN=0]+P[IN=1]=1,
– BER is a weighted average of Pe0 and Pe1
– BER is between Pe0 and Pe1
– If IN=0 is more likely, the BER is closer to Pe0
– If IN=1 is more likely, the BER is closer to Pe1
– If IN=0 and 1 are equally likely, BER = ½(Pe0 + Pe1)
– If Pe0 = Pe1, BER = Pe0 = Pe1.
ELEC1200 6
Example BER Calculation
P[IN=0] = 0.6 1 − Pe0 =
0.8
0 0
Pe0 = 0.2
IN OUT
Pe1 = 0.3
1 1
P[IN=1] = 0.4 1 − Pe1 =
0.7
ELEC1200 7
What we need to know to predict BER
P[IN=0] 1 − Pe0
0 0
Pe0
IN OUT
Pe1
P[IN=1]
1 1
1 − Pe1
Introduce
– Calculating BER Examples
– Power consumption
– Gaussian PDF of noise
Summary
ELEC1200 9
Power Consumption
• Power is energy used per unit time: Typical power consumption:
– microwave oven 1000W
energy – desktop computer 120W
power =
time – notebook computer 40W
– 1 Watt = Unit of Power – human brain 10W
– Lifting an apple (~100g) up by 1m in 1s requires ~1W – mobile phone 1W
• Batteries contain a fixed amount of energy.
– The higher the power consumption of the device they are
powering, the faster this energy is used up.
energy
usable time =
power consumption
ELEC1200 10
ELEC1200: A System View of
Communications: from Signals to Packets
Lecture 10
Review:
– The binary channel model
Introduce
– Calculating BER Examples
– Power consumption
– Gaussian PDF of noise
Summary
ELEC1200 11
Gaussian PDF of Noise
• The probability density function of
many naturally occurring random
quantities, such as noise, tends to
have a bell-like shape, known as a Gaussian PDF
Gaussian distribution.
• This very important result is due to a
mathematical result known as the
Central-Limit Theorem.
• This random variable is so common
that it is also called the “normal”
random variable.
The wider the PDF,
• Applications: the larger the noise.
– Noises that corrupt transmission signals.
– Position of a particle undergoing Brownian
motion.
– Voltage across a resistor.
ELEC1200 12
Parameters of Gaussian pdf
• The mean (m) of a Gaussian random variable is
– Its average value over many samples
– The center location of the pdf
• The standard deviation (σ) is
– An indication of how “spread out” the samples are
– A measure of the width of the pdf
• The variance (σ2) is
– The square of the standard deviation
– The average power over many samples
1
pdf
2π σ
−( x−m)2
e −0.5 1
f X ( x) = e 2σ 2
2π σ f X (x) 2π σ
The Gaussian pdf is ~60% of
completely determined peak
by its σ
mean and Variance
ELEC1200 m x 13
Changing the Mean and Variance
• Changes in mean shift the center of mass of PDF
• Changes in variance narrow or broaden the PDF
– Note that area of PDF must always remain equal to one
1
2πσ
Mean = mx
Standard Deviation = 𝝈𝝈𝒙𝒙
σx
1
2πσ
σx
ELEC1200 14
Summary
ELEC1200 15