Lecture 4_Noise in Communication Systems_2024
Lecture 4_Noise in Communication Systems_2024
Lecture 4_Noise in Communication Systems_2024
University of Science
Faculty of Electronics & Telecommunications
Chapter 4:
Noise in Communication Systems
Dang Le Khoa
Email: dlkhoa@hcmus.edu.vn
Outline
⚫ Properties of Signals
– Periodic Waveforms
– DC Value, Power
– Energy and Power Waveforms
– Signal-to-noise Ratio
– dB, dBm
⚫ Properties of Noise
– Random Variables
– Cumulative density function (CDF)
– Probability density function (PDF)
– Stationarity and Ergodicity
– Binomial distribution
– Gaussian Distribution
Faculty of Electronics & Telecommunications
Properties of Signals & Noise
➢ In communication systems, the received waveform is
usually categorized into two parts:
Signal: Noise:
The desired part containing the The undesired part
information.
➢ Definition
A waveform w(t) is periodic with period T0 . A sinusoidal waveform
of frequency f0 = 1/T0 Hertz is periodic
where T0 is the period of the waveform and a is an arbitrary real constant, which
may be taken to be zero.
5
DC Value
6
Power
➢ Definition.
Let v(t) denote the voltage across a set of circuit terminals,
and let i(t) denote the current into the terminal, as shown .
The instantaneous power (incremental work divided by
incremental time) associated with the circuit is given by:
p(t) = v(t)i(t)
the instantaneous power flows into the circuit when p(t) is
positive and flows out of the circuit when p(t) is negative.
➢ The average power is:
7
Evaluation of DC Value
➢ A 120V , 60 Hz fluorescent lamp wired in a high power factor configuration.
Assume the voltage and current are both sinusoids and in phase ( unity power
factor)
Where, Current
0 = 2 / T0 , and
f 0 = 1 / T0 = 60Hz
Similarly,
I dc = 0 8
Instantenous Power
Evaluation of Power
VI
=
2
The Maximum power is: Pmax=VI
9
RMS Value
➢ Definition: The root-mean-square (rms) value of w(t) is:
V
Wrms = V cos(ot ) =
2
➢ Rms value of a sinusoidal: 2
➢ Theorem:
If a load is resistive (i.e., with unity power factor), the average
power is:
1
P = lim g (t )dt
2
T → T
−
11
Energy and Power Waveforms
12
Example
⚫ Find the energies of the signals shown in Figure below
2 2 2
1 1
E = sin (t )dt =
2
dt − cos 2tdt = + 0 =
0
2 0
2 0
C2 T0 T0
= dt + cos(20t + 2 )dt
2T0 0 0
C2 C2
= T0 + 0 =
2T0 2
2
( e ) dt = ( e )dt =
−t −2 t
E=
− −
T /2 2 T /2
P = lim
1
T → T e −t
dt ( )
= lim
1
T → T e −2 t
dt = ( )
−T /2 −T /2
16
Decibel
➢ A base 10 logarithmic measure of power ratios.
➢ The ratio of the power level at the output of a circuit
compared with that at the input is often specified by
the decibel gain instead of the actual ratio.
➢ Decibel measure can be defined in 3 ways
Decibel Gain
Decibel signal-to-noise ratio
Mill watt Decibel or dBm
17
Decibel Gain
or
18
Decibel Signal-to-noise Ratio (SNR)
➢ Definition. The decibel signal-to-noise ratio (S/R, SNR) is:
19
Decibel with Mili watt Reference (dBm)
Information = Uncertainty
Let x(t) be a radio broadcast. How useful is it if x(t) is known? Noise is ubiquitous.
2.5
y[n]
2 x[n]
1.5
(t)
-0.5
-1
-1.5
-2
-2.5
0 100 200 300 400 500 600 700 800 900 1000
Need for Probabilistic Analysis
⚫ Consider a server process
– e.g. internet packet switcher, HDTV frame decoder, bank teller line,
instant messenger video display, IP phone, multitasking operating
system, hard disk drive controller, etc., etc.
Server:
1 customer
Rejected customer, per seconds
Queue full
Relative Frequency
⚫ nA – number of elements in a set, e.g. the number of times an
event occurs in N trials
⚫ Probability is related to the relative frequency
⚫ For N small, fraction varies a lot; usually gets better as N
increases n
f ( A) = A Relative Frequency
n
n
P ( A ) = lim A Probability
n →
n
0 P ( A) 1
P ( A) = 0 Never Occurs
P ( A) = 1 Always Occurs
Random Variables
⚫ Definition: A real-valued random variable (RV) is a real-
valued function defined on the events of the probability
system
Event RV P(x)
Value
E P(x)
A 3 0.2
B 1
A B -2 0.5
D 0.5
C C 0 0.1
D -1 0.2
-2 -1 0 3 x
Cumulative Density Function
P(x) Fx(a)
1 1
0.5
0.2 0.1 0.2 0.5
-2 -1 0 3 x -2 -1 0 3 a
Probability Density Function
⚫ The probability density function(PDF) of the RV x is
given by f(x)
⚫ Shows how probability is distributed across the axis
dFx ( a ) dPx ( x a )
fx ( x ) = =
da a = x da a=x
fx(x)
1
0.5
0.2 0.1 0.2
-2 -1 0 3 x
Types of Distributions
⚫ Discrete-M discrete values at x1, x2, x3,. . . , xm
⚫ Continuous- Can take on any value in an defined interval
fx(x) Fx(a)
1 1
0.5
DISCRETE
0.2 0.1 0.2 0.5
-2 -1 0 3 x -2 -1 0 3 a
fx(x) Fx(a) Continuous
1 1
0.5 0.5
-1 0 1 x -1 0 1 x
PDF Properties
⚫ fx(x) is nonnegative, fx(x) > 0
⚫ The total probability adds up to one
f x ( x ) dx = Fx ( ) = 1
−
fx(x) Fx(a)
CDF
2 PDF 1
-1 0 1 -1 1
Calculating Probability
⚫ To calculate the probability for a range of values
Px ( a x b ) = Px ( x b ) − Px ( x a )
= Fx ( b ) − Fx ( a )
b +
= lim f x ( x ) dx
→0 a +
-1 0 a b 1 -1 a b 1
Discrete Random Variables
• Summations are used instead of integrals for discrete RV.
• Discrete events are represented by using DELTA
functions.
fx(x)
s(t)
A A fx(x)
1/2A
-A -A
-A 0 A
PDF and CDF of a Triangular Wave
1 1 4 4
3 1
PV ( v 1) = FV ( ) − FV (1) = 1 − =
4 4
FV(v)
fV(v) 1
3/4
1/4
-2 0 1 2 -2 0 1 2
PDF and CDF of a Triangular Wave
⚫ Calculate Probability that the amplitude of a triangle wave is in
the range [0.5,1] v, if A=2.
1 1
PV ( 0.5 v 1) = fV ( v ) dv =
1 1
dv =
0.5 0.5 4 8
1
PV ( 0.5 v 1) = FV (1) − FV ( 0.5 ) =
8
FV(v)
1
fV(v) 3/4
5/8
1/4
-2 0 1 2 -2 0 1 2
PDF and CDF of a Square Wave
⚫ Calculate Probability that the amplitude of a square wave is at
+A.
⚫ Sketch PDF and CDF
s(t)
A fx(x)
-A 0 A
-A
PDF and CDF of a Square Wave
⚫ Calculate Probability that the amplitude of a square wave is at
+A. 1/4
⚫ Sketch PDF and CDF
Fx(x)
s(t) fx(x)
A
-A 0 A -A 0 A
-A
Ensemble Averages
y = E y = h ( x ) f x ( x ) dx
−
[•] = [•] f x ( x ) dx
−
2 = x 2 − ( x) 2
Binomial distribution
n−k n k n−k
P[ Ak ] = K p q
k
= p q = b(k ; n, p)
k
n n!
K = = Ckn =
k k !(n − k )!
= n choose k is the Binomial coefficient
= Combinations of n things taken k at a time.
Binomial distribution Example
⚫ Full redundancy error correction code:
– In a disaster, residents must hear a call to evacuate three times
before they will leave.
– No ack / nack possible (unidirectional message)
– 0.7 probability that a single message is not received by a given
resident.
– Message is repeated 10 times by radio
⚫ What is the probability a given resident will not evacuate?
Binomial distribution Example
⚫ let Ec = A0A1A2 be the event the resident did not evacuate.
– Ai is the event that i messages were received.
– Now apply binomial distribution:
P[ E c ] = P[ A0 ] + P[ A1 ] + P[ A2 ]
VARIANCE 2 is:
A
m+ 1 A2
= ( x − x) = ( x − x) f x ( x ) dx =
2 2 2
A
2
( x − m) dx =
2
− m− A 12
2
fx ( x ) =
1
e
−( x − m )
2
( )
2 2
m is the mean and is variance
2
Gaussian CDF
⚫ Start with definition of CDF:
F (a) =
a
f x ( x ) dx =
1 a −( x − m )
2
( )dx
2 2
−
2 −
e
1 ( m−a ) − y2 ( 2 ) ( − ) dy
F (a) = e
2
1 − 2
2dy = Q m − a
= y
e
2 ( m − a )
m−a 1 − 2 2
F (a) = Q Q( z) = e d
2 z
Q function
Q function vs Error function
1 ( m−a ) − y 2 ( 2)
F (a) = ( − ) dy
2
e
1 − 2
2 ( m − a )
= e y 2dy
1 − 2
Change variables t = y / 2 F (a) =
t
e dt
( m−a ) 2
m−a 1 m−a
F (a) = Q = erfc Complementary Error Function
2 2
2 − 2
erfc ( z ) = e d = 1 − erf ( z ) Error function
z
Ideal Low-Pass Filtered White Noise
⚫ Suppose white noise is applied to an ideal low-pass filter such
that
⚫ Baseband
⚫ Passband