Skip to content

Ducted fan ​

  • 6 state
  • 2 control
  • 1 variable
  • Bolza cost
  • free final time
  • 1 state box
  • 2 control box
  • 1 variable box
  • 12 boundary
  • OptimalControl valid
  • OptimalControl, scalarized valid
  • JuMP valid

The ducted fan problem is a classical nonlinear benchmark in optimal control with multiple input and state constraints. It models the planar motion of a ducted fan aircraft, described by its horizontal and vertical positions , the angle with respect to the vertical, and their velocities . The inputs are the body-fixed thrust components , generated by moving flaps at the end of the duct.

The objective is to steer the fan from the origin to a horizontal position of m at altitude , with zero final velocities and attitude, in a free final time , while minimising a trade-off between control effort and transition time.

Mathematical formulation ​

with   kg,   kg·m²,   m,   N. The weight   balances control effort and transition time.

Qualitative behaviour ​

  • The free end-time formulation yields a time–energy trade-off, governed by : large emphasises short transfer time, small emphasises reduced input effort.

  • The thrust constraints induce saturation, often resulting in bang–bang control profiles in and .

  • The angular bound   limits manoeuvrability, shaping feasible trajectories.

  • Flatness-based analysis shows that the system is differentially flat, with outputs that allow explicit trajectory design (Graichen & Petit, 2009).

Characteristics ​

  • Nonlinear dynamics.

  • Benchmark for testing constrained nonlinear OCP solvers.

References ​

  • Graichen, K., & Petit, N. (2009). Incorporating a class of constraints into the dynamics of optimal control problems. Optimal Control Applications and Methods. DOI: 10.1002/oca.880 This work presents a methodology for incorporating constraints into system dynamics, exemplified on ducted fan trajectory optimisation.

  • Yu, J., & Babai, J. A. (2001). Comparison of Nonlinear Control Design Techniques on a Planar Model of a Ducted Fan Engine. Automatica, 37(5), 741–748. Demonstrates practical nonlinear control designs on a planar ducted fan model.

  • Ohanian, O. J. (2011). Ducted Fan Aerodynamics and Modelling, with Applications of Flow Control. Provides detailed modelling of ducted fan aerodynamics and control-relevant effects.

Parameters ​

ParameterDefault valueUnitMeaning
t00sinitial time
r0.2mdistance from the centre of mass to the point where the force u₁ applies
J0.05kg·m²moment of inertia
m2.2kgmass
mg4Nweight
μ1000–weight of the final time in the cost
α_l-0.5235987755982988radlower bound of the angle α
α_u0.5235987755982988radupper bound of the angle α
u₁_l-5Nlower bound of the force u₁
u₁_u5Nupper bound of the force u₁
u₂_l0Nlower bound of the force u₂
u₂_u17Nupper bound of the force u₂
tf_l0.1slower bound of the final time
x₁_t00minitial horizontal position
v₁_t00m/sinitial horizontal velocity
x₂_t00minitial vertical position
v₂_t00m/sinitial vertical velocity
α_t00radinitial angle
vα_t00rad/sinitial angular velocity
x₁_tf1mfinal horizontal position
v₁_tf0m/sfinal horizontal velocity
x₂_tf0mfinal vertical position
v₂_tf0m/sfinal vertical velocity
α_tf0radfinal angle
vα_tf0rad/sfinal angular velocity

Every modeling takes other values with the keyword parameters, merged with these: ducted_fan(backend; parameters=(t0=…,)).

Reference objective ​

The best objective among the solves that converged, in each modeling, on the default grid of the modeling: the modelings are independent, each has its own reference. See how the references are computed.

ModelingSchemeGridReference objectiveSolvesDistinct solutionsConfigurations agree
JuMP:trapeze2501831.82785881yes, within 7.5e-08
OptimalControl:trapeze2501831.827858181yes, within 7.7e-08
OptimalControl, scalarized:trapeze2501831.82785831yes, within 6.2e-16