Background
I'm working on 4-omniwheel mobile robot. It have encoder on each wheel and MPU 6050 IMU. The robot positioning suffer a great error because slip, so i try to increase the accuracy of positioning by fusing sensor value from encoder and IMU.
Question
I have look a lot of paper regarding sensor fusion using EKF [1][2][3].
With algorithm of EKF
$$\hat\beta^-_k=f(\hat\beta^+_{k-1},u_k)$$ $$P^-_k=F_kP_{k-1}F^T_k+Q_k$$ $$K_k=P^-_kH^T_k(H_kP^-_kH^T_k+R_k)^{-1}$$ $$\hat\beta^+_{k-1}=\hat\beta^-_k+K_k(z_k-h(\hat\beta^-_k))$$ $$P^+_k=P^-_k-K_kH_kP^-_k$$
state to predict
$$ \left[\begin{matrix} x \\ y \\ \theta \\ \dot x\\ \dot y\\ \omega\\ \end{matrix}\right] $$
and measurement model of each sensor
Encoder[4] $$h_{encoder} = \left[\begin{matrix}v_1\\v_2\\v_3\\v_4\\\end{matrix}\right]$$ $$H_{encoder} = \frac{r}{4} \left[\begin{matrix} 0 & 0 & 0 & 1 & 1 & \frac{1}{a+b}\\ 0 & 0 & 0 & 1 & -1 & \frac{-1}{a+b}\\ 0 & 0 & 0 & 1 & 1 & \frac{-1}{a+b}\\ 0 & 0 & 0 & 1 & -1 & \frac{1}{a+b}\\ \end{matrix}\right]$$ $$z_k = H_{encoder}\beta_k+v_k$$
IMU $$h_{imu} = \left[\begin{matrix}\theta\\\omega\end{matrix}\right]$$ $$H_{imu} = \left[\begin{matrix} 0 & 0 & 1 & 0 & 0 & 0\\0 & 0 & 0 & 0 & 0 & 1\end{matrix}\right]$$ $$z_k = H_{imu}\beta_k+v_k$$
I'm not quite sure where to put both sensor equation. I mean in EKF algorithm, I can literally place $h, H$ and $z_k$ of sensor on Step 3, 4 and 5 one at a time. But how to put both of IMU and Encoder equation? Or maybe I have misunderstanding about EKF sensor fusion?
Reference
- E. I. Al Khatib, M. A. Jaradat, M. Abdel-Hafez and M. Roigari, "Multiple sensor fusion for mobile robot localization and navigation using the Extended Kalman Filter," 2015 10th International Symposium on Mechatronics and its Applications (ISMA), 2015, pp. 1-5, doi: 10.1109/ISMA.2015.7373480.
- V. Sangale and A. Shendre, "Localization of a Mobile Autonomous Robot Using Extended Kalman Filter," 2013 Third International Conference on Advances in Computing and Communications, 2013, pp. 274-277, doi: 10.1109/ICACC.2013.59.
- Jingang Yi, Junjie Zhang, Dezhen Song and Suhada Jayasuriya, "IMU-based localization and slip estimation for skid-steered mobile robots," 2007 IEEE/RSJ International Conference on Intelligent Robots and Systems, 2007, pp. 2845-2850, doi: 10.1109/IROS.2007.4399477.
- C. Röhrig, D. Heß and F. Künemund, "Motion controller design for a mecanum wheeled mobile manipulator," 2017 IEEE Conference on Control Technology and Applications (CCTA), 2017, pp. 444-449, doi: 10.1109/CCTA.2017.8062502.