An 8-bit ADC that rounds to the nearest code has an input range of 0 to 2.5 V. With 1 LSB = VFSR/2ᴺ, find the largest quantisation error eq,max in mV.
Data acquisition & sampling worksheet with answers
A UART link runs at 4800 baud. Find the duration Tb of one bit, in µs.
A recorder samples 4 channels at 2 kHz each with a 14-bit ADC. Each sample is stored in whole bytes. Find the memory M needed for a 1 min recording, in MB (1 MB = 10⁶ bytes).
A UART sends bytes at 115200 baud in the format 8E2: 8 data bits, an even parity bit and 2 stop bit(s), plus the start bit. Find the largest number of data bytes per second it can transfer.
A microcontroller with a 4 MHz clock sets its UART baud rate as fclk/(16·D), with D a whole number rounded to the nearest value. The target is 2400 baud. Find the percentage error of the real baud rate (positive when it is too fast).
A 16-channel multiplexer feeds one ADC. Each conversion takes 1 µs, and after every channel switch the input needs 1 µs to settle. The channels are scanned in turn without pause. Find the sampling rate fs of each channel, in kHz.
Answer key
- 1. eq,max = 4.883 mV
- 2. Tb = 208.3 µs
- 3. M = 0.96 MB
- 4. RB = 9600 B/s
- 5. e = 0.1603 %
- 6. fs = 31.25 kHz
Full step-by-step solutions: practise this topic on examproblems.com.