检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中国人民武装警察部队工程大学信息工程学院,陕西 西安 [2]西安西电数字科技有限公司,陕西 西安 [3]西安西电电力系统有限公司,陕西 西安
出 处:《计算机科学与应用》2023年第12期2295-2304,共10页Computer Science and Application
摘 要:为实现标准电力通信规约MODBUS到工业物联网标准规约MQTT的灵活转换,解决工业电力电子设备与物联网云平台通信互联问题,对MODBUS和MQTT协议的通信过程进行研究,设计了一种基于MODBUS与MQTT协议转换自动化的嵌入式智能系统。该系统采用ARM Cortex-A9嵌入式架构的Freescale i.MX6主控芯片开发应用程序,通过CP210x UART驱动模块和WIFI无线模块进行通信硬件层连接,支持远距离数据传输。本方案选择以C函数加动态库的软件接口编程方式分别实现MODBUS协议模块和MQTT协议模块,并设计采用双线程及数据格式转换实现了异步协议数据的透明转换,提高了系统运行效率。经过仿真试验验证,系统稳定可靠,设计满足设计技术规范要求。In order to realize the flexible conversion from MODBUS of standard power communication protocol to MQTT of industrial Internet of Things, and solve the problem of communication between indus-trial power electronic equipment and Internet of things cloud platform, this paper studies the communication process of MODBUS and MQTT protocol, and designs an embedded intelligent sys-tem based on the automation of MODBUS and MQTT protocol conversion. The system uses the Free-scale i.MX6 master chip of the ARM Cortex-A9 embedded architecture to develop applications, and the MODBUS and MQTT protocol communication hardware layer connections are realized using the CP210x UART drive module and WIFI wireless module to support long-distance data transmission. Then the interface programming method of C function plus dynamic library is selected to realize Modbus protocol and MQTT protocol. The transparent conversion of asynchronous protocol data was realized by adopting the dual thread and data format conversion, which improves the operation ef-ficiency of the system. The design has been verified by the simulation, the system is stable and re-liable, and the simulation result meets the requirements of design specifications.
关 键 词:MODBUS MQTT i.MX6 协议自动转换 接口编程 嵌入式智能系统
分 类 号:TP3[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.249