基于ARM的實(shí)時(shí)文件存儲(chǔ)管理系統(tǒng)的設(shè)計(jì)
本文選題:測(cè)量?jī)x表 切入點(diǎn):Toppers/ASP 出處:《中國(guó)地質(zhì)大學(xué)(北京)》2013年碩士論文
【摘要】:隨著現(xiàn)在測(cè)量?jī)x器儀表的智能化應(yīng)用越來越普及,其對(duì)系統(tǒng)的實(shí)時(shí)性和穩(wěn)定性的要求也日趨增加。而且,目前該領(lǐng)域的發(fā)展速度也越來越快,對(duì)測(cè)量?jī)x表的更新和擴(kuò)展能力的要求也比較高。這就要求系統(tǒng)的更新和擴(kuò)展能力要能得到保障。所以,本文主要針對(duì)上述兩方面的要求,進(jìn)行了基于ARM的實(shí)時(shí)文件存儲(chǔ)管理系統(tǒng)的設(shè)計(jì)。 本系統(tǒng)最終實(shí)現(xiàn)的功能是:在保證實(shí)時(shí)性的前提下采集數(shù)據(jù)并在VFD顯示屏上進(jìn)行顯示;能隨時(shí)在用戶的控制下保存轉(zhuǎn)換后的數(shù)據(jù)(能在PC端展示分析的數(shù)據(jù));通過本地訪問可以隨時(shí)讀取和管理保存的數(shù)據(jù)內(nèi)容;系統(tǒng)的固件升級(jí)。其中,顯示和鍵盤控制充分考慮了實(shí)時(shí)性的要求,都進(jìn)行了中斷模式處理。 本系統(tǒng)需要完成的應(yīng)用層軟件模塊:在嵌入式實(shí)時(shí)操作系統(tǒng)內(nèi)核Toppers/ASP上完成4個(gè)主要功能任務(wù):處理數(shù)據(jù)采集、實(shí)時(shí)數(shù)據(jù)顯示、鍵盤人機(jī)交互、文件存儲(chǔ)管理。本系統(tǒng)需要完成的驅(qū)動(dòng)層軟件模塊:基于LPC2478(ARM7)控制器的鍵盤驅(qū)動(dòng);FatFS移植在SD卡上的接口驅(qū)動(dòng)。Bootloader的設(shè)計(jì):每個(gè)嵌入式系統(tǒng)開發(fā)都有調(diào)試和擴(kuò)展功能的需要,所以該功能也進(jìn)行了詳細(xì)的設(shè)計(jì)。在bootloader的基礎(chǔ)之上加入了系統(tǒng)的固件更新升級(jí)模塊:可以遠(yuǎn)程升級(jí)固件(Xmodem文件傳輸協(xié)議),也可以本地SD卡升級(jí)固件(FatFS文件系統(tǒng)的支持)。 系統(tǒng)設(shè)計(jì)的最終測(cè)試結(jié)果:主要測(cè)試了系統(tǒng)長(zhǎng)期運(yùn)行的穩(wěn)定性和數(shù)據(jù)采集保存的實(shí)時(shí)性。本系統(tǒng)的設(shè)計(jì)完全可以滿足市面上現(xiàn)存的臺(tái)式數(shù)字萬用表的性能要求,而且在文件存儲(chǔ)管理方面已經(jīng)超越了部分高性能的數(shù)字萬用表。 系統(tǒng)設(shè)計(jì)總結(jié):設(shè)計(jì)前期完成的性能很低下,經(jīng)過軟件結(jié)構(gòu)優(yōu)化,最終的結(jié)果比設(shè)計(jì)初期有了明顯的性能提升,主要體現(xiàn)在:文件遍歷和數(shù)據(jù)類型轉(zhuǎn)換兩方面。該部分的性能提升幅度達(dá)到60%以上。系統(tǒng)的可擴(kuò)展性非常靈活,根據(jù)需要可以擴(kuò)展為遠(yuǎn)程網(wǎng)口通信(目前為串口通信)、高速USB通信(目前為SD卡通信)、現(xiàn)場(chǎng)大數(shù)據(jù)處理分析等。該部分的擴(kuò)展還沒有完成,,以后需要進(jìn)一步完善。
[Abstract]:With the increasing popularity of the intelligent application of measuring instruments and instruments, the demand for the real-time and stability of the system is increasing day by day. Moreover, the speed of development in this field is also getting faster and faster. The requirement of updating and expanding ability of measuring instruments is also high. This requires that the updating and expanding ability of the system can be guaranteed. Therefore, this paper mainly aims at the above two requirements. A real-time file storage management system based on ARM is designed. The final function of this system is to collect data and display it on VFD display screen on the premise of real-time; Can save converted data at any time under the control of the user (can display the analyzed data on the PC side; can read and manage the saved data content at any time through local access; firmware upgrade of the system. Display and keyboard control fully take into account the requirements of real-time, both the interrupt mode processing. This system needs to complete the application layer software module: in the embedded real-time operating system kernel Toppers/ASP complete four main function tasks: processing data collection, real-time data display, keyboard man-machine interaction, File storage management. This system needs to complete the driver layer software module: the keyboard driver FatFS based on LPC2478 ARM7) controller transplanted on SD card interface driver. Boot Loader design: every embedded system development has the need of debugging and extending function. So this function is also designed in detail. The firmware update and upgrade module of the system is added on the basis of bootloader: the firmware X modem file transfer protocol can be remotely upgraded, or the local SD card can upgrade the firmware to support FatFS file system. The final test results of the system design: the stability of the system running for a long time and the real-time data collection and storage are mainly tested. The design of the system can completely meet the performance requirements of the existing desktop digital multimeter on the market. And in the file storage management aspect has surpassed the partial high-performance digital multimeter. Summary of the system design: the performance of the early stage of the design is very low. After the software structure optimization, the final result has obviously improved the performance compared with the early stage of the design. Mainly reflected in: file traversal and data type conversion. The performance of this part of the increase to more than 60%. The system is very flexible scalability, It can be extended to remote network port communication (serial port communication at present, high speed USB communication (SD card communication at present, big data processing and analysis on the spot, etc.). The extension of this part has not been completed and needs to be further improved in the future.
【學(xué)位授予單位】:中國(guó)地質(zhì)大學(xué)(北京)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2013
【分類號(hào)】:TP333;TP311.52
【參考文獻(xiàn)】
相關(guān)期刊論文 前8條
1 李永;嵌入式系統(tǒng)的發(fā)展現(xiàn)狀和發(fā)展趨勢(shì)[J];電腦知識(shí)與技術(shù);2005年03期
2 薛成效,裘正定;簡(jiǎn)述幾種實(shí)時(shí)多任務(wù)操作系統(tǒng)[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2001年10期
3 張春芳;康震群;;基于ARM和CPLD的高速數(shù)據(jù)采集系統(tǒng)設(shè)計(jì)[J];今日電子;2009年04期
4 韓曉雪;曾鳴;邵貝貝;;MC9S12UF32的嵌入式文件系統(tǒng)數(shù)據(jù)存儲(chǔ)模塊[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2010年02期
5 任慰;何頂新;趙金;;開放實(shí)時(shí)嵌入式軟件平臺(tái)TOPPERS的研究現(xiàn)狀[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2012年10期
6 張蔭芾;應(yīng)忍冬;周玲玲;;支持多核架構(gòu)的微內(nèi)核操作系統(tǒng)設(shè)計(jì)[J];計(jì)算機(jī)工程;2009年23期
7 劉巍;黃秋元;陳偉;;實(shí)時(shí)操作系統(tǒng)工業(yè)標(biāo)準(zhǔn)ITRON的分析[J];中國(guó)電子科學(xué)研究院學(xué)報(bào);2006年02期
8 羅從難,孫玉芳;嵌入式系統(tǒng)及其特點(diǎn)[J];信息系統(tǒng)工程;2000年10期
相關(guān)博士學(xué)位論文 前1條
1 程國(guó)達(dá);嵌入式系統(tǒng)的硬/軟件協(xié)同設(shè)計(jì)研究[D];復(fù)旦大學(xué);2003年
相關(guān)碩士學(xué)位論文 前1條
1 沈娟;T-Engine嵌入式平臺(tái)的分析與應(yīng)用研究[D];西北工業(yè)大學(xué);2007年
本文編號(hào):1678702
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1678702.html