摘要 |
PROBLEM TO BE SOLVED: To perform A/D conversion synchronized with the period of duty control, and prevent electrifying pulses from being turned off in the halfway of an A/D conversion process. SOLUTION: An A/D compare resistor and an electrifying control compare resistor are provided for a microcomputer. The microcomputer sets up an A/D start timing onto the A/D compare resistor every time for turning electrifying pulses on. After that, at the time when the value of a timer in the inside of the computer coincides with the value of the A/D compare resistor, an A/D conversion circuit is actuated so as to perform the A/D conversion of an input signal. At the time when the aforesaid A/D conversion is over, the off-timing for electrifying pulses is set up in the electrifying control compare resistor (B and C), and at the time when the value of the timer coincides with the value of the electrifying control compare resistor, electrifying pulses are turned off. However, when a duty ratio is 100%, the off-timing for electrifying pulses is not set up (A), and electrifying is left as is turned on. |