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.
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
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.
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.
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.
Smart Images

Figure 1 
Figure 2