07 - DSP Applications Flashcards
What is an algorithm?
A series of trigonometric and arithmetic operations; a series of steps used in digital processing
Name one class of algorithm
Spectral analysis
Digital filtering
Coding and compressing data
Noise reduction
Describe analog filters and digital filters
Analog - electronic circuits built with resistors, capacitors, and possibly transistors
Digital - algorithms that process the sampled and quantized data values
Name 2 advantages of digital filters
Flexibility
Low Noise
Programmability
What are 3 types of simple digital filters?
Simple gain filter: y(n)=Kx(n)
(Simple scaling algorithm independent of frequency)
Two-term difference filter: y(n)=x(n)-x(n-1)
(Acts as high pass filter because high frequencies have big differences between n and n-1 => preserved; low frequencies = low diff between n and n-1 => attenuated; any time you’re smoothing, it’s acting like a low pass filter)
Three-term average filter: y(n)=(x(n)+x(n-1)+x(n-2))/3
(Acts as low pass filter because high variation => more attenuation. E.g. 0, + 1, 0 = average of 0.33 (lost 66%), whereas lower frequency: 0, 0.5, 1 = average of 0.5 => only lost 50%)
Name 2 filter parameters
Centre frequency and bandwidth
Attenuation/roll-off rate
How many cutoff frequencies does a band pass filter have?
2
The cutoff frequency is defined as where the relative amplitude has dropped by ___ dB
3 dB
What is the formula to find the bandwidth?
Bandwidth = Fu-FL
Upper cutoff frequency - lower cutoff frequency
What does the roll-off rate represent?
The slope/attenuation
Represented at the decrease in dB/octave
What are the four types of filters?
Low pass, high pass, band pass, and band stop (notch is extreme band stop filter)
What is a filter bank?
A bank of filters…..that’s it…
Just kidding! It’s a bank of filters that divide the input signal into separate frequency regions, each of which can be processed independently (e.g different gains or attenuation. Used with treble and bass, or to personalize a hearing aid)
Narrower filters (e.g. 16-band filterbank compared to a 4-band filterbank) allow for _____ (finer/coarser) frequency axis resolution
Finer - can attenuate one small region (channel) while leaving the others intact. This can be used for identifying frequencies where there’s more noise and attenuating them)
-based on finding the appropriate set of coefficients
True or False: In a filterbank, all of the filters must have the same bandwidth
False - can have differing bandwidths
Name 2 uses for a filterbank
- processing (amplifying, compressing, etc) different frequency regions individually
- remove noise by attenuating channels with low signal-to-noise ratio
- use envelopes of each channel in cochlear implant speech processing
- provide smoothed spectrum (1 or 1/3 octave) measures of sound level across frequency in sound level meters