Flashcards in Lecture Three Deck (25)
What is the function of a filter"?
To remove unwanted frequency components from a signal and hence improve the signal to noise ratio
What are the types of filters?
Hardware (analogue) filters (analogue signal)
Digital Filters (digital signal)
What is the best domain representation of filtering?
Signal and noise can be well discriminated in this domain
What is the amplitude response of the ideal filter?
The amplitude response of the ideal filter is a rectangular function (bandpass) to seperate signal from noise.
An ideal filter will produce no phase shift.
How can the filter be mathematically represented?
The frequency domain representation of the filtered signal is the product of the fourier transform of the input signal X(f) and the filter response H(f)
i.e multiple desired frequency by one and noise by zero
How is a filter on the frequency domain described?
Pass band (signal desired)
Stopband (noise removal)
What are the other types of filters and their characteristics?
Low pass filter (stopband high Hz)
High pass filter (passband high Hz)
Band Pass filter (keep a band of Hz)
Band Stop (notch) Filter (remove a notch of noise)
What are the characteristics of the ideal filter?
- Gain is frequency independent in the pass band and 0 in the stop band (i.e multiple by one and zero)
- Produce no phase shift, this may not always be possibly but a linear phase shift in the passband represents a simple delay. i.e the same delay at all frequencies. (radians in shift)
- Doesnt alter quality of signal
What happens in reality with digital filters?
The filter is unlikely to remove all frequencies outside of the passband. Instead the response is likely to roll off at the cut off frequency.
How do we generate the time domain properties of a filter?
Use fourier transform properties
Describe the relation of the time and frequency domain using notation;
We stated that
Y(f) = X(f) x H(f) Hz response
i.e multiple the Hz domain to remove noise
y(t) = x (t) . h(t) Impulse response
i.e convolution with the impulse response to remove noise
y(t) = filtered signal
x(t) = unfiltered signal
h(t) = filter
. = process of convolution
The impulse response h(t) for a filter H(f) specified in the Hz domain is simply the inverse fourier transformation
What is convolution?
The filter data set is formed by convolving the the raw data with the filter weights.
These filter weights are sampled representations of h(t) the impulse response of the filter.
i.e three points moving average
y(i) = 0.25x(i-1) + 0.5x(i) + 0.25x(i+1)
i.e it moves along the line of data multiplying it by x amount of numbers either side to average it. Removes noise between samples
DONT NEED TO REPRODUCE EQUATION
Redescribe convolution in terms fo y values
Each value of Y is evaluated as the weighted average of the corresponding input data according to filter weights h(k)
h(k) = 1 for low pass and 0 for high pass
Whats another name for a filter that involves convolution?
It is because NON-RECURSIVE filters are implemented using finite set of filter weights that they are also called finite impulse response (FIR) filters
How do we analyse the performance of filters in the time domain?
We need to obtain the Hz response we fourier transform its impulse response
What is a three point moving average filter useful for?
Mainly low frequencies because it attenuates the signal therefore high Hz noise will increase their y values.
Stretching the impulse response (covolution) will contract its Hz domain representation. May be some leakage at high Hz with this filter.
When is the attenuation of convolution sharped up?
If there are a large number of input data points
Because of the principles of convolution what does this mean for frequency representation following filtering?
Inverse fourier transformation can determine the impulse response
Describe the characteristics of a rectangular or brick wall filter (low pass) on the time domain;
The impulse response of this filter has an infinite extent in the time domain . The filter weights do not drop evenly to zero, but exhibit widespread ripple.
Hence to approximate this perfect filter response , it is necessary to convolve the impulse response with a considerable number of input data points.
What is a compromise to the brick wall filter?
The blackman filter
Describe the blackman filter
Compromise in which the attenuation characteristics are acceptable but time domain implementation of the filter is considerably more efficient than for the brick wall filter.
- Sinusoid taper applied to the cut off Hz in Hz domain
- The corresponding impulse response resembles a gussian function which drops smoothly to zero in the time domain NO RIPPLE
Benefits of the gussian impulse response in the blackman filter?
Can be implemented with far fewer convolutions operations than the black wall filter
As for the triangle moving average filter, Fc (cut off) is adjusted by time scaling the impulse response
Fewer terms in the impulse response will give a higher cut off Hz and vice versa.
Look at notes on impulse and frequency response characteristics. Should be able to draw and explain
What does a 3 point moving average require?
Large seperation between signal and noise
What does an n point moving average have over 3 point?
Sharpens signal if noise and signal are closer together