The Hong Kong Polytechnic UniversityDepartment of Aeronautical and Aviation EngineeringAll modules ↗

FLIGHT CONTROL & AUTOPILOT / CHAPTER 02

Altitude & Airspeed Hold

Choose a height. Keep the speed. See how the loops work together.

TWO TARGETS · ONE AIRCRAFTCoupled, browser-local teaching dynamics
02 / LIVE ATTITUDE · B
At trim0 s
Body directionFlight pathLevel reference
Altitude · h
True airspeed · V
Vertical speedPositive = climbing
Actual thrust
ANo saved case

Preparing the model

03 / DRAG THE TARGET · FOLLOW THE CALCULATED PATH

A change in height has a price in energy

A · dashedB · solid

Drag the target up or down; arrow keys change it by 1 m. Release to calculate a new response. Axes use different scales: the drawn slope is not aircraft pitch. The entire available A/B trajectory is shown; markers share the playback clock.

04 / TWO FEEDBACK PATHS · LIVE CASE B

Height asks for pitch. Speed asks for thrust.

ALTITUDE HOLD ON
HEIGHT ERRORTarget − actual
→
OUTER ALTITUDE LOOPPitch command change
→
INNER PITCH LOOP + ACTUATORActual elevator change
→
AIRCRAFT RESPONSEVertical speed
↶ Height and vertical-speed feedback · inner pitch and pitch-rate feedback ↵
AIRSPEED ERRORTarget − actual
→
AUTOTHROTTLE ONTotal thrust demand
→
ENGINE RESPONSEActual thrust
→
AIRCRAFT RESPONSETrue airspeed
↶ Measured airspeed returns to the speed controller ↵

The two loops act on the same aircraft. Elevator and thrust both influence the motion; the diagrams show controller assignments, not independent physical channels. Autothrottle OFF keeps thrust at its initial trim value.

05 / FIRST-ORDER ENERGY ACCOUNT · B

Where does the energy go?

First-order mechanical-energy account

ΔEk≈mV0ΔVΔEp=mgΔh

The sum follows first-order thrust-minus-drag power; engine fuel and thermal energy are outside this account.

Symbols & units
Δ
Change from the initial trim state. It does not indicate a different aircraft or an absolute angle.
ΔEk,ΔEp
Aircraft kinetic and potential energy changes, J; this page uses total energy, not energy per unit mass.
m,V0
Fixed mass 1800 kg and trim true airspeed 60 m/s.
Model context and notation

Energy changes relative to initial trim: ΔEk ≈ mV₀ΔV; ΔEp = mgΔh. Their sum follows the first-order change in thrust-minus-drag power. This is a local linear energy balance; engine fuel and thermal energy are outside the model.

06 / SYNCHRONISED RESPONSE HISTORIES

Targets, controls and consequences

Click a curve or use arrow keys to scrub time.
A · dashed amber   B · solid turquoise
Dotted: target or command

07 / HOLD A · EXPLORE B

Compare the complete response

QuantityA · savedB · live

A is retained for this page session. Export includes settings, trim, dynamic roots and full valid sampled histories.

How the model works · equations, limits & sources

One coupled aircraft

Thrust contributions and height kinematics

ΔV˙thrust=cos⁡(α0)ΔTmΔγ˙thrust=sin⁡(α0)ΔTmV0Δh˙=V0Δγ

Thrust acts along the body through the centre of gravity. The complete force/moment model supplies the other contributions.

Symbols & units
θ,γ,α
Pitch attitude, flight-path angle and angle of attack. Angles are radians internally; α = θ − γ.
Δ
Change from the initial trim state. It does not indicate a different aircraft or an absolute angle.
ΔT
Change in body-axis thrust, N. The first two equations show its contributions to the complete aircraft equations.
α0,m,V0
Trim angle of attack, rad; fixed mass 1800 kg; trim speed 60 m/s.
Model context and notation

The same wing–tail aircraft is linearised at level-flight trim: V₀ = 60 m/s, h₀ = 1,500 m, mass 1,800 kg. Thrust acts along the body through the CG. Its first-order contributions are ΔV̇ += cos(α₀)ΔT/m and Δγ̇ += sin(α₀)ΔT/(mV₀). Height follows Δḣ = V₀Δγ.

Targets ramp smoothly between 1 and 6 s. Optional Md is a sin² moment pulse at 35–37 s, entering q̇ as Md/Iyy. It is not a wind or gust field. The 3D view depicts B at actual angles by default; the side profile shows calculated travel.

Nested feedback

Altitude error to pitch and elevator commands

eh=Δhc−Δhev=ΔVc−ΔVΔθc=Rh(0.003eh−0.005Δh˙+0.00005∫ehdt)Δδe,c=−1.2(Δθc−Δθ)+0.5q

The outer altitude loop and inner pitch loop act on the same coupled aircraft. Sensors are ideal and integrators start at zero.

Symbols & units
eh,ev
eₕ is m; eᵥ is m/s. Integrated height error is m s; integrated speed error is m.
Rh
Dimensionless altitude-response multiplier. The three outer gains are 0.003 rad/m, 0.005 rad s/m and 0.00005 rad/(m s).
Δδe,c,q
Command is rad; q is rad/s. The rate gain is 0.5 s; actual elevator follows a 0.25 s actuator.
Model context and notation

eh = Δhc − Δh; ev = ΔVc − ΔV. The altitude controller requests Δθc = Rh(0.003eh − 0.005Δḣ + 0.00005∫eh dt). The inner loop commands Δδe,c = −1.2(Δθc − Δθ) + 0.5q, followed by a 0.25 s actuator.

Airspeed feedback and engine lag

ΔTc=Rv(400ev+40∫evdt)τTΔT˙=ΔTc−ΔT

Autothrottle OFF sets the command change to zero and freezes the speed integrator at zero. The speed target remains visible.

Symbols & units
Rv
Dimensionless airspeed-response multiplier; gains are 400 N s/m and 40 N/m.
ΔT,ΔTc,τT
Actual and demanded thrust changes, N; engine time constant, s.
Model context and notation

Autothrottle commands ΔTc = Rv(400ev + 40∫ev dt). Actual thrust follows τTΔṪ = ΔTc − ΔT. With autothrottle OFF, ΔTc = 0 and the speed integrator is frozen at zero. Sensors are ideal. Both integrators start at zero.

Limits and stability

Stop before speed change exceeds 10%; pitch, flight-path or angle-of-attack change exceeds 5°; pitch rate exceeds 15°/s; height change exceeds 150 m; or α leaves −6° to 12°. Controller limits: pitch command change 6°; elevator change 8°; total elevator 20°; elevator command change 12°; elevator rate 40°/s; actual and commanded thrust 0–3,500 N.

These are illustrative model boundaries. No saturation, anti-windup recovery, stall or large-altitude atmospheric change is simulated. A stable spectrum does not guarantee every command remains within the bounds. A/B each stop at their own last valid state.

Sources and interpretation

Week 13, Review and Flight Control System and Flight Management System, 17 April 2026, slides 39–52: feedback, autopilot, actuators and sensors. This chapter is an original extension of those topics.

MIT OCW · Altitude Hold and Landing: nested longitudinal feedback. Its aircraft coefficients are not used here.

Original synthetic parameters and diagrams; existing generic 3D geometry and local Three.js provenance retained. Numerical verification is not flight-test validation. Version .