摘要
在车联网中,需要对车内空气质量进行检测,结合Modbus协议,设计了一种可拓展的车内空气质量检测系统。该系统以微型控制单元(MCU)STM32F439为主控制核心,采用微控制单元(MCU)STM32F103作为传感器协议适配器,对甲醛浓度传感器、温湿度传感器、PM2.5/PM10传感器等气体传感器进行协议适配,将不同的传感器原生协议统一成一致的协议。基于Modbus协议通过RS485接口将传感器数据输出给主控制核心,在主控制核心对数据过滤及处理之后,发送给加速处理器(APU),并通过GPRS通信模块实时向服务端上传信息。
In the car network, air quality detection is needed. Combined with Modbus protocol, we design an extensible vehicle air quality detection system. In the system, Microprogrammed Control Unit (MCU) STM32F439 is adopted as the main control core and MCU STM32F103 is used as the sensor protocol adapter, which adapts to the gas sensors such as formaldehyde sensor, temperature and humidity sensor, PM2.5/PM10 sensor, unify different sensor protocol into an unified protocol, transmits sensor data to the main control core through RS485 interface on the basis of Modbus protocol. After the main control core filters and processes the data, it will send the data to the acceleration processor unit (APU), and upload the information to the server in real time by means of the C-PRS communication module.
出处
《电子测量技术》
2017年第8期226-230,共5页
Electronic Measurement Technology