Topic 2 Dep30013 Notes Polytechnic
Topic 2 Dep30013 Notes Polytechnic
Topic 2 Dep30013 Notes Polytechnic
SYSTEM FUNDAMENTALS
1
COURSE LEARNING OUTCOME
Upon completion of this course, students should be able to:-
1. apply the basic concept of communication system elements,
various types of modulation techniques, transmission system
and basic data communication in electronic communication by
using appropriate diagram. (C3, PLO1)
2. solve a well-defined problems related to noise parameters,
modulation parameters, character encoding and information
capacity using designated method and formula. (C3, PLO2)
3. construct and test various applications of related
communication equipments in performing the assigned
practical work using standard test equipment. (P4, PLO5)
4. demonstrate ability to work in a team to complete assigned
tasks during practical work sessions. (A3, PLO11)
2
CHAPTER 2
MODULATION TECHNIQUES
(14 : 14)
LEARNING OUTCOME
1. Know, understand modulation and demodulation.
2. Know and understand Analog Modulation
3. Understand digital information in communication system
4. Understand and apply M-ary encoding
5. Know Pulse Modulation
6. Know and understand Pulse Code Modulation (PCM)
7. Understand and solve the problems related on Sampling,
Quantization, and Encoding process in PCM.
8. Know and understand digital modulation techniques
3
2.1 Know, understand modulation and
demodulation.
4
MODULATION & DEMODULATION
5
MODULATION & DEMODULATION
6
WHAT IS MODULATION?
7
MODULATION PROCESS
Modulator
Modulated Signal (High Frequency)
Information Signal
(Low frequency) Carrier Signal
(High frequency)
Modulator Demodulator
Modulated Signal
-
(High Frequency)
Information
Signal (Low Demodulated Signal = info
frequency) Carrier Signal (Low Frequency)
(High frequency)
9
TYPES OF MODULATION
Types of Modulation
10
TYPES of MODULATION
QAM
where;
v(ct) = time-varying sine wave of Carrier signal voltage
A = peak amplitude (volts)
f = frequency (hertz, Hz)
θ = phase shift (radians)
12
WHY MODULATION IS NECESSARY?
14
2.2 Know and understand Analog Modulation
15
ANALOG MODULATION
16
ANALOG MODULATION
18
1. AMPLITUDE MODULATION (AM)
19
1. AMPLITUDE MODULATION (AM)
20
1. AMPLITUDE MODULATION (AM)
AMPLITUDE MODULATED SIGNAL
Characteristics: MODULATING SIGNAL (Vm) (VAM)
multiple frequency
such as human
voice.
Characteristics:
CARRIER SIGNAL (Vc)
- The amplitude of carrier signal is
Characteristics: varied by the modulating signal.
- High frequency - Frequency and phase remain constant
- eg: microwave frequency - High frequency
- frequency and amplitude fixed.
100% modulation
overmodulation
23
ANGLE MODULATION (FM & PM)
Carrier Signal
Information Signal
Frequency Modulated
(FM) Signal
Phase Modulated
(PM) Signal
25
2. FREQUENCY MODULATION (FM)
26
2. FREQUENCY MODULATION (FM)
• Definition
PM is the process of changing the phase of
analog carrier signal in proportion with the
amplitude of the information signal
• In PM, the carrier amplitude and frequency
remains constant while the carrier phase is
varied by the modulating signal.
• As the modulating signal amplitude increases,
the carrier phase increases and vice versa.
29
3. PHASE MODULATION (PM)
• Equation: • Equation:
m(t) Vc Cos[2πfct mp Cos2fmt ] m(t) Vc Cos[2πfct mf Sin2fmt ]
32
2.3 Understand digital information in
communication system
At the end of this learning session, student
should be able to explain :
- The difference between digital radio and digital
transmission.
- Digital communication block diagram
- Advantages of the digital communication
compares to analog modulation.
33
DIGITAL COMMUNICATION
34
DIGITAL COMMUNICATION
38
TYPES of DIGITAL COMMUNICATION
Information
Source Encoder Channel Encoder Digital Modulator
Source
ASK,FSK,PSK Signal
Analog, digital signal Message Symbol Code Symbol
(Bits) (Bits) Channel
ASK,FSK,PSK Signal
Information
Source Decoder Channel Decoder Digital Demodulator
Sink
Source Encoder
Digital Information
Textual Information
Analog Information Sampler Quantizer Encoder Channel Encoder
45
M-ARY ENCODING
46
M-ary CODING
• M-ary is a term derived from the word binary.
47
M-ary CODING
• The number of conditions, M possible with n bits is
expressed mathematically as;
M 2n
Where, n = number of bits
M = number of conditions, or levels, or combinations
possible with n bits
n log 2 M
48
M-ary CODING
Example 2.1
For example, with n = 1 bit, only 21 = 2 conditions are
possible. With two bits, 22 = 4 conditions are possible.
With three bits, 23 = 8 conditions are possible, and so on.
Example 2.2
A digital signal has two levels. How many bits are needed
per level? Draw that digital signals.
Example 2.3
A digital signal has four levels. How many bits are needed
per level? Draw that digital signals.
49
M-ary CODING
Solution example 2.2
n log 2 M number of levels, M = 2
n log 2(2) number of bits per level, n = 1 bit
log 2
n 1 bit
log 2
50
M-ary CODING
Solution example 2.3
n log 2(4) number of levels, M = 4
log 4 number of bits per level, n = 2 bits
n 2 bits
log 2
51
2.5 Know Pulse Modulation
52
PULSE MODULATION
53
PULSE MODULATION
54
PULSE MODULATION TECHNIQUE
55
PULSE MODULATION TECHNIQUE
56
Figure 3.3 : Pulse Modulation Pulse Modulation
Technique
Information signal
Sampling Pulses
PWM
PPM
PAM
(Single Polarity/Flat Top Sampling)
PCM
57
PULSE MODULATION TECHNIQUE
• PWM - the width of the pulses is varied proportional to the analog
amplitude information signal.
(The higher amplitude of Information signal, the wider of pulse.)
• PPM – the position of the pulses is varied proportional to the analog
amplitude information signal.
(The higher amplitude of Information signal, the farther to the right
the pulse is positioned).
• PAM - the amplitude of the pulses is varied proportional to the analog
amplitude information signal.
(The higher amplitude of Information signal, the higher amplitude of
pulse).
• PCM – With PCM, the analog information signal is sampled into PAM
signal and then converted to a serial n-bit binary code for
transmission.
58
PULSE WIDTH MODULATION (PWM)
60
PULSE AMPLITUDE MODULATION (PAM)
PAM
Sample pulses
61
PULSE MODULATION TECHNIQUE
62
DIGITAL PULSE MODULATION (DPM)
64
PULSE CODE MODULATION
65
Pulse Code Modulation (PCM)
67
Pulse Code Modulation (PCM)
APPLICATION:
• In electronic communication circuit, the PCM technique is
applied at
– Analog to Digital Converter (ADC) device - in Coder
– Digital to Analog Converter (DAC) device - in Decoder
– In digital telephony Multiplexing (TDM-PCM)
– Digital PABX
– Digital Audio recording
– CD laser disks, etc.
• Figure 2.6 shows the PCM transmission block diagram.
Figure 2.7 shows the PCM Encoder(transmitter); while
Figure 2.8 shows the PCM Decoder(receiver).
68
Figure 2.6 Block Diagram of PCM - Full
Sampling Pulses
Serial PCM code (bits)
Analog Signal
Decoder & Lowpass
Hold Filter
(c) PCM Receiver
69
PCM Block Diagram
70
PCM Block Diagram
71
Pulse Code Modulation (PCM)
Information signal
Bandpass Filter
Filtered signal
e.g : 300 – 3400Hz
fmmin fmmax
73
1. SAMPLING
• Definition: Sampling is a process where the information
signal (in analog signal) is sampled by sampling pulse signal
which is generated at certain sampling rate,fs.
74
1. Sampling
Figure 2.9
• According to Figure 2.9, Analog
information signal is sampled
every TS seconds.
Info signal • Ts is referred to as the Sampling
Interval or Sampling Period.
• The amplitude of sampling pulse
signal is varied according to
amplitude of information signal
-TS 0 TS 2TS 3TS which produce a PAM signal.
Sampling Pulse Signal
• There are 3 methods of sampling
which are
i. Ideal Sampling
ii. Natural Sampling
iii. Flat-Top Sampling
-TS 0 TS 2TS PAM Signal
75
Figure 2.10 : Three different sampling methods for PCM
Ts
Ts
76
1. SAMPLING
• Ideal Sampling – the analog information signal is sampled
instantaneously by pulses. This sampling is not practical
and cannot be easily implemented.
77
1. SAMPLING
Sample Switch
fm fs
78
1. SAMPLING
79
Figure 2.11 : Three different Sampling Rate for PCM
Original
Information
Signal is
recovered.
Original
Information
Signal is NOT
recovered.
80
SAMPLING THEOREM
According to the Nyquist Sampling theorem; to reconstruct the
original signal, the sampling rate must be at least (minimum)
two times the highest frequency contained in the info signal.
fs ≥ 2fm(max)
EXAMPLE 2.4 :
Given the bandwidth of the telephone lines signal is 300 to 3400 Hz.
Determine the minimum sampling rate that suitable for sampling that signal
and sampling interval required.
ANSWER :
fs = 2fm(max) = 2 ( 3400Hz) = 6800 Hz @ 6800 samples/s
Ts = 1/ fs = 1/6800Hz = 0.147ms
81
SAMPLING THEOREM
EXAMPLE 2.5 :
• For an intuitive example of the Nyquist Theorem, let us sample a
simple sine wave at three sampling rates:
i) fs = 2fm (Nyquist rate),
ii) fs = 2(2fm) (2 times the Nyquist rate), and
iii) fs = ½(2fm) (one-half the Nyquist rate).
ANSWER:
From Figure 2.12 below;
• For part (a) It can be seen that sampling at the Nyquist rate can create
a good approximation of the original sine wave
• Oversampling in part (b) can also create the same approximation, but it
is redundant and unnecessary.
• Sampling below the Nyquist rate (part c) does not produce a signal that
looks like the original sine wave.
82
Figure 2.12 : Recovery of a sampled sine wave for different sampling rates
Harry Nyquist
84
2. QUANTIZATION
• Definition: Quantization is a process rounding off the amplitudes
of sampled (PAM) signal to a countable number of quantization
levels.
• Analog signal has an infinite (uncountable) number of amplitude
possibilities. By using the quantization process, the amplitudes of
sampled PAM signal is rounding off to a finite(countable) set of
quantization levels, L.
• The number of amplitude levels, L for the quantization depend on
the number of bits, n used to code the signal.
1
Original
0 analog
Mid-point signal
Figure 2.13: Quantization 87
2. QUANTIZATION
• The 8 zones are: -4V to -3V, -3V to -2V, -2V to -1V, -1V to 0V,
0V to 1V, 1V to 2V, 2V to 3V, and 3V to 4V.
• The midpoints are: -3.5V, -2.5V, -1.5V, -0.5V, 0.5V, 1.5V, 2.5V, and
3.5V.
• This midpoint is called quantization level, L. The midpoint of
each zone is assigned a value from 0 to L-1 quantization levels.
• Each sampled signal’s amplitude is quantized (rounding-off) to
the midpoint of the interval (quantization level) in which it lies.
• For example in Figure 2.13 above, the second sample has
sampled amplitude value of 3.1V. After quantization, the
sampled amplitude value is quantized to 3.5V level.
89
2. QUANTIZATION
• There are two types of Quantizing method which are;
i. Uniform Quantization – uniform step size, ∆
ii. Non-uniform Quantization – non-uniform step size, ∆
• The previous example is Uniform quantization where the step size
is uniform for each zone.
• However, a non-uniform quantization is commonly used because
the uniform quantization is not efficient for a signal that has
smaller amplitude.
• For example, in speech communication (voice signal), the signal is
found have more smaller amplitudes rather than larger amplitudes
• Thus, uniform quantization scheme is wasteful for speech signals
because many of quantization levels, L are rarely used. The non-
uniform quantizing method is more suitable because the step size
could be adjusted depends on the amplitude of signal (smaller step
size for lower amplitude and larger for higher amplitude).
90
Quantization Error (Qe)
• When a signal is quantized, we introduce an error because
Quantization is an approximation process.
• The difference between sampled and quantized value is referred
as the quantization error (Qe).
Qe Quantized value - Sampled value (V)
93
Qe, SQR and BIT RATE
• Thus, the recovery original signal is more accurate when
the quantization errors are reduced.
• In conclusion, the quality of sampled PAM signal can be
improved by using a PCM code with more bits, n. BUT, the
more bits will introduce higher bit rate.
• Bit Rate is the number of bits transmitted during one
second and is expressed in bits per second (bps).
• The Bit Rate for PCM could be found from the formula;
Bit Rate = fS x n fS = sampling rate
n = number of bits per sample
94
BIT RATE
EXAMPLE 2.7
We want to digitize the human voice. What is the bit rate,
assuming 8 bits per sample?
95
3. ENCODING
• Definition : Encoding is a process of translating the quantized
signal into a decimal code number. Then this decimal code
number is converted to its representative binary sequence.
96
3. ENCODING
• The Decimal Code Number for each quantization level is
converted to its representative binary sequence by using
Binary Code or Grey Code or Folded Binary Code.
Code Number Binary Code Gray Code
7 111 110
6 110 111
5 101 101
4 100 100
3 011 000
2 010 001
1 001 011
0 000 010
• The essential features of binary PCM are shown in Figure 2.14
97
3. ENCODING
Binary Quantized signal Sampled signal
code
111
110
101
100
011
010
001
000
Figure 2.14
98
3. ENCODING
• From figure 2.14 above, we assign the decimal code
number 0 to the level -3.5V, the code number 1 to level -
2.5V, and so on until level +3.5V.
99
Example 2.8
Encode the following quantized signal and find the
quantization error for each samples.
4V
3.94
3.24
3V
2.2
2V
1.5
1V
0V
-1.2
-1V
-1.22 -1.1
-1.88
-1.88
-2V
-2.26
-3V
-4V
Figure 2.15
100
Solution Example 2.8
3.5V 3.94
3.24
2.5V 2.2
1.5V 1.5
0.5V
-0.5V
-1.2
-1.5V -1.22 -1.1
-1.88
-2.5V -2.26
-0.5V
-0.28
EXERCISE
Q. Encode the following Quantized signal
step size is
distributed evenly
Solution:
No. of level, L = 16
Therefore, no. of bits
for each level is
n = log2 L
n = log2 (16)
n = 4 bits
Figure 2.16
102
PCM DECODER
• According to Figure 2.8, to recover an analog signal from
a digitized signal we follow the following steps:
1. We use a decoder and hold circuit that holds the
amplitude value of a pulse till the next pulse
arrives. This will produce a staircase PAM signal.
4.103
Figure 2.8 Block Diagram of PCM Decoder (Receiver)
PAM signal
Decoder
& Hold
104
2.7 Know and understand Digital Modulation
105
DIGITAL MODULATION
106
DIGITAL MODULATION
107
Figure 2.19 Digital-to-analog conversion
108
TYPES of DIGITAL COMMUNICATION
Digital Modulation
110
DIGITAL MODULATION
Carrier signal
fC
Data
ASK
f0 f1
FSK
PSK
115
Figure 2.22: Implementation of binary ASK
116
Frequency Shift Keying (FSK)
• As the binary input signal changes from a logic 0 to a logic 1 and vice
versa, the output frequency shifts between two frequencies: logic 1 -
frequency (f1) and logic 0 - frequency (f0).
117
Figure 2.23: Binary Frequency Shift Keying
118
Figure 2.24: Implementation of binary FSK
119
Phase Shift Keying (PSK)
120
Phase Shift Keying (PSK)….cont
121
Figure 2.25: Binary Phase Shift Keying
122
Figure 2.26 Implementation of BPSK
123
REFERENCES
• Wayne T. (2004). Electronic Communication Systems:
Fundamentals Through Advance (6th ed.). Prentice Hall. ISBN-
10: 0130453501 or ISBN-13: 9780130453501
124