Re: Basic info needed regarding filters (FIR)



On Fri, 23 Nov 2007 12:43:10 -0600, Vladimir Vassilevsky
<antispam_bogus@xxxxxxxxxxx> wrote:



Here is the basic realpole filter which is simpler and appears to have
almost identical response:

const u8 order = 4;

s32 LPF(s32 x)
{
static s32 z[order];

for(u8 i = 0; i < order; i++) x = z[i]+= (x - z[i])>>6;

return x;
}

Making digital filter as the simulation of an analog filter is rarely a
good idea.


I've sold over 3000 of the temperature controllers that use this
filter. So why is it not a good idea? Why so dogmatic?

More important, my filter has comments and yours doesn't.


John


.



Relevant Pages

  • Re: Basic info needed regarding filters (FIR)
    ... static s32 z; ... Making digital filter as the simulation of an analog filter is rarely a ... advanced digital filter topologies... ... run thousands of interrupts per second, and have guaranteed response ...
    (sci.electronics.design)
  • Re: Basic info needed regarding filters (FIR)
    ... almost identical response: ... static s32 z; ... Making digital filter as the simulation of an analog filter is rarely a ... advanced digital filter topologies... ...
    (sci.electronics.design)
  • Re: Basic info needed regarding filters (FIR)
    ... Here is the basic realpole filter which is simpler and appears to have ... almost identical response: ... static s32 z; ... make those meals taste any better or worse:) ...
    (sci.electronics.design)
  • Re: Basic info needed regarding filters (FIR)
    ... Here is the basic realpole filter which is simpler and appears to have ... static s32 z; ... make those meals taste any better or worse:) ... advanced digital filter topologies... ...
    (sci.electronics.design)
  • Re: Simple custom filter crash (AddRef()) on Windows Mobile 5.0
    ... I am using "regsvrce.exe" to register the filter. ... const AMOVIESETUP_MEDIATYPE sudPinTypes = ... CBaseRenderer, pUnk, phr) ...
    (microsoft.public.windowsce.app.development)