李国达



摘 要: 随着航空电子系统的迅速发展,系统间频繁的信息交换和共享对数据传输实时性和可靠性的要求日益提高。针对这一要求,提出了一种基于CPCI系统下实现AFDX协议端系统接口功能的方法,为通用信号处理平台与AFDX网络的连接提供接口,实现AFDX协议数据的高速、可靠性传输。给出了采用FPGA实现该功能的整体方案,详细描述了基于FPGA硬件开发的各个模块的设计,介绍了基于MicroBlaze的嵌入式软件设计方法,在EDK中采用C语言实现AFDX协议IP层以上的封装和解封装。最后经过仿真验证和测试,验证了设计的正确性。
关键词: CPCI; 航空全双工以太网; 端系统; FPGA; 嵌入式软件
中图分类号: TN914.3?34; TM417 文献标识码: A 文章编号: 1004?373X(2016)07?0075?04
Abstract: In recent years, with the rapid development of avionics system, the requirements of frequent information exchange and sharing among system to real?time and reliable data transmission are increasingly increased. For this issue, a method based on CPCI system to implement the end system interface function of AFDX protocol is proposed, which can provide the interface to connect the general signal processing platform and AFDX network, and realize the high?speed and reliable transmission of AFDX protocol data. The overall plan of using FPGA to implement the function is given, in which the design of each module developed by FPGA hardware is described in detail, and the embedded software design method based on MicroBlaze is introduced. The C language is used to realize the capsulation and decapsulation above IP layer of the AFDX protocol in EDK. The correctness of the design was verified by simulation and test.
Keywords: CPCI; AFDX; end system; FPGA; embedded software
0 引 言
随着通信技术的高速发展,嵌入式系统对数据传输速率的要求更高。在航空等军用电子设备中,实现信号处理算法的数字信号处理机,起着至关重要的作用。CPCI总线技术有效解决了高速互联问题。
20世纪90年代,PCI总线技术被广泛应用,但是它可靠性较低,无法满足对正常运行时间要求较高的高可用性系统。加之其主板连接器可靠性低,更换时易被损坏。CPCI的高带宽特点,决定了其适用于高速数据通信场合。随着国外著名计算机系统公司基于CPCI产品和方案的推广及PICMG/PRC对CPCI技术的宣传,我国工业控制领域越来越多地把CPCI应用于高性能嵌入式系统之中。本文研究了在CPCI系统环境下高速数字通信AFDX协议端系统接口的电路设计与功能实现。采用Verilog编程实现基于FPGA的硬件设计部分,采用C编程实现基于MicroBlaze的嵌入式软件设计。……