• 首页
  • 期刊简介
  • 编委会
  • 投稿指南
  • 收录情况
  • 杂志订阅
  • 联系我们
引用本文:张益波,姚晓晓.二维同步插补算法及其在S7-200 Smart PLC上的应用[J].软件工程,2024,27(4):65-69.【点击复制】
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  
←前一篇|后一篇→ 过刊浏览
分享到: 微信 更多
二维同步插补算法及其在S7-200 Smart PLC上的应用
张益波1, 姚晓晓2
(1.浙江理工大学自动化系, 浙江 杭州 310018;
2.常山亚瑞轴承有限公司, 浙江 衢州 324207)
zhangy41@163.com; 237459086@qq.com
摘 要: 针对插补运动系统中存在机械振动较大的问题,提出一类基于恒定加加速度的二维直线插补算法。在确定加加速度的前提下,将直线插补的运动过程分为7个不同的阶段。利用运动学定律分析每个阶段的加速度、速度和位移的表达式,获取各运动阶段的初始条件。在基于二维系统的位移要求确定二维同步关系的基础上,实现了各阶段算法的离散化,最终完成了基于PLC(可编程逻辑控制器)的算法设计。实测效果表明,该算法同步精度小于0.5%,运行时间误差小于1 s,运行效果良好,满足应用场景的需求。
关键词: 二维同步;插补;S7-200 Smart
中图分类号: TP273    文献标识码: A
Two-axis Synchronous Interpolation Algorithm and Its Application in S7-200 Smart PLC
ZHANG Yibo1, YAO Xiaoxiao2
(1.Department of Automation, Zhejiang Sci-Tech University, Hangzhou 310018, China;
2.Changshan Yarui Bearing Co., Ltd., Quzhou 324207, China)
zhangy41@163.com; 237459086@qq.com
Abstract: This paper proposes a two-axis linear synchronous interpolation algorithm based on constant jerk to reduce strong mechanical vibrations in interpolating motion systems. Under the premise of determining the jerk, the motion process of linear interpolation is divided into seven different stages. Kinematics laws are used to analyze the expressions of acceleration, velocity, and displacement in each stage, and the initial conditions of each motion stage are obtained. Based on the determination of the two-axis synchronization relationship according to the displacement requirements of the two-axis system, the discretization of the algorithms in each stage is achieved, and finally the algorithm design based on PLC (Programmable Logic Controller) is completed. The actual test results show that the synchronization accuracy of the proposed algorithm is less than 0.5% , the running time error is less than 1 second, and the running effect is good, meeting the needs of the application scenarios.
Keywords: two-axis synchronous; interpolation; S7-200 Smart


版权所有:软件工程杂志社
地址:辽宁省沈阳市浑南区新秀街2号 邮政编码:110179
电话:0411-84767887 传真:0411-84835089 Email:semagazine@neusoft.edu.cn
备案号:辽ICP备17007376号-1
技术支持:北京勤云科技发展有限公司

用微信扫一扫

用微信扫一扫