YAW PID has almost no effect

I'm trying to set up yaw PID to keep the plane coordinated.

I've set rudder mix to 0 to isolate the yaw PID, and I have to set P to some insane value like 500 for it to have any appreciable effect when I tilt the plane on it's side (thus applying lateral acceleration, which the plane should try to use the rudder to minimize.) The problem is that P gets reset to 44 when I reset the board.

I can set the I value to 50 and the rudder moves very slooooooowly when I tilt the plane on its side. It maxes out at 52, though. The I setting might be able to coordinate straight-and-level flight, but it's not going to coordinate turns.

 

What's going on here? Am I missing something, or is this feature broken?

 

Once I get telemetry, I will watch the Y accelerometer while I fly and tune to minimize lateral acceleration. If I have to, I'll edit the code to get it where I need. I'm just wondering if anyone else has this issue, though, or if anyone's even trying to do turn coordination. It's not a big deal on my airframe (it doesn't want to spin), but it could be a very big deal on other airframes. Not to mention, coordinated flight reduces drag very significantly.

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

Join diydrones

Email me when people reply –

Replies

  • Ended up changing the code to multiply the error by 100 before it went into the pid filter.
This reply was deleted.

Activity

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