Skip to main content
6 events
when toggle format what by license comment
Jan 19, 2017 at 21:16 comment added Voltage Spike If you don't need the higher frequencies a moving average filter will work fine, they have similar frequency responses to a low pass filter. gaussianwaves.com/2010/11/moving-average-filter-ma-filter-2
Jan 19, 2017 at 8:05 comment added Marko Gulin I've updated my post to also include a moving average filter implementation. You can find my implementation just before the questions (at the end of the post).
Jan 19, 2017 at 7:57 comment added Voltage Spike By moving average, you mean FIR filters then yes. There are many different realizations of filters. Depending on how you design your filter (you can design filters with more coefficients, the more coefficients you have the better it approximates the filter) This is a good resource There are different structures, each structure has its pro's and cons (some being more computationally expensive, some being less precise on their filtering)
Jan 19, 2017 at 7:56 history edited Voltage Spike CC BY-SA 3.0
added 1161 characters in body
Jan 19, 2017 at 1:14 comment added Marko Gulin I've actually emulated the integer arithmetic implementation in MATLAB by using floating-point arithmetic with rounding. Because of that, I can rule out for possible overflows. I can't increase the size to 64b, as my compiler (for the MCU) doesn't support that. What I wanted to know - can I use the moving average filter, i.e., is this common practice to remove a certain frequency component? Thank you for the provided resource, I'll check it out!
Jan 19, 2017 at 1:03 history answered Voltage Spike CC BY-SA 3.0