Gyro drift issue

With Ardupirates and earlier versions of Arducopter I had a problem with gyro drift. I thought this was not a problem with the 2.0.46 version I'm running now, but I have started to notice it again when flying in windy conditions.

 

When holding quad against the wind in Stabilize mode, after a while the center point drifts. So when I let go of stick the quad banks hard to the opposite direction. I almost lost the quad because I was no longer able to give enough left tilt to get back, I had to turn 180 degrees and tilt the quad right to get back. When I got it back I noticed that the camera gimble was tilted almost all the way to one of the sides, even if the quad was in level flight. So I assume that there is a gyro drift issue. The quad thinks it's tilted to one of the sides even if it's not.

 

I have been through all the calibration sequences, holding disarm for 20s etc. The quad flies perfect in calm wind. The problem only appears when holding it against wind for some time. Sensor pads on the board is soldered.

 

Can this be caused by the board not having enoug vibration dampers underneath?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • I think I have the solution!

    Man, this is probably too stupid to be correct, but here goes!

    Remember I wrote this? : " I noticed that the camera gimble was tilted almost all the way to one of the sides, even if the quad was in level flight"

     

    In fact, this was not a symptom of the accellerators being un-leveled, it's the cause of why the quad drifts!!

     

    I disconnected the camera gimbal so it doesn't swing from side to side, and now everything is ok. It seems that after flying for a while, the level of the camera gimbal roll is drifting, so the camera gimbal with 250gram camera is making the quad unbalanced. And this is causing the quad to drift to the side because of uneven weight distribution.

     

    The only thing I can think of that could prove my teory wrong, is that when connecting the servos to my camera gimbal it causes the IMU to loose the idea of what "level" is. Either because of vibrations or movements from the servos, or because of the extra current drawn. Or something like that...

     

    Can you confirm that the level of the camera roll is not tied to the the leveling of the quad itself in the code? That the camera gimble may drift while the accellerator values used to level the quad does not drift?

     

     

  • Thank you for your answers!

    The props are probably not perfectly balanced anymore, and the foam pads under the board may be to stiff. I will do some serious vibration dampening of the board and report the results here.

    Everything else is just about perfect now, amazing work, and excellent support!

     

  • Developer

    Fighting wind usually causes you to give more power to the motors. That's when you can get bitten by gyro drift due to aliasing. If it happens in about 20-30 seconds, it is the accels. Balance your props and isolate the IMU as best you can.

    I'm wondering if we raise the  pitch and roll commands from the radio to say 60° instead of 45° we could get around it.

    Jason

     

  • Moderator

    I'm not sure. If it was sensor aliasing from vibration, I think you would expect to see it over time even when you are not fighting against the wind. I think it is because the accelerometers alias, and correction to the gyro against their normal drift is thus affected. But I think you should see that all the time, unless there is simply more vibration only while you are fighting the wind...

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @DanielChiaJH: Great racing against @a1k0n today at @diyrobocars! Pretty cool to both break sun-9s at the track today I think I got very…
9 hours ago
DIY Robocars via Twitter
Broadcasting the @circuitlaunch race live now at https://m.twitch.tv/diyrobocars Races begin around 2:00pm PT
14 hours ago
DIY Robocars via Twitter
RT @a1k0n: ran a huge number of hyperparameter tuning experiments yesterday; now I can train a new policy, far with better quality, in 15 m…
14 hours ago
DIY Robocars via Twitter
RT @a1k0n: Did I get rid of hand-tuned parameters? Yes. Am I still hand-tuning more parameters? Also yes. I have a few knobs to address the…
Monday
DIY Robocars via Twitter
RT @a1k0n: I'm not going to spoil it, but (after charging the battery) this works way better than it has any right to. The car is now faste…
Monday
DIY Robocars via Twitter
RT @a1k0n: Decided to just see what happens if I run the sim-trained neural net on the car, with some safety rails around max throttle slew…
Monday
DIY Robocars via Twitter
Sep 24
DIY Robocars via Twitter
RT @SmallpixelCar: @a1k0n @diyrobocars I learned from this. This is my speed profile. Looks like I am too conservative on the right side of…
Sep 24
DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars Dot color is speed; brighter is faster. Yeah, it has less room to explore in the tighter part, and t…
Sep 24
DIY Robocars via Twitter
RT @a1k0n: I'm gonna try to do proper offline reinforcement learning for @diyrobocars and throw away all my manual parameter tuning for the…
Sep 23
DIY Robocars via Twitter
RT @circuitlaunch: DIY Robocars & Brazilian BBQ - Sat 10/1. Our track combines hairpin curves with an intersection for max danger. Take tha…
Sep 22
DIY Robocars via Twitter
RT @SmallpixelCar: Had an great test today on @RAMS_RC_Club track. However the car starts to drift at 40mph. Some experts recommended to ch…
Sep 11
DIY Robocars via Twitter
RT @gclue_akira: 世界最速 チームtamiyaのaiカー https://t.co/1Qq2zOeftG
Sep 10
DIY Robocars via Twitter
RT @DanielChiaJH: Always a good time working on my @diyrobocars car at @circuitlaunch. Still got some work to do if I’m to beat @a1k0n howe…
Sep 10
DIY Robocars via Twitter
RT @SmallpixelCar: My new speed profile for @RAMS_RC_Club track https://t.co/RtLb7TcgIJ
Sep 10
DIY Robocars via Twitter
RT @SmallpixelCar: Practiced at @RAMS_RC_Club today with my new @ARRMARC car https://t.co/AEu2hCx89T
Aug 28
More…