AD/DA conversion
Which correctly describes the "offset binary" code used in ADCs that handle both positive and negative voltages?
- AThe MSB alone represents the sign and the remaining bits the magnitude
- BNegative full scale is all 0s, positive full scale is all 1s, and 0 V is represented by the middle code
- CAll negative values are collapsed into the all-0 code
Show answer and explanation
Answer: B. Negative full scale is all 0s, positive full scale is all 1s, and 0 V is represented by the middle code
Offset binary assigns 000...0 to the minimum of the input range (negative full scale) and 111...1 to the maximum, with 0 V near the middle code (for example 100...0). It differs from two's complement only by an inverted MSB, and both are commonly used in bipolar-input ADCs.
- A. An MSB sign with the remaining bits as magnitude is sign-magnitude representation.
- B. Correct. The whole range is assigned from 0 upward, with 0 V in the middle.
- C. Collapsing negative values into a single code would lose information.