Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Yet Another Plane Alt Hold
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Air
Microcontrollers: Navigation, Microcontroller
Tags: v1.1.3
File Size
Posted
Updated
22.145 KB
2 Nov, 2020 @ 4:45pm
21 Feb, 2021 @ 6:45pm
3 Change Notes ( view )

Subscribe to download
Yet Another Plane Alt Hold

Description
This altitude hold microcontroller for planes uses dual PIDs to maintain level flight.

First control in the chain is the PID + Clamp gate, which calculates a target Rate of Climb clamped within the values of the Clamp gate.
Second PID maintains that rate of climb.

Since this Altitude Hold mostly uses Integral Control to maintain rate of climb, it is not advised to activate it from the ground as the Integral sum will become too large for the system to compensate for.

This should only be used in flight (obviously, it's an altitude hold controller...)

Place a Linear Speed Sensor set to Vertical Speed, connect this to the Vertical Speed Sensor input.
Connect a number input to the Target Altitude input, and an Altimeter to the Current Altitude Input.
Connect your input axis (W/S) to the Input W/S node, and Elevator output to your elevators.
8 Comments
HonzaVinCZ 10 Oct, 2021 @ 12:11pm 
Wow, this is the first controller that works on my VTOL and it works perfectly.
Jackhammer0312 12 Sep, 2021 @ 7:59pm 
This works absolute wonders, thank you so much for this because I could never get anything to work by myself for alt holding.
Bane882266 11 Sep, 2021 @ 3:39am 
Thanks for a useful controller. You can see it on the Avro Shackleton (Fairly Accurate).
Yaro the Great 24 May, 2021 @ 7:36am 
Works absolutely fantastic but it pitches way too fast and way too much.
󠁳⁧⁧FekSake 19 Dec, 2020 @ 2:07pm 
this works great! thanks
DiscoSynthesizer 14 Dec, 2020 @ 12:16pm 
Works great for me.
aguirre27 3 Nov, 2020 @ 5:20am 
Works great
Fire1529 2 Nov, 2020 @ 4:49pm 
You come in clutch my dude