Esplora E-book
Categorie
Esplora Audiolibri
Categorie
Esplora Riviste
Categorie
Esplora Documenti
Categorie
Corso di Laurea
in Ingegneria Aerospaziale
Tesi di Laurea
Relatrice: Candidato:
Prof.ssa Stefania Enrico Foglia
Scarsoglio
1 Introduzione 4
2
INDICE
6 Applicazioni 36
6.1 Flusso intorno a una piastra piana . . . . . . . . . . . . 37
6.1.1 BPOD per sistemi instabili . . . . . . . . . . . . 37
6.1.2 Risultati . . . . . . . . . . . . . . . . . . . . . . 40
6.2 Ali a geometria variabile . . . . . . . . . . . . . . . . . . 45
6.2.1 Algebraic DMD with control e modelli ridotti pa-
rametrici . . . . . . . . . . . . . . . . . . . . . 46
6.2.2 Risultati . . . . . . . . . . . . . . . . . . . . . . 47
7 Conclusioni 52
3
Capitolo 1
Introduzione
4
CAPITOLO 1. INTRODUZIONE
più potente.
5
Capitolo 2
d
x = f (x, u, t) (2.1)
dt
y = g(x, u) (2.2)
6
CAPITOLO 2. RICHIAMI DI TEORIA DEL CONTROLLO
7
CAPITOLO 2. RICHIAMI DI TEORIA DEL CONTROLLO
8
CAPITOLO 2. RICHIAMI DI TEORIA DEL CONTROLLO
9
CAPITOLO 2. RICHIAMI DI TEORIA DEL CONTROLLO
Z ∞
T
W o := e A τ C T Ce Aτ dτ (2.10)
0
10
CAPITOLO 2. RICHIAMI DI TEORIA DEL CONTROLLO
11
CAPITOLO 2. RICHIAMI DI TEORIA DEL CONTROLLO
12
CAPITOLO 2. RICHIAMI DI TEORIA DEL CONTROLLO
Ad = e A∆t (2.23)
Z ∆t
Bd = e Aτ Bdτ (2.24)
0
p−1
X
J(p,m) (x 0 ) = min x T (i )Qx(i )+
u(·)
i=0
m−1
X
u T (i )Ru u(i ) + ∆u T (i )R∆u ∆u(i ) (2.25)
i=0
Ex + F u ≤ ψ (2.26)
13
CAPITOLO 2. RICHIAMI DI TEORIA DEL CONTROLLO
14
Capitolo 3
o, in notazione matriciale:
x ≈ Ψa(t) (3.3)
15
CAPITOLO 3. MODELLI DI ORDINE RIDOTTO
con
| | |
Ψ = ψ1 ψ2 ... ψr , a = [a1 , a2 , . . . , ar ]T
| | |
In generale non è possibile garantire che f appartenga al medesimo sotto-
spazio S. Si opta quindi per proiettarvi la dinamica tramite una matrice
di proiezione P .
P2 = P (3.4)
• P è diagonalizzabile;
P x = ΨΨ∗ x (3.7)
16
CAPITOLO 3. MODELLI DI ORDINE RIDOTTO
dove, se i vettori delle due basi sono mutuamente ortonormali, tali cioè
che hψ i , φj i = δij (dove δij è la delta di Kronecker e h·, ·i rappresenta il
prodotto interno canonico su Rn ), allora P = ΨΦ∗ .
Richiamando la (3.1) e la scomposizione (3.3), l’equazione della di-
namica nella base ridotta può essere scritta come:
d
Ψ a = f (Ψa, t) + r (t) (3.9)
dt
17
CAPITOLO 3. MODELLI DI ORDINE RIDOTTO
dove si è fatto uso del fatto che Ψ non dipende dal tempo. Il residuo
r (t) deriva dal fatto che la scomposizione non è esatta. Scegliendo Ψ e
Φ in modo tale che Φ∗ r (t) = 0 si giunge alla forma:
d
a = (Φ∗ Ψ)−1 Φ∗ f (Ψa, t) (3.10)
dt
ovvero un sistema di r equazioni differenziali invece che n. Questa pro-
ceduta è detta proiezione di Petrov-Galerkin.
Nel caso che Ψ = Φ, e che questa sia una matrice ortogonale, allora il
modello ridotto è detto proiezione di Galerkin e l’equazione precedente si
riduce a:
d
a = Ψ∗ f (Ψa, t) (3.11)
dt
In generale, essendo S di dimensioni molto ridotte rispetto a Rn il
sistema risulta molto più rapido da risolvere. È poi immediato, risolta la
dinamica di a, calcolare nuovamente x tramite Ψ.
18
Capitolo 4
Proper Orthogonal
Decomposition
19
CAPITOLO 4. PROPER ORTHOGONAL DECOMPOSITION
4.1 POD
Il più semplice degli algoritmi per l’estrapolazione di una base a partire
da un insieme di dati è la Proper Orthogonal Decomposition (POD), in
quanto si fonda direttamente sulla scomposizione in valori singolari di una
matrice che contenga i dati in esame. Tale matrice è costruita come:
| | |
X = x(t1 ) x(t2 ) . . . x(tm ) (4.1)
| | |
X = UΣV ∗ (4.2)
risulta
X = UB (4.4)
20
CAPITOLO 4. PROPER ORTHOGONAL DECOMPOSITION
XX ∗ u = λu (4.7)
21
CAPITOLO 4. PROPER ORTHOGONAL DECOMPOSITION
X r = U r Σr V ∗r (4.11)
22
CAPITOLO 4. PROPER ORTHOGONAL DECOMPOSITION
4.2 BPOD
Un metodo per ovviare alle limitazioni della POD è quello di troncare quei
modi che non sono controllabili o osservabili. Questo consente di appli-
care la teoria del controllo ad anello chiuso (sec. 2.1) a solo quegli stati
che hanno un grande impatto sulla dinamica e che si prestano ad essere
controllati.
T −1 W c (T −1 )∗ = T T W o T = Σ = diag(σ1 , . . . , σn ) (4.16)
dove gli elementi di Σ sono detti valori singolari di Hankel. La trasforma-
zione T cercata può essere calcolata come:
W c W o T = T Σ2 (4.17)
ovvero come un problema agli autovalori.
Chiamata T −1 = S per brevità, la dinamica (2.3), (2.4) diventa (con
D = 0)
d
z = SAT z + SB (4.18)
dt
y = CT z (4.19)
23
CAPITOLO 4. PROPER ORTHOGONAL DECOMPOSITION
4.2.2 BPOD
Per superare i limiti al costo computazionale associato ai gramiani, è pos-
sibile approssimarli attraverso la risposta all’impulso del sistema e del suo
aggiunto [15]. Seguendo la procedura proposta in [2] si studia l’evoluzione
del sistema in tempo discreto:
diretto x(k + 1) = Ad x(k) + B d u(k) (4.20)
aggiunto x(k + 1) = A∗d x(k) ∗
+ C y (k) (4.21)
Si noti che, mentre i dati del sistema diretto possono essere presi da
esperimenti, il sistema aggiunto non è fisico e deve quindi essere simulato.
Esistono formulazioni alternative che non fanno uso del sistema aggiunto
[2], [17].
Scrivendo B come B = [b 1 . . . b p ] la risposta ad un impulso unitario in
uno degli input, ovvero la risposta a ui = δ(t), è data da:
x(k) = Akd b i (4.22)
organizzando i dati per un numero mc di passi temporali in una matrice
si ottiene:
c −1
C d = [B d Ad B d . . . Am
d Bd ] (4.23)
Analogamente per il sistema aggiunto, per un numero mo di passi, si
ottiene:
C
CAd
Od = .. (4.24)
.
o −1
CAm
d
24
CAPITOLO 4. PROPER ORTHOGONAL DECOMPOSITION
W c ≈ W ec = C d C ∗d (4.25)
W o ≈ W eo = O∗d Od (4.26)
(4.27)
H = Od C d (4.28)
à = Φ∗ Ad Ψ (4.32)
B̃ = ∗
Φ Bd (4.33)
C̃ = ∗
Φ Cd (4.34)
25
CAPITOLO 4. PROPER ORTHOGONAL DECOMPOSITION
y = Ψd Ψ∗d Cx (4.35)
26
Capitolo 5
Dynamic Mode
Decomposition
27
CAPITOLO 5. DYNAMIC MODE DECOMPOSITION
5.1 DMD
Dato un sistema dinamico in tempo discreto
in generale non lineare, anche nel caso in cui F non sia nota esplicita-
mente, la dynamic mode decomposition ha l’obiettivo di approssimarne
la dinamica con un modello lineare tempo invariante:
attraverso uno studio dei dati prodotti dal modello in esperimenti o simu-
lazioni. Seguendo la procedura presentata in [8], assumendo di avere ac-
cesso all’intero stato x del sistema in m intervalli di tempo, si costruiscono
le matrici:
| | |
X = x 1 x 2 . . . x m−1 (5.3)
| | |
| | |
X 0 = x 2 x 3 . . . x m (5.4)
| | |
(5.5)
X 0 = AX (5.6)
A ≈ X 0X † (5.7)
kX 0 − AXkF (5.8)
28
CAPITOLO 5. DYNAMIC MODE DECOMPOSITION
x k = ΦΛk z 0 (5.10)
Λ k
= diag(λk1 , . . . , λkn ) (5.11)
z 0 = Φ† x(0) (5.12)
A ≈ X 0 V r Σ−1 ∗
r Ur (5.14)
à = U ∗r X 0 V r Σ−1
r (5.15)
con x k = Uz k
29
CAPITOLO 5. DYNAMIC MODE DECOMPOSITION
ÃW = W Λ (5.17)
AΦ = ΦΛ (5.18)
Φ=XV 0 −1
r Σr W (5.19)
30
CAPITOLO 5. DYNAMIC MODE DECOMPOSITION
31
CAPITOLO 5. DYNAMIC MODE DECOMPOSITION
Si noti che in generale le misurazioni non devono per forza essere ordinate,
fintantoché y k e z k sono nella medesima posizione.
Calcolando, come prima, A = ZY † , si ha che:
Data la decomposizione di A:
Av i = λi v i (5.30)
z k = g(F (x k )) ≈ Ay k = (5.32)
Xn
= A cik v i =
i=1
n
X
= λi cik v i
i=1
5.2 DMDc
La DMD come è stata formulata nella precedente sezione non permette
di identificare l’azione di un controllatore sul sistema. Si è fatto implici-
tamente uso dell’ipotesi che le matrici di dati potessero essere raccolte
32
CAPITOLO 5. DYNAMIC MODE DECOMPOSITION
X 0 ≈ AX + BΥ (5.35)
5.2.1 B nota
Nel caso ideale in cui la matrice B fosse nota, la procedura non è poi
molto differente rispetto alla DMD.
Si ha infatti che:
AX = X 0 − BΥ (5.36)
0 †
⇒ A ≈ (X − BΥ)X = (X − BΥ)V Σ0 −1
U ∗
(5.37)
33
CAPITOLO 5. DYNAMIC MODE DECOMPOSITION
34
CAPITOLO 5. DYNAMIC MODE DECOMPOSITION
Figura 5.1: Schema delle dimensioni delle matrici coinvolte nella DMDc,
prima della proiezione su una base di ordine ridotto.
35
Capitolo 6
Applicazioni
36
CAPITOLO 6. APPLICAZIONI
37
CAPITOLO 6. APPLICAZIONI
i quali sono identici ai gramiani già definiti per sistemi stabili, ma risultano
ben definiti anche per quelli instabili.
Dato il cambio di coordinate x = T x̃ tale che la dinamica stabile e
instabile risulti disaccoppiata, si ottiene il sistema nello spazio degli stati:
d d xi Ai 0 Bi
x̃ = = x̃ + u (6.3)
dt dt x s 0 As Bs
y = C i C s x̃ (6.4)
P = I − Ψi Φ∗i (6.7)
38
CAPITOLO 6. APPLICAZIONI
mentre quella del sistema aggiunto (definitito allo stesso modo di (4.21)):
d
zs = A∗ z s + P ∗ C ∗ y s (6.10)
dt
ws ∗
= B P zs ∗
(6.11)
39
CAPITOLO 6. APPLICAZIONI
y = Cx i + ΘΘ∗ Cx s (6.14)
6.1.2 Risultati
L’obiettivo dello studio è stabilizzare il flusso all’aumentare dell’angolo di
attacco tramite un controllatore che azioni un attuatore situato al bordo
d’attacco della piastra. Per fare ciò, supponendo per semplicità che lo
stato sia completamente accessibile, si opta per utilizzare un regolatore
LQR, ovvero scegliendo il guadagno di retroazione K che minimizzi
Z
1 ∞ ∗
J= (x Qx + u ∗ Ru)dτ (6.16)
2 t0
40
CAPITOLO 6. APPLICAZIONI
1.5 3
2.5
1
2
CL 0.5 CD 1.5
1
0
0.5
−0.5 0
0 10 20 30 40 50 60 70 80 90 0 10 20 30 40 50 60 70 80 90
↵ ↵
Figure 2: Forces on a flat plate at a fixed angle of attack ↵ and at Re = 100, showing a
Figura
transition6.1:
from Visualizzazione
a stable equilibriumdei coefficienti
to periodic vortexdishedding
sostentazione L e attrito
at ↵ ⇡ 26.CShown are the
force coefficients corresponding to the stable ( ) and unstable ( ) steady states, and
C e dell’efficienza
D maximum
the
aerodinamica
and minimum (
CL /C
), and the D al( variare
mean
di α.
) values during periodic vortex
(shedding.
): stato stazionario stabile. ( ): stato stazionario instabile.
Also shown are the vorticity contours (negative values in dashed lines) of( steady
):
massimo
states at ↵ e=minimo durante
15 , 55 and il distacco
the flow di vortici.to(the maximum
fields corresponding ): valoreand medio
minimumdu-
force coefficients at ↵ = 55 .
rante il distacco di vortici. Sono inoltre mostrati alcuni profili di vorticità
(valori negativi con linea tratteggiata) [1].
(a) (b)
41
CAPITOLO 6. APPLICAZIONI
d
z s = P ∗ A∗ z s + P ∗ C ∗ y s (6.18)
dt
dove y s è la proiezione su 20 modi POD. É ora possibile calcolare il
sistema di ordine ridotto. Si ha che i valori diagonali dei gramiani sono
simili per un numero di modi ≤ 20. Per controllare l’accuratezza del
modello viene confrontata la risposta di (6.14) proiettata nel sottospazio
stabile, ovvero con ai = 0, ad un input di tipo impulsivo. I risultati,
mostrati in figura 6.2, mostrano come già con 10 modi il sistema ridotto
riesca a riprodurre in maniera fedele la dinamica completa per il primo
output, mentre l’undicesimo sia rappresentato in maniera accurata solo
con 20 modi.
Per il disegno del controllatore si mantengono 12 modi (2 instabili e
10 stabili). L’output si approssima con una output projection con 4 modi.
Il modello di ordine ridotto viene calcolato sottraendo lo stato stazionario
x 0 allo stato x prima di incominciare l’algoritmo.
La figura 6.3 mostra che il modello di ordine ridotto cattura bene la
dinamica del modello linearizzato. Il controllatore è in grado di smorzare
in maniera adeguata le oscillazioni dovuti ad un impulso nell’attuatore.
Viene quindi effettuato il confronto con il modello non lineare com-
pleto. In figura 6.4 viene mostrato il comportamento del coefficiente di
sostentazione. A partire da uno stato stazionario instabile piccoli errori
numerici sono sufficienti a instaurare il regime di distacco periodico di
42
CAPITOLO 6. APPLICAZIONI
Figure 8: Outputs (projection of the flow field onto POD modes) from a reduced-order
Figura 6.2: Confronto
model obtained del primo
using a 20-mode output eprojection.
undicesimo Theoutput
first (topdel modello
figure) com-
and eleventh
(bottom figure) outputs of the DNS ( , ) are compared with predictions of models
pleto (
with 4 ( ) con quelli
, ⇥), 10 ( di modelli
, O), and 20 ( BPOD con
, ⇤) modes. 4 modi ( ,×), 10 modi
( , ∇) e 20 modi ( ,*). I risultati sono ottenuti con una output
projection suof20
diagonal values themodi [15].and the singular values for di↵erent output projections are
Gramians
plotted in Fig. 7 for a 30-state reduced-order model. With increasing order of output pro-
jection, the HSVs converge to the case with full-state output, and the number of converged
HSVs is roughly equal to the order of output projection, as was observed by Ilak & Row-
vortici,
ley (2008).dove
We see ha the
CLthat delle forti elements
diagonal oscillazioni.
of bothIlthe
controllatore, attivato
Gramians are very close toper
the
= 170,
tHSVs for the180, 210,
first 20 è inForgrado
modes. higherdi smorzare
modes, tali oscillazioni
the observability Gramianseare
riportare il
inaccurate,
sistema alloto stato
which is due a smalliniziale,
inaccuracyanche
of the aadjoint
partire da uno mentioned
formulation stato cheinvisection
si discosta
3.1. For
controller design, we use models of order 20, for which these Gramians are sufficiently
molto.
accurate.
Si osservi che, per quanto la capacità del controllatore di smorzare
Finally, to test the accuracy of the reduced-order models, we compare the impulse responses
le
of system (44) (thatsi is,
perturbazioni estenda ben
restricted to oltre la configurazione
the stable subspace) with thatstazionaria intorno
of the model (24),
alla qualeauè =stato
restricting 0. Incalcolato
particular, ilwemodello
compare di theordine
outputsridotto,
of the twola systems,
predizione
whichdel-
are
l’output peggiori
the projection notevolmente
onto the POD modes; adopo poche unità
representative case indi tempo
Fig. 8 shows(figura 6.5).of
the results
4, 10 and 20 mode models of a system approximated using a 20-mode output projection
Se ne può dedurre che sia necessario, affinché il controllatore possa ope-
(the outputs are projection onto the leading 10 POD modes). The first output, which is a
rare in maniera
projection efficacie,
onto the first POD mode,che isla well
dinamica
capturedvenga catturara
by all the precisamente
models until t ⇡ 60, while
solo in unamodel
the 20-mode breveperforms
finestra temporale
well for all time.inAlso
seguito
shown all’accensione.
is the eleventh output, which is
21
43
Figure 9: Schematic of the implementation of full-state feedback control in the nonlinear
simulations. The entire velocity is first projected onto the unstable eigenvectors and the
CAPITOLO 6. APPLICAZIONI
stable subspace POD modes to compute the reduced-order state a. The state is then
multiplied by the gain K, computed based on the reduced-order model using LQR, to
obtain the control input u.
Figure 10: Control gain obtained using LQR, and the initial condition is that obtained
Figura
by 6.3: Confronto
an impulsive input to thedel comportamento
system. di un
Control is turned controllatore
on at LQR,ofba-
t = 0. Comparison the
outputs yu1 and ys3 of a 12-mode reduced-order model ( , ⇥) with the projection of data
sato sul modello completo linearizzato
from the linearized simulation ( , ).
( , ◦) e su un modello ridotto
con 12 modi ( ,×). Condizione iniziale ottenuta a partire dalla risposta
ad un impulso nell’attuatore [15]. As we will see later, it is important to capture
well captured only by the 20-mode model.
the higher-order outputs for design of observers.
The resulting models can now be used along with standard linear control techniques to
obtain stabilizing controllers. We use Linear Quadratic Regulator (LQR) to compute the
gain K so that the eigenvalues of (A e + BK)
e (where the matrices were defined in (24)) are
in the left-half of the complex plane, and the input u = Ka minimizes the cost
Z 1
J[a, u] = (a⇤ Qa + u⇤ Ru) dt, (46)
0
where Q and R are positive weights computed as follows. We choose Q such that the first
e ⇤ C,
term in the integrand of (46) represents the energy, that is, we use Q = C e with Ce
22
Figure 11: Lift-coefficient CL vs. time t, for full-state feedback control, with control turned
Figura
on 6.4: (times):in modello
at di↵erent completo non
the base uncontrolled lineareThe
simulation. non controllato.
base case with no(control
):
( ) has the unstable steady state as the initial condition, and transitions to periodic
comportamento del modello completo non lineare dopo l’accensione del
vortex shedding. The control is tested for di↵erent initial conditions, corresponding to t =
controllatore
170, (t base
180, 210 of the = 170,
case, 180, 210) [15].
and stabilizes the steady state in all the cases ( ).
defined in (25). The weight R is chosen to be a multiple of the identity cI, and typically c
is chosen to be a large number ⇠ 104 7 , to avoid excessively aggressive controllers. The
control implementation steps are sketched in Fig. 9; first compute the reduced-order state a,
using the expression (31), then the control input is given by u = Ka. Here, we derive the
gain K based on a 12-mode reduced-order model (with 2 unstable and 10 stable modes),
using R = 105 , and include the same in the44 original linearized and nonlinear simulations.
The output is approximated using a 4-mode output projection. The di↵erence between the
linear and nonlinear simulations is that, in the latter, the steady state field x0 is subtracted
from the state x, before projecting onto the modes to compute the reduced-order state a.
Fig. 10 compares the model predictions with the projection of data from the simulations
of the linearized system (38, 39), with a control input. The initial condition used is the
flow field obtained from an impulsive input to the actuator. Both the states shown in the
figure eventually decay to zero, which implies that the perturbations decay to zero, thus
CAPITOLO 6. APPLICAZIONI
8
0.5 6
4
2
yu1 0 y s1 0
−2
−0.5
−4
−6
−1 −8
180 190 200 210 220 230 240 250 180 190 200 210 220 230 240 250
t t
Figure 12: Outputs of a system with full-state feedback control. The control gain is obtained
Figura
using LQR,6.5:
and Output
the initial nel primois that
condition modo instabile to
corresponding e tstabile
= 180 ofperthe iluncontrolled
modello
completo
case plotted (in Fig.
,◦)11.e Comparison
ridotto ( of the ,×). La condizione
outputs yu1 and ys1 ofiniziale è data
a 12-mode dallo
(2 unstable
stato non controllato per t = 180 [15]. , ⇥) with the projection of data from the
and 10 stable modes) reduced-order model (
full nonlinear simulation ( , ).
in Fig. 11. The initial condition for the base case (no control) is the unstable steady
6.2 Ali a geometria variabile
state; eventually, small numerical errors excite the unstable modes and the flow transitions
to periodic vortex shedding. In separate simulations, control is turned on at times t =
Uno180,
170, dei210possibili passi toavanti
corresponding the base dell’industria dell’aviazione
case. As the figure shows, the potrebbe esse-
control is e↵ective
and is able to stabilize the steady state in each case, even when the flow exhibits strong
re rappresentato dall’introduzione di aeromobili dotati di ali
vortex shedding. We remark that the latter two of these perturbations are large enough to
in grado di
cambiare forma in risposta alle condizioni esterne. Se si pensa
be outside the range of validity of the linearized system, but the control is still e↵ective, al volo
degli uccelli
implying a largesibasin
intuisce immediatamente
of attraction of the stabilizedl’enorme potenzialità
steady state. in termini
We also compare the
output of the reduced-order model with the outputs of the nonlinear simulation; the plots
di efficienza di simili tecnologie. Uno dei problemi dei quali soffrono aerei
are shown in Fig. 12. The models perform well for the initial transients, but for longer
di dotati
times fail todicapture
tale assetto
the actualè dynamics.
rappresentato This is dall’intrinseca
not surprising as flessibilità di ta-
these perturbations
li strutture,
are outside the erange
quindi dei possibili
of validity effetti
of the linear aeroelastici
models. For controlindesiderati generati
purposes, it appears to
dalla
be loro to
sufficient interazione
capture the con
initiall’aria.
transientsNell’articolo
(approximately di one
Fonzi et. during
period), al. [7] viene
which the
instability is suppressed to a great extent. We remark that one could possibly compute
studiatomodels
nonlinear un controllatore
by projecting theMPC full in grado equations
nonlinear di mantenere
onto thelebalancing
ali in unmodes,
asset-or
to ottimale
enhance sfruttandoun
the model subspace by modello
adding POD aeroelastico calcolato
modes of vortex sheddingcon
and una variante
the shift modes
della
as DMDc
proposed sviluppata
by Noack per poter
et al. (2005) to accountoperare
for thecon equazioni
nonlinear terms. differenziali al-
gebriche.
Finally, Viene
we note inoltre
that the discussamodel
reduced-order una(24)
tecnica di interpolazione
decouples the dynamics on thedistable
modelli
and
diversi ottenuti
unstable subspaces, per condizioni
and also, di volo
the dynamics differenti,
on the in modocandabepoter
unstable subspace esten-
computed only
dere the
using la capacità predettivau and
unstable eigen-bases del modello
u . Thus, wea una
couldvasta
derive gamma di condizioni
a control gain K 2 R1⇥nu ,
based only on the two-dimensional unstable part of the model, such that the eigenvalues
di volo.
eu B eu K) are in the left half complex plane. That is, we can obtain a stabilizing
of (A
controller without modeling the stable subspace dynamics. We have performed simulations
Nello
to test such studio viene
a controller andutilizzato
found that un modello
it also Nastran
is capable della the
of suppressing struttura, dalla
periodic vortex
shedding and thus results in a large basin of attraction for the stabilized steady state. The
quale vengono estratti i principali 8 modi di deformazione, ai quali ven-
choice of weight matrices Q and R in the LQR cost (46) needs to be di↵erent to obtain a
gono aggiunti 2 modi addizionali che caratterizzano il modo in cui le ali
24
45
CAPITOLO 6. APPLICAZIONI
u = [α p q r F1 . . . Fk ]T (6.20)
46
CAPITOLO 6. APPLICAZIONI
| | |
0
Υ = u2 u3 ... um (6.23)
| | |
e le matrici G e Ω vengono modificate come segue:
A X
G = B , Ω = Υ (6.24)
F Υ0
à = Û ∗ X 0 V Σ−1 U ∗1 Û (6.25)
B̃ = Û ∗ X 0 V Σ−1 U ∗2 (6.26)
F̃ ∗
= Û X V Σ 0 −1
U ∗3 (6.27)
6.2.2 Risultati
Per generare i dati su cui allenare il modello si utilizzano simulazioni del
sistema completo eccitato con impulsi casuali nelle variabili di controllo
come input. I test vengono effettuati confrontando la risposta del modello
completo e del modello generato con la aDMDc a un input sinusoidale
e di tipo impulsivo. I risultati per la singola velocità di 50 ms−1 e per la
versione interpolata sono mostrati nelle figure 6.7 e 6.8.
Si può notare come il ROM segua in maniera quasi ottimale il modello
completo, con una riduzione del tempo di calcolo di 2894 per il modello
47
CAPITOLO 6. APPLICAZIONI
state 1
~ ~ ~ interpolation 10
q1n+1 = A1q1n + B1un + F1un+1 ˆ q n+1
x1n+1 = Ut,1 1 spline
x3n+1
state 2
V1 V V2 V3
Figure 2. Interpolation of three different ROMs, working at three different velocities (red straight lines), to obtain the output
n`1
x at an intermediate value of velocity V (green arrows). (Online version in colour.)
Figura 6.6: Schema grafico del processo di interpolazione di ROM
(c) Parametric
ottenuti aDMDc velocità di volo [7].
a differenti
Downloaded from https://royalsocietypublishing.org/ on 04 May 2021
The method above is able to reproduce the entire aeroelastic system at one flight velocity. Thus,
we will construct a separate aDMDc ROM for each velocity condition. For our AWE application,
it is necessarytraining
to interpolate multiple ROMs testing
across
1 a wide range
testing 2 of flight pitch rate There are
AoA conditions.
roll rate unsym. morphing 13
several valid1 approaches to interpolate multiple LTI systems into an LPV
yaw rate system. Due to the
sym. morphing
input
large state 0dimension, we opt not to interpolate the high-dimensional model, as it is likely to
then interpolate
1.0 the high-dimensional state using a spline method. This is a distinct advantage
of the DMD approach over other subspace identification methods. This approach bypasses the
issues with
0.05standard interpolation schemes, related to the assumption of slow varying scheduling
cdrag
parameter [63].
0
A graphical explanation of this procedure is shown in figure 2.
output coefficient
0.02
4. Results
croll
0
Downloaded from https://royalsocietypublishing.org/ on 04 May 2021
–0.02
In this section, several applications of the proposed method are outlined. First, we present a
–0.4
simple example illustrating the need for the modified aDMDc algorithm. Next, we demonstrate
cpitch
–0.6
the approach to model the aerodynamics on a rigid NACA0012 wing. We then extend this
–3
approach 1.5to ×10
challenging aeroelastic morphing wing, both at a single flight condition and
cyaw
interpolated 0 across several flight conditions. Finally, the aDMDc model is used for MPC,
–1.5
demonstrating 0 the ability
1 to effectively
2 control
3 a nonlinear
4 system
5 with constraints.
6 7
time (s)
(a)Figure
Generic differential-algebraic
4. Morphing AWE wing: training phasesystem oftesting
followed by equations
phases, comparing the full and aDMDc models. (Online
version in colour.)
Figura
The addition6.7: ofConfronto
the F matrixfra la risposta
is important del modello
to retain di of
the stability ordine ridotto
the system. This(in blu)
is better
eunderstood
il modello withcompleto (in
the following rosso)assuming
example, alla velocità di 50 ms
known dynamics of the [7].
−1 form:
» fi « ff » n fi « ff « ff
qn`1
1 0.1 0 –q1 fl 2 n 10 n`1
– fl
Table 3. Speed-up factor S and mean relative
“ errors Ri for parametric`ROM. u ` u . (4.1)
qn`1 0 0.5 qn 3 1.5
2 2
a una
input: singola velocità
S e diRlift 1338 perRdragil modelloRrollparametrico.
Rpitch Ryaw
Applying the standard DMDc algorithm, with only the A and B matrices, we obtain:
1. reference: 1338 «0.89% 1.82%ff «1.67% ff 0.98% 3.92%
..........................................................................................................................................................................................................
The resulting dynamics are not only incorrect, 48but they are unstable. By contrast, the aDMDc
method, results in the correct, stable dynamics of the system:
(d) Parametric reduced-order aeroelastic
« ffmodel « ff « ff
Large changes in operating A 0.1 generally
conditions 0 pose2 a challenge
10for ROMs. Indeed, when the
“ B“ F“ . (4.3)
operating condition changes enough, 0 the0.5 3 validity and
ROM loses its 1.5 another training phase must
be performed. In this example, we demonstrate the ability to interpolate several ROMs that are
identified at different speeds. The result is a highly flexible model that seamlessly covers a large
range of flight conditions and results in high performance for continuously varying operating
conditions. We only need to interpolate models that are identified for different flow velocities, as
CAPITOLO 6. APPLICAZIONI
velocity
vel. (m s–1)
80
60
40
reduced model
2.0 full model
1.5
clift
1.0
0.05
cdrag
output coefficient
Downloaded from https://royalsocietypublishing.org/ on 04 May 2021
0.02
croll
0
–0.02
–0.4
cpitch
–0.6
×10–3
0.2
cyaw
0
–0.2
0 1 2 3 4 5 6
time (s)
Figure 5. Morphing AWE wing: reference and random testing inputs with linear velocity sweep from V8 “ 35 m s´1 to
V8 “ 80 m s´1 , comparing the full and parametric aDMDc models. (Online version in colour.)
Figura 6.8: Confronto fra la risposta del modello di ordine ridotto (in blu)
e il modello completo (in rosso) in un range di velocità 35-80 ms−1 [7].
(e) Model predictive control
To further demonstrate the performance of the AWE morphing wing ROM, the model is
incorporated into an MPC framework. The MPC is run on three test cases incorporating different
L’obiettivo
levels of fidelity of rimane
the aDMDc quello di controllare
ROM. First, tale velivolo
the MPC architecture in modo
is demonstrated che pos-
on a constant
saflight
compiere
speed gustlaloadmissione
alleviationmostrata
case, based onnella figuramodel
an aDMDc . Aintale scopo
a single flight il modello
condition.
Next, a constant flight speed lift-force tracking MPC demonstrates the use of the aDMDc model
diwith
ordine ridotto
nonlinear viene
calculation impiegato
of the aerodynamic all’interno
forces. Finally, di
the un controllatore
parametric aDMDc model MPC,
is
sfruttando,
incorporated into perthesemplicità,
MPC framework, l’algoritmo
tracking the interior
objective ofpoint
a desired codificato
lift coefficient
fmincon while
inflying
Matlablarge-amplitude AWE trajectories over a range of operating conditions and in gusty wind
per la routine di ottimizzazione. Il controllatore viene testato
fields. To assess an accurate response of the morphing wing, the MPC is tested using the full high-
infidelity
tre scenari:
aeroelastic alleggerimento
model. For simplicity,dei carichi
Matlab’s causatimethod
interior-point da una raffica
fmincon di asvento,
is used the
seguimento di unforcoefficiente
optimization routine MPC. Additional dicomputational
sostentazione e infine
acceleration may una possibile
be achieved mis-
by using
MPC-specific optimization routines in the future. In all three test cases, the current state vector is
sione che comprenda sia il seguimento che l’alleggerimento
available for feedback, bypassing sensor selection and observer filter design.
dei carichi. In
tuttiGuste load
tre alleviation
i casi siMPC.considera disponibile per la retroazione l’intero
Maintaining the wing stress level below a critical threshold is crucial stato
attuale,
to guaranteeeliminando quindi
structural integrity of thelawing.
necessità
The stressdi disegnare
level in the wing isun osservatore
directly proportionalade-
to
the modal amplitudes of the wing structure, especially to the first bending mode [85]. Therefore,
guato.
the MPC objective in this first example is to keep the first bending mode amplitude close to zero,
ensuring structural integrity of the wing at gust encounter. This goal is achieved by actuating the
morphing wings symmetrically, thereby adjusting the lift and the wing root bending moment. The
first bending mode is available for feedback in 49 this study, which could be estimated for example
with strain gauges placed at the wing root. Flying at a constant velocity of V “ 60 m s´1 and with
the first bending mode being a physical state of the aDMDc model, the nonlinear calculation of
the aerodynamic forces and moments can be omitted, resulting in linear model. The system time
step is !tsys “ 0.006 s and the MPC time step is !tmodel “ 0.018 s, representing approximately
CAPITOLO 6. APPLICAZIONI
2 Da gust
15
Da
1
0
0
–0.2
morphing
1
0
–1
0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
time (s)
Figure 6. MPC gust load alleviation using morphing wing. Gust-induced angle of attack: !α “ 1.5˝ , tg “ r0.25 s, 0.5 s, 1 ss.
Downloaded from https://royalsocietypublishing.org/ on 04 May 2021
1.0 u ∆u
0.9
MPC
0.1 no control
0
morphing error
–0.1
1
0
–1
0 2.5 5.0 7.5 10.0 12.5 15.0
time (s)
Figure 7. MPC lift tracking using morphing wings. (Online version in colour.)
a state-of-the-art flight control system actuator update frequency [95]. The weighting matrices
are Q “ 10, Ru “ 0 and R!u “ 1, the actuation is 50limited to u P r´1, 1s, !u P r´0.18, 0.18s, and the
control and prediction horizon are set to mp “ mc “ 10.
The wing encounters a series of three gusts with constant amplitude !α “ 1.5˝ and increasing
gust length tg,1 “ 0.25 s, tg,2 “ 0.5 s and tg,3 “ 1.0 s. Figure 6 shows the gust-induced angle of attack
in the upper plot, the modal amplitude deviation of the first bending mode calculated with the
high-fidelity model in the middle plot, and the actuation of the morphing wing in the lower plot.
First, the MPC is switched on (blue continuous line) and second, the MPC is switched off (red
dashed line). The expected delay of the MPC is clearly visible, especially prominent for short gust
lengths, which could be dealt with using additional gust-induced angle of attack sensors [85].
publishing.org/journal/rspa Proc. R. Soc. A 476: 20200079
.................................................
morphing
1
0
–1
0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
time (s)
CAPITOLO 6. APPLICAZIONI
Figure 6. MPC gust load alleviation using morphing wing. Gust-induced angle of attack: !α “ 1.5˝ , tg “ r0.25 s, 0.5 s, 1 ss.
Downloaded from https://royalsocietypublishing.org/ on 04 May 2021
reference clift
1.1
clift
1.0
0.9
MPC
0.1 no control
0
morphing error
–0.1
1
0
–1
0 2.5 5.0 7.5 10.0 12.5 15.0
time (s)
Figure 7. MPC lift tracking using morphing wings. (Online version in colour.)
Figura 6.10: Risultati nel seguimento di un coefficiente di sostentazione
dato. Pesi: Q = 1, Ru = 0, R∆u = 10, 000 [7].
a state-of-the-art flight control system actuator update frequency [95]. The weighting matrices
are Q “ 10, Ru “ 0 and R!u “ 1, the actuation is limited to u P r´1, 1s, !u P r´0.18, 0.18s, and the
control and prediction horizon are set to mp “ mc “ 10.
The wing encounters a series of three gusts with constant amplitude !α “ 1.5˝ and increasing
gust length tg,1 “ 0.25 s, tg,2 “ 0.5 s and tg,3 “ 1.0 s. Figure 6 shows the gust-induced angle ofDa attack
(°)
2
in the upper plot, the modal amplitude deviation of the first bending mode calculated with clift the
16
1
input
ref
high-fidelity
0 model in the middle plot, and the actuation of the morphing wing in the lower plot.
70
lengths, 50 which could be dealt with using additional gust-induced angle of attack sensors [85].
Nevertheless,
30 the performance of the controller is promising, achieving modal amplitude peak
pMPC
0.2 of !q0.25 s “ 51.2% !q0.5 s “ 66.5% and !q1.0 s “ 79.5%.
reductions
MPC
error
Lift force
0 tracking MPC. In the second test case, the MPC objective is to track a specified lift
coefficient.
–0.2 We thus use the full aDMDc ROM with the nonlinear calculation of the lift. The lift is
directly1available for feedback in this study, which could be measured on the drone, for example,
morphing
by a five-hole
0 probe [96]. Tracking a specific lift is similarly achieved by symmetrically actuating
om https://royalsocietypublishing.org/ on 04 May 2021
–1
the morphing wing to reduce or increase the lift coefficient. The MPC parameters are the same
as in the 0first example,
2 4
except the6 weighting 8 matrices 10 are12set to Q14“ 1 and16R!u “ 18 20
10 000. Figure 7
time (s)
shows the desired normalized lift coefficient in the top plot, the error defined as the deviation
of the 8.
Figure actual fromMPC
Parametric the(pMPC)
desired normalized
versus non-parametric liftMPC
assessed by the
(MPC) load high-fidelity
alleviation model
using morphing for in the
large middle
flight speed
plot,
range.and the morphing
The controller actuation
tracks a reference cLift in the bottommorphing
by symmetrically plot. Again,
the leftthe
and MPC is first
right wing switched
in a typical on (blue
AWE power cycle,
Figura
continuous 6.11:
where a verticalline),
Confronto
andthethen
gust hits wingswitched
del
at maximumoff
modello
(red
flight dashed
speed.
parametrico
line).
(Online The
version
interpolato (pMPC)
MPC performs well, even when the
in colour.)
e
modello
commanded non interpolato
lift exceeds (MPC)
the attainable in the
lift and unaactuation
missione con seguimento e alleg-
is saturated.
gerimento
AWE trajectory dei andcarichi.
gust load ∈ [40msMPC.
V alleviation −1
, 80ms −1
The third ], testraffica
case is AWE ∆α = 1o , twhere
specific, r = 0.5 the
sstructural
[7]. integrity of the tether is maintained by keeping the tether force below a critical
maximum force. Currently, the tether force is controlled by changing the ground station reel out
speed; however, this approach is too slow to mitigate force peaks introduced by gusts on the
wing. Therefore, either the maximum allowable tether force must be reduced, leading to lower
power production or active load alleviation must be achieved on the wing. In this example, we
use MPC to keep the lift coefficient on the wing 51close to a desired steady-state value. The drone
flies an AWE-specific trajectory, with flight velocities ranging between V “ r40, 80s m s´1 , shown
in figure 8. Additionally, the wing encounters a gust at the maximum flight speed, with tg “ 0.5 s
and !α “ 1˝ . In this case, an AWE-specific lift coefficient trajectory is defined, with a higher lift
coefficient in the traction phase at high flight speeds and lower lift coefficient at low flight speeds
in the retraction phase. This is achieved by both changing the drone’s angle of attack for large
and slow lift coefficient changes (assumed to be controlled by an extended fixed wing drone
controller using the drone elevator [31]) and by symmetrically actuating the morphing wing for
Capitolo 7
Conclusioni
52
CAPITOLO 7. CONCLUSIONI
rithm), ad esempio, può essere visto come un’estensione della BPOD che
non richiede la simulazione del sistema aggiunto, ed è quindi utilizzabile
anche per dati derivanti da contesti sperimentali [17]. Risultano partico-
larmente promettenti anche modelli calcolati attraverso tecniche di ma-
chine learning [3]. Questi ultimi modelli hanno il grande pregio di essere
spesso molto precisi e di dare una rappresentazione del sistema in esame
molto accurata se questo non si discosta eccessivamente dall’insieme di
dati usati per l’allenamento, ma non sempre risultano facilmente interpre-
tabili. Alcuni studi recenti puntano a combinare il machine learning con
altre tecniche per superare questa limitazione, ad esempio affiancandoci
modelli POD, che hanno il pregio di essere facilmente interpretabili e di
rango basso [10].
53
Bibliografia
54
BIBLIOGRAFIA
55
BIBLIOGRAFIA
[18] Gregory Salomon, Kemin Zhou e Eva Wu. «A new balanced reali-
zation and model reduction method for unstable systems». In: IFAC
Proceedings Volumes 32.2 (1999), pp. 1696–1701.
[19] «Spanwise flow and the attachment of the leading-edge vortex on
insect wings». In: Nature 412.6848 (2001), pp. 729–733.
[20] S. Volkwein. Model Reduction Using Proper Orthogonal Decom-
position. 2011.
[21] R. L. II Williams e D. A. Lawrence. Linear State-Space Control
Systems. John Wiley & Sons, 2007.
56