Microcomputer-equipped system and battery pack for electric power tool
First Claim
1. A microcomputer-equipped system for electric power tool, the system comprising:
- a microcomputer that includes an AD (analog-to-digital) converter and at least one AD port to which an analog signal to be AD converted by the AD converter is inputted;
a reference voltage generator that is separately provided from an operation power source of the microcomputer and generates and inputs to the AD port a reference voltage having a predetermined value;
a reference data storage unit that prestores reference data which is digital data corresponding to the reference voltage;
a first determiner that is provided inside the microcomputer and compares diagnostic data obtained by AD conversion by the AD converter of the reference voltage inputted to the AD port with the reference data stored in the reference data storage unit to determine, in case that difference between the diagnostic data and the reference data is out of a predefined allowable range, that an AD abnormal state has occurred in which a correct result of the AD conversion is unable to be obtained from the AD converter;
a signal voltage divider that is provided on a signal path before the analog signal to be AD converted is inputted to the AD converter, and generates a diagnostic analog signal by voltage division of the analog signal at a predefined voltage dividing ratio when an execution command is inputted; and
a second determiner that is provided inside the microcomputer, obtains the diagnostic data by directing the AD converter to AD convert the diagnostic analog signal when the voltage division is executed by the signal voltage divider, obtains a comparative data by directing the AD converter to AD convert the analog signal when the voltage division is not executed by the signal voltage divider, compares the obtained diagnostic data and the comparative data, and determines whether the AD abnormal state has occurred based on a result of the comparison.
1 Assignment
0 Petitions
Accused Products
Abstract
A microcomputer-equipped system for electric power tool includes a microcomputer, a reference voltage generator, a reference data storage unit, and a first determiner. The microcomputer includes an analog-to-digital (AD) converter and at least one AD port. The reference voltage generator generates and inputs to the AD port a reference voltage having a predetermined value. The reference data storage unit prestores reference data corresponding to the reference voltage. The first determiner compares diagnostic data obtained by AD conversion by the AD converter of the reference voltage inputted to the AD port with the reference data to determine, in case that difference between the diagnostic data and the reference data is out of a predefined allowable range, that an AD abnormal state has occurred in which a correct result of the AD conversion is unable to be obtained from the AD converter.
-
Citations
18 Claims
-
1. A microcomputer-equipped system for electric power tool, the system comprising:
-
a microcomputer that includes an AD (analog-to-digital) converter and at least one AD port to which an analog signal to be AD converted by the AD converter is inputted; a reference voltage generator that is separately provided from an operation power source of the microcomputer and generates and inputs to the AD port a reference voltage having a predetermined value; a reference data storage unit that prestores reference data which is digital data corresponding to the reference voltage; a first determiner that is provided inside the microcomputer and compares diagnostic data obtained by AD conversion by the AD converter of the reference voltage inputted to the AD port with the reference data stored in the reference data storage unit to determine, in case that difference between the diagnostic data and the reference data is out of a predefined allowable range, that an AD abnormal state has occurred in which a correct result of the AD conversion is unable to be obtained from the AD converter; a signal voltage divider that is provided on a signal path before the analog signal to be AD converted is inputted to the AD converter, and generates a diagnostic analog signal by voltage division of the analog signal at a predefined voltage dividing ratio when an execution command is inputted; and a second determiner that is provided inside the microcomputer, obtains the diagnostic data by directing the AD converter to AD convert the diagnostic analog signal when the voltage division is executed by the signal voltage divider, obtains a comparative data by directing the AD converter to AD convert the analog signal when the voltage division is not executed by the signal voltage divider, compares the obtained diagnostic data and the comparative data, and determines whether the AD abnormal state has occurred based on a result of the comparison. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A microcomputer-equipped system for electric power tool, the system comprising:
-
a microcomputer that includes an AD (analog-to-digital) converter and at least one AD port to which an analog signal to be AD converted by the AD converter is inputted; a reference voltage generator that is separately provided from an operation power source of the microcomputer and generates and inputs to the AD port a reference voltage having a predetermined value; a reference data storage unit that prestores reference data which is digital data corresponding to the reference voltage; and a first determiner that is provided inside the microcomputer and compares diagnostic data obtained by AD conversion by the AD converter of the reference voltage inputted to the AD port with the reference data stored in the reference data storage unit to determine, in case that difference between the diagnostic data and the reference data is out of a predefined allowable range, that an AD abnormal state has occurred in which a correct result of the AD conversion is unable to be obtained from the AD converter, wherein the reference voltage generator includes a diode, and is configured to generate as the reference voltage a forward voltage of the diode generated by applying a forward bias to the diode by a power inputted to the reference voltage generator.
-
-
18. A microcomputer-equipped system for electric power tool, the system comprising:
-
a microcomputer that includes an AD (analog-to-digital) converter and at least one AD port to which an analog signal to be AD converted by the AD converter is inputted; a reference voltage generator that is separately provided from an operation power source of the microcomputer and generates and inputs to the AD port a reference voltage having a predetermined value; a signal voltage divider that is provided on a signal path before the analog signal to be AD converted is inputted to the AD converter, and generates a diagnostic analog signal by voltage division of the analog signal at a predefined voltage dividing ratio when an execution command is inputted; and a determiner that is provided inside the microcomputer, obtains a diagnostic data by directing the AD converter to AD convert the diagnostic analog signal when the voltage division is executed by the signal voltage divider, obtains a comparative data by directing the AD converter to AD convert the analog signal when the voltage division is not executed by the signal voltage divider, compares the obtained diagnostic data and the comparative data, and determines whether the AD abnormal state has occurred based on a result of the comparison.
-
Specification