A digital twin device calibration method and system

Through two-way data flow and multi-level difference calculation, combined with artificial intelligence models, the problem of synchronization offset of digital twin equipment is solved, fault diagnosis and correction of physical equipment are realized, and the synchronization capability of twin equipment is improved.

CN113901724BActive Publication Date: 2024-09-24CHINA ELECTRONICS STANDARDIZATION INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111191077.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-13
Publication Date
2024-09-24
Estimated Expiration
2041-10-13

AI Technical Summary

Technical Problem

Existing digital twin devices are prone to drift during the synchronization process. The existing technology synchronizes data by restarting the twin device, which cannot effectively track changes in the physical device, resulting in more subsequent drift and synchronization difficulties.

Method used

By constructing a correction method, the two-way flow of data is realized, multi-level difference calculation and artificial intelligence model are used for monitoring and early warning, and difference trends are introduced to reduce the difficulty of correction and improve synchronization capabilities.

Benefits of technology

It realizes physical device fault diagnosis and correction, reduces the difficulty of synchronization and transplantation of twin devices, and improves the synchronization capability and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113901724B
    Figure CN113901724B
Patent Text Reader

Abstract

The present invention provides a digital twin device correction method and system, the system comprising: a digital twin device, a physical device, a correction device, and an analysis and early warning device; the digital twin device sends the twin device output to the correction device, and the correction device sends the correction output to the physical device and the analysis and early warning device; the physical device sends the physical device output to the physical device, the correction device, and the analysis and early warning device; the present invention uses bidirectional data flow to enable the physical device to take further actions and interventions on the main body according to the information fed back by the twin device, thereby realizing fault diagnosis of the physical device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of twin devices, and in particular relates to a digital twin device calibration method and system. Background Art

[0002] As a new generation of general-purpose technologies (GPT), digital twins come from the concept proposed by DARPA in 2009. Experts from NASA and the US Department of Defense have developed it into a new paradigm and become the Manhattan Project of the digital age. After 10 years of development, digital twins have blossomed in various industries and gradually formed a "future industry". Digital twins were first applied in the military field and gradually spread to cities, petrochemicals, mining, manufacturing and other fields, reflecting the spillover effect of general-purpose technologies. Digital twins create virtual models of physical entities in a digital way, simulate the behavior of physical entities in real environments with the help of data, and add or expand new capabilities for physical entities through virtual-real interactive feedback, data fusion analysis, decision-making iterative optimization and other means.

[0003] Digital twins are widely used in various industries, especially the industrial Internet industry. They not only have diversity in description, but also diversity in services. Digital twins make full use of physical models, sensor updates, operation history and other data, integrate multi-disciplinary, multi-physical quantity, multi-scale, and multi-probability simulation processes, and complete mapping in virtual space, thereby reflecting the entire life cycle of the corresponding physical equipment. If system design changes need to be made, or if you want to know how the system responds under special external conditions, engineers can conduct "experiments" on the twin. In this way, the impact on the entity is avoided, and efficiency can be improved and costs can be saved.

[0004] However, the construction of twin systems is now quite complicated, and it is easy for twin systems to produce offsets with manufacturing equipment. The prior art usually synchronizes by obtaining data from the manufacturing equipment again, but this method is only equivalent to restarting the twin device, and does not change the inherent change direction of the twin device itself. Undoubtedly, it will cause more twin offsets in the future. In response to the above-mentioned problems in the prior art, the present invention brings the following beneficial effects by constructing a correction and a quantitative correction method based on artificial intelligence: (1) Bidirectional data flow allows the physical device to take further actions and interventions on the main body according to the information fed back by the twin device, so that Realize fault diagnosis of physical equipment; (2) Through multi-level consideration of parameters and the correlation between their parameters, microscopically characterize the differences between task output parameters, providing good support for subsequent correction; at the same time, provide quantitative support for expanding transplantation training samples; (3) With the help of simple artificial intelligence models, without increasing the computational complexity, the influence of single output parameters and their combinations on output parameter deviation is introduced into the model at an early stage through weights based on summary values, thereby reducing the training complexity of the correction model; (4) By introducing difference trends to increase the correction output, the convergence difficulty of the correction method is greatly reduced, and the synchronization capability and transplantation synchronization capability of the twin devices are improved. Summary of the invention

[0005] In order to solve the above problems in the prior art, the present invention proposes a digital twin device calibration method, which comprises:

[0006] Step S1: receiving a manufacturing task and sending the manufacturing task to the twin device and the manufacturing device at the same time;

[0007] Step S2: The twin device and the manufacturing device simultaneously execute the task and obtain the task output parameters;

[0008] Step S3: Calculate the multi-level differences between the twin task output and the manufacturing task output;

[0009] Step S4: input the multi-level differences and the twin task output into the first calibration model to obtain the calibrated twin output;

[0010] Step S5: Use the corrected twin output as the twin device output to monitor and warn the execution of the physical device.

[0011] Furthermore, the manufacturing task is an assembly line manufacturing task or a mechanical processing task.

[0012] Furthermore, the manufacturing task includes task input parameters, including task execution steps, environment, manufacturing components involved, component startup time and task execution time.

[0013] Furthermore, the task execution steps are stored in a task file, and the task is executed step by step by reading the execution file.

[0014] Furthermore, the task output parameters are multi-dimensional; each dimension is parameter information about one aspect.

[0015] A digital twin device calibration system, the system comprising:

[0016] An interface module, used to receive manufacturing tasks and send the manufacturing tasks to the twin device and the manufacturing device at the same time;

[0017] A parallel execution module is used to enable the twin device and the manufacturing device to execute tasks simultaneously and obtain task output parameters;

[0018] a difference calculation module, which is used to calculate the multi-level differences between the twin task output and the manufacturing task output;

[0019] A correction module, used for inputting the multi-level differences and the twin task output into the first correction model to obtain a corrected twin output;

[0020] The monitoring and early warning module is used to use the corrected twin output as the twin device output to monitor and warn the execution of the physical device.

[0021] A processor is used to run a program, wherein the digital twin device correction method is executed when the program is running.

[0022] An execution device includes a processor, the processor is coupled to a memory, the memory stores program instructions, and when the program instructions stored in the memory are executed by the processor, the digital twin device correction method is implemented.

[0023] A computer-readable storage medium includes a program, which, when executed on a computer, enables the computer to execute the digital twin device correction method.

[0024] A circuit system includes a processing circuit configured to execute the digital twin device correction method.

[0025] The beneficial effects of the present invention include: (1) bidirectional data flow, so that the physical device can take further actions and interventions on the main body according to the information fed back by the twin device, so as to achieve fault diagnosis of the physical device; (2) by considering the parameters and the correlation between their parameters at multiple levels, the differences between the task output parameters are microscopically characterized, providing good support for subsequent correction; at the same time, quantitative support is provided for expanding the transplantation training samples; (3) with the help of a simple artificial intelligence model, without increasing the computational complexity, the influence of a single output parameter and its combination on the output parameter offset is brought into the model at an early stage through weights based on summary values, thereby reducing the training complexity of the correction model; (4) by introducing a difference trend to increase the correction output, the convergence difficulty of the correction method is greatly reduced, and the synchronization capability and transplantation synchronization capability of the twin device are improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0027] Figure 1 It is a schematic diagram of the digital twin device calibration method of the present invention. DETAILED DESCRIPTION

[0028] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments, wherein the illustrative embodiments and descriptions are only used to explain the present invention but are not intended to limit the present invention.

[0030] Twin devices have the same characteristics as physical devices, and the device twin updates its status according to the expected state set by the application; however, as the physical device changes, the expected state of the twin device is inconsistent with the physical device; the existing technology often directly collects the physical data of the physical device and feeds the collected data to the twin device, but such a correction method cannot make the twin device truly operate like a twin of the physical device, but can only get the same output on the surface at the moment of synchronization; how to synchronize the twin device with the physical device in essence, so that the twin device changes synchronously with the changing trend of the physical device, is a problem to be solved. The corrected twin device can work synchronously; further proposes bidirectional data flow, so that the physical device can take further actions and interventions on the main body according to the information fed back by the twin device, so that the fault diagnosis of the physical device can be achieved;

[0031] In the first aspect, a digital twin device calibration method provided by the present invention is described in detail, as shown in the attached figure. Figure 1 As shown, the method comprises:

[0032] Step S1: receiving a manufacturing task and sending the manufacturing task to the twin device and the manufacturing device at the same time;

[0033] Preferably: the manufacturing task is an assembly line manufacturing task, a mechanical processing task, etc.;

[0034] The manufacturing task includes task input parameters, including task execution steps, environment, manufacturing components involved, component start time and task execution time, etc.;

[0035] Preferably: the task execution steps are stored in a task file, and the task is executed step by step by reading the execution file;

[0036] Step S2: The twin device and the manufacturing device simultaneously execute tasks and obtain task output parameters; the task output parameters include the twin task output and the manufacturing task output; before executing the manufacturing task, the task input parameters of the twin device and the manufacturing device are the same; the task output parameters are multi-dimensional; each dimension is parameter information about one aspect; for example: parameter information of one type, parameter information about the same object, parameter information of the same area, etc.;

[0037] Preferably: the task output parameters include multiple dimensions such as manufacturing product parameter information and manufacturing process parameters;

[0038] Preferably: the manufacturing product parameter information includes, for example, manufacturing product size, product error, etc.; manufacturing parameters include, for example, manufacturing time, power consumption, etc.; output parameters of multiple dimensions can also be set by reference;

[0039] Alternatively: the output parameters include monitoring data of each node, such as voltage, current, power consumption, temperature, working time of a working step, positioning error, etc.; for example: the multiple dimensions of the output parameters are the voltage, current, power consumption, temperature, and working time of a working step of a working node; wherein each dimension contains monitoring data of multiple working nodes or collected data of a digital twin device;

[0040] Step S3: Calculate the multi-level difference between the twin task output and the manufacturing task output; specifically: calculate the absolute value of the difference between the twin task output and the corresponding manufacturing task output as the multi-level difference;

[0041] Alternatively, the multi-level difference between the twin task output and the manufacturing task output is calculated as follows: respectively obtain the first n-tuple of the twin task and the second n-tuple corresponding to the manufacturing task; each element in the corresponding first n-tuple and the second n-tuple involves the same parameter type; calculate the difference between the first n-tuple and the second n-tuple as the nth summary value of the n-tuple; then when there are multiple n-tuples, the nth summary value is also multiple; the multi-level summary values ​​formed as the n value changes together constitute the multi-level difference; wherein: the n-tuple is the n-tuple whose combination of elements in the tuple affects the difference; that is, the n-tuple that makes a contribution;

[0042] Preferably: the multi-level differences are about the differences between tuples involving multiple dimensional outputs; wherein: the levels are n levels; the nth level involves the differences between n-tuple output parameters;

[0043] Preferably: the number of n-tuples in the nth level is one or more;

[0044] For example, the current and voltage combination of a node has a great influence on the task output parameter; the said two-tuple is calculated in the second level; then the problem is transformed into calculating the difference between the tuples; the current and voltage belong to different dimensions, and such a cross-dimensional combination happens to have a great influence on the task output, so analyzing the two-tuple will obviously bring better characterization effect;

[0045] Preferably: the n-tuple is an n-tuple combination of output parameters that have a great impact on the task output; each tuple in the n-tuple involves the same or different dimensions; then, the first-level difference involves a tuple, a most important output parameter is selected from each dimension, and the difference of the tuple is calculated as the first summary value; for example: for dimension m, the task output parameter with the greatest impact is Dm_SP, and the Euclidean distance between Dm_SP of the twin task and the manufacturing task is calculated as the first summary value; then for M dimensions, M first summary values ​​can be calculated;

[0046] The second level of difference involves binary groups, multiple binary groups are selected, and the difference between each corresponding binary group is calculated to obtain multiple second summary values; and so on; that is, each summary value is one or more; the second summary value is calculated for the binary combination of task output parameters that has a great impact on the task output; for example: for the binary combination of task output parameters (Dx_Oy1, Dx_Oy2), the two elements of the binary group have a great impact on the task output parameters; the Euclidean distance between the binary combination of the twin task and the manufacturing task is calculated as the second summary value; the calculation method of the 3rd...n,...N summary values ​​is analogous;

[0047] Of course, the method of calculating the difference, that is, the method of obtaining the summary value is not limited to using the Euclidean distance, and various methods such as weighted Euclidean distance can also be used;

[0048] The role of output parameters in model correction is not one-level or primary-secondary. The correlation between parameters has a significant impact on the output of the task. In the prior art, the influence of parameters is often considered separately and the model is adjusted, and the effect of parameters or different types of parameters working together is never considered. For the complex manufacturing environment faced by twin devices, the present invention considers parameters and the correlation between them at multiple levels, and microscopically describes the differences between task output parameters, providing good support for subsequent correction.

[0049] Step S4: input the multi-level differences and the twin task output into the first calibration model to obtain the calibrated twin output;

[0050] Preferred: Normalize the multi-level differences and twin task outputs before input;

[0051] Preferably: the first correction model is an artificial intelligence model;

[0052] Further: the first correction model is a weighted neural network model;

[0053] Before using the first correction model, construct and train the first correction model; the first correction model includes an input layer, a fully connected layer and an output layer; wherein:

[0054] Preferably: the input layer includes M neural units; wherein the input of each neural unit corresponds to a weighted output parameter of the twin device in one dimension; the output of each neural unit in the input layer is input to each neural unit in the fully connected layer;

[0055] Preferably: the weight coefficients used in the weighted output parameters of the twin devices in the dimensions are calculated based on the multi-level differences; specifically: when the output parameters of the twin devices in the mth dimension are (Im_1, ..., Im_k, ..., Im_dm), the corresponding input in the mth dimension is (Bm_1*Im_1, ..., Bm_k*Im_k, ..., Bm_dm*Im_dm); Im_k is the kth input parameter in the mth dimension, and Bm_k is its weight coefficient; wherein: k is the parameter number; dm is the number of parameters in the mth dimension; for example: the voltage parameter dimension contains dm node voltages;

[0056] The weight Bm_k of the kth parameter in the mth dimension is calculated using the following formula; where: θn is the set of all n-tuples involved in the nth level summary value; Im_k∈θn is all n-tuples involved in Im_k at the nth level;

[0057]

[0058] Where: S 2_2u is the second summary value, 2u is the second summary value number in θ2, and so on. n_nu is the nth summary value, nu is the number of the nth summary value in θn; S N_Nu is the Nth summary value, Nu is θ N The Nth summary value number in;

[0059] Preferably: A2-AN is a comprehensive weight sequence; for example: A2=…=An=…AN=1;

[0060] Alternatively, A2+…+…AN≈1; that is, infinitely close to 1 / 2;

[0061] In this way, a simple neural network structure can be used to consider the impact of a single output parameter and its combination on the output parameter offset, thereby reducing the training complexity of the correction model; at this time, even if the number of levels considered increases, only the one-time calculation of Bm_k will increase without increasing the training complexity;

[0062] The fully connected layer comprises M neural units, and the fully connected layer weights each input of the fully connected layer with a weight coefficient Wm; preferably, Wm is equal to the first summary value Sm_1;

[0063] The output of the output layer is the output of the first correction model, and the input is the output of the fully connected layer;

[0064] Preferably: the first correction model is trained based on the manufacturing task output of the manufacturing equipment as a sample;

[0065] Furthermore, although the difference is described in detail by only relying on the difference parameter, the reliability of the twin device will be greatly reduced if the twin device is shut down or the bidirectional data flow is stagnant; especially when the first twin device is applied to the second physical device, the convergence will be very slow and the model training will be difficult. In this case, the present invention further increases the correction output by introducing the difference trend, thereby greatly reducing the convergence difficulty of the correction model and improving the synchronization capability and portable synchronization capability of the twin device.

[0066] The method further comprises step S4E: calculating a difference trend parameter, and inputting the difference trend parameter and the correction twin output into a second correction model to obtain a correction twin output;

[0067] The calculation of the difference trend parameter is specifically as follows: collecting the output parameters of the twin device and the output parameters of the physical device within the most recent first time interval, respectively calculating the output parameter difference of each dimension, determining the change trend of each output parameter difference in each dimension, and selecting the most obvious significant change trend as the change trend FTm(t) of the dimension, and the change trend FTm(t) is a curve trend that changes over time;

[0068] Preferably: the first time interval is the most recent historical time interval; sufficient trend data can be received in the historical time interval and parameter fitting can be performed;

[0069] Preferably: all output parameter differences within the first time interval of each dimension are used as sampling points for parameter fitting to obtain its change trend function FT(t); then one or more trend functions can be obtained for the same dimension, and when there is no obvious change trend in these parameters, the FT(t)≈1; then it is equivalent to not obtaining effective trend information from this dimension, and the parameter fitting of the next dimension can be continued; when there is no effective trend in all dimensions, it is equivalent to not adjusting the correction output parameters obtained by the first correction model; when a trend function with changes is obtained, its general trend can be determined by clamping two linear functions as upper and lower limits;

[0070] Preferably: when there are multiple valid trend functions in the same dimension, the significant trend is selected; the significant trend is the trend function FT(t) with the most obvious change in the change trend; when there is no valid change trend in a dimension, FTm(t) corresponding to the dimension = 1;

[0071] Preferably: the second correction model is an artificial intelligence model; further: the second correction model is a weighted neural network model; the input of the second correction model is respectively the change trend function FTm(t) of m dimensions and its corresponding first correction model output of m dimensions, the change trend function FTm(t) of m dimensions is applied to the first correction model output of m dimensions to obtain the second correction model output of m dimensions, and the second correction model output is used as the correction twin output; the simplest method can be weighted, proportional, and additive;

[0072] Step S5: using the corrected twin output as the twin device output to monitor and warn the execution of the physical device; specifically: obtaining the corrected twin output of the twin device of the first physical device, substantially synchronizing the twin device with the physical device based on two-way data communication, and monitoring and warning the first physical device based on the output of the first twin device;

[0073] However, such analysis and early warning functions are limited, and are also common functions of twin devices in the prior art. Based on the correction method of the present invention, the correction twin output can provide monitoring for more physical devices.

[0074] Therefore, as a second aspect of the present invention, the present invention provides an application method for digital twin device calibration based on the above twin calibration device calibration method, the method further comprising step S6: monitoring and warning the second physical device based on the output of the first twin device; wherein: the first physical device is a physical device different from the first physical device; the first physical device and the second physical device are physical devices of the same type;

[0075] The step S6 specifically includes the following steps:

[0076] Step S61: Acquire multiple groups of first twin device task outputs and second task output parameters of the second physical device;

[0077] Step S62: executing step S3 to calculate the corresponding multiple sets of second task output differences;

[0078] Step S63: using the task output parameter of the second physical device and the second task output difference as samples to train the first correction model, or the first correction model and the second correction model;

[0079] Preferably: the first correction model and the second correction model are BP neural network models; by using a fast-converging BP neural network, the correction model can achieve the training target with a sample size of 100 or even less;

[0080] Alternatively, the first correction model and the second correction model are BP neural network models and convolutional neural network models, and sample expansion is performed by synthesizing the output data of the first physical device task;

[0081] The method for synthesizing the task output data of the first physical device is used to expand the samples, specifically: obtaining the first task output difference similar to the second task output difference and the corresponding first task output parameter as the expansion sample; since the difference is multi-level and the parameter is multi-dimensionally expressed, even if the similarity is set to a smaller range, due to the diversity of the differences, more expansion samples can still be obtained in this case, providing quantitative support for transplantation;

[0082] The similarity is to calculate the difference distance DS using the following formula, and determine the difference distance that is less than the preset distance as similar;

[0083]

[0084] Among them: The first summary value of the first dimension is S 1_1 , the first summary value of the mth dimension is S 1_m ; The second summary value is S 2_2t , 2t is the number of the second summary value; and so on, the nth summary value is S n_nt ,nt is the number of the nth summary value; the Nth summary value is S N_Nt ,Nt is the number of the Nth summary value;

[0085] Cn is the weight coefficient of the nth summary value; M is the number of dimensions, m is the dimension number; N is the number of summary value levels, n is the summary value number; the above difference distance calculation method is used so that the impact of the summary value on DS decreases exponentially as the number of parameters involved in the calculation increases, and even if there are larger parameter types, the distance will not increase indefinitely and ineffectively;

[0086] Preferably: the above summary values ​​are two-dimensional spatial data, and the computational complexity changes dynamically by limiting the boundary of the two-dimensional spatial data; the number of the first summary values ​​is the same as the number of dimensions, and the setting of the number of other summary values ​​can be modified by changing the tuple cutoff preset with a large influence, so as to match the complexity; specifically: Nn is the number of the nth summary value; N1=N, Nn is a preset value, which can be changed according to the limitation of computational complexity, the smaller the limitation of computational complexity, the larger Nn, and vice versa;

[0087] Preferably: the weight coefficient Cn of the nth summary value is determined by principal component analysis;

[0088] Preferably: C1+C2+…+…CN≈1; that is, infinitely close to 1; C1=1 / 2, C2=1 / 2*2,…CN=1 / 2*N; it can be seen that as we consider more factors, the weight factors also increase. When we cannot gain more benefits from increasing complexity, we can stop increasing the summary value n;

[0089] Step S64: executing step S4 to obtain a corrected twin output;

[0090] Step S65: Using the corrected twin output as the twin device output, and monitoring and warning the execution of the second physical device;

[0091] Therefore, as a third aspect of the present invention, the present invention provides a heterogeneous environment application method for digital twin device calibration based on the above twin calibration device calibration method, the method further comprising step S7:

[0092] Preferably: the method also includes step S7: monitoring and warning for the first physical device in the second external environment based on the output of the first twin device; wherein: the first twin device is a twin device set up based on the first physical device in the first external environment; the second external environment is different from the first external environment; through step S7, the adaptability of the manufactured equipment to environmental changes can be verified in the design stage, so as to analyze and warn of changes in the external environment of the equipment in advance; the specific implementation method of step S7 is the same as step S6; through the present invention, before the manufacturing task is executed, the production process under different external environments can be simulated through digital virtual manufacturing, so as to achieve early prediction of the output of key manufacturing tasks such as efficiency, yield rate, energy consumption rate, etc., thereby stabilizing and continuously optimizing the manufacturing process.

[0093] The digital twin device correction system provided by the present invention comprises a digital twin device, a physical device, a correction device, and an analysis and early warning device; the digital twin device sends the twin device output to the correction device, and the correction device sends the correction output to the physical device and the analysis and early warning device; the physical device sends the physical device output to the physical device, the correction device, and the analysis and early warning device;

[0094] The correction device is used to perform the above steps S3-S4, and the analysis and early warning device is used to perform the above steps S5 and S6 and / or S7;

[0095] The correction device is arranged at the manufacturing equipment provider, and the analysis and early warning device is arranged at the cloud server, and the cloud server belongs to the manufacturing equipment provider and the third party;

[0096] Preferably: the cloud server is built on a cloud platform, and the core service layer of the cloud computing platform on which the cloud server relies provides services including infrastructure as a service (IaaS), platform as a service (PaaS), and software as a service (SaaS). IaaS provides physical or virtual computing, storage, and network services, PaaS provides application deployment and management services, and SaaS provides applications. The enterprise to which the business terminal belongs can rent it for information exchange processing.

[0097] The terms "data processing apparatus", "data processing system", "user equipment" or "computing device" encompass all kinds of apparatus, devices and machines for processing data, including, for example, a programmable processor, a computer, a system on a chip, or a plurality or combination thereof. The apparatus can include dedicated logic circuits, such as an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit). In addition to hardware, the apparatus may also include code that creates an execution environment for the computer program, for example, code constituting processor firmware, a protocol stack, a database management system, an operating system, a cross-platform operating environment, a virtual machine, or a combination of one or more of the above. The apparatus and execution environment may implement a variety of different computing model infrastructures, such as web services, distributed computing, and grid computing infrastructures.

[0098] A computer program (also referred to as a program, software, software application, script, or code) can be written in any form of a programming language, including an assembled or interpreted language, a declarative or procedural language, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, object, or other unit suitable for use in a computing environment. A computer program may, but need not, correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program, or in multiple collaborative files (e.g., files storing one or more modules, subroutines, or code portions). A computer program can be deployed to execute on one computer or on multiple computers located at one site or distributed across multiple sites and interconnected by a communication network.

[0099] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0100] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0101] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0102] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A digital twin device calibration method, It is characterized in that The method comprises: Step S1: receiving a manufacturing task and sending the manufacturing task to the twin device and the manufacturing device at the same time; Step S2: The twin device and the manufacturing device simultaneously execute the task and obtain the task output parameters; Step S3: Calculate the multi-level differences between the twin task output and the manufacturing task output; Step S4: input the multi-level differences and the twin task output into the first calibration model to obtain the calibrated twin output; Step S5: Using the corrected twin output as the twin device output to monitor and warn the execution of the physical device; Among them, step S4 specifically includes: normalizing the multi-level differences and twin task outputs before inputting; The first correction model is a weighted neural network model; Before using the first correction model, constructing and training the first correction model; the first correction model includes an input layer, a fully connected layer and an output layer; The input layer includes M neural units; the input of each neural unit corresponds to a weighted output parameter of a twin device in one dimension; the output of each neural unit in the input layer is input to each neural unit in the fully connected layer; The weight coefficient used in the weighted output parameter of the twin device in one dimension is calculated based on the multi-level difference; specifically: when the output parameter of the twin device in the mth dimension is Im_1, ..., Im_k, ..., Im_dm, the corresponding input in the mth dimension is Bm_1*Im_1, ..., Bm_k*Im_k, ..., Bm_dm*Im_dm; Im_k is the kth input parameter in the mth dimension, and Bm_k is its weight coefficient; wherein: k is the parameter number; dm is the number of parameters in the mth dimension; The weight Bm_k of the kth parameter in the mth dimension is calculated using the following formula; where: θn represents the set of all n-tuples involved in the nth level summary value; Im_k∈θn is all n-tuples involved in Im_k at the nth level; Where: S 2_2u is the second summary value, 2u is the number of the second summary value in θ2, and so on. n_nu is the nth summary value, nu is the number of the nth summary value in θn; S N_Nu is the Nth summary value, Nu is the number of the Nth summary value in θN; A2~AN is the comprehensive weight sequence.

2. The digital twin device calibration method according to claim 1, It is characterized in that The manufacturing tasks include assembly line manufacturing tasks and mechanical processing tasks.

3. The digital twin device calibration method according to claim 2, It is characterized in that The manufacturing task includes task input parameters, including task execution steps, environment, involved manufacturing components, component start-up time and task execution time.

4. The digital twin device calibration method according to claim 3, It is characterized in that The task execution steps are stored in the task file, and the task is executed step by step by reading the execution file.

5. The digital twin device calibration method according to claim 4, It is characterized in that The task output parameters are multi-dimensional; each dimension is parameter information about one aspect.

6. A digital twin device calibration system, It is characterized in that The system comprises: An interface module, used to receive manufacturing tasks and send the manufacturing tasks to the twin device and the manufacturing device at the same time; A parallel execution module is used to enable the twin device and the manufacturing device to execute tasks simultaneously and obtain task output parameters; a difference calculation module, which is used to calculate the multi-level differences between the twin task output and the manufacturing task output; A correction module, used for inputting the multi-level differences and the twin task output into the first correction model to obtain a corrected twin output; The monitoring and early warning module is used to use the corrected twin output as the twin device output to monitor and warn the execution of the physical device; Among them, the correction module is used to normalize the multi-level differences and twin task outputs before input; The first correction model is a weighted neural network model; Before using the first correction model, constructing and training the first correction model; the first correction model includes an input layer, a fully connected layer and an output layer; The input layer includes M neural units; the input of each neural unit corresponds to a weighted output parameter of a twin device in one dimension; the output of each neural unit in the input layer is input to each neural unit in the fully connected layer; The weight coefficient used in the weighted output parameter of the twin device in one dimension is calculated based on the multi-level difference; specifically: when the output parameter of the twin device in the mth dimension is Im_1, ..., Im_k, ..., Im_dm, the corresponding input in the mth dimension is Bm_1*Im_1, ..., Bm_k*Im_k, ..., Bm_dm*Im_dm; Im_k is the kth input parameter in the mth dimension, and Bm_k is its weight coefficient; wherein: k is the parameter number; dm is the number of parameters in the mth dimension; The weight Bm_k of the kth parameter in the mth dimension is calculated using the following formula; where: θn represents the set of all n-tuples involved in the nth level summary value; Im_k∈θn is all n-tuples involved in Im_k at the nth level; Where: S 2_2u is the second summary value, 2u is the number of the second summary value in θ2, and so on. n_nu is the nth summary value, nu is the number of the nth summary value in θn; S N_Nu is the Nth summary value, Nu is the number of the Nth summary value in θN; A2~AN is the comprehensive weight sequence.

7. A processor, It is characterized in that The processor is used to run a program, wherein the program, when running, executes the digital twin device correction method described in any one of claims 1 to 5.

8. An execution device, It is characterized in that It includes a processor, which is coupled to a memory, and the memory stores program instructions. When the program instructions stored in the memory are executed by the processor, the digital twin device correction method described in any one of claims 1 to 5 is implemented.

9. A computer-readable storage medium, It is characterized in that It includes a program which, when executed on a computer, enables the computer to execute the digital twin device correction method as described in any one of claims 1 to 5.

10. A circuit system, It is characterized in that The circuit system includes a processing circuit configured to execute the digital twin device correction method as described in any one of claims 1-5.