摘要
随着电子技术和自动化产业的迅速发展,嵌入式技术已被广泛应用到数控系统中,在众多嵌入式数控系统中,Linux由于具有模块化设计且能支持多种硬件平台,加上源码开放,优势明显,应用越来越广泛。但同时由于Linux属于分时操作系统、频繁关中断、实时性不足,为了能使Linux在实时环境中得到应用,提出其实时性改造的必要性,使其满足实时要求。基于此,本文结合自身工作实践,采用了Linux+Xenomai构架的实时性改造方案,并分析了系统平台的搭建,实时性测试结果表明,此改造完全可以满足嵌入式数控系统的实时性要求。
With the rapid development of electronic technology and automation industry,embedded technology has been widely used in CNC systems.In many embedded CNC systems,Linux is more and more widely used because of its modular design and support for a variety of hardware platforms,coupled with open source code.But at the same time,because Linux belongs to time-sharing operating system,frequent shutdown and interruption,lack of real-time,in order to enable Linux to be applied in realtime environment,the necessity of real-time transformation is put forward to make it meet the realtime requirements.Based on this,this paper adopts the real-time transformation scheme of Linux+Xenomai framework combined with its own work practice,and analyses the construction of the system platform.The real-time test results show that the transformation can fully meet the real-time requirements of embedded CNC system.
作者
蒋旭辉
Jiang Xuhui(GSK CNC Equipment Co.Ltd.,Guangzhou Guangdong,510530)
出处
《电子测试》
2019年第16期68-69,102,共3页
Electronic Test