期刊文献+

STM32的电动自行车信息采集上报系统 被引量:1

Electric Bicycle Information Collection and Reporting System Based on STM32
下载PDF
导出
摘要 针对电动自行车实时监管不便的问题,设计了一种基于STM32的电动自行车信息采集系统,通过获取电池、位置和行驶状态信息并上报到服务器中,实现实时监管。为保证数据的实时获取,使用STM32单片机搭载实时操作系统RT-Thread,通过多路串口请求电池、行驶状态和位置信息,以并发方式进行数据接收、解析、模块控制和数据上报等操作;为方便系统软件升级,将系统存储器分为Bootloader区、APP区、Download区和数据区并设计了Bootloader,使系统具有在线升级功能;为防止进入系统网络盲区导致信息丢失,使用循环队列在网络盲区中保存200帧数据并在离开盲区后依次上报。经过长时间测试,系统可以稳定工作,实现了电动自行车的实时监管。 Aiming at the inconvenience of real-time supervision of electric bicycle,an information acquisition system of electric bicycle based on STM32 is designed.By acquiring battery,location and vehicle information and reporting to the server,real-time supervision is realized.In order to ensure the real-time acquisition of data,STM32 is used with real-time operating system RT-thread to request battery,driving state and location information through multi-channel serial port,and perform data receiving,analysis,module control and data reporting in a concurrent manner.In order to facilitate system software upgrade,the system memory is divided into bootloader area,APP area,download area and data area,and the bootloader is designed to enable the system to upgrade online.In order to prevent information loss caused by entering the network blind area of the system,a circular queue is used to save 200 frames of data in the network blind area and report them in turn after leaving the blind area.After a long time test,the system can work stably and realize the real-time supervision of E-bike.
作者 孟宇航 赵冬青 单彦虎 Meng Yuhang;Zhao Dongqing;Shan Yanhu(Science and Technology on Electronic Test&Measurement Laboratory,North University of China,Taiyuan 030051,China)
出处 《单片机与嵌入式系统应用》 2021年第11期79-82,85,共5页 Microcontrollers & Embedded Systems
基金 国家重点研发计划资助(项目编号:2018YFF01010500)。
关键词 电动自行车 STM32 RT-THREAD 线程 BOOTLOADER 循环队列 electric bicycle STM32 RT-Thread threads Bootloader circular queue
  • 相关文献

参考文献9

二级参考文献71

共引文献81

同被引文献5

引证文献1

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部