Board index FlightGear Development Aircraft Autopilot and route manager

IT-AUTOFLIGHT V4.0.8 Beta

Designing a stable autopilot is one of the hardest things. Need help?

Re: IT-AUTOFLIGHT V4.0.7

Postby Octal450 » Sun Oct 10, 2021 9:19 pm

Ty :)

Kind Regards,
Josh
Skillset: JSBsim, Systems, Canvas, Autoflight/Control, Basic Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|MD Dev Discord
User avatar
Octal450
 
Posts: 5196
Joined: Tue Oct 06, 2015 12:51 pm
Version: next
OS: Windows 11 Pro x64

Re: IT-AUTOFLIGHT V4.0.7

Postby Octal450 » Tue Oct 12, 2021 9:59 pm

Update... someone reported a bug to me in the blank modes, sorry. I have fixed the issue and re-released ITAF 4.0.7. I also took this moment to squeeze in the Wing Level mode. It is not in the GUI, but available to aircraft developers who need it (set lat input to 6).

Code: Select all
V4.0.7:
[Control Loop]
* Added: New rate based FLCH (speed on pitch) controller
* Added: Ability to use a third NAV radio
* Added: Wings Level mode
* Fixed: If all APs and FDs are off, and the autopilot is engaged in V/S mode, the pitch might jerk
* Fixed: Flare law shallowing up too early and floating
* Fixed: Really slow response in some situations
* Fixed: Strange bug with glideslope
* Changed: Flight Director Pitch now outputs in degrees (in Canvas, you can just translate it the same as pitch scale)

[Logic]
* Added: Ability to define when APs and A/THR are available
* Added: APs and A/THR trips off if respective system is unavailable
* Added: Ability to set blank mode
* Added: Ability to start with flight directors on by default
* Added: Armed modes disarm if they become unavailable
* Added: Ability to use a third NAV radio
* Added: Built in VS/FPA switching logic
* Added: Wings Level mode
* Fixed: Bad handling of radio selection
* Fixed: LOC capturing too early on shallow intercept and increasing intercept angle
* Fixed: Flare engagement

[GUI]
* Added: NAV source toggles for all 3 radios


https://github.com/Octal450/IT-AUTOFLIG ... /tag/4.0.7

Kind Regards,
Josh
Skillset: JSBsim, Systems, Canvas, Autoflight/Control, Basic Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|MD Dev Discord
User avatar
Octal450
 
Posts: 5196
Joined: Tue Oct 06, 2015 12:51 pm
Version: next
OS: Windows 11 Pro x64

Re: IT-AUTOFLIGHT V4.0.8 Beta

Postby Octal450 » Tue Aug 09, 2022 8:02 pm

Hi,
I've added a new speed on pitch control loop for the autopilot.
It no longer uses an integrator at all - meaning no more chasing the FD bar, and more stable operation overall!

It is in testing in the MD-11, A320-family, and MD-80. I will be adding it into the 4.0.8 Beta shortly. For years the fact that an integrator was needed was a hurdle for speed on pitch to be stable, but the latest control scheme I've come up with is in fact more stable and accurate, without an integrator. Can you believe that?

Kind Regards,
Josh
Skillset: JSBsim, Systems, Canvas, Autoflight/Control, Basic Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|MD Dev Discord
User avatar
Octal450
 
Posts: 5196
Joined: Tue Oct 06, 2015 12:51 pm
Version: next
OS: Windows 11 Pro x64

Re: IT-AUTOFLIGHT V4.0.8 Beta

Postby dom_vc10 » Thu Aug 11, 2022 11:25 am

Yes I can, if you wrote it :-) You're doing some excellent stuff here most of it goes over my head but I know I am benefitting from it so thanks!
dom_vc10
 
Posts: 339
Joined: Mon Jul 27, 2020 7:33 am
Location: CZ - LKTB
Version: nightly
OS: Linux Mint 20.2

Re: IT-AUTOFLIGHT V4.0.8 Beta

Postby TheEagle » Thu Aug 11, 2022 1:48 pm

Do you think the same would be possible for other modes ? If so it could also be used in other aircraft, independent of IT-Autoflight (for example my 210's autopilot has a pretty slow reaction, in order to not oscillate).
You won't believe how many issues dissolved into thin air after reinstalling !

Cessna 210 (GitHub | Wiki)
Find a list of the other aircraft I'm developing or enhancing in my wiki profile !
Addons: Landing challenge (GitHub)
Other: FGTools (GitHub)
User avatar
TheEagle
 
Posts: 2708
Joined: Sat May 01, 2021 2:27 pm
Location: France
Callsign: F-EAGLE
IRC name: none
Version: 2020.4.0
OS: Ubuntu Studio 20.04

Re: IT-AUTOFLIGHT V4.0.8 Beta

Postby Octal450 » Sat Aug 13, 2022 4:28 am

Hi,
updated the loop slightly to improve some stability in weather.

@dom_vc10, thanks friend :) I appreciate your kind words

@TheEagle
Already ITAF does not use any integrators for any FD modes. Only the autopilot's taking the FD course and flying it uses integrators. All FD paths in lateral or vertical are calculated by absolute function. Integrators are bad for flight directors. Speed on pitch was the last mode using an integrator.

If your AP is bad, then seems you should instead replace with one of my reworked GA systems. S-TEC 55X or also the NEW KAP140 (w/ Sascha + benih + others) have proper control loops that fly stably.

Otherwise if you need some other AP, you can ask me about it and I might be able to help you in something.

Kind Regards,
Josh
Skillset: JSBsim, Systems, Canvas, Autoflight/Control, Basic Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|MD Dev Discord
User avatar
Octal450
 
Posts: 5196
Joined: Tue Oct 06, 2015 12:51 pm
Version: next
OS: Windows 11 Pro x64

Re: IT-AUTOFLIGHT V4.0.8 Beta

Postby TheEagle » Sat Aug 13, 2022 9:43 am

Thank you very much Josh, my 210 uses some old ARC autopilots, not KAP140 or STEC55X (or it does, but only as a retrofit), so I'll definitely come back to your offer at some point ! :)
You won't believe how many issues dissolved into thin air after reinstalling !

Cessna 210 (GitHub | Wiki)
Find a list of the other aircraft I'm developing or enhancing in my wiki profile !
Addons: Landing challenge (GitHub)
Other: FGTools (GitHub)
User avatar
TheEagle
 
Posts: 2708
Joined: Sat May 01, 2021 2:27 pm
Location: France
Callsign: F-EAGLE
IRC name: none
Version: 2020.4.0
OS: Ubuntu Studio 20.04

Re: IT-AUTOFLIGHT V4.0.8 Beta

Postby Octal450 » Sat Aug 13, 2022 7:29 pm

Gotcha.
Let me know if you want any work done :)

Kind Regards,
Josh
Skillset: JSBsim, Systems, Canvas, Autoflight/Control, Basic Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|MD Dev Discord
User avatar
Octal450
 
Posts: 5196
Joined: Tue Oct 06, 2015 12:51 pm
Version: next
OS: Windows 11 Pro x64

Re: IT-AUTOFLIGHT V4.0.8 Beta

Postby Octal450 » Mon Aug 29, 2022 1:23 am

I have updated the design again. It now is a little smoother and works better in turbulence. It is a careful balancing act to have enough filtering to work with noisy airspeed inputs, but not too much where it becomes laggy and overshoot-y (especially with FD manually flying).

Kind Regards,
Josh
Skillset: JSBsim, Systems, Canvas, Autoflight/Control, Basic Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|MD Dev Discord
User avatar
Octal450
 
Posts: 5196
Joined: Tue Oct 06, 2015 12:51 pm
Version: next
OS: Windows 11 Pro x64

Previous

Return to Autopilot and route manager

Who is online

Users browsing this forum: No registered users and 1 guest