# US 2026/0063426 A1 · Slam positioning method and apparatus based on timestamp correction, device and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0063426 A1
- Document ID: US20260063426A1
- Status: Published application
- Kind: A1
- Application number: 19/320,524
- Filed: 2025-09-05
- Published: 2026-03-05
- Earliest claimed: 2024-09-05
- Assignees: Beijing Zitiao Network Technology Co., Ltd.
- Applicants: Beijing Zitiao Network Technology Co., Ltd.
- Inventors: Yunfei FAN; Guidong WANG; Tao WU
- Web page: https://patentgrep.com/patent/US20260063426A1

## CPC

- G01C 21/1656: {with passive imaging devices, e.g. cameras}
- G06T 7/73: using feature-based methods
- G06F 3/012: {Head tracking input arrangements}
- G06F 3/0346: with detection of the device orientation or free movement in a three-dimensional [3D] space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
- G06T 2207/30244: Camera pose
- G01C: MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY (measuring liquid level G01F; radio navigation, determining distance or velocity by use of propagation effects, e.g. Doppler effects, propagation time, of radio waves, analogous arrangements using other waves G01S)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A SLAM positioning method and apparatus based on timestamp correction, a device, and a storage medium are provided. The method includes: acquiring a time compensation value, an image observation result, and a system state of each sub-window in a current sliding window; constructing a SLAM model based on time compensation values, the image observation results and the system states of the sub-windows in the current sliding window, where the time compensation value is a time deviation between a time system of a camera and a time system of an IMU; solving the SLAM model to obtain a parameter to be estimated, including the system state and the time compensation value to be estimated of each sub-window in the current sliding window.

## Claims

### Claim 1

A SLAM positioning method based on timestamp correction, applied to a terminal device comprising a camera and an inertial measurement unit (IMU), comprising:
acquiring a time compensation value, an image observation result and a system state of each sub-window in a current sliding window, wherein the current sliding window comprises N sub-windows, N is greater than or equal to 2, the system state comprises an IMU position and an IMU posture, and the image observation result comprises an observation coordinate value of a landmark point captured by the camera at a system time of the sub-window;
ting a SLAM model based on time compensation values, the image observation results and the system es of the sub-windows in the current sliding window, wherein a camera system time corresponding to system time ti of an i-th sub-window in the SLAM mode is ti−tdi+td, wherein tdi represents the time compensation value used to construct the i-th sub-window, td represents a time compensation value to be estimated, and the time compensation value is a time deviation between a time system of the camera and a time system of the IMU; and
solving the SLAM model to obtain a parameter to be estimated, wherein the parameter to be estimated comprises: the system state and the time compensation value to be estimated of each sub-window in the current sliding window.

### Claim 2 (depends on 1)

The method according to claim 1, wherein before the constructing a SLAM model based on time compensation values, the image observation results and the system states of the sub-windows in the current sliding window, the method further comprises:
acquiring an IMU pre-integration of each sub-window based on IMU data measured by the IMU, wherein the IMU pre-integration of the i-th sub-window is a pre-integration result of the IMU data between the system time of the i-th sub-window and the system time of an i+1-th sub-window;
wherein the constructing a SLAM model based on time compensation values, the image observation results and the system states of the sub-windows in the current sliding window comprises:
constructing an inertial measurement residual for each sub-window by the following formula:
r
I
,
i
=
(
X
I
t
i
+
1
-
X
I
t
i
)
-
IMUS
t
i
;
wherein rI,i represents the inertial measurement residual for the i-th sub-window,
X
I
t
i
represents the system state of the i-th sub-window,
X
I
t
i
+
1
represents the system state of the i+1-th sub-window, IMUSti represents the IMU pre-integration of the i-th sub-window;
determining the IMU posture and the IMU position at a time ti−tdi+td according to the time compensation value, the system state, and the time compensation value to be estimated of the sub-window in the current sliding window; and
constructing a visual measurement residual for the landmark point observed in the current sliding window by the following formula:
r
i
,
j
=
z
i
,
j
-
π
⁡
(
R
⁡
(
q
t
i
-
t
⁢
d
i
+
td
)
·
C
I
R
,
P
t
i
-
t
⁢
d
i
+
t
⁢
d
+
R
⁡
(
q
t
i
-
t
⁢
d
i
+
t
⁢
d
)
·
I
P
C
,
P
L
i
)
,
wherein ri,j represents the visual measurement residual of a j-th landmark point observed at the i-th sub-window, zi,j represents the observation coordinate value of the j-th landmark point observed at the i-th sub-window,
C
I
R
represents a rotation matrix of the camera with respect to the IMU, IPC represents a translation vector of the camera with respect to the IMU, qti−tdi+td represents the IMU posture at the time ti−tdi+td, Pti−tdi+td represents the IMU position at the time ti−tdi+td, PLi represents a three-dimensional coordinate of the j-th landmark point, and π (-, -, -) represents a projection model of the camera.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the solving the SLAM model to obtain a parameter to be estimated comprises:
calculating Jacobian matrices of all the inertial measurement residuals and all the visual measurement residuals in the current sliding window with respect to the system states, respectively; and
feeding all the inertial measurement residuals, all the visual measurement residuals, the Jacobian matrices corresponding to the inertial measurement residuals, the Jacobian matrices corresponding to the visual measurement residuals, and the system states in the current sliding window into a nonlinear optimizer for iterative optimization, to obtain the parameter to be estimated.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the nonlinear optimizer comprises g2o, ceres or GSTAM.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the constructing a SLAM model based on time compensation values, the image observation results and the system states of the sub-windows in the current sliding window comprises:
determining the IMU posture and the IMU position at a time ti−tdi+td according to the time compensation value, the system state, and the time compensation value to be estimated of the sub-window in the current sliding window; and
constructing a visual measurement residual of an observed landmark point in the current sliding window by the following formula:
r
i
,
j
=
z
i
,
j
-
π
⁡
(
R
⁡
(
q
t
i
-
t
⁢
d
i
+
td
)
·
C
I
R
,
P
t
i
-
t
⁢
d
i
+
t
⁢
d
+
R
⁡
(
q
t
i
-
t
⁢
d
i
+
t
⁢
d
)
·
I
P
C
,
P
L
i
)
,
ri,j represents the visual measurement residual of a j-th landmark point observed at the i-th sub- dow, zi,j represents the observation coordinate value of the j-th landmark point observed at the i-th sub-window,
C
I
R
represents a rotation matrix of the camera with respect to the IMU, IPC represents a translation vector of the camera with respect to the IMU, qti−tdi+td represents the IMU posture at the time ti−tdi+td, Pti−tdi+td represents the IMU position at the time ti−tdi+td, PLi represents a three-dimensional coordinate of the j-th landmark point, and π (-, -, -) represents a projection model of the camera.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the solving the SLAM model to obtain a parameter to be estimated comprises:
calculating Jacobian matrices of the visual measurement residuals in the current sliding window with respect to the system states, respectively; and
performing Kalman-related filtering processing on all the visual measurement residuals, the Jacobian matrices corresponding to the visual measurement residuals, and the system states in the current sliding window, to obtain the parameter to be estimated.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the Kalman-related filtering processing comprises Kalman filtering processing or extended Kalman filtering processing.

### Claim 8 (depends on 2)

The method according to claim 2, wherein the determining the IMU posture and the IMU position at a time ti−tdi+td according to the time compensation value, the system state, and the time compensation value to be estimated of the sub-window in the current sliding window comprises:
determining the IMU posture at the time ti−tdi+td according to the IMU posture, an IMU velocity, an IMU gyroscope value, the time compensation value, and the time compensation value to be estimated of the i-th sub-window; and
determining the IMU position at the time ti−tdi+td according to the IMU position, the IMU velocity, the IMU gyroscope value, the time compensation value, and the time compensation value to be estimated of the i-th sub-window.

### Claim 9 (depends on 8)

The method according to claim 8, wherein
the IMU posture at the time ti−tdi+td satisfies the following formula:
q
t
i
-
t
⁢
d
i
+
t
⁢
d
=
q
t
i
·
T
⁡
(
I
+
[
ω
t
i
*
(
t
⁢
d
-
d
⁢
t
i
)
]
×
)
,
qti represents the IMU posture corresponding to the i-th sub-window, I represents a unit matrix, represents the IMU gyroscope value measured at the system time of the i-th sub-window, and T(•) resents a conversion from the rotation matrix to a quaternion operation;
the IMU position at the time ti−tdi+td satisfies the following formula:
P
t
i
-
t
⁢
d
i
+
t
⁢
d
=
P
t
i
+
v
t
i
(
t
⁢
d
-
d
⁢
t
i
)
,
wherein Pti represents the IMU position corresponding to the i-th sub-window, and Vti represents the IMU velocity of the i-th sub-window.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the system time is a time under the time system of the IMU used as a reference time system.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the system state further comprises at least one of: an IMU velocity, an IMU accelerometer bias, an IMU gyroscope bias, and a three-dimensional coordinate of the landmark point.

### Claim 12 (depends on 1)

The method according to claim 1, wherein an observation value of the landmark point is a pixel coordinate of the landmark point, or the observation value of the landmark point is a normalize coordinate of the landmark point in a plane of the camera.

### Claim 13

A terminal device, comprising a processor and a memory, wherein the memory is configured to store a computer program; and the processor is configured to call and execute the computer program stored in the memory, to perform a SLAM positioning method based on timestamp correction, wherein the terminal device further comprises a camera and an inertial measurement unit (IMU), and the method comprises:
acquiring a time compensation value, an image observation result and a system state of each sub-window in a current sliding window, wherein the current sliding window comprises N sub-windows, N is greater than or equal to 2, the system state comprises an IMU position and an IMU posture, and the image observation result comprises an observation coordinate value of a landmark point captured by the camera at a system time of the sub-window;
constructing a SLAM model based on time compensation values, the image observation results and the system states of the sub-windows in the current sliding window, wherein a camera system time corresponding to the system time ti of an i-th sub-window in the SLAM mode is ti−tdi+td, wherein tdi represents the time compensation value used to construct the i-th sub-window, td represents a time compensation value to be estimated, and the time compensation value is a time deviation between a time system of the camera and a time system of the IMU; and
solving the SLAM model to obtain a parameter to be estimated, wherein the parameter to be estimated comprises: the system state and the time compensation value to be estimated of each sub-window in the current sliding window.

### Claim 14 (depends on 13)

The terminal device according to claim 13, wherein in the SLAM positioning method based on timestamp correction, before the constructing a SLAM model based on time compensation values, the image observation results and the system states of the sub-windows in the current sliding window,
the method further comprises:
acquiring an IMU pre-integration of each sub-window based on IMU data measured by the IMU, wherein the IMU pre-integration of the i-th sub-window is a pre-integration result of the IMU data between the system time of the i-th sub-window and the system time of an i+1-th sub-window;
wherein the constructing a SLAM model based on time compensation values, the image observation results and the system states of the sub-windows in the current sliding window comprises:
constructing an inertial measurement residual for each sub-window by the following formula:
r
I
,
i
=
(
X
I
t
i
+
1
-
X
I
t
i
)
-
IMUS
t
i
;
wherein rI,i represents the inertial measurement residual for the i-th sub-Window,
X
I
t
i
represents the system state of the i-th sub-window,
X
I
t
i
+
1
represents the system state of the i+1-th sub window, IMUSti represents the IMU pre-integration of the i-th sub-window;
determining the IMU posture and the IMU position at a time ti−tdi+td according to the time compensation value, the system state, and the time compensation value to be estimated of the sub-window in the current sliding window; and
constructing a visual measurement residual for the landmark point observed in the current sliding window by the following formula:
r
i
,
j
=
z
i
,
j
-
π
⁡
(
R
⁡
(
q
t
i
-
t
⁢
d
i
+
td
)
·
C
I
R
,
P
t
i
-
t
⁢
d
i
+
t
⁢
d
+
R
⁡
(
q
t
i
-
t
⁢
d
i
+
t
⁢
d
)
·
I
P
C
,
P
L
i
)
,
wherein ri,j represents the visual measurement residual of a j-th landmark point observed at the i-th sub-window, zi,j represents the observation coordinate value of the j-th landmark point observed at the i-th sub-window,
C
I
R
represents a rotation matrix of the camera with respect to the IMU, IPC represents a translation vector of the camera with respect to the IMU, qti−tdi+td represents the IMU posture at the time ti−tdi+td, Pti−tdi+td represents the IMU position at the time ti−tdi+td, PLi represents a three-dimensional coordinate of the j-th landmark point, and π (-, -, -) represents a projection model of the camera.

### Claim 15 (depends on 14)

The terminal device according to claim 14, wherein in the SLAM positioning method based on timestamp correction, the solving the SLAM model to obtain a parameter to be estimated comprises:
calculating Jacobian matrices of all the inertial measurement residuals and all the visual measurement residuals in the current sliding window with respect to the system states, respectively;
feeding all the inertial measurement residuals, all the visual measurement residuals, the Jacobian matrices corresponding to the inertial measurement residuals, the Jacobian matrices corresponding to the visual measurement residuals, and the system states in the current sliding window into a nonlinear optimizer for iterative optimization, to obtain the parameter to be estimated.

### Claim 16 (depends on 15)

The terminal device according to claim 15, wherein in the SLAM positioning method based on timestamp correction, the nonlinear optimizer comprises g2o, ceres or GSTAM.

### Claim 17 (depends on 13)

The terminal device according to claim 13, wherein in the SLAM positioning method based on timestamp correction, the constructing a SLAM model based on time compensation values, the image observation results and the system states of the sub-windows in the current sliding window comprises:
determining the IMU posture and the IMU position at a time ti−tdi+td according to the time compensation value, the system state, and the time compensation value to be estimated of the sub-window in the current sliding window; and
constructing a visual measurement residual of an observed landmark point in the current sliding window by the following formula:
r
i
,
j
=
z
i
,
j
-
π
⁡
(
R
⁡
(
q
t
i
-
t
⁢
d
i
+
td
)
·
C
I
R
,
P
t
i
-
t
⁢
d
i
+
t
⁢
d
+
R
⁡
(
q
t
i
-
t
⁢
d
i
+
t
⁢
d
)
·
I
P
C
,
P
L
i
)
,
ri,j represents the visual measurement residual of a j-th landmark point observed at the i-th sub- dow, zi,j represents the observation coordinate value of the j-th landmark point observed at the i-th sub-window,
C
I
R
represents a rotation matrix or the camera with respect to the IMU, IPC represents a translation vector of the camera with respect to the IMU, qti−tdi+td represents the IMU posture at the time ti−tdi+td, Pti−tdi+td represents the IMU position at the time ti−tdi+td, PLi represents a three-dimensional coordinate of the j-th landmark point, and π (-, -, -) represents a projection model of the camera.

### Claim 18 (depends on 17)

The terminal device according to claim 17, wherein in the SLAM positioning method based on timestamp correction, the solving the SLAM model to obtain a parameter to be estimated comprises:
calculating Jacobian matrices of the visual measurement residuals in the current sliding window with respect to the system states, respectively; and
performing Kalman-related filtering processing on all the visual measurement residuals, the Jacobian matrices corresponding to the visual measurement residuals, and the system states in the current sliding window, to obtain the parameter to be estimated.

### Claim 19 (depends on 18)

The terminal device according to claim 18, wherein in the SLAM positioning method based on timestamp correction, the Kalman-related filtering processing comprises Kalman filtering processing or extended Kalman filtering processing.

### Claim 20

A non-transitory computer-readable storage medium, comprising a computer program stored thereon, wherein the computer program is configured to cause a computer to perform a SLAM positioning method based on timestamp correction, wherein the method is applied to a terminal device comprising a camera and an inertial measurement unit (IMU), and the method comprises:
acquiring a time compensation value, an image observation result and a system state of each sub-window in a current sliding window, wherein the current sliding window comprises N sub-windows, N is greater than or equal to 2, the system state comprises an IMU position and an IMU posture, and the image observation result comprises an observation coordinate value of a landmark point captured by the camera at a system time of the sub-window;
constructing a SLAM model based on time compensation values, the image observation results and the system states of the sub-windows in the current sliding window, wherein a camera system time corresponding to system time ti of an i-th sub-window in the SLAM mode is ti−tdi+td, wherein tdi represents the time compensation value used to construct the i-th sub-window, td represents a time compensation value to be estimated, and the time compensation value is a time deviation between a time system of the camera and a time system of the IMU; and
solving the SLAM model to obtain a parameter to be estimated, wherein the parameter to be estimated comprises: the system state and the time compensation value to be estimated of each sub-window in the current sliding window.
