Professional Documents
Culture Documents
Cse4214 Chapter2 2slides
Cse4214 Chapter2 2slides
Cse4214 Chapter2 2slides
Chapter 2
Formatting and Baseband
Modulation
Formatting
Page 1
1
Formatting & Baseband
Page 2
2
What is Formatting?
§ Information can take either of the three forms:
1. Textual information
2. Analog signals
3. Digital data
§ Before the signals are transmitted over a digital
communication channel, an information bearing signal
must be converted to digital symbols (Formatting).
§ The resulting digital symbols are then represented by
baseband waveforms (Pulse Modulation or Line
Coding).
5
Block Diagram
Block diagram representing formatting and transmission of baseband signals.
Page 3
3
Textual Data (1)
American Standard Code for Information Interchange (ASCII) for encoding alphanumerics
7 7
Page 4
4
Message and Symbol
n Textual message comprises a sequence of
alphanumeric characters.
n Example: Hello, how are you.
n Textual message is converted into a sequence
of bits, i.e. bit stream or baseband signal.
n Symbols are formed by a group of k bits from a
finite symbol set of M=2k such symbols.
n A system using a symbol set size of M is
referred to as an M-ary system.
9
10
Page 5
5
CSE4214 Digital Communications
Periodic Sampling
n Typically, discrete-time signals are formed by periodically
sampling a continuous-time signal : x(n)=xa(nTs)
The sampling interval Ts is the sampling period, and fs=1/
Ts is the sampling frequency in samples per second.
n The sampling process:
xa(t)
fs=1/Ts xs(t) Convert impulses
x(n)
into samples
Sa(t)
12
Page 6
6
xa (t )
0 Ts 2Ts 3Ts 4Ts 5Ts 6Ts 7Ts 8Ts 9Ts 10Ts 11Ts
∞
sa (t ) = ∑ δ (t − nTs )
n=−∞
0 Ts 2Ts 3Ts 4Ts 5Ts 6Ts 7Ts 8Ts 9Ts 10Ts 11Ts
∞ ∞
xs (t ) = xa (t ) sa (t ) = ∑ xa (t )δ (t − nTs ) = ∑ xa (nTs )δ (t − nTs )
n=−∞ n=−∞
0 Ts 2Ts 3Ts 4Ts 5Ts 6Ts 7Ts 8Ts 9Ts 10Ts 11Ts 13
14
Page 7
7
Fourier Transform of a CT Sampled Signal
1 ∞
x(t ) = ∫ X (ω )e dω
jωt
2π −∞
n Fourier transform of sampled signal :
1 ∞ 2π
X s (ω ) = ∑ X a (ω − nω s ) , ω s =
Ts n=−∞ Ts
15
1 ∞ 2π
X s (ω ) = ∑ X a (ω − nω s ) , ω s =
Ts n=−∞ Ts
ω
ω
−ω s −ω s 00 ωs ωs
16
ω s − ω sB − ω B
Page 8
8
Sampling Theorem :
Example
18
Page 9
9
Natural Sampling
n Replace impulse train in ideal sampling with a
pulse train p(t) (also know as the gating
waveform).
n The pulse train
where
n The pulse train can be implemented by an on/off
switch.
19
20
Page 10
10
Analog-to-Digital Conversion
Anti-aliasing Filter
n The role of anti-aliasing filter is to cut off the
frequency components that is higher than the half of
sampling frequency.
n Ideally, the anti-aliasing filter should have a lowpass
frequency response,
⎧1, Ω < ΩT / 2
H a ( jΩ) = ⎨
⎩ 0, Ω ≥ ΩT / 2
Such a “brickwall” filter can’t be realized using
practical analog circuit, hence, must be
approximated.
22
Page 11
11
Anti-aliasing Filter’
’s Effect on Signal Band
X a ( jΩ )
H a ( jΩ )
1
Spectrum
of aliased
component
of input
1/A
Ω
0 Ωp ΩT Ω0 ΩT
2 = ΩT − Ω p 23
24
Page 12
12
Frequency Response of 4 Types of Filter
25
26
Page 13
13
Sample and Hold Circuit
n Samples the analog signal at uniform intervals
and holds the sampled value after each
sampling operation for sufficient time for
accurate conversion by the A/D converter.
Hold
Input Sample
+ Output
-
Clock
27
Analog-to-Digital Converter
n Converts an analog signal into a binary
coded digital signal.
n Types of A/D converter
1. Integrating converter
2. Successive approximation converter
3. Flash converter
4. Folding A/D converter
5. Pipelined A/D converter
28
Page 14
14
CSE4214 Digital Communications
Quantization
A/D Conversion
n Uniform quantizer
n Peak signal power
to average
quantization noise
power is:
⎛ S ⎞ 2
⎜ ⎟ ≤ 3L
⎝ N ⎠ q
n SNR increases as a
function of the
number of
quantization level
squared.
30
Page 15
15
Examples of Sampling
Page 16
16
PCM
n A PCM signal is obtained from the quantized PAM
signal by encoding each quantized sample to a digital
codeword
n In binary PCM each quantized sample is digitally
encoded into an R-bit binary codeword.
n Binary digits of a PCM signal can be transmitted using
many efficient modulation schemes.
33
PCM - Example
34
Page 17
17
PCM Waveform Example
PCM sequence
Pulse representation
Pules waveform 35
36
Page 18
18
Uniform Quantization (2)
— Using a uniform quantizer for speech signals provides coarse
quantization at low amplitudes
37
38
Page 19
19
Nonuniform Quantization (2)
§ Two commonly used companders are:
µ − law compander A − law compander
⎧ A(| x | / xmax ) | x| 1
⎪⎪ ymax sgn( x) 0< ≤
log e [1 + µ(| x | / xmax )] 1 + log e A xmax A
y = ymax sgn( x) y = ⎨
log e [1 + µ] 1 + log e [A(| x | / xmax )] 1 | x|
⎪ ymax sgn( x) < ≤1
⎩⎪ 1 + log e A A xmax
39
Baseband Transmission
Page 20
20
PCM Waveform Types
n Nonreturn-to-zero (NRZ)
n NRZ is most commonly used PCM waveform
n NRZ-L (L for level)
n NRZ-M (M for mark)
n NRZ-S (S for space)
n Return-to-zero (RZ)
n Unipolar-RZ, bipolar-RZ, RZ-AMI(alternate mark
inversion)
n Phase encoded
n Multilevel binary
41
1 (mark)=change in level,
0 (space) = no change in level
A complement of NRZ-M
1=half-bit-wide pulse,
0=no pulse
Page 21
21
PCM Coding (2)
43
Page 22
22
M-ary Pulse-Modulation
n Multilevel signaling - a group of k-bit is
transmitted by M=2k level pulse.
45
Activity 1
The information in an analog waveform, with maximum frequency
fm=3kHz, is to be transmitted over an M-ary PAM system, where
the number of pulse levels is M=16. The quantization error is
specified not to exceed (+/-)1% of the peak-to-peak analog signal.
(a) What is the minimum number of bits/samples, or PCM word size
that should be used in digitizing the analog waveform?
(b) What is the minimum required sampling rate, and what is the
46
Page 23
23