A sensor signal contains frequencies up to 20 kHz. Find the minimum sampling rate fs,min that captures it without aliasing.
Data acquisition & sampling worksheet with answers
An ADC samples at 40 kHz. Find the Nyquist frequency fN, the highest signal frequency it can represent without aliasing.
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 1.04 V.
A UART sends bytes at 1200 baud in the format 8E1: 8 data bits, an even parity bit and 1 stop bit(s), plus the start bit. Find the largest number of data bytes per second it can transfer.
A 2.4 kHz square wave is sampled at 20 kHz with no anti-aliasing filter. A square wave contains the odd harmonics 3f₁, 5f₁, 7f₁, … At which frequency fa does its harmonic 5f₁ appear in the sampled data? Give it in kHz.
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).
Answer key
- 1. fs,min = 40 kHz
- 2. fN = 20 kHz
- 3. D = 106
- 4. RB = 109.1 B/s
- 5. fa = 8 kHz
- 6. e = −1.357 %
Full step-by-step solutions: practise this topic on examproblems.com.