Method and system for improving robustness of visual inertial odometer by using vehicle motion law

By combining the vehicle's image and inertial data, using virtual sensors and noise estimation units to perform state estimation and correction of the visual inertial odometer, the problem of initialization and stable operation of the visual inertial odometer in autonomous driving vehicles is solved, and the robustness is improved and positioning accuracy.

CN118882631APending Publication Date: 2024-11-01XI AN JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410930005.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

Visual inertial odometers are difficult to initialize and maintain stable operation at constant speed and acceleration in autonomous vehicles, resulting in inaccurate zero deviation estimation of gyroscopes and accelerometers, and rapid accumulation of errors in large-scale outdoor environments, showing poor performance. performance.

Method used

By acquiring the image data and inertial measurement data of the vehicle, the group-invariant Kalman filter and noise estimation unit of the virtual sensor are used to estimate the vehicle motion state and adjust the noise, and combine the factor diagram to perform posture fusion and correction to ensure the visual inertial mileage. The robustness of the project.

Benefits of technology

Improves the robustness and positioning accuracy of the visual inertial odometer, ensuring stable and accurate output in complex environments, and provides reliable data support for subsequent navigation and positioning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118882631A_ABST
    Figure CN118882631A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a system for improving the robustness of a visual inertial odometer by using a vehicle motion law, and the method comprises the steps: obtaining the image data of a vehicle and the inertial measurement data of the vehicle, initializing the visual inertial odometer, and enabling the initialized visual inertial odometer to continuously output a pose; the method comprises the following steps: estimating the motion state of a vehicle by using inertial measurement data of the vehicle and a group invariant Kalman filter based on a virtual sensor, and taking an output pose as a virtual sensor factor; estimating the observation noise of the virtual sensor through a noise estimation unit according to the vehicle inertia measurement data; and fusing the pose output by the visual inertial odometer and the virtual sensor factor by using the factor graph, outputting pose transformation, and correcting the group invariant Kalman filter based on the virtual sensor. The robustness of the visual inertial odometer is improved by combining the image data and the inertial measurement data of the vehicle and utilizing the motion law of the vehicle, and the visual inertial odometer has remarkable technical effect and practical application value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of autonomous driving vehicles, and in particular to a method and system for improving the robustness of a visual inertial odometer by utilizing vehicle motion laws. Background Art

[0002] In a GPS-denied environment, positioning and navigation based on the robot's own sensors is a key technology to achieve autonomous motion capabilities of intelligent robots. Depending on the type of sensor, there are various solutions. In the case of limited payload, most of them use two complementary sensors, monocular camera or binocular camera and inertial measurement unit (IMU), to build visual inertial odometry (VIO) to solve the positioning and navigation problems in autonomous motion capabilities. The vision-based simultaneous localization and mapping (SLAM) method has become the mainstream method for motion state estimation of autonomous driving vehicles (ADV), providing a feasible and low-cost solution for accurate vehicle pose estimation. In the SLAM framework, the coupling of camera and inertial measurement unit (IMU) provides an effective solution for high-precision and robust ego-vehicle motion estimation in GPS-deficient environments, namely visual inertial odometry (VIO). The motivation of VIO is to use IMU to provide VIO with a measurement scale of vehicle motion and solve the problem of textureless and fast changes in dynamic scenes.

[0003] However, VIO faces a challenge when deployed in autonomous vehicles (ADVs): VIO has difficulty initializing and running continuously and stably when the vehicle is driving along arcs, straight lines, and on a plane at a constant speed and acceleration. It is difficult for the vehicle to fully excite the IMU during regular maneuvers, which makes it difficult for the visual inertial odometry to accurately estimate the zero bias of the gyroscope and accelerometer and the true scale of the monocular visual inertial odometry. In addition, VIO has four unobservable directions, including three translations in the direction of gravity and one rotation around the direction of gravity. VIO in ADVs will quickly accumulate errors and show poor performance in a large range of outdoor environments. Summary of the invention

[0004] The purpose of the present invention is to provide a method and system for improving the robustness of a visual inertial odometer by utilizing the laws of vehicle motion, so as to solve the above-mentioned problems.

[0005] To achieve the above object, the present invention adopts the following technical solutions:

[0006] In a first aspect, the present invention provides a method for improving the robustness of a visual inertial odometer by utilizing vehicle motion laws, comprising:

[0007] Obtain the vehicle's image data and vehicle inertial measurement data, initialize the visual inertial odometer, and the initialized visual inertial odometer continuously outputs the position and posture;

[0008] The vehicle inertial measurement data is used to estimate the vehicle motion state through a group invariant Kalman filter based on virtual sensors, and the output position and posture are used as virtual sensor factors.

[0009] estimating the observation noise of the virtual sensor by a noise estimation unit according to the vehicle inertial measurement data;

[0010] The factor graph is used to fuse the pose output by the visual inertial odometry and the virtual sensor factor, output the pose transformation, and correct the group invariant Kalman filter based on the virtual sensor.

[0011] Optionally, obtain vehicle image data and vehicle inertial measurement data, including:

[0012] The image sequences are captured by binocular / monocular cameras to provide visual information for the visual inertial odometer (VIO) for estimating camera motion; the three-axis acceleration and angular velocity of the vehicle are recorded by the inertial measurement unit (IMU).

[0013] Optionally, initialize the visual inertial odometry. The initialized visual inertial odometry continuously outputs the pose, including:

[0014] The visual inertial odometry (VIO) is used to process images from binocular / monocular cameras and data from the inertial measurement unit (IMU). First, the visual inertial odometry is initialized through the images and IMU data at the initial time to obtain the key frame pose T = [R, p], where the direction R k , position p k , speed v k , IMU measurement data bias, depth information of feature points. After initialization, the visual inertial odometer continues to receive images from the binocular / monocular camera and data from the inertial measurement unit IMU, and continuously outputs the vehicle's posture T = [R, p].

[0015] Optionally, in general visual inertial odometry, the joint optimization of visual and inertial states is done in a sliding window, and the state to be estimated by the visual inertial odometry VIO is as follows:

[0016] χ=[x 0 ,x 1 ,...,x n ,λ0 ,λ 1 ,...λ m ]

[0017] x k =[p k ,v k ,R k ,b ω ,b a ],k∈[0,n],

[0018] where x k represents the IMU state corresponding to the kth key frame, k∈[0,n] is the index of the key frame; x k Contains position, velocity, orientation of the IMU in the visual coordinate system W, and zero bias of the accelerometer and gyroscope; λ l It represents the inverse depth corresponding to the first feature point, and m is the total number of feature points in the sliding window.

[0019] Optionally, the vehicle inertial measurement data is used to estimate the vehicle motion state based on a group invariant Kalman filter of a virtual sensor, and the output posture is used as a virtual sensor factor, including:

[0020] In the virtual vehicle coordinate system Down, The vertical upward z-axis and lateral y-axis velocities of the origin are close to 0. The origin velocity is expressed as:

[0021]

[0022] in Indicates that at t n The transformation relationship from the virtual vehicle coordinate system to the IMU coordinate system at any moment, [R n ,p n ] indicates that at t n The transformation from the IMU coordinate system to the world coordinate system at all times;

[0023] A measurement The virtual sensor is represented as:

[0024]

[0025] n n ~N(0,N n )

[0026] N n =diag(δ lat ,δ up ) 2 ,

[0027] in Represents state x n , and the measured value y of the virtual sensor n The conversion relationship between n Represents the IMU state; assuming that the noise n is a centralized Gaussian distribution, the covariance matrix is ​​N n ;Measurement value is fed into the IEKF to estimate x n ,

[0028] Optionally, estimating the observation noise of the virtual sensor by a noise estimation unit according to the vehicle inertial measurement data includes:

[0029] The noise distribution is estimated using a CNN-based noise estimation unit, which consists of a convolutional neural network and a fully connected unit. The specific structure is a 1D convolutional neural network with 2 layers, and the output is The covariance matrix N corresponding to the noise n+1 The calculation is as follows:

[0030]

[0031] in, and denote the initial variances of the lateral and longitudinal velocities, respectively;

[0032] The variance of the Gaussian noise in the virtual sensor factor is dynamically adjusted as follows:

[0033]

[0034] in is the empirical variance vector of the Gaussian noise corresponding to the translation part and the rotation part in the virtual sensor factor.

[0035] Optionally, the factor graph is used to fuse the pose output by the visual inertial odometry with the virtual sensor factor, output the pose transformation, and correct the group invariant Kalman filter based on the virtual sensor, including:

[0036] The poses obtained using the virtual sensor-based group invariant Kalman filter IEKF are used to calculate the two key frame states χ i ,x j The relative pose transformation between:

[0037]

[0038] in and is the IMU pose estimate from IEKF at the time corresponding to key frame i, j; ΔT i,jThe VIO state estimate is constrained by minimizing the following relative pose transformation residual:

[0039]

[0040] The maximum a posteriori estimate of χ is obtained by minimizing the joint residual formed by the relative transformation, the IMU and camera observations, and the prior:

[0041]

[0042] in represents the reprojection error corresponding to the camera observation, ‖r p -H p χ‖ 2 Represents the prior information provided by the keyframe outside the sliding window; the pose estimation (denoted as T k =[R k ,p k ]) are integrated into the factor graph as VIO factors;

[0043] Pose transformation given by factor graph The state of the group invariant Kalman filter based on the virtual sensor is corrected at set intervals, that is, using The translation and rotation parts of the state of the virtual sensor-based group invariant Kalman filter IEKF are corrected. This correction is equivalent to using the visual observations of VIO to constrain the cumulative error of IEKF pose estimation.

[0044] In a second aspect, the present invention provides a system for improving the robustness of a visual inertial odometer by utilizing vehicle motion laws, comprising:

[0045] The data acquisition module is used to acquire the vehicle's image data and vehicle inertial measurement data, initialize the visual inertial odometer, and the initialized visual inertial odometer continuously outputs the position and posture;

[0046] A virtual sensor factor output module is used to estimate the vehicle motion state using the vehicle inertial measurement data and a group-invariant Kalman filter based on a virtual sensor, and the output position and posture are used as virtual sensor factors;

[0047] A noise reduction module, used for estimating the observation noise of the virtual sensor through a noise estimation unit according to the vehicle inertial measurement data;

[0048] The fusion correction module is used to fuse the pose output by the visual inertial odometer and the virtual sensor factor using the factor graph, output the pose transformation, and correct the group invariant Kalman filter based on the virtual sensor.

[0049] In a third aspect, the present invention provides a computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of a method for improving the robustness of a visual inertial odometer by utilizing vehicle motion laws when executing the computer program.

[0050] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of a method for improving the robustness of a visual inertial odometer by utilizing vehicle motion laws.

[0051] Compared with the prior art, the present invention has the following technical effects:

[0052] The present invention combines the image data and inertial measurement data of the vehicle and utilizes the movement law of the vehicle to improve the robustness of the visual inertial odometer (VIO).

[0053] The Visual Inertial Odometry (VIO) is initialized with data from the binocular / monocular camera and the Inertial Measurement Unit (IMU), and continuously outputs the vehicle's position and posture. This initialization method ensures that the VIO has an accurate starting point and stable output during subsequent operations.

[0054] The virtual sensor-based group invariant Kalman filter (IEKF) of the present invention uses vehicle inertial measurement data to estimate the vehicle motion state and outputs virtual sensor factors. This estimation method takes into account the vehicle's motion characteristics, such as vertical and lateral speeds close to zero, thereby improving the accuracy of motion state estimation.

[0055] The noise estimation unit of the present invention estimates the noise contained in the IEKF through a convolutional neural network (CNN) and dynamically adjusts the noise variance according to actual conditions, which helps to more accurately reflect the noise distribution in actual conditions, thereby enhancing the robustness of the filter.

[0056] The present invention can correct the state of IEKF by fusing the pose output by VIO with the virtual sensor factor output by IEKF and using the factor graph to calculate the pose transformation. This correction method can use the visual observation of VIO to constrain the cumulative error of IEKF pose estimation, thereby improving the robustness and accuracy of the entire system.

[0057] This technical solution combines the advantages of VIO and IEKF, and realizes accurate estimation of vehicle posture and effective correction of filters by combining vehicle image data and inertial measurement data, and utilizing the vehicle's motion law. This not only improves the robustness of the system, enabling it to maintain stable and accurate output in the face of complex environments or harsh conditions, but also provides reliable data support for subsequent navigation, positioning and other applications.

[0058] In summary, this technical solution has significant technical effects and practical application value by combining the vehicle's image data and inertial measurement data and utilizing the vehicle's motion laws to improve the robustness of the visual inertial odometer. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 It is a flow chart of the present invention.

[0060] Figure 2 This is a logic block diagram of the present invention. DETAILED DESCRIPTION

[0061] The present invention is further described below in conjunction with the accompanying drawings:

[0062] Example 1, please refer to Figure 1 , the method of using the vehicle motion law to improve the robustness of visual inertial odometry includes:

[0063] Obtain the vehicle's image data and vehicle inertial measurement data, initialize the visual inertial odometer, and the initialized visual inertial odometer continuously outputs the position and posture;

[0064] The vehicle inertial measurement data is used to estimate the vehicle motion state through a group invariant Kalman filter based on virtual sensors, and the output position and posture are used as virtual sensor factors.

[0065] estimating the observation noise of the virtual sensor by a noise estimation unit according to the vehicle inertial measurement data;

[0066] The factor graph is used to fuse the pose output by the visual inertial odometry and the virtual sensor factor, output the pose transformation, and correct the group invariant Kalman filter based on the virtual sensor.

[0067] This technical solution combines the advantages of VIO and IEKF, and realizes accurate estimation of vehicle posture and effective correction of filters by combining vehicle image data and inertial measurement data, and utilizing the vehicle's motion law. This not only improves the robustness of the system, enabling it to maintain stable and accurate output in the face of complex environments or harsh conditions, but also provides reliable data support for subsequent navigation, positioning and other applications.

[0068] Embodiment 2, the present invention provides a method for improving the robustness of a visual inertial odometer by utilizing vehicle motion laws, specifically comprising:

[0069] A virtual sensor is introduced into the traditional VIO to measure the lateral and vertical velocities of the ADV, so that the VIO's motion estimation of the ADV follows the real motion characteristics of the vehicle.

[0070] A CNN-based noise estimation unit is introduced to estimate the noise distribution of the virtual sensor and adaptively adjust the noise of the virtual sensor factors in the factor graph.

[0071] This application shows comparable or higher positioning accuracy than the current state-of-the-art VIO methods in the evaluation on the KITTI dataset.

[0072] First, define the special symbols in this article as follows. The world coordinate system is represented as The IMU coordinate system is expressed as The virtual vehicle coordinate system is expressed as R∈SO(3) is the rotation matrix, is the translation matrix, is the velocity vector. T=[R,p]∈SE(3)$ represents the velocity vector from arrive The factor graph is used to fuse the pose estimation results from VIO and the group invariant Kalman filter (IEKF) based on virtual sensors. fn =T n represents the nth state in the factor graph.

[0073] like Figure 2 As shown:

[0074] It mainly consists of four parts: 1) general VIO (such as VINS-FUSION), 2) group invariant extended Kalman filter (IEKF), 3) a noise estimation unit, and 4) a factor graph for fusing VIO and IEKF pose estimation.

[0075] It uses binocular / monocular cameras and inertial measurement units (IMUs) as input.

[0076] Stereo / monocular camera: captures image sequences and provides visual information for VIO, including detection and matching of feature points for estimating camera motion.

[0077] Inertial Measurement Unit (IMU): records the vehicle's three-axis acceleration and angular velocity, reflecting the instantaneous motion state in real time. These data are directly related to the vehicle's dynamic behavior, such as linear motion, turning, bumps, etc.

[0078] The inherent motion law of ADV is used to improve the robustness and positioning accuracy of VIO. This problem can be transformed into a maximum a posteriori (MAP) estimation problem and modeled using factor graphs.

[0079] The factor graph contains two types of factors: VIO factors and virtual sensor factors. When the vehicle turns or bumps, the Gaussian noise variance measured by the virtual sensor will increase accordingly. Traditional methods mostly use fixed empirical manual noise settings. The method of this application introduces a dynamically adjusted virtual sensor factor noise distribution to enhance the robustness of the system. Considering that it is difficult to recover the true scale in monocular VIO (the transformation from the unknown camera scale to the metric scale), the relative pose transformation residual is introduced to provide prior information for the true scale recovery of the monocular VIO.

[0080] Data processing process:

[0081] The visual inertial odometry (VINS-FUSION) is used to process the images from the camera and the data from the IMU. First, the visual inertial odometry is initialized by the images and IMU data of the first few seconds, and the key frame (selected from the continuous input images) position T = [R, p] (towards R k , position p k ), speed v k , IMU measurement data bias, depth information of feature points. After initialization, the visual inertial odometer still receives data from the above two sensors and continues to output the vehicle's position and posture T = [R, p].

[0082] At the same time, the group invariant Kalman filter based on the virtual sensor receives the data (acceleration and angular velocity) from the IMU, and takes the constraints of the vehicle's y-axis and z-axis velocities being 0 as the observations of the group invariant Kalman filter as shown in equations 1.5 and 1.6. The vehicle's motion state (towards R) is realized through the propagation and update process of the group invariant Kalman filter. k , position p k , speed v k , gyro bias b ω , acceleration zero bias b a ) and outputs the pose (towards R k , position p k ), speed v k , the output result is the virtual sensor factor in the factor graph.

[0083] At the same time, the IMU data is also received by a noise estimation unit consisting of two layers of one-dimensional convolution followed by a fully connected network to estimate the noise contained in the virtual sensor.

[0084] The output postures of parts 1 and 2 are fed into the factor graph, which is implemented by the GTSAM library. The state variables in the factor graph are shown in the figure above, which are the vehicle posture T = [R, p] ∈ SE (3). The factors are the connections between the state variables and are used to estimate the state variables. These factors are introduced below:

[0085] Visual Inertial Odometry Factor: As shown in the figure, the pose estimation result from the general VIO is added to the factor graph as the visual inertial odometry factor. In the general visual inertial odometry, the joint optimization of visual and inertial states is done in a sliding window. The state to be estimated by VIO is as follows:

[0086] χ=[x 0 ,x 1 ,...,x n ,λ 0 ,λ 1 ,...λ m ]

[0087] x k =[p k ,v k ,R k ,b ω ,b a ],k∈[0,n],(1.1)

[0088] where x k represents the IMU state corresponding to the kth key frame, k∈[0,n] is the index of the key frame. k Contains position, speed, IMU in the visual coordinate system The orientation of the camera, the bias of the accelerometer and gyroscope. l It represents the inverse depth corresponding to the first feature point, and m is the total number of feature points in the sliding window.

[0089] Relative pose constraint between key frames: In order to overcome the problem of inaccurate true scale recovery in monocular VIO, the pose obtained by IEKF is used to calculate the state χ of two key frames. i ,x j The relative pose transformation between:

[0090]

[0091] in and It is the estimate of the IMU pose at the corresponding moment of key frame i, j from IEKF. ΔT i,j The VIO estimate of the state can be constrained by minimizing the following relative pose transformation residual:

[0092]

[0093] It should be noted that the relative transformation residual is only used for monocular visual inertial odometry, while for stereo visual inertial odometry, the true scale is observable and there is no need to add this constraint.

[0094] The maximum a posteriori estimate of χ is obtained by minimizing the joint residual formed by the relative transformation (for monocular VIO), the IMU and camera observations, and the prior:

[0095]

[0096] in represents the reprojection error corresponding to the camera observation, ‖r p -H p χ‖ 2 Represents the prior information provided by the keyframe outside the sliding window. The pose estimate (denoted as T k =[R k ,p k ]) is integrated into the factor graph as a VIO factor for subsequent optimization of the pose.

[0097] Virtual sensor factor: For autonomous vehicles, there is a priori motion law constraint: in a virtual vehicle coordinate system Down, The vertical upward (z-axis) and lateral (y-axis) velocities of the origin are close to 0. The origin velocity can be expressed as:

[0098]

[0099] in Indicates that at t n The transformation relationship from the virtual vehicle coordinate system to the IMU coordinate system at any moment, [R n ,p n ] indicates that at t n The transformation from the IMU coordinate system to the world coordinate system at all times.

[0100] A measurement The virtual sensor can be expressed as:

[0101]

[0102] in Represents state x n , and the measured value y of the virtual sensor n The conversion relationship between them. n Represents the IMU state. Assume that the noise n is a centralized Gaussian distribution and the covariance matrix is ​​N n . Measurement value is fed into the IEKF to estimate x n ,

[0103] Noise estimation unit: In the update step of IEKF, it is necessary to determine the covariance N corresponding to the measured valuen It is obvious that when the vehicle is driving on a bend or bumpy road, the measurements from the virtual sensor will contain more noise. Therefore, a CNN-based noise estimation unit is used to estimate the distribution of noise. The noise estimation unit consists of a convolutional neural network and a fully connected unit. The specific structure is a 1D convolutional neural network with 2 layers. Its output is The covariance matrix N corresponding to the noise n+1 The calculation is as follows:

[0104]

[0105] in, and denote the initial variances of the lateral and longitudinal velocities, respectively.

[0106] When δ lat or δ up When it is larger, it means that the vehicle is turning or encountering a bumpy road. At this time, the virtual sensor factor contains more noise. Therefore, it is necessary to dynamically adjust the noise variance of the virtual sensor factor in the factor graph. The variance of the Gaussian noise in the virtual sensor factor is dynamically adjusted as follows:

[0107]

[0108] in is the empirical variance vector of the Gaussian noise corresponding to the translation part and the rotation part in the virtual sensor factor.

[0109] Corrected IEKF: Since the input of IEKF only contains IMU data, it will cause error accumulation. Therefore, the pose transformation given by the factor graph is used The state of the IEKF filter is corrected at regular intervals (the time interval is set to 20s), that is, using The translation and rotation parts of the IEKF state are corrected. This correction is equivalent to using the visual observations of VIO to constrain the cumulative error of the IEKF pose estimation.

[0110] In yet another embodiment of the present invention, a system for improving the robustness of a visual inertial odometer by utilizing the law of vehicle motion is provided, which can be used to implement the above-mentioned method for improving the robustness of a visual inertial odometer by utilizing the law of vehicle motion. Specifically, the system includes:

[0112] The data acquisition module is used to acquire the vehicle's image data and vehicle inertial measurement data, initialize the visual inertial odometer, and the initialized visual inertial odometer continuously outputs the position and posture;

[0113] A virtual sensor factor output module is used to estimate the vehicle motion state using the vehicle inertial measurement data and a group-invariant Kalman filter based on a virtual sensor, and the output position and posture are used as virtual sensor factors;

[0114] A noise reduction module, used for estimating the observation noise of the virtual sensor through a noise estimation unit according to the vehicle inertial measurement data;

[0115] The fusion correction module is used to fuse the pose output by the visual inertial odometer and the virtual sensor factor using the factor graph, output the pose transformation, and correct the group invariant Kalman filter based on the virtual sensor.

[0116] The division of modules in the embodiments of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present invention may be integrated into one processor, or may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.

[0117] In another embodiment of the present invention, a computer device is provided, the computer device including a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions in the computer storage medium to implement the corresponding method flow or corresponding function; the processor described in the embodiment of the present invention can be used for the operation of the method of improving the robustness of the visual inertial odometer by using the law of vehicle motion.

[0118] In another embodiment of the present invention, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in the computer device and, of course, extended storage media supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the method for improving the robustness of the visual inertial odometer by using the vehicle motion law in the above embodiment.

[0119] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0120] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0121] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0122] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0123] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for improving the robustness of a visual inertial odometer by utilizing vehicle motion laws, characterized in that: include: Obtain the vehicle's image data and vehicle inertial measurement data, initialize the visual inertial odometer, and the initialized visual inertial odometer continuously outputs the position and posture; The vehicle inertial measurement data is used to estimate the vehicle motion state based on the group invariant Kalman filter of the virtual sensor, and the output position and posture are denoted as the virtual sensor factor; estimating the observation noise of the virtual sensor by a noise estimation unit according to the vehicle inertial measurement data; The factor graph is used to fuse the pose output by the visual inertial odometry and the virtual sensor factor, output the pose transformation, and correct the group invariant Kalman filter based on the virtual sensor.

2. The method for improving the robustness of visual inertial odometer by utilizing vehicle motion law according to claim 1, characterized in that: Acquire vehicle image data and vehicle inertial measurement data, including: The image sequences are captured by binocular / monocular cameras to provide visual information for the visual inertial odometer (VIO) for estimating camera motion; the three-axis acceleration and angular velocity of the vehicle are recorded by the inertial measurement unit (IMU).

3. The method for improving the robustness of visual inertial odometer by utilizing vehicle motion law according to claim 2, characterized in that: Initialize the visual inertial odometer and use the vehicle motion constraints to assist initialization. The initialized visual inertial odometer continuously outputs the pose, including: The visual inertial odometry (VIO) is used to process images from binocular / monocular cameras and data from the inertial measurement unit (IMU). First, the visual inertial odometry is initialized through the images and IMU data at the initial time to obtain the key frame pose T = [R, p], where the direction R k , position p k , speed v k , IMU measurement data bias, depth information of feature points. After initialization, the visual inertial odometer continues to receive images from the binocular / monocular camera and data from the inertial measurement unit IMU, and continuously outputs the vehicle's posture T = [R, p].

4. The method for improving the robustness of visual inertial odometer by utilizing vehicle motion law according to claim 3, characterized in that: In the general visual inertial odometry, the joint optimization of visual and inertial states is done in a sliding window. The state to be estimated by the visual inertial odometry VIO is as follows: x=[x0,x1,...,x n ,λ0,λ1,...λ m ] x k =[p k ,v k ,R k ,b ω ,b a ],k∈[0,n], where x k represents the IMU state corresponding to the kth key frame, k∈[0,n] is the index of the key frame; x k Contains position, speed, IMU in the visual coordinate system The orientation, accelerometer and gyroscope bias; l It represents the inverse depth corresponding to the first feature point, and m is the total number of feature points in the sliding window.

5. The method for improving the robustness of visual inertial odometer by utilizing vehicle motion law according to claim 1, characterized in that: Using the vehicle inertial measurement data, the group invariant Kalman filter based on the virtual sensor estimates the vehicle motion state and outputs the virtual sensor factors, including: In the virtual vehicle coordinate system Down, The vertical upward z-axis and lateral y-axis velocities of the origin are close to 0. The origin velocity is expressed as: in Indicates that at t n The transformation relationship from the virtual vehicle coordinate system to the IMU coordinate system at any moment, [R n ,p n ] indicates that at t n The transformation from the IMU coordinate system to the world coordinate system at all times; A measurement The virtual sensor is represented as: n n ~N(0,N n ) N n =diag(δ lat ,d up ) 2 , in Represents state x n , and the measured value y of the virtual sensor n The conversion relationship between n Represents the IMU state; assuming that the noise n is a centralized Gaussian distribution, the covariance matrix is ​​N n ;Measurement value is fed into the IEKF to estimate x n , 6. The method for improving the robustness of visual inertial odometer by utilizing vehicle motion law according to claim 1, characterized in that: The noise of the virtual sensor is estimated by a noise estimation unit based on the vehicle inertial measurement data, including: The noise distribution is estimated using a CNN-based noise estimation unit, which consists of a convolutional neural network and a fully connected unit. The specific structure is a 1D convolutional neural network with 2 layers, and the output is The covariance matrix N corresponding to the noise n+1 The calculation is as follows: in, and denote the initial variances of the lateral and longitudinal velocities, respectively; The variance of the Gaussian noise in the virtual sensor factor is dynamically adjusted as follows: in is the empirical variance vector of the Gaussian noise corresponding to the translation part and the rotation part in the virtual sensor factor.

7. The method for improving the robustness of visual inertial odometer by utilizing vehicle motion law according to claim 1, characterized in that: The output posture and virtual sensor factors are fused using factor graphs to output posture transformations, which are used to correct the group invariant Kalman filter based on virtual sensors, including: The poses obtained using the virtual sensor-based group invariant Kalman filter IEKF are used to calculate the two key frame states χ i ,x j The relative pose transformation between: in and is the IMU pose estimate from IEKF at the time corresponding to key frame i, j; ΔT i,j The VIO state estimate is constrained by minimizing the following relative pose transformation residual: The maximum a posteriori estimate of χ is obtained by minimizing the joint residual formed by the relative transformation, the IMU and camera observations, and the prior: in represents the reprojection error corresponding to the camera observation, ‖r p -H p χ‖ 2 Represents the prior information provided by the keyframe outside the sliding window; the pose estimation is recorded as T k =[R k ,p k ], integrated into the factor graph as a VIO factor; Pose transformation given by factor graph The state of the group invariant Kalman filter based on the virtual sensor is corrected at set intervals, that is, using The translation and rotation parts of the state of the virtual sensor-based group invariant Kalman filter IEKF are corrected. This correction is equivalent to using the visual observations of VIO to constrain the cumulative error of IEKF pose estimation.

8. A system for improving the robustness of visual inertial odometer using vehicle motion laws, characterized in that: include: The data acquisition module is used to acquire the vehicle's image data and vehicle inertial measurement data, initialize the visual inertial odometer, and the initialized visual inertial odometer continuously outputs the position and posture; A virtual sensor factor output module is used to estimate the vehicle motion state using the vehicle inertial measurement data and a group-invariant Kalman filter based on a virtual sensor, and the output posture is used as the virtual sensor factor; A noise reduction module, used for estimating the observation noise of the virtual sensor through a noise estimation unit according to the vehicle inertial measurement data; The fusion correction module is used to fuse the pose output by the visual inertial odometer and the virtual sensor factor using the factor graph, output the pose transformation, and correct the group invariant Kalman filter based on the virtual sensor.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for improving the robustness of the visual inertial odometer by utilizing the vehicle motion law as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for improving the robustness of a visual inertial odometer by utilizing vehicle motion laws as described in any one of claims 1 to 7 are implemented.