Raynus starts with the deceptively simple formula
Y[n] = X[n]*a +
Y[n-1]*b and eventually translates it to the equivalent
= Y[n-1] + (X[n]-Y[n-1])/F which an assembly-language programmer
can make super-fast when F is a power of 2, X is one byte, and Y is 2 bytes
(as Dmitry and Warren's code shows).
(Raynus uses a Freescale processor, but points out that the principles work for just about every kind of microcontroller -- since this page is for PIC-specific filters, is there some other page that would be more appropriate for filters in general?).
pls how can i use a pic 16f876 to receive and store at least 16 voice prints based on isolated word recognition(open,close) to a 24lc04 eeprom ; then receive other voice inputs, compare them with the stored voice prints.On recognition of any of these voice prints, the PIC sends a signal and controls a dc servomotor either in the forward or reverse direction.+
|file: /Techref/microchip/math/filter.htm, 7KB, , updated: 2011/11/15 12:08, local time: 2013/5/24 03:22,
|©2013 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/microchip/math/filter.htm"> PIC Microcontoller DSP Math Methods</A>
|Did you find what you needed?|
PICList 2013 contributors:
o List host: MIT, Site host massmind.org, Top posters @20130524 RussellMc, IVP, Bob Blick, alan.b.pearce, John Gardner, veegee, Sean Breheny, Isaac Marino Bavaresco, Carl Denk, Josh Koffman,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: None at this time. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!