Professional Documents
Culture Documents
Digital Transmission
Digital-to-Digital Conversion
Analog-to-Digital Conversion
Transmission Mode
Line Coding
Line coding
Data element
A basic unit of information built on standard
Example
A signal is carrying data in which one data
Solution
Signal Rate
A.k.a pulse rate, modulation rate or baud rate
No. of signal element send in 1s
Unit is the baud
In data communication
Increase data rate increase the speed of transmission
Decrease signal rate decrease bandwidth
requirement
DC Component
Some line coding leave a residual direct-current (dc) component
This component is an undesirable components with reasons: signal is distorted / create errors in the output when pass through
a system that does not allow passage of a dc component (i.e:
transformer)
extra energy residing on the line and useless
DC component
occurred when
voltage level in a
digital signal is
constant ~
spectrum create
very low
frequencies ~
frequencies
around zero ~
problem to pass
low frequencies
for certain system
Synchronization
Unipolar
Polar
Uses 2 voltage levels (+ve and ve)
Manchester
use an inversion at the middle of each bit interval for both
synchronization and bit representation.
binary 1 negative to positive, binary 0 positive to negative
Consider achieve same level of synchronization as RZ but only
involve two levels of amplitude
Bipolar
use three voltage levels (+ve, -ve and zero)
a common bipolar encoding known as Bipolar Alternate Mark
Inversion (AMI) alternate 1 inversion
means : 0 = 0 voltage; 1 = alternation +ve and ve
voltage
Modification of bipolar AMI to solve the problem of
synchronizing sequential 0s, especially for long-distance
transmission known as BnZS (Bipolar n-zero substitution)
Bipolar n-zero substitution (BnZS) wherever n consecutive
zeros
occur in the sequence, some of the bits in these n bits become
+ve
or ve (to help synchronization)
Multilevel Schemes
Reason for creation of many schemes
To increase data speed or decrease required
bandwidth
Increase number of bits per baud by
encoding a pattern of m data elements into a
pattern of n signal elements
Block Coding
to improve the performance of line coding
Need some kind of redundancy to ensure synchronization
Need to include other redundant bits to detect errors.
Steps in Transformation
Step 1 Division
Sequence of bits is divided into groups of m
bits
Step 2 Substitution
substitute an m-bit code for an n-bit group
E.g: 4B/5B encoding
refer Figure 4.16
Step 3 Line Coding
use one of the line coding schemes to create a
signal
sometimes step 2 and 3 can be combined
Code
Data
Code
0000
11110
1000
10010
0001
01001
1001
10011
0010
10100
1010
10110
0011
10101
1011
10111
0100
01010
1100
11010
0101
01011
1101
11011
0110
01110
1110
11100
0111
01111
1111
11101
Code
Q (Quiet)
00000
I (Idle)
11111
H (Halt)
00100
J (start delimiter)
11000
K (start delimiter)
10001
T (end delimiter)
01101
S (Set)
11001
R (Reset)
00111
bit code
More error detection capability than 4B/5B
Analog-to-Digital
Conversion
Pulse Amplitude Modulation
Pulse Code Modulation
Sampling rate: Nyquist Theorem
Delta Modulation
Sampling
Line coding and block coding use to convert
PCM
This figure shows the result of PCM of the original signal encoded
into unipolar signal
Exercise
What sampling rate is needed for a signal
Solution
The sampling rate must be twice the highest
Exercise
A signal is sampled. Each sample requires
Solution
We need 4 bits; 1 bit for the sign and 3 bits
Delta Modulation
Delta Modulation
Components
Bit Rate
After finding the number of bits per sample,
Exercise
We want to digitize the human voice. What
Solution
The human voice normally contains
per sample
= 8000 x 8 = 64,000 bps = 64 Kbps
Note
Note that we can always
change a band-pass signal
to a low-pass signal before
sampling. In this case, the
sampling rate is twice the
bandwidth.
Transmission Modes
Parallel Transmission
Serial Transmission
Asynchronous
Transmission
In asynchronous transmission, we send 1
start bit (0) at the beginning and 1 or more
stop bits (1s) at the end of each byte.
There may be a gap between each byte
Asynchronous
Transmission
Asynchronous here means asynchronous
the byte level, but the bits are still
synchronized, their durations are the same
at
Synchronous
Transmission
In synchronous transmission, we send bits
one after another without start/stop bits or
gaps
It is the responsibility of the receiver to group
the bits
Asynchronous vs
Synchronous
Asynchronous
Slower transmission or low-speed
communication
Cheap and effective
E.g: Keyboard only one character at one time
and leave unpredictable gap of time between
each character
Synchronous
Faster transmission useful for high speed
application
Isochronous
In real-time audio and video, uneven delays