Today i made my first tests with a Gyro/accelerometer stabilized airframe. The system is based on an Ardupilot board and the Ardupilot expansion board with an additional gyro. The software is my own, but the Kalman filter is based on code published at the Sparkfun forum.
The airframe is this 150 cm span flying wing:
In stabilization mode the ardupilot reads elevator and aileron input from the transmitter and uses this input as target roll and pitch angles. If the stick is centered the plane is supposed to fly straight ahead.
The first flight tests were not a complete success. The Kalman filter seems to do a good job on the ground, but when flying i seem to get unreliable readings when turning. If i enable the stabilization et level flight it continues to fly level, but when i enable it during a turn it continues to turn rather than leveling out.
My guess is that this is because the accelerators have to much weight in the kalman filter so when i make my perfect coordinated turns :) the filter is unable to keep its angles.
I will keep you updated in this blog, but if anyone can give me some advice on how to tune the Kalman filter it would be appreciated.