本文已被:浏览 1726次 下载 1789次
Received:August 12, 2016 Revised:September 23, 2016
Received:August 12, 2016 Revised:September 23, 2016
中文摘要: LT-H10滚齿机数控系统采用基于ARM的系统结构,其处理器等性能、资源比以往基于x86的系统受到很大的限制,所以CPU的占用率也相对较高.为了降低ARM CPU的占用率把系统运行的部分主站控制驱动程序迁移到底板FPGA MicroBlaze软核处理器上运行,本文提出了一种基于MicroBlaze软核处理器的μC/OS-II的移植方案.测试实验结果表明μC/OS-II系统移植到MicroBlaze之后能稳定的运行.快速的任务上下文切换更有利于数控系统的实时性.针对MicroBlaze μC/OS-II系统和ARM Linux系统设计了两个不同的任务调度算法对任务上下文切换的时间开销进行研究、测量和分析.此研究方案不仅可以满足基于ARM的数控系统的应用需要,同时适用于基于x86的数控系统,达到降低系统CPU占用率的目的,在嵌入式数控系统中具有重要的研究意义与应用价值.
中文关键词: FPGA MicroBlaze μC/OS-II 移植
Abstract:The LT-H10 hobbing machine numerical control system is an embedded system based on ARM processor. The CPU occupancy in ARM-based NC system is always higher than that in x86-based systems for some characteristic of ARM processor itself limits. A μC/OS-II system porting scheme based on MicroBlaze soft-core processor is presented in this paper, to reduce the occupancy of ARM processor by executing some driver programs of master station on the MicroBlaze soft-core processor of FPGA chip on the bottom plate. The experimental test results show that the μC/OS-II system ported on the MicroBlaze processor can run stably. The rapid context-switch benefits to the real-time of the NC system. We design two different tasks scheduling algorithm to measure and research the context-switch time in MicroBlaze-based μC/OS-II system and ARM-based Linux system. This study can not only meet the application needs of CNC system based on ARM, but also can been applied to CNC system based on X86, to achieve the purpose of reducing CPU occupancy, which has important research meaning and application value in Embedded CNC system.
keywords: FPGA MicroBlaze μC/OS-II porting
文章编号: 中图分类号: 文献标志码:
基金项目:国家科技重大专项(2014ZX04009031)
引用文本:
常华利,尹震宇.基于MicroBlaze的μC/OS-II操作系统移植.计算机系统应用,2017,26(5):239-246
CHANG Hua-Li,YIN Zhen-Yu.μC/OS-II System Porting Based on MicroBlaze Processor.COMPUTER SYSTEMS APPLICATIONS,2017,26(5):239-246
常华利,尹震宇.基于MicroBlaze的μC/OS-II操作系统移植.计算机系统应用,2017,26(5):239-246
CHANG Hua-Li,YIN Zhen-Yu.μC/OS-II System Porting Based on MicroBlaze Processor.COMPUTER SYSTEMS APPLICATIONS,2017,26(5):239-246