WO2023184184A1 - Industrial control method and apparatus - Google Patents

Industrial control method and apparatus Download PDF

Info

Publication number
WO2023184184A1
WO2023184184A1 PCT/CN2022/083844 CN2022083844W WO2023184184A1 WO 2023184184 A1 WO2023184184 A1 WO 2023184184A1 CN 2022083844 W CN2022083844 W CN 2022083844W WO 2023184184 A1 WO2023184184 A1 WO 2023184184A1
Authority
WO
WIPO (PCT)
Prior art keywords
industrial
control strategy
production line
real
data
Prior art date
Application number
PCT/CN2022/083844
Other languages
French (fr)
Chinese (zh)
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/083844 priority Critical patent/WO2023184184A1/en
Publication of WO2023184184A1 publication Critical patent/WO2023184184A1/en

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 industrial automation, and in particular, to an industrial control method and device.
  • one or more predefined control strategies are loaded into the automation control system.
  • the automation control system uses the predefined control strategy to control the production line to execute the production process.
  • the control strategy cannot be adjusted during the production process. , cannot respond well to real-time conditions or emergencies during the production process. If adjustments are needed, adjustments can only be made manually after stopping the production line, which seriously hinders the production progress.
  • the present invention provides an industrial control method and device, which can provide flexible control strategies to respond to real-time conditions or emergencies in the production process and improve production efficiency.
  • the present invention proposes an industrial control method for controlling an industrial production line or industrial equipment.
  • the industrial control method includes: obtaining a first control strategy of the industrial production line or industrial equipment, so The first control strategy is preset; real-time data of the industrial production line or industrial equipment is obtained, and the second control strategy of the industrial production line or industrial equipment is determined based on the real-time data and historical data; and the second control strategy of the industrial production line or industrial equipment is adopted.
  • the second control strategy adjusts the first control strategy, and controls the industrial production line or industrial equipment according to the adjusted first control strategy.
  • embodiments of the present invention provide an industrial control method that combines a first control strategy and a second control strategy.
  • the first control strategy has high reliability
  • the second control strategy has strong real-time performance, taking into account both control reliability and Real-time performance provides flexible control strategies that can promptly respond to real-time conditions or emergencies in the production process and improve production efficiency.
  • determining the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data includes: determining the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data in an edge device. Second control strategy. To this end, the second control policy is generated in the local edge device, which avoids the impact of network communication and improves the speed of policy generation.
  • determining the second control strategy of the industrial production line or industrial equipment according to the real-time data and historical data includes: sending the real-time data and historical data to a cloud, and the cloud determines the second control strategy according to the real-time data and historical data.
  • the data determines a second control strategy for the industrial production line or industrial equipment.
  • the second control strategy is generated in the cloud, which can provide higher computing power and more services, improving the accuracy and diversity of the strategy.
  • determining the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data includes: using historical data to train a machine learning model, and using the machine learning model to determine the second control strategy based on the real-time data. Secondary control strategy for industrial production lines or industrial equipment. To this end, by adopting a machine learning model to determine the second control strategy, the intelligence and accuracy of the control can be improved.
  • obtaining the first control strategy of the industrial production line or industrial equipment includes: obtaining historical data and production management data, using the historical data and the production management data combined with the domain knowledge of domain experts to define a preset The first control strategy.
  • the data sources of the first control strategy are enriched, the impact of production management on production lines and industrial equipment is considered, and the flexibility and accuracy of control are improved.
  • the invention also proposes an industrial control device for controlling industrial production lines or industrial equipment.
  • the industrial control device includes: a first acquisition module to obtain the first control strategy of the industrial production line or industrial equipment, The first control strategy is preset; the second acquisition module acquires real-time data of the industrial production line or industrial equipment, and determines the second control of the industrial production line or industrial equipment based on the real-time data and historical data.
  • Strategy a control module that uses the second control strategy to adjust the first control strategy, and controls the industrial production line or industrial equipment according to the adjusted first control strategy.
  • embodiments of the present invention provide an industrial control method that combines a first control strategy and a second control strategy.
  • the first control strategy has high reliability
  • the second control strategy has strong real-time performance, taking into account both control reliability and Real-time performance provides flexible control strategies that can promptly respond to real-time conditions or emergencies in the production process and improve production efficiency.
  • the second acquisition module determines the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data including: determining the industrial production line or industrial equipment based on the real-time data and historical data in an edge device. Secondary control strategy for production lines or industrial equipment. To this end, the second control strategy is generated in the local edge device, which avoids delays caused by communication and improves the reliability and efficiency of generating the second control strategy.
  • the second acquisition module determines the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data including: sending the real-time data and historical data to the cloud, and the cloud based on The real-time data and historical data determine a second control strategy for the industrial production line or industrial equipment.
  • the second acquisition module determines the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data including: using historical data to train a machine learning model, and using the machine learning model to determine the second control strategy based on the real-time data and historical data.
  • the real-time data determines the second control strategy of the industrial production line or industrial equipment.
  • the first acquisition module acquires the first control strategy of the industrial production line or industrial equipment including: acquiring historical data and production management data, and using the historical data and the production management data combined with the fields of domain experts. Knowledge that defines the first control strategy.
  • 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.
  • Figure 1 is a flow chart of an industrial control method according to an embodiment of the present invention.
  • Figure 2 is an exemplary schematic diagram of an implementation environment of an industrial control method according to an embodiment of the present invention
  • Figure 3 is an exemplary flow chart for generating a first control strategy according to an embodiment of the present invention
  • Figure 4 is an exemplary flow chart for generating a second control strategy according to an embodiment of the present invention.
  • Figure 5 is an exemplary flow chart for generating a second control strategy according to another embodiment of the present invention.
  • Figure 6 is a schematic diagram of an industrial control device according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 1 is a flow chart of an industrial control method 100 according to an embodiment of the present invention. As shown in Figure 1, industrial control Method 100 includes:
  • Step 110 Obtain the first control strategy of the industrial production line or industrial equipment.
  • the first control strategy is preset.
  • the industrial control method of the present invention can be a production line-level control of an industrial production line, where each equipment in the production line is controlled to perform different actions at different times, or it can be a device-level control of industrial equipment, where the control equipment is Different actions are performed at different times.
  • the first control strategy is preset, which can also be called a static control strategy. It is set at the factory and does not need to be adjusted during subsequent use.
  • the first control strategy can be generated based on the domain knowledge of domain experts and is reliable. high.
  • the first control strategy refers to the overall configuration of the control object, which can be stopping or running, or what parameters are used for running.
  • a factory includes production line 1 and For two production lines, production line 2, the first control strategy can be to run both production line 1 and production line 2 from Monday to Friday, only production line 1 to operate on Saturdays, and only production line 2 to operate on Sundays.
  • FIG 2 is an exemplary schematic diagram of an implementation environment of an industrial control method according to an embodiment of the present invention.
  • the first control policy is stored in the policy management service 211a and can be retrieved for use in subsequent steps.
  • obtaining the first control strategy of the industrial production line or industrial equipment may include: obtaining historical data and production management data, using the historical data and production management data combined with the domain know-how of domain experts, and defining Default first control strategy.
  • third-party software 212 such as manufacturing execution system MES, enterprise resource planning ERP, and product life cycle management PLM can provide production management data. These production management data can be used to generate the first control strategy, that is, the static control strategy. To this end, the data sources of the first control strategy are enriched, the impact of production management on production lines and industrial equipment is considered, and the flexibility and accuracy of control are improved.
  • Step 120 Obtain real-time data of the industrial production line or industrial equipment, and determine the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data.
  • Industrial equipment can be such as programmable logic controller PLC, computer numerical controller CNC, robot, automatic guided vehicle AGV, sensor, driver, etc.
  • the industrial production line consists of one or more industrial equipment, which can generate A large amount of real-time data, such as the position, speed, acceleration, etc. of the mechanical arm in the robot, can feed back the real-time status of the production line or industrial equipment, and determine the second control strategy of the industrial production line or industrial equipment based on the real-time data.
  • the second control The strategy can also be adapted to the real-time conditions of the production line or industrial equipment.
  • the second control strategy is related to the real-time conditions, so it can also be called a dynamic control strategy with high real-time performance.
  • Historical data refers to the historical operating data of industrial production lines or industrial equipment.
  • Historical data can be used to build data models.
  • the second control strategy is similar to the first control strategy and refers to the overall configuration of the control object.
  • the second control strategy can be to predict that the spraying robot in production line 2 will appear with a high probability based on real-time data. Due to a malfunction, the production line 2 was stopped for maintenance on the same day.
  • the real-time data of the executor 22B is obtained by the data acquisition unit 222 through the interface 221, stored in the data memory 223, and processed by the data processor 224, and generates a second control strategy accordingly.
  • determining the second control strategy of the industrial production line or industrial equipment based on real-time data and historical data includes: determining the second control strategy of the industrial production line or industrial equipment based on real-time data and historical data in the edge device.
  • the local policy generator 225 generates a second control policy according to the data model of the data processor 224 and real-time data, and the local policy generator 225 sends the second control policy to the policy memory 226 .
  • determining the second control strategy of the industrial production line or industrial equipment based on real-time data and historical data includes: sending real-time data to the cloud, and the cloud determines the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data.
  • Control Strategy As shown in Figure 2, the data in the data storage 223 is sent to the data storage 232.
  • the big data analysis service 233 analyzes and processes the data in the data storage 232 to generate a data model.
  • the cloud policy generator 234 generates a data model according to the data of the big data analysis service 233.
  • the data model and real-time data generate a second control policy, which is sent to the policy memory 226 via the policy providing service 211b and the network service 227.
  • determining the second control strategy of the industrial production line or industrial equipment based on real-time data and historical data includes: using historical data to train a machine learning model, and using the machine learning model to determine the second control strategy of the industrial production line or industrial equipment based on real-time data. 2.
  • Control strategy The machine learning model can be a recurrent neural network model, etc.
  • Step 130 Use the second control strategy to adjust the first control strategy, and control the industrial production line or industrial equipment according to the adjusted first control strategy.
  • Using the second control strategy to adjust the first control strategy means merging the second control strategy and the first control strategy into a total control strategy.
  • the second control strategy and the first control strategy are merged.
  • the second control strategy can be logically operated with the first control strategy.
  • the first control strategy is to run both production line 1 and production line 2 from Monday to Friday, only production line 1 to operate on Saturdays, and only production line 2 to operate on Sundays.
  • the second control strategy is to stop the spraying of production line 2 on the same day. If the robot is shut down for maintenance, then the second control strategy is used to adjust the first control strategy.
  • production line 1 runs from Monday to Friday
  • production line 2 stops running on the same day, runs at other times from Monday to Friday, and only production line 1 runs on Saturdays.
  • only production line 2 is running on Sunday.
  • the first control strategy and the second control strategy are stored in the strategy memory 226 , and adjusting the first control strategy using the second control strategy can be implemented in the controller 228 .
  • FIG. 3 is an exemplary flow chart for generating a first control strategy according to an embodiment of the present invention.
  • the flow chart corresponds to generating a first control strategy, that is, a static control strategy.
  • Step S301 the controller 228 extracts the control strategy from the strategy memory 226;
  • Step S302 the controller 228 controls the actuator 22B according to the control strategy
  • Step S303 obtain domain knowledge from domain experts
  • Step S304 use domain knowledge as the first control strategy, or update the existing first control strategy to the policy management service 211a;
  • Step S305 the policy management service 211a sends the first control policy to the policy providing service 211b;
  • Step S306 the policy providing service 211b sends the first control policy to the network service 227;
  • Step S307 the network service 227 sends the first control policy to the policy memory 226 for storage;
  • Step S308 the controller 228 extracts the control strategy from the strategy memory 226;
  • step S309 the controller 228 controls the actuator 22B according to the control strategy.
  • FIG. 4 is an exemplary flowchart for generating a second control strategy according to an embodiment of the present invention.
  • the flowchart corresponds to locally generating a second control strategy, that is, a dynamic control strategy.
  • Step S401 the controller 228 extracts the control strategy from the strategy memory 226;
  • Step S402 the controller 228 controls the actuator 22B according to the control strategy
  • Step S403 the data acquisition unit 222 acquires real-time data from the executor 22B;
  • Step S404 the data acquisition unit 222 stores the real-time data into the data storage unit 223;
  • Step S405 the data processing unit 224 calls the data in the data storage unit 223 for processing
  • Step S406 the data processing unit 224 generates a data model according to the received data
  • Step S407 the local policy generator 225 generates a second control policy according to the data model and real-time data of the data processing unit 224;
  • Step S408 the local policy generator 225 sends the second control policy to the policy memory 226;
  • Step S409 the controller 228 extracts the control strategy from the strategy memory 226;
  • step S410 the controller 228 controls the actuator 22B according to the control strategy.
  • FIG. 5 is an exemplary flow chart for generating a second control strategy according to another embodiment of the present invention.
  • the flow chart corresponds to generating a second control strategy in the cloud, that is, a dynamic control strategy.
  • Step S501 the controller 228 extracts the control strategy from the strategy memory 226;
  • Step S502 the controller 228 controls the actuator 22B according to the control strategy
  • Step S503 the data acquisition unit 222 acquires real-time data from the executor 22B;
  • Step S504 the data acquisition unit 222 stores the real-time data into the data storage unit 223;
  • Step S505 the data in the data storage unit 223 is sent to the data storage 232;
  • Step S506 the big data analysis service 233 calls the data in the data storage 232;
  • Step S507 the big data analysis service 233 generates a data model based on the received data
  • Step S508 the cloud policy generator 234 generates a second control policy based on the data model and real-time data of the big data analysis service 233;
  • Step S509 the cloud policy generator 234 sends the second control policy to the policy providing service 211b;
  • Step S510 the policy providing service 211b sends the second control policy to the network service 227;
  • Step S511 the network service 227 stores the second control policy into the policy memory 226;
  • Step S512 the controller 228 extracts the control strategy from the strategy memory 226;
  • step S513 the controller 228 controls the actuator 22B according to the control strategy.
  • Embodiments of the present invention provide an industrial control method that combines a first control strategy and a second control strategy.
  • the first control strategy has high reliability
  • the second control strategy has strong real-time performance, taking into account both the reliability and real-time performance of the control. It provides a flexible control strategy that can promptly respond to real-time conditions or emergencies in the production process and improve production efficiency.
  • FIG. 6 is a schematic diagram of an industrial control device 600 according to an embodiment of the present invention. As shown in Figure 6, industrial control Device 600 includes:
  • the first acquisition module 610 acquires the first control strategy of the industrial production line or industrial equipment, and the first control strategy is preset.
  • the second acquisition module 620 acquires real-time data of the industrial production line or industrial equipment, and determines the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data.
  • the control module 630 uses the second control strategy to adjust the first control strategy, and controls the industrial production line or industrial equipment according to the adjusted first control strategy.
  • the second acquisition module 620 determines the second control strategy of the industrial production line or industrial equipment based on real-time data and historical data including: determining the second control strategy of the industrial production line or industrial equipment based on real-time data and historical data in the edge device. 2. Control strategy.
  • the second acquisition module 620 determines the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data including: sending the real-time data to the cloud, and the cloud determines the industrial production line or industrial equipment based on the real-time data and historical data. Secondary control strategies for industrial equipment.
  • the second acquisition module 620 determines the second control strategy of the industrial production line or industrial equipment based on real-time data and historical data including: using historical data to train a machine learning model, and using the machine learning model to determine the industrial production line based on real-time data. or a secondary control strategy for industrial equipment.
  • the first acquisition module 620 acquires the first control strategy of the industrial production line or industrial equipment including: acquiring historical data and production management data, using the historical data and production management data combined with domain knowledge of domain experts to define presets first control strategy.
  • the present invention also provides an electronic device 700.
  • Figure 7 is a schematic diagram of an electronic device 700 according to an embodiment of the present invention. As shown in FIG. 7 , the electronic device 700 includes a processor 710 and a memory 720 .
  • the memory 720 stores instructions, and when the instructions are executed by the processor 710 , 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.
  • Each of the above hardware or software may be referred to as a "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, magnetic 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

The present invention provides an industrial control method, which is used for controlling an industrial production line or an industrial device. The industrial control method comprises: acquiring a first control strategy of an industrial production line or an industrial device, wherein the first control strategy is preset; acquiring real-time data of the industrial production line or the industrial device, and determining a second control strategy of the industrial production line or the industrial device according to the real-time data and historical data; and adjusting the first control strategy by using the second control strategy, and controlling the industrial production line or the industrial device according to the adjusted first control strategy. Embodiments of the present invention provide the industrial control method, combining the first control strategy and the second control strategy, wherein the first control strategy is high in reliability, and the second control strategy is high in real-time performance, so that the reliability and the real-time performance of control are both considered, a flexible control strategy is provided, real-time conditions or emergencies in a production process can be dealt with in time, and the production efficiency is improved.

Description

工业控制方法及装置Industrial control methods and devices 技术领域Technical field
本发明主要涉及工业自动化领域,尤其涉及一种工业控制方法及装置。The present invention mainly relates to the field of industrial automation, and in particular, to an industrial control method and device.
背景技术Background technique
在工业自动化领域中,一种或多种预定义的控制策略被加载到自动化控制系统中,自动化控制系统采用预定义的控制策略控制产线执行生产过程,在生产过程中控制策略是无法调整的,无法很好地应对生产过程中的实时状况或突发状况,如果需要调整,只能在停掉产线之后人工进行调整,严重阻碍了生产进度。In the field of industrial automation, one or more predefined control strategies are loaded into the automation control system. The automation control system uses the predefined control strategy to control the production line to execute the production process. The control strategy cannot be adjusted during the production process. , cannot respond well to real-time conditions or emergencies during the production process. If adjustments are needed, adjustments can only be made manually after stopping the production line, which seriously hinders the production progress.
发明内容Contents of the invention
为了解决上述技术问题,本发明提供一种工业控制方法及装置,可以提供灵活的控制策略,以及时应对生产过程中的实时状况或突发状况,提高生产效率。In order to solve the above technical problems, the present invention provides an industrial control method and device, which can provide flexible control strategies to respond to real-time conditions or emergencies in the production process and improve production efficiency.
为实现上述目的,本发明提出了一种工业控制方法,用于对工业产线或工业设备进行控制,所述工业控制方法包括:获取所述工业产线或工业设备的第一控制策略,所述第一控制策略是预设的;获取所述工业产线或工业设备的实时数据,根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略;采用所述第二控制策略调整所述第一控制策略,根据调整后的所述第一控制策略对所述工业产线或工业设备进行控制。为此,本发明的实施例提供了一种工业控制方法,结合了第一控制策略和第二控制策略,第一控制策略可靠性高,第二控制策略实时性强,兼顾控制的可靠性和实时性,提供了灵活的控制策略,可以及时应对生产过程中的实时状况或突发状况,提高生产效率。In order to achieve the above object, the present invention proposes an industrial control method for controlling an industrial production line or industrial equipment. The industrial control method includes: obtaining a first control strategy of the industrial production line or industrial equipment, so The first control strategy is preset; real-time data of the industrial production line or industrial equipment is obtained, and the second control strategy of the industrial production line or industrial equipment is determined based on the real-time data and historical data; and the second control strategy of the industrial production line or industrial equipment is adopted. The second control strategy adjusts the first control strategy, and controls the industrial production line or industrial equipment according to the adjusted first control strategy. To this end, embodiments of the present invention provide an industrial control method that combines a first control strategy and a second control strategy. The first control strategy has high reliability, and the second control strategy has strong real-time performance, taking into account both control reliability and Real-time performance provides flexible control strategies that can promptly respond to real-time conditions or emergencies in the production process and improve production efficiency.
可选地,根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略包括:在边缘设备中根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略。为此,第二控制策略是在本地的边缘设备中生成的,避免了网络通信的影响,提高了策略生成的速度。Optionally, determining the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data includes: determining the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data in an edge device. Second control strategy. To this end, the second control policy is generated in the local edge device, which avoids the impact of network communication and improves the speed of policy generation.
可选地,根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略包括:将所述实时数据和历史数据发送至云端,所述云端根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略。为此,第二控制策略是在云端生成的,云端可以提供更高的算力和更多的服务,提高了策略的准确性和多样性。Optionally, determining the second control strategy of the industrial production line or industrial equipment according to the real-time data and historical data includes: sending the real-time data and historical data to a cloud, and the cloud determines the second control strategy according to the real-time data and historical data. The data determines a second control strategy for the industrial production line or industrial equipment. To this end, the second control strategy is generated in the cloud, which can provide higher computing power and more services, improving the accuracy and diversity of the strategy.
可选地,根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略 包括:使用历史数据训练机器学习模型,采用所述机器学习模型根据所述实时数据确定所述工业产线或工业设备的第二控制策略。为此,通过采用机器学习模型来确定第二控制策略,可以提高控制的智能性和准确性。Optionally, determining the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data includes: using historical data to train a machine learning model, and using the machine learning model to determine the second control strategy based on the real-time data. Secondary control strategy for industrial production lines or industrial equipment. To this end, by adopting a machine learning model to determine the second control strategy, the intelligence and accuracy of the control can be improved.
可选地,获取所述工业产线或工业设备的第一控制策略包括:获取历史数据和生产管理数据,使用所述历史数据、所述生产管理数据结合领域专家的领域知识,定义预设的第一控制策略。为此,丰富了第一控制策略的数据源,考虑了生产管理对产线和工业设备的影响,提高了控制的灵活性和准确性。Optionally, obtaining the first control strategy of the industrial production line or industrial equipment includes: obtaining historical data and production management data, using the historical data and the production management data combined with the domain knowledge of domain experts to define a preset The first control strategy. To this end, the data sources of the first control strategy are enriched, the impact of production management on production lines and industrial equipment is considered, and the flexibility and accuracy of control are improved.
本发明还提出了一种工业控制装置,用于对工业产线或工业设备进行控制,所述工业控制装置包括:第一获取模块,获取所述工业产线或工业设备的第一控制策略,所述第一控制策略是预设的;第二获取模块,获取所述工业产线或工业设备的实时数据,根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略;控制模块,采用所述第二控制策略调整所述第一控制策略,根据调整后的所述第一控制策略对所述工业产线或工业设备进行控制。为此,本发明的实施例提供了一种工业控制方法,结合了第一控制策略和第二控制策略,第一控制策略可靠性高,第二控制策略实时性强,兼顾控制的可靠性和实时性,提供了灵活的控制策略,可以及时应对生产过程中的实时状况或突发状况,提高生产效率。The invention also proposes an industrial control device for controlling industrial production lines or industrial equipment. The industrial control device includes: a first acquisition module to obtain the first control strategy of the industrial production line or industrial equipment, The first control strategy is preset; the second acquisition module acquires real-time data of the industrial production line or industrial equipment, and determines the second control of the industrial production line or industrial equipment based on the real-time data and historical data. Strategy; a control module that uses the second control strategy to adjust the first control strategy, and controls the industrial production line or industrial equipment according to the adjusted first control strategy. To this end, embodiments of the present invention provide an industrial control method that combines a first control strategy and a second control strategy. The first control strategy has high reliability, and the second control strategy has strong real-time performance, taking into account both control reliability and Real-time performance provides flexible control strategies that can promptly respond to real-time conditions or emergencies in the production process and improve production efficiency.
可选地,所述第二获取模块根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略包括:在边缘设备中根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略。为此,第二控制策略是在本地的边缘设备中生成的,避免了通信导致的延迟,提高了生成第二控制策略的可靠性和效率。Optionally, the second acquisition module determines the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data including: determining the industrial production line or industrial equipment based on the real-time data and historical data in an edge device. Secondary control strategy for production lines or industrial equipment. To this end, the second control strategy is generated in the local edge device, which avoids delays caused by communication and improves the reliability and efficiency of generating the second control strategy.
可选地,所述第二获取模块根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略包括:将所述实时数据和历史数据发送至云端,所述云端根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略。为此,Optionally, the second acquisition module determines the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data including: sending the real-time data and historical data to the cloud, and the cloud based on The real-time data and historical data determine a second control strategy for the industrial production line or industrial equipment. to this end,
可选地,所述第二获取模块根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略包括:使用历史数据训练机器学习模型,采用所述机器学习模型根据所述实时数据确定所述工业产线或工业设备的第二控制策略。Optionally, the second acquisition module determines the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data including: using historical data to train a machine learning model, and using the machine learning model to determine the second control strategy based on the real-time data and historical data. The real-time data determines the second control strategy of the industrial production line or industrial equipment.
可选地,所述第一获取模块获取所述工业产线或工业设备的第一控制策略包括:获取历史数据和生产管理数据,使用所述历史数据、所述生产管理数据结合领域专家的领域知识,定义所述第一控制策略。Optionally, the first acquisition module acquires the first control strategy of the industrial production line or industrial equipment including: acquiring historical data and production management data, and using the historical data and the production management data combined with the fields of domain experts. Knowledge that defines the first control strategy.
本发明还提出了一种电子设备,包括处理器、存储器和存储在所述存储器中的指令,其中所述指令被所述处理器执行时实现如上所述的方法。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.
附图说明Description of drawings
以下附图仅旨在于对本发明做示意性说明和解释,并不限定本发明的范围。其中,The following drawings are only intended to schematically illustrate and explain the present invention and do not limit the scope of the present invention. in,
图1是根据本发明的一实施例的一种工业控制方法的流程图;Figure 1 is a flow chart of an industrial control method according to an embodiment of the present invention;
图2是根据本发明的一实施例的一种工业控制方法实施环境的示范性示意图;Figure 2 is an exemplary schematic diagram of an implementation environment of an industrial control method according to an embodiment of the present invention;
图3是根据本发明的一实施例的一种生成第一控制策略的示范性流程图;Figure 3 is an exemplary flow chart for generating a first control strategy according to an embodiment of the present invention;
图4是根据本发明的一实施例的一种生成第二控制策略的示范性流程图;Figure 4 is an exemplary flow chart for generating a second control strategy according to an embodiment of the present invention;
图5是根据本发明的另一实施例的一种生成第二控制策略的示范性流程图;Figure 5 is an exemplary flow chart for generating a second control strategy according to another embodiment of the present invention;
图6是根据本发明的一实施例的一种工业控制装置的示意图;Figure 6 is a schematic diagram of an industrial control device according to an embodiment of the present invention;
图7是根据本发明的一实施例的一种电子装置的示意图。FIG. 7 is a schematic diagram of an electronic device according to an embodiment of the present invention.
附图标记说明Explanation of reference signs
100 方法100 methods
110-130 步骤110-130 steps
21 企业管理中心21 Enterprise Management Center
211 服务层211 service layer
211a 策略管理服务211a Policy Management Services
211b 策略提供服务211b policy provision services
212 第三方软件212 Third-party software
22 现场22 Onsite
22A 边缘设备22A Edge Device
221 接口221 interface
222 数据获取单元222 data acquisition unit
223 数据存储单元223 data storage unit
224 数据处理单元224 data processing unit
225 本地策略生成器225 Local Policy Generator
226 策略存储器226 policy memory
227 网络服务227 Network Services
228 控制器228 controller
22B 执行器22B actuator
23 云端23 cloud
231 数据监控器231 Data Monitor
232 数据存储232 Data Storage
233 大数据分析服务233 Big data analysis services
234 云端策略生成器234 Cloud Strategy Generator
600 工业控制装置600 industrial control devices
610 第一获取模块610 First acquisition module
620 第二获取模块620 Second acquisition module
630 控制模块630 control module
700 电子设备700 Electronic equipment
710 处理器710 processor
720 存储器720 memory
具体实施方式Detailed ways
为了对本发明的技术特征、目的和效果有更加清楚的理解,现对照附图说明本发明的具体实施方式。In order to have a clearer understanding of the technical features, purposes and effects of the present invention, the specific embodiments of the present invention will now be described with reference to the accompanying drawings.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是本发明还可以采用其它不同于在此描述的其它方式来实施,因此本发明不受下面公开的具体实施例的限制。Many specific details are set forth in the following description to fully understand the present invention, but the present invention can also be implemented in other ways different from those described here, so the present invention is not limited to the specific embodiments disclosed below.
如本申请和权利要求书中所示,除非上下文明确提示例外情形,“一”、“一个”、“一种”和/或“该”等词并非特指单数,也可包括复数。一般说来,术语“包括”与“包含”仅提示包括已明确标识的步骤和元素,而这些步骤和元素不构成一个排它性的罗列,方法或者设备也可能包含其他的步骤或元素。As shown in this application and claims, words such as "a", "an", "an" and/or "the" do not specifically refer to the singular and may include the plural unless the context clearly indicates an exception. Generally speaking, the terms "comprising" and "comprising" only imply the inclusion of clearly identified steps and elements, and these steps and elements do not constitute an exclusive list. The method or apparatus may also include other steps or elements.
本发明提出一种工业控制方法,用于对工业产线或工业设备进行控制,图1是根据本发明的一实施例的一种工业控制方法100的流程图,如图1所示,工业控制方法100包括:The present invention proposes an industrial control method for controlling industrial production lines or industrial equipment. Figure 1 is a flow chart of an industrial control method 100 according to an embodiment of the present invention. As shown in Figure 1, industrial control Method 100 includes:
步骤110,获取工业产线或工业设备的第一控制策略,第一控制策略是预设的。Step 110: Obtain the first control strategy of the industrial production line or industrial equipment. The first control strategy is preset.
本发明的工业控制方法可以是对工业产线进行的产线级控制,控制产线中的各个设备在不同的时间执行不同的动作,也可以是对工业设备进行的设备级控制,控制设备在不同的时间执行不同的动作。第一控制策略是预设的,也可以称之为静态控制策略,其在出厂时是设置好的,后续使用时不需作出调整,第一控制策略可以基于领域专家的领域知识生成,可靠性高。在本发明的实施例中,第一控制策略指的是对控制对象进行的整体上的配 置,可以是停止或者运行,也可以是采用何种参数进行运行,例如,某工厂包括产线一和产线二两条产线,第一控制策略可以是周一至周五产线一和产线二都运行,周六仅产线一运行,周天仅产线二运行。The industrial control method of the present invention can be a production line-level control of an industrial production line, where each equipment in the production line is controlled to perform different actions at different times, or it can be a device-level control of industrial equipment, where the control equipment is Different actions are performed at different times. The first control strategy is preset, which can also be called a static control strategy. It is set at the factory and does not need to be adjusted during subsequent use. The first control strategy can be generated based on the domain knowledge of domain experts and is reliable. high. In the embodiment of the present invention, the first control strategy refers to the overall configuration of the control object, which can be stopping or running, or what parameters are used for running. For example, a factory includes production line 1 and For two production lines, production line 2, the first control strategy can be to run both production line 1 and production line 2 from Monday to Friday, only production line 1 to operate on Saturdays, and only production line 2 to operate on Sundays.
图2是根据本发明的一实施例的一种工业控制方法实施环境的示范性示意图。如图2所示,第一控制策略存储于211a策略管理服务中,可以被调取出来供后续步骤使用。Figure 2 is an exemplary schematic diagram of an implementation environment of an industrial control method according to an embodiment of the present invention. As shown in Figure 2, the first control policy is stored in the policy management service 211a and can be retrieved for use in subsequent steps.
在一些实施例中,获取工业产线或工业设备的第一控制策略可以包括:获取历史数据和生产管理数据,使用历史数据、生产管理数据结合领域专家的领域知识(domain know-how),定义预设的第一控制策略。如图2所示,第三方软件212例如制造执行系统MES,企业资源规划ERP,产品生命周期管理PLM可以提供生产管理数据,这些生产管理数据可以用来生成第一控制策略,即静态控制策略,为此,丰富了第一控制策略的数据源,考虑了生产管理对产线和工业设备的影响,提高了控制的灵活性和准确性。In some embodiments, obtaining the first control strategy of the industrial production line or industrial equipment may include: obtaining historical data and production management data, using the historical data and production management data combined with the domain know-how of domain experts, and defining Default first control strategy. As shown in Figure 2, third-party software 212 such as manufacturing execution system MES, enterprise resource planning ERP, and product life cycle management PLM can provide production management data. These production management data can be used to generate the first control strategy, that is, the static control strategy. To this end, the data sources of the first control strategy are enriched, the impact of production management on production lines and industrial equipment is considered, and the flexibility and accuracy of control are improved.
步骤120,获取工业产线或工业设备的实时数据,根据实时数据和历史数据确定工业产线或工业设备的第二控制策略。Step 120: Obtain real-time data of the industrial production line or industrial equipment, and determine the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data.
工业设备可以是诸如可编程逻辑控制器PLC、计算机数字控制器CNC、机器人、自动引导车AGV、传感器、驱动器等,工业产线由一个或多个工业设备组成,这些工业设备在运行时可以产生大量的实时数据,例如机器人中机械臂的位置、速度、加速度等,这些数据可以反馈产线或工业设备的实时状况,根据实时数据确定工业产线或工业设备的第二控制策略,第二控制策略也可以适配产线或工业设备的实时状况,第二控制策略与实时状况是相关联的,因此也可以称之为动态控制策略,实时性高。历史数据指的是工业产线或工业设备的历史运行数据,历史数据可以用来建立数据模型。可以理解,第二控制策略与第一控制策略相似,指的是对控制对象进行的整体上的配置,例如,第二控制策略可以是根据实时数据预测产线2中的喷涂机器人大概率会出现故障,当天停掉产线2对喷涂机器人进行停产维护。如图2所示,执行器22B的实时数据通过接口221由数据获取单元222获取,存储于数据存储器223中,并由数据处理器224进行处理,并据此生成第二控制策略。Industrial equipment can be such as programmable logic controller PLC, computer numerical controller CNC, robot, automatic guided vehicle AGV, sensor, driver, etc. The industrial production line consists of one or more industrial equipment, which can generate A large amount of real-time data, such as the position, speed, acceleration, etc. of the mechanical arm in the robot, can feed back the real-time status of the production line or industrial equipment, and determine the second control strategy of the industrial production line or industrial equipment based on the real-time data. The second control The strategy can also be adapted to the real-time conditions of the production line or industrial equipment. The second control strategy is related to the real-time conditions, so it can also be called a dynamic control strategy with high real-time performance. Historical data refers to the historical operating data of industrial production lines or industrial equipment. Historical data can be used to build data models. It can be understood that the second control strategy is similar to the first control strategy and refers to the overall configuration of the control object. For example, the second control strategy can be to predict that the spraying robot in production line 2 will appear with a high probability based on real-time data. Due to a malfunction, the production line 2 was stopped for maintenance on the same day. As shown in Figure 2, the real-time data of the executor 22B is obtained by the data acquisition unit 222 through the interface 221, stored in the data memory 223, and processed by the data processor 224, and generates a second control strategy accordingly.
在一些实施例中,根据实时数据和历史数据确定工业产线或工业设备的第二控制策略包括:在边缘设备中根据实时数据和历史数据确定工业产线或工业设备的第二控制策略。如图2所示,本地策略生成器225根据数据处理器224的数据模型和实时数据生成第二控制策略,本地策略生成器225将第二控制策略发送至策略存储器226中。In some embodiments, determining the second control strategy of the industrial production line or industrial equipment based on real-time data and historical data includes: determining the second control strategy of the industrial production line or industrial equipment based on real-time data and historical data in the edge device. As shown in FIG. 2 , the local policy generator 225 generates a second control policy according to the data model of the data processor 224 and real-time data, and the local policy generator 225 sends the second control policy to the policy memory 226 .
在一些实施例中,根据实时数据和历史数据确定工业产线或工业设备的第二控制策略包括:将实时数据发送至云端,云端根据实时数据和历史数据确定工业产线或工业设备的第二控制策略。如图2所示,数据存储器223中的数据发送至数据存储232中,大数据分 析服务233对数据存储232中的数据进行分析处理生成数据模型,云端策略生成器234根据大数据分析服务233的数据模型和实时数据生成第二控制策略,经由策略提供服务211b和网路服务227发送至策略存储器226中。In some embodiments, determining the second control strategy of the industrial production line or industrial equipment based on real-time data and historical data includes: sending real-time data to the cloud, and the cloud determines the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data. Control Strategy. As shown in Figure 2, the data in the data storage 223 is sent to the data storage 232. The big data analysis service 233 analyzes and processes the data in the data storage 232 to generate a data model. The cloud policy generator 234 generates a data model according to the data of the big data analysis service 233. The data model and real-time data generate a second control policy, which is sent to the policy memory 226 via the policy providing service 211b and the network service 227.
在一些实施例中,根据实时数据和历史数据确定工业产线或工业设备的第二控制策略包括:使用历史数据训练机器学习模型,采用机器学习模型根据实时数据确定工业产线或工业设备的第二控制策略。机器学习模型可以是循环神经网络模型等,通过采用机器学习模型来确定第二控制策略,可以提高控制的智能性和准确性。In some embodiments, determining the second control strategy of the industrial production line or industrial equipment based on real-time data and historical data includes: using historical data to train a machine learning model, and using the machine learning model to determine the second control strategy of the industrial production line or industrial equipment based on real-time data. 2. Control strategy. The machine learning model can be a recurrent neural network model, etc. By using the machine learning model to determine the second control strategy, the intelligence and accuracy of the control can be improved.
步骤130,采用第二控制策略调整第一控制策略,根据调整后的第一控制策略对工业产线或工业设备进行控制。Step 130: Use the second control strategy to adjust the first control strategy, and control the industrial production line or industrial equipment according to the adjusted first control strategy.
采用第二控制策略调整第一控制策略,也就是将第二控制策略与第一控制策略合并成一个总的控制策略,在本发明的实施例中,将第二控制策略与第一控制策略合并可以将第二控制策略与第一控制策略进行逻辑运算。例如,第一控制策略是周一至周五产线一和产线二都运行,周六仅产线一运行,周天仅产线二运行,第二控制策略是当天停掉产线2对喷涂机器人进行停产维护,那么采用第二控制策略调整第一控制策略的结果就是周一至周五产线一运行,产线二当天停止运行,周一到周五其他时间运行,周六仅产线一运行,周天仅产线二运行。在图2中,策略存储器226中存储有第一控制策略和第二控制策略,采用第二控制策略调整第一控制策略可以在控制器228中实现。Using the second control strategy to adjust the first control strategy means merging the second control strategy and the first control strategy into a total control strategy. In the embodiment of the present invention, the second control strategy and the first control strategy are merged. The second control strategy can be logically operated with the first control strategy. For example, the first control strategy is to run both production line 1 and production line 2 from Monday to Friday, only production line 1 to operate on Saturdays, and only production line 2 to operate on Sundays. The second control strategy is to stop the spraying of production line 2 on the same day. If the robot is shut down for maintenance, then the second control strategy is used to adjust the first control strategy. The result is that production line 1 runs from Monday to Friday, production line 2 stops running on the same day, runs at other times from Monday to Friday, and only production line 1 runs on Saturdays. , only production line 2 is running on Sunday. In FIG. 2 , the first control strategy and the second control strategy are stored in the strategy memory 226 , and adjusting the first control strategy using the second control strategy can be implemented in the controller 228 .
下文将对生成第一控制策略和第二控制策略结合图2-图5进行示范性说明。Generating the first control strategy and the second control strategy will be exemplarily described below with reference to Figures 2-5.
生成第一控制策略Generate first control strategy
图3是根据本发明的一实施例的一种生成第一控制策略的示范性流程图,该流程图对应于生成第一控制策略,也就是静态控制策略。FIG. 3 is an exemplary flow chart for generating a first control strategy according to an embodiment of the present invention. The flow chart corresponds to generating a first control strategy, that is, a static control strategy.
步骤S301,控制器228从策略存储器226中提取控制策略;Step S301, the controller 228 extracts the control strategy from the strategy memory 226;
步骤S302,控制器228根据控制策略对执行器22B进行控制;Step S302, the controller 228 controls the actuator 22B according to the control strategy;
步骤S303,获取领域专家的领域知识;Step S303, obtain domain knowledge from domain experts;
步骤S304,将领域知识作为第一控制策略,或者更新现有的第一控制策略至策略管理服务211a;Step S304, use domain knowledge as the first control strategy, or update the existing first control strategy to the policy management service 211a;
步骤S305,策略管理服务211a将第一控制策略发送至策略提供服务211b;Step S305, the policy management service 211a sends the first control policy to the policy providing service 211b;
步骤S306,策略提供服务211b将第一控制策略发送至网络服务227;Step S306, the policy providing service 211b sends the first control policy to the network service 227;
步骤S307,网络服务227将第一控制策略发送至策略存储器226中进行存储;Step S307, the network service 227 sends the first control policy to the policy memory 226 for storage;
步骤S308,控制器228从策略存储器226中提取控制策略;Step S308, the controller 228 extracts the control strategy from the strategy memory 226;
步骤S309,控制器228根据控制策略对执行器22B进行控制。In step S309, the controller 228 controls the actuator 22B according to the control strategy.
生成第二控制策略一Generate the second control strategy one
图4是根据本发明的一实施例的一种生成第二控制策略的示范性流程图,该流程图对应于在本地生成第二控制策略,也就是动态控制策略。FIG. 4 is an exemplary flowchart for generating a second control strategy according to an embodiment of the present invention. The flowchart corresponds to locally generating a second control strategy, that is, a dynamic control strategy.
步骤S401,控制器228从策略存储器226中提取控制策略;Step S401, the controller 228 extracts the control strategy from the strategy memory 226;
步骤S402,控制器228根据控制策略对执行器22B进行控制;Step S402, the controller 228 controls the actuator 22B according to the control strategy;
步骤S403,数据获取单元222从执行器22B中获取实时数据;Step S403, the data acquisition unit 222 acquires real-time data from the executor 22B;
步骤S404,数据获取单元222将实时数据存储至数据存储单元223中;Step S404, the data acquisition unit 222 stores the real-time data into the data storage unit 223;
步骤S405,数据处理单元224调用数据存储单元223中的数据进行处理;Step S405, the data processing unit 224 calls the data in the data storage unit 223 for processing;
步骤S406,数据处理单元224根据接收到的数据生成数据模型;Step S406, the data processing unit 224 generates a data model according to the received data;
步骤S407,本地策略生成器225根据数据处理单元224的数据模型和实时数据生成第二控制策略;Step S407, the local policy generator 225 generates a second control policy according to the data model and real-time data of the data processing unit 224;
步骤S408,本地策略生成器225将第二控制策略发送至策略存储器226中;Step S408, the local policy generator 225 sends the second control policy to the policy memory 226;
步骤S409,控制器228从策略存储器226中提取控制策略;Step S409, the controller 228 extracts the control strategy from the strategy memory 226;
步骤S410,控制器228根据控制策略对执行器22B进行控制。In step S410, the controller 228 controls the actuator 22B according to the control strategy.
生成第二控制策略二Generate second control strategy two
图5是根据本发明的另一实施例的一种生成第二控制策略的示范性流程图,该流程图对应于在云端生成第二控制策略,也就是动态控制策略。FIG. 5 is an exemplary flow chart for generating a second control strategy according to another embodiment of the present invention. The flow chart corresponds to generating a second control strategy in the cloud, that is, a dynamic control strategy.
步骤S501,控制器228从策略存储器226中提取控制策略;Step S501, the controller 228 extracts the control strategy from the strategy memory 226;
步骤S502,控制器228根据控制策略对执行器22B进行控制;Step S502, the controller 228 controls the actuator 22B according to the control strategy;
步骤S503,数据获取单元222从执行器22B中获取实时数据;Step S503, the data acquisition unit 222 acquires real-time data from the executor 22B;
步骤S504,数据获取单元222将实时数据存储至数据存储单元223中;Step S504, the data acquisition unit 222 stores the real-time data into the data storage unit 223;
步骤S505,数据存储单元223中的数据发送至数据储存232中;Step S505, the data in the data storage unit 223 is sent to the data storage 232;
步骤S506,大数据分析服务233调用数据储存232中的数据;Step S506, the big data analysis service 233 calls the data in the data storage 232;
步骤S507,大数据分析服务233根据接收到的数据生成数据模型;Step S507, the big data analysis service 233 generates a data model based on the received data;
步骤S508,云端策略生成器234根据大数据分析服务233的数据模型和实时数据生成第二控制策略;Step S508, the cloud policy generator 234 generates a second control policy based on the data model and real-time data of the big data analysis service 233;
步骤S509,云端策略生成器234将第二控制策略发送至策略提供服务211b;Step S509, the cloud policy generator 234 sends the second control policy to the policy providing service 211b;
步骤S510,策略提供服务211b将第二控制策略发送至网络服务227;Step S510, the policy providing service 211b sends the second control policy to the network service 227;
步骤S511,网络服务227将第二控制策略存储至策略存储器226中;Step S511, the network service 227 stores the second control policy into the policy memory 226;
步骤S512,控制器228从策略存储器226中提取控制策略;Step S512, the controller 228 extracts the control strategy from the strategy memory 226;
步骤S513,控制器228根据控制策略对执行器22B进行控制。In step S513, the controller 228 controls the actuator 22B according to the control strategy.
本发明的实施例提供了一种工业控制方法,结合了第一控制策略和第二控制策略,第一控制策略可靠性高,第二控制策略实时性强,兼顾控制的可靠性和实时性,提供了灵活的控制策略,可以及时应对生产过程中的实时状况或突发状况,提高生产效率。Embodiments of the present invention provide an industrial control method that combines a first control strategy and a second control strategy. The first control strategy has high reliability, and the second control strategy has strong real-time performance, taking into account both the reliability and real-time performance of the control. It provides a flexible control strategy that can promptly respond to real-time conditions or emergencies in the production process and improve production efficiency.
本发明还提出一种工业控制装置,用于对工业产线或工业设备进行控制,图6是根据本发明的一实施例的一种工业控制装置600的示意图,如图6所示,工业控制装置600包括:The present invention also proposes an industrial control device for controlling industrial production lines or industrial equipment. Figure 6 is a schematic diagram of an industrial control device 600 according to an embodiment of the present invention. As shown in Figure 6, industrial control Device 600 includes:
第一获取模块610,获取工业产线或工业设备的第一控制策略,第一控制策略是预设的。The first acquisition module 610 acquires the first control strategy of the industrial production line or industrial equipment, and the first control strategy is preset.
第二获取模块620,获取工业产线或工业设备的实时数据,根据实时数据和历史数据确定工业产线或工业设备的第二控制策略。The second acquisition module 620 acquires real-time data of the industrial production line or industrial equipment, and determines the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data.
控制模块630,采用第二控制策略调整第一控制策略,根据调整后的第一控制策略对工业产线或工业设备进行控制。The control module 630 uses the second control strategy to adjust the first control strategy, and controls the industrial production line or industrial equipment according to the adjusted first control strategy.
在一些实施例中,第二获取模块620根据实时数据和历史数据确定工业产线或工业设备的第二控制策略包括:在边缘设备中根据实时数据和历史数据确定工业产线或工业设备的第二控制策略。In some embodiments, the second acquisition module 620 determines the second control strategy of the industrial production line or industrial equipment based on real-time data and historical data including: determining the second control strategy of the industrial production line or industrial equipment based on real-time data and historical data in the edge device. 2. Control strategy.
在一些实施例中,第二获取模块620根据实时数据和历史数据确定工业产线或工业设备的第二控制策略包括:将实时数据发送至云端,云端根据实时数据和历史数据确定工业产线或工业设备的第二控制策略。In some embodiments, the second acquisition module 620 determines the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data including: sending the real-time data to the cloud, and the cloud determines the industrial production line or industrial equipment based on the real-time data and historical data. Secondary control strategies for industrial equipment.
在一些实施例中,第二获取模块620根据实时数据和历史数据确定工业产线或工业设备的第二控制策略包括:使用历史数据训练机器学习模型,采用机器学习模型根据实时数据确定工业产线或工业设备的第二控制策略。In some embodiments, the second acquisition module 620 determines the second control strategy of the industrial production line or industrial equipment based on real-time data and historical data including: using historical data to train a machine learning model, and using the machine learning model to determine the industrial production line based on real-time data. or a secondary control strategy for industrial equipment.
在一些实施例中,第一获取模块620获取工业产线或工业设备的第一控制策略包括:获取历史数据和生产管理数据,使用历史数据、生产管理数据结合领域专家的领域知识,定义预设的第一控制策略。In some embodiments, the first acquisition module 620 acquires the first control strategy of the industrial production line or industrial equipment including: acquiring historical data and production management data, using the historical data and production management data combined with domain knowledge of domain experts to define presets first control strategy.
本发明还提出一种电子设备700。图7是根据本发明的一实施例的一种电子设备700的示意图。如图7所示,电子设备700包括处理器710和存储器720,存储器720存储中存储有指令,其中指令被处理器710执行时实现如上文所述的方法100。The present invention also provides an electronic device 700. Figure 7 is a schematic diagram of an electronic device 700 according to an embodiment of the present invention. As shown in FIG. 7 , the electronic device 700 includes a processor 710 and a memory 720 . The memory 720 stores instructions, and when the instructions are executed by the processor 710 , the method 100 as described above is implemented.
本发明还提出一种计算机可读存储介质,其上存储有计算机指令,计算机指令在被运行时执行如上文所述的方法100。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.
本发明的方法和装置的一些方面可以完全由硬件执行、可以完全由软件(包括固件、常驻软件、微码等)执行、也可以由硬件和软件组合执行。以上硬件或软件均可被称为“数据 块”、“模块”、“引擎”、“单元”、“组件”或“系统”。处理器可以是一个或多个专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理器件(DAPD)、可编程逻辑器件(PLC)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器或者其组合。此外,本发明的各方面可能表现为位于一个或多个计算机可读介质中的计算机产品,该产品包括计算机可读程序编码。例如,计算机可读介质可包括,但不限于,磁性存储设备(例如,硬盘、软盘、磁带……)、光盘(例如,压缩盘(CD)、数字多功能盘(DVD)……)、智能卡以及闪存设备(例如,卡、棒、键驱动器……)。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. Each of the above hardware or software may be referred to as a "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. Additionally, 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. For example, computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, magnetic 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.
应当理解,虽然本说明书是按照各个实施例描述的,但并非每个实施例仅包含一个独立的技术方案,说明书的这种叙述方式仅仅是为清楚起见,本领域技术人员应当将说明书作为一个整体,各实施例中的技术方案也可以经适当组合,形成本领域技术人员可以理解的其他实施方式。It should be understood that although this specification is described in terms of various embodiments, not each embodiment only contains an independent technical solution. This description of the specification is only for the sake of clarity, and those skilled in the art should take the specification as a whole. , the technical solutions in each embodiment can also be appropriately combined to form other implementations that can be understood by those skilled in the art.
以上所述仅为本发明示意性的具体实施方式,并非用以限定本发明的范围。任何本领域的技术人员,在不脱离本发明的构思和原则的前提下所作的等同变化、修改与结合,均应属于本发明保护的范围。The above descriptions are only illustrative embodiments of the present invention and are not intended to limit the scope of the present invention. Any equivalent changes, modifications and combinations made by those skilled in the art without departing from the concept and principles of the present invention shall fall within the scope of protection of the present invention.

Claims (12)

  1. 一种工业控制方法(100),用于对工业产线或工业设备进行控制,其特征在于,所述工业控制方法(100)包括:An industrial control method (100) for controlling industrial production lines or industrial equipment, characterized in that the industrial control method (100) includes:
    获取所述工业产线或工业设备的第一控制策略,所述第一控制策略是预设的(110);Obtain the first control strategy of the industrial production line or industrial equipment, where the first control strategy is preset (110);
    获取所述工业产线或工业设备的实时数据,根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略(120);Obtain real-time data of the industrial production line or industrial equipment, and determine a second control strategy for the industrial production line or industrial equipment based on the real-time data and historical data (120);
    采用所述第二控制策略调整所述第一控制策略,根据调整后的所述第一控制策略对所述工业产线或工业设备进行控制(130)。The second control strategy is used to adjust the first control strategy, and the industrial production line or industrial equipment is controlled according to the adjusted first control strategy (130).
  2. 根据权利要求1所述的工业控制方法(100),其特征在于,根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略包括:在边缘设备中根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略。The industrial control method (100) according to claim 1, characterized in that determining the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data includes: in an edge device based on the real-time The data and historical data determine the second control strategy of the industrial production line or industrial equipment.
  3. 根据权利要求1所述的工业控制方法(100),其特征在于,根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略包括:将所述实时数据和历史数据发送至云端,所述云端根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略。The industrial control method (100) according to claim 1, characterized in that determining the second control strategy of the industrial production line or industrial equipment according to the real-time data and historical data includes: combining the real-time data and historical data Sent to the cloud, the cloud determines the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data.
  4. 根据权利要求1-3任一项所述的工业控制方法(100),其特征在于,根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略包括:使用历史数据训练机器学习模型,采用所述机器学习模型根据所述实时数据确定所述工业产线或工业设备的第二控制策略。The industrial control method (100) according to any one of claims 1 to 3, characterized in that determining the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data includes: using historical data Train a machine learning model, and use the machine learning model to determine a second control strategy for the industrial production line or industrial equipment based on the real-time data.
  5. 根据权利要求1所述的工业控制方法(100),其特征在于,获取所述工业产线或工业设备的第一控制策略包括:获取历史数据和生产管理数据,使用所述历史数据、所述生产管理数据结合领域专家的领域知识,定义预设的第一控制策略。The industrial control method (100) according to claim 1, characterized in that, obtaining the first control strategy of the industrial production line or industrial equipment includes: obtaining historical data and production management data, using the historical data, the Production management data is combined with the domain knowledge of domain experts to define a preset first control strategy.
  6. 一种工业控制装置(600),用于对工业产线或工业设备进行控制,其特征在于,所述工业控制装置(600)包括:An industrial control device (600) used to control industrial production lines or industrial equipment, characterized in that the industrial control device (600) includes:
    第一获取模块(610),获取所述工业产线或工业设备的第一控制策略,所述第一控制策略是预设的;The first acquisition module (610) acquires the first control strategy of the industrial production line or industrial equipment, and the first control strategy is preset;
    第二获取模块(620),获取所述工业产线或工业设备的实时数据,根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略;The second acquisition module (620) acquires real-time data of the industrial production line or industrial equipment, and determines the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data;
    控制模块(630),采用所述第二控制策略调整所述第一控制策略,根据调整后的所述第一控制策略对所述工业产线或工业设备进行控制。The control module (630) uses the second control strategy to adjust the first control strategy, and controls the industrial production line or industrial equipment according to the adjusted first control strategy.
  7. 根据权利要求6所述的工业控制装置(600),其特征在于,所述第二获取模块(620)根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略包括:在边缘设备中根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略。The industrial control device (600) according to claim 6, characterized in that the second acquisition module (620) determines the second control strategy of the industrial production line or industrial equipment according to the real-time data and historical data including : Determine the second control strategy of the industrial production line or industrial equipment in the edge device based on the real-time data and historical data.
  8. 根据权利要求6所述的工业控制装置(600),其特征在于,所述第二获取模块(620)根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略包括:将所述实时数据和历史数据发送至云端,所述云端根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略。The industrial control device (600) according to claim 6, characterized in that the second acquisition module (620) determines the second control strategy of the industrial production line or industrial equipment according to the real-time data and historical data including : Send the real-time data and historical data to the cloud, and the cloud determines the second control strategy of the industrial production line or industrial equipment based on the real-time data and historical data.
  9. 根据权利要求6-8任一项所述的工业控制装置(600),其特征在于,所述第二获取模块(620)根据所述实时数据和历史数据确定所述工业产线或工业设备的第二控制策略包括:使用历史数据训练机器学习模型,采用所述机器学习模型根据所述实时数据确定所述工业产线或工业设备的第二控制策略。The industrial control device (600) according to any one of claims 6-8, characterized in that the second acquisition module (620) determines the value of the industrial production line or industrial equipment based on the real-time data and historical data. The second control strategy includes: using historical data to train a machine learning model, and using the machine learning model to determine the second control strategy of the industrial production line or industrial equipment based on the real-time data.
  10. 根据权利要求6所述的工业控制装置(600),其特征在于,所述第一获取模块(610)获取所述工业产线或工业设备的第一控制策略包括:获取历史数据和生产管理数据,使用所述历史数据、所述生产管理数据结合领域专家的领域知识,定义所述第一控制策略。The industrial control device (600) according to claim 6, characterized in that, the first acquisition module (610) acquiring the first control strategy of the industrial production line or industrial equipment includes: acquiring historical data and production management data. , using the historical data, the production management data and the domain knowledge of domain experts to define the first control strategy.
  11. 一种电子设备(600),包括处理器(610)、存储器(620)和存储在所述存储器(620)中的指令,其中所述指令被所述处理器(610)执行时实现如权利要求1-5任一项所述的方法。An electronic device (600), including a processor (610), a memory (620) and instructions stored in the memory (620), wherein the instructions when executed by the processor (610) implement as claimed The method described in any one of 1-5.
  12. 一种计算机可读存储介质,其上存储有计算机指令,所述计算机指令在被运行时执行根据权利要求1-5中任一项所述的方法。A computer-readable storage medium having computer instructions stored thereon which, when executed, perform the method according to any one of claims 1-5.
PCT/CN2022/083844 2022-03-29 2022-03-29 Industrial control method and apparatus WO2023184184A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/083844 WO2023184184A1 (en) 2022-03-29 2022-03-29 Industrial control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/083844 WO2023184184A1 (en) 2022-03-29 2022-03-29 Industrial control method and apparatus

Publications (1)

Publication Number Publication Date
WO2023184184A1 true WO2023184184A1 (en) 2023-10-05

Family

ID=88198357

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/083844 WO2023184184A1 (en) 2022-03-29 2022-03-29 Industrial control method and apparatus

Country Status (1)

Country Link
WO (1) WO2023184184A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117252485A (en) * 2023-11-14 2023-12-19 北京埃睿迪硬科技有限公司 Method and device for determining valve closing strategy of water service pipe network pipe explosion

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100057240A1 (en) * 2008-09-04 2010-03-04 Siemens Aktiengesellschaft Method for updating manufacturing planning data for a production process
CN106292604A (en) * 2016-09-09 2017-01-04 深圳市智物联网络有限公司 A kind of control terminal being applied to industry Internet of Things
CN106560850A (en) * 2015-10-05 2017-04-12 株式会社日立制作所 Plan Generating Device And Plan Generating Method
CN107065803A (en) * 2017-05-15 2017-08-18 安徽工程大学 Flexible job shop dynamic dispatching method based on Weight variable scheduling interval
CN112527613A (en) * 2020-11-30 2021-03-19 北京航天智造科技发展有限公司 Equipment fault maintenance method and device based on cloud edge cooperation
CN112650183A (en) * 2020-12-29 2021-04-13 煤炭科学研究总院 Industrial Internet platform
CN112650187A (en) * 2021-01-22 2021-04-13 北京理工大学 Workshop scheduling method, device and system
CN113009896A (en) * 2021-03-09 2021-06-22 国能大渡河猴子岩发电有限公司 Production control method and system based on edge computing and cloud computing
EP3893068A1 (en) * 2020-04-09 2021-10-13 Primetals Technologies Austria GmbH Method for dynamic production planning in continuous casting plants
CN114065501A (en) * 2021-11-11 2022-02-18 中兵勘察设计研究院有限公司 Production line process simulation optimization method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100057240A1 (en) * 2008-09-04 2010-03-04 Siemens Aktiengesellschaft Method for updating manufacturing planning data for a production process
CN106560850A (en) * 2015-10-05 2017-04-12 株式会社日立制作所 Plan Generating Device And Plan Generating Method
CN106292604A (en) * 2016-09-09 2017-01-04 深圳市智物联网络有限公司 A kind of control terminal being applied to industry Internet of Things
CN107065803A (en) * 2017-05-15 2017-08-18 安徽工程大学 Flexible job shop dynamic dispatching method based on Weight variable scheduling interval
EP3893068A1 (en) * 2020-04-09 2021-10-13 Primetals Technologies Austria GmbH Method for dynamic production planning in continuous casting plants
CN112527613A (en) * 2020-11-30 2021-03-19 北京航天智造科技发展有限公司 Equipment fault maintenance method and device based on cloud edge cooperation
CN112650183A (en) * 2020-12-29 2021-04-13 煤炭科学研究总院 Industrial Internet platform
CN112650187A (en) * 2021-01-22 2021-04-13 北京理工大学 Workshop scheduling method, device and system
CN113009896A (en) * 2021-03-09 2021-06-22 国能大渡河猴子岩发电有限公司 Production control method and system based on edge computing and cloud computing
CN114065501A (en) * 2021-11-11 2022-02-18 中兵勘察设计研究院有限公司 Production line process simulation optimization method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117252485A (en) * 2023-11-14 2023-12-19 北京埃睿迪硬科技有限公司 Method and device for determining valve closing strategy of water service pipe network pipe explosion

Similar Documents

Publication Publication Date Title
WO2023184184A1 (en) Industrial control method and apparatus
JP6474449B2 (en) Adjusting apparatus and adjusting method
Herwan et al. Cyber-physical system architecture for machining production line
JP6809790B2 (en) Systems and methods for field device feedback
Lou et al. Intelligent machine tool based on edge-cloud collaboration
WO2012124198A1 (en) Control device and system program, and recording medium
US11360650B2 (en) Control system for a technical installation with trend curve diagram
Lynn et al. Realization of the 5-axis machine tool digital twin using direct servo control from cam
US11599081B2 (en) Method and apparatus for proxy execution and computation with an industrial controller
CN117161821B (en) Numerical control drilling machine spindle self-adaptive feeding control method and system
Qiao et al. Efficient approach to failure response of process module in dual-arm cluster tools with wafer residency time constraints
JP2017516190A (en) Reduction of controller update in control loop, method for controlling controlled device, process control system, process controller
WO2020026622A1 (en) Control device
CN108121305A (en) A kind of dynamic dispatching method and device of job shop task
Balula et al. Sequential quadratic programming-based iterative learning control for nonlinear systems
JP2020030622A (en) Robot controller and method for controlling the same
US11314232B2 (en) Frequency response diagnostics for characterizing servo controlled mechanisms
Jiao et al. Fault characteristics analysis of industrial robot based on fault tree
KR102362987B1 (en) Industrial robot anomaly monitoring system and method
JP2021179985A5 (en)
TW202105100A (en) Abnormality detecting system on automatic processing machine and the method thereof
TW201344383A (en) A trajectory optimization method for machine tools
US11809146B2 (en) Machine learning device, prediction device, and control device for preventing collision of a moveable part
JP5422582B2 (en) Control device
CN114002948B (en) Method and device for accessing third-party numerical control machine tool to service platform

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

Country of ref document: EP

Kind code of ref document: A1