节点文献
基于高速网络接口的96通道同步釆集系统数据传输与处理技术研究
A Study of Data Transimission And Processing Technology Based on High-Speed Network Interface with 96-channel Synchronous Data Acquisition System
【作者】 王栋;
【导师】 赵建;
【作者基本信息】 西安电子科技大学 , 测试计量技术及仪器, 2014, 硕士
【摘要】 随着测试计量技术和嵌入式系统的发展,数据采集系统的精度和速率不断提升,对采样通道的需求不断增加,其所产生的数据量也越来越大,对大量的采样数据进行有效的传输和处理越来越重要。本文系统来源于96通道高分辨率数字采集系统项目,该系统分为两部分,一部分是系统主控、高速网络接口、数据传输与处理,另一部分是多通道同步采样。本文工作为设计第一部分内容的嵌入式系统平台软硬件及其上位机软件。本文对系统需求及系统关键模块进行了研究,论证了总体方案,并详细论述了软硬件实现过程。硬件方面设计了以AM3354处理器为核心的嵌入式系统平台,设计了千兆以太网接口、SD卡多路选择、控制台接口转换、实时时钟、底板电源等硬件电路。在此平台上搭建了嵌入式Linux交叉开发环境进行嵌入式平台的应用开发。软件方面按照系统工作过程由总到分进行了阶段划分和各阶段子程序功能设计,同时规定了采集任务表及任务数据帧的存储格式,以及采样数据的存储格式,通过上下位机的程序实现及配合,完成了自动连接、上位机任务表生成及发送、下位机任务表解析及执行、EDMA读取SD卡、数据缓冲、TCP/IP数据传输、上位机接收数据并存储等功能的实现。最终完成了系统整体的基本功能。最后对系统进行了功能测试并提出了对系统改进的建议。
【Abstract】 With the development of measurement technology and embedded systems, the precision and rate of data acquisition systems are rising, along with the increasing demand of DAQ channels and the increasing quantities of data that produced. It has been more and more important to take an effective transmission and processing on the vast sample data.This paper comes from the project of 96-channel high-resolution data acquisition system, and this project includes two parts, one is the master control system, high –speed network interface and data transmission and processing, and the other part is a multi-channel synchronous sampling system. This article focus on the first part to design the hardware platform and software of an embedded system and it’s upper-computer program.This paper researched the system’s requirements and system key modules, demonstrates the overall plan, and expound the implementation process of the system’s hardware and software. On the hardware side, the embedded system platform based on AM3354 microprocessor, SD card read program, the console interface conversion, real-time clock, power supply and other assisted circuits are designed。After this, a cross-development environment were set up to develop embedded Linux programs.On the software side, the dividing of the system’s working stage and the design of the subprograms is based on the working process, meanwhile a storage format of the sampling task table and the sampling data are designed. And through the cooperating of the upper computer and the embedded system, a brunch of functions are accomplished, such as auto connection, task table sending and receive on the upper computer, analyzing and executing of the task table on the embedded system, reading SD card data in a EDMA way and data buffering, TCP/IP data transmission, receiving and storing data on the upper computer and so on. And after all the basic function of the system is completed.Finally, a functional test has been designed and tested, and a bunch of suggestions focus on system improving were proposed.
【Key words】 Data Transmission; Gigabit Ethernet; SD Card; TCP / IP; Embedded System;