Metareinforcement learning train positioning method based on Beidou satellite

By collecting data from multiple old lines to construct common meta-parameters and loading them into the MPPO model for fine-tuning, combined with multiple positioning feature parameters and reward discount factors, the problems of long training time and low positioning accuracy of reinforcement learning on new lines are solved. Efficient and accurate positioning of Beidou satellite positioning is achieved.

CN118731995APending Publication Date: 2024-10-01CHONGQING JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410816511.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing reinforcement learning train positioning method based on Beidou satellites requires long training time and low efficiency on new lines, and insufficient input parameters lead to low positioning accuracy, making it difficult to effectively improve the positioning accuracy of new lines.

Method used

Use the data set module to collect positioning data from multiple old lines, build multiple PPO reinforcement learning models and obtain common meta-parameters through the NAML algorithm, load them into the MPPO model for fine-tuning, and combine pseudo-range residuals, visual distance vectors, and geometric accuracy Factor, carrier signal-to-noise ratio, pitch angle and other characteristic parameters, use the reward discount factor to optimize the cumulative reward function and improve positioning accuracy.

Benefits of technology

It greatly shortens the training time of the new line positioning model, improves the positioning accuracy and efficiency, and ensures high-precision positioning performance on the new line.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118731995A_ABST
    Figure CN118731995A_ABST
Patent Text Reader

Abstract

The invention provides a Beidou satellite-based meta-reinforcement learning train positioning method. The Beidou satellite-based meta-reinforcement learning train positioning method is characterized by comprising a data set module, a reinforcement learning module and a positioning module, the method comprises the following steps: collecting data of a plurality of old lines, constructing a positioning data training set, performing meta learning by adopting a meta learner and utilizing the positioning data training set, extracting common meta parameters of each reinforcement learning model, loading the common meta parameters to an MPPO model of a new line, performing data and parameter fine tuning to obtain an available MPPO model, and performing data and parameter fine tuning to obtain an MPPO model. And finally, correcting a satellite positioning value by using a positioning correction parameter output by the MPPO model. By adopting the train positioning method provided by the invention, the train positioning efficiency and precision of the new line can be improved.
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 technology, and in particular to a Beidou satellite-based meta-reinforcement learning train positioning method. Background Art

[0002] The global satellite navigation system (GNSS) has many excellent characteristics such as high precision, all-weather, all-day and no error accumulation. The train positioning method based on GNSS is the main development direction of the train positioning technology of the next generation train operation control system. Among them, the Beidou satellite navigation system, as a strategic resource of global navigation satellite technology independently controlled by my country, plays an important role in promoting the technical upgrading and iteration of key technologies related to my country's railway transportation train operation control.

[0003] my country's railway operation environment is complex. Although the use of deep reinforcement learning methods to dynamically learn the complex environment during train operation can effectively solve the problem of low train positioning accuracy caused by the dynamic changes of Beidou satellites, in existing technologies, reinforcement learning requires a long training time for new lines, and reinforcement learning has low efficiency and poor generalization performance. On the other hand, insufficient input parameters of reinforcement learning will also lead to insufficient output data accuracy. There is still room for further improvement in the positioning accuracy of lines through reinforcement learning. Summary of the invention

[0004] In view of the problems in the background technology, the present invention provides a Beidou satellite-based meta-reinforcement learning train positioning method to solve the problem of how to further improve the positioning accuracy of trains running on new lines while improving the positioning efficiency.

[0005] To achieve the purpose of the present invention, the present invention provides a Beidou satellite-based meta-reinforcement learning train positioning method, the positioning method is used for positioning when a train runs on a new line, and its innovation lies in: comprising a data set module, a reinforcement learning module and a positioning module; the positioning module comprises an MPPO correction model, and the MPPO is processed according to method one to obtain an available MPPO model, and the available MPPO can perform real-time positioning correction on Beidou satellite positioning parameters;

[0006] The method 1 comprises:

[0007] 1) Inputting the existing train location data on N old lines into the data set module;

[0008] 2) The data set module extracts data from the train positioning data of N old lines respectively, extracts data from the train positioning data of a single old line to obtain a corresponding positioning data set, and the N positioning data sets constitute a positioning data training set; the positioning data set includes the positioning value of each positioning moment of the line and the positioning feature parameters corresponding to each positioning value; the positioning feature parameters include pseudorange residual, visual distance vector, geometric precision factor, carrier signal-to-noise ratio and pitch angle;

[0009] 3) The data set module transmits the positioning data training set to the reinforcement learning module;

[0010] 4) The reinforcement learning module uses the PPO algorithm to perform reinforcement learning using the N positioning data sets to obtain N reinforcement learning models; then the reinforcement learning module uses the NAML algorithm to perform meta-learner training to obtain the common meta-parameters of the N reinforcement learning models; then the reinforcement learning module transmits the common meta-parameters to the positioning module; the reward function R involved in the PPO algorithm is determined according to formula 1;

[0011] 5) The positioning module loads the common meta parameters into the MPPO model, and then fine-tunes the common meta parameters to obtain a usable MPPO model;

[0012] The formula 1 is:

[0013]

[0014] Among them, t is one of the time points of the line, T is the total number of time points of the line; r t is the negative of the Euclidean distance between the positioning value corrected by the reinforcement learning model at time t and the positioning value matched by the actual map, r t Determined by formula 2; η is the bonus discount factor, when the corrected positioning error is equal to or less than M meters, then η = 0.7, when the corrected positioning error is greater than M meters, then η = 0.9, where M is the set value;

[0015] The formula 2 is:

[0016]

[0017] Among them, x t ,y t and z t They are the values ​​of the x, y and z directions in the positioning value corrected by the reinforcement learning model at time t with ECEF as the coordinate system; and are respectively the values ​​of the x, y and z directions in the actual map matching positioning value at time t with ECEF as the coordinate system; the ECEF is the earth coordinate system with the center of the earth fixed;

[0018] The positioning method comprises:

[0019] The train's positioning module obtains the train's positioning feature parameters and positioning values ​​from the Beidou satellite in real time, and then the positioning module uses the positioning feature parameters as the input of the available MPPO correction model, and then the available MPPO correction model outputs positioning correction parameters, and then the positioning module uses the positioning correction parameters to correct the positioning value to obtain the corrected positioning value.

[0020] Further, the visual distance vector is the visual distance between the Beidou satellite and the receiver, and the visual distance vector includes three LOS vectors along three directions of x, y and z in the ECEF coordinate system.

[0021] Furthermore, the interactive environment involved in the PPO algorithm is established through an observable Markov decision process, in which a CNN model is used to learn spatial features from input data, and an LSTM model is used to learn temporal information in a time series.

[0022] Furthermore, the M is 5.

[0023] The principle of the present invention is as follows:

[0024] When the train is directly positioned by the Beidou satellite positioning system, the dynamic changes of the Beidou satellite will lead to low positioning accuracy. In response to the above problems, the existing technology also uses reinforcement learning to learn the existing positioning data of the train running line, so that the reinforcement learning model can correct the Beidou satellite positioning value by learning the output positioning correction parameters to improve the positioning accuracy. There are two problems with the above method: first, reinforcement learning needs to collect a large amount of experience training data for training. Not only does the training take a long time, but the generalization ability of the trained model is poor. For newly built running lines, it is time-consuming and laborious to obtain a suitable reinforcement learning model, and the efficiency is very low; secondly, there are fewer environmental parameters for reinforcement learning model training, and the cumulative reward function is simply defined, which will affect the model correction accuracy, making the positioning value obtained by correcting the output data of the reinforcement learning model low in accuracy.

[0025] In view of the above technical difficulties, the technical solution provided by the present invention is solved from two aspects:

[0026] First, by collecting the positioning data of trains running on multiple different old lines, Beidou satellite positioning data sets are extracted from them, including Beidou satellite receiver parameters and positioning information. A positioning data set with spatiotemporal correlation is constructed for each old line, thereby obtaining multiple positioning data sets; then a PPO reinforcement learning model is constructed for each positioning data set, and then the NAML algorithm is used for meta-learning to obtain the common meta-parameters of each reinforcement learning model; then this common meta-parameter is loaded into the MPPO model constructed for the new line. Since the common meta-parameter carries the positioning experience of multiple old lines, the MPPO model has strong generalization performance, so only a small amount of data and parameter fine-tuning is required to adapt to the positioning correction of the new line. Since the acquisition of the common meta-parameters can be carried out in advance, only a small amount of fine-tuning is required to load them into the MPPO model of the new line to obtain an available MPPO model for positioning correction, which greatly saves the time of training the positioning correction model of the new line and improves the efficiency of model training for the new line.

[0027] Secondly, this application introduces characteristic parameters such as pseudorange residual, visual distance vector, geometric precision factor, carrier signal-to-noise ratio and pitch angle, which greatly enriches the learning environment parameters of reinforcement learning and solves the problem that the output correction data of reinforcement learning is not accurate due to insufficient input features. Accurate correction data greatly improves the accuracy of the corrected positioning value. On the other hand, for the cumulative reward function of reinforcement learning, the present invention introduces a reward discount factor, which is determined according to the corrected positioning accuracy. Usually, the train satellite positioning accuracy is required to be within 5 meters. This positioning accuracy threshold is used as a benchmark to set the reward discount factor. Since r t is a negative number, so when r t When the absolute value is less than or equal to 5 meters, the reward discount factor takes the smaller value of 0.7. t When the absolute value is greater than 5 meters, the reward discount factor takes a larger value of 0.9, which improves the training accuracy of the reinforcement learning model and further improves the accuracy of the correction parameters output by it, thereby further improving the accuracy of the corrected train satellite positioning value.

[0028] It can be seen that the present invention has the following beneficial effects: the present invention provides a Beidou satellite-based meta-reinforcement learning train positioning method, which can improve the efficiency and accuracy of satellite positioning of new line trains. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The accompanying drawings of the present invention are as follows.

[0030] Attached Figure 1 Schematic diagram of the PPO observation state space structure of the present invention;

[0031] Attached Figure 2Schematic diagram of the PPO action space structure of the present invention;

[0032] Attached Figure 3 Schematic diagram of the meta-reinforcement learning principle. DETAILED DESCRIPTION

[0033] The present invention will be further described below in conjunction with the embodiments.

[0034] The hardware involved in the train positioning method of the present invention includes a data set module, a reinforcement learning module and a positioning module; the positioning module includes an MPPO (Meta Proximal Policy Optimization) correction model, and the MPPO is processed according to method one to obtain an available MPPO model, and the available MPPO can perform real-time positioning correction on Beidou satellite positioning parameters;

[0035] The method 1 comprises:

[0036] 1) Inputting the existing train location data on N old lines into the data set module;

[0037] 2) The data set module extracts data from the train positioning data of N old lines respectively, extracts data from the train positioning data of a single old line to obtain a corresponding positioning data set, and the N positioning data sets constitute a positioning data training set; the positioning data set includes the positioning values ​​of each positioning moment of the line and the positioning feature parameters corresponding to each positioning value;

[0038] Generally speaking, the Beidou satellite positioning system must receive information from 4 or more satellites to perform positioning. Therefore, the 4 visible satellites with the largest pitch angles are selected from the satellite receiver to extract 7 feature parameters respectively. The size of the feature matrix is ​​fixed at 4×7 dimensions (four satellites, 7 features per satellite). Each column in the matrix represents a satellite, and each row in the matrix represents each feature parameter. The positioning feature parameters include pseudorange residuals, visual distance vectors (including three feature parameters), geometric precision factor, carrier signal-to-noise ratio, and pitch angle; the specific introduction is as follows:

[0039] 1) Pseudorange residual

[0040] Pseudorange residual is one of the important indicators used to evaluate positioning accuracy in the Beidou satellite navigation system. Pseudorange residual refers to the difference between the actual observed pseudorange value and the expected pseudorange value. Pseudorange residual is defined as follows:

[0041] δρ m =ρ m -(r m -b r )

[0042] In the formula, ρm represents the pseudorange measurement of the mth satellite, b r represents the receiver clock deviation, r m Represents the geometric distance from the mth satellite to the receiver:

[0043]

[0044] Where [x, y, z] represents the initial guess of the receiver's position in the Earth-Centered, Earth-Fixed (ECEF) coordinate system. m ,y m ,z m ] represents the position of the mth satellite in ECEF.

[0045] 2) Visual distance vector

[0046] The visual distance vector is the visual distance between the satellite and the receiver. The LOS (line of sight) vectors (i.e., three characteristic parameters) along the x, y, and z directions in the ECEF coordinate system are expressed as:

[0047]

[0048] 3) Geometric Dilution of Precision

[0049] The geometric dilution of precision (GDOP) is a parameter used to evaluate the impact of satellite geometry on positioning accuracy. The mathematical definition of GDOP is as follows:

[0050]

[0051] In the formula,

[0052] 4) Carrier signal-to-noise ratio C / No

[0053] C / No is used to measure the quality of the received signal, that is, the ratio between the carrier power and the noise power. A higher C / No value indicates that the signal strength is relatively high, the background noise is relatively low, and the signal quality is good; while a lower C / No value indicates that the signal strength is low, the background noise is high, and the signal quality is poor.

[0054] 5) Pitch angle

[0055] The satellite pitch angle in satellite positioning has a very important impact on positioning. The satellite pitch angle refers to the pitch angle between the satellite position and the location of the receiving device, that is, the elevation angle of the satellite relative to the receiving device. The size of the satellite pitch angle will directly affect the path and signal quality of satellite signal propagation, and thus affect the accuracy and stability of positioning. A lower pitch angle will result in a larger NLOS (non-line-of-sight) position error, and the larger the value, the smaller the multipath effect.

[0056] 3) The data set module transmits the positioning data training set to the reinforcement learning module;

[0057] 4) The reinforcement learning module uses the PPO algorithm to perform reinforcement learning on N positioning data sets to obtain N reinforcement learning models. Specifically: construct a partially observable Markov decision process, select the basic reinforcement learning algorithm PPO as the basic learner, and define the observation state space s at each moment. t , as attached Figure 1 The features of n moments extracted from the BeiDou satellite receiver parameters from time tn-1 to time t form a 4×7×n feature matrix, which is then used by CNN to extract the spatial correlation information of the current environment. The obtained output is then compared with the train operation timing information x t Input into the first layer of LSTM network, and then compared with the action a performed at the previous time t-1 t-1 and rewards t-1 Input to the second layer LSTM network. t {e t-n-1 ,…,e t-1 ,p t},e t-n-1 is the positioning correction information at time tn-1, e t-1 is the positioning correction information at time t-1, p t It is the measurement and positioning information of Beidou satellite at the current moment. Figure 2 The action space A shown t :Use Gaussian distribution to achieve continuity in the action space. The Actor network of the proximal policy optimization algorithm PPO outputs the mean μ and variance σ of the action. A Gaussian distribution can be constructed based on the mean and variance, and the action of PPO is sampled from the Gaussian distribution. The action space outputs the corresponding positioning correction action to correct the positioning information broadcast by the positioning device of the Beidou satellite positioning system. The reward function R involved in the PPO algorithm is determined according to Formula 1;

[0058] The formula 1 is:

[0059]

[0060] Among them, t is one of the time points of the line, T is the total number of time points of the line; rt is the negative of the Euclidean distance between the positioning value corrected by the reinforcement learning model at time t and the positioning value matched by the actual map, r t Determined by formula 2; η is the bonus discount factor, when the corrected positioning error is equal to or less than M meters, then η = 0.7, when the corrected positioning error is greater than M meters, then η = 0.9, where M is the set value;

[0061] The formula 2 is:

[0062]

[0063] Among them, x t ,y t and z t They are the values ​​of the x, y and z directions in the positioning value corrected by the reinforcement learning model at time t with ECEF as the coordinate system; and are respectively the values ​​of the x, y and z directions in the actual map matching positioning value at time t with ECEF as the coordinate system; the ECEF is the earth coordinate system with the center of the earth fixed;

[0064] The above PPO algorithm aims to stabilize the training process and improve sample utilization efficiency by constraining the policy update. The main ideas of the PPO algorithm are introduced as follows:

[0065] 1. Actor-Critic architecture: The PPO algorithm is usually based on the Actor-Critic architecture, which contains an Actor network for learning strategies and a Critic network for learning state-value functions.

[0066] 2. Importance sampling. When calculating policy updates, PPO uses importance sampling to estimate the ratio between the new and old policies:

[0067]

[0068] In the formula, θ is the neural network parameter, π θ The current policy network, Refers to the previous policy network.

[0069] 3. The PPO algorithm introduces an important concept, "Clipped Surrogate Objective", which is to truncate the policy update. PPO limits the difference between the new policy and the old policy to avoid too large an update. The loss function after the clipped method is:

[0070] L CLIP =Ε[min(b t (θ)*A,clip(b t(θ),1-∈,1+∈)*A)]

[0071] Where A is the advantage function for evaluating the execution action, and ∈ is used to control the range of the shear loss.

[0072] 4. Multi-step optimization: The PPO algorithm usually uses multi-step optimization to update the strategy to increase sample utilization efficiency and reduce variance.

[0073] Then the reinforcement learning module uses the NAML algorithm to train the meta-learner and obtain the common meta-parameters of the N reinforcement learning models; then the reinforcement learning module transmits the common meta-parameters to the positioning module; in fact, the meta-reinforcement learning of the meta-learner is shown in the attached figure. Figure 3 The process at the task level is divided into two stages: meta-training stage and meta-testing stage. This step involves the meta-training stage: The optimization process is divided into two layers: 1) Enter the inner loop of meta-training to optimize the PPO algorithm. For each task T i After completing the inner loop phase, we get the parameter θ i ′, the parameter updated by single-step gradient descent, i.e., θ i ′=θ-α In the formula, α represents the learning rate of the inner loop, Indicates that in task T i The loss function of the upper parameter θ; 2) Enter the outer loop, based on the parameter θ obtained in the inner layer i ′, the parameters updated by gradient descent, then Where β represents the learning rate of the outer loop. After all the extracted tasks have gone through the meta-training phase, the model parameters θ are obtained. * .

[0074] 5) The positioning module loads the common meta-parameters into the MPPO model, and then fine-tunes the common meta-parameters to obtain a usable MPPO model; this is the meta-test phase: in each meta-test iteration, the model parameters θ obtained in the meta-training phase are used * Initialize the model, and the model can quickly and effectively adapt to the new environment after a small amount of data and fine-tuning the parameters based on this parameter.

[0075] The positioning method comprises:

[0076] The train's positioning module obtains the train's positioning feature parameters and positioning values ​​from the Beidou satellite in real time, and then the positioning module uses the positioning feature parameters as the input of the available MPPO correction model, and then the available MPPO correction model outputs positioning correction parameters, and then the positioning module uses the positioning correction parameters to correct the positioning value to obtain the corrected positioning value.

[0077] The reinforcement learning, PPO algorithm, NAML algorithm, observable Markov decision, CNN model, LSTM model, etc. used in the present invention are all very common processing methods in the prior art. Those skilled in the art can obtain relevant content from relevant literature of the prior art.

Claims

1. A Beidou satellite-based meta-reinforcement learning train positioning method, the positioning method is used for positioning a train when it runs on a new line, Features: It includes a data set module, a reinforcement learning module and a positioning module; the positioning module includes an MPPO correction model, and the MPPO is processed according to method one to obtain an available MPPO model, and the available MPPO can perform real-time positioning correction on Beidou satellite positioning parameters; The method 1 comprises: 1) Inputting the existing train location data on N old lines into the data set module; 2) The data set module extracts data from the train positioning data of N old lines respectively, extracts data from the train positioning data of a single old line to obtain a corresponding positioning data set, and the N positioning data sets constitute a positioning data training set; the positioning data set includes the positioning value of each positioning moment of the line and the positioning feature parameters corresponding to each positioning value; the positioning feature parameters include pseudorange residual, visual distance vector, geometric precision factor, carrier signal-to-noise ratio and pitch angle; 3) The data set module transmits the positioning data training set to the reinforcement learning module; 4) The reinforcement learning module uses the PPO algorithm to perform reinforcement learning using the N positioning data sets to obtain N reinforcement learning models; then the reinforcement learning module uses the NAML algorithm to perform meta-learner training to obtain the common meta-parameters of the N reinforcement learning models; then the reinforcement learning module transmits the common meta-parameters to the positioning module; the reward function R involved in the PPO algorithm is determined according to formula 1; 5) The positioning module loads the common meta parameters into the MPPO model, and then fine-tunes the common meta parameters to obtain a usable MPPO model; The formula 1 is: Among them, t is one of the time points of the line, T is the total number of time points of the line; r t is the negative of the Euclidean distance between the positioning value corrected by the reinforcement learning model at time t and the positioning value matched by the actual map, r t Determined by formula 2; η is the bonus discount factor, when the corrected positioning error is equal to or less than M meters, then η = 0.7, when the corrected positioning error is greater than M meters, then η = 0.9, where M is the set value; The formula 2 is: Among them, x t ,y t and z t They are the values ​​of the x, y and z directions in the positioning value corrected by the reinforcement learning model at time t with ECEF as the coordinate system; and are respectively the values ​​of the x, y and z directions in the actual map matching positioning value at time t with ECEF as the coordinate system; the ECEF is the earth coordinate system with the center of the earth fixed; The positioning method comprises: The train's positioning module obtains the train's positioning feature parameters and positioning values ​​from the Beidou satellite in real time, and then the positioning module uses the positioning feature parameters as the input of the available MPPO correction model, and then the available MPPO correction model outputs positioning correction parameters, and then the positioning module uses the positioning correction parameters to correct the positioning value to obtain the corrected positioning value.

2. The Beidou satellite-based meta-reinforcement learning train positioning method according to claim 1, Features: The visual distance vector is the visual distance between the Beidou satellite and the receiver, and the visual distance vector includes three LOS vectors along the three directions of x, y and z in the ECEF coordinate system.

3. The Beidou satellite-based meta-reinforcement learning train positioning method according to claim 1 or 2, Features: The interactive environment involved in the PPO algorithm is established through an observable Markov decision process, in which a CNN model is used to learn spatial features from input data, and an LSTM model is used to learn temporal information in a time series.

4. The Beidou satellite-based meta-reinforcement learning train positioning method according to claim 1 or 2, Features: The M is 5.