Jump to content

Ducted Fan: Difference between revisions

From mintOC
Line 21: Line 21:
  \text{subject to} \\
  \text{subject to} \\
\quad \dot{x_1}(t) & = & v_1(t),\\
\quad \dot{x_1}(t) & = & v_1(t),\\
\quad \dot{v_1}(t) & = & \frac{1}{m} \left( u_1 \cos \alpha - u_2 \sin \alpha \right),
\quad \dot{v_1}(t) & = & \frac{1}{m} \left( u_1 \cos \alpha - u_2 \sin \alpha \right), \\
\quad \dot{x_2}(t) & = & v_2(t), \\
\quad \dot{x_2}(t) & = & v_2(t), \\
\quad \dot{v_2}(t) & = & \frac{1}{m} \left( -\mathrm{mg} + u_1 \sin \alpha + u_2 \cos \alpha \right), \\
\quad \dot{v_2}(t) & = & \frac{1}{m} \left( -\mathrm{mg} + u_1 \sin \alpha + u_2 \cos \alpha \right), \\

Revision as of 10:12, 24 November 2025

Ducted Fan
State dimension: 1
Differential states: 4
Discrete control functions: 1


The Ducted Fan problem is a classical nonlinear benchmark in optimal control with multiple input and state constraints. This description is taken from [1].

It models the planar motion of a ducted fan aircraft, described by its horizontal and vertical positions (x1,x2) , the angle α with respect to the vertical, and their velocities (v1,v2,vα) . The inputs are the body-fixed thrust components (u1,u2) , 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 1m at altitude 0, with zero final velocities and attitude, in a free final time tf, while minimising a trade-off between control effort and transition time.

Mathematical formulation

We summarize the states as x:=(x1,v1,x2,v2,α,vα).

minu,tf1tf0tf(2u12(t)+u22(t))dt+μtfsubject tox1˙(t)=v1(t),v1˙(t)=1m(u1cosαu2sinα),x2˙(t)=v2(t),v2˙(t)=1m(mg+u1sinα+u2cosα),α˙=vα,v˙α=rJu1,x(0)=(0,0,0,0,0,0)T,x(tf)=(1,0,0,0,0,0)T,u1(t)[5,5] t[0,tf],u2(t)[0,17] t[0,tf],α(t)[30,30] t[0,tf]

Parameters

These fixed values are used within the model:

Symbol Value Description
m1 100 kg First mass directly affected by F(t)
m2 2 kg Second mass influenced by damping control
k1 100 N/m Spring connecting first mass to reference
k2 3 N/m Coupling spring between the two masses
c 0.5 Ns/m Damping affecting second mass
T 2π Duration of the motion
u - Modulates the damping of the second mass

Reference Solutions

Here is one local solution to the above control problem.

Miscellaneous and Further Reading

This formulation and a detailed description can be found in [1].

References

[1] Caillau, J.-B., Cots, O., Gergaud, J., & Martinon, P. OptimalControlProblems.jl: a collection of optimal control problems with ODE's in Julia. https://github.com/control-toolbox/OptimalControlProblems.jl/blob/main/ext/Descriptions/double_oscillator.md