Pitch, roll compensated thrust.
Posted: Wed Aug 28, 2013 11:18 am
I was considering correcting thrust for pitch and roll. This is to try and compensate for the virtical thrust dropping because of pitch and roll.
This would give level flight and would also allow a narrower thrust control range, as you would not need the upper part of the range to regain lost height.
I think the compensation for thrust should be T = T0 * (1/cos(angle))
I think this could posible be, or is approximatly T = T0 * (1/cos(pitch)) * (1/cos(roll))
Working in radians I think I can approximate 1/cos(x) to be 1 + ((x^2)/2)
So a cheap calculation could be T = T0 * (1 + (pitch * pitch * 0.5)) * (1 + (roll * roll * 0.5))
Or in degrees
C = (((2 *pi)/360)^2)/2
T = T0 * (1 + (pitch * pitch * C)) * (1 + (roll * roll * C))
I am unsure if I can equate thrust with the PWM setting. I think given all the approximations this is probably good enough.
I think it would be wise to limit the thrust to T <= T0 * 1.5. Just to stop extream thrusts at extreame angles.
This would give level flight and would also allow a narrower thrust control range, as you would not need the upper part of the range to regain lost height.
I think the compensation for thrust should be T = T0 * (1/cos(angle))
I think this could posible be, or is approximatly T = T0 * (1/cos(pitch)) * (1/cos(roll))
Working in radians I think I can approximate 1/cos(x) to be 1 + ((x^2)/2)
So a cheap calculation could be T = T0 * (1 + (pitch * pitch * 0.5)) * (1 + (roll * roll * 0.5))
Or in degrees
C = (((2 *pi)/360)^2)/2
T = T0 * (1 + (pitch * pitch * C)) * (1 + (roll * roll * C))
I am unsure if I can equate thrust with the PWM setting. I think given all the approximations this is probably good enough.
I think it would be wise to limit the thrust to T <= T0 * 1.5. Just to stop extream thrusts at extreame angles.