摘要 |
PURPOSE:To eliminate the simultaneous operation of a speed comparison and a filter calculation and to accurately operate both by stopping the calculation when an FG (rotary speed detector) pulse is input if all digital process is executed by a microcomputer. CONSTITUTION:The output of an FG2 mounted in a motor 1 is input to an external interrupt terminal of a one-chip microcomputer 3. The microcomputer 3 compares a motor rotating speed by the FG signal, and calculates to filter a speed error to obtain a motor drive command. The motor drive command is output to a D/A converter 4 as an analog amount, the analog amount is input to a drive circuit 5 to drive the motor 1. |