Maglev train positioning method and device based on adaptive Kalman filtering algorithm
Through the adaptive Kalman filter algorithm and multi-sensor fusion technology, the problem of inaccurate positioning of maglev trains in complex environments is solved, and high-precision and efficient maglev train positioning is achieved.
Patent Information
- Application Number
- CN202410616395.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-08-27
AI Technical Summary
When maglev trains run at high speed in deep mountains, forests, urban high-rise buildings or tunnels, single positioning technology is easily affected by noise and electromagnetic interference, resulting in inaccurate positioning.
A multi-sensor fusion method based on the adaptive Kalman filter algorithm is used to obtain data on the target's longitude and latitude, acceleration and speed, and the automatic correction weight dynamic allocation method and attenuated memory molecules are used for weighted fusion, and the noise covariance matrix is updated in real time to reduce The impact of small noise on positioning.
It achieves high-precision and robust positioning of maglev trains, improves positioning accuracy and efficiency, and reduces the weight of historical measurement data on fusion estimation.
Smart Images

Figure CN118545115A
Abstract
Description
Technical Field
[0001] The present application relates to the field of target positioning, and in particular to a method and device for positioning a magnetic levitation train based on an adaptive Kalman filter algorithm. Background Art
[0002] At present, in the speed measurement and positioning system for maglev trains, generally one positioning technology is used (for example, speed measurement and positioning technology based on counting rail sleepers, speed measurement and positioning technology based on inductive cross loops, speed measurement and positioning technology based on long stator tooth slot detection; the technologies used for absolute speed measurement and positioning of maglev trains mainly include: pulse width coding inductive speed measurement and positioning technology, microwave speed measurement and positioning technology), and the positioning method is single. When the maglev train runs at high speed in deep mountains, forests, urban high-rise buildings or tunnels, the single positioning information is easily interfered and lost.
[0003] In practical applications, the noise, electromagnetic interference between devices and environmental factors can cause random errors or mistakes in the sensors in the multi-sensor system, which can cause deviations or even distortions in the measurement results and ultimately lead to inaccurate positioning of the permanent magnet maglev train.
[0004] Therefore, how to accurately position the maglev train is a technical problem that needs to be solved. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a method for positioning a maglev train based on an adaptive Kalman filter algorithm. The technical solution of the embodiments of the present application can achieve the effect of accurately positioning the maglev train.
[0006] In the first aspect, the embodiment of the present application provides a method for positioning a maglev train based on an adaptive Kalman filter algorithm, including obtaining data information of the maglev train to be positioned through a multi-sensor fusion method, wherein the data information includes: at least one of the target longitude and latitude, acceleration, current speed and current position; performing weighted fusion on the data information through an automatic correction weight dynamic allocation method and introducing an attenuated memory molecule to obtain fused data; performing noise estimation on the fused data through an adaptive Kalman filter algorithm, and determining the position information of the maglev train to be positioned based on the fused data after noise estimation. This method can achieve the effect of accurately positioning the maglev train.
[0007] In the above embodiments, the present application firstly adopts a multi-sensor information fusion method. By collecting the target longitude and latitude, target acceleration, target speed and target position, multiple positioning methods are integrated with each other and their advantages complement each other. Unlike the prior art, a single positioning system cannot meet the requirements of the train positioning system. The present application proposes a self-correcting weight dynamic allocation algorithm, introduces an attenuation memory factor, and uses an adaptive Kalman filtering algorithm to improve the accuracy and efficiency of self-suspension train positioning.
[0008] In some embodiments, noise estimation is performed on the fused data through an adaptive Kalman filtering algorithm, and the position information of the maglev train to be located is determined based on the fused data after noise estimation, including: updating the observation noise covariance matrix in real time through an adaptive Kalman filtering algorithm to obtain noise information; establishing an information fusion mathematical model, and combining the adaptive Kalman filtering algorithm to perform data fusion on the fused data after noise estimation to obtain position information.
[0009] In the above embodiment, the present application updates the observation noise covariance matrix in real time based on the adaptive Kalman filter algorithm, estimates and updates the observation noise statistics online, thereby reducing the error of the system state estimation caused by the time-varying observation noise. Finally, through the established information fusion mathematical model, the adaptive Kalman filter algorithm information fusion algorithm is used for data fusion, and finally the high-precision positioning of the maglev train is realized.
[0010] In some embodiments, data information of the maglev train to be located is obtained through a multi-sensor fusion method, including: using an accelerometer and a gyroscope to obtain acceleration information and angular velocity information of the maglev train carrier to be located; updating the attitude, velocity and position of the carrier at the previous moment and the gyroscope angle increment sampling and accelerometer velocity increment sampling in the current time period through an inertial navigation update algorithm to obtain data information.
[0011] In the above embodiments of the present application, a multi-sensor information fusion method is firstly adopted. Different sensors are used to collect the target longitude and latitude, target acceleration, target speed and target position. Multiple positioning methods are integrated with each other and their advantages complement each other. Unlike the prior art, a single positioning system cannot meet the requirements of the train positioning system.
[0012] In some embodiments, the data information is weightedly fused by automatically correcting the dynamic weight allocation method and introducing attenuation memory molecules to obtain fused data, including: iterating the deviation of each data information through the automatic correction of the dynamic weight allocation method, and introducing attenuation memory molecules to determine the weight of each data information; according to the weight of each data information, the data information is grouped and fused to obtain fused data.
[0013] In the above embodiment, the present application designs a self-correcting weight dynamic allocation algorithm. The weight dynamic allocation algorithm needs to use all historical data when calculating the standard deviation of each sensor, which requires the storage of a large amount of information and takes a long time to calculate. In order to realize the fusion of multi-sensor information of maglev trains, a self-correcting weight dynamic allocation algorithm is proposed, which introduces an attenuation memory factor, uses an iterative method to obtain the deviation of each sensor, and updates it at each step, reducing the influence of historical measurement data on the fusion estimation, and improving the accuracy and efficiency of the algorithm.
[0014] In some embodiments, the noise of the fused data is estimated by an adaptive Kalman filtering algorithm, and the position information of the maglev train to be located is determined based on the fused data after the noise estimation, including: estimating the noise variance and covariance of the driving process of the maglev train to be located by an adaptive Kalman filtering algorithm; substituting the noise variance and covariance into the filtering formula for filtering and fusion, and obtaining the position information.
[0015] In the above embodiment of the present application, in the process of estimating the entire noise characteristic, the influence of process noise on the filtering effect can be reduced according to the estimation of the noise variance and covariance. The estimated variance and covariance are respectively substituted into the filtering formula and the filtering fusion is performed, and finally the high-precision and strong robust positioning of the maglev train is realized.
[0016] In a second aspect, an embodiment of the present application provides a maglev train positioning device based on an adaptive Kalman filter algorithm, comprising:
[0017] An acquisition module, used to acquire data information of the maglev train to be located by a multi-sensor fusion method, wherein the data information includes at least one of: target longitude and latitude, acceleration, current speed and current position;
[0018] The fusion module is used to perform weighted fusion on data information by automatically correcting the dynamic weight allocation method and introducing attenuation memory molecules to obtain fused data;
[0019] The positioning module is used to perform noise estimation on the fused data through an adaptive Kalman filter algorithm, and determine the position information of the maglev train to be positioned based on the fused data after noise estimation.
[0020] Optionally, the positioning module is specifically used for:
[0021] Through the adaptive Kalman filter algorithm, the observation noise covariance matrix is updated in real time to obtain noise information;
[0022] An information fusion mathematical model is established, and the adaptive Kalman filter algorithm is used to fuse the fused data after noise estimation to obtain the position information.
[0023] Optionally, the acquisition module is specifically used to:
[0024] The acceleration information and angular velocity information of the magnetic levitation train carrier to be positioned are obtained by using an accelerometer and a gyroscope;
[0025] The inertial navigation update algorithm is used to update the attitude, velocity and position of the vehicle at the previous moment and the gyro angle increment sampling and accelerometer velocity increment sampling in the current time period to obtain data information.
[0026] Optionally, the fusion module is specifically used for:
[0027] Through the automatic correction weight dynamic allocation method, the deviation of each data information is iterated, and the decay memory molecule is introduced to determine the weight of each data information;
[0028] According to the weight of each data information, the data information is grouped and fused to obtain fused data.
[0029] Optionally, the positioning module is specifically used for:
[0030] The noise variance and covariance of the maglev train to be located during its travel are estimated by using an adaptive Kalman filter algorithm.
[0031] Substitute the noise variance and covariance into the filtering formula for filtering fusion to obtain the position information.
[0032] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method provided in the first aspect are performed.
[0033] In a fourth aspect, an embodiment of the present application provides a readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the method provided in the first aspect are performed.
[0034] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 A flowchart of a magnetic levitation train positioning method based on an adaptive Kalman filter algorithm provided in an embodiment of the present application;
[0037] Figure 2 A schematic diagram of the structure of an inertial navigation device provided in an embodiment of the present application;
[0038] Figure 3 A flowchart of an implementation method of a maglev train positioning based on an adaptive Kalman filter algorithm provided in an embodiment of the present application;
[0039] Figure 4 A schematic block diagram of a maglev train positioning device based on an adaptive Kalman filter algorithm provided in an embodiment of the present application;
[0040] Figure 5 A schematic structural diagram of a maglev train positioning device based on an adaptive Kalman filter algorithm provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0042] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0043] First, some terms involved in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.
[0044] UKF: Unscented Kalman Filter is an algorithm that combines the lossless transform (UT) and the standard Kalman filter system to deal with the state estimation problem of nonlinear systems.
[0045] GNSS: Global Navigation Satellite System (GNSS, also known as Global Navigation Satellite System) is an air-based radio navigation and positioning system that can provide users with all-weather three-dimensional coordinates, speed and time information at any location on the Earth's surface or in near-Earth space.
[0046] SINS: Inertial Navigation System (also known as INS) is an autonomous navigation system that does not rely on external information and does not radiate energy to the outside. Its working environment includes not only air and ground, but also underwater. The basic working principle of inertial navigation is based on Newton's laws of mechanics. By measuring the acceleration of the carrier in the inertial reference system, integrating it over time, and transforming it into the navigation coordinate system, it is possible to obtain information such as speed, yaw angle and position in the navigation coordinate system.
[0047] IMU: Inertial measurement unit is a device that measures the three-axis attitude angle (or angular rate) and acceleration of an object. Generally, an IMU contains three single-axis accelerometers and three single-axis gyroscopes. The accelerometer detects the acceleration signal of the object in the carrier coordinate system in three independent axes, while the gyroscope detects the angular velocity signal of the carrier relative to the navigation coordinate system, measures the angular velocity and acceleration of the object in three-dimensional space, and uses this to calculate the attitude of the object. It has very important application value in navigation.
[0048] This application is applied to the scenario of maglev train positioning. The specific scenario is that a multi-sensor information fusion method is first adopted. The global navigation satellite system (GNSS) collects the target longitude and latitude, the inertial navigation system (SINS) collects the target acceleration, the Doppler radar collects the target speed, and the cross-induction line collects the target position, and the fusion positioning is performed by combining absolute positioning with relative positioning. Secondly, this paper designs a self-correcting weight dynamic allocation algorithm. The weight dynamic allocation algorithm needs to use all historical data when calculating the standard deviation of each sensor, which requires the storage of a large amount of information and takes a long time to calculate. In order to realize the fusion of multi-sensor information of maglev trains, a self-correcting weight dynamic allocation algorithm is proposed, which introduces an attenuation memory factor, uses an iterative method to obtain the deviation of each sensor, and updates it at each step, reducing the weight of the influence of historical measurement data on the fusion estimate, and improving the accuracy and efficiency of the algorithm.
[0049] At present, in the speed measurement and positioning system for maglev trains, generally one positioning technology is used (for example, speed measurement and positioning technology based on counting sleepers, speed measurement and positioning technology based on inductive cross loops, speed measurement and positioning technology based on long stator tooth slot detection; the technologies used for absolute speed measurement and positioning of maglev trains mainly include: pulse width coding inductive speed measurement and positioning technology, microwave speed measurement and positioning technology), and the positioning method is single. When the maglev train runs at high speed in deep mountains, forests, urban high-rise buildings or tunnels, the single positioning information is easily interfered with and lost. In actual applications, the noise, electromagnetic interference between devices and environmental factors will cause random errors or errors in the sensors in the multi-sensor system, which will cause deviations or even distortions in the measurement results, and ultimately lead to inaccurate positioning of permanent magnet maglev trains.
[0050] To this end, the present application uses a multi-sensor fusion method to obtain data information of the magnetic levitation train to be located, wherein the data information includes at least one of: target longitude and latitude, acceleration, current speed and current position; through the automatic correction weight dynamic allocation method, and the introduction of attenuation memory molecule, the data information is weighted fused to obtain fused data; the fused data is noise estimated by the adaptive Kalman filter algorithm, and the position information of the magnetic levitation train to be located is determined according to the fused data after noise estimation. First, a multi-sensor information fusion method is adopted. By collecting the target longitude and latitude, target acceleration, target speed and target position, multiple positioning methods are integrated with each other and complement each other. Unlike the existing technology, a single positioning system cannot meet the requirements of the train positioning system. This application proposes a self-correction weight dynamic allocation algorithm, introduces an attenuation memory factor, and uses an adaptive Kalman filter algorithm to improve the accuracy and efficiency of self-suspended train positioning.
[0051] In the embodiment of the present application, the execution entity can be a maglev train positioning device based on an adaptive Kalman filter algorithm in a maglev train positioning system based on an adaptive Kalman filter algorithm. In actual applications, the maglev train positioning device based on the adaptive Kalman filter algorithm can be electronic devices such as terminal devices and servers, and there is no limitation here.
[0052] Combine the following Figure 1 The magnetic levitation train positioning method based on the adaptive Kalman filter algorithm in an embodiment of the present application is described in detail.
[0053] Please see Figure 1 , Figure 1 A flowchart of a method for positioning a maglev train based on an adaptive Kalman filter algorithm is provided in an embodiment of the present application, such as Figure 1 The maglev train positioning method based on the adaptive Kalman filter algorithm shown includes:
[0054] Step 110: Acquire data information of the maglev train to be located through a multi-sensor fusion method.
[0055] The data information includes: at least one of the target longitude and latitude, acceleration, current speed and current position, and may also include information such as the length and center position of the maglev train, but the present application is not limited thereto.
[0056] In some embodiments of the present application, data information of the maglev train to be located is obtained through a multi-sensor fusion method, including: using an accelerometer and a gyroscope to obtain the acceleration information and angular velocity information of the maglev train carrier to be located; updating the attitude, speed and position of the carrier at the previous moment and the gyroscope angle increment sampling and accelerometer velocity increment sampling in the current time period through an inertial navigation update algorithm to obtain data information.
[0057] In the above process, the present application first adopts a multi-sensor information fusion method, which collects the target longitude and latitude, target acceleration, target speed and target position through different sensors. Multiple positioning methods are integrated with each other and their advantages complement each other. Unlike the prior art, a single positioning system cannot meet the requirements of the train positioning system.
[0058] Among them, when collecting data information, the present application can use an inertial navigation system to collect information, and use the attitude, speed and position of the previous moment and the gyro angle increment sampling and accelerometer speed increment sampling in the current time period to calculate the navigation parameters of the current moment through numerical integration, including inertial navigation attitude update, speed update and position update. In the combined navigation and positioning system, the present invention first selects sensors such as INS, GNSS, Doppler radar and cross-sensing lines for data collection, and pre-processes the data redundant information provided by multiple sensors to obtain complementary multi-source information.
[0059] Specifically, the inertial navigation system includes multiple inertial navigation devices, which can be found in Figure 2 .
[0060] Please see Figure 2 , Figure 2 A schematic diagram of the structure of an inertial navigation device provided in this application, such as Figure 2 The inertial navigation devices shown include:
[0061] IMU (Inertial Measurement Unit), navigation processor and gravity field model.
[0062] Inertial measurement units include accelerometers and gyroscopes, etc.
[0063] Specifically: initial conditions are input into the navigation processor, the accelerometer and gyroscope obtain acceleration and attitude data of the maglev train and input into the navigation processor, the gravity field model obtains the gravity field information of the maglev train and inputs into the navigation processor, and the navigation processor processes the obtained multiple information and outputs the position, speed and attitude of the maglev train.
[0064] The initial conditions may be relevant information of the maglev train, such as the travel speed.
[0065] Step 120: By automatically correcting the weight dynamic allocation method and introducing the attenuation memory molecule, the data information is weightedly fused to obtain fused data.
[0066] In some embodiments of the present application, the data information is weightedly fused by automatically correcting the dynamic weight allocation method and introducing an attenuation memory molecule to obtain fused data, including: iterating the deviation of each data information through the automatic correction of the dynamic weight allocation method, and introducing an attenuation memory molecule to determine the weight of each data information; according to the weight of each data information, the data information is grouped and fused to obtain fused data.
[0067] In the above process, the present application designs a self-correcting weight dynamic allocation algorithm. The weight dynamic allocation algorithm needs to use all historical data when calculating the standard deviation of each sensor, which requires the storage of a large amount of information and takes a long time to calculate. In order to realize the fusion of multi-sensor information of maglev trains, a self-correcting weight dynamic allocation algorithm is proposed, which introduces an attenuation memory factor, uses an iterative method to obtain the deviation of each sensor, and updates it at each step, reducing the influence of historical measurement data on the fusion estimation, and improving the accuracy and efficiency of the algorithm.
[0068] Among them, by automatically correcting the dynamic weight allocation method, iterating the deviation of each data information, and introducing the decay memory molecule, the weight of each data information can be determined by the following algorithm:
[0069]
[0070]
[0071]
[0072] S i1 (k) = τS i1 (k-1)+(1-τ)Δz i (k);
[0073]
[0074]
[0075]
[0076]
[0077] in, represents the center point of the sensor position at each moment, M represents the number of sensors, z i (k) is the measurement value of the i-th sensor at time k. Δz i (k) represents the deviation between the measurement value of each sensor and the center point, S i1 (k) is the sum of the asymptotic memory deviations of the ith sensor at the kth moment, S i2 (k) is the asymptotic memory variance sum of the i-th sensor at the k-th time, S represents the square deviation between the measurement value of each sensor and the center point, and the value range of τ is [0,1]. i1 (k) is the sum of the asymptotic memory deviations of the ith sensor at the kth moment, σ i (k) represents the average value of each sensor deviation, represents the average deviation of each sensor, η i (k) represents the weight of each sensor, σ i (k) represents the average value of each sensor deviation.
[0078] In addition, the weight of each sensor is calculated according to the above method, and the fusion data at the moment can be calculated by the following formula.
[0079]
[0080] Among them, Z k represents the weighted measurement value (fused data), z i (k) is the measurement value of the i-th sensor at time k, y(k) is the true state value of the observed target at time k, η i (k) represents the weight of the i-th sensor at time k, and M represents the number of sensors.
[0081] Step 130: Perform noise estimation on the fused data by using an adaptive Kalman filter algorithm, and determine the position information of the maglev train to be located based on the fused data after noise estimation.
[0082] In some embodiments of the present application, noise estimation is performed on the fused data through an adaptive Kalman filtering algorithm, and the position information of the maglev train to be located is determined based on the fused data after noise estimation, including: updating the observation noise covariance matrix in real time through an adaptive Kalman filtering algorithm to obtain noise information; establishing an information fusion mathematical model, and combining the adaptive Kalman filtering algorithm to perform data fusion on the fused data after noise estimation to obtain position information.
[0083] In the above process, the present application updates the observation noise covariance matrix in real time based on the adaptive Kalman filter algorithm, estimates and updates the observation noise statistics online, thereby reducing the error of the system state estimation caused by the time-varying observation noise. Finally, through the established information fusion mathematical model, the adaptive Kalman filter algorithm information fusion algorithm is used for data fusion, and finally the high-precision positioning of the maglev train is realized.
[0084] Among them, the establishment of information fusion mathematical model can be achieved through the following algorithm:
[0085]
[0086] v t =v t-1 +a·Δt;
[0087] Among them, x t and x t-1 are the positions of the maglev train at time t and t-1 respectively. t and v t-1 are the speeds of the maglev train at time t and t-1 respectively. Δt is the time interval, and a is the acceleration of the maglev train.
[0088] In some embodiments of the present application, noise estimation is performed on the fused data through an adaptive Kalman filtering algorithm, and the position information of the maglev train to be located is determined based on the fused data after noise estimation, including: estimating the noise variance and covariance of the driving process of the maglev train to be located through an adaptive Kalman filtering algorithm; substituting the noise variance and covariance into the filtering formula for filtering and fusion, and obtaining the position information.
[0089] In the above process, the present application can reduce the influence of process noise on the filtering effect according to the estimation of noise variance and covariance in the whole process of noise characteristic estimation. Substitute the estimated variance and covariance into the filtering formula and perform filtering fusion respectively, and finally realize the high-precision and strong robust positioning of the maglev train.
[0090] Specifically: The noise variance and covariance of the maglev train to be positioned during its travel can be estimated by the adaptive Kalman filter algorithm and obtained by the following formula:
[0091]
[0092]
[0093]
[0094]
[0095]
[0096]
[0097] λ=α 2 (n+κ)-n;
[0098]
[0099]
[0100]
[0101] P k =P XX +Q k-1 ;
[0102]
[0103]
[0104]
[0105]
[0106]
[0107]
[0108]
[0109]
[0110]
[0111]
[0112] Among them, X k Z represents the train position state vector at time k, k represents the measurement vector of the train position observation value at time k, f(·) is the nonlinear state transfer function, h(·) is the nonlinear measurement function, ω k-1 is the process noise, ν k is the observation noise. kis the process noise, ν k is the observation noise, q k is the process noise variance, Q k is the process noise covariance, r k is the measurement noise variance, R k is the measurement noise covariance, is the cross-covariance of process noise and measurement noise. is the initial mean, E{X 0} represents the initial mean, X 0 is the initial value, T is the transposed matrix symbol, P 0 is the initial error covariance. is the first sigma point mean, is the predicted mean, is the mean of the ith sigma point, P k-1 It represents the prediction error covariance, n is the dimension of the state, λ is the compound scale factor, α is the first adjustment parameter, κ is the second adjustment parameter, and the parameter α is generally set to 0≤α≤1, and κ is generally set to 0 by default. represents the predicted mean of the i-th sigma point, P k represents the prediction error covariance, P XX is the state measurement covariance, and are the weight vectors of mean and covariance respectively, f(·) is the nonlinear state transfer function, q k-1 is the process noise variance, Q k-1 is the process noise covariance, m represents the mean, c represents the covariance, Initial mean weight, is the initial covariance weight. For Gaussian distribution, the best setting for β is β = 2, λ is a composite scale factor and λ = α 2 (n+h)-n, n is the dimension of the state, α is the first adjustment parameter and α=1, h represents the second-order size factor and h=0. represents the measurement prediction of the i-th sigma point, h(·) is the nonlinear state measurement function, represents the predicted mean of the i-th sigma point, k represents the time, Z k is the sensor's measurement value, By Z k The new sensor measurement value is obtained by multiplying the sensor measurement value by the weight. XZ is the state measurement cross covariance, P ZZ is the innovation covariance, K k is the Kalman gain, R k is the observation noise covariance. is the posterior estimate, P k+1 represents the updated error covariance, K k The transposed matrix of .
[0113] In addition, the noise variance and covariance are substituted into the filtering formula for filtering fusion, and the position information can be obtained through the following formula:
[0114]
[0115]
[0116]
[0117]
[0118]
[0119]
[0120] in, represents the prediction variance of process noise, j represents the time, represents the predicted value, represents the nonlinear state transfer function. represents the weight, represents the prediction covariance of the process noise, is the innovation sequence, K k is the Kalman gain, is the transpose of the Kalman gain, P k represents the error covariance, represents the weight, represents the predicted mean of the i-th sigma point, represents the transpose of the predicted mean of the ith sigma point, represents the predicted value, Represents the transpose of the predicted value. Q represents the final position information.
[0121] In the above Figure 1In the process shown, the present application obtains data information of the magnetic levitation train to be located by a multi-sensor fusion method, wherein the data information includes at least one of acceleration, current speed and current position; the data information is weightedly fused by an automatic correction weight dynamic allocation method and an attenuation memory molecule is introduced to obtain fused data; the fused data is noise estimated by an adaptive Kalman filter algorithm, and the position information of the magnetic levitation train to be located is determined based on the fused data after noise estimation. First, a multi-sensor information fusion method is adopted. By collecting the target longitude and latitude, target acceleration, target speed and target position, multiple positioning methods are integrated with each other and complement each other. Unlike the prior art, a single positioning system cannot meet the requirements of the train positioning system. The present application proposes a self-correction weight dynamic allocation algorithm, introduces an attenuation memory factor, and uses an adaptive Kalman filter algorithm to improve the accuracy and efficiency of self-suspended train positioning.
[0122] Combine the following Figure 3 The implementation method of magnetic levitation train positioning based on the adaptive Kalman filter algorithm in the embodiment of the present application is described in detail.
[0123] Please see Figure 3 , Figure 3 A flowchart of an implementation method of a maglev train positioning based on an adaptive Kalman filter algorithm provided in an embodiment of the present application is shown in FIG. Figure 3 The illustrated method for implementing the positioning of a maglev train based on an adaptive Kalman filter algorithm includes:
[0124] Acquisition of redundant information;
[0125] Specifically: the acceleration, longitude and latitude, speed and position of the maglev train are obtained respectively through INS, GNSS, Doppler radar and cross-induction lines.
[0126] Redundant information preprocessing;
[0127] Specifically: perform relevant processing such as removing redundant information and filtering out irrelevant information.
[0128] The principle of complementary information in multiple choices;
[0129] Specifically: By collecting the target longitude and latitude, target acceleration, target speed and target position, multiple positioning methods are integrated with each other and their advantages complement each other.
[0130] Self-correcting weighted calculation weights;
[0131] Specifically: Through the automatic correction of the weight dynamic allocation method, the deviation of each data information is iterated, and the attenuation memory molecule is introduced to determine the weight of each data information.
[0132] Establish information fusion model;
[0133] Specific: Establish a mathematical model of information fusion.
[0134] System noise statistics estimation;
[0135] Specifically: Through the adaptive Kalman filter algorithm, the observation noise covariance matrix is updated in real time to obtain noise information.
[0136] Adaptive UKF information fusion;
[0137] Specifically: the adaptive Kalman filter algorithm is used to fuse the fused data after noise estimation to obtain the position information.
[0138] Realize the positioning of maglev train.
[0139] Specifically: the noise variance and covariance of the maglev train to be located during its travel are estimated by an adaptive Kalman filtering algorithm; the noise variance and covariance are respectively substituted into filtering formulas for filtering fusion to obtain position information.
[0140] also, Figure 3 The specific methods and steps shown can be found in Figure 1 The method shown will not be described in detail here.
[0141] Previous article Figure 1-Figure 3 The maglev train positioning method based on the adaptive Kalman filter algorithm is described below. Figure 4-Figure 5 A maglev train positioning device based on an adaptive Kalman filter algorithm is described.
[0142] Please refer to Figure 4 , is a schematic block diagram of a maglev train positioning device 400 based on an adaptive Kalman filter algorithm provided in an embodiment of the present application. The device 400 may be a module, program segment or code on an electronic device. The device 400 is similar to the above Figure 1 The method embodiment corresponds to and can be executed Figure 1 The various steps involved in the method embodiment and the specific functions of the device 400 can be found in the description below. To avoid repetition, the detailed description is appropriately omitted here.
[0143] Optionally, the device 400 includes:
[0144] The acquisition module 410 is used to acquire data information of the maglev train to be located by a multi-sensor fusion method, wherein the data information includes at least one of: target longitude and latitude, acceleration, current speed and current position;
[0145] The fusion module 420 is used to perform weighted fusion on the data information by automatically correcting the dynamic weight allocation method and introducing the attenuation memory molecule to obtain fused data;
[0146] The positioning module 430 is used to perform noise estimation on the fused data by using an adaptive Kalman filter algorithm, and determine the position information of the maglev train to be positioned according to the fused data after the noise estimation.
[0147] Optionally, the positioning module 430 is specifically used for:
[0148] Through the adaptive Kalman filtering algorithm, the observation noise covariance matrix is updated in real time to obtain noise information; an information fusion mathematical model is established, and the fused data after noise estimation is combined with the adaptive Kalman filtering algorithm to obtain position information.
[0149] Optionally, the acquisition module 410 is specifically used for:
[0150] The acceleration information and angular velocity information of the maglev train carrier to be positioned are obtained by using an accelerometer and a gyroscope; the attitude, velocity and position of the carrier at the previous moment and the gyroscope angle increment sampling and accelerometer velocity increment sampling in the current time period are updated through an inertial navigation update algorithm to obtain data information.
[0151] Optionally, the fusion module 420 is specifically used for:
[0152] Through the automatic correction weight dynamic allocation method, the deviation of each data information is iterated, and the attenuation memory molecule is introduced to determine the weight of each data information; according to the weight of each data information, the data information is grouped and fused to obtain fused data.
[0153] Optionally, the positioning module 430 is specifically used for:
[0154] The noise variance and covariance of the maglev train to be located during its travel are estimated by using an adaptive Kalman filter algorithm. The noise variance and covariance are substituted into the filter formula for filtering and fusion to obtain the position information.
[0155] Please refer to Figure 5 The structure schematic block diagram of a magnetic levitation train positioning device based on an adaptive Kalman filter algorithm provided in an embodiment of the present application, the device may include a memory 510 and a processor 520. Optionally, the device may also include: a communication interface 530 and a communication bus 540. The device and the above Figure 1 The method embodiment corresponds to and can be executed Figure 1 The various steps involved in the method embodiment and the specific functions of the device can be found in the description below.
[0156] Specifically, the memory 510 is used to store computer-readable instructions.
[0157] Processor 520, configured to process readable instructions stored in the memory, capable of executing Figure 1 The steps in the method.
[0158] The communication interface 530 is used for signaling or data communication with other node devices, for example, for communication with a server or a terminal, or for communication with other device nodes, but the embodiments of the present application are not limited thereto.
[0159] The communication bus 540 is used to realize direct connection and communication among the above components.
[0160] The communication interface 530 of the device in the embodiment of the present application is used to communicate signals or data with other node devices. The memory 510 can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The memory 510 can also be at least one storage device located away from the aforementioned processor. The memory 510 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 520, the electronic device executes the aforementioned Figure 1 The method process shown. The processor 520 can be used on the device 400 and used to perform the functions in the present application. Exemplarily, the above-mentioned processor 520 can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and the embodiments of the present application are not limited thereto.
[0161] The embodiment of the present application also provides a readable storage medium, when the computer program is executed by a processor, Figure 1 The method process in the method embodiment shown is executed by the electronic device.
[0162] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method, and will not be described in detail here.
[0163] In summary, the embodiments of the present application provide a method, device, electronic device and readable storage medium for positioning a maglev train based on an adaptive Kalman filter algorithm. The method includes obtaining data information of the maglev train to be positioned through a multi-sensor fusion method, wherein the data information includes: at least one of the target longitude and latitude, acceleration, current speed and current position; performing weighted fusion on the data information through an automatic correction weight dynamic allocation method and introducing an attenuated memory molecule to obtain fused data; performing noise estimation on the fused data through an adaptive Kalman filter algorithm, and determining the position information of the maglev train to be positioned based on the fused data after noise estimation. This method can achieve the effect of accurately positioning the maglev train.
[0164] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0165] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0166] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0167] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0168] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0169] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A maglev train positioning method based on an adaptive Kalman filter algorithm, characterized in that: include: Acquire data information of the maglev train to be located by a multi-sensor fusion method, wherein the data information includes at least one of: target longitude and latitude, acceleration, current speed and current position; By automatically correcting the weight dynamic allocation method and introducing the attenuation memory molecule, the data information is weightedly fused to obtain fused data; The noise of the fused data is estimated by an adaptive Kalman filter algorithm, and the position information of the magnetic levitation train to be located is determined according to the fused data after the noise estimation.
2. The method according to claim 1, characterized in that: The step of performing noise estimation on the fused data by using an adaptive Kalman filter algorithm, and determining the position information of the magnetic levitation train to be located according to the fused data after the noise estimation, comprises: By using the adaptive Kalman filter algorithm, the observation noise covariance matrix is updated in real time to obtain noise information; An information fusion mathematical model is established, and the fused data after the noise estimation is combined with the adaptive Kalman filter algorithm to perform data fusion to obtain the position information.
3. The method according to claim 1 or 2, characterized in that: The method of obtaining data information of the magnetic levitation train to be located by a multi-sensor fusion method includes: The acceleration information and angular velocity information of the magnetic levitation train carrier to be positioned are obtained by using an accelerometer and a gyroscope; The attitude, speed and position of the vehicle at the previous moment and the gyro angle increment sampling and accelerometer speed increment sampling in the current time period are updated through an inertial navigation update algorithm to obtain the data information.
4. The method according to claim 1 or 2, characterized in that: The method of automatically correcting the weight dynamic allocation and introducing the attenuation memory molecule to perform weighted fusion on the data information to obtain fused data includes: By using the automatic correction weight dynamic allocation method, the deviation of each data information is iterated, and the attenuation memory molecule is introduced to determine the weight of each data information; According to the weight of each piece of data information, the data information is grouped and fused to obtain the fused data.
5. The method according to claim 1 or 2, characterized in that: The step of performing noise estimation on the fused data by using an adaptive Kalman filter algorithm, and determining the position information of the maglev train to be located according to the fused data after the noise estimation, comprises: The noise variance and covariance of the running process of the magnetic levitation train to be positioned are estimated by an adaptive Kalman filter algorithm; Substitute the noise variance and the covariance into filtering formulas respectively to perform filtering fusion to obtain the position information.
6. A maglev train positioning device based on an adaptive Kalman filter algorithm, characterized in that: include: An acquisition module, used to acquire data information of the maglev train to be located by a multi-sensor fusion method, wherein the data information includes at least one of: target longitude and latitude, acceleration, current speed and current position; A fusion module, used for weighted fusion of the data information by automatically correcting the weight dynamic allocation method and introducing attenuation memory molecules to obtain fused data; The positioning module is used to perform noise estimation on the fused data through an adaptive Kalman filter algorithm, and determine the position information of the magnetic levitation train to be positioned according to the fused data after the noise estimation.
7. The device according to claim 6, characterized in that The positioning module is specifically used for: By using the adaptive Kalman filter algorithm, the observation noise covariance matrix is updated in real time to obtain noise information; An information fusion mathematical model is established, and the fused data after the noise estimation is combined with the adaptive Kalman filter algorithm to perform data fusion to obtain the position information.
8. The method according to claim 6 or 7, characterized in that: The acquisition module is specifically used for: The acceleration information and angular velocity information of the magnetic levitation train carrier to be positioned are obtained by using an accelerometer and a gyroscope; The attitude, speed and position of the vehicle at the previous moment and the gyro angle increment sampling and accelerometer speed increment sampling in the current time period are updated through an inertial navigation update algorithm to obtain the data information.
9. The method according to claim 6 or 7, characterized in that: The fusion module is specifically used for: By using the automatic correction weight dynamic allocation method, the deviation of each data information is iterated, and the attenuation memory molecule is introduced to determine the weight of each data information; According to the weight of each piece of data information, the data information is grouped and fused to obtain the fused data.
10. The method according to claim 6 or 7, characterized in that: The positioning module is specifically used for: The noise variance and covariance of the running process of the magnetic levitation train to be positioned are estimated by an adaptive Kalman filter algorithm; Substitute the noise variance and the covariance into filtering formulas respectively to perform filtering fusion to obtain the position information.
Citation Information
Cited By
Multi-source data fusion rail train speed monitoring and early warning method, system and equipment
CN120482113A
