• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学 ›› 2022, Vol. 44 ›› Issue (06): 1056-1062.

• 计算机网络与信息安全 • 上一篇    下一篇

基于树形结构的ARINC429解码库设计方法研究

樊智勇1,魏士皓2,崔海青2   

  1. (1.中国民航大学工程技术训练中心,天津 300300;2.中国民航大学电子信息与自动化学院,天津 300300)
  • 收稿日期:2020-11-20 修回日期:2021-01-15 接受日期:2022-06-25 出版日期:2022-06-25 发布日期:2022-06-17
  • 基金资助:
    国家自然科学基金中国民航局民航联合研究基金(U1533201);中国民航大学中央高校基本科研项目(3122016A006)

An ARINC429 decoding library based on tree structure

FAN Zhi-yong1,WEI Shi-hao2,CUI Hai-qing2   

  1. (1.Engineering Techniques Training Center,Civil Aviation University of China,Tianjin 300300;
    2.College of Electronic Information and Automation,Civil Aviation University of China,Tianjin 300300,China)
  • Received:2020-11-20 Revised:2021-01-15 Accepted:2022-06-25 Online:2022-06-25 Published:2022-06-17

摘要: 在进行总线测试时,工程人员需要查询接口控制文件,并将接收到的二进制数转换为十进制,导致故障定位时间较长。针对该问题,提出了一种基于树形结构文件格式的ARINC429总线数据描述方法,并利用此描述方法基于XML建立了接口控制文件解码库。该解码库包含ARINC429数据字的传输速度、参数名称和参数单位等各种信息,能够实现ARINC429规范中BNR、BCD和DIS的解码。将该解码库应用于某型国产飞机航电系统通信导航半实物仿真平台进行验证,结果表明,仿真平台能够识别采集板卡接收到的数据并进行解码,能够做到仿真测试软件与编码库的分离,提高了可维护性,降低了仿真测试软件中解码代码的总量,且具有高度可移植性。

关键词: 航空总线, 可扩展标记语言, 接口控制文件, ARINC429

Abstract: During the bus test, engineers need to look through the interface control file and convert the received binary number to decimal number, which leads to long time of fault location. An ARINC429 bus data description method based on tree structure file format is proposed to solve this problem, and the interface control file decoding library is established based on XML by using this description method. The decoding library contains the transmission speed, parameter name, parameter unit and other information of ARINC429 data words, which can realize the decoding of BNR, BCD and DIS in ARINC429 specification. The decoding library is applied to the communication and navigation hardware in the loop simulation platform of a certain domestic aircraft avionics system. The results show that the simulation platform can identify and decode the data received by the acquisition board. It can separate the simulation test software from the coding library, improve the maintainability, and reduce the total amount of decoding code in the simulation test software, and it is highly mobile vegetative.

Key words: aviation bus, extensible markup language(XML), interface control document(ICD), ARINC429