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

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.

N = 12VFSR = 1 V
1 LSB = mV
2.Easy
f0fN​ = ?50 kHz

An ADC samples at 50 kHz. Find the Nyquist frequency fN, the highest signal frequency it can represent without aliasing.

fs = 50 kHz
fN = kHz
3.Medium
Vin​N = ?100 mm2ᴺ − 10≤ 0.5 mm

A sensor measures distance over a span of 100 mm, and its output fills the whole input range of an ADC. The reading must resolve 0.5 mm. Find the smallest number of bits N the ADC needs.

span = 100 mmresolution = 0.5 mm
N =
4.Medium
Vin​N = 1210 V2ᴺ − 11 LSB0.885 V?

A 12-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 0.885 V.

N = 12VFSR = 10 VVin = 0.885 V
D =
5.Hard
SD0​D1​D2​D3​D4​D5​D6​D7​PTb​11·Tb​9600 Bd, 8E1

A 10-bit ADC streams every sample over a UART at 9600 baud, format 8E1 (start bit, 8 data bits, even parity, 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 = 9600 BdN = 108E1
fmax = Hz
6.Hard
SD0​D1​D2​D3​D4​D5​D6​D7​1/fbaud​16 MHz / (16·D)

A microcontroller with a 16 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 = 16 MHztarget = 115200 Bd
e = %

Answer key

  1. 1. 1 LSB = 0.2441 mV
  2. 2. fN = 25 kHz
  3. 3. N = 8
  4. 4. D = 362
  5. 5. fmax = 218.2 Hz
  6. 6. e = −3.549 %

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