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

一种运动控制算法的高效实时仿真调试方法
引用本文:何田.一种运动控制算法的高效实时仿真调试方法[J].电子工业专用设备,2006,36(2):53-57.
作者姓名:何田
作者单位:中国电子科技集团公司第四十五研究所,北京,东燕郊,101601
摘    要:以半导体生产设备为代表的现代高速精密机电设备中普遍采用主-从式计算机控制的模式,从机以嵌入方式包含在设备中而不便于其上所运行的运动控制算法实时状态的监测;运动控制算法本身复杂度的不断增加进一步提高了代码高效调试的难度,对最短时间内获得运行正确的运动控制代码提出了极大的挑战。提出了一种能够准确反映控制对象真实响应的运动控制算法实时仿真和调试方法。该方法将从机DSP上运行的运动控制算法完整不变地转移到主机上运行,并且对DSP代码的输入输出函数进行少量修改以利用数值积分方法模拟控制对象的响应,实现了从机DSP运动控制算法和主机程序在同一计算机处理器上以真实的实时状态运行并且可以象普通源代码一样进行方便有效的单步、断点等调试。该方法可以与各种数据可视化手段相结合,形成完整、直观、高效的,完全脱离从机和控制对象的运动控制算法虚拟实时仿真调试环境。给出了该方法在半导体生产设备上成功应用的例子。该方法适用于各种独立运行于嵌入式处理器的运动控制算法的仿真调试。

关 键 词:运动控制算法  实时仿真调试  主从式控制  DSP  嵌入式处理器
文章编号:1004-4507(2006)02-0053-05
收稿时间:01 20 2006 12:00AM
修稿时间:2006年1月20日

An Efficient Real-time Simulation and Debugging Method for Motion Control Algorithm
HE Tian.An Efficient Real-time Simulation and Debugging Method for Motion Control Algorithm[J].Equipment for Electronic Products Marufacturing,2006,36(2):53-57.
Authors:HE Tian
Affiliation:The 45th Research Institute of CETC, Beijing East Yanjiao 101601, China
Abstract:Host-slave computer control architecture is extensively used in modern high-speed precisionelectromechanical equipment represented by semiconductor equipment. In this architecture, the slavecomputer is contained in the equipment in an embedded manner thus it is difficult to monitor the real-timestatus of its motion control algorithm. In addition, the increasing complexity of the motion control algorithmitself further raises the difficulty for efficient debugging of the code. Both facts impose a significantchallenge to obtain correct motion control code in the shortest period of time. A real-time simulation anddebugging method for motion control algorithm that is capable of showing the real response of thecontrol object is proposed. This method transfers the complete and unaltered control algorithm runningon the slave computer DSP to the host computer and carries out minor modifications to input/outputfunctions in the DSP code so as to simulate the response of the control object using numerical integration.The method has realized the execution of slave computer DSP motion control algorithm and host computerprogram on the same computer processor in true real-time status. And debugging schemes such asstepping and break point can be applied on both codes conveniently and efficiently like normal sourcecode. The method can be combined with different data visualization means to form a complete, direct,and efficient virtual real-time simulation environment that is totally separated from the slave computer andthe control object. An example for the method's successful application to semiconductor manufacturingequipment is provided. The method is applicable to the simulation and debugging of different motioncontrol algorithm running independently on an embedded processor.
Keywords:Motion control algorithm  Real-time simulation and debugging  Host-slave control  DSP  Embedded processor
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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