- 2078 Kartik · 4+3+3 marks
Line coding: polar RZ and bipolar AMI
Short answer
Line coding converts bits to digital signals. Polar RZ: 1 = +V for half-bit then 0, 0 = -V then 0; good sync but wide bandwidth. Bipolar AMI: 0 = 0V, 1s alternate +V/-V; zero DC, error detection, but sync lost on long zeros. For 1011001: Polar RZ: +0-0+0+0-0-0+0; AMI: +0-+00-+.
Define line coding. Explain polar RZ and bipolar AMI line coding schemes with example and compare them.
Line coding is the process of converting a sequence of binary data (bits) into a digital signal (voltage levels) that can be sent over a medium.
Polar RZ (Return to Zero)
Uses three voltage levels. A 1 is +V and a 0 is -V for the first half of the bit; the signal then returns to 0 V for the second half. Every bit therefore has a transition, which gives self-synchronisation. It needs twice the bandwidth of NRZ.
Bipolar AMI (Alternate Mark Inversion)
A 0 is 0 V. The 1s (marks) are represented by pulses of alternating polarity (+V, -V, +V, ...). Alternating polarity gives zero DC component and a simple error check (two successive pulses of the same sign is a violation). A long string of 0s gives no transitions, so synchronisation can be lost.
Example: 1 0 1 1 0 0 1
Polar RZ
1 0 1 1 0 0 1
+V --| |-| |-| |-|
0 |-| |-| |-| |-| |-| |-| |-
-V |-| |-| |-|
Bipolar AMI
1 0 1 1 0 0 1
+V ----| |---|
0 |---| | |-------|
-V |---| |---
Comparison
| Point | Polar RZ | Bipolar AMI |
|---|---|---|
| Levels | +V, -V, 0 | +V, -V, 0 |
| Sending a 1 | +V then 0 | +V and -V alternately |
| Sending a 0 | -V then 0 | 0 V |
| Synchronisation | Good for both 0 and 1 | Good for 1s, poor for long 0s |
| DC component | Near zero if 0s and 1s balance | Zero |
| Bandwidth | Wide (2 × NRZ) | Narrower than RZ |
| Error detection | No | Yes (violation) |
✓ Answer checked by Claude Sonnet 5.5
Related questions
- Encode 1001101110 with unipolar, polar, bipolar codes · Data Communication, chapter 5 · asked 3×
- Encode 10110001110 with unipolar, polar, bipolar codes · Data Communication, chapter 5 · asked 3×
- Line coding: properties; encode 01001100011 · Data Communication, chapter 5
- Encode 10101111000011 with NRZ, RZ, AMI, Manchester · Data Communication, chapter 5
- Encode 1101001 with polar NRZ, AMI, Manchester · Data Communication, chapter 5 · asked 3×
- Polar, unipolar, bipolar, Manchester; encode 101000111011 · Data Communication, chapter 5
- Line coding 100111010 (Polar RZ, bipolar NRZ, AMI, Manchester) · Communication Systems, chapter 6
- Line coding 1011001010 (polar NRZ, polar RZ, Manchester, AMI) · Communication Systems, chapter 6 · asked 8×
- Line coding 1001001101 (polar NRZ, polar RZ, Manchester, AMI) · Communication Systems, chapter 6 · asked 8×
- Line coding 1001101101 (unipolar NRZ, polar RZ, AMI, Manchester) · Communication Systems, chapter 6 · asked 8×