WO2024044977A1 - 自动化应用的适配方法及装置 - Google Patents

自动化应用的适配方法及装置 Download PDF

Info

Publication number
WO2024044977A1
WO2024044977A1 PCT/CN2022/115907 CN2022115907W WO2024044977A1 WO 2024044977 A1 WO2024044977 A1 WO 2024044977A1 CN 2022115907 W CN2022115907 W CN 2022115907W WO 2024044977 A1 WO2024044977 A1 WO 2024044977A1
Authority
WO
WIPO (PCT)
Prior art keywords
hardware
automation
automation system
workflow
configuration file
Prior art date
Application number
PCT/CN2022/115907
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/CN2022/115907 priority Critical patent/WO2024044977A1/zh
Publication of WO2024044977A1 publication Critical patent/WO2024044977A1/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]

Definitions

  • the present invention mainly relates to the field of automation, and in particular, to an adaptation method and device for automation applications.
  • the present invention provides an automation application adaptation method and device, so that the automation application can adapt to different automation systems.
  • the present invention proposes an adaptation method for automation applications.
  • the method includes: obtaining an automation application.
  • the automation application includes a workflow executed by an automation system.
  • the workflow does not involve any tasks in the automation system.
  • a specific model of the hardware device obtain the configuration file of the automation system from the on-site controller, and interpret the hardware configuration information of the automation system that can be identified by the workflow from the configuration file; according to the hardware configuration information Instantiate the workflow.
  • the identification and interaction of the automation system with the automation application can be achieved.
  • application engineers only need to focus on the complex workflow of automated applications without considering the adaptation of specific automation systems, which improves the efficiency of distribution and deployment of automated applications.
  • the method further includes: verifying whether the hardware configuration information meets the hardware configuration requirements of the automation application, and Stop adaptation when the hardware configuration information cannot meet the hardware configuration requirements of the automation application. To this end, by verifying whether the hardware configuration information meets the hardware configuration requirements of the automation application, invalid adaptation of the automation application can be avoided and the application efficiency of the automation application can be improved.
  • the method further includes: detecting whether the hardware device in the automation system changes, and updating the hardware configuration information when the hardware device in the automation system changes.
  • automation applications can adapt to the dynamic adjustment of the automation system, realizing flexible production of the automation system.
  • obtaining the configuration file of the automation system from the field controller includes: obtaining a storage path of the configuration file of the automation system from the field controller, and obtaining the configuration file from the storage path.
  • cloud storage of configuration files is implemented, which reduces the load on edge devices and improves the application efficiency of automated applications.
  • the method further includes: providing a hardware agent, through which the automation application obtains real-time data from the hardware device and sends control instructions to the hardware device.
  • the identification and interaction of automation applications and automation systems are achieved.
  • the present invention also proposes an adaptation device for automation applications.
  • the device includes: an acquisition module to acquire automation applications.
  • the automation applications include workflows executed by the automation system. The workflows do not involve the workflow in the automation system.
  • a specific model of the hardware device a configuration interpretation module, which obtains the configuration file of the automation system from the on-site controller, and interprets the hardware configuration information of the automation system that can be identified by the workflow from the configuration file; examples ization module to instantiate the workflow according to hardware configuration information.
  • the configuration interpretation module interprets the hardware configuration information of the automation system that can be identified by the workflow from the configuration file, it further includes: verifying whether the hardware configuration information meets the requirements of the hardware of the automation application. Configuration requirements, and stop adaptation when the hardware configuration information cannot meet the hardware configuration requirements of the automation application.
  • the device further includes: detecting whether the hardware equipment in the automation system changes, and updating the hardware configuration information when the hardware equipment in the automation system changes.
  • the configuration interpretation module obtains the configuration file of the automation system from the field controller including: obtaining the storage path of the configuration file of the automation system from the field controller, and obtaining the configuration file from the storage path. configuration file.
  • the apparatus further includes: providing a hardware agent, through which the automation application obtains real-time data from the hardware device and sends control instructions to the hardware device.
  • the present invention also proposes an edge device.
  • the edge device includes an automation application.
  • the automation application includes a workflow and a configuration interpreter executed by the automation system.
  • the workflow does not involve the specific hardware devices in the automation system. Model; the configuration interpreter obtains the configuration file of the automation system from the on-site controller, and interprets the hardware configuration information of the automation system that can be identified by the workflow from the configuration file; the automation application
  • the workflow is instantiated according to hardware configuration information.
  • the edge device further includes a hardware agent, through which the automation application obtains real-time data from the hardware device and sends control instructions to the hardware device.
  • a hardware agent through which the automation application obtains real-time data from the hardware device and sends control instructions to the hardware device.
  • the present invention also proposes an electronic device, including a processor, a memory and instructions stored in the memory, wherein when the instructions are executed by the processor, the above method is implemented.
  • the present invention also proposes a computer-readable storage medium on which computer instructions are stored, which execute the method as described above when executed.
  • the present invention also proposes a computer program product, which is characterized in that it includes a computer program that implements the above method when executed by a processor.
  • Figure 1 is a flow chart of an adaptation method for automated applications according to an embodiment of the present invention
  • Figure 2 is a schematic diagram of the implementation environment of an adaptation method for automated applications according to an embodiment of the present invention
  • Figure 3 is a schematic diagram of an adaptation device for automated applications according to an embodiment of the present invention.
  • Figure 4 is a schematic diagram of an electronic device according to an embodiment of the present invention.
  • Figure 1 is a flow chart of an adaptation method 100 for automated applications according to an embodiment of the present invention. As shown in Figure 1, the method 100 includes:
  • Step 110 Obtain the automation application.
  • the automation application includes the workflow executed by the automation system.
  • the workflow does not involve the specific model of the hardware device in the automation system.
  • Automation applications refer to applications that enable the automation system to perform specific tasks or achieve specific functions.
  • the automation system can be at the production line level, work station level or robot level.
  • the automation application includes the workflow executed by the automation system.
  • the workflow does not involve the specific model of the hardware device in the automation system. That is, the automation application is independent of the hardware device. It only includes the hardware abstraction layer and workflow, but does not include specific models. device model.
  • an automation application includes a six-axis robot and its workflow (such as grabbing a workpiece for t time and then putting it down), but the specific model of the six-axis robot will not be defined, nor will the specific location of the six-axis robot be defined.
  • FIG. 2 is a schematic diagram of an implementation environment of an automation application adaptation method according to an embodiment of the present invention. As shown in Figure 2, the automation application 210 is deployed on the edge device 21.
  • the automation application 210 includes a workflow, which does not include a specific device model and does not depend on hardware.
  • Step 120 Obtain the configuration file of the automation system from the field controller, and interpret the hardware configuration information of the automation system that can be recognized by the workflow from the configuration file.
  • Field controllers (such as programmable logic controllers) are used to control field devices.
  • the field controller stores configuration files of field devices.
  • the configuration files include necessary information representing the hardware configuration of the automation system. , so that automation applications running on edge devices can identify and control the automation system. This necessary information can include: the hardware list of all devices in the automation system, the barrier-free space of the automation system, the specific models and technical parameters of each hardware device, etc.
  • the configuration file of the automation system is obtained from the field controller.
  • the configuration file includes the field devices in the automation system and the configuration information of each field device, and the workflow-identifiable features are interpreted from the configuration file.
  • the hardware configuration information of the automation system is to extract the configuration parameters from the configuration file and assign these configuration parameters to the workflow in the automation application.
  • the automation application can identify the information uploaded by the automation system and send it to the automation system.
  • the field controller 22 stores a configuration file 221 of the field device 23 (automation system).
  • the field device 23 includes a robot 23a, a sensor 23b, a camera 23c, etc.
  • the configuration file 221 includes a robot 23a, a sensor 23b, a camera. 23c, etc.
  • the configuration file 221 is sent to the configuration interpreter 211 through the communication bus 24, and the configuration interpreter 211 interprets the hardware configuration information of the automation system that the workflow 212 can recognize from the configuration file.
  • the workflow after interpreting the hardware configuration information of the automation system that the workflow can identify from the configuration file, it also includes: verifying whether the hardware configuration information meets the hardware configuration requirements of the automation application, and if the hardware configuration information cannot meet the requirements of the automation application, Stop adaptation when hardware configuration requires it.
  • the hardware configuration requirement of an automation application is that the load requirement of the robot is 10kg. If it is explained that the load capacity of the robot in the automation system is 5kg, then the automation system cannot meet the hardware configuration requirements of the automation application and will stop adapting at this time. , and send reminders to users. To this end, by verifying whether the hardware configuration information meets the hardware configuration requirements of the automation application, invalid adaptation of the automation application can be avoided and the application efficiency of the automation application can be improved.
  • obtaining the configuration file of the automation system from the field controller includes: obtaining a storage path of the configuration file of the automation system from the field controller, and obtaining the configuration file from the storage path.
  • the storage path of the configuration file is stored in the field controller 22, and the storage path is linked to the configuration file in the cloud.
  • the configuration file is sent from the cloud to the edge device. To this end, implement Cloud storage of configuration files is eliminated, reducing the load on edge devices and improving the application efficiency of automated applications.
  • Step 130 Instantiate the workflow according to the hardware configuration information.
  • the workflow does not involve the specific model of the hardware equipment in the automation system, that is, the automation application is independent of the hardware equipment. It only includes the hardware abstraction layer and workflow, but does not include the specific equipment model.
  • the automation system is obtained from the field controller. Configuration file, and interpret the hardware configuration information of the automation system that the workflow can recognize from the configuration file. Use the hardware configuration information to instantiate the workflow, identify the information uploaded by the automation system, and send control instructions to the automation system.
  • the hardware configuration information includes that the robot arm has a clamp C, the maximum clamping width of the clamp is Wm, and the workflow is, for example, grabbing the workpiece for t time and then putting the workpiece down, then the hardware configuration information is used to instantiate the workflow and it is the robot arm.
  • the fixture C grabs the workpiece for t time and then puts the workpiece down.
  • a workflow that does not involve specific models of hardware devices in the automation system, and combining the hardware configuration information interpreted by the configuration file of the automation system stored in the field controller, the identification and interaction of the automation system with the automation application can be achieved.
  • application engineers only need to focus on the complex workflow of automated applications without considering the adaptation of specific automation systems, which improves the efficiency of distribution and deployment of automated applications.
  • the method further includes: detecting whether the hardware device in the automation system changes, and updating the hardware configuration information when the hardware device in the automation system changes. Specifically, it is detected in real time whether the hardware equipment in the automation system has changed. For example, for flexible production, a certain production line is adjusted to produce another product, an automatic guided vehicle is added, and the configuration file 221 in the field controller 22 is If updated accordingly, the configuration interpreter 211 will also update the hardware configuration information.
  • the automation application can adapt to the dynamic adjustment of the automation system, realizing flexible production of the automation system.
  • the method further includes: providing a hardware agent, through which the automation application obtains real-time data from the hardware device and sends control instructions to the hardware device.
  • the field controller 22 includes a robot agent 22a, a sensor agent 22b, and a camera agent 22c.
  • the automation application 210 can communicate through the hardware agent communication interface 213, the robot agent 22a, the sensor agent 22b, and the camera agent 22c respectively. With the robot 23a, the sensor 23b, and the camera 23c, the recognition and interaction of the automation application and the automation system are realized.
  • the embodiment of the present invention proposes an adaptation method for automation applications, by adopting a workflow that does not involve specific models of hardware devices in the automation system, and combining the hardware configurations interpreted with the configuration files of the automation system stored in the field controller.
  • Information can realize the identification and interaction of automation applications with automation systems.
  • Application engineers only need to focus on the complex workflow of automation applications without considering the adaptation of specific automation systems, which improves the efficiency of distribution and deployment of automation applications.
  • FIG. 3 is a schematic diagram of an adaptation device 300 for automated applications according to an embodiment of the present invention. As shown in Figure 3, the device 300 includes:
  • the acquisition module 310 acquires the automation application.
  • the automation application includes the workflow executed by the automation system.
  • the workflow does not involve the specific model of the hardware device in the automation system;
  • the configuration interpretation module 320 obtains the configuration file of the automation system from the on-site controller, and interprets the hardware configuration information of the automation system that can be recognized by the workflow from the configuration file;
  • the instantiation module 330 instantiates the workflow according to the hardware configuration information.
  • the configuration interpretation module 320 interprets the hardware configuration information of the automation system that the workflow can identify from the configuration file, it also includes: verifying whether the hardware configuration information meets the hardware configuration requirements of the automation application, and if the hardware configuration information cannot Stop adaptation when the hardware configuration requirements for the automation application are met.
  • the apparatus 300 further includes: detecting whether the hardware equipment in the automation system changes, and updating the hardware configuration information when the hardware equipment in the automation system changes.
  • the configuration interpretation module 320 obtains the configuration file of the automation system from the field controller including: obtaining the storage path of the configuration file of the automation system from the field controller, and obtaining the configuration file from the storage path.
  • the apparatus 300 further includes: providing a hardware agent, through which the automation application obtains real-time data from the hardware device and sends control instructions to the hardware device.
  • the present invention also proposes an edge device.
  • the edge device includes an automation application.
  • the automation application includes a workflow executed by the automation system and a configuration interpreter.
  • the workflow does not involve the specific model of the hardware device in the automation system; the configuration interpreter controls from the scene.
  • FIG. 4 is a schematic diagram of an electronic device 400 according to an embodiment of the present invention.
  • the electronic device 400 includes a processor 410 and a memory 420 .
  • the memory 420 stores instructions, and when the instructions are executed by the processor 410 , the method 100 as described above is implemented.
  • the present invention also proposes a computer-readable storage medium on which computer instructions are stored, and when executed, the computer instructions execute the method 100 as described above.
  • Some aspects of the method and device of the present invention may be executed entirely by hardware, may be entirely executed by software (including firmware, resident software, microcode, etc.), or may be executed by a combination of hardware and software.
  • the above hardware or software may be referred to as “data block”, “module”, “engine”, “unit”, “component” or “system”.
  • the processor may be one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DAPDs), programmable logic devices (PLCs), field programmable gate arrays (FPGAs), processors , controller, microcontroller, microprocessor or combination thereof.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DAPDs digital signal processing devices
  • PLCs programmable logic devices
  • FPGAs field programmable gate arrays
  • processors controller, microcontroller, microprocessor or combination thereof.
  • aspects of the invention may be embodied as a computer product embodied in one or more computer-readable media, the product including computer-readable program code.
  • computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, tapes, etc.), optical disks (e.g., compact disks (CD), digital versatile disks (DVD), ...), smart cards and flash memory devices (e.g. cards, sticks, key drives).
  • a flowchart is used here to illustrate operations performed by methods according to embodiments of the present application. It should be understood that the preceding operations are not necessarily performed in exact order. Instead, the various steps can be processed in reverse order or simultaneously. At the same time, other operations may be added to these processes, or a step or steps may be removed from these processes.

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明提出了一种自动化应用的适配方法,所述方法包括:获取自动化应用,所述自动化应用包括自动化系统执行的工作流,所述工作流不涉及所述自动化系统中的硬件设备的具体模型;从现场控制器中获取所述自动化系统的配置文件,并从所述配置文件中解释出所述工作流能够识别的所述自动化系统的硬件配置信息;根据硬件配置信息对所述工作流进行实例化。

Description

自动化应用的适配方法及装置 技术领域
本发明主要涉及自动化领域,尤其涉及一种自动化应用的适配方法及装置。
背景技术
制造业正在逐步从大规模生产向小批量柔性生产转变,在这一趋势下,针对自动化,模块化,高度柔性的生产系统或工站的需求也在逐步增加。这些生产系统或工站通常是安装有相应应用软件的硬件平台,以执行特定的任务,例如组装、装运、研磨等。然而,这些生产系统上运行的软件与特定的软件配置和系统参数高度关联,意味着针对特定任务的某种自动化应用无法适用于不同的生产系统,即使是相似硬件配置和与该自动化应用兼容的生产系统,开发者需要为每个生产系统开发单独的自动化应用,费时费力,成本较高。
发明内容
为了解决上述技术问题,本发明提供一种自动化应用的适配方法及装置,以使自动化应用能够适配不同的自动化系统。
为实现上述目的,本发明提出了一种自动化应用的适配方法,所述方法包括:获取自动化应用,所述自动化应用包括自动化系统执行的工作流,所述工作流不涉及所述自动化系统中的硬件设备的具体模型;从现场控制器中获取所述自动化系统的配置文件,并从所述配置文件中解释出所述工作流能够识别的所述自动化系统的硬件配置信息;根据硬件配置信息对所述工作流进行实例化。为此,通过采用不涉及自动化系统中的硬件设备的具体模型的工作流,结合现场控制器中存储的自动化系统的配置文件解释出的硬件配置信息,可以实现自动化应用对自动化系统的识别和交互,应用工程师仅需专注于自动化应用复杂的工作流,而无需考虑具体的自动化系统的适配,提高了自动化应用的分发和部署效率。
可选地,从所述配置文件中解释出所述工作流能够识别的所述自动化系统的硬件配置信息之后还包括:验证所述硬件配置信息是否满足所述自动化应用的硬件配置要求,并在所述所述硬件配置信息无法满足所述自动化应用的硬件配置要求时停止适配。为此,通过验证硬件配置信息是否满足自动化应用的硬件配置要求,可以避免自动化应用的无效适配,提高了自动化应用的应用效率。
可选地,所述方法还包括:检测所述自动化系统中的硬件设备是否发生变化,在所述自动化系统中的硬件设备发生变化时更新所述硬件配置信息。为此,自动化应用可以适配 自动化系统的动态调整,实现了自动化系统的柔性生产。
可选地,从现场控制器中获取所述自动化系统的配置文件包括:从现场控制器中获取所述自动化系统的配置文件的存储路径,并从所述存储路径中获取所述配置文件。为此,实现了配置文件的云端存储,降低了边缘设备的负荷,提高了自动化应用的应用效率。
可选地,所述方法还包括:提供一硬件代理,所述自动化应用通过所述硬件代理从所述硬件设备中获取实时数据,并像所述硬件设备发送控制指令。为此,实现了自动化应用与自动化系统的识别和交互。
本发明还提出了一种自动化应用的适配装置,所述装置包括:获取模块,获取自动化应用,所述自动化应用包括自动化系统执行的工作流,所述工作流不涉及所述自动化系统中的硬件设备的具体模型;配置解释模块,从现场控制器中获取所述自动化系统的配置文件,并从所述配置文件中解释出所述工作流能够识别的所述自动化系统的硬件配置信息;实例化模块,根据硬件配置信息对所述工作流进行实例化。
可选地,所述配置解释模块从所述配置文件中解释出所述工作流能够识别的所述自动化系统的硬件配置信息之后还包括:验证所述硬件配置信息是否满足所述自动化应用的硬件配置要求,并在所述所述硬件配置信息无法满足所述自动化应用的硬件配置要求时停止适配。
可选地,所述装置还包括:检测所述自动化系统中的硬件设备是否发生变化,在所述自动化系统中的硬件设备发生变化时更新所述硬件配置信息。
可选地,所述配置解释模块从现场控制器中获取所述自动化系统的配置文件包括:从现场控制器中获取所述自动化系统的配置文件的存储路径,并从所述存储路径中获取所述配置文件。
可选地,所述装置还包括:提供一硬件代理,所述自动化应用通过所述硬件代理从所述硬件设备中获取实时数据,并像所述硬件设备发送控制指令。
本发明还提出了一种边缘设备,所述边缘设备包括自动化应用,所述自动化应用包括自动化系统执行的工作流和配置解释器,所述工作流不涉及所述自动化系统中的硬件设备的具体模型;所述配置解释器从现场控制器中获取所述自动化系统的配置文件,并从所述配置文件中解释出所述工作流能够识别的所述自动化系统的硬件配置信息;所述自动化应用根据硬件配置信息对所述工作流进行实例化。
可选地,所述边缘设备还包括硬件代理,所述自动化应用通过所述硬件代理从所述硬件设备中获取实时数据,并像所述硬件设备发送控制指令。
本发明还提出了一种电子设备,包括处理器、存储器和存储在所述存储器中的指令, 其中所述指令被所述处理器执行时实现如上所述的方法。
本发明还提出了一种计算机可读存储介质,其上存储有计算机指令,所述计算机指令在被运行时执行如上所述的方法。
本发明还提出了一种计算机程序产品,其特征在于,包括计算机程序,所述计算机程序被处理器执行时实施如上所述的方法。
附图说明
以下附图仅旨在于对本发明做示意性说明和解释,并不限定本发明的范围。其中,
图1是根据本发明的一实施例的一种自动化应用的适配方法的流程图;
图2是根据本发明的一实施例的一种自动化应用的适配方法的实施环境的示意图;
图3是根据本发明的一实施例的一种自动化应用的适配装置的示意图;
图4是根据本发明的一实施例的一种电子设备的示意图。
附图标记说明
100自动化应用的适配方法
110-130步骤
21边缘设备
210自动化应用
211配置解释器
212工作流
213硬件代理通信接口
22现场控制器
221配置文件
22a机器人代理
22b传感器代理
22c摄像头代理
23现场设备
23a机器人
23b传感器
23c摄像头
24通信总线
310获取模块
320配置解释模块
330实例化模块
400电子设备
410处理器
420存储器
具体实施方式
为了对本发明的技术特征、目的和效果有更加清楚的理解,现对照附图说明本发明的具体实施方式。
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是本发明还可以采用其它不同于在此描述的其它方式来实施,因此本发明不受下面公开的具体实施例的限制。
如本申请和权利要求书中所示,除非上下文明确提示例外情形,“一”、“一个”、“一种”和/或“该”等词并非特指单数,也可包括复数。一般说来,术语“包括”与“包含”仅提示包括已明确标识的步骤和元素,而这些步骤和元素不构成一个排它性的罗列,方法或者设备也可能包含其他的步骤或元素。
本发明提出了一种自动化应用的适配方法,图1是根据本发明的一实施例的一种自动化应用的适配方法100的流程图,如图1所示,方法100包括:
步骤110,获取自动化应用,自动化应用包括自动化系统执行的工作流,工作流不涉及自动化系统中的硬件设备的具体模型。
自动化应用指的是能够使自动化系统执行特定的任务或实现特定的功能的应用程序,自动化系统可以是产线级、工站级或机器人级,自动化应用在开发完成之后,被部署到诸如边缘设备中,自动化应用包括自动化系统执行的工作流,工作流不涉及自动化系统中的硬件设备的具体模型,即自动化应用是独立于硬件设备的,其仅包括硬件抽象层和工作流,而不包括具体的设备模型。例如,某自动化应用包括一个六轴机器人及其工作流(例如抓取工件持续t时间之后放下工件),但是不会定义六轴机器人的具体模型,也不会定义六轴机器人的具体位点,因此该自动化应用为在边缘设备上运行的不依赖于硬件的模块。图2是根据本发明的一实施例的一种自动化应用的适配方法的实施环境的示意图。如图2所示,自动化应用210被部署在边缘设备21上,该自动化应用210包括工作流,该工作流不包括具体的设备模型,不依赖于硬件。
步骤120,从现场控制器中获取自动化系统的配置文件,并从配置文件中解释出工作 流能够识别的自动化系统的硬件配置信息。
现场控制器(例如可编程逻辑控制器)用于对现场设备进行控制,现场控制器为了实现对现场设备的控制,其存储有现场设备的配置文件,配置文件包括表示自动化系统硬件配置的必要信息,以使边缘设备上运行的自动化应用能够识别和控制自动化系统,这些必要信息可以包括:自动化系统中所有设备的硬件列表,自动化系统的无障碍空间,各硬件设备的具体模型和技术参数等。
在本发明的实施例中,从现场控制器中获取自动化系统的配置文件,该配置文件包括自动化系统中的现场设备以及各现场设备的配置信息,并从配置文件中解释出工作流能够识别的自动化系统的硬件配置信息,即从该配置文件中提取出配置参数,并将这些配置参数指定给自动化应用中的工作流,由此,自动化应用可以识别自动化系统上传的信息,并向自动化系统发送控制指令。如图2所示,现场控制器22中存储有现场设备23(自动化系统)的配置文件221,现场设备23包括机器人23a,传感器23b,摄像头23c等,配置文件221包括机器人23a,传感器23b,摄像头23c等的无障碍空间,具体模型和技术参数,配置文件221通过通信总线24发送到配置解释器211,配置解释器211从配置文件中解释出工作流212能够识别的自动化系统的硬件配置信息。
在一些实施例中,从配置文件中解释出工作流能够识别的自动化系统的硬件配置信息之后还包括:验证硬件配置信息是否满足自动化应用的硬件配置要求,并在硬件配置信息无法满足自动化应用的硬件配置要求时停止适配。具体地,某自动化应用的硬件配置要求是机器人的负载要求为10kg,若解释出自动化系统中机器人的负载能力为5kg,则该自动化系统无法满足自动化应用的硬件配置要求,此时将停止适配,并向用户发送提醒,为此,通过验证硬件配置信息是否满足自动化应用的硬件配置要求,可以避免自动化应用的无效适配,提高了自动化应用的应用效率。
在一些实施例中,从现场控制器中获取自动化系统的配置文件包括:从现场控制器中获取自动化系统的配置文件的存储路径,并从存储路径中获取配置文件。具体地,如图2所示,现场控制器22中存储有配置文件的存储路径,该存储路径链接至云端的配置文件,在系统启动阶段该配置文件由云端发送至边缘设备,为此,实现了配置文件的云端存储,降低了边缘设备的负荷,提高了自动化应用的应用效率。
步骤130,根据硬件配置信息对工作流进行实例化。
工作流不涉及自动化系统中的硬件设备的具体模型,即自动化应用是独立于硬件设备的,其仅包括硬件抽象层和工作流,而不包括具体的设备模型,从现场控制器中获取自动化系统的配置文件,并从配置文件中解释出工作流能够识别的自动化系统的硬件配置信息, 采用硬件配置信息对工作流进行实例化,可以识别自动化系统上传的信息,并向自动化系统发送控制指令。例如硬件配置信息包括机械臂具有一个夹具C,该夹具的最大夹持宽度为Wm,工作流为例如抓取工件持续t时间之后放下工件,则采用硬件配置信息对工作流进行实例化就是机械臂的夹具C抓取工件持续t时间之后放下工件。为此,通过采用不涉及自动化系统中的硬件设备的具体模型的工作流,结合现场控制器中存储的自动化系统的配置文件解释出的硬件配置信息,可以实现自动化应用对自动化系统的识别和交互,应用工程师仅需专注于自动化应用复杂的工作流,而无需考虑具体的自动化系统的适配,提高了自动化应用的分发和部署效率。
在一些实施例中,方法还包括:检测自动化系统中的硬件设备是否发生变化,在自动化系统中的硬件设备发生变化时更新硬件配置信息。具体地,实时检测自动化系统中的硬件设备是否发生变化,例如对于柔性生产,某一产线做出调整以生产另一种产品,新增了自动引导车,现场控制器22中的配置文件221相应地更新,配置解释器211也会更新硬件配置信息,为此,自动化应用可以适配自动化系统的动态调整,实现了自动化系统的柔性生产。
在一些实施例中,方法还包括:提供一硬件代理,自动化应用通过硬件代理从硬件设备中获取实时数据,并像硬件设备发送控制指令。具体地,如图2所示,现场控制器22中包括机器人代理22a,传感器代理22b,摄像头代理22c,自动化应用210可以通过硬件代理通信接口213,机器人代理22a,传感器代理22b,摄像头代理22c分别与机器人23a,传感器23b,摄像头23c,为此,实现了自动化应用与自动化系统的识别和交互。
本发明的实施例提出了一种自动化应用的适配方法,通过采用不涉及自动化系统中的硬件设备的具体模型的工作流,结合现场控制器中存储的自动化系统的配置文件解释出的硬件配置信息,可以实现自动化应用对自动化系统的识别和交互,应用工程师仅需专注于自动化应用复杂的工作流,而无需考虑具体的自动化系统的适配,提高了自动化应用的分发和部署效率。
本发明还提出了一种自动化应用的适配装置,图3是根据本发明的一实施例的一种自动化应用的适配装置300的示意图,如图3所示,装置300包括:
获取模块310,获取自动化应用,自动化应用包括自动化系统执行的工作流,工作流不涉及自动化系统中的硬件设备的具体模型;
配置解释模块320,从现场控制器中获取自动化系统的配置文件,并从配置文件中解释出工作流能够识别的自动化系统的硬件配置信息;
实例化模块330,根据硬件配置信息对工作流进行实例化。
在一些实施例中,配置解释模块320从配置文件中解释出工作流能够识别的自动化系统的硬件配置信息之后还包括:验证硬件配置信息是否满足自动化应用的硬件配置要求,并在硬件配置信息无法满足自动化应用的硬件配置要求时停止适配。
在一些实施例中,装置300还包括:检测自动化系统中的硬件设备是否发生变化,在自动化系统中的硬件设备发生变化时更新硬件配置信息。
在一些实施例中,配置解释模块320从现场控制器中获取自动化系统的配置文件包括:从现场控制器中获取自动化系统的配置文件的存储路径,并从存储路径中获取配置文件。
在一些实施例中,装置300还包括:提供一硬件代理,自动化应用通过硬件代理从硬件设备中获取实时数据,并像硬件设备发送控制指令。
本发明还提出了一种边缘设备,边缘设备包括自动化应用,自动化应用包括自动化系统执行的工作流和配置解释器,工作流不涉及自动化系统中的硬件设备的具体模型;配置解释器从现场控制器中获取自动化系统的配置文件,并从配置文件中解释出工作流能够识别的自动化系统的硬件配置信息;自动化应用根据硬件配置信息对工作流进行实例化。
本发明还提出一种电子设备400。图4是根据本发明的一实施例的一种电子设备400的示意图。如图4所示,电子设备400包括处理器410和存储器420,存储器420存储中存储有指令,其中指令被处理器410执行时实现如上文所述的方法100。
本发明还提出一种计算机可读存储介质,其上存储有计算机指令,计算机指令在被运行时执行如上文所述的方法100。
本发明的方法和装置的一些方面可以完全由硬件执行、可以完全由软件(包括固件、常驻软件、微码等)执行、也可以由硬件和软件组合执行。以上硬件或软件均可被称为“数据块”、“模块”、“引擎”、“单元”、“组件”或“系统”。处理器可以是一个或多个专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理器件(DAPD)、可编程逻辑器件(PLC)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器或者其组合。此外,本发明的各方面可能表现为位于一个或多个计算机可读介质中的计算机产品,该产品包括计算机可读程序编码。例如,计算机可读介质可包括,但不限于,磁性存储设备(例如,硬盘、软盘、磁带……)、光盘(例如,压缩盘(CD)、数字多功能盘(DVD)……)、智能卡以及闪存设备(例如,卡、棒、键驱动器……)。
在此使用了流程图用来说明根据本申请的实施例的方法所执行的操作。应当理解的是,前面的操作不一定按照顺序来精确地执行。相反,可以按照倒序或同时处理各种步骤。同时,或将其他操作添加到这些过程中,或从这些过程移除某一步或数步操作。
应当理解,虽然本说明书是按照各个实施例描述的,但并非每个实施例仅包含一个独 立的技术方案,说明书的这种叙述方式仅仅是为清楚起见,本领域技术人员应当将说明书作为一个整体,各实施例中的技术方案也可以经适当组合,形成本领域技术人员可以理解的其他实施方式。
以上所述仅为本发明示意性的具体实施方式,并非用以限定本发明的范围。任何本领域的技术人员,在不脱离本发明的构思和原则的前提下所作的等同变化、修改与结合,均应属于本发明保护的范围。

Claims (15)

  1. 一种自动化应用的适配方法(100),其特征在于,所述方法(100)包括:
    获取自动化应用,所述自动化应用包括自动化系统执行的工作流,所述工作流不涉及所述自动化系统中的硬件设备的具体模型(110);
    从现场控制器中获取所述自动化系统的配置文件,并从所述配置文件中解释出所述工作流能够识别的所述自动化系统的硬件配置信息(120);
    根据硬件配置信息对所述工作流进行实例化(130)。
  2. 根据权利要求1所述的方法(100),其特征在于,从所述配置文件中解释出所述工作流能够识别的所述自动化系统的硬件配置信息之后还包括:验证所述硬件配置信息是否满足所述自动化应用的硬件配置要求,并在所述所述硬件配置信息无法满足所述自动化应用的硬件配置要求时停止适配。
  3. 根据权利要求1或2所述的方法(100),其特征在于,所述方法(100)还包括:检测所述自动化系统中的硬件设备是否发生变化,在所述自动化系统中的硬件设备发生变化时更新所述硬件配置信息。
  4. 根据权利要求1-3任一项所述的方法(100),其特征在于,从现场控制器中获取所述自动化系统的配置文件包括:从现场控制器中获取所述自动化系统的配置文件的存储路径,并从所述存储路径中获取所述配置文件。
  5. 根据权利要求1-4任一项所述的方法(100),其特征在于,所述方法(100)还包括:提供一硬件代理,所述自动化应用通过所述硬件代理从所述硬件设备中获取实时数据,并像所述硬件设备发送控制指令。
  6. 一种自动化应用的适配装置(300),其特征在于,所述装置(300)包括:
    获取模块(310),获取自动化应用,所述自动化应用包括自动化系统执行的工作流,所述工作流不涉及所述自动化系统中的硬件设备的具体模型;
    配置解释模块(320),从现场控制器中获取所述自动化系统的配置文件,并从所述配置文件中解释出所述工作流能够识别的所述自动化系统的硬件配置信息;
    实例化模块(330),根据硬件配置信息对所述工作流进行实例化。
  7. 根据权利要求6所述的装置(300),其特征在于,所述配置解释模块(320)从所述配置文件中解释出所述工作流能够识别的所述自动化系统的硬件配置信息之后还包括:验证所述硬件配置信息是否满足所述自动化应用的硬件配置要求,并在所述所述硬件配置信息无法满足所述自动化应用的硬件配置要求时停止适配。
  8. 根据权利要求6或7所述的装置(300),其特征在于,所述装置(300)还包括:检测所述自动化系统中的硬件设备是否发生变化,在所述自动化系统中的硬件设备发生变化时更新所述硬件配置信息。
  9. 根据权利要求6-8任一项所述的装置(300),其特征在于,所述配置解释模块(320)从现场控制器中获取所述自动化系统的配置文件包括:从现场控制器中获取所述自动化系统的配置文件的存储路径,并从所述存储路径中获取所述配置文件。
  10. 根据权利要求6-9任一项所述的装置(300),其特征在于,所述装置(300)还包括:提供一硬件代理,所述自动化应用通过所述硬件代理从所述硬件设备中获取实时数据,并像所述硬件设备发送控制指令。
  11. 一种边缘设备,所述边缘设备包括自动化应用,所述自动化应用包括自动化系统执行的工作流和配置解释器,所述工作流不涉及所述自动化系统中的硬件设备的具体模型;所述配置解释器从现场控制器中获取所述自动化系统的配置文件,并从所述配置文件中解释出所述工作流能够识别的所述自动化系统的硬件配置信息;所述自动化应用根据硬件配置信息对所述工作流进行实例化。
  12. 根据权利要求11所述的边缘设备,其特征在于,所述边缘设备还包括硬件代理,所述自动化应用通过所述硬件代理从所述硬件设备中获取实时数据,并像所述硬件设备发送控制指令。
  13. 一种电子设备(400),包括处理器(410)、存储器(420)和存储在所述存储器(420)中的指令,其中所述指令被所述处理器(410)执行时实现如权利要求1-5任一项所述的方法。
  14. 一种计算机可读存储介质,其上存储有计算机指令,所述计算机指令在被运行时执行根据权利要求1-5中任一项所述的方法(100)。
  15. 一种计算机程序产品,其特征在于,包括计算机程序,所述计算机程序被处理器执行时实施权利要求1-5中任一项所述的方法(100)。
PCT/CN2022/115907 2022-08-30 2022-08-30 自动化应用的适配方法及装置 WO2024044977A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/115907 WO2024044977A1 (zh) 2022-08-30 2022-08-30 自动化应用的适配方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/115907 WO2024044977A1 (zh) 2022-08-30 2022-08-30 自动化应用的适配方法及装置

Publications (1)

Publication Number Publication Date
WO2024044977A1 true WO2024044977A1 (zh) 2024-03-07

Family

ID=90100170

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/115907 WO2024044977A1 (zh) 2022-08-30 2022-08-30 自动化应用的适配方法及装置

Country Status (1)

Country Link
WO (1) WO2024044977A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109861987A (zh) * 2019-01-02 2019-06-07 广州大学 自动化渗透测试系统、方法及机器人
CN110659165A (zh) * 2019-08-30 2020-01-07 苏州浪潮智能科技有限公司 一种多节点服务器自动化测试方法和装置
CN110968051A (zh) * 2018-09-28 2020-04-07 西门子股份公司 用于规划自动化系统的方法和工程系统
US20200285485A1 (en) * 2019-03-08 2020-09-10 Palantir Technologies Inc. Systems and methods for automated and distributed configuration of computing devices
CN114137910A (zh) * 2020-09-03 2022-03-04 罗克韦尔自动化技术公司 工业自动化资产和控制项目分析

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968051A (zh) * 2018-09-28 2020-04-07 西门子股份公司 用于规划自动化系统的方法和工程系统
CN109861987A (zh) * 2019-01-02 2019-06-07 广州大学 自动化渗透测试系统、方法及机器人
US20200285485A1 (en) * 2019-03-08 2020-09-10 Palantir Technologies Inc. Systems and methods for automated and distributed configuration of computing devices
CN110659165A (zh) * 2019-08-30 2020-01-07 苏州浪潮智能科技有限公司 一种多节点服务器自动化测试方法和装置
CN114137910A (zh) * 2020-09-03 2022-03-04 罗克韦尔自动化技术公司 工业自动化资产和控制项目分析

Similar Documents

Publication Publication Date Title
US11712800B2 (en) Generation of robotic user interface responsive to connection of peripherals to robot
EP3194123B1 (en) System and method for flexible human-machine collaboration
US9875133B2 (en) Virtual machine disk image installation
EP4002189A1 (en) Industrial network communication emulation
US20090222752A1 (en) Industrial automation visualization object having integrated hmi and control components
WO2022000755A1 (zh) 机器人及其行动控制方法、装置和计算机可读存储介质
US20190389484A1 (en) Methods and systems of algorithmically controlling automotive functions
US20100162203A1 (en) Project management device and method for architecture modeling tool of application software on autosar and computer readable recording medium therefor
US11475378B2 (en) Project planning system, control program and method for checking consistent recording of pipelines in a project planning system
CN110673842A (zh) 一种可视化编程方法及系统、存储介质、设备
WO2024044977A1 (zh) 自动化应用的适配方法及装置
US11496567B2 (en) Data processing method, apparatus, device and storage medium based on unmanned vehicle
US10338891B2 (en) Migration between model elements of different types in a modeling environment
CN103777618A (zh) 半导体工艺的指令执行的控制方法
Woodall et al. ROS topics: capabilities [ROS Topics]
CN107844334B (zh) 一种自动配置机器人rcs的方法及系统
Sulaiman et al. Integrated Interface Development Environment using STEP Universal Data Structure
TW200305090A (en) Association of process context with configuration document for manufacturing process
JP2004237364A (ja) ロボットのティーチングデータの作成方法
US11511434B2 (en) Mode architecture for general purpose robotics
CN116157753A (zh) 使用具有嵌入信息的虚拟对象的自动化系统工程
TWI844858B (zh) 自動化控制系統
US20070174035A1 (en) Open architecture picture transfer protocol interface and related method
CN112513754B (zh) 用于制造或加工产品的方法以及用于控制生产系统的控制装置
EP3974921A1 (en) Integrated development module and method for engineering automation systems in an industrial automation environment

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: 22956809

Country of ref document: EP

Kind code of ref document: A1