An industrial automation production process MES scheduling and management system
By implementing cross-scale causal consistency verification and hierarchical decoupling rescheduling, the problems of causal deviation and scheduling jitter in the manufacturing execution system are solved, achieving high-precision virtual-real execution consistency and stability, and improving the adaptive capability of the digital twin model.
Patent Information
- Application Number
- CN202611265076.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-11-20
AI Technical Summary
Existing manufacturing execution systems suffer from insufficient accuracy and stability issues in time synchronization and disturbance handling, making it difficult to identify deviations between virtual and real execution at the causal level. Furthermore, global rescheduling strategies cause scheduling scheme jitter, leading to a decrease in the prediction accuracy of digital twin models.
By introducing a cross-scale causal consistency verification module, a hierarchical decoupling rescheduling module, and a digital twin parameter reverse self-healing engine, causal consistency is verified through logical timestamps, disturbances are handled hierarchically, and an automatic parameter correction path is established to form a closed-loop self-healing system.
It achieves accurate and timely identification of deviations at the causal level, while taking into account both local perturbation response and global stability, thus improving the prediction accuracy and adaptability of digital twin models.
Smart Images

Figure CN123138950A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial automated production process management technology, specifically to an industrial automated production process MES scheduling and management system. Background Technology
[0002] In industrial automated production processes, the Manufacturing Execution System (MES) is located between the Enterprise Resource Planning (ERP) layer and the Equipment Control (ECS) layer. It undertakes functions such as production scheduling, work order issuance, equipment status acquisition, and production process monitoring and traceability. It is an important bridge connecting the enterprise planning layer and the field execution layer. With the introduction of digital twin technology, the MES is increasingly required to achieve high-fidelity synchronization between physical production entities and virtual models. That is, the virtual model can reflect the operating status of physical equipment in real time and predict future execution results. Traditional time synchronization methods mainly rely on physical absolute time alignment methods such as network time protocols. By unifying the clock reference of each node, the timestamp of instruction issuance and status feedback is calibrated.
[0003] Existing manufacturing execution system scheduling schemes that are similar to this invention typically include the following process: the manufacturing execution system scheduling layer generates a production schedule based on a static production model and sends scheduling instructions to the programmable logic controller execution layer;
[0004] The programmable logic controller (PLC) execution layer executes corresponding equipment actions based on the received instructions and transmits the execution results back to the manufacturing execution system (MAS) layer via the network.
[0005] When a disturbance occurs on-site, the system triggers a global rescheduling mechanism to recalculate and generate a new production schedule based on the current production status of all production processes, replacing the original schedule.
[0006] The system uses physical time synchronization mechanisms such as network time protocols to compare the timestamps of issued instructions and feedback status after the fact to determine whether the execution process is consistent with expectations.
[0007] The existing solutions described above have the following shortcomings:
[0008] First, physical absolute time synchronization is affected by factors such as network transmission delay and clock crystal drift, making it difficult to guarantee absolute accuracy at the millisecond or even microsecond level. The execution order determined by the post-timestamp alignment method may not match the actual causal order of the device. Once the underlying device experiences a chain response logic that is inconsistent with the expectations of the digital twin model due to unidentified physical losses, the existing technology cannot accurately identify such causal deviations.
[0009] Secondly, the existing scheme adopts a unified global rescheduling strategy for both structural and transient disturbances. However, global rescheduling requires recalculating the production plan involving all plant resources, which takes a long time. This results in frequent changes being received at the workshop site, causing the scheduling plan to jitter. It is difficult to maintain the overall stability of the global scheduling plan while ensuring the real-time response speed to local disturbances.
[0010] Third, even if existing solutions detect execution deviations by comparing timestamps after the fact, they usually only remain at the level of early warning and do not establish an automatic feedback correction path for deviation information to the parameters of the digital twin model, resulting in a continuous decline in the model's prediction accuracy over time. Summary of the Invention
[0011] The technical problems to be solved by this invention include two interrelated core issues. First, how to achieve consistency verification between the causal execution order predicted by the digital twin model and the actual causal execution order of the physical equipment when there is a time scale difference between the scheduling decision layer and the equipment control execution layer of the manufacturing execution system, so as to promptly detect causal deviation problems caused by network latency, clock drift or physical wear and tear of equipment. Second, how to balance the real-time response of local disturbances and the overall stability of the global scheduling scheme under the complex working conditions of multiple couplings of structural disturbances and transient disturbances in the workshop, avoid the jitter effect of scheduling scheme caused by frequent global rescheduling, and enable the digital twin model to automatically correct its own parameters according to the actual deviations in the field, forming a closed-loop self-healing capability.
[0012] To address the aforementioned technical problems, this invention provides an industrial automation production process MES scheduling and management system, including a cross-scale causal consistency verification module, a hierarchical decoupling rescheduling module, and a digital twin parameter reverse self-healing engine module.
[0013] The cross-scale causal consistency verification module does not rely solely on physical absolute time synchronization. Instead, it embeds logical timestamps into the data packets sent by the scheduling instructions and the execution feedback data packets. Based on the logical timestamp values recorded in the received feedback data packets from each node, it sorts the events and reconstructs the actual causal relationship set of the physical devices. It then performs a topological comparison between the actual causal relationship set and the expected causal relationship set pre-calculated by the digital twin model based on the scheduling instructions to calculate the causal deviation degree. When the causal deviation degree exceeds a preset threshold, it outputs a deviation warning signal and deviation characteristic data. Thus, this invention can accurately identify deviations in the virtual and real execution links at the causal level rather than the absolute time level, achieving the technical effect of timely and accurate detection of equipment wear and tear or instruction timing anomalies.
[0014] The layered decoupling and rescheduling module decouples on-site disturbances into structural disturbances and transient disturbances, and processes them in layers at the edge computing nodes and the cloud scheduling layer respectively. For transient disturbances, the lightweight reinforcement learning agent deployed on the edge computing nodes selects the action to be executed from the preset local fine-tuning action space based on the local production state, so as to achieve millisecond-level local response.
[0015] For structural disturbances, the cloud scheduling layer constructs multiple candidate global rescheduling schemes based on the uploaded production status, and selects the execution scheme based on the comprehensive objective function. Thus, the present invention can achieve real-time response to local disturbances while avoiding frequent changes in the global scheduling scheme due to minor disturbances, reducing cloud computing power overhead and eliminating scheduling scheme jitter effect.
[0016] After receiving the deviation warning signal and deviation feature data, the digital twin parameter reverse self-healing engine module reads the efficiency coefficient estimate of the corresponding device in the digital twin model, constructs a loss function with the difference between the causal deviation degree and the target deviation benchmark value as the independent variable, iteratively corrects the efficiency coefficient based on the gradient of the loss function relative to the efficiency coefficient, and writes the corrected efficiency coefficient back to the digital twin model. Thus, the present invention enables the device operating parameters in the digital twin model to adaptively update with the actual state of the physical device, forming a closed-loop self-healing system in which control, scheduling and parameter correction mutually feedback each other, so that the prediction accuracy of the digital twin model can adaptively converge with the actual state of the physical device.
[0017] The three modules mentioned above cooperate with each other, trigger step by step, and their results serve as inputs to each other: the deviation warning signal and deviation feature data output by the cross-scale causal consistency verification module trigger the digital twin parameter reverse self-healing engine module to correct the parameters. The corrected efficiency coefficient is used by the digital twin model to recalculate the expected causal relationship set for the next scheduling cycle and is fed back to the cross-scale causal consistency verification module for the next round of causal consistency verification, forming an overall closed loop that combines perception, discrimination, hierarchical decision-making and self-healing correction.
[0018] Compared with the prior art, the beneficial effects of the present invention by adopting the above technical solution are as follows:
[0019] 1. This invention overcomes the problem of limited accuracy of physical absolute time synchronization by introducing a causal consistency verification mechanism based on logical timestamps. It can accurately identify the deviation of virtual and real execution links at the causal level, thereby improving the accuracy and timeliness of deviation identification.
[0020] 2. This invention decouples on-site disturbances into structural disturbances and transient disturbances and processes them in layers, taking into account both the real-time response speed of local disturbances and the overall stability of the global scheduling scheme, reducing cloud computing resource overhead and reducing the occurrence of scheduling scheme jitter effect;
[0021] 3. This invention establishes an automatic feedback correction path from deviation feature data to digital twin model parameters, enabling the prediction accuracy of the digital twin model to continuously and adaptively converge with the actual operating state of the physical equipment, thus achieving true closed-loop self-healing capability. Attached Figure Description
[0022] Figure 1 This is a schematic diagram of the cross-scale causal consistency verification process in an embodiment of the present invention;
[0023] Figure 2 This is a flowchart of the layered decoupling and rescheduling process in an embodiment of the present invention;
[0024] Figure 3 This is a flowchart illustrating the reverse self-healing closed-loop process of digital twin parameters in an embodiment of the present invention. Detailed Implementation
[0025] The following is in conjunction with the appendix Figure 1-3 The specific embodiments of the present invention will be further described below. It should be noted that the description of these embodiments is for the purpose of helping to understand the present invention, but does not constitute a limitation of the present invention.
[0026] The technical solution of the present invention will be further described in detail below with reference to specific embodiments, but the scope of protection of the present invention is not limited to the following embodiments.
[0027] I. System Overall Architecture
[0028] The industrial automation production process MES scheduling and management system provided in this embodiment has a hardware architecture consisting of four layers from top to bottom: the top layer is the enterprise planning layer, which is used to generate and send production order information downwards;
[0029] The second layer is the cloud-based MES core scheduling layer, which internally deploys a global rescheduling optimization engine, a digital twin macro model library, a digital twin parameter reverse self-healing engine, and a cloud-based comparison unit for causal consistency verification.
[0030] The third layer is the edge computing node layer, which internally deploys a lightweight reinforcement learning agent, a logical timestamp generation and parsing unit, and a perturbation classification and discrimination unit.
[0031] The bottom layer consists of the field-programmable logic controller (FPGA) device execution layer and the sensors and actuators connected to it. The cloud-based MES core scheduling layer and the edge computing node layer exchange information through downlink scheduling command data streams, uplink device status feedback data streams, and policy synchronization data streams between the cloud and the edge. The downlink scheduling command data stream carries a logical timestamp, and the uplink device status feedback data stream carries an execution-side logical timestamp and an actual action trigger identifier. The logical timestamp, causal relationship graph construction principle, reinforcement learning, and gradient update algorithm relied upon by this invention are all mature technologies. Engineering implementation can be achieved by extending the logical vector field into the payload field of the existing industrial communication protocol.
[0032] II. Cross-scale causal consistency verification methods
[0033] In this embodiment, the cross-scale causal consistency verification module does not rely solely on physical absolute time synchronization methods such as network time protocols. Instead, it constructs a causal relationship graph that maps virtual and real data by embedding logical timestamps in the instruction issuance and status feedback data packets, thereby achieving cross-timescale causal consistency verification.
[0034] The core logic timestamp update rules are as follows:
[0035] ;
[0036] In the above formula, Represents a node Update the local logical timestamp obtained after processing this event;
[0037] Represents a node The local logical timestamp prior to this;
[0038] Represents a node If the logical timestamp received from the peer node is an internal event and there is no receiving action, the rule is simplified to incrementing the local timestamp by one.
[0039] To quantify the degree of causal deviation in the virtual-to-real execution chain, this embodiment defines the causal deviation index as follows:
[0040] ;
[0041] In the above formula, This represents the degree of causal bias, with a value ranging from zero to one.
[0042] This represents the set of expected causal relationship edges pre-calculated by the digital twin macroscopic model based on the current scheduling instructions;
[0043] This represents the set of actual causal relationship edges reconstructed based on the logical timestamps collected on-site.
[0044] symbol The symmetric difference operator represents two sets, that is, the set consisting of elements that exist only in one set and not in both sets;
[0045] The vertical line in the symbol represents the radix operator for counting the number of elements in the set. When the causal deviation exceeds the preset threshold, causal distortion is determined to have occurred, triggering an early warning and starting the digital twin parameter reverse self-healing engine.
[0046] The specific processing steps of this method are as follows:
[0047] First, when the MES scheduling decision layer generates a scheduling instruction, it generates a local logical timestamp for the event corresponding to the instruction and encapsulates the timestamp and instruction data together into the payload field of the data packet. By extending the data packet structure of the existing industrial communication protocol, the data packet is sent to the corresponding edge computing node or PLC execution layer.
[0048] Secondly, after receiving the data packet, the edge computing node or PLC updates its local logical timestamp to the larger of the received timestamp and the existing local timestamp plus one according to the aforementioned logical clock update rule. When executing the physical device action corresponding to the instruction, it records the local logical timestamp and action trigger identifier corresponding to the actual trigger time of the action, encapsulates them into a feedback data packet, and sends them back to the MES scheduling layer.
[0049] Furthermore, the MES scheduling layer sorts each event in ascending order of logical timestamp values based on the logical timestamp values and node identifiers recorded in the received data packets from each node, thereby reconstructing the actual causal execution relationship set of the physical entity in this round of scheduling. Based on the device chain response triggering order pre-calculated by the digital twin macro model for this round of instructions, the corresponding expected causal relationship set is generated.
[0050] Then, the MES scheduling layer calculates the deviation value between the actual causal relationship set and the expected causal relationship set according to the aforementioned causal deviation calculation method;
[0051] Finally, it is determined whether the deviation value exceeds the preset threshold. If it does not exceed the threshold, it is determined that the causal relationship of the virtual and real execution links in this round is consistent, and the monitoring of the next scheduling cycle continues. If it exceeds the threshold, it is determined that causal distortion has occurred, triggering an early warning message, and the deviation feature data of this round is transmitted to the digital twin parameter reverse self-healing engine module to enter the parameter correction process.
[0052] III. A Hierarchical Decoupling and Rescheduling Method for Multiple Dynamic Perturbations
[0053] This embodiment decouples on-site disturbances into two categories: structural disturbances and transient disturbances. Different processing strategies are adopted at the cloud-based MES core layer and edge computing nodes, respectively, to achieve a balance between local response speed and global stability. Among them, structural disturbances refer to disturbance events that cause continuous and fundamental changes to the state of the production system, such as equipment downtime, emergency order insertion, and material shortage.
[0054] Transient disturbances refer to disturbance events that are short in duration, small in amplitude, and do not change the overall structure of the production system, such as sensor jitter, brief material jams, and minor cycle fluctuations.
[0055] For transient disturbances, the lightweight reinforcement learning agent deployed on the edge computing node performs local decision optimization based on the following reward function:
[0056] ;
[0057] In the above formula, Indicates the moment of decision-making Rewards earned by reinforcement learning agents;
[0058] Indicates at time Additional time delay caused by handling transient disturbances;
[0059] Indicates at time Loss in production quality or output due to disturbance handling;
[0060] Indicates at time The scheduling stability indicator value is set to one when the current round of fine-tuning does not trigger a rescheduling request to be reported to the cloud, and otherwise it is set to zero.
[0061] , , These are the weighting coefficients for the three corresponding indicators, used to balance the relative importance of latency, quality, and stability.
[0062] For structural disturbances, the cloud-based MES core layer obtains a global rescheduling scheme by solving the following objective function:
[0063] ;
[0064] In the above formula, This represents a candidate global rescheduling scheme;
[0065] Representation scheme The corresponding comprehensive objective function value;
[0066] In the plan The predicted total production completion time;
[0067] Representation scheme The switching penalty cost relative to the original scheduling scheme currently being executed is used to measure the number or extent of changes in the process between the old and new schemes;
[0068] , These are the weighting coefficients corresponding to efficiency and stability indicators, respectively. The cloud scheduling layer optimizes the objective function to obtain a rescheduling scheme that achieves a better overall performance in terms of completion time and scheme switching cost.
[0069] The specific processing procedure of this method is as follows: The disturbance classification and discrimination unit of the edge computing node continuously monitors the equipment status data and sensor signals collected on-site. Based on preset judgment rules, including the duration of the abnormality, the magnitude of the abnormality, and whether it involves a fundamental change in equipment availability, the triggered abnormal events are classified into structural disturbances or transient disturbances. If it is determined to be a transient disturbance, the lightweight reinforcement learning agent deployed on the edge computing node is invoked. The current local production state is read as the state input for reinforcement learning. The reinforcement learning agent selects candidate actions from the preset local fine-tuning action space based on the current state, and calculates the expected reward value corresponding to each candidate action according to the aforementioned reward function. The action with the better expected reward value is selected as the action to be executed in this round. The edge computing node executes the selected action and issues the corresponding fine-tuning instructions to the on-site equipment. This achieves millisecond-level local response and updates the local policy parameters of the reinforcement learning agent based on the reward signal from the current execution result for subsequent decision optimization. If a structural disturbance is identified, the edge computing node uploads the disturbance information and the current complete production status data to the cloud MES core scheduling layer. Based on the uploaded production status and resource constraints, the cloud scheduling layer constructs multiple candidate global rescheduling schemes and calculates the comprehensive cost value of each candidate scheme according to the aforementioned objective function. The candidate scheme with the better comprehensive cost value is selected as the final rescheduling scheme, and the scheme is decomposed into execution sub-plans corresponding to each edge computing node and distributed to the corresponding edge computing nodes. Each edge computing node updates its local execution baseline according to the received sub-plan and synchronously updates the state baseline of the reinforcement learning agent, completing the global response to the structural disturbance in this round.
[0070] IV. Digital Twin Parameter Reverse Self-Healing Method
[0071] In this embodiment, after the cross-scale verification module detects that the causal deviation exceeds the threshold, it further utilizes the temporal deviation features collected from the edge side to automatically correct the device operating parameters in the cloud digital twin model through an adaptive feedback algorithm, forming a closed-loop self-healing system. The correction of the device efficiency coefficient adopts the following adaptive gradient update method:
[0072] ;
[0073] The loss function is defined as:
[0074] ;
[0075] In the above formula, Indicates the first Estimated efficiency coefficients of the corresponding devices in the digital twin model at the next iteration;
[0076] This indicates the result obtained after this round of corrections. Estimated efficiency coefficient;
[0077] This indicates the learning step size for adaptive correction;
[0078] Indicates the loss function at equal relative to The gradient;
[0079] Expressed in terms of efficiency coefficient The loss function is the independent variable;
[0080] This indicates that the equipment efficiency coefficient is set to a value of At that time, the causal bias degree recalculated by the digital twin model;
[0081] This represents the acceptable target deviation benchmark value, which can be zero or a preset lower limit of the tolerance range.
[0082] The specific processing procedure of this method is as follows: After receiving the deviation exceeding the threshold warning signal sent by the cross-scale causal verification module, the digital twin parameter reverse self-healing engine reads the causal deviation feature data corresponding to the triggering warning and the efficiency coefficient estimate of the corresponding device in the current digital twin model library.
[0083] Based on the aforementioned loss function definition, the self-healing engine substitutes the current efficiency coefficient estimate into the calculation to obtain the current loss function value, which reflects the degree of deviation between the current model parameters and the actual physical device state.
[0084] The self-healing engine calculates the gradient of the loss function with respect to the efficiency coefficient, and calculates the corrected new efficiency coefficient estimate according to the adaptive gradient update rule.
[0085] The self-healing engine writes the corrected efficiency coefficients back to the cloud-based digital twin model library, replacing the original parameters and completing a parameter self-healing correction.
[0086] The digital twin model recalculates the expected causal relationship set for the next scheduling cycle based on the updated parameters and feeds it back to the cross-scale causal verification module for causal consistency verification in the next cycle, forming a continuous closed-loop self-healing process of verification, correction, and re-verification.
[0087] V. Alternative Implementation Methods
[0088] In the cross-scale causal consistency verification stage, in addition to using the aforementioned scalar logical timestamp, a vector clock mechanism can also be used instead. That is, each node participating in the reconstruction of causal relationships maintains a vector containing the count components of the relevant nodes. By comparing the numerical relationship of each component of the vector, the causal sequence or concurrent relationship between events can be determined. In complex production line scenarios with multiple parallel execution links, a more refined causal relationship characterization than a single scalar logical timestamp can be achieved. It can also achieve the technical effect of cross-scale causal verification without relying on physical absolute time.
[0089] In the decision-making process for handling transient disturbances at edge computing nodes, in addition to using lightweight reinforcement learning agents, a rule matching decision-making method based on a preset rule base and empirical thresholds can also be used. That is, a corresponding fine-tuning response rule table is pre-defined for common transient disturbance types. When the edge computing node detects the corresponding disturbance features, it directly looks up the table for matching and executes the preset fine-tuning action. In application scenarios where computing resources are limited and historical disturbance sample data is insufficient to support the training of reinforcement learning models, the same technical effect of achieving millisecond-level local response and avoiding frequent triggering of global rescheduling can be achieved.
[0090] Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make possible changes and modifications without departing from the spirit and scope of the present invention. Therefore, any modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the protection scope defined by the claims of the present invention.
Claims
1. An industrial automation production process MES scheduling and management system, characterized in that, include: The cross-scale causal consistency verification module is used to embed logical timestamps in the data packets sent by the scheduling instructions and the data packets sent by the execution feedback. The events are sorted according to the logical timestamp values recorded in the received data packets of each node feedback, and the actual causal relationship set of the physical device is reconstructed. The actual causal relationship set is compared with the expected causal relationship set pre-calculated by the digital twin model based on the scheduling instructions, and the causal deviation degree is calculated. When the causal deviation degree exceeds a preset threshold, a deviation warning signal and deviation feature data are output. The layered decoupled rescheduling module includes an edge computing node and a cloud scheduling layer. The edge computing node is used to classify and identify disturbances in the equipment status data and sensor signals collected on site, and divide the disturbances into structural disturbances and transient disturbances. For the transient disturbances, the reinforcement learning agent deployed on the edge computing node selects the execution action from the preset local fine-tuning action space according to the local production status and issues fine-tuning instructions to the on-site equipment. For the structural disturbance, the cloud scheduling layer constructs multiple candidate global rescheduling schemes based on the uploaded production status, selects the candidate scheme whose comprehensive objective function value is lower than the corresponding value of the other candidate schemes, and sends it to the corresponding edge computing node; The digital twin parameter reverse self-healing engine module is used to read the efficiency coefficient estimate of the corresponding device in the digital twin model after receiving the deviation warning signal and deviation feature data, construct a loss function with the difference between the causal deviation degree and the target deviation benchmark value as the independent variable, iteratively correct the efficiency coefficient according to the gradient of the loss function relative to the efficiency coefficient, and write the corrected efficiency coefficient back to the digital twin model. Specifically, the deviation warning signal and deviation feature data output by the cross-scale causal consistency verification module trigger the digital twin parameter reverse self-healing engine module to correct the parameters. The corrected efficiency coefficient is used by the digital twin model to recalculate the expected causal relationship set for the next scheduling cycle and feeds it back to the cross-scale causal consistency verification module to form a closed loop.
2. The system according to claim 1, characterized in that, The cross-scale causal consistency verification module is specifically used for: When the MES scheduling decision layer generates scheduling instructions, a local logical timestamp is generated for the corresponding event, and the local logical timestamp is sent to the edge computing node and PLC execution layer along with the data packet. After receiving the data packet, the edge computing node and the PLC execution layer update their local logical timestamp to the larger of the received logical timestamp and the existing local logical timestamp plus one. When executing the corresponding device action, they record the local logical timestamp and action trigger identifier corresponding to the action and send them back to the cross-scale causal consistency verification module along with the feedback data packet. The cross-scale causal consistency verification module sorts the events in ascending order of the logical timestamp values recorded in each feedback data packet to obtain the actual causal relationship set.
3. The system according to claim 1, characterized in that, The causal deviation is the ratio of the number of causal edges contained in the symmetric difference between the actual causal relationship set and the expected causal relationship set to the number of causal edges in the expected causal relationship set. The symmetric difference is a set of causal edges that exist only in one of the actual causal relationship set and the expected causal relationship set, and not in both.
4. The system according to claim 1, characterized in that, The reinforcement learning agent selects an action to execute from a preset local fine-tuning action space based on the reward value. The reward value is obtained by summing a first negative component, a second negative component, and a positive component. The first negative component corresponds to the additional time delay caused by processing the transient disturbance, the second negative component corresponds to the loss of production quality and output caused by processing the transient disturbance, and the positive component is a scheduling stability indicator. The value of the scheduling stability indicator when the current execution action does not trigger a rescheduling request to be reported to the cloud scheduling layer is greater than the value when a rescheduling request to be reported to the cloud scheduling layer is triggered.
5. The system according to claim 1, characterized in that, The cloud scheduling layer selects an execution plan from multiple candidate global rescheduling plans based on a comprehensive objective function. The value of the comprehensive objective function is obtained by summing the product of the total production completion time and efficiency weight coefficient of the candidate plan, and the product of the switching penalty cost and stability weight coefficient of the candidate plan relative to the currently executing original scheduling plan. The cloud scheduling layer selects the candidate global rescheduling plan whose comprehensive objective function value is lower than the corresponding values of the other candidate global rescheduling plans as the global rescheduling plan to be issued and executed in this round.
6. The system according to claim 1, characterized in that, The digital twin parameter reverse self-healing engine module iteratively corrects the efficiency coefficient in the opposite direction of the gradient of the loss function relative to the efficiency coefficient according to a preset learning step size. The new efficiency coefficient value obtained in each iteration is used to replace the original efficiency coefficient value of the corresponding device in the digital twin model, until the difference between the causal deviation calculated based on the corrected efficiency coefficient and the target deviation benchmark value converges to the preset allowable error range.
7. The system according to claim 1, characterized in that, The edge computing node also includes a disturbance classification and discrimination unit. The disturbance classification and discrimination unit classifies and discriminates abnormal events triggered in the equipment status data and sensor signals collected on site based on the characteristics of abnormal duration, abnormal amplitude, and whether they involve a fundamental change in equipment availability. Abnormal events that are continuous and fundamentally change the state of the production system are classified as structural disturbances, while abnormal events that are short in duration, small in amplitude, and do not change the overall structure of the production system are classified as transient disturbances.
8. A method for scheduling and managing MES (Manufacturing Execution System) in industrial automated production processes, characterized in that, include: Logical timestamps are embedded in the data packets sent by the scheduling instructions and the data packets sent by the execution feedback. Events are sorted according to the logical timestamp values recorded in the data packets sent by each node, and the actual causal relationship set of the physical devices is reconstructed. The actual causal relationship set is compared with the expected causal relationship set pre-calculated by the digital twin model based on the scheduling instructions, and the causal deviation degree is calculated. When the causal deviation degree exceeds a preset threshold, a deviation warning signal and deviation characteristic data are output. The equipment status data and sensor signals collected on-site are classified and judged for disturbances, which are divided into structural disturbances and transient disturbances. For the transient disturbances, the reinforcement learning agent deployed on the edge computing node selects the execution action from the preset local fine-tuning action space according to the local production status and issues fine-tuning instructions to the on-site equipment. For the structural disturbance, the cloud scheduling layer constructs multiple candidate global rescheduling schemes based on the uploaded production status, selects the candidate scheme with a comprehensive cost value lower than the comprehensive cost value of the other candidate schemes, and sends it to the corresponding edge computing node; After receiving the deviation warning signal and deviation characteristic data, the efficiency coefficient estimate of the corresponding device in the digital twin model is read, a loss function is constructed with the difference between the causal deviation degree and the target deviation benchmark value as the independent variable, the efficiency coefficient is iteratively corrected according to the gradient of the loss function relative to the efficiency coefficient, the corrected efficiency coefficient is written back to the digital twin model, and used to recalculate the expected causal relationship set for the next scheduling cycle.
9. The method according to claim 8, characterized in that, The reinforcement learning agent selects an action to execute based on a reward value, which is obtained by summing a first negative component, a second negative component, and a positive component. The first negative component corresponds to the additional time delay caused by processing the transient disturbance, the second negative component corresponds to the loss of production quality and output caused by processing the transient disturbance, and the positive component is a scheduling stability indicator. The value of the scheduling stability indicator when the current execution action does not trigger a rescheduling request to be reported to the cloud scheduling layer is greater than the value when a rescheduling request to be reported to the cloud scheduling layer is triggered.
10. The method according to claim 8, characterized in that, The logical timestamp is implemented using a vector clock. A vector containing the count components of the relevant nodes is maintained for each node participating in the reconstruction of causal relationships. By comparing the numerical relationships of the components of the vector, the causal sequence and concurrency relationships between events are determined.
