摘要
为了解决机械臂开环控制精度低的问题,设计了一套基于STM32微控制器的机械臂反馈控制系统。通过QT图形界面将控制数据输入上位机,控制数据经串口传输到微控制器后驱动机械臂运动;由加速度传感器和磁通传感器组成的惯性传感器节点采集机械臂运动数据传回微控制器,采用由多个相关的参数可变PID控制器构成的控制器组对机械臂各个部位进行反馈控制。测试结果表明,利用惯性传感器实现的改进型PID的反馈控制系统比无反馈控制系统精度有较大提高,可用于实现更高精度的机械臂控制。
The open loop mechanical arm control system has low accuracy, so a feedback control system on the STM32 for the mechanical arm is designed and implemented in this paper. The data of arm control is entered with QT graphic interfaces and transmitted to the embedded system through serial port to drive the steering engine. The system uses sensor nodes , which contain accelerometer, gyroscope and magnetic sensor, to collect motion data of the arm and transmit to the embedded system. An improved PID controller system with variable parameters is used to control different parts of the mechanical arm. The experimental tests show that the control accuracy of the feedback control system is significantly improved compared with the open loop system.
出处
《微型机与应用》
2014年第22期94-96,共3页
Microcomputer & Its Applications
基金
国家自然科学基金(61006003)
福州市科技计划项目(2013-G-93)