• 论文 •    

有限状态机在开放式数控系统中的应用

李 霞,王永章,梁宏斌,钟 力   

  1. 1.哈尔滨工业大学 机械工程及自动化系,黑龙江 哈尔滨 150001;2.大庆职业学院,黑龙江 大庆 163254
  • 出版日期:2005-03-15 发布日期:2005-03-25

Finite state machine application in open CNC

LI Xia, WANG Yong-zhang,LIANG Hong-bin, ZHONG Li   

  1. 1.Dep. of Mechanical Engineering and Automation, Harbin Institute of Technology, Harbin 150001, China; 2.DaQing Vocational College, Daqing 163254, China
  • Online:2005-03-15 Published:2005-03-25

摘要: 为增强开放式数控系统的重构能力,采用层级式有限状态机作为描述系统控制逻辑的行为模型,并给出了建模方法。为便于实施有限状态机的机制,建立了有限状态机基础类库,该类库提供了定义和修改有限状态机的接口。当系统扩充功能时,可以根据有限状态机完成对系统行为的重构。通过向三轴数控铣床系统中添加刀具的监控功能,验证了系统的行为重构能力。

关键词: 开放式数控系统, 重构, 有限状态机

Abstract: For improving reconfigurability in open architecture control system, Hierarchical Finite State Machine (HFSM) is applied to system behaviors model which describes control logic of system. And modeling rules are given. In order to assure convenient implementation of FSM, a FSM foundation classes library is developed; it also provides interface to operate FSM. When behavioral modification due to system requirements change, mechanism for behavioral reconfiguration based on FSM is analyzed. Behavioral reconfiguration is demonstrated through integrating broken tool detection into an existing three-axis milling machine controller.

Key words: open architecture controller, reconfiguration, finite state machine

中图分类号: