Unmanned aerial vehicle mapping method based on multi-sensor fusion positioning

Through pre-integration technology and multi-sensor fusion, combined with IMU, GPS and laser odometry, the problem of low positioning accuracy of UAVs in complex environments is solved, achieving more efficient positioning and mapping performance, and enhancing anti-interference capabilities. .

CN118654663APending Publication Date: 2024-09-17FUJIAN NIUDUN INTELLIGENT DEFENSE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410798181.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The existing UAV positioning system has low positioning accuracy and weak anti-interference ability in complex environments. It is difficult for a single sensor or simple fusion method to effectively solve this problem.

Method used

Using a multi-sensor fusion method based on pre-integration technology, combined with IMU, GPS (or RTK system) and laser odometry data, by setting the weight of sensor information and introducing loopback detection and optimization cycle mechanisms, the state update model and residual Jacobian are constructed model to improve positioning accuracy and robustness.

Benefits of technology

It has significantly improved the mapping and positioning capabilities of UAVs in complex environments, improved positioning accuracy and anti-interference capabilities, and enhanced the adaptability and overall performance of the system through intelligent information fusion and advanced algorithm optimization processing processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118654663A
    Figure CN118654663A
Patent Text Reader

Abstract

The invention discloses an unmanned aerial vehicle mapping method based on multi-sensor fusion positioning, and relates to the technical field of unmanned aerial vehicle equipment, and the method comprises the following steps: S1, carrying out optimization problem analysis; s2, calculating a relative pose between the two frames; s3, constructing a fusion scheme process of an unmanned aerial vehicle map; s4, constructing a pre-integration state updating model; s5, calculating variance to obtain a matrix in the state transfer model under discrete time; s6, updating the pre-integral; s7, constructing a residual Jacobian derivation model; s8, verifying the model based on the simulation data; and S9, unmanned aerial vehicle mapping combined with pre-integration fusion. According to the unmanned aerial vehicle mapping method based on multi-sensor fusion positioning, the relative pose is calculated, and then the relative pose, IMU pre-integration and GPS are fused, so that compared with direct one-step tight coupling, the efficiency is greatly improved, and in the actual measurement process, the performance embodied by unmanned aerial vehicle mapping of the method is very excellent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned aerial vehicle equipment, and in particular to a method for unmanned aerial vehicle mapping based on multi-sensor fusion positioning. Background Art

[0002] The present invention is proposed to solve the problem that a single sensor or a simple sensor fusion method in the prior art has low positioning accuracy and weak anti-interference ability in complex environments. In traditional drone positioning systems, common sensors such as GPS, IMU (inertial measurement unit), and lidar each have their own advantages and disadvantages. For example, GPS signals are susceptible to interference indoors or in blocked environments. Although IMU can operate independently, long-term integration will lead to error accumulation. Although lidar has high accuracy, it is expensive and easily affected by the environment.

[0003] In order to overcome these limitations, a multi-sensor fusion method based on pre-integration technology is proposed. By fusing the data of IMU, GPS (or other RTK systems), and laser odometer, not only can the accuracy and robustness of positioning be improved, but also more stable navigation and mapping can be achieved in different environments. Pre-integration technology plays a key role here. It can integrate IMU data between two key frames and predict pose changes, which can reduce the amount of calculation and increase processing speed.

[0004] In addition, by setting the weights of different sensor information and introducing mechanisms such as loop detection and optimization cycles, the system's adaptability to environmental changes and overall positioning accuracy are further enhanced. The effectiveness and superiority of this method in practical applications have been demonstrated through verification on various test platforms and actual environments, such as the KITTI dataset. Overall, this method significantly improves the mapping and positioning capabilities of drones in complex environments by intelligently fusing multiple sensor information and optimizing the data processing process using advanced algorithms. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention provides a UAV mapping method based on multi-sensor fusion positioning to solve the problems raised in the above background technology.

[0006] To achieve the above object, the present invention provides the following technical solution: a method for drone mapping based on multi-sensor fusion positioning, comprising the following steps: S1. Equivalent analysis of optimization problems based on pre-integration; S2, calculate the relative pose between two frames based on pre-integration, without relying on the influence of initial value; S3, the fusion solution process of building drone maps based on pre-integration; S4. Construct a pre-integrated state update model based on the differential model of navigation and the models of the gyroscope and accelerometer; S5. When fusion is performed, weights are set for different information, and the variance of the IMU is calculated by integrating the IMU to obtain the matrix in the state transfer model under discrete time; S6. updating the pre-integration based on a discrete-time state transfer model; S7, construct the derivation model of residual Jacobian; S8. Verify the model based on simulation data; S9. Complete drone mapping combined with pre-integration fusion in kitti.

[0007] To further optimize the technical solution, in step S1, the equivalent formula of the optimization problem is as follows: In the formula, the first formula box represents the laser odometry constraint, the second formula box represents the IMU constraint, and the third formula box represents the RTK constraint.

[0008] To further optimize the technical solution, the three constraints in the equivalent formula are obtained in the following ways: Laser odometry constraint: Use the laser odometry to calculate the pose of each key frame and then get the relative pose; IMU constraint: Based on the pose of the previous key frame, inertial integration is performed to obtain the relative pose of the two key frames; RTK constraints: obtained by direct measurement.

[0009] To further optimize the technical solution, in step S3, the fusion solution process includes the following steps: Perform trajectory alignment and add the relative position of the laser odometer; Add pre-integration constraints to detect whether there is a loop. If a loop is detected, add a loop constraint. If no loop is detected, proceed directly to the next step. Add prior constraints to detect whether the optimization cycle has been reached. If the optimization cycle has been detected, proceed directly to the next step. If the optimization cycle has not been reached, re-add the relative position of the laser odometer and repeat the cycle until the optimization cycle is detected. Based on the optimization cycle, the optimization is performed.

[0010] To further optimize the technical solution, in step S4, the differential model of navigation is as follows: Based on the above formula, we can get Time has come The integration result of the IMU at the moment, and the derived pre-integration state update model are as follows: Meanwhile, the models for the gyroscope and accelerometer are as follows: Based on the model of gyroscope and accelerometer, it can be known that bias is changing, which is convenient for estimating bias values ​​at different times, rather than treating it as a constant value during the entire system operation time, which is in line with the actual situation of low-precision MEMS; However, during pre-integration, since the time between two key frames is short, it is considered and The bias at each moment is equal. During the optimization process, the bias as a state variable will also change, causing the pre-integration result to change.

[0011] To further optimize the technical solution, in step S5, the state transfer model under discrete time is as follows: Then the matrix in the discrete time state transfer model is as follows: To further optimize the technical solution, in step S6, based on the state transfer model in discrete time, through the recursive form, it can be obtained: The above formula is the Jacobian of the pre-integration result. It is calculated by this iterative method. The terms about bias in are the Jacobians corresponding to the biases during the pre-integrated Taylor expansion.

[0012] To further optimize the technical solution, in step S7, the derived model of the residual Jacobian is divided into a velocity residual Jacobian model and a posture residual Jacobian model.

[0013] To further optimize the technical solution, the posture residual Jacobian model includes Jacobian model of attitude error at the moment, The Jacobian model of the attitude error at the moment and the Jacobian model of the gyroscope bias error at time instant.

[0014] To further optimize the technical solution, the velocity residual Jacobian model includes Jacobian model of attitude error at the moment, The Jacobian model of the velocity error at the moment and the Jacobian model of acceleration bias error at each moment.

[0015] Compared with the prior art, the present invention provides a UAV mapping method based on multi-sensor fusion positioning, which has the following beneficial effects: This UAV mapping method based on multi-sensor fusion positioning calculates the relative pose and then uses the relative pose, IMU pre-integration and GPS for fusion. Compared with direct tight coupling in one step, as long as the measurement is under the carrier system and the frequency is higher than the extraction frequency of the key frame, pre-integration can be done, and the pre-integration model is designed, the residual is designed, the variance is recursive, and the Jacobian is derived, which greatly improves the efficiency. In addition, in the actual measurement process, the performance of UAV mapping of this method is also excellent. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a flow chart of step S3 in a UAV mapping method based on multi-sensor fusion positioning proposed in the present invention. DETAILED DESCRIPTION

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

[0018] Example: A method for UAV mapping based on multi-sensor fusion positioning includes the following steps: S1. Equivalent analysis of optimization problems based on pre-integration.

[0019] The equivalent formulation of the optimization problem is as follows: In the formula, the first formula box represents the laser odometry constraint, the second formula box represents the IMU constraint, and the third formula box represents the RTK constraint.

[0020] The three constraints in the equivalent formula are obtained in the following ways: Laser odometry constraint: Use the laser odometry to calculate the pose of each keyframe and then get the relative pose; IMU constraint: Based on the pose of the previous key frame, inertial integration is performed to obtain the relative pose of the two key frames; RTK constraints: obtained by direct measurement.

[0021] S2, calculate the relative pose between two frames based on pre-integration, without relying on the influence of initial value.

[0022] S3. Fusion solution process for building drone maps based on pre-integration.

[0023] like Figure 1 As shown, the fusion solution process includes the following steps: Perform trajectory alignment and add the relative position of the laser odometer; Add pre-integration constraints to detect whether there is a loop. If a loop is detected, add a loop constraint. If no loop is detected, proceed directly to the next step. Add prior constraints to detect whether the optimization cycle has been reached. If the optimization cycle has been detected, proceed directly to the next step. If the optimization cycle has not been reached, re-add the relative position of the laser odometer and repeat the cycle until the optimization cycle is detected. Based on the optimization cycle, the optimization is performed.

[0024] S4. Construct a pre-integrated state update model based on the differential model of navigation and the models of the gyroscope and accelerometer.

[0025] The differential model of navigation is as follows: According to this differential equation, we can know that Carved to The integration result of IMU at this moment is: According to the requirements of pre-integration, what is needed is a relative result, which does not depend on the posture at the previous moment, so the above formula needs to be transformed.

[0026] because , substituting it into equations (4)-(6) we get: To tidy up the formula, replace the terms related to the integral with the following formula: In actual use, the discrete form is used instead of the continuous form, because the median integral method is generally used in the solution, that is: Then the discrete form of the pre-integration can be expressed as After the above derivation, the state update model of pre-integration is Meanwhile, the models for the gyroscope and accelerometer are as follows: Based on the model of gyroscope and accelerometer, it can be known that bias is changing, which is convenient for estimating bias values ​​at different times, rather than treating it as a constant value during the entire system operation time, which is in line with the actual situation of low-precision MEMS; However, during pre-integration, since the time between two key frames is short, it is considered and The bias at each moment is equal. During the optimization process, the bias as a state variable will also change, causing the pre-integration result to change.

[0027] One thing to note is that the result of pre-integration includes bias. During the optimization process, bias as a state variable will also change, causing changes in the pre-integration result. In order to avoid re-doing pre-integration after the bias changes, the pre-integration result can be Taylor expanded at the bias and expressed in the following form, so that the new pre-integration result can be directly calculated based on the change in bias.

[0028] in, .

[0029] S5. During fusion, weights are set for different information, the variance of the IMU is calculated by integrating it, and the matrix in the state transfer model under discrete time is obtained.

[0030] The differential equation in continuous form is: After obtaining the continuous-time differential equation, we can calculate the discrete-time recurrence equation, which is expressed as in: After derivation, the matrix in the state transfer model under discrete time is as follows: In the above matrix, we have S6. Update the pre-integration based on the state transfer model in discrete time.

[0031] Based on the state transfer model in discrete time, through this recursive form, we can get: The above formula is the Jacobian of the pre-integration result. It is calculated by this iterative method. The terms about bias in are the Jacobians corresponding to the biases during the pre-integrated Taylor expansion.

[0032] S7. Construct a derivation model of the residual Jacobian.

[0033] The derived models of residual Jacobian are divided into velocity residual Jacobian model and attitude residual Jacobian model.

[0034] The attitude residual Jacobian model includes Jacobian model of attitude error at the moment, The Jacobian model of the attitude error at the moment and the Jacobian model of the gyroscope bias error at time instant.

[0035] Among them, The Jacobian model of the attitude error at the moment is: Among them, The Jacobian model of the attitude error at the moment is: Among them, The Jacobian model of the gyroscope bias error at time is The velocity residual Jacobian model includes Jacobian model of attitude error at the moment, The Jacobian model of the velocity error at the moment Jacobian model of acceleration bias error at each moment.

[0036] Among them, The Jacobian model of the attitude error at the moment is: Among them, The Jacobian model of the velocity error at the moment is: Among them, The Jacobian model of the acceleration bias error at the moment is: Since the form of the position residual is very similar to that of the velocity residual, the derivation will not be repeated.

[0037] S8. Verify the model based on simulation data.

[0038] As long as the measurement is carried out under the load system and the frequency is higher than the extraction frequency of the key frame, pre-integration can be performed. The encoder also meets this condition, but the information and principle it measures are slightly different from those of the IMU.

[0039] S9. Complete drone mapping combined with pre-integration fusion in kitti.

[0040] The beneficial effects of the present invention are: This UAV mapping method based on multi-sensor fusion positioning calculates the relative pose and then uses the relative pose, IMU pre-integration and GPS for fusion. Compared with direct tight coupling in one step, as long as the measurement is under the carrier system and the frequency is higher than the extraction frequency of the key frame, pre-integration can be done, and the pre-integration model is designed, the residual is designed, the variance is recursive, and the Jacobian is derived, which greatly improves the efficiency. In addition, in the actual measurement process, the performance of UAV mapping of this method is also excellent.

[0041] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A UAV mapping method based on multi-sensor fusion positioning, characterized in that: The following steps are involved: S1. Equivalent analysis of optimization problems based on pre-integration; S2, calculate the relative pose between two frames based on pre-integration, without relying on the influence of initial value; S3, the fusion solution process of building drone maps based on pre-integration; S4. Construct a pre-integrated state update model based on the differential model of navigation and the models of the gyroscope and accelerometer; S5. When fusion is performed, weights are set for different information, and the variance of the IMU is calculated by integrating the IMU to obtain the matrix in the state transfer model under discrete time; S6. updating the pre-integration based on a discrete-time state transfer model; S7, construct the derivation model of residual Jacobian; S8. Verify the model based on simulation data; S9. Complete drone mapping combined with pre-integration fusion in kitti.

2. The method for UAV mapping based on multi-sensor fusion positioning according to claim 1 is characterized in that: In step S1, the equivalent formula of the optimization problem is as follows: In the formula, the first formula box represents the laser odometry constraint, the second formula box represents the IMU constraint, and the third formula box represents the RTK constraint.

3. The method for UAV mapping based on multi-sensor fusion positioning according to claim 2 is characterized in that: The three constraints in the equivalent formula are obtained in the following ways: Laser odometry constraint: Use the laser odometry to calculate the pose of each keyframe and then get the relative pose; IMU constraint: Based on the pose of the previous key frame, inertial integration is performed to obtain the relative pose of the two key frames; RTK constraints: obtained by direct measurement.

4. The method for UAV mapping based on multi-sensor fusion positioning according to claim 1 is characterized in that: In step S3, the fusion solution process includes the following steps: Perform trajectory alignment and add the relative position of the laser odometer; Add pre-integration constraints to detect whether there is a loop. If a loop is detected, add a loop constraint. If no loop is detected, proceed directly to the next step. Add prior constraints to detect whether the optimization cycle has been reached. If the optimization cycle has been detected, proceed directly to the next step. If the optimization cycle has not been reached, re-add the relative position of the laser odometer and repeat the cycle until the optimization cycle is detected. Based on the optimization cycle, the optimization is performed.

5. The method for UAV mapping based on multi-sensor fusion positioning according to claim 1 is characterized in that: In step S4, the differential model of navigation is as follows: Based on the above formula, we can get Time has come The integration result of the IMU at the moment, and the derived pre-integration state update model are as follows: Meanwhile, the models for the gyroscope and accelerometer are as follows: Based on the model of gyroscope and accelerometer, it can be known that bias is changing, which is convenient for estimating bias values ​​at different times, rather than treating it as a constant value during the entire system operation time, which is in line with the actual situation of low-precision MEMS; However, during pre-integration, since the time between two key frames is short, it is considered and The bias at each moment is equal. During the optimization process, the bias as a state variable will also change, causing the pre-integration result to change.

6. The method for UAV mapping based on multi-sensor fusion positioning according to claim 1 is characterized in that: In step S5, the state transfer model in discrete time is as follows: Then the matrix in the discrete time state transfer model is as follows:

7. The method for UAV mapping based on multi-sensor fusion positioning according to claim 1, characterized in that: In step S6, based on the state transfer model in discrete time, through the recursive form, it can be obtained: The above formula is the Jacobian of the pre-integration result. It is calculated by this iterative method. The terms about bias in are the Jacobians corresponding to the biases during the pre-integrated Taylor expansion.

8. The method for UAV mapping based on multi-sensor fusion positioning according to claim 1, characterized in that: In step S7, the derived model of the residual Jacobian is divided into a velocity residual Jacobian model and a posture residual Jacobian model.

9. The method for building a map of an unmanned aerial vehicle based on multi-sensor fusion positioning according to claim 8, characterized in that: The attitude residual Jacobian model includes Jacobian model of attitude error at the moment, The Jacobian model of the attitude error at the moment and the Jacobian model of the gyroscope bias error at time instant.

10. The method for UAV mapping based on multi-sensor fusion positioning according to claim 8, characterized in that: The velocity residual Jacobian model includes Jacobian model of attitude error at the moment, The Jacobian model of the velocity error at the moment and the Jacobian model of acceleration bias error at each moment.