A 16-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 sensor signal contains frequencies up to 0.5 kHz. Find the minimum sampling rate fs,min that captures it without aliasing.
An ADC with an input range of 0 to 3.3 V must resolve steps of 0.2 mV or smaller. Find the smallest number of bits N.
An 8-bit ADC with an input range of 0 to 5 V truncates: its output code is ⌊Vin/LSB⌋ with 1 LSB = VFSR/2ᴺ. Find the decimal output code D for an input of 2.021 V.
A microcontroller with a 20 MHz clock sets its UART baud rate as fclk/(16·D), with D a whole number rounded to the nearest value. The target is 115200 baud. Find the percentage error of the real baud rate (positive when it is too fast).
A 12-bit ADC streams every sample over a UART at 19200 baud, format 8N1 (start bit, 8 data bits, 1 stop bit). Each sample is sent as 2 whole byte(s) and the link is busy all the time. Find the highest signal frequency fmax that can be sampled without aliasing, in Hz.
Answer key
- 1. 1 LSB = 0.07629 mV
- 2. fs,min = 1 kHz
- 3. N = 15
- 4. D = 103
- 5. e = −1.357 %
- 6. fmax = 480 Hz
Full step-by-step solutions: practise this topic on examproblems.com.