CN115185202A - A semi-physical simulation cloud control experimental system and its working method - Google Patents
A semi-physical simulation cloud control experimental system and its working method Download PDFInfo
- Publication number
- CN115185202A CN115185202A CN202210837868.1A CN202210837868A CN115185202A CN 115185202 A CN115185202 A CN 115185202A CN 202210837868 A CN202210837868 A CN 202210837868A CN 115185202 A CN115185202 A CN 115185202A
- Authority
- CN
- China
- Prior art keywords
- control
- cloud
- local
- control algorithm
- simulation
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B17/00—Systems involving the use of models or simulators of said systems
- G05B17/02—Systems involving the use of models or simulators of said systems electric
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Feedback Control In General (AREA)
Abstract
Description
技术领域technical field
本发明涉及半实物仿真技术领域,特别是一种半实物仿真的云控制实验系统及其工作方法。The invention relates to the technical field of semi-physical simulation, in particular to a cloud control experimental system for semi-physical simulation and a working method thereof.
背景技术Background technique
伴随着云计算技术的发展,云控制系统也得以逐步出现在各个领域,在未来,云控制系统会成为互联网领域中不可或缺的功能之一,而在仿真技术的不断发展下,半物理仿真技术也日益普及。With the development of cloud computing technology, cloud control systems have gradually appeared in various fields. In the future, cloud control systems will become one of the indispensable functions in the Internet field. With the continuous development of simulation technology, semi-physical simulation Technology is also growing in popularity.
相比于本地控制,云控制系统不受硬件约束,能够真正实现远程控制,通过云控制平台,即使是复杂的工业系统,也能够完成相关的任务与协作,云控制的应用场景通常为工业现场或工业系统体系,然而云控制系统的架构模型和通讯问题等方面的理论研究仍未有统一标准,对于云控制系统的概念还未有具体的判定,相关的理论体系也还未形成,所面临的挑战依然严峻。Compared with local control, the cloud control system is not constrained by hardware and can truly realize remote control. Through the cloud control platform, even complex industrial systems can complete related tasks and collaborations. The application scenarios of cloud control are usually industrial sites. However, there is still no unified standard for theoretical research on cloud control system architecture model and communication problems, and there is no specific judgment on the concept of cloud control system, and the relevant theoretical system has not yet been formed. challenges remain formidable.
目前国内外对云控制系统的研究还处在起步的阶段,对于云控制的具体定义、构造体系、相关技术,以及其中的算法、通讯问题都备受关注。At present, the research on cloud control system at home and abroad is still in its infancy, and the specific definition, construction system, related technology, and algorithm and communication problems of cloud control have attracted much attention.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明的目的在于提供一种半实物仿真的云控制实验系统及其工作方法,推进云控制与半实物仿真结合,促进虚拟实验室的建设。In view of this, the purpose of the present invention is to provide a cloud control experiment system for semi-physical simulation and its working method, to promote the combination of cloud control and semi-physical simulation, and to promote the construction of virtual laboratory.
为实现上述目的,本发明采用如下技术方案:一种半实物仿真的云控制实验系统,包括本地设备、网关设备和云平台控制算法;所述本地设备为本地上位机以装载模型仿真软件和完成操作系统的部署,真实控制设备如可编程逻辑控制器在真实控制设备中部署计算引擎,使其运行相同的云平台控制算法;所述网关设备完成本地仿真设备数据和云平台上的控制算法逻辑的上行与下发;本地真实控制设备的数据,如设备的开关状态信息;数据传输方式包括有线及无线连接方式,如以太网、局域网,同时在网关设备中部署计算引擎,使网关设备执行边缘计算功能,进行数据预处理,如筛查处理垃圾数据,再进行传输;所述云平台控制算法在云平台中部署控制算法,实现云控制,所述控制算法在云端实现对系统的控制功能,采用控制算法程序,并下传至网关设备;将本地的上位机和控制设备通过网关设备接入到云平台中,通过在云平台部署的控制算法对本地控制设备进行监视与控制,包括设备的运行情况监视、实时数据采集、分析设备状况及显示历史数据。In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme: a semi-physical simulation cloud control experiment system, including local equipment, gateway equipment and cloud platform control algorithm; the local equipment is a local host computer to load model simulation software and complete. For the deployment of the operating system, the real control device such as a programmable logic controller deploys a computing engine in the real control device to make it run the same cloud platform control algorithm; the gateway device completes the local simulation device data and the control algorithm logic on the cloud platform The data of the local real control device, such as the switch status information of the device; the data transmission method includes wired and wireless connection methods, such as Ethernet, local area network, and a computing engine is deployed in the gateway device to enable the gateway device to execute edge The cloud platform control algorithm deploys the control algorithm in the cloud platform to realize cloud control, and the control algorithm realizes the control function of the system in the cloud, The control algorithm program is adopted and downloaded to the gateway device; the local host computer and control device are connected to the cloud platform through the gateway device, and the local control device is monitored and controlled through the control algorithm deployed on the cloud platform, including the equipment's Operation monitoring, real-time data collection, analysis of equipment status and display of historical data.
本发明还提供了一种半实物仿真的云控制实验系统的工作方法,采用了所述的一种半实物仿真的云控制实验系统,包括以下步骤:The invention also provides a working method of a semi-physical simulation cloud control experimental system, which adopts the semi-physical simulation cloud control experimental system, including the following steps:
1)通过在本地上位机模型软件中,对目标控制系统进行模型建立,构建运行环境,实现仿真,再搭建仿真模型;1) By building the model of the target control system in the local host computer model software, building the operating environment, realizing the simulation, and then building the simulation model;
2)将本地的控制设备通信接口与软件中的仿真运行环境通信接口连接,通过软件仿真运行环境对真实控制设备进行仿真和相关的控制,通信连接通过无线的通信连接方式完成;2) Connect the local control device communication interface with the simulation operating environment communication interface in the software, simulate and control the real control device through the software simulation operating environment, and complete the communication connection through a wireless communication connection;
3)云平台控制算法和人机组态的部署,用户在云端控制算法程序进行系统控制逻辑算法的编写,实现在云端对半实物仿真系统进行控制,用户根据实际情况和功能实现完成算法编程,此外,进行人机界面组态,实现对半实物仿真实时状态的显示与监控;3) The deployment of cloud platform control algorithms and man-machine configuration, the user writes the system control logic algorithm in the cloud control algorithm program, realizes the control of the semi-physical simulation system in the cloud, and the user completes the algorithm programming according to the actual situation and function, In addition, the man-machine interface configuration is carried out to realize the display and monitoring of the real-time state of the semi-physical simulation;
4)建立通信连接和相关配置完成后,系统开始进行数据传输交互;4) After establishing the communication connection and completing the related configuration, the system starts to carry out data transmission interaction;
5)网关设备执行边缘计算功能,通过部署于网关内部的算法和计算引擎,预先处理部分数据;5) The gateway device performs the edge computing function, and pre-processes part of the data through the algorithm and computing engine deployed inside the gateway;
6)网关设备进行数据传输,包括将云端数据的下传和本地的数据上行至云端算法数据库;6) The gateway device performs data transmission, including downloading the cloud data and uploading the local data to the cloud algorithm database;
7)系统实现半实物仿真的云控制功能。7) The system realizes the cloud control function of semi-physical simulation.
在一较佳的实施例中,所述云平台控制算法具体为PID控制算法,所述PID控制算法包括比例环节、积分环节及微分环节;PID控制输出为 其中t为此刻的时间,e(t)为误差:r(t)与y(t)之差;比例环节输出为Kpe(t),Kp为比例增益;积分环节输出为Ki为积分增益;微分环节输出为Kd为微分增益。In a preferred embodiment, the cloud platform control algorithm is specifically a PID control algorithm, and the PID control algorithm includes a proportional link, an integral link and a differential link; the PID control output is: Where t is the time at the moment, e(t) is the error: the difference between r(t) and y(t); the output of the proportional link is K p e(t), and K p is the proportional gain; the output of the integral link is K i is the integral gain; the output of the differential link is K d is the differential gain.
与现有技术相比,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
1.采用本发明方法的控制系统,可以根据需求,构建虚拟实验室,进行相关的试验,无需使用实物,从而节省成本。1. By adopting the control system of the method of the present invention, a virtual laboratory can be constructed according to requirements, and relevant experiments can be carried out without using physical objects, thereby saving costs.
2.使用本发明方法,边缘计算可以在提升系统的实时性的同时,减少带宽使用、提升系统数据传输和处理的效率。2. Using the method of the present invention, edge computing can improve the real-time performance of the system, reduce bandwidth usage, and improve the efficiency of system data transmission and processing.
附图说明Description of drawings
图1为本发明优选实施例的工作流程图;Fig. 1 is the working flow chart of the preferred embodiment of the present invention;
图2为本发明优选实施例的系统结构示意图;FIG. 2 is a schematic diagram of the system structure of a preferred embodiment of the present invention;
图3为本发明优选实施例的PID控制算法原理框图。FIG. 3 is a schematic block diagram of a PID control algorithm according to a preferred embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图及实施例对本发明做进一步说明。The present invention will be further described below with reference to the accompanying drawings and embodiments.
应该指出,以下详细说明都是例示性的,旨在对本申请提供进一步的说明。除非另有指明,本文使用的所有技术和科学术语具有与本申请所属技术领域的普通技术人员通常理解的相同含义。It should be noted that the following detailed description is exemplary and intended to provide further explanation of the application. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
需要注意的是,这里所使用的术语仅是为了描述具体实施方式,而非意图限制根据本申请的示例性实施方式;如在这里所使用的,除非上下文另外明确指出,否则单数形式也意图包括复数形式,此外,还应当理解的是,当在本说明书中使用术语“包含”和/或“包括”时,其指明存在特征、步骤、操作、器件、组件和/或它们的组合。It should be noted that the terms used herein are for the purpose of describing particular embodiments only and are not intended to limit exemplary embodiments in accordance with the present application; as used herein, unless the context clearly dictates otherwise, the singular forms are also intended to include Plural forms, furthermore, should also be understood that when the terms "comprising" and/or "comprising" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and/or combinations thereof.
一种半实物仿真的云控制实验系统,参考图1及2,主要包括本地设备、网关设备和云平台控制算法:A hardware-in-the-loop simulation cloud control experimental system, referring to Figures 1 and 2, mainly includes local equipment, gateway equipment and cloud platform control algorithms:
所述本地设备:主要为本地上位机以装载模型仿真软件和完成操作系统的部署,真实控制设备如可编程逻辑控制器(Programmable Logic Controller,PLC),以构成本地的半实物仿真系统,并且可以在真实控制设备中部署计算引擎,使之能够运行相同的云平台控制算法;Described local equipment: It is mainly the local host computer to load the model simulation software and complete the deployment of the operating system, the real control equipment such as programmable logic controller (Programmable Logic Controller, PLC), to form a local semi-physical simulation system, and can Deploy the computing engine in the real control device so that it can run the same cloud platform control algorithm;
所述网关设备:实现数据传输的层级,完成本地仿真设备数据和云平台上的控制算法逻辑的上行与下发。本地真实控制设备的数据如设备的开关状态信息等。数据传输方式包括有线/无线连接方式,如以太网、局域网等。同时在网关设备中部署计算引擎,使网关设备能够执行边缘计算功能,进行数据预处理,如筛查处理垃圾数据,在进行传输,可以增强该系统的数据传输实时性,降低云端系统的负荷。The gateway device: realizes the level of data transmission, and completes the uplink and downlink of local simulation device data and control algorithm logic on the cloud platform. The data of the local real control device, such as the switch status information of the device, etc. Data transmission methods include wired/wireless connection methods, such as Ethernet, local area network, etc. At the same time, a computing engine is deployed in the gateway device, so that the gateway device can perform edge computing functions and perform data preprocessing, such as screening and processing junk data. During transmission, it can enhance the real-time data transmission of the system and reduce the load of the cloud system.
所述云平台控制算法,在云平台中部署控制算法,实现云控制,所述控制算法能够在云端实现对系统的控制功能,采用控制算法程序,并可下传至网关设备。The cloud platform control algorithm deploys the control algorithm in the cloud platform to realize cloud control, and the control algorithm can realize the control function of the system in the cloud, adopts the control algorithm program, and can be downloaded to the gateway device.
将本地的上位机和控制设备通过网关设备接入到云平台中,通过在云平台部署的控制算法对本地控制设备进行监视与控制,包括设备的运行情况监视、实时数据采集、分析设备状况、显示历史数据等。Connect the local host computer and control equipment to the cloud platform through the gateway device, and monitor and control the local control equipment through the control algorithm deployed on the cloud platform, including equipment operation monitoring, real-time data collection, analysis of equipment status, Display historical data, etc.
工作的过程包括:The work process includes:
1)通过在本地的上位机模型软件中,对目标控制系统进行模型建立,构建运行环境,实现仿真,比如对倒立摆、无人机、空气压缩机等数学模型进行建立,再搭建仿真模型;1) Build a model of the target control system in the local host computer model software, build an operating environment, and realize simulation, such as the establishment of mathematical models such as inverted pendulums, drones, and air compressors, and then build simulation models;
2)将本地的控制设备通信接口与软件中的仿真运行环境通信接口连接,实现软硬件的数据交互,达到半实物仿真功能,能够通过软件仿真运行环境对真实控制设备进行仿真和相关的控制,通信连接可以通过无线的通信连接方式完成;2) Connect the local control equipment communication interface with the simulation operating environment communication interface in the software, realize the data interaction of software and hardware, achieve the semi-physical simulation function, and be able to simulate and control the real control equipment through the software simulation operating environment, The communication connection can be completed through wireless communication connection;
3)云平台控制算法和人机组态的部署,用户在云端控制算法程序进行系统控制逻辑算法的编写,实现在云端对半实物仿真系统进行控制,用户根据实际情况和功能实现完成算法编程,此外,进行人机界面组态,实现对半实物仿真实时状态的显示与监控;3) The deployment of cloud platform control algorithms and man-machine configuration, the user writes the system control logic algorithm in the cloud control algorithm program, realizes the control of the semi-physical simulation system in the cloud, and the user completes the algorithm programming according to the actual situation and function, In addition, the man-machine interface configuration is carried out to realize the display and monitoring of the real-time state of the semi-physical simulation;
PID控制算法:融比例、积分、微分三种环节于一体的一种闭环控制算法,能对系统进行快速而准确的校正,广泛应用于工业的生产控制。PID control algorithm: a closed-loop control algorithm that integrates proportional, integral and differential links. It can quickly and accurately correct the system and is widely used in industrial production control.
其原理图如图3所示:Its schematic diagram is shown in Figure 3:
其中:in:
t为此刻的时间;t is the time at the moment;
r(t)为当前的给定值;r(t) is the current given value;
y(t)为系统当前的实际测取值;y(t) is the current actual measured value of the system;
e(t)为误差:r(t)与y(t)之差;e(t) is the error: the difference between r(t) and y(t);
比例环节输出为Kpe(t),Kp为比例增益;The output of the proportional link is K p e(t), and K p is the proportional gain;
积分环节输出为Ki为积分增益;The output of the integral link is K i is the integral gain;
微分环节输出为Kd为微分增益;The output of the differential link is Kd is the differential gain;
则PID控制的输出为 Then the output of PID control is
4)建立通信连接和相关配置完成后,系统开始进行数据传输交互;4) After establishing the communication connection and completing the related configuration, the system starts to carry out data transmission interaction;
5)网关设备执行边缘计算功能,通过部署于网关内部的算法和计算引擎,预先处理部分数据;5) The gateway device performs the edge computing function, and pre-processes part of the data through the algorithm and computing engine deployed inside the gateway;
如采用数据清洗法进行数据预处理,通过数据清洗将所获数据的缺失值进行填补、检查数据重复、缺失或异常问题,纠正数据的不一致性问题;For example, the data cleaning method is used for data preprocessing, and through data cleaning, the missing values of the obtained data are filled, the data is checked for duplication, missing or abnormal problems, and the inconsistency of the data is corrected;
6)网关设备进行数据传输,包括将云端数据的下传和本地的数据上行至云端算法数据库;6) The gateway device performs data transmission, including downloading the cloud data and uploading the local data to the cloud algorithm database;
7)系统实现半实物仿真的云控制功能。7) The system realizes the cloud control function of semi-physical simulation.
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210837868.1A CN115185202A (en) | 2022-07-16 | 2022-07-16 | A semi-physical simulation cloud control experimental system and its working method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210837868.1A CN115185202A (en) | 2022-07-16 | 2022-07-16 | A semi-physical simulation cloud control experimental system and its working method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115185202A true CN115185202A (en) | 2022-10-14 |
Family
ID=83519619
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210837868.1A Pending CN115185202A (en) | 2022-07-16 | 2022-07-16 | A semi-physical simulation cloud control experimental system and its working method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115185202A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115793589A (en) * | 2022-12-29 | 2023-03-14 | 中科云谷科技有限公司 | Decentralized control system and deployment method thereof, electronic device and readable storage medium |
| CN120540180A (en) * | 2025-07-28 | 2025-08-26 | 睿景时代(大连)科技有限公司 | An inverted pendulum control system and experimental method based on network communication |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20210089335A1 (en) * | 2017-12-29 | 2021-03-25 | Siemens Aktiengesellschaft | Method, apparatus and computer readable storage medium for providing cloud platform virtual assets |
| CN113391600A (en) * | 2020-03-11 | 2021-09-14 | 沈阳中科博微科技股份有限公司 | Industrial internet platform architecture |
| CN113467274A (en) * | 2021-07-30 | 2021-10-01 | 阳光电源股份有限公司 | Semi-physical simulation test system and method |
| CN114384822A (en) * | 2022-01-21 | 2022-04-22 | 首域科技(杭州)有限公司 | Semi-physical simulation control system for tobacco shred manufacturing equipment |
-
2022
- 2022-07-16 CN CN202210837868.1A patent/CN115185202A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20210089335A1 (en) * | 2017-12-29 | 2021-03-25 | Siemens Aktiengesellschaft | Method, apparatus and computer readable storage medium for providing cloud platform virtual assets |
| CN113391600A (en) * | 2020-03-11 | 2021-09-14 | 沈阳中科博微科技股份有限公司 | Industrial internet platform architecture |
| CN113467274A (en) * | 2021-07-30 | 2021-10-01 | 阳光电源股份有限公司 | Semi-physical simulation test system and method |
| CN114384822A (en) * | 2022-01-21 | 2022-04-22 | 首域科技(杭州)有限公司 | Semi-physical simulation control system for tobacco shred manufacturing equipment |
Non-Patent Citations (1)
| Title |
|---|
| 赵朋可;马建伟;: "半实物仿真网络虚拟实验接口技术及应用研究", 计算机测量与控制, no. 06, 25 June 2013 (2013-06-25), pages 06 * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115793589A (en) * | 2022-12-29 | 2023-03-14 | 中科云谷科技有限公司 | Decentralized control system and deployment method thereof, electronic device and readable storage medium |
| CN120540180A (en) * | 2025-07-28 | 2025-08-26 | 睿景时代(大连)科技有限公司 | An inverted pendulum control system and experimental method based on network communication |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110650084B (en) | A kind of industrial Internet of things intelligent gateway, networking system and data processing method | |
| CN109831354B (en) | Virtual Debugging System Based on OPC UA Industrial Communication Protocol | |
| CN110308753B (en) | A kind of intelligent agricultural robot cloud control system and method | |
| CN115185202A (en) | A semi-physical simulation cloud control experimental system and its working method | |
| CN107598928A (en) | Camera and robot control system and its automatic adaptation method based on semantic model | |
| CN109471377B (en) | Control method of two-axis X-Y leather product cutting machine based on digital twinning | |
| CN109326003A (en) | A factory 3D monitoring system based on virtual simulation | |
| CN209086741U (en) | Applied to industrial digital twinned system | |
| CN116945190B (en) | A virtual synchronization control system and method for a robotic arm based on digital twins | |
| CN107612710A (en) | A kind of local gateway to Internet of Things carries out the method and system of high in the clouds configuration | |
| WO2023103660A1 (en) | Parameter optimization method and system for construction device, electronic device, and storage medium | |
| CN110887173A (en) | Method and device for remotely controlling central air-conditioning system | |
| CN112187942B (en) | Edge computing system serving intelligent engine room | |
| CN104834285B (en) | Implementation method of the Diagonal Recurrent Neural Networks Controller in multi-platform | |
| CN118397150A (en) | Digital twin synchronous evolution service implementation method based on edge cloud cooperation | |
| CN219351760U (en) | Programmable intelligent industrial control gateway | |
| CN117226847A (en) | Control method and system of teleoperation equipment | |
| CN120188494A (en) | Edge frame on constrained device | |
| CN117331614A (en) | On-line detection configuration file management method for aviation manufacturing production site | |
| CN116224791A (en) | Collaborative training control method for intelligent manufacturing collaborative robot edge system | |
| CN103558756B (en) | The implementation method of single neuron PID controller based on configuration element | |
| CN114979229A (en) | A cloud control system based on industrial internet architecture | |
| CN109001986B (en) | Networked flexible mechanical arm control simulation platform and working method thereof | |
| Boonmeeruk et al. | Cost-effective iiot gateway development using esp32 for industrial applications | |
| CN107018207A (en) | A kind of greenhouse cloud control system and its control method |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20221014 |
|
| RJ01 | Rejection of invention patent application after publication |










