A filter is an algorithm or a function block.
They are classified as follows:
Based on construction
- Active Filters
- Passive Filters
If the filter contains an active component like a transistor, then it is an active filter.
Based on Frequency Response
This is for filters where you input a range of data, and you get a specific subset as the output, filtering out some other elements.
The four basic frequency response filters are:
- Low Pass Filter
- High Pass Filter
- Lead-Lag Filter
- Notch Filter
These four can be used to create other filters such as band-pass and band-reject filters.