Abstract:In the process of designing a robotic arm angle controller, in order to improve the flexibility of the robotic arm and reduce joint angle control errors, an embedded robotic arm angle controller based on a bacterial foraging algorithm is designed. Firstly, construct a dynamic model of the robotic arm to obtain the flexible features and joint positions of the robotic arm, and determine the hardware logic structure and algorithm of the angle controller based on the obtained information. Then, using the ARM microprocessor Embedded operating system, the hardware structure of the controller including the mobile control terminal and the manipulator control terminal is designed. Finally, the bacterial foraging algorithm is used to optimize the controller parameters, and the code is implemented to accurately track and control the angle of the robotic arm. The simulation analysis results show that the proposed method has high pose tracking accuracy, small angle control error, strong stability, and can ensure that the joint angle of the robotic arm is not overshoot, which has high machine engineering application value.