摘要 |
PURPOSE:To easily grasp the states of the sections of a servo by a microcomputer by connecting a motor control circuit to the address bus and data bus of the microcomputer for designating the rotating mode of a motor. CONSTITUTION:A CPU 12 monitors the state of a servo through a bus 13, then calculates data from a ROM 8 in response to a designation mode for a motor 1 and the state discovered by monitoring, and rewrites the preset value of an error counter 7. The counter 7 quantizes the difference between reference information and speed and positional information from the motor 1 by a detector 2. A PWM counter 6 converts the quantized data to a PWM duty. A voltage converted by a low pass filter 4 and a motor driver 3 is fed to the motor 1. Thus, the states of the sections of a servo can be grasped in detail in a real time. |