首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于MFC的拉扭复合系统界面设计
引用本文:刘思威,仇志坚.基于MFC的拉扭复合系统界面设计[J].航空动力学报,2019,46(6):95-101.
作者姓名:刘思威  仇志坚
作者单位:上海大学 机电工程与自动化学院自动化系,上海200444,上海大学 机电工程与自动化学院自动化系,上海200444;上海市电站自动化技术重点实验室,上海200444
摘    要:为了方便对拉扭复合系统中2台伺服电机的控制,设计了基于MFC的上位机界面。通过串口通信,使用不同的按钮操作设置伺服驱动器相应参数,从而控制2台伺服电机的运行。上位机实时接收伺服驱动器监控数据绘制出转速、位移、转矩曲线。针对在数据接收过程中信息帧接收错误的情况,使用拼接两相邻错误信息帧的方法进行修复。结果表明:上位机界面实现了系统功能及对电机运行工况的监控。

关 键 词:MFC    伺服驱动器    串口通信    信息帧
收稿时间:2018/12/20 0:00:00

Interface Design of TensionTorsion Composite System Based on MFC
LIU Siwei and QIU Zhijian.Interface Design of TensionTorsion Composite System Based on MFC[J].Journal of Aerospace Power,2019,46(6):95-101.
Authors:LIU Siwei and QIU Zhijian
Institution:School of Mechatromic Engineering and Automation,Shanghai University, Shanghai 200444, China and School of Mechatromic Engineering and Automation,Shanghai University, Shanghai 200444, China;Shanghai Key Laboratory of Power Station Automation Technology, Shanghai 200444, China
Abstract:Aiming at facilitating the control of two servo motors in the tensiontorsion composite system, a host computer interface based on MFC was designed. Through the serial communication, the corresponding parameters of the servo driver were set by using different button operations to control the operation of two servo motors. The servo driver monitoring data were received by the host computer in real time to draw the speed, displacement and torque curves. For the case where the information frame was received incorrectly during data reception, the method of splicing two adjacent error information frames was used for repair. The results showed that the system function and the monitoring of motor operating conditions could be realized in the host computer interface.
Keywords:Microsoft Foundation Classes (MFC)  servo driver  serial communication  information frame
点击此处可从《航空动力学报》浏览原始摘要信息
点击此处可从《航空动力学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号