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

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

N = 10VFSR = 5 V
eq,max = mV
2.Easy
Vin​N = 1610 V2ᴺ − 101 LSB = ?

A 16-bit ADC has an input range of 0 to 10 V. Taking 1 LSB = VFSR/2ᴺ, find the size of one LSB in mV.

N = 16VFSR = 10 V
1 LSB = mV
3.Medium
SD0​D1​D2​D3​D4​D5​D6​D7​Tb​10·Tb​115200 Bd, 8N1

A UART sends bytes at 115200 baud in the format 8N1: 8 data bits, no parity and 1 stop bit(s), plus the start bit. Find the largest number of data bytes per second it can transfer.

baud = 115200 Bd8N1
RB = B/s
4.Medium
Vin​N = ?5 V2ᴺ − 10≤ 1 mV

An ADC with an input range of 0 to 5 V must resolve steps of 1 mV or smaller. Find the smallest number of bits N.

VFSR = 5 Vresolution = 1 mV
N =
5.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 = %
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 57600 baud. Find the percentage error of the real baud rate (positive when it is too fast).

fclk = 16 MHztarget = 57600 Bd
e = %

Answer key

  1. 1. eq,max = 2.441 mV
  2. 2. 1 LSB = 0.1526 mV
  3. 3. RB = 11520 B/s
  4. 4. N = 13
  5. 5. e = 0.1603 %
  6. 6. e = 2.124 %

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