Professional Documents
Culture Documents
ECOM3316
Digital Communication System
Chapter 03
Baseband Demodulation /Detection
Prof. Dr Othman O. Khalifa
Electrical and Computer Engineering
International Islamic University Malaysia
1
1
22/9/2019
Basic components:
Transmitter
Channel or medium
Receiver
Noise degrades or interferes with transmitted information.
• Demodulation
recovery of waveform to an undistorted baseband pulse.
• Detection
the decision making process of selecting a digital of the waveform.
• If error-correcting coding is not present
the detector output consists of estimates of message symbols (or
bits), mi (hard decision).
• If error-correcting coding is present
the detector output consists of estimates of channel symbols (coded
bits) ui, which can take the form of hard or soft decisions.
• Frequency down-conversion block;
performs frequency translation for bandpass signals operating at
some radio frequency (RF)
2
22/9/2019
3
22/9/2019
Baseband Demodulation/Detection
In case of baseband signaling, the received signal sis
already in pulse-like form. Why is then is demodulator
required?
Effect of Channel
Figure 1.16 (a) Ideal pulse. (b) Magnitude spectrum of the ideal pulse.
4
22/9/2019
Effect of Noise
2
-1
-2
0 2 4 6 8 10 12 14 16 18 20
-1
-2
0 2 4 6 8 10 12 14 16 18 20
-1
-2
0 2 4 6 8 10 12 14 16 18 20
10
5
22/9/2019
DETECT
DEMODULATE & SAMPLE
SAMPLE
at t = T
RECEIVED
WAVEFORM FREQUENCY
RECEIVING EQUALIZING
DOWN
FILTER FILTER THRESHOLD MESSAGE
TRANSMITTED CONVERSION
WAVEFORM COMPARISON SYMBOL
OR
CHANNEL
FOR COMPENSATION
SYMBOL
BANDPASS FOR CHANNEL
SIGNALS INDUCED ISI
OPTIONAL
ESSENTIAL
11
12
6
22/9/2019
For any binary channel, the transmitted signal over a symbol interval
(0,T) is:
s (t ) 0 ≤ t ≤ T for a binary 1
si (t ) = 1
s2 (t ) 0 ≤ t ≤ T for a binary 0
r ( t ) = s i ( t ) * hc ( t ) + n ( t ) i = 1, 2 (3.1)
Where n(t) is assumed to be zero mean AWGN process
For ideal distortionless channel where hc(t) is an impulse function
and convolution with hc(t) produces no degradation, r(t) can be
represented as:
r (t ) = s (t ) + n(t ) i = 1,2 0≤t ≤T (3.2)
i
13
14
7
22/9/2019
Receiver Functionality
The recovery of signal at the receiver consist of two parts:
1. Waveform-to-sample transformation (Blue Block)
Demodulator followed by a sampler
At the end of each symbol duration T, predetection point yields a
sample z(T), called test statistic
z(T ) = a (T ) + n (T ) i = 1,2 (3.3)
i 0
1 1 n 2
p ( n0 ) = exp − 0 (3.4)
σ0 2π 2 σ 0
15
1 1 z − a 2
p(z | s1) = exp − 1
σ 0 2π 2 σ 0
1 1 z − a 2
p( z | s2 ) = exp − 2
σ 0 2π 2 σ 0
16
8
22/9/2019
Solution
The optimum filter is the Matched filter, given by
S E
max = s
N T N0 2
9
22/9/2019
10
22/9/2019
rj = r(t ) ∗ψ j (T − t ) j = 1,......,N
r = (r1, r2 ,.......,rN )
r = (r1, r2 ,.......,rN )
11
22/9/2019
1 || n ||2
pn (n) = exp −
(πN 0 ) N 2 N0
pe (m i ) = 1 − pc (mi )
12
22/9/2019
M
PE ( M ) = ∑ Pr( mˆ ≠ mi )
i =1
M
1
= 1−
M
∑ ∫ P ( r | m ) dr
i =1 Z i
r i
,
r(t ) = si (t ) + n(t ) 0 ≤ t ≤ T , i = 1, 2
After Matched Filtering & Sampling
z = ai + no , i = 1, 2
where
a1 = Eb a2 = − Eb no : N (0, No / 2)
13
22/9/2019
PB = P( s1 )P( H2 | s1 ) + P( s2 )P( H1 | s2 )
P( s1 ) = P( s2 ) = 1 2
P( H 2 | s1 ) = P( H1 | s2 )
PB = P( H1 | s2 )
exp −
∞
P( H1 | s2 ) = ∫ b
0 πNo No
∞ 1 u2 2Eb
=∫ exp − du = Q
∞ 1 u2
where Q( x) = ∫ exp − du
2 Eb / N0 2π 2 N0 x 2π 2
14
22/9/2019
Eb S Tb S / Rb
= =
N0 N / W N / W
Eb S W
=
N0 N Rb
15
22/9/2019
31
32
16
22/9/2019
33
34
17
22/9/2019
36
18
22/9/2019
But x > 3,
approximation
for Q(x) is:
37
38
19
22/9/2019
Solution1-30:
We can graphically determine the received energy per bit s1(t) and s2(t) from the
plot below.
3
Eb = ∫ v 2 (t )dt
0
12 *10 −12
Pb = Q = Q 12 = Q (3.46)
10−12
B.1 Pb=3*10-4
From the table B.1
39
The output SNR of a matched filter depends only on the ratio of the signal
energy to the PSD of the white noise at the filter input
S E
max = s
N T N 0 2
40
20
22/9/2019
Example: assume polar NRZ line code. The channel outputs are shown as spreaded (width Tb becomes
2Tb) pulses shown (Spreading due to bandlimited channel characteristics).
− Tb 0 Tb − Tb 0 Tb
Data 0
− Tb 0 Tb − Tb 0 Tb
42
21
22/9/2019
1.0
0.5 Decision threshold
43
sequence sent 1 0 1
sequence received 1 1(!) 1
Signal
received
Threshold
0 t
- -2T -T 0 T 2 3 4 5
3T T T T T
Sequence of three pulses (1, 0, 1)
sent at a rate 1/T
44
22
22/9/2019
The above figure illustrates the filtering aspect of a digital communication system — There are
three main filters shown in the system
1. Transmitting filter Ht ( f): The input to the transmitting filter are impulses denoting the information symbols { xk}.
Bit 1 is represented by a positive impulse and bit 0 by a negative impulse. These impulses modulate rectangular
pulses such that bit 1 is now represented by a positive rectangular pulse and bit 0 by a negative rectangular pulse.
Since the bandwidth of a rectangular pulse is infinite, the rectangular pulses are band limited by the transmitting
filter.
2. Channel H c ( f): The channel is modeled by a LTI system with a transfer function H c ( f). It accounts for
distortion produced, for example, by fading or by bandwidth constraints.
3. Receiving filter Hr ( f): The receiving filter compensates for distortion resulting from the transmitter and the
channel. It models both the receiving and equalizing filters.
23
22/9/2019
24
22/9/2019
25
22/9/2019
26
22/9/2019
ISI Solution
It is possible to eliminate ISI at the sampling instants by ensuring that the
received pulses satisfy the Nyquist pulse shaping criterion
We will assume that td=0, so the slicer input is
y n = a n h ( 0 ) + ∑ a k h (( n − k )T ) + v n
k ≠n
53
Figure 3.19a
19a (text) ~ baseband received pulse in time domain
Figure 3.19b
19b (text) ~ Fourier transform of h(t)
*Note that bandwidth starts at zero frequency and extend to f=1
f=1/T twice the size of
Nyquist theretical minimum bandwidth.
27
22/9/2019
The same 4-ary PAM sequence is modulated onto a carrier wave, so that the
baseband spectrum is shifted and centered at frequency f0. Find the minimum
required DSB bandwidth for transmitting the modulated PAM sequence. Assume
that the system transfer characteristic is same as in part .
Solution1-43:
From above example (a)
Rs= 1200 symbols/s
WDSB=(1
=(1+r)Rs = 2(1200)
1200) =2400
=2400 Hz
Continue in class
Remember ….
High
SNR
t t t
56
28
22/9/2019
3.4.3 Equalizers
The equalizer is a device that attempts to reverse the distortion incurred
by a signal transmitted through a channel.
The goal of equalizers is to eliminate intersymbol interference (ISI) and
the additive noise as much as possible.
Types of Equalizers
Transversal filtering :
Zero-forcing equalizer: Neglect the effect of noise
Minimum mean square error (MSE) equalizer
The basic limitation of a transversal equalizer is that it performs poorly on
channels having spectral nulls.
Decision feedback
Using the past decisions to remove the ISI contributed by
them
Transversal Equalizer
A transversal filter is the most popular form of an easily adjustable equalizing filter consisting of a
delay line with T-second tapes
The main contribution is from a central tap of a transversal filter
In practice, a finite-length transversal filter is realized to approximate the ideal filter (infinite-
length transversal filter)
Consider there are (2N+1) taps with weights c-N, c-N+1, …,cN, the equalizer output samples {z(k)}
N
z (k ) = ∑ x ( k − n) c
n =− N
n , k = −2 N ,K 2 N n = − N ,K N
29
22/9/2019
Zero-Forcing Solution
Relationship among {z(k)}, {x(k)}, and {cn} for the transversal filter
x(− N ) 0 0 L 0 0
x(− N + 1) x(− N )
z (−2 N ) c− N
0 L L L
M M M M M
z = z (0) c = c0 and X = x( N ) x ( N − 1) x( N − 2) L x(− N + 1) x(− N )
M M
M M M
z (2 N ) c N 0 0 0 L x( N ) x( N − 1)
0 0 0 0 L x ( N )
Disposing the top N the bottom N rows of the matrix X into a square matrix with
dimension of 2N+1 and transform Z vector into a vector of 2N+1
Rewrite the relationship z=Xc ⇒ c = X −1z
Select the weights {cn} so that the equalizer output is
1 for k = 0
z (k ) =
0 for k = ±1,±2,K,± N 59
59
Consider a three-taps transversal filter, the given received data {x(k)} are 0.0,
0.2, 0.9, -0.3,0.1. (sinc function shown figure 3.25). Using the zero-forcing
solution to find the weights {c-, c0, c1} that reduce the ISI so that the equalized
pulse samples z{k) have values { z(-1)=0, z(0)=1, x(10=0}.
z = Xc
For the relationship
0 x(0) x(−1) x(−2) c−1
⇒ 1 = x(1) x(0) x(−1) ⋅ c0
0 x(2) x(1) x(0) c1
0.9 0.2 0 c−1
= − 0.3 0.9 0.2 ⋅ c0
Solving these three simultaneous equations results in the 0.1 − 0.3 0.9 c1
following weights
c−1 − 0.2140
∴ c0 = 0.9631
The values of the equalized pulse samples {z(k)} corresponding to sample
times k = -3, -2, -1, 0, 1, 2, 3 are computed by using z=X.c, c1 0.3448
yield 0.000, -0.0428, 0.000, 1.000, 0.000, -0.0071, 0.0345
60
60
30
22/9/2019
Minimize the mean-square error (MSE) of all the ISI terms plus the
noise power at the output of the equalizer
MSE is defined as the expected value of the squared difference
between the desired data symbol and the estimated data symbol
MSE solution
X T z = X T Xc
−1
⇒ Rxz = Rxx c ∴ c = Rxx Rxz
61
31
22/9/2019
63
Solving Problems
(b) How large can the filter roll-off factor (r) be if the
applicable system bandwidth is 1.375 MHz?
64
32
22/9/2019
Solution
Solving Problems
Sklar 3.10: Binary data at 9600 bits/s are transmitted using 8-ary PAM
modulation with a system using a raised cosine roll-off filter characteristics.
The system has a frequency response out to 2.4 kHz.
(a) What is the symbol rate
(b) What is the roll o® factor r
33
22/9/2019
Solving Problems
Sklar 3.11: A voice signal in the range 300 to 3300 Hz is sampled at 8000
samples/s. We may transmit these samples directly as PAM pulses or we
may first convert each sample to a PCM format and use binary (PCM)
waveform for transmission.
(a) What is the minimum system bandwidth required for the detection of PAM
with no ISI and with a filter roll-off factor of 1.
(b) Using the same roll-off, what is the minimum bandwidth required for the
detection of binary PCM waveform if the samples are quantized to 8-levels
34