PID tuning, too slow to stabilize and overshooting

Hello,

I'm building my very first quadcopter totally from scratch, using a Lynxmotion mini V-Tail frame, and motors from the same brand.
My controller board is a raspberry pi (I know this site is focused on Arduino, but there aren't many forums about diy drones..) with software that I wrote entirely by myself, with a fixed update rate at approximately 100Hz. I'm using an Invensense MPU-9150 as IMU.

After a very long time trying to avoid noise on accelerometer and filter all the data using an EKF, I'm now facing a big problem with the PID controlling the attitude of my quadcopter.

If I hold it by its tail (letting its head falling forward) and let the controller raising it to horizontal, it takes several seconds (almost 10 seconds in worst cases) to stabilize. That's way too long, so I increase the P parameter just a little bit, then the drone starts oscillating more and more until becoming totally uncontrollable, and it was still too slow to stabilize !

Did someone already had a similar problem on this forum ? Do you think that it does come from the PID or maybe my EKF filtering ?

Thank you o/

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

Join diydrones

Email me when people reply –

Replies

  • I'm not entirely sure, but I've had a hard time tuning this frame also. Presumably with the right PID settings it will fly stable, it appears that some have autotuned and it has worked, but I cannot find what these PID values are. In my case, running ArduCopter 3.6, and set to VTAIL frame type and manually changed motor output 2 and 4 from motor 2 and 4 to v tail right and left (not sure if that made a difference, I didn't compile from source I'm not that savvy). In my case it takes off stable and then within a few seconds begins to oscillate in roll and yaw and this gets worse and worse until it no longer is flyable. I am stuck at this point.
This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…