文档介绍:摘 要
传统的 ACM(Air Cycle Machine,空气动力循环机)检测系统的参数测量主
要是通过工作人员现场操作仪器获得的,随着电子技术的不断发展和网络技术的
普及,使 ACM 参数测量获取的检测系统由嵌入式系统与网络相结合构成的模式成
为可能。它相对于传统的 ACM 检测系统参数测量方法具有成本低,不受环境、时
间条件限制等优点,而且系统控制功能和可靠性也会得到增强。
本文首先讨论了以往通常采用的 ACM 检测系统现场参数测量获取及传输方
法,接着提出了 ACM 检测系统实时采集系统设计思想和实现方案,并对该方案各
个环节的软硬件设计关键技术进行了全面的研究和描述。
该系统采用客户机/服务器模式,其中现场信息测量获取子系统和基于 Internet
的信息传输及阀门控制子系统组成服务器端,置于被监控现场;而运行有专用监
控软件的 PC 机作为客户端子系统,两者通过使用 TCP/IP 协议和自定义的应用层
通讯协议实现数据在 Internet 上双向传输。
基于 Internet 的信息采集传输及控制子系统是设计实现的关键技术。本设计的
硬件部分是以 FPGA 芯片为主要部件构成的,在 FPGA 内部以 NiosII 嵌入式软核
处理器为核心构成了 SoPC(System on Programmble Chip,片上可编程系统),由
此形成一个功能灵活的嵌入式系统。在它之上,运行了 MicroC/OS2 实时操作系统,
并移植有 LwIP(轻量级 TCP/IP 协议栈)。其中,应用程序根据功能主要划分为通讯
任务(Socket 服务器)、ACM 压力、温度等参数测量任务和阀门控制任务,这些任
务使用消息队列进行数据和信息的交换。
远程监控终端运行于 Windows 平台之上,通过直接使用 WinSock 套接字进行
网络编程,即可实现与远程服务器的高效 Internet 连接。
关键词:片上可编程系统,NiosII软核处理器,Internet,远程数据采集
ABSTRACT
Parameters measured for traditional ACM (Air Cycle Machine) testing system is
mainly by fieldwork. However, with the development of electronics technology and
network technology, it is possible to integrate embedded system and network
technology into ACM testing system. To compare with the traditional fieldwork, its
advantage is obvious, such as environment influence free, enhanced controlling function
and reliability of the system.
In this paper, the author discusses the way of parameters acquisition in field and
information's transmission. According to the above discussion, the author proposes a
design method and a project to realize the ACM testing system and research the key
technology in both of the software and hardware deeply.
Client/Server mode is applied in this system. The server is composed of a local
information acquisition