WO2020010551A1 - 仿真生产过程的方法、装置、系统、存储介质和处理器 - Google Patents

仿真生产过程的方法、装置、系统、存储介质和处理器 Download PDF

Info

Publication number
WO2020010551A1
WO2020010551A1 PCT/CN2018/095322 CN2018095322W WO2020010551A1 WO 2020010551 A1 WO2020010551 A1 WO 2020010551A1 CN 2018095322 W CN2018095322 W CN 2018095322W WO 2020010551 A1 WO2020010551 A1 WO 2020010551A1
Authority
WO
WIPO (PCT)
Prior art keywords
simulation
data
playback
simulation data
production process
Prior art date
Application number
PCT/CN2018/095322
Other languages
English (en)
French (fr)
Inventor
张珍
王琪
张跃华
Original Assignee
西门子股份公司
张珍
王琪
张跃华
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 西门子股份公司, 张珍, 王琪, 张跃华 filed Critical 西门子股份公司
Priority to PCT/CN2018/095322 priority Critical patent/WO2020010551A1/zh
Publication of WO2020010551A1 publication Critical patent/WO2020010551A1/zh

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]
    • 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]

Definitions

  • This application relates to the field of industrial production control. Specifically, the present application relates to a method, an apparatus, a system, a storage medium, a processor, and a software program product for simulating a production process.
  • the factory digital twins simulate the actual production environment, enabling production supervisors to remotely monitor the entire factory through the virtual factory platform, to obtain production, quality, orders and various information at any time, improve management responsiveness and transparency, and promote inter-departmental Knowledge sharing and collaboration.
  • the production supervisor must spend a lot of time inspecting the entire manufacturing process or inspecting the machine in the factory to find the problem, especially when the factory needs to optimize the production line, doing experiments requires a lot of time and resources.
  • the embodiments of the present application provide a method, a device, a system, a storage medium, and a processor for simulating a production process, so as to at least solve the problem that the production process of interest cannot be completely and easily simulated in the prior art.
  • the present invention proposes simulation recording and playback of factory digital twins based on a cloud platform (for example, MindSphere), uploads to the cloud platform and stores simulation data corresponding to the actual production running data, and stores the simulation data Download to the simulation platform or simulation software to realize the playback of the virtual simulation.
  • the playback is controlled by time and process, which can help users to troubleshoot and optimize the process.
  • a method for simulating a production process including: receiving operation data of one or more devices from a programmable logic controller; and filtering out a part of the operation data that can be used for simulation processing from the operation data.
  • the selected part of the operation data includes information indicating the actions performed by one or more devices in the production process; the simulation data is generated according to the part of the operation data, and the simulation data indicates one or more simulations corresponding to the one or more devices Information about the device performing simulation actions corresponding to the actions; and transmitting simulation data to the cloud platform.
  • the running data of the equipment of the production process of interest is converted into simulation data and uploaded to the cloud platform, so that the simulation data can be used in a remote simulation platform for convenient simulation processing.
  • generating the simulation data based on the partial operation data includes: determining an action, a time when one or more devices perform the action, and components of the device performing the action.
  • transmitting the simulation data to the cloud platform includes: transmitting the simulation data in a predetermined cycle according to the time sequence of the actions; and determining that the transmitted simulation data is successfully received.
  • operation data of one or more devices is received from a programmable logic controller according to a frequency set by a user.
  • a part of the operation data that can be used for simulation processing is selected from the operation data according to a filtering condition set by a user.
  • actions cannot be decomposed.
  • the method further includes: receiving playback conditions; receiving simulation data from the cloud platform that meets the playback conditions; and transmitting the received simulation data to the simulation platform at predetermined time intervals according to the playback conditions.
  • the simulation data in the cloud platform can be transferred to the simulation platform according to the required playback conditions for corresponding playback.
  • the method further includes receiving, from a cloud platform, simulation data that meets playback conditions in a chronological order of actions corresponding to the simulation data.
  • the playback condition is real-time playback
  • simulation data from a time at a predetermined time interval before the current time to the current time is received, and the simulation is performed according to the time of the predetermined time interval before the current time and the current time, respectively.
  • the data sets the start and end timestamps of the simulation process.
  • simulation processing is performed in a near real-time manner.
  • the playback condition is fast playback between predetermined time periods
  • simulation data between the predetermined time periods is received, and the predetermined time interval is shorter than the time interval that conforms to real-time playback.
  • the playback condition is slow playback between predetermined time periods
  • simulation data between the predetermined time periods is received, and the predetermined time interval is longer than the time interval that conforms to real-time playback.
  • the start time and end time of the motion are determined according to the change of the motion indicated by the simulation data, and the start and end of the simulation process are set according to the start time and end time Timestamp.
  • the method further includes: when receiving the simulation data, detecting the accuracy of the received simulation data.
  • a device for simulating a production process including: a data collection unit that receives operation data of one or more devices from a programmable logic controller; and a data screening unit that screens from the operation data Generate part of the operational data that can be used for simulation processing, where the selected part of the operational data includes information indicating the actions performed by one or more devices in the production process; the simulation data generating unit generates simulation data based on the partial operation data, and simulates The data indicates information of one or more simulation devices corresponding to the one or more devices performing simulation actions corresponding to the actions; and a data uploading unit that transmits the simulation data to the cloud platform.
  • the running data of the equipment of the production process of interest is converted into simulation data and uploaded to the cloud platform, so that the simulation data can be used in a remote simulation platform for convenient simulation processing.
  • the device for simulating a production process further includes: an input unit that receives playback conditions; a receiving unit that receives simulation data that meets playback conditions from a cloud platform; and a sending unit that receives the received simulation data according to the playback conditions. It is transmitted to the simulation platform at predetermined time intervals.
  • the simulation data in the cloud platform can be transferred to the simulation platform according to the required playback conditions for corresponding playback.
  • a system for simulating a production process including: a data recording device; a playback client; a cloud platform; a programmable logic controller; and a simulation platform
  • the data recording device includes: data collection A unit that receives operating data of one or more devices from a programmable logic controller; a data screening unit that screens out part of the operating data that can be used for simulation processing from the operating data, wherein the part of the filtered operating data includes instructions for one or Information on actions performed by multiple devices in the production process; simulation data generating unit generates simulation data based on part of the operating data, and the simulation data instructs one or more simulation devices corresponding to one or more devices to perform simulation actions corresponding to the actions Information; and a data upload unit that transmits simulation data to the cloud platform.
  • the playback client includes: a receiving unit that receives simulation data that meets the playback conditions from the cloud platform; a sending unit that receives the received simulation data at predetermined intervals based on the playback
  • the operation data of the equipment of the production process of interest is converted into simulation data and uploaded to the cloud platform, so that the simulation data can be used in a remote simulation platform, which facilitates the simulation processing, and can transmit the simulation data according to the required playback conditions. Go to the simulation platform for corresponding playback.
  • a storage medium is also provided, where the storage medium includes a stored program, and when the program runs, the device where the storage medium is located is controlled to execute the foregoing method.
  • a processor is further provided.
  • the processor is configured to run a program, and the method is executed when the program is run.
  • a terminal including: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to Executed by one or more processors, and one or more programs are included to perform the above method.
  • a computer program product is also provided.
  • the computer program product is tangibly stored on a computer-readable medium and includes computer-executable instructions. Perform the above method.
  • a cloud platform is used to collect the simulation data required for the simulation processing, and the collected data is the key information of the production process. This data is downloaded to the simulation platform or software to run a complete production process simulation, and can be played back at any time. Focus on the production process to facilitate user troubleshooting and process optimization.
  • FIG. 1 is a flowchart of a method for simulating a production process according to an embodiment of the present application
  • FIG. 2 is a flowchart of a method of simulating a production process according to an exemplary embodiment of the present application
  • FIG. 3 is a flowchart of a process of performing real-time playback according to an exemplary embodiment of the present application
  • FIG. 4 is a block diagram of a device for simulating a production process according to another embodiment of the present application.
  • FIG. 5 is a block diagram of an apparatus for simulating a production process according to an exemplary embodiment of the present application
  • FIG. 6 is a block diagram of a system for simulating a production process according to another embodiment of the present application.
  • S101 Receive operation data of one or more devices from a programmable logic controller.
  • the simulation time at which the receiving action starts is T-interval and the simulation time at the end is receiving the simulation data of T
  • FIG. 1 is a flowchart of a method of simulating a production process according to an embodiment of the present application.
  • a method 100 for simulating a production process according to an embodiment of the present application includes: Step S101: Receive operation data of one or more devices from a programmable logic controller. The data required to simulate the production process is obtained from a programmable logic controller (PLC). The programmable logic controller includes the operating data of the equipment in production. The operating data indicates the relevant attributes, parameters, and variables of the equipment during operation. , Which represents the action performed by the device. These data are received from the programmable logic controller for subsequent processing.
  • PLC programmable logic controller
  • step S103 a part of operation data that can be used for simulation processing is screened from the operation data.
  • Part of the screened operational data includes information that indicates the actions performed by one or more devices during the production process. For example, filtering out operation data that can indicate when the device performed what action and when to end the action, and these data will be used to instruct the simulated device to perform the corresponding simulation action in the subsequent simulation process.
  • Step S105 Generate simulation data according to part of the running data, and the simulation data instructs one or more simulation devices corresponding to the one or more devices to perform information of a simulation action corresponding to the action.
  • the original operation data indicates the actual equipment movement information during the production process.
  • the simulation actions performed by the simulation equipment in the simulation process are correspondingly generated.
  • the simulation data is transmitted to the cloud platform.
  • the simulation data is uploaded to the cloud platform. Uploads can be transmitted through the cloud platform's communication interface (such as MLC of the MindSphere cloud platform), and can be stored in the cloud platform's database after being transferred to the cloud platform. In this way, the running data of the equipment of the production process of interest is converted into simulation data and uploaded to the cloud platform, so that the simulation data can be used in a remote simulation platform for convenient simulation processing.
  • step S105 generating the simulation data according to the partial operation data specifically includes: determining an action, a time when one or more devices perform the action, and components of the device performing the action.
  • the operating data is analyzed.
  • the analysis process is performed in the action analysis module of the translator, which analyzes the operating data and obtains the actions performed by the equipment during the production process indicated by the operating data. And the time at which the action was performed (such as the start time and end time of the action).
  • actions are detailed actions that cannot be further decomposed. They are actions made by specific components of the device. In this way, the specific actions are simulated to reflect the specific details of the production process. Determine the part of the device that performs the action, for the simulated device to consistently perform the simulated action, use the data related to the specific action of the device for simulation processing, and complete the simulation of the production process.
  • step S107 transmitting the simulation data to the cloud platform includes: transmitting the simulation data in a predetermined cycle according to a time sequence of the actions.
  • the operation data of the device is obtained from the programmable logic controller in chronological order.
  • the operation data is also analyzed in chronological order to generate simulation data. In order to correctly indicate the chronological order of the actions performed by the device in actual production, and determine the transmission.
  • the simulation data was successfully received.
  • the simulation data is transmitted to the cloud platform every other predetermined period. In this way, the integrity and correctness of the simulation data is guaranteed.
  • the simulation data used for complete simulation has high requirements. For example, the simulation data needs to be complete and accurately correspond to the actions of the device in order to accurately play back on the simulation platform.
  • the simulation data has accurate action time.
  • the advance or delay of time may affect the playback simulation process, and the simulation data cannot be lost or repeated, which may cause errors during the simulation process.
  • the simulation data includes the start and end time of each action to support subsequent simulations performed only for a specific time period in the simulation process.
  • the time related to the simulation action performed by the simulation equipment indicated by the simulation data is also updated and synchronized with the time actually performed by the equipment to ensure that the simulation process accurately reflects the time point of the action, thereby helping to perform troubleshooting or process optimization operations. .
  • the simulation data accurately reflects the time of the action. It also helps users to accurately find the production process of interest during playback, and it is easy to observe and analyze key points in the production process.
  • the programmable logic controller monitors the operation of the device and obtains signals generated during the operation of the device. These signals indicate the operating status of the device. Among them, according to actual needs, the actions performed by the device and The time-related signals are used as the data used in the simulation, for example, including the device name, signal name, data value, and description, and so on.
  • the simulation data is generated accordingly, and the simulation data is transmitted to the cloud platform and stored in the database.
  • the cloud platform In the process of transferring simulation data to the cloud platform, you can call the data upload service and upload the simulation data periodically.
  • the period is, for example, 1 second or 2 seconds, or a shorter period.
  • the specific period can be selected based on user needs. Adjust to meet different data granularities or save hardware requirements.
  • the cloud platform In order to confirm that the data was completely and correctly uploaded to the cloud platform, the cloud platform sends feedback confirming that the simulation data was correctly received.
  • operation data of one or more devices is received from a programmable logic controller according to a frequency set by a user.
  • the programmable logic controller acquires the operating data in time sequence and acquires the operating data every other cycle.
  • the user can set the required acquisition frequency according to the needs or the actual situation of the factory. In this way, the operating data of the production equipment is obtained in accordance with the actual needs of the simulation.
  • a part of the operation data that can be used for simulation processing is selected from the operation data according to a filtering condition set by a user.
  • the user can select the required operation data, for example, for a specific device, select the operation data within a specific time range, or select the operation data indicating the device's action-related information, or select the operation data corresponding to the action performed by a specific part of the device, As long as these data meet the user's required simulation process, they can all be set as filtering conditions by the user to select the required data. In this way, the operating data of interest for simulation processing is prepared in accordance with the actual needs of the simulation.
  • FIG. 2 is a flowchart of a method of simulating a production process according to an exemplary embodiment of the present application.
  • a method 200 for simulating a production process according to an exemplary embodiment of the present application includes: Step S201, receiving a playback condition.
  • the playback conditions are set by the user according to the required simulation processing. For example, the user can select real-time playback, fast playback or slow playback of the period of interest, or playback of actions between the two periods of interest.
  • Step S203 Receive simulation data that meets playback conditions from the cloud platform, where the simulation data instructs one or more simulation devices corresponding to one or more devices to perform simulations corresponding to actions performed by the one or more devices in the production process Action information.
  • the simulation data is transmitted to the cloud platform according to the method 100 for simulating a production process according to the embodiment of the present application.
  • these data are obtained from the database of the cloud platform according to the needs of the user. Because the cloud platform is used to store the data, the simulation data can be obtained remotely relative to the cloud platform.
  • the client can download the simulation data or use other devices connected to the cloud platform to receive the simulation data.
  • the conditions transmit the received simulation data to the simulation platform at predetermined time intervals. For each playback condition, the simulation data is transmitted to the simulation platform in different ways to meet different user needs. In this way, the simulation data in the cloud platform can be transferred to the simulation platform according to the required playback conditions for corresponding playback.
  • the method further includes receiving, from a cloud platform, simulation data that meets playback conditions in a chronological order of actions corresponding to the simulation data.
  • the chronological order of the received simulation data should be the same as when the simulation data is uploaded to ensure that the simulation actions are performed in the correct order.
  • the time information in the simulation data is detected to ensure that the time sequence is correct. In this way, it is guaranteed that the simulation process reflects the production process in the correct chronological order.
  • the playback condition is real-time playback
  • simulation data from a time at a predetermined time interval before the current time to the current time is received, and the simulation is performed according to the time of the predetermined time interval before the current time and the current time, respectively.
  • the data sets the start and end timestamps of the simulation process.
  • the simulation time is synchronized with the actual time.
  • the simulation data is transmitted to the simulation platform for simulation at a time interval.
  • FIG. 3 is a flowchart of a process of performing real-time playback according to an exemplary embodiment of the present application.
  • the process 300 for real-time playback according to an exemplary embodiment of the present application includes: Step S301, setting the current time to T, and the time at a predetermined time interval before the current time to T-interval.
  • step S303 is performed.
  • the simulation action the simulation data at the start of the simulation action is T-interval and the simulation time at the end is T.
  • the predetermined time interval may be a time interval of 1 second, 2 seconds or less. Users set the granularity according to their needs.
  • step S305 is performed to set a timestamp for the received simulation data.
  • the timestamp is set according to the current time T and the time T-interval at a predetermined time interval before the current time, so that during the simulation processing, the simulation action will be based on the current Time T and time T-interval at a predetermined time interval before the current time are performed as the start time and end time.
  • the simulation data is transmitted to the simulation platform or simulation software, and the simulation platform or simulation software will cause the simulation device to perform the simulation action according to the current time T and the time T-interval at a predetermined time interval before the current time.
  • the time interval for receiving simulation data is the same as the time interval for transmitting simulation data to the simulation platform or simulation software, and the delay of playback is only affected by the network delay and the predetermined time interval during the transmission, so the playback It can be performed in real time or near real time at the granularity of the time interval set by the user.
  • fast playback or slow playback may be performed for a specific time period.
  • simulation data is transmitted to the simulation platform or simulation software at time intervals, so that the time to obtain simulation data from the cloud platform is the same as the time interval to transfer simulation data to the simulation platform or simulation software. If the playback condition is fast playback between predetermined time periods, then the simulation data between the predetermined time periods is received. Compared with real-time playback, the predetermined time interval is shortened to be shorter than the time interval that conforms to real-time playback. The actual time is transmitted to the simulation software or the simulation platform at a faster frequency.
  • the playback speed of the simulation process is accelerated. In this way, it is possible to quickly play back the simulation process for a predetermined period of time.
  • the playback condition is slow playback between predetermined time periods, receiving simulation data between predetermined time periods, as opposed to fast playback, extending the predetermined time interval to match the real-time playback If the time interval is long, the simulation data is transmitted to the simulation software or simulation platform at a slower frequency than the actual time. For example, for an action with an actual time interval of 2 seconds, and the action is sent at an interval of 4 seconds, the simulation processing Playback speed is slowed.
  • the start time and end time of the motion are determined according to the change of the motion indicated by the simulation data, and the start and end of the simulation process are set according to the start time and end time. Timestamp.
  • the action included in the simulation data has a start time and an end time, and the simulation data includes information such as the name of the action, the equipment involved, and the part of the device that performs the action. This information is used to distinguish between different processes of production. action. Since the information of different actions is different, when the information related to the action indicated in the simulation data is changed, it can be known that another action starts to occur.
  • the current action ends, thereby determining the start time and end time of the action.
  • Set the start time and end time as the start and end timestamps of the action.
  • the simulation platform or simulation software is used for simulation, the corresponding simulation can be performed at the start time and end time of the action. In this way, it is convenient Playback simulation of the production process that the user cares about.
  • the accuracy of the received simulation data is detected. In this way, the simulation process is guaranteed to fully reflect the production process of interest.
  • FIG. 4 is a block diagram of an apparatus for simulating a production process according to another embodiment of the present application.
  • an apparatus 4 for simulating a production process according to another embodiment of the present application includes: a data collection unit 41 that receives operation data of one or more devices from a programmable logic controller; and a data screening unit 43 that operates from the operation A part of the operation data that can be used for simulation processing is filtered out of the data, wherein the selected part of the operation data includes information indicating actions performed by one or more devices in the production process; the simulation data generating unit 45 generates information based on the part of the operation data.
  • Simulation data the simulation data indicates information that one or more simulation devices corresponding to one or more devices perform a simulation action corresponding to the action; and a data uploading unit 47 that transmits the simulation data to the cloud platform.
  • the apparatus 4 shown in FIG. 4 executes a method 100 for simulating a production process according to an embodiment of the present application, and details are not described herein again. In this way, the running data of the equipment of the production process of interest is converted into simulation data and uploaded to the cloud platform, so that the simulation data can be used in a remote simulation platform for convenient simulation processing.
  • FIG. 5 is a block diagram of an apparatus for simulating a production process according to an exemplary embodiment of the present application.
  • the apparatus 5 for simulating a production process according to an exemplary embodiment of the present application in addition to the apparatus 4 for simulating a production process according to another embodiment of the present application, further includes: an input unit 51 to receive playback conditions;
  • the receiving unit 53 receives the simulation data that meets the playback conditions from the cloud platform; and the sending unit 55 transmits the received simulation data to the simulation platform at predetermined time intervals according to the playback conditions.
  • the simulation data in the cloud platform can be transferred to the simulation platform according to the required playback conditions for corresponding playback.
  • the input unit, the receiving unit, and the sending unit may be provided in another device, for example, may be provided in a client device such as a remote device, a mobile device, and the like to receive a simulation from a cloud platform through a network.
  • a client device such as a remote device, a mobile device, and the like to receive a simulation from a cloud platform through a network.
  • Data and send simulation data to the simulation platform the device can be set away from the device 4 or cloud platform that simulates the production process according to another embodiment of the present application.
  • FIG. 6 is a block diagram of a system for simulating a production process according to another embodiment of the present application.
  • a system 6 for simulating a production process according to another embodiment of the embodiments of the present application includes: a data recording device 40; a playback client 50; a cloud platform 70; a programmable logic controller 80; and a simulation platform 90
  • the data recording device 40 includes: a data collection unit 401 that receives operation data of one or more devices from the programmable logic controller 80; and a data screening unit 403 that screens out part of the operation data that can be used for simulation processing from the operation data Among them, the selected part of the operation data includes information indicating actions performed by one or more devices in the production process; the simulation data generating unit 405 generates simulation data according to the part of the operation data, and the simulation data indicates that it corresponds to one or more devices Information of one or more simulation devices performing simulation actions
  • the data recording device 40 and the playback client 50 in the system 6 respectively correspond to the device 4 for simulating a production process according to another embodiment of the present application and the device 5 for simulating a production process according to another embodiment of the present application. This is not repeated here.
  • the operation data of the equipment of the production process of interest is converted into simulation data and uploaded to the cloud platform, so that the simulation data can be used in a remote simulation platform, which facilitates the simulation processing, and can transmit the simulation data according to the required playback conditions. Go to the simulation platform for corresponding playback.
  • the data routing of this application can use different protocols, such as HTTPS and OPCUA.
  • the system consists of two main parts, namely data recording and playback. Recording is the selection of signal data suitable for simulation in a simulation platform or simulation software. Playback is to group simulation data according to user needs and send it to the simulation platform or simulation software.
  • a storage medium is also provided, where the storage medium includes a stored program, and when the program runs, the device where the storage medium is located is controlled to execute the foregoing method.
  • a processor is further provided.
  • the processor is configured to run a program, and the method is executed when the program is run.
  • a terminal including: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to Executed by one or more processors, and one or more programs are included to perform the above method.
  • a computer program product is also provided.
  • the computer program product is tangibly stored on a computer-readable medium and includes computer-executable instructions that, when executed, cause at least one processor Perform the above method.
  • This application proposes cloud-based simulation recording and playback, storing complete progress data from actual factory equipment and ensuring the accuracy and completeness of the data, ensuring the accuracy and completeness of simulation playback, and helping users quickly locate the Problem, troubleshoot and optimize process flow or monitor equipment operation.
  • the disclosed technical content can be implemented in other ways.
  • the device embodiments described above are merely schematic.
  • the division of the unit or module is only a logical function division.
  • there may be another division manner such as multiple units or modules or components. Can be combined or integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, modules or units, and may be electrical or other forms.
  • the units or modules described as separate components may or may not be physically separated, and the components displayed as units or modules may or may not be physical units or modules, which may be located in one place, or may be distributed to On multiple network elements or modules. Some or all of the units or modules may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • each functional unit or module in each embodiment of the present application may be integrated into one processing unit or module, or each unit or module may exist separately physically, or two or more units or modules may be integrated into one Unit or module.
  • the above-mentioned integrated unit or module may be implemented in the form of hardware or in the form of a software functional unit or module.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially a part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium , Including a number of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
  • the foregoing storage media include: U disks, Read-Only Memory (ROM), Random Access Memory (RAM), mobile hard disks, magnetic disks, or optical disks, and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

本申请涉及仿真生产过程的方法、装置、系统、存储介质和处理器。仿真生产过程的方法包括从可编程逻辑控制器接收一个或多个设备的运行数据;从运行数据中筛选出能用于仿真处理的部分运行数据,其中,所筛选的部分运行数据包括指示一个或多个设备在生产过程中执行的动作的信息;根据部分运行数据生成仿真数据,仿真数据指示与一个或多个设备对应的一个或多个仿真设备执行与动作对应的仿真动作的信息;以及将仿真数据传输到云平台。本申请能够准确对生产过程进行仿真,并且能够容易且快速进行故障排除或者优化生产流程。

Description

仿真生产过程的方法、装置、系统、存储介质和处理器 技术领域
本申请涉及工业生产控制领域。具体地,本申请涉及仿真生产过程的方法、装置、系统、存储介质、处理器和软件程序产品。
背景技术
大多数虚拟仿真仅能提供工厂的三维仿真,但是示出的仿真过程不能真实反映工厂中的实际生产过程,且仿真仅能在实际过程完成后进行。
工厂数字双胞胎(Digital Twin)仿真实际生产环境,使生产主管可以通过虚拟工厂平台远程监控整个工厂,随时获得生产、质量、订单和各种信息,提高管理响应性和透明度,促进各部门之间的知识共享和协作。但是,当发生异常并且任务不能及时完成时,生产主管必须花费大量的时间在工厂检查整个制造过程或检查机器以找出问题,特别是当工厂需要优化生产线时,做实验需要很多时间和资源。
发明内容
本申请实施例提供了仿真生产过程的方法、装置、系统、存储介质和处理器,以至少解决现有技术中不能完整且容易地仿真关注的生产过程的问题。为了改善这个问题,本发明提出了基于云平台(例如,MindSphere)的工厂数字双胞胎的仿真记录和回放,向云平台上传并在云平台存储实际生产的运行数据对应的仿真数据,并将仿真数据下载到仿真平台或仿真软件,以实现虚拟仿真的回放,回放由时间和流程控制,可帮助用户进行故障排除和流程优化。
根据本申请实施例的一个方面,提供了仿真生产过程的方法,包括:从可编程逻辑控制器接收一个或多个设备的运行数据;从运行数据中筛选出能用于仿真处理的部分运行数据,其中,所筛选的部分运行数据包括指示一个或多个设备在生产过程中执行的动作的信息;根据部分运行数据生成仿真数据,仿真数据指示与一个或多个设备对应的一个或多个仿真设备执行与动作对应的仿真动作的信息;以及将仿真数据传输到云平台。
以这样的方式,关注的生产过程的设备的运行数据被转换为仿真数据并上传到云平台,使仿真数据能够用于远程的仿真平台,方便进行仿真处理。
根据本申请的示例性实施例,根据部分运行数据生成仿真数据包括:确定动作、一个或多个设备执行动作的时间以及设备执行动作的部件。
以这样的方式,将设备具体动作相关的数据用于仿真处理,完整仿真生产过程。
根据本申请的示例性实施例,将仿真数据传输到云平台包括:根据动作的时间顺序以预定周期传输仿真数据;以及确定传输的仿真数据被成功接收。
以这样的方式,保证仿真数据的完整性和正确性。
根据本申请的示例性实施例,从可编程逻辑控制器根据用户设置的频率接收一个或多个设备的运行数据。
以这样的方式,按照仿真的实际需要获取生产设备的运行数据。
根据本申请的示例性实施例,根据用户设定的筛选条件从运行数据中筛选出能用于仿真处理的部分运行数据。
以这样的方式,按照仿真的实际需要准备用于仿真处理的关注的运行数据。
根据本申请的示例性实施例,动作不能被分解。
以这样的方式,对具体的动作进行仿真,反映生产过程中的具体细节。
根据本申请的示例性实施例,该方法还包括:接收回放条件;从云平台接收符合回放条件的仿真数据;根据回放条件将接收的仿真数据按照预定时间间隔传输到仿真平台。
以这样的方式,云平台中的仿真数据可以按照需要的回放条件传输到仿真平台,以进行对应的回放。
根据本申请的示例性实施例,该方法还包括按照仿真数据对应的动作的时间顺序从云平台接收符合回放条件的仿真数据。
以这样的方式,保证仿真处理能够按照正确时间顺序反映生产过程。
根据本申请的示例性实施例,如果回放条件是实时回放,则接收当前时间前预定时间间隔时的时间至当前时间的仿真数据,并且根据当前时间前预定时间间隔的时间与当前时间分别为仿真数据设置仿真处理的开始和结束的时间戳。
以这样的方式,以接近实时的方式进行仿真处理。
根据本申请的示例性实施例,如果回放条件是预定时间段之间的快速回放,则接收预定时间段之间的仿真数据,预定时间间隔比符合实时回放的时间间隔短。
以这样的方式,可以快速回放预定时间段的仿真处理。
根据本申请的示例性实施例,如果回放条件是预定时间段之间的慢速回放,则接收预定时间段之间的仿真数据,预定时间间隔比符合实时回放的时间间隔长。
以这样的方式,可以慢速回放预定时间段的仿真处理。
根据本申请的示例性实施例,如果回放条件是回放设备的动作,则根据仿真数据指示的动作的改变确定动作的开始时间与结束时间,根据开始时间与结束时间设置仿真处理的开始和结束的时间戳。
以这样的方式,可以方便回放用户关注的生产过程的仿真处理。
根据本申请的示例性实施例,该方法还包括:在接收仿真数据时,检测接收的仿真数据的准确性。
以这样的方式,保证仿真处理完整反映关注的生产过程。
根据本申请实施例的另一方面,还提供了仿真生产过程的装置,包括:数据收集单元,从可编程逻辑控制器接收一个或多个设备的运行数据;数据筛选单元,从运行数据中筛选出能用于仿真处理的部分运行数据,其中,所筛选的部分运行数据包括指示一个或多个设备在生产过程中执行的动作的信息;仿真数据生成单元,根据部分运行数据生成仿真数据,仿真数据指示与一个或多个设备对应的一个或多个仿真设备执行与动作对应的仿真动作的信息;以及数据上传单元,将仿真数据传输到云平台。
以这样的方式,关注的生产过程的设备的运行数据被转换为仿真数据并上传到云平台,使仿真数据能够用于远程的仿真平台,方便进行仿真处理。
根据本申请的示例性实施例,仿真生产过程的装置还包括:输入单元,接收回放条件;接收单元,从云平台接收符合回放条件的仿真数据;发送单元,根据回放条件将接收的仿真数据按照预定时间间隔传输到仿真平台。
以这样的方式,云平台中的仿真数据可以按照需要的回放条件传输到仿真平台,以进行对应的回放。
根据本申请实施例的另一方面,还提供了仿真生产过程的系统,包括:数据记录装置;回放客户端;云平台;可编程逻辑控制器;以及仿真平台,其中数据记录装置包括:数据收集单元,从可编程逻辑控制器接收一个或多个设备的运行数据;数据筛选单元,从运行数据中筛选出能用于仿真处理的部分运行数据,其中,所筛选的部分运行数据包括指示一个或多个设备在生产过程中执行的动作的信息;仿真数据生成单 元,根据部分运行数据生成仿真数据,仿真数据指示与一个或多个设备对应的一个或多个仿真设备执行与动作对应的仿真动作的信息;以及数据上传单元,将仿真数据传输到云平台,回放客户端包括:接收单元,从云平台接收符合回放条件的仿真数据;发送单元,根据回放条件将接收的仿真数据按照预定时间间隔传输到仿真平台。
以这样的方式,关注的生产过程的设备的运行数据被转换为仿真数据并上传到云平台,使仿真数据能够用于远程的仿真平台,方便进行仿真处理,可以按照需要的回放条件传输仿真数据到仿真平台,以进行对应的回放。
根据本申请实施例的另一方面,还提供了存储介质,存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行上述方法。
根据本申请实施例的另一方面,还提供了处理器,处理器用于运行程序,其中,程序运行时执行上述方法。
根据本申请实施例的另一方面,还提供了终端,包括:一个或多个处理器,存储器,以及一个或多个程序,其中,一个或多个程序被存储在存储器中,并且被配置为由一个或多个处理器执行,一个或多个程序包括用于执行上述方法。
根据本申请实施例的另一方面,还提供了计算机程序产品,计算机程序产品被有形地存储在计算机可读介质上并且包括计算机可执行指令,计算机可执行指令在被执行时使至少一个处理器执行上述方法。
在本申请实施例中,采用云平台收集仿真处理需要的仿真数据,并且收集的数据是生产过程的关键信息,将该数据下载到仿真平台或软件以运行完整的生产过程仿真,并且可以随时回放关注的生产过程,以方便用户进行故障排除和过程流程优化。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是根据本申请实施例的仿真生产过程的方法的流程图;
图2是根据本申请示例性实施例的仿真生产过程的方法的流程图;
图3是根据本申请示例性实施例的进行实时回放的过程的流程图;
图4是根据本申请另一实施例的仿真生产过程的装置的框图;
图5是根据本申请示例性实施例的仿真生产过程的装置的框图;
图6是根据本申请实施例的另一实施例的仿真生产过程的系统的框图。
附图标号说明:
S101,从可编程逻辑控制器接收一个或多个设备的运行数据
S103,从运行数据中筛选出能用于仿真处理的部分运行数据
S105,根据部分运行数据生成仿真数据
S107,将仿真数据传输到云平台
S201,接收回放条件
S203,从云平台接收符合回放条件的仿真数据
S205,根据回放条件将接收的仿真数据按照预定时间间隔传输到仿真平台
S301,设置当前时间为T,当前时间前预定时间间隔时的时间为T-interval
S303,对于仿真动作,接收动作开始的仿真时间为T-interval并且结束时的仿真时间为T的仿真数据
S305,为接收的仿真数据设置时间戳
S307,将仿真数据传输到仿真平台或仿真软件
4,仿真生产过程的装置
41,数据收集单元
43,数据筛选单元
45,仿真数据生成单元
47,数据上传单元
5,仿真生产过程的装置
51,输入单元
53,接收单元
55,发送单元
6,仿真生产过程的系统
40,数据记录装置
401,数据收集单元
403,数据筛选单元
405,仿真数据生成单元
407,数据上传单元
50,回放客户端
501,输入单元
503,接收单元
505,发送单元
70云平台
80可编程逻辑控制器
90仿真平台。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或模块或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或模块或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块或单元。
根据本申请实施例,提供了仿真生产过程的方法。图1是根据本申请实施例的仿真生产过程的方法的流程图。如图1所示,根据本申请实施例的仿真生产过程的方法 100包括:步骤S101,从可编程逻辑控制器接收一个或多个设备的运行数据。仿真生产过程所需的数据是从可编程逻辑控制器(PLC)中获取的,可编程逻辑控制器中包括生产中的设备的运行数据,运行数据指示设备运行时的相关属性、参数和变量等,代表设备执行的动作。这些数据从可编程逻辑控制器接收,以供后续的处理。步骤S103,从运行数据中筛选出能用于仿真处理的部分运行数据。在从可编程逻辑控制器接收到运行数据后,由于不是全部的运行数据能在仿真处理中起到作用,因此,需要筛选出所需要的运行数据。筛选的部分运行数据包括指示一个或多个设备在生产过程中执行的动作的信息。例如,筛选出能够指示设备在何时进行了什么动作以及何时结束该动作的运行数据,这些数据将在以后的仿真过程中用于指示仿真设备执行相应的仿真动作。步骤S105,根据部分运行数据生成仿真数据,仿真数据指示与一个或多个设备对应的一个或多个仿真设备执行与动作对应的仿真动作的信息。原有的运行数据指示的是实际的设备在生产过程中的动作信息,在分析了这些运行数据后,根据设备在生产过程中的动作信息,对应地生成仿真处理中仿真设备进行的仿真动作的信号,以在仿真处理中指示对应的仿真设备执行与生产过程中的动作对应的仿真动作。步骤S107,将仿真数据传输到云平台。在获得能够用于仿真处理的仿真数据后,仿真数据被上传到云平台。上传可以通过云平台的通信接口(例如MindSphere云平台的MLC),传输到云平台后可以存储在云平台的数据库中。以这样的方式,关注的生产过程的设备的运行数据被转换为仿真数据并上传到云平台,使仿真数据能够用于远程的仿真平台,方便进行仿真处理。
根据本申请的示例性实施例,在步骤S105,根据部分运行数据生成仿真数据具体包括:确定动作、一个或多个设备执行动作的时间以及设备执行动作的部件。接收到用于仿真处理的部分运行数据后,对运行数据进行分析,分析的过程在翻译器的动作分析模块中进行,其分析运行数据,得到运行数据指示的设备在生产过程中执行的动作,以及执行该动作的时间(例如动作的开始时间、结束时间)。此外,动作是细化的动作,不能被进一步分解,是由设备的具体部件做出的动作,以这样的方式,对具体的动作进行仿真,反映生产过程中的具体细节。确定设备执行该动作的部件,以用于仿真设备一致地执行仿真动作,将设备具体动作相关的数据用于仿真处理,完整仿真生产过程。
根据本申请的示例性实施例,在步骤S107,将仿真数据传输到云平台包括:根据动作的时间顺序以预定周期传输仿真数据。设备的运行数据的获取是按照时间顺序从可编程逻辑控制器获取的,也按照时间顺序对运行数据进行分析以生成仿真数据,为了正确指示实际生产中设备执行的动作的时间顺序,以及确定传输的仿真数据被成功接收。每隔一个预定的周期进行一次仿真数据向云平台的传输。以这样的方式,保证 仿真数据的完整性和正确性。用于完整仿真的仿真数据具有很高的要求,例如,仿真数据需要完整并且准确对应设备的动作,以在仿真平台进行准确回放。仿真数据具备准确的动作时间,时间的提前或延迟可能对回放仿真过程造成影响,并且仿真数据不能丢失或重复,这可能造成仿真过程中出现错误。仿真数据包括了每个动作的开始和结束时间,以支持后续在仿真过程中仅对特定时间段进行的仿真。仿真数据所指示的仿真设备进行的仿真动作相关的时间也与设备实际进行的动作相关的时间保持更新和同步,以保证仿真过程准确反映动作的时间点,从而帮助进行故障排查或流程优化等操作。仿真数据准确反映动作的时间也帮助用户在回放时,准确找到关注的生产过程,容易进行对生产过程中关键点的观察和分析。
在设备开始进行实际的生产时,可编程逻辑控制器会监控设备的运行,并获得设备运行时产生的信号,这些信号指示了设备的运行状态,其中,根据实际需求,指示设备执行的动作以及动作相关时间的信号用作仿真采用的数据,例如包括设备名、信号名、数据的值以及描述等信息,据此生成仿真数据,并将仿真数据传输到云平台并存储在数据库中。
在将仿真数据传输到云平台的过程中,可以调用数据上传服务,周期性地上传仿真数据,周期例如是1秒或2秒,也可以是更短的周期,具体周期的选择基于用户需求可以调整,以满足不同的数据粒度,或者节省硬件需求。为了确认数据被完整且正确地上传到云平台,云平台发送确认正确接收仿真数据的反馈。
根据本申请的示例性实施例,从可编程逻辑控制器根据用户设置的频率接收一个或多个设备的运行数据。可编程逻辑控制器以时间顺序获取运行数据,每隔一个周期获取一次运行数据,用户能够根据需要或工厂实际情况设置需要的获取频率。以这样的方式,按照仿真的实际需要获取生产设备的运行数据。
根据本申请的示例性实施例,根据用户设定的筛选条件从运行数据中筛选出能用于仿真处理的部分运行数据。用户可以选择需要的运行数据,例如,对于特定的设备,选择特定时间范围内的运行数据,也可以选择指示设备的动作相关信息的运行数据,或者选择设备特定部分执行的动作对应的运行数据,只要这些数据满足用户所需的仿真处理过程,均可被用户设为筛选条件,以供选择需要的数据。以这样的方式,按照仿真的实际需要准备用于仿真处理的关注的运行数据。
根据本申请实施例的另一个实施例,还提供了仿真生产过程的方法。图2是根据本申请示例性实施例的仿真生产过程的方法的流程图。如图2所示,根据本申请示例性实施例的仿真生产过程的方法200包括:步骤S201,接收回放条件。回放条件是用户根据需要的仿真处理设置的,例如,用户可以根据需要选择实时回放、对关注的一 段时间进行快速回放或慢速播放,或者对关注的两个时间之间的动作进行回放,用户输入与需要对应的回放条件,则可以根据该输入的回放条件,进行不同的接收动作,以执行满足用户需要的仿真以进行回放。步骤S203,从云平台接收符合回放条件的仿真数据,其中,仿真数据指示与一个或多个设备对应的一个或多个仿真设备执行与一个或多个设备在生产过程中执行的动作对应的仿真动作的信息。仿真数据是根据上文根据本申请实施例的仿真生产过程的方法100向云平台传输的。在方法200,这些数据根据用户需要从云平台的数据库获取。由于采用了云平台存储数据,仿真数据的获取可以是相对于云平台远程进行的,可以采用客户端下载仿真数据,或者采用其他与云平台连接的设备接收仿真数据,然后在步骤S205,根据回放条件将接收的仿真数据按照预定时间间隔传输到仿真平台,对于每种回放条件,向仿真平台传输仿真数据的方式不同,以满足不同的用户需求。以这样的方式,云平台中的仿真数据可以按照需要的回放条件传输到仿真平台,以进行对应的回放。
根据本申请的示例性实施例,该方法还包括按照仿真数据对应的动作的时间顺序从云平台接收符合回放条件的仿真数据。在从云平台接收仿真数据时,接收的仿真数据的时间顺序应当与仿真数据在上传时一致,以保证仿真动作按照正确的顺序进行。为此,对仿真数据中的时间信息进行检测,以保证时间顺序无误。以这样的方式,保证仿真处理能够按照正确时间顺序反映生产过程。
根据本申请的示例性实施例,如果回放条件是实时回放,则接收当前时间前预定时间间隔时的时间至当前时间的仿真数据,并且根据当前时间前预定时间间隔的时间与当前时间分别为仿真数据设置仿真处理的开始和结束的时间戳。对于实时回放,由于仿真处理在仿真平台通过仿真设备完成,而不是由实际的设备完成,因此,仿真动作的时间仅是一种概念,称为仿真时间。为了进行实时回放,将仿真时间与实际时间进行同步。仿真数据是按照时间间隔被传递到仿真平台以用于仿真的,确定该时间间隔使仿真动作的仿真时间与实际时间一致,则在仿真平台可以进行同步的仿真。图3是根据本申请示例性实施例的进行实时回放的过程的流程图。如图3所示,根据本申请示例性实施例的进行实时回放的过程300包括:步骤S301,设置当前时间为T,当前时间前预定时间间隔时的时间为T-interval。接着进行步骤S303,对于仿真动作,接收动作开始的仿真时间为T-interval并且结束时的仿真时间为T的仿真数据,预定时间间隔可以是1秒、2秒或更短的时间间隔,可以由用户根据需要的粒度设置。接下来进行步骤S305,为接收的仿真数据设置时间戳,时间戳是根据当前时间T和当前时间前预定时间间隔时的时间T-interval设置的,使得在仿真处理中,仿真的动作将根据当前时间T和当前时间前预定时间间隔时的时间T-interval作为开始时间和结束时间进行。步骤S307,将仿真数据传输到仿真平台或仿真软件,仿真平台或仿真软件 将根据当前时间T和当前时间前预定时间间隔时的时间T-interval使仿真设备执行仿真动作。不断重复这样的过程,其中接收仿真数据的时间间隔与传输仿真数据到仿真平台或仿真软件的时间间隔相同,且回放的延迟仅受到传输过程中的网络延时和预定时间间隔的影响,因此回放可以以用户设置的时间间隔的粒度实时或者近实时的进行。
根据本申请的示例性实施例,除了进行实时回放外,可以对特定时间段进行快速回放或者慢速回放。在实时回放的过程中,仿真数据按照时间间隔传输到仿真平台或仿真软件,使得从云平台获取仿真数据的时间与向仿真平台或仿真软件传输仿真数据的时间间隔相同。如果回放条件是预定时间段之间的快速回放,则接收预定时间段之间的仿真数据,相对于实时回放,缩短预定时间间隔使其比符合实时回放的时间间隔短,则仿真数据以相对于实际时间更快的频率传输到仿真软件或仿真平台,例如,对于实际时间间隔为2秒的动作,以1秒的时间间隔发送该动作,则仿真处理的回放速度加速。以这样的方式,可以快速回放预定时间段的仿真处理。根据本申请的示例性实施例,如果回放条件是预定时间段之间的慢速回放,则接收预定时间段之间的仿真数据,与快速回放相反,延长预定时间间隔使其比符合实时回放的时间间隔长,则仿真数据以相对于实际时间更慢的频率传输到仿真软件或仿真平台,例如,对于实际时间间隔为2秒的动作,以4秒的时间间隔发送该动作,则仿真处理的回放速度被减慢。以这样的方式,可以慢速回放预定时间段的仿真处理。如此,根据加速和减速的回放速度需要调整向仿真平台或仿真软件发送仿真数据的时间间隔,可以实现快速回放或者慢速回放。
根据本申请的示例性实施例,如果回放条件是回放设备的动作,则根据仿真数据指示的动作的改变确定动作的开始时间与结束时间,根据开始时间与结束时间设置仿真处理的开始和结束的时间戳。仿真数据包括的动作具有开始时间和结束时间,并且仿真数据包括动作的名称、涉及的设备、设备执行动作的部件等信息,这些信息被用来区分生产的不同过程,具体地,过程对应不同的动作。由于不同动作的信息是不同的,当仿真数据中指示的动作相关的信息发生改变时,可知开始发生另一个动作。当改变达到用户根据不同动作而设置的阈值时,则当前动作结束,由此可以确定动作的开始时间和结束时间。将开始时间和结束时间设为该动作的开始和结束的时间戳,在仿真平台或仿真软件进行仿真时则可以在该动作的开始时间和结束时间执行对应的仿真,以这样的方式,可以方便回放用户关注的生产过程的仿真处理。
根据本申请的示例性实施例,在接收仿真数据时,检测接收的仿真数据的准确性。以这样的方式,保证仿真处理完整反映关注的生产过程。
根据本申请实施例的另一实施例,还提供了仿真生产过程的装置。图4是根据本 申请另一实施例的仿真生产过程的装置的框图。如图4所示,根据本申请另一实施例的仿真生产过程的装置4包括:数据收集单元41,从可编程逻辑控制器接收一个或多个设备的运行数据;数据筛选单元43,从运行数据中筛选出能用于仿真处理的部分运行数据,其中,所筛选的部分运行数据包括指示一个或多个设备在生产过程中执行的动作的信息;仿真数据生成单元45,根据部分运行数据生成仿真数据,仿真数据指示与一个或多个设备对应的一个或多个仿真设备执行与动作对应的仿真动作的信息;以及数据上传单元47,将仿真数据传输到云平台。图4所示的装置4执行根据本申请实施例的仿真生产过程的方法100,在此不再赘述。以这样的方式,关注的生产过程的设备的运行数据被转换为仿真数据并上传到云平台,使仿真数据能够用于远程的仿真平台,方便进行仿真处理。
根据本申请的示例性实施例,还提供了另一仿真生产过程的装置。图5是根据本申请示例性实施例的仿真生产过程的装置的框图。如图5所示,根据本申请示例性实施例的仿真生产过程的装置5在根据本申请另一实施例的仿真生产过程的装置4的基础上,还包括:输入单元51,接收回放条件;接收单元53,从云平台接收符合回放条件的仿真数据;发送单元55,根据回放条件将接收的仿真数据按照预定时间间隔传输到仿真平台。图5所示的装置5执行根据本申请另一实施例的仿真生产过程的方法200,在此不再赘述。以这样的方式,云平台中的仿真数据可以按照需要的回放条件传输到仿真平台,以进行对应的回放。此外,根据本申请示例性实施例,输入单元、接收单元和发送单元可以设置在另外的装置中,例如,可以设置在远程设备、移动设备等客户端设备中,以通过网络从云平台接收仿真数据,并发送仿真数据到仿真平台,该设备可以远离根据本申请另一实施例的仿真生产过程的装置4或云平台设置。
根据本申请实施例的另一实施例,还提供了仿真生产过程的系统。图6是根据本申请实施例的另一实施例的仿真生产过程的系统的框图。如图6所示,根据本申请实施例的另一实施例的仿真生产过程的系统6包括:数据记录装置40;回放客户端50;云平台70;可编程逻辑控制器80;以及仿真平台90,其中数据记录装置40包括:数据收集单元401,从可编程逻辑控制器80接收一个或多个设备的运行数据;数据筛选单元403,从运行数据中筛选出能用于仿真处理的部分运行数据,其中,所筛选的部分运行数据包括指示一个或多个设备在生产过程中执行的动作的信息;仿真数据生成单元405,根据部分运行数据生成仿真数据,仿真数据指示与一个或多个设备对应的一个或多个仿真设备执行与动作对应的仿真动作的信息;以及数据上传单元407,将仿真数据传输到云平台70,回放客户端50包括:输入单元501,接收回放条件;接收单元503,从云平台70接收符合回放条件的仿真数据;发送单元505,根据回放条件将接收的仿真数据按照预定时间间隔传输到仿真平台90。系统6中的数据记录装置40 和回放客户端50分别与根据本申请另一实施例的仿真生产过程的装置4和根据本申请实施例的又一实施例的仿真生产过程的装置5对应,在此不再赘述。以这样的方式,关注的生产过程的设备的运行数据被转换为仿真数据并上传到云平台,使仿真数据能够用于远程的仿真平台,方便进行仿真处理,可以按照需要的回放条件传输仿真数据到仿真平台,以进行对应的回放。本申请的数据路由可以使用不同协议,例如HTTPS和OPCUA。该系统由两个主要部分组成,即数据记录和回放。记录是选择适合在仿真平台或仿真软件中实现仿真的信号数据。回放是根据用户需要将仿真数据分组并发送给仿真平台或仿真软件。
根据本申请实施例的另一方面,还提供了存储介质,存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行上述方法。
根据本申请实施例的另一方面,还提供了处理器,处理器用于运行程序,其中,程序运行时执行上述方法。
根据本申请实施例的另一方面,还提供了终端,包括:一个或多个处理器,存储器,以及一个或多个程序,其中,一个或多个程序被存储在存储器中,并且被配置为由一个或多个处理器执行,一个或多个程序包括用于执行上述方法。
根据本申请实施例的另一方面,还提供了计算机程序产品,计算机程序产品被有形地存储在计算机可读介质上并且包括计算机可执行指令,计算机可执行指令在被执行时使至少一个处理器执行上述方法。
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
本申请提出了基于云的仿真记录和回放,存储来自实际工厂设备的完整进度数据并确保数据的准确性和完整性,保证仿真回放的准确性和完整性,有助于用户快速定位工厂中的问题、排除故障并优化过程流程或监控设备的运行。
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元或模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,模块或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元或模块可以是或者也可以不是物理上分开的,作为单元或模块显示的部件可以是或者也可以不是物理单元或模块,即可以位于一个地方, 或者也可以分布到多个网络单元或模块上。可以根据实际的需要选择其中的部分或者全部单元或模块来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元或模块可以集成在一个处理单元或模块中,也可以是各个单元或模块单独物理存在,也可以两个或两个以上单元或模块集成在一个单元或模块中。上述集成的单元或模块既可以采用硬件的形式实现,也可以采用软件功能单元或模块的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。

Claims (20)

  1. 仿真生产过程的方法,其特征在于,包括:
    从可编程逻辑控制器接收一个或多个设备的运行数据;
    从所述运行数据中筛选出能用于仿真处理的部分运行数据,其中,所筛选的部分运行数据包括指示所述一个或多个设备在生产过程中执行的动作的信息;
    根据所述部分运行数据生成仿真数据,所述仿真数据指示与所述一个或多个设备对应的一个或多个仿真设备执行与所述动作对应的仿真动作的信息;以及
    将所述仿真数据传输到云平台。
  2. 根据权利要求1所述的方法,其特征在于,根据所述部分运行数据生成仿真数据包括:
    确定所述动作、所述一个或多个设备执行所述动作的时间以及设备执行所述动作的部件。
  3. 根据权利要求1或2所述的方法,其特征在于,将所述仿真数据传输到云平台包括:
    根据所述的动作的时间顺序以预定周期传输所述仿真数据;以及
    确定传输的所述仿真数据被成功接收。
  4. 根据权利要求1或2所述的方法,其特征在于,从可编程逻辑控制器根据用户设置的频率接收一个或多个设备的运行数据。
  5. 根据权利要求1或2所述的方法,其特征在于,根据用户设定的筛选条件从所述运行数据中筛选出能用于仿真处理的部分运行数据。
  6. 根据权利要求1或2所述的方法,其特征在于,所述动作不能被分解。
  7. 根据权利要求1或2所述的方法,其特征在于,还包括:
    接收回放条件;
    从所述云平台接收符合所述回放条件的所述仿真数据;
    根据所述回放条件将接收的所述仿真数据按照预定时间间隔传输到仿真平台。
  8. 根据权利要求7所述的方法,其特征在于,还包括:
    按照所述仿真数据对应的动作的时间顺序从所述云平台接收符合回放条件的仿真数据。
  9. 根据权利要求8所述的方法,其特征在于,如果所述回放条件是实时回放,则接收当前时间前所述预定时间间隔时的时间至当前时间的所述仿真数据,并且根据当前时间前所述预定时间间隔的时间与当前时间分别为所述仿真数据设置仿真处理的开始和结束的时间戳。
  10. 根据权利要求8所述的方法,其特征在于,如果所述回放条件是预定时间段之间的快速回放,则接收所述预定时间段之间的所述仿真数据,所述预定时间间隔比符合实时回放的时间间隔短。
  11. 根据权利要求8所述的方法,其特征在于,如果所述回放条件是预定时间段之间的慢速回放,则接收所述预定时间段之间的所述仿真数据,所述预定时间间隔比符合实时回放的时间间隔长。
  12. 根据权利要求8所述的方法,其特征在于,如果所述回放条件是回放设备的动作,则根据所述仿真数据指示的所述动作的改变确定所述动作的开始时间与结束时间,根据所述开始时间与结束时间设置仿真处理的开始和结束的时间戳。
  13. 根据权利要求7所述的方法,其特征在于,还包括:
    在接收所述仿真数据时,检测接收的所述仿真数据的准确性。
  14. 仿真生产过程的装置,其特征在于,包括:
    数据收集单元,从可编程逻辑控制器接收一个或多个设备的运行数据;
    数据筛选单元,从所述运行数据中筛选出能用于仿真处理的部分运行数据,其中,所筛选的部分运行数据包括指示所述一个或多个设备在生产过程中执行的动作的信息;
    仿真数据生成单元,根据所述部分运行数据生成仿真数据,所述仿真数据指示与所述一个或多个设备对应的一个或多个仿真设备执行与所述动作对应的仿真动作的信息;以及
    数据上传单元,将所述仿真数据传输到云平台。
  15. 根据权利要求14所述的装置,其特征在于,还包括:
    输入单元,接收回放条件;
    接收单元,从所述云平台接收符合所述回放条件的所述仿真数据;
    发送单元,根据所述回放条件将接收的所述仿真数据按照预定时间间隔传输到仿真平台。
  16. 仿真生产过程的系统,其特征在于,包括:
    数据记录装置;
    回放客户端;
    云平台;
    可编程逻辑控制器;以及
    仿真平台,其中
    所述数据记录装置包括:
    数据收集单元,从可编程逻辑控制器接收一个或多个设备的运行数据;
    数据筛选单元,从所述运行数据中筛选出能用于仿真处理的部分运行数据,其中,所筛选的部分运行数据包括指示所述一个或多个设备在生产过程中执行的动作的信息;
    仿真数据生成单元,根据所述部分运行数据生成仿真数据,所述仿真数据指示与所述一个或多个设备对应的一个或多个仿真设备执行与所述动作对应的仿真动作的信息;以及
    数据上传单元,将所述仿真数据传输到所述云平台,
    所述回放客户端包括:
    输入单元,接收回放条件;
    接收单元,从所述云平台接收符合所述回放条件的所述仿真数据;
    发送单元,根据所述回放条件将接收的所述仿真数据按照预定时间间隔传输到所述仿真平台。
  17. 存储介质,其特征在于,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行权利要求1至13中任意一项所述的方法。
  18. 处理器,其特征在于,所述处理器用于运行程序,其中,所述程序运行时执行权利要求1至13中任意一项所述的方法。
  19. 终端,包括:一个或多个处理器,存储器,以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置为由所述一个或多个处理器执行,所述一个或多个程序包括用于执行权利要求1至13中任意一项所述的方法。
  20. 计算机程序产品,所述计算机程序产品被有形地存储在计算机可读介质上并且包括计算机可执行指令,所述计算机可执行指令在被执行时使至少一个处理器执行根据权利要求1至13中任一项所述的方法。
PCT/CN2018/095322 2018-07-11 2018-07-11 仿真生产过程的方法、装置、系统、存储介质和处理器 WO2020010551A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/095322 WO2020010551A1 (zh) 2018-07-11 2018-07-11 仿真生产过程的方法、装置、系统、存储介质和处理器

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/095322 WO2020010551A1 (zh) 2018-07-11 2018-07-11 仿真生产过程的方法、装置、系统、存储介质和处理器

Publications (1)

Publication Number Publication Date
WO2020010551A1 true WO2020010551A1 (zh) 2020-01-16

Family

ID=69141894

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/095322 WO2020010551A1 (zh) 2018-07-11 2018-07-11 仿真生产过程的方法、装置、系统、存储介质和处理器

Country Status (1)

Country Link
WO (1) WO2020010551A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929683A (zh) * 2012-08-08 2013-02-13 韦创科技有限公司 输入设备的全自动化仿真系统
CN103217907A (zh) * 2012-01-24 2013-07-24 爱默生过程管理电力和水解决方案公司 用于使用云计算技术来布置工业工厂仿真器的方法和装置
CN104142661A (zh) * 2013-05-09 2014-11-12 洛克威尔自动控制技术股份有限公司 使用基于云的数据用于工业自动化系统训练

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103217907A (zh) * 2012-01-24 2013-07-24 爱默生过程管理电力和水解决方案公司 用于使用云计算技术来布置工业工厂仿真器的方法和装置
CN102929683A (zh) * 2012-08-08 2013-02-13 韦创科技有限公司 输入设备的全自动化仿真系统
CN104142661A (zh) * 2013-05-09 2014-11-12 洛克威尔自动控制技术股份有限公司 使用基于云的数据用于工业自动化系统训练

Similar Documents

Publication Publication Date Title
JP7121166B2 (ja) プロセス制御システム内でデータを受信するための方法
EP2924562B1 (en) Multiple controllers configuration management interface for system connectivity
CN110162471B (zh) 一种基于容器云的压力测试方法及系统
JP6504190B2 (ja) 制御装置および情報処理方法
EP2042959B1 (en) Correlation of non-times series events in industrial systems
JP6965798B2 (ja) 制御システムおよび制御方法
CN110865607A (zh) 一种基于数字孪生的五轴数控机床控制方法
EP2042960A2 (en) Adjustment of data collection rate based on anomaly detection
CN110050237A (zh) 数据收集装置、数据收集方法及程序
CN108306804A (zh) 一种Ethercat主站控制器及其通信方法和系统
JP2015032120A (ja) シミュレーション装置、シミュレーション方法、プログラム
WO2020010551A1 (zh) 仿真生产过程的方法、装置、系统、存储介质和处理器
JP7102801B2 (ja) 制御システム、制御装置および表示装置
US20190138921A1 (en) Interactive guidance system for selecting thermodynamics methods in process simulations
CN113032255B (zh) 响应噪音的识别方法、模型、电子设备及计算机存储介质
EP3018576B1 (en) A method for controlling changes in a computer system
CN114461337A (zh) 一种云仿真系统、方法、电子设备及存储介质
Rodrigues et al. Multi-approach debugging of industrial IoT workflows
CN108683517B (zh) 一种基于机器学习的运维机器人网络故障检测系统
Toll et al. IoTreeplay: Synchronous Distributed Traffic Replay in IoT Environments
CN109995607A (zh) 流量开销的测试方法、终端、服务器和计算机存储介质
Güneş et al. Experimentation made easy
US20240070345A1 (en) Parallel emulation for controls testing
Ifath et al. Fast Prototyping of Distributed Stream Processing Applications with stream2gym
Deivard et al. Diagnostics Framework for Time-Critical Control Systems in Cloud-Fog Automation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18926122

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18926122

Country of ref document: EP

Kind code of ref document: A1