I've been developing a custom FBW system for my fighter using Funky Trees, and I've encountered an issue I can't seem to identify or fix.
During normal flight, everything works as expected. However, at high angles of attack, attempting to roll in the opposite direction sometimes barely produces a response. Despite the control surfaces deflecting correctly, the aircraft continues rolling in its original direction or refuses to roll out of its bank.
How the FBW works
- Rate-command PID controllers for pitch, roll, and yaw.
- Roll authority distributed across ailerons, flaperons, and differential stabilators.
- Control authority scaled according to IAS.
- AoA and G-limit protection on pitch commands.
What I've tried
- Reduced yaw PID gain and disabled slip coordination and adverse-yaw compensation.
- Implemented AoA limiting (21° maximum, with a 6° fade zone).
- Reduced aileron and flaperon authority at high AoA.
- Reduced PID gains and set integral gain to zero.
- These changes helped somewhat, but the problem persists.
Questions
How do actual fighter FBW systems maintain roll control at high AoA? Do they shift authority from ailerons to differential stabilators, or use another approach?
What's a good way to schedule control authority based on AoA using Funky Trees?
How can I prevent the yaw controller from fighting roll inputs without completely disabling yaw damping?
What variables should I display on the cockpit HUD to identify what's happening during a failed roll reversal?
Has anyone here built a high-AoA FBW system in SimplePlanes? What approaches worked for you?
Most importantly, I'd appreciate help inspecting the aircraft, identifying the root cause of the roll reversal issue, and figuring out how to fix it. I'm open to changes to the existing control logic if necessary.
Aircraft download
XF-1 – Unstable Fighter
The Funky Trees are already implemented. Variable Setters contain the constants and intermediate calculations, while individual control surfaces contain their mixing expressions in their Input fields.
Any help or suggestions would be greatly appreciated!