PDF 1 Baseband Signal Transmission
PDF 1 Baseband Signal Transmission
Matched Filter
• Dispersive channels
• Matched filter
– Properties of matched filter
• How can we correct or control ISI effect resulting from dispersive channels?
• It can be controlled by pulse shaping (or equalization)
5V
▪ Unipolar (ON-OFF)
• 𝑠1 𝑡 = 𝐴
0V
0 ≤ 𝑡 ≤ 𝑇 (binary 1)
• 𝑠2 𝑡 = 0 0 ≤ 𝑡 ≤ 𝑇 (binary 0)
Bit Value 0 1 0 1 1 1 0 0 1
▪ Polar 5V
• 𝑠1 𝑡 = +𝐴 0 ≤ 𝑡 ≤ 𝑇 (binary 1) 0V
• 𝑠2 𝑡 = −𝐴 0 ≤ 𝑡 ≤ 𝑇 (binary 0)
–5 V
• For two complex functions 𝜙1 𝑡 and 𝜙2 (𝑡) in the real variable 𝑡 of finite
energy, i.e.
∞ ∞
න 𝜙1 𝑡 2 𝑑𝑡 < ∞, න 𝜙2 𝑡 2 𝑑𝑡 <∞
−∞ −∞
• Then
∞ 2 ∞ ∞
2 𝑑𝑡 න 2 𝑑𝑡
න 𝜙1 𝑡 𝜙2 𝑡 𝑑𝑡 ≤න 𝜙1 𝑡 𝜙2 𝑡
−∞ −∞ −∞
• Equality holds if and only if
𝜙1 𝑡 = 𝑘𝜙2∗ 𝑡
• where 𝑘 is constant.
• Note that it does not depend on 𝐻(𝑓), but signal energy and noise PSD.
𝑡 𝑡
𝑇 𝑇
Matched filter output, 𝑔𝑜 𝑡
ℎ 𝑡 = 𝑘𝑔(𝑇 − 𝑡) = 𝑘𝑔(−(𝑡 − 𝑇))
Output of integrate-and-dump
𝐴𝑇
𝑡
𝑇
16 Modern Digital Communication Systems (Dr. Muqaibel)
Example 3: Matched Filter
• Design a filter matched to the signal s(𝑡). 𝑠𝑜 (𝑡)
𝐴/2 𝐴/2
𝑡 𝑡 𝑡
𝑇 𝑇 𝑇 𝑇 𝑇 𝑇 3𝑇 2𝑇
2 2 2 2
−𝐴/2 −𝐴/2 −𝐴2 𝑇/8
Impulse response for the matched Output of the matched filter, 𝑘 = 1,𝑠𝑜 (𝑡)
Energy of 𝑠(𝑡) = ? filter for 𝑘 = 1, ℎ 𝑡
ℎ(𝑡) 𝐴2 𝑇/4
𝐴/2
𝑡 𝑇 𝑡
𝑇 𝑇 𝑇 3𝑇 2𝑇
2 2 2
−𝐴/2 −𝐴2 𝑇/8
Impulse response for the matched Output of the matched filter, 𝑘 = 1,𝑠𝑜 (𝑡)
Energy of 𝑠(𝑡) = ? filter for 𝑘 = 1, ℎ 𝑡
ℎ𝑜𝑝𝑡 𝑡 = 𝑘𝑔(𝑇 − 𝑡)
𝑤 𝑡
𝐻 𝑓 = 𝑘𝐺 ∗ 𝑓 exp(−𝑗2𝜋𝑓𝑇)
∞
2 2 𝑑𝑓
2𝐸
𝜂≤ න 𝐺 𝑓 𝜂𝑚𝑎𝑥 = For the special case of 𝑔 𝑡 is a rectangular pulse, matched filter is
𝑁0 −∞ 𝑁0 implemented using integrate-and-dump circuit.
𝐴𝑇
𝑡
𝑇
Output of integrate-and-dump
Error Rate Analysis
(Baseband)
• Optimal threshold
• Leibniz’s rule
𝑃𝑒|1 1 − 𝑃𝑒|1
𝐴1 𝐵1
4 Modern Digital Communication Systems (Dr. Muqaibel)
Receiver Model for Error Rate Analysis
• The receiver that performs decision making consists of matched filter, sampler, and decision device.
• Sample value 𝑦 is compared to a threshold 𝜆 in decision device.
• What if the sample 𝒚 = 𝝀? is it going to change average error probability?
• If 𝒚 = 𝝀, the receive makes a guess in selecting 0 or 1. This will not change the average error
probability.
𝑦 Say 1 if y > λ
Say 0 if y < λ
λ
Block Diagram
𝑡
𝑇𝑏
𝑇𝑏
• Suppose that symbol 0 was sent, then noisy received signal is 𝑦 = 𝑘𝐴 න 𝑥 𝑡 𝑑𝑡
𝑥 𝑡 = −𝐴 + 𝑤 𝑡 , 0 ≤ 𝑡 ≤ 𝑇𝑏 0
Recall that
2 1 𝑇𝑏 𝑇𝑏 1 𝑇𝑏 𝑇𝑏 𝑇𝑏
𝜎𝑌 = 2 න න 𝐸 𝑤 𝑡 𝑤 𝑢 𝑑𝑡 𝑑𝑢 = 2 න න 𝑅𝑤 𝑡, 𝑢 𝑑𝑡 𝑑𝑢 𝑦 = 𝑘𝐴 න 𝑥 𝑡 𝑑𝑡
𝑇𝑏 0 0 𝑇𝑏 0 0
0
𝑅𝑤 𝑡, 𝑢 : autocorrelation of the white noise And because
𝑘𝐴𝑇𝑏 = 1
• Since 𝑤(𝑡) is white with PSD 𝑁0 /2, then 1 𝑇𝑏
𝑦 = න 𝑥 𝑡 𝑑𝑡
𝑁0 𝑇𝑏 0
𝑅𝑤 𝑡, 𝑢 = 𝛿(𝑡 − 𝑢)
2
• Therefore, the variance of 𝑌 is
1 𝑇𝑏 𝑇𝑏 𝑁0
𝜎𝑌2 = 2න න 𝛿(𝑡 − 𝑢) 𝑑𝑡 𝑑𝑢
𝑇𝑏 0 0 2
𝑁0
𝜎𝑌2 =
2𝑇𝑏
𝑓𝑌 𝑦 0
𝑃𝑒|0
−𝐴 λ
1 ∞ 𝑦+𝐴 2 λ
= exp − 𝑑𝑦 −𝐴
𝜋𝑁0 /𝑇𝑏 0 𝑁0 /𝑇𝑏
2 ∞
erfc(𝑢)= න exp −𝑡 2 𝑑𝑡
𝜋 𝑢
1 ∞ 𝑦+𝐴 2
• We need to rewrite 𝑃𝑒|0 = exp − 𝑑𝑦 in terms of the erfc(𝑢)
𝜋𝑁0 /𝑇𝑏 0 𝑁0 /𝑇𝑏
𝑦+𝐴
• Define a new variable 𝑧 =
𝑁0 /𝑇𝑏
• Therefore,
∞
1 𝑦+𝐴 2 1 ∞
𝑃𝑒|0 = න exp − 𝑑𝑦 = න exp −𝑧 2 𝑑𝑧
𝜋𝑁0 /𝑇𝑏 0 𝑁0 /𝑇𝑏 𝜋 𝐸𝑏 /𝑁0
𝑃𝑒|1
λ +𝐴
• Note that 𝜆 = 0. Since 𝑝0 = 𝑝1 = 0.5, and 𝑃𝑒|0 = 𝑃𝑒|1 , then the average
probability of symbol error 𝑃𝑒 at receiver is
1 The average probability of symbol error in a binary-
𝑃𝑒 = 𝑝0 𝑃𝑒|0 + 𝑝1 𝑃𝑒|1 = erfc( 𝐸𝑏 /𝑁0 )
2 encoded PCM receiver depends entirely on 𝐸𝑏 /𝑁0
1 ∞ 1 𝐴+𝜆
𝑃𝑒|0 = න exp −𝑧 2 𝑑𝑧 = erfc
𝜋 (𝐴+𝜆)/ 𝑁0 /𝑇𝑏 2 𝑁0 /𝑇𝑏
1 ∞ 1 2
𝐴−𝜆
𝑃𝑒|1 = න exp −𝑧 𝑑𝑧 = erfc
𝜋 (𝐴−𝜆)/ 𝑁0 /𝑇𝑏 2 𝑁0 /𝑇𝑏
• Average probability of symbol error is
𝑝0 𝐴+𝜆 𝑝1 𝐴−𝜆
𝑃𝑒 = erfc + erfc
2 𝑁0 /𝑇𝑏 2 𝑁0 /𝑇𝑏
• Clearly, 𝑃𝑒 is function of the threshold 𝜆, we need the optimal threshold to minimize 𝑃𝑒
• → Leibniz’s Rule
𝑝0 𝐴+𝜆 𝑝1 𝐴−𝜆
• Applying Leibniz’s rule to complementary error function 𝑃𝑒 = erfc
2
+ erfc
2
𝑁0 /𝑇𝑏 𝑁0 /𝑇𝑏
𝑑 2
erfc 𝑢 =− exp(−𝑢2 )
𝑑𝑢 𝜋
• Differentiate the expression for 𝑃𝑒 with respect to 𝜆 then set the
result to zero. After simplifications, the optimum threshold is
𝑁0 𝑝0
𝜆𝑜𝑝𝑡 = 𝑙𝑜𝑔
4𝐴𝑇𝑏 𝑝1
• For the case, 𝑝0 = 𝑝1 = 0.5
→ 𝝀𝒐𝒑𝒕 = 𝟎
• Average probability of symbol error for PCM receiver is upper
bounded as
exp(−𝐸𝑏 /𝑁0 )
𝑃𝑒 <
2 𝜋𝐸𝑏 /𝑁0
𝜆𝑜𝑝𝑡
𝜆𝑜𝑝𝑡
Check proj3.m
17 Modern Digital Communication Systems (Dr. Muqaibel)
Nyquist Criteria for Zero ISI
• Nyquist criterion
• Pulse shaping
+1, → 𝑏𝑘 = 1
𝑎𝑘 = ቊ
−1, → 𝑏𝑘 = 0
Block Diagram
• Incoming binary sequence {𝑏𝑘 } of symbols 0 and 1
• Pulse amplitude modulator transforms this binary sequence into a new sequence of
short pulses with amplitude 𝑎𝑘 is represented in the polar form
Block Diagram for Analyzing ISI the receiver filter, 𝑐 𝑡 , due to additive
white Gaussian noise 𝑤(𝑡) of zero mean
and PSD of 𝑁0 /2 at receiver input.
Transmitted signal 𝑠(𝑡) in terms of the transmit filter 𝑔(𝑡) is ∞
∞
𝑦 𝑡 = 𝑎𝑘 𝑝 𝑡 − 𝑘𝑇𝑏 + 𝑛(𝑡)
𝑠 𝑡 = 𝑎𝑘 𝑔(𝑡 − 𝑘𝑇𝑏 ) 𝑘=−∞
𝑘=−∞
∞
where 𝑝 𝑡 = 𝑔 𝑡 ⊛ ℎ(𝑡) ⊛ 𝑐(𝑡).
𝑦 𝑖𝑇𝑏 = 𝑎𝑘 𝑝 𝑖𝑇𝑏 − 𝑘𝑇𝑏 + 𝑛[𝑖𝑇𝑏 ]
ℎ 𝑡 : impulse response of the channel
𝑘=−∞
𝑐 𝑡 : impulse response of the receive filter
In frequency domain: 𝑃 𝑓 = 𝐺 𝑓 𝐻 𝑓 𝐶(𝑓)
5 Modern Digital Communication Systems: Dr. Muqaibel
Intersymbol Interference
• Receiver filter output 𝑦(𝑡) is sampled at time, 𝑡𝑖 = 𝑖𝑇𝑏 resulting in
∞ ∞
→ Deliver digital data to the destination with least error rate (as possible).
• If the SNR is high the operation of the communication system is limited by ISI rather
than noise, e.g. in telephone systems.
• Techniques to control ISI in high SNR include determining the pulse waveform, 𝑝(𝑡),
for which ISI is eliminated.
→Zero ISI -2 -1
0
0 1 2 3 4
-1
∞ ∞
1 ,𝑖 = 𝑘
• For zero ISI and based on (1), 𝑝 𝑖𝑇𝑏 − 𝑘𝑇𝑏 = ቊ (1)
0 ,𝑖 ≠ 𝑘
▪ Remember that for 𝑚 = 𝑖 − 𝑘, if 𝑚 = 0 ⇒ 𝑖 = 𝑘 and likewise 𝑚 ≠ 0 ⇒ 𝑖 ≠ 𝑘
∞
𝑃𝛿 𝑓 = න 𝑝 0 𝛿(𝑡) exp −𝑗2𝜋𝑓𝑡 𝑑𝑡 = 𝑝 0 = 1
−∞
▪ Here, 𝑝(𝑡) is normalized, i.e. 𝑝 0 = 1.
𝑅𝑏 𝑃 𝑓 − 𝑛𝑅𝑏 = 1
𝑛=−∞
∞
1 𝑛
𝑃 𝑓− =1
𝑇𝑏 𝑇𝑏
𝑛=−∞
𝑛
σ∞
𝑛=−∞ 𝑃 𝑓 − 𝑇 = 𝑇𝑏 (2)
𝑏
• Nyquist Criterion
The necessary and sufficient condition for 𝑝(𝑡) to satisfy (1) is that its Fourier transform 𝑃(𝑓) satisfies
∞
𝑛
𝑃 𝑓− = 𝑇𝑏
𝑇𝑏
𝑛=−∞
1
= 𝑇𝑏 , −𝑊 < 𝑓 < 𝑊 1 𝑓
𝑃 𝑓 = ቐ2𝑊 = rect (3)
2𝑊 2𝑊
0, 𝑓 >𝑊
𝑝 𝑡 = sinc(2𝑊𝑡) (4)
P(f) fx fx
f1
1
= 𝑇𝑏 , 0 ≤ 𝑓 < 𝑓1
2𝑊
𝑃 𝑓 = 1 𝜋( 𝑓 − 𝑊)
1 − 𝑠𝑖𝑛 𝑓1 ≤ 𝑓 < 2𝑊 − 𝑓1
4W 2𝑊 − 2𝑓1 f
0 𝑓 ≥ 2𝑊 − 𝑓1
Rb/2
• Remember that 𝐵𝑇 = 𝑊 1 + 𝛼 = 2𝑊 − 𝑓1 and
Rb/2 + fx
1
𝑃 𝑓 + 𝑃 𝑓 − 2𝑊 + 𝑃 𝑓 + 2𝑊 = , |𝑓| ≤ 𝑊 where 𝑓𝑥 is the excess bandwidth. It defines
2𝑊
how much bandwidth required above the
minimum bandwidth of a sinc pulse, where
Rb/2 – fx
sinc(4𝑊𝑡) Rb/2 + fx
𝑝 𝑡 =
1−16𝑊 2 𝑡 2
In addition to faster decay, this time response exhibits two interesting properties:
𝑇𝑏 1
1. At 𝑡 = ± =± , we have 𝑝 𝑡 = 0.5
2 4𝑊
3𝑇𝑏 5𝑇
2. There are zero crossings at 𝑡 = ± , ± 𝑏,… in addition to the usual zero crossings at the sampling
2 2
times 𝑡 = ±𝑇𝑏 , ±2𝑇𝑏 , …
These two properties are extremely useful in extracting a timing signal from the received signal for synchronization.
→The price is the use of a channel bandwidth double of ideal Nyquist channel (𝛼 = 0)
0.5
Amplitude
0
-0.5
𝛽 = 𝑟 𝑖𝑛 𝑡ℎ𝑖𝑠 𝑔𝑟𝑎𝑝ℎ
-1
-1.5
0 5 10 15 20 25 30
Time
• Correlative-level coding
– Duobinary
– Modified Duobinary
• M-ary PAM
• Optimum linear receiver
• Eye pattern
2 Modern Digital Communication Systems: Dr. Muqaibel
Correlative-Level Coding
• Correlative-level coding (or partial-response signaling) is the addition of ISI to the transmitted
signal in a controlled manner (why?)
• To reduce the bandwidth (contrary to raised cosine scheme), the pulse is widened in time
resulting in ISI but in a controlled manner.
• Introduced ISI at transmitter is known; hence, it can be removed at receiver side in
deterministic way.
• Duobinary Signaling
▪ Binary input sequence {𝑏𝑘 } is applied to pulse amplitude modulator resulting in short pulses of
amplitude
+1 , 𝑏𝑘 = 1
𝑎𝑘 = ቊ
−1 , 𝑏𝑘 = 0
▪ The sequence {𝑎𝑘 } is applied to duobinary encoder 𝑐𝑘 = 𝑎𝑘 + 𝑎𝑘−1
• Note the continuity in band edges for 𝐻𝑂 𝑓 which results in easier approximation of the frequency response in
practice.
• The corresponding impulse response,
𝑇𝑏2 sin(𝜋𝑡/𝑇𝑏 )
ℎ𝑂 𝑡 =
𝜋𝑡(𝑇𝑏 − 𝑡)
𝑑𝑘 = 𝑏𝑘 ⨁𝑑𝑘−1
• Decision rule for detecting original binary sequence 𝑏𝑘
• If |𝑐𝑘 | > 1, then 𝑏𝑘 = 0
• If 𝑐𝑘 < 1, then 𝑏𝑘 = 1
Original {𝒃𝒌 } 0 0 1 0 1 1 0
Precoded 1 1 1 0 0 1 0 0
𝑑𝑘 = 𝑏𝑘 ⨁𝑑𝑘−1
sequence {𝑑𝑘 }
Two-level +1 +1 +1 -1 -1 +1 -1 -1
sequence {𝑎𝑘 }
Duobinary +2 +2 0 -2 0 0 -2
coder {𝑐𝑘 } 𝑐𝑘 = 𝑎𝑘 + 𝑎𝑘−1
(b) Eye diagram for quaternary system with SNR = 20 dB. (c) Eye diagram for quaternary system with SNR = 10 dB.
17 Modern Digital Communication Systems: Dr. Muqaibel
Eye Pattern Effect of Bandwidth (noiseless)
• Example
• A quaternary PAM system (𝑀 = 4), channel follows low-pass Butterworth filter
2 1
𝐻 𝑓 = 𝑓 2𝑁
, 𝑁 is the order of filter, 𝑓0 is 3 dB cut-off frequency.
1+
𝑓0