Beruflich Dokumente
Kultur Dokumente
Electronic Engineering
Electronic Engineering
Electronic Engineering
Electronic Engineering
Some Terms
Unipolar
All signal elements have same sign (all positive or all negative)
Polar
One logic state represented by positive voltage, the other by
negative voltage
Modulation rate
Rate at which the signal level changes
Measured in baud = signal elements per second
Electronic Engineering
Interpreting Signals
To interpret digital signals, the receiver needs to know
Timing of each bit - when a bit starts and ends
Signal level (high [0] or low [1]) for each bit position
Electronic Engineering
Clocking
Synchronizing transmitter and receiver
External clock or self clocking?
Error detection
Responsibility of data link control
But can be built into signal encoding to detect errors more quickly
Electronic Engineering
Implementations:
Unipolar (absence of voltage for one, constant positive voltage for
zero)
Polar (negative voltage for one value and positive for the other)
0 = high level
1 = low level
Electronic Engineering
Electronic Engineering
Cons
dc component
Lack of synchronization capability
e.g. with a long string of 1s or 0s for NRZ-L or a long string of 0s
for NRZI, the output is a constant voltage over a long period of
time. So any drift between the clocks of transmitter and receiver
will result in loss of synchronization between the two
Electronic Engineering
10
Electronic Engineering
11
Electronic Engineering
12
Advantages
No net dc component
Less bandwidth than NRZ
No loss of synchronization if a long string of 1s occurs in BipolarAMI or a long string of 0s in Pseudoternary
Disadvantages:
Synchronization problem with long runs of 0s in the case of AMI
or 1s in the case of pseudoternary
Not as efficient as NRZ
Each signal element only represents one bit (although for 3-level
systems, each signal element could represent log 23 = 1.58 bits)
Electronic Engineering
13
Biphase Manchester
Electronic Engineering
14
Electronic Engineering
15
Advantages:
Synchronization: self clocking (midbit transition serves
as a clock)
No dc component
Built-in error detection (absence of an expected
transition can be used to detect errors)
Disadvantages
Maximum modulation rate is twice that for NRZ
Requires more bandwidth than multilevel binary codes
ELE4NET: Signal Encoding
Electronic Engineering
16
17
Scrambling
Despite the self-clocking mechanism, biphase codes are not
widely used in long-distance applications because they
require a high signaling rate relative to data rate
Scrambling use filling sequences to replace sequences that
would produce constant voltage
Requirements:
Implementations:
B8ZS (bipolar with 8-zeros substitution)
HDB3 (high-density bipolar-3 zeros)
ELE4NET: Signal Encoding
Electronic Engineering
18
B=valid bipolar
signal
V=Bipolar violation
Electronic Engineering
19
Electronic Engineering
20
Electronic Engineering
21
Electronic Engineering
22
A cos(2f c t ) binary1
Susceptible to sudden gain changes
s (t )
Inefficient modulation
0
binary 0
Electronic Engineering
23
s (t )
A cos(2f 2t ) binary 0
where f1 and f2 are offset from the carrier frequency by equal but
opposite amounts
Less susceptible to error than ASK
Up to 1200bps on voice-grade lines
Used for high frequency radio transmission (3-30 MHz)
Used at even higher frequency on LANs using co-axial cable
Electronic Engineering
24
A cos(2f c t )
BPSK s (t )
binary1
Differential PSK
Phase shift is relative to
previous transmission rather
than some reference signal. DPSK
Binary0isrepresentedby
sendingasignalburstofthe
samephaseastheprevious
signalburstsent.Binary1is
representedbysendinga
signalburstofoppositephase
totheprecedingone.
ELE4NET: Signal Encoding
Electronic Engineering
25
Electronic Engineering
26
The device used for converting analog data into digital form for
transmission, and subsequently recovering the original analog
data from the digital, is known as a codec (coder-decoder). Two
principal techniques used in codecs:
Pulse code modulation (PCM)
Electronic Engineering
27
Electronic Engineering
28
Electronic Engineering
29
Electronic Engineering
30
Delta Modulation
A variety of techniques have been used to improve the
performance of PCM or to reduce its complexity. One of
the most popular alternatives to PCM is delta modulation
(DM).
With DM, analog input is approximated by a staircase
function that moves up or down one quantization level ()
at each sampling interval.
The staircase function has binary behavior
Hence encode each sample as a single binary digit
1 for up, 0 for down
Electronic Engineering
31
Electronic Engineering
32
Electronic Engineering
33
Types of modulation
Amplitude modulation(AM)
Frequency modulation(FM)
Phase modulation(PM)
ELE4NET: Signal Encoding
Electronic Engineering
34