Design of Full-automatic Control System of the Dynamic Balancing Device Based on STM32
Aiming at the problems of the traditional dynamic balancing devices including sole function,inflexible control and display of rotational speed and position,as well as the impossibility of secondary development of the specific microcontroller,this paper proposes a method of software and hardware design by using STM32 single chip microcomputer as controller,while combining with stepping motor,Hall senor,AD acquisition circuit and human-machine interface to realize full-automatic control of the dynamic balancing device.The function of HMI is to set and display the status parameters,and control start-stop,acceleration and deceleration,steering adjustment and position of the dynamic balancing device;the stepping motor driver is set in subdivisions to realize precise positioning of the rotor for measurement;and the system can display the rotate speed,direction and driving pulse frequency of the rotor at real-time.Test results show that the control system designed has the advantages of convenient control,direct display,stable operation and flexible and accurate measurement of different rotors.