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

单件生产实验系统控制及仿真的多线程实现
引用本文:严颖,汪峥.单件生产实验系统控制及仿真的多线程实现[J].微机发展,2010(2):197-201.
作者姓名:严颖  汪峥
作者单位:东南大学自动化学院;
基金项目:国家自然科学基金资助项目(50505006)
摘    要:文中采用多线程的方式实现了基于消息并结合仿真的单件生产实验系统的控制。其中工件线程通过在执行函数中下达工件到达指令,用来模拟工件进入生产系统的动作,机器线程则通过在线程的执行函数中向机械手发送工件加工请求来模拟机器。线程间通过消息队列进行通信。在介绍了该方法的思路后,阐述了结合仿真的生产过程控制的多线程的实现方法,并给出了实验结果。实验结果表明该方法能较好地完成单件生产实验系统的控制。通过对于单件生产实验系统的控制,可以灵活地设定生产计划,并完成。

关 键 词:多线程  并行  离散事件仿真  耦合度  控制

Multi-Thread-Based Implementation of Control and Simulation for an Experimental One-of-a-Kind Production System
YAN Ying,WANG Zheng.Multi-Thread-Based Implementation of Control and Simulation for an Experimental One-of-a-Kind Production System[J].Microcomputer Development,2010(2):197-201.
Authors:YAN Ying  WANG Zheng
Affiliation:YAN Ying,WANG Zheng(School of Automation,Southeast University,Nanjing 210096,China)
Abstract:In this paper,a message-based multi-thread method combined with simulation is implemented for the control of one-of-a-kind production system.The part thread simulates the action of the part entering into the production system by issuing instruction in execution function.The machine thread simulates the machine by sending requests to the manipulator.And the threads use the message queue to communicate with each other.After the introduction of its main idea,the implementation of the multi-threaded control met...
Keywords:multi-thread  parallel  discrete event simulation  coupling degree  control  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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