基于ARM的嵌入式實(shí)時(shí)系統(tǒng)關(guān)鍵技術(shù)的研究
本文關(guān)鍵詞:基于ARM的嵌入式實(shí)時(shí)系統(tǒng)關(guān)鍵技術(shù)的研究 出處:《中國科學(xué)院研究生院(沈陽計(jì)算技術(shù)研究所)》2015年碩士論文 論文類型:學(xué)位論文
更多相關(guān)文章: 嵌入式數(shù)控系統(tǒng) 實(shí)時(shí)操作系統(tǒng) RT-Preempt Xenomai ARM 處理器
【摘要】:隨著ARM處理器計(jì)算能力的提高,該類型的處理器在嵌入式領(lǐng)域的應(yīng)用越來越廣泛的同時(shí),也得到了數(shù)控系統(tǒng)的青睞。比如:德國ECKELMANN公司的E.ENC55和廣州數(shù)控的GSK980TD系列車床CNC都是基于ARM的。本課題依托于國家重大專項(xiàng),以ARM處理器的廣泛應(yīng)用為前提,分別采用RT-Preempt和Xenomai實(shí)時(shí)擴(kuò)展技術(shù)來保證系統(tǒng)的實(shí)時(shí)性,成功實(shí)現(xiàn)了對(duì)基于ARM處理器的Linux系統(tǒng)的實(shí)時(shí)性改造。硬件系統(tǒng)選擇用于工控的TI AM3358處理器平臺(tái)。論文工作包括嵌入式系統(tǒng)的構(gòu)建和Linux系統(tǒng)的實(shí)時(shí)化改造。系統(tǒng)的構(gòu)建主要是系統(tǒng)bootloader、內(nèi)核和根文件系統(tǒng)的構(gòu)建;系統(tǒng)實(shí)時(shí)化改造包括分別采用RT-Preempt實(shí)時(shí)搶占補(bǔ)丁和Xenomai實(shí)時(shí)化擴(kuò)展方案改進(jìn)Linux操作系統(tǒng)的實(shí)時(shí)性能。深入學(xué)習(xí)了RT-Preempt實(shí)時(shí)搶占補(bǔ)丁的實(shí)現(xiàn)原理,研究了其可搶占自旋鎖的實(shí)現(xiàn)、優(yōu)先級(jí)反轉(zhuǎn)問題的解決、中斷線程化、高精度時(shí)鐘等方面的內(nèi)容,解決了TI AM3358平臺(tái)上高精度時(shí)鐘的問題,完成了其到TI AM3358平臺(tái)的移植。深入分析了與Xenomai有關(guān)的Adeos的域管理機(jī)制和中斷管理機(jī)制,解決了TI AM3358平臺(tái)特定時(shí)鐘和中斷處理部分的問題,并完成了其到TI AM3358平臺(tái)的移植。最后對(duì)RT-Preempt實(shí)時(shí)搶占補(bǔ)丁和Xenomai實(shí)時(shí)化擴(kuò)展方案做了部分測(cè)試工作。對(duì)RT-Preempt主要做了任務(wù)調(diào)度延遲測(cè)試、中斷響應(yīng)延遲測(cè)試、內(nèi)存讀寫測(cè)試、優(yōu)先級(jí)反轉(zhuǎn)測(cè)試和用戶空間與內(nèi)核空間間進(jìn)程通信的測(cè)試等;對(duì)Xenomai實(shí)時(shí)擴(kuò)展做了基本的性能測(cè)試。基于TI AM3358和RT-Preempt的嵌入式實(shí)時(shí)數(shù)控系統(tǒng)運(yùn)行穩(wěn)定,在實(shí)驗(yàn)室已經(jīng)做為二次開發(fā)的系統(tǒng)平臺(tái)。本課題的研究對(duì)數(shù)控系統(tǒng)的小型化和經(jīng)濟(jì)化發(fā)展具有重要的參考價(jià)值。
[Abstract]:With the improvement of computing power of ARM processor, this type of processor is more and more widely used in embedded field. Also get the favor of numerical control system. For example:. E.ENC55 of ECKELMANN Company of Germany and CNC of GSK980TD series lathe of Guangzhou NC are all based on ARM. Based on the widespread application of ARM processor, RT-Preempt and Xenomai real-time extension technology are adopted to ensure the real-time performance of the system. The real-time transformation of Linux system based on ARM processor is successfully realized. The TI of hardware system is selected for Industrial Control. AM3358 processor platform. The thesis includes the construction of embedded system and the real-time transformation of Linux system. The system construction is mainly system bootloader. The construction of kernel and root file system; The system real-time transformation includes the use of RT-Preempt real-time preemption patch and Xenomai real-time extension scheme to improve the real-time performance of Linux operating system. The implementation principle of reempt real-time preemption patch. The implementation of preemptive spin lock, the solution of priority inversion problem, interrupt threading, high precision clock and so on are studied. The problem of high precision clock on TI AM3358 platform is solved. The porting of Adeos to TI AM3358 platform is completed, and the domain management mechanism and interrupt management mechanism of Adeos related to Xenomai are deeply analyzed. It solves the problem of specific clock and interrupt processing in TI AM3358 platform. And finished it to TI. Finally, the RT-Preempt real-time preemption patch and the Xenomai real-time extension scheme are partly tested. The RT-Preempt is mainly done. Task scheduling delay testing. Interrupt response delay test, memory read and write test, priority inversion test and process communication between user space and kernel space, etc. The basic performance test of Xenomai real-time extension is done. The embedded real-time NC system based on TI AM3358 and RT-Preempt is running stably. The research of this subject has important reference value for the miniaturization and economical development of numerical control system.
【學(xué)位授予單位】:中國科學(xué)院研究生院(沈陽計(jì)算技術(shù)研究所)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2015
【分類號(hào)】:TP316.2;TP332
【參考文獻(xiàn)】
相關(guān)期刊論文 前8條
1 秦紹華,陳滌;關(guān)于uC/OS-II中優(yōu)先級(jí)翻轉(zhuǎn)問題[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2005年02期
2 張偉杰;;淺析Linux技術(shù)的發(fā)展[J];吉林建筑工程學(xué)院學(xué)報(bào);2012年02期
3 陳宗雨;郭偉;王立峰;李從心;;基于Windows NT與實(shí)時(shí)擴(kuò)展的開放式數(shù)控系統(tǒng)的研究[J];計(jì)算機(jī)集成制造系統(tǒng);2006年04期
4 趙奇;索曉冉;;實(shí)時(shí)系統(tǒng)優(yōu)先級(jí)反轉(zhuǎn)研究[J];計(jì)算機(jī)應(yīng)用研究;2008年06期
5 黃聰會(huì);陳靖;張黎;李東陽;;軟件移植理論與技術(shù)研究[J];計(jì)算機(jī)應(yīng)用研究;2012年06期
6 田振;蔣新華;陳興武;;一種Linux實(shí)時(shí)化技術(shù)的研究[J];計(jì)算機(jī)技術(shù)與發(fā)展;2009年04期
7 周緒川;;一種解決μC/OS中優(yōu)先級(jí)反轉(zhuǎn)問題的方案[J];微計(jì)算機(jī)信息;2007年14期
8 蘇宇;張濤;孫黎;;基于Xenomai的實(shí)時(shí)Linux系統(tǒng)的研究[J];計(jì)算機(jī)技術(shù)與發(fā)展;2013年10期
,本文編號(hào):1381905
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1381905.html