C9 Signals and systems · Practice
Quantization and dither
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
Check
An 8-bit converter spans 3.3 V. What's its step size?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
What's the RMS quantization noise of an 8-bit converter spanning 3.3 V?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
Check
An ideal 12-bit converter digitizes a sine whose amplitude is 0.5 of full scale. What's its SQNR in dB?
Check
A converter measures a SINAD of 62 dB. What's its effective number of bits?
Check
A converter oversamples by 16 and filters back to the signal band. Without noise shaping, how many bits of resolution does it gain?
Check
Quantize a sine with and without dither. With step 1 (so values are in steps), take x = A*sin(2*pi*7*n/1024) for n = 0..1023 with A = 0.7. Without dither, q0 = round(x). With triangular dither, q1 = round(x + d) with d = u1 + u2 - 1 and u1, u2 from numpy.random.default_rng(seed).random((2, 1024)). Using an FFT, set h3_0 and h3_1: the magnitudes of bin 21 (the third harmonic) divided by bin 7 for each, and fund_1, bin 7's magnitude for the dithered version divided by bin 7 of x itself.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
What's the ideal SQNR of a 14-bit converter for a full-scale sine?
Check
What's the RMS quantization noise of a 10-bit converter spanning 1 V?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in C9