Research on Extended Kalman Filter and Particle Filter Combinational Algorithm in UWB and Foot-Mounted IMU Fusion Positioning
Algorithm 2
zupt_result = ZuptImu(ImuData).
Input: ImuData: the original imu value
Output: zupt_result: foot-mounted IMU-based positioning result
(1)
Acquire the acceleration acc_s and the gyroscope data from ImuData to initialize yaw, pitch, and roll
(2)
Construct a coordinate transformation matrix C _pre and indicate the zero bias of with
(3)
Initialize the acceleration, the velocity, and the position vector that are separately indicated by acc_n, vel_n, and pos_n in the navigation coordinate
(4)
Initialize the acceleration noise = 0.01 m/s, the gyro noise = 0.01 rad/s, and the observation noise = 0.01 m/s
(5)
Construct an observation matrix H and an observation noise matrix R, and initialize the zero velocity detection threshold _threshold = 0.6 rad/s
(6)
For t in ImuData.cols()
(7)
dt = timestamp(t) − timestamp(t − 1)
(8)
= (:,t) −
(9)
Construct an angular velocity skew-symmetric matrix and update the coordinate transformation matrix C = C _pre ∗ (2I3×3 + dt) (2I3×3 − dt)−1