I want to study the variation of errors introduced when we integrate the IMU data to obtain position and orientation. This can be done by creating a path and then making an IMU sensor traverse this path (with the required acceleration and angular velocity inputs). Since we have only IMU data, the position and orientation can only be obtained by integrating the measurement data which will lead to integration drift since the measurements contain noise and other errors. I want to understand how does this drift varies with time and distance travelled by the vehicle containing this IMU setup.
Now, I am trying to use the imuSensor function to simulate IMU data. I am using the data from a MATLAB example – Model Tilt Using Gyroscope and Accelerometer Readings. Now since I am interested in knowing the position as well, I tried plotting the acceleration input and output as measured by the sensor model from MATLAB. But with zero input acceleration, I can see a huge variation in output acceleration. I am attaching the plots for reference. I dont understand what is happening here.
Also, it would be really nice if someone could help me give an outline to solve the problem using MATLAB i.e how to collect position and orientation data by using an IMU sensor only, attached to a UAV. I think the data can be simulated using imuSensor functionality but I am not sure how can I create the input parameters for it.
Also, what is the meaning of orientation in this function?
Thanks.
Best Answer