Data acquisition & sampling worksheet with answers

Free printable Data acquisition & sampling worksheet: 6 problems from easy to exam level, with an answer key. Print it or save it as a PDF.

For teachers: free to print, copy and use in class. Every new worksheet has new values and its own answer key. A link to ExamProblems on your course page is appreciated.

Name: ____________________   Date: ____________

1.Easy
Vin​N = 82.5 V2ᴺ − 101 LSB

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.

N = 8VFSR = 2.5 V
eq,max = mV
2.Easy
SD0​D1​D2​D3​D4​D5​D6​D7​Tb​ = ?4800 Bd

A UART link runs at 4800 baud. Find the duration Tb of one bit, in µs.

baud = 4800 Bd
Tb = µs
3.Medium
124⋮4 ch∿01N = 142 kHz? MB

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).

n = 4fs = 2 kHzN = 14t = 1 min
M = MB
4.Medium
SD0​D1​D2​D3​D4​D5​D6​D7​PTb​12·Tb​115200 Bd, 8E2

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.

baud = 115200 Bd8E2
RB = B/s
5.Hard
SD0​D1​D2​D3​D4​D5​D6​D7​1/fbaud​4 MHz / (16·D)

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).

fclk = 4 MHztarget = 2400 Bd
e = %
6.Hard
1216⋮16 ch∿01tc​ = 1 µstset​ = 1 µsfs​ = ?

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.

n = 16tc = 1 µstset = 1 µs
fs = kHz

Answer key

  1. 1. eq,max = 4.883 mV
  2. 2. Tb = 208.3 µs
  3. 3. M = 0.96 MB
  4. 4. RB = 9600 B/s
  5. 5. e = 0.1603 %
  6. 6. fs = 31.25 kHz

Full step-by-step solutions: practise this topic on examproblems.com.