Past exam question: 2076 Chaitra, Q4(b)
Open in the Padhaiko appQuestion
Illustrate an example of a 4-bit PCM with AMI encodes.
Solution
Architecture of 4-Bit Pulse Code Modulation (PCM): In a 4-bit PCM system:
- Number of quantization bits per sample:
- Number of discrete quantization levels: levels (levels to , coded as to ).
- Let the input analog voltage range be to .
- Quantization step size: .
| Level Index | Quantized Voltage Interval | 4-Bit Binary Code |
|---|---|---|
| 0 | 0000 | |
| 5 | 0101 | |
| 10 | 1010 | |
| 13 | 1101 |
Concrete Sampling and Encoding Example: Suppose an analog signal is sampled at three successive sampling instants, yielding:
- Sample 1: Quantization Level Binary Code
1010 - Sample 2: Quantization Level Binary Code
1101
Concatenated PCM Bitstream:
Length = 8 bits.
Bipolar AMI Line Encoding of the PCM Bitstream: Under Bipolar Alternate Mark Inversion (AMI):
- Binary
0is represented by . - Binary
1alternates between positive voltage and negative voltage .
Applying AMI rules to 1 0 1 0 1 1 0 1:
- Bit 1 (
1): - Bit 2 (
0): - Bit 3 (
1): (inverts from previous1) - Bit 4 (
0): - Bit 5 (
1): (inverts from previous1) - Bit 6 (
1): (inverts from previous1) - Bit 7 (
0): - Bit 8 (
1): (inverts from previous1)
AMI Voltage Sequence:
Answer:
A 4-bit PCM discretizes analog samples into levels represented by 4-bit codes. For two sampled voltages mapped to levels 10 (1010) and 13 (1101), the resulting bitstream is 10101101. Encoding with Bipolar AMI produces:
where zeros remain at and binary ones strictly alternate between and .