Noise filtering utilizing running average
First Claim
1. In an appliance having a sensing element electrically coupled to a microprocessor by a transmission line wherein said sensing element produces a series of values each indicative of a sensor measurement, said values being transmitted over said transmission line as a time varying electrical signal, a method for producing an output value averaged to reduce the effects of electrical noise, said method comprising the steps of:
- (a) providing a running average circular buffer including a fixed number of memory storage locations, said buffer including a pointer for indicating a memory location into which a sensor measurement indicative value is to be stored, said buffer being electrically coupled to said transmission line;
(b) receiving a signal indicative of said sensor measurement indicative value;
(c) storing said received value in said buffer at said memory location wherein said memory location had previously stored an oldest sensor measurement indicative value, said oldest sensor measurement indicative value being thereby deleted;
(d) incrementing said buffer pointer to a next memory location of said buffer for first-in, first-out storage of-measurement values in said fixed number of memory storage locations;
(e) calculating the average of all values stored in said buffer to produce an average output value; and
(f) repeating steps (b)-(e) for each value received from said sensor.
4 Assignments
0 Petitions
Accused Products
Abstract
A system and method for reducing the amount of electrical noise in a signal produced by a temperature sensor for an appliance which utilizes a running average calculation to provide a more accurate sensor reading in an inexpensive and efficient manner. Consecutive readings obtained by the sensor are digitized and stored in a circular buffer. A running average of the readings stored in the buffer is made upon each new reading and the concurrent erasure of the oldest reading.
-
Citations
10 Claims
-
1. In an appliance having a sensing element electrically coupled to a microprocessor by a transmission line wherein said sensing element produces a series of values each indicative of a sensor measurement, said values being transmitted over said transmission line as a time varying electrical signal, a method for producing an output value averaged to reduce the effects of electrical noise, said method comprising the steps of:
-
(a) providing a running average circular buffer including a fixed number of memory storage locations, said buffer including a pointer for indicating a memory location into which a sensor measurement indicative value is to be stored, said buffer being electrically coupled to said transmission line; (b) receiving a signal indicative of said sensor measurement indicative value; (c) storing said received value in said buffer at said memory location wherein said memory location had previously stored an oldest sensor measurement indicative value, said oldest sensor measurement indicative value being thereby deleted; (d) incrementing said buffer pointer to a next memory location of said buffer for first-in, first-out storage of-measurement values in said fixed number of memory storage locations; (e) calculating the average of all values stored in said buffer to produce an average output value; and (f) repeating steps (b)-(e) for each value received from said sensor. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. In a clothes dryer having a thermistor adapted to produce a series of voltage values each indicative of the instantaneous temperature of the exhaust air of said dryer, said thermistor being electrically coupled to a microprocessor by a transmission line and adapted to send said voltage values as an analog electrical signal to said microprocessor over said transmission line, a method of producing a series of output values accumulated during a single cycle of dryer operation and averaged to reduce the effects of electrical noise induced in said transmission line, said method comprising the steps of:
-
(a) producing a running average circular buffer in said microprocessor, said buffer including a fixed number of memory storage locations arranged from first to last and a pointer for indicating the next said memory location into which a value is to be stored; (b) receiving a temperature indicating voltage value; (c) converting said voltage value to a digital value; (d) storing a first digital value in said buffer, said value being stored in the memory location thereof indicated by said pointer; (e) incrementing said buffer pointer to the next memory location of said buffer, said next memory location being the first memory location when the pointer is at the last memory location for first-in, first-out storage of digital values in the buffer; (f) storing a second digital value in the buffer in the buffer at a memory location having an oldest stored digital value stored therein, whereby the oldest stored digital value is deleted; (g) calculating a running average of all digital values stored in said buffer to produce a running averaged output value; and (h) repeating steps (b)-(g) for each received voltage value. - View Dependent Claims (9, 10)
-
Specification