# Formula for calculating turn indicator (deviation from coordination)

being more a professional programmer and less prof pilot, I am building a small Android EFIS and I'm able to calculate quaternions, yaw, pitch, roll, TAS, acceleration values etc. I am stuck calculating the deviation from a coordinated curve indicator, usually the small ball in the turn indicator. Could someone please point me to a formula? I'm finding only formulas about calculating the necessary bank angle or radius from speed. Thanks in advance and best regards hk

• A filtered lateral acceleration would suffice. Turn indicator does not indicate sideslip anyway.
– JZYL
Nov 13 '19 at 17:23

I am stuck calculating the deviation from a coordinated curve indicator, usually the small ball in the turn indicator.

The "small ball in the turn indicator" (which pilots use to determine what they need to do with the rudder pedals in order to stay in coordinated flight) is just an inclinometer. It's literally just a heavy ball in a curved tube filled with oil.

If you want to replicate the way that the inclinometer works, then look at the lateral acceleration and vertical acceleration and use the arctan2 function to determine the apparent tilt.

By "lateral acceleration," I mean the proper acceleration in the direction of the aircraft's lateral axis, since that's what matters here and that's what you're able to sense. Likewise, by "vertical acceleration," I mean proper acceleration in the direction of the vertical axis.

The oil in the tube functions as a low-pass filter with a time constant of maybe about a second.

All that said, I don't think there's actually any reason to use the vertical acceleration. You can just take the lateral acceleration, low-pass filter it, and display the result.

• Thank's guys, but 1 more question. In what coordination system the lateral acceleration is defined? In the banked aircraft's or earth' ?
– hans
Nov 14 '19 at 12:52
• @hans In the banked aircraft's coordinate system. I've edited to clarify that. Nov 14 '19 at 12:59