junk the top and bottom four readings
Hi Bill,
Melanie’s great idea:

Originally Posted by
Melanie
take say 16 ADC readings, sort them in sequential order of value, junk the top and bottom four readings as being 'out-of-range', sum and average the middle eight... this makes ADC readings in industrial applications pretty much bomb-proof...
http://www.picbasic.co.uk/forum/showthread.php?p=41702
It would be interesting to see a “real world” working example of this technique written for a PIC’s 10 bit ADC.
-Adam-
Ohm it's not just a good idea... it's the LAW !
Bookmarks