标题: | RTAI+: 针对CNC程序特性的RTAI即时排程修补机制 RTAI+: An Enhancement of RTAI Scheduler for Real-time CNC Tasks |
作者: | 黄国峯 黄育纶 Huang, Guo-Feng 电机工程学系 |
关键字: | 即时性;CNC系统;Linux;RTAI;IgH;CNC;PC-based controller |
公开日期: | 2016 |
摘要: | 工具机是当前制造产业的重点工具之一,主要应用于自动化流程来达到高效率生产。工业4.0 提出的概念更结合了智慧感控系统与物联网等新的电脑网路技术于自动化控制产业。相较传统的自动化设备,工业4.0 更注重即时运算能力与网际网路的连线效能。也因此开启了PC-based 控制器的发展空间。在本论文中,我们使用IgH EtherCAT Master 建立了以EtherCAT为通讯基础的PC-based 控制器,并安装即时性套件RTAI以增进PC系统的即时性能力。为了进一步增进控制系统的稳定性,我们针对工具机控制系统的基本特性进行研究,并找出CNC 程序的特定工作图样。我们依此发现设计了重排工作图样(rearranged pattern) 的机制,并提出RTAI+,一种以RTAI 为基础,专用于CNC程序的即时性套件。我们将RTAI+ 应用于IgH EtherCAT Master,并调整部分模组提出IgHXRTAI+ 改善CNC 程序的即时性与稳定性。为了验证整体系统,我们设计多种负载测试与多程序测试实验。在两种实验中,使用RTAI+系统的最大时间抖动量都可以控制在3% 以内(<30s) 且其时间抖动量标准差皆小于使用原RTAI 的系统,显示RTAI+ 提高的系统稳定性。另外,在低负载的情况下,搭配RTAI+ 的IgH EtherCAT Master也能进一步地降低时间抖动量的标准差,使系统的即时性更加稳定。从多程序测试中,我们则验证RTAI+ 运行时,系统中的各个程序的稳定性是一致的,并不会随着执行顺序改变,这也验证了RTAI+ 可适用于同时监控多个工具机的情境。 Machine tool is one of the major technologies in manufacturing industries. The highprecise machine tools are used in automated production and provide better efficiency in manufacturing. In recent years, Industry 4.0 is presented by integrating devices for real-time computation and for Internet connection. This makes PC-based controllers more potential in the future. In this paper, we adapt IgH EtherCAT Master to create a PC-based CNC controller supporting EtherCAT. The system also patches RTAI to enhance the real-time capability. To improve the stability of our real-time system, we propose RTAI+ and a new pattern (rearranged pattern) for motor tasks. We also apply RTAI+ to IgH EtherCAT Master as IgH RTAI+ to enhance the stability of transmission processes. To verify the stability of our system, we design several loading tests and multi-task tests. In the two kinds of experiments, the maximum time jitter of the system using RTAI+ is smaller than 3% (<30s). And in the system using RTAI+, the standard deviation of jitter is smaller than that using RTAI. This confirms that RTAI+ can improve the stability of a PC-based CNC system. On the other hand, When applying RTAI+ to IgH EtherCAT Master, the standard deviations can be further reduced in the low loading situations. The multi-task test also shows that the RTAI+ system has nearly the same standard deviations in each processes. In te multi-task tests, we prove that most processes running on the system using RTAI+ have the nearly same deviations. This proves that the proposed RTAI+ can provide stability in controlling multiple machine tools simultaneously. |
URI: | http://etd.lib.nctu.edu.tw/cdrfb3/record/nctu/#GT070450722 http://hdl.handle.net/11536/143449 |
显示于类别: | Thesis |