BE_Commande_Num/latex/contents.tex

273 lines
8.2 KiB
TeX

\section{Modelisation}
\vspace*{-2em}
\begin{align*}
\dot{x_{1}}, \dot{x_{2}} = f(e_{1},e_{2},q) & &
\left\{ \begin{aligned}
x_{1}(\zeta,t) &= \frac{\partial^{2}\omega}{\partial\varepsilon^{2}}\\
x_{2}(\zeta,t) &= \rho(\zeta)\frac{\partial\omega}{dt}
\end{aligned} \right. & &
\left\{ \begin{aligned}
e_{1}(\zeta,t) &= EI(\zeta)x_{1}\\
e_{2}(\zeta,t) &= \frac{1}{\rho(\zeta)}x_{2} = \frac{\partial\omega}{\partial t}
\end{aligned} \right.
\end{align*}
\subsection{Question 1}
\vspace*{-1.5em}
\begin{align}
\left\{\begin{aligned}
\dot{x_{1}} &= \frac{\partial x_{1}}{\partial t} = \frac{\partial}{\partial t} (\frac{\partial^2\omega}{\partial \zeta^2}) = \frac{\partial^2}{\partial \zeta^2}(\frac{\partial^2\omega}{\partial t})\\
\dot{x_{2}} &= \rho(\zeta)\frac{\partial^2\omega}{\partial t} = \underbrace{-\frac{\partial^{2}}{\partial \zeta^2}(EI(\zeta)\frac{\partial^2\omega}{\partial\zeta^2})-q(\zeta,t)}_\text{EDP}
\end{aligned}\right. & &
\Rightarrow & &
\boxed{\left\{\begin{aligned}
\dot{x_{1}} &= \frac{\partial^2 e_2}{\partial\zeta^2} \\
\dot{x_{2}} &= -\frac{\partial^2 e_1}{\partial\zeta^2}-q(\zeta,t)
\end{aligned}\right. }
\end{align}
\subsection{Question 2}
Voir annexe.
\subsection{Question 3}
\vspace*{-2em}
\begin{equation*}
A = \begin{pmatrix}
0 & 0 & 0 & 0 & 114 & 6 & 12 & -2 \\
0 & 0 & 0 & 0 & -54 & 6 & -2 & 4 \\
0 & 0 & 0 & 0 & -1188 & -12 & -114 & 6 \\
0 & 0 & 0 & 0 & -828 & -12 & -54 & 0 \\
6 & 54 & 4 & -2 & 0 & 0 & 0 & 0 \\
-6 & -114 & -2 & 12 & 0 & 0 & 0 & 0 \\
-12 & -828 & -6 & 54 & 0 & 0 & 0 & 0 \\
-12 & -1188 & -6 & 114 & 0 & 0 & 0 & 0 \\
\end{pmatrix}, \ B = \begin{pmatrix}
0 \\
0 \\
0 \\
0 \\
4 \\
-16 \\
-60 \\
-120 \\
\end{pmatrix}, \ C = \begin{pmatrix}
0 & 0 & 0 & 0 & 0 & -1 & 0 & 0
\end{pmatrix}
\end{equation*}
\subsection{Question 4}
\vspace*{-1.5em}
\begin{figure}[H]
\centering
\includegraphics[width=\textwidth]{Illustrations/Question4}
\end{figure}
\vspace*{-0.5em}
Les valeurs propres du système dans tous les cas (continu, discrétisé avec Tustin et bloqueur d'ordre 0) sont dans les zones de stabilité. La stabilité du système est vérifiée pour tous les cas.
\subsection{Question 5}
\vspace*{-2em}
\begin{figure}[H]
\centering
\includegraphics[width=35em]{Illustrations/Question5}
\end{figure}
\subsection{Question 6}
\vspace*{-2em}
\begin{equation*}
\begin{bmatrix}
x_1 \\ x_2
\end{bmatrix} = \begin{bmatrix}
\frac{\partial^2\omega}{\partial\zeta^2}(\zeta,t) \\
\rho(\zeta)\frac{\partial\omega}{\partial t}(\zeta,t)
\end{bmatrix} = \begin{bmatrix}
\phi(\zeta)^T & 0_{1 \times 4} \\
0_{1 \times 4} & \phi(\zeta)^T
\end{bmatrix} \begin{bmatrix}
x_{1d} \\ x_{2d}
\end{bmatrix}
\end{equation*}
\vspace*{-.4em}
\begin{equation*}
\frac{\partial^2\omega}{\partial\zeta^2}(\zeta,t) = \underbrace{\begin{bmatrix}
\phi(\zeta)^T & 0 & 0 & 0 & 0
\end{bmatrix}}_{C.I.=0+0}x_{d}(t)
\end{equation*}
\vspace*{-1em}
\begin{equation*}
\begin{aligned}
\frac{\partial\omega}{\partial\zeta}(\zeta,t) &= \int\frac{\partial^2\omega}{\partial\zeta^2}(\zeta,t)d\zeta = x_d(t)\int\begin{bmatrix}
\phi(\zeta)^T & 0 & 0 & 0 & 0
\end{bmatrix}d\zeta + C_1(t) \\
\omega(\zeta,t) &= \int\int\frac{\partial^2\omega}{\partial^2\zeta^2}(\zeta,t)d\zeta^2 = x_d(t)\int\int\begin{bmatrix}
\phi(\zeta)^T & 0 & 0 & 0 & 0
\end{bmatrix}d\zeta^2 + \underbrace{\int C_1(t)d\zeta + C_2(t)}_{\zeta C_1(t) + C_2(t)}
\end{aligned}
\end{equation*}
Du côté gauche de la poutre soit $\zeta = 0$, la vitesse et la déformation de la poutre sont nulles. Grâce à ces deux données, nous pouvons calculer les constantes représentant les conditions
initiales qui sont donc aussi nulles. En calculant les intégrales de $\phi(\zeta)$, nous retrouvons les coefficients de $C_w(\zeta)$. Nous avons alors bien $w(\zeta ,t) = C_w(\zeta) x_d (t)$.
\section{Retour de sortie}
\vspace*{-.5em}
\subsection{Question 7}
\vspace*{-.2em}
Suivant les calculs de l'annexe, nous avons :
\begin{equation*}
\boxed{H = -\left(C_w(L)(A - B C k)^{-1} B\right)^{-1}}
\end{equation*}
Après calcul dans MATLAB, nous obtienons $\boxed{H = -3}$.
\subsection{Question 8}
\vspace*{-2em}
\begin{figure}[H]
\centering
\includegraphics[width=30em]{Illustrations/Question8}
\end{figure}
\vspace*{-1em}
\subsection{Question 9}
\vspace*{-2em}
\begin{figure}[H]
\centering
\includegraphics[width=25em]{Illustrations/Question9}
\end{figure}
\vspace*{-1em}
En discrétisant notre système par la période d'échantillonnage $T_{s3} = 0.04 \ [s]$, on obtient une valeur propre
en dehors du cercle unitaire de stabilité. Cette période d'échantillonnage déstabilise le système.
\subsection{Question 10}
\vspace*{-2em}
\begin{figure}[H]
\centering
\includegraphics[width=30em]{Illustrations/Question10}
\end{figure}
\vspace*{-1em}
La période d'échantillonnage maximale permettant de garantir la stabilité asymptotique
est de $T_s \approx 0.011 \ [s]$.
\section{Retour d'état}
\vspace*{-1em}
\subsection{Question 11}
En utilisant la fonction \texttt{lqr()} de MATLAB avec $Q = I_8$ et $R = 1$, on trouve la matrice de gain :
\begin{equation*}
K = \begin{pmatrix}
0.97 & -14.62 & 0.66 & 1.32 & 19.32 & 0.39 & 2.40 & -2.11
\end{pmatrix}
\end{equation*}
\subsection{Question 12}
\vspace*{-2em}
\begin{figure}[H]
\centering
\includegraphics[width=35em]{Illustrations/Question12}
\end{figure}
\subsection{Question 13}
La même période d'échantillonnage que la section précédente n'est pas appropriée pour cette loi de commande.
La période d'échantillonnage maximale permettant de garantir la stabilité asymptotique
est de $T_s = 0.0107 \ [s]$.
\vspace*{-1em}
\begin{figure}[H]
\centering
\includegraphics[width=35em]{Illustrations/Question13}
\end{figure}
\subsection{Question 14}
En prenant une période d'échantillonnage $T_s = 0.01 \ [s]$, on se rapproche du comportement désiré de
la question 12.
\vspace*{-1em}
\begin{figure}[H]
\centering
\includegraphics[width=35em]{Illustrations/Question14}
\end{figure}
\vspace*{-1em}
\section{Rejection de perturbation}
\vspace*{-1em}
\subsection{Question 15}
\vspace*{-2em}
\begin{equation*}
B_p = \begin{pmatrix}
0_{4 \times 1} \\
-\int_{0}^{L}\phi(\zeta)d\zeta
\end{pmatrix}
= \begin{pmatrix}
0_{4 \times 1} \\
\frac{1}{2} \\
\frac{1}{2} \\
\frac{1}{12} \\
-\frac{1}{12}
\end{pmatrix}
\end{equation*}
\vspace*{-1em}
\subsection{Question 16}
\vspace*{-2em}
\begin{figure}[H]
\centering
\includegraphics[width=35em]{Illustrations/Question16}
\end{figure}
\vspace*{-1em}
Notre système ne permet pas de garantir une erreur nulle en régime permanent face
à une perturbation constante.
\subsection{Question 17}
Nous souhaitons garder les mêmes valeurs propres que celles obtenues lors de la question 11
avec la LQR. La valeur propre supplémentaire doit être plus à droite pour permettre
de rejeter la perturbation. On choisit $\lambda_9 = -2$.
On trouve alors :
\vspace*{-.5em}
\begin{equation*}
\lambda = \begin{pmatrix}
-84.66 & -7.56 \pm 68.77i & -27.97 \pm 17.24i & -15.91 & -4.38 \pm 2.66i & -2
\end{pmatrix}^T
\end{equation*}
\subsection{Question 18}
En utilisant la fonction \texttt{place()} de MATLAB, on trouve la matrice de gain $K$ suivante :
\vspace*{-.5em}
\begin{equation*}
K_{aug} = \begin{pmatrix}
K_1 & K_i
\end{pmatrix}
\quad \text{avec} \quad
K_1 \in \mathbb{R}^{1 \times 8}, \;
K_i \in \mathbb{R}
\end{equation*}
\vspace*{-2.8em}
\begin{align*}
K_1 = \begin{pmatrix}
-0.89 & -16.59 & 0.28 & 1.68 & 19.39 & -0.84 & 2.36 & -1.94
\end{pmatrix} & &
K_i = \begin{pmatrix}
12.00
\end{pmatrix}
\end{align*}
\subsection{Question 19}
\vspace*{-2em}
\begin{figure}[H]
\centering
\includegraphics[width=35em]{Illustrations/Question19}
\end{figure}
\vspace*{-1em}
En utilisant l'action intégrale, on parvient à rejeter la perturbation constante et à garantir une erreur nulle en régime permanent.
\subsection{Question 20}
Nous pouvons utiliser les mêmes gains $K_1$ et $K_i$ dans l'implémentation avec un contrôleur
numérique en prenant une période d'échantillonnage suffisamment court. La période d'échantillonnage
maximale garantissant la stabilité asymptotique est de $T_s = 0.01066\ [s]$.
En divisant la période d'échantillonnage par 5 soit $T_s \approx 0.002\ [s]$, on obtient une réponse du système
répondant à la performance désirée et à la stabilité.