Team,
I have worked out a new way to account for acceleration in the computations to detect roll and pitch gyro drift in IMU computations.
The method that is commonly used right now is based on computing centrifugal effects in the body frame of reference. This method requires an aerodynamic model of the aircraft that can be used to compute acceleration in the body frame using the rotation rate vector measured by the gyro, and the air velocity vector. As a result, this method has small errors when used with a fixed wing aircraft, and has large errors when used with a multicopter.
The new method, described here, does not require a model of the aircraft at all, so it is an exact method, not an approximate one. It is based on three innovations to the currently used method:
1. The roll-pitch reference vector is acceleration minus gravity, instead of gravity.
2. The calculations are performed in the earth frame, so there is no computation of centrifugal effects needed at all.
3. The computation uses a formulation based on integrals, which attenuates the effects of noise.
I have not yet tested this method, but I am confident that it will work. I will report back, and post a blog entry, when I have some test results.
Here is a link to test results.
Best regards,
Bill Premerlani
Tags: centrifugal
Permalink Reply by Evan Coasts on August 24, 2012 at 12:46pm Hi Andrew, Bill,
Thanks for the reply.
However, it looks to me that the null_offsets() routine is used to continually adjust the compass offsets in the long run.
What I’m actually looking for is the code that executes the compass calibration when you rotate the board in all 3 axes (for 30 sec) after you hit the “Live Calibration” button on the Mission Planner/Configuration/Hardware Options/Compass.
Regards
Evan
Permalink Reply by Shyam Balasubramanian on September 26, 2012 at 5:20pm Hi Andrew, Bill,
Can you tell me how you do the testing for APM (esp. getting those graphs of the sensor outputs that are part of this discussion (seen in many replies).
I want to do similar testing (visually) for the project I have undertaken for stabilization of the camera mount (using APM, Ardupilot code) where I wish to study the IMU stabilized output for the servos and how they stabilize over time (PID settings).
Are there any specific tools (that can be setup easily) OR can we do that over Mission planner or something?
Shyam,
The graphs from tridge were produced with python scripts that I believed consume the tlogs from mission planner. If you're just getting started it's probably easier to use the mission planner itself to do the graphing. There are some descriptions here, here and here on how to do this. At a high level there are two types of logs in arducopter/arduplane...dataflash logs that are stored on the APM and tlogs that are stored on your computer if you have telemetry enabled.
Permalink Reply by MHefny on January 15, 2013 at 3:17pm Dear Bill, I am trying to build a framework for quadcopter that try to superposition different functions rather than calculating them all together.
I hope you give me your opinion.
Hi MHefny,
I looked at your link. Sounds like fun and that you have some good ideas. I wish you well, and "may the force be with you." That is all I will venture to say.
Best regards,
Bill
Permalink Reply by Shyam Balasubramanian on January 19, 2013 at 8:18pm Hi MHefny,
I went through that link. Are you the author of that beautiful page "HefnyCopter"?
Regards..
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.671 members
1280 members
8 members
182 members
15 members
© 2013 Created by Chris Anderson.
Powered by
