A 12-bit ADC has an input range of 0 to 5 V. Taking 1 LSB = VFSR/2ᴺ, find the size of one LSB in mV.
Data acquisition & sampling worksheet with answers
A 12-bit ADC has an input range of 0 to 1 V. Taking 1 LSB = VFSR/2ᴺ, find the size of one LSB in mV.
A sensor measures temperature over a span of 150 °C, and its output fills the whole input range of an ADC. The reading must resolve 0.05 °C. Find the smallest number of bits N the ADC needs.
A 10-bit ADC with an input range of 0 to 10 V truncates: its output code is ⌊Vin/LSB⌋ with 1 LSB = VFSR/2ᴺ. Find the decimal output code D for an input of 8.275 V.
A microcontroller with a 24 MHz clock sets its UART baud rate as fclk/(16·D), with D a whole number rounded to the nearest value. The target is 57600 baud. Find the percentage error of the real baud rate (positive when it is too fast).
A 7.5 kHz square wave is sampled at 50 kHz with no anti-aliasing filter. A square wave contains the odd harmonics 3f₁, 5f₁, 7f₁, … At which frequency fa does its harmonic 7f₁ appear in the sampled data? Give it in kHz.
Answer key
- 1. 1 LSB = 1.221 mV
- 2. 1 LSB = 0.2441 mV
- 3. N = 12
- 4. D = 847
- 5. e = 0.1603 %
- 6. fa = 2.5 kHz
Full step-by-step solutions: practise this topic on examproblems.com.