基于ARM的实时文件存储管理系统的设计
发布时间:2018-03-29 00:15
本文选题:测量仪表 切入点:Toppers/ASP 出处:《中国地质大学(北京)》2013年硕士论文
【摘要】:随着现在测量仪器仪表的智能化应用越来越普及,其对系统的实时性和稳定性的要求也日趋增加。而且,目前该领域的发展速度也越来越快,对测量仪表的更新和扩展能力的要求也比较高。这就要求系统的更新和扩展能力要能得到保障。所以,本文主要针对上述两方面的要求,进行了基于ARM的实时文件存储管理系统的设计。 本系统最终实现的功能是:在保证实时性的前提下采集数据并在VFD显示屏上进行显示;能随时在用户的控制下保存转换后的数据(能在PC端展示分析的数据);通过本地访问可以随时读取和管理保存的数据内容;系统的固件升级。其中,显示和键盘控制充分考虑了实时性的要求,都进行了中断模式处理。 本系统需要完成的应用层软件模块:在嵌入式实时操作系统内核Toppers/ASP上完成4个主要功能任务:处理数据采集、实时数据显示、键盘人机交互、文件存储管理。本系统需要完成的驱动层软件模块:基于LPC2478(ARM7)控制器的键盘驱动;FatFS移植在SD卡上的接口驱动。Bootloader的设计:每个嵌入式系统开发都有调试和扩展功能的需要,所以该功能也进行了详细的设计。在bootloader的基础之上加入了系统的固件更新升级模块:可以远程升级固件(Xmodem文件传输协议),也可以本地SD卡升级固件(FatFS文件系统的支持)。 系统设计的最终测试结果:主要测试了系统长期运行的稳定性和数据采集保存的实时性。本系统的设计完全可以满足市面上现存的台式数字万用表的性能要求,而且在文件存储管理方面已经超越了部分高性能的数字万用表。 系统设计总结:设计前期完成的性能很低下,经过软件结构优化,最终的结果比设计初期有了明显的性能提升,主要体现在:文件遍历和数据类型转换两方面。该部分的性能提升幅度达到60%以上。系统的可扩展性非常灵活,根据需要可以扩展为远程网口通信(目前为串口通信)、高速USB通信(目前为SD卡通信)、现场大数据处理分析等。该部分的扩展还没有完成,,以后需要进一步完善。
[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.
【学位授予单位】:中国地质大学(北京)
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP333;TP311.52
【参考文献】
相关期刊论文 前8条
1 李永;嵌入式系统的发展现状和发展趋势[J];电脑知识与技术;2005年03期
2 薛成效,裘正定;简述几种实时多任务操作系统[J];单片机与嵌入式系统应用;2001年10期
3 张春芳;康震群;;基于ARM和CPLD的高速数据采集系统设计[J];今日电子;2009年04期
4 韩晓雪;曾鸣;邵贝贝;;MC9S12UF32的嵌入式文件系统数据存储模块[J];单片机与嵌入式系统应用;2010年02期
5 任慰;何顶新;赵金;;开放实时嵌入式软件平台TOPPERS的研究现状[J];单片机与嵌入式系统应用;2012年10期
6 张荫芾;应忍冬;周玲玲;;支持多核架构的微内核操作系统设计[J];计算机工程;2009年23期
7 刘巍;黄秋元;陈伟;;实时操作系统工业标准ITRON的分析[J];中国电子科学研究院学报;2006年02期
8 罗从难,孙玉芳;嵌入式系统及其特点[J];信息系统工程;2000年10期
相关博士学位论文 前1条
1 程国达;嵌入式系统的硬/软件协同设计研究[D];复旦大学;2003年
相关硕士学位论文 前1条
1 沈娟;T-Engine嵌入式平台的分析与应用研究[D];西北工业大学;2007年
本文编号:1678702
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1678702.html