Patent ID: 7889105
Filing Date: 2011-02-15
Classification: H03M

Abstract:
1. An electronic control device having an analog input signal in which one of analog input signals of plural points obtained from an analog sensor group is successively selected by a multiplexer and applied to an analog input terminal of an AD converter, and digital data digitally-converted by the AD converter are input to a microprocessor, wherein calibration voltage signals of plural points are input to the multiplexer; control programs serving as a collinear approximate coefficient calculating unit, an interpolation correcting calculation unit, an averaging unit and a band check unit are added to a program memory cooperating with the microprocessor; the calibration voltage signals are voltage input signals obtained by dividing a reference voltage Vref applied to a reference voltage terminal of the AD converter with plural high-precision voltage-dividing resistors; the collinear approximate coefficient calculating unit represents a characteristic of a digital conversion value to the whole band of the input signal voltage of the AD converter by a single or plural approximate lines, calculates a proportional coefficient and an offset component of an approximate line calculation equation so that the relationship between the voltage and the digital conversion value of the plural calibration voltage signals is contained on the approximate line, and sets the calculated proportional coefficient and offset component as parameters for collinear approximation; the interpolation correcting calculation unit reads out a digital conversion value to one input signal voltage of the analog input signals, calculates back the analog input voltage corresponding to the digital conversion value from the approximate line, and sets the value proportional to the calculated-back calculation value as a corrected digital conversion value; the averaging unit executes calculation of an approximate calculation equation by the collinear approximate coefficient calculating unit at plural times, calculating each average value of the obtained proportional coefficient and offset component and sets the average value as a practical parameter to be applied in the interpolation correcting calculating unit; and the band check unit determines whether the digital conversion value of the calibration voltage signal is within a range of upper and lower limit threshold values for calibration values stored in the program memory or is a parameter for collinear approximation, or whether the value of the practical parameter is within a range of upper and lower limit threshold values of parameters stored in the program memory, and executes read-out of the digital conversion value of the calibration voltage signal and calculation and averaging of the parameter for the collinear approximation when the determination result is an abnormal value out of the range.