D5 Digital signal processing · Practice
Every topic, mixed
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.
Topics: all 13
Check
A 9 kHz tone is sampled at 8 kHz without filtering. At what frequency does it appear?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
What's the best signal-to-quantization-noise ratio a 12-bit converter can reach with a full-scale sine?
Check
An 8-bit ADC spans 3.3 V. How big is one step?
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 that 8-bit, 3.3 V converter?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
Check
A 12-bit ADC spans 0 to 1 V.
(a)
What is its step?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
(b)
What is its best SQNR for a full-scale sine?
Check
A 5 kHz tone is sampled at 44.1 kHz.
(a)
At what frequency does it appear?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
(b)
Is it below the Nyquist frequency (1 for yes)?
Check
Alias of a 5.2 kHz tone sampled at 4 kHz?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
SQNR of 10 bits?
Check
A 256-point DFT is taken of samples at 44.1 kHz. How far apart are its bins?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
In a 512-point DFT of samples at 8 kHz, what frequency does bin 200 stand for?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
How many times fewer multiplications does a radix-2 FFT of points need than a direct DFT?
Check
How many butterflies does a radix-2 FFT of points compute in all?
Check
A transform has 1024 points.
(a)
How many times fewer complex multiplies does the FFT () need than the direct DFT ()?
(b)
How many stages does a radix-2 FFT have?
Check
1000 samples at 10 kHz are zero-padded to 16384 points.
(a)
What is the bin spacing?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
(b)
What frequency resolution does the record really have?
Check
Bin spacing: 64 points at 1 kHz?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
FFT speedup for points?
Check
A tone falls 0.25 of a bin from the nearest DFT bin, with a rectangular window. By how much does that bin underread?
Check
The same tone, 0.25 of a bin off, is measured through a Hann window. By how much does its nearest bin underread?
Check
With a rectangular window, how far below a tone's peak is its leakage 5 + 0.3 bins away?
Check
A 512-point FFT at 48 kHz uses a window with a noise bandwidth of 3.77 bins. What's each bin's noise bandwidth in hertz?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
A tone sits 0.4 bin from a bin's center.
(a)
How much lower does it read with a rectangular window?
(b)
And with a Hann window?
Check
A 1024-point FFT at 8 kHz uses a window whose noise bandwidth is 1.5 bins.
(a)
What is each bin's noise bandwidth in hertz?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
(b)
What processing gain does the FFT give a tone over white noise (against the full band up to )?
Check
Rectangular scalloping loss at δ = 0.2?
Check
Noise bandwidth: 128 points, 1 kHz, 1.73 bins?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
A 4-point moving average runs at 8 kHz. Where is its first null?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
A symmetric 65-tap FIR filter runs at 8 kHz. How long does it delay the signal?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
About how many taps does a windowed FIR filter at 48 kHz need for 60 dB of attenuation with a 0.5 kHz transition band?
Check
How many million multiply-accumulates per second does a 101-tap FIR filter at 8 kHz need?
Check
A Kaiser-window FIR at 8 kHz needs 60 dB of attenuation and a 2 kHz transition; Kaiser's estimate is .
(a)
About how many taps?
(b)
What delay does it add?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
An 8-point moving average runs at 2 kHz.
(a)
What is its gain at 50 Hz?
(b)
Where is its first null?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
First null of a 2-point average at 0.1 kHz?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
Delay of a symmetric 11-tap filter at 1 kHz?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A one-pole smoother with a = 0.9 runs at 1 kHz. What's its time constant?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
What coefficient a gives a one-pole smoother a time constant of 5 samples?
Check
Where is the −3 dB point of a one-pole smoother with a = 0.9 at 1 kHz?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
A digital filter at 32 kHz needs a critical frequency of 6 kHz. At what frequency should its analog prototype be designed for the bilinear transform?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
A one-pole smoother at 1 kHz should have a 10 ms time constant.
(a)
What pole a?
(b)
What input weight ?
Check
A bilinear-transform low-pass at 8 kHz needs a digital corner at 1 kHz.
(a)
Where should the analog prototype's corner be (prewarped)?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
(b)
How far above the target is that, in percent?
Check
a for τ = 5 samples?
Check
Prewarped frequency for 0.1 kHz at 32 kHz?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
A notch must remove 60 Hz from a signal sampled at 1 kHz. At what angle go its zeros?
Check
A pole pair at radius 0.95 makes a peak in a filter sampled at 1 kHz. About how wide is it at −3 dB?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
A pole pair sits at radius 0.95 and angle ±20°. What's the coefficient in ?
Check
What pole radius gives a notch about 2 Hz wide at a sampling rate of 0.5 kHz?
Check
A notch at 50 Hz runs at 1 kHz with pole radius 0.99.
(a)
At what angle do its zeros sit on the unit circle?
(b)
About how wide is the notch?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
The two-tap average has ; consider a tone at 0.125 times the sample rate.
(a)
What is its gain there?
(b)
What attenuation is that in dB?
Check
Angle for 10 Hz at 8 kHz?
Check
for poles at 0.5∠±10°?
Check
Blocks of 1000 samples are convolved with a 64-tap filter by FFT. What's the shortest transform that avoids wraparound?
Check
A -tap filter runs by overlap-add with FFTs twice that long. About how many complex multiplications does each output cost?
Check
An overlap-add convolver collects 1025-sample blocks at 44.1 kHz. What's its minimum latency?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A DFT filter bank splits a 1000 kHz signal into 16 channels. How far apart are the channels?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
An overlap-add filter has 500 taps and uses 2048-point FFTs.
(a)
How many new outputs does each block give?
(b)
How many times less work than direct convolution is it, counting 4 real multiplies per complex one?
Check
Overlap-add processes 256-sample blocks at 16 kHz.
(a)
What latency does collecting a block add?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
(b)
How many blocks a second?
Check
Shortest FFT for 10-sample blocks and 2 taps?
Check
Latency of 16-sample blocks at 8 kHz?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
How far apart are the bins of a 25 ms analysis window (without zero padding)?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
Two tones are 20 Hz apart. What's the shortest Hann window that shows them as separate peaks?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
How many samples does a 25 ms frame hold at 8 kHz?
Check
A spectrogram hops 10 ms between frames. How many frames does it compute per second?
Check
A spectrogram uses 25 ms frames every 10 ms at 8 kHz.
(a)
How many samples per frame?
(b)
How far apart are its bins?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
A chirp sweeps at 100 kHz per second.
(a)
What window length keeps its trace sharpest?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
(b)
How wide are the bins then?
Check
Shortest Hann window for tones 5 Hz apart?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
Bin spacing of a 10 ms window?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
A 96 kHz signal is decimated by 2. Above what frequency must it be filtered out first?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
A 3 kHz tone sampled at 16 kHz is interpolated by 2 with zeros inserted. At what frequency is its first image?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
A 48 kHz signal is interpolated by 160 and decimated by 4. What's the new rate?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
A 1000-tap polyphase decimator runs at 48 kHz input with M = 16. How many million multiplications per second does it need?
Check
A 20 MHz signal is decimated by 16.
(a)
What is the new rate?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
(b)
What bandwidth can survive without aliasing?
Check
A 500-tap decimation filter at 96 kHz decimates by 4.
(a)
How many million multiplies a second does it take, computed directly at the input rate?
(b)
And in polyphase form, in millions a second?
Check
Filter limit before decimating 1 kHz by 3?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
New rate: 8 kHz, up by 1, down by 5?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
An echo canceller at 8 kHz must cover echoes up to 64 ms. How many taps does it need?
Check
A single-weight LMS filter has input power 0.5. What's the largest step size μ that still converges?
Check
A single-weight LMS has μP = 0.1. What's its convergence time constant in steps?
Check
A 512-tap NLMS filter at 16 kHz uses = 0.25. About how long does it take to converge on white input?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
An echo canceller at 8 kHz must cover 64 ms of echo tail.
(a)
How many taps does it need?
(b)
What does LMS cost, in millions of multiply-adds a second, at two per tap per sample?
Check
A single-weight LMS has input power 0.25 and step μ with μP = 0.05.
(a)
What is the largest stable step?
(b)
What is its time constant (the error shrinks by per step)?
Check
Taps for 1 ms at 8 kHz?
Check
NLMS misadjustment at = 0.25?
Check
A synthesizer must make 2437 MHz from a 2 MHz reference. What divider N does it need?
Check
A second-order PLL has = 100 Hz and ζ = 0.5. What's its noise bandwidth?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
A PLL with ζ = 0.707 and = 50 Hz sees the input frequency jump by 50 Hz. What's its peak phase error?
Check
A synthesizer divides by 100 and locks to a 1 MHz reference. What frequency does it make?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
A PLL has natural frequency 100 Hz and damping 0.5.
(a)
About how long does it take to lock after a step?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
(b)
What is its noise bandwidth, ?
Check
A PLL with natural frequency 10 Hz and ζ = 0.707 sees a 100 Hz frequency step.
(a)
What is , which sets the scale of the phase error?
Write units the way you normally would: 1.5 rad and 1500 mrad are the same answer.
(b)
At ζ = 0.707 the peak error is about . What is it?
Check
Noise bandwidth: = 1 Hz, ζ = 0.4?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
Divider for 100 MHz from 0.01 MHz?
Check
What's the resolution of a fixed-point format with 12 fractional bits?
Check
What integer stores 0.3 in Q15?
Check
How many guard bits does an accumulator need to add 100 full-scale products without overflow?
Check
A 200 MHz processor handles an 8 kHz sample stream. How many cycles does it have per sample?
Check
A 64-tap Q15 FIR accumulates products in a wider register.
(a)
How many guard bits keep the worst-case sum from overflowing?
(b)
How wide must the accumulator be (Q30 products plus guard bits plus sign)?
Check
−0.5 and −0.75 are multiplied in Q15.
(a)
What integer stores −0.5?
(b)
What Q15 integer does the product give after shifting right 15 (rounding down)?
Check
Q15 integer for 0.125?
Check
Cycles per sample: 10 MHz, 1 kHz?
Check
A notch with poles at radius 0.995 runs at 8 kHz. About how wide is it at −3 dB?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
White noise fills 0 to half of 16 kHz. A low-pass at 1 kHz removes everything above it. By how much does the noise power fall?
Check
A 201-tap linear-phase filter runs at 16 kHz. How much must the output be advanced to line up with the input?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A signal of power 0.045 carries noise of power 0.001. What's the SNR?
Check
Music at 0 dBFS carries hum at −20 dBFS and hiss at −40 dBFS. A notch removes 40 dB of the hum.
(a)
What is the SNR before?
(b)
And after?
Check
A notch with pole radius 0.995 runs at 8 kHz.
(a)
How wide is it?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
(b)
What is its transient's time constant?
Check
Notch width: r = 0.9, 1 kHz?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
Noise reduction: low-pass at 0.2 kHz, 8 kHz sampling?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to D5