Semi-physical simulation method and device of domestic PLC controller and electronic equipment

By building an OPC UA communication module in the Matlab/Simulink simulation platform to connect with a domestically produced PLC controller and establish a data sharing channel, the problems of hardware heterogeneity and operating system differences of the domestically produced PLC controller were solved. This enabled seamless simulation connection and data interaction between the domestically produced PLC and Simulink, reducing the risks and costs of debugging actual equipment.

CN122194718APending Publication Date: 2026-06-12BEIJING GUODIAN ZHISHEN CONTROL TONGDY

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING GUODIAN ZHISHEN CONTROL TONGDY
Filing Date
2026-02-03
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

Domestic PLC controllers differ fundamentally from traditional foreign hardware in instruction set architecture, bus protocol, and peripheral interface definition. This makes it impossible to directly reuse existing hardware abstraction layers and drivers, and makes low-level communication adaptation difficult. Secondly, domestic PLC controllers usually run on domestic operating systems, and the supporting development environment lacks native interface support with Matlab/Simulink. Traditional communication mechanisms based on the Windows environment are difficult to port directly across platforms, resulting in data interaction between simulation models and the domestic PLC operating environment.

Method used

In the Matlab/Simulink simulation platform, an OPC UA communication module is built based on S-function system functions to establish a communication connection with a domestic PLC controller. Simulation data is acquired through the OPC UA communication module and sent to the PLC controller, establishing a data sharing channel between ST language variables and C language control algorithms to achieve closed-loop semi-physical simulation.

🎯Benefits of technology

It achieves seamless connection between domestic PLC controllers and Matlab/Simulink simulation platforms, solving the problems of hardware abstraction layers and drivers not being directly reusable and the difficulty of adapting low-level communication. It ensures that simulation data can efficiently drive the C language control logic inside the PLC, realizing high efficiency and flexibility in data interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The application relates to a kind of localization PLC controller's semi-physical simulation method, device and electronic equipment, to industrial control technical field, including: by OPC UA communication module and PLC establishes communication connection;By OPC UA communication module, the simulation data of Simulink is sent in PLC, so that PLC generates control signal according to simulation data in data sharing channel, and the control signal is fed back to simulation platform;By OPC UA communication module, the control signal fed back by PLC controller is received, and Simulink model is operated according to the control signal, to realize closed-loop semi-physical simulation, the application is directly reusable to existing hardware abstraction layer and driver, adapts bottom layer communication, so that Simulink running on Windows can be seamlessly connected with PLC running on domestic operating system, and data interaction between simulation model and PLC running environment is smooth.
Need to check novelty before this filing date? Find Prior Art