Mobile carrier space computing fusion positioning method
By monitoring sensor health and verifying digital twins through a time-series autoencoder, and combining a soft state handover mechanism and a dual-exponential degradation model, the problem of decreased positioning accuracy caused by sensor degradation in mobile carrier fusion positioning systems is solved, enabling long-term reliable operation in complex environments.
Patent Information
- Application Number
- CN202611338400.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-11-27
AI Technical Summary
Existing mobile carrier fusion positioning systems lack self-diagnostic capabilities, are unable to detect sensor degradation in real time and dynamically adjust fusion strategies, resulting in decreased positioning accuracy, and are particularly difficult to guarantee long-term reliable operation in complex dynamic environments.
A time-series autoencoder is used to monitor sensor health, a soft state handover mechanism is used to achieve multi-level smooth degradation, and a digital twin is used for real-time verification and reverse correction. A double exponential degradation model is combined to predict the remaining life of the sensor, and the observation noise covariance matrix is dynamically adjusted to ensure positioning accuracy.
It achieves early warning of sensor degradation and adaptive fusion weight adjustment, ensuring the continuity and accuracy of positioning results, suppressing map mismatch errors, and ensuring the long-term reliable operation of mobile vehicles in complex environments.
Smart Images

Figure CN123175243A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of spatial computing technology, and more specifically, to a spatial computing fusion positioning method for mobile carriers. Background Technology
[0002] With the widespread application of autonomous mobile platforms in large public spaces such as airport terminals, high-speed rail stations, and convention centers, their operating environments are becoming increasingly dynamic and complex. These locations experience high pedestrian traffic, frequent obstacle movement, and drastic changes in lighting conditions, requiring mobile platforms to continuously perform tasks such as security patrols, passenger guidance, and material transportation for extended periods. To ensure the continuity and accuracy of positioning, existing solutions generally employ multi-sensor fusion positioning technology, integrating various sensing devices such as lidar, visual cameras, inertial measurement units, and global navigation satellite systems. However, during long-term operation, sensors are inevitably affected by factors such as dust accumulation, field-of-view obstruction, mechanical vibration, and aging of electronic components, leading to gradual performance degradation or even sudden failure. For example, the scanning point cloud density of lidar decreases due to lens contamination, the feature extraction capability of visual cameras is significantly weakened in backlight or low-light environments, and the zero bias of inertial measurement units drifts slowly over time. These degradation phenomena are often gradual and not easily detected by operators initially, but they are enough to gradually degrade the overall accuracy of the fusion positioning system, ultimately causing a significant deviation between the positioning result and the actual location.
[0003] To address the aforementioned issues, existing fusion positioning systems generally lack robust fault diagnosis and adaptive degradation mechanisms. When the performance of a sensor deteriorates, the system typically cannot detect the degree of degradation in real time, let alone dynamically adjust the fusion strategy to suppress the adverse effects of degraded sensors on overall positioning. Traditional methods often rely on manually set fixed thresholds or empirical rules for fault identification, such as determining failure when the number of LiDAR point clouds falls below a certain value. However, such simple rules cannot distinguish between normal fluctuations in sensor performance and substantial degradation, easily leading to false alarms or missed alarms. Furthermore, digital twin-based verification methods currently primarily serve offline analysis stages, such as using surveying data to construct 3D visualization models for planning simulations, without forming a closed-loop linkage with the real-time fusion positioning process. When structural changes occur in the actual physical scene, such as temporary construction, furniture rearrangement, or booth construction, the consistency between the pre-built geographic model and the real environment cannot be verified in real time, and map matching constraints become a source of positioning errors.
[0004] Therefore, there is an urgent need for a fusion positioning method with self-diagnosis, adaptive degradation and real-time digital twin verification capabilities, which can proactively provide early warnings in the early stages of sensor performance degradation, dynamically adjust fusion weights, and continuously verify and correct positioning results through a digital twin model, thereby ensuring the long-term reliable operation of mobile carriers in complex dynamic environments. Summary of the Invention
[0005] This invention addresses the technical problems existing in the prior art by providing a spatial computing fusion positioning method for mobile carriers, thereby resolving the issues raised in the background section.
[0006] The technical solution of this invention to solve the above-mentioned technical problems is as follows: specifically, it includes the following steps:
[0007] Step S1: Train a time-series autoencoder based on the historical normal operation data of each sensor carried on the mobile carrier, calculate the reconstruction error of the sensor data in the current observation window online and map it to the health status, determine the health status baseline, and generate the health status sequence and degradation rate.
[0008] Step S2: Dynamically adjust the observation noise covariance matrix of each sensor according to the health status to achieve adaptive tight coupling fusion. When the health status is lower than the preset degradation threshold, a soft state handover mechanism is used to achieve multi-level smooth degradation from full sensor tight coupling to partial sensor fusion and then to pure dead reckoning. Output the fused positioning result and the current fusion mode.
[0009] Step S3: Construct a digital twin using a pre-built geographic model, calculate the geometric consistency residual, semantic consistency residual, and constraint consistency residual between the fused positioning result and the digital twin, and map the weighted sum of the three to the twin credibility. When the twin credibility is lower than the preset credibility threshold, reverse correction is performed on the fused positioning result.
[0010] Step S4: Collect the health status sequence, degradation rate, twin confidence, and environmental parameters of the mobile carrier's environment to form a multidimensional degradation feature vector. Use a double exponential degradation model combined with a time-series prediction network to predict the remaining useful life of each sensor. Then, based on the prediction results, backfeed back and update the health status baseline in step S1, the observation noise covariance matrix in step S2, and the confidence threshold in step S3.
[0011] In a preferred embodiment, the specific operation of calculating the reconstruction error of the sensor data within the current observation window and mapping it to the health status in step S1 is as follows:
[0012] For each sensor, a temporal autoencoder based on a long short-term memory network structure is trained using historical normal operation data;
[0013] During the online operation phase, a sliding window of data with a preset window length is extracted and input into a time-series autoencoder to obtain reconstructed window data. The weighted cosine reconstruction error between the sensor data and the reconstructed data at each moment within the current observation window is calculated. When calculating the weighted cosine reconstruction error, the time decay weights of the sensor data and the reconstructed data are calculated first. The time decay weights decrease exponentially with the distance from the current moment at each moment.
[0014] Collect weighted cosine reconstruction error samples of each sensor under the most recent preset number of normal operating conditions. Use the Gaussian kernel function to perform probability density smoothing estimation on the weighted cosine reconstruction error samples to obtain the probability density distribution. Obtain the cumulative distribution function by integrating the probability density distribution from negative infinity to the current weighted cosine reconstruction error value. Extract the quantile level of the current weighted cosine reconstruction error in the cumulative distribution function. Use the natural constant exponent to perform exponential mapping on the result of multiplying the difference between the quantile level and one by a preset positive shape parameter. Use the mapping result as the health score, with the health score value between zero and one.
[0015] In a preferred embodiment, the specific operations for determining the health baseline and generating the health sequence and degradation rate in step S1 are as follows:
[0016] For each sensor, an iterative reweighted least squares method based on the Huber loss function is used to perform robust mean estimation on a preset number of health values. During the iteration process, the residual between each health value in the health sequence and the current robust mean estimate is calculated at each iteration. Weights are assigned according to the magnitude of the residuals. When the absolute value of the residual is less than or equal to the cutoff constant, the weight is set to one. When the absolute value of the residual is greater than the cutoff constant, the weight is set to the ratio of the cutoff constant to the absolute value of the residual. The cutoff constant is determined by multiplying the absolute deviation of the median of the health sequence by a preset coefficient. The robust mean estimate is continuously updated during the iteration process. The robust mean obtained after the iteration converges is the health baseline of the sensor. The health values of each sensor at all operating times are recorded to form a health sequence.
[0017] Take the most recent preset number of health values from the health value sequence, calculate the slope of the health value over time within the window through local linear regression, and use the slope as the degradation rate, with negative values indicating degradation and positive values indicating recovery.
[0018] In a preferred embodiment, step S2, specifically the operation of dynamically adjusting the observation noise covariance matrix of each sensor according to the health status, is as follows:
[0019] For each sensor, the current health value and degradation rate are obtained, and the error state iterative extended Kalman filter is used as the fusion framework. The state vector in the fusion framework includes the position, velocity, attitude of the mobile vehicle and sensor bias.
[0020] The adaptive scaling factor is calculated by taking the natural constant as the base, multiplying the health sensitivity coefficient by one and the difference between the health status and the degradation rate gain coefficient by the maximum value between the negative part of the degradation rate and zero, and then multiplying by the sampling time interval as the exponent. The adaptive scaling factor is obtained by performing an exponential operation, where the health sensitivity coefficient is a preset constant greater than zero and the degradation rate gain coefficient is a preset constant greater than zero.
[0021] The nominal observation noise covariance matrix of each sensor is multiplied by an adaptive scaling factor to obtain the adjusted observation noise covariance matrix, and then the observation residual covariance matrix and filter gain are calculated; all sensors are updated sequentially through iterative reweighting.
[0022] The output includes the fused localization result containing position, velocity, attitude and their covariance matrices; the output includes the current fusion mode including full sensor tight coupling mode, partial sensor fusion mode and pure dead reckoning mode; and the output includes the adaptive observation noise covariance matrix of each sensor.
[0023] In a preferred embodiment, step S2, when the health status is lower than a preset degradation threshold, involves a soft state handover mechanism to achieve a multi-level smooth degradation from tight coupling of all sensors to partial sensor fusion and then to pure dead reckoning. The specific operation is as follows:
[0024] Three fusion modes are defined: the first mode is full sensor tight coupling, in which all sensors participate in fusion; the second mode is partial sensor fusion, in which only sensors with a health level higher than a preset activation threshold participate in fusion; and the third mode is pure dead reckoning.
[0025] The first-level degradation factor and the second-level degradation factor are calculated. The calculation process of the first-level degradation factor is as follows: first, obtain the minimum value of the health of all sensors, multiply the first steepness coefficient by the difference between the degradation threshold and the minimum value as input, and then process it through the Sigmoid function to obtain the first-level degradation factor. The first steepness coefficient is a preset constant greater than zero, and the degradation threshold is a preset constant less than one.
[0026] The calculation process of the second-level degradation factor is as follows: First, count the number of active sensors with a health level higher than the activation threshold. Then, multiply the second steepness coefficient by the difference between the preset minimum number of sensors and the number of active sensors as input. Finally, process the second-level degradation factor through the Sigmoid function. The activation threshold is less than the degradation threshold, and the preset minimum number of sensors is a preset integer greater than zero.
[0027] The state estimates of the first mode, the second mode, and the third mode are convexly combined to obtain the final fused localization result. The calculation process of the convex combination is as follows: multiply the state estimate of the first mode by 1 and the difference between 1 and the first-level degradation factor, add the first-level degradation factor multiplied by the state estimate of the second mode multiplied by 1 and the difference between 1 and the second-level degradation factor, and add the state estimate of the third mode multiplied by the second-level degradation factor. The weight of the first mode is 1 minus the first-level degradation factor, the weight of the second mode is the first-level degradation factor multiplied by 1 minus the second-level degradation factor, and the weight of the third mode is the first-level degradation factor multiplied by the second-level degradation factor. Finally, the mode with the largest weight is determined as the current fused mode.
[0028] In a preferred embodiment, step S3, specifically calculating the geometric consistency residual, semantic consistency residual, and constraint consistency residual between the fused positioning result and the digital twin, involves the following steps:
[0029] First, a digital twin is constructed using a pre-built geographic model. During online operation, the location component is extracted from the fusion positioning result output in step S2, and a local sub-map with a preset radius around the current location is extracted from the geographic model. The local sub-map is incrementally updated by combining the lidar point cloud collected in real time by the lidar on the mobile vehicle in step S2 and the visual image collected in real time by the visual camera on the mobile vehicle. The digital twin is formed by updating the local sub-map using a weighted moving average.
[0030] Registration is performed between the LiDAR point cloud and the surface of the digital twin in the digital twin. The geometric consistency residual is calculated as follows: A truncation function is defined. When the input distance is less than or equal to a preset maximum allowable distance, the original distance value is output; when the input distance is greater than the preset maximum allowable distance, the preset maximum allowable distance is output. The preset maximum allowable distance is used to suppress the influence of outliers. The shortest Euclidean distance from each point in the LiDAR point cloud to the surface of the digital twin is calculated. Each shortest distance is input into the truncation function for processing. All processed values are summed and divided by the total number of points in the LiDAR point cloud to obtain the first term. The shortest Euclidean distance from each point on the surface of the digital twin to the LiDAR point cloud is calculated. Each shortest distance is input into the truncation function for processing. All processed values are summed and divided by the total number of points on the surface of the digital twin to obtain the second term. The first term and the second term are added together to obtain the geometric consistency residual.
[0031] The semantic segmentation results of the current visual image acquired in real time by a visual camera are mapped onto the semantic layer of the digital twin through projection transformation to obtain a predicted semantic map. The semantic consistency residual is calculated as follows: A semantic category set is established, including roads, buildings, and vehicles. A preset category weight is assigned to each category, with a first weight value assigned to static features (buildings) and a second weight value assigned to dynamic features (vehicles), where the first weight value is greater than the second weight value. For each semantic category, the number of intersection pixels and the number of union pixels between the semantic segmentation result of the current visual image and the predicted semantic map are calculated. The weighted intersection sum is obtained by multiplying the number of intersection pixels of each category by the preset category weight of that category and summing the results. The weighted union sum is obtained by multiplying the number of union pixels of each category by the preset category weight of that category and summing the results. The semantic consistency residual is obtained by subtracting the ratio of the weighted intersection sum to the weighted union sum.
[0032] Using the passable area boundaries and wall-blocking hard constraints contained in the digital twin, the constraint consistency residual is calculated. The calculation process is as follows: First, count the total number of hard constraints within the local sub-map of the preset radius around the current location; for each hard constraint, calculate the shortest distance from the fused positioning result to the hard constraint boundary; define the single constraint penalty function as an exponential decay function, which is calculated as follows: multiply the preset decay coefficient by the shortest distance and take the negative value as the exponent, and perform exponential operation with the natural constant as the base; when the shortest distance is positive, it indicates that the positioning result is inside the hard constraint, and the penalty value decreases exponentially with the distance; when the shortest distance is negative, it indicates that the positioning result passes through the hard constraint, and the penalty value increases exponentially with the negative distance; sum the penalty values of all hard constraints and divide by the total number of hard constraints to obtain the constraint consistency residual.
[0033] In a preferred embodiment, in step S3, the weighted sum of the three factors is mapped to a twin confidence level. When the twin confidence level is lower than a preset confidence threshold, the specific operation of reverse correction of the fused localization result is as follows:
[0034] The geometric consistency residual, semantic consistency residual, and constraint consistency residual are normalized to the interval between zero and one. The information entropy of each residual at the current time is calculated. The information entropy is calculated as follows: first, each residual is divided by the sum of the three residuals to obtain the proportion; then, the proportion is multiplied by the natural logarithm of the proportion; finally, the product is negative to obtain the information entropy of the residual. Then, the weight of each residual is calculated based on the information entropy. The weight is calculated as follows: subtract the information entropy of the residual from one, then divide by three and subtract the sum of the information entropies of the three residuals to obtain the weight of the residual; finally, the three residuals are multiplied by their respective weights and summed to obtain the comprehensive residual.
[0035] The composite residual is converted into twin confidence through exponential mapping. The twin confidence is obtained by multiplying the composite residual by the negative preset sensitivity coefficient with the natural constant as the base.
[0036] When the twin's confidence level falls below a preset confidence threshold, reverse correction is triggered. Reverse correction consists of two steps: The first step is observation noise amplification feedback, calculating the amplification factor. The amplification factor is calculated by taking the maximum value between the ratio of the preset confidence threshold to the twin's confidence level and one, and multiplying the amplification factor by the adjusted observation noise covariance matrix of the current dominant sensor from step S2. This further suppresses the current dominant sensor in the next fusion step, where the current dominant sensor is the one with the highest health and participates in the fusion. The second step is absolute pose correction, using global features in the digital twin to calculate the absolute pose through an iterative nearest-point algorithm or a perspective multipoint solver. The process of calculating the corrected positioning result is as follows: calculate the difference between one and the quotient of the twin's confidence level divided by the preset confidence threshold, multiply the absolute pose by this difference, and add the fusion positioning result multiplied by the twin's confidence level divided by the preset confidence threshold to obtain the corrected positioning result, achieving progressive correction. Finally, the twin's confidence level, the corrected fusion positioning result, and three types of consistency residuals are output.
[0037] In a preferred embodiment, step S4, which uses a double exponential degradation model combined with a time-series prediction network to predict the remaining useful life of each sensor, specifically involves the following steps:
[0038] For each sensor, the health status sequence segment is formed by obtaining the most recent fifty health status values from step S1, the degradation rate at the current moment is obtained from step S1, the twin reliability at the current moment is obtained from step S3, and the temperature, humidity and vibration amplitude values at the current moment are obtained from the temperature sensor, humidity sensor and accelerometer mounted on the mobile carrier to form an environmental parameter vector. The health status sequence segment, degradation rate, twin reliability and environmental parameter vector are sequentially spliced into a multidimensional degradation feature vector.
[0039] A dual-exponential degradation model is established. The calculation process of the dual-exponential degradation model is as follows: the predicted health is equal to the product of the mixing coefficient multiplied by the exponential operation result of the first-stage decay rate multiplied by time with the natural constant as the base, plus one minus the mixing coefficient and multiplied by the exponential operation result of the second-stage acceleration coefficient multiplied by the square of time with the natural constant as the base. The predicted health ranges from zero to one. The mixing coefficient is between zero and one and controls the contribution ratio of the two stages. When the mixing coefficient is close to one, the degradation is mainly dominated by the first stage. When the mixing coefficient is close to zero, the degradation is mainly dominated by the second stage. The first-stage decay rate is a constant greater than zero and controls the speed of early slow degradation. The second-stage acceleration coefficient is a constant greater than zero and controls the intensity of later accelerated degradation.
[0040] The parameters of the bi-exponential degradation model are identified by minimizing the weighted Huber loss between the historical health sequence and the predictions of the bi-exponential degradation model. The calculation process of the weighted Huber loss is as follows: For each time step in the historical health sequence, the residual between the actual health at that time and the predicted health of the bi-exponential degradation model at that time is calculated. The residual is substituted into the Huber loss function to obtain the loss value at that time. The loss value is multiplied by the time decay weight at that time and then summed to obtain the weighted Huber loss. The time decay weight is calculated by multiplying the time decay weight by the natural constant and the time decay coefficient. The time difference between the previous time and the current time is the result of an exponential operation, with a decay coefficient that is a constant greater than zero and makes recent data contribute more. The Huber loss function is calculated as follows: when the absolute value of the residual is less than or equal to a preset truncation threshold, half of the square of the residual is taken; when the absolute value of the residual is greater than the preset truncation threshold, the difference between the preset truncation threshold multiplied by the absolute value of the residual minus half of the preset truncation threshold is taken. The preset truncation threshold is a constant greater than zero. The parameter optimization adopts the Levenberg-Marquardt algorithm, with an upper limit of a preset number of iterations. The iteration terminates when the change in loss between two adjacent iterations is less than a preset convergence threshold.
[0041] In a preferred embodiment, step S4, which uses a double exponential degradation model combined with a time-series prediction network to predict the remaining useful life of each sensor, specifically involves the following steps:
[0042] A time series prediction network based on gated recurrent units is constructed. The time series prediction network includes an encoder and a decoder. The encoder consists of one layer of gated recurrent units and outputs a hidden state vector. The decoder consists of another layer of gated recurrent units. It uses the hidden state vector output by the encoder as the initial state and gradually generates the health prediction value for the next fifty steps. The output of each time step is mapped to a scalar health value through a fully connected layer.
[0043] The time series prediction network is trained using an offline pre-training and online fine-tuning strategy. In the offline stage, historical sensor degradation data is used for training, and quantile loss is used as the loss function. In the online stage, the time series prediction network is fine-tuned one step by using the most recent health sequence segment of the current sensor.
[0044] The predicted health values for future moments from the dual exponential degradation model are used as extrapolation results and adaptively fused with the output of the time series prediction network to obtain a comprehensive predicted health curve. Based on the comprehensive predicted health curve, the health values for the next fifty steps are extrapolated.
[0045] In a preferred embodiment, the specific operation of updating the health baseline in step S1, the observation noise covariance matrix in step S2, and the confidence threshold in step S3 based on the prediction results in step S4 is as follows:
[0046] Set a sensor failure threshold, and find the first time that the comprehensive predicted health is less than or equal to the sensor failure threshold based on the comprehensive predicted health curve. The remaining useful life is obtained by subtracting the found failure time from the current time. If the sensor failure threshold is not reached within fifty steps, the time when the comprehensive predicted health is equal to zero is used as the extrapolated failure time. The earlier of the found failure time and the extrapolated failure time is taken as the remaining useful life.
[0047] When the remaining useful life of any sensor is lower than the preset warning threshold, the number of health values used in the robust mean estimation in step S1 is reduced, while the preset coefficient in the Huber cutoff constant is increased.
[0048] Next, the observation noise covariance matrix in step S2 is updated based on the remaining useful lifetime. The update process is as follows: the default initial value of the health sensitivity coefficient in step S2 is set to three, the default initial value of the degradation rate gain coefficient is set to one, the zero constant for prevention is set to one hour, and the reference lifetime is set to five hundred hours; the quotient of the reference lifetime and the sum of the remaining useful lifetime and the zero constant for prevention is calculated, and the health sensitivity coefficient is updated to the default initial value of the health sensitivity coefficient multiplied by one plus the quotient, and the degradation rate gain coefficient is updated to the default initial value of the degradation rate gain coefficient multiplied by one plus the quotient; the shorter the remaining useful lifetime, the faster the scaling factor increases, and the earlier the sensor observation is suppressed;
[0049] Finally, based on the confidence threshold updated in the remaining useful life update step S3, the update process is as follows: set the initial value of the preset confidence threshold to 0.6, set the upper limit value of the preset confidence threshold to 0.9, and set the total number of sensors to the number of sensors participating in the fusion; calculate the sum of the quotients of the reference lifetime and each remaining useful lifetime plus the sum of the zero constants, and then divide it by the total number of sensors to get the result of the sum of the quotients divided by the total number of sensors; multiply the initial value of the preset confidence threshold by one and add the result of the sum of the quotients divided by the total number of sensors; take the minimum value between the obtained result and the preset upper limit value as the updated confidence threshold.
[0050] The beneficial effects of this invention are as follows: by real-time monitoring of sensor health and degradation rate, early degradation warning and adaptive fusion weight adjustment are achieved, avoiding misjudgment of manual thresholds; multi-level smooth degradation is completed with the help of a soft state handover mechanism to ensure positioning continuity; geometric, semantic and constraint consistency verification of positioning results is performed using a digital twin, and reverse correction is triggered by twin credibility to suppress map mismatch error; further, the remaining useful life is predicted and the health baseline, observation noise covariance matrix and credibility threshold are updated in reverse, forming a closed-loop self-healing capability, thereby ensuring the long-term reliable operation of the mobile carrier in complex dynamic environments. Attached Figure Description
[0051] Figure 1 This is a flowchart of the method of the present invention. Detailed Implementation
[0052] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0053] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0054] In the description of this application, the term "for example" is used to mean "used as an example, illustration, or description." Any embodiment described as "for example" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0055] Example 1: This example provides the following... Figure 1 The mobile carrier spatial computing fusion positioning method shown includes the following steps:
[0056] Step S1: Train a time-series autoencoder based on the historical normal operation data of each sensor carried on the mobile carrier, calculate the reconstruction error of the sensor data in the current observation window online and map it to the health status, determine the health status baseline, and generate the health status sequence and degradation rate.
[0057] Step S2: Dynamically adjust the observation noise covariance matrix of each sensor according to the health status to achieve adaptive tight coupling fusion. When the health status is lower than the preset degradation threshold, a soft state handover mechanism is used to achieve multi-level smooth degradation from full sensor tight coupling to partial sensor fusion and then to pure dead reckoning. Output the fused positioning result and the current fusion mode.
[0058] Step S3: Construct a digital twin using a pre-built geographic model, calculate the geometric consistency residual, semantic consistency residual, and constraint consistency residual between the fused positioning result and the digital twin, and map the weighted sum of the three to the twin credibility. When the twin credibility is lower than the preset credibility threshold, reverse correction is performed on the fused positioning result.
[0059] Step S4: Collect the health status sequence, degradation rate, twin confidence, and environmental parameters of the mobile carrier's environment to form a multidimensional degradation feature vector. Use a double exponential degradation model combined with a time-series prediction network to predict the remaining useful life of each sensor. Then, based on the prediction results, backfeed back and update the health status baseline in step S1, the observation noise covariance matrix in step S2, and the confidence threshold in step S3.
[0060] In this embodiment, it is specifically necessary to explain the following steps in step S1: calculating the reconstruction error of the sensor data within the current observation window online and mapping it to the health status.
[0061] First, for each sensor, a temporal autoencoder based on a long short-term memory network structure is trained using historical normal operation data. The temporal autoencoder reconstructs data by learning the time dependency patterns of the normal operation data, and the reconstruction error is within a preset range. The training process of the temporal autoencoder is as follows: data from the sensor during continuous normal operation is selected, with a data length of no less than 5000 sampling points; the network structure includes an encoder and a decoder. The encoder consists of two layers of long short-term memory networks, with 128 hidden units in each layer, and the decoder structure is symmetrical to the encoder. During training, mean squared error is used as the loss function, Adam is selected as the optimizer, the learning rate is set to 0.001, the batch size is 64, the training epochs are 100, and the early stopping mechanism terminates training when the validation loss does not decrease for 10 consecutive epochs; after training, if the average reconstruction error on the validation set is controlled within 0.05, it is considered to meet the preset range.
[0062] Then, during the online operation phase, at each sampling time, a sliding window of data with a preset window length is extracted and input into the time-series autoencoder to obtain reconstructed window data. The weighted cosine reconstruction error between the sensor data and the reconstructed data at each time point within the current observation window is calculated. When calculating the weighted cosine reconstruction error, the time decay weights of the sensor data and the reconstructed data are first calculated. These time decay weights decrease exponentially with the distance from the current time point. Then, the weighted vector inner product of the sensor data and the reconstructed data under the corresponding time decay weights is calculated. Subsequently, the weighted vector inner product of the sensor data and the reconstructed data is calculated. The weighted Euclidean norms of the sensor data and the reconstructed data are multiplied, and the square root is taken. Finally, the weighted cosine reconstruction error is obtained by subtracting the ratio of the inner product of the weighted vectors to the square root result. The preset window length is 50 sampling points, that is, the sliding window contains 50 consecutive data points including the current time and the previous time. The specific calculation method of the time decay weight is as follows: for the k-th data point in the window (k ranges from 1 to 50, where 1 represents the earliest time and 50 represents the current time), its weight is equal to the negative α of the natural constant e multiplied by 50 minus k in parentheses, where α is 0.1.
[0063] The calculation process of the weighted vector inner product is as follows: take the dot product of the sensor data vector at each time step within the window with the corresponding reconstructed data vector, multiply it by the time decay weight at that time step, and finally sum the product results at all time steps. The calculation process of the weighted Euclidean norm is as follows: first calculate the sum of squares of each element of the sensor data vector, then multiply it by the corresponding weight, sum it, and take the square root to obtain the weighted Euclidean norm of the sensor data; similarly calculate the weighted Euclidean norm of the reconstructed data; then multiply the two norms and take the square root; finally, subtract the ratio of the weighted vector inner product to the square root result from 1 to obtain the weighted cosine reconstruction error. The error ranges from 0 to 2, and the closer it is to 0, the better the reconstruction effect.
[0064] Next, weighted cosine reconstruction error samples of each sensor under the most recent preset number of normal operating conditions are collected. A probability density distribution is obtained by smoothing the probability density of these samples using a Gaussian kernel function. The cumulative distribution function is obtained by integrating the probability density distribution from negative infinity to the current weighted cosine reconstruction error value. The quantile level of the current weighted cosine reconstruction error in the cumulative distribution function is extracted. The difference between the quantile level and one is multiplied by a preset positive shape parameter using the natural constant exponent for exponential mapping. This mapping result is used as the health score, which ranges between zero and one. A higher health score indicates a more normal sensor condition, while a lower health score indicates more severe sensor degradation. The preset number is 200 normal operating conditions. The weighted cosine reconstruction error samples are collected from the last 200 sampling times when the sensor is in a normal state. The bandwidth of the Gaussian kernel density estimation is automatically determined using the Silverman rule, specifically, the bandwidth equals 0.9 multiplied by the sample standard deviation and then multiplied by the negative fifth power of the sample size. The probability density distribution is obtained by superimposing a Gaussian kernel function on each sample point and summing and normalizing. The cumulative distribution function is calculated using a numerical integration method, integrating the probability density distribution over the interval from negative infinity to the current weighted cosine reconstruction error value using the trapezoidal rule, with an integration step size of 0.001. The preset positive shape parameter is set to 5 to control the steepness of the exponential mapping; the larger this value, the higher the sensitivity of the health status to error changes.
[0065] In step S1, the specific operations for determining the health baseline and generating the health sequence and degradation rate are as follows:
[0066] First, for each sensor, an iterative reweighted least squares method based on the Huber loss function is used to robustly estimate the mean of a preset number of health values. During the iteration, the residual between each health value in the health sequence and the current robust mean estimate is calculated at each iteration. Weights are assigned according to the magnitude of the residuals: when the absolute value of the residual is less than or equal to the cutoff constant, the weight is set to one; when the absolute value of the residual is greater than the cutoff constant, the weight is set to the ratio of the cutoff constant to the absolute value of the residual. The cutoff constant is determined by multiplying the absolute deviation of the median of the health sequence by a preset coefficient. The robust mean estimate is continuously updated during the iteration. The robust mean obtained after the iteration converges is the sensor's health baseline. The health baseline is insensitive to abnormal fluctuations in the health sequence and can truly reflect the sensor's basic state. The preset number is set to... One hundred health scores are used, specifically the health scores from the most recent 100 sampling times, for robust mean estimation. The initial value for iteration is set to the median of the health score sequence. The calculation process for the absolute deviation of the median is as follows: first, calculate the absolute deviation of each value in the health score sequence from the median, and then take the median of these absolute deviations. The preset coefficient is set to 1.345, which is a constant corresponding to the 95% confidence interval under the standard normal distribution. This ensures that when the residuals follow a normal distribution, approximately 95% of the data points are assigned a weight of 1, while the weights of the remaining points are reduced. The convergence condition for the iteration is that the difference between the robust mean estimates of two adjacent iterations is less than 0.001. Each time the robust mean estimate is updated in an iteration, the current weights are used to perform a weighted average of the health score values. The weights are calculated using the Huber weight function. After iteration, convergence is usually achieved in no more than 20 iterations.
[0067] Then, the health value of each sensor at all running times is recorded to form a health value sequence. The health value sequence is stored in the form of an array, with each element corresponding to the health value at a sampling time. The sequence length increases with the running time, and the maximum number of health values stored is the health values of the most recent 10,000 sampling points. The earliest data is automatically discarded if the data exceeds this limit to ensure that memory usage is controllable.
[0068] Finally, for each sensor, the most recent preset number of health values are taken from the health value sequence. The slope of the health value over time within the window is calculated using local linear regression, and the slope is used as the degradation rate. The local linear regression is solved using ordinary least squares, with the time sequence number as the x-axis and the health value as the y-axis. The mean of the time sequence numbers is determined by subtracting one from the preset number and then dividing by two. The resulting slope is the degradation rate; a negative value indicates degradation, and a positive value indicates recovery. The preset number is 50 health values, meaning the health values from the most recent 50 sampling times are used for local linear regression. The solution process of ordinary least squares is as follows: first calculate the time... The slope is obtained by dividing the covariance of the time sequence number and the health value by the variance of the time sequence number. Specifically, the time sequence number starts from 0, with 0 corresponding to the earliest time and 49 corresponding to the current time. The mean of the time sequence number is 24.5. The covariance is calculated as follows: subtract the mean from each time sequence number, multiply by the corresponding health value minus the mean health value, sum the results, and divide by a preset quantity. The variance is calculated as follows: sum the squares of the subtraction of the mean from each time sequence number, and divide by a preset quantity. The slope is the covariance divided by the variance. The degradation rate is dimensionless and usually ranges from -0.1 to +0.1. The larger the absolute value, the faster the degradation or recovery.
[0069] In this embodiment, it is specifically necessary to explain the operation of dynamically adjusting the observation noise covariance matrix of each sensor according to the health status in step S2 as follows:
[0070] First, for each sensor, the current health value and degradation rate output in step S1 are obtained. An error state iterative extended Kalman filter is used as the fusion framework. The state vector in the fusion framework includes the position, velocity, attitude of the mobile vehicle, and sensor bias. The prediction step is driven by the inertial measurement unit and wheel speed odometer on the mobile vehicle. The update step receives observations from sensors on the mobile vehicle, such as lidar, vision camera, and global navigation satellite system. The initialization process of the error state iterative extended Kalman filter is as follows: the initial value of the state vector is determined by the static alignment when the mobile vehicle starts or the stored value before the last shutdown. The state covariance matrix is initialized as a diagonal matrix, and the diagonal elements of position and velocity are set to 0.1 m squared and 0. The parameters are set to 0.001 m / s², attitude angle to 0.001 radians², and sensor bias to 0.0001 corresponding unit squares. In the prediction step, the output frequency of the inertial measurement unit is 200 Hz, and the output frequency of the wheel speed odometer is 50 Hz. The two are aligned by timestamps and jointly drive the state prediction. The prediction process adopts the fourth-order Runge-Kutta integration method with an integration step size of 0.005 seconds. In the update step, the observation frequency of the lidar is 10 Hz, the observation frequency of the visual camera is 30 Hz, and the observation frequency of the global navigation satellite system is 5 Hz. Asynchronous updates are triggered when each sensor observation arrives. If multiple sensors arrive at the same time, they are processed in the order of priority: lidar, visual camera, and global navigation satellite system.
[0071] The adaptive scaling factor is calculated as follows: Using the natural constant as the base, the result of multiplying the health sensitivity coefficient by one (the difference between the health status and the actual health status), adding the degradation rate gain coefficient multiplied by the maximum value between the negative portion of the degradation rate and zero, and then multiplying by the sampling time interval, yields the adaptive scaling factor. The health sensitivity coefficient is a preset constant greater than zero, used to control the rate of noise amplification when the health status decreases. The degradation rate gain coefficient is also a preset constant greater than zero, used to amplify noise earlier when the degradation trend is obvious. The maximum value between the negative portion of the degradation rate and zero indicates that the value is taken only when the degradation rate is negative. The absolute value is used in the calculation, and zero is used when the degradation rate is non-negative. The sampling time interval is the duration of two consecutive samples. The recommended value for the health sensitivity coefficient is 3, and the recommended value for the degradation rate gain coefficient is 1. The sampling time interval is determined according to the actual frequency of sensor data acquisition. For example, when the fusion period is 0.01 seconds, the sampling time interval is 0.01 seconds. The calculated value of the adaptive scaling factor is usually between 1 and 100. When the health is 0.9 and the degradation rate is 0, the scaling factor is approximately 1.003. When the health is 0.1 and the degradation rate is -0.05, the scaling factor is approximately 1.028.
[0072] Then, the nominal observation noise covariance matrix of each sensor is multiplied by an adaptive scaling factor to obtain the adjusted observation noise covariance matrix. The process of calculating the observation residuals and their covariance matrices is as follows: multiply the observation Jacobian matrix by the predicted state covariance, then multiply by the transpose of the observation Jacobian matrix, and finally add the adjusted observation noise covariance matrix to obtain the observation residual covariance matrix. The observation residuals are then calculated. The calculation process of the observation residuals is as follows: subtract the observed value measured by the current sensor from the predicted observed value calculated by the observation model based on the predicted state to obtain the observation residual vector. The observation Jacobian matrix is obtained by taking the partial derivative of the state vector with respect to the observation model. For point cloud matching observation of LiDAR, the dimension of the Jacobian matrix is 3 x 15; for feature point observation of visual cameras, the dimension of the Jacobian matrix is 2 x 15; for position observation of the Global Navigation Satellite System, the dimension of the Jacobian matrix is 3 x 15; the dimension of the predicted state covariance matrix is 15 x 15, which is determined by the dimension of the state vector.
[0073] The process of calculating the filter gain is as follows: multiply the predicted state covariance by the transpose of the observation Jacobian matrix, and then multiply by the inverse of the observation residual covariance matrix to obtain the filter gain. Updates for all sensors are achieved through iterative reweighting. In each iteration, the observations of each sensor are processed sequentially, and the residuals of subsequent sensors are updated using the latest state estimate. When the health level approaches one and the degradation rate is non-negative, the adaptive scaling factor approaches one, and the adjusted observation noise covariance matrix maintains its nominal value. When the health level approaches zero or the degradation rate increases negatively, the adaptive scaling factor grows exponentially, naturally suppressing the sensor's contribution to the fusion without requiring hard removal. The specific implementation of iterative reweighting is as follows: set the maximum number of iterations to 3; in the first iteration, the observation residuals of all sensors are calculated based on the predicted state; in the second iteration… During iteration, the observation residuals and observation Jacobian matrices of all sensors are recalculated using the updated state after the first iteration; the third iteration follows the same process. In each iteration, the observations of each sensor are processed sequentially, arranged in descending order of sensor health, with the sensor with the highest health being updated first. The matrix inversion involved in the filter gain calculation is implemented using the Cholesky decomposition method to improve numerical stability. When the health is greater than 0.95 and the degradation rate is greater than or equal to 0, the adaptive scaling factor is between 1.0 and 1.1, and the adjusted observation noise covariance matrix is almost identical to the nominal value. When the health is less than 0.05 or the degradation rate is less than -0.1, the adaptive scaling factor exceeds 100, and the adjusted observation noise covariance matrix is much larger than the nominal value, meaning that the observations of this sensor are almost ineffective in the fusion process.
[0074] Finally, the system outputs a fused localization result containing position, velocity, attitude, and their covariance matrices. It also outputs the current fusion mode, including the full-sensor tightly coupled mode, the partial-sensor fusion mode, and the pure dead reckoning mode. The system further outputs the adaptive observation noise covariance matrix for each sensor. Position in the fused localization result is represented in three-dimensional coordinates in the Earth-fixed coordinate system, in meters. Velocity is represented in three-dimensional components in the carrier coordinate system, in meters per second. Attitude is represented as quaternions with a normalized modulus of 1. The covariance matrix is a 15x15 symmetric positive definite matrix, with diagonal elements corresponding to the uncertainties of each state component. The current fusion mode is output as an enumeration, for example, integers 0 for the full-sensor tightly coupled mode, 1 for the partial-sensor fusion mode, and 2 for the pure dead reckoning mode. The adaptive observation noise covariance matrix for each sensor is output as a list, with the dimension of each matrix matching the observation dimension of the corresponding sensor.
[0075] In step S2, when the health level is lower than the preset degradation threshold, the specific operation of achieving multi-level smooth degradation from tight coupling of all sensors to partial sensor fusion and then to pure dead reckoning through a soft state handover mechanism is as follows:
[0076] First, three fusion modes are defined: the first mode is full sensor tight coupling, where all sensors participate in fusion; the second mode is partial sensor fusion, where only sensors with a health level higher than a preset activation threshold participate in fusion; and the third mode is pure dead reckoning, which uses only the inertial measurement unit (IMU) and wheel speed odometry (WSO) for prediction, without external observation updates. The recommended value for the preset activation threshold is 0.15, meaning that a sensor is allowed to enter the partial sensor fusion mode only when its health level is greater than 0.15. In the full sensor tight coupling mode, all sensors participate in fusion regardless of their health level, but sensors with extremely low health levels contribute very little because the observation noise covariance matrix has been significantly amplified. In the pure dead reckoning mode, state prediction relies entirely on the integration of the IMU and WSO, with a prediction period of 0.005 seconds. No external observation updates are performed, and the positioning error accumulates over time, with a typical divergence rate of 5 meters per minute.
[0077] Then, the first-level degradation factor and the second-level degradation factor are calculated. The calculation process of the first-level degradation factor is as follows: First, obtain the minimum value of the health status of all sensors. Multiply the first steepness coefficient by the difference between the degradation threshold and the minimum value as input. Then, process it through the Sigmoid function to obtain the first-level degradation factor. The expression of the Sigmoid function is the reciprocal of the negative exponent of the natural constant with the natural constant as the base plus one. The first steepness coefficient is a preset constant greater than zero, and the degradation threshold is a preset constant less than one. When the minimum value is much greater than the degradation threshold, the first-level degradation factor approaches zero. When the minimum value is much less than the degradation threshold, the first-level degradation factor approaches one. The recommended value for the first steepness coefficient is 10, and the recommended value for the degradation threshold is 0. 0.3; The detailed calculation process of the Sigmoid function is as follows: First, calculate the negative of the input value, then perform an exponential operation on the negative of the input value with the natural constant e as the base, add 1 to the result, and finally take the reciprocal to obtain the first-level degradation factor; For example, when the minimum health value of all sensors is 0.8, the difference between the degradation threshold of 0.3 and the minimum value of 0.8 is -0.5, which is multiplied by the first steepness coefficient of 10 to get -5, and the Sigmoid function output is about 0.0067, and the first-level degradation factor approaches zero; when the minimum value is 0.1, the difference is 0.2, which is multiplied by 10 to get 2, and the Sigmoid function output is about 0.8808, and the first-level degradation factor approaches one; The value range of the first-level degradation factor is always between 0 and 1;
[0078] The calculation process for the second-level degradation factor is as follows: First, count the number of active sensors with a health level higher than the activation threshold. Multiply the second steepness coefficient by the difference between the preset minimum number of sensors and the number of active sensors as input. Then, process this value using the Sigmoid function to obtain the second-level degradation factor. The activation threshold is less than the degradation threshold, and the preset minimum number of sensors is a preset integer greater than zero. When the number of active sensors is greater than or equal to the preset minimum number of sensors, the second-level degradation factor approaches zero; when the number of active sensors is zero, the second-level degradation factor approaches one. The recommended value for the second steepness coefficient is 5, and the recommended value for the preset minimum number of sensors is 2. The recommended value is 0.15. The process of counting the number of active sensors is as follows: iterate through all sensors and count the sensors whose current health value is greater than 0.15. For example, when the number of active sensors is 3, the difference between the preset minimum number of sensors 2 and the number of active sensors 3 is -1. Multiplying this by the second steepness coefficient 5 gives -5, and the Sigmoid function output is approximately 0.0067, with the second-level degradation factor approaching zero. When the number of active sensors is 0, the difference is 2. Multiplying this by 5 gives 10, and the Sigmoid function output is approximately 0.99995, with the second-level degradation factor approaching one. The value range of the second-level degradation factor is always between 0 and 1.
[0079] Next, the state estimates of the first mode, the second mode, and the third mode are convexly combined to obtain the final fused localization result. The calculation process of the convex combination is as follows: multiply the state estimate of the first mode by 1 and the difference between it and the first-level degradation factor, add the first-level degradation factor multiplied by the difference between the state estimate of the second mode multiplied by 1 and the second-level degradation factor, and add the state estimate of the third mode multiplied by the second-level degradation factor. The weight of the first mode is 1 minus the first-level degradation factor, the weight of the second mode is the first-level degradation factor multiplied by 1 minus the second-level degradation factor, and the weight of the third mode is the first-level degradation factor multiplied by the second-level degradation factor. The three modes run in parallel, and the smooth combination of weights avoids any localization jumps caused by hard handovers. The specific implementation method of the parallel operation of the three modes is: within each fusion cycle, three independent modes run simultaneously. An independent error state iterative extended Kalman filter is used, with each filter using only sensor observations allowed by the corresponding mode. The first mode filter uses observations from all sensors; the second mode filter uses only observations from sensors with a health score greater than 0.15; and the third mode filter uses no external observations, only making predictions. The state estimates of the three filters all start with the same prediction step, but the update steps are different, so they each output different state estimates. In convex combination, the sum of the weights of the three state estimates is always equal to 1, ensuring the unbiasedness of the fusion result. For example, when the first-level degradation factor is 0.2 and the second-level degradation factor is 0.3, the weight of the first mode is 0.8, the weight of the second mode is 0.14, and the weight of the third mode is 0.06. The fusion result is mainly contributed by the first mode, while also containing a small amount of information from the second and third modes, achieving a smooth transition.
[0080] Finally, the mode with the highest weight is determined as the current fusion mode. The process for determining the current fusion mode is as follows: compare the weights of the first mode, the second mode, and the third mode, and take the mode corresponding to the maximum weight as the current fusion mode. The result of determining the current fusion mode is used to output to the upper-level control system. For example, when the weight of the first mode is the largest, it indicates that the overall health of the sensors is good and the system is in a state of tight coupling of all sensors. When the weight of the second mode is the largest, it indicates that some sensors have degraded and the system automatically degrades to a state of partial sensor fusion. When the weight of the third mode is the largest, it indicates that almost all sensors have failed and the system only relies on dead reckoning to maintain positioning. This mode information can be used to trigger maintenance alarms or change the operating strategy of the mobile vehicle, such as reducing the operating speed or returning to the charging station.
[0081] In this embodiment, it is specifically necessary to explain the specific operations in step S3 for calculating the geometric consistency residual, semantic consistency residual, and constraint consistency residual between the fused positioning result and the digital twin:
[0082] First, a digital twin is constructed using a pre-built geographic model. The geographic model includes a 3D point cloud map, a semantic label layer, and traversable area constraints. The semantic label layer includes roads, buildings, and vegetation, while the traversable area constraints include no-crossing-walls and speed-limited zones. During online execution, the location component is extracted from the fused positioning results output in step S2. A local sub-map with a preset radius around the current location is extracted from the geographic model. The local sub-map is incrementally updated using the LiDAR point cloud data collected in real-time by the LiDAR on the mobile vehicle and the visual images collected in real-time by the visual camera on the mobile vehicle, employing a weighted moving average as the update rule to avoid dynamic objects contaminating the static model, thus forming a digital twin. The preset radius is 50 meters, meaning that a 50-meter radius area centered on the current location is extracted from the geographic model. The local sub-image within the range; the update rule of the weighted moving average is as follows: each point cloud point in the digital twin maintains a cumulative weight value and a cumulative position value. When a new LiDAR point cloud arrives, for each new point, the nearest neighbor point is found in the digital twin. If the nearest neighbor distance is less than 0.2 meters, the coordinates of the new point are multiplied by the new point weight of 0.3 and the coordinates of the original point are multiplied by the original point weight of 0.7. At the same time, the cumulative weight is updated to the original weight plus 1. If the nearest neighbor distance is greater than or equal to 0.2 meters, the new point is added to the digital twin as a new point, and the initial weight is set to 1. The visual image is used to update the semantic label layer: the semantic segmentation result of the current visual image is mapped to the surface of the digital twin through projection transformation. The semantic label of each surface point is updated by voting. The voting window size is 5 frames, and the label with the highest frequency of occurrence is retained.
[0083] Then, the LiDAR point cloud and the surface of the digital twin are registered, and the geometric consistency residual is calculated. The calculation process of the geometric consistency residual is as follows: Define a truncation function. When the input distance is less than or equal to the preset maximum allowable distance, output the original distance value. When the input distance is greater than the preset maximum allowable distance, output the preset maximum allowable distance. The preset maximum allowable distance is used to suppress the influence of outliers. Calculate the shortest Euclidean distance from each point in the LiDAR point cloud to the surface of the digital twin. Input each shortest distance into the truncation function for processing. Sum all the processed values and divide by the total number of points in the LiDAR point cloud to obtain the first term. Calculate the shortest Euclidean distance from each point on the surface of the digital twin to the LiDAR point cloud. Input each shortest distance into the truncation function for processing. Sum all the processed values and divide by the total number of points on the surface of the digital twin to obtain the second term. Add the first term and the second term to obtain the geometric consistency residual. The geometric consistency residual ranges from zero to twice the preset maximum allowable distance. It is used to measure the bidirectional alignment degree between the LiDAR point cloud and the surface of the digital twin. The smaller the value, the better. Alignment should be as good as possible; the preset maximum allowable distance is 0.5 meters; the shortest Euclidean distance is calculated using a KD-tree for accelerated search, with a leaf node capacity of 10 points, prioritizing branches closer to the query point during the search; for each point in the LiDAR point cloud, the nearest neighbor is first found in the digital twin surface point cloud using a KD-tree, and the Euclidean distance is calculated; for each point on the digital twin surface, the nearest neighbor is also found in the LiDAR point cloud using a KD-tree; the specific implementation of the truncation function is as follows: if the input distance is less than... If the input distance is equal to 0.5 meters, output that distance value; if the input distance is greater than 0.5 meters, output 0.5 meters. Example calculation for the first term: Assume the lidar point cloud has 10,000 points, of which 9,000 points have a nearest distance less than 0.5 meters, with an average distance of 0.1 meters, and 1,000 points have a nearest distance greater than 0.5 meters, truncated to 0.5 meters. The first term would then be (9000 × 0.1 + 1000 × 0.5) / 10000 = 0.14 meters. The second term is calculated similarly. The geometric consistency residual is the sum of the two terms, in meters.
[0084] Next, the semantic segmentation results of the current visual image acquired in real time by the visual camera are mapped onto the semantic layer of the digital twin through projection transformation to obtain the predicted semantic map. The semantic consistency residual is then calculated. The calculation process for the semantic consistency residual is as follows: a semantic category set is established, containing roads, buildings, and vehicles. A preset category weight is assigned to each category in the semantic category set, with a first weight value assigned to static features (buildings) and a second weight value assigned to dynamic features (vehicles), where the first weight value is greater than the second weight value. For each semantic category, the number of intersection pixels and the number of union pixels between the semantic segmentation result of the current visual image and the predicted semantic map are calculated. The number of intersection pixels for each category is multiplied by the preset category weight of that category and then summed to obtain the weighted intersection sum. The number of union pixels for each category is then calculated. The weighted union sum is obtained by multiplying the values by the preset category weights of the category. The semantic consistency residual is obtained by subtracting the ratio of the weighted intersection sum to the weighted union sum from one. The semantic consistency residual ranges from zero to one, and the smaller the value, the higher the semantic consistency. In the preset category weights, the first weight value of the building category is 2.0, the second weight value of the vehicle category is 0.5, and the weight of the road category is 1.0. The semantic segmentation result of the current visual image is obtained through a pre-trained deep learning network. The network adopts the DeepLabV3+ architecture, with the backbone network being ResNet101. After pre-training on the Cityscapes dataset, it is fine-tuned using the labeled data of the scene where the mobile vehicle is located. During fine-tuning, the learning rate is set to 0.0001, the batch size is 8, and the training epochs are 50.
[0085] The projection transformation process is as follows: using the intrinsic parameter matrix (focal length, principal point coordinates) and extrinsic parameter matrix (rotation matrix, translation vector) of the visual camera, each pixel on the visual image is back-projected onto a three-dimensional spatial ray through the pinhole camera model, and then intersected with the surface of the digital twin to obtain the semantic label at the intersection point, thereby generating a predicted semantic map.
[0086] Example of calculating the weighted intersection sum: Assume the intersection pixels for the road category are 5000, and the union pixels are 8000; the intersection pixels for the building category are 3000, and the union pixels are 4000; the intersection pixels for the vehicle category are 200, and the union pixels are 1000. Then the weighted intersection sum is 5000×1.0+3000×2.0+200×0.5=5000+6000+100=11100; the weighted union sum is 8000×1.0+4000×2.0+1000×0.5=8000+8000+500=16500; the semantic consistency residual is 1-11100 / 16500≈0.3273.
[0087] Finally, using the passable area boundaries and wall-crossing hard constraints contained in the digital twin, the constraint consistency residual is calculated. The calculation process is as follows: First, count the total number of hard constraints within the local sub-map of the preset radius around the current location; for each hard constraint, calculate the shortest distance from the fused positioning result to the hard constraint boundary; define the single constraint penalty function as an exponential decay function, which is calculated as follows: multiply the preset decay coefficient by the shortest distance and take the negative value as the exponent, performing exponential operation with the natural constant as the base; when the shortest distance is positive, it indicates that the positioning result is inside the hard constraint, and the penalty value decreases exponentially with the distance; when the shortest distance is negative, it indicates that the positioning result passes through the hard constraint, and the penalty value increases exponentially with the distance increasing negatively; sum the penalty values of all hard constraints and divide by the total number of hard constraints to obtain the constraint consistency residual. The constraint consistency residual ranges from zero to one, with a smaller value indicating better constraint compliance; the preset decay coefficient is 5; the hard constraint boundary is represented as follows: each hard constraint is stored as a polygonal plane or line. Segment sets, such as prohibited wall passages, are stored as a series of triangular faces, while passable area boundaries are stored as closed polygons. The shortest distance is calculated using a signed distance algorithm between a point and a polygon: for a triangular face, first calculate the perpendicular projection of the point to the plane containing the triangle. If the projected point is inside the triangle, the distance is the length of the perpendicular line, and the sign is determined by the normal direction (positive inside, negative outside); if the projected point is outside the triangle, the distance is the distance to the nearest side of the triangle, and the sign is negative. Example of calculating the single-constraint penalty function: If... If the shortest distance is 0.2 meters (within the constraint), the penalty value is e^(-5×0.2)=e^(-1)≈0.3679; if the shortest distance is -0.1 meters (passing through the constraint), the penalty value is e^(5×0.1)=e^(0.5)≈1.6487; assuming there are 3 hard constraints in the local subgraph, with penalty values of 0.3679, 0.8187, and 1.6487 respectively, the constraint consistency residual is (0.3679+0.8187+1.6487) / 3≈0.9451;
[0088] In step S3, the weighted sum of the three factors is mapped to the twin confidence level. When the twin confidence level is lower than the preset confidence threshold, the specific operation of reverse correction of the fused localization result is as follows:
[0089] First, the geometric consistency residuals, semantic consistency residuals, and constraint consistency residuals are normalized to the interval between zero and one. The information entropy of each residual at the current time step is calculated. The information entropy is calculated as follows: first, divide each residual by the sum of the three residuals to obtain a proportion; then multiply the proportion by the natural logarithm of the proportion; finally, take the negative value of the product to obtain the information entropy of the residual. A higher information entropy indicates higher uncertainty in the residual and should be assigned a lower weight. Then, the weight of each residual is calculated based on the information entropy. The weight is calculated as follows: subtract the information entropy of the residual from one, then divide by three and subtract the sum of the information entropies of the three residuals to obtain the weight of the residual; multiply the three residuals by their respective weights. The weighted sums yield the comprehensive residuals. The specific method for normalizing to the zero-to-one interval is as follows: For geometric consistency residuals, since their theoretical maximum value is twice the preset maximum allowable distance (1.0 meter), simply divide by 1.0 meter. For semantic consistency and constraint consistency residuals, which are already in the zero-to-one interval, no additional processing is needed. The natural logarithm used in information entropy calculation has the natural constant e as its base. For example, assuming the normalized geometric residual is 0.28, the semantic residual is 0.33, and the constraint residual is 0.94, the sum of the three residuals is 1.55; the proportion of the geometric residual is 0.28 / 1.55 ≈ 0.1. 806, its natural logarithm ln(0.1806)≈-1.710, the product is 0.1806×(-1.710)=-0.3088, taking the negative value gives an information entropy of 0.3088; the semantic residual ratio is 0.33 / 1.55≈0.2129, ln(0.2129)≈-1.546, the product is -0.3291, taking the negative value gives 0.3291; the constraint residual ratio is 0.94 / 1.55≈0.6065, ln(0.6065)≈-0.4997, the product is -0.3030, taking the negative value gives 0.3030; the sum of the information entropies of the three is 0.9409; weighting... Calculate: Geometric residual weight = (1-0.3088) / (3-0.9409) = 0.6912 / 2.0591 ≈ 0.3357; Semantic residual weight = (1-0.3291) / 2.0591 = 0.6709 / 2.0591 ≈ 0.3258; Constraint residual weight = (1-0.3030) / 2.0591 = 0.6970 / 2.0591 ≈ 0.3385; Composite residual = 0.3357×0.28+0.3258×0.33+0.3385×0.94 ≈ 0.0940+0.1075+0.3182 = 0.5197;
[0090] Then, the composite residual is converted into twin confidence level through exponential mapping. The conversion process is as follows: using the natural constant as the base, the result of multiplying the composite residual by a negative preset sensitivity coefficient is used as the exponent, and exponential operation is performed to obtain the twin confidence level. The twin confidence level ranges from zero to one. When the composite residual approaches zero, the confidence level approaches one, and when the composite residual approaches one, the confidence level approaches zero. The preset sensitivity coefficient is 3. Example of exponential mapping calculation: Continuing from the previous example, if the composite residual is 0.5197, then the exponent is -3 × 0.5197 = -1.5591, and the twin confidence level = e^(-1.5591) ≈ 0.210; if the composite residual is 0.1, then the twin confidence level = e^(-0.3) ≈ 0.7408; if the composite residual is 0.9, then the twin confidence level = e^(-2.7) ≈ 0.0672.
[0091] Next, a preset confidence threshold is established. When the twin's confidence level falls below this threshold, reverse correction is triggered. This reverse correction consists of two steps: The first step involves observation noise amplification feedback, calculating an amplification factor. The amplification factor is calculated by taking the maximum value between the ratio of the preset confidence threshold to the twin's confidence level and one, and multiplying the amplification factor by the adjusted observation noise covariance matrix of the current dominant sensor from step S2. This further suppresses the current dominant sensor in the next fusion step, where the current dominant sensor is the one with the highest health and participates in the fusion. The second step is absolute pose correction. The absolute pose is calculated using global features in the digital twin through an iterative nearest-point algorithm or a perspective multipoint solver. The process for calculating the corrected positioning result is as follows: the difference between one and the quotient of the twin's confidence level divided by the preset confidence threshold is calculated. The absolute pose is multiplied by this difference, and then the fused positioning result is multiplied by the quotient of the twin's confidence level divided by the preset confidence threshold to obtain the corrected positioning result, achieving a gradual improvement. Formula correction; the preset confidence threshold is set to 0.6; calculation example of the amplification factor: if the twin confidence is 0.21, then the ratio of the preset confidence threshold to the twin confidence is 0.6 / 0.21≈2.857, compared with 1, the maximum value of 2.857 is taken, that is, the amplification factor is 2.857; multiply the amplification factor by the adjusted observation noise covariance matrix of the current dominant sensor in step S2, which is equivalent to amplifying the observation noise by 2.857 times, so that the sensor contributes less in the fusion at the next moment; in absolute pose correction, the specific implementation of the iterative nearest point algorithm is as follows: take the current fusion positioning result as the initial pose, register the lidar point cloud with the global feature point cloud (such as building corner points, road signs) in the digital twin, in each iteration, first find the nearest neighbor pair, and then solve the optimal rotation and translation through singular value decomposition, the upper limit of the number of iterations is set to 20, and stop when the pose change between two iterations is less than 0.01 meters and 0.001 radians;
[0092] The specific implementation of the perspective multi-point solver is as follows: extract ORB feature points from the visual image, match them with the 3D feature points in the digital twin, requiring at least 4 sets of matching point pairs, solve the camera pose through direct linear transformation, and then use the Levenberg-Marquardt algorithm for nonlinear optimization, with the optimization objective being to minimize the sum of squared reprojection errors.
[0093] Example of calculating the corrected positioning result: If the twin confidence level is 0.21 and the preset confidence threshold is 0.6, then the twin confidence level divided by the preset confidence threshold is 0.21 / 0.6=0.35, and the difference is 1-0.35=0.65; Assuming the absolute pose is (10,20,30) meters and the fused positioning result is (9.8,19.5,29.2) meters, then the corrected positioning result is 0.65×(10,20,30)+0.35×(9.8,19.5,29.2)=(6.5+3.43,13+6.825,19.5+10.22)=(9.93,19.825,29.72) meters;
[0094] Finally, the output includes the twin confidence score, the corrected fusion localization result, and three types of consistency residuals. The output twin confidence score is a floating-point number between 0 and 1, for example, 0.21. The corrected fusion localization result is a structure containing position, velocity, attitude, and their covariance matrices. The position unit is meters, the velocity unit is meters per second, and the attitude is represented by quaternions. The three types of consistency residuals are geometric consistency residual (unit: meters), semantic consistency residual (dimensionless), and constraint consistency residual (dimensionless), which are used in step S4 to construct the multidimensional degenerate feature vector. All output data are timestamped with millisecond precision to ensure synchronization with the data in steps S2 and S4.
[0095] In this embodiment, it is specifically necessary to explain the following steps in step S4: the specific operation of using a double exponential degradation model combined with a time-series prediction network to predict the remaining useful life of each sensor is as follows:
[0096] First, for each sensor, the most recent fifty health values are obtained from step S1 to form a health sequence segment. The degradation rate at the current moment is obtained from step S1, and the twin reliability at the current moment is obtained from step S3. The temperature, humidity, and vibration amplitude values at the current moment are obtained from the temperature sensor, humidity sensor, and accelerometer mounted on the mobile carrier to form an environmental parameter vector. The health sequence segment, degradation rate, twin reliability, and environmental parameter vector are sequentially concatenated to form a multidimensional degradation feature vector. The multidimensional degradation feature vector has a dimension of fifty plus five, where the five dimensions consist of one dimension of degradation rate, one dimension of twin reliability, and three dimensions of environmental parameter vector. The multidimensional degradation feature vector contains the historical degradation trajectory. The data includes current degradation rate, global positioning reliability, and environmental stress information; the temperature sensor uses a platinum resistance thermometer with a measurement range of -40°C to 85°C and an accuracy of ±0.5°C; the humidity sensor uses a capacitive polymer thin-film sensor with a measurement range of 0% to 100% relative humidity and an accuracy of ±3%; the accelerometer uses a microelectromechanical system (MEMS) triaxial accelerometer with a measurement range of ±16 times gravitational acceleration, a resolution of 0.001 mg, and an output frequency of 100 Hz; the temperature, humidity, and vibration amplitude values in the environmental parameter vector are all instantaneous sampled values at the current moment, and the vibration amplitude value is the root mean square value of the triaxial sum acceleration of the accelerometer.
[0097] Then, a double-exponential degradation model is established. This model assumes that the degradation process of sensor health consists of an early, slow degradation stage and a later, accelerated degradation stage. The calculation process of the double-exponential degradation model is as follows: the predicted health is equal to the product of the mixing coefficient multiplied by the exponential operation of the first-stage attenuation rate multiplied by time (with the natural constant as the base), plus one minus the mixing coefficient, and then multiplied by the exponential operation of the second-stage acceleration coefficient multiplied by the square of time (with the natural constant as the base). The predicted health value ranges from zero to one, and the mixing coefficient is between zero and one, controlling the contribution ratio of the two stages. When the mixing coefficient is close to one, degradation is mainly dominated by the first stage; when the mixing coefficient is close to zero, degradation is mainly dominated by the second stage. The first-stage attenuation rate is a constant greater than zero, controlling the speed of the early, slow degradation, while the second-stage acceleration coefficient is a constant greater than zero, controlling the intensity of the later, accelerated degradation. Specific calculation example of the model: Assuming a mixing coefficient of 0.3, a first-stage decay rate of 0.002 per hour, a second-stage acceleration coefficient of 0.0001 per hour squared, and a time of 100 hours, then the first-stage exponential term is the natural constant e^(-0.002) multiplied by 100, which equals e^(-0.2), approximately 0.8187. Multiplying this by the mixing coefficient of 0.3 yields 0.2456. The second-stage exponential term is the natural constant e^(-0.0001) multiplied by 1... 0 to the power of 0 equals e to the power of -1, approximately 0.3679. Multiplying this by one and subtracting the mixing coefficient of 0.7 gives 0.2575. The predicted health is 0.2456 plus 0.2575, which equals 0.5031. As time approaches infinity, the predicted health approaches zero. The initial value of the mixing coefficient is set to 0.5, the initial value of the first-stage decay rate is set to 0.001 per hour, and the initial value of the second-stage acceleration coefficient is set to the square of 0.00005 per hour.
[0098] Next, the parameters of the bi-exponential degradation model are identified by minimizing the weighted Huber loss between the historical health sequence and the prediction of the bi-exponential degradation model. The calculation process of the weighted Huber loss is as follows: For each time step in the historical health sequence, the residual between the actual health at that time and the predicted health of the bi-exponential degradation model at that time is calculated. The residual is substituted into the Huber loss function to obtain the loss value at that time. The loss value is multiplied by the time decay weight at that time and then summed to obtain the weighted Huber loss. The time decay weight is calculated by multiplying the current time by the time decay coefficient with the natural constant as the base and the time decay coefficient at that time by the time decay coefficient at that time. The difference is calculated as the result of an exponential operation of the exponent, with a decay coefficient that is a positive-zero constant and maximizes the contribution of recent data. The Huber loss function is calculated as follows: when the absolute value of the residual is less than or equal to a preset truncation threshold, half the square of the residual is taken; when the absolute value of the residual is greater than the preset truncation threshold, the difference is taken as the preset truncation threshold multiplied by the absolute value of the residual minus half the preset truncation threshold. The preset truncation threshold is a positive-zero constant and robust to outlier residuals. Parameter optimization uses the Levenberg-Marquardt algorithm with a preset upper limit of iterations, terminating when the change in loss between two consecutive iterations is less than a preset convergence threshold. The decay coefficient is set to 0.0. 1. Weight historical data further removed from the current time point is reduced; the preset truncation threshold is set to 0.05, meaning that squared loss is used when the absolute value of the residual is less than or equal to 0.05, and linear loss is used when it is greater than 0.05; the specific iterative steps of the Levenberg-Marquardt algorithm are as follows: First, initialize the parameter vector with a mixing coefficient of 0.5, a first-stage decay rate of 0.001, and a second-stage acceleration coefficient of 0.00005; Second, calculate the weighted Huber loss value under the current parameters; Third, calculate the Jacobian matrix of the loss function with respect to each parameter. The elements of the Jacobian matrix are approximated using the finite difference method, and the perturbation... The step size is set to 0.001; the fourth step is to calculate the initial value of the damping factor as 0.01, construct the augmented normal equation, and solve for the parameter update amount; the fifth step is to add the parameter update amount to the current parameter to obtain the new parameter, and recalculate the loss value; the sixth step is to accept the update and divide the damping factor by ten if the new loss value is less than the old loss value, otherwise reject the update and multiply the damping factor by ten; the seventh step is to repeat the second to sixth steps until the loss change between two adjacent steps is less than the preset convergence threshold of 0.000001 or the number of iterations reaches the upper limit of thirty; after the parameter optimization is completed, the identified mixing coefficient, the first stage decay rate and the second stage acceleration coefficient are output;
[0099] In step S4, the specific operation of predicting the remaining useful life of each sensor using a double exponential degradation model combined with a time-series prediction network is as follows:
[0100] First, a temporal prediction network based on gated recurrent units is constructed. The network consists of an encoder and a decoder. The encoder comprises one layer of gated recurrent units with 64 hidden units, input dimensions set to the dimension of the multidimensional degenerate feature vector, and outputs the hidden state vector of the last time step. The decoder comprises another layer of gated recurrent units, using the hidden state vector output by the encoder as the initial state, and progressively generating health prediction values for the next 50 steps. The output of each time step is mapped to a scalar health value through a fully connected layer. The internal computation process of the gated recurrent unit is as follows: at each time step, the multidimensional degenerate feature vector of the current time step and the hidden state vector of the previous time step are input, and information flow is controlled by a reset gate and an update gate. The reset gate is calculated by multiplying the input vector by the input weight matrix and adding the previous time step value. The hidden state is multiplied by the cyclic weight matrix, plus the bias vector, and activated by the Sigmoid function to obtain the reset gate output; the calculation of the update gate is similar; the calculation of the candidate hidden state is as follows: the input vector is multiplied by the input weight matrix, plus the reset gate output multiplied by the previous hidden state multiplied by the cyclic weight matrix, plus the bias vector, and activated by the hyperbolic tangent function to obtain the candidate hidden state; the final hidden state is equal to the update gate output multiplied by the previous hidden state plus one minus the update gate output multiplied by the candidate hidden state; the fully connected layer maps the hidden state vector to a scalar health value, the weight matrix has a dimension of 64 rows and 1 column, and the bias is a scalar; the total number of parameters of the temporal prediction network is approximately 64 times the input dimension plus 64 times 64 plus 64, for an input dimension of 55, the total number of parameters is approximately 18,000;
[0101] Then, the time series prediction network was trained using an offline pre-training and online fine-tuning strategy. In the offline stage, historical sensor degradation data was used for training, and quantile loss was used as the loss function to provide the prediction uncertainty range. In the online stage, the time series prediction network was fine-tuned in one step using the most recent health sequence segment of the current sensor, updating only the parameters of the fully connected layers. The historical sensor degradation data used for offline pre-training came from the complete life test data of the same model of sensor under different operating conditions, totaling one thousand degradation trajectories. Each trajectory contained continuous sampling points from a health level of 0.95 to 0.05, with a sampling interval of one hour.
[0102] The quantile loss calculation process is as follows: The quantile level is set to 0.5, which is the predicted median. For each prediction step, the difference between the actual health level and the predicted health level is calculated. If the difference is positive, the loss is equal to the quantile level multiplied by the difference; if the difference is negative, the loss is equal to one minus the absolute value of the quantile level multiplied by the difference. The average of the sums of the losses from all prediction steps is taken as the batch loss. The optimizer uses Adam, with a learning rate of 0.001, a batch size of 32, and 200 training rounds. The early stopping mechanism terminates when the verification loss does not decrease for 20 consecutive rounds. During online fine-tuning, the most recent 50 health values from the current sensor are taken as the input sequence and input into the time series prediction network to obtain the predicted health level for the next step. The quantile loss is calculated relative to the actual health level. Only the weights and biases of the fully connected layers are updated, the learning rate is reduced to 0.0001, and the number of fine-tuning steps is one round.
[0103] Next, the predicted health values for future time points from the bi-exponential degradation model are used as extrapolated results and adaptively fused with the output of the time-series prediction network to obtain a comprehensive predicted health curve. The adaptive fusion calculation process is as follows: calculate the mean squared residual of the bi-exponential model within a preset recent window, calculate the mean squared residual of the time-series prediction network within the preset recent window, and calculate the fusion weight, which is equal to the sum of the mean squared residuals of the time-series prediction network and the sum of the mean squared residuals of the bi-exponential model and the time-series prediction network. When the mean squared residual of the bi-exponential model is less than the mean squared residual of the time-series prediction network, the fusion weight approaches one; otherwise, the fusion weight approaches zero. The comprehensive predicted health is calculated as the fusion weight multiplied by the extrapolated result of the bi-exponential degradation model plus one minus the fusion weight multiplied by the output of the time-series prediction network. The length of the preset recent window is set to ten time steps. The calculation of the mean squared residuals is as follows. The process is as follows: Take the difference between the actual health score of the last ten time points and the predicted health score of the bi-exponential model at the same time point, sum the squares, and then divide by ten; the calculation process for the predicted mean square residual is as follows: Take the difference between the actual health score of the last ten time points and the predicted health score of the time series prediction network at the same time point, sum the squares, and then divide by ten; Example of calculating the fusion weight: Assuming the mean square residual of the bi-exponential model is 0.0012 and the mean square residual of the time series prediction network is 0.0035, then the fusion weight is equal to 0.0035 divided by the sum of 0.0012 and 0.0035, which equals 0.7447. The comprehensive predicted health score is equal to 0.7447 multiplied by the extrapolation result of the bi-exponential model plus 0.2553 multiplied by the output of the time series prediction network; when the mean square residual of the bi-exponential model is much smaller than the mean square residual of the time series prediction network, the fusion weight approaches one, and the comprehensive predicted health score is mainly determined by the bi-exponential model; the opposite is also true.
[0104] Finally, the health value for the next fifty steps is extrapolated based on the comprehensive predicted health curve, providing a basis for subsequent calculation of remaining useful life.
[0105] In step S4, the specific operations for backfeeding and updating the health baseline in step S1, the observation noise covariance matrix in step S2, and the confidence threshold in step S3 based on the prediction results are as follows:
[0106] First, the sensor failure threshold is set to 0.1. Based on the comprehensive predicted health curve, the first moment when the comprehensive predicted health is less than or equal to the sensor failure threshold is found. The remaining useful life is calculated by subtracting the found failure moment from the current moment. If the sensor failure threshold is not reached within fifty steps, the moment when the comprehensive predicted health equals zero is used as the extrapolated failure moment. The earlier of the found failure moment and the extrapolated failure moment is taken as the remaining useful life. The moment when the comprehensive predicted health equals zero is calculated using a bisection method. First, the left boundary of the search interval is set as... Add 50 steps to the current time, and the right boundary is the current time plus 10,000 steps; calculate the comprehensive prediction health corresponding to the left and right boundaries. If the health of the left boundary is greater than zero and the health of the right boundary is less than zero, then the binary search condition is satisfied; the iterative process is as follows: take the midpoint of the interval, calculate the health of the midpoint. If the health of the midpoint is greater than zero, update the left boundary to the midpoint; otherwise, update the right boundary to the midpoint. Repeat the iteration until the interval width is less than zero by one step; finally, take the midpoint of the interval as the extrapolation failure time; if the health is always greater than zero throughout the entire search interval, then set the extrapolation failure time to the current time plus 10,000 steps;
[0107] Then, when the remaining useful life of any sensor falls below a preset warning threshold, indicating accelerated sensor degradation, the number of health values used for robust mean estimation in step S1 is reduced from the default one hundred to the maximum of 20 and 100 multiplied by the remaining useful life divided by the reference life, where the reference life is 500 hours. Simultaneously, the preset coefficient in the Huber truncation constant is increased from 1.345 to 1.5 to tolerate greater residual fluctuations. The preset warning threshold is set to one hundred hours. Calculation example: If the remaining useful life is eighty hours, then one hundred multiplied by eighty divided by five hundred equals sixteen, and the maximum value between twenty and sixteen is twenty, so the number of health values is updated to twenty. If the remaining useful life is three hundred hours, then one hundred multiplied by three hundred divided by five hundred equals sixty, and the maximum value between twenty and sixty is sixty, so the number of health values is updated to sixty. After increasing the preset coefficient in the Huber truncation constant from 1.345 to 1.5, the truncation constant is equal to 1.5 multiplied by the median absolute deviation of the health sequence, causing more residuals to fall into the linear region and reducing the impact of outliers on robust mean estimation.
[0108] Next, based on the remaining useful life, the observation noise covariance matrix in step S2 is updated. The update process is as follows: the default initial value of the health sensitivity coefficient in step S2 is set to three, the default initial value of the degradation rate gain coefficient is set to one, the zero constant for prevention is set to one hour, and the reference life is set to five hundred hours; the quotient of the reference life and the sum of the remaining useful life and the zero constant for prevention is calculated, and the health sensitivity coefficient is updated to the default initial value of the health sensitivity coefficient multiplied by one plus the quotient, and the degradation rate gain coefficient is updated to the default initial value of the degradation rate gain coefficient multiplied by one plus the quotient; the remaining... The shorter the useful lifetime, the faster the scaling factor increases, and the earlier sensor observations are suppressed. Calculation example: If the remaining useful lifetime is eighty hours, then the sum of the reference lifetime of five hundred divided by eighty plus one equals five hundred divided by eighty, which is approximately 6.17. The health sensitivity coefficient is updated to three times one plus six.17, which equals three point five hundred. The degradation rate gain coefficient is updated to one times one plus six.17, which equals seven point one seven hundred. The updated health sensitivity coefficient and degradation rate gain coefficient will be used in the next fusion cycle for the adaptive scaling factor calculation in step S2, further amplifying the observation noise covariance matrix.
[0109] Finally, based on the remaining useful lifetime, the confidence threshold in step S3 is updated. The update process is as follows: the initial value of the preset confidence threshold is set to 0.6, the upper limit of the preset threshold is set to 0.9, and the total number of sensors is set to the number of sensors participating in the fusion; the sum of the quotients of the reference lifetime and each remaining useful lifetime plus a small constant excluding zero is calculated, and then divided by the total number of sensors to obtain the result of the sum of quotients divided by the total number of sensors; the initial value of the preset confidence threshold is multiplied by one and added to the result of the sum of quotients divided by the total number of sensors; the minimum value between the obtained result and the preset upper limit is taken as the updated confidence threshold; when the lifetimes of multiple sensors are relatively short, the threshold is increased more, prompting step S3 to perform reverse correction more frequently; calculation example: assuming there are three sensors, the remaining useful lifetimes are... The remaining useful lives are 80 hours, 120 hours, and 200 hours respectively; the reference life is 500 hours, minus a zero constant of 1 hour; the first sensor quotient is 500 divided by 81, approximately equal to 6.17; the second sensor quotient is 500 divided by 121, approximately equal to 4.13; the third sensor quotient is 500 divided by 201, approximately equal to 2.49; the sum of the quotients is 12.79, which, divided by 3, gives 4.26; the initial value of the preset confidence threshold is 0.6 multiplied by 1 plus 4.26, equaling 3.156, which is compared with the preset upper limit value of 0.9 and the minimum value of 0.9 is taken, so the updated confidence threshold is 0.9; if all sensors have a long remaining useful life, for example, all greater than 500 hours, then the sum of the quotients is less than 3, and the updated confidence threshold may still remain around 0.6;
[0110] All updates take effect at the current moment and apply to the next fusion cycle, achieving closed-loop adaptation.
[0111] It should be noted that the descriptions of each embodiment in the above embodiments have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0112] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0113] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0114] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0115] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0116] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.
[0117] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A spatial computing fusion positioning method for mobile carriers, characterized in that, Specifically, the steps include the following: Step S1: Train a time-series autoencoder based on the historical normal operation data of each sensor carried on the mobile carrier, calculate the reconstruction error of the sensor data in the current observation window online and map it to the health status, determine the health status baseline, and generate the health status sequence and degradation rate. Step S2: Dynamically adjust the observation noise covariance matrix of each sensor according to the health status to achieve adaptive tight coupling fusion. When the health status is lower than the preset degradation threshold, a soft state handover mechanism is used to achieve multi-level smooth degradation from full sensor tight coupling to partial sensor fusion and then to pure dead reckoning. Output the fused positioning result and the current fusion mode. Step S3: Construct a digital twin using a pre-built geographic model, calculate the geometric consistency residual, semantic consistency residual, and constraint consistency residual between the fused positioning result and the digital twin, and map the weighted sum of the three to the twin credibility. When the twin credibility is lower than the preset credibility threshold, reverse correction is performed on the fused positioning result. Step S4: Collect the health status sequence, degradation rate, twin confidence, and environmental parameters of the mobile carrier's environment to form a multidimensional degradation feature vector. Use a double exponential degradation model combined with a time-series prediction network to predict the remaining useful life of each sensor. Then, based on the prediction results, backfeed back and update the health status baseline in step S1, the observation noise covariance matrix in step S2, and the confidence threshold in step S3.
2. The mobile carrier spatial computing fusion positioning method according to claim 1, characterized in that: In step S1, the specific operation of calculating the reconstruction error of the sensor data within the current observation window and mapping it to the health status is as follows: For each sensor, a temporal autoencoder based on a long short-term memory network structure is trained using historical normal operation data; During the online operation phase, a sliding window of data with a preset window length is extracted and input into a time-series autoencoder to obtain reconstructed window data. The weighted cosine reconstruction error between the sensor data and the reconstructed data at each moment within the current observation window is calculated. When calculating the weighted cosine reconstruction error, the time decay weights of the sensor data and the reconstructed data are calculated first. The time decay weights decrease exponentially with the distance from the current moment at each moment. Collect weighted cosine reconstruction error samples of each sensor under the most recent preset number of normal operating conditions. Use the Gaussian kernel function to perform probability density smoothing estimation on the weighted cosine reconstruction error samples to obtain the probability density distribution. Obtain the cumulative distribution function by integrating the probability density distribution from negative infinity to the current weighted cosine reconstruction error value. Extract the quantile level of the current weighted cosine reconstruction error in the cumulative distribution function. Use the natural constant exponent to perform exponential mapping on the result of multiplying the difference between the quantile level and one by a preset positive shape parameter. Use the mapping result as the health score, with the health score value between zero and one.
3. The mobile carrier spatial computing fusion positioning method according to claim 2, characterized in that: In step S1, the specific operations for determining the health baseline and generating the health sequence and degradation rate are as follows: For each sensor, an iterative reweighted least squares method based on the Huber loss function is used to perform robust mean estimation on a preset number of health values. During the iteration process, the residual between each health value in the health sequence and the current robust mean estimate is calculated at each iteration. Weights are assigned according to the size of the residuals. When the absolute value of the residual is less than or equal to the cutoff constant, the weight is set to one. When the absolute value of the residual is greater than the cutoff constant, the weight is set to the ratio of the cutoff constant to the absolute value of the residual. The cutoff constant is determined by multiplying the absolute deviation of the median of the health sequence by a preset coefficient. The robust mean estimate is continuously updated during the iteration process. The robust mean obtained after the iteration converges is the health baseline of the sensor. Record the health status value of each sensor at all operating times to form a health status sequence; Take the most recent preset number of health values from the health value sequence, calculate the slope of the health value over time within the window through local linear regression, and use the slope as the degradation rate, with negative values indicating degradation and positive values indicating recovery.
4. The mobile carrier spatial computing fusion positioning method according to claim 3, characterized in that: In step S2, the specific operation of dynamically adjusting the observation noise covariance matrix of each sensor according to the health status is as follows: For each sensor, the current health value and degradation rate are obtained, and the error state iterative extended Kalman filter is used as the fusion framework. The state vector in the fusion framework includes the position, velocity, attitude of the mobile vehicle and sensor bias. The adaptive scaling factor is calculated by taking the natural constant as the base, multiplying the health sensitivity coefficient by one and the difference between the health status and the degradation rate gain coefficient by the maximum value between the negative part of the degradation rate and zero, and then multiplying by the sampling time interval as the exponent. The adaptive scaling factor is obtained by performing an exponential operation, where the health sensitivity coefficient is a preset constant greater than zero and the degradation rate gain coefficient is a preset constant greater than zero. The nominal observation noise covariance matrix of each sensor is multiplied by an adaptive scaling factor to obtain the adjusted observation noise covariance matrix, and then the observation residual covariance matrix and filter gain are calculated; all sensors are updated sequentially through iterative reweighting. The output includes the fused localization result containing position, velocity, attitude and their covariance matrices; the output includes the current fusion mode including full sensor tight coupling mode, partial sensor fusion mode and pure dead reckoning mode; and the output includes the adaptive observation noise covariance matrix of each sensor.
5. The mobile carrier spatial computing fusion positioning method according to claim 4, characterized in that: In step S2, when the health level is lower than the preset degradation threshold, the specific operation of achieving multi-level smooth degradation from tight coupling of all sensors to partial sensor fusion and then to pure dead reckoning through a soft state handover mechanism is as follows: Three fusion modes are defined: the first mode is full sensor tight coupling, in which all sensors participate in fusion; the second mode is partial sensor fusion, in which only sensors with a health level higher than a preset activation threshold participate in fusion; and the third mode is pure dead reckoning. The first-level degradation factor and the second-level degradation factor are calculated. The calculation process of the first-level degradation factor is as follows: first, obtain the minimum value of the health of all sensors, multiply the first steepness coefficient by the difference between the degradation threshold and the minimum value as input, and then process it through the Sigmoid function to obtain the first-level degradation factor. The first steepness coefficient is a preset constant greater than zero, and the degradation threshold is a preset constant less than one. The calculation process of the second-level degradation factor is as follows: First, count the number of active sensors with a health level higher than the activation threshold. Then, multiply the second steepness coefficient by the difference between the preset minimum number of sensors and the number of active sensors as input. Finally, process the second-level degradation factor through the Sigmoid function. The activation threshold is less than the degradation threshold, and the preset minimum number of sensors is a preset integer greater than zero. The state estimates of the first mode, the second mode, and the third mode are convexly combined to obtain the final fused localization result. The calculation process of the convex combination is as follows: multiply the state estimate of the first mode by 1 and the difference between 1 and the first-level degradation factor, add the first-level degradation factor multiplied by the state estimate of the second mode multiplied by 1 and the difference between 1 and the second-level degradation factor, and add the state estimate of the third mode multiplied by the second-level degradation factor. The weight of the first mode is 1 minus the first-level degradation factor, the weight of the second mode is the first-level degradation factor multiplied by 1 minus the second-level degradation factor, and the weight of the third mode is the first-level degradation factor multiplied by the second-level degradation factor. Finally, the mode with the largest weight is determined as the current fused mode.
6. The mobile carrier spatial computing fusion positioning method according to claim 5, characterized in that: In step S3, the specific operations for calculating the geometric consistency residual, semantic consistency residual, and constraint consistency residual between the fused positioning result and the digital twin are as follows: First, a digital twin is constructed using a pre-built geographic model. During online operation, the location component is extracted from the fusion positioning result output in step S2, and a local sub-map with a preset radius around the current location is extracted from the geographic model. The local sub-map is incrementally updated by combining the lidar point cloud collected in real time by the lidar on the mobile vehicle in step S2 and the visual image collected in real time by the visual camera on the mobile vehicle. The digital twin is formed by updating the local sub-map using a weighted moving average. Registration is performed between the LiDAR point cloud and the surface of the digital twin in the digital twin. Geometric consistency residuals are calculated. The calculation process is as follows: A truncation function is defined. When the input distance is less than or equal to a preset maximum allowable distance, the original distance value is output. When the input distance is greater than the preset maximum allowable distance, the preset maximum allowable distance is output. The preset maximum allowable distance is used to suppress the influence of outliers. The shortest Euclidean distance from each point in the LiDAR point cloud to the surface of the digital twin is calculated. Each shortest distance is input into the truncation function for processing. All processed values are summed and divided by the total number of points in the LiDAR point cloud to obtain the first term. Calculate the shortest Euclidean distance from each point on the surface of the digital twin to the lidar point cloud, input each shortest distance into the truncation function for processing, sum all the processed values and divide by the total number of points on the surface of the digital twin to obtain the second term; Adding the first term to the second term yields the geometrically consistent residual; The semantic segmentation results of the current visual image acquired in real time by the visual camera are mapped onto the semantic layer of the digital twin through projection transformation to obtain the predicted semantic map. The semantic consistency residual is calculated. The calculation process of the semantic consistency residual is as follows: a semantic category set is established, which includes roads, buildings and vehicles. A preset category weight is assigned to each category in the semantic category set. The first weight value is assigned to static features of the building category, and the second weight value is assigned to dynamic objects of the vehicle category. The first weight value is greater than the second weight value. For each semantic category, calculate the number of intersection pixels and the number of union pixels between the semantic segmentation result of the current visual image and the predicted semantic map; The weighted intersection sum is obtained by multiplying the number of intersection pixels of each category by the preset category weight and summing the results. The weighted union sum is obtained by multiplying the number of union pixels of each category by the preset category weight and summing the results. The semantic consistency residual is obtained by subtracting the ratio of the weighted intersection sum to the weighted union sum. Using the passable area boundaries and wall-blocking hard constraints contained in the digital twin, the constraint consistency residual is calculated. The calculation process is as follows: First, count the total number of hard constraints within the local sub-map of the preset radius around the current location; for each hard constraint, calculate the shortest distance from the fused positioning result to the hard constraint boundary; define the single constraint penalty function as an exponential decay function, which is calculated as follows: multiply the preset decay coefficient by the shortest distance and take the negative value as the exponent, and perform exponential operation with the natural constant as the base; when the shortest distance is positive, it indicates that the positioning result is inside the hard constraint, and the penalty value decreases exponentially with the distance; when the shortest distance is negative, it indicates that the positioning result passes through the hard constraint, and the penalty value increases exponentially with the negative distance; sum the penalty values of all hard constraints and divide by the total number of hard constraints to obtain the constraint consistency residual.
7. The mobile carrier spatial computing fusion positioning method according to claim 6, characterized in that: In step S3, the weighted sum of the three values is mapped to the twin confidence level. When the twin confidence level is lower than the preset confidence threshold, the specific operation of reverse correction of the fused localization result is as follows: The geometric consistency residual, semantic consistency residual, and constraint consistency residual are normalized to the interval between zero and one. The information entropy of each residual at the current time is calculated. The information entropy is calculated as follows: first, each residual is divided by the sum of the three residuals to obtain the proportion; then, the proportion is multiplied by the natural logarithm of the proportion; finally, the product is negative to obtain the information entropy of the residual. Then, the weight of each residual is calculated based on the information entropy. The weight is calculated as follows: subtract the information entropy of the residual from one, then divide by three and subtract the sum of the information entropies of the three residuals to obtain the weight of the residual; finally, the three residuals are multiplied by their respective weights and summed to obtain the comprehensive residual. The composite residual is converted into twin confidence through exponential mapping. The twin confidence is obtained by multiplying the composite residual by the negative preset sensitivity coefficient with the natural constant as the base and performing exponential operation. When the twin's confidence level falls below a preset confidence threshold, reverse correction is triggered. Reverse correction consists of two steps: The first step is observation noise amplification feedback, calculating the amplification factor. The amplification factor is calculated by taking the maximum value between the ratio of the preset confidence threshold to the twin's confidence level and one, and multiplying the amplification factor by the adjusted observation noise covariance matrix of the current dominant sensor from step S2. This further suppresses the current dominant sensor in the next fusion step, where the current dominant sensor is the one with the highest health and participates in the fusion. The second step is absolute pose correction, using global features in the digital twin to calculate the absolute pose through an iterative nearest-point algorithm or a perspective multipoint solver. The process of calculating the corrected positioning result is as follows: calculate the difference between one and the quotient of the twin's confidence level divided by the preset confidence threshold, multiply the absolute pose by this difference, and add the fusion positioning result multiplied by the twin's confidence level divided by the preset confidence threshold to obtain the corrected positioning result, achieving progressive correction. Finally, the twin's confidence level, the corrected fusion positioning result, and three types of consistency residuals are output.
8. The mobile carrier spatial computing fusion positioning method according to claim 7, characterized in that: In step S4, the specific operation of predicting the remaining useful life of each sensor using a double exponential degradation model combined with a time-series prediction network is as follows: For each sensor, the health status sequence segment is formed by obtaining the most recent fifty health status values from step S1, the degradation rate at the current moment is obtained from step S1, the twin reliability at the current moment is obtained from step S3, and the temperature, humidity and vibration amplitude values at the current moment are obtained from the temperature sensor, humidity sensor and accelerometer mounted on the mobile carrier to form an environmental parameter vector. The health status sequence segment, degradation rate, twin reliability and environmental parameter vector are sequentially spliced into a multidimensional degradation feature vector. A dual-exponential degradation model is established. The calculation process of the dual-exponential degradation model is as follows: the predicted health is equal to the product of the mixing coefficient multiplied by the exponential operation result of the first-stage decay rate multiplied by time with the natural constant as the base, plus one minus the mixing coefficient and multiplied by the exponential operation result of the second-stage acceleration coefficient multiplied by the square of time with the natural constant as the base. The predicted health ranges from zero to one. The mixing coefficient is between zero and one and controls the contribution ratio of the two stages. When the mixing coefficient is close to one, the degradation is mainly dominated by the first stage. When the mixing coefficient is close to zero, the degradation is mainly dominated by the second stage. The first-stage decay rate is a constant greater than zero and controls the speed of early slow degradation. The second-stage acceleration coefficient is a constant greater than zero and controls the intensity of later accelerated degradation. The parameters of the bi-exponential degradation model are identified by minimizing the weighted Huber loss between the historical health sequence and the predictions of the bi-exponential degradation model. The calculation process of the weighted Huber loss is as follows: For each time step in the historical health sequence, the residual between the actual health at that time and the predicted health of the bi-exponential degradation model at that time is calculated. The residual is substituted into the Huber loss function to obtain the loss value at that time. The loss value is multiplied by the time decay weight at that time and then summed to obtain the weighted Huber loss. The time decay weight is calculated by multiplying the time decay weight by the natural constant and the time decay coefficient. The time difference between the previous time and the current time is the result of an exponential operation, with a decay coefficient that is a constant greater than zero and makes recent data contribute more. The Huber loss function is calculated as follows: when the absolute value of the residual is less than or equal to a preset truncation threshold, half of the square of the residual is taken; when the absolute value of the residual is greater than the preset truncation threshold, the difference between the preset truncation threshold multiplied by the absolute value of the residual minus half of the preset truncation threshold is taken. The preset truncation threshold is a constant greater than zero. The parameter optimization adopts the Levenberg-Marquardt algorithm, with an upper limit of a preset number of iterations. The iteration terminates when the change in loss between two adjacent iterations is less than a preset convergence threshold.
9. A mobile carrier spatial computing fusion positioning method according to claim 8, characterized in that: In step S4, the specific operation of predicting the remaining useful life of each sensor using a double exponential degradation model combined with a time-series prediction network is as follows: A time series prediction network based on gated recurrent units is constructed. The time series prediction network includes an encoder and a decoder. The encoder consists of one layer of gated recurrent units and outputs a hidden state vector. The decoder consists of another layer of gated recurrent units. It uses the hidden state vector output by the encoder as the initial state and gradually generates the health prediction value for the next fifty steps. The output of each time step is mapped to a scalar health value through a fully connected layer. The time series prediction network is trained using an offline pre-training and online fine-tuning strategy. In the offline stage, historical sensor degradation data is used for training, and quantile loss is used as the loss function. In the online stage, the time series prediction network is fine-tuned one step by using the most recent health sequence segment of the current sensor. The predicted health values for future moments from the dual exponential degradation model are used as extrapolation results and adaptively fused with the output of the time series prediction network to obtain a comprehensive predicted health curve. Based on the comprehensive predicted health curve, the health values for the next fifty steps are extrapolated.
10. A mobile carrier spatial computing fusion positioning method according to claim 9, characterized in that: In step S4, the specific operations for backfeeding and updating the health baseline in step S1, the observation noise covariance matrix in step S2, and the confidence threshold in step S3 based on the prediction results are as follows: Set a sensor failure threshold, find the first time that the comprehensive predicted health is less than or equal to the sensor failure threshold based on the comprehensive predicted health curve, and calculate the remaining useful life by subtracting the found failure time from the current time. If the sensor failure threshold is not reached within fifty steps, the time when the comprehensive predicted health is zero is used as the extrapolated failure time, and the earlier of the found failure time and the extrapolated failure time is taken as the remaining useful life. When the remaining useful life of any sensor is lower than the preset warning threshold, the number of health values used in the robust mean estimation in step S1 is reduced, while the preset coefficient in the Huber cutoff constant is increased. Next, the observation noise covariance matrix in step S2 is updated based on the remaining useful lifetime. The update process is as follows: the default initial value of the health sensitivity coefficient in step S2 is set to three, the default initial value of the degradation rate gain coefficient is set to one, the zero constant for prevention is set to one hour, and the reference lifetime is set to five hundred hours; the quotient of the reference lifetime and the sum of the remaining useful lifetime and the zero constant for prevention is calculated, and the health sensitivity coefficient is updated to the default initial value of the health sensitivity coefficient multiplied by one plus the quotient, and the degradation rate gain coefficient is updated to the default initial value of the degradation rate gain coefficient multiplied by one plus the quotient; the shorter the remaining useful lifetime, the faster the scaling factor increases, and the earlier the sensor observation is suppressed; Finally, based on the remaining useful life update step S3, the update process is as follows: set the initial value of the preset confidence threshold to 0.6, set the preset upper limit value to 0.9, and set the total number of sensors to the number of sensors participating in the fusion. Calculate the sum of the quotients of the reference lifetime and each remaining useful lifetime plus the zero constant, then divide by the total number of sensors to get the result of the sum of quotients divided by the total number of sensors. Multiply the preset initial value of the confidence threshold by one and add the result of the sum of quotients divided by the total number of sensors. Take the minimum value between the result and the preset upper limit value as the updated confidence threshold.
