A tunnel train high-precision continuous positioning method and device

By constructing a scene classification perception model and an adaptive ranging correction model, and using ultra-wideband signals to perform fine-grained scene classification and error compensation in tunnels, the positioning accuracy problem caused by weak satellite signals and multipath effects in tunnels was solved, and high-precision tunnel train positioning was achieved.

CN123145682APending Publication Date: 2026-11-20SOUTHWEST JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611052864.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-15
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Satellite navigation signals are weak or unavailable inside tunnels, and the superposition of ultra-wideband signals via multiple paths in tunnels leads to large ranging errors. Existing methods are insufficient to meet the requirements for high-precision positioning.

Method used

A scene classification perception model is constructed using ultra-wideband two-way ranging values ​​and channel feature parameters. Multiple heterogeneous expert classifiers are used for probability prediction to generate fine-grained tunnel semantic scene classification results. The positioning accuracy is improved through feature contribution analysis and adaptive ranging correction model.

Benefits of technology

It enables fine-grained differentiation of different structural scenarios within tunnels, reduces ranging errors, and improves the continuous positioning accuracy and stability of tunnel trains.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123145682A_ABST
    Figure CN123145682A_ABST
Patent Text Reader

Abstract

The application provides a tunnel train high-precision continuous positioning method and device, relates to the tunnel train positioning technical field, and comprises the following steps: collecting ultra-wideband two-way ranging values and channel characteristic parameters to construct samples; using multiple heterogeneous expert classifiers to perform probability prediction, optimizing global fusion weights through a fold-out prediction strategy, and combining category adaptive weights and uncertainty generated based on prediction margins and information entropy to perform dynamic fusion, outputting classification results and confidence of six types of fine-grained tunnel semantic scenes; using a feature contribution analysis model to obtain global contribution degrees of each input feature; constructing a scene adaptive ranging correction model again, generating compensated ultra-wideband distances according to the classification results, the confidence, the global contribution degrees and the samples; and finally inputting the compensated distances into a continuous positioning solution model to obtain train position estimation results. The application effectively reduces ranging deviation and positioning error in a complex tunnel environment, and improves the precision and stability of train continuous positioning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of tunnel train positioning technology, and more specifically, to a method and apparatus for high-precision continuous positioning of tunnel trains. Background Technology

[0002] Train positioning in tunnels requires continuous acquisition of the train's position, but satellite navigation signals cannot be reliably received inside tunnels. Ultra-wideband (UWB) technology, due to its high temporal resolution and strong multipath resistance, is considered a viable alternative. However, the narrow, enclosed space of tunnels and the strong wall reflections mean that UWB signals still experience multipath superposition during propagation, leading to a significant increase in ranging errors. Existing research mainly focuses on coarse-grained channel state identification, but this level of granularity cannot distinguish between straight and curved tunnels, the inside and outside of curves, or whether the base station is near or far from the wall—all scenarios directly related to ranging errors. More importantly, existing methods often handle channel state identification and ranging error correction separately, making it difficult to meet engineering requirements for positioning accuracy in complex tunnel environments. Summary of the Invention

[0003] The purpose of this invention is to provide a high-precision continuous positioning method and apparatus for tunnel trains to improve the aforementioned problems. To achieve the above objective, the technical solution adopted by this invention is as follows: Firstly, this application provides a high-precision continuous positioning method for tunnel trains, including: Collect ultra-wideband two-way ranging values ​​and channel characteristic parameters in a tunnel environment, and use the ultra-wideband two-way ranging values ​​and channel characteristic parameters as input features to construct several samples; A scene classification perception model is constructed. The scene classification perception model uses multiple heterogeneous expert classifiers to predict the probability of each sample, and generates a fine-grained classification result of the tunnel semantic scene and the classification confidence corresponding to the classification result. The contribution of input features in the samples to the fine-grained tunnel semantic scene classification is analyzed using a feature contribution analysis model to obtain the global contribution of the input features. Construct a scene adaptive ranging correction model, and input the classification results, classification confidence, global contribution and samples into the scene adaptive ranging correction model to generate the compensated ultrawideband distance; The ultra-wideband distance is input into the continuous positioning solution model to calculate the continuous position estimation result of the tunnel train.

[0004] Secondly, this application also provides a high-precision continuous positioning device for tunnel trains, comprising: The data acquisition module is used to collect ultra-wideband two-way ranging values ​​and channel characteristic parameters in a tunnel environment, and to construct several samples using the ultra-wideband two-way ranging values ​​and channel characteristic parameters as input features. The scene classification module is used to construct a scene classification perception model. The scene classification perception model uses multiple heterogeneous expert classifiers to predict the probability of each sample, and generates a fine-grained classification result of the tunnel semantic scene and the classification confidence corresponding to the classification result. The contribution analysis module is used to analyze the contribution of input features in the sample to the fine-grained tunnel semantic scene classification using a feature contribution analysis model, and to obtain the global contribution of the input features. The ranging correction module is used to construct a scene adaptive ranging correction model. The classification results, classification confidence, global contribution, and samples are input into the scene adaptive ranging correction model to generate the compensated ultrawideband distance. The positioning solution module is used to input the ultra-wideband distance into the continuous positioning solution model and calculate the continuous position estimation result of the tunnel train.

[0005] Thirdly, this application also provides a high-precision continuous positioning device for tunnel trains, comprising: Memory, used to store computer programs; A processor is used to implement the steps of the high-precision continuous positioning method for tunnel trains when executing the computer program.

[0006] Fourthly, this application also provides a readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described high-precision continuous positioning method for tunnel trains.

[0007] The beneficial effects of this invention are as follows: 1. This invention, through fine-grained classification of six scenarios—straight far wall, straight near wall, curved outer far wall, curved outer near wall, curved inner far wall, and curved inner near wall—can distinguish the differences in signal propagation under different tunnel structures, and thus more effectively analyze the sources of ranging errors in various scenarios.

[0008] 2. This invention employs multiple heterogeneous expert classifiers for parallel processing and optimizes the global fusion weights for each classifier using an out-of-place prediction strategy, avoiding overfitting caused by information leakage. Based on this, class-adaptive weights are constructed according to the classification performance of each classifier across different scene categories, allowing classifiers with better performance to receive higher decision weights. Simultaneously, the uncertainty of samples is quantified by calculating the prediction margin and information entropy, and the contribution ratio of global fusion and class-adaptive fusion is dynamically adjusted based on the uncertainty, making the classification results for boundary samples more reliable.

[0009] Other features and advantages of the invention will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing embodiments of the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description

[0010] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0011] Figure 1 This is a schematic diagram of the high-precision continuous positioning method for tunnel trains as described in an embodiment of the present invention; Figure 2 This is a confusion matrix diagram of the classification results of the training set and the test set as described in this embodiment of the invention; Figure 3 This is a contribution analysis diagram of the key features described in the embodiments of the present invention; Figure 4 This is a comparison diagram of ranging compensation and continuous positioning error described in the embodiments of the present invention; Figure 5 This is a schematic diagram of the high-precision continuous positioning device for tunnel trains as described in an embodiment of the present invention; Figure 6 This is a schematic diagram of the high-precision continuous positioning device for tunnel trains as described in an embodiment of the present invention.

[0012] Marked in the image: 800. High-precision continuous positioning equipment for tunnel trains; 801. Processor; 802. Memory; 803. Multimedia components; 804. I / O interface; 805. Communication components. Detailed Implementation

[0013] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0014] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this invention, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0015] Example 1: This embodiment provides a high-precision continuous positioning method for tunnel trains, which is applicable to narrow spatial scenarios with weak or unavailable satellite navigation signals, significant multipath reflections, and high positioning accuracy requirements, such as railway tunnels, subway sections, mine roadways, and underground utility tunnels.

[0016] See Figure 1 The figure illustrates this method: S1. Collect ultra-wideband two-way ranging values ​​and channel characteristic parameters in a tunnel environment, and construct several samples using the ultra-wideband two-way (UWB) ranging values ​​and UWB channel characteristic parameters as input features; In this embodiment, at each moment of a preset time period, a two-way ranging is performed between a specific location in the tunnel and an ultra-wideband base station to obtain a set of ultra-wideband two-way ranging values ​​and channel characteristic parameters as a sample.

[0017] The ultra-wideband two-way (UWB) ranging value is used to characterize the raw distance observation results under the current propagation environment; The UWB channel characteristic parameters are extracted from CIR and received signal statistics and are used to characterize the impact of the tunnel propagation environment on the UWB signal. Specifically, the UWB channel characteristic parameters include at least: (1) First diameter characterization parameters: first diameter arrival index, first first diameter amplitude, second first diameter amplitude, third first diameter amplitude; (2) Energy characterization parameters: channel impulse response power, received preamble accumulation; (3) Noise statistical parameters: maximum noise amplitude, noise standard deviation; Specifically, step S1 includes: S11. Obtain the spatial position of the train in the tunnel and the position of the ultra-wideband base station, and calculate the true distance label of each sample based on the spatial position and the position of the ultra-wideband base station; In this embodiment, the Euclidean distance between the spatial location and the location of the ultra-wideband base station is calculated and used as the true distance label of the sample.

[0018] S12. Determine the fine-grained tunnel semantic scene to which each sample belongs based on the tunnel structure and the position of the base station relative to the wall, and use the determined scene category as the tunnel scene label of the sample; Specifically, the location of the train in a straight tunnel or a curved tunnel is determined based on the geometry of the track; the location of the train inside or outside the curve is determined based on the direction of the curve radius; and the distance between the ultra-broadband base station and the tunnel wall is determined based on the installation location of the ultra-broadband base station.

[0019] Based on the above classification rules, the tunnel scenes where the train is located are divided into six categories: straight tunnel far wall scene, straight tunnel near wall scene, curved outer far wall scene, curved outer near wall scene, curved inner far wall scene, and curved inner near wall scene. The determined scene category is used as the tunnel scene label for the sample.

[0020] In this embodiment, a layered annotation method is used to divide the tunnel scene. Specifically, let the first layer be... i The relative position labels of the wall surfaces of each sample are as follows: The line structure label is The lateral position label of the curve is .in , ,when At this point, the lateral position of the curve is no longer distinguished. The final scene label can be represented as:

[0021] in, Represents the scene combination mapping function. This indicates the final six categories of tunnel scene labels.

[0022] Therefore, each sample includes at least ;in, Indicates the first The UWB channel feature vector of each sample Indicates the first TWR ranging values ​​for each sample, Indicates the first The tunnel scene label corresponding to each sample Indicates the first The true distance corresponding to each sample.

[0023] S13. Concatenate the ultra-wideband two-way ranging values ​​and channel feature parameters in each sample to form a sample feature vector; for the first... For each sample, its feature vector is: ; In the formula, For the first The feature vector of each sample Indicates the first TWR ranging values ​​for each sample, For first-path arrival index; , , These are the first diameter amplitude, the second diameter amplitude, and the third diameter amplitude, respectively. Indicates the channel impulse response power; Indicates the accumulated amount of received preamble; This represents the maximum noise amplitude. Indicates the standard deviation of noise; Indicates the first The UWB channel feature vector of each sample.

[0024] S14. To eliminate the dimensional differences between features, Z-score standardization is performed on the feature vector of each sample. For the The first sample The original features, and their standardized results are as follows:

[0025] in, Represents the standardized features. Indicates the first The first sample One original feature value; and They represent the first and second training sets, respectively. j The mean and standard deviation of each feature; To prevent extremely small constants with a denominator of zero.

[0026] Preferably, the sample feature vector is preprocessed, including: (1) Delete samples or features with missing values; (2) When the received preamble accumulation Below the reference preamble accumulation When the preset ratio is reached, the corresponding sample is treated as an anomaly and removed. Specifically, the preset ratio threshold satisfies... In this embodiment, the preset ratio threshold is 0.5; It can be determined by the statistical median of the valid samples on site, the nominal value of the equipment, or the manually calibrated samples.

[0027] Furthermore, the collected samples are randomly divided into a training set and a test set in a 7:3 ratio, with the training set used for model training and the test set used for performance evaluation.

[0028] Based on the above embodiments, this method further includes: S2. Construct a scene classification perception model, wherein the scene classification perception model uses multiple heterogeneous expert classifiers to perform probability prediction for each sample, and generates a fine-grained classification result of the tunnel semantic scene and the classification confidence corresponding to the classification result; This embodiment trains a scene classification and perception model on a labeled training set. The model consists of multiple heterogeneous expert classifiers and their fusion mechanism. The training process aims to learn the optimal global fusion weights, class-adaptive weights, and gating fusion rules. After training, a fusion classification function for six-class fine-grained tunneled semantic scene classification of new samples is obtained. The specific training process includes: S21. Utilize multiple heterogeneous expert classifiers to output the probability of each sample belonging to each type of scene; In this embodiment, the scene classification and perception model includes four heterogeneous expert classifiers: a radial basis function (RBF) support vector machine, a k-nearest neighbor (KNN) classifier, and a 4-dimensional vector machine. m 3: Random Forest (RF) and Bagged Trees; among them, SVM-RBF is good at handling nonlinear boundaries; KNN is sensitive to local neighborhood structure; RF is robust to feature perturbations; Bagged Trees can reduce the variance of a single tree.

[0029] Improving the fusion complementarity through model heterogeneity is beneficial for the stable identification of multi-morphological samples in complex tunnel scenarios.

[0030] For any sample , No. The class probability vectors output by the base classifiers are: ; In the formula, For class probability vectors, For the first A base classifier judges the sample Belongs to the The probability of similar scenarios For the number of scene categories, .

[0031] S22. Based on the out-of-flight prediction strategy, optimize and generate global fusion weights for each heterogeneous expert classifier; In this embodiment, to avoid overfitting bias caused by directly fitting the weights using the training set, K-fold cross-validation is used to generate the out-of-fold (OOF) probability for each sample. Specifically, the samples are randomly divided into K mutually exclusive subsets. For each subset, the subset is used as the validation set, and the remaining K-1 subsets are used as the training set. Four base classifiers are trained on each subset, and the trained classifiers are used to predict each sample in the validation set. The prediction probability of each sample under each classifier is recorded.

[0032] After traversing all subsets, each training sample obtains a set of OOF probabilities predicted by models that were not trained by itself. Specifically, training set samples The OOF probability is:

[0033] in, For the first Each classifier determines the sample The probability of OOF, Indicates the first The base classifiers in unseen samples Under the condition that it belongs to the first OOF prediction probability for similar scenarios.

[0034] Furthermore, the global fusion weight vector is defined as follows: ; In the formula, Represents the global fusion weight vector. For the first The weights of each base classifier in global fusion The total number of base classifiers; Based on the global fusion weight vector and the OOF probability, calculate the global fusion probability vector for each sample: ; In the formula, Indicates sample The global fusion prediction probability vector, For the first The weights of each base classifier in global fusion.

[0035] The category corresponding to the highest probability value in the global fusion probability vector of a sample is taken as the out-of-bounds predicted category of the sample. This predicted category is compared with the true label of the sample, and the number of correctly predicted categories in all samples is counted to obtain the out-of-bounds classification accuracy under the current weight. Simultaneously, an out-of-bounds prediction confusion matrix is ​​constructed based on the prediction results and the true labels to calculate the precision, recall, and F1 score for each scene category. The arithmetic mean of the F1 scores for all six categories is calculated to obtain the out-of-bounds macro-average F1 score under the current weight.

[0036] Furthermore, using the weighted sum of out-of-bounds classification accuracy and out-of-bounds macro-average F1 score as the optimization objective, the objective function is established as follows: ; In the formula, For the weighting factor; Indicates weight-based The obtained out-of-fold classification accuracy; This represents the corresponding macro average F1 value. Preferably, the objective function can be solved using grid search, constraint optimization, or heuristic search methods. We obtain the global fusion weights that maximize the objective function.

[0037] The out-of-bounds prediction strategy used in this embodiment avoids overfitting of the global fusion weights and improves the generalization ability of the model.

[0038] S23. Based on the classification performance metrics of each heterogeneous expert classifier on different tunnel scene categories, construct adaptive category weights; Specifically, step S23 includes: S231. Count the number of true positives, false positives, and false negatives for each heterogeneous expert classifier in each tunnel scene category; S232. Calculate the precision and recall of each heterogeneous expert classifier for each tunnel scene category based on the number of true positives, false positives, and false negatives: ; In the formula, For accuracy, Indicates recall rate, , , The first The classifier in the th class is at the th th The number of true positives, false positives, and false negatives in the scenario. To prevent extremely small positive numbers with a denominator of zero.

[0039] S233. Calculate the F1 score of each heterogeneous expert classifier for each tunnel scene category based on the precision and recall: ; In the formula, This is the F1 value.

[0040] S234. Normalize the F1 values ​​to obtain the adaptive weights for each tunnel scene category corresponding to each heterogeneous expert classifier: ; In the formula, Indicates the first The base classifier for the th base classifier Adaptive weights for different scene types. These weights are used to increase the contribution of base classifiers that perform well in a particular scene type to the corresponding category discrimination.

[0041] S24. Calculate the prediction margin and information entropy based on the category probabilities output by each heterogeneous expert classifier, and generate sample uncertainty based on the prediction margin and information entropy; Specifically, based on the results obtained in step S21, for any sample , No. The class probability vectors output by the base classifiers are: ; Sort the six probability values ​​in the category probability vector from largest to smallest to obtain the maximum probability in the probability vector. Second highest probability To calculate the predicted margin: ; In the formula, This represents the prediction margin. The prediction margin ranges from 0 to 1. A larger margin value indicates that the classifier is very certain about the most likely class, and the probabilities of other classes are much lower than the maximum probability. A smaller margin value indicates that the classifier has difficulty distinguishing between two or more classes, and the reliability of the prediction results is low.

[0042] The average prediction margin is calculated based on the predicted margin: ; In the formula, This represents the average forecast margin.

[0043] Furthermore, define the first The classifier in the th class is at the th th The information entropy of each sample is: ; In the formula, To normalize information entropy, For the first A base classifier judges the sample Belongs to the The probability of similar scenarios It is a positive number, used to avoid taking the logarithm for zero probability; The average information entropy is calculated based on the aforementioned information entropy: ; In the formula, The average information entropy; The sample uncertainty is constructed based on the average prediction margin and average information entropy: ; In the formula, For sample uncertainty, It is the balance coefficient between entropy and marginality.

[0044] S25. The global fusion weights and the class adaptive weights are dynamically fused based on the sample uncertainty to generate the final classification result and classification confidence. Specifically, step S25 includes: S251. Based on the global fusion weights and the prediction margins of each heterogeneous expert classifier, construct the unnormalized output of the global fusion branch; Specifically, the marginal enhancement term is calculated based on the prediction margin of the heterogeneous expert classifier: ; In the formula, For marginal enhancement, To predict the margin, To enhance the index; Furthermore, the unnormalized output is calculated based on the marginal enhancement term and the global fusion weights: ; In the formula, Indicates sample Regarding the first The unnormalized output of the global fusion branch in tunnel-like scenarios. The first in the global fusion weight One portion, For marginal enhancement, This is the category probability vector.

[0045] S252. Based on the class-adaptive weights and the prediction margins of each heterogeneous expert classifier, construct the unnormalized output of the class-adaptive fusion branch: ; In the formula, For the sample Regarding the first The unnormalized output of the category-adaptive fusion branch for tunnel-like scenes. For category-adaptive weights, For marginal enhancement, This is the category probability vector.

[0046] S253. Normalize the unnormalized output of the global fusion branch and the unnormalized output of the category adaptive fusion branch respectively to obtain the global fusion probability and the category adaptive fusion probability: ; In the formula, The first branch output of the global weighted branch represents the... Class normalized probability, The first branch output represents the category adaptive branch output. Normalized probability.

[0047] S254. Generate a gating coefficient based on the sample uncertainty, and use the gating coefficient to weight and combine the global fusion probability and the category adaptive fusion probability to obtain the final fusion probability of each tunnel scene category; Specifically, the method for constructing the gating coefficient is as follows: ; In the formula, Indicates sample The gating coefficient, For sample uncertainty, This is the gating slope coefficient. This is the gating threshold.

[0048] Specifically, the final fusion probability calculation method for each tunnel scene category is as follows: ; In the formula, For the final fusion probability, Indicates sample The gating coefficient.

[0049] S255. The tunnel scene category corresponding to the maximum final fusion probability is taken as the classification result. The maximum final fusion probability is used as the classification confidence level. .

[0050] This embodiment utilizes labeled samples to train a scene classification perception model. The model includes multiple heterogeneous expert classifiers and a dynamic fusion module based on outlier prediction, class adaptive weights, and uncertainty gating. After training, the final fusion classification function is obtained. This is used for subsequent feature contribution analysis and ranging correction.

[0051] Furthermore, after completing the above training, the samples from the test set are input into the trained fusion classification function. This yields the scene classification result for each test sample. The confusion matrices on the training and test sets are then calculated separately, as follows: Figure 2 As shown. Figure 2 The left side shows the training set confusion matrix, and the right side shows the test set confusion matrix. From... Figure 2 As can be seen, the OGCA-WV method proposed in this embodiment achieved high classification accuracy for all six types of tunnel scenarios on the test set, with diagonal elements having a much higher accuracy than off-diagonal elements.

[0052] Based on the above embodiments, this method further includes: S3. Analyze the contribution of input features in the sample to the fine-grained tunnel semantic scene classification using the feature contribution analysis model to obtain the global contribution of the input features; Specifically, step S3 includes: S31. For each input feature of each sample, calculate the contribution value of the input feature to the output of each tunnel scene category in the feature contribution analysis model; preferably, the SHAP interpretation model is used as the feature contribution analysis model; Specifically, let the input feature dimension of each sample be... D The feature index set is .

[0053] For the sample The The input feature, which is related to the first input feature. The SHAP value output by the scenario is: ; In the formula, Indicates sample The The input feature for the th input feature The contribution value output by the scenario type; Indicates that it does not include the first Any subset of input features, Represents a set of feature indices; Indicates the final fusion classification function for the first... Output of similar scenarios; This indicates that only a subset of features should be retained. The subsequent sample input.

[0054] For each sample The contribution value matrix is ​​obtained by calculating the contribution values ​​for each of the nine features and six scene categories according to the above formula. .

[0055] S32. For each input feature, sum and average the absolute values ​​of the contributions of all samples across all tunnel scene categories to obtain the global contribution of the input feature; Specifically, the first The formula for calculating the global contribution of each input feature is: ; in, Indicates the first The global contribution of each input feature. The total number of samples, This represents the number of scene categories.

[0056] Please see Figure 3 The figure includes (a) a SHAP bar chart, (b) a SHAP beehive diagram, and (c) a box plot of the absolute contribution of the top features. Analysis using the SHAP model yields a global ranking of the contributions of each input feature to the classification of six tunnel scenarios. Among these, the channel impulse response power and the received preamble accumulation contribute the most, followed by the first diameter amplitude, while the noise parameters contribute relatively little.

[0057] Based on the above embodiments, this method further includes: S4. Construct a scene-adaptive ranging correction model. Input the classification results, classification confidence, global contribution, and samples into the scene-adaptive ranging correction model to generate the compensated ultra-wideband distance. The scene-adaptive ranging correction model includes a feature weighting module, a residual regression module, a scene correlation shrinkage module, and a confidence modulation module. The classification results, classification confidence, global contribution, and samples are all used as input information for the scene-adaptive ranging correction model. The classification confidence is used for subsequent construction of reliable compensation weights.

[0058] Specifically, step S4 includes: S41. Construct normalized feature weights for each input feature based on the global contribution: ; In the formula, For the first The SHAP normalized weights corresponding to each input feature For the first The global contribution of each input feature. For the input feature dimension, To prevent positive numbers with a denominator of zero.

[0059] A weight vector is constructed from the normalized feature weights of all input features. The weight vector is then compared with the original sample. Multiplying them together yields the SHAP-weighted feature representation: ; In the formula, Weighted feature representation of SHAP This indicates element-wise multiplication.

[0060] S42. Represent the SHAP weighted features. Scene classification results and the original ultra-wideband two-way ranging values Input residual correction model: ; In the formula, This represents the amount of residual correction obtained from the prediction. The residual correction model can be implemented using regression algorithms such as support vector regression, random forest regression, or gradient boosting tree. Preferably, this embodiment uses a random forest regressor. S43. Introduce scene-dependent shrinkage operators to improve compensation robustness: ; In the formula, This represents the actual compensation amount after contraction. Representation and compensation route categories The relevant shrinkage operator is used to constrain the residual correction magnitude based on the error statistics range in the current scenario. For function, Indicates the route category The upper limit of the corresponding residual compensation amplitude is determined by the residual standard deviation, quantile, or field calibration error range of the sample.

[0061] S44. Using the classification confidence score as the compensation reliability weight, the compensated ultrawideband distance is calculated based on the compensation reliability weight: ; In the formula, This represents the compensated UWB distance. This represents the reliable weight for compensation, i.e. .

[0062] Based on the above embodiments, this method further includes: S5. Input the ultra-wideband distance into the continuous positioning solution model to calculate the continuous position estimation results of the tunnel train: ; In the formula, Indicates sample The corresponding tunnel train position estimation results, This represents the location solution function. It indicates the location of the UWB base station, positioning geometry parameters, or other positioning assistance information.

[0063] like Figure 4 As shown, compared with direct positioning using the original ultra-wideband ranging values, the positioning error curve after compensation in this embodiment shifts downward overall, with a significant reduction in local fluctuations. The global positioning error curve illustrates the error distribution across all test samples, while the magnified local curve further demonstrates that the improved positioning error is particularly significant in challenging scenarios such as curved sections and near-wall areas. These results verify that the scene-adaptive ranging correction model can effectively reduce positioning deviations in complex tunnel environments and improve the accuracy and stability of continuous train position estimation.

[0064] Example 2: like Figure 5 As shown, this embodiment provides a high-precision continuous positioning device for tunnel trains, the device comprising: A high-precision continuous positioning device for tunnel trains, characterized in that it comprises: The data acquisition module is used to collect ultra-wideband two-way ranging values ​​and channel characteristic parameters in a tunnel environment, and to construct several samples using the ultra-wideband two-way ranging values ​​and channel characteristic parameters as input features. The scene classification module is used to construct a scene classification perception model. The scene classification perception model uses multiple heterogeneous expert classifiers to predict the probability of each sample, and generates a fine-grained classification result of the tunnel semantic scene and the classification confidence corresponding to the classification result. The contribution analysis module is used to analyze the contribution of input features in the sample to the fine-grained tunnel semantic scene classification using a feature contribution analysis model, and to obtain the global contribution of the input features. The ranging correction module is used to construct a scene adaptive ranging correction model. The classification results, classification confidence, global contribution, and samples are input into the scene adaptive ranging correction model to generate the compensated ultrawideband distance. The positioning solution module is used to input the ultra-wideband distance into the continuous positioning solution model and calculate the continuous position estimation result of the tunnel train.

[0065] Based on the above embodiments, the data acquisition module includes: The distance label acquisition unit is used to acquire the spatial position of the train in the tunnel and the position of the ultra-wideband base station, and calculate the true distance label of each sample based on the spatial position and the position of the ultra-wideband base station. The scene label determination unit is used to determine the fine-grained tunnel semantic scene to which each sample belongs based on the tunnel structure and the position of the base station relative to the wall, and uses the determined scene category as the tunnel scene label of the sample. The vector concatenation unit is used to concatenate the ultra-wideband two-way ranging values ​​and channel feature parameters in each sample into a sample feature vector. The standardization unit is used to standardize the sample feature vector.

[0066] Based on the above embodiments, the scene classification module includes: The probability prediction unit is used to output the probability of each sample belonging to each type of scene by utilizing multiple heterogeneous expert classifiers. The global weight optimization unit is used to optimize and generate global fusion weights for each heterogeneous expert classifier based on the out-of-flight prediction strategy. The category weight construction unit is used to construct adaptive category weights based on the classification performance metrics of each heterogeneous expert classifier on different tunnel scene categories; An uncertainty generation unit is used to calculate the prediction margin and information entropy based on the category probability output by each heterogeneous expert classifier, and to generate sample uncertainty based on the prediction margin and information entropy. The dynamic fusion unit is used to dynamically fuse the global fusion weights and the class adaptive weights based on the sample uncertainty to generate the final classification result and classification confidence.

[0067] Based on the above embodiments, the category weight construction unit includes: The statistics subunit is used to count the number of true positives, false positives, and false negatives for each heterogeneous expert classifier in each tunnel scene category. The precision and recall subunit is used to calculate the precision and recall of each heterogeneous expert classifier in each tunnel scene category based on the number of true positives, the number of false positives, and the number of false negatives. The F1 value subunit is used to calculate the F1 value of each heterogeneous expert classifier in each tunnel scene category based on the precision and recall. The normalization subunit is used to normalize the F1 value to obtain the class adaptive weights for each tunnel scene category corresponding to each heterogeneous expert classifier.

[0068] Based on the above embodiments, the dynamic fusion unit includes: A global branch subunit is used to construct the unnormalized output of the global fusion branch based on the global fusion weights and the prediction margins of each heterogeneous expert classifier. The category branch subunit is used to construct the unnormalized output of the category adaptive fusion branch based on the category adaptive weights and the prediction margin of each heterogeneous expert classifier; The probability normalization subunit is used to normalize the unnormalized output of the global fusion branch and the unnormalized output of the category adaptive fusion branch respectively to obtain the global fusion probability and the category adaptive fusion probability. The gated fusion subunit is used to generate gate coefficients based on the sample uncertainty, and to use the gate coefficients to weight and combine the global fusion probability and the category adaptive fusion probability to obtain the final fusion probability of each tunnel scene category. The classification output sub-unit is used to take the tunnel scene category corresponding to the maximum final fusion probability as the classification result, and the value corresponding to the maximum final fusion probability as the classification confidence.

[0069] Based on the above embodiments, the contribution analysis module includes: The contribution value calculation unit is used to calculate the contribution value of each input feature to each tunnel scene category output in the feature contribution analysis model for each input feature of each sample. The contribution aggregation unit is used to sum and average the absolute values ​​of the contribution values ​​of all samples across all tunnel scene categories for each input feature, thereby obtaining the global contribution of the input feature.

[0070] It should be noted that the specific manner in which each module performs its operation in the apparatus described in the above embodiments has been described in detail in the embodiments of the method, and will not be elaborated here.

[0071] Example 3: Corresponding to the above method embodiments, this embodiment also provides a high-precision continuous positioning device for tunnel trains. The high-precision continuous positioning device for tunnel trains described below and the high-precision continuous positioning method for tunnel trains described above can be referred to in correspondence.

[0072] Figure 6 This is a block diagram illustrating a high-precision continuous positioning device 800 for tunnel trains according to an exemplary embodiment. Figure 6 As shown, the high-precision continuous positioning device 800 for tunnel trains may include a processor 801 and a memory 802. The high-precision continuous positioning device 800 for tunnel trains may also include one or more of a multimedia component 803, an I / O interface 804, and a communication component 805.

[0073] The processor 801 controls the overall operation of the tunnel train high-precision continuous positioning device 800 to complete all or part of the steps in the tunnel train high-precision continuous positioning method described above. The memory 802 stores various types of data to support the operation of the tunnel train high-precision continuous positioning device 800. This data may include, for example, instructions for any application or method operating on the tunnel train high-precision continuous positioning device 800, as well as application-related data such as contact data, sent and received messages, images, audio, video, etc. The memory 802 can be implemented using any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The multimedia component 803 may include a screen and an audio component. The screen may be, for example, a touchscreen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in the memory 802 or transmitted via the communication component 805. The audio component also includes at least one speaker for outputting audio signals. I / O interface 804 provides an interface between processor 801 and other interface modules, such as keyboards, mice, and buttons. These buttons can be virtual or physical. Communication component 805 is used for wired or wireless communication between the tunnel train high-precision continuous positioning device 800 and other devices. Wireless communication includes Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination thereof. Therefore, the corresponding communication component 805 may include a Wi-Fi module, a Bluetooth module, and an NFC module.

[0074] In an exemplary embodiment, the high-precision continuous positioning device 800 for tunnel trains may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the aforementioned high-precision continuous positioning method for tunnel trains.

[0075] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, which, when executed by a processor, implement the steps of the high-precision continuous positioning method for tunnel trains described above. For example, the computer-readable storage medium may be the memory 802 including the program instructions described above, which may be executed by the processor 801 of the high-precision continuous positioning device 800 for tunnel trains to complete the high-precision continuous positioning method for tunnel trains described above.

[0076] Example 4: Corresponding to the above method embodiments, this embodiment also provides a readable storage medium. The readable storage medium described below can be referred to in conjunction with the tunnel train high-precision continuous positioning method described above.

[0077] A readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the tunnel train high-precision continuous positioning method described in the above method embodiments.

[0078] Specifically, the readable storage medium can be a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, or any other readable storage medium capable of storing program code.

[0079] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

[0080] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for high-precision continuous positioning of tunnel trains, characterized in that, include: Collect ultra-wideband two-way ranging values ​​and channel characteristic parameters in a tunnel environment, and use the ultra-wideband two-way ranging values ​​and channel characteristic parameters as input features to construct several samples; A scene classification perception model is constructed. The scene classification perception model uses multiple heterogeneous expert classifiers to predict the probability of each sample, and generates a fine-grained classification result of the tunnel semantic scene and the classification confidence corresponding to the classification result. The contribution of input features in the samples to the fine-grained tunnel semantic scene classification is analyzed using a feature contribution analysis model to obtain the global contribution of the input features. Construct a scene adaptive ranging correction model, and input the classification results, classification confidence, global contribution and samples into the scene adaptive ranging correction model to generate the compensated ultrawideband distance; The ultra-wideband distance is input into the continuous positioning solution model to calculate the continuous position estimation result of the tunnel train.

2. The high-precision continuous positioning method for tunnel trains according to claim 1, characterized in that, Several samples are constructed using the ultra-wideband two-way ranging values ​​and channel feature parameters as input features, including: The spatial position of the train in the tunnel and the position of the ultra-wideband base station are obtained, and the true distance label of each sample is calculated based on the spatial position and the position of the ultra-wideband base station. Based on the tunnel structure and the relative position of the base station to the wall, the fine-grained tunnel semantic scene to which each sample belongs is determined, and the determined scene category is used as the tunnel scene label of the sample. The ultra-wideband two-way ranging values ​​and channel feature parameters in each sample are concatenated to form a sample feature vector; The sample feature vectors are standardized.

3. The high-precision continuous positioning method for tunnel trains according to claim 1, characterized in that, A scene classification and perception model is constructed. This model utilizes multiple heterogeneous expert classifiers to perform probability predictions for each sample, generating fine-grained classification results for tunneled semantic scenes and corresponding classification confidence scores, including: Multiple heterogeneous expert classifiers are used to output the probability of each sample belonging to each type of scene. The global fusion weights are optimized and generated for each heterogeneous expert classifier based on the out-of-flight prediction strategy. Based on the classification performance metrics of each heterogeneous expert classifier across different tunnel scenario categories, adaptive weights for each category are constructed. The prediction margin and information entropy are calculated based on the category probabilities output by each heterogeneous expert classifier, and the sample uncertainty is generated based on the prediction margin and information entropy. The final classification result and classification confidence score are generated by dynamically fusing the global fusion weights and the class adaptive weights based on the sample uncertainty.

4. The high-precision continuous positioning method for tunnel trains according to claim 3, characterized in that, Based on the classification performance metrics of each heterogeneous expert classifier across different tunnel scene categories, adaptive category weights are constructed, including: Count the number of true positives, false positives, and false negatives for each heterogeneous expert classifier in each tunnel scene category; Calculate the precision and recall of each heterogeneous expert classifier for each tunnel scene category based on the number of true positives, false positives, and false negatives. Calculate the F1 score of each heterogeneous expert classifier for each tunnel scene category based on the precision and recall; The F1 values ​​are normalized to obtain the adaptive weights of each tunnel scene category for each heterogeneous expert classifier.

5. The high-precision continuous positioning method for tunnel trains according to claim 1, characterized in that, The contribution of input features in the samples to the fine-grained tunneling semantic scene classification is analyzed using a feature contribution analysis model to obtain the global contribution of the input features, including: For each input feature of each sample, calculate the contribution value of the input feature to the output of each tunnel scene category in the feature contribution analysis model; For each input feature, the absolute values ​​of the contributions of all samples across all tunnel scene categories are summed and averaged to obtain the global contribution of the input feature.

6. A high-precision continuous positioning device for tunnel trains, characterized in that, include: The data acquisition module is used to collect ultra-wideband two-way ranging values ​​and channel characteristic parameters in a tunnel environment, and to construct several samples using the ultra-wideband two-way ranging values ​​and channel characteristic parameters as input features. The scene classification module is used to construct a scene classification perception model. The scene classification perception model uses multiple heterogeneous expert classifiers to predict the probability of each sample, and generates a fine-grained classification result of the tunnel semantic scene and the classification confidence corresponding to the classification result. The contribution analysis module is used to analyze the contribution of input features in the sample to the fine-grained tunnel semantic scene classification using a feature contribution analysis model, and to obtain the global contribution of the input features. The ranging correction module is used to construct a scene adaptive ranging correction model. The classification results, classification confidence, global contribution, and samples are input into the scene adaptive ranging correction model to generate the compensated ultrawideband distance. The positioning solution module is used to input the ultra-wideband distance into the continuous positioning solution model and calculate the continuous position estimation result of the tunnel train.

7. The high-precision continuous positioning device for tunnel trains according to claim 6, characterized in that, The data acquisition module includes: The distance label acquisition unit is used to acquire the spatial position of the train in the tunnel and the position of the ultra-wideband base station, and calculate the true distance label of each sample based on the spatial position and the position of the ultra-wideband base station. The scene label determination unit is used to determine the fine-grained tunnel semantic scene to which each sample belongs based on the tunnel structure and the position of the base station relative to the wall, and uses the determined scene category as the tunnel scene label of the sample. The vector concatenation unit is used to concatenate the ultra-wideband two-way ranging values ​​and channel feature parameters in each sample into a sample feature vector. The standardization unit is used to standardize the sample feature vector.

8. The high-precision continuous positioning device for tunnel trains according to claim 6, characterized in that, The scene classification module includes: The probability prediction unit is used to output the probability of each sample belonging to each type of scene by utilizing multiple heterogeneous expert classifiers. The global weight optimization unit is used to optimize and generate global fusion weights for each heterogeneous expert classifier based on the out-of-flight prediction strategy. The category weight construction unit is used to construct adaptive category weights based on the classification performance metrics of each heterogeneous expert classifier on different tunnel scene categories; An uncertainty generation unit is used to calculate the prediction margin and information entropy based on the category probability output by each heterogeneous expert classifier, and to generate sample uncertainty based on the prediction margin and information entropy. The dynamic fusion unit is used to dynamically fuse the global fusion weights and the class adaptive weights based on the sample uncertainty to generate the final classification result and classification confidence.

9. The high-precision continuous positioning device for tunnel trains according to claim 8, characterized in that, The category weight construction unit includes: The statistics subunit is used to count the number of true positives, false positives, and false negatives for each heterogeneous expert classifier in each tunnel scene category. The precision and recall subunit is used to calculate the precision and recall of each heterogeneous expert classifier in each tunnel scene category based on the number of true positives, the number of false positives, and the number of false negatives. The F1 value subunit is used to calculate the F1 value of each heterogeneous expert classifier in each tunnel scene category based on the precision and recall. The normalization subunit is used to normalize the F1 value to obtain the class adaptive weights for each tunnel scene category corresponding to each heterogeneous expert classifier.

10. The high-precision continuous positioning device for tunnel trains according to claim 6, characterized in that, The contribution analysis module includes: The contribution value calculation unit is used to calculate the contribution value of each input feature to each tunnel scene category output in the feature contribution analysis model for each input feature of each sample. The contribution aggregation unit is used to sum and average the absolute values ​​of the contribution values ​​of all samples across all tunnel scene categories for each input feature, thereby obtaining the global contribution of the input feature.