节点文献

基于嵌入式Linux的数字存储示波器的设计与软件实现

The Design of Digital Storage Oscilloscope Based on Embedded Linux and the Implementation of Software

【作者】 周政

【导师】 王成华;

【作者基本信息】 南京航空航天大学 , 电路与系统, 2008, 硕士

【摘要】 示波器在工程测量中有着广泛的应用,是工程技术人员在科研工作中最常用的电子测量仪器之一。数字存储示波器(DSO)更是以其特有的优势,成为近年来发展最快的电子测量仪器之一。随着现代测量对电子仪器精度、速度、智能化等各方面要求的提高,传统的基于单片机的测量仪器由于很难完成操作系统的嵌入、文件的管理、各种接口的集成、大容量存储器的扩展等功能,在许多领域的应用受到限制。针对这些问题,本文通过对传统DSO技术方案以及本项目具体功能和指标的分析,提出了ARM+FPGA+嵌入式Linux架构的技术方案。本系统采用Samsung公司的ARM9微处理器S3C2410作为控制核心,其强大的控制性能和灵活的接口技术可以大大简化系统的控制和编程。采用Xilinx公司的性价比较高的FPGA芯片XC3S500E,实现了数据的高速采集和处理。为了在嵌入式Linux操作系统中实现对硬件设备的操作,需要开发对应的设备驱动程序。根据系统要求,研究开发了三种设备驱动程序:GPIO设备驱动程序、SPI设备驱动程序以及FPGA设备驱动程序。实践证明这些驱动程序都能稳定的工作。同时,本文还开发了嵌入式Linux的下位机应用程序,这些应用程序都是在Qt/Embedded环境下开发的。应用程序的作用是通过调用设备驱动程序来控制系统硬件的工作以及实现良好的人机交互功能。经测试应用程序很好地完成了示波器波形的实时显示、控制以及实时响应键盘操作等功能。

【Abstract】 As one of the most common equipments the engineers use in research and development, the oscilloscope has been widely used in project measurements. The Digital Storage Oscilloscope(DSO)has become one of the most fast-developed equipments because of its proper characteristics.With the enhancing requirements on speed, precision and intelligence in modern measurement, traditional measuring instruments based on single chip system is very difficult to finish the operating system embedding, the management of files, integration of different interface, huge size memory enlargement and so on. In the past days, it is limited in many fields. In order to solve these problems, we present the scheme of ARM+FPGA+Embedded Linux according to the schemes of traditional DSOs and requirement details of this project. We choose the microprocessor S3C2410 with ARM9 core produced by Sumsung Corporation as control core. The ARM microprocessor makes the control simple as well as the programming because of its strong control ability and flexible connectors. We choose the cost-effective FPGA chip XC3S500E of Xilinx Corporation to achieve the function of fast acquisition and processing.In order to control the hardware in embedded linux, we need to develop linux device drivers. According to the system requirements, we develop three types of device drivers: GPIO device driver, SPI device driver and FPGA device driver. The test proves that these device drivers work steadily.At the same time, we develop the embedded Linux application procedures in the development environment of Qt/Embedded. The role of the applications procedures is to control the hardware of the system and achieve good interactive of human-machine. The test shows that the application proceduress complete tasks well such as real-time display, control of the waveform and response of keyboard events .

节点文献中: 

本文链接的文献网络图示:

本文的引文网络