Scene-aware digital twin collaborative simulation method and simulation system thereof

By optimizing digital twin collaborative simulation through scene-aware mechanisms and Bayesian networks, the problem of resource waste in existing technologies is solved, efficient data diversion and simulation efficiency are improved, and the continuity and consistency of simulation results are ensured.

CN123139737APending Publication Date: 2026-11-20SUZHOU XINGYUANBO TECHNOLOGY CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202611255345.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-18
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies in multi-source data-driven digital twin modeling cannot adaptively classify and differentiate scenarios based on the dynamic changes of physical entities. This results in high-fidelity models consuming excessive computational resources in static or slowly changing regions, thus reducing simulation efficiency.

Method used

The multi-source heterogeneous data is classified into high-frequency interactive scene data and low-frequency steady-state scene data through a scene perception mechanism. These data drive the parallel computation of dedicated simulation models and general simulation models, respectively. Weighted fusion is performed in the overlapping areas of spatiotemporal boundaries. In combination with Bayesian networks, risk assessment and closed-loop correction are carried out to optimize resource allocation.

Benefits of technology

It achieves efficient separation of high-frequency dynamic data and low-frequency steady-state data, reduces the computational consumption of the high-fidelity model in the static region, improves simulation efficiency and accuracy, ensures the continuity and consistency of simulation results, and automatically maintains simulation fidelity through a closed-loop correction mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123139737A_ABST
    Figure CN123139737A_ABST
Patent Text Reader

Abstract

The application relates to a scene-aware-based digital twin collaborative simulation method and a simulation system thereof. Multi-source heterogeneous perception data streams of a target physical entity in a continuous time window are acquired, mapped to a pre-constructed digital twin space, and dynamic twin data mirrors are formed. Dynamic change data parts and static inherent data parts in the dynamic twin data mirrors are identified, the dynamic change data parts are effectively simulated, and unified collaborative simulation data output to a visual rendering pipeline is formed through a weighted fusion operation. The system comprises a data mapping end, a distribution end, a high-fidelity simulation end, a lightweight simulation end and a fusion end. The application can be used for digital twin collaborative simulation of intelligent traffic intersections, industrial robot assembly and four-rotor aircraft obstacle avoidance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a method and system related to digital twin simulation, and more particularly to a scene-aware digital twin collaborative simulation method and system, belonging to the fields of twin simulation and model fusion technology. Background Technology

[0002] Digital twin simulation technology provides an effective means for the simulation analysis and operational optimization of complex systems by constructing virtual mappings of physical entities. In recent years, several existing technical solutions have emerged regarding the realization of its collaborative simulation. For example, Chinese patent application CN121413193A discloses a high-fidelity modeling method for electricity metering digital twins based on mechanism and multi-source data collaboration, combining the interpretability of physical mechanism modeling with data-driven dynamic correction capabilities. Meanwhile, Chinese patent application CN121560284A discloses a data model construction method for digital twins, which achieves data closure by acquiring multi-source heterogeneous data in the digital twin scenario and performing standardization processing. Furthermore, Chinese patent application CN122110768A discloses an industrial controller digital twin optimization method integrating visual perception, achieving heterogeneous data fusion by collecting internal sensor data streams and external visual perception data streams.

[0003] However, while the aforementioned technical solutions involve multi-source data-driven digital twin modeling, they typically employ a unified high-fidelity simulation model to process the entire twin data set. Therefore, it is impossible to adaptively classify and differentiate scenarios based on the dynamic changes of physical entities during the data input phase. During implementation, this results in the system consuming the high-fidelity model's computational resources for a large number of static or slowly changing regions, thus requiring further improvement in overall simulation efficiency.

[0004] Given the current state of the technology, the key technical problem that urgently needs to be solved in the field of digital twin collaborative simulation is how to acquire multi-source heterogeneous data streams and construct dynamic twin data mirrors, and then, through scene perception and adaptive classification, divert high-frequency dynamic data and low-frequency steady-state data to simulation models of different fidelity, so as to achieve parallel driving and collaborative fusion of the models, and on this basis, construct a risk-driven resource allocation and closed-loop correction mechanism to improve computational efficiency while ensuring accuracy. Summary of the Invention

[0005] To address the aforementioned technical problems, the purpose of this invention is to provide a scene-aware digital twin collaborative simulation method and simulation system.

[0006] The scene-aware digital twin collaborative simulation method of the present invention includes the following steps: Step 1: Obtain multi-source heterogeneous sensing data streams of the target physical entity within a continuous time window, and map the multi-source heterogeneous sensing data streams to a pre-constructed digital twin space to form a dynamic twin data mirror.

[0007] Step 2: Identify the dynamically changing data portion and the static inherent data portion in the dynamic twin data mirror. Classify the dynamically changing data portion as high-frequency interactive scenario data and use it as the first simulation input; classify the static inherent data portion as low-frequency steady-state scenario data and use it as the second simulation input.

[0008] Step 3: Distribute the first simulation input to the dedicated simulation model, drive the dedicated simulation model to perform high-fidelity physical simulation calculations, and obtain the first simulation result; distribute the second simulation input to the general simulation model, drive the general simulation model to perform low-complexity inference calculations, and obtain the second simulation result.

[0009] Step 4: Obtain the spatiotemporal boundary overlap region of the first simulation result and the second simulation result in the digital twin space, and perform a weighted fusion operation on the first simulation result and the second simulation result within the spatiotemporal boundary overlap region to form unified collaborative simulation data output to the visualization rendering pipeline; wherein, the dedicated simulation model is a physical information neural network, and the general simulation model is a mechanism model; the computational domains of the dedicated simulation model and the general simulation model overlap at at least one spatial coordinate point.

[0010] Furthermore, in the above-mentioned scene-aware digital twin collaborative simulation method, the pre-constructed digital twin space is pre-constructed in the following way: based on the spatial data of the physical space where the target physical entity is located, a virtual space containing a three-dimensional geometric model, physical attribute parameters, and a spatial coordinate system is generated through three-dimensional reconstruction; a geometric coordinate correspondence is established between the virtual space and the physical space; The 3D reconstruction is achieved in at least one of the following ways: aligning model components of different formats to a unified spatial coordinate system through coordinate datum transformation; or, generating a 3D model based on sparse point cloud reconstruction; or, generating a 3D model based on motion recovery structure reconstruction of multi-view RGB images. The length of the continuous time window is from 0.01 seconds to 10 seconds; the multi-source heterogeneous sensing data stream includes one or more of the following: real-time data collected by the sensor array, simulated data obtained by numerical simulation, and archived data in the historical database.

[0011] Furthermore, in the above-mentioned scene-aware digital twin co-simulation method, step two further includes the following sub-steps: Sub-step 1: Perform joint extraction of spatial distribution features and temporal evolution sequence on the dynamic twin data mirror; before extracting spatial distribution features, perform multimodal spatiotemporal alignment on the multi-source heterogeneous sensing data stream, the multimodal spatiotemporal alignment includes unifying lidar point cloud data, millimeter-wave radar data and visual image data to the same spatial coordinate system and the same time reference; Sub-step 2: Perform joint extraction of spatial distribution features and temporal evolution sequence on the dynamic twin data mirror to quantitatively characterize the dynamic change rate; the spatial distribution features include one or more of the following: the position coordinate gradient of the target physical entity in the digital twin space, velocity vector divergence, and acceleration direction change rate; Sub-step 3: Compare the dynamic change rate with a preset rate threshold. When the dynamic change rate is greater than the rate threshold, it is classified as the dynamic change data part. The rate threshold ranges from greater than 0 to less than 100, and the unit of the rate threshold is negative one power of seconds.

[0012] Furthermore, in the above-mentioned scene-aware digital twin collaborative simulation method, step four, obtaining the spatiotemporal boundary overlap region between the first simulation result and the second simulation result in the digital twin space, further includes the following sub-steps: Sub-step 1: Determine whether the spatial positions of the first simulation result and the second simulation result overlap in the digital twin space. The spatial position overlap means that the Euclidean distance between the two simulation results is less than a third preset threshold in the spatial dimension. The value range of the third preset threshold is greater than 0 and less than half of the side length of the smallest grid cell of the target physical entity in the digital twin space. Sub-step 2: Determine whether the time steps of the first simulation result and the second simulation result are aligned. The time steps being aligned means that the difference between the timestamps corresponding to the two simulation results is less than a fourth preset threshold in the time dimension. The value range of the fourth preset threshold is greater than 0 and less than one percent of the length of the continuous time window. Sub-step 3: For the coordinate region determined to be the overlapping region of the spatiotemporal boundary, further identify the spatial topological relationship between the first simulation result and the second simulation result within the region. The spatial topological relationship includes at least one of adjacent, partially overlapping and completely contained. Sub-step 4: Perform the weighted fusion operation within the overlapping region of the spatiotemporal boundaries. The weighted fusion operation is implemented in at least one of the following ways: a: Weighted average fusion, which arithmetically averages the first simulation result and the second simulation result according to a preset weight, wherein the preset weight is determined based on the spatial distance gradient distribution of the first simulation result and the second simulation result in the overlapping area of ​​the spatiotemporal boundary; b: Weighted least squares fusion, with the goal of minimizing the weighted sum of squared residuals between the first simulation result and the second simulation result, to solve for the optimal fusion weight; When the spatial locations overlap and the time steps are aligned, the corresponding coordinate regions are determined as the spatiotemporal boundary overlapping regions.

[0013] Furthermore, the aforementioned scene-aware digital twin co-simulation method also includes the following steps: Step 5: Based on the dynamic twin data mirror, generate a risk probability distribution; the risk probability distribution is generated using a Bayesian network model, and the structure of the Bayesian network model is determined by the logical relationships of the historical risk knowledge model; At least one child node in the Bayesian network model uses a Noisy-OR gate structure to calculate conditional probabilities; when the Bayesian network model uses a Noisy-AND gate structure to calculate conditional probabilities, its parameters are obtained by complementing the corresponding parameters of the Noisy-OR gate structure. Step Six: Adjust the allocation ratio between high-frequency interaction scenario data and low-frequency steady-state scenario data according to the risk probability distribution; the adjustment method of the allocation ratio is as follows: when the maximum posterior probability in the risk probability distribution is greater than 0.7, the associated data part of the risk event node corresponding to the maximum posterior probability is forcibly classified as high-frequency interaction scenario data.

[0014] Specifically, in the Bayesian network model of this invention, when at least one child node uses a Noisy-OR gate structure to calculate the conditional probability, the calculation method is as follows: Let child node Y be a binary variable, where Y=1 indicates that the target risk event has occurred. Parent nodes X1, X2, ..., Xn represent various risk factors, and each parent node Xi is a binary variable, where Xi=1 indicates that the risk factor exists, and Xi=0 indicates that the risk factor does not exist.

[0015] For each parent node Xi, we define the activation probability ωi=P(Y=1|Xi=1, all other parent nodes are not activated), which is the probability of child node Y occurring only when this risk factor exists alone. In addition, we also need to consider the probability of child node Y occurring when no parent node is activated, i.e., the leakage probability leak=P(Y=1|X1=0,X2=0,…,Xn=0).

[0016] Under the above definition, the conditional probability calculation formula for the Noisy-OR gate structure is: P(Y=1|X1, X2, …, Xn)=1−(1−leak)×(1−ω1·X1)×(1−ω2·X2)×…×(1−ωn·Xn). Where, when Xi=1, the factor (1−ωi·Xi) equals (1−ωi). When Xi=0, the factor equals 1 and has no effect on the product. This expansion is equivalent to the product symbol ∏; the subscript index is omitted here to avoid ambiguity. The value range and acquisition method of each parameter in the above formula are as follows: The child node Y is a binary variable, taking the value 0 or 1, where Y=1 indicates that the target risk event has occurred, and Y=0 indicates that the target risk event has not occurred. The specific meaning of Y can be determined according to the application scenario. For example, in a smart traffic intersection scenario, Y represents the occurrence of a collision risk.

[0017] The parent node Xi is a binary variable, taking the value 0 or 1, where Xi=1 indicates that the i-th risk factor exists, and Xi=0 indicates that the i-th risk factor does not exist. The specific meaning of Xi can be determined according to the application scenario. For example, in the intelligent traffic intersection scenario, the parent node may include vehicle speeding, running red lights, etc.

[0018] The activation probability ωi ranges from 0 to 1 in a closed interval. ωi represents the probability of child node Y occurring when only the i-th risk factor exists and all other risk factors do not exist. The closer ωi is to 1, the higher the probability that the target risk event will occur when the risk factor exists alone; the closer ωi is to 0, the lower the probability that the target risk event will occur when the risk factor exists alone. When ωi = 0, it means that the target risk event will not occur when the risk factor exists alone; when ωi = 1, it means that the target risk event will definitely occur when the risk factor exists alone. The value of ωi can be obtained through statistical analysis of historical data or estimated based on expert experience.

[0019] The leakage probability `leak` is a closed interval between 0 and 1. `leak` represents the probability of child node Y occurring when no risk factors are present. In practical engineering scenarios, `leak` is usually set to a small positive value, such as 0.01 or 0.05, to reflect the possibility of false alarms caused by random factors; it can also be determined based on statistical results from historical data. When `leak=0`, it means that the target risk event cannot occur when no risk factors are present.

[0020] Since the parent nodes in each embodiment of the present invention are all binary variables and adopt the Noisy-OR gate structure, the parent nodes satisfy the causal independence assumption, that is, the influence of each parent node on the child node is independent of each other. Therefore, the exponential parameter reduction characteristic of the above formula can be brought into play, and only n+1 parameters (n ωi and 1 leak) are needed to fully describe the conditional probability distribution of the child node.

[0021] Furthermore, when using the Noisy-AND gate structure, its parameters can be obtained by complementing the corresponding parameters of the Noisy-OR gate structure. That is, let the parent node Xi represent the satisfaction of the i-th necessary condition, and adjust the definition of the activation probability accordingly. The specific method is well known to those skilled in the art and will not be elaborated here.

[0022] Furthermore, the above-mentioned scene-aware digital twin collaborative simulation method further includes the following steps: Step 5: Calculate the prediction deviation between the first simulation result and the real physical feedback data under the same time window, and generate a compensation correction amount based on the prediction deviation; the compensation correction amount is generated by using weighted least squares fusion correction, and dynamically adjusting the size of the compensation correction amount according to the sign and magnitude of the prediction deviation. Step 6: Feed the compensation correction amount back to the dedicated simulation model to perform closed-loop correction on the model parameters of the dedicated simulation model.

[0023] Furthermore, in the above-mentioned scene-aware digital twin collaborative simulation method, step five further includes the following sub-steps: Sub-step 1: Obtain the prediction uncertainty scalar of the dedicated simulation model when outputting the first simulation result, wherein the value range of the prediction uncertainty scalar is greater than 0 and less than 1; the prediction uncertainty scalar is calculated by the output layer of the dedicated simulation model through the Softmax function, or obtained from the prediction variance output by the Gaussian process regression model; Sub-step 2: Based on the predicted uncertainty scalar, adjust the gain coefficient of the compensation correction amount. The gain coefficient is positively correlated with the predicted uncertainty scalar, and the value range of the gain coefficient is greater than 0 and less than 1.

[0024] Furthermore, in the above-mentioned scene-aware digital twin collaborative simulation method, the target physical entity includes one or more of traffic intersections, industrial robots, or aircraft; the multi-source heterogeneous sensing data stream includes one or more of lidar point cloud data, millimeter-wave radar data, and visual image data. The lidar point cloud data is used to characterize the three-dimensional spatial contour of the target physical entity, the millimeter-wave radar data is used to characterize the motion velocity vector of the target physical entity, and the visual image data is used to characterize the texture and color features of the target physical entity. The three-dimensional spatial contour is constructed by using a fusion algorithm to stitch together the point cloud data of the LiDAR point cloud and unify the coordinates, and by using a multi-dimensional threshold to dynamically update the twin model.

[0025] The scene-aware digital twin co-simulation system of the present invention is used to execute the method as described in any one of claims 1 to 8, comprising: The data mapping end is connected to the multimodal sensor array and is used to receive multi-source heterogeneous sensing data streams and output dynamic twin data mirrors mapped to the pre-constructed digital twin space; the multimodal sensor array includes one or more of lidar sensors, millimeter-wave radar sensors, and visual cameras.

[0026] The distribution end, connected to the data mapping end, is used to classify the dynamic twin data mirror into high-frequency interactive scenario data and low-frequency steady-state scenario data.

[0027] The high-fidelity simulation terminal is connected to the distribution terminal and is used to run a dedicated simulation model and output the first simulation result.

[0028] A lightweight simulation terminal, connected to the distribution terminal, is used to run a general simulation model and output a second simulation result; The fusion end is connected to the high-fidelity simulation end and the lightweight simulation end respectively, and is used to fuse the first simulation result and the second simulation result in a unified scene coordinate system and output unified collaborative simulation data.

[0029] Furthermore, in the aforementioned scene-aware digital twin collaborative simulation system, the data mapping end is equipped with a parallel data receiving channel, which corresponds to lidar data, millimeter-wave radar data, or visual image data.

[0030] The data mapping end is equipped with a unified time base synchronization unit, used to align the multi-source heterogeneous sensing data streams input from various data sources to the same time base. The distribution end is equipped with a scene classification engine, which is implemented by a field-programmable gate array chip; the scene classification engine internally incorporates a dynamic change rate calculation circuit and a rate threshold comparison circuit.

[0031] The high-fidelity simulation terminal is equipped with a first processor and a first coprocessor that is communicatively connected to the first processor. The first coprocessor is a graphics processing unit (GPU) chip or a field-programmable gate array (FPGA) chip. The first processor is a central processing unit (CPU) used to control the scheduling and input / output of the dedicated simulation model. The first coprocessor is used to perform matrix operations and tensor operations of the dedicated simulation model in parallel.

[0032] The lightweight simulation terminal is equipped with a second processor, which is an embedded central processing unit chip or a microcontroller chip; the second processor has the inference code of the general simulation model embedded inside, and the inference code is stored in fixed-point number form.

[0033] The fusion terminal is equipped with a third processor, which contains a weighted fusion calculation circuit. The weighted fusion calculation circuit is used to calculate the weighted average of the first simulation result and the second simulation result. The weight in the weighted average is determined by the spatial distance and temporal distance of the overlapping region of the spatiotemporal boundary. The fusion terminal is also equipped with a display output interface.

[0034] By means of the above-described solution, the present invention has at least the following advantages: 1. This invention utilizes a scene-aware mechanism to adaptively classify multi-source heterogeneous data into high-frequency interactive scene data and low-frequency steady-state scene data. High-frequency interactive scene data drives a dedicated simulation model, while low-frequency steady-state scene data drives a general-purpose simulation model. The two types of models execute in parallel, enabling on-demand allocation of computing resources. Low-frequency steady-state scene data is offloaded to a lightweight model for processing, thereby reducing the computational consumption of high-fidelity models in static or slowly changing regions.

[0035] 2. In regions where spatiotemporal boundaries overlap, this invention employs weighted average fusion, weighted least squares fusion, or adaptive weighted fusion strategies based on prediction uncertainty. The fusion weights are dynamically adjusted based on the spatial distance gradient or prediction uncertainty. This method can eliminate numerical jumps between dedicated and general simulation results at overlapping boundaries, ensuring the continuity and consistency of unified collaborative simulation data in both the spatial and temporal domains.

[0036] 3. A Bayesian network is introduced to perform real-time risk probability assessment on dynamic twin data mirrors, and the allocation ratio of high-frequency interaction scenario data to low-frequency steady-state scenario data is adjusted based on the posterior probability. When the posterior probability is greater than 0.7, the relevant area data is forcibly classified as a high-frequency interaction scenario, and dedicated simulation resources are allocated more. When the posterior probability is less than 0.3, the corresponding area data is downgraded to low-frequency processing to save computational resources. This mechanism avoids resource waste or response lag under fixed classification patterns.

[0037] 4. A closed-loop correction mechanism incorporating a scalar of prediction uncertainty was constructed. This mechanism calculates the prediction deviation between the output of the dedicated simulation model and the actual physical feedback, generates a compensation correction amount by combining the gain coefficient, and updates the model parameters using the gradient descent method. This mechanism enables the physical information neural network to continuously track the long-term drift of physical entities or environmental changes, automatically maintaining simulation fidelity without human intervention.

[0038] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, the preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings. Attached Figure Description

[0039] Figure 1 This is a schematic diagram of the module construction of a scene-aware digital twin collaborative simulation system.

[0040] Figure 2 This is a schematic diagram of the overall process of a scene-aware digital twin collaborative simulation method.

[0041] Figure 3 This is a schematic diagram of the implementation process of parallel driving of heterogeneous simulation models.

[0042] Figure 4 This is a schematic diagram of the process for identifying overlapping regions of spatiotemporal boundaries.

[0043] Figure 5 This is a flowchart illustrating the process of generating unified collaborative simulation data through weighted fusion.

[0044] Figure 6 This is a schematic diagram of the Bayesian network risk prediction and allocation ratio adjustment process.

[0045] Figure 7 This is a flowchart illustrating the closed-loop calibration and model parameter update process. Detailed Implementation

[0046] The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and examples. The following examples are for illustrative purposes only and are not intended to limit the scope of the invention.

[0047] like Figures 1 to 7 This paper presents a scene-aware digital twin collaborative simulation method and system. By identifying the dynamic change characteristics of physical entities, it classifies multi-source heterogeneous data into high-frequency interactive scene data and low-frequency steady-state scene data, respectively, and distributes them to dedicated simulation models and general simulation models for parallel driving. Weighted fusion is then performed within overlapping spatiotemporal boundaries to form unified collaborative simulation data. The system includes a data mapping terminal, a distribution terminal, a high-fidelity simulation terminal, a lightweight simulation terminal, and a fusion terminal. The following detailed explanations use intelligent traffic intersections, industrial robotic arm assembly, and quadcopter obstacle avoidance as examples.

[0048] Example 1: Digital Twin Collaborative Simulation of Intelligent Traffic Intersections This embodiment uses a city intersection as the target physical entity. A multimodal sensor array is deployed in four directions of the intersection, including: a 128-line lidar with a sampling frequency of 10Hz; a 77GHz millimeter-wave radar with a sampling frequency of 20Hz and a speed measurement accuracy of ±0.1km / h; and a high-definition camera with a resolution of 1920×1080 and a frame rate of 30 frames per second. A continuous time window T is set to 0.5 seconds, synchronized with UTC as the reference, and a synchronization accuracy of ±1 millisecond. The world coordinate system adopted is the Northeast-Northeast Altitude Coordinate System (ENU), with the origin at the intersection center, the X-axis due east, the Y-axis due north, and the Z-axis vertically upward. The sensor data is converted to the ENU coordinate system using the hand-eye calibration method and the Zhang Zhengyou calibration method, thereby constructing a dynamic twin data mirror. Its data structure includes target position vector, velocity vector, acceleration vector, target type, and detection confidence. This completes the construction of the dynamic twin data mirror. Meanwhile, the pre-constructed digital twin space is based on intersection CAD drawings and UAV oblique photography, and a three-dimensional geometric model is generated using the structure-of-motion (SfM) method, with a grid cell side length Δ of 0.1 meters.

[0049] During implementation, the time step Δt was 0.05 seconds, and the number of equal time window divisions N was 10. For each target, the position coordinate gradient (i.e., velocity), velocity vector divergence, and acceleration direction change rate were extracted, and the dynamic change rate was calculated. The threshold R_th was set to 5 per second, determined based on 30 days of historical data: targets with a dynamic change rate higher than 5 per second were 85% motor vehicles, and targets with a dynamic change rate lower than 5 per second were 90% static facilities or slow-moving pedestrians. Multi-source heterogeneous data was classified into high-frequency interactive scenario data and low-frequency steady-state scenario data: if the dynamic change rate was greater than the threshold, it was classified as high-frequency interactive scenario data and used as the first simulation input. Otherwise, it was classified as low-frequency steady-state scenario data and used as the second simulation input. For example, the dynamic change rate of a car traveling straight at 15 meters per second is approximately 9 per second, classified as high-frequency interactive scenario data (i.e., the first simulation input); the dynamic change rate of static road markings is approximately 0, classified as low-frequency steady-state scenario data (i.e., the second simulation input).

[0050] Simultaneously, high-frequency interactive scene data is distributed as the first simulation input to the high-fidelity simulation terminal, specifically to the dedicated simulation model, the Physical Information Neural Network (PINN). The input to PINN is the target's current state, including position coordinates, velocity components, heading angle, and distance to the nearest obstacle. The hidden layers employ a multi-layer fully connected structure, such as 3 to 5 layers, with an appropriate number of neurons in each layer. The activation function is the hyperbolic tangent function tanh, outputting the trajectory points within the next 0.5 seconds. The loss function includes data terms and physical constraints, i.e., Newton's second law, with a balance coefficient of 0.1. This drives PINN to perform high-fidelity physical simulation calculations, obtaining the first simulation result: the high-precision trajectory of the vehicle. Low-frequency steady-state scene data is distributed as the second simulation input to the lightweight simulation terminal, specifically to the general simulation model, the mechanism model, outputting a static scene attribute field, including a constant road surface friction coefficient and a fixed traffic light cycle of 120 seconds, yielding the second simulation result. The two models run independently and in parallel; PINN is processed on the GPU, while the mechanism model runs on the CPU core.

[0051] Next, the first simulation result (trajectory points) and the second simulation result (static scene mesh) are compared in the ENU coordinate system. The spatial overlap threshold ε_spatial is set to 0.025 meters, which is one-quarter of the mesh side length, and the temporal alignment threshold ε_temporal is set to 0.005 seconds, which is one-hundredth of the time window length. When the Euclidean distance is less than the spatial threshold and the timestamp difference is less than the temporal threshold, it is identified as a spatiotemporal boundary overlapping region. Further, the spatial topological relationships used for identification are as follows: adjacent means the distance between the tire and the road edge is between 0 and 0.025 meters; partial overlap means the overlap area between the vehicle bottom projection and the mesh is less than 50%; complete containment means the vehicle bottom completely covers a certain mesh. Weighted fusion is performed within the spatiotemporal boundary overlapping region. Specifically, this embodiment uses weighted average fusion, where the weight coefficient λ is defined as the distance from a point to the vehicle mesh boundary divided by the sum of the distances to the vehicle mesh boundary and the road mesh boundary. The fused velocity field is equal to the vehicle speed multiplied by 1 minus λ, since the static scene speed is zero. Weighted least squares fusion can also be used. Unified collaborative simulation data is generated and output from the fusion terminal to the visualization rendering pipeline to generate a high-fidelity 3D dynamic traffic scene. This completes the generation of unified collaborative simulation data.

[0052] Then, a risk probability distribution is generated based on the dynamic twin data mirroring: a Bayesian network is constructed, with parent nodes including vehicle speeding, running red lights, pedestrian crossing, and vehicle head-on distance less than the safe distance, and child nodes representing collision risks. The conditional probabilities of the child nodes are calculated using a Noisy-OR gate structure, and the activation probabilities are determined by statistical analysis of six months of accident records at this intersection. If a vehicle is observed speeding and running a red light at the current moment, the posterior probability is calculated to be 0.79. The allocation ratio between high-frequency interactive scenario data and low-frequency steady-state scenario data is adjusted according to the risk probability distribution: a threshold of 0.7 is set for high risk, and 0.3 for low risk. Since 0.79 is greater than 0.7, the associated data of this vehicle and its surrounding area is forcibly classified as high-frequency interactive scenario data, i.e., the first simulation input, thereby increasing the allocation of dedicated simulation model resources and updating risk warnings in real time.

[0053] Next, closed-loop correction is performed: the prediction deviation between the PINN predicted position and the millimeter-wave radar measured position is calculated every 10 seconds. The 10-second interval ensures the model can track the slow changes in traffic flow patterns in a timely manner while avoiding the computational burden of frequent updates. A scalar of prediction uncertainty is obtained, which is derived from the PINN output after Shannon entropy normalization using the Softmax function. The observation noise variance is obtained from the millimeter-wave radar calibration. The gain coefficient is calculated; in this embodiment, the gain coefficient is approximately 0.8. A compensation correction is generated using the weighted least squares method and fed back to the dedicated simulation model to perform closed-loop correction on the model parameters of the dedicated simulation model. Specifically, the weight parameters of PINN are updated using gradient descent with a learning rate η of 0.001.

[0054] Furthermore, the system hardware adopts an edge and cloud collaborative computing architecture. The data mapping end is based on a field-programmable gate array (FPGA) chip, configured with 6 parallel data receiving channels to process 4 LiDAR, 8 millimeter-wave radar, and 6 video data streams respectively, with a unified time base synchronization accuracy of ±0.1 milliseconds. The scene classification engine on the distribution end is embedded in the same FPGA chip. During implementation, a dedicated simulation model can be run on a server configured on the high-fidelity simulation end. The lightweight simulation end runs on an embedded central processing unit (CPU) chip; the fusion end is configured with an embedded graphics processor (GPU) with built-in weighted fusion computing circuitry, outputting to the display interface.

[0055] Example 2: Digital Twin Collaborative Simulation of Industrial Robotic Arm Assembly This embodiment uses a six-axis articulated industrial robotic arm as the target physical entity. The robotic arm has a payload of 12.5 kg, a working radius of 1300 mm, and a repeatability of ±0.05 mm. Angle encoders (resolution 0.001 degrees) and torque sensors are installed at the joints. A six-dimensional force / torque sensor and an industrial vision camera are installed on the end effector, with each sensor's sampling rate set to 200 Hz. A continuous time window T is set to 0.02 seconds, and data acquisition is initiated with UTC as the absolute time reference, with a synchronization accuracy of ±0.1 milliseconds. Simultaneously, the world coordinate system adopts the robotic arm's base coordinate system: the origin is set at the center of the base, the X-axis points directly forward of the robotic arm, the Y-axis points to the left, and the Z-axis points vertically upward, forming a right-handed Cartesian coordinate system. Joint angles are obtained through the angle encoders at each joint, and the position and orientation of the end effector in the base coordinate system are calculated through forward kinematic transformation. For torque sensor data, the driving torque of each joint is acquired in real time. For the end-effector vision images, a transformation matrix between the camera coordinate system and the robot arm's end-effector coordinate system is obtained through hand-eye calibration, transforming the workpiece position coordinates detected by vision to the robot arm base coordinate system. After completing the coordinate reference transformation of all sensor data, a dynamic twin data mirror is formed. Thus, a dynamic twin data mirror is constructed. The pre-constructed digital twin space is based on the robot arm's CAD model and high-precision 3D scanning data from the assembly station. A 3D spatial model containing the robot arm's geometric model, workpiece model, and tooling fixture model is generated through 3D reconstruction methods, with a mesh cell side length Δ of 0.002 meters. The digital twin space also assigns physical properties to each component, such as the joint friction coefficient, the mass of each link and its center of mass position, and the workpiece surface friction coefficient.

[0056] The time step Δt was 0.02 seconds, and the window division step number N was 1. Multimodal spatiotemporal alignment was performed on the joint angle sensor, torque sensor, and vision images. Linear interpolation was used to synchronize data with different sampling rates to the same time grid. Spatial alignment transformed the workpiece position coordinates detected by the vision camera to the base coordinate system through hand-eye calibration and associated them with the nearest neighbor of the robot arm end effector position. The relative position and relative velocity of the workpiece relative to the end effector were set, and the relative position coordinate gradient, relative velocity vector divergence, and relative acceleration direction change rate were extracted. The relative position coordinate gradient was approximated using the finite difference method, and its magnitude was used to characterize the relative motion velocity between the end effector and the workpiece. The relative velocity vector divergence was approximated on the three-dimensional spatial grid using the central difference method; a positive value indicates that the end effector is approaching the workpiece, and a negative value indicates that it is moving away. The relative acceleration direction change rate was calculated by using the relative acceleration vector over three consecutive time steps to calculate the angular velocity change. During implementation, to unify the dimensions, this term was multiplied by the time step and then added to the other two terms. The dynamic change rate is a weighted sum of three features, with weighting coefficients the same as in Example 1, set to 0.3, 0.5, and 0.2. The preset rate threshold R_th is 50 m / s, with a value greater than 0 and less than 200. The threshold is set based on the fact that the typical motion speed range of the robotic arm's end effector is 0 to 1 m / s, and the corresponding position coordinate gradient is between 0 and 50 m / s; therefore, 50 m / s is taken as the upper limit of the threshold. Statistical analysis of historical assembly data shows that using 50 m / s as the dividing point effectively distinguishes between the rapid approach phase and the slow alignment phase. Multi-source heterogeneous data is classified into high-frequency interactive scenario data and low-frequency steady-state scenario data: if the dynamic change rate is greater than the threshold, the motion of the workpiece relative to the end effector is classified as high-frequency interactive scenario data, i.e., the first simulation input. If the dynamic change rate is less than or equal to the threshold, it is classified as low-frequency steady-state scenario data, i.e., the second simulation input.

[0057] Subsequently, high-frequency interactive scene data is distributed as the first simulation input to the high-fidelity simulation terminal, specifically to the dedicated simulation model, the Physical Information Neural Network (PINN). The structure of PINN is as follows: the input layer receives the current joint state of the robotic arm, with an 18-dimensional dimension. The hidden layers employ a multi-layer fully connected structure, such as 4 to 8 layers, with an appropriate number of neurons in each layer and the activation function being tanh. The output layer predicts the end effector position and contact force within the next 0.02 seconds. PINN's loss function includes data terms and physical constraint terms, where the physical constraint terms are the robotic arm's dynamic equations, ensuring that PINN's predicted trajectory satisfies the robotic arm's dynamic characteristics. PINN is then driven to perform high-fidelity physical simulation calculations, obtaining the first simulation result: the high-precision motion trajectory and contact force prediction of the end effector. Low-frequency steady-state scene data is then distributed as the second simulation input to the lightweight simulation terminal, which uses a rigid body kinematics mechanism model as a general simulation model, such as the static position of the workpiece on the feeder, the spatial position of the tooling fixture, and the fixed pose of the robotic arm base. The rigid body kinematics model does not perform temporal updates, but only outputs persistent properties, namely constant position and constant attitude, to obtain the second simulation result. This drives the general simulation model to perform low-complexity inference calculations. On high-performance computing nodes, the dedicated simulation model processes high-frequency assembly tasks in parallel on the GPU, handling up to five workpieces simultaneously, while the general simulation model runs independently on the CPU core.

[0058] Next, the predicted trajectory of the end effector output by the dedicated simulation model is used as the first simulation result, and the static workpiece model output by the general simulation model is used as the second simulation result. These are compared in the same base coordinate system. The static workpiece model uses a mesh with the same precision as the robotic arm, with a mesh cell side length Δ of 0.002 meters. The Euclidean distance between the end effector position point and the workpiece model point cloud is calculated. A third preset threshold ε_spatial is set to one-quarter of the mesh side length, i.e., 0.0005 meters, or 0.5 millimeters. If the Euclidean distance is less than ε_spatial, it is considered a spatial overlap. The 0.5-millimeter spatial overlap threshold matches the repeatability accuracy of the robotic arm (±0.05 millimeters), meeting the positioning accuracy requirements of precision assembly. The trajectory timestamp output by the dedicated simulation model is the simulation time, and the timestamp of the static model output by the general simulation model can be set equal to the current simulation progress time; the difference δt between the two timestamps is zero. A fourth preset threshold ε_temporal is set to one-hundredth of the time window length, i.e., 0.0002 seconds, to determine if the time steps are aligned. When spatial locations overlap and time steps align, the corresponding coordinate regions are identified as spatiotemporal boundary coincidence regions, i.e., the areas where the end effector and workpiece are about to contact. For the set of coordinate points identified as spatiotemporal boundary coincidence regions, their spatial topological relationships are further identified: adjacent refers to the Euclidean distance between the edge of the end effector gripper and the workpiece surface being between 0 and 0.0005 meters; this region is the key area where the assembly force changes most significantly. Partial overlap refers to the overlapping area of ​​the projected area between the end effector and the workpiece being less than 50% of the mesh volume. Complete containment refers to the workpiece being completely within the envelope of the end effector gripper. Subsequently, weighted fusion is performed within the spatiotemporal boundary coincidence regions: this embodiment uses weighted least squares fusion, with the goal of minimizing the sum of squared weighted residuals between the first and second simulation results to solve for the optimal fusion weight. The prediction variance of the first simulation result is given by the prediction variance of PINN, and the static model positioning accuracy of the second simulation result is taken as 0.0001. The fused end effector position and contact force data are used to determine if the contact force exceeds the limit and to correct the end effector's motion trajectory in real time to avoid collisions or overpressure assembly. Unified collaborative simulation data is generated. If the predicted contact force exceeds the workpiece's tolerance threshold (e.g., an assembly force greater than 5 Newtons), a safety mechanism is triggered to reduce the end effector speed or stop its movement.

[0059] Then, a risk probability distribution is generated based on the dynamic twin data mirroring: a Bayesian network is constructed to predict the risk of assembly failure. The network parent nodes include clamping force anomaly, workpiece position deviation, and assembly speed anomaly, and the child nodes represent assembly failure. The Bayesian network structure is learned from historical assembly data, and the conditional probabilities of the child nodes are calculated using a Noisy-OR gate structure. The activation probabilities are determined statistically based on historical assembly records. The workpiece position deviation observed at the current moment is substituted into the Noisy-OR formula to calculate an assembly failure probability of 0.6. The allocation ratio between high-frequency interactive scenario data and low-frequency steady-state scenario data is adjusted according to the risk probability distribution: when the posterior probability is greater than 0.7, the associated data is forcibly classified as high-frequency interactive scenario data, i.e., the first simulation input, and PINN simulation resource allocation is increased, and assembly parameters are adjusted in real time. In this embodiment, the posterior probability of 0.6 does not exceed 0.7, so the current classification state is maintained. When the posterior probability exceeds 0.7, it is upgraded to a high-frequency scenario; when the posterior probability is lower than 0.3, it is downgraded to a low-frequency scenario; and when it is between 0.3 and 0.7, the existing allocation ratio is maintained.

[0060] Subsequently, closed-loop correction is performed: every 5 seconds, the prediction deviation between the PINN-predicted end effector position and the actual physical feedback, measured by a laser tracker or high-precision encoder, is calculated. The 5-second correction cycle is sufficient to track load variations and accumulated assembly errors without excessively increasing computational burden. The prediction uncertainty scalar of the dedicated simulation model at the output of the first simulation result is obtained. This scalar is obtained by normalizing the Shannon entropy of the Softmax function output probability, or by obtaining the prediction variance through Gaussian process regression. The observation noise variance is obtained from the laser tracker calibration, taken as 4 multiplied by 10^-7 square meters. The gain coefficient is defined as equal to the prediction uncertainty scalar divided by the sum of the prediction uncertainty scalar and the observation noise variance. A weighted least squares method is used to generate a compensation correction, which is fed back to the dedicated simulation model to perform closed-loop correction on the model parameters. This involves updating the PINN weight parameters using gradient descent with a learning rate η of 0.0005.

[0061] The system hardware configuration in this embodiment adopts an edge computing architecture. The data mapping end is based on an FPGA chip, configured with parallel data receiving channels to process data from 6 joint encoders, 6 torque sensors, and 1 vision camera, with a unified time base synchronization accuracy of ±0.1 milliseconds. The scene classification engine on the distribution end is embedded in the same FPGA chip. The high-fidelity simulation end is configured with an industrial control computer running a dedicated simulation model. The lightweight simulation end runs on an embedded central processing unit chip. The fusion end is configured with an embedded graphics processor with built-in weighted fusion computing circuitry. All ends are connected via a high-speed industrial Ethernet data bus.

[0062] Example 3: Digital Twin Cooperative Simulation of Obstacle Avoidance for Quadrotor Aircraft This embodiment uses a quadcopter drone as the target physical entity to construct a digital twin collaborative simulation system for autonomous obstacle avoidance in unknown environments. The drone is equipped with a multimodal sensor array, including: an inertial measurement unit (IMU) containing a three-axis gyroscope and a three-axis accelerometer, with a sampling rate of 400 Hz; a lidar with a detection range of 50 meters and a frame rate of 20 Hz; a binocular vision camera with a resolution of 640×480 and a frame rate of 60 frames per second; and a GPS module with an update rate of 10 Hz. During implementation, a continuous time window T of 0.1 seconds is set, and data acquisition is initiated with UTC as the absolute time reference. The setting of T equal to 0.1 seconds is based on the following: the typical speed range of the drone is 0 to 15 meters per second. In obstacle avoidance scenarios, detection and obstacle avoidance planning need to be completed within a detection range of approximately 50 meters. A 0.1-second time window is sufficient to capture the approaching changes of obstacles while meeting real-time requirements. The synchronization accuracy is ±1 millisecond.

[0063] Next, a unified world coordinate system F_W is defined, using the Northeast-Eastern Sky ENU coordinate system as the reference, with the origin set at the takeoff point. For IMU data, attitude angles, including roll angle φ, pitch angle θ, and yaw angle ψ, are obtained by integrating angular velocity, and velocity v and position p are obtained by integrating acceleration, eliminating the influence of gravitational acceleration during the integration process. For LiDAR point clouds, they are transformed to the ENU coordinate system using calibrated rotation matrices and translation vectors. For binocular vision images, depth information is calculated using a stereo matching algorithm, converted into a 3D point cloud, and then transformed to the ENU coordinate system to generate a visual odometry. For GPS data, latitude, longitude, and altitude coordinates are converted to ENU coordinates. After coordinate transformation, a dynamic twin data mirror is constructed, with its data structure consisting of the UAV's 3D position, velocity vector, attitude angles, and environmental point cloud data. This forms the dynamic twin data mirror. Simultaneously, a pre-constructed digital twin space, based on aerial maps and 3D terrain data, generates a 3D geometric model using the Structure for Motion Reconstruction (SfM) method, including a terrain elevation model, building model, and vegetation model. The digital twin spatial grid cell has a side length Δ of 0.1 meters and an elevation accuracy of ±0.05 meters.

[0064] During implementation, the time step Δt was 0.02 seconds, and the window division step number N was 5. Multimodal spatiotemporal alignment was performed on IMU, LiDAR, visual images, and GPS. Temporal alignment used linear interpolation to synchronize data with different sampling rates to the same time grid; specifically, the IMU was reduced from 400 Hz to 50 Hz, the LiDAR from 20 Hz to 50 Hz, and the GPS from 10 Hz to 50 Hz. Spatial alignment involved iterative nearest-neighbor registration (ICP) between the LiDAR point cloud and the visual point cloud to obtain a fused environmental point cloud. For the UAV, spatial distribution features and temporal evolution sequences were extracted, including the position coordinate gradient (i.e., the UAV's flight speed), velocity vector divergence, and the rate of change of acceleration direction. The position coordinate gradient was approximated using the finite difference method, and its magnitude represented the UAV's flight speed. The velocity vector divergence was approximated on the three-dimensional spatial grid using the central difference method, reflecting the rate of change of the UAV's flight speed in space. The rate of change of acceleration direction is calculated by taking the acceleration vector over three consecutive time steps to determine the change in angular velocity. This is used to detect abrupt changes in flight attitude, such as sharp turns or emergency evasive maneuvers. The physical significance of velocity divergence in UAV obstacle avoidance lies in the fact that when a UAV rapidly approaches an obstacle, its relative velocity along the flight path changes drastically, causing the divergence value to increase accordingly, allowing for early assessment of collision risk.

[0065] Meanwhile, the dynamic change rate r_u is defined as the weighted sum of the three features, with weight coefficients of 0.3, 0.5, and 0.2. The preset rate threshold R_th is 8 per second, with a value range greater than 0 and less than 50. The multi-source heterogeneous data is classified into high-frequency interactive scenario data and low-frequency steady-state scenario data: if r_u is greater than R_th, the current motion state of the UAV is classified as high-frequency interactive scenario data, i.e., the first simulation input, corresponding to the obstacle avoidance mode; otherwise, it is classified as low-frequency steady-state scenario data, i.e., the second simulation input, corresponding to the hovering or cruise mode.

[0066] Subsequently, the high-frequency interactive scene data is distributed as the first simulation input to the high-fidelity simulation terminal, specifically to the dedicated simulation model, the Physical Information Neural Network (PINN). The PINN structure is as follows: the input layer receives the current state of the UAV, including position p_uav, velocity v_uav, roll angle φ, pitch angle θ, yaw angle ψ, and distance to the nearest obstacle obstacle_dist, where the distance to the nearest obstacle is calculated in real-time using LiDAR point clouds. The hidden layers employ a multi-layer fully connected structure, such as 4 to 6 layers, with an appropriate number of neurons in each layer, such as 128 to 256, and the activation function is tanh. The output layer predicts the flight trajectory and obstacle avoidance control commands within the next 0.1 seconds. The PINN loss function includes a data term, a physical constraint term, and a collision penalty term. The physical constraint term is the rigid body dynamics equation of the quadrotor, ensuring that the predicted trajectory satisfies the quadrotor's dynamic characteristics. The collision penalty term applies a penalty when the predicted trajectory is too close to an obstacle, prompting PINN to output a safe obstacle avoidance trajectory. A dedicated simulation model is driven to perform high-fidelity physical simulation calculations, obtaining the first simulation result, i.e., the predicted trajectory for UAV obstacle avoidance. Low-frequency steady-state scene data is distributed as the second simulation input to a lightweight simulation terminal, which uses a static elevation model provided by a Geographic Information System (GIS) as the general simulation model. This model does not perform temporal updates; it only queries obstacle information near the current UAV location from a pre-constructed digital twin space, outputting a static scene attribute field, i.e., obstacle positions and heights, to obtain the second simulation result. This drives the general simulation model to perform low-complexity inference calculations. On a high-performance computing platform, the dedicated simulation model processes obstacle avoidance predictions in parallel on a GPU, while the general simulation model runs independently on a CPU core.

[0067] Subsequently, the predicted trajectory points of the UAV output by the dedicated simulation model are used as the first simulation result, and the static scene obstacle model output by the general simulation model is used as the second simulation result. These are compared within the same ENU coordinate system. The obstacle model used is in point cloud form, with point cloud density determined by the original LiDAR data. Euclidean distance is calculated for the UAV position point and the obstacle point cloud points. A third preset threshold ε_spatial is set to 0.05 meters. If the Euclidean distance is less than ε_spatial, spatial overlap is considered. The 0.05-meter spatial overlap threshold matches the hovering positioning accuracy of the quadcopter UAV; in this case, a collision between the UAV and the obstacle is considered to have occurred. The trajectory timestamp output by the dedicated simulation model is the simulation time, and the timestamp of the static model output by the general simulation model can be set equal to the current simulation progress time; the difference δt between the two timestamps is zero. A fourth preset threshold ε_temporal is set to one-hundredth of the time window length, i.e., 0.001 seconds, to determine if the time steps are aligned. When spatial locations overlap and time steps align, the corresponding coordinate regions are identified as spatiotemporal boundary overlap regions, i.e., the areas where the UAV and obstacles are about to collide. Weighted fusion is performed within these spatiotemporal boundary overlap regions: this embodiment employs uncertainty-based adaptive weighted fusion. The fusion weight w_uav of the UAV model is defined as 1 minus the prediction uncertainty scalar U, and the weight w_static of the static model is equal to U. The larger the prediction uncertainty scalar U, the higher the weight of the static model; the smaller U, the higher the weight of the PINN dynamic prediction. The fused obstacle distance information is used to determine the obstacle avoidance path. Unified collaborative simulation data is generated. When the fused distance is less than a safety threshold, such as 1 meter, an obstacle avoidance maneuver command is triggered.

[0068] During implementation, a risk probability distribution was generated based on dynamic twin data mirroring, and a Bayesian network was constructed to predict collision risk. The network parent nodes included obstacle approach speed, UAV attitude stability, and GPS signal strength, while the child nodes represented collision risks. The network structure was learned from historical flight data, and the conditional probabilities of the child nodes were calculated using a Noisy-OR gate structure. Simultaneously, activation probabilities were determined statistically based on historical flight data. If the obstacle approach speed was high, the attitude was stable, and the GPS signal was normal at the current moment, the posterior probability was calculated using the formula. The allocation ratio between high-frequency interactive scenario data and low-frequency steady-state scenario data was adjusted according to the risk probability distribution: when the posterior probability was greater than 0.7, the associated data was forcibly classified as high-frequency interactive scenario data (i.e., the first simulation input), increasing the obstacle avoidance response frequency, and the prediction time step was reduced from 0.02 seconds to 0.01 seconds to improve tracking accuracy. When the posterior probability was less than 0.3, the simulation frequency was reduced to save computational resources, and the default 0.02-second step size was restored.

[0069] Regarding the closed-loop correction process involved in this embodiment: every 2 seconds, the prediction deviation between the PINN-predicted UAV position and the actual physical feedback is calculated. The actual physical feedback comes from GPS or visual odometry. The 2-second correction cycle covers the time of one complete obstacle avoidance maneuver by the UAV, ensuring the model can quickly respond to changes in the flight environment. Then, the prediction uncertainty scalar U(t) of the dedicated simulation model when outputting the first simulation result is obtained. This scalar is obtained by normalizing the Shannon entropy of the output probability of the Softmax function, or by obtaining the innovation covariance through Kalman filtering. The observation noise variance R(t) is obtained from the calibration accuracy of GPS and IMU. The gain coefficient K(t) is defined as equal to U(t) divided by the sum of U(t) and R(t). A weighted least squares method is used to generate a compensation correction amount, which is fed back to the dedicated simulation model to perform closed-loop correction on the model parameters of the dedicated simulation model, i.e., updating the PINN weight parameters using gradient descent with a learning rate η of 0.0005.

[0070] The system hardware configuration in this embodiment adopts an airborne edge computing architecture. The data mapping end is based on an embedded FPGA chip, configured with parallel data receiving channels to process IMU, LiDAR, binocular vision, and GPS data respectively, with a unified time base synchronization accuracy of ±0.1 milliseconds. The scene classification engine on the distribution end is embedded in the same FPGA chip. The high-fidelity simulation end runs on an onboard high-performance graphics processor, such as the NVIDIA Jetson AGX Orin suite, running a dedicated simulation model. The lightweight simulation end runs on an embedded central processing unit. The fusion end performs weighted fusion calculations. All ends are connected via a high-speed on-chip bus.

[0071] The three embodiments above, using intelligent traffic intersections, industrial robotic arms, and quadcopter drones as target physical entities respectively, fully demonstrate the specific implementation process of the method of the present invention in three typical application scenarios. Each embodiment covers the complete technical chain from dynamic twin data mirror construction, scene perception and data classification, parallel driving of heterogeneous simulation models, identification and weighted fusion of overlapping spatiotemporal boundary regions, to risk probability distribution generation and allocation ratio adjustment, closed-loop correction and model parameter update, and system hardware configuration, demonstrating the universality and implementability of the present invention.

[0072] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A scene-aware digital twin collaborative simulation method, characterized in that, Includes the following steps: Step 1: Acquire the multi-source heterogeneous sensing data stream of the target physical entity within a continuous time window, and map the multi-source heterogeneous sensing data stream to a pre-constructed digital twin space to form a dynamic twin data mirror; Step 2: Identify the dynamically changing data portion and the static inherent data portion in the dynamic twin data mirror, and classify the dynamically changing data portion as high-frequency interaction scenario data as the first simulation input; The static inherent data portion is classified as low-frequency steady-state scenario data and used as the second simulation input; Step 3: Distribute the first simulation input to the dedicated simulation model, drive the dedicated simulation model to perform high-fidelity physical simulation calculations, and obtain the first simulation result; The second simulation input is distributed to the general simulation model, which is then driven to perform low-complexity inference calculations to obtain the second simulation result. Step 4: Obtain the spatiotemporal boundary overlap region of the first simulation result and the second simulation result in the digital twin space, and perform a weighted fusion operation on the first simulation result and the second simulation result within the spatiotemporal boundary overlap region to form unified collaborative simulation data output to the visualization rendering pipeline; The dedicated simulation model is a physical information neural network, and the general simulation model is a mechanism model; the computational domains of the dedicated simulation model and the general simulation model overlap at at least one spatial coordinate point.

2. The scene-aware digital twin co-simulation method according to claim 1, characterized in that: The pre-constructed digital twin space is pre-constructed in the following way: based on the spatial data of the physical space where the target physical entity is located, a virtual space containing a three-dimensional geometric model, physical attribute parameters, and a spatial coordinate system is generated through three-dimensional reconstruction; a geometric coordinate correspondence is established between the virtual space and the physical space; The 3D reconstruction is achieved in at least one of the following ways: aligning model components of different formats to a unified spatial coordinate system through coordinate datum transformation; or, generating a 3D model based on sparse point cloud reconstruction; or, generating a 3D model based on motion recovery structure reconstruction of multi-view RGB images. The length of the continuous time window is from 0.01 seconds to 10 seconds; The multi-source heterogeneous sensing data stream includes one or more of the following: real-time data collected by the sensor array, simulated data obtained from numerical simulation, and archived data in the historical database.

3. The scene-aware digital twin collaborative simulation method according to claim 1, characterized in that: Step two further includes the following sub-steps: Sub-step 1: Perform joint extraction of spatial distribution features and temporal evolution sequence on the dynamic twin data mirror; before extracting spatial distribution features, perform multimodal spatiotemporal alignment on the multi-source heterogeneous sensing data stream, the multimodal spatiotemporal alignment includes unifying lidar point cloud data, millimeter-wave radar data and visual image data to the same spatial coordinate system and the same time reference; Sub-step 2: Perform joint extraction of spatial distribution features and temporal evolution sequence on the dynamic twin data mirror to quantitatively characterize the dynamic change rate; the spatial distribution features include one or more of the following: the position coordinate gradient of the target physical entity in the digital twin space, velocity vector divergence, and acceleration direction change rate; Sub-step 3: Compare the dynamic change rate with a preset rate threshold. When the dynamic change rate is greater than the rate threshold, it is classified as the dynamic change data part. The rate threshold ranges from greater than 0 to less than 100, and the unit of the rate threshold is negative one power of seconds.

4. The scene-aware digital twin collaborative simulation method according to claim 1, characterized in that: Step four, obtaining the spatiotemporal boundary overlap region between the first simulation result and the second simulation result in the digital twin space, further includes the following sub-steps: Sub-step 1: Determine whether the spatial positions of the first simulation result and the second simulation result overlap in the digital twin space. The spatial position overlap means that the Euclidean distance between the two simulation results is less than a third preset threshold in the spatial dimension. The value range of the third preset threshold is greater than 0 and less than half of the side length of the smallest grid cell of the target physical entity in the digital twin space. Sub-step 2: Determine whether the time steps of the first simulation result and the second simulation result are aligned. The time steps being aligned means that the difference between the timestamps corresponding to the two simulation results is less than a fourth preset threshold in the time dimension. The value range of the fourth preset threshold is greater than 0 and less than one percent of the length of the continuous time window. Sub-step 3: For the coordinate region determined to be the overlapping region of the spatiotemporal boundary, further identify the spatial topological relationship between the first simulation result and the second simulation result within the region. The spatial topological relationship includes at least one of adjacent, partially overlapping and completely contained. Sub-step 4: Perform the weighted fusion operation within the overlapping region of the spatiotemporal boundaries. The weighted fusion operation is implemented in at least one of the following ways: a: Weighted average fusion, which arithmetically averages the first simulation result and the second simulation result according to a preset weight, wherein the preset weight is determined based on the spatial distance gradient distribution of the first simulation result and the second simulation result in the overlapping area of ​​the spatiotemporal boundary; b: Weighted least squares fusion, with the goal of minimizing the weighted sum of squared residuals between the first simulation result and the second simulation result, to solve for the optimal fusion weight; When the spatial locations overlap and the time steps are aligned, the corresponding coordinate regions are determined as the spatiotemporal boundary overlapping regions.

5. The scene-aware digital twin collaborative simulation method according to claim 1, characterized in that: It also includes the following steps: Step 5: Based on the dynamic twin data mirror, generate a risk probability distribution; the risk probability distribution is generated using a Bayesian network model, and the structure of the Bayesian network model is determined by the logical relationships of the historical risk knowledge model; At least one child node in the Bayesian network model uses a Noisy-OR gate structure to calculate conditional probabilities; when the Bayesian network model uses a Noisy-AND gate structure to calculate conditional probabilities, its parameters are obtained by complementing the corresponding parameters of the Noisy-OR gate structure. Step Six: Adjust the allocation ratio between high-frequency interaction scenario data and low-frequency steady-state scenario data according to the risk probability distribution; the adjustment method of the allocation ratio is as follows: when the maximum posterior probability in the risk probability distribution is greater than 0.7, the associated data part of the risk event node corresponding to the maximum posterior probability is forcibly classified as high-frequency interaction scenario data.

6. The scene-aware digital twin collaborative simulation method according to claim 1, characterized in that: It also includes the following steps: Step 5: Calculate the prediction deviation between the first simulation result and the real physical feedback data under the same time window, and generate a compensation correction amount based on the prediction deviation; the compensation correction amount is generated by using weighted least squares fusion correction, and dynamically adjusting the size of the compensation correction amount according to the sign and magnitude of the prediction deviation. Step 6: Feed the compensation correction amount back to the dedicated simulation model to perform closed-loop correction on the model parameters of the dedicated simulation model.

7. The scene-aware digital twin co-simulation method according to claim 6, characterized in that: Step five also includes the following sub-steps: Sub-step 1: Obtain the prediction uncertainty scalar when the dedicated simulation model outputs the first simulation result. The value range of the prediction uncertainty scalar is greater than 0 and less than 1. The prediction uncertainty scalar is calculated by the output layer of the dedicated simulation model using the Softmax function, or obtained by the prediction variance output by the Gaussian process regression model. Sub-step 2: Based on the predicted uncertainty scalar, adjust the gain coefficient of the compensation correction amount. The gain coefficient is positively correlated with the predicted uncertainty scalar, and the value range of the gain coefficient is greater than 0 and less than 1.

8. The scene-aware digital twin co-simulation method according to claim 1, characterized in that: The target physical entity includes one or more of traffic intersections, industrial robots, or aircraft; the multi-source heterogeneous sensing data stream includes one or more of lidar point cloud data, millimeter-wave radar data, and visual image data. The lidar point cloud data is used to characterize the three-dimensional spatial contour of the target physical entity, the millimeter-wave radar data is used to characterize the motion velocity vector of the target physical entity, and the visual image data is used to characterize the texture and color features of the target physical entity. The three-dimensional spatial contour is constructed by using a fusion algorithm to stitch together the point cloud data of the LiDAR point cloud and unify the coordinates, and by using a multi-dimensional threshold to dynamically update the twin model.

9. A scene-aware digital twin co-simulation system for performing the method as described in any one of claims 1 to 8, characterized in that, include: The data mapping end is connected to the multimodal sensor array and is used to receive multi-source heterogeneous sensing data streams and output dynamic twin data mirrors mapped to the pre-constructed digital twin space; the multimodal sensor array includes one or more of lidar sensors, millimeter-wave radar sensors, and visual cameras; The distribution end, connected to the data mapping end, is used to classify the dynamic twin data mirror into high-frequency interactive scenario data and low-frequency steady-state scenario data; A high-fidelity simulation terminal, connected to the distribution terminal, is used to run a dedicated simulation model and output the first simulation result; A lightweight simulation terminal, connected to the distribution terminal, is used to run a general simulation model and output a second simulation result; The fusion end is connected to the high-fidelity simulation end and the lightweight simulation end respectively, and is used to fuse the first simulation result and the second simulation result in a unified scene coordinate system and output unified collaborative simulation data.

10. The scene-aware digital twin collaborative simulation system according to claim 9, characterized in that: The data mapping terminal is equipped with a parallel data receiving channel, which corresponds to lidar data, millimeter-wave radar data, or visual image data. The data mapping terminal is equipped with a unified time base synchronization unit, which is used to align the multi-source heterogeneous sensing data streams input from each data source to the same time base; The distribution end is equipped with a scene classification engine, which is implemented by a field-programmable gate array chip. The scene classification engine has a built-in dynamic change rate calculation circuit and a rate threshold comparison circuit. The high-fidelity simulation terminal is equipped with a first processor and a first coprocessor that is communicatively connected to the first processor. The first coprocessor is a graphics processing unit (GPU) chip or a field-programmable gate array (FPGA) chip. The first processor is a central processing unit (CPU) used to control the scheduling and input / output of the dedicated simulation model. The first coprocessor is used to execute matrix operations and tensor operations of the dedicated simulation model in parallel. The lightweight simulation terminal is equipped with a second processor, which is an embedded central processing unit chip or a microcontroller chip; the second processor has the inference code of the general simulation model embedded inside, and the inference code is stored in fixed-point number format; The fusion terminal is equipped with a third processor, which contains a weighted fusion calculation circuit. The weighted fusion calculation circuit is used to calculate the weighted average of the first simulation result and the second simulation result. The weight in the weighted average is determined by the spatial distance and temporal distance of the overlapping region of the spatiotemporal boundary. The fusion terminal is also equipped with a display output interface.

Citation Information

Patent Citations

  • Electricity metering digital twin high-fidelity modeling method, system and equipment based on mechanism and multi-source data collaboration and medium

    CN121413193A

  • Data model construction method and device for digital twinning and medium

    CN121560284A

  • Industrial controller digital twinning optimization method fusing visual perception

    CN122110768A