Im searching new avionics (fly-by-wire) funky trees codes, I use clamp(Input - inputRate/100, -1, 1) code, but i found that this code isn't as effective as i need, so i need new, more advanced ft fly-by-wire codes, which will improve stability a lot, and maybe not just a damper
smooth(sign((input-current)+rate(input-current)*D),
P*abs((input-current)+rate(input-current)*D))
SP forum doesn't displays full line, so it's split with linefeed.
It's a form of PID,
P
is gain,D
is dampenerIt's always clamped between -1 and 1, and will perhaps be 1 at the level start.
It's generally not proportional to input and it's not suitable for rockets|TVC, but it works fine with control surfaces.
For high-speed airplanes, don't forget that airplane's behaviour changes with airspeed.