W13-14 - SNR
W13-14 - SNR
1
Definition
Noise is the static you hear in the speaker when you tune any AM or FM
receiver to any position between stations. It is also the “snow” or
“confetti” that is visible on a TV screen.
2
Definition
• Noise: is the unwanted signals that tend to disturb the desired
signal. The presence of noise degrades the performance of analog
and digital communication systems when signal is small.
3
Sources of noise
Noise
4
Gaussian (Normal) Distribution
1 (𝑥−𝑚)2
−
𝑓𝑋 (𝑥) = 𝑒 2𝜎2
2𝜋𝜎
Also known as normal distribution.
• 𝑁(0,1) : standard normal distribution, pdf and CDF are given respectively
as:
𝑥
1 −𝑥2 1 −
𝑥2
𝑓𝑋 (𝑥) = 𝑒 2 , 𝐹𝑋 (𝑥) = න 𝑒 2 𝑑𝑥
2𝜋 2𝜋 −∞
• Define function 𝑄(𝑥) as the tail integration of normal Gaussian:
∞ 𝑥2
1 −2
𝑄(𝑥) = න 𝑒 𝑑𝑥
2𝜋 𝑥
• From definition of 𝑄-function, we can see that
𝐹𝑋 (𝑥) = 1 − 𝑄(𝑥) = 𝑄(−𝑥)
General Gaussian RV
(𝑥−10) 2
1 − 8
Simplifying, we get: 𝑓𝑋 (𝑥) = 𝑒
2 𝜋
Area under Gaussian PDF
The cumulative distribution function (CDF) is:
𝑥
𝐹𝑋 (𝑥) = න 𝑓𝑋 (𝑡)𝑑𝑡
−∞
This integral does not have a closed-form solution, but we can use
numerical methods to approximate its value:
𝑃(𝑋 < 12) ≈ 0.6915
➔ Probability that received signal is less than 12 is approximately 0.6915
Area under Gaussian PDF
Q. Suppose the received signal 𝑦 in a communication system is the
sum of the transmitted signal 𝑥 and additive Gaussian noise 𝑛, with
𝑦 = 𝑥 + 𝑛. The transmitted signal 𝑥 is a binary signal with equal
probability of being either 1 or -1. The noise 𝑛 is a zero-mean
Gaussian random variable with variance 𝜎 2 .
- Derive an expression for the probability density function (PDF) of
𝑦.
- Calculate the probability of error, assuming that the receiver
makes a decision based on whether 𝑦 is positive or negative.
Area under Gaussian PDF
To find the PDF of 𝑦: Sum of two independent Gaussian random
variables is also Gaussian with mean equal to the sum of the
means and variance equal to the sum of the variances.
16
Thermal Noise
17
Thermal Noise (Johnson Noise /white noise)
18
Thermal Noise (Johnson Noise /white noise)
19
Thermal Noise (Johnson Noise)
Example: A wireless communication with 50kΩ resistor at a
temperature of 290K, 3 kHz bandwidth. Find Vrms value of noise:
20
Signal to Noise
The signal to noise ratio is given by
Si N i
Noise Figure F =
So N o
Noise Factor NF = 10 log F
S N
= 10 log i i dB
So N o
21
Signal to Noise
Example : For an amplifier with an output signal power of 10 W and an
output noise power of 0.01 w, determine the signal to noise power ratio
S Ps 10
= = = 1000
N Pn 0.01
To express in dB;
S S 10
dB =10 log 10 = 10 log = 30dB
N N 0.01
Example: For an amplifier with an output signal voltage of 4V, an output
noise voltage of 0.005 V, and an input and output resistance of 50 ohm,
determine the signal to noise power ratio.
S Vs 4
dB = 20 log 10 = 20 log = 58.06dB
N Vn 0.005 22
Transmission Loss
Transmission Medium Frequency Loss dB/km
Twisted-pair Cable 10kHz 2
100kHz 3
300kHz 6
Coaxial Cable 100kHz 1
1MHz 2
3MHz 4
Rectangular Waveguide
10GHz 5
25
Effect of Noise
Effect of Noise on a Baseband System
• No carrier demodulation to be performed.
• The receiver consists only of an ideal lowpass filter with the
bandwidth W.
• The noise power at the output of the receiver, for a white noise
input, is W N0
Pn0 = df = N 0W
−W 2
• If we denote the received power by PR, the baseband SNR is
given by
S PR
=
N b N 0W
27
Effect of Noise on a Baseband System
• For comparing, SNRo of LPF used to as a reference value
(W: bandwidth)
28
Effect of Noise on DSB-SC AM
• Transmitted signal :
u (t ) = Ac m(t ) cos(2 f c t )
• The received signal at the output of the receiver noise-limiting filter:
Sum of this signal and filtered noise.
• A filtered noise process can be expressed in terms of its in-phase
and quadrature components as
29
Effect of Noise on DSB-SC AM
• Received signal (Adding the filtered noise to the modulated signal)
r (t ) = u (t ) + n(t )
= Ac m(t ) cos(2 f c t ) + nc (t ) cos(2 f c t ) − ns (t ) sin (2 f c t )
31
Effect of Noise on DSB-SC AM
y (t ) = 1
2
Ac m(t ) + nc (t )
32
Effect of Noise on DSB-SC AM
• Therefore, at the receiver output, the message signal and the noise
components are additive and we are able to define a meaningful
SNR. The message signal power is given by
Ac2
Po = PM
4
– power PM is the content of the message signal
• The noise power is given by
1 1
Pn0 = Pnc = Pn
4 4
• The power content of n(t) can be found by noting that it is the result
of passing nw(t) through a filter with bandwidth Bc.
33
Effect of Noise on DSB-SC AM
• Therefore, the power spectral density of n(t) is given by
N20 | f − f c | W
Sn ( f ) =
0 otherwise
34
Effect of Noise on DSB-SC AM
• The output SNR for DSB-SC AM may be expressed as
S PR
=
N 0 DSB N 0W
35
SNR of DSB systems
36
Effect of Noise on SSB AM
• SSB modulated signal :
37
Effect of Noise on SSB AM
• We have
Ac2
Po = PM
4
1 1 S P0 Ac2 PM
Pn0 = Pnc = Pn = =
4 4 N 0 Pn0 WN 0
N0
Pn = S n( f )df = 2W = WN 0
− 2
PR = PU = Ac2 PM
S PR S
= =
0 SSB
N N 0W N b
39
The coherent receiver
40
Effect of Noise on Conventional/
coherent AM
DSB AM signal : u (t ) = Ac [1 + amn (t )] cos(2 f c t )
• Received signal at the input to the demodulator
r (t ) = Ac [1 + amn (t )] cos(2 f c t ) + n(t )
= Ac [1 + amn (t )] cos(2 f c t ) + nc (t ) cos(2 f c t ) − ns (t ) sin (2 f c t )
= Ac [1 + amn (t )] + nc (t )cos(2 f c t ) − ns (t ) sin (2 f c t )
– a is the modulation index
– mn(t) is normalized so that its minimum value is -1
– If a synchronous demodulator is employed, the situation is
basically similar to the DSB case, except that we have
1 + amn(t) instead of m(t).
• After mixing and lowpass filtering y (t ) = 1
2
Ac amn (t ) + nc (t )
41
Effect of Noise on coherent AM
Received signal power
𝐴2𝑐
𝑃𝑅 = 1 + 𝑎2 𝑃𝑀𝑛
2
Assumed that the message process is zero mean.
Now we can derive the output SNR as
1 2 2 2 2 2
𝐴2𝑐 2𝑃
𝑆 𝐴 𝑐 𝑎 𝑃𝑀 𝐴 𝑎 𝑃 𝑎 𝑃 1 + 𝑎 𝑀𝑛
=4 2
𝑛 𝑐 𝑀𝑛 𝑀𝑛
= =
𝑁 1 2𝑁0 𝑊 1 + 𝑎2 𝑃𝑀𝑛 𝑁0 𝑊
0𝐴𝑀 𝑃 𝑛
4 𝑐
𝑎2 𝑃𝑀𝑛 𝑃𝑅 𝑎2 𝑃𝑀𝑛 𝑆 𝑆
= = = 𝜂
1 + 𝑎2 𝑃𝑀𝑛 𝑁0 𝑊 1 + 𝑎2 𝑃𝑀𝑛 𝑁 𝑏 𝑁 𝑏
𝑎2 𝑃𝑀𝑛
• 𝜂= denotes the modulation efficiency
1+𝑎2 𝑃𝑀𝑛
Since 𝑎2 𝑃𝑀𝑛 < 1 + 𝑎2 𝑃𝑀𝑛 , the SNR in conventional AM is always smaller
than the SNR in a baseband system.
42
Effect of Noise on coherent AM
– In practical, modulation index about 0.8-0.9.
– Power content of the normalized message process depends on
the message source.
– Speech signals : Large dynamic range, PM is about 0.1.
• The overall loss in SNR, when compared to a baseband
system, is a factor of 0.075 or equivalent to a loss of 11 dB.
– The reason for this loss is that a large part of the transmitter
power is used to send the carrier component of the modulated
signal and not the desired signal.
• To analyze the envelope-detector performance in the presence of
noise, ➔ approximations (due to nonlinear structure of an envelope
detector ➔ exact analysis is difficult).
43
Effect of Noise on coherent AM
The input to the envelope detector is
𝑟(𝑡) = 𝐴𝑐 1 + 𝑎𝑚𝑛 (𝑡) + 𝑛𝑐 (𝑡) cos 2𝜋𝑓𝑐 𝑡 − 𝑛𝑠 (𝑡)sin 2𝜋𝑓𝑐 𝑡
- Therefore, the envelope of 𝑟(𝑡) is given by
44
Effect of Noise on coherent AM
• After removing the DC component, we obtain
y (t ) = Ac amn (t ) + nc (t )
45
Effect of Noise on coherent AM
𝑉𝑟 (𝑡) = 𝐴𝑐 1 + 𝑎𝑚𝑛 (𝑡) + 𝑛𝑐 (𝑡) 2 + 𝑛𝑠2 (𝑡)
= 𝐴2𝑐 1 + 𝑎𝑚𝑛 (𝑡) 2 + 𝑛𝑐2 (𝑡) + 𝑛𝑠2 (𝑡) + 2𝐴𝑐 𝑛𝑐 (𝑡) 1 + 𝑎𝑚𝑛 (𝑡)
𝑎 2𝐴𝑐 𝑛𝑐 (𝑡)
⟶ ቆ𝑛𝑐2 (𝑡) + 𝑛𝑠2 (𝑡) 1 + 1 + 𝑎𝑚𝑛 (𝑡)
𝑛𝑐2 (𝑡) + 𝑛𝑠2 (𝑡)
𝑏 𝐴𝑐 𝑛𝑐 (𝑡)
⟶ 𝑉𝑛 (𝑡) 1 + 2 1 + 𝑎𝑚𝑛 (𝑡)
𝑉𝑛 (𝑡)
𝐴𝑐 𝑛𝑐 (𝑡)
= 𝑉𝑛 (𝑡) + 1 + 𝑎𝑚𝑛 (𝑡)
𝑉𝑛 (𝑡)
- 𝐴2𝑐 1 + 𝑎𝑚𝑛 (𝑡) 2
is small compared with other components
- 𝑛𝑐2 (𝑡) + 𝑛𝑠2 (𝑡) = 𝑉𝑛 (𝑡); the envelope of the noise process
2𝐴𝑐 𝑛𝑐 (𝑡)
• Use the approximation where 𝜀 = 2 1 + 𝑎𝑚𝑛 (𝑡)
𝑛𝑐 (𝑡)+𝑛𝑠2 (𝑡)
𝜀
1 + 𝜀 ≈ 1 + , for small 𝜀
2
46
Effect of Noise on coherent AM
• Then Vr (t ) = Vn (t ) +
Ac nc (t )
(1 + amn (t ) )
Vn (t )
47
Q. An AM system operates with a modulation index of 0.5 , and the
power in the normalized message signal is 0.1𝑊. Is this system in
ideal condition?
(0.5)2 (0.1)
The efficiency is 𝜂 = = 0.0244
1+(0.5)2 (0.1)
𝑃𝑇
and the post-detection SNR is (SNR)𝐷 = 0.0244
𝑁0 𝑊
48
Effect of Noise on AgM
• Recall that in AM, the message is contained in the amplitude of the
modulated signal
• Since noise is additive, the noise is directly added to the signal.
• However, in a frequency-modulated signal, the noise is added to the
amplitude and the message is contained in the frequency of the
modulated signal.
• Therefore, the message is contaminated by the noise to the extent
that the added noise changes the frequency of the modulated signal.
• The frequency of a signal can be described by its zero crossings.
• So the effect of additive noise on the demodulated FM signal can be
described by the changes that it produces in the zero crossings of
the modulated FM signal.
49
Effect of Noise on AgM
• The effect of noise in a low-power FM system is more severe than in
a high-power FM system.
• In a low power signal, noise causes more changes in the zero
crossings.
• In a low-power FM system, the transmitted signal has a lower
amplitude, which makes it more susceptible to noise.
• In contrast, in a high-power FM system, the transmitted signal has a
higher amplitude, which makes it less susceptible to noise. The
noise-induced fluctuations in amplitude are typically small compared
to the signal amplitude, which results in fewer changes in the zero
crossings..
51
Effect of Noise on AgM
• The output of this filter is
r (t ) = u (t ) + n(t ) = u (t ) + nc (t ) cos(2 f c t ) − ns (t ) sin (2 f c t )
• A precise analysis is complicate due to the nonlinearity of
demodulation .
• Let us assume that the signal power is much higher than the
noise power.
• Then, the bandpass noise is represented as
ns (t )
2
c
2
s
n(t ) = n (t ) + n (t ) cos 2f c t + arctan = Vn (t ) cos(2f c t + n (t ) )
nc (t )
– where Vn(t) and n(t) represent the envelope and the phase of
the bandpass noise process.
52
Effect of Noise on AgM
• The phasor diagram of signal and noise are shown, we can write
53
Effect of Noise on AgM
k p m(t ), PM
• Noting that (t ) = t
2k f − m( )d , FM
55
Effect of Noise on AgM
• The properties of the noise component
𝑉𝑛 (𝑡)
𝑌𝑛 (𝑡) = sin Φ𝑛 (𝑡) − 𝜙(𝑡)
𝐴𝑐
1
= 𝑉𝑛 (𝑡)sin Φ𝑛 (𝑡)cos 𝜙(𝑡) − 𝑉𝑛 (𝑡)cos Φ𝑛 (𝑡)sin 𝜙(𝑡)
𝐴𝑐
1
= 𝑛 (𝑡)cos 𝜙(𝑡) − 𝑛𝑐 (𝑡)sin 𝜙(𝑡)
𝐴𝑐 𝑠
• when we compare variations in 𝑛𝑐 (𝑡) and 𝑛𝑠 (𝑡), we can assume
that 𝜙 (𝑡) is almost constant:
1
𝑌𝑛 (𝑡) = 𝑛𝑠 (𝑡)cos 𝜙 − 𝑛𝑐 (𝑡)sin 𝜙
𝐴𝑐
cos 𝜙 sin 𝜙
= 𝑛 (𝑡) − 𝑛 (𝑡), where 𝑎 = cos 𝜙/𝐴𝑐 and 𝑏 = sin 𝜙/𝐴𝑐
𝐴𝑐 𝑠 𝐴𝑐 𝑐
= 𝑎𝑛𝑠 (𝑡) − 𝑏𝑛𝑐 (𝑡)
56
Effect of Noise on AgM
• We have
( )
SYn ( f ) = a + b S nc ( f ) =
2 2
S nc ( f )
Ac2
• Snc(f) is the power spectral density (psd) of the in-phase component
of the filtered noise:
N0 | f | B2c
S nc ( f ) =
0 otherwise
(FM)
58
Effect of Noise on AgM
• In both cases, Bc/2 must be replaced by W after Lowpass filter.
• Hence, for |f|<W
Noise power spectrum at demodulator output for |f|<W in (a) PM (b) and (b) FM.
59
Effect of Noise on AgM
• PM has a flat noise spectrum and FM has a parabolic noise
spectrum.
• Therefore, effect of noise in FM for higher frequency components is
much higher than the effect of noise on lower frequency components.
• The noise power at the output of the lowpass filter is the noise
power in the frequency range [W, +W].
W N 0 df
−W Ac2
2WN 0
W Ac2 PM
Pn0 = S n0 ( f )df = W = 2 N 0W 3
−W
N0
2 f
2
df
FM
−W c
A 3 Ac2
60
Effect of Noise on AgM
k p2 PM PM
• First, we have the output signal power PSO = 2
k f PM FM
k p2 Ac2 PM
PM
• Then the SNR, which is defined as S 2 NW
= 2 2 0
N O 3k f Ac PM
S PSO
2W 2 N 0W
FM
def
N O PnO
p
2
PM
p = k p max m(t ) PM PR
max m(t ) N 0W
PM
k f max m(t ) S
=
f = FM N O f
2
PM
W
61
3PR
max m (t ) NW
0
FM
Effect of Noise on AgM
S PM
• Denote =
N b N 0W
is SNR of a baseband system with the same received power, we
obtain
PM p2 S
2 PM
S (max m(t ) ) N b
=
N O PM f2 S
3 FM
(max m(t ) )2 N b
• Observations
– In both PM and FM, the output SNR is proportional to 2.
Therefore, increasing increases the output SNR.
– Increasing increase the bandwidth (from Carson’s rule).
So angle modulation provides a way to trade off
bandwidth for transmitted power.
64
Effect of Noise on AgM
– Although we can increase the output SNR by increasing ,
having a large means having a large Bc (by Carson's rule).
– Having a large Bc means having a large noise power at the
input of the demodulator. This means that the approximation
P(Vn(t) << Ac) 1 will no longer apply and that the preceding
analysis will not hold.
– In fact, if we increase such that the preceding
approximation does not hold, a phenomenon known as the
threshold effect will occur and the signal will be lost in the
noise.
– This means that although increasing the modulation index,
, up to a certain value improves the performance of the
system, this cannot continue indefinitely.
– After a certain point, increasing will be harmful and
deteriorates the performance of the system.
65
Effect of Noise on AgM
– A comparison of the preceding result with the SNR in AM
shows that, in both cases (AM and angle modulation),
increasing the transmitter power (and consequently the
received power) will increase the output SNR
– But the mechanisms are totally different. In AM, any
increase in the received power directly increases the
signal power at the output of the demodulator.
– This is basically because the message is in the amplitude of
the transmitted signal and an increase in the transmitted
power directly affects the demodulated signal power.
– However, in angle modulation, the message is in the phase
of the modulated signal and increasing the transmitter power
does not increase the demodulated message power.
– In angle modulation, the output SNR is increased by a
decrease in the received noise power.
66
Effect of Noise on AgM
– In FM, the effect of noise is higher at higher
frequencies. This means that signal components at higher
frequencies will suffer more from noise than signal
components at lower frequencies.
– To compensate for this effect, preemphasis and
deemphasis filtering are used.
67