CN-122018421-A - OpenPLC-based multi-protocol integrated remote programmable controller
Abstract
The invention relates to the technical field of industrial automation, in particular to a OpenPLC-based multi-protocol integrated remote programmable controller, which comprises a OpenPLC kernel module, a BLiotlink protocol conversion module, a reconstruction upper computer module and a BLRAT remote control module. The multi-protocol integrated system is compatible with various mainstream industrial protocols, a conversion module is not required to be additionally configured, hardware and deployment cost is reduced, an upper computer is reconfigured to simplify operation flow, programming, compiling and downloading are integrated, learning and using thresholds are reduced, an internal network penetrating function is built in, local area network limitation is broken through, remote programming, updating and configuration are supported, operation and maintenance cost is reduced, four modules are integrated, the structure is compact, peripheral expansion interfaces are reserved, flexible expansion of protocols and functions is supported, and stability and safety of data transmission and system operation are ensured by adopting encryption verification and cooperative communication mechanisms.
Inventors
- LIU YINGHONG
- YAN CHANGXIN
Assignees
- 深圳市钡铼技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260313
Claims (9)
- 1. A OpenPLC-based multi-protocol integrated remote programmable controller is characterized by comprising a OpenPLC kernel module, a BLiotlink protocol conversion module, a reconstruction upper computer module and a BLRAT remote control module, wherein hardware carriers of the four modules are industrial ARM architecture mainboards, function integration is realized on a software layer through modularized programming, and communication among the modules adopts a mode of combining an internal bus and a network interface so as to ensure real-time performance and stability of data transmission.
- 2. The multi-protocol integrated remote programmable controller based on OpenPLC of claim 1, wherein the OpenPLC kernel module reserves logic operation, register management and I/O control functions based on OpenPLC open source kernel secondary development, and additionally reserves a special communication interface adapted to BLiotlink protocol conversion module and BLRAT remote control module, and reserves USB, serial port and Ethernet peripheral expansion interface.
- 3. The multi-protocol integrated remote programmable controller based on OpenPLC of claim 1, wherein the BLiotlink protocol conversion module is independently developed multi-protocol conversion software, and an uplink protocol stack, a downlink protocol stack, a data mapping unit and a data processing unit are built in the multi-protocol conversion module and are communicated with a OpenPLC kernel module through a Modbus interface to support bidirectional data interaction of multi-type industrial protocols.
- 4. The OpenPLC-based multi-protocol integrated remote programmable controller as set forth in claim 1, wherein the reconfiguration upper computer module is developed by adopting a c# WPF framework, has a version of NexPLC v1.7.0, replaces the conventional OpenPLC editor, has integrated functions of program editing, compiling, downloading, monitoring and configuration, and supports modern convenient operation.
- 5. The multi-protocol integrated remote programmable controller based on OpenPLC of claim 1, wherein the BLRAT remote control module is integrated in a OpenPLC kernel module, and has built-in intranet penetration functions, including a communication protocol stack, an encryption unit, an intranet penetration unit and an instruction analysis unit, and can establish an encrypted communication channel between the user terminal and the controller.
- 6. The multi-protocol integrated remote programmable controller based on OpenPLC of claim 2, wherein the OpenPLC kernel module receives the compiled file uploaded by the reconstruction host computer module through a special communication interface, analyzes and runs the file, realizes data interaction through a register modbus tcp and a BLiotlink protocol conversion module, and responds to the program update and configuration issuing instruction of the BLRAT remote control module through a network.
- 7. The multi-protocol integrated remote programmable controller based on OpenPLC of claim 4, wherein the reconstruction host computer module supports three programming modes of ladder diagram, function block diagram and structured text, and a built-in compiler can compile a program into an SO format file and has the functions of programming, compiling, one-key downloading and running integration.
- 8. The multi-protocol integrated remote programmable controller based on OpenPLC, wherein the BLRAT remote control module realizes intranet penetration through a P2P penetration technology or a relay server forwarding technology, supports remote programming, program uploading and downloading, configuration issuing and state feedback, and has the functions of identity authentication, breakpoint continuous transmission and disconnection reconnection.
- 9. The multi-protocol integrated remote programmable controller based on OpenPLC of claim 3, wherein the BLiotlink protocol conversion module is capable of preprocessing collected external device data, including filtering, format conversion and anomaly detection, and is capable of realizing two-way communication with the OpenPLC kernel module through an encryption checking mechanism, and data transmission delay is lower than 100ms.
Description
OpenPLC-based multi-protocol integrated remote programmable controller Technical Field The invention relates to the technical field of industrial automation, in particular to a OpenPLC-based multi-protocol integrated remote programmable controller. Background A Programmable Logic Controller (PLC) is widely used as a core control device in the field of industrial automation in the scenes of intelligent manufacturing, building automatic control, energy management and the like. With the development of industrial Internet, industrial equipment types are increasingly abundant, communication protocols among different equipment and systems show diversified characteristics (such as Modbus, BACnet, IEC, OPCUA, MQTT and the like), and meanwhile, users have higher requirements on programming convenience and remote operation and maintenance capability of the PLC. OpenPLC is used as an open source PLC solution, and is applied to the industrial field by virtue of flexibility and expandability, but the method has obvious technical limitations that firstly, the protocol is single in support, only a small amount of basic industrial protocols can be adapted, data interaction can not be realized with peripheral and upper systems adopting different protocols directly, a protocol conversion module is required to be additionally configured, hardware cost and system complexity are increased, secondly, an interface design of upper computer programming software (OpenPLC editor) is old, the operation flow is complicated, only a limited program deployment mode is supported, and 'programming-compiling-downloading' integration can not be realized, thirdly, high-efficiency remote control capability is lacked, program updating and equipment configuration can be completed in a local area network, and the remote operation and flexible deployment requirements are limited. Although the traditional industrial PLC (such as Siemens, mitsubishi, ohm dragon and other brand products) has certain multi-protocol adaptation capability, the problems that protocol conversion depends on a special external module, the integration level is low and the cost is high generally exist, the remote programming function depends on complex network configuration, the operation threshold is high, and the requirements of light weight and low cost of small and medium-scale industrial scenes cannot be met. Therefore, a PLC solution that integrates multi-protocol conversion, simplifies programming flow, and supports flexible remote control is needed to address the deficiencies of the prior art. The main PLC technical scheme in the current industrial field is mainly divided into two types, but has obvious technical defects that the main PLC technical scheme is an open source solution based on OpenPLC, and the core framework of the main PLC technical scheme consists of a OpenPLC lower computer core and OpenPLC editor upper computer software. The lower computer kernel only supports a small amount of basic industrial protocols such as Modbus and the like based on open source code development, and data storage and logic operation are needed to be realized through a register, the upper computer software provides programming modes such as a ladder diagram, a functional block diagram and the like, but the interface design is old, the operation logic is complicated, compiled programs can be deployed to the lower computer only through multi-step operation, high-efficiency integrated deployment cannot be realized, remote operation is needed to depend on a third party remote desktop tool, limited program update can be realized only in a local area network environment, no built-in intranet penetration function is needed, and the remote operation and maintenance flexibility is poor and the operation threshold is high. In addition, the scheme has poor protocol compatibility, can not directly communicate with peripheral or upper systems adopting protocols such as BACnet, IEC104, OPCUA, MQTT, DLT and the like, and needs to additionally configure an independent protocol conversion module, so that the complexity of the system is increased, the hardware cost is also increased, and meanwhile, a special protocol conversion and data mapping mechanism is lacked, so that the data interaction efficiency is low. The other type is a traditional brand special PLC solution (such as Siemens S7 series and Mitsubishi FX series), and the core architecture comprises a special PLC kernel, special upper computer programming software and an optional protocol conversion module. The PLC kernel adopts a special chip and a closed source code for development, although the control performance is stable, the multi-protocol adaptation needs to additionally purchase a special protocol conversion module, so that the hardware purchase cost is increased, the connection and debugging flow between the modules are complex, the system deployment cost is increased, the special protocol conversion module only supports limite