基于STM32和CAN总线的全向移动平台控制系统设计
Design of Omnidirectional Mobile Platform Control System Based on STM32 CAN Bus Control
DOI: 10.12677/CSA.2017.79102, PDF, HTML, XML, 下载: 2,085  浏览: 3,891  科研立项经费支持
作者: 彭思淇, 田林晓, 廖 明, 肖志兰:浙江师范大学工学院,浙江 金华
关键词: 全向移动平台CAN总线DMAPID算法Omnidirectional Mobile Platform CAN Bus Network DMA PID Algorithm
摘要: 全向移动平台采用多个麦克纳姆轮独立驱动,通过轮组的转速和转向的组合,可以以任意姿态在二维平面内移动,运动非常灵活、平稳,通过位置细微调整实现精确定位和高精度轨迹控制,广泛用于自主移动机器人。为了提高全向移动平台控制的实时性和精确性,增强整个控制系统的稳定性与准确性,对该平台所采用的CAN总线网络、DMA数据传输和PID控制算法等方法进行研究。首先对基于麦克纳姆轮的移动平台进行数学建模并进行运动分析,然后为了加快传感器数据的传输,采用DMA数据传输,而且主控和电机之间通过CAN总线网络以1 M/S的速度进行数据交换。经过测试,在遥控平台全向运动的过程中,操作流畅,平台无卡顿现象,并能够快速准确的到达目标位置。满足控制系统的稳定可靠、精度高、抗干扰能力强等要求。
Abstract: Omnidirectional mobile platform is driven by independent multiple Mecanum wheels. Through the combination of rotation speed and steering of the wheel set, it can move in a two-dimensional plane at arbitrary angles. Its movement is very flexible and smooth. It implements precise positioning and high precision trajectory control with fine adjustment of position, and is widely used in autonomous mobile robots. To improve the real-time and accuracy of omnidirectional mobile platform and enhance the stability and accuracy of the whole control system, the CAN bus network used in the platform, DMA data transmission, PID control and other methods were studied. Firstly, the mathematical modeling and motion analysis of the mobile platform based on the Mecanum wheel is carried out. Then, to speed up the transmission of sensor data, the platform uses DMA data transmission, and data exchange between main control and motor through CAN bus network is carried out at the speed of 1 M/S. Through repeated debugging and testing, operation is smooth during omnidirectional movement of the remote-control platform. And the platform without lag phenomenon, can quickly and accurately reach the target position. It basically meets the requirements of stable, reliable, high precision and strong anti-interference ability of the control system.
文章引用:彭思淇, 田林晓, 王妍, 廖明, 肖志兰, 张克华. 基于STM32和CAN总线的全向移动平台控制系统设计[J]. 计算机科学与应用, 2017, 7(9): 894-901. https://doi.org/10.12677/CSA.2017.79102

参考文献

[1] 肖建. 移动机器人分布式控制系统的研究与实现[D]: [硕士学位论文]. 广州: 暨南大学出版社, 2015.
[2] 田青. Mecanum轮式全向机器人位置精准控制的应用[D]: [硕士学位论文]. 南京: 东南大学出版社, 2015.
[3] 王兴松. Mecanum轮全方位移动机器人技术及其应用[J]. 机械制造与自动化, 2014, 43(3): 1-6.
[4] 陈博翁, 范传康, 贺骥. 基于麦克纳姆轮的全方位移动平台关键技术研究[J]. 东方电气评论, 2013, 27(108): 7-11.
[5] 柴文峰, 丁学明. 基于STM32单片机CAN通信控制网络设计[J]. 电子科技, 2017, 30(3): 142-145.
[6] 魏琳, 田波. 基于STM32F4系列的串口DMA数据处理传输研究[J]. 自动化应用, 2016(8): 92-93.
[7] 王虎, 彭如恕, 尹泉. 基于STM32嵌入式模糊PID步进电机控制系统的设计[J]. 机械工程师, 2014(11): 139-140.