基于LabVIEW的一种车辆无线采集系统研究与设计
2020-10-21沈鹏飞孙冰寒普俊春邵良卓杜昌博
沈鹏飞 孙冰寒 普俊春 邵良卓 杜昌博
摘 要:针对中国大学生方程式大赛的参赛赛车,为了实时监测赛车跑动数据,设计了一种基于LabVIEW的车辆无线采集系统,以便于为对赛车后期的参数优化提供数据。该系统采用STM32作为主控芯片,采用AS61-T30无线传输模块、使用LabVIEW搭建上位机数据采集、分析框架,对赛车相关数据进行实时采集。调试及测试结果表明:该系统运行可靠,数据采集及时、准确,实现了赛车在行进中动态数据监控与分析,同时解决了传统数据采集模块布线困难、装机复杂等问题,具有一定的实用性、可推广性。关键词:数据采集;无线数据传输;LabVIEW中图分类号:N945.23 文献标识码:A文章编号:1671-7988(2020)11-68-03
Abstract: In order to monitor the running data of the racing cars in the formula university race in China in real time, a vehicle wireless acquisition system based on LabVIEW was designed to provide data for the parameter optimization of the racing cars in the later stage. The system adopts STM32 as the main control chip, and AS61-t30 as wireless transmission module, and LABVIEW to build the data collection and analysis framework of the upper computer, to conduct real-time collection of racing-related data. The results of debugging and testing show that the system runs reliably, the data collection is timely and accurate, the dynamic data monitoring and analysis of the racing car is realized, and the problems such as the wiring difficulty and the complex installation of the traditional data collection module are solved.Keywords: Data collection; Wireless data transmission; LabVIEWCLC NO.: N945.23 Document Code: A Article ID: 1671-7988(2020)11-68-03
引言
在中國大学生电动方程式大赛中,为了得到赛车跑动的实时数据,以达到对赛车参数优化、数据监测、全安监控的目的,同时解决传统数据采集模块布线困难等问题,本文提出采用无线数据采集的方式,基于LabVIEW数据采集系统将对采集到的数据进行更加合理、深入的分析。
1 系统总体设计
如图1所示,本系统主要由三大部分组成:数据采集模块、无线数据发送模块和PC上位机。数据采集模块中核心处理器采用STM32F103ZET6;无线数据发送基于泽耀科技AS61-T30无线模块;PC上位机由装有LabVIEW程序的电脑组成。数据采集模块采集车辆的CAN数据并在模块中进行数据处理;无线模块接收采集模块处理后的数据并发送给PC上位机;在上位机中数据通过串口进入LabVIEW软件,在软件中有已编译好的数据处理程序,在程序运行后数据就以虚拟仪表、柱状图、波形图等形式实时展现,利用这一系统可对赛车数据进行更加有效的分析。……
