无线传输在加油控制系统的应用
2016-01-13张根源,刘子龙
无线传输在加油控制系统的应用
张根源,刘子龙
(上海理工大学 光电信息与计算机工程学院,上海200093)
摘要针对传统加油系统存在布线复杂、成本高和设备分散等问题,设计了一种基于STM32控制器和nRF24L01无线收发模块的无线加油控制系统。该系统分为主站和从站两部分,从站采集储油桶的液位、油泵供油的压力等参数,主站实现数据实时显示及与上位机的通信。主/从机通过采用一主多从星型模式组建的无线通信网络进行数据传输。测试结果表明,该系统工作稳定性较高,能可靠地实现近距离点对多点无线通信。
关键词STM32;无线传输;星型模式
收稿日期:2015-04-19
作者简介:张根源(1989—),男,硕士研究生。研究方向:嵌入式系统与机器人视觉。E-mail:sh_zgy@163.com
doi:10.16180/j.cnki.issn1007-7820.2015.12.034
中图分类号TN926文献标识码A
Application of Wireless Transmission in Fuel Control System
ZHANG Genyuan,LIU Zilong
(School of Optical-Electrical and Computer Engineering,University of Shanghai for
Science and Technology,Shanghai 200093,China)
AbstractA wireless refueling controlling system based on STM32 controller and nRF24L01 wireless radio frequency transmission module is proposed for the complex wiring,high cost and scattered equipment of traditional refueling system.The system can be divided into master station (for real-time display and communication with the PC) and slave stations (for measuring parameters of oil pressure and liquid level).Master/slave stations set up wireless communication network by using Star-shaped pattern for data transmission.The test results indicate that the system works stably and realizes reliable short range point-to-multipoint wireless communication.
KeywordsSTM32;wireless transmission;star-shaped pattern
传统的加油系统存在布线复杂、设备分散、油压不稳等缺点,且维护成本高。本文采用STM32最小系统和NRF24L01无线收发模块设计了一种无线传输加油控制系统。该系统通过对加油过程的实时监控,降低了成本、提高了系统的安全性和可靠性。
基于NRF24L01芯片的无线传输具有高性能、低功耗等特点,短距离传输成本低,维护简单,其在室内监控中的使用性能稳定可靠。因此,本文采用Nordic公司的nRF24L01无线收发芯片,实现一对多无线通信的应用设计[1]。
1系统总体结构及功能
基于STM32控制器和nRF24L01的无线加油监控系统主要包括STM32最小系统构成的主从站、开关量采集模块、无线通信模块及上位机人机交互模块,如图1所示。

图1 系统模块图……p>
