Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] Sensor filtering

2005-09-20 by Mark Jordan

On 11 Sep 2005 at 14:15, Larry Barello wrote:

> The weighted average filter is the digital version of a single
> stage RC filter. A weighted average filter looks something like
> this: 
> 
> Output = (prev_output - input)* K1 + input
> 
> Where K1 is equal to e^-(dt/tau).  Dt = the sampling period and Tau is the
> rise time desired (in seconds).  The frequency response is 1/2*PI*tau.
> Or, tau = 1/2*pi*frequency.
> 

	Is there an 'easy to implement' second-order IIR filter formula?

	Thanks.
	Mark Jordan

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.