File Exchange

image thumbnail

Real time tunable filters

version 1.3.0.0 (130 KB) by Gert Kruger
A library of first and second order filters whose parameters can be tuned in real-time.

8 Downloads

Updated 26 Oct 2017

View License

The transfer function of different filters has been drawn as a signal flow diagram, thereby exposing the center frequency and Q of the filter coefficients. These parameters can now be easily tuned on a real-time system, e.g. on a dSPACE platform, without having to recompile the model in order to change the filter parameters. Advantages of this filter are:
- it can handle a vectorized input, i.e. muxed signals;
- A reset signal can easily be added to the integrators.

Cite As

Gert Kruger (2020). Real time tunable filters (https://www.mathworks.com/matlabcentral/fileexchange/58498-real-time-tunable-filters), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

瑞祥 王

Thanks for your sharing.

Updates

1.3.0.0

Reordered some of the gains and integrators so that filters experiences less transient response upon changing a filter parameter. The first order filters now have bump-less transfer, i.e. zero transient response upon changing a filter parameter.

1.2.0.0

Added digital filter implementations.

1.1.0.0

Added 2nd order low- and high-pass filters.

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: PV array with algebraic loop broken