基于嵌入式Linux的噴碼機(jī)底層軟件的研究與開(kāi)發(fā)
本文選題:噴碼機(jī) 切入點(diǎn):嵌入式Linux移植 出處:《河北工業(yè)大學(xué)》2013年碩士論文 論文類(lèi)型:學(xué)位論文
【摘要】:作為產(chǎn)品質(zhì)量監(jiān)管的重要手段,噴印標(biāo)識(shí)技術(shù)逐漸受到社會(huì)的關(guān)注。然而作為標(biāo)識(shí)環(huán)節(jié)的執(zhí)行主體,國(guó)內(nèi)噴碼機(jī)設(shè)備的性能指標(biāo)卻一直低于國(guó)際水平,導(dǎo)致市場(chǎng)占有率偏低。嵌入式技術(shù)的發(fā)展為噴碼機(jī)產(chǎn)業(yè)帶來(lái)了新的發(fā)展機(jī)遇,在嵌入式系統(tǒng)中,,底層軟件系統(tǒng)的配置是否合理既關(guān)系到硬件電路的設(shè)計(jì)又影響應(yīng)用程序的穩(wěn)定性和執(zhí)行效率,因此在整個(gè)系統(tǒng)設(shè)計(jì)中有著重要的地位。本文以高解析噴碼機(jī)設(shè)備為研究背景,研發(fā)基于ARM平臺(tái)和嵌入式Linux系統(tǒng)的底層軟件系統(tǒng),涉及Bootloader的移植、Linux內(nèi)核實(shí)時(shí)性改進(jìn)及移植、設(shè)備驅(qū)動(dòng)程序開(kāi)發(fā)、根文件系統(tǒng)的構(gòu)建等內(nèi)容。 首先,本文從系統(tǒng)整體的角度介紹高解析噴碼機(jī)的軟硬件配置,對(duì)噴頭設(shè)備的工作原理和嵌入式Linux系統(tǒng)的優(yōu)缺點(diǎn)進(jìn)行了詳細(xì)的分析,接著從代碼的角度完整敘述引導(dǎo)加載程序U-Boot的移植過(guò)程,并提供了運(yùn)行信息。 第二,以Linux-2.6.30.4內(nèi)核作為底層軟件系統(tǒng)的核心,從時(shí)鐘中斷機(jī)制的角度對(duì)嵌入式Linux系統(tǒng)的實(shí)時(shí)性進(jìn)行了分析,在對(duì)典型實(shí)時(shí)性改進(jìn)方法進(jìn)行分析的基礎(chǔ)上,結(jié)合高解析噴碼機(jī)的設(shè)備特點(diǎn),借鑒KURT-Linux的實(shí)時(shí)性改進(jìn)思想,在保留Linux系統(tǒng)周期性時(shí)鐘中斷的同時(shí)增加了one-shot時(shí)鐘中斷模式,即將原來(lái)只能在時(shí)鐘中斷點(diǎn)進(jìn)行進(jìn)程執(zhí)行和調(diào)度的方式之外增加了可隨時(shí)中斷的時(shí)鐘中斷模式,使得系統(tǒng)對(duì)實(shí)時(shí)進(jìn)程的響應(yīng)精度提高到了微秒級(jí)別。 第三,完成了內(nèi)核的移植,以字符型設(shè)備USB攝像頭為例介紹了Linux設(shè)備驅(qū)動(dòng)程序開(kāi)發(fā)的過(guò)程,最后基于yaffs2文件系統(tǒng)制作了根文件系統(tǒng)。實(shí)驗(yàn)表明底層軟件系統(tǒng)運(yùn)行穩(wěn)定,實(shí)時(shí)性有了顯著提高。
[Abstract]:As an important means of product quality supervision, jet printing marking technology has gradually attracted the attention of the society. However, as the main executive of the marking link, the performance index of domestic inkjet printer equipment has always been lower than the international level. The development of embedded technology brings a new development opportunity for the inkjet code machine industry. Whether the configuration of the underlying software system is reasonable or not is not only related to the design of hardware circuit, but also affects the stability and efficiency of the application program, so it plays an important role in the whole system design. A software system based on ARM platform and embedded Linux system is developed, which involves the real-time improvement and transplantation of Bootloader kernel, the development of device driver, the construction of root file system and so on. First of all, this paper introduces the hardware and software configuration of the high resolution inkjet code machine from the whole system angle, and analyzes the working principle of the nozzle equipment and the advantages and disadvantages of the embedded Linux system in detail. Then the porting process of the boot loader U-Boot is described from the point of view of code, and the running information is provided. Secondly, taking the Linux-2.6.30.4 kernel as the core of the underlying software system, the real-time performance of the embedded Linux system is analyzed from the point of view of the clock interrupt mechanism, and based on the analysis of the typical real-time improvement methods. Combined with the equipment characteristics of high resolution inkjet printer and using the idea of real-time improvement of KURT-Linux for reference, the periodic clock interrupt of Linux system is retained and the one-shot clock interrupt mode is added at the same time. Besides the way of executing and scheduling the process at the breakpoint in the clock, the interruptible mode of the clock is added, which makes the response precision of the system to the real-time process improved to the microsecond level. Thirdly, the kernel transplantation is completed. Taking the USB camera of the character device as an example, the development process of the Linux device driver is introduced. Finally, the root file system is made based on the yaffs2 file system. The experiment shows that the underlying software system runs stably. Real-time has been greatly improved.
【學(xué)位授予單位】:河北工業(yè)大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2013
【分類(lèi)號(hào)】:TP316.81;TP334.8
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 李小虎;王寶生;;淺談噴碼機(jī)的使用和維護(hù)[J];包裝與食品機(jī)械;2006年05期
2 付冰;噴墨打印技術(shù)的進(jìn)展和發(fā)展趨勢(shì)(一)[J];信息記錄材料;2002年03期
3 李立;;噴碼技術(shù)應(yīng)用淺析[J];廣告大觀(標(biāo)識(shí)版);2007年03期
4 毛曉波;劉國(guó)棟;陳鐵軍;黃云峰;;嵌入式機(jī)器視覺(jué)系統(tǒng)中ARM與DSP的數(shù)據(jù)通信方法[J];電子設(shè)計(jì)工程;2010年10期
5 曹喜軍;;43S噴碼機(jī)工作原理及日常故障分析[J];黑龍江科技信息;2008年21期
6 林建民;嵌入式操作系統(tǒng)技術(shù)發(fā)展趨勢(shì)[J];計(jì)算機(jī)工程;2001年10期
7 程曉宇;畢篤彥;蔡曄;;μC/OS在龍芯處理器上的移植及性能分析[J];計(jì)算機(jī)工程;2009年01期
8 胡強(qiáng);蔡自興;;一種基于改造時(shí)鐘系統(tǒng)的Linux實(shí)時(shí)化方案[J];計(jì)算機(jī)工程;2009年11期
9 鄭立;黃世震;;支持多種閃存啟動(dòng)的U-Boot的實(shí)現(xiàn)[J];計(jì)算機(jī)工程;2010年14期
10 譚良;周明天;;帶時(shí)間特性的自主訪問(wèn)控制政策及其在Linux上的設(shè)計(jì)與實(shí)現(xiàn)[J];計(jì)算機(jī)應(yīng)用;2006年12期
本文編號(hào):1557991
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1557991.html