天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當(dāng)前位置:主頁 > 科技論文 > 計算機論文 >

實時操作系統(tǒng)在熱打印機中的應(yīng)用研究

發(fā)布時間:2018-03-16 03:27

  本文選題:實時操作系統(tǒng) 切入點:熱敏打印機 出處:《哈爾濱工業(yè)大學(xué)》2012年碩士論文 論文類型:學(xué)位論文


【摘要】:熱敏打印機以其打印速度快、打印質(zhì)量高、綜合使用成本低等優(yōu)點,在交易憑條、票據(jù)、條碼/標(biāo)簽等打印領(lǐng)域得到廣泛應(yīng)用。目前市場對熱敏打印機提出了越來越多的要求,如支持更多本地化語言、支持更復(fù)雜的人機接口、支持更豐富的通訊方式、支持更豐富的外接模塊等,,使得傳統(tǒng)的熱敏打印機前后臺處理模式由于自身的缺陷,已無法滿足以上需求。 通過引入操作系統(tǒng),將成熟平臺上的驅(qū)動程序、協(xié)議棧、中間件及應(yīng)用軟件應(yīng)用到熱敏打印機中,能夠彌補傳統(tǒng)設(shè)計的弊端,改善產(chǎn)品設(shè)計弊端,為此本文開展了如下工作: 首先,搭建了實時操作系統(tǒng)的開發(fā)平臺,通過比較各操作系統(tǒng)的經(jīng)濟性等可行性指標(biāo)選擇了并搭建了eCos3.0系統(tǒng)。并在eCos3.0自帶的i386平臺上對搭建的系統(tǒng)進(jìn)行了測試及熟悉系統(tǒng)開發(fā)的基本過程,測試結(jié)果表明平臺搭建成功。 接著,在SmartARM2400開發(fā)板進(jìn)行了移植實驗,主要討論了硬件抽象層的移植,包括Flash驅(qū)動移植及文件系統(tǒng)的移植,并做了相應(yīng)的移植驗證測試,測試結(jié)果表明eCos在ARM平臺上移植成功。 然后,將eCos系統(tǒng)向目標(biāo)板98NP進(jìn)行移植,并進(jìn)行了移植測試,測試結(jié)果表明eCos系統(tǒng)在目標(biāo)板上移植成功,在此基礎(chǔ)上對目標(biāo)板添加了按鍵指示燈驅(qū)動程序并進(jìn)行了相關(guān)的測試,測試結(jié)果表明成功將實時系統(tǒng)在目標(biāo)板移植之后可以根據(jù)產(chǎn)品實際需要添加相應(yīng)的服務(wù)子程序。 最后,對打印機移植平臺進(jìn)行了任務(wù)模塊及中斷優(yōu)先級的劃分,并添加完善了相應(yīng)的服務(wù)子程序,在此基礎(chǔ)上對打印機系統(tǒng)進(jìn)行了測試,包括實時性測試、通訊測試及打印效果測試實驗。測試結(jié)果表明CPU運行頻率一定時,程序在片內(nèi)Flash運行實時性較片外SDRAM好;無論程序運行在片內(nèi)Flash還是片外SDRAM,CPU運行頻率升高,系統(tǒng)實時性也提高;目標(biāo)板與上位機通訊及打印效果良好。 本文所研究的實時操作系統(tǒng)在熱打印機上的應(yīng)用得出的一些結(jié)論及數(shù)據(jù)為實時操作系統(tǒng)在其他設(shè)備上的應(yīng)用提供了一定的借鑒。
[Abstract]:Thermal printer has been widely used in the fields of trade bar, bill, bar code / label and so on because of its high printing speed, high printing quality and low cost, etc. At present, the market has put forward more and more requirements for thermal printer. Such as supporting more localized languages, supporting more complex man-machine interfaces, supporting more abundant communication modes, supporting richer external modules, etc., which makes the traditional preprocessing mode of thermal printer due to its own defects. Can no longer meet the above requirements. By introducing the operating system and applying the drivers, protocol stacks, middleware and application software on the mature platform to the thermal printer, it can make up the disadvantages of the traditional design and improve the malpractice of the product design. For this reason, this paper has carried out the following work:. First of all, the development platform of real-time operating system is built. The eCos3.0 system is selected and built by comparing the feasibility index of each operating system, and the system is tested and familiar with the basic process of system development on the i386 platform of eCos3.0. The test results show that the platform is successfully built. Then, the porting experiment is carried out on the SmartARM2400 development board, which mainly discusses the transplantation of the hardware abstraction layer, including the porting of the Flash driver and the file system, and makes the corresponding transplant verification test. The test results show that the eCos is successfully transplanted on the ARM platform. Then, the eCos system is transplanted to the target board 98NP, and the transplant test is carried out. The test results show that the eCos system is successfully transplanted on the target board. On this basis, the key indicator driver is added to the target board and the relevant tests are carried out. The test results show that the real-time system can add corresponding service subroutines according to the actual needs of the product after transplanting the target board successfully. Finally, the task module and interrupt priority of the printer transplant platform are divided, and the corresponding service subroutine is added and perfected. On this basis, the printer system is tested, including real-time test. The test results show that when the frequency of CPU is fixed, the real-time performance of the program running in Flash is better than that in SDRAM, and the real-time performance of the system is improved no matter how frequently the program runs in or out of the chip. The target board communicates with the host computer and the printing effect is good. Some conclusions and data obtained from the application of real-time operating system in thermal printer in this paper provide some reference for the application of real-time operating system in other equipments.
【學(xué)位授予單位】:哈爾濱工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2012
【分類號】:TP334.8;TP316

【參考文獻(xiàn)】

相關(guān)期刊論文 前10條

1 邵貝貝,許慶豐,王若鵬;嵌入式RTOS講座(1) 什么是嵌入式實時操作系統(tǒng)[J];單片機與嵌入式系統(tǒng)應(yīng)用;2001年07期

2 周永紅,王玲玲;如何構(gòu)建eCos嵌入式系統(tǒng)[J];單片機與嵌入式系統(tǒng)應(yīng)用;2005年11期

3 戶永清;羅江;;實時多任務(wù)操作系統(tǒng)(RTOS)引入單片機開發(fā)領(lǐng)域的研究[J];四川文理學(xué)院學(xué)報;2007年05期

4 竇振中,汪立森;標(biāo)準(zhǔn)并行接口漢字熱敏微型打印機的實現(xiàn)[J];電子計算機與外部設(shè)備;2000年04期

5 陳杰;蔣玉峰;;基于RTOS的飛行數(shù)據(jù)采集系統(tǒng)[J];電子技術(shù)應(yīng)用;2007年10期

6 陳杰;陳超;周建軍;莫欽華;;基于RTOS的小型無人機飛行控制系統(tǒng)[J];電子技術(shù)應(yīng)用;2009年04期

7 侯艷利;黃廷磊;彭建;;RTOS在電解質(zhì)分析儀中的任務(wù)調(diào)度及應(yīng)用[J];桂林電子科技大學(xué)學(xué)報;2007年01期

8 吳友宇;余翔;;基于飛思卡爾單片機的微型熱敏打印機的設(shè)計與實現(xiàn)[J];國外電子元器件;2006年07期

9 姚玉春;孟Ze;孫以澤;孫志軍;;基于DSP和RTOS的步進(jìn)電機簇絨提花控制系統(tǒng)設(shè)計[J];機械設(shè)計與制造;2011年02期

10 易宏宇;宗光華;王巍;;基于RTOS的幕墻擦洗機器人平臺控制系統(tǒng)開發(fā)[J];軍民兩用技術(shù)與產(chǎn)品;2007年02期



本文編號:1618142

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1618142.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶66b76***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com