摘要 |
A sensing method and system for generating an output signal indicative of an estimated mean value of an input signal is provided. A sensor samples the input signal for N (N=2, 4, 8, 16, . . . ) input signal samples and determines a current twice mean value of the N input signal samples. The current twice mean value is equal to one-half of the summation of two terms, the first being twice the mean value of the first N/2 input signal samples (called the previous twice mean value) and the second being twice the mean value of the last N/2 input signal samples. The sensor then compares the current twice mean value to a previous twice mean value. The sensor then stores the current twice mean value as the previous twice mean value, increments N by a power of two, samples the input signal sample for the next N/2 input signal samples, determines the current twice mean value of the incremented N input signal samples, and compares the current twice mean value to the previous twice mean value until the current twice mean value is within a predetermined tolerance of the previous twice mean value a consecutive number of times. The sensor then generates an output signal indicative of an estimate of the mean value of the input signal. The estimated mean value is one-half of the current twice mean value.
|