摘要
基于Matlab对伺服电机Modbus通讯进行了研究,介绍了Modbus协议RTU通讯的协议结构及Matlab串口收发通讯的流程,完成了Matlab环境下Modbus协议的模拟及16位CRC校验程序的设计,实现了在Mat Lab/GUI界面下对伺服电机进行基于该协议的通讯与控制。实验表明低速控制时效果良好。
Modbus communication of the servo motor was studied based on Matlab,the protocol structure of Modbus RTU communication and the process of Matlab serial communication were introduced.The simulation of Modbus protocol in Matlab environment and the design of16bit CRC check program were completed,and the communication and control of the servo motor based on the protocol in the Matlab/GUI interface were realized.The experiments show the effect of low speed control is good.
作者
李娇
赵慧勇
Li Jiao;Zhao Huiyong(School of Automotive Engineering, Hubei University of Automotive Technology, Shiyan 442002, China)
出处
《湖北汽车工业学院学报》
2017年第1期47-51,共5页
Journal of Hubei University Of Automotive Technology
基金
汽车动力传动与电子控制湖北省重点实验室开放基金项目(ZDK201502)