首页|基于Modbus RTU协议的多传感器数据采集系统设计

基于Modbus RTU协议的多传感器数据采集系统设计

扫码查看
文中在现有的电解加工机床上研发一套数据采集系统.该系统由传感器、数据采集模块和上位机等组成.数据采集模块以STM32F103RCT6 微控制器为核心,通过 4 个RS485 接口采集多个传感器数据,并通过RS232 将采集到的数据发送至上位机,使用Modbus RTU协议以报文格式进行数据传输.使用C#语言在Visual Studio开发环境下进行上位机的软件编写和界面设计,可以实时显示、保存传感器数据,对传感器数据具备限位报警、状态判断、故障监测等功能.测试结果表明:该系统运行稳定,数据采集效率高,数据传输正确.
Design of Multi-sensor Data Acquisition System Based on Modbus RTU Protocol
In this paper,a data acquisition system was developed on existing ECM machine tools.The system mainly consis-ted of sensors,data acquisition modules and host computers.The data acquisition module took the STM32F103RCT6 microcon-troller as the core,collected multiple sensor data through four RS485 interfaces,and sent the collected data to the host computer through RS232,using the Modbus RTU protocol for data transmission in message format.C#language was used to write software and interface design for the host computer in the Visual Studio development environment.It can display and save sensor data in real time,and had functions such as limit alarm,status judgment,and fault monitoring for sensor data.The test results show that the system operates stably,has high data collection efficiency and correct data transmission.

data acquisition modulemultiple sensorSTM32F103RCT6Modbus RTU

史先传、张本阳、卢鸿运、潘礼正

展开 >

常州大学机械与轨道交通学院

数据采集模块 多传感器 STM32F103RCT6 Modbus RTU

2024

仪表技术与传感器
沈阳仪表科学研究院

仪表技术与传感器

CSTPCD北大核心
影响因子:0.585
ISSN:1002-1841
年,卷(期):2024.(7)