CS553 ST7 Ch05-SignalEncodingTechniques
CS553 ST7 Ch05-SignalEncodingTechniques
Encoding Techniques
Terms (1)
Unipolar
All signal elements have same sign
Polar
One logic state represented by positive voltage the
other by negative voltage
Data rate
Rate of data transmission in bits per second
Terms (2)
Modulation rate
Rate at which the signal level changes
Measured in baud = signal elements per second
Interpreting Signals
Need to know
Timing of bits - when they start and end
Signal levels
Comparison of Encoding
Schemes (1)
Signal Spectrum
Lack of high frequencies reduces required bandwidth
Lack of dc component allows ac coupling via
transformer, providing isolation
Concentrate power in the middle of the bandwidth
Clocking
Synchronizing transmitter and receiver
External clock
Sync mechanism based on signal
Comparison of Encoding
Schemes (2)
Error detection
Can be built in to signal encoding
Encoding Schemes
NRZ
Differential Encoding
Data represented by changes rather than levels
More reliable detection of transition rather than
level
In complex transmission layouts it is easy to
lose sense of polarity
Cons
dc component
Lack of synchronization capability
Multilevel Binary
Use more than two levels
Bipolar-AMI
zero represented by no line signal
one represented by positive or negative pulse
one pulses alternate in polarity
No loss of sync if a long string of ones (zeros still a
problem)
No net dc component
Lower bandwidth
Easy error detection
Pseudoternary
One represented by absence of line signal
Zero represented by alternating positive and
negative
No advantage or disadvantage over bipolar-AMI
Biphase
Manchester
Transition in middle of each bit period
Transition serves as clock and data
Low to high represents one
High to low represents zero
Used by IEEE 802.3
Differential Manchester
Midbit transition is clocking only
Transition at start of a bit period represents zero
No transition at start of a bit period represents one
Note: this is a differential encoding scheme
Used by IEEE 802.5
Manchester Encoding
Differential Manchester
Encoding
Pros
Synchronization on mid bit transition (self clocking)
No dc component
Error detection
Absence of expected transition
Modulation Rate
Scrambling
Use scrambling to replace sequences that would
produce constant voltage
Filling sequence
Must produce enough transitions to sync
Must be recognized by receiver and replace with original
Same length as original
No dc component
No long sequences of zero level line signal
No reduction in data rate
Error detection capability
B8ZS
Bipolar With 8 Zeros Substitution
Based on bipolar-AMI
If octet of all zeros and last voltage pulse
preceding was positive encode as 000+-0-+
If octet of all zeros and last voltage pulse
preceding was negative encode as 000-+0+ Causes two violations of AMI code
Unlikely to occur as a result of noise
Receiver detects and interprets as octet of all
zeros
HDB3
High Density Bipolar 3 Zeros
Based on bipolar-AMI
String of four zeros replaced with one or two
pulses
Modulation Techniques
Multiple FSK
Differential PSK
Phase shifted relative to previous transmission rather
than some reference signal
Differential PSK
Quadrature PSK
More efficient use by each signal element
representing more than one bit
e.g. shifts of /2 (90o)
Each element represents two bits
Can use 8 phase angles and have more than one
amplitude
9600bps modem use 12 angles , four of which have
two amplitudes
Performance of Digital to
Analog Modulation Schemes
Bandwidth
ASK and PSK bandwidth directly related to bit rate
FSK bandwidth related to data rate for lower
frequencies, but to offset of modulated frequency
from carrier at high frequencies
(See Stallings for math)
Quadrature Amplitude
Modulation
QAM used on asymmetric digital subscriber line
(ADSL) and some wireless
Combination of ASK and PSK
Logical extension of QPSK
Send two different signals simultaneously on
same carrier frequency
Use two copies of carrier, one shifted 90
Each carrier is ASK modulated
Two independent signals over same medium
Demodulate and combine for original binary output
QAM Modulator
QAM Levels
Two level ASK
Each of two streams in one of two states
Four state system
Essentially QPSK
PCM Example
Nonlinear Encoding
Quantization levels not evenly spaced
Reduces overall signal distortion
Can also be done by companding
Delta Modulation
Analog input is approximated by a staircase
function
Move up or down one level () at each sample
interval
Binary behavior
Function moves up or down at each sample interval
Types of modulation
Amplitude
Frequency
Phase
Analog
Modulation
Required Reading
Stallings chapter 5