BLOCKCHAIN-ENABLED EDGE COMPUTING METHOD FOR PRODUCTION SCHEDULING

Information

  • Patent Application
  • 20210256438
  • Publication Number
    20210256438
  • Date Filed
    October 01, 2020
    4 years ago
  • Date Published
    August 19, 2021
    3 years ago
Abstract
Disclosed is a blockchain-enabled edge computing method for production scheduling. The method includes modeling a smart contract between a device and a manufacturing unit, and using the smart contract to perform production scheduling on the device inside the manufacturing unit; one of the manufacturing units includes multiple devices; mounting each device on the blockchain operating node, the MES issues production instructions to the nodes of each manufacturing unit, at the same time, the nodes acquire production data of the device through multiple data sources of the device, the operating state data and process parameter data of each device are acquired in real time, and the data is directly chained from the device level; according to the production instructions and device parameters obtained by the manufacturing unit, using edge computing to dynamically adjust the device load, efficiency, and utilization.
Description
CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to Chinese Patent Application No. 202010098365.8 with a filing date of Feb. 18, 2020. The content of the aforementioned applications, including any intervening amendments thereto, are incorporated herein by reference.


TECHNICAL FIELD

The disclosure relates to the technical field of blockchains, and more specifically, to a blockchain-enabled edge computing method for production scheduling.


BACKGROUND

As the manufacturing model is undergoing a process of shifting to the mass personalization, the traditional large-volume and specialized production lines are gradually shifting to small-volume and multi-variety, resulting in the obvious refinement of the existing product manufacturing division. Under this background, the current intelligent manufacturing system needs to be able to quickly perform production scheduling to produce products of various batches and similar features. When a series of similar products are to be produced, the optimization and accurate issuance of production instructions need to be realized immediately according to the production process and the parameters and loads of the corresponding production device. In the entire production scheduling process, it is necessary to achieve a rapid disturbance response, information security, optimization and selection and matching of various elements, and balance the device load with the most reasonable structure and method, so as to balance the load utilization of each device and maximize the utilization, and ultimately maximize the production efficiency.


Production scheduling needs to discover deviations in plan execution in time, quickly locate the cause of deviations, and be able to quickly perform an adjustment. However, the production process is complicated with many emergencies, and intelligent manufacturing systems often have features such as many production links, complex collaboration relationships, strong production continuity, and rapid changes in conditions. Once a production instruction cannot be completed on time, or a certain device fails, it is difficult to quickly perform the adjustment, and then affect the operation of the entire production system; because in the production scheduling process, the centralized system can issue production instructions after calculating and analyzing the global elements, so that the flexibility of production scheduling is poor. Once a failure or deviation occurs, it is difficult to quickly adjust the device load to maximize production efficiency; due to the complex conditions in the production process and the presence of malicious human tampering, the data reliability is poor, which may not necessarily reflect the true load of the device.


The existing manufacturing management and control system mainly uses a centralized system to calculate and issue production instructions based on global elements. Once the scale of manufacturing increases, the system will face the following problems: (1) intelligent realization which is optimized and analyzed based on global elements is difficult in terms of calculations, and due to the rapid changes in the state of resource elements and the long response time of global calculations, it cannot quickly adapt to changes, which may lead to the shutdown of the production system; (2) the accuracy of the production scheduling plan is low, because the production scheduling needs to calculate the elements based on the load of the device, but due to the possibility of network transmission problems and human malicious tampering, the accuracy of data at the manufacturing resource level is not high, so that the MES cannot accurately issue production tasks according to device parameters and load conditions during production scheduling; (3) in such scheduling situation, the device is generally unbalanced in load, resulting in low utilization of some device and excessive load on another device, which may easily lead to device failure.


SUMMARY

In view of the above shortcomings, in order to solve the problem of low accuracy of production scheduling, low flexibility, low data reliability, and poor traceability in the current production scheduling process, the disclosure proposes a blockchain-enabled edge computing method for production scheduling by introducing the blockchain and edge computing technology, which improves the efficiency of the overall production scheduling calculation, thereby realizing flexible and efficient production scheduling.


In order to achieve the above object of the disclosure, the technical solution is adopted as follows: a blockchain-enabled edge computing method for production scheduling, wherein the method comprises the steps of:


S1: modeling a smart contract between a device and a manufacturing unit, and using the smart contract to perform production scheduling on the device inside the manufacturing unit, wherein one of the manufacturing units comprises a plurality of devices;


S2: mounting each device on the blockchain operating node, wherein the Manufacturing Execution System (MES) issues production instructions to the nodes of each manufacturing unit, at the same time, the nodes acquire production data of the device through multiple data sources of the device, the operating state data and process parameter data of each device are acquired in real time, and the data is directly chained from the device level;


S3: according to the production instructions and device parameters obtained by the manufacturing unit, using edge computing to dynamically adjust the device load, efficiency, and utilization.


Preferably, in step S1, the smart contract is established according to the attributes of the manufacturing unit and the attributes of the device; wherein the attributes of the manufacturing unit comprise the name of the manufacturing unit, the number of the unit devices, the number of parts to be produced, the number of processing parts per minute, the expected makespan, and the processing efficiency; the attributes of the device comprise the name of the device, the number of the device, the number of processing parts per minute, the number of parts to be produced, the expected makespan, and the processing efficiency.


Preferably, in step S2, the operating state data comprises operating state signals, running, standby, failure, shutdown, and duration; the process parameter data comprises the current, temperature, and pressure of each process; the multiple data sources of the device comprise a frequency converter, a soft starter, a servo controller, and a control instrument.


Preferably, in step S3, the manufacturing unit receives production instructions issued by the MES system, and the node of the manufacturing unit assigns production tasks according to the current production efficiency of the device.


Preferably, in step S1, the manufacturing unit obtains device parameters as follows: in the production process of the manufacturing unit, sending the relevant operating parameters of the device to the smart contract through multiple data sources, calculating the current processing efficiency of the device according to the operating parameters uploaded by the device, obtaining the processing efficiency of the manufacturing unit in the process, and calculating whether the estimated makespan of the current manufacturing unit is the shortest in the smart contract, if not, requiring adjustment.


Further, the estimated makespan of the manufacturing unit=the maximum value of the estimated makespan of the device in the manufacturing unit, wherein the estimated makespan of the device=the number of parts to be produced/the number of processing parts per minute+the remaining processing time of the current production workpiece.


Further, the load of the edge computing dynamic adjusting device is specified as follows:


calculating the processing efficiency of the device according to the device parameters, and allocating the workpieces to be produced by the smart contract, so that the estimated processing time in the manufacturing unit is the shortest and the production efficiency of the manufacturing unit is maximized;


first calculating the estimated completion time ti of each device and the shortest estimated completion time T of the manufacturing unit; if ti<T in the device, increasing the number of workpieces to be processed until ti≥T, otherwise reducing the number of workpieces to be processed; finally ti≈T in each device;


at the same time, if the processing efficiency of a certain device is lower than p, setting the device status as abnormal; if the load of the current manufacturing unit device is higher than a threshold k, feeding back to the MES for global production task scheduling.


The beneficial effects of the disclosure are as follows.


The disclosure uses the blockchain technology to improve the accuracy of issuing instructions and uploading data, and provides real data support for production scheduling. At the same time, an edge computing method is used to form the same type of devices into a manufacturing unit, and the device scheduling in the unit is performed using the edge computing method to dynamically and quickly balance the device load according to the real parameters of the device and the process, while reducing the computational complexity of the MES, and improving the efficiency of the overall production scheduling calculation, thereby realizing flexible and efficient production scheduling.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is the smart contract modeling of the attributes of the manufacturing unit and the attributes of the device in Embodiment 1.



FIG. 2 is the interaction between the MES, the device, and the blockchain network in Embodiment 1.



FIG. 3 is the structure of the device assembly line in the production process of the product in Embodiment 1.



FIG. 4 is a flowchart of the load of the edge computing dynamic adjusting device in Embodiment 1.





DESCRIPTION OF THE EMBODIMENTS

The disclosure will be described in detail hereinafter in conjunction with the drawings and specific embodiments.


Embodiment 1

In this embodiment, the smart contract refers to: before businesses conduct transactions with each other, they must define a set of general contracts, covering general terms, data, rules, concept definitions, and processes. These contracts constitute a business model that controls all interactions between both parties together. Using the blockchain network, these contracts can be converted into executable programs. As long as the participants reach an agreement, the rights and obligations established by the smart contract will be automatically executed, and the results cannot be denied.


This embodiment proposes a blockchain-enabled edge computing method for production scheduling, which uses the blockchain technology to chain production instructions and device data, and the smart contract dynamically allocates the production tasks of the device in the manufacturing unit according to the device load and production tasks in the manufacturing unit as follows:


S1: a smart contract between a manufacturing unit and a device is modeled: modeling the smart contract between the device and the manufacturing unit, and using the smart contract to perform production scheduling on the device inside the manufacturing unit, wherein one of the manufacturing units comprises a plurality of devices;


the smart contract is established according to the attributes of the manufacturing unit and the attributes of the device, as shown in FIG. 1, wherein the attributes of the manufacturing unit comprise the name of the manufacturing unit, the number of the unit devices, the number of parts to be produced, the number of processing parts per minute, the expected completion time, and the processing efficiency; the attributes of the device comprise the name of the device, the number of the device, the number of processing parts per minute, the number of parts to be produced, the expected completion time, and the processing efficiency.


S2: Production instructions and device parameters are chained: as shown in FIG. 2, mounting each device on the blockchain operating node, wherein the MES issues production instructions to the nodes of each manufacturing unit, at the same time, the nodes acquire production data of the device through multiple data sources of the device, the operating state data and process parameter data of each device are acquired in real time, and the data is directly chained from the device level so as to ensure the authenticity and validity of the data. The assembly line structure of the product in the production process in this embodiment is shown in FIG. 3, wherein the operating state data comprises operating state signals, running, standby, failure, shutdown, and duration; the process parameter data comprises the current, temperature, and pressure of each process. The multiple data sources of the device comprise a communication interface of a control device such as a PLC, an RFID, a frequency converter, a soft starter, a servo controller, and a control instrument.


S3: The device load is dynamically adjusted using the edge computing: according to the production instructions and device parameters obtained by the manufacturing unit, using edge computing to dynamically adjust the device load, efficiency, and utilization.


1) Production instructions are issued: each manufacturing unit obtains production instructions issued by the MES, and the node of the manufacturing unit assigns production tasks according to the current production efficiency of the device. The goal is to maximize the production efficiency of the manufacturing node (the shortest completion time).


2) The device parameters are acquired: in the production process of the manufacturing unit, sending the relevant operating parameters of the device to the smart contract through multiple data sources, calculating the current processing efficiency of the device according to the operating parameters uploaded by the device so as to obtain the processing efficiency of the manufacturing unit in the process, and calculating whether the estimated makespan of the current manufacturing unit is the shortest in the smart contract, if not, requiring adjustment.


The estimated makespan of the manufacturing unit=the maximum value of the estimated makespan of the device in the manufacturing unit, wherein the estimated makespan of the device=the number of parts to be produced/the number of processing parts per minute+the remaining processing time of the current production workpiece.


3) The device load is dynamically adjusted using the edge computing: calculating the processing efficiency of the device according to the device parameters, and allocating the workpieces to be produced by the smart contract, so as to ensure that the estimated processing time in the manufacturing unit is the shortest and the production efficiency of the manufacturing unit is maximized;


First, the estimated makespan ti of each device and the shortest estimated makespan T of the manufacturing unit are calculated; if ti<T in the device, the number of workpieces to be processed is increased until ti≥T, otherwise reducing the number of workpieces to be processed; finally ti≈T in each device.


At the same time, if the processing efficiency of a certain device is lower than p, the device status is set as abnormal; if the load of the current manufacturing unit device is higher than a threshold k, it is fed back to the MES system for global production task scheduling. The specific operation process is shown in FIG. 4.


In this embodiment, through the combination of blockchain and edge computing, during the manufacturing process, edge computing is used to dynamically adjust the device load in the manufacturing unit, so that when the device load in the manufacturing unit fluctuates, it can be adjusted quickly and dynamically without accumulation of faults which eventually leads to the paralysis of the production scheduling system.


Obviously, the above embodiments of the disclosure are merely examples to clearly illustrate the disclosure, rather than limit the embodiments of the disclosure. Any modification, equivalent replacement, and improvement made within the spirit and principle of the disclosure shall be included in the protection scope of the claims of the disclosure.

Claims
  • 1. A blockchain-enabled edge computing method for production scheduling, comprising: S1: modeling a smart contract between a device and a manufacturing unit, and using the smart contract to perform production scheduling on the device inside the manufacturing unit; wherein one of the manufacturing units comprises a plurality of devices;S2: mounting each device on the blockchain operating node; wherein the MES issues production instructions to the nodes of each manufacturing unit, at the same time, the nodes acquire production data of the device through multiple data sources of the device, the operating state data and process parameter data, production tasks and production efficiency of each device are acquired in real time, and the data is directly chained from the device level;S3: dynamically adjusting the device load, efficiency, and utilization, by edge computing, according to the production instructions and device parameters obtained by the manufacturing unit.
  • 2. The blockchain-enabled edge computing method for production scheduling of claim 1, wherein in step S1, the smart contract is established according to the attributes of the manufacturing unit and the attributes of the device; the attributes of the manufacturing unit comprise the name of the manufacturing unit, the number of the unit devices, the number of parts to be produced, the number of processing parts per minute, the expected makespan, and the processing efficiency; and the attributes of the device comprise the name of the device, the number of the device, the number of processing parts per minute, the number of parts to be produced, the expected makespan, and the processing efficiency.
  • 3. The blockchain-enabled edge computing method for production scheduling of claim 1, wherein in step S2, the operating state data comprises operating state signals, running, standby, failure, shutdown, and duration; the process parameter data comprises the current, temperature, and pressure of each process; the multiple data sources of the device comprise a frequency converter, a soft starter, a servo controller, and a control instrument.
  • 4. The blockchain-enabled edge computing method for production scheduling of claim 1, wherein in step S3, the manufacturing unit receives production instructions issued by the MES, and the node of the manufacturing unit assigns production tasks according to the current production efficiency of the device.
  • 5. The blockchain-enabled edge computing method for production scheduling of claim 4, wherein in step S1, the manufacturing unit obtains device parameters as follows: in the production process of the manufacturing unit, sending the relevant operating parameters of the device to the smart contract through multiple data sources, calculating the current processing efficiency of the device according to the operating parameters uploaded by the device, obtaining the processing efficiency of the manufacturing unit in the process, and calculating whether the estimated makespan of the current manufacturing unit is the shortest in the smart contract, if not, requiring adjustment.
  • 6. The blockchain-enabled edge computing method for production scheduling of claim 5, wherein: the estimated makespan of the manufacturing unit=the maximum value of the estimated makespan of the device in the manufacturing unit, wherein the estimated makespan of the device=the number of parts to be produced/the number of processing parts per minute+the remaining processing time of the current production workpiece.
  • 7. The blockchain-enabled edge computing method for production scheduling of claim 6, wherein: the load of the edge computing dynamic adjusting device is specified as follows: calculating the processing efficiency of the device according to the device parameters, and allocating the workpieces to be produced by the smart contract, so that the estimated processing time in the manufacturing unit is the shortest and the production efficiency of the manufacturing unit is maximized;first calculating the estimated makespan ti of each device and the shortest estimated makespan T of the manufacturing unit; if ti<T in the device, increasing the number of workpieces to be processed until ti≥T, otherwise reducing the number of workpieces to be processed; finally ti≈T in each device;at the same time, if the processing efficiency of a certain device is lower than p, setting the device status as abnormal; if the load of the current manufacturing unit device is higher than k, feeding back to the MES for global production task scheduling.
Priority Claims (1)
Number Date Country Kind
202010098365.8 Feb 2020 CN national