Method, computer system and medium for updating state variables in SLAM system

By combining the inertial measurement unit and visual data in the ESKF filter and dynamically adjusting the noise covariance, the problem of difficulty in calculating the Jacobian matrix of the extended Kalman filter is solved, achieving higher frequency and more accurate SLAM output, supporting higher Velocity positioning and mapping.

CN115003983BActive Publication Date: 2024-10-01GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202180011363.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-02-13
Filing Date
2021-02-08
Publication Date
2024-10-01
Estimated Expiration
2041-02-08

AI Technical Summary

Technical Problem

In the existing technology, the extended Kalman filter has difficulties and computational problems in calculating the Jacobian matrix. Especially when the state value is too large, parameter singularity and gimbal lock problems may occur, resulting in unstable linearization effectiveness.

Method used

By inserting measured updates, combining inertial measurement unit and vision data, the ESKF filter is updated using image rate measurements, optimizing state variables and state covariance, and dynamically adjusting measurement noise covariance to improve filter confidence.

Benefits of technology

It achieves higher frequency SLAM output, improves positioning and mapping accuracy, supports higher movement rates, and directly obtains measurement updates through visual SLAM output, enhancing the confidence of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115003983B_ABST
    Figure CN115003983B_ABST
Patent Text Reader

Abstract

Techniques for performing image rate pose measurement updates are described. In an example, a computer system (110) receives a calculated position from an inertial measurement unit (113). The computer system (110) receives a plurality of images from cameras (112, 114). The computer system (110) predicts an error state including state variables and state covariance. The computer system (110) provides a first SLAM pose at a first frequency using an optimization process and provides a second SLAM pose at a second frequency using pure visual odometry. The computing system (110) updates the state variables and the state covariance using the first SLAM pose or the second SLAM pose.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Inertial navigation is a classic positioning method. Inertial navigation uses one or more sensors, such as motion sensors or rotation sensors, to continuously calculate and adjust the position, direction, and speed of a moving object. The sensing of motion and rotation can be done by an inertial measurement unit (IMU). One advantage of inertial navigation is that it relies only on the sensor itself, without the need for external references such as global positioning systems, sonar position mapping, or camera-based position estimation.

[0002] Another way to determine the position is to apply an Extended Kalman Filter (EKF), for example using a global positioning system. However, in an EKF, orientation requires the use of quaternions or rotation matrices with many parameters. Sometimes, EKF has high-order products, which makes the calculation of the Jacobian matrix difficult and slow. In addition, when the state values ​​are too large, the calculation of the Jacobian matrix using EKF may have various computational problems, such as possible parameter singularities, gimbal lock problems, etc., and it is not possible to guarantee that the linearization validity will always remain unchanged. Summary of the invention

[0003] Embodiments of the present invention are directed to updating an ESKF filter using image rate measurements by inserting measured updates to more tightly couple predicted state variables to measured state variables. Embodiments of the present invention are suitable for various applications in augmented reality and computer-based systems.

[0004] According to an embodiment of the present invention, a method for updating state variables in a simultaneous positioning and mapping system is provided. The method includes receiving a calculated position from an inertial measurement unit, wherein the calculated position includes a position, a direction, and a speed. The method includes receiving a plurality of images from a camera. The method also includes predicting an error state including a state variable and a state covariance. The method includes processing a first image subset of the plurality of images using an optimization process to provide a first SLAM posture at a first frequency. The method also includes processing a second image subset of the plurality of images using a pure visual odometer to provide a second SLAM posture at a second frequency. The method also includes updating the state variables and the state covariance using at least one of the first SLAM posture and the second SLAM posture. In one example, the state variables include at least a vector of a rate, an accelerometer measurement, a gyroscope measurement, or a gravity measurement.

[0005] According to an embodiment of the present invention, a computing system for updating state variables and state covariance of a SLAM system is provided. The computing system includes an inertial measurement unit. The computing system also includes a processor and one or more memories storing instructions, and the instructions can be executed by the processor. The processor executes the instructions to configure the computing system to update the state variables and state covariance of the SLAM system. The processor configures the computing system to receive a calculated position from the inertial measurement unit, wherein the calculated position includes a position, a direction, and a speed. The processor configures the computing system to receive multiple images from a camera. The processor configures the computing system to predict an error state including state variables and state covariance. The processor configures the computing system to process a first image subset of the above-mentioned multiple images using an optimization process to provide a first SLAM posture at a first frequency. The processor configures the computing system to process a second image subset of the above-mentioned multiple images using a pure visual odometer to provide a second SLAM posture at a second frequency. The processor configures the computing system to use at least one of the above-mentioned first SLAM posture and the above-mentioned second SLAM posture to update the above-mentioned state variables and the above-mentioned state covariance.

[0006] Compared to conventional techniques, the present invention achieves many advantages. For example, embodiments of the present invention provide SLAM outputs for each image at a frame rate, so that SLAM postures can be used for measurement updates in the ESKF process. In addition, dynamically adjusting the measurement noise covariance can make SLAM postures more accurate because the covariance value represents a higher confidence in the filter for the measurement. The measurement update can come directly from the output of the visual SLAM. Various embodiments of the present invention and their advantages and features are described in more detail in conjunction with the following and the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 An example of a computer system including a depth sensor and a red, green, and blue (RGB) optical sensor for AR applications is shown according to an embodiment of the present invention.

[0008] Figure 2 An example of a block diagram of using Error-State Kalman Filtering (ESKF) to update state variables in a simultaneous localization and mapping (SLAM) system according to an embodiment of the present invention is shown.

[0009] Figure 3 Another example of a process for updating state variables in a SLAM system according to an embodiment of the present invention is shown.

[0010] Figure 4 is a simplified flow chart illustrating a method of updating state variables in a SLAM system according to an embodiment of the present invention.

[0011] Figure 5A Examples of graphs of iris pose, predicted iris pose, and ESKF pose are shown according to an embodiment of the present invention.

[0012] Figure 5B is a graph of the derivatives of the predicted iris pose and the ESKF pose according to an embodiment of the present invention.

[0013] Fig. 6A Examples of graphs of iris pose, predicted iris pose, and ESKF pose are shown according to an embodiment of the present invention.

[0014] Figure 6B The predicted iris pose and the x-derivative of the ESKF pose are shown according to an embodiment of the present invention.

[0015] Figure 7 An example computer system according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0016] In the following description, various embodiments will be described. For the purpose of explanation, specific configurations and details are set forth in order to provide a thorough understanding of the embodiments. However, it will be apparent to those skilled in the art that the embodiments may also be implemented without these specific details. In addition, well-known features may be omitted or simplified in order not to obscure the described embodiments.

[0017] Embodiments of the present invention involve tightly integrating an inertial measurement sensor (IMU) with a visual-inertial simultaneous localization and mapping (SLAM) system for an augmented reality (AR) system. SLAM involves using image capture to determine and map a previously unknown real-world environment, and using visual information in the captured image to determine a location in the real world.

[0018] In particular, by providing SLAM posture measurement updates to the ESKF process at the image capture rate, embodiments of the present invention provide improvements over conventional inventions. For example, some embodiments combine optimized SLAM postures and pure visual odometer SLAM postures to provide a higher measurement update rate. Furthermore, the ESKF process can be used to generate more accurate measurement updates, supporting higher movement rates while maintaining the ESKF processing method. Dynamic adjustment of the measurement noise covariance can make the output posture more accurate because the covariance value represents the confidence of the filter for the measurement. The measurement comes directly from the output of the visual SLAM. Combining SLAM determined using optimized postures with SLAM using pure visual odometers provides a higher frequency of measurement position updates (maximum equal to the image rate), thereby improving the predicted state and providing a solution for fusing IMU information with visual SLAM for higher speed applications.

[0019] Figure 1 An example of a computer system 110 including a depth sensor 112 and an RGB optical sensor 114 for AR applications is shown according to an embodiment of the invention. Figure 1 The included computer system 110 includes a depth sensor 112 , an inertial measurement unit (IMU) 113 , and an RGB optical sensor 114 for AR applications including calibration of one or more sensors. The AR application may be implemented by an AR module 116 of the computer system 110 .

[0020] In the example, the computer system 110 represents a suitable user device, and in addition to the depth sensor 112 and the RGB optical sensor 114, the computer system 110 also includes one or more graphics processing units (graphical processing units, GPUs), one or more general purpose processors (general purpose processors, GPPs), and one or more memories storing computer-readable instructions, which can be executed by at least one processor to perform various functions of the embodiments of the present disclosure. For example, the computer system 110 can be any one of a smartphone, a tablet computer, an AR headset, or a wearable AR device.

[0021] The depth sensor 112 has a known maximum depth range (e.g., maximum working distance), which can be stored locally and / or accessible by the AR module 116. The depth sensor 112 can be a ToF camera. In this case, the depth map generated by the depth sensor 112 includes a depth image.

[0022] The IMU 113 can detect inertial measurements and send the detected inertial measurements to the computer system 110. Examples of measurements include position, angular velocity, and acceleration. The IMU 113 can include an accelerometer and / or a gyroscope. The accelerometer can output measurements of acceleration in one or more directions (e.g., x, y, and / or z). The gyroscope can output measurements of angular velocity. The computer system 110 then receives these inertial measurements and adjusts the AR scene 120 based on the received measurements.

[0023] The RGB optical sensor 114 may be a color camera. The depth image and the RGB image may have different resolutions. Typically, the resolution of the depth image is less than the resolution of the RGB image. For example, the resolution of the depth image is 640x180, while the resolution of the RGB image is 1920x1280. Typically, the RGB optical sensor 114 generates an RGB image of a real-world environment, which includes, for example, a real-world object 130. The depth sensor 112 generates depth data about the real-world environment, wherein the data includes, for example, a depth map that displays the depth of the real-world object 130 (e.g., the distance between the depth sensor 112 and the real-world object 130).

[0024] In addition, the depth sensor 112, IMU 113, and / or RGB optical sensor 114 installed in the computer system 110 can be separated by a transformation (e.g., distance offset, field of view angle difference, etc.). The transformation can be known, and its value can be stored locally and / or accessible to the AR module 116. When using a camera, the ToF camera and the color camera can have similar fields of view. However, due to the above transformation, the fields of view will partially overlap, rather than completely overlap.

[0025] The AR module 116 can generate a red, green, blue and depth (RGB and depth, RGBD) image from the RGB image and the depth map to detect occlusion of the virtual object 124 by at least a portion of the real-world object representation 122, or vice versa. The AR module 116 can additionally or alternatively generate a 3D model of the real-world environment based on the depth map, wherein the 3D model includes multi-level voxels (voxels). Such voxels are used to detect conflicts between the virtual object 124 and at least a portion of the real-world object representation 122. The AR scene 120 can be rendered to correctly display occlusions and avoid rendering conflicts. The AR module 116 can be implemented as a combination of dedicated hardware and / or hardware and software (e.g., a general-purpose processor and computer-readable instructions stored in a memory and executable by a general-purpose processor). In addition to initializing an AR session and performing VIO, the AR module 116 can also detect occlusions and conflicts to correctly render the AR scene 120.

[0026] exist Figure 1 In an illustrative example of , a smartphone is used for an AR session that shows a real-world environment. In particular, the AR session includes rendering an AR scene that includes a representation of a real-world table with a vase (or some other real-world object) placed on the table. A virtual ball (or some other virtual object) is to be displayed in the AR scene. In particular, the virtual ball is to be displayed on the table as well. By tracking the occlusion between the virtual ball and the virtual vase (representing the real-world vase), the virtual vase can be occluded when the virtual ball is located behind the virtual vase in a portion of the AR scene relative to the posture of the smartphone. In other portions of the AR scene, the virtual ball can occlude the virtual vase when the virtual vase is located behind the virtual ball due to a change in the posture of the smartphone. In the rest of the AR scene, there is no occlusion. In addition, the user of the smartphone can interact with the virtual ball to move the virtual ball on the top surface of the virtual table (representing the real-world table). By tracking possible conflicts between the virtual ball and the virtual object, any interaction that would result in a conflict will not be rendered. In other words, conflict tracking can be used to control the position in the AR scene where the virtual ball can move.

[0027] exist Figure 1 In another example, the computer system 110 performs an ESKF process to provide measurement updates using one or more sensors such as the depth sensor 112 and / or the RGB optical sensor 114. For example, the computer system 110 can use the optimized SLAM poses as well as the SLAM poses obtained using pure visual odometry.

[0028] Figure 2 An example of a process of using the ESKF process 201 to update state variables in a SLAM system according to an embodiment of the present invention is shown.

[0029] In the example, the ESKF process 201 receives input from the IMU and input from the visual SLAM module. For example, the ESKF process 201 receives IMU raw data 202 from the IMU. The IMU raw data 202 may include acceleration and angular velocity information of the camera system. In box 204, the ESKF process 201 uses the IMU raw data 202 to predict the error state to generate a predicted state variable. An example of a predicted state variable is a vector including a matrix, the matrix including posture information and IMU sensor information, the posture information including 3-axis position, 3-axis velocity, 3-axis direction (e.g., quaternion), and the IMU sensor information including 3-axis accelerometer bias and 3-axis gyroscope bias. The ESKF 201 uses the IMU raw data to predict the predicted state variables. The ESKF process 201 can also predict the predicted state covariance.

[0030] The ESKF process 201 is calculated by The predicted status Predict the error state by calculating the error of the state variable x (e.g. state variables). The state transition model F of the state variable x x And the prediction u m The state of is used to predict the error state (predicted state variable). The ESKF process 201 can also predict the state of P←F x PF x T +F i Q i F u T The error state covariance (prediction state covariance) represented by the combined state transition model F x , state covariance P, transpose of the transfer model F x T and the initial transfer model F i , estimated covariance Q i , and the transpose of the initial transfer model F i T To calculate the prediction covariance P.

[0031] Continuing with this example, computing system 110 can capture multiple images of a real-world scene. For example, computing system 110 can receive image capture data 206 from a camera and perform visual SLAM 208. Computing system 110 can process image capture data 206 using visual SLAM 208 to generate image rate gestures 210. ESKF process 201 can receive image rate gestures 210 from computing system 110. Additional details about generating image rate gestures 210 can be better understood with reference to FIG. 5.

[0032] At block 212, the ESKF process 201 performs a measurement update by using the relationship between the measurement vector estimated from the visual SLAM 208 and the noise factor. For example, the ESKF process 201 update equation can be expressed as the relationship between the measurement vector and Gaussian white noise, where the measurement vector includes the position, velocity, orientation, accelerometer bias, gyroscope bias, and gravity acceleration estimated from the visual SLAM 208. For example, y=h(x t )+v, where y is the measurement vector, including the position, velocity, orientation, accelerometer bias, gyroscope bias, gravity acceleration estimated from the visual SLAM 208, h() is a nonlinear function of the system state (true state), and v is Gaussian noise with covariance V. Gaussian white noise v can be expressed as Wherein, Gaussian white noise is extracted from a zero-mean normal distribution with variance N. To linearize the function h(), the Jacobian matrix H can be used. In this example, the Jacobian matrix H is a 19×19 identity matrix. Therefore, the ESKF correction or update can be expressed as K=PH T (HPH T +V) -1 , And P←(I-KH)P.

[0033] In some examples, during the update process, the ESKF sets the measurement noise covariance V as described above to update the state variables and state covariance. Generally, in the ESKF update, the measurement noise covariance is initialized and fixed. However, the measurement noise covariance may change due to the combination of visual SLAM to determine the measurement vector. Performing visual SLAM 208 will produce different quality levels of SLAM performance, which are characterized by different SLAM quality metrics (e.g., good, weak, lost, etc.). In Figure 2 In the example of , the image rate pose 210 (e.g., SLAM pose) is used as a measurement vector by the ESKF process 201. Due to differences in SLAM quality, the ESKF process 201 dynamically adjusts the covariance based on the performance of the visual SLAM. In some embodiments, a lower measurement noise covariance (or a narrower normal distribution) increases the filter's confidence in the measurement. For example, in measurements characterized as "good" visual SLAM performance, the measurement noise covariance should be a smaller value. In another example, in measurements characterized as "poor" or "missing" visual SLAM performance, the measurement noise covariance should be a larger value.

[0034] At block 214, the ESKF process 201 incorporates the measurement error into the nominal state. For example, at block 214, the ESKF process 201 performs a full state x and a measurement error The mathematical representation of the merger can be expressed as The measurement error may be a vector including one or more error terms or a matrix. In some embodiments, the measurement error It includes 3 axis positions 3 axis speed 3-axis orientation (e.g. quaternion) , but may also include additional or alternative measurement error components.

[0035] At block 216, the ESKF process 201 resets the ESKF. For example, the error state reset to 0. The ESKF process 201 adjusts the covariance, in some cases, using the formula P←GPG T to adjust.

[0036] Figure 3 Another example of a process for updating state variables in a SLAM system according to an embodiment of the present invention is shown. Figure 3 Similar to Figure 2 The operation is shown in a manner that additionally uses formulas to indicate the operation that can be performed in Figure 2 The operations performed in one or more steps described.

[0037] For example, Figure 3 Different equations are shown at various locations in the ESKF process. Figure 2 As described, for each step, the ESKF process can perform different calculations. In one example, the equations on the arrows between the IMU raw data and the step "Error State Prediction" of the ESKF process represent the state variable prediction and covariance prediction in mathematical form. Similarly, the ESKF process shows that the measurement update can be calculated from the SLAM pose as described in box 212. In another example, the full state x is calculated by incorporating the observer (i.e., measured) error state into the state variables. This can be represented by the equation and the description of block 214. Figure 2 The various elements retain the same reference numerals.

[0038] refer to Figure 3 , ESKF predicts the predicted state of the full state variable x 301 to generate the predicted status 301 (eg, the state predicted by the ESKF). Figure 3 In the embodiment, the predicted state 301 is calculated by the process In addition to the predicted state, the ESKF can also generate a predicted state covariance 302. Figure 3 In the example shown, P←F x PF x T +F i Q i F i T The predicted state covariance 302 is calculated. The ESKF performs measurement update by using a nonlinear function h() of the true state and adding Gaussian white noise v to generate the measured state. Therefore, the ESKF measurement update equation 303 can be expressed as K=PH T (HPH T +V) -1 , and P←(I-KH)P. When the ESKF performs a measurement update, the ESKF sets the measurement noise covariance V. The ESKF sets the measurement noise based at least in part on the quality level of the visual SLAM. Optimizing SLAM poses and pure visual odometry SLAM poses may be affected by the visual SLAM performance. Therefore, dynamically adjusting the measurement noise provides a more accurate SLAM pose. The ESKF performs a full state x and measurement error The direct summation of , incorporates the measurement errors into the nominal state variables. The ESKF resets the loop by using reset equation 305 to set the predicted state to 0 and adjust the covariance for the next iteration of the ESKF.

[0039] Figure 4 It is a simplified flow chart showing a method for updating state variables in a SLAM system according to an embodiment of the present invention. Some or all of the operations in this process can be implemented by specific hardware on a computer system and / or can be implemented as computer-readable instructions stored on a non-transitory computer-readable medium of a computer system. The stored computer-readable instructions represent programmable modules including codes that can be executed by a processor of a computer system. The execution of such instructions configures the computer system to perform corresponding operations. Each programmable module combined with a processor represents a device for performing corresponding operations. Although these operations are shown in a particular order, it should be understood that this particular order is not necessary, and one or more operations can be omitted, skipped and / or reordered.

[0040] In an example, the process begins at operation 402 where a computer system receives a calculated position from an inertial measurement unit. An IMU is a navigation device that continuously calculates position, orientation, or velocity using dead reckoning of a moving object without the need for external references or sensors.

[0041] In an example, the process includes operation 404, in which the computer system receives a plurality of images from a camera. For example, the computing system uses a camera system such as RGB optical sensor 114 or depth sensor 112 to generate image data to represent a real-world scene.

[0042] In an example, the process includes operation 406, wherein, as Figure 2 and Figure 3 The computer system predicts an error state based on the calculated position, and the error state includes a state variable and a state covariance. The computer system can predict the error state represented by P←F x PF x T +F i Q i F i TThe error state covariance (prediction state covariance) of the combined state transition model F x , state covariance P, transpose of the transfer model F x T and the initial transfer model F i , estimated covariance Q i , and the transpose of the initial transfer model F i T To calculate the predicted covariance P. The computer system can also calculate the predicted state Expressed as The state transition model F of the state variable x x and predict u m The state of is used to predict the error state (predicted state variable).

[0043] In the example, the process includes operation 408, wherein the computer system processes a first subset of images of the plurality of images to provide a first SLAM pose at a first frequency. The first SLAM pose may be referred to as an optimized SLAM pose because, in some embodiments, it is generated by bundling images and performing an optimization process to generate an optimized SLAM pose. Typically, keyframe-based visual SLAM methods cannot always output at image rates because the optimization process at the back end is slow. For example, for images with a frequency of 30 Hz, the optimization process will produce a SLAM pose at 10 Hz. The optimization process may be any optimization process (e.g., Bayesian, graphical, nonlinear, etc.) that generates an optimized SLAM pose.

[0044] In an example, the process includes an operation 410, wherein the computer system processes a second subset of images in the plurality of images using pure visual odometry to provide a second SLAM pose at a second frequency. The second SLAM pose may be a pure visual odometry SLAM pose because, in some embodiments, the pose is generated by performing visual odometry without performing an optimization process like the first SLAM pose. As described in the above example, for a computer system using a 30 Hz image frequency, the computer system processes the second subset of images in the plurality of images at 20 Hz. For example, the computer system processes the second subset of images using only front-end processing techniques, such as Perspective-n-Point.

[0045] In an example, the process includes an operation 412, in which the computer system updates state variables and state covariance using a first SLAM pose or a second SLAM pose. The ESKF process 201 uses a first SLAM pose (i.e., an optimized SLAM pose) at a first frequency and / or a second SLAM pose (i.e., a pure visual odometer SLAM pose) at a second frequency to perform updates of state variables and state covariance. The computer system performs a measurement update using the first SLAM pose or the second SLAM pose to achieve an image pose rate (e.g., using the first frequency and the second frequency to achieve the sum of the frequencies). Therefore, in an example where the first frequency is 10 Hz and the second frequency is 20 Hz, the computer system performs a measurement update at an image pose rate of 30 Hz.

[0046] It should be understood that Figure 4 The specific steps shown in provide a specific method for updating state variables in a SLAM system according to an embodiment of the present invention. According to alternative embodiments, other step sequences may also be performed. For example, alternative embodiments of the present invention may perform the above steps in a different order. In addition, Figure 4 The various steps shown in the embodiment may include multiple sub-steps, which may be performed in various orders applicable to the various steps. In addition, additional steps may be added or deleted according to specific applications. Those of ordinary skill in the art will recognize many variations, modifications and substitutions.

[0047] Figure 5A An example of a graph 501 of iris pose, predicted pose, and ESKF pose is shown according to an embodiment of the present invention. Figure 5B is a graph of the derivatives of the iris pose and the Kalman filter (ie, ESKF, EKF, etc.) pose according to an embodiment of the present invention. Figure 5A , graph 501 shows postures 503, which include iris posture 503A, predicted iris posture 503B, and ESKF posture 503C. Posture 503 shows a visual representation of the difference between the actual position (iris posture 503A), the IMU posture (predicted iris posture 503B), and the smoothed ESKF posture (ESKF posture 503C) with reference to the y-axis 502 and the x-axis 504. Posture 503 represents the position (or trajectory) of the iris performing the process described with respect to the embodiments of the present disclosure. During movement, the position (or trajectory) will change depending on the movement. Figure 5A In the example of FIG. 5 , the position / trajectory is shown as a linearization in two dimensions x (horizontal axis) 504 and y (vertical axis) 502. In one embodiment of representing the trajectory, the x-axis 504 and y-axis 502 may represent the intensity of the trajectory on the axis. For example, a value of (-3, -3) may represent a trajectory that changes position by -3x per meter and -3y per meter.

[0048] refer to Figure 5B , Figure 5B 507 is a graph of the y-derivatives of the predicted iris pose 503B and the ESKF pose 503C, and it can be seen that the derivatives reflect changes in the y-axis as the iris changes position and / or trajectory relative to the y-axis 506 and the x-axis 505. In embodiments where the predicted iris pose 503B and the ESKF pose 503C represent iris trajectories, the y-derivative graph depicts the linearized changes in the y-axis trajectory of the predicted iris pose 503B and the ESKF pose 503C.

[0049] Fig. 6A An example of a graph 601 of iris pose, predicted pose, and ESKF pose according to an embodiment of the present invention is shown. For example, Fig. 6A A graph 601 is shown showing poses 603, including iris pose 603A, predicted iris pose 603B, and ESKF pose 603C. Poses 603 show a visual representation of the difference of the actual position (iris pose 603A), the IMU pose (predicted iris pose 603B), and the smoothed ESKF pose (ESKF pose 603C) with reference to the x-axis 604 and y-axis 602.

[0050] refer to Figure 6B , Figure 6B A graph 607 of the x-derivatives of the predicted iris gesture 603B and the ESKF gesture 603C is shown, and it can be seen that as the iris changes position and / or trajectory, the derivatives reflect changes in the x-axis. In embodiments where the predicted iris gesture 603B and the ESKF gesture 603C represent iris trajectories, the y-derivative graph depicts the linearized changes of the predicted iris gesture 603B and the ESKF gesture 603C in the x-axis trajectory relative to the y-axis 605 and the x-axis 606.

[0051] Figure 7 An example of components of a computer system 700 according to certain embodiments is shown. Computer system 700 is an example of the computer system described above. Although these components are shown as belonging to the same computer system 700, computer system 700 may also be distributed.

[0052] The computer system 700 includes at least a processor 702, a memory 704, a storage device 706, an input / output (I / O) peripheral device 708, a communication peripheral device 710, and an interface bus 712. The interface bus 712 is used to communicate, send, and transmit data, control, and commands between the various components of the computer system 700. The memory 704 and the storage device 706 include computer-readable storage media, such as RAM, ROM, electrically erasable programmable read-only memory (EEPROM), hard disk drives, CD-ROMs, optical storage devices, magnetic storage devices, electronic non-volatile computer storage devices (such as flash memory), and other tangible storage media. Any such computer-readable storage medium can be used to store instructions or program codes that implement various aspects of the present disclosure. The memory 704 and the storage device 706 also include computer-readable signal media. Computer-readable signal media include propagated data signals containing computer-readable program codes. Such propagated signals take any of a variety of forms, including but not limited to electromagnetic, optical, or any combination thereof. Computer readable signal media include any computer readable media that is not a computer readable storage media and that can communicate, propagate, or transport a program for use in conjunction with the computer system 700 .

[0053] In addition, the memory 704 includes an operating system, programs and applications. The processor 702 is used to execute stored instructions, and includes, for example, a logic processing unit, a microprocessor, a digital signal processor and other processors. The memory 704 and / or the processor 702 can be virtualized and can be hosted in another computer system such as a cloud network or a data center. The I / O peripherals 708 include user interfaces, such as keyboards, screens (e.g., touch screens), microphones, speakers, other input / output devices, and computing components, such as graphics processing units, serial ports, parallel ports, universal serial buses and other input / output peripherals. The I / O peripherals 708 are connected to the processor 702 by any port coupled to the interface bus 712. The communication peripherals 710 are used to facilitate communication between the computer system 700 and other computer systems through a communication network, and include, for example, a network interface controller, a modem, wireless and wired interface cards, antennas and other communication peripherals.

[0054] Although the subject matter has been described in detail for its specific embodiments, it should be understood that those skilled in the art, after obtaining an understanding of the foregoing, can easily produce changes, variations and equivalents to these embodiments. Therefore, it should be understood that the present disclosure is presented for the purpose of illustration rather than limitation, and does not exclude the inclusion of modifications, variations and / or additions to the subject matter that are obvious to ordinary technicians. Skills in this field. In fact, the methods and systems described herein can be embodied in a variety of other forms. In addition, without departing from the spirit of the present disclosure, various omissions, substitutions and changes can be made to the form of the methods and systems described herein. The attached claims and their equivalents are intended to cover such forms or modifications that fall within the scope and spirit of the present disclosure.

[0055] Unless expressly stated otherwise, it should be understood that terms such as "process," "compute," "determine," and "identify" used in the discussion of this specification refer to the actions or processes of a computer system (e.g., one or more computers or similar electronic computer systems or devices) that manipulates or transforms data represented as physical electronic or magnetic quantities in the memory, registers, or other information storage devices, transmission devices, or display devices of a computing platform.

[0056] The one or more systems discussed herein are not limited to any particular hardware architecture or configuration. A computer system may include any suitable arrangement of components that provide a result conditioned on one or more inputs. Suitable computer systems include multi-purpose microprocessor-based computer systems that access stored software that programs or configures the computer system from a general-purpose computing device to a dedicated computing device that implements one or more embodiments of the present subject matter. Any suitable programming, scripting, or other type of language or combination of languages ​​may be used to implement the teachings contained herein in software used to program or configure a computer system.

[0057] Embodiments of the methods disclosed herein can be performed in the operation of such a computer system. The order of the blocks presented in the above examples can be changed, for example, the blocks can be reordered, combined and / or decomposed into sub-blocks. Some blocks or processes can be executed in parallel.

[0058] Conditional language used herein, such as "may," "could," "might," "for example," and the like, unless expressly stated otherwise or otherwise understood in the context of use, is generally intended to convey that some examples include and other examples do not include certain features, elements, and / or steps. Thus, such conditional language generally does not mean that one or more examples require features, elements, and / or steps in any way, or that one or more examples must include features, elements, and / or steps for determining whether such features, elements, and / or steps are included or will be performed in any particular example, with or without author input or prompting.

[0059] The terms "including", "having", etc. are synonymous and are used inclusively in an open manner and do not exclude other elements, features, actions, operations, etc. In addition, the term "or" is used in its inclusiveness (not exclusiveness), for example, when used to connect a list of elements, the term "or" means one, some or all of the elements in the list. "For" or "configured to" used herein refers to open and inclusive language, and does not exclude devices used or configured to perform additional tasks or steps. In addition, the use of "based on" means openness and inclusiveness, because the process, step, calculation or other action "based on" one or more listed conditions or values ​​may actually be based on additional conditions or beyond the listed values. Similarly, the use of "based at least in part" means openness and inclusiveness, because the process, step, calculation or other action "based at least in part on" one or more listed conditions or values ​​can be based on additional conditions or values ​​outside the listed in practice. The titles, lists and numbers included here are only for ease of explanation and are not meant to be limiting.

[0060] The various features and processes described above can be used independently of each other, or can be used in combination in various ways. All possible combinations and sub-combinations are intended to fall within the scope of the present disclosure. In addition, certain method or process blocks may be omitted in some implementations. The methods and processes described herein are also not limited to any particular order, and the blocks or states associated therewith may be performed in other appropriate orders. For example, the blocks or states described may be performed in an order different from that specifically disclosed, or multiple blocks or states may be combined in a single block or state. Example blocks or states may be performed serially, in parallel, or in some other manner. Blocks or states may be added to or deleted from the disclosed examples. Similarly, the example systems and components described herein may be configured differently from those described. For example, elements may be added, removed, or rearranged compared to the disclosed examples.

Claims

1. A method for updating state variables in a simultaneous localization and mapping (SLAM) system, It is characterized in that The method comprises: receiving a calculated position from an inertial measurement unit, wherein the calculated position includes a position, an orientation, and a velocity; Receive multiple images from a camera; Predicting an error state using the calculated position, the error state comprising state variables and state covariance, wherein the state variables comprise vectors, the vectors comprising one or more of position, velocity, accelerometer measurement, gyroscope measurement, and gravity measurement: processing a first subset of the plurality of images using an optimization process to provide a first SLAM pose at a first frequency; processing a second subset of the plurality of images using pure visual odometry to provide a second SLAM pose at a second frequency; and updating the state variable and the state covariance using at least one of the first SLAM pose and the second SLAM pose, The image frequency of the camera shooting the multiple images is equal to the sum of the first frequency and the second frequency.

2. The method according to claim 1, It is characterized in that The first SLAM posture is obtained by applying an optimization process processing algorithm to the first image subset, and the second SLAM posture is obtained by applying a pure visual odometry processing algorithm instead of the optimization process processing algorithm to the second image subset.

3. The method according to claim 1, It is characterized in that Updating the state variable and the state covariance using at least one of the first SLAM pose and the second SLAM pose comprises: Updating the state variables and the state covariance at an image rate pose comprises: updating the state variables and the state covariance using the first SLAM pose at a rate of 10 updates per second; and The state variables and the state covariance are updated using the second SLAM pose at a rate of 20 updates per second.

4. The method according to claim 3, It is characterized in that The image rate poses also include an interleaved sequence of the first SLAM poses and the second SLAM poses.

5. The method according to claim 1, It is characterized in that The state covariance is calculated based on at least a first quality metric of the first SLAM pose or a second quality metric of the second SLAM pose.

6. The method according to claim 1, It is characterized in that Updating the state variables and the state covariance using at least one of the first SLAM pose or the second SLAM pose includes updating the state variables and the state covariance using the calculated position when a SLAM quality metric is lost.

7. A computer system, It is characterized in that include: processor; Inertial measurement unit; as well as one or more memories storing a computer program which, when executed by the processor, configures the computer system to: receiving a calculated position from the inertial measurement unit, wherein the calculated position includes a position, an orientation, and a velocity; Receive multiple images from a camera; Predicting an error state using the calculated position, the error state comprising state variables and state covariance, wherein the state variables comprise vectors, the vectors comprising one or more of position, velocity, accelerometer measurement, gyroscope measurement, and gravity measurement: processing a first subset of the plurality of images using an optimization process to provide a first SLAM pose at a first frequency; processing a second subset of the plurality of images using pure visual odometry to provide a second SLAM pose at a second frequency; and updating the state variable and the state covariance using at least one of the first SLAM pose and the second SLAM pose, The image frequency of the camera shooting the multiple images is equal to the sum of the first frequency and the second frequency.

8. The computer system according to claim 7, It is characterized in that Updating the state variable and the state covariance using at least one of the first SLAM pose and the second SLAM pose comprises: Updating the state variables and the state covariance at an image rate pose comprises: updating the state variables and the state covariance using the first SLAM pose at a rate of 10 updates per second; and The state variables and the state covariance are updated using the second SLAM pose at a rate of 20 updates per second.

9. The computer system according to claim 8, It is characterized in that The image rate poses also include an interleaved sequence of the first SLAM poses and the second SLAM poses.

10. The computer system according to claim 7, It is characterized in that The state covariance is calculated based on a first quality metric of the first SLAM pose or a second quality metric of the second SLAM pose.

11. The computer system according to claim 7, It is characterized in that Updating the state variables and the state covariance using at least one of the first SLAM pose and the second SLAM pose includes updating the state variables and the state covariance using the calculated position when a SLAM quality metric is lost.

12. one or more non-transitory computer storage media, It is characterized in that Instructions are stored which, when executed by a computer system, cause the computer system to perform the following operations: receiving a calculated position from an inertial measurement unit, wherein the calculated position includes a position, an orientation, and a velocity; Receive multiple images from a camera; Predicting an error state using the calculated position, the error state comprising state variables and state covariance, wherein the state variables comprise vectors, the vectors comprising one or more of position, velocity, accelerometer measurement, gyroscope measurement, and gravity measurement: processing a first subset of the plurality of images using an optimization process to provide a first SLAM pose at a first frequency; processing a second subset of the plurality of images using pure visual odometry to provide a second SLAM pose at a second frequency; and updating the state variables and the state covariance using at least one of the first SLAM pose or the second SLAM pose, The image frequency of the camera shooting the multiple images is equal to the sum of the first frequency and the second frequency.

13. One or more non-transitory computer storage media according to claim 12, It is characterized in that Updating the state variable and the state covariance using at least one of the first SLAM pose and the second SLAM pose comprises: Updating the state variables and the state covariance at an image rate pose comprises: updating the state variables and the state covariance using the first SLAM pose at a rate of 10 updates per second; and The state variables and the state covariance are updated using the second SLAM pose at a rate of 20 updates per second.

14. One or more non-transitory computer storage media according to claim 13, It is characterized in that The image rate poses also include an interleaved sequence of the first SLAM poses and the second SLAM poses.

15. The one or more non-transitory computer storage media of claim 12, It is characterized in that The state covariance is calculated based on a first quality metric of the first SLAM pose or a second quality metric of the second SLAM pose.

16. The one or more non-transitory computer storage media of claim 12, It is characterized in that Updating the state variables and the state covariance using at least one of the first SLAM pose or the second SLAM pose includes updating the state variables and the state covariance using the calculated position when a SLAM quality metric is lost.

17. The one or more non-transitory computer storage media of claim 12, It is characterized in that The first SLAM posture is obtained by applying an optimization process processing algorithm to the first image subset, and the second SLAM posture is obtained by applying a pure visual odometer processing algorithm to the second image subset instead of the optimization process processing algorithm.