基于Modbus RTU协议的多传感器数据采集系统设计  被引量:3

Design of Multi-sensor Data Acquisition System Based on Modbus RTU Protocol

在线阅读下载全文

作  者:史先传[1] 张本阳 卢鸿运 潘礼正[1] SHI Xianchuan;ZHANG Benyang;LU Hongyun;PAN Lizheng(School of Mechanical and Rail Transit,Changzhou University)

机构地区:[1]常州大学机械与轨道交通学院

出  处:《仪表技术与传感器》2024年第7期46-50,76,共6页Instrument Technique and Sensor

摘  要:文中在现有的电解加工机床上研发一套数据采集系统。该系统由传感器、数据采集模块和上位机等组成。数据采集模块以STM32F103RCT6微控制器为核心,通过4个RS485接口采集多个传感器数据,并通过RS232将采集到的数据发送至上位机,使用Modbus RTU协议以报文格式进行数据传输。使用C#语言在Visual Studio开发环境下进行上位机的软件编写和界面设计,可以实时显示、保存传感器数据,对传感器数据具备限位报警、状态判断、故障监测等功能。测试结果表明:该系统运行稳定,数据采集效率高,数据传输正确。In this paper,a data acquisition system was developed on existing ECM machine tools.The system mainly consisted of sensors,data acquisition modules and host computers.The data acquisition module took the STM32F103RCT6 microcontroller 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.

关 键 词:数据采集模块 多传感器 STM32F103RCT6 Modbus RTU 

分 类 号:TP212[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象