[go: up one dir, main page]

CN111897300A - A software/hardware co-simulation system based on OPC-UA and its adaptive collaboration method - Google Patents

A software/hardware co-simulation system based on OPC-UA and its adaptive collaboration method Download PDF

Info

Publication number
CN111897300A
CN111897300A CN202010756379.4A CN202010756379A CN111897300A CN 111897300 A CN111897300 A CN 111897300A CN 202010756379 A CN202010756379 A CN 202010756379A CN 111897300 A CN111897300 A CN 111897300A
Authority
CN
China
Prior art keywords
simulation
unit
opc
data
units
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010756379.4A
Other languages
Chinese (zh)
Other versions
CN111897300B (en
Inventor
许齐敏
涂静正
陈彩莲
关新平
张景龙
陈营修
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jiao Tong University
Original Assignee
Shanghai Jiao Tong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Jiao Tong University filed Critical Shanghai Jiao Tong University
Priority to CN202010756379.4A priority Critical patent/CN111897300B/en
Publication of CN111897300A publication Critical patent/CN111897300A/en
Application granted granted Critical
Publication of CN111897300B publication Critical patent/CN111897300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/41885Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by modeling, simulation of the manufacturing system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/04Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
    • G05B13/042Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4184Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by fault tolerance, reliability of production system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
    • G05B19/41855Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication by local area network [LAN], network structure
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
    • G05B19/4186Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication by protocol, e.g. MAP, TOP
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25232DCS, distributed control system, decentralised control unit
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • General Physics & Mathematics (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Software Systems (AREA)
  • Medical Informatics (AREA)
  • Evolutionary Computation (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种基于OPC‑UA的软/硬件联合仿真系统及其自适应协同方法,涉及系统仿真技术领域。系统包括仿真单元、仿真适配器、通信模块和时钟代理。系统的自适应协同方法包括以下步骤:1、创建联合仿真环境,建立各仿真单元的仿真模型;2、配置联合仿真环境,建立信息模型,各仿真适配器连接至对应的仿真单元,设置各仿真单元的服务质量QoS需求;3、根据各仿真单元的仿真步长,根据步长协同自适应方法确定协同仿真步长;4、运行联合仿真;5、联合仿真结束,评估结果。本发明的联合仿真方案进行各仿真单元的协同控制,优化了系统结构,降低了计算复杂度,能够有效处理实际工业网络结构复杂、信息交互频繁的场景。

Figure 202010756379

The invention discloses an OPC-UA-based software/hardware co-simulation system and an adaptive collaboration method thereof, and relates to the technical field of system simulation. The system includes an emulation unit, an emulation adapter, a communication module and a clock agent. The adaptive collaboration method of the system includes the following steps: 1. Create a co-simulation environment, and establish a simulation model of each simulation unit; 2. Configure the co-simulation environment, establish an information model, connect each simulation adapter to a corresponding simulation unit, and set up each simulation unit 3. According to the simulation step size of each simulation unit, determine the co-simulation step size according to the step size cooperative adaptive method; 4. Run the co-simulation; 5. After the co-simulation, evaluate the results. The co-simulation scheme of the present invention performs cooperative control of each simulation unit, optimizes the system structure, reduces the computational complexity, and can effectively deal with scenes with complex actual industrial network structures and frequent information exchanges.

Figure 202010756379

Description

一种基于OPC-UA的软/硬件联合仿真系统及其自适应协同 方法A software/hardware co-simulation system based on OPC-UA and its adaptive collaboration method

技术领域technical field

本发明涉及系统仿真技术领域,尤其涉及一种基于OPC-UA的软/硬件联合仿真系统及其自适应协同方法。The invention relates to the technical field of system simulation, in particular to an OPC-UA-based software/hardware co-simulation system and an adaptive collaboration method thereof.

背景技术Background technique

仿真系统是智能工厂运行性能、效能、安全等方面进行验证测试和优化升级的必要手段。由于智能工厂场景覆盖多种生产工艺场景与异构网络,并含有复杂网络的拓扑结构,该场景下的仿真系统不仅需要涉及到工艺仿真、物流仿真、网络仿真,能源仿真等软件,还涉及到专用的实时硬件模拟器、物理测试床等硬件仿真器。因此,建立精细准确的仿真测试需对软/硬混合的多仿真系统进行联合仿真,才能更全面地模拟实际系统的运行机理,从而评估系统的设计方案。The simulation system is a necessary means for the verification test and optimization and upgrading of the operation performance, efficiency and safety of the smart factory. Since the smart factory scenario covers a variety of production process scenarios and heterogeneous networks, and contains complex network topology, the simulation system in this scenario not only needs to involve software such as process simulation, logistics simulation, network simulation, and energy simulation, but also involves Dedicated real-time hardware simulators, physical test beds and other hardware simulators. Therefore, to establish a precise and accurate simulation test, it is necessary to co-simulate a mixed soft/hard multi-simulation system, in order to more comprehensively simulate the operation mechanism of the actual system and evaluate the design scheme of the system.

参与联合仿真的每个仿真单元(Simulation Unit,SU)运行完整仿真的一部分,并需与其它的仿真单元进行时间同步,从而实现完整耦合系统的全局仿真。理想情况下,工厂的每个模块或设备提供自己的仿真模型,用系统体系工程方法来创建、通信和维护仿真模型,最后集成至一个完整的系统仿真模型。然而,现有的联合仿真标准仅限于特定行业或特定工具,缺乏统一的标准进行集成,例如,功能实体接口(Functional Mock-up Interface,FMI)和高层体系结构(High-Level Architecture,HLA)等。Each simulation unit (SU) participating in the co-simulation runs a part of the complete simulation and needs to be time-synchronized with other simulation units to realize the global simulation of the complete coupled system. Ideally, each module or device in the plant provides its own simulation model, which is created, communicated, and maintained using a systems engineering approach, and finally integrated into a complete system simulation model. However, the existing co-simulation standards are limited to specific industries or specific tools, and lack unified standards for integration, such as functional entity interface (Functional Mock-up Interface, FMI) and high-level architecture (High-Level Architecture, HLA), etc. .

在多个仿真单元联合仿真时,需要对多个仿真系统或设备进行统一的协同管理,各个仿真器按照设定的步长进行仿真数据的交互。但由于各仿真系统运行模式(离散、连续和混合)的求解复杂程度,以及系统运行周期的不同,各仿真器的运行步长具有极大的差异。例如,通信和电气类的步长通常比较短,为微秒至毫秒级,加工、物流类的步长比较长,为分钟甚至小时级别。同步步长的差异会导致协同仿真的效率降低,设置不合理时会导致仿真系统出现无法收敛的问题,进而无法得到正确的验证结果。因此,如何设计联合仿真的仿真步长,保障仿真系统安全有效地运行,是实现智能工厂复杂系统的半实物仿真方案需要解决的一个关键技术。In the joint simulation of multiple simulation units, it is necessary to carry out unified collaborative management of multiple simulation systems or equipment, and each simulator performs simulation data interaction according to the set step size. However, due to the complexity of solving the operation modes (discrete, continuous and mixed) of each simulation system and the difference of the system operation period, the operation step size of each simulator has a great difference. For example, the step size of communication and electrical categories is usually relatively short, ranging from microseconds to milliseconds, and the step size of processing and logistics categories is relatively long, ranging from minutes to hours. The difference in synchronization step size will reduce the efficiency of co-simulation, and if the setting is unreasonable, the simulation system will fail to converge, and the correct verification result cannot be obtained. Therefore, how to design the simulation step size of the co-simulation and ensure the safe and effective operation of the simulation system is a key technology that needs to be solved to realize the semi-physical simulation scheme of the complex system of the smart factory.

国内申请号为201610055323.X的名称为“一种基于变时间窗同步方式的电力通信系统联合仿真平台及其同步方法”的专利,针对电力通信系统设计的仿真同步模块根据电力系统的仿真数据切换仿真的同步时间窗,对两个仿真工具进行控制,但是其设置的时间窗仅在已设置的固定宽、窄时间步长进行切换,无法根据智能工厂复杂系统的多个仿真单元设置合适的时间步长,仿真精度有限。国内申请号为201810498282.0的名称为“一种多仿真器协同的仿真方法、仿真主控平台和仿真系统”的专利,采用拉格朗日多项式对仿真步长大于预测协同步长的仿真器进行插值,并将该数据传递给其它仿真器进行协同仿真计算,但是其数值预测技术仅为理论逼近,无法准确描述仿真器的真实响应。国内申请号为201810697108.9的名称为“一种用于实现多仿真模拟设备实时同步控制方法”的专利,采用实时通讯网连接仿真计算机和多个仿真设备,仿真计算机收集相应仿真模拟设备的反馈数据完成仿真,但是当参与仿真的设备数量大于某一阈值时,通讯和交互机制无法保障大量数据的实时、可靠传输,同时仿真计算机也无法保障控制指令和控制数据的实时反馈。国内申请号为201610988418.7的名称为“一种仿真系统自动同步可靠通信方法”的专利,将网络通信代码封装至一个类中,每个类的对象包括一个发送队列与接收队列,通过传输有效数据包(确保按序接收一次且只接收一次的数据包)使得各仿真子系统可以通过该类的对象实现可靠通信,但是当仿真运行过程中某个或某些子系统出现故障导致重新启动时,需要恢复上次运行时的通信关系,无法保障出现通信错误时的传输可靠性和安全性。The domestic application number is 201610055323.X, the patent is entitled "A power communication system co-simulation platform based on variable time window synchronization method and its synchronization method", and the simulation synchronization module designed for the power communication system is switched according to the simulation data of the power system. The synchronous time window of the simulation controls two simulation tools, but the set time window can only be switched between the fixed wide and narrow time steps that have been set, and the appropriate time cannot be set according to the multiple simulation units of the complex system of the smart factory step size, the simulation accuracy is limited. The domestic application number is 201810498282.0 for a patent titled "A Multi-Simulator Collaborative Simulation Method, Simulation Main Control Platform and Simulation System", which uses Lagrangian polynomials to interpolate the simulators whose simulation step size is greater than the predicted collaborative step size. , and transfer the data to other simulators for co-simulation calculation, but its numerical prediction technology is only a theoretical approximation and cannot accurately describe the real response of the simulator. The domestic application number is 201810697108.9 and the patent is entitled "A method for realizing real-time synchronous control of multiple simulation devices". The real-time communication network is used to connect the simulation computer and multiple simulation devices. The simulation computer collects the feedback data of the corresponding simulation devices to complete the simulation. However, when the number of devices participating in the simulation is greater than a certain threshold, the communication and interaction mechanism cannot guarantee the real-time and reliable transmission of a large amount of data, and the simulation computer cannot guarantee the real-time feedback of control instructions and control data. The domestic application number is 201610988418.7, the patent is entitled "A method for automatic synchronization and reliable communication of simulation system", which encapsulates the network communication code into a class, and the objects of each class include a sending queue and a receiving queue. (Ensure that the data packets are received in order and only once), so that each simulation subsystem can achieve reliable communication through objects of this class, but when one or some subsystems fail and restart during the simulation operation, it is necessary to Restoring the communication relationship in the last run cannot guarantee the reliability and security of transmission when a communication error occurs.

综上,现有技术方案的缺点在于:To sum up, the disadvantages of the prior art solutions are:

(1)现有的联合仿真系统大多针对全软件仿真或全硬件仿真,未考虑软、硬件同时存在的复杂耦合系统,不适用于智能工厂的半实物系统仿真方案。(1) Most of the existing co-simulation systems are aimed at full software simulation or full hardware simulation, and do not consider the complex coupled system coexisting with software and hardware, and are not suitable for the semi-physical system simulation scheme of smart factories.

(2)现有的联合仿真大多假设仿真单元之间的实时可靠通信可以实现,很少涉及具体的通信架构与规范、以及通信和交互机制来保障联合仿真单元之间的有效交互。(2) Most of the existing co-simulations assume that real-time and reliable communication between simulation units can be achieved, and rarely involve specific communication architectures and specifications, as well as communication and interaction mechanisms to ensure effective interaction between co-simulation units.

(3)现有的多个仿真系统的仿真方案采用基于OPC-UA协议的客户端/服务端架构,通过建立点对点的会话构建耦合网络进行数据交互,并将数据处理集成于总控制器,仿真单元仅接收总控制器的指令并反馈相关数据,这导致该架构下的计算负载较大,当仿真单元设备数量过多时,无法保障数据传输的可靠性。(3) The existing simulation scheme of multiple simulation systems adopts the client/server architecture based on the OPC-UA protocol, and builds a coupled network for data interaction by establishing a point-to-point session, and integrates data processing into the general controller. The unit only receives instructions from the general controller and feeds back relevant data, which results in a large computational load under this architecture. When the number of simulation units is too large, the reliability of data transmission cannot be guaranteed.

(4)现有技术设计多个仿真单元的联合仿真步长时多采用在固定的时间步长中进行切换,对于时间步长长于协同仿真步长的仿真单元采用插值预测反馈数据,然而固定的时间步长和插值预测无法保障复杂耦合系统仿真的精确性。(4) When designing the co-simulation step size of multiple simulation units in the prior art, switching is usually performed in a fixed time step size. For the simulation unit whose time step size is longer than the co-simulation step size, interpolation is used to predict the feedback data. Time step and interpolation prediction cannot guarantee the accuracy of the simulation of complex coupled systems.

因此,本领域的技术人员致力于开发一种基于OPC-UA的软/硬件联合仿真系统及其自适应协同方法,利用基于OPC-UA协议的订阅/发布架构的联合仿真方案进行各仿真单元的协同控制,以进一步优化系统结构,降低计算复杂度,能够有效处理实际工业网络结构复杂、信息交互频繁的场景。Therefore, those skilled in the art are committed to developing a software/hardware co-simulation system based on OPC-UA and an adaptive collaboration method thereof, and use the co-simulation scheme of the subscription/publishing architecture based on the OPC-UA protocol to perform the simulation of each simulation unit. Collaborative control can further optimize the system structure, reduce the computational complexity, and can effectively deal with the actual industrial network structure complex and frequent information interaction scenarios.

发明内容SUMMARY OF THE INVENTION

有鉴于现有技术的上述缺陷,本发明所要解决的技术问题包括:In view of the above-mentioned defects of the prior art, the technical problems to be solved by the present invention include:

(1)如何构建智能工厂的复杂耦合系统中软/硬件混合的仿真方案;(1) How to construct a software/hardware hybrid simulation scheme in a complex coupled system of a smart factory;

(2)如何设计具体的通信和交互机制来保障联合仿真的各个仿真单元数据交互的可靠性;(2) How to design a specific communication and interaction mechanism to ensure the reliability of the data interaction of each simulation unit of the co-simulation;

(3)如何在参与联合仿真的仿真单元的时间步长不一致的问题下,针对智能工厂的复杂耦合系统设计自适应步长调整方案,使得联合仿真能精确、有效地进行。(3) How to design an adaptive step size adjustment scheme for the complex coupled system of the smart factory under the problem that the time steps of the simulation units participating in the co-simulation are inconsistent, so that the co-simulation can be carried out accurately and effectively.

为实现上述目的,本发明提供了一种基于OPC-UA的软/硬件联合仿真系统,包括仿真单元、仿真适配器、通信模块和时钟代理;To achieve the above object, the present invention provides a software/hardware co-simulation system based on OPC-UA, including an emulation unit, an emulation adapter, a communication module and a clock agent;

所述仿真单元包括工艺仿真、物流仿真、网络仿真,能源仿真等软件,以及专用的实时硬件模拟器、物理测试床等硬件仿真器;The simulation unit includes software such as process simulation, logistics simulation, network simulation, and energy simulation, as well as hardware simulators such as dedicated real-time hardware simulators and physical test beds;

所述仿真适配器包括OPC-UA客户端和仿真单元接口,所述仿真适配器采用OPC-UA协议,被设置为仿真单元与中间件代理进行数据交互的接口,以完成联合仿真的数据交互;Described simulation adapter comprises OPC-UA client end and simulation unit interface, described simulation adapter adopts OPC-UA agreement, is set as the interface of simulation unit and middleware agent to carry out data interaction, to complete the data interaction of co-simulation;

所述通信模块根据所述仿真单元的传输要求设置传输协议,对于有低时延要求的所述仿真单元,所述通信模块采用统一架构数据报协议(OPC UA Datagram Protocol,UADP);对于只需非实时的传输流的所述仿真单元,所述通信模块采用UADP或者UDP协议中的任一种;The communication module sets a transmission protocol according to the transmission requirements of the simulation unit, and for the simulation unit with low latency requirements, the communication module adopts the unified architecture datagram protocol (OPC UA Datagram Protocol, UADP); The simulation unit of the non-real-time transport stream, the communication module adopts any one of UADP or UDP protocol;

所述时钟代理控制联合仿真的协同仿真步长设置,联合仿真期间每个所述仿真单元每执行一个仿真步长之后通过所述仿真适配器向所述时钟代理发送一条报告消息以报告该仿真步骤已完成,当所有的所述仿真单元均报告已完成当前的仿真步骤后,所述时钟代理向每个所述仿真单元发送一条仿真步长确认信息或配置调整信息消息以开始下个仿真步长的仿真步骤;若后续仿真步长需要调整,则发送所述配置调整信息,若后续仿真步长保持不变则发送所述仿真步长确认信息。The clock agent controls the co-simulation step size setting of the co-simulation. During the co-simulation, each simulation unit sends a report message to the clock agent through the simulation adapter after each simulation step is executed to report that the simulation step has been completed. Complete, when all the simulation units report that the current simulation step has been completed, the clock agent sends a simulation step confirmation message or configuration adjustment information message to each of the simulation units to start the next simulation step. Simulation step: if the subsequent simulation step size needs to be adjusted, the configuration adjustment information is sent, and if the subsequent simulation step size remains unchanged, the simulation step size confirmation information is sent.

进一步地,所述时钟代理被设置为用于实现各个所述仿真单元的分布式交互;各所述仿真单元的工作状态和反馈数据通过相应的所述仿真适配器,根据仿真器间数据的订阅规则通过所述通信模块发送给相应的所述仿真适配器和所述仿真单元。Further, the clock agent is set to realize the distributed interaction of each of the simulation units; the working state and feedback data of each of the simulation units pass through the corresponding simulation adapter, according to the subscription rules of the data between the simulators. It is sent to the corresponding simulation adapter and the simulation unit through the communication module.

本发明还提供一种基于OPC-UA的软/硬件联合仿真系统的自适应协同方法,包括以下步骤:The present invention also provides a kind of adaptive collaboration method based on OPC-UA software/hardware co-simulation system, comprising the following steps:

步骤1:用户创建联合仿真环境,建立各个所述仿真单元的仿真模型;Step 1: the user creates a co-simulation environment, and establishes a simulation model of each of the simulation units;

步骤2:配置所述联合仿真环境,建立信息模型,各所述仿真适配器连接至对应的所述仿真单元,且设置所述联合仿真环境中的各所述仿真单元所需的服务质量QoS需求,建立基础的所述联合仿真环境;Step 2: configure the co-simulation environment, establish an information model, each of the simulation adapters is connected to the corresponding simulation unit, and set the quality of service QoS requirements required by each of the simulation units in the co-simulation environment, establishing the underlying co-simulation environment;

步骤3:根据各所述仿真单元的仿真步长,根据步长协同自适应方法确定联合仿真的协同仿真步长;所述协同仿真步长可以保障某个或某些仿真单元内出现突发事件(如故障等)时整体联合仿真系统的稳定运行;Step 3: According to the simulation step size of each of the simulation units, the co-simulation step size of the co-simulation is determined according to the step size cooperative adaptive method; the co-simulation step size can ensure that an emergency occurs in one or some simulation units. (such as failure, etc.) the stable operation of the overall co-simulation system;

步骤4:运行联合仿真;Step 4: Run the co-simulation;

步骤5:联合仿真结束,评估仿真结果。Step 5: The co-simulation ends, and the simulation results are evaluated.

进一步地,在所述步骤2中,构建所述联合仿真环境时,所述仿真单元的所述仿真适配器采用OPC-UA协议与所述仿真单元进行数据交互。Further, in the step 2, when the co-simulation environment is constructed, the simulation adapter of the simulation unit uses the OPC-UA protocol to perform data interaction with the simulation unit.

进一步地,在所述步骤2中,构建所述联合仿真环境时,采用基于OPC-UA协议的发布/订阅(Pub/Sub)机制完成各所述仿真单元的分布式交互。Further, in the step 2, when constructing the co-simulation environment, a publish/subscribe (Pub/Sub) mechanism based on the OPC-UA protocol is used to complete the distributed interaction of the simulation units.

进一步地,在所述步骤3中,所述协同仿真步长的确定为以下三种情况中的一种:Further, in the step 3, the co-simulation step size is determined as one of the following three situations:

情况一:各仿真单元正常运行时,联合仿真基于时序划分,进行到下一时序步长前所有的所述仿真单元需完成自己的模拟计算;联合仿真的所述协同仿真步长选择接近通信交互周期T的所有所述仿真单元的最小可能的仿真时间步长Ti(i=1,…,N,N为参与联合仿真的仿真单元数量)的最小公倍数;Case 1: When each simulation unit is running normally, the co-simulation is based on time sequence division, and all the simulation units need to complete their own simulation calculations before proceeding to the next time sequence step; the co-simulation step size of the co-simulation is selected to be close to the communication interaction the least common multiple of the smallest possible simulation time step Ti (i=1, .

情况二:当新增一个或多个所述仿真单元时,联合仿真在完成当前时间步长的仿真后,即所述时钟代理接收到所有所述仿真单元的报告当前仿真步骤已完成的消息后,所述时钟代理重新计算联合仿真的协同仿真步长;此时联合仿真的所述协同仿真步长选择原正常运行时的联合仿真步长与新增的所述仿真单元的最小可能的仿真时间步长的最小公倍数;Situation 2: When one or more of the simulation units are added, after the co-simulation completes the simulation of the current time step, that is, after the clock agent receives the messages from all the simulation units reporting that the current simulation step has been completed , the clock agent recalculates the co-simulation step size of the co-simulation; at this time, the co-simulation step size of the co-simulation selects the co-simulation step size of the original normal operation and the minimum possible simulation time of the newly added simulation unit the least common multiple of the step size;

情况三:当突发事件检测机制检测到某个或某些仿真单元出现突发事件时,联合仿真自适应地切换到基于事件触发的运行方式,所有的突发事件需确保按照正确的顺序被顺次执行,此时的联合仿真是非周期的。若该突发事件已于所述时钟代理(Clock Agent)进行预设,则可提前于前一时间同步点进入事件触发模式,否则各所述仿真单元回退至前一仿真同步点。联合仿真的所述协同仿真步长按照当前所有突发事件的触发时间点和剩余正常运行的所述仿真单元的仿真时间步长的最小公倍数的进行确定。Scenario 3: When the emergency detection mechanism detects an emergency in one or some simulation units, the co-simulation adaptively switches to the event-triggered operation mode. Executed sequentially, the co-simulation at this time is aperiodic. If the emergency event has been preset in the clock agent (Clock Agent), the event-triggered mode can be entered in advance of the previous time synchronization point, otherwise each of the simulation units rolls back to the previous simulation synchronization point. The co-simulation step size of the co-simulation is determined according to the least common multiple of the triggering time point of all the current emergency events and the simulation time step size of the remaining normal running simulation units.

进一步地,在所述步骤3中,各所述仿真单元按照自己的仿真步长进行仿真与数据交互,所述协同仿真步长仅作为最小间隔基础步长。Further, in the step 3, each simulation unit performs simulation and data interaction according to its own simulation step size, and the co-simulation step size is only used as the minimum interval basic step size.

进一步地,所述步骤4包括以下步骤:Further, the step 4 includes the following steps:

步骤4.1:各所述仿真单元在每一个仿真时间步长里根据所述步骤1建立得到的仿真模型更新自己的仿真输出;Step 4.1: in each simulation time step, each simulation unit updates its own simulation output according to the simulation model established in step 1;

步骤4.2:各所述仿真单元将更新的仿真配置输出发送至所述仿真适配器;Step 4.2: each simulation unit sends the updated simulation configuration output to the simulation adapter;

步骤4.3:各所述仿真适配器作为发布方将其对应的所述仿真单元的输出组成数据集,用于数据发布的准备;所述数据集和OPC-UA信息模型的节点相连,包括发布数据集和数据集域;Step 4.3: Each of the simulation adapters, as a publisher, forms a data set with the output of the corresponding simulation unit for the preparation of data publishing; the data set is connected to the nodes of the OPC-UA information model, including the published data set and dataset domain;

步骤4.4:各仿真单元发布的所述数据集传入写入组;所述写入组为数据交互中消息的生产者,用户可自行添加数据集写入函数;Step 4.4: The data set released by each simulation unit is passed into the write group; the write group is the producer of the message in the data interaction, and the user can add the data set write function by himself;

步骤4.5:所述通信模块根据所述仿真单元的时延要求以对应的传输协议在选择的传输层进行数据传输;Step 4.5: the communication module performs data transmission at the selected transport layer with the corresponding transport protocol according to the delay requirement of the simulation unit;

步骤4.6:相应的所述仿真适配器作为订阅方接收到已订阅主题的消息数据后,通过读入组获取订阅数据集,并将该数据发送至对应的所述仿真单元;所述读入组为数据交互中消息的接收者,用户可添加数据集读取函数;Step 4.6: After the corresponding simulation adapter receives the message data of the subscribed topic as a subscriber, it obtains the subscription data set by reading in the group, and sends the data to the corresponding simulation unit; the reading group is: The receiver of the message in the data interaction, the user can add the data set reading function;

步骤4.7:所述仿真单元完成当前仿真步骤,通过所述仿真适配器向所述时钟代理发送报告消息以报告当前仿真步骤已完成;Step 4.7: the simulation unit completes the current simulation step, and sends a report message to the clock agent through the simulation adapter to report that the current simulation step has been completed;

步骤4.8:所述时钟代理确认收到所有所述仿真单元已完成当前时间步骤的消息报告后,向当前所有所述仿真单元发送一条仿真步长确认信息或配置调整信息,通知其可进行到下一步长的仿真步骤;若后续仿真步长需要调整,则发送所述配置调整信息,若后续仿真步长保持不变,则发送所述仿真步长确认信息;Step 4.8: After the clock agent confirms that it has received the message report that all the simulation units have completed the current time step, it sends a simulation step confirmation message or configuration adjustment message to all the current simulation units, notifying them that they can proceed to the next step. One-step simulation step; if the subsequent simulation step needs to be adjusted, the configuration adjustment information is sent, and if the subsequent simulation step remains unchanged, the simulation step confirmation information is sent;

步骤4.9:返回执行所述步骤4.1。Step 4.9: Return to step 4.1.

进一步地,在所述步骤4.3中,所述发布数据集是发布信息的容器,由发布的变量及元信息组成,包含一组变量、事件过滤、应用特定信息及元数据;所述数据集域为发布变量的描述,包含选择的信息模型节点以及发布、采样、出错处理等额外信息。Further, in the step 4.3, the published data set is a container for publishing information, consisting of published variables and meta-information, including a set of variables, event filtering, application-specific information and meta-data; the data set domain A description of the distribution variable, including the selected information model node and additional information such as distribution, sampling, error handling, etc.

进一步地,在所述步骤4.5中,所述数据传输包括以下两种情况:针对低时延要求的数据流,使用UADP直接映射至参考模型的第2层,消息于以太网帧中打包;针对非实时数据流,将UADP数据报直接映射至UDP,消息于UDP包中打包;所述消息需经过安全密钥服务器进行安全加封后进行传输;Further, in the step 4.5, the data transmission includes the following two situations: for a data stream with low latency requirements, use UADP to directly map to the second layer of the reference model, and the message is packaged in an Ethernet frame; For non-real-time data streams, the UADP datagram is directly mapped to UDP, and the message is packaged in a UDP packet; the message needs to be securely sealed by the security key server for transmission;

所述安全密钥服务器基于OPC-UA协议构建,管理所述发布方和所述订阅方的安全密钥,通过OPC-UA客户端-服务端形式与发布方、订阅方建立连接。The security key server is constructed based on the OPC-UA protocol, manages the security keys of the publisher and the subscriber, and establishes a connection with the publisher and the subscriber through the OPC-UA client-server form.

与现有技术方案相比,本发明的有益技术效果在于:Compared with the prior art solutions, the beneficial technical effects of the present invention are:

(1)采用联合仿真系统,使得参与联合仿真的每个仿真单元仅运行完整仿真的一部分,通过与其它仿真单元的数据交互实现完整耦合系统的全局仿真,从而解决了智能工厂多个软/硬件仿真系统混合带来的问题,更全面地模拟了实际系统的运行机理。(1) The co-simulation system is adopted, so that each simulation unit participating in the co-simulation only runs a part of the complete simulation, and realizes the global simulation of the complete coupling system through data interaction with other simulation units, thus solving the problem of multiple software/hardware in the smart factory. The problems brought about by the simulation system mixing more comprehensively simulate the operation mechanism of the actual system.

(2)利用基于OPC-UA协议的订阅/发布架构的联合仿真方案进行各仿真单元的协同控制,建立了扁平化的工业仿真系统,相较于集中式的总控制器与多个从控制器的仿真方案,本发明进一步优化了系统结构,使得计算复杂度大大降低,各仿真单元之间可分布式交互,显著提高了仿真系统的可靠性,可以有效处理实际工业网络结构复杂、信息交互频繁的场景。(2) The co-simulation scheme of subscription/publishing architecture based on OPC-UA protocol is used to carry out cooperative control of each simulation unit, and a flat industrial simulation system is established. Compared with the centralized master controller and multiple slave controllers The present invention further optimizes the system structure, so that the computational complexity is greatly reduced, and each simulation unit can interact in a distributed manner, which significantly improves the reliability of the simulation system, and can effectively deal with the complex structure of the actual industrial network and frequent information interaction. scene.

以下将结合附图对本发明的构思、具体结构及产生的技术效果作进一步说明,以充分地了解本发明的目的、特征和效果。The concept, specific structure and technical effects of the present invention will be further described below in conjunction with the accompanying drawings, so as to fully understand the purpose, characteristics and effects of the present invention.

附图说明Description of drawings

图1是本发明的一个较佳实施例的软/硬混合联合仿真系统架构图;Fig. 1 is a soft/hard hybrid co-simulation system architecture diagram of a preferred embodiment of the present invention;

图2是本发明的一个较佳实施例的协同自适应控制方法流程图;2 is a flowchart of a cooperative adaptive control method according to a preferred embodiment of the present invention;

图3是本发明的一个较佳实施例的配置联合仿真环境的服务质量QoS需求示意图;3 is a schematic diagram of the quality of service QoS requirements for configuring a co-simulation environment according to a preferred embodiment of the present invention;

图4是本发明的一个较佳实施例的发布方与订阅方数据交互过程示意图;4 is a schematic diagram of a data interaction process between a publisher and a subscriber according to a preferred embodiment of the present invention;

图5是本发明的一个较佳实施例的通信模块传输仿真适配器所发布数据的过程示意图。FIG. 5 is a schematic diagram of a process of a communication module transmitting data published by an emulation adapter according to a preferred embodiment of the present invention.

其中,1-通信模块,2-仿真适配器,3-仿真单元,4-时钟代理,21-OPC-UA客户端,22-仿真单元接口。Among them, 1-communication module, 2-emulation adapter, 3-emulation unit, 4-clock agent, 21-OPC-UA client, 22-emulation unit interface.

具体实施方式Detailed ways

以下参考说明书附图介绍本发明的多个优选实施例,使其技术内容更加清楚和便于理解。本发明可以通过许多不同形式的实施例来得以体现,本发明的保护范围并非仅限于文中提到的实施例。The following describes several preferred embodiments of the present invention with reference to the accompanying drawings, so as to make its technical content clearer and easier to understand. The present invention can be embodied in many different forms of embodiments, and the protection scope of the present invention is not limited to the embodiments mentioned herein.

本发明的目的在于克服现有联合仿真方案的缺陷,提供一种针对智能工厂场景的软/硬混合联合仿真系统及其协同自适应方法,可以实现智能工厂的半实物复杂系统仿真。The purpose of the present invention is to overcome the defects of the existing co-simulation scheme, and to provide a soft/hard hybrid co-simulation system and a collaborative adaptive method for the smart factory scene, which can realize the semi-physical complex system simulation of the smart factory.

如图1所示,一种基于OPC-UA的软/硬件联合仿真系统包括通信模块1、若干个仿真适配器2(Simulation Adaptor,SA)、仿真单元3(Simulation Unit,SU),以及时钟代理4(Clock Agent,CA)。仿真适配器2包括OPC-UA客户端21和仿真单元接口22。As shown in Figure 1, an OPC-UA-based software/hardware co-simulation system includes a communication module 1, several simulation adapters 2 (Simulation Adaptors, SA), a simulation unit 3 (Simulation Unit, SU), and a clock agent 4 (Clock Agent, CA). The emulation adapter 2 includes an OPC-UA client 21 and an emulation unit interface 22 .

运行联合仿真时,通过时钟代理4控制联合仿真的仿真步长实现各个仿真单元3的分布式交互,各仿真单元3的工作状态和反馈数据通过相应的仿真适配器2,根据仿真器间数据的订阅规则通过通信模块1发送给相应的仿真适配器2和仿真单元3,完成有效的联合仿真。When running the co-simulation, the simulation step size of the co-simulation is controlled by the clock agent 4 to realize the distributed interaction of each simulation unit 3, and the working state and feedback data of each simulation unit 3 pass through the corresponding simulation adapter 2, according to the subscription of the data between the simulators. The rules are sent to the corresponding simulation adapter 2 and the simulation unit 3 through the communication module 1 to complete effective co-simulation.

通信模块1根据仿真单元3的传输要求设置传输协议,对于有低时延要求的仿真单元3,可采用统一架构数据报协议(OPC UA Datagram Protocol,UADP),将数据报直接映射至OSI(Open System Interconnection,OSI)参考模型的第2层,从而保证消息的低循环时间要求;对于只需非实时的传输流的仿真单元,可采用前者方式,也可将UADP数据报映射至用户数据报协议(User Datagram Protocol,UDP)的UDP数据包中进行传输。The communication module 1 sets the transmission protocol according to the transmission requirements of the simulation unit 3. For the simulation unit 3 with low latency requirements, the unified architecture datagram protocol (OPC UA Datagram Protocol, UADP) can be used to directly map the datagram to the OSI (Open System Interconnection (OSI) reference model layer 2, thus ensuring low cycle time requirements for messages; for simulation units that only require non-real-time transport streams, the former method can be used, or the UADP datagram can be mapped to the user datagram protocol (User Datagram Protocol, UDP) for transmission in UDP packets.

仿真适配器2采用一种基于OPC-UA的仿真适配器,包含:OPC-UA客户端21和仿真单元接口22。OPC-UA客户端21基于OPC统一架构(OPC Unified Architecture,OPC-UA),该架构提供了一致、完整的地址空间和服务模型,能够跨平台地进行通信,具有更高地安全性和可靠性。采用OPC-UA协议进行智能工厂场景下的软/硬件混合的联合仿真可实现元数据的无缝访问,有助于提高仿真系统的可拓展性,从而满足柔性工业制造的生产环境的精确仿真要求。所述仿真单元接口22与仿真单元3一一对应,根据仿真单元3的物理特性进行数据连接。The emulation adapter 2 adopts an OPC-UA-based emulation adapter, including: an OPC-UA client 21 and an emulation unit interface 22 . The OPC-UA client 21 is based on the OPC Unified Architecture (OPC Unified Architecture, OPC-UA), which provides a consistent and complete address space and service model, can communicate across platforms, and has higher security and reliability. Using the OPC-UA protocol for software/hardware hybrid co-simulation in smart factory scenarios can achieve seamless access to metadata, help improve the scalability of the simulation system, and meet the precise simulation requirements of the production environment of flexible industrial manufacturing . The simulation unit interface 22 corresponds to the simulation unit 3 one-to-one, and performs data connection according to the physical characteristics of the simulation unit 3 .

仿真单元3包含智能工厂场景下的软/硬件仿真器,包括工艺仿真、物流仿真、网络仿真、能源仿真等软件,以及专用的实时硬件模拟器、物理测试床等硬件仿真器。The simulation unit 3 includes software/hardware simulators in the smart factory scenario, including software such as process simulation, logistics simulation, network simulation, and energy simulation, as well as hardware simulators such as dedicated real-time hardware simulators and physical test beds.

时钟代理4控制联合仿真的协同仿真步长的设置。联合仿真期间每个仿真单元3每执行一个仿真步长之后通过仿真适配器2向时钟代理4发送报告消息以报告该仿真步骤已完成,当所有的仿真单元3均报告已完成当前的仿真步骤后,时钟代理4向每个仿真单元3发送一条仿真步长确认信息或配置调整信息消息以开始下个仿真步长的仿真步骤。若后续仿真步长需要调整,则发送配置调整信息,若后续仿真步长保持不变则发送仿真步长确认信息。The clock agent 4 controls the setting of the co-simulation step size of the co-simulation. During the co-simulation, each simulation unit 3 sends a report message to the clock agent 4 through the simulation adapter 2 after each simulation step is performed to report that the simulation step has been completed. When all the simulation units 3 report that the current simulation step has been completed, The clock agent 4 sends to each simulation unit 3 a simulation step size confirmation message or a configuration adjustment information message to start the simulation step of the next simulation step size. If the subsequent simulation step size needs to be adjusted, the configuration adjustment information is sent, and if the subsequent simulation step size remains unchanged, the simulation step size confirmation message is sent.

如图2所示为一种基于OPC-UA的软/硬件联合仿真系统的协同自适应方法流程图,包括以下步骤:Figure 2 is a flowchart of a collaborative adaptive method of a software/hardware co-simulation system based on OPC-UA, including the following steps:

步骤1:用户创建联合仿真环境,建立各个仿真单元(软、硬件混合)的仿真模型。Step 1: The user creates a co-simulation environment and establishes a simulation model of each simulation unit (mixed software and hardware).

步骤2:配置联合仿真环境,建立信息模型。Step 2: Configure the co-simulation environment and establish an information model.

步骤2.1:仿真适配器连接至相应的仿真单元。Step 2.1: The emulation adapter is connected to the corresponding emulation unit.

步骤2.2:若仿真适配器在合理的时间内未收到仿真单元的连接请求,关闭网络连接,该仿真单元退出联合仿真。所述合理的时间取决于应用服务的类型及通信基础设施等。Step 2.2: If the simulation adapter does not receive a connection request from the simulation unit within a reasonable time, the network connection is closed, and the simulation unit exits the co-simulation. The reasonable time depends on the type of application service, the communication infrastructure, and the like.

步骤2.3:设置联合仿真环境各仿真单元的服务质量(Quality of Service,QoS)需求,包括带宽保证(Bandwidth Guarantee)及最大时延(Maximum Latency)等要求。底层需读取相应的QoS要求并配置相应参数。Step 2.3: Set the quality of service (Quality of Service, QoS) requirements of each simulation unit in the co-simulation environment, including requirements such as bandwidth guarantee (Bandwidth Guarantee) and maximum delay (Maximum Latency). The bottom layer needs to read the corresponding QoS requirements and configure the corresponding parameters.

步骤3:根据各仿真单元的仿真步长,根据步长协同自适应方法确定联合仿真的协同仿真步长。Step 3: According to the simulation step size of each simulation unit, the co-simulation step size of the co-simulation is determined according to the step size cooperative adaptation method.

所述步长协同自适应方法可以在新增一个或多个仿真单元、某个或某些仿真单元内出现突发事件(如故障等)导致需要更细化的仿真步长时,自适应地调整联合仿真系统的协同仿真步长,包含以下三种情况:The step size cooperative adaptive method can adaptively adjust the step size when one or more simulation units are added, or when an unexpected event (such as a fault, etc.) occurs in one or some simulation units, resulting in a need for a more refined simulation step size. Adjust the co-simulation step size of the co-simulation system, including the following three cases:

①各仿真单元正常运行时,联合仿真基于时序划分,进行到下一时序步长前所有的仿真单元需完成自己的模拟计算。联合仿真的协同仿真步长选择接近通信交互周期T的所有仿真单元的最小可能的仿真时间步长Ti(i=1,…,N,N为参与联合仿真的仿真单元数量)的最小公倍数;①When each simulation unit is running normally, the co-simulation is based on time sequence division, and all simulation units need to complete their own simulation calculations before proceeding to the next time sequence step. The co-simulation step size of the co-simulation selects the least common multiple of the smallest possible simulation time step Ti (i=1,...,N, N is the number of simulation units participating in the co-simulation) of all simulation units close to the communication interaction period T;

②当新增一个或多个仿真单元时,联合仿真在完成当前时间步长的仿真后,即时钟代理接收到所有仿真单元的报告当前仿真步骤已完成的消息后,时钟代理重新计算联合仿真的协同仿真步长。此时联合仿真的协同仿真步长选择原正常运行时的联合仿真步长与新增的仿真单元的最小可能的仿真时间步长的最小公倍数;②When one or more simulation units are added, after the co-simulation completes the simulation of the current time step, that is, after the clock agent receives a message from all simulation units reporting that the current simulation step has been completed, the clock agent recalculates the co-simulation value. Cosimulation step size. At this time, the co-simulation step size of the co-simulation selects the least common multiple of the co-simulation step size in the original normal operation and the minimum possible simulation time step size of the newly added simulation unit;

③当突发事件检测机制检测到某个或某些仿真单元出现突发事件时,联合仿真自适应地切换到基于事件触发的运行方式,所有的突发事件需确保按照正确的顺序被顺次执行,此时的联合仿真是非周期的。若该突发事件已于时钟代理(Clock Agent)进行预设,则可提前于前一时间同步点进入事件触发模式,否则各仿真单元回退至前一仿真同步点。联合仿真的协同仿真步长按照当前所有突发事件的触发时间点和剩余正常运行的仿真单元的仿真时间步长的最小公倍数的进行确定。③ When the emergency detection mechanism detects an emergency in one or some simulation units, the co-simulation adaptively switches to the event-triggered operation mode. Execution, the co-simulation at this time is aperiodic. If the emergency event has been preset in the clock agent (Clock Agent), the event trigger mode can be entered in advance of the previous time synchronization point, otherwise each simulation unit rolls back to the previous simulation synchronization point. The co-simulation step size of the co-simulation is determined according to the least common multiple of the trigger time point of all the current emergency events and the simulation time step size of the remaining normal running simulation units.

步骤4:运行联合仿真。Step 4: Run the co-simulation.

步骤4.1:各仿真单元在每一个仿真时间步长里根据第一步建立得到的仿真模型更新自己的仿真输出。Step 4.1: In each simulation time step, each simulation unit updates its own simulation output according to the simulation model established in the first step.

步骤4.2:各仿真单元将更新的仿真配置输出发送至仿真适配器。Step 4.2: Each simulation unit sends the updated simulation configuration output to the simulation adapter.

步骤4.3:各仿真适配器(发布方)将其对应的仿真单元输出组成数据集(Datasets),用于数据发布的准备。所述数据集和OPC-UA的信息模型的节点(如变量)相连,包括发布数据集(Published Datasets)和数据集域(Dataset Fields)。Step 4.3: Each simulation adapter (publisher) outputs its corresponding simulation unit to form a data set (Datasets), which is used for the preparation of data release. The data sets are connected with nodes (eg variables) of the information model of OPC-UA, including published data sets (Published Datasets) and data set fields (Dataset Fields).

所述发布数据集是发布信息的容器,由发布的变量及元信息组成,包含一组变量、事件过滤、应用特定信息及元数据(Meta Data)。The published data set is a container of published information, consisting of published variables and meta information, including a set of variables, event filtering, application specific information and meta data (Meta Data).

所述数据集域即为发布变量的描述,包含选择的信息模型节点以及发布、采样、出错处理等额外信息。The dataset domain is the description of the release variable, including the selected information model node and additional information such as release, sampling, error handling, etc.

步骤4.4:各仿真单元发布的数据集传入写入组(WriterGroup)。所述写入组为数据交互中消息的生产者,用户可添加DatasetWrite(数据集写入)函数。Step 4.4: The data set published by each simulation unit is transferred to the WriterGroup. The write group is a producer of messages in data interaction, and a user can add a DatasetWrite (dataset write) function.

步骤4.5:通信模块根据仿真单元的时延要求以对应的传输协议在选择的传输层进行数据传输。所述传输过程包括以下两种情况:针对低时延要求的数据流,使用UADP直接映射至参考模型的第2层,消息于以太网帧中打包;针对非实时数据流,将UADP数据报直接映射至UDP,消息于UDP包中打包。所述消息需经过安全密钥服务器(Security Key Server)进行安全加封(Secure Envelope)后进行传输。Step 4.5: The communication module performs data transmission at the selected transport layer with the corresponding transport protocol according to the delay requirement of the simulation unit. The transmission process includes the following two cases: for data streams with low latency requirements, UADP is used to directly map to the second layer of the reference model, and messages are packaged in Ethernet frames; for non-real-time data streams, UADP datagrams are directly Mapped to UDP, messages are packaged in UDP packets. The message needs to be transmitted after being securely encapsulated (Secure Envelope) by a Security Key Server (Security Key Server).

所述安全密钥服务器是基于OPC-UA协议的服务器,管理发布方和订阅方的安全密钥,通过客户端-服务端(Client-Server)形式与发布方、订阅方建立连接。The security key server is a server based on the OPC-UA protocol, manages the security keys of the publisher and the subscriber, and establishes a connection with the publisher and the subscriber through a client-server (Client-Server) form.

步骤4.6:相应的仿真适配器接收到已订阅主题的消息数据后,通过读入组(ReaderGroup)获取订阅数据集,并将该数据发送至对应的仿真单元(订阅方)。所述读入组为数据交互中消息的接收者,用户可添加DatasetRead(数据集读取)函数。Step 4.6: After the corresponding simulation adapter receives the message data of the subscribed topic, it obtains the subscription data set by reading in the group (ReaderGroup), and sends the data to the corresponding simulation unit (subscriber). The read-in group is the receiver of the message in the data interaction, and the user can add the DatasetRead function.

步骤4.7:仿真单元完成当前仿真步骤,通过仿真适配器向时钟代理发送消息报告当前仿真步骤已完成。Step 4.7: The simulation unit completes the current simulation step, and sends a message to the clock agent through the simulation adapter to report that the current simulation step has been completed.

步骤4.8:时钟代理确认收到所有仿真单元已完成当前时间步骤的消息报告后,向当前所有仿真单元发送一条消息,通知其可进行到下一步长的仿真步骤。所述消息为仿真步长的确认信息或配置调整信息,若后续仿真步长需要调整,则发送配置调整信息,若后续仿真步长保持不变则发送仿真步长的确认信息。Step 4.8: After confirming receipt of the message report that all simulation units have completed the current time step, the clock agent sends a message to all current simulation units, informing them that they can proceed to the next long simulation step. The message is confirmation information of the simulation step size or configuration adjustment information. If the subsequent simulation step size needs to be adjusted, the configuration adjustment information is sent, and if the subsequent simulation step size remains unchanged, the confirmation information of the simulation step size is sent.

步骤4.9:转到步骤4.1。Step 4.9: Go to Step 4.1.

步骤5:联合仿真结束,评估仿真结果。Step 5: The co-simulation ends, and the simulation results are evaluated.

上述步骤2中,对联合仿真环境进行初始化配置,建立信息模型的示意图如图3所示。In the above step 2, the co-simulation environment is initialized and configured, and a schematic diagram of establishing an information model is shown in FIG. 3 .

在上述步骤4.3,4.4和4.6中,发布方与订阅方数据交互过程示意图如图4所示。In the above steps 4.3, 4.4 and 4.6, the schematic diagram of the data interaction process between the publisher and the subscriber is shown in Figure 4.

在上述步骤4.5中,通信模块传输仿真适配器发布数据过程示意图如图5所示。In the above step 4.5, a schematic diagram of the process of publishing data by the communication module transmission simulation adapter is shown in FIG. 5 .

本发明的优点在于:The advantages of the present invention are:

1、采用联合仿真系统,使得参与联合仿真的每个仿真单元仅运行完整仿真的一部分,通过与其它仿真单元的数据交互实现完整耦合系统的全局仿真,从而解决了智能工厂多个软/硬件仿真系统混合带来的问题,更全面地模拟了实际系统的运行机理。1. The co-simulation system is adopted, so that each simulation unit participating in the co-simulation only runs a part of the complete simulation, and realizes the global simulation of the complete coupled system through data interaction with other simulation units, thus solving multiple software/hardware simulations in the smart factory. The problems brought about by system mixing more comprehensively simulate the operation mechanism of the actual system.

2、利用基于OPC-UA协议的订阅/发布架构的联合仿真方案进行各仿真单元的协同控制,建立了扁平化的工业仿真系统,相较于集中式的总控制器与多个从控制器的仿真方案,本发明进一步优化了系统结构,使得计算复杂度大大降低,各仿真单元之间可分布式交互,显著提高了仿真系统的可靠性,可以有效处理实际工业网络结构复杂、信息交互频繁的场景。2. The co-simulation scheme based on the subscription/publishing architecture of the OPC-UA protocol is used to carry out the collaborative control of each simulation unit, and a flat industrial simulation system is established, compared with the centralized master controller and multiple slave controllers. Simulation scheme, the present invention further optimizes the system structure, so that the computational complexity is greatly reduced, each simulation unit can interact in a distributed manner, the reliability of the simulation system is significantly improved, and the actual industrial network structure is complex and the information is exchanged frequently. Scenes.

以上详细描述了本发明的较佳具体实施例。应当理解,本领域的普通技术无需创造性劳动就可以根据本发明的构思作出诸多修改和变化。因此,凡本技术领域中技术人员依本发明的构思在现有技术的基础上通过逻辑分析、推理或者有限的实验可以得到的技术方案,皆应在由权利要求书所确定的保护范围内。The preferred embodiments of the present invention have been described in detail above. It should be understood that many modifications and changes can be made according to the concept of the present invention by those skilled in the art without creative efforts. Therefore, all technical solutions that can be obtained by those skilled in the art through logical analysis, reasoning or limited experiments on the basis of the prior art according to the concept of the present invention shall fall within the protection scope determined by the claims.

Claims (10)

1. A software/hardware combined simulation system based on OPC-UA is characterized by comprising a simulation unit, a simulation adapter, a communication module and a clock agent;
the simulation unit comprises software such as process simulation, logistics simulation, network simulation, energy simulation and the like, and a hardware simulator such as a special real-time hardware simulator, a physical test bed and the like;
the simulation adapter comprises an OPC-UA client and a simulation unit interface, adopts an OPC-UA protocol and is set as an interface for data interaction between the simulation unit and the middleware agent so as to complete the data interaction of joint simulation;
the communication module sets a transmission Protocol according to the transmission requirement of the simulation unit, and for the simulation unit with a low delay requirement, the communication module adopts a unified architecture Datagram Protocol (OPC UA Datagram Protocol, UADP); for the simulation unit which only needs non-real-time transmission stream, the communication module adopts any one of UADP or UDP protocol;
the clock agent controls the setting of the collaborative simulation step length of the joint simulation, after each simulation unit executes a simulation step length in the joint simulation, the clock agent sends a report message to the clock agent through the simulation adapter to report that the simulation step is completed, and when all the simulation units report that the current simulation step is completed, the clock agent sends a simulation step length confirmation message or a configuration adjustment message to each simulation unit to start the simulation step of the next simulation step length; and if the subsequent simulation step length needs to be adjusted, sending the configuration adjustment information, and if the subsequent simulation step length is kept unchanged, sending the simulation step length confirmation information.
2. The OPC-UA based combined software/hardware emulation system of claim 1 wherein said clock agent is arranged to effect distributed interaction of respective ones of said emulation units; and the working state and feedback data of each simulation unit are sent to the corresponding simulation adapter and the corresponding simulation unit through the corresponding simulation adapter and the communication module according to the subscription rule of the data among the simulators.
3. An adaptive cooperation method of a software/hardware combined simulation system based on OPC-UA is characterized by comprising the following steps:
step 1: a user creates a joint simulation environment and establishes a simulation model of each simulation unit;
step 2: configuring the joint simulation environment, establishing an information model, connecting each simulation adapter to the corresponding simulation unit, setting the QoS (quality of service) requirement required by each simulation unit in the joint simulation environment, and establishing the basic joint simulation environment;
and step 3: determining the cooperative simulation step length of the joint simulation according to the simulation step length of each simulation unit and a step length cooperative adaptive method; the collaborative simulation step length can ensure the stable operation of the whole combined simulation system when an emergency (such as a fault) occurs in a certain simulation unit or some simulation units;
and 4, step 4: running the joint simulation;
and 5: and (5) after the joint simulation is finished, evaluating a simulation result.
4. The adaptive coordination method for OPC-UA based software/hardware co-simulation system according to claim 3, wherein in said step 2, when constructing said co-simulation environment, said simulation adapter of said simulation unit performs data interaction with said simulation unit using OPC-UA protocol.
5. The adaptive coordination method for OPC-UA based software/hardware co-simulation system according to claim 3, wherein in said step 2, when constructing said co-simulation environment, a publish/subscribe (Pub/Sub) mechanism based on OPC-UA protocol is used to complete distributed interaction of each simulation unit.
6. The adaptive collaborative method for OPC-UA based co-simulation systems according to claim 3, wherein in step 3, the collaborative simulation step size is determined to be one of the following three cases:
the first condition is as follows: when each simulation unit normally operates, joint simulation is carried out based on time sequence division, and all simulation units need to complete self simulation calculation before the next time sequence step length; selecting the minimum common multiple of the minimum possible simulation time step length Ti (i is 1, …, N, N is the number of simulation units participating in the joint simulation) of all the simulation units which are close to the communication interaction period T by the joint simulation step length selection;
case two: when one or more simulation units are newly added, after the simulation of the current time step length is completed in the joint simulation, namely after the clock agent receives the information of all the simulation units reporting that the current simulation step is completed, the clock agent recalculates the cooperative simulation step length of the joint simulation; selecting the minimum common multiple of the joint simulation step length in the original normal operation and the minimum possible simulation time step length of the newly added simulation unit according to the joint simulation step length;
case three: when the emergency detection mechanism detects an emergency of one or some simulation units, the joint simulation is adaptively switched to an operation mode based on event triggering, all the emergency needs to be ensured to be sequentially executed according to a correct sequence, and the joint simulation is aperiodic. If the emergency event is preset in the Clock Agent (Clock Agent), the event trigger mode can be entered in advance of the previous time synchronization point, otherwise, each simulation unit returns to the previous simulation synchronization point. And determining the collaborative simulation step length of the joint simulation according to the triggering time points of all current emergency events and the least common multiple of the simulation time step lengths of the rest simulation units which normally operate.
7. The adaptive coordination method for OPC-UA based software/hardware co-simulation system according to claim 3, wherein in said step 3, each of said simulation units performs simulation and data interaction according to its own simulation step size, said co-simulation step size being only used as a minimum interval base step size.
8. The adaptive collaborative method for OPC-UA based combined software/hardware emulation system according to claim 3, wherein the step 4 comprises the steps of:
step 4.1: each simulation unit updates the own simulation output according to the simulation model established in the step 1 in each simulation time step;
step 4.2: each simulation unit sends the updated simulation configuration output to the simulation adapter;
step 4.3: each simulation adapter is used as a publisher to combine the output of the corresponding simulation unit into a data set for preparing data publishing; the nodes of the data set and the OPC-UA information model are connected and comprise a release data set and a data set domain;
step 4.4: the data sets issued by the simulation units are transmitted into a write group; the writing group is a producer of messages in data interaction, and a user can add a data set writing function by himself;
step 4.5: the communication module transmits data in a selected transmission layer by a corresponding transmission protocol according to the time delay requirement of the simulation unit;
step 4.6: after the corresponding simulation adapter serving as a subscriber receives message data of a subscribed topic, a subscription data set is obtained through a read-in group, and the data is sent to the corresponding simulation unit; the read-in group is a receiver of messages in data interaction, and a user can add a data set reading function;
step 4.7: the simulation unit completes the current simulation step, and sends a report message to the clock agent through the simulation adapter to report that the current simulation step is completed;
step 4.8: after confirming that all the simulation units complete the message report of the current time step, the clock agent sends a piece of simulation step length confirmation information or configuration adjustment information to all the current simulation units to inform the simulation units of going to the next long simulation step; if the subsequent simulation step length needs to be adjusted, sending the configuration adjustment information, and if the subsequent simulation step length is kept unchanged, sending the simulation step length confirmation information;
step 4.9: and returning to execute the step 4.1.
9. The adaptive collaborative method for OPC-UA based co-simulation system of claim 8 wherein in step 4.3, the release data set is a container of release information, consisting of released variables and meta information, including a set of variables, event filtering, application specific information and meta data; the data set domain is the description of the release variables and contains the selected information model nodes and additional information such as release, sampling, error processing and the like.
10. The adaptive coordination method for OPC-UA based combined software/hardware emulation system according to claim 8, wherein in said step 4.5, said data transmission comprises the following two cases: for the data stream with low delay requirement, directly mapping to the layer 2 of the reference model by using UADP, and packaging the message in the Ethernet frame; directly mapping the UADP datagram to UDP aiming at the non-real-time data stream, and packaging the message in a UDP packet; the message needs to be transmitted after being safely encapsulated by a safety key server;
the security key server is constructed based on an OPC-UA protocol, manages the security keys of the publisher and the subscriber, and establishes connection with the publisher and the subscriber through an OPC-UA client-server form.
CN202010756379.4A 2020-07-31 2020-07-31 OPC-UA-based software/hardware joint simulation system and self-adaptive coordination method thereof Active CN111897300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010756379.4A CN111897300B (en) 2020-07-31 2020-07-31 OPC-UA-based software/hardware joint simulation system and self-adaptive coordination method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010756379.4A CN111897300B (en) 2020-07-31 2020-07-31 OPC-UA-based software/hardware joint simulation system and self-adaptive coordination method thereof

Publications (2)

Publication Number Publication Date
CN111897300A true CN111897300A (en) 2020-11-06
CN111897300B CN111897300B (en) 2024-05-24

Family

ID=73182822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010756379.4A Active CN111897300B (en) 2020-07-31 2020-07-31 OPC-UA-based software/hardware joint simulation system and self-adaptive coordination method thereof

Country Status (1)

Country Link
CN (1) CN111897300B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112434420A (en) * 2020-11-20 2021-03-02 国网山东省电力公司电力科学研究院 Time synchronization and data interaction method for hybrid simulation of comprehensive energy system
CN112818545A (en) * 2021-02-03 2021-05-18 东北电力大学 Power information physical joint simulation platform based on OPC
CN113268888A (en) * 2021-06-23 2021-08-17 上海交通大学 Control and information model fusion method in industrial automation system
CN114745285A (en) * 2022-04-11 2022-07-12 电子科技大学 Large-scale distributed virtualized network simulation method based on virtualized container
CN115562892A (en) * 2022-12-02 2023-01-03 北京卓翼智能科技有限公司 Redis-based simulation system time management method, system, device and equipment
CN115586732A (en) * 2022-10-12 2023-01-10 中国航发四川燃气涡轮研究院 Joint simulation device
CN117033252A (en) * 2023-10-09 2023-11-10 中核武汉核电运行技术股份有限公司 Combined simulation communication system based on opcua
CN117103281A (en) * 2023-10-20 2023-11-24 深圳墨影科技有限公司 Robot full fusion simulation system and method
CN119105472A (en) * 2024-10-17 2024-12-10 上海伊世智能科技有限公司 An intelligent safety assessment method for port industrial control
GB2631577A (en) * 2023-06-07 2025-01-08 Siemens Ind Software Nv Method for co-simulation and computer system
CN119603374A (en) * 2024-11-13 2025-03-11 中国电子科技集团公司第十五研究所 A heterogeneous simulation environment protocol interconnection method and heterogeneous simulation system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102867081A (en) * 2012-08-23 2013-01-09 西南交通大学 Coupling control method for multi-field collaborative simulation computation
US20130060553A1 (en) * 2011-08-25 2013-03-07 Siemens Corporation Smart grid communication assessment and co-simulation tool
CN105740528A (en) * 2016-01-27 2016-07-06 东南大学 Self-adaptive synchronization manner-based electric power and communication united simulation platform and synchronization method thereof
CN106529056A (en) * 2016-11-17 2017-03-22 东南大学 Master-slave power communication integrated simulation platform and simulation method
CN108664751A (en) * 2018-05-23 2018-10-16 全球能源互联网研究院有限公司 A kind of emulation mode, emulation main control platform and the analogue system of more emulator collaborations
CN109800054A (en) * 2018-12-24 2019-05-24 四川知周科技有限责任公司 A kind of distributed parallel real-time simulation scheduling implementation method
US20190377844A1 (en) * 2018-06-07 2019-12-12 Kompetenzzentrum - Das Virtuelle Fahrzeug Forschungsgesellschaft Mbh Pre-Step Co-Simulation Method and Device
CN111177899A (en) * 2019-12-16 2020-05-19 北京航天智造科技发展有限公司 Multidisciplinary collaborative simulation method and system based on cloud platform

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130060553A1 (en) * 2011-08-25 2013-03-07 Siemens Corporation Smart grid communication assessment and co-simulation tool
CN102867081A (en) * 2012-08-23 2013-01-09 西南交通大学 Coupling control method for multi-field collaborative simulation computation
CN105740528A (en) * 2016-01-27 2016-07-06 东南大学 Self-adaptive synchronization manner-based electric power and communication united simulation platform and synchronization method thereof
CN106529056A (en) * 2016-11-17 2017-03-22 东南大学 Master-slave power communication integrated simulation platform and simulation method
CN108664751A (en) * 2018-05-23 2018-10-16 全球能源互联网研究院有限公司 A kind of emulation mode, emulation main control platform and the analogue system of more emulator collaborations
US20190377844A1 (en) * 2018-06-07 2019-12-12 Kompetenzzentrum - Das Virtuelle Fahrzeug Forschungsgesellschaft Mbh Pre-Step Co-Simulation Method and Device
CN110580373A (en) * 2018-06-07 2019-12-17 能力中心-虚拟车辆研究公司 Preprocessing co-simulation method and device
CN109800054A (en) * 2018-12-24 2019-05-24 四川知周科技有限责任公司 A kind of distributed parallel real-time simulation scheduling implementation method
CN111177899A (en) * 2019-12-16 2020-05-19 北京航天智造科技发展有限公司 Multidisciplinary collaborative simulation method and system based on cloud platform

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
王宏伟;张和明;: "面向广域网环境的协同仿真平台的设计与实现", 计算机集成制造系统, no. 01 *
王宏伟;张和明;: "面向广域网环境的协同仿真平台的设计与实现", 计算机集成制造系统, no. 01, 15 January 2009 (2009-01-15) *
邹庆元;宋晗;陈宗基;: "多机多编队飞行仿真系统研究和设计", 系统工程与电子技术, no. 04 *
邹庆元;宋晗;陈宗基;: "多机多编队飞行仿真系统研究和设计", 系统工程与电子技术, no. 04, 15 April 2008 (2008-04-15) *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112434420B (en) * 2020-11-20 2023-09-05 国网山东省电力公司电力科学研究院 Time Synchronization and Data Interaction Method for Hybrid Simulation of Integrated Energy Systems
CN112434420A (en) * 2020-11-20 2021-03-02 国网山东省电力公司电力科学研究院 Time synchronization and data interaction method for hybrid simulation of comprehensive energy system
CN112818545A (en) * 2021-02-03 2021-05-18 东北电力大学 Power information physical joint simulation platform based on OPC
CN112818545B (en) * 2021-02-03 2023-03-21 东北电力大学 Power information physical joint simulation system based on OPC
CN113268888A (en) * 2021-06-23 2021-08-17 上海交通大学 Control and information model fusion method in industrial automation system
CN114745285A (en) * 2022-04-11 2022-07-12 电子科技大学 Large-scale distributed virtualized network simulation method based on virtualized container
CN115586732A (en) * 2022-10-12 2023-01-10 中国航发四川燃气涡轮研究院 Joint simulation device
CN115586732B (en) * 2022-10-12 2025-08-26 中国航发四川燃气涡轮研究院 Joint simulation device
CN115562892A (en) * 2022-12-02 2023-01-03 北京卓翼智能科技有限公司 Redis-based simulation system time management method, system, device and equipment
CN115562892B (en) * 2022-12-02 2023-03-24 北京卓翼智能科技有限公司 A Redis-based simulation system time management method and system, device and equipment
GB2631577A (en) * 2023-06-07 2025-01-08 Siemens Ind Software Nv Method for co-simulation and computer system
CN117033252A (en) * 2023-10-09 2023-11-10 中核武汉核电运行技术股份有限公司 Combined simulation communication system based on opcua
CN117033252B (en) * 2023-10-09 2024-04-12 中核武汉核电运行技术股份有限公司 Combined simulation communication system based on opcua
CN117103281A (en) * 2023-10-20 2023-11-24 深圳墨影科技有限公司 Robot full fusion simulation system and method
CN117103281B (en) * 2023-10-20 2024-01-26 深圳墨影科技有限公司 Robot full fusion simulation system and method
CN119105472A (en) * 2024-10-17 2024-12-10 上海伊世智能科技有限公司 An intelligent safety assessment method for port industrial control
CN119603374A (en) * 2024-11-13 2025-03-11 中国电子科技集团公司第十五研究所 A heterogeneous simulation environment protocol interconnection method and heterogeneous simulation system

Also Published As

Publication number Publication date
CN111897300B (en) 2024-05-24

Similar Documents

Publication Publication Date Title
CN111897300B (en) OPC-UA-based software/hardware joint simulation system and self-adaptive coordination method thereof
CN111835565A (en) Communication network optimization method, device and system based on digital twin
CN106374439A (en) Intelligent substation protection control system-based software definition implementation method
WO2024011908A1 (en) Network prediction system and method, and electronic device and storage medium
CN112804280A (en) Electric power Internet of things system and data processing method thereof
CN109150559A (en) Time trigger Ethernet analogue system
CN108322348B (en) Transformer substation monitoring information automatic acceptance signal triggering operation subsystem and method
CN114925607B (en) Industrial network management system for information physical synchronization and pre-planning method thereof
WO2021186821A1 (en) Method, program, medium, and device for interconnecting primary network domain with secondary network domain through gateway device
Suzuki et al. Cps-sim: Co-simulation for cyber-physical systems with accurate time synchronization
CN114615358B (en) Simulation method of intelligent electronic device, electronic device and storage medium
Wang et al. A Low-latency and Interoperable Industrial Internet of Things Architecture for Manufacturing Systems.
CN105429781A (en) Network communication design method based on IEC1850/MMS
CN203340096U (en) Interactive power communication network simulation device
Lin et al. Gigabit Modbus user datagram protocol fieldbus network integrated with industrial vision communication
Lee et al. OPC UA-based three-layer architecture for aggregated microgrids integrating edge cloud computing and IEC 62264
CN112332540B (en) Microgrid, and simulation device and method
Leite et al. Integrating IoT Devices with Distribution Energy Management System by Harmonizing Their Logical Models Using IEC Standards 61970/61968 and 61850
CN108197370A (en) A kind of flexible distributed power grid and communication network union simulation platform and emulation mode
CN109547448B (en) A Universal Matching Method for Dual System Data Based on Path Name and Dual Identification Mechanism
Song et al. Performance evaluation of integrated smart energy solutions through large-scale simulations
Perkonigg et al. MAC-Sim: A multi-agent and communication network simulation platform for smart grid applications based on established technologies
CN110611599A (en) Network control system and control method thereof
Xie et al. Data Mapping Method of Intelligent Substation Based on Full Communication Link
KR101125365B1 (en) Integrated design method of communication protocols with sdl-opnet co-simmulation technique

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant