U3 P3 Filtering April23
U3 P3 Filtering April23
U3 P3 Filtering April23
Sangolqui - Ecuador
Signal and Systems
Filtering
References
• Oppenheim, A. Willsky, and H. Nawab, Signals and Systems, 2ª edición, 1997, Prentice Hall, ISBN # 0-13-
814757-4.
• Hwei P. Hsu, “Signals and Systems”, 2nd Edition, McGrawHill Schaum Outlines, ISBN: 978-0-07-163473-1, 2011.
• Chaparro Luis, “Signal and Systems using Matlab”, Elsevier, Oxford UK, ISBN 978-0-12-374716-7 , 2011
• https://www.ti.com/lit/an/snoa224a/snoa224a.pdf, march 03, 2021
Filtering.
- In circuit theory, a filter is an electrical network that alters the amplitude and/or
phase characteristics of a signal with respect to frequency.
- Ideally, a filter will not add new frequencies to the input signal, nor will it
change the component frequencies of that signal.
- Filters are intender to change the relative amplitudes of the various frequency
components and/or their phase relationships.
- Filters are often used in electronic systems to emphasize signals in certain
frequency ranges and reject signals in other frequency ranges.
Filtering
• This is a 2nd order system. The order of a filter is the highest power of the variable s in its transfer
function.
• The order of a filter is usually equal to the total number of capacitors and inductors in the circuit. (A
capacitor built by combining two or more individual capacitors is still one capacitor.)
• Higher-order filters will obviously be more expensive to build, since they use more components, and they
will also be more complicated to design. However, higher-order filters can more effectively discriminate
between signals at different frequencies.
Filtering
Another quantity used to describe the performance of a filter is the filter's “Q”. This is a measure of the
“sharpness” of the amplitude response. The Q of a band-pass filter is the ratio of the center frequency to the
difference between the −3 dB frequencies (also known as the −3 dB bandwidth). Therefore:
Filtering: Classification of Filters
Switched-capacitor
Filtering: Classification of Filters
Filtering: Classification of Filters
Filtering: Classification of Filters
Filtering: Classification of Filters
Filtering: Classification of Filters
https://www.softpedia.com/get/Science-CAD/FilterPro-Desktop.shtml
https://filterpro.software.informer.com/download/#downloading
deactivated
40 dB/decade
Filtering: Classification of Filters
• All-Pass or Phase-Shift Filter: has no effect on the amplitude of the signal at different frequencies.
Instead, its function is to change the phase of the signal without affecting its amplitude.
• Are typically used to introduce phase shifts into signals in order to cancel or partially cancel any
unwanted phase shifts previously imposed upon the signals by other circuitry or transmission media.
Filtering: Classification of Filters
• The differences between different filter responses within one filter type
(e.g., low-pass) can include, among others, characteristic frequencies, filter
order, roll-off slope, and flatness of the passband and stopband regions.
• The transfer function ultimately chosen for a given application will often be
the result of a tradeoff between the above characteristics.
• Passband Ripple. Some not monotonic filters (pass-band and stop-band filters) have
responses with “ripple” within the passband. Some systems don't necessarily require
monotonicity but do require that the passband ripple be limited to some maximum
value (usually 1 dB or less).
• Stopband Ripple. Some filter responses also have ripple in the stopbands. We are
normally unconcerned about the amount of ripple in the stopband, as long as the
signal to be rejected is sufficiently attenuated.
Filter responses
Linear
Butterworth Chevyshev Bessel Gaussian
Phase
Filtering: Filter responses
Filter responses
Linear
Butterworth Chevyshev Bessel Eliptic Gaussian
Phase
Filtering: Filter responses
Filtering: Passive filters
Filters made up of passive components: resistors, capacitors, and inductors, so they are
referred to as passive filters. A passive filter is simply a filter that uses no amplifying
elements (transistors, operational amplifiers, etc.).
ADVANTAGES
✓ It is the simplest (in terms of the number of necessary components) implementation of
a given transfer function.
✓ Require no power supplies.
✓ Work well at very high frequencies.
✓ Can be used in applications involving larger current or voltage levels than can be
handled by active devices.
✓ Generate little noise (thermal noise from the resistive components ) when compared
with circuits using active gain elements. With careful design, the amplitude of this noise
can be very low.
Filtering: Passive filters
DISADVANTAGES
▪ Input impedances can be lower and output impedances can be higher, so buffer
amplifiers may be needed.
▪ Inductors are necessary for the synthesis of most passive filter characteristics, and
these can be prohibitively expensive if high accuracy, small physical size, or
large value are required.
▪ Complex passive filters (higher than 2nd-order) can be difficult and time-consuming
to design.
Filtering: Active filters
Active filters use amplifying elements, especially op amps, with resistors and capacitors in
their feedback loops, to synthesize the desired filter characteristics.
ADVANTAGES
✓ They have high input impedance, low output impedance, and virtually any arbitrary
gain
✓ They are also usually easier to design than passive filters.
✓ Possibly their most important attribute is that they lack inductors, thereby reducing the
problems associated with those components
Filtering: Active filters
Active filters use amplifying elements, especially op amps, with resistors and capacitors in
their feedback loops, to synthesize the desired filter characteristics.
DISADVANTAGES
▪ Active filters will generate noise due to the amplifying circuitry, but this can be minimized
by the use of low-noise amplifiers and careful circuit design
Filtering: Which approach is the best?
Each filter technology offers a unique set of advantages and disadvantages:
- Cost: A passive RC network may be an ideal solution for a single pole. Active filters are
a good choice when speed and accuracy are not important concerns.
- Noise: Passive filters generate very little noise (the thermal noise of the resistors), and
conventional active filters generally have lower noise than switched-capacitor IC’s.
- Offset Voltage: Passive filters have no inherent offset voltage.
- Frequency Range: Operation at very low frequencies in passive/active filters will
require large/expensive reactive components.
▪ Tunability: It is difficult to vary the center frequency without changing the values of
several components in active/passive filters.
▪ Circuit Board Area: The lack of inductors made the active filters a good choice.
Filtering: Analysis and Design
Filtering: Fly your mind!
https://www.cartagena99.com/recursos/alumnos/apuntes/Teoria_Tema_3a.pdf
Filtering: Fly your mind!
For complex designs, use SAPWIN: to find the transfer function
Orden: n=6
Filtering: Fly your mind!
Half – power cut-off frequencies
Simulate in LTSPICE for detailed analysis
From Analysis
1) Transfer function?
2) Filter order: n=?
3) Step roll-off =?
From simulation:
4) Half-power cut-off frequencie/s
5) Bandwidth (Hz)= ?
6) Central frequency (Hz) = ?
7) Quality factor = ?
https://www.cartagena99.com/recursos/alumnos/apuntes/Teoria_Tema_3a.pdf
Filtering: Design.
Filtering: Design: Low-pass / High-pass filter
https://www.electronics-tutorials.ws/filter
Filtering: Design: Low-pass / High-pass filter (n=2)
- As the order increases, the gain and accuracy of the final filter declines.
https://www.electronics-tutorials.ws/filter
Filtering: Design: Band-pass filter (n=2)
https://www.electronics-tutorials.ws/filter
Filtering: Design: Band-pass filter
https://ctools.ece.utah.edu/Filters/RLCFilters/FilterRLCGallery.pdf
Filtering: Design: Notch- filter
https://www.youtube.com/watch?v=hzGb6FVRU8E