Pulse Modulation
Pulse Modulation
Chapter 6
Sampling Theorem:
F𝑠 ≥ 2𝐵 F𝑠 ≥ 2𝑓𝑚𝑎𝑥
Or …(6-1)
…(6-2)
G(f)
g(t)
f Max
t f
-B 0 B
Base band
frequency
gs(t) Gs(f)
1
Ts =
fs
t f
-B 0 B
Ts -2Fs -Fs Fs 2Fs
∞ ∞
1
𝑔𝑠 (𝑡) = 𝑔(𝑡) ∑ 𝛿(𝑡 − 𝑛𝑇𝑠 ) = ∑ 𝑔(𝑡)𝑒 𝑗𝑛𝜔𝑠 𝑡
𝑇𝑠
𝑛=−∞ 𝑛=−∞
∞
1
𝐺𝑠 (𝜔) = ∑ 𝐺(𝜔 − 𝑛𝜔𝑠 )
𝑇𝑠
𝑛=−∞
137
(CH 6) Pulse and Digital Modulation
f (k Hz)
-3 0 3
* Fs=8 kHz
Hs(f)
8000 sample / second
f (k Hz)
-11 -8 -5 -3 0 3 5 8 11 13 16 19
* Fs=6 kHz=2B Hs(f)
(Nyqiust rate)
f (k Hz)
-9 -6 -3 0 3 6 9 12 15
(overlap)
f (k Hz)
-10 -5 -3 -2 0 2 3 5 7 8 10
Ex 6-1: Determine the Nyquist rate of the sampling for the signal:
Solution:
300𝜋
𝑓𝑚𝑎𝑥 = = 150 𝐻𝑧
2𝜋
H.W:
b) 𝑔(𝑡) = 𝑒 −2|𝑡| (approximate the BW where|𝐺(𝜔)| drops to value less than 0.1)
138
(CH 6) Pulse and Digital Modulation
The sampler behaves exactly as a multiplier. It multiplies f(t) by a gating function x(t)
t
Ts
Reconstruction of f(t) from fs(t) is
Note:
F(f)
If f(t) is a baseband signal over a frequency
Ex 6-2:
2∗(25) F(f)
For the signal shown besides, 𝐹𝑠 = where 𝑘 =
𝑘
25
𝑖𝑛𝑡 ( )=2
10
f
2×(25) 15 25
𝑓𝑠 = or 𝑓𝑠 = 25 kHz (kHz)
2
139
(CH 6) Pulse and Digital Modulation
Pulse Amplitude Modulation (PAM), Pulse Width Modulation (PWM) or Pulse Position
Modulation (PPM).
f(t)
fs (t)
t
TS 2TS 3TS 4TS
PAM
PWM
PPM
140
(CH 6) Pulse and Digital Modulation
1- PAM
fs(t)
f(t) Sampler Q(ω) Φ PAM(t)
Generation:
f(t) F(ω)
t ω
ωm
fs (t)
Fs(ω)
t ω
2π
Ts
q(t) Q(ω)
τ
t ω
2π
τ
fs(t) q(t)
t ω
2π
T
Pulse Amplitude modulation the same as the output of the sampled at rate 𝑓𝑠 (𝑓𝑠 ≥
∅𝑃𝐴𝑀 (𝑛𝑇𝑠 ) = ∑∞
𝑛=−∞ 𝑓(𝑛𝑇𝑠 ) 𝑞(𝑡 − 𝑛𝑇𝑠 ) … (6-3)
Detection:
141
(CH 6) Pulse and Digital Modulation
Generation:
Sample a + c
d e
M
f(t) Pulse
& Hold + Comp PPM
b Vth
generator
Ramp.
generator PWM
Clock
f(t)
T
τ
t
a
r
C R o/p t
b
𝑟𝑐 ≪ 𝜏
t
𝑅𝐶 ≫ 𝑇 Sample & Hold circuit
c
Detection:
Vth
One method of detection is to
t
convert PWM or PPM signals to d
142
(CH 6) Pulse and Digital Modulation
PWM
PPM
PAM
kTS tk (k+1)TS
f1(t) TDM-PAM
f2(t)
t
TS TX
1
TS: Sampling time for each signal (𝑇𝑠 ≤ 𝑓𝑜𝑟 𝑛𝑦𝑞𝑢𝑖𝑠𝑡 𝑠𝑎𝑚𝑝𝑙𝑖𝑛𝑔)
2𝑓𝑚𝑎𝑥
𝑇
𝑇𝑥 = 𝑠 ; where N: number of messages (channels)
𝑁
143
(CH 6) Pulse and Digital Modulation By Dr. Hikmat Al-Shamary & Dr. Tariq M. Salman
Timing Circuit
Pulse Generator
f1(t)
f2(t)
f3(t) To Line
Sampler LPF
or
transmitter
fN(t)
Tx
Commutator
Timing Circuit
LPF f1(t)
LPF f2(t)
LPF fN(t)
Rx
Synchronus
commutator
If N identical messages have the same 𝑓𝑚𝑎𝑥 , then 𝑓𝑠 ≥ 2𝑁𝑓𝑚𝑎𝑥 at the channel the
sampling frequency or
BW𝑚𝑖𝑛 ≥ 𝑁𝑓𝑚𝑎𝑥
Hz for TDM-PAM ….(6-4)
144
(CH 6) Pulse and Digital Modulation
Ex 6-3:
Twelve speech signals are TDM-PAM transmitted, find minimum sample rate at the
Solution:
1
𝐵𝑊𝑚𝑖𝑛 = 𝑓𝑠𝑚𝑖𝑛 = 42 𝑘𝐻𝑧
2
Ex 6-4:
different messages, each message signal have BW of 5 kHz; compare the result if FDM is
Solution:
• TDM
• FDM
145
(CH 6) Pulse and Digital Modulation
distortion.
2- Regenerative repeaters along the transmission path can detect and retransmit a
3- Digital hardware implementation is flex able (it may use microprocessors, digital
4- Digital signals can be added to yield low error and high fidelity as well as privacy.
This is widely used in digital transmissions. Its block diagram is as shown below:
Channel DAC
f(t) LPF Sampler Quantizer Encoder Trans. Decoder LPF
fs ADC
146
(CH 6) Pulse and Digital Modulation
The output of the sampler 𝑓𝑠 (𝑘𝑇𝑠 )(𝐴𝐷𝐶). Assuming that f(t) has ±𝑓𝑝 peak voltage
level, (ADC full scale), the quantizer will divide the +𝑓𝑝 to −𝑓𝑝 range into L equally
2𝑓𝑝
∆V =
𝐿
volt …. (6-5)
Quantizing Noise:
Since the quantization process introduces some fluctuations about the true value,
𝑓𝑝2
N𝑞 = 2 Volt2 …. (6-6)
3𝐿
147
(CH 6) Pulse and Digital Modulation
Encoding:
ADC will then encode the quantized values according to a certain binary code. The
uniform PCM with equal step size mostly uses the signed binary code of n bits.
n bits
fS(kTS) +
0101
+
0100
Magnitude +
0011
bits
+
Sign 0010
bit { +- 1
0
+
0001
+
0000
- t
1001
- V V
1010
-
1011
-
1100
For n=4, then the ±𝑓𝑝 values will be encoded as shown above, this is called transfer
characteristic of the PCM encoder. The relation between number of quantizing levels and number
𝐿 = 2𝑛 Or 𝑁 = 𝑙𝑜𝑔2 𝐿 … … (6-7)
Note:
148
(CH 6) Pulse and Digital Modulation
S𝑜 3𝐿2 ̅̅̅̅̅̅̅
𝑓 2 (𝑡)
=
N𝑞 𝑓𝑝2 Volt2 …. (6-8)
Note:
S𝑜 S𝑜
𝑁𝑜 = 𝑁𝑞 ; =
N𝑜 N𝑞
𝐴 2
• For tone modulation: ̅̅̅̅̅̅̅
𝑓 2 (𝑡) = ; 𝑓𝑝 = 𝐴
2
S𝑜 3𝐿2
=
N𝑞 2
F ... (6-9)
S𝑜
( ) = 1.76 + 20 𝑙𝑜𝑔 𝐿 = 1.76 + 6.02 𝑛
F N𝑞 𝑑𝐵 ... (6-10)
The information rate of PCM channel is 𝑛𝑓𝑠 bits/sec, if message bandwidth is 𝑓𝑚𝑎𝑥
and the sampling rate is 𝑓𝑠 (≥ 2𝑓𝑚𝑎𝑥 ) then 𝑛𝑓𝑠 binary pulses must be transmitted per
second.
Assuming the PCM signal is a low-pass signal of bandwidth 𝐵𝑊𝑃𝐶𝑀 , the required
2𝐵𝑊𝑃𝐶𝑀 = 𝑛𝑓𝑠
𝑛 Hz ... (6-11)
𝐵𝑊𝑃𝐶𝑀 = 𝑓 ≥ 𝑛𝑓𝑚𝑎𝑥
2 𝑠
𝐵𝑊𝑃𝐶𝑀𝑚𝑖𝑛𝑖𝑚𝑢𝑚 = 𝑛𝑓𝑚𝑎𝑥
Hz ... (6-12)
149
(CH 6) Pulse and Digital Modulation
Ex 6-5:
minimum of 40 dB. If the message is a single tone with fm=4 kHz. Determine:
1- The number of required levels, and the corresponding output signal-to-quantizing noise ratio.
Solution:
1) 𝐿 = 2𝑛
S𝑜
= 10000 = 40 𝑑𝐵
N𝑞
S𝑜 3𝐿2
= (S.T)
N𝑞 2
2
∴ 𝐿 = √ ∗ 10000 = [81.6] = 82
3
𝑛 = log 2 82 = [6.36] = 7
∴ 𝐿 = 27 = 128
H.W:
Consider a single tone signal of frequency 3300 Hz. A PCM is generated with a sampling
rate of 8000 sample/sec. the required output signal-to-quantizing noise ratio is 30 dB.
1) What the minimum number of uniform quantizing levels needed?. And what the
150
(CH 6) Pulse and Digital Modulation
2- Delta Modulation:
It is a sampling way to convert analog signal into digital with reduced bandwidth
Comparator
+ e(t) V
f(t) d(t)
- - V
Sampler
fs
f(t)
Integrator
f(t)&f(t) f(t)
Slope overload
f(t)
t
Ts
d(t)
151
(CH 6) Pulse and Digital Modulation
The sampler with rate (𝑓𝑠 ≫ 𝑁𝑦𝑞𝑢𝑖𝑠𝑡 𝑟𝑎𝑡𝑒) produces pulse train 𝑑(𝑡) where:
∆𝑉 𝑒(𝑡) > 0
𝑑(𝑡) = ∆𝑠𝑔𝑛[𝑒(𝑡)] = {
−∆𝑉 𝑒(𝑡) < 0
The demodulator will integrate 𝑑(𝑡) to produce 𝑓𝑠 (𝑘𝑇𝑠 ) smoothed by LPF with 𝐵𝑊 of
𝑓𝑚𝑎𝑥
Integrator
f(t) Recovered
d(t) LPF
f(t)
Due to finite step size ∆𝑉 of integrator and if the slope of 𝑓(𝑡) is Larger than𝑓̃𝑠 (𝑡)
will not track 𝑓(𝑡) in its value [(𝑓̃𝑠 (𝑡)) and 𝑓(𝑡) will diverge from each other]. This will
To avoid slope overload, the step size must be kept such that:
F
𝑑𝑓(𝑡)
| | < ∆𝑉. 𝑓𝑠
𝑑𝑡 𝑚𝑎𝑥
... (6-13)
𝑑𝑓(𝑡)
| | = 𝐴𝑚 𝜔𝑚 , therefore
𝑑𝑡 𝑚𝑎𝑥
𝐴𝑚 𝜔𝑚
∆𝑉𝑚𝑖𝑛 = F ... (6-14)
𝑓𝑠
152
(CH 6) Pulse and Digital Modulation
• For speech signal, the typical frequency analysis show that about 70% of total
energy lies between 600 and 1000 Hz indicating that peak energy is located that
almost at frequency of 800 Hz called response frequency 𝑓𝑟 =800 Hz, then we could
2𝜋(800)𝐴𝑚
∆𝑉𝑚𝑖𝑛 =
𝑓𝑠
Edeqd ... (6-15)
x(f)
70% of the
total area
f (Hz)
Quantizing Error:
𝐵 (ΔV)2
𝑁𝑞 = .
𝑓𝑠 3
Edeqd ... (6-16)
153
(CH 6) Pulse and Digital Modulation
𝑆𝑜 3𝑓𝑠 2
=
𝑁𝑞 8𝜋 2 𝑓𝑚 2 𝐵
Edeqd ... (6-18)
Ex 6-6:
2- Find 𝑆𝑁𝑅𝑞 assuming speech has uniform probability density function (PDF) over
Solution:
2𝜋(800)𝑓𝑝
1. For speech signal ∆𝑉𝑚𝑖𝑛 =
𝑓𝑠
2𝜋(800)(1)
∆𝑉𝑚𝑖𝑛 = ≅ 78 𝑚𝑉
64000
𝑆𝑜 3𝑓𝑠 ̅̅̅̅̅̅̅̅
𝑓2 (𝑡)
2. = (Δ𝑉)2 𝐵
𝑁𝑞
1 P(f)
̅̅̅̅̅̅̅
𝑓 2 (𝑡) = ∫ 𝑓 2 𝑝(𝑓)𝑑𝑓
−1
1/2
1
1 2 1
= 2∫ 𝑓 𝑑𝑓 =
0 2 3 f(volt)
-1 1
-fp fp
𝑆𝑜 (3)(64000)(1/3)
= ≅ 35 𝑑𝐵
𝑁𝑞 (0.078)2 (3400)
Note:
8 𝑏𝑖𝑡𝑠⁄𝑠𝑎𝑚𝑝𝑙𝑒) then 𝑆𝑁𝑅𝑞 ≅ 48 𝑑𝐵. i.e PCM is better than DM for the same bit rate.
154
(CH 6) Pulse and Digital Modulation
H.W:
A DM system is designed to operate at 3 times the Nyquist rate for the signal with a 3
a) Maximum amplitude of a 1 kHz input sinusoid for which the delta modulator does not
b) The post filter output signal-to-quantizing noise ratio for the signal in part a.
155
(CH 6) Pulse and Digital Modulation
Bit Multiplexing:
rate.
Note:
For none equal bit rate messages, and then sub-group multiplexing has done first before
Ex 6-7
Setup multiplexing scheme using TDM for 3 speech messages, each sampled at 8 kHz
and PCM quantized into 8 bits/sample identifying the bit rate at each part of the
multiplexing processes.
Solution:
157
(CH 6) Pulse and Digital Modulation
PCM 64 kbps
f1 n=8 bits
fs=8 kHz
PCM 64 kbps
Speech
rate rate
f2 n=8 bits
fs=8 kHz 192 kbps 384 kbps
PCM
f3 n=8 bits
fs=8 kHz 64 kbps
PCM
rate
f4 n=8 bits
192 kbps
Music fs=24 kHz
For binary data, it is assumed that logic “0” is transmitted as the waveform 𝑆𝑜 (𝑡)
and logic “1” as the waveform 𝑆1 (𝑡) over a bit duration 𝑇𝑏 = 1/𝑅𝑏 , where Rb is the
a) Baseband Transmission:
These are used for short or medium distance communication. The signals are
158
(CH 6) Pulse and Digital Modulation
1- Unipolar Transmission:
RZ = Returned to Zero
1 0 1 1 0 1 0 1 NRZ
Tb
2
1 0 1 1 0 1 0 1 RZ
Tb
Notes:
1- The unipolar Return to zero (RZ) format increases the power at data rate, but
2- The spectrum of the unipolar RZ contains line spectrum at 0, ∓𝑅𝑏 , ∓2𝑅𝑏 , ∓3𝑅𝑏 , ….
3- When large number of zeros or ones exists, synchronization problem will occur.
𝑆𝑁𝑅
𝑃𝑒 = 𝑄(√ ) in AWGN.
2
Ex 6-8
Solution
H.W
2- Bipolar transmission:
0
NRZ
-A f
-1 0 1
Tb Tb Tb
Tb
Tb Tb
RZ
0 +A
-A 0 f
-2 0 2
1 1
Tb Tb Tb Tb
Tb Tb
2 2
160
(CH 6) Pulse and Digital Modulation
1 0 1 1 0 1 0 1
-A
Tb
Tb
2
A
1 1 1 1 1
0
-A 0 0 0
Tb
2
Notes:
3- The spectrum has almost zero DC power (exactly zero when P(0)=P (1) )
Ex 6-9
Solution
H.W
161
(CH 6) Pulse and Digital Modulation
Notes:
• The duration of the bit is divided into two halves. The voltage remains at one level
during the first half and moves to the other level in the second half. The transition at
• The Manchester code has no dc power, high power at data rate, less bandwidth
• It is less complex than Bipolar RZ since it uses only two voltage levels ±A.
162
(CH 6) Pulse and Digital Modulation
• Positive and negative pulses (of equal magnitude) are used for symbol 1, and no
pulse is used for symbol 0. In either case the pulse retunes to0 before the end of bit
interval.
• The BW here is almost less than Manchester code and the DC power is almost
Ex 6-10
Encode the binary data 10110001 using the following transmission codes:
Unipolar (RZ/NRZ), Bipolar (RZ/NRZ), AMI and Manchester.
Solution
163
Other Types of Digitizing
1- Adaptive DM:
Previous DM is called linear DM since the step size is fixed. This has the
disadvantage that the dynamic range of speech amplitude level large so that ∆V
chosen is not the best, if more or less levels of 𝑓𝑓(𝑡𝑡) occur. In adaptive DM, the
step size ∆V is changed (adapted) according to the slope of 𝑓𝑓(𝑡𝑡).
If the step size adaptation is made in continuous form with slope of the
input, then the name CVSDM (continues variable slope DM) is used, or it is made
in discrete form with finite number of step size to form discrete variable slope
DM. In the CVSDM, peak detector circuit are used to control ∆V, while in
discrete VSDM logic circuit are used to control ∆V.
The difference between sampled signal 𝑓𝑓(𝑘𝑘𝑇𝑇𝑠𝑠 ) and quantized signal 𝑓𝑓̂(𝑘𝑘𝑇𝑇𝑠𝑠 )
[error] is quantized into to n bits (recall that this is the same as DM with n=1, i.e
𝐷𝐷𝐷𝐷 ≡ 1𝑏𝑏𝑏𝑏𝑏𝑏 𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷). So the derivative of the signal is quantized into n bits.
ADC
N-bit
f(kTS) + error n bit/sample
quantizer
M
+
- encoder
bit rate
f(kTS) = nfs
Accumulator
DAC
Acc.
At the Rx, the accumulator (Acc.) will integrate DPCM signal to produce 𝑓𝑓̂(𝑘𝑘𝑇𝑇𝑠𝑠 )
to DAC output then smoothed using LPF.
recived
n-bits Acc. DAC LPF f(t)
DPCM
Typical value of n is less than that used for PCM (n=3 or 4 bits) since n is
used here not to code actual f(t) samples but to encode the derivative of f(t) which
has less dynamic range.
(CH 6) Pulse and Digital Modulation
1 0 1 0
A21
𝜔𝜔𝑐𝑐 : carrier angular frequency A1 t
Special case from ASK if A1=0, then A2
Tb Tb Tb Tb
∅0 (𝑡𝑡) = 0
1 0 1 0
This is called OOK A
t
(ON-OFF Keying)
Tb Tb Tb Tb
f
fc+Rb
-fc fc
fc-Rb
164
(CH 6) Pulse and Digital Modulation
Ex. 6-11
Find the minimum bandwidth for an ASK signal transmitting at 2000 bps. The
transmission mode is half-duplex.
Solution:
BW ≈ 2Rb = 2*2000 = 4kHz
Ex. 6-12
Given a bandwidth of 10,000 Hz (1000 to 11,000 Hz), draw the full-duplex ASK
diagram of the system. Find the carriers and the bandwidths in each direction.
Assume there is no gap between the bands in the two directions.
Solution:
For full-duplex ASK, the bandwidth for each direction is
BW = 10000 / 2 = 5000 Hz
The carrier frequencies can be chosen at the middle of each band
fc (backward) = 1000 + 5000/2 = 3500 Hz
fc (forward) = 11000 – 5000/2 = 8500 Hz
165
(CH 6) Pulse and Digital Modulation
Modulator of ASK:
OOK Power
data Amplifier
Or using Mixer
Mixer ASK
data (OOK) Power
(unipolar) Amplifier
Acos ωc(t)
Demodulator of ASK:
Detector
OOK
o/p 1 0 1 + data
-
vth
t
Tb
2) Coherent detector:
𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝜔𝜔𝑐𝑐 𝑡𝑡 Mixer
𝑂𝑂𝑂𝑂𝑂𝑂 = � LPF
0
@Rb + comp data
-
Carrier
Vth=A2/4
recovery
166
(CH 6) Pulse and Digital Modulation
Here, a carrier recovery circuit is required to generate the carrier signal cos
ωct then, the LPF will cutoff of Rb is used to give the high and low states of the
data.
2 2 𝐴𝐴2 𝐴𝐴2
𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚 𝑜𝑜/𝑝𝑝 = �𝐴𝐴 𝑐𝑐𝑐𝑐𝑐𝑐 (𝜔𝜔𝑐𝑐 𝑡𝑡) = 2
+
2
𝑐𝑐𝑐𝑐𝑐𝑐2𝜔𝜔𝑐𝑐 𝑡𝑡 rejected by LPF
0
Then LPF output will be either A2/2 or “0”and with Vth= A2/4, data are
obtained by a threshold comparator.
167
(CH 6) Pulse and Digital Modulation
ΦFSK(f)
f
F1-Rb F1 F2 F2+Rb
∆f
Ex 6-13
Find the minimum bandwidth for an FSK signal transmitting at 2000 bps.
Transmission is in half-duplex mode, and the carriers are separated by 3000 Hz.
Solution:
BW = ∆f + 2Rb = 3000 + 2*2000 = 7kHz
Modulator of FSK:
R1 FSK f2
data VCO
o/p
f1
Vin
R2 adsjust Vin
V1 VCO charecteristics
168
(CH 6) Pulse and Digital Modulation
Demodulator of FSK:
BPF
@f2 Envelpe
detector
+ comp data
data
-
BPF
@f1 Envelpe
detector
169
(CH 6) Pulse and Digital Modulation
𝑉𝑉1 + 𝑉𝑉2
𝑉𝑉𝑡𝑡ℎ =
2 ... (6-27)
𝑉𝑉1 +𝑉𝑉2
A threshold comparator with 𝑉𝑉𝑡𝑡ℎ = is adjusted to give the received data using
2
a threshold comparator.
1 2 3 4
ZDC Monostable
Averger 5
FSK τ=Timeconstant
+ comp data
-
Vth
The zero crossing detector (ZDC) changes sinewave into rectangular waves
with frequencies f1 and f2.
1 f2 f1 f2
t
3 τ τ τ τ
4
Vth
t
1 0 0 1 t
170
(CH 6) Pulse and Digital Modulation
The positive going edge monostable gives fixed time constant τ chosen such
1
that 𝜏𝜏 ≤ ( ). The average value of the monostable output is high level for
𝑓𝑓2
frequency f2 and is low level for frequency f1. A threshold comparator with a
threshold Vth chosen midway between the high & low value will give data output.
When there is only two phases to describe data values. The modulation is called
Binary Phase Shift Keying (BPSK).
171
(CH 6) Pulse and Digital Modulation
Ex 6-14
Find the minimum bandwidth for a BPSK signal transmitting at 2000 bps. The
transmission mode is half-duplex.
Solution:
BW = 2Rb = 2*2000 = 4kHz
PSK demodulator:
Since information is the phase of the carrier, then only coherent PSK is
possible, i.e. coherent carrier phase must be generated at the receiver.
172
(CH 6) Pulse and Digital Modulation
f LPF g
@Rb
BPSK a
T-FF Vth
2ωc ωc
2 BPF
(.) ZDC *1/2
+
@2ωc
I
b c d e
h
data
a Tb Tb
t
c
t
d
t
e
t
f
t
g
t
g
1 0
t
173
(CH 6) Pulse and Digital Modulation
The ±𝐴𝐴 cos 𝜔𝜔𝑐𝑐 𝑡𝑡 PSK modulation is first canceled using squarer to give
𝐴𝐴2
(1 + cos 𝜔𝜔𝑐𝑐 𝑡𝑡), the double carrier frequency is filtered using BPF tuned at 2ωc,
2
There is possibility in PSK detection that the receiver will receive “0” as “1”
or “1” as “0” (i.e. data complement) due to he initial phase of the carrier (phase
ambiguity). To solve this problem, a technique called differential PSK (DPSK) is
used. The encoder of the DPSK is shown below:
Coded o/p
data x(n)
SET PSK DPSK
d(n)
D Q modulator o/p
CLR
Q
FF Carrier
fc
� �(��𝑛𝑛�)���
𝑥𝑥 (𝑛𝑛) = 𝑏𝑏 +��𝑥𝑥��(�𝑛𝑛���−���1�)�, where +≡ 𝐸𝐸𝑥𝑥 − 𝑂𝑂𝑅𝑅
i.e exclusive-NORing previous output code with present data. x(n) then transmitted
using conventional PSK modulator with 0o and 180o phase shift for logic “0”
and logic “1”. The extra requirement for DPSK noncoherent detection is the
analogue delay liner Tb and then multiply with itself, LPF then a threshold
comparator.
174
(CH 6) Pulse and Digital Modulation
Ex 6-15
175
(CH 6) Pulse and Digital Modulation
Ex 6-15:
With the help of data of previous example, explain the operation of DPSK
detector.
Solution:
−𝐴𝐴 cos 𝜔𝜔𝜔𝜔 &+ 𝐴𝐴 cos 𝜔𝜔𝜔𝜔will be used for 180o& 0o phase shift then;
H.W:
Repeat encoder and decoder operations when x(0)=0, and comment to the results.
176
(CH 6) Pulse and Digital Modulation By Dr. Hikmat Al-Shamary & Dr. Tariq M. Salman
Advantages of DPSK:
Disadvantages of DPSK:
The only disadvantage is the need of analogue delay line by Tb time. This is
usually implemented using charge coupled devices (CCD) as analogue delay line.
(CH 6) Pulse and Digital Modulation
Concept:
The concept of M-ary signaling in to group binary bits and deal with them as
symbols. Hence, M is taken as 2r (2,4,8,16,… ). For example M=4 means r=2.
data 1 0 0 1 1 1 0 0 0 1 1 1 1 0
Then each successive 2-bits has grouped and considered as symbol. Hence,
these will be four possible signals ∅𝑜 (𝑡), ∅1 (𝑡), ∅2 (𝑡) 𝑎𝑛𝑑 ∅3 (𝑡)for the possible
groups of “00”, “01”,“10” and“11”. And so on for M=8, r=3, …
In general:
177
(CH 6) Pulse and Digital Modulation
1
𝑇𝑠 = =(log 2 𝑀). 𝑇𝑏 symbol duration ... (6-32)
𝑅𝑠
𝑅𝑏
𝑅𝑠 = symbol rate (baud rate) ... (6-33)
log 2 𝑀
∅0 (𝑡) = 0
∅1 (𝑡) = 𝐴 cos 𝜔𝑐 𝑡
∅2 (𝑡) = 2𝐴 cos 𝜔𝑐 𝑡
For data
MASK Φ3(t)
0 0 0 1 1 1 1 0 Φ2(t)
Φ1(t)
∅0 ∅1 ∅3 ∅2
Φ0(t)
t
Then transmitted waveforms will
be:∅0 (𝑡), ∅1 (𝑡), ∅3 (𝑡), ∅2 (𝑡) with
symbol duration Ts=2Tb Ts Ts Ts Ts
178
(CH 6) Pulse and Digital Modulation
To draw the signal state diagram of 4 level MASK then on the real
axis ∅0 , ∅1 , ∅2 & ∅3 will be found since modulation is done in amplitude of the
inphase component (cos ωct) of the carrier.
Symbols mixer
Serial/
data Digital/
parallel
analogue MASK
shift
converter
register
r-bit DAC
cosωct
Z (M-1)
Envelope
MASK
detector
threshold (M-1) Logic data
components
bits
C1
C2
CM-1
179
(CH 6) Pulse and Digital Modulation
𝐴 3𝐴 5𝐴
For M=4 then 3 comparator with𝑉𝑡ℎ = ( ) , ( ) & ( ) are used and logic truth
2 2 2
C1 C2 C3 data
C1, C2, C3 are comparators outputs.
0 0 0 00
𝐴
If envelope detector 𝑍 < then C1=C2=C3=0 and ∅0 (𝑡) is
2
1 0 0 01 3𝐴 𝐴
detected. If >𝑍> then C1=1, C2=C3=0 and ∅1 (𝑡) is
2 2
1 1 0 10
detected and so on.
1 1 1 11
Application of MASK:
𝜋 3𝜋 5𝜋 7𝜋
( , , , )
4 4 4 4
∅3 ∅1 ∅0 ∅2
180
(CH 6) Pulse and Digital Modulation
𝑅𝑏
𝑅𝑠 = 𝑇𝑠 = 2𝑇𝑏
2 ... (6-36)
181
(CH 6) Pulse and Digital Modulation
Ex 6-16
Find the symbol rate (baud rate) and bandwidth and for a 4-PSK signal
transmitting at 2000 bps. Transmission is half-duplex mode.
Solution
Rs = Rb / 2 = 1000 symbol/sec or 1000 baud
BW = 2Rs = 2000 Hz
QPSK Modulator:
±A ±A cosωct
I
2-bit `
M
data Serial/ QPSK
parallel π/2
Q
(I,Q)
cosωct
(+,+) Φ3
±A ±A sinωct
(+,-) Φ2
(-, -) Φ0
(-,+) Φ1
Tb
data
1 0 1 1 0 0 0 1 Ts=2Tb
Ts
I (I,Q)
1 1 0 0 11 S3
Q
10 S2
0 1 0 1 00 S0
01 S1
S2 S3 S0 S1
182
(CH 6) Pulse and Digital Modulation
QPSK Detector:
Z1(t) I
LPF +
-
Parallel/
QPSK data
serial
π/2
2-bit
Q
LPF +
Z2(t)
-
Note that the detector needs carrier phase 𝑠𝑖𝑛𝜔𝑐 𝑡𝑐𝑜𝑠𝜔𝑐 𝑡 terms
183
(CH 6) Pulse and Digital Modulation
Ex 6-17
Given a bandwidth of 6000 Hz for an 8-PSK signal, what are the baud rate and bit
rate?
Solution
M=8
Rb = BW/2 = 3000 bps
𝑅𝑏 3000
𝑅𝑠 = = = 1000 𝑠𝑦𝑚𝑏𝑜𝑙/𝑠𝑒𝑐.
𝑙𝑜𝑔2 𝑀 3
H.W 6-6
Draw the signal constellation for 16-PSK identifying the angles between each two
levels.
184
(CH 6) Pulse and Digital Modulation
For M=4, then for frequencies are used to assign ∅0 , ∅1 , ∅2 &∅3 . The
spectrum of 4-FSK is as shown with the equal spacing ∆f.
Φ(f)
∅0 (𝑡) = 𝐴𝑐𝑜𝑠𝜔1 𝑡
∅1(𝑡) = 𝐴𝑐𝑜𝑠𝜔2𝑡
∅2(𝑡) = 𝐴𝑐𝑜𝑠𝜔3𝑡
f
∅3(𝑡) = 𝐴𝑐𝑜𝑠𝜔4𝑡 … (6-37) f1 f2 f3 f4
f f f
𝑅𝑏
𝑅𝑆 = , 𝑇𝑆 = 2𝑇𝑏
2
MFSK modulator:
Fr.
Serial/ MFSK
data Digital/ f4
parallel
analogue VCO f3
shift
converter f2
register
r-bit f1
DAC
Vo
v1 v2 v3
VCO charecteristics
Vo
v3
v2
v1 M-Levels
185
(CH 6) Pulse and Digital Modulation
C1 C2 C3 C4 symbol
1 0 0 0 00
0 1 0 0 01 Logic Truth Table
0 0 1 0 10
0 0 0 1 11
Envelope
detector Symbol
2-bits
BPF f1 C1
+
-
BPF f2 C2
+
-
MFSK
M=4 Parallel/
Logic data
serial
BPF f3 C3
+
-
BPF f4 C4
+
-
Note that only once of the envelope detectors is high during Ts time,
corresponding to one of the received frequencies 𝑓1 , 𝑓2 , 𝑓3 &𝑓4 .
186
(CH 6) Pulse and Digital Modulation
Vo C1
LPF
MFSK C2 Parallel data
M-1
threshold Logic to
comparators
serial
VCO
CM-1 r-bit
Vo
VCO free running frequency is
chosen midway between f2& f3
+3A
(center of the band). Suppose
that the liner region of PLL +A
f1 f2
gives Vo= -3A, -A, +A & +3A, f
-A f3 f4
corresponding to f1, f2, f3& f4
-3A fo=VCO free
respectively. running frequency
(M-1) threshold comparators (3 comparator here) will give C1, C2& C3output
and in a similar schematic as in MASK these outputs will be decoded into the
received data (Vth are -2A, 0, +2A).
Application of MFSK:
187
Detection of Digital Signals in Noise
Binary Signals:
Let x(t) be a binary signal having two waveforms shapes (one for logic "0" and the
other for logic "1"). n(t) is the noise component added due to channel such that the
Probability Density Function (PDF) of n(t) is f(n) with zero mean.
y(Tb)
x(t)+n(t) Detector
+ data
-
Vth
y(Tb) is the detector output at t=Tb (bit duration for both "0" and "1" signals). A
comparator with threshold voltage Vth is used to decide if the
received x(t) is "0" or "1" according to the decision rules:
if y(Tb) > Vth then decide the received x(t) is a "1".
if y(Tb) < Vth then decide the received x(t) is a "0".
The problem is to find the best choice of Vth such that the overall net error
probability (average error prob) of "1" & "0" is minimum. This optimum Vth
depends on type of the binary signals and the PDF of n(t).
In this course, we will assume that the noise is AWGN with PDF:
𝑛 2
1 − 2
𝑓(𝑛) = 𝑒 2𝜎 and the binary signals “0” and “1”
2𝜋 𝜎
are equiprobable. First, we will take the simplest case of unipolar signals
Unipolar binary signals:
First we discuss the simplest case if x(t)=0 volt for logic"0" and x(t)=+A
volt for logic"1" over the bit duration Tb.
+A
x(t(
0
Tb
P(0T)
P(1T)
0.5
0 +A
Note that for noiseless case (y(t)=x(t)) then the PDF of y(t) is discrete similar to the
PDF of x(t). When n(t)≠0, the PDF of y(t) will be the same as the PDF of n(t) (f(n)) but
d.c. shifted by 0 volt or +A volts corresponding to x(t). Let f1(y) be the PDF of y when
"1" is transmitted and fo(y) be the PDF of y when "0" is transmitted.
area=p(0R/1T) area=p(1R/0T)
If we assume equiprobable then the best(optimum) threshold is the
mid-way between the “0” volt and +A volt which is +A/2 as shown.
Vth
p(0 R / 1T ) = f 1( y )dy and p(1R / 0T ) = fo( y )dy
− Vth
Note that since Vth is in the middle, then the areas representing the
error prob. p(0R/1T) or p(1R/0T) are equal.
To find pe= p(0R/1T) = p(1R/0T), then, we find the area under the
curve:
2
y
1 −
pe = fo( y )dy = e 2 dy
2
Vth A / 2 2
Note that this definite integral can not be evaluated analytically. The
following substitution will help to evaluate this integral numerically:
Let z=y/, then dy=dz.
For y=A/2, then z=A/(2), and for y→, then z→. Changing the variable and the
limits of this integral reduces it into:
z2
1 − A
pe = A 2
e 2
dz = Q( )
2
2
where Q(x) is a function called Marcum function which gives the area under the
standard Gaussian curve (=1, =0) from x=(A/2) to .
1 0.7 −0.5 x 2
Q(x)≈ (1 − 2 )e
2 x x
Note: In general, for equiprobable signals A1 volts and A2 volts and for
AWGN, then:
Vth|op=(A1+A2)/2 (mid-way between A1 and A2)
and p(0R/1T)=p(1R/0T)=pe=Q[d/(2)], where d=A2-A1
Where d is the absolute distance between A1 and A2
red area=pe
Example: Bipolar equiprobable binary signals ± A are affected by AWGN
with variance 2, find the threshold and the error prob.
solution: Here, we have A1=-A and A2=+A then vth=(+A+(-A))/2=0 volt
and pe=Q[d/(2)], where d= +A-(-A)=2A,hence:pe=Q[2A/(2)]=Q[A/ ],
Example: The three equiprobable signals +3A, 0, -2A are affected by AWGN
with =0.4A. Find the values of the thresholds and the overall net error prob.
Solution:
Here, we have two
thresholds, one Vth1 that
Separates -2A from 0 volts
And Vth2 that separates
+3A from 0 volts.
Since equprobable, then Vth1=(-2A+0)/2=-A volts and
Vth2=(+3A+0)/2=1.5A .
To find the error prob, we find d1=2A ( absolute distance between -2A and 0
volts) and d2= 3A ( absolute distance between +3A and 0 volts)
also we will assume -2A volt for “0” logic state , 0 volt for “1” logic
state and +3A volts for “2” logic state, then:
pe1=p(0R/1T)=p(1R/0T)= errors between -2A and 0 volts, then:
pe1=Q[d1/(2)]=Q[2A/(2*0.4*A)]=Q(2.5)=6.2*10-3
pe2=p(2R/1T)=p(1R/2T)= errors between +3A and 0 volts, then:
pe2=Q[d2/(2)]=Q[3A/(2*0.4*A)]=Q(3.75)=8.9*10-5
net error prob=p(0T) p(1R/0T)+ p(1T) p(0R/1T)+p(1T) p(2R/1T)+ p(2T) p(1R/2T)
=(1/3)*pe1+(1/3)*pe1+(1/3)*pe2+(1/3)*pe2
=(2/3)*pe1+(2/3)*pe24.19*10-3
Matched filter
y(t)+no
x(t)+ni H(w)
h(t)
This filter is called “Matched “ since for a certain signal x(t), there exists
a filter with impulse response h(t) matched to it (maximizes the above
ratio).
After long derivation, the following two equations are obtained:
1- h(t)=x(Tb-t).
Which gives the impulse response h(t) of a matched filter matched to
the signal x(t). Hence the impulse response of a matched filter matched
to the signal x(t) is the negative time of x(t) shifted by Tb.
2- | y(Tb) |2 E
[ ] max =
2
n o (t ) (o / 2)
x(t)
s(t)+n(t)
data
Matched
filter y1(Tb)
h1(t)
Tb
Where: E o = s o2 (t )dt = energy of so(t) =o/p of ho(t) if s(t)= so(t) and
0
Tb
E1 = s12 (t )dt = energy of s1(t) =o/p of h1(t) if s(t)= s1(t) also:
0
Tb
Eo1 = so (t ) s1 (t )dt =cross energy between so(t) and s1(t)
0
=o/p of ho(t) if s(t)= s1(t)
= o/p of h1(t) if s(t)= so(t)
For equiprobable p(0T)=p(1T)=0.5, and for Gaussian case:
Tb
− 2
[ s (t ) s (t )] dt
Eo + E1 − 2 E01
o 1
pe = Q ( 0
) = Q( ) -------------(1)
2 o 2 o
Error prob for digital carrier systems using matched filter (coherent detection):
1- ASK (OOK) (ON-OFF) keying:
Here the two signals are so(t)=0, s1(t)=Acost over bit duration Tb. We use
the general equation:
Eo + E1 − 2 E01
pe= Q (
2
)
o
where for OOK, Eo=E01=0 (since So(t)=0) , and:
E1=(A2Tb)/2 (s1(t) is a sinusoid whose normalized power=A2/2), putting
Eo, E01 and E1 then:
A2Tb
pe = Q( ) and express in terms of average signal
4 o
power, then:
S S Eb
pe = Q ( ) = = = energy / bit
S=[0.5Eo+0.5E1]/Tb=A2/4, then: o Rb and if o Rb o
Then: pe = Q( )
2-BPSK signals (Binary Phase Shift Keying):
Here the two signals are so(t)=-Acost, s1(t)=Acost over bit duration
Tb. Again, using the same general equation, then:
Eo=E1=[A2Tb]/2 since both so(t) and s1(t) are two sinusoids, also:
Tb
E01= − A2 cos2 t dt =-[A2Tb]/2.
0
Also S=[0.5Eo+0.5E1]/Tb=A2/2=average signal power, then one can
show that after putting Eo, E1 and E01 in the general equation:
2S which is better than OOK
pe = Q( ) = Q( 2 )
o Rb
3-FSK (frequency shift keying):
Here the two signals are so(t)=Acos1t, s1(t)=Acos2t over bit duration
Tb. Note that pe depends also on
= d = 2- 1
After a similar longer derivation, one can show that:
sin d Tb
pe = Q( (1 − )
d Tbwhich is a general formula used for matched
filter detection of FSK signals.( where = S = Eb = energy / bit as
before) o Rb o
Special cases in FSK:
1-if dTb=, 2, 3,.., or fd=0.5Rb, Rb, 1.5Rb,... this gives Eo1=0
(orthogonal FSK), and pe = Q( ) (similar to OOK)
sin d Tb
2-if dTb=4.49rad, or fd=0.715Rb, then: = −0.217
d Tb
And this gives pe = Q( 1.217 ) which is the best
(optimum)performance of FSK. sin d Tb
pe = Q( (1 − )
( Note: Use the general equation d Tb for FSK in
solving problems, do not mix with above special cases.)
Example: Matched filter detection is used to detect BPSK signals at a
rate of 600bps. If transmitted power is 5KW over an HF channel having
estimated path losses of 150dB, find the error prob if the noise at
detector input has one sided spectral density of 10-15 Watt/Hz.
• Solution:
PT =trans power=5000 W , PT = 10 Log10(5000) = 36.989 dB
then, PR=S= PT - PLoss =36.989 – 150 = -113.01 dB = 10(-113.01/10)
S=5*10-12 W=average signal power.
S 5 *10 −12
= = −15 = 8.333 then pe = Q( 2 ) = Q( 2 * 8.3333 ) = Q(4.08) 2 *10 −5
o Rb 10 * 600
Example: Repeat previous example for FSK signals with f1=700Hz, f2=2000Hz.
Solution:
Here d=2(2000-700)=2600, and d Tb=2600/600=4.3333, then and for the same
=8.333:
sin d Tb sin 4.333
pe = Q( (1 − ) = Q( 8.333(1 − ) = Q(2.84) 2.3 * 10 −3
d Tb 4.333
Which is worst than BPSK for the same .(remember that both BPSK and FSK have the
same average power of A2 /2, but the performance of BPSK is better)