ELECTRIC CURRENT MEASURING DEVICE, ELECTRIC CURRENT MEASURING METHOD, AND ELECTRIC CURRENT MEASURING PROGRAM
A current measurement device has a rectification unit rectifying an alternating-current signal, an A/D conversion unit converting an analog signal corresponding to a signal obtained by the rectification into a digital signal, an addition unit for adding digital signals corresponding to alternating-current signals during a sampling period among the digital signals obtained by the conversion, and a current value conversion unit for converting an additional value obtained by the addition by the addition unit into a current value using a current value conversion function. The sampling period is a common multiple of the periods of alternating-current signals of 50 Hz and 60 Hz, the current values of which are to be measured.
1 . An electric current measuring device comprising:
a current rectifying portion performing current rectification on an alternating current signal;
an AD converting portion converting, into a digital signal, a signal that has undergone current rectification by the current rectifying portion;
a summing portion performing a summation of a digital signal corresponding to the alternating current signal of a prescribed sampling period, of the digital signals converted by the A/D converting portion; and
an electric current value converting portion converting the summation value that has been summed by the summing portion into an electric current value using a prescribed electric current value converting function; wherein:
the sampling period is a common multiple of each of the periods of a plurality of alternating current signals that are subject to measurement of the electric current values, having mutually differing periods; and
the electric current value converting function is a function for assigning a one-to-one relationship between summation values and electric current values, wherein the coefficient and constant included in the electric current value converting function are a coefficient and a constant that are commonly used for the plurality of alternating current signals.
2 . The electric current measuring device as set forth in claim 1 , further comprising:
a coefficient and constant calculating portion calculating the coefficient and constant included in the electric current value converting function using a known electric current value and a summation value corresponding to one of the alternating current signals that produces the known electric current value; and
a storing portion storing the coefficient or coefficients and constant or constants calculated by the coefficient and constant calculating portion,
3 . The electric current measuring device as set forth in claim 1 , wherein:
the electric current value converting function is a linear function.
4 . The electric current measuring device as set forth in claim 1 , wherein:
the plurality of alternating current signals are a 50 Hz alternating current signal and a 60 Hz alternating current signal.
5 . An electric current measuring method comprising:
a current rectifying step performing current rectification on an alternating current signal;
an A/D converting step converting, into a digital signal, a signal that has undergone current rectification in the current rectifying step;
a summing step performing a summation of a digital signal corresponding to the alternating current signal of a prescribed sampling period, of the digital signals converted in the A/D converting step; and
an electric current value converting step converting the summation value that has been summed in the summing step into an electric current value using a prescribed electric current value converting function; wherein:
the sampling period is a common multiple of each of the periods of a plurality of alternating current signals that are subject to measurement of the electric current values, having mutually differing periods; and
the electric current value converting function is a function for assigning a one-to-one relationship between summation values and electric current values, wherein the and constant included in the electric current value converting function are a coefficient or coefficients and a constant or constants that are common to the plurality of alternating current signals.
6 . A computer-readable medium having stored thereon a plurality of sequences of instructions which, when executed by one or more processors cause an electronic device to execute:
a procedure for performing current rectification on an alternating current signal;
a procedure for converting, into a digital signal, a signal that has undergone current rectification;
a procedure for performing a summation of a digital signal corresponding to the alternating current signal of a prescribed sampling period, of the converted digital signals; and
a procedure for converting the summation value that has been summed into an electric current value using a prescribed electric current value converting function to be executed on a computer, wherein:
the sampling period is a common multiple of each of the periods of a plurality of alternating current signals that are subject to measurement of the electric current values, having mutually differing periods; and
the electric current value converting function is a function for assigning a one-to-one relationship between summation values and electric current values, wherein the coefficient or coefficients and constant or constants included in the electric current value converting function are a coefficient or coefficients and a constant or constants that are common to the plurality of alternating current signals.