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

J4 ›› 2012, Vol. 34 ›› Issue (1): 154-158.

• 论文 • 上一篇    下一篇

基于STM32的机载燃油计算机设计与实现

茹常剑1,景 博1,吴桂胜2   

  1. (1.空军工程大学工程学院,陕西 西安 710038;2.中国人民解放军95903部队,湖北 武汉 430331)
  • 收稿日期:2011-07-14 修回日期:2011-09-28 出版日期:2012-01-25 发布日期:2012-01-25
  • 基金资助:

    中国航空科学基金(20101996012)

Design and Implementation of an OnBoard Fuel Computer Based on the STM32 Microprocessor

RU Changjian1,JING Bo1,WU Guisheng2   

  1. (1.School of Engineering,Air Force University,Xi’an 710038;2.The 95903th Unit,PLA,Wuhan 430331,China)
  • Received:2011-07-14 Revised:2011-09-28 Online:2012-01-25 Published:2012-01-25

摘要:

针对我国现役战机电容式燃油测量系统测量精度低、维护保障问题突出、故障率较高的缺点以及对新型战机发展的需要,采用嵌入式设计理念构建基于STM32微处理器的燃油计算机,实现对燃油系统的综合管理。首先提出了核心处理板+外围电路的燃油计算机的总体设计方案,然后重点阐述了基于STM32微处理器的核心处理板和基于CPLD的信号转换板、继电器控制信号输出板的外围电路的硬件设计,编写了自动液面控制、CPLD串口通信和429总线数据收发的应用程序;最后给出了系统的实物图并对其进行了测试。测试结果表明,燃油计算机设计是可行的,该燃油计算机的构建将对提高燃油测量精度和系统维护保障性具有十分重要的现实意义。

关键词: 燃油测量系统;STM32微处理器;硬件设计;核心处理板;外围电路;软件设计

Abstract:

Aimed at the defects of the fuel measurement system of our country’s aircrafts in service, which are lower measurement accuracy, prominent maintenance problems and high failure rate, and the needs of the development of new aircraft, the embedded design idea is  used to build a fuel computer based on the STM32 microprocessor. It can realize comprehensive management of the fuel system. First, the total design project of the fuel computer is put forward, which adopts key processing board plus peripheral circuitry. Second, we focus on illustrating the hardware design of a core processing board based on the STM32 microprocessor and the peripheral circuit including the signal conversion board based on CPLD and the control signal output board of electric relay. The application programs of automatic liquid level control, CPLD serial communication and 429 bus data receiving and sending are compiled. Finally, the fuel computer is tested and the results show that the fuel computer design is feasible. The achievement of the fuel computer has very important realistic significance to enhance fuel measurement accuracy and system maintenance and support.

Key words: fuel measurement system;STM32 microprocessor;hardware design;core processor board;peripheral circuit;software design