• CN:11-2187/TH
  • ISSN:0577-6686

›› 2011, Vol. 47 ›› Issue (1): 108-116.

• 论文 • 上一篇    下一篇

扫码分享

开放式体系结构数控系统实时性的建模与分析

曹宇男;张辉;叶佩青;王田苗   

  1. 清华大学精密仪器与机械学系;北京航空航天大学机器人所
  • 发布日期:2011-01-05

Modeling and Analysis of Real-time Properties of Open Architecture Computerized Numerical Control Systems

CAO Yunan;ZHANG Hui;YE Peiqing;WANG Tianmiao   

  1. Department of Precision Instruments and Mechanology, Tsinghua University Robot Research Institute, Beihang University
  • Published:2011-01-05

摘要: 给出一个新的用于描述开放式体系结构数控系统(Open architecture computerized numerical control system, OAC)的建模方法——时间转化模型/全时轴实时时态逻辑(Timed transition model/all-time real-time temporal logic, TTM/ATRTTL)。TTM/ATRTTL提供一整套方法用于对OAC系统的硬实时性和反馈特性进行建模并使用该形式化方法在系统层对OAC系统进行建模。分别给出开环OAC,系统级逻辑控制器以及任务间通信和同步机制的TTM模型,并最终给出具有调度机制的闭环OAC系统 TTM模型。该模型为系统验证体系结构的基础。最后,给出系统验证体系结构并用模型验证工具STeP和CAD工具SF2STeP实现之。在系统验证过程中,首先解决STeP中遇到的若干模型验证问题,这些问题包括重写规则,验证规则,状态爆炸问题,以及时间约束限制问题。通过模型验证试验解决OAC系统运行过程中出现的死锁以及系统各模块执行时间约束检验问题。试验结果表明该方法可以有效地对OAC系统进行建模并对系统的实时特性进行验证。

关键词: 建模, 开放式体系结构数控系统, 时间转化模型/全时轴实时时态逻辑, 实时性, 形式化描述与验证方法

Abstract: A novel modeling method called timed transition model/all-time real-time temporal logic (TTM/ATRTTL) for specifying open architecture CNC (OAC) systems is proposed. TTM/ATRTTL provides full support for specifying hard real-time property and feed-back characteristics needed for modeling OAC systems. The formal method is used to model OAC systems from different aspects by specifying the TTM structure of an open-loop OAC, a system-level logic controller, and task communication and synchronization, and obtain the closed-loop OAC TTM with scheduling mechanism is given, which is the foundation of the verification framework. Finally, a verification framework is proposed and implemented with STeP and SF2STeP. In the verification, several problems are solved including rewrite rule, verification rule, state explosion problem, and time bound restriction when STeP is used for verification, and then experiments are conducted for verifying an OAC system for dead-lock and system time bound checking. The results show that the method can effectively model and verify OAC systems.

Key words: Formal specification and verification, Modeling, Open architecture computerized numerical control system, Real-time property, Timed transition model/all-time real-time temporal logic

中图分类号: