Check: ADC codes and error

Knowledge check · self-test
Check: ADC codes and error
Checkpoint: ADC Codes and Error. The reference sets the input span and the model maps that span to codes. Turning a code back into volts exposes the error caused by the chosen code and reconstruction rules. You now know: A 10-bit ADC reports codes from 0 to 1023, so half of a 3.3V reference lands at code 511 after the floor operation. Matching the LM35's 0-1V range to a 1V reference gives about 0.1C per count instead of wasting 80% of a 5V range. A midpoint reconstruction of ideal bins has a half-step bound; the endpoint floor model can have nearly a full-step error. Averaging helps only with suitable noise or dither and a stable signal. An ideal equal-bin converter divides its input range into a fixed number of intervals. Divide the reference by the number of bins to find their width.
Checkpoint: ADC Codes and Error. The reference sets the input span and the model maps that span to codes. Turning a code back into volts exposes the error caused by the chosen code and reconstruction rules. You now know: A 10-bit ADC reports codes from 0 to 1023, so half of a 3.3V reference lands at code 511 after the floor operation. Matching the LM35's 0-1V range to a 1V reference gives about 0.1C per count instead of wasting 80% of a 5V range. A midpoint reconstruction of ideal bins has a half-step bound; the endpoint floor model can have nearly a full-step error. Averaging helps only with suitable noise or dither and a stable signal. An ideal equal-bin converter divides its input range into a fixed number of intervals. Divide the reference by the number of bins to find their width.
Use the stated converter model and reference in each question. Work the input or output fraction first, then check the code range.
For the stated model, divide the input by the reference and scale the result to the available code range. Apply the specified rounding rule.
Back to ADC and DAC: Conversion Calculations: ADC codes and error