Lesson 25 Practice Problems (KEY)#
An accelerometer outputs \(100\ \text{mV}\) to \(500\ \text{mV}\); frequencies of interest are below \(4500\ \text{Hz}\). Refer to the ADC diagram in Problem 1.
a. Gain and Bias for Signal Conditioning
Map the accelerometer range \([0.1\ \text{V},\ 0.5\ \text{V}]\) to the ADC range \([2\ \text{V},\ 8\ \text{V}]\) using:
Minimum condition:
Maximum condition:
Solving:
Answer: \(v_{\text{out}} = 15\,v_{\text{in}} + 0.5\ \text{V}\)
b. Can the accelerometer be used directly with the ADC?
Answer: No. The accelerometer range (\(0.1\) – \(0.5\ \text{V}\)) does not span the ADC range (\(2\) – \(8\ \text{V}\)). Signal conditioning is required.
c. Does the ADC meet the Nyquist rate?
Answer: Yes, provided \(f_s > 9\ \text{kHz}\) (confirmed from the ADC diagram).
d. Digital output for \(v_{in}(t) = 400\ \text{mV}\)
Conditioned voltage:
Resolution (\(b = 10\) bits):
Expected level:
Binary encoding (10-bit):
\(2^9\) |
\(2^8\) |
\(2^7\) |
\(2^6\) |
\(2^5\) |
\(2^4\) |
\(2^3\) |
\(2^2\) |
\(2^1\) |
\(2^0\) |
|---|---|---|---|---|---|---|---|---|---|
512 |
256 |
128 |
64 |
32 |
16 |
8 |
4 |
2 |
1 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
Answer: Digital output = \(1100000000_2\)
e. Bit rate into the FDR
f. Time to fill the FDR (1 MB card)
A low-pass filter (LPF) limits the highest frequency component \(f_{\text{High}}\) of the input signal before it reaches the ADC. To prevent aliasing, the cutoff frequency must satisfy:
This ensures no frequency components above the Nyquist frequency enter the ADC.
T / F: An ADC’s maximum quantization error cannot be greater than its resolution.
Answer: False. The maximum quantization error is \(\frac{\Delta V}{2}\), which is half the resolution — always less than \(\Delta V\), not equal to or greater than it.
ADC for a music signal. Refer to the diagram in Problem 4 (\(f_s = 25\ \text{kHz}\), \(b = 5\ \text{bits}\), \(V_{\min} = -10\ \text{V}\), \(V_{\max} = 10\ \text{V}\)).
a. Maximum input frequency to prevent aliasing
Answer: The LPF must limit the input to \(12.5\ \text{kHz}\) or lower.
b. Resolution
c. Digital bandwidth (bit rate)
Two ADCs: ADC A (\(V_{\min}=0\), \(V_{\max}=5\ \text{V}\), \(b=6\), \(f_s=12\ \text{kHz}\)) and ADC B (\(V_{\min}=-2\ \text{V}\), \(V_{\max}=10\ \text{V}\), \(b=7\), \(f_s=10\ \text{kHz}\)).
a. Resolution
b. Better (smaller) resolution
Since \(\Delta V_A < \Delta V_B\), ADC A has the better resolution.
c. More samples in 10 seconds
\(f_{s,A} = 12\ \text{kHz} > f_{s,B} = 10\ \text{kHz}\), so ADC A takes more samples.
d. Which fills a 2 Gbit drive faster?
Answer: ADC A fills the drive faster because its bit rate is higher.
Accelerometer: \(-10\ \text{mV}\) at \(-2\ \text{G}\), \(+20\ \text{mV}\) at \(+8\ \text{G}\). ADC: \(V_{\min} = -2\ \text{V}\), \(V_{\max} = 12\ \text{V}\), \(b = 4\ \text{bits}\), \(f_s = 10\ \text{kHz}\).
a. Transducer interface (gain \(K\) and bias \(B\))
Map \([-10\ \text{mV},\ 20\ \text{mV}]\) to \([-2\ \text{V},\ 12\ \text{V}]\):
Minimum condition:
Maximum condition:
Solving:
To prevent aliasing, add an LPF with:
b. Resolution
ADC system: \(b = 4\ \text{bits}\), \(f_s = 10\ \text{kHz}\). FDR capacity: \(275\ \text{MB}\).
Solve: Compute the bit rate:
Convert storage to bits, then divide by bit rate:
Answer: The FDR can record approximately 16 hours of data.