A Beidou satellite high-precision positioning method and system in complex urban environments

By combining Kalman filtering and Transformer models, graph data modeling and feature extraction are performed for Beidou satellite positioning in complex urban environments, which solves the problem of low positioning accuracy and achieves higher-precision and stable positioning effects.

CN118519179BActive Publication Date: 2024-10-11GUANGDONG UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410969766.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-11
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

In complex urban environments, existing positioning methods have low Beidou satellite positioning accuracy due to problems such as electromagnetic interference and signal shadowing, and methods based on mathematical observation models have large positioning deviations. Data-driven deep learning methods lack prior knowledge. It requires a large amount of data training, and it is difficult to effectively handle the spatial structure relationship between different satellite measurements.

Method used

Combined with the Kalman filter and Transformer model, the graph data modeling and graph structure perception modules are used to extract features from the sky satellite images, and the Kalman filter is used to solve the initial positioning results, and the position correction value is output through the Transformer model, and the initial positioning results are integrated to Improve positioning accuracy.

Benefits of technology

It improves the accuracy and generalization performance of Beidou satellite positioning in complex environments, can handle electromagnetic interference and signal shadowing more effectively, enhances the model's ability to capture the spatial structure relationship between satellite measurements, and improves positioning accuracy and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118519179B_ABST
    Figure CN118519179B_ABST
Patent Text Reader

Abstract

The present invention discloses a Beidou satellite high-precision positioning method and system in a complex urban environment, the method comprising: acquiring measurement data; performing solution processing on the measurement data based on Kalman filtering to predict and obtain an initial positioning result; performing graph data modeling based on the measurement data to obtain a sky satellite map; performing feature extraction processing on the sky satellite map based on a Transformer model with a graph structure perception module, and outputting a position correction value; combining the initial positioning result and the position correction value to obtain a final positioning result. The system comprises: a data acquisition module, an initial positioning module, a satellite map construction module, a correction module, and a final positioning module. By using the present invention, the positioning accuracy and generalization performance of the positioning model in complex scenarios can be improved. The present invention can be widely used in the field of satellite positioning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of satellite positioning, and in particular to a Beidou satellite high-precision positioning method and system in a complex urban environment. Background Art

[0002] The Global Navigation Satellite System (GNSS) is one of the main methods currently used in positioning technology. However, in complex urban environments, such as urban canyons and overpasses, GNSS signals are often affected by surrounding environmental factors, and there is a lot of electromagnetic interference and multipath noise. Although mobile GNSS receivers such as smartphones have made great progress in accuracy and reliability, their receiver chips and receiving antennas are of lower quality than traditional mainstream GNSS signal receivers, so the number of outliers in the measurements received by mobile GNSS receivers will be greater, and the positioning accuracy of their devices will be further reduced in such harsh environments.

[0003] In recent years, with the rapid development of machine learning, many studies have applied machine learning methods to the field of positioning, aiming to obtain better positioning accuracy through model- or data-driven post-processing methods. Among them, the method based on the mathematical observation model of positioning has high positioning accuracy in open environments, but in urban areas, due to complex electromagnetic interference, signal shielding and other problems, it is difficult to eliminate observation errors through modeling, resulting in large positioning deviations and unstable results in the model-based method; while the data-driven deep learning method trains the neural network model through a large amount of input data, and mines the influence of complex random noise on positioning from the data. It can solve the problem of unmodeled noise that cannot be handled by the mathematical observation model method, but it requires a large amount of data for training in the absence of prior knowledge. When the data samples are relatively small, its positioning accuracy is low; at the same time, the existing data-driven method only considers the values ​​of the acquired satellite measurements, and does not consider the position distribution of different satellites in the sky, resulting in the model being unable to fully mine the implicit spatial structural relationship between different satellite measurements, thereby affecting the positioning accuracy.

[0004] In summary, there is an urgent need for a high-precision positioning method that can be applied in complex environments. Summary of the invention

[0005] In view of this, in order to solve the technical problem that the existing positioning method has low positioning accuracy in complex scenes, the present invention proposes a Beidou satellite high-precision positioning method in a complex urban environment, the method comprising the following steps:

[0006] Obtain measurement data;

[0007] The measurement data is processed based on Kalman filtering to predict an initial positioning result;

[0008] Performing graph data modeling based on the measurement data to obtain a sky satellite graph;

[0009] Performing feature extraction processing on the sky satellite image based on a Transformer model with a graph structure perception module, and outputting a position correction value;

[0010] The initial positioning result and the position correction value are combined to obtain a final positioning result.

[0011] The measurement data include original measurement pseudorange, satellite position and velocity, Doppler frequency deviation, code phase, carrier phase, etc.

[0012] In some embodiments, it also includes:

[0013] Filter the measurement data.

[0014] Through this preferred step, data with better signal quality can be obtained, the amount of calculation can be reduced, and the positioning efficiency can be improved.

[0015] In some embodiments, the step of performing a Kalman filter-based solution processing on the measurement data to predict an initial positioning result specifically includes:

[0016] Based on the dynamic model, the next moment is predicted to obtain the predicted position;

[0017] constructing a mean square error matrix based on the predicted positions;

[0018] Get the actual measurement value;

[0019] The predicted position is adjusted using a Kalman filter based on the mean square error matrix and the actual measurement value.

[0020] Among them, Kalman Filtering is a linear minimum variance estimation method, which is generally applicable to non-stationary processes. It adopts the recursive principle and can extract the estimated quantity information from the measurement information in real time and accumulate it in the estimated value.

[0021] In some embodiments, the graph data modeling specifically includes:

[0022] For the satellite measurement data of different constellations received by the receiver at a certain moment, a sky satellite map is proposed;

[0023] Each satellite position is used as a node in the graph, and the pre-selected data features are then spliced ​​as node features of the sky satellite graph;

[0024] Based on the edge construction method of cosine similarity, an adjacency matrix describing the spatial structure information of the graph is constructed as the edge of the sky satellite image.

[0025] The pre-selected data features include pseudorange residual, carrier signal-to-noise ratio and unitized LOS vector (Line-of-Sight vector).

[0026] In some embodiments, the step of performing feature extraction processing on the sky satellite image based on the Transformer model with a graph structure perception module and outputting a position correction value specifically includes:

[0027] Performing Laplace position coding based on the adjacency matrix of the sky satellite image;

[0028] Merging the Laplace position code with the node features of the sky satellite image;

[0029] Based on the graph structure perception module, the local structure of the sky satellite image is learned to obtain updated node features;

[0030] Based on the relationship between the updated node features, the Transformer graph feature extraction module outputs a position correction value.

[0031] Through this preferred step, Laplace position encoding that can express graph structure information and a structure perception module based on a GNN model that can learn local representation of the graph are added on the basis of Transformer to maximize the model's learning of the node feature information of the input graph and the structural information between nodes, thereby learning relevant features from the constructed sky satellite image.

[0032] In some embodiments, the step of outputting the position correction value by the Transformer graph feature extraction module based on the relationship between the updated node features specifically includes:

[0033] Based on the multi-head attention mechanism layer, the relationship between the updated node features is learned from multiple perspectives to obtain the output result of the multi-head attention;

[0034] The output of the multi-head attention is sequentially passed through a residual connection, a normalization layer, and an intermediate feedforward network to obtain the output of the Transformer unit;

[0035] The outputs of the Transformer units are stacked and passed through the global pooling and fully connected layers in sequence to output the position correction value.

[0036] Through this preferred step, the Attention unit in the Transformer graph feature extraction module is used to focus on the potential representations between the nodes of the airspace satellite image.

[0037] In some embodiments, it also includes:

[0038] The Transformer model with the graph structure perception module is pre-trained.

[0039] Through this preferred step, the model is trained, and when the number of iterations reaches a set maximum value, the training process is completed and the model is saved, and the model is used to output a position correction value.

[0040] The present invention also proposes a Beidou satellite high-precision positioning system in a complex urban environment, the system comprising:

[0041] A data acquisition module, used for acquiring measurement data;

[0042] An initial positioning module is used to process the measurement data based on Kalman filtering and predict an initial positioning result;

[0043] A satellite image building module is used to perform image data modeling based on the measurement data to obtain a sky satellite image;

[0044] A correction module, which performs feature extraction processing on the sky satellite image based on a Transformer model with a graph structure perception module, and outputs a position correction value;

[0045] The final positioning module is used to combine the initial positioning result and the position correction value to obtain a final positioning result.

[0046] Based on the above scheme, the present invention provides a Beidou satellite high-precision positioning method and system in a complex urban environment, which combines Kalman filtering with data-driven satellite image structure learning, obtains initial positioning coordinates through Kalman filtering, and then constructs edges by taking different satellites received by the receiver as different nodes in the topological graph with reference to the cosine similarity difference between different satellite measurement vectors, so as to obtain a sky satellite image with strong structure between nodes, and then integrates the spatial structural relationship between different satellite nodes into the satellite measurement of node features by using the added position coding, and finally applies a Transformer model with graph structure perception capability to the constructed sky satellite image, fully considers the spatial position correlation between satellite measurements and different satellites in the image, and obtains a satellite image representation that can better express satellite measurement data and spatial position relationship, so as to guide the subsequent pooling layer and the fully connected layer to output position correction, and perform subsequent high-precision positioning based on the position correction, which can improve the positioning accuracy and generalization performance of the positioning model in complex scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a flow chart of the steps of a Beidou satellite high-precision positioning method in a complex urban environment of the present invention;

[0048] Figure 2It is a structural diagram of a Transformer model of a structure perception module in a specific embodiment of the present invention;

[0049] Figure 3 It is a structural block diagram of a Beidou satellite high-precision positioning system in a complex urban environment of the present invention. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0051] It should be noted that, for the convenience of description, only the parts related to the relevant invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other.

[0052] It should be understood that the "system", "device", "unit" and / or "module" used in this application is a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the word can be replaced by other expressions.

[0053] Unless the context clearly indicates an exception, the words "a", "an", "a kind" and / or "the" do not refer to the singular, but also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of clearly identified steps and elements, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements. The elements defined by the sentence "includes a..." do not exclude the existence of other identical elements in the process, method, commodity or device that includes the elements.

[0054] In the description of the embodiments of the present application, "plurality" means two or more than two. The following terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.

[0055] In addition, flow charts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, the various steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or a certain step or several steps of operations may be removed from these processes.

[0056] Reference Figure 1 , is a flow chart of an optional example of a Beidou satellite high-precision positioning method in a complex urban environment proposed by the present invention. The method can be applied to a computer device. The positioning method proposed in this embodiment may include but is not limited to the following steps:

[0057] Step S1, obtaining measurement data;

[0058] The design of the present invention is based on the position prediction of the GNSS signal received by the smart phone, and the required measurement data needs to be collected first. First, for the Kalman filter preliminary positioning module, since the linearized pseudo-range positioning equation needs to be used as the measurement equation group, the original measurement pseudo-range, satellite position and speed, Doppler frequency deviation, code phase, carrier phase, etc. are mainly collected; and for the learning module, the collected features are pseudo-range residuals (Pseudorange Residuals), carrier signal-to-noise ratio, and LOS vector from satellite to receiver; wherein the pseudo-range residual refers to the difference between the pseudo-range value obtained by actual measurement and the expected value, which can reflect the potential error in measurement or positioning estimation, and the carrier-to-noise ratio reflects the quality of the received signal, which can give the learning module an indicator that can measure the reliability of the signal, and the LOS vector refers to the unit direction vector from the receiver to the satellite, which contains information such as the satellite's altitude angle and azimuth angle;

[0059] In addition, based on the satellite measurements using only GPS and Galileo positioning systems, the satellite measurements of the more accurate BeiDou-2 and -3 systems were added.

[0060] Step S2: performing calculation processing on the measurement data based on Kalman filtering to predict and obtain an initial positioning result;

[0061] Step S3, performing image data modeling based on the measurement data to obtain a sky satellite image;

[0062] Step S4: performing feature extraction processing on the sky satellite image based on a Transformer model with a graph structure perception module, and outputting a position correction value;

[0063] Step S5: Combining the initial positioning result and the position correction value to obtain a final positioning result.

[0064] In some feasible embodiments, the step S1 further includes:

[0065] Normalize the measured data.

[0066] Specifically, due to the large numerical differences that may exist between different features, some data need to be normalized or unitized;

[0067] The LOS vector needs to be normalized because its value is too large. The specific formula is:

[0068]

[0069] in, x, y and z They are the components of the LOS vector corresponding to the coordinate axes in the Earth-Centered, Earth-Fixed (ECEF) coordinate system.

[0070] In addition, in order to solve the problem that the pseudorange residual values ​​in satellite measurements at different locations or epochs vary greatly, this embodiment proposes to normalize the pseudorange residuals in all node features in each graph, and stabilize the pseudorange residual values ​​of all input learning networks between 0 and 1, thereby improving the stability of model training.

[0071] In some feasible embodiments, the step S1 further includes:

[0072] Filter the measurement data.

[0073] Specifically, before positioning, the satellite data may be screened by the values ​​of carrier frequency error, elevation angle, signal-to-noise ratio and multipath effect to obtain data with better signal quality.

[0074] In some feasible implementations, the step S2 specifically includes:

[0075] In step S2, the present invention uses the Kalman filter method to solve the satellite measurement data to obtain a preliminary positioning result; the calculation process involves the state equation and the measurement equation.

[0076] S2.1. Predict the next moment based on the dynamics model to obtain the predicted position;

[0077] In the positioning task, the Kalman filter iteratively solves the data, which can be specifically divided into the prediction stage and the update stage. The prediction stage formula includes:

[0078]

[0079] in, express k Predicted position at any time, express k The state transfer matrix at time , express k -1 position at the moment, express k The control variable matrix at time , express kThe state control vector at time, represents the mean square error matrix, express The covariance of express The transpose of Z represents the system noise covariance matrix.

[0080] S2.2, calculating the mean square error matrix between the predicted position and the true position;

[0081] The system's dynamic model (such as the receiver's pseudorange linearized positioning equations) is used to predict the position at the next moment, and then the mean square error matrix between the predicted position and the true position is calculated to represent the uncertainty of the predicted position when the actual measurement value is received.

[0082] S2.3, obtain the actual measurement value;

[0083] S2.4. Based on the mean square error matrix and the actual measurement value, use a Kalman filter to adjust the predicted position.

[0084] Once actual measurements are received, the predicted position can be adjusted using the Kalman filter update step:

[0085]

[0086] in, represents the Kalman gain, represents the updated mean square error matrix, represents the transformation matrix from state vector to measurement vector, express The transpose of R represents the measurement noise covariance matrix, represents the state vector, Represents the actual measurement value. First, update the Kalman gain. Here, the Kalman gain is selected as the gain matrix because the Kalman gain can minimize the mean square error matrix. The role of the Kalman gain is to weigh the predicted value and the measured value. Its size depends on the relative size of the prediction error covariance and the measurement noise covariance. Then use the Kalman gain to adjust the predicted value. It can be seen that the larger the Kalman gain, the greater the impact of the measured value on the final estimated value. Finally, use the Kalman gain to calculate the new mean square error matrix.

[0087] In some feasible embodiments, the graph data modeling in step S3 specifically includes:

[0088] (1) For satellite measurement data of different constellations (including GPS, Galileo system and Russia's GLONASS system and their corresponding different frequencies) received by the receiver at a certain moment, a sky satellite map is proposed; each satellite position is used as a node in the map, and the pre-selected data features are spliced ​​as the node features of the sky satellite map;

[0089] The pre-selected data features include pseudorange residuals (PR), carrier signal-to-noise ratio (C / N0), and unitized LOS vector. The set of all node features in the graph is used as the first input of the graph, and the node feature matrix ,in, The dimension of the matrix is N × D , N is the number of satellites whose signals are received by a receiver at a certain location, and D is the dimension of each satellite node feature, where D=5.

[0090] (2) Based on the cosine similarity edge construction method, an adjacency matrix describing the spatial structure information of the graph is constructed as the edge of the sky satellite image.

[0091] For each graph, we also need to construct an adjacency matrix that describes the graph's spatial structure information. , the adjacency matrix definition method is: the edge construction method based on cosine similarity does not consider the constellation affiliation of the satellite nodes in the satellite map, but only considers the degree of similarity in direction between the node satellite vectors, without considering the size of the specific features; specifically, when constructing a graph from satellite measurement data, for satellites in different locations, due to various factors such as atmospheric interference, multipath effects or satellite clock errors, the signal strength may vary greatly, but cosine similarity can capture the inherent directionality in satellite measurements without considering the scale of the measurement itself. Its calculation method is as follows:

[0092]

[0093] in, and are different satellite measurement vectors, and their structure is .

[0094] In addition, based on the satellite image node features and edge construction methods selected in (1) and (2), the graph data processing library (PyTorch Geometric) in Pytorch is used to construct the graph data data and the corresponding dataset for model input.

[0095] In the GNSS positioning task, the visibility of different satellites will change with the measurement location and time. Therefore, the measurement values ​​collected at the same location and containing different numbers and orders of satellites input into the learning network should obtain the same output, but general neural networks can only learn input features of equal length and order; therefore, in the present invention, for a certain receiver, the satellite signals it receives are constructed into graph data, and then the graph structure is used to process the neural network for feature extraction, and the graph construction method is as above.

[0096] In some feasible embodiments, the step S4 specifically includes:

[0097] S4.1, performing Laplace position coding based on the adjacency matrix of the sky satellite image;

[0098] S4.2, fusing the Laplace position code with the node features of the sky satellite image;

[0099] Laplace position coding: For the constructed sky satellite map, the node feature matrix and adjacency matrix are mainly used. Here, the adjacency matrix and degree matrix are used to obtain the Laplace matrix, and then the spectral decomposition is performed to obtain the expression of eigenvalues ​​and eigenvectors. Finally, according to the required position coding dimension, the corresponding number of eigenvalues ​​and eigenvectors are selected and combined to obtain the corresponding position coding. Then the node features and the corresponding Laplace position coding are linearly expanded and added as the input of the Transformer block, as follows:

[0100]

[0101] in It is the i Node features, Represents the node features after dimension expansion, It is the i The Laplace position encoding corresponding to the node features, It is the position encoding after dimension expansion. For the input of the first layer of Transformer, the position encoding is only added to the input features of the first layer. , , , These are parameters to be trained.

[0102] S4.3, performing graph local structure learning on the sky satellite image based on the graph structure perception module to obtain updated node features;

[0103] Specifically, in order to give the Attention block an attention score that is more capable of expressing graph structures, this section uses subgraph extraction and GNN-based subgraph learning to learn the graph node features used to calculate the attention score, so that it has more local structure expression capabilities. The specific process and explanation are as follows:

[0104] For the graph input by the graph structure perception module, each node in the graph is taken as the central node, and 2-hop sampling (i.e., the node that can be reached in 2 steps from the central node) is used to extract the subgraph corresponding to each central node. Then, the inductive graph learning GNN model GraphSAGE is used to perform graph learning on the extracted subgraph according to its node aggregation strategy to obtain the graph representation of the subgraph, and then the result obtained after graph pooling is used as the updated central node representation.

[0105] Among them, GraphSAGE is a graph neural network model that uses inductive learning. Its processing of the input graph is divided into three steps: first, sampling the neighborhood of the node to obtain the neighborhood nodes for aggregation; then aggregating feature information from the neighborhood nodes; and finally updating the node representation of the graph. As an inductive learning model, GraphSAGE's advantage is that it focuses on learning the potential patterns in the data; after training, it also has a relatively good processing effect on graphs or node features that have never been seen before.

[0106] S4.4. Based on the relationship between the updated node features, the Transformer graph feature extraction module outputs a position correction value.

[0107] Based on steps S4.1-S4.3, the input graph is processed by adding Laplace position encoding and graph local structure learning. At this time, the node features already contain the structural information about the input graph. In step S4.4, the Attention block in the Transformer graph feature extraction module is used to focus on the potential representations between the nodes of the airspace satellite image.

[0108] The present invention adds Laplace position encoding that can express graph structure information and a structure perception module based on the GNN model that can learn the local representation of the graph on the basis of Transformer to maximize the model to learn the node feature information of the input graph and the structural information between nodes. In addition, the structure and data flow of the Transformer model with graph structure perception module refer to Figure 2 .

[0109] In some feasible embodiments, the S4.4 specifically includes:

[0110] S4.4.1. Based on the multi-head attention mechanism layer, the relationship between the updated node features is learned from multiple perspectives to obtain the output result of the multi-head attention;

[0111] After the previous processing, the input node features are input into the multi-head attention mechanism layer. The multi-head attention mechanism layer is built on the self-attention mechanism layer. The formula of the self-attention mechanism is:

[0112]

[0113] in, , , , X is the node feature matrix of the constructed sky satellite image, represents the node feature matrix after being processed by the graph structure perception module, , and represents the weight of the corresponding matrix, Q, K, and V are the projections of X in different directions respectively. The inner product of Q and K is used to obtain the corresponding correlation score matrix. The inner product of the result and V is used to obtain the attention map between the graph nodes, where is a scaling factor used to scale the inner product of Q and K when the input feature matrix is ​​very long to smooth the network output and obtain a more appropriate attention score matrix.

[0114] In addition, in order to pay attention to the relationship between input node features from multiple angles, multiple self-attention mechanism networks are combined to form a multi-head attention layer. The number of self-attention layers is h, and the length of the Q, K, and V sequences is m. Before calculation, the data is projected into a low-dimensional space of m / h dimensions, and then each head is processed. Finally, the processing results are reassembled and the output result of the multi-head attention is obtained through a linear layer.

[0115] S4.4.2. The output of the multi-head attention is sequentially passed through a residual connection, a normalization layer, and an intermediate feedforward network to obtain the output of the Transformer unit;

[0116] In the residual connection part, the present invention also considers the influence of node degree, so as to avoid the excessive influence of the highly connected parts of the graph nodes on the node features during the calculation process, so that the network can consider all nodes and connections more balancedly; then the output of the Transformer layer is obtained through two normalization layers and an intermediate feedforward network layer (FFN, including two fully connected layers and an intermediate activation function layer).

[0117] S4.4.3. The outputs of the Transformer units are stacked and passed through the global pooling and fully connected layers in sequence to output the position correction value.

[0118] Finally, multiple structure-aware Transformer units are stacked together and then passed through global pooling and fully connected layers to obtain the final position correction. Global pooling is used to aggregate the output graph node representation into a graph representation so that the fully connected layer can convert the input graph into 3D position correction coordinates.

[0119] In some feasible embodiments, it also includes:

[0120] The Transformer model with the graph structure perception module is pre-trained.

[0121] Specifically, the GNSS high-precision positioning correction model, that is, the Transformer model with a graph structure perception module of the present invention, is introduced in the previous embodiment. Based on this, a gradient descent algorithm is used for training, and the specific training steps include:

[0122] The purpose of the present invention is to use the multi-constellation satellite signal characteristic information received from the receiver and the position information between different satellite points in the sky satellite map to correct the initial positioning result of the Kalman filter. Therefore, the output label of the model is the three-dimensional position correction result, and the input of the model is the constructed graph data data.

[0123] According to the constructed graph structure perception Transformer model, the hyperparameters that need to be determined include: the dimension of Laplace position encoding, the step size of subgraph extraction in the subgraph extraction module and the step size of subgraph aggregation in the GraphSAGE model, the number of layers of the Transformer module and the corresponding number of multi-head attention modules, the number of layers of each fully connected temporal network and the number of neurons in the hidden layer.

[0124] This experiment uses the Adam optimizer, which has the feature of adaptive learning rate. The Adam optimizer uses the first-order moment estimation and second-order moment estimation of the gradient to dynamically adjust the learning rate of each parameter. Through bias correction, it ensures that the learning rate of each iteration is within a certain range, so that the parameter update is relatively stable.

[0125] The present invention belongs to the regression task, and the loss function used is the mean square error MSE, which is used to judge the similarity between the predicted output of the model and the true value. The calculation formula is as follows:

[0126]

[0127] In formula (7), represents the model prediction value, Y represents the true value, num is the number of samples in the batch, C represents the output dimension of each sample, i and jThe index used to traverse the data; the closer the predicted value output by the model is to the true value, the closer the Loss is to 0, and the better the training effect.

[0128] Set the total number of training rounds of the model to M. Use back propagation (BP) to update the weights and biases of the model during the training process. The update formula is as follows:

[0129]

[0130] in, Indicates n +1 round weight, Indicates n The weight of the round, Indicates n +1 round bias, Indicates n Bias of rounds, represents the learning rate, Represents the gradient of the loss function with respect to the model parameters.

[0131] Based on the above steps, the model is trained in a supervised manner using the error between the initial positioning prediction value and the true value as a label. When the number of iterations reaches the set maximum value, the training process is completed and the model is saved. After good results are obtained on different test sets, it can be used in conjunction with the positioning chip.

[0132] Based on the above scheme, it can be seen that the high-precision positioning method of the present invention can be applied to complex environments. The specific reasons are as follows:

[0133] 1. Taking into account that the number and order of satellites in satellite measurements received by a receiver at different locations and times may not be the same due to environmental changes, the present invention models a sky satellite graph for multi-constellation satellite measurements of different numbers received by the receiver at one moment, and at the same time, considering the quality impact of different satellite measurements, adds a carrier-to-noise ratio that expresses the reliability of satellite measurements to the node features of the graph; at the same time, in the process of constructing the graph, a method for constructing edges between nodes based on cosine similarity is adopted to strengthen the connection between nodes while reducing the number of edges in the graph, so as to obtain a sparser graph to reduce the computational complexity of the model during structure-aware learning.

[0134] 2. The constructed graph topology information is integrated into the node features by adding Laplace position encoding to the node features before inputting into the Transformer, so that the model can better perceive the position of satellite nodes in the graph and capture the relationships and dependencies between nodes.

[0135] 3. A Transformer network for perceptual learning of graph structures is proposed. The advantages of GNN model and Transformer model message passing are combined to extract the representation of the input graph. After adding Laplace position encoding to the nodes, the local structure representation of the nodes in the satellite graph is learned by using the adjacent node aggregation ability of GNN, and then integrated into the original attention. Finally, the global learning ability of the attention mechanism is used to obtain a graph representation with both local and global features.

[0136] In summary, in the present invention, for the construction of graph data: the carrier signal-to-noise ratio is added as a node feature in the satellite graph node to enhance the expression ability of the satellite node; when constructing the edge, a method based on cosine similarity is used, which is not limited to the satellite measurement value, and captures the inherent directionality in the measurement from the perspective of the satellite measurement vector without being affected by the measurement itself, so that not only the correlation of the nodes in the constructed graph is stronger, but also the constructed graph is sparser and the model calculation is faster. In the model, a Transformer with graph structure perception ability is used to process the input graph. By adding Laplace position encoding and a graph structure extractor before calculating the attention score, the Transformer layer can learn the local features and global features of the input graph more comprehensively and simultaneously to obtain a better graph representation. Compared with the method of directly using the GNN network for processing, the Transformer model with graph structure perception has a stronger expression ability for sky satellite images, can better process data that has never been seen in complex and changing environments, and has better generalization.

[0137] like Figure 3 As shown, a Beidou satellite high-precision positioning system in a complex urban environment includes:

[0138] A data acquisition module, used for acquiring measurement data;

[0139] An initial positioning module is used to process the measurement data based on Kalman filtering and predict an initial positioning result;

[0140] A satellite image building module is used to perform image data modeling based on the measurement data to obtain a sky satellite image;

[0141] A correction module, which performs feature extraction processing on the sky satellite image based on a Transformer model with a graph structure perception module, and outputs a position correction value;

[0142] The final positioning module is used to combine the initial positioning result and the position correction value to obtain a final positioning result.

[0143] The contents of the above method embodiments are all applicable to the present system embodiments. The functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0144] A Beidou satellite high-precision positioning device in complex urban environments:

[0145] at least one processor;

[0146] at least one memory for storing at least one program;

[0147] When the at least one program is executed by the at least one processor, the at least one processor implements the Beidou satellite high-precision positioning method in a complex urban environment as described above.

[0148] The contents of the above method embodiments are all applicable to the present device embodiments. The functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0149] A storage medium stores instructions executable by a processor, wherein the instructions executable by the processor are used to implement the Beidou satellite high-precision positioning method in a complex urban environment as described above when executed by the processor.

[0150] The contents of the above method embodiments are all applicable to the present storage medium embodiments. The functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0151] The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A Beidou satellite high-precision positioning method in a complex urban environment, characterized in that: The following steps are involved: Obtain measurement data; The measurement data is processed based on Kalman filtering to predict an initial positioning result; Performing graph data modeling based on the measurement data to obtain a sky satellite graph; Performing feature extraction processing on the sky satellite image based on a Transformer model with a graph structure perception module, and outputting a position correction value; Combining the initial positioning result and the position correction value to obtain a final positioning result; The graph data modeling specifically includes: For the satellite measurement data of different constellations received by the receiver at a certain moment, a sky satellite map is proposed; Each satellite position is used as a node in the graph, and the pre-selected data features are then spliced ​​as node features of the sky satellite graph; Based on the edge construction method of cosine similarity, an adjacency matrix describing the spatial structure information of the graph is constructed as the edge of the sky satellite image.

2. According to claim 1, a Beidou satellite high-precision positioning method in a complex urban environment is characterized in that: Also includes: Filter the measurement data.

3. According to claim 1, a Beidou satellite high-precision positioning method in a complex urban environment is characterized in that: The step of performing a calculation on the measurement data based on Kalman filtering to predict and obtain an initial positioning result specifically includes: Based on the dynamic model, the next moment is predicted to obtain the predicted position; constructing a mean square error matrix based on the predicted positions; Get the actual measurement value; Based on the mean square error matrix and the actual measurement value, the predicted position is adjusted using a Kalman filter to obtain an initial positioning result.

4. According to claim 1, a Beidou satellite high-precision positioning method in a complex urban environment is characterized in that: The preselected data features include pseudorange residuals, carrier signal-to-noise ratios, and unitized LOS vectors.

5. According to claim 1, a Beidou satellite high-precision positioning method in a complex urban environment is characterized in that: The step of performing feature extraction processing on the sky satellite image based on the Transformer model with a graph structure perception module and outputting a position correction value specifically includes: Performing Laplace position coding based on the adjacency matrix of the sky satellite image; Merging the Laplace position code with the node features of the sky satellite image; Based on the graph structure perception module, the local structure of the sky satellite image is learned to obtain updated node features; Based on the relationship between the updated node features, the Transformer graph feature extraction module outputs a position correction value.

6. According to claim 5, a Beidou satellite high-precision positioning method in a complex urban environment is characterized in that: The step of outputting the position correction value by the Transformer graph feature extraction module based on the relationship between the updated node features specifically includes: Based on the multi-head attention mechanism layer, the relationship between the updated node features is learned from multiple perspectives to obtain the output result of the multi-head attention; The output of the multi-head attention is sequentially passed through a residual connection, a normalization layer, and an intermediate feedforward network to obtain the output of the Transformer unit; The outputs of the Transformer units are stacked and passed through the global pooling and fully connected layers in sequence to output the position correction value.

7. The Beidou satellite high-precision positioning method in a complex urban environment according to claim 5, characterized in that: Also includes: The Transformer model with the graph structure perception module is pre-trained.

8. A Beidou satellite high-precision positioning system in a complex urban environment, characterized in that: include: A data acquisition module, used for acquiring measurement data; An initial positioning module is used to process the measurement data based on Kalman filtering and predict an initial positioning result; A satellite image building module is used to perform image data modeling based on the measurement data to obtain a sky satellite image; The graph data modeling specifically includes: for satellite measurement data of different constellations received by the receiver at a certain moment, a sky satellite map is proposed; each satellite position is used as a node in the graph, and then pre-selected data features are spliced ​​as node features of the sky satellite map; based on the edge construction method of cosine similarity, an adjacency matrix describing the spatial structure information of the graph is constructed as the edge of the sky satellite map; A correction module, which performs feature extraction processing on the sky satellite image based on a Transformer model with a graph structure perception module, and outputs a position correction value; The final positioning module is used to combine the initial positioning result and the position correction value to obtain a final positioning result.