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: 2015/6/16 17:54, local time: 2018/10/23 04:02,
|©2018 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?key=pll"> PIC Microcontoller DSP Math Methods</A>
|Did you find what you needed? "pll"|
PICList 2018 contributors:
o List host: MIT, Site host massmind.org, Top posters @20181023 RussellMc, Van Horn, David, Sean Breheny, David C Brown, Isaac M. Bavaresco, Neil, Bob Blick, John Gardner, Harold Hallikainen, AB Pearce - UKRI STFC,
* 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: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!