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 = 165 V2ᴺ − 101 LSB = ?

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.

N = 16VFSR = 5 V
1 LSB = mV
2.Easy
f0fs​/2fs​ = ?0.5 kHz

A sensor signal contains frequencies up to 0.5 kHz. Find the minimum sampling rate fs,min that captures it without aliasing.

fmax = 0.5 kHz
fs,min = kHz
3.Medium
Vin​N = ?3.3 V2ᴺ − 10≤ 0.2 mV

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.

VFSR = 3.3 Vresolution = 0.2 mV
N =
4.Medium
Vin​N = 85 V2ᴺ − 101 LSB2.021 V?

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.

N = 8VFSR = 5 VVin = 2.021 V
D =
5.Hard
SD0​D1​D2​D3​D4​D5​D6​D7​1/fbaud​20 MHz / (16·D)

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

fclk = 20 MHztarget = 115200 Bd
e = %
6.Hard
SD0​D1​D2​D3​D4​D5​D6​D7​Tb​10·Tb​19200 Bd, 8N1

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.

baud = 19200 BdN = 128N1
fmax = Hz

Answer key

  1. 1. 1 LSB = 0.07629 mV
  2. 2. fs,min = 1 kHz
  3. 3. N = 15
  4. 4. D = 103
  5. 5. e = −1.357 %
  6. 6. fmax = 480 Hz

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