Jump to content

PlanetPhysics/2D With Drag Airship Optimal Control

From Wikiversity

2D with Drag and No Wind

[edit | edit source]

{\mathbf Disclaimer}: This is a work in progress... \\

The force due to drag in 2D is given by

Fd=12CdρAv2

Unlike the 1D case, which uses the absolute value, the direction of the drag force in 2D is taken into account by the magnitude of the velocity times the component velocities such that the x and y components of the drag force are

Fdx=12CdρAx˙x˙2+y˙2 Fdy=12CdρAy˙x˙2+y˙2

The equations of motion for this problem are

x˙=x˙ y˙=y˙ x¨=Fdx+Tmcosα y¨=Fdy+Tmsinα

where T is the applied Torque in Newtons, α is the angle of applied torque counter clockwise from the negative x-axis and m is the mass of the airship.

The performance measure for the minimum energy problem assuming there is no effort required to change the angle of attack

J=0tfT2m2dt

The Hamiltonian for this optimal control problem

=T2m2+p1x˙+p2y˙+p3(Fdx+Tmcosα)+p4(Fdy+Tmsinα)

The neccessary conditions for the unconstrained control inputs

α=0 T=0 \\ α=p3Tmsinα+p4Tmcosα=0 p4Tmcosα=p3Tmsinα p4p3=sinαcosα

tanα=p4p3

T=2Tm2+p3mcosα+p4msinα=0 2Tm+p3cosα+p4sinα=0 2Tm=(p3cosα+p4sinα)

T=m2(p3cosα+p4sinα)

The neccessary conditions for the costates are

p1˙=x=0

p2˙=y=0

p3˙=x˙=p1+12p3CdρAx˙2+y˙2+p3CdρAx˙2x˙2+y˙2+p4CdρAx˙y˙x˙2+y˙2

p4˙=y˙=p2+12p4CdρAx˙2+y˙2+p4CdρAy˙2x˙2+y˙2+p3CdρAx˙y˙x˙2+y˙2