Can the HAPS Survive 24–72 Hours?
This problem introduces a simplified high-altitude platform system flying at near-constant altitude. The aircraft must maintain lateral station-keeping while experiencing wind disturbance and repeated day–night solar charging cycles.
The aim is not to create a full aircraft model. The aim is to show the systems-level trade-off: a controller that stabilizes the aircraft may consume too much energy, while an energy-saving controller may fail to reject wind.
Can the aircraft survive the mission without energy collapse, actuator saturation, or loss of station keeping?
Lateral deviation from target path
Lateral velocity
Controller effort
Battery energy
Solar input and consumed power
Mission survival status
Short-Term Stability Is Not Enough
A normal control simulation may run for 30 seconds or a few minutes. A HAPS endurance mission must survive across many hours or days. That means the aircraft must remain dynamically stable and energetically sustainable.
One-Dimensional Lateral Deviation Model
The HAPS is represented using a simple lateral station-keeping model. The state is lateral displacement error $x$ and lateral velocity $\dot{x}$.
where $x$ is lateral displacement error, $\dot{x}$ is lateral velocity, $c$ is aerodynamic damping, $u$ is controller command, and $d(t)$ is wind disturbance.
Persistent Wind Plus Gusts
The disturbance model combines slow wind variation with gust-like oscillations. Stronger wind requires more controller effort and therefore higher power consumption.
The simulator lets you change wind strength and gust frequency to test calm, moderate, and severe conditions.
PD Station-Keeping Controller
The aircraft uses a PD-style controller to reduce displacement and velocity error.
Conservative gains use less energy but allow larger deviations. Aggressive gains improve station-keeping but increase control power demand.
The Controller Cannot Command Infinite Correction
A real aircraft has actuator limits. The commanded control effort is clipped to a maximum available value.
Energy Is the Heart of the Problem
The battery changes according to solar input, base aircraft power demand, and additional power used by control effort.
Control power is approximated using a quadratic relation:
This captures the key idea: small control effort is cheap, while aggressive correction becomes expensive.
Smooth Solar Charging Across Each 24-Hour Cycle
The solar input is represented using a smooth day–night cycle. Solar power rises after sunrise, peaks during the day, and falls to zero at night.
Simulate 24–96 Hours of HAPS Endurance
Use the sliders and scenario buttons to test whether the aircraft survives. The simulation tracks lateral deviation, velocity, controller effort, battery state, solar input, total demand, and failure mode.
Preset Scenarios
Mission and Energy Inputs
Wind, Controller, and Actuator Inputs
Waiting...
Waiting...
Waiting...
Waiting...
Waiting...
Waiting...
Conservative vs Balanced vs Aggressive Control
Different controllers produce different system-level outcomes. The best controller is not always the one with the smallest deviation over a short time window.
| Strategy | Control Behaviour | Energy Behaviour | Risk |
|---|---|---|---|
| Conservative | Low correction effort | Lower control energy | Large station-keeping error |
| Balanced | Moderate correction effort | Moderate power draw | Usually safest trade-off |
| Aggressive | Strong correction effort | High control energy | Battery collapse or saturation |
| Custom | User-defined gains | Depends on tuning | Useful for exploration |
How the Mission Can Fail
This problem is powerful because failure can happen in different ways. A HAPS mission is not only a control problem and not only an energy problem. It is a coupled system.
The aircraft remains controlled but runs out of energy overnight.
The battery survives, but the controller is too weak to fight wind.
The controller asks for correction, but hardware cannot deliver it.
The aircraft survives one day but fails after repeated day–night cycles.
Endurance Is a Systems Problem
In long-endurance flight, the controller, actuator, wind environment, solar array, base power demand, and battery capacity all interact. Improving one metric may damage another.
The stronger question is: “Can the whole system survive the mission envelope?”
What This Problem Shows
For long-endurance HAPS flight, stability is only one part of success.
The aircraft must remain controllable, stay within actuator limits, survive wind disturbances, and maintain a positive energy balance across repeated day–night cycles.