节点文献
可加载仿真模型的FC-AE-1553协议接口卡研制
Development of FC-AE-1553 Protocol Based Simulation Model Loadable Board
【作者】 张雷;
【导师】 许永辉;
【作者基本信息】 哈尔滨工业大学 , 仪器仪表工程(专业学位), 2016, 硕士
【摘要】 随着新一代航空航天电子系统对网络通信要求的不断提高,早期使用的集中式控制通信总线MIL-STD-1553B由于速度上的限制,已成为整个航电系统的性能瓶颈,基于光纤通信技术的FC-AE-1553数据总线由于在兼容性、通讯速率、可靠性方面具有显著优势,成为MIL-STD-1553B替代方案之一。哈工大测控所某半实物综合仿真系统对仿真节点的性能、实时性及灵活性有着较高要求,需要灵活更新不同的仿真模型以满足协议测试、性能测试及故障注入测试等功能,因而需要使用通讯速率更高的FC-AE-1553总线。所以研制一种可在线灵活更换仿真模型的FC-AE-1553板卡具有重要意义。本文首先针对某半实物综合仿真系统的需求,在分析了FC(光纤通道)及其顶层映射的1553协议基础之上,提出一种可动态加载仿真模型的PCI总线FC-AE-1553板卡的设计方案,该方案的特点是仿真模型直接运行于板卡内部,同时仿真模型可以实时更新,其性能参数相对于传统MIL-STD-1553B仿真/通讯板卡在传输速率、实时性和等方面有较大提高。由于光纤1553协议较为复杂而且传输速率高,采用单一硬件实现难度较大,所以采用DSP+FPGA协同处理的模式实现FC-AE-1553协议编码逻辑实现:其中灵活性较高的FC-4层映射的1553协议由DSP软件实现;而对实时性要求较高FC-1和FC-2层由FPGA内部逻辑实现;FC-0层由串并转换模块和光电转换模块实现,解决了协议编码处理逻辑复杂而传输速率要求高的问题。开发在线加载仿真模型软件,该软件利用DSP主机加载模式实现在线加载功能,它可以对仿真板卡进行在线加载,随时动态更新仿真模型。在线加载功能显著提高了仿真卡的灵活性。仿真板卡的PCI驱动程序采用VISA集成环境开发。根据板卡功能,编写了相应的驱动函数,用户可通过调用驱动函数对板卡进行初始化、设定工作模式、协议操作函数、在线加载、复位和关闭等操作,方便了用户进行二次开发。最后对可在线加载仿真模型的FC-AE-1553卡进行测试。测试结果表明该仿真卡设计合理、运行稳定,各项功能和性能指标符合设计要求。
【Abstract】 The new generation of aerospace electronics require to increase performance network communication drastically.Due to the limit of data rate,the legacy centralized-control communication(MIL-STD-1553B)becomes the bottleneck of performance.Fiber communication technology based FC-AE-1553 bus,with significant performance gain in compatibility,speed and reliability,has become one of the substitution of MIL-STD-1553 B.Due to high performance requirement(simulation nodes performance,real-time performance and portability)of one semi-physical simulation system developed by HITATCI,we need to flexible simulation models to fulfill the requirement of test protocol,performance test,fault-insertion test,etc,which makes high-data-rate featured FC-AE-1553 favorable.Research and develop flexible,portable,dynamic-loadable FC-AE-1553-based system has significant impact.Based on the requirement of some semi-physical simulation,the thesis proposed a design of FC-AE-1553(PCI bus)with dynamic-load simulation model.The design feature is that,the simulation model runs real-time on system,meanwhile simulation is dynamically loaded.The performance gain of data rate and real time against MIL-STD-1553 B is significant.Due to Fiber 1553 protocol’s complexity and high data rate,it is hard to implement with standalone hardware.We propose a DSP+FPGA collaboration system to implement FC-AE-1553 protocol.FC-4 layer-mapped 1553 protocol,which requires high flexibility,is implemented by DSP software system;while FC-1 and FC-2 layer,which requires high real-time performance,is implemented by FPGA;FC-0 layer is implemented by deserializing module and fiber converter.Our proposed design resolves the complexity of protocol,and achieves the requirement of high data rate.The thesis develops a dynamic-loadable simulation software package,which implement the dynamic-loadable feature via DSP master loading mode.Simulation board could be loaded online,and simulation models could be changed dynamically.Loading online increases the flexibility of the simulation board.The PCI program driver is developed via VISA Integrated Development Environment.We programmed specific driver APIs for user to initialize system,set working mode,operate protocol functions,load simulation model online,reset system and close system,which makes it convenient for further development.Finally we tested the simulation model online-loadable FC-AE-1553 card.The test result shows that the simulation board is well-designed.The board system runs smoothly,and fulfills the design and functional requirement.
【Key words】 FC-AE-1553; fiber communication; online loading; semi-physical simulation;