Line Coding
Line Coding
Dr. Amir A. Khan PhD. Electrical Engineering Office : A-218, SEECS 9085-2162; [email protected]
Line Coding/Signalling
Lecture 12/12 CSE-319: Introduction to Analogue and Digital Communication Systems Dr. Amir / SEECS-NUST
Line coding originates from telephony with the need to transmit digital information across a copper telephone line Abstract binary signals (assumed statistically independent) are generated by the source The conversion (coding) into real temporal waveforms to be transmitted in baseband is the process of line-coding
Lecture 12/12
Diverse Applications
Performance Requirements
How much error can be tolerated? Synchronisation issues, etc
Lecture 12/12
Dc-content :
Tx-lines/ repeaters used in digital telephony are Ac-coupled Desired very small Dc-content in the line code used Significant Dc-levels can introduce DC-Wander Dc-Wander : received signal baseline varies with time
Power Spectrum:
PSD as narrow as possible to have small transmission bandwidth, BT requirements
Performance Monitoring
Error detection/Correction capability
Lecture 12/12
Self synchronisation/Clocking :
Enough info in the code itself to recover clock/sync information
Transparency:
All possible patterns of 1s and 0s are allowed If certain pattern is undesired, should map to unique alternate pattern
Lecture 12/12
Transition Codes
Carry info in the change in level appearing in line-code waveform May be instantaneous but generally have memory using past bit to dictate current waveform
Polar signalling
Uses both +/- voltages with/without 0-level
Bi-polar signalling
+/- and 0 voltage levels (sometimes in same class as polar)
Lecture 12/12 CSE-319: Introduction to Analogue and Digital Communication Systems Dr. Amir / SEECS-NUST
Polar Coding
Bipolar/AMI/Pseudoternary (BRZ)
Lecture 12/12
Advantages
Ease of generation requires only one power supply Relatively low bandwidth R (Hz) where R is data rate (bits/sec) T symbol/bit interval
Disadvantages
Non-zero dc-component causes problems for Ac-coupling Problems with static data no transition in transmitted wave timing (synchronisation) problem No error detection capability Bit error rate (BER) performance not comparable to polar codes
Lecture 12/12
Advantages
Ease of generation requires only one power supply Self-clocking : presence of discrete spectral component at symbol rate
Disadvantages
Non-zero dc-component causes problems for Ac-coupling Problems with static data no transition in transmitted wave No error detection capability Bit error rate (BER) performance not comparable to polar codes High bandwidth requirements 2R (Hz)
Lecture 12/12
Advantages
Low bandwidth requirement R (Hz)
Disadvantages
No error detection capability
Greatly reduced Dc-coupling because of Needs 2 power supplies zero dc component (prob. p = 0.5)
Lecture 12/12
Since marks (1s) represented with alternating +/- voltages so the name AMI
Advantages
No dc-component and zero dc-content Low bandwidth requirement R(Hz) Timing recovery is easy, discrete component at bit rate R(Hz) by FWR Single error detection capability
Disadvantages
Worse BER performance as compared to unipolar and polar waveforms
Greatly reduced Dc-coupling because of Needs 2 power supplies zero dc component (prob. p = 0.5)
Lecture 12/12
Advantages
Disadvantages
Zero dc-content on individual basis so no High bandwidth (2R) pattern of bits can cause 0 buildup Mid-bit transition allows for easier timing extraction Good BER performance Needs 2 power supplies No error detection capability
Lecture 12/12
Lecture 12/12
V* + - B 0 0 V - + B 0 0 V 0 0, which is: V* + - + 0 0 + - + - 0 0 - 0 0
Number of B pulses since last violation odd odd even even
Lecture 12/12
Polarity of last B pulse Negative (-) Positive (+) Negative (-) Positive (+)
Bandwidth R 2R
Lecture 12/12
Line coding schemes Unipolar NRZ, Polar NRZ, AMI, HDBN Unipolar RZ, Manchester
CSE-319: Introduction to Analogue and Digital Communication Systems Dr. Amir / SEECS-NUST