Inversion model construction method, device, equipment and medium based on digital twin
Using digital twin technology to build an inversion model solves the problems of complex device inversion and unrecorded traceability, enables high-confidence traceability and fault analysis of invisible states, and supports fault prediction and health management.
Patent Information
- Application Number
- CN202410620298.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-05-20
AI Technical Summary
Existing inversion technology is difficult to invert complex devices with strong integrity, sealing and integrity, especially for unrecorded traceability of invisible internal states of devices, and lacks spatiotemporal reversibility.
The inversion model construction method based on digital twins is used to construct a logical model of the relationship between the initial variable data and the actual result data, and digital twin technology is used for deduction and correction. The calculation model is optimized based on physical attributes, and through reverse operations and Stochastic gradient descent method is used for model optimization to achieve inversion of complex devices.
It achieves high-confidence record-free traceability of the internal status of invisible devices, breaks time constraints, provides high-confidence device evolution tracks and fault traceability capabilities, and supports PHM management and early warning maintenance.
Smart Images

Figure CN118194736B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of reverse deduction, and in particular to a method, device, equipment and medium for constructing an inversion model based on digital twins. Background Art
[0002] At present, most inversion technologies are aimed at inversion in the fields of soil and remote sensing. Most of them are aimed at macroscopic concepts or overall objects. There is a lack of inversion for specific single components or nodes. In the past, they were all forward and linear continuous deductions for the future, lacking time and space reversibility. Therefore, how to achieve inversion application for complex devices with strong integrity, sealing and integrity, and to be able to trace the internal state of invisible devices without records is a problem that needs to be solved urgently. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a method, device, equipment and medium for constructing an inversion model based on digital twins, which can be applied to specific devices, can realize the inversion application of complex devices with strong integrity, sealing and integrity, can trace the invisible internal state of the device without records, and provide a high-confidence device evolution trajectory. The specific scheme is as follows:
[0004] In a first aspect, the present application discloses a method for constructing an inversion model based on digital twins, comprising:
[0005] Constructing a relational logic model between the initial variable data of the target device and the initial actual result data, and calculating the initial variable data based on the digital twin technology, the relational logic model, and the real-time monitoring data to obtain the digital twin deduction result;
[0006] Determine a target relationship set using the revised relationship between the digital twin deduction result and the initial actual result data, determine a corresponding forward computing model based on the physical properties of the target device, and optimize the forward computing model using the target relationship set to obtain a target computing model;
[0007] Obtain theoretical variable data at a second target moment by reversely utilizing the target calculation model and the actual result data at the first target moment, and determine the inversion model at the first target moment according to the theoretical variable data at the second target moment and the actual variable data at the second target moment;
[0008] Based on the digital twin technology, the inversion model at the first target moment is corrected in real time to obtain a corrected inversion model, and the corrected inversion model is optimized based on the stochastic gradient descent method to obtain an optimized inversion model, so as to perform corresponding inversion operations according to the optimized inversion model.
[0009] Optionally, the calculating the initial variable data based on the digital twin technology, the relational logic model, and the real-time monitoring data to obtain the digital twin deduction result includes:
[0010] The relational logic model is driven by the real-time monitoring data through the digital twin technology and the physical properties corresponding to the target device to calculate the initial variable data to obtain the digital twin deduction result.
[0011] Optionally, before determining the target relationship set by using the revised relationship between the digital twin deduction result and the initial actual result data, the method further includes:
[0012] The digital twin deduction results are compared with the initial actual result data, the digital twin deduction results are corrected according to the corresponding comparison results, and the relational logic model is corrected and optimized based on the corrected deduction results.
[0013] Optionally, the step of obtaining theoretical variable data at the second target moment by reversely utilizing the target calculation model and actual result data at the first target moment includes:
[0014] The target calculation model is inversely calculated based on the actual result data at the first target time using the time scale separation technology to obtain the theoretical variable data at the second target time.
[0015] Optionally, determining the inversion model at the first target moment according to the theoretical variable data at the second target moment and the actual variable data at the second target moment includes:
[0016] Performing data correction on the theoretical variable data at the second target moment based on the actual variable data at the second target moment to obtain corrected data;
[0017] An inversion model at the first target time is determined according to the corrected data.
[0018] Optionally, the performing real-time correction on the inversion model at the first target moment based on the digital twin technology to obtain a corrected inversion model includes:
[0019] Based on the digital twin technology, the real-time data is used to drive the corresponding twin to obtain the inversion results at each moment;
[0020] The inversion result at each moment is corrected by the actual variable data at each moment, and the corrected inversion model is determined based on the corresponding correction result and the inversion model at the first target moment.
[0021] Optionally, after the inversion model at the first target moment is corrected in real time based on the digital twin technology to obtain a corrected inversion model, the method further includes:
[0022] Based on the actual demand for the target device, the modified inversion model is optimized based on the target information of the target device and the pooling function using an activation value algorithm formula to obtain a target inversion model, so as to determine the optimized inversion model based on the target inversion model and the stochastic gradient descent method; the target information includes one or a combination of time information, spatial information and motion information of the target device;
[0023] The activation value algorithm formula is:
[0024] ;
[0025] in, is the activation value, is the output value of the jth unit of the convolution layer l-1, down(.) is the pooling function, is the bias, is the multiplier residual, The size of the pooling box used for the lth layer is .
[0026] Optionally, the optimizing the modified inversion model based on the stochastic gradient descent method to obtain the optimized inversion model includes:
[0027] Based on the stochastic gradient descent method, target inversion parameters are updated, and the corresponding updated inversion parameters are compared with the inversion parameter values determined based on the modified inversion model to obtain a comparison result, so as to optimize the modified inversion model accordingly based on the comparison result to obtain an optimized inversion model;
[0028] Among them, the formula for updating the target inversion parameters based on the stochastic gradient descent method is:
[0029] ;
[0030] Where w is the randomly generated target inversion parameter, is the updated inversion parameter; is the current error of the modified inversion model; E is the gradient with respect to w, and η is the learning rate.
[0031] In a second aspect, the present application discloses an inversion model construction device based on digital twins, comprising:
[0032] A deduction result acquisition module is used to construct a relational logic model between the initial variable data of the target device and the initial actual result data, and calculate the initial variable data based on the digital twin technology, the relational logic model, and the real-time monitoring data to obtain the digital twin deduction result;
[0033] A target computing model acquisition module, configured to determine a target relationship set using a correction relationship between the digital twin deduction result and the initial actual result data, determine a corresponding forward computing model based on the physical properties of the target device, and optimize the forward computing model using the target relationship set to obtain a target computing model;
[0034] A first inversion model acquisition module, used to acquire theoretical variable data at a second target moment by reversely utilizing the target calculation model and actual result data at the first target moment, and determine the inversion model at the first target moment according to the theoretical variable data at the second target moment and the actual variable data at the second target moment;
[0035] The second inversion model acquisition module is used to perform real-time correction on the inversion model at the first target moment based on the digital twin technology to obtain a corrected inversion model, and optimize the corrected inversion model based on the stochastic gradient descent method to obtain an optimized inversion model, so as to perform corresponding inversion operations according to the optimized inversion model.
[0036] In a third aspect, the present application discloses an electronic device, comprising:
[0037] Memory, used to store computer programs;
[0038] A processor is used to execute the computer program to implement the aforementioned digital twin-based inversion model construction method.
[0039] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, which, when executed by a processor, implements the aforementioned digital twin-based inversion model construction method.
[0040] The present application first constructs a relational logic model between the initial variable data of the target device and the initial actual result data, calculates the initial variable data based on the digital twin technology, the relational logic model, and real-time monitoring data to obtain the digital twin deduction result; determines the target relationship set using the correction relationship between the digital twin deduction result and the initial actual result data, determines the corresponding forward calculation model based on the physical properties of the target device, and optimizes the forward calculation model using the target relationship set to obtain the target calculation model; obtains the theoretical variable data at the second target moment by reversely utilizing the target calculation model and the actual result data at the first target moment, and determines the inversion model at the first target moment based on the theoretical variable data at the second target moment and the actual variable data at the second target moment; performs real-time correction on the inversion model at the first target moment based on the digital twin technology to obtain a corrected inversion model, and optimizes the corrected inversion model based on the stochastic gradient descent method to obtain an optimized inversion model, so as to perform corresponding inversion operations according to the optimized inversion model. It can be seen that the present application utilizes digital twin technology to invert the invisible content of the device, and can break the time limitation, use the current state for reverse deduction, realize record-free traceability, use digital twin technology for reverse loop deduction, trace the key links, and perform inversion application on complex devices with strong integrity, sealing and integrity through local inverse operation. It can perform record-free traceability on the invisible internal state of the device and provide a high-confidence device evolution trajectory. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0042] Figure 1 A flow chart of a method for constructing an inversion model based on digital twins disclosed in this application;
[0043] Figure 2 A schematic diagram of the structure of an inversion model building device based on digital twins disclosed in this application;
[0044] Figure 3 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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.
[0046] At present, most inversion technologies are aimed at inversion in the fields of soil, remote sensing, etc. Most of them are aimed at macroscopic concepts or objects at the overall level. There is a lack of inversion for specific single components or nodes. In the past, they were all forward and linear continuous deductions for the future, lacking time and space reversibility. In order to solve the above technical problems, this application discloses a method for constructing an inversion model based on digital twins, which can be applied to specific devices and can realize the inversion application of complex devices with strong integrity, sealing and integrity.
[0047] See also Figure 1 As shown, an embodiment of the present invention discloses a method for constructing an inversion model based on digital twins, comprising:
[0048] Step S11, construct a relational logic model between the initial variable data of the target device and the initial actual result data, and calculate the initial variable data based on the digital twin technology, the relational logic model, and the real-time monitoring data to obtain the digital twin deduction result.
[0049] In this embodiment, a relationship logic model between the initial variable data of the target device and the initial actual result data is first constructed. After the construction is completed, the relationship logic model is driven by the real-time monitoring data through the digital twin technology and the physical properties corresponding to the target device to calculate the initial variable data to obtain the digital twin deduction result. Digital twin technology is to create a virtual model of a physical entity in a high-fidelity simulation modeling manner, build a super data-driven model with the help of multi-source heterogeneous data integration, simulate and optimize the entity behavior, and thus obtain a high-confidence simulation prediction.
[0050] Step S12: determine a target relationship set using the correction relationship between the digital twin deduction result and the initial actual result data, determine a corresponding forward calculation model based on the physical properties of the target device, and optimize the forward calculation model using the target relationship set to obtain a target calculation model.
[0051] In this embodiment, before determining the target relationship set using the revised relationship between the digital twin deduction result and the initial actual result data, the digital twin deduction result is compared with the initial actual result data, and the digital twin deduction result is revised according to the corresponding comparison result, and the relationship logic model is revised and optimized based on the revised deduction result. After that, the target relationship set is determined, and the corresponding forward calculation model is determined according to the physical properties of the target device. At the same time, the forward calculation model needs to be optimized using the target relationship set to obtain the target calculation model, that is, a model that can perform forward deduction on the target device is obtained.
[0052] Step S13, obtaining theoretical variable data at the second target moment by reversely utilizing the target calculation model and the actual result data at the first target moment, and determining the inversion model at the first target moment according to the theoretical variable data at the second target moment and the actual variable data at the second target moment.
[0053] In this embodiment, based on the above steps, a model (target calculation model) for forward deduction of the target device is obtained, wherein the target calculation model and the actual result data are both determined, that is, the actual result data and the result have a certain correlation under linear time (conforming to the forward problem model, that is, the target calculation model), so the inverse problem solution (directional inversion) is feasible and the inverse solution of linear approximation and iterative process can be used to realize nonlinear problem processing based on gradient information. Therefore, the characteristics of time scale separation can be used to analyze the dynamic model of the device (the general dynamic model of the object being deduced, such as the velocity-time formula of a free-falling object: v=gt; displacement-time formula: h=1 / 2gt 2 ; Velocity-displacement formula: v 2 =2gh) for step-by-step inverse operation. The inverse operation process is: reversely utilize the target calculation model, bring the actual result data at the first target time (i.e., time T) into the target calculation model used in reverse, obtain the theoretical variable data at the second target time (time Tn), and perform data correction in combination with the actual variable data at the second target time, so as to form an inversion result solution model in the time dimension, i.e., the inversion model at time T in the time dimension.
[0054] Step S14: Based on the digital twin technology, the inversion model at the first target moment is corrected in real time to obtain a corrected inversion model, and the corrected inversion model is optimized based on the stochastic gradient descent method to obtain an optimized inversion model, so as to perform corresponding inversion operations according to the optimized inversion model.
[0055] In this embodiment, after obtaining the inversion model at time T in the time dimension, the current inversion model only targets the inversion result at a certain moment and cannot form a continuous and effective inversion result. Therefore, based on the digital twin technology, the twin is driven by real-time data to obtain the node data information (real data) of the object at each moment Tn, T, and T+n in the complete time axis state, forming a continuous inversion result, and performing real-time correction with the actual data. On the basis of the inversion model at time T constructed in step two, a corrected inversion model is formed.
[0056] After obtaining the revised inversion model, the time inversion symmetry can be achieved under limited conditions. However, due to the second law of thermodynamics, data noise or deviation is inevitable during the inversion process. Therefore, the revised inversion model is optimized based on the stochastic gradient descent method. That is, the target inversion parameters are updated based on the stochastic gradient descent method, and the corresponding updated inversion parameters are compared with the inversion parameter values determined based on the revised inversion model to obtain the comparison results, so as to optimize the revised inversion model accordingly based on the comparison results to obtain the optimized inversion model;
[0057] Among them, the formula for updating the target inversion parameters based on the stochastic gradient descent method is:
[0058] ;
[0059] Where w is the randomly generated target inversion parameter, is the updated inversion parameter; is the current error of the corrected inversion model; E is the gradient with respect to w, and η is the learning rate. Specifically, after obtaining the w value, the inversion model obtained in the continuous moment dimension is further optimized (the w value is compared and optimized with the inversion result value in the above step) to reduce noise pollution. In this way, using the above method, a stable historical data restoration that conforms to the real physical performance is formed, thereby providing highly credible traces and historical displays of the historical evolution process.
[0060] It should be noted that the inversion method provided in this application can not only obtain the "timeline" data stream of a single device, but also further use digital twin technology to invert the invisible content of the device based on this timeline data set. It can also linearly predict the one-way reliability and availability of the physical properties of the inversion object under a certain time and space condition in the future, and can break through or penetrate the key issues of specific nodes on a single loop. In the physical dimension, the invisible physical state in the immediate state can be presented, and the physical properties presented by the device in the current time and space dimension can be reversed to generate a historical change trajectory, forming a highly reliable device evolution trajectory, forming a point traceability of the current fault problem of the device, and finding the root cause of the problem. Finally, it provides new technical means and ideas for the research and development of various devices, PHM (Prognostics Health Management, fault prediction and health management) management, early warning maintenance and other needs.
[0061] As can be seen from the above, the present application first constructs a relational logic model between the initial variable data of the target device and the initial actual result data, calculates the initial variable data based on the digital twin technology, the relational logic model, and real-time monitoring data to obtain the digital twin deduction result; determines the target relationship set using the correction relationship between the digital twin deduction result and the initial actual result data, determines the corresponding forward calculation model based on the physical properties of the target device, and optimizes the forward calculation model using the target relationship set to obtain the target calculation model; obtains the theoretical variable data at the second target moment by reversely utilizing the target calculation model and the actual result data at the first target moment, and determines the inversion model at the first target moment based on the theoretical variable data at the second target moment and the actual variable data at the second target moment; performs real-time correction on the inversion model at the first target moment based on the digital twin technology to obtain a corrected inversion model, and optimizes the corrected inversion model based on the stochastic gradient descent method to obtain an optimized inversion model, so as to perform corresponding inversion operations according to the optimized inversion model. It can be seen that the present application utilizes digital twin technology to invert the invisible content of the device, and can break the time limitation, use the current state for reverse deduction, realize record-free traceability, use digital twin technology for reverse loop deduction, trace the key links, and perform inversion application on complex devices with strong integrity, sealing and integrity through local inverse operation. It can perform record-free traceability on the invisible internal state of the device and provide a high-confidence device evolution trajectory.
[0062] Based on the previous embodiment, the present application can perform real-time correction on the inversion model at the first target moment based on the digital twin technology to obtain a corrected inversion model, and optimize the corrected inversion model based on the stochastic gradient descent method to obtain an optimized inversion model. However, in this process, there will be differences in the device and the purpose of inversion, which will involve an optional optimization process. Next, the optimization process under this condition will be described.
[0063] Based on the digital twin technology, the twin is driven by real-time data to obtain the node data information (real data) of the object at each Tn, T, and T+n moment in the complete timeline state, form a continuous inversion result, and perform real-time correction with the actual data. After the real-time correction model is formed on the basis of the constructed inversion model at the moment T, in a specific embodiment, the time and space information of the object in the continuous space-time state is selected for feature sampling correspondence, and the activation value is used. The algorithm formula brings the object's time progress, three-dimensional coordinates, self-motion acceleration and other information at time T into the basic pooling function, and corrects and optimizes the offset of the estimated mean error. Among them, the algorithm formula of the activation value is:
[0064] ;
[0065] in, is the activation value, is the output value of the jth unit of the convolution layer l-1, down(.) is the pooling function, is the bias, is the multiplier residual, The size of the pooling box used for the lth layer is Among them, the commonly used pooling functions include Mean-Pooling, Max-Pooling, Min-Pooling, Stochastic-Pooling, etc.
[0066] In this way, various prior information (known information) of the inversion object during the industrial design stage, commissioning, and daily inspection can be combined to narrow the solution search space (narrow the calculation scope, limit the result scope, and narrow the involved fields), so as to reasonably control or avoid the non-minimum phase, strong nonlinearity, uncertainty and other problems of the inversion object, and finally obtain a stable inversion model in the continuous time dimension.
[0067] In this way, through this application, the "timeline" data stream of a single device can be obtained. Based on this timeline data set, the digital twin technology can be further used to invert the invisible content of the device. It can also break the time limitation, use the current state for reverse deduction, realize no record traceability, use digital twin technology for reverse loop deduction, trace the key links, invert the internal state through local inverse operation, and evaluate the structural stress distribution and current trajectory state of the device at the historical moment or the current moment.
[0068] See also Figure 2 As shown, an embodiment of the present invention discloses an inversion model construction device based on digital twins, comprising:
[0069] A deduction result acquisition module 11 is used to construct a relational logic model between the initial variable data of the target device and the initial actual result data, and calculate the initial variable data based on the digital twin technology, the relational logic model, and the real-time monitoring data to obtain the digital twin deduction result;
[0070] A target computing model acquisition module 12 is used to determine a target relationship set using a correction relationship between the digital twin deduction result and the initial actual result data, determine a corresponding forward computing model based on the physical properties of the target device, and optimize the forward computing model using the target relationship set to obtain a target computing model;
[0071] A first inversion model acquisition module 13 is used to acquire theoretical variable data at a second target moment by reversely utilizing the target calculation model and the actual result data at the first target moment, and determine the inversion model at the first target moment according to the theoretical variable data at the second target moment and the actual variable data at the second target moment;
[0072] The second inversion model acquisition module 14 is used to perform real-time correction on the inversion model at the first target moment based on the digital twin technology to obtain a corrected inversion model, and optimize the corrected inversion model based on the stochastic gradient descent method to obtain an optimized inversion model, so as to perform corresponding inversion operations according to the optimized inversion model.
[0073] The present application first constructs a relational logic model between the initial variable data of the target device and the initial actual result data, calculates the initial variable data based on the digital twin technology, the relational logic model, and real-time monitoring data to obtain the digital twin deduction result; determines the target relationship set using the correction relationship between the digital twin deduction result and the initial actual result data, determines the corresponding forward calculation model based on the physical properties of the target device, and optimizes the forward calculation model using the target relationship set to obtain the target calculation model; obtains the theoretical variable data at the second target moment by reversely utilizing the target calculation model and the actual result data at the first target moment, and determines the inversion model at the first target moment based on the theoretical variable data at the second target moment and the actual variable data at the second target moment; performs real-time correction on the inversion model at the first target moment based on the digital twin technology to obtain a corrected inversion model, and optimizes the corrected inversion model based on the stochastic gradient descent method to obtain an optimized inversion model, so as to perform corresponding inversion operations according to the optimized inversion model. It can be seen that the present application utilizes digital twin technology to invert the invisible content of the device, and can break the time limitation, use the current state for reverse deduction, realize record-free traceability, use digital twin technology for reverse loop deduction, trace the key links, and perform inversion application on complex devices with strong integrity, sealing and integrity through local inverse operation. It can perform record-free traceability on the invisible internal state of the device and provide a high-confidence device evolution trajectory.
[0074] In some specific embodiments, the deduction result acquisition module 11 may specifically include:
[0075] A digital twin deduction result acquisition unit is used to drive the relational logic model using the real-time monitoring data through the digital twin technology and the physical properties corresponding to the target device to calculate the initial variable data to obtain the digital twin deduction result.
[0076] In some specific embodiments, the device may further include:
[0077] The relational logic model optimization module is used to compare the digital twin deduction results with the initial actual result data, correct the digital twin deduction results according to the corresponding comparison results, and correct and optimize the relational logic model based on the corrected deduction results.
[0078] In some specific embodiments, the first inversion model acquisition module 13 may specifically include:
[0079] The theoretical variable data acquisition unit is used to use the time-scale separation technology to perform an inverse operation on the target calculation model based on the actual result data at the first target moment to obtain the theoretical variable data at the second target moment.
[0080] In some specific embodiments, the first inversion model acquisition module 13 may specifically include:
[0081] a data correction unit, configured to correct the theoretical variable data at the second target moment based on the actual variable data at the second target moment to obtain corrected data;
[0082] An inversion model determination unit is used to determine the inversion model at the first target time according to the corrected data.
[0083] In some specific embodiments, the second inversion model acquisition module 14 may specifically include:
[0084] An inversion result acquisition unit, used to drive the corresponding twin body using real-time data based on the digital twin technology to obtain the inversion results at each moment;
[0085] The corrected inversion model determining unit is used to correct the inversion result at each moment by using the actual variable data at each moment, and determine the corrected inversion model based on the corresponding correction result and the inversion model at the first target moment.
[0086] In some specific embodiments, the device may further include:
[0087] An inversion model optimization module is used to optimize the modified inversion model based on the target information of the target device and the pooling function using an activation value algorithm formula based on the actual demand for the target device to obtain a target inversion model, so as to determine the optimized inversion model based on the target inversion model and the stochastic gradient descent method; the target information includes one or a combination of time information, spatial information and motion information of the target device;
[0088] The activation value algorithm formula is:
[0089] ;
[0090] in, is the activation value, is the output value of the jth unit of the convolution layer l-1, down(.) is the pooling function, is the bias, is the multiplier residual, The size of the pooling box used for the lth layer is .
[0091] In some specific embodiments, the second inversion model acquisition module 14 may specifically include:
[0092] A modified inversion model optimization unit is used to update the target inversion parameters based on the stochastic gradient descent method, and compare the corresponding updated inversion parameters with the inversion parameter values determined based on the modified inversion model to obtain a comparison result, so as to optimize the modified inversion model accordingly based on the comparison result to obtain an optimized inversion model;
[0093] Among them, the formula for updating the target inversion parameters based on the stochastic gradient descent method is:
[0094] ;
[0095] Where w is the randomly generated target inversion parameter, is the updated inversion parameter; is the current error of the modified inversion model; E is the gradient with respect to w, and η is the learning rate.
[0096] Furthermore, the present application also discloses an electronic device. Figure 3 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.
[0097] Figure 3 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the method for constructing an inversion model based on digital twins disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0098] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0099] In addition, the memory 22 as a carrier for resource storage may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222, etc., and the storage method may be temporary storage or permanent storage.
[0100] The operating system 221 is used to manage and control the hardware devices and computer program 222 on the electronic device 20, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the digital twin-based inversion model construction method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.
[0101] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned disclosed method for constructing an inversion model based on digital twins is implemented. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the aforementioned embodiments, and no further description will be given here.
[0102] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0103] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0104] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0105] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0106] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A device fault tracing method based on digital twins, characterized in that: include: Constructing a relational logic model between the initial variable data of the target device and the initial actual result data, and calculating the initial variable data based on the digital twin technology, the relational logic model, and the real-time monitoring data to obtain the digital twin deduction result; Determine a target relationship set using the revised relationship between the digital twin deduction result and the initial actual result data, determine a corresponding forward computing model based on the physical properties of the target device, and optimize the forward computing model using the target relationship set to obtain a target computing model; Obtain theoretical variable data at a second target moment by reversely utilizing the target calculation model and the actual result data at the first target moment, and determine the inversion model at the first target moment according to the theoretical variable data at the second target moment and the actual variable data at the second target moment; Based on the digital twin technology, the inversion model at the first target moment is corrected in real time to obtain a corrected inversion model, and the corrected inversion model is optimized based on the stochastic gradient descent method to obtain an optimized inversion model, so as to perform corresponding inversion operations according to the optimized inversion model, so as to reversely deduce the physical properties of the device in the current time and space dimension, generate a historical change trajectory, and form a device evolution trajectory, so as to trace the current fault problem of the device.
2. The device fault tracing method based on digital twin according to claim 1 is characterized in that: The calculating of the initial variable data based on the digital twin technology, the relational logic model, and the real-time monitoring data to obtain the digital twin deduction result includes: The relational logic model is driven by the real-time monitoring data through the digital twin technology and the physical properties corresponding to the target device to calculate the initial variable data to obtain the digital twin deduction result.
3. The device fault tracing method based on digital twin according to claim 1 is characterized in that: Before determining the target relationship set by using the revised relationship between the digital twin deduction result and the initial actual result data, the method further includes: The digital twin deduction results are compared with the initial actual result data, the digital twin deduction results are corrected according to the corresponding comparison results, and the relational logic model is corrected and optimized based on the corrected deduction results.
4. The device fault tracing method based on digital twin according to claim 1 is characterized in that: The step of obtaining theoretical variable data at the second target moment by reversely utilizing the target calculation model and the actual result data at the first target moment includes: The target calculation model is inversely calculated based on the actual result data at the first target time using the time scale separation technology to obtain the theoretical variable data at the second target time.
5. The device fault tracing method based on digital twin according to claim 1 is characterized in that: The determining the inversion model at the first target moment according to the theoretical variable data at the second target moment and the actual variable data at the second target moment comprises: Performing data correction on the theoretical variable data at the second target moment based on the actual variable data at the second target moment to obtain corrected data; An inversion model at the first target time is determined according to the corrected data.
6. The device fault tracing method based on digital twin according to claim 1 is characterized in that: The inversion model at the first target moment is corrected in real time based on the digital twin technology to obtain a corrected inversion model, including: Based on the digital twin technology, the real-time data is used to drive the corresponding twin to obtain the inversion results at each moment; The inversion result at each moment is corrected by the actual variable data at each moment, and the corrected inversion model is determined based on the corresponding correction result and the inversion model at the first target moment.
7. The device fault tracing method based on digital twin according to claim 1 is characterized in that: After the inversion model at the first target moment is corrected in real time based on the digital twin technology to obtain a corrected inversion model, the method further includes: Based on the actual demand for the target device, the modified inversion model is optimized based on the target information of the target device and the pooling function using an activation value algorithm formula to obtain a target inversion model, so as to determine the optimized inversion model based on the target inversion model and the stochastic gradient descent method; the target information includes one or a combination of time information, spatial information and motion information of the target device; The activation value algorithm formula is: ; in, is the activation value, is the output value of the jth unit of the convolution layer l-1, down(.) is the pooling function, is the bias, is the multiplier residual, The size of the pooling box used for the lth layer is .
8. The device fault tracing method based on digital twin according to any one of claims 1 to 7, characterized in that: The step of optimizing the modified inversion model based on the stochastic gradient descent method to obtain an optimized inversion model comprises: Based on the stochastic gradient descent method, target inversion parameters are updated, and the corresponding updated inversion parameters are compared with the inversion parameter values determined based on the modified inversion model to obtain a comparison result, so as to optimize the modified inversion model accordingly based on the comparison result to obtain an optimized inversion model; Among them, the formula for updating the target inversion parameters based on the stochastic gradient descent method is: ; Where w is the randomly generated target inversion parameter, is the updated inversion parameter; is the current error of the modified inversion model; E is the gradient with respect to w, and η is the learning rate.
9. A device fault tracing device based on digital twin, characterized in that: include: A deduction result acquisition module is used to construct a relational logic model between the initial variable data of the target device and the initial actual result data, and calculate the initial variable data based on the digital twin technology, the relational logic model, and the real-time monitoring data to obtain the digital twin deduction result; A target computing model acquisition module, configured to determine a target relationship set using a correction relationship between the digital twin deduction result and the initial actual result data, determine a corresponding forward computing model based on the physical properties of the target device, and optimize the forward computing model using the target relationship set to obtain a target computing model; A first inversion model acquisition module, used to acquire theoretical variable data at a second target moment by reversely utilizing the target calculation model and actual result data at the first target moment, and determine the inversion model at the first target moment according to the theoretical variable data at the second target moment and the actual variable data at the second target moment; The second inversion model acquisition module is used to perform real-time correction on the inversion model at the first target moment based on the digital twin technology to obtain a corrected inversion model, and optimize the corrected inversion model based on the stochastic gradient descent method to obtain an optimized inversion model, so as to perform corresponding inversion operations according to the optimized inversion model, reversely deduce the physical properties of the device in the current time and space dimension, generate a historical change trajectory, and form a device evolution trajectory, so as to trace the current fault problem of the device.
10. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, used to execute the computer program to implement the device fault tracing method based on digital twins as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: Used to store a computer program, which, when executed by a processor, implements the device fault tracing method based on digital twins as described in any one of claims 1 to 8.
