Counting device and counting method
AssigneeYamatake Corporation
InventorTatsuya Ueno
Life of this patent
Estimating the term…
Abstract
A counter counts the run lengths of a binarized signal. A counting result correcting portion generates frequency distributions for run lengths for first run lengths, which are from a rising edge to a falling edge of the signal, and second run lengths, which are for a falling edge to a rising edge of the signal, calculates a total number of first run lengths of lengths that are no less than 0 times and less than 1 times a representative value for the first run lengths, calculates a total number of second run lengths of lengths that are no less than 0 times and less than 1 times a representative value for the second run lengths, calculates a total number of first run lengths, calculates a total number of second run lengths, and corrects the counting results.
Claims8
A counting device counting signals wherein there is a linear relationship between a specific physical quantity and the number of signals and wherein the signal has essentially a single frequency when the specific physical quantity is constant, comprising:
- a binarizing device binarizing an inputted signal;
- a signal counter counting a number of run lengths of the binarized signal outputted from the binarizing device during a prescribed counting interval;
- a run length measuring device measuring the run lengths of a binarized signal during the counting interval each time a run length worth of a signal is inputted;
- a frequency distribution generator generating a frequency distribution for the run lengths of the binarized signals during the counting interval, from the measurement results by the run length measuring device, for first run lengths, which are from a rising edge until the subsequent falling edge of the binarized signal, and second run lengths, which are from a falling edge to the subsequent rising edge of the binarized signal;
- a representative value calculator calculating a representative value TH for the distribution of the first run lengths from the first run length frequency distribution and calculating a representative value TL for the distribution of the second run lengths from the second run length frequency distribution;
- and
- a corrected value calculator calculating a total NsH number of first run lengths wherein the length is no less than 0 times and less than 1 times the representative value TH, a total NsL number of second run lengths wherein the length is no less than 0 times and less than 1 times the representative value TL, a total NwnH number of first run lengths wherein the lengths are no less than {TH+n−0.5)×(TH+TL)} and less than {TH+n+0.5)×(TH+TL)}, and a total NwnL number of second run lengths wherein the lengths are no less than {TL+n−0.5)×(TH+TL)} and less than {TL+n+0.5)×(TH+TL)}, and calculating a number of inputted signals by correcting the counting results by the signal counting means based on these frequencies NsH, NsL, and NwnH, and NwnL.
A counting method counting signals wherein there is a linear relationship between a specific physical quantity and the number of signals and wherein the signal has essentially a single frequency when the specific physical quantity is constant, comprising the steps of:
- a binarizing step binarizing an inputted signal;
- a signal counting step counting a number of run lengths of the binarized signal outputted from the binarizing step during a prescribed counting interval;
- a run length measuring step measuring the run lengths of a binarized signal during the counting interval each time a run length worth of a signal is inputted;
- a frequency distribution generating step generating a frequency distribution for the run lengths of the binarized signals during the counting interval, from the measurement results by the run length measuring step, for first run lengths, which are from a rising edge until the subsequent falling edge of the binarized signal, and second run lengths, which are from a falling edge to the subsequent rising edge of the binarized signal;
- a representative value calculating step calculating a representative value TH for the distribution of the first run lengths from the first run length frequency distribution and for calculating a representative value TL for the distribution of the second run lengths from the second run length frequency distribution;
- and
- a corrected value calculating step calculating a total NsH number of first run lengths wherein the length is no less than 0 times and less than 1 times the representative value TH, a total NsL number of second run lengths wherein the length is no less than 0 times and less than 1 times the representative value TL, a total NwnH number of first run lengths wherein the lengths are no less than {TH+n−0.5)×(TH+TL)} and less than {TH+n+0.5)×(TH+TL)}, and a total NwnL number of second run lengths wherein the lengths are no less than {TL+n−0.5)×(TH+TL)} and less than {TL+n+0.5)×(TH+TL)}, and for calculating a number of inputted signals by correcting the counting results by the signal counting step based on these frequencies NsH, NsL, and NwnH, and NwnL.
Dependencies are inferred from the claim text.