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
f0fN​ = ?1 kHz

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

fs = 1 kHz
fN = kHz
2.Easy
Vin​N = 1210 V2ᴺ − 101 LSB

A 12-bit ADC that rounds to the nearest code has an input range of 0 to 10 V. With 1 LSB = VFSR/2ᴺ, find the largest quantisation error eq,max in mV.

N = 12VFSR = 10 V
eq,max = mV
3.Medium
tTs​ = 1/fs​f = 55 kHzfs​ = 100 kHz

A 55 kHz sine wave is sampled at 100 kHz without an anti-aliasing filter. At which frequency fa does it appear in the samples? Give it in kHz.

f = 55 kHzfs = 100 kHz
fa = kHz
4.Medium
Vin​N = 810 V2ᴺ − 101 LSB7.129 V?

An 8-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 7.129 V.

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

A microcontroller with a 1 MHz clock sets its UART baud rate as fclk/(16·D), with D a whole number rounded to the nearest value. The target is 19200 baud. Find the percentage error of the real baud rate (positive when it is too fast).

fclk = 1 MHztarget = 19200 Bd
e = %
6.Hard
SD0​D1​D2​D3​D4​D5​D6​D7​1/fbaud​32 MHz / (16·D)

A microcontroller with a 32 MHz clock sets its UART baud rate as fclk/(16·D), with D a whole number rounded to the nearest value. The target is 9600 baud. Find the percentage error of the real baud rate (positive when it is too fast).

fclk = 32 MHztarget = 9600 Bd
e = %

Answer key

  1. 1. fN = 0.5 kHz
  2. 2. eq,max = 1.221 mV
  3. 3. fa = 45 kHz
  4. 4. D = 182
  5. 5. e = 8.507 %
  6. 6. e = 0.1603 %

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