An intelligent unmanned aerial vehicle simulation system and method based on digital twin
By matching and monitoring the damage coefficient and operating status of the digital twin model, the model quality problem in intelligent drone simulation is solved, ensuring the reliability of simulation results and predictability of actual operation.
Patent Information
- Application Number
- CN202410585862.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-05-13
AI Technical Summary
In intelligent drone simulation, the existing technology fails to effectively consider the quality of the digital twin model, resulting in the selected model not suitable for the new drone simulation, which may lead to problems in the simulation results, which in turn affects the predictability of actual operation.
By obtaining the key parameters of the target drone, matching the digital twin model, calculating the damage coefficient and unavailability coefficient of the model, and generating instructions in combination with the operating status data, ensuring the monitoring of the selected model quality and system status.
Ensure that the selected digital twin model is suitable for new drone simulation, and timely sense simulation system failures, and prevent unpredictable problems in actual operation.
Smart Images

Figure CN118348825B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of unmanned aerial vehicle simulation technology, and more specifically, to an intelligent unmanned aerial vehicle simulation system and method based on digital twins. Background Art
[0002] Digital twin is the concept of synchronizing the digital model of a physical object, process or system with its actual operation in the real world in real time. In intelligent drone simulation, digital twin can be used to simulate aspects of drone design, manufacturing, operation and maintenance, thereby improving the performance, safety and efficiency of drones. When simulating drones based on digital twins, first of all, it is necessary to establish a digital model corresponding to the actual drone. This model should include detailed information on various aspects of the drone's geometry, sensors, electronic systems, flight control systems, etc. This can be achieved through CAD software, modeling software or by extracting from actual data.
[0003] When simulating drones, in order to maximize the use of resources, an efficient method can be adopted: using existing digital twin models. By selecting an existing model similar to the new drone and adjusting it appropriately, the simulation of the new model can be quickly realized. This approach can not only save a lot of time and resources, but also accelerate the product development cycle, improve production efficiency, and reduce costs.
[0004] However, when selecting existing digital twin models in the above-mentioned technologies, the existing models that are most similar to the new drone are often selected, without considering the actual quality issues of the existing digital twin models, which may result in the final selected digital twin model not being the most suitable model for the simulation of the new drone; in addition, after the digital twin model is generated, for the intelligent drone simulation system based on the digital twin model, it is generally assumed that the simulation results generated by the intelligent drone simulation system based on the digital twin are in good operating condition. If the intelligent drone simulation system based on the digital twin fails and is not perceived in time, it may cause problems in the final simulation results, resulting in unpredictable problems in the actual operation of the drone system;
[0005] In order to solve the above defects, a technical solution is now provided. Summary of the invention
[0006] The purpose of the present invention is to solve the problem that if an intelligent drone simulation system based on digital twins fails and there is no timely perception, it may cause problems in the final simulation results and lead to unpredictable problems in the actual operation of the drone system, and to propose an intelligent drone simulation system and method based on digital twins.
[0007] In a first aspect of the implementation of the present invention, a method for simulating an intelligent unmanned aerial vehicle based on digital twins is first proposed, and the method comprises:
[0008] Obtain key parameters of the target simulated UAV, and match the models in the digital twin set in a preset manner according to the key parameters to obtain a set of available models; the key parameters include geometric structure parameters, sensor parameters, electronic system parameters, flight control parameters, and environmental parameters;
[0009] Obtaining the usage time and simulation error probability of each model in the available model set to obtain a damage coefficient of the model, clustering the damage coefficient of each model to obtain a final clustering cluster of the damage coefficient, and calculating the model unavailability coefficient of the model according to the final clustering cluster of the damage coefficient;
[0010] Comparing the model unavailability coefficient with a preset threshold, and obtaining a target digital twin model according to the comparison result;
[0011] Obtaining the running status data of the simulation system in which the target digital twin model is located during operation, and obtaining the simulation abnormality coefficient according to the running status data; the running status data includes the network signal unsupportable coefficient and the parameter setting unstable coefficient;
[0012] The simulation abnormality coefficient is compared with a preset simulation abnormality coefficient stage threshold, and different instructions are generated according to the comparison result.
[0013] Optionally, key parameters of the target simulated UAV are obtained, and models in the digital twin set are matched in a preset manner according to the key parameters to obtain a set of available models, wherein the key parameters include geometric structure parameters, sensor parameters, electronic system parameters, flight control parameters, and environmental parameters, wherein:
[0014] The geometric structure parameters include the size, shape, and wing cross-section of the aircraft, and the sensor parameters include camera resolution, radar field of view, and sensor accuracy;
[0015] The electronic system parameters include the resolution, field of view and exposure time of the camera, the transmission power and receiving sensitivity of the radar, and the positioning accuracy and update frequency of the GPS;
[0016] The electronic system parameters include the bandwidth and frequency of the communication equipment, the accuracy of the navigation system, and the response time of the autonomous driving system;
[0017] The flight control parameters include the gain of the attitude controller and the response speed of the feedback link;
[0018] The environmental parameters include air temperature, air pressure, humidity, terrain height, and wind direction;
[0019] The model parameters corresponding to the models in the digital twin set are added or subtracted from the maximum or minimum values of the preset model parameter adjustable range to obtain a preliminary key parameter range, and the key parameters of the target simulated UAV are matched with the preliminary key parameter range. If the key parameters of the target simulated UAV are within the preliminary key parameter range, the model corresponding to the preliminary key parameter range is recorded as an available model, and all models in the digital twin set are matched to obtain an available model set.
[0020] Optionally, obtaining the usage time and simulation error probability of each model in the available model set to obtain the damage coefficient of the model includes:
[0021] Obtaining the usage time and simulation error probability of each model in the available model set, and performing weighted summation to obtain a damage coefficient of the model;
[0022] The damage coefficient of each model is clustered, and the final clusters of damage coefficients include:
[0023] Step 1: Take the damage coefficient as the data point and obtain the optimal cluster number of the data point by the elbow method;
[0024] Step 2: According to the optimal number of clusters, randomly select the corresponding number of data points from the data points as the initial cluster centers of the cluster;
[0025] Step 3: For each data point in the data set, calculate the distance between it and each cluster center through Euclidean distance, and assign the data point to the cluster to which the nearest cluster center belongs;
[0026] Step 4: For each cluster, calculate the mean of all its data points and use the mean as the new cluster center;
[0027] Step 5: Repeat steps 3 and 4 until the cluster center no longer changes and the final cluster of damage coefficients is obtained;
[0028] The model unavailability coefficient is calculated based on the final clustering of the damage coefficient.
[0029] Optionally, the model unavailability coefficient calculated according to the final clustering of the damage coefficient includes:
[0030] Count the number of data points in each final cluster of damage coefficients, calculate the ratio of the number of data points in each final cluster of damage coefficients to the total number of data points in the data set, and obtain the weight coefficient of each final cluster of damage coefficients;
[0031] The model unavailability coefficient of the corresponding model is calculated based on the cluster center and weight coefficient of each damage coefficient final cluster, and its calculation formula is: Where WD represents the model unavailability coefficient, T h It is expressed as the weight coefficient of the final cluster of the h-th damage coefficient, E h It is represented as the cluster center of the final cluster of the hth damage coefficient.
[0032] Optionally, comparing the model unavailability coefficient with a preset threshold, and obtaining a target digital twin model according to the comparison result includes:
[0033] The model unavailability coefficient is compared with a preset threshold. If the model unavailability coefficient is less than the preset threshold, it means that the model in the available model set corresponding to the model unavailability coefficient is available, and is recorded as a preliminary available target model. All preliminary available target models in the available model set are obtained, and the digital twin model with the smallest model unavailability coefficient among the available target models is used as the target digital twin model.
[0034] Optionally, the running status data of the simulation system during running is obtained, the running status data includes a network signal unsupportable coefficient, and the method for obtaining the network signal unsupportable coefficient is as follows;
[0035] Obtaining network signal strength values of the simulation system at different times during operation within a fixed time interval to obtain a network signal set, comparing the network signal strength values in the network signal set with a preset network signal strength value threshold, and when the actual network signal strength value is less than the preset network signal strength value threshold, recording the actual network signal strength value as unavailable network signal data;
[0036] The number of all unavailable network signal data in the network signal set is obtained, and the ratio of the number of unavailable network signal data to the total number of data in the network signal set is calculated to obtain a network signal unsupport coefficient.
[0037] Optionally, the operating status data further includes a parameter setting instability coefficient, and the method for obtaining the parameter setting instability coefficient is:
[0038] Obtain the actual parameter values of the simulation system at different times during operation within a fixed time interval, and calculate the difference between the actual parameter values at different times and the preset parameter values to obtain the parameter value variation coefficient;
[0039] The parameter value variation coefficient at different moments is multiplied by the preset parameter weight value at that moment to obtain the parameter value instability coefficient at that moment;
[0040] The instability coefficients of the parameter values at all moments are added together to obtain the instability coefficient of the parameter setting.
[0041] Optionally, obtaining a simulation abnormality coefficient according to the operating status data includes:
[0042] The calculation formula of the simulation anomaly coefficient is:
[0043]
[0044] Where Lgt is the simulation anomaly coefficient, LG and WQ represent the network signal unsupportable coefficient and parameter setting unstable coefficient respectively, b1 and b2 are the proportional coefficients of the network signal unsupportable coefficient and the parameter setting unstable coefficient, and b1 and b2 are both greater than 0.
[0045] Optionally, comparing the simulation abnormality coefficient with a preset simulation abnormality coefficient stage threshold, and generating different instructions according to the comparison result includes:
[0046] When the simulation abnormality coefficient is less than a preset simulation abnormality coefficient first threshold value, generating a first instruction;
[0047] When the simulation abnormality coefficient is not less than a preset simulation abnormality coefficient first threshold value but less than a second threshold value, generating a second instruction;
[0048] When the simulation abnormality coefficient is not less than a preset simulation abnormality coefficient second threshold, a third instruction is generated.
[0049] When the first instruction is generated, the entire simulation system directly outputs the simulation result;
[0050] When the second instruction is generated, the entire simulation system immediately stops simulation and starts re-simulation until the simulation abnormality coefficient is less than a preset simulation abnormality coefficient first threshold value;
[0051] When the third instruction is generated, the entire simulation system immediately stops the simulation and issues an alarm.
[0052] In a second aspect of the implementation of the present invention, an intelligent drone simulation system based on digital twin is proposed, comprising:
[0053] Preliminary screening module: obtain key parameters of the target simulated UAV, match the models in the digital twin set in a preset manner according to the key parameters, and obtain a set of available models; the key parameters include geometric structure parameters, sensor parameters, electronic system parameters, flight control parameters, and environmental parameters;
[0054] Processing module: obtaining the usage time and simulation error probability of each model in the available model set, obtaining the damage coefficient of the model, clustering the damage coefficient of each model to obtain a final clustering cluster of the damage coefficient, and calculating the model unavailability coefficient of the model according to the final clustering cluster of the damage coefficient;
[0055] Target model module: compare the unavailability coefficient of the model with a preset threshold, and obtain a target digital twin model according to the comparison result;
[0056] Abnormal coefficient module: obtain the running status data of the simulation system where the target digital twin model is located during operation, and obtain the simulation abnormality coefficient according to the running status data; the running status data includes the network signal unsupportable coefficient and the parameter setting unstable coefficient;
[0057] Comparison and analysis module: compares the simulation abnormality coefficient with a preset simulation abnormality coefficient stage threshold, and generates different instructions according to the comparison result.
[0058] Technical effects and advantages of the present invention:
[0059] The present invention takes into account the actual quality problems of existing digital twin models, and the digital twin model finally selected is the most suitable model for new drone simulation; in addition, after the digital twin model is selected, for the intelligent drone simulation system based on the digital twin model, the simulation anomaly coefficient of the system is compared with the preset simulation anomaly coefficient stage threshold, and different instructions are generated according to the comparison results, so as to timely perceive whether the intelligent drone simulation system based on the digital twin has a fault, and prevent unpredictable problems from occurring in the actual operation of the drone system. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to facilitate understanding by those skilled in the art, the present invention is further described below in conjunction with the accompanying drawings;
[0061] Figure 1 A method flow chart of a digital twin-based intelligent drone simulation method proposed by the present invention;
[0062] Figure 2 This is a framework diagram of an intelligent UAV simulation system based on digital twins proposed in the present invention. DETAILED DESCRIPTION
[0063] 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.
[0064] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative work shall fall within the scope of protection of the present invention.
[0065] The embodiment of the present invention provides a method for simulating an intelligent unmanned aerial vehicle based on digital twins. Figure 1 , Figure 1 A flowchart of a method for simulating an intelligent drone based on digital twins is provided in an embodiment of the present invention, and the method comprises the following steps:
[0066] Obtain key parameters of the target simulated UAV, match the models in the digital twin set in a preset manner according to the key parameters, and obtain a set of available models; the key parameters include geometric structure parameters, sensor parameters, electronic system parameters, flight control parameters, and environmental parameters;
[0067] Obtaining the usage time and simulation error probability of each model in the available model set, obtaining the damage coefficient of the model, clustering the damage coefficient of each model to obtain the final clustering cluster of the damage coefficient, and calculating the model unavailability coefficient of the model according to the final clustering cluster of the damage coefficient;
[0068] Compare the model unavailability coefficient with the preset threshold, and obtain the target digital twin model based on the comparison result;
[0069] Obtain the operating status data of the simulation system where the target digital twin model is located during operation, and obtain the simulation abnormality coefficient based on the operating status data; the operating status data includes the network signal unsupport coefficient and the parameter setting instability coefficient;
[0070] The simulation anomaly coefficient is compared with a preset simulation anomaly coefficient stage threshold, and different instructions are generated according to the comparison result.
[0071] In one implementation method, in this way, taking into account the actual quality issues of the existing digital twin models, the digital twin model finally selected is the most suitable model for the simulation of the new drone; in addition, after the digital twin model is selected, for the intelligent drone simulation system based on the digital twin model, the simulation anomaly coefficient of the system is compared with the preset simulation anomaly coefficient stage threshold, and different instructions are generated according to the comparison results, so as to timely perceive whether the intelligent drone simulation system based on the digital twin has a fault, and prevent unpredictable problems from occurring in the actual operation of the drone system.
[0072] In one embodiment, key parameters of the target simulated UAV are obtained, and the models in the digital twin set are matched in a preset manner according to the key parameters to obtain a set of available models. The key parameters include geometric structure parameters, sensor parameters, electronic system parameters, flight control parameters, and environmental parameters, where:
[0073] The geometric parameters include the size, shape, and wing cross-section of the aircraft, and the sensor parameters include camera resolution, radar field of view, and sensor accuracy;
[0074] Electronic system parameters include camera resolution, field of view and exposure time, radar transmission power and receiving sensitivity, GPS positioning accuracy and update frequency;
[0075] Electronic system parameters include the bandwidth and frequency of communication equipment, the accuracy of navigation systems, and the response time of autonomous driving systems;
[0076] Flight control parameters include the gain of the attitude controller and the response speed of the feedback link;
[0077] Environmental parameters include temperature, air pressure, humidity, terrain height, and wind direction;
[0078] The model parameters corresponding to the models in the digital twin set are added or subtracted from the maximum or minimum values of the preset model parameter adjustable range to obtain a preliminary key parameter range, and the key parameters of the target simulated UAV are matched with the preliminary key parameter range. If the key parameters of the target simulated UAV are within the preliminary key parameter range, the model corresponding to the preliminary key parameter range is recorded as an available model, and all models in the digital twin set are matched to obtain an available model set.
[0079] In one implementation method, the reason for selecting these parameters as key parameters is that these parameters are relatively easy to obtain and also contain the basic parameters for simulating the UAV. By selecting these parameters and matching all models in the digital twin set in the above manner, a set of available models is obtained. The models screened out in this way can basically make some parameter changes, thereby simulating the new UAV. The screening ability is strong and the screening results are relatively accurate.
[0080] In addition, it should be noted that the preset adjustable range of model parameters is set by professional personnel based on the actual situation of each digital twin model, without specific limitations; and all the above-mentioned key parameters can be obtained through the existing corresponding information logs.
[0081] In one embodiment, the use time and simulation error probability of each model in the available model set are obtained to obtain the damage coefficient of the model, including:
[0082] Obtain the usage time and simulation error probability of each model in the available model set, and perform weighted summation to obtain the damage coefficient of the model;
[0083] The damage coefficient of each model is clustered, and the final clusters of damage coefficients include:
[0084] Step 1: Take the damage coefficient as the data point and obtain the optimal cluster number of the data point by the elbow method;
[0085] Step 2: According to the optimal number of clusters, randomly select the corresponding number of data points from the data points as the initial cluster centers of the cluster;
[0086] Step 3: For each data point in the data set, calculate the distance between it and each cluster center through Euclidean distance, and assign the data point to the cluster to which the nearest cluster center belongs;
[0087] Step 4: For each cluster, calculate the mean of all its data points and use the mean as the new cluster center;
[0088] Step 5: Repeat steps 3 and 4 until the cluster center no longer changes and the final cluster of damage coefficients is obtained;
[0089] The model unavailability coefficient is calculated based on the final clustering of the damage coefficient.
[0090] In one implementation, clustering is performed using the K-means clustering method to obtain the final clustering cluster of the damage coefficient, and the model unavailability coefficient is calculated based on the final clustering cluster of the damage coefficient. The K-means clustering method is a commonly used unsupervised learning algorithm for dividing a data set into predefined K clusters. The goal of the algorithm is to divide data points into K clusters so that each data point belongs to the cluster represented by the closest cluster center, and the data points within the cluster are as similar as possible, while the data points between different clusters are as dissimilar as possible;
[0091] Cluster analysis can help evaluate the health status of each model. By observing the clustering results, the health status of each model can be obtained, and then the optimal model can be selected as the target model.
[0092] It should be noted that the usage time and simulation error probability of each model can be obtained through the historical record information of the model.
[0093] It should be noted that the elbow method is one of the common methods used to determine the optimal number of clusters K in K-means clustering. Its basic idea is to find an "elbow point", that is, the inflection point corresponding to the number of clusters K, by observing the relationship between the number of clusters K and the total internal deviation square of the clustering results. This point is the position where the WCSS decreases significantly slower after the number of clusters increases. The WCSS refers to the sum of the squares of the distances from each data point to the center of the cluster to which it belongs, which represents the compactness of the clustering results.
[0094] The initial cluster centers refer to the K cluster centers randomly selected before starting the clustering process. These initial cluster centers are the starting points when the algorithm starts.
[0095] For each data point in the data set, the distance between it and each cluster center is calculated by Euclidean distance, and the data point is assigned to the cluster to which the nearest cluster center belongs. Euclidean distance refers to the distance between two points in Euclidean space and is also one of the most commonly used distance metrics. In K-means clustering, Euclidean distance is usually used to calculate the distance between data points and cluster centers.
[0096] The steps of assigning data points to the cluster to which the nearest cluster center belongs are to sort the distances between the data points and each cluster center from large to small, and select the smallest distance to assign the data point to the cluster to which it belongs.
[0097] In one embodiment, the model unavailability coefficient calculated according to the final clustering of the damage coefficient includes:
[0098] Count the number of data points in each final cluster of damage coefficients, calculate the ratio of the number of data points in each final cluster of damage coefficients to the total number of data points in the data set, and obtain the weight coefficient of each final cluster of damage coefficients;
[0099] The model unavailability coefficient of the corresponding model is calculated based on the cluster center and weight coefficient of each damage coefficient final cluster, and its calculation formula is: Where WD represents the model unavailability coefficient, T h It is expressed as the weight coefficient of the final cluster of the h-th damage coefficient, E h It is represented as the cluster center of the final cluster of the hth damage coefficient.
[0100] In one implementation method, the unavailability coefficient of each model obtained in this way is more accurate and can better represent the quality and actual status of the model, which is of greater reference significance for the specific selection of a digital twin model for the subsequent digital twin-based intelligent drone simulation system.
[0101] In one embodiment, the model unavailability coefficient is compared with a preset threshold, and the target digital twin model is obtained according to the comparison result, including:
[0102] The model unavailability coefficient is compared with the preset threshold. If the model unavailability coefficient is less than the preset threshold, it means that the model in the available model set corresponding to the model unavailability coefficient is available and is recorded as the preliminary available target model. All preliminary available target models in the available model set are obtained, and the digital twin model with the smallest model unavailability coefficient among the available target models is taken as the target digital twin model.
[0103] In one implementation method, the target digital twin model obtained in this way integrates multiple considerations to obtain the digital twin model with the best quality, rather than simply selecting the existing digital twin model that is most similar to the new UAV. The selected target digital twin model is most suitable for simulating the new UAV.
[0104] It should be noted that the preset threshold is determined by professionals based on actual circumstances and is not specifically limited.
[0105] In one embodiment, the running state data of the simulation system is obtained when it is running, the running state data includes the network signal unsupportable coefficient, and the method for obtaining the network signal unsupportable coefficient is as follows;
[0106] Obtain the network signal strength values of the simulation system at different times during operation within a fixed time interval to obtain a network signal set, compare the network signal strength values in the network signal set with a preset network signal strength value threshold, and when the actual network signal strength value is less than the preset network signal strength value threshold, record the actual network signal strength value as unavailable network signal data;
[0107] The number of all unavailable network signal data in the network signal set is obtained, and the ratio of the number of unavailable network signal data to the total number of data in the network signal set is calculated to obtain the network signal unsupport coefficient.
[0108] In one implementation, the preset network signal strength value threshold is a value set by professional personnel according to the actual situation. The specific value of the preset network signal strength value threshold can be adjusted according to the actual situation without specific restrictions. It should be noted that the preset network signal strength value threshold generally refers to the minimum network speed that can support the normal operation of the entire digital twin-based intelligent drone simulation system. Once the actual network speed of the entire digital twin-based intelligent drone simulation system is less than the preset network signal strength value threshold when the entire digital twin-based intelligent drone simulation system is running, it means that the entire digital twin-based intelligent drone simulation system may have problems when running.
[0109] In one implementation, the network signal unsupport coefficient refers to the degree to which the actual network signal strength value of the entire digital twin-based intelligent drone simulation system is lower than the preset network signal strength value threshold value during operation within a fixed time interval; the higher the actual network signal strength value is lower than the preset network signal strength value threshold value, the higher the degree to which the entire digital twin-based intelligent drone simulation system is running is likely to have problems with its operating state, resulting in problems with the final simulation results, and unpredictable problems in the actual operation of the drone system, because low network signal strength may lead to communication interruption, data loss, and system performance degradation. In the digital twin-based intelligent drone simulation system, if the actual network signal strength value is lower than the preset network signal strength value threshold value, the following problems may occur:
[0110] Communication instability: Low network signal strength may lead to unstable communication, resulting in packet loss or increased latency. This will affect the communication between the simulation system and the drone, causing incomplete or delayed data transmission, which in turn affects the accuracy of the simulation results.
[0111] Data corruption: Low network signal strength may cause data packets to be disrupted or corrupted during transmission, resulting in data loss or errors. If the simulation system relies on this data for decision making or control, it may cause incorrect operation of the UAV system.
[0112] Degraded system performance: Low network signal strength will affect the overall performance of the system, including data transmission speed, response time, and stability. Degraded system performance may cause the simulation system to fail to operate as expected, affecting the credibility of the simulation results.
[0113] Abnormal drone behavior: The simulation system’s simulation of drone behavior may be affected by low network signal strength, causing the drone to exhibit abnormal behavior or decision-making in the simulation. This may lead to an incorrect assessment of the drone system’s performance, affecting safety and reliability in actual applications.
[0114] Therefore, keeping the network signal strength within an acceptable range is crucial for the stable operation of the intelligent UAV simulation system based on digital twins. Timely monitoring and handling of abnormal network signal strength to ensure the stability and reliability of the simulation system during operation is crucial to ensuring the accuracy of the simulation results and the actual operation of the UAV system.
[0115] In one implementation method, the network signal unsupport coefficient calculated in this way can more accurately represent the actual network signal status of the entire digital twin-based intelligent drone simulation system during operation.
[0116] In one embodiment, the operating status data further includes a parameter setting instability coefficient, and the method for obtaining the parameter setting instability coefficient is:
[0117] Obtain the actual parameter values of the simulation system at different times during operation within a fixed time interval, and calculate the difference between the actual parameter values at different times and the preset parameter values to obtain the parameter value variation coefficient;
[0118] The parameter value variation coefficient at different moments is multiplied by the preset parameter weight value at that moment to obtain the parameter value instability coefficient at that moment;
[0119] The instability coefficients of the parameter values at all moments are added together to obtain the instability coefficient of the parameter setting.
[0120] In one implementation, the preset parameter values refer to some parameters initially set during the simulation, such as the attitude parameters of the aircraft, etc.; the specific preset parameters are set by professional personnel according to the actual simulation requirements and are not specifically limited; the preset parameter weight values at different times refer to the weight values of the preset parameter values according to the actual simulation progress; the specific weight values are set according to the actual simulation situation and are not limited; because at different times, the actual parameters have different influences on the running state of the entire digital twin-based intelligent drone simulation system during operation, so the weight values are also different;
[0121] In one implementation, the parameter setting instability coefficient calculated in this way has the following benefits: Comprehensive consideration of parameter changes: This method comprehensively considers the changes of system parameters at different times within a fixed time interval. By calculating the difference between the actual parameter value and the preset parameter value, the trend and magnitude of the change of the system parameters can be comprehensively evaluated, rather than just the changes at a single moment or a few parameters.
[0122] Flexible weight adjustment: This method allows different parameter weight values to be set at different times to reflect the degree of influence of parameter changes at different times on system stability. In this way, parameter weights can be adjusted according to actual conditions, so that the parameter setting instability coefficient can more accurately reflect the state of the system during operation.
[0123] Quantitative evaluation: By multiplying and adding the parameter change coefficient and the parameter weight, a quantitative parameter setting instability coefficient is obtained. This evaluation method is more intuitive and operational, and can more accurately reflect the stability level of system parameter settings.
[0124] In one embodiment, the calculation formula of the simulation anomaly coefficient is:
[0125]
[0126] Where Lgt is the simulation anomaly coefficient, LG and WQ represent the network signal unsupportable coefficient and parameter setting unstable coefficient respectively, b1 and b2 are the proportional coefficients of the network signal unsupportable coefficient and the parameter setting unstable coefficient, and b1 and b2 are both greater than 0.
[0127] In one implementation method, by performing weighted summation of the network signal unsupport coefficient and the parameter setting instability coefficient, the obtained simulation anomaly coefficient can more accurately represent the operating status of the entire digital twin-based intelligent drone simulation system during operation.
[0128] It should be noted that the reason for selecting the network signal unsupport coefficient and parameter setting instability coefficient is that these parameters cover different aspects of the system, including communication, perception, control and execution. Taking these parameters into consideration can comprehensively evaluate the overall operation status of the system.
[0129] In one embodiment, comparing the simulation abnormality coefficient with a preset simulation abnormality coefficient stage threshold, and generating different instructions according to the comparison result includes:
[0130] When the simulation abnormality coefficient is less than a preset simulation abnormality coefficient first threshold value, generating a first instruction;
[0131] When the simulation abnormality coefficient is not less than a preset simulation abnormality coefficient first threshold value but less than a second threshold value, generating a second instruction;
[0132] When the simulation abnormality coefficient is not less than a preset simulation abnormality coefficient second threshold, a third instruction is generated.
[0133] When the first instruction is generated, the entire simulation system directly outputs the simulation result;
[0134] When the second instruction is generated, the entire simulation system immediately stops simulation and starts re-simulation until the simulation abnormality coefficient is less than a preset simulation abnormality coefficient first threshold value;
[0135] When the third instruction is generated, the entire simulation system immediately stops the simulation and issues an alarm.
[0136] In one implementation, the preset first threshold of the simulation anomaly coefficient and the preset second threshold of the simulation anomaly coefficient are set by professional personnel according to actual conditions, and are not specifically limited; in addition, the preset first threshold of the simulation anomaly coefficient is less than the preset second threshold of the simulation anomaly coefficient.
[0137] In one implementation method, when the first instruction is generated, it indicates that the entire intelligent drone simulation system based on digital twins is in good operating condition during operation, and the simulation results can be directly output and used; when the first instruction is generated, it indicates that the entire intelligent drone simulation system based on digital twins may have accidental errors during operation, and the current simulation is stopped immediately and re-simulated until the simulation abnormality coefficient is less than the preset simulation abnormality coefficient first threshold; when the third instruction is generated, it indicates that the entire intelligent drone simulation system based on digital twins has encountered major problems during operation, and the simulation needs to be stopped immediately, and an alarm is issued to remind the staff to prevent problems with the final simulation results, which will cause unpredictable problems in the actual operation of the drone system.
[0138] Based on the same inventive concept, the embodiment of the present invention also provides an intelligent drone simulation based on digital twins. Figure 2 , Figure 2 A schematic structural diagram of a framework diagram of a digital twin-based intelligent drone simulation provided by an embodiment of the present invention includes:
[0139] Preliminary screening module: obtain key parameters of the target simulated UAV, match the models in the digital twin set in a preset manner according to the key parameters, and obtain a set of available models; the key parameters include geometric structure parameters, sensor parameters, electronic system parameters, flight control parameters, and environmental parameters;
[0140] Processing module: obtaining the usage time and simulation error probability of each model in the available model set, obtaining the damage coefficient of the model, clustering the damage coefficient of each model to obtain a final clustering cluster of the damage coefficient, and calculating the model unavailability coefficient of the model according to the final clustering cluster of the damage coefficient;
[0141] Target model module: compare the unavailability coefficient of the model with a preset threshold, and obtain a target digital twin model according to the comparison result;
[0142] Abnormal coefficient module: obtain the running status data of the simulation system where the target digital twin model is located during operation, and obtain the simulation abnormality coefficient according to the running status data; the running status data includes the network signal unsupportable coefficient and the parameter setting unstable coefficient;
[0143] Comparison and analysis module: compares the simulation abnormality coefficient with a preset simulation abnormality coefficient stage threshold, and generates different instructions according to the comparison result.
[0144] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A digital twin-based intelligent drone simulation method, characterized in that: The method includes: Acquire key parameters of the target simulated UAV, and match the models in the digital twin set in a preset manner according to the key parameters to obtain a set of available models; the key parameters include geometric structure parameters, sensor parameters, electronic system parameters, flight control parameters, and environmental parameters; Obtaining the usage time and simulation error probability of each model in the available model set to obtain a damage coefficient of the model, clustering the damage coefficient of each model to obtain a final clustering cluster of the damage coefficient, and calculating the model unavailability coefficient of the model according to the final clustering cluster of the damage coefficient; Comparing the model unavailability coefficient with a preset threshold, and obtaining a target digital twin model according to the comparison result; Obtaining the running status data of the simulation system in which the target digital twin model is located during operation, and obtaining the simulation abnormality coefficient according to the running status data; the running status data includes the network signal unsupportable coefficient and the parameter setting unstable coefficient; Comparing the simulation abnormality coefficient with a preset simulation abnormality coefficient stage threshold, and generating different instructions according to the comparison result; Obtaining the usage time and simulation error probability of each model in the available model set, and obtaining the damage coefficient of the model includes: Obtaining the usage time and simulation error probability of each model in the available model set, and performing weighted summation to obtain a damage coefficient of the model; The damage coefficient of each model is clustered, and the final clusters of damage coefficients include: Step 1: Take the damage coefficient as the data point and obtain the optimal cluster number of the data point by the elbow method; Step 2: According to the optimal number of clusters, randomly select the corresponding number of data points from the data points as the initial cluster centers of the cluster; Step 3: For each data point in the data set, calculate the distance between it and each cluster center through Euclidean distance, and assign the data point to the cluster to which the nearest cluster center belongs; Step 4: For each cluster, calculate the mean of all its data points and use the mean as the new cluster center; Step 5: Repeat steps 3 and 4 until the cluster center no longer changes and the final cluster of damage coefficients is obtained; The model unavailability coefficient is calculated based on the final clustering of the damage coefficient; The model unavailability coefficients calculated by the final clustering of the damage coefficients include: Count the number of data points in each final cluster of damage coefficients, calculate the ratio of the number of data points in each final cluster of damage coefficients to the total number of data points in the data set, and obtain the weight coefficient of each final cluster of damage coefficients; The model unavailability coefficient of the corresponding model is calculated based on the cluster center and weight coefficient of each damage coefficient final cluster, and its calculation formula is: Where WD represents the model unavailability coefficient, T h It is expressed as the weight coefficient of the final cluster of the h-th damage coefficient, E h It is represented as the cluster center of the final cluster of the hth damage coefficient.
2. According to the digital twin-based intelligent drone simulation method of claim 1, it is characterized in that: The key parameters of the target simulated UAV are obtained, and the models in the digital twin set are matched in a preset manner according to the key parameters to obtain a set of available models, wherein the key parameters include geometric structure parameters, sensor parameters, electronic system parameters, flight control parameters, and environmental parameters, wherein: The geometric structure parameters include the size, shape, and wing cross-section of the aircraft, and the sensor parameters include camera resolution, radar field of view, and sensor accuracy; The electronic system parameters include the resolution, field of view and exposure time of the camera, the transmission power and receiving sensitivity of the radar, and the positioning accuracy and update frequency of the GPS; The electronic system parameters include the bandwidth and frequency of the communication equipment, the accuracy of the navigation system, and the response time of the autonomous driving system; The flight control parameters include the gain of the attitude controller and the response speed of the feedback link; The environmental parameters include air temperature, air pressure, humidity, terrain height, and wind direction; The model parameters corresponding to the models in the digital twin set are added or subtracted from the maximum or minimum values of the preset model parameter adjustable range to obtain a preliminary key parameter range, and the key parameters of the target simulated UAV are matched with the preliminary key parameter range. If the key parameters of the target simulated UAV are within the preliminary key parameter range, the model corresponding to the preliminary key parameter range is recorded as an available model, and all models in the digital twin set are matched to obtain an available model set.
3. The intelligent drone simulation method based on digital twin according to claim 1 is characterized in that: The unavailability coefficient of the model is compared with a preset threshold, and the target digital twin model is obtained according to the comparison result, including: The model unavailability coefficient is compared with a preset threshold. If the model unavailability coefficient is less than the preset threshold, it means that the model in the available model set corresponding to the model unavailability coefficient is available, and is recorded as a preliminary available target model. All preliminary available target models in the available model set are obtained, and the digital twin model with the smallest model unavailability coefficient among the available target models is used as the target digital twin model.
4. The method for simulating an intelligent unmanned aerial vehicle based on digital twins according to claim 1, characterized in that: Acquire running status data of the simulation system when it is running, wherein the running status data includes a network signal unsupportable coefficient, and the method for acquiring the network signal unsupportable coefficient is as follows; Obtaining network signal strength values of the simulation system at different times during operation within a fixed time interval to obtain a network signal set, comparing the network signal strength values in the network signal set with a preset network signal strength value threshold, and when the actual network signal strength value is less than the preset network signal strength value threshold, recording the actual network signal strength value as unavailable network signal data; The number of all unavailable network signal data in the network signal set is obtained, and the ratio of the number of unavailable network signal data to the total number of data in the network signal set is calculated to obtain a network signal unsupport coefficient.
5. The intelligent drone simulation method based on digital twin according to claim 1 is characterized in that: The operating status data also includes a parameter setting instability coefficient, and the method for obtaining the parameter setting instability coefficient is: Obtain the actual parameter values of the simulation system at different times during operation within a fixed time interval, and calculate the difference between the actual parameter values at different times and the preset parameter values to obtain the parameter value variation coefficient; The parameter value variation coefficient at different moments is multiplied by the preset parameter weight value at that moment to obtain the parameter value instability coefficient at that moment; The instability coefficients of the parameter values at all moments are added together to obtain the instability coefficient of the parameter setting.
6. The method for simulating an intelligent unmanned aerial vehicle based on digital twins according to claim 1, characterized in that: The simulation abnormality coefficient obtained according to the operating status data includes: The calculation formula of the simulation anomaly coefficient is: Where Lgt is the simulation anomaly coefficient, LG and WQ represent the network signal unsupportable coefficient and parameter setting unstable coefficient respectively, b1 and b2 are the proportional coefficients of the network signal unsupportable coefficient and the parameter setting unstable coefficient, and b1 and b2 are both greater than 0.
7. The method for simulating an intelligent unmanned aerial vehicle based on digital twins according to claim 1, characterized in that: Comparing the simulation abnormality coefficient with a preset simulation abnormality coefficient stage threshold, and generating different instructions according to the comparison result includes: When the simulation abnormality coefficient is less than a preset simulation abnormality coefficient first threshold value, generating a first instruction; When the simulation abnormality coefficient is not less than a preset simulation abnormality coefficient first threshold value but less than a second threshold value, generating a second instruction; When the simulation abnormality coefficient is not less than a preset simulation abnormality coefficient second threshold value, generating a third instruction; in: When the first instruction is generated, the entire simulation system directly outputs the simulation result; When the second instruction is generated, the entire simulation system immediately stops simulation and starts re-simulation until the simulation abnormality coefficient is less than a preset simulation abnormality coefficient first threshold value; When the third instruction is generated, the entire simulation system immediately stops the simulation and issues an alarm.
8. An intelligent unmanned aerial vehicle simulation system based on digital twin, used to implement an intelligent unmanned aerial vehicle simulation method based on digital twin as claimed in any one of claims 1 to 7, characterized in that: include: Preliminary screening module: obtain key parameters of the target simulated UAV, match the models in the digital twin set in a preset manner according to the key parameters, and obtain a set of available models; the key parameters include geometric structure parameters, sensor parameters, electronic system parameters, flight control parameters, and environmental parameters; Processing module: obtaining the usage time and simulation error probability of each model in the available model set, obtaining the damage coefficient of the model, clustering the damage coefficient of each model to obtain a final clustering cluster of the damage coefficient, and calculating the model unavailability coefficient of the model according to the final clustering cluster of the damage coefficient; Target model module: compare the unavailability coefficient of the model with a preset threshold, and obtain a target digital twin model according to the comparison result; Abnormal coefficient module: obtain the running status data of the simulation system where the target digital twin model is located during operation, and obtain the simulation abnormality coefficient according to the running status data; the running status data includes the network signal unsupportable coefficient and the parameter setting unstable coefficient; Comparison and analysis module: compares the simulation abnormality coefficient with a preset simulation abnormality coefficient stage threshold, and generates different instructions according to the comparison result; The processing module comprises: Obtaining the usage time and simulation error probability of each model in the available model set, and performing weighted summation to obtain a damage coefficient of the model; The damage coefficient of each model is clustered, and the final clusters of damage coefficients include: Step 1: Take the damage coefficient as the data point and obtain the optimal cluster number of the data point by the elbow method; Step 2: According to the optimal number of clusters, randomly select the corresponding number of data points from the data points as the initial cluster centers of the cluster; Step 3: For each data point in the data set, calculate the distance between it and each cluster center through Euclidean distance, and assign the data point to the cluster to which the nearest cluster center belongs; Step 4: For each cluster, calculate the mean of all its data points and use the mean as the new cluster center; Step 5: Repeat steps 3 and 4 until the cluster center no longer changes and the final cluster of damage coefficients is obtained; The model unavailability coefficient is calculated based on the final clustering of the damage coefficient; The processing module also includes: Count the number of data points in each final cluster of damage coefficients, calculate the ratio of the number of data points in each final cluster of damage coefficients to the total number of data points in the data set, and obtain the weight coefficient of each final cluster of damage coefficients; The model unavailability coefficient of the corresponding model is calculated based on the cluster center and weight coefficient of each damage coefficient final cluster, and its calculation formula is: Where WD represents the model unavailability coefficient, T h It is expressed as the weight coefficient of the final cluster of the h-th damage coefficient, E h It is represented as the cluster center of the final cluster of the hth damage coefficient.
Citation Information
Patent Citations
GMM-based power system digital twinborn parameter correction method and device
CN113505490A
Unmanned aerial vehicle digital twin modular simulation method oriented to self-consciousness enhancement
CN116050257A
Power distribution computing power prediction method and system based on digital twinning, and medium
CN118017502A
Method for reducing transmission delay based on low-light night vision product
CN118018862A
Emergency police scheduling method and system based on digital twinning
WO2023207540A1
