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
SD0​D1​D2​D3​D4​D5​D6​D7​Tb​ = ?38400 Bd

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

baud = 38400 Bd
Tb = µs
2.Easy
128⋮8 ch∿01N = 1644.1 kHz? kbit/s

A data logger samples 8 channels, each at 44.1 kHz with 16-bit resolution. Find the raw data rate Rb in kbit/s.

n = 8fs = 44.1 kHzN = 16
Rb = kbit/s
3.Medium
Vin​N = 1010 V2ᴺ − 101 LSB7.546 V?

A 10-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.546 V.

N = 10VFSR = 10 VVin = 7.546 V
D =
4.Medium
tTs​ = 1/fs​f = 16 kHzfs​ = 10 kHz

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

f = 16 kHzfs = 10 kHz
fa = kHz
5.Hard
SD0​D1​D2​D3​D4​D5​D6​D7​1/fbaud​12 MHz / (16·D)

A microcontroller with a 12 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 = 12 MHztarget = 57600 Bd
e = %
6.Hard
SD0​D1​D2​D3​D4​D5​D6​D7​PTb​11·Tb​115200 Bd, 8E1

A 12-bit ADC streams every sample over a UART at 115200 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 = 115200 BdN = 128E1
fmax = Hz

Answer key

  1. 1. Tb = 26.04 µs
  2. 2. Rb = 5645 kbit/s
  3. 3. D = 772
  4. 4. fa = 4 kHz
  5. 5. e = 0.1603 %
  6. 6. fmax = 2618 Hz

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