Signal averaging circuit and method for sample averaging
First Claim
1. A method of computing a running average of samples of data over a number of samples, the method comprising steps of:
- receiving and accumulating data samples in a plurality of sample-accumulators while counting the number of samples received in a sample-counter;
alternately selecting an average of the samples accumulated in each of the plurality of sample-accumulators by dividing the sum of the samples accumulated in each of the plurality of sample-accumulators by the number of samples accumulated therein; and
alternately resetting each of the sample-accumulators after a number (N) of samples have been received, whereby a running average is provided over ((M−
1)·
N) samples where M is the number of sample accumulators.
8 Assignments
0 Petitions
Accused Products
Abstract
An averaging circuit and method are provided to compute a running average over a number of samples without the need for maintaining a large sample queue or register. Generally, the method includes the steps of (i) receiving and accumulating data samples in a plurality of sample-accumulators while counting the number of samples received in a sample-counter; (ii) alternately selecting the sum of the samples accumulated in each of the sample-accumulators; (iii) dividing the sum of the samples accumulated in a selected sample-accumulator by the number of samples received to provide an average of the samples accumulated therein; and (iv) interleaving selection of the plurality of sample-accumulators and alternating reset of each to provide a running average over a number of samples.
-
Citations
20 Claims
-
1. A method of computing a running average of samples of data over a number of samples, the method comprising steps of:
-
receiving and accumulating data samples in a plurality of sample-accumulators while counting the number of samples received in a sample-counter;
alternately selecting an average of the samples accumulated in each of the plurality of sample-accumulators by dividing the sum of the samples accumulated in each of the plurality of sample-accumulators by the number of samples accumulated therein; and
alternately resetting each of the sample-accumulators after a number (N) of samples have been received, whereby a running average is provided over ((M−
1)·
N) samples where M is the number of sample accumulators. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A signal averaging circuit for computing a running average over a number of samples of data, the circuit comprising:
-
a plurality of sample-accumulators to receive and accumulate samples;
a sample-counter to count the number of samples received up to a predetermined number (N);
a selection circuit to alternately select a sum of the samples accumulated in each of the plurality of sample-accumulators;
a divider to divide the sum of the samples accumulated in the selected sample-accumulator by the sum of ((M−
1)·
N) and the number of samples received after the last sample counter reset to provide from the selected sample-accumulator an average of the samples accumulated therein; and
a reset circuit to alternately reset each of the sample-accumulators after N samples have been received, whereby, a running average is provided over ((M−
1)·
N) samples where M is number of sample accumulators. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A signal averaging circuit for computing a running average over a number of samples of data, the circuit comprising:
-
a plurality of sample-accumulating means for receiving and accumulating digital samples of a signal;
counting means for counting the number of samples received in the plurality of sample-accumulating means;
selection means for alternately selecting from an output of each of the plurality of accumulating means a sum of the samples accumulated therein;
dividing means for dividing the sum of the samples accumulated in the selected sample-accumulating means by the number of samples received in the selected sample-accumulating means to provide average of the samples accumulated therein; and
reset means for alternately resetting the plurality of sample-accumulating means at regular intervals offset with respect to each other by N samples, whereby, a running average is provided. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification