Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Dynamic Deflection for Control Surfaces Option #110

Merged
merged 2 commits into from
Apr 25, 2021

Conversation

Alioth81
Copy link

Dynamic control adapts the actual deflection of a control surface based on speed and height.
New tunable parameters
Dynamic Deflection: Enable/Disable (this functionality=
StartSpeed: up until this speed no adaption happens. From then on the control input decreases based on the selected exponent.
Exponent: allows to tune the rate of decrease (e.g. exponent 2 reduces the deflection to 0.25x the original at 2x start speed
MinControl: The control does not decrease lower than this value)

In addition control deflection will increase linearly based on altitude (up to the original desired deflection to ensure that the plane keep maneuverability higher up).

Additional small change:
Decrease the minimal threshold of deflection. This was done to improve handling at higher speeds where a little deflection makes a big difference. This will help autopilot PID controllers as there are less "jumps" caused by the relatively high former min value

This is a video showing the changes in action https://youtu.be/ch_f8B0YRis
This graph shows how the settings influence actual deflection (e.g. at 2x the selected start speed with an exponent of 2 yu will get 0.25x the deflection [this means if it had 12 degrees max deflection it will now deflect only 4 degrees]
DynamicDeflection

I will create a small forum post with this as well

Dynamic control adapts the actual deflection of a control surface based on speed and height.
StartSpeed: up until this speed no adaption happens. From then on the control input decreases based on the selected exponent.
Exponent: allows to tune the rate of decrase (e.g. exponent 2 reduces the deflection to 0.25x the original at 2x start speed
MinControl: The control does not decrease lower than this value

In addition control deflection can increase linearly based on altitude (up to the original desired deflection to ensure that the plane keep maneuverability higher up.

The last change was to decrease the minimal threshold of deflection. This was done to improve handling at higher speeds where a little deflection makes a big differences. This also help autopilot PID controllers as there are less "jumps"
@dkavolis
Copy link
Owner

Thanks for the PR. Looks good but could you also add the remaining localization strings? They can be in English until someone else can translate them.

@Alioth81
Copy link
Author

Thanks - I made the changes you suggested and added the localizations. I was able to do the German ones and left it English in the Chinese and Russian localization

@dkavolis
Copy link
Owner

Thanks

@dkavolis dkavolis merged commit 52dd2d5 into dkavolis:master Apr 25, 2021
@jtgibson01
Copy link

This is fantastic! Can we get a binary rebuild and release to reflect this change? I was hoping to try this out after I saw the forum post -- quite possibly my biggest niggle with FAR -- but am not quite willing to build from source to do it. =)

@NathanKell
Copy link

Uh, isn't this exactly what DPCR under FAR flight aids does?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants