Problem
You want to transmit the word HOW using an 8-ary system.
(a) Encode the word HOW into a sequence of bits, using 7-bit ASCII
coding, followed by an eighth bit for error detection, per character. The
eighth bit is chosen so that the number of ones in the 8 bits is an even
number. How many total bits are there in the message?
(b) Partition the bit-stream into k = 3 bit segments as an octal number
(symbol). How many octal symbols are there in the message?
(c) If the system were designed with 16-ary modulation, how many
symbols would be used to represent the word HOW?
(d) If the system were designed with 256-ary modulation, how many
symbols would be used to represent the word HOW?
[NOTE: Related ASCII codes are: W: 1010111, H: 1001000, O: 1001111]
Solution
Problem
We want to transmit 800 characters/s, where each
character is represented by its 7-bit ASCII codeword,
followed by an eighth bit for error detection per
character. The eighth bit is chosen so that the number
of ones in the 8 bits is an even number. A multilevel
PAM waveform with M = 16 levels is used
(a) What is the effective bit rate?
(b) What is the symbol rate?
Solution
(a) Bit rate = character rate x # of Bits per character
Bit rate = 800 char/s x 8bits/char
Bit rate = 6400 bits/s
(b)
Bit rate
Symbol rate =
# Bits per symbol
6400 bits/s
Symbol rate =
4 bits/symbol
Dr. M. Imran Aslam
Problem
Solution
Problem
Solution
Problem
10
Solution
11
FORMATTING AND
BASEBAND MODULATION
12
13
14
15
Advantages of PCM:
Relatively inexpensive
Easily multiplexed: PCM waveforms from different sources can
be transmitted over a common digital channel (TDM)
Easily regenerated: useful for long-distance communication,
e.g. telephone
Better noise performance than analog system
Signals may be stored and time-scaled efficiently (e.g.,
satellite communication)
Efficient codes are readily available
Disadvantage:
Requires wider bandwidth than analog signals
16
BASEBAND TRANSMISSION
17
Waveform Representation of
Binary Digits
The output of the A/D converter is a set of binary digits (bits)
But binary digits are just abstract entities that have no
physical definition
In order to transmit the bits over a physical channel they must
be transformed into a physical waveform
We may use pulses to convey a bit of information. For
example a binary 1 can be represented as presence and
binary 0 can be represented as absence of a pulse.
For easy detection, it is better to use pulse width equal to bit
time (T) so that it has maximum energy
In this case binary 0 and 1 are represented by transition
between two voltage levels.
Dr. M. Imran Aslam
18
(a)
(b)
(c)
Dr. M. Imran Aslam
19
20
Analog
Input
Signal
Sample
X
Quantize
ADC
XQ
Encode
PCM Sequence
Xk
Line
Code
x(t)
PCM Waveform
21
22
23
24
25
Line Coder
=
s (t )
n =
f (t nTb )
where f(t) is the pulse shape and Tb is the bit period (Tb=Ts/n for n
bit quantizer)
Details of this operation are set by the type of line code that is
being used
Dr. M. Imran Aslam
26
27
28
Bipolar RZ
A unipolar line code, except now we alternate between
positive and negative pulses to send a 1
Alternating like this eliminates the DC component
This is desirable for many channels that cannot
transmit the DC components
Phase Encoding:
Information is encoded using change in phase.
Used in magnetic recording, optical communication,
and in some telemetry links.
Generalized Grouping
Non-Return-to-Zero: NRZ-L, NRZ-M NRZ-S
Return-to-Zero: Unipolar, Bipolar, AMI
Phase-Coded: bi--L, bi- -M, bi- -S, Miller, Delay
Modulation
Multilevel Binary: dicode, doubinary
Dr. M. Imran Aslam
29
30
31
32
It
Either
33
t+ 4
f (t ) =
Tb
2
Tb
t 4
T
Mark
Space
34
35
Bi-phase Mark
NRZ-L (Level)
A transition at start of every bit period
1 represented by one level
1 represented by a 2nd transition at half0 represented by other level
bit period later
NRZ-M (Mark)
0 represented by no 2nd transition
1 represented by a change in level
Bi-phase Space
0 represented by no change in level
A transition at start of every bit period
NRZ-S (Space)
1 represented by no 2nd transition
1 represented by no change in level
0 represented by a 2nd transition at half0 represented by a change in level
bit period later
Unipolar RZ
Delay Modulation (Miller Coding)
1 represented by a half-bit wide pulse 1 represented transition at half-bit
0 represented by no pulse
interval
Polar RZ
0 represented by no transition, unless it is
0s & 1s are represented by opposite
followed by another zero. In this case, a
level pulses that are half-bit wide
transition is placed at the end of bit interval
RZ AMI (Alternate Mark Inversion)
of the first zero.
0 represented by no pulse;
Dicode NRZ
Successive 1s are represented by
A 1-to-0 or 0-to-1 transition change the
equal amplitude alternating pulses
pulse polarity; Otherwise a zero is sent.
Bi-phase Level (Manchester)
Dicode RZ
1 represented by high-to-low transition A 1-to-0 or 0-to-1 transition change the
at half-bit internval
pulse polarity at half-bit interval; Otherwise
0 represented by low-to-high transition
Dr. M. Imran
Aslamis sent.
36
a zero
37
38
Spectral Characteristics
Unipolar NRZ, polar NRZ, and
bipolar all have 1st null
bandwidths of Rb = 1/Tb
Unipolar RZ has 1st null BW of
2Rb
Manchester NRZ also has 1st
null BW of 2Rb, although the
spectrum becomes very low
at 1.6Rb
39
00 waveform (symbol) 1
01 waveform (symbol) 2
10 waveform (symbol) 3
11 waveform (symbol) 2
Symbol rate = bit rate/k
M-Ary Coding
Advantages:
Required transmission rate is low (bit rate/M)
Low bandwidth
Disadvantages:
Low signal to noise ratio (due to multiple
amplitude pulses)
M-ary Signaling
8-level signaling
2-level signaling
symbol values
Pulse Modulation
45
46
1
1
2 =
log 2
2
2
2
Dr. M. Imran Aslam
47
Problem
48
Solution
49
50
DUOBINARY CODING
51
DUOBINARY DECODING
52
PRECODING
53
54