A11 · Problem set 6
Problem set 6: large numbers, simulation and noise
These problems use lessons 29 to 33: the law of large numbers, tail bounds from Markov's to Hoeffding's, Monte Carlo simulation, noise as a random signal with SNR, and averaging. They're the calculations behind planning a measurement: how much data, how much averaging, and how much noise to expect.
Check
A sensor's reading is never negative, with mean 3 mV, standard deviation 1 mV, and an unknown distribution.
(a)
What is the most the chance of landing 3σ or more from the mean can be?
(b)
By Markov, what is the most the chance of a reading above can be?
Check
Readings have noise σ = 5 mV, and you need the mean to within ±1 mV.
(a)
About how many readings give that with 95% confidence (z = 2)?
(b)
How many does Chebyshev require to guarantee a miss rate of at most 5%?
Check
A link's BER is near 1 × 10⁻⁶. A tester runs at 1 × 10⁸ bits per second.
(a)
How many bits are needed for a relative error of 0.1?
(b)
How long does the test take?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
A Monte Carlo yield study runs 10000 trials of a circuit whose failure probability is near 0.02.
(a)
What is the standard deviation of the estimated failure rate?
(b)
How many trials would halve that?
Check
A 1 kΩ resistor at 290 K is measured over a 10 kHz bandwidth.
(a)
What is its thermal noise, RMS?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
(b)
About what peak-to-peak would a scope show?
Check
A sine of amplitude 1 V sits in 10 mV RMS of noise.
(a)
What is the SNR in dB?
(b)
Averaging 16 synchronized records, what SNR results?
Check
An amplifier chain has three independent noise sources of 3, 4 and 12 µV RMS.
(a)
What is the total noise?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
(b)
What would it be if the third source were removed?
Check
A repetitive signal is buried in 50 µV RMS of noise. You average 64 records.
(a)
What noise remains?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
(b)
By how many dB does the SNR improve?
Check
You need 10 dB more SNR, and averaging is your only tool.
(a)
By what factor must the number of averages grow?
(b)
By what factor does the noise RMS fall?
Check
A sum of 2 resistors, each 10 kΩ with an error uniform within ±1%, independent.
(a)
What is the standard deviation of the total?
Write units the way you normally would: 1.5 Ω, 1500 mΩ and 0.0015 kΩ are the same answer.
(b)
What is the worst-case error?
Check
A simulation of 1000000 bits counts 400 errors.
(a)
What BER does it estimate?
(b)
What is the relative uncertainty of that estimate?
Check
A meter has noise 0.5 mV RMS and an unknown calibration offset of 1 mV.
(a)
Averaging 100 readings, what total RMS error remains?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
(b)
What error remains however many readings you average?
Check
Readings with 2 mV of noise are averaged in groups of 16.
(a)
What noise remains?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
Independent noises of 2 and 3 µV RMS add.
(a)
What is the total?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
Check
A Monte Carlo estimate of a probability near 0.0005 must have 10% relative error.
(a)
How many trials does it need?
Check
A buffer's occupancy has mean 4 packets and standard deviation 1.
(a)
What does Markov's inequality say about the chance it reaches 40?
(b)
What does Chebyshev's inequality say?
Have paper and a calculator ready. Work each problem out by hand, then enter the answer. Your first try on each one counts toward your score.
Practice
Keep practicing
16 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.