China Mechanical Engineering ›› 2013, Vol. 24 ›› Issue (6): 781-786.

Previous Articles     Next Articles

Software Design for Active Object Oriented Reconfigurable CNC System

Zhu Huabing;Luo Zuping;Dong Bolin;Wang Zhisen   

  1. Hefei University of Technology,Hefei,230009
  • Online:2013-03-25 Published:2013-04-08
  • Supported by:
    National Natural Science Foundation of China(No. 50375043)

面向活动对象的可重构数控系统软件设计

朱华炳;罗祖平;董伯麟;王治森   

  1. 合肥工业大学,合肥,230009
  • 基金资助:
    国家自然科学基金资助项目(50375043)
    National Natural Science Foundation of China(No. 50375043)

Abstract:

To let CNC system software reconfigurable,an active object oriented software design method was proposed,and its design principles were given.Based on the actual application as an example,this paper expounded the design method,reconstruction process and reconstruction results.The method based on object-oriented design endued each object with its own thread of execution,event queue and state machine.The active objects,which were independent and did not share resources,communicated with other
objects through the event queue,deliver and receipt events in publish-subscribe way.In this way,a new reconfigurable CNC system  was constructed,with low degree of complexity,convenient modification and high reconstruction efficiency.

Key words: active object, CNC system, software reconfiguration, embedded CNC

摘要:

为使数控系统软件可重构,提出一种面向活动对象的软件设计方法,给出设计原理、实现方法;以实际应用为例,阐明设计方法、重构流程及重构结果。该方法基于面向对象设计,并给每个对象赋予一个独立执行线程、事件队列和状态机。活动对象相互独立、不共用资源、能够独立执行,通过事件队列与其他对象通信,以“出版-订阅”的方式投递和接收事件。在该方式下,数控系统的重构复杂程度低、修改便捷、重构效率高。

关键词: 活动对象, 数控系统, 软件重构, 嵌入式数控

CLC Number: