Compare commits

...

2 Commits

Author SHA1 Message Date
2285284e91 Add link to pdf 2021-01-08 13:58:04 +01:00
222d0f7dbe Update gitignore 2021-01-08 13:57:07 +01:00
3 changed files with 401 additions and 372 deletions

11
.gitignore vendored
View File

@ -36,3 +36,14 @@ octave-workspace
# Simulink Cache # Simulink Cache
*.slxc *.slxc
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
.auctex-auto/
_minted-index/

View File

@ -3,21 +3,30 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-12-10 jeu. 13:51 --> <!-- 2021-01-08 ven. 13:57 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Diagonal control using the SVD and the Jacobian Matrix</title> <title>Diagonal control using the SVD and the Jacobian Matrix</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" /> <meta name="author" content="Dehaeze Thomas" />
<link rel="stylesheet" type="text/css" href="https://research.tdehaeze.xyz/css/style.css"/> <link rel="stylesheet" type="text/css" href="https://research.tdehaeze.xyz/css/style.css"/>
<script type="text/javascript" src="https://research.tdehaeze.xyz/js/script.js"></script> <script type="text/javascript" src="https://research.tdehaeze.xyz/js/script.js"></script>
<script>MathJax = { <script>
MathJax = {
svg: {
scale: 1,
fontCache: "global"
},
tex: { tex: {
tags: 'ams', tags: "ams",
macros: {bm: ["\\boldsymbol{#1}",1],} multlineWidth: "%MULTLINEWIDTH",
tagSide: "right",
macros: {bm: ["\\boldsymbol{#1}",1],},
tagIndent: ".8em"
} }
}; };
</script> </script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script> <script id="MathJax-script" async
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
</head> </head>
<body> <body>
<div id="org-div-home-and-up"> <div id="org-div-home-and-up">
@ -30,46 +39,49 @@
<h2>Table of Contents</h2> <h2>Table of Contents</h2>
<div id="text-table-of-contents"> <div id="text-table-of-contents">
<ul> <ul>
<li><a href="#orgff341f6">1. Gravimeter - Simscape Model</a> <li><a href="#orgc161e51">1. Gravimeter - Simscape Model</a>
<ul> <ul>
<li><a href="#orgd0d1a45">1.1. Introduction</a></li> <li><a href="#org2b94fb4">1.1. Introduction</a></li>
<li><a href="#org71c2113">1.2. Gravimeter Model - Parameters</a></li> <li><a href="#org1068702">1.2. Gravimeter Model - Parameters</a></li>
<li><a href="#org2fa8a8a">1.3. System Identification</a></li> <li><a href="#org64981fa">1.3. System Identification</a></li>
<li><a href="#org16b413f">1.4. Decoupling using the Jacobian</a></li> <li><a href="#org47f1275">1.4. Decoupling using the Jacobian</a></li>
<li><a href="#orgeda267d">1.5. Decoupling using the SVD</a></li> <li><a href="#org1cd8ecb">1.5. Decoupling using the SVD</a></li>
<li><a href="#org04823e1">1.6. Verification of the decoupling using the &ldquo;Gershgorin Radii&rdquo;</a></li> <li><a href="#org460478c">1.6. Verification of the decoupling using the &ldquo;Gershgorin Radii&rdquo;</a></li>
<li><a href="#orgbca2cd5">1.7. Verification of the decoupling using the &ldquo;Relative Gain Array&rdquo;</a></li> <li><a href="#org4b89a71">1.7. Verification of the decoupling using the &ldquo;Relative Gain Array&rdquo;</a></li>
<li><a href="#org3772348">1.8. Obtained Decoupled Plants</a></li> <li><a href="#org78d0b3c">1.8. Obtained Decoupled Plants</a></li>
<li><a href="#orgebfd296">1.9. Diagonal Controller</a></li> <li><a href="#orgeec17f1">1.9. Diagonal Controller</a></li>
<li><a href="#org0c9d1db">1.10. Closed-Loop system Performances</a></li> <li><a href="#orgb44bc2a">1.10. Closed-Loop system Performances</a></li>
<li><a href="#org5ab7d88">1.11. Robustness to a change of actuator position</a></li> <li><a href="#orgc3b906c">1.11. Robustness to a change of actuator position</a></li>
<li><a href="#org059b0c2">1.12. Combined / comparison of K and M decoupling</a> <li><a href="#org3c99d2a">1.12. Combined / comparison of K and M decoupling</a>
<ul> <ul>
<li><a href="#org61dd8b4">1.12.1. Decoupling of the mass matrix</a></li> <li><a href="#org1af8b78">1.12.1. Decoupling of the mass matrix</a></li>
<li><a href="#org4b538e4">1.12.2. Decoupling of the stiffness matrix</a></li> <li><a href="#org94b1a6e">1.12.2. Decoupling of the stiffness matrix</a></li>
<li><a href="#orgdbfe04c">1.12.3. Combined decoupling of the mass and stiffness matrices</a></li> <li><a href="#org0400e21">1.12.3. Combined decoupling of the mass and stiffness matrices</a></li>
<li><a href="#org76dc858">1.12.4. Conclusion</a></li> <li><a href="#orgfb1dce1">1.12.4. Conclusion</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org08d2275">1.13. SVD decoupling performances</a></li> <li><a href="#org7a431a6">1.13. SVD decoupling performances</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org38550a9">2. Stewart Platform - Simscape Model</a> <li><a href="#org1b57bf2">2. Stewart Platform - Simscape Model</a>
<ul> <ul>
<li><a href="#orgc82a123">2.1. Simscape Model - Parameters</a></li> <li><a href="#orgca0d143">2.1. Simscape Model - Parameters</a></li>
<li><a href="#org8f5ce51">2.2. Identification of the plant</a></li> <li><a href="#orge966157">2.2. Identification of the plant</a></li>
<li><a href="#orgd31d190">2.3. Decoupling using the Jacobian</a></li> <li><a href="#org35c4aae">2.3. Decoupling using the Jacobian</a></li>
<li><a href="#org3e510f8">2.4. Decoupling using the SVD</a></li> <li><a href="#org896c978">2.4. Decoupling using the SVD</a></li>
<li><a href="#org987bd17">2.5. Verification of the decoupling using the &ldquo;Gershgorin Radii&rdquo;</a></li> <li><a href="#orgb0956ea">2.5. Verification of the decoupling using the &ldquo;Gershgorin Radii&rdquo;</a></li>
<li><a href="#org16c82ca">2.6. Verification of the decoupling using the &ldquo;Relative Gain Array&rdquo;</a></li> <li><a href="#orgfd99bee">2.6. Verification of the decoupling using the &ldquo;Relative Gain Array&rdquo;</a></li>
<li><a href="#org65a35cc">2.7. Obtained Decoupled Plants</a></li> <li><a href="#orgceebcef">2.7. Obtained Decoupled Plants</a></li>
<li><a href="#orgab6b741">2.8. Diagonal Controller</a></li> <li><a href="#org3a97dc4">2.8. Diagonal Controller</a></li>
<li><a href="#orgf598e01">2.9. Closed-Loop system Performances</a></li> <li><a href="#org8d85d27">2.9. Closed-Loop system Performances</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
</div> </div>
</div> </div>
<hr>
<p>This report is also available as a <a href="./index.pdf">pdf</a>.</p>
<hr>
<p> <p>
In this document, the use of the Jacobian matrix and the Singular Value Decomposition to render a physical plant diagonal dominant is studied. In this document, the use of the Jacobian matrix and the Singular Value Decomposition to render a physical plant diagonal dominant is studied.
@ -80,58 +92,58 @@ Then, a diagonal controller is used.
These two methods are tested on two plants: These two methods are tested on two plants:
</p> </p>
<ul class="org-ul"> <ul class="org-ul">
<li>In Section <a href="#orga43051e">1</a> on a 3-DoF gravimeter</li> <li>In Section <a href="#orge799d96">1</a> on a 3-DoF gravimeter</li>
<li>In Section <a href="#orgdd0bcd0">2</a> on a 6-DoF Stewart platform</li> <li>In Section <a href="#org4fdf996">2</a> on a 6-DoF Stewart platform</li>
</ul> </ul>
<div id="outline-container-orgff341f6" class="outline-2"> <div id="outline-container-orgc161e51" class="outline-2">
<h2 id="orgff341f6"><span class="section-number-2">1</span> Gravimeter - Simscape Model</h2> <h2 id="orgc161e51"><span class="section-number-2">1</span> Gravimeter - Simscape Model</h2>
<div class="outline-text-2" id="text-1"> <div class="outline-text-2" id="text-1">
<p> <p>
<a id="orga43051e"></a> <a id="orge799d96"></a>
</p> </p>
</div> </div>
<div id="outline-container-orgd0d1a45" class="outline-3"> <div id="outline-container-org2b94fb4" class="outline-3">
<h3 id="orgd0d1a45"><span class="section-number-3">1.1</span> Introduction</h3> <h3 id="org2b94fb4"><span class="section-number-3">1.1</span> Introduction</h3>
<div class="outline-text-3" id="text-1-1"> <div class="outline-text-3" id="text-1-1">
<p> <p>
In this part, diagonal control using both the SVD and the Jacobian matrices are applied on a gravimeter model: In this part, diagonal control using both the SVD and the Jacobian matrices are applied on a gravimeter model:
</p> </p>
<ul class="org-ul"> <ul class="org-ul">
<li>Section <a href="#org6fd0a74">1.2</a>: the model is described and its parameters are defined.</li> <li>Section <a href="#org52ee61c">1.2</a>: the model is described and its parameters are defined.</li>
<li>Section <a href="#orgb2aee39">1.3</a>: the plant dynamics from the actuators to the sensors is computed from a Simscape model.</li> <li>Section <a href="#org971a38f">1.3</a>: the plant dynamics from the actuators to the sensors is computed from a Simscape model.</li>
<li>Section <a href="#org453207d">1.4</a>: the plant is decoupled using the Jacobian matrices.</li> <li>Section <a href="#org162e604">1.4</a>: the plant is decoupled using the Jacobian matrices.</li>
<li>Section <a href="#org50e2b08">1.5</a>: the Singular Value Decomposition is performed on a real approximation of the plant transfer matrix and further use to decouple the system.</li> <li>Section <a href="#orgafc4b89">1.5</a>: the Singular Value Decomposition is performed on a real approximation of the plant transfer matrix and further use to decouple the system.</li>
<li>Section <a href="#orgd1832ab">1.6</a>: the effectiveness of the decoupling is computed using the Gershorin radii</li> <li>Section <a href="#org13966f7">1.6</a>: the effectiveness of the decoupling is computed using the Gershorin radii</li>
<li>Section <a href="#org2991259">1.7</a>: the effectiveness of the decoupling is computed using the Relative Gain Array</li> <li>Section <a href="#org8670ef6">1.7</a>: the effectiveness of the decoupling is computed using the Relative Gain Array</li>
<li>Section <a href="#orgdd5b957">1.8</a>: the obtained decoupled plants are compared</li> <li>Section <a href="#org87a2489">1.8</a>: the obtained decoupled plants are compared</li>
<li>Section <a href="#org17936ac">1.9</a>: the diagonal controller is developed</li> <li>Section <a href="#orgda73577">1.9</a>: the diagonal controller is developed</li>
<li>Section <a href="#org38df314">1.10</a>: the obtained closed-loop performances for the two methods are compared</li> <li>Section <a href="#org604735b">1.10</a>: the obtained closed-loop performances for the two methods are compared</li>
</ul> </ul>
</div> </div>
</div> </div>
<div id="outline-container-org71c2113" class="outline-3"> <div id="outline-container-org1068702" class="outline-3">
<h3 id="org71c2113"><span class="section-number-3">1.2</span> Gravimeter Model - Parameters</h3> <h3 id="org1068702"><span class="section-number-3">1.2</span> Gravimeter Model - Parameters</h3>
<div class="outline-text-3" id="text-1-2"> <div class="outline-text-3" id="text-1-2">
<p> <p>
<a id="org6fd0a74"></a> <a id="org52ee61c"></a>
</p> </p>
<p> <p>
The model of the gravimeter is schematically shown in Figure <a href="#org6f7d394">1</a>. The model of the gravimeter is schematically shown in Figure <a href="#orgbea95a3">1</a>.
</p> </p>
<div id="org6f7d394" class="figure"> <div id="orgbea95a3" class="figure">
<p><img src="figs/gravimeter_model.png" alt="gravimeter_model.png" /> <p><img src="figs/gravimeter_model.png" alt="gravimeter_model.png" />
</p> </p>
<p><span class="figure-number">Figure 1: </span>Model of the gravimeter</p> <p><span class="figure-number">Figure 1: </span>Model of the gravimeter</p>
</div> </div>
<div id="org150e6bd" class="figure"> <div id="orgb06059e" class="figure">
<p><img src="figs/leg_model.png" alt="leg_model.png" /> <p><img src="figs/leg_model.png" alt="leg_model.png" />
</p> </p>
<p><span class="figure-number">Figure 2: </span>Model of the struts</p> <p><span class="figure-number">Figure 2: </span>Model of the struts</p>
@ -161,11 +173,11 @@ g = 0; <span class="org-comment">% Gravity [m/s2]</span>
</div> </div>
</div> </div>
<div id="outline-container-org2fa8a8a" class="outline-3"> <div id="outline-container-org64981fa" class="outline-3">
<h3 id="org2fa8a8a"><span class="section-number-3">1.3</span> System Identification</h3> <h3 id="org64981fa"><span class="section-number-3">1.3</span> System Identification</h3>
<div class="outline-text-3" id="text-1-3"> <div class="outline-text-3" id="text-1-3">
<p> <p>
<a id="orgb2aee39"></a> <a id="org971a38f"></a>
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
@ -189,7 +201,7 @@ G.OutputName = {<span class="org-string">'Ax1'</span>, <span class="org-string">
</div> </div>
<p> <p>
The inputs and outputs of the plant are shown in Figure <a href="#org439a755">3</a>. The inputs and outputs of the plant are shown in Figure <a href="#orgd95ddc7">3</a>.
</p> </p>
<p> <p>
@ -206,7 +218,7 @@ And 4 outputs (the two 2-DoF accelerometers):
\end{equation} \end{equation}
<div id="org439a755" class="figure"> <div id="orgd95ddc7" class="figure">
<p><img src="figs/gravimeter_plant_schematic.png" alt="gravimeter_plant_schematic.png" /> <p><img src="figs/gravimeter_plant_schematic.png" alt="gravimeter_plant_schematic.png" />
</p> </p>
<p><span class="figure-number">Figure 3: </span>Schematic of the gravimeter plant</p> <p><span class="figure-number">Figure 3: </span>Schematic of the gravimeter plant</p>
@ -262,11 +274,11 @@ State-space model with 4 outputs, 3 inputs, and 6 states.
<p> <p>
The bode plot of all elements of the plant are shown in Figure <a href="#org2bb0438">4</a>. The bode plot of all elements of the plant are shown in Figure <a href="#orgd28d617">4</a>.
</p> </p>
<div id="org2bb0438" class="figure"> <div id="orgd28d617" class="figure">
<p><img src="figs/open_loop_tf.png" alt="open_loop_tf.png" /> <p><img src="figs/open_loop_tf.png" alt="open_loop_tf.png" />
</p> </p>
<p><span class="figure-number">Figure 4: </span>Open Loop Transfer Function from 3 Actuators to 4 Accelerometers</p> <p><span class="figure-number">Figure 4: </span>Open Loop Transfer Function from 3 Actuators to 4 Accelerometers</p>
@ -274,15 +286,15 @@ The bode plot of all elements of the plant are shown in Figure <a href="#org2bb0
</div> </div>
</div> </div>
<div id="outline-container-org16b413f" class="outline-3"> <div id="outline-container-org47f1275" class="outline-3">
<h3 id="org16b413f"><span class="section-number-3">1.4</span> Decoupling using the Jacobian</h3> <h3 id="org47f1275"><span class="section-number-3">1.4</span> Decoupling using the Jacobian</h3>
<div class="outline-text-3" id="text-1-4"> <div class="outline-text-3" id="text-1-4">
<p> <p>
<a id="org453207d"></a> <a id="org162e604"></a>
</p> </p>
<p> <p>
Consider the control architecture shown in Figure <a href="#org56e375e">5</a>. Consider the control architecture shown in Figure <a href="#org959bcce">5</a>.
</p> </p>
<p> <p>
@ -300,16 +312,16 @@ The Jacobian matrix \(J_{a}\) is used to compute the vertical acceleration, hori
\end{equation} \end{equation}
<p> <p>
We thus define a new plant as defined in Figure <a href="#org56e375e">5</a>. We thus define a new plant as defined in Figure <a href="#org959bcce">5</a>.
\[ \bm{G}_x(s) = J_a^{-1} \bm{G}(s) J_{\tau}^{-T} \] \[ \bm{G}_x(s) = J_a^{-1} \bm{G}(s) J_{\tau}^{-T} \]
</p> </p>
<p> <p>
\(\bm{G}_x(s)\) correspond to the $3 &times; 3$transfer function matrix from forces and torques applied to the gravimeter at its center of mass to the absolute acceleration of the gravimeter&rsquo;s center of mass (Figure <a href="#org56e375e">5</a>). \(\bm{G}_x(s)\) correspond to the $3 &times; 3$transfer function matrix from forces and torques applied to the gravimeter at its center of mass to the absolute acceleration of the gravimeter&rsquo;s center of mass (Figure <a href="#org959bcce">5</a>).
</p> </p>
<div id="org56e375e" class="figure"> <div id="org959bcce" class="figure">
<p><img src="figs/gravimeter_decouple_jacobian.png" alt="gravimeter_decouple_jacobian.png" /> <p><img src="figs/gravimeter_decouple_jacobian.png" alt="gravimeter_decouple_jacobian.png" />
</p> </p>
<p><span class="figure-number">Figure 5: </span>Decoupled plant \(\bm{G}_x\) using the Jacobian matrix \(J\)</p> <p><span class="figure-number">Figure 5: </span>Decoupled plant \(\bm{G}_x\) using the Jacobian matrix \(J\)</p>
@ -347,11 +359,11 @@ State-space model with 3 outputs, 3 inputs, and 6 states.
<p> <p>
The diagonal and off-diagonal elements of \(G_x\) are shown in Figure <a href="#org070b93c">6</a>. The diagonal and off-diagonal elements of \(G_x\) are shown in Figure <a href="#org74f33b3">6</a>.
</p> </p>
<div id="org070b93c" class="figure"> <div id="org74f33b3" class="figure">
<p><img src="figs/gravimeter_jacobian_plant.png" alt="gravimeter_jacobian_plant.png" /> <p><img src="figs/gravimeter_jacobian_plant.png" alt="gravimeter_jacobian_plant.png" />
</p> </p>
<p><span class="figure-number">Figure 6: </span>Diagonal and off-diagonal elements of \(G_x\)</p> <p><span class="figure-number">Figure 6: </span>Diagonal and off-diagonal elements of \(G_x\)</p>
@ -359,11 +371,11 @@ The diagonal and off-diagonal elements of \(G_x\) are shown in Figure <a href="#
</div> </div>
</div> </div>
<div id="outline-container-orgeda267d" class="outline-3"> <div id="outline-container-org1cd8ecb" class="outline-3">
<h3 id="orgeda267d"><span class="section-number-3">1.5</span> Decoupling using the SVD</h3> <h3 id="org1cd8ecb"><span class="section-number-3">1.5</span> Decoupling using the SVD</h3>
<div class="outline-text-3" id="text-1-5"> <div class="outline-text-3" id="text-1-5">
<p> <p>
<a id="org50e2b08"></a> <a id="orgafc4b89"></a>
</p> </p>
<p> <p>
@ -512,11 +524,11 @@ Now, the Singular Value Decomposition of \(H_1\) is performed:
</table> </table>
<p> <p>
The obtained matrices \(U\) and \(V\) are used to decouple the system as shown in Figure <a href="#orgd5448b5">7</a>. The obtained matrices \(U\) and \(V\) are used to decouple the system as shown in Figure <a href="#org967d961">7</a>.
</p> </p>
<div id="orgd5448b5" class="figure"> <div id="org967d961" class="figure">
<p><img src="figs/gravimeter_decouple_svd.png" alt="gravimeter_decouple_svd.png" /> <p><img src="figs/gravimeter_decouple_svd.png" alt="gravimeter_decouple_svd.png" />
</p> </p>
<p><span class="figure-number">Figure 7: </span>Decoupled plant \(\bm{G}_{SVD}\) using the Singular Value Decomposition</p> <p><span class="figure-number">Figure 7: </span>Decoupled plant \(\bm{G}_{SVD}\) using the Singular Value Decomposition</p>
@ -547,10 +559,10 @@ The 4th output (corresponding to the null singular value) is discarded, and we o
</div> </div>
<p> <p>
The diagonal and off-diagonal elements of the &ldquo;SVD&rdquo; plant are shown in Figure <a href="#orgb9ee49d">8</a>. The diagonal and off-diagonal elements of the &ldquo;SVD&rdquo; plant are shown in Figure <a href="#orgb99dff3">8</a>.
</p> </p>
<div id="orgb9ee49d" class="figure"> <div id="orgb99dff3" class="figure">
<p><img src="figs/gravimeter_svd_plant.png" alt="gravimeter_svd_plant.png" /> <p><img src="figs/gravimeter_svd_plant.png" alt="gravimeter_svd_plant.png" />
</p> </p>
<p><span class="figure-number">Figure 8: </span>Diagonal and off-diagonal elements of \(G_{svd}\)</p> <p><span class="figure-number">Figure 8: </span>Diagonal and off-diagonal elements of \(G_{svd}\)</p>
@ -558,11 +570,11 @@ The diagonal and off-diagonal elements of the &ldquo;SVD&rdquo; plant are shown
</div> </div>
</div> </div>
<div id="outline-container-org04823e1" class="outline-3"> <div id="outline-container-org460478c" class="outline-3">
<h3 id="org04823e1"><span class="section-number-3">1.6</span> Verification of the decoupling using the &ldquo;Gershgorin Radii&rdquo;</h3> <h3 id="org460478c"><span class="section-number-3">1.6</span> Verification of the decoupling using the &ldquo;Gershgorin Radii&rdquo;</h3>
<div class="outline-text-3" id="text-1-6"> <div class="outline-text-3" id="text-1-6">
<p> <p>
<a id="orgd1832ab"></a> <a id="org13966f7"></a>
</p> </p>
<p> <p>
@ -575,7 +587,7 @@ The &ldquo;Gershgorin Radii&rdquo; of a matrix \(S\) is defined by:
</p> </p>
<div id="orge357d8b" class="figure"> <div id="org4fba603" class="figure">
<p><img src="figs/gravimeter_gershgorin_radii.png" alt="gravimeter_gershgorin_radii.png" /> <p><img src="figs/gravimeter_gershgorin_radii.png" alt="gravimeter_gershgorin_radii.png" />
</p> </p>
<p><span class="figure-number">Figure 9: </span>Gershgorin Radii of the Coupled and Decoupled plants</p> <p><span class="figure-number">Figure 9: </span>Gershgorin Radii of the Coupled and Decoupled plants</p>
@ -583,11 +595,11 @@ The &ldquo;Gershgorin Radii&rdquo; of a matrix \(S\) is defined by:
</div> </div>
</div> </div>
<div id="outline-container-orgbca2cd5" class="outline-3"> <div id="outline-container-org4b89a71" class="outline-3">
<h3 id="orgbca2cd5"><span class="section-number-3">1.7</span> Verification of the decoupling using the &ldquo;Relative Gain Array&rdquo;</h3> <h3 id="org4b89a71"><span class="section-number-3">1.7</span> Verification of the decoupling using the &ldquo;Relative Gain Array&rdquo;</h3>
<div class="outline-text-3" id="text-1-7"> <div class="outline-text-3" id="text-1-7">
<p> <p>
<a id="org2991259"></a> <a id="org8670ef6"></a>
</p> </p>
<p> <p>
@ -601,11 +613,11 @@ where \(\times\) denotes an element by element multiplication and \(G(s)\) is an
</p> </p>
<p> <p>
The obtained RGA elements are shown in Figure <a href="#orga40b158">10</a>. The obtained RGA elements are shown in Figure <a href="#orgf834281">10</a>.
</p> </p>
<div id="orga40b158" class="figure"> <div id="orgf834281" class="figure">
<p><img src="figs/gravimeter_rga.png" alt="gravimeter_rga.png" /> <p><img src="figs/gravimeter_rga.png" alt="gravimeter_rga.png" />
</p> </p>
<p><span class="figure-number">Figure 10: </span>Obtained norm of RGA elements for the SVD decoupled plant and the Jacobian decoupled plant</p> <p><span class="figure-number">Figure 10: </span>Obtained norm of RGA elements for the SVD decoupled plant and the Jacobian decoupled plant</p>
@ -619,7 +631,7 @@ The RGA-number is also a measure of diagonal dominance:
\end{equation} \end{equation}
<div id="org6bf80a7" class="figure"> <div id="org7f17723" class="figure">
<p><img src="figs/gravimeter_rga_num.png" alt="gravimeter_rga_num.png" /> <p><img src="figs/gravimeter_rga_num.png" alt="gravimeter_rga_num.png" />
</p> </p>
<p><span class="figure-number">Figure 11: </span>RGA-Number for the Gravimeter</p> <p><span class="figure-number">Figure 11: </span>RGA-Number for the Gravimeter</p>
@ -627,30 +639,30 @@ The RGA-number is also a measure of diagonal dominance:
</div> </div>
</div> </div>
<div id="outline-container-org3772348" class="outline-3"> <div id="outline-container-org78d0b3c" class="outline-3">
<h3 id="org3772348"><span class="section-number-3">1.8</span> Obtained Decoupled Plants</h3> <h3 id="org78d0b3c"><span class="section-number-3">1.8</span> Obtained Decoupled Plants</h3>
<div class="outline-text-3" id="text-1-8"> <div class="outline-text-3" id="text-1-8">
<p> <p>
<a id="orgdd5b957"></a> <a id="org87a2489"></a>
</p> </p>
<p> <p>
The bode plot of the diagonal and off-diagonal elements of \(G_{SVD}\) are shown in Figure <a href="#orgb350382">12</a>. The bode plot of the diagonal and off-diagonal elements of \(G_{SVD}\) are shown in Figure <a href="#org8f827f7">12</a>.
</p> </p>
<div id="orgb350382" class="figure"> <div id="org8f827f7" class="figure">
<p><img src="figs/gravimeter_decoupled_plant_svd.png" alt="gravimeter_decoupled_plant_svd.png" /> <p><img src="figs/gravimeter_decoupled_plant_svd.png" alt="gravimeter_decoupled_plant_svd.png" />
</p> </p>
<p><span class="figure-number">Figure 12: </span>Decoupled Plant using SVD</p> <p><span class="figure-number">Figure 12: </span>Decoupled Plant using SVD</p>
</div> </div>
<p> <p>
Similarly, the bode plots of the diagonal elements and off-diagonal elements of the decoupled plant \(G_x(s)\) using the Jacobian are shown in Figure <a href="#org6db25d6">13</a>. Similarly, the bode plots of the diagonal elements and off-diagonal elements of the decoupled plant \(G_x(s)\) using the Jacobian are shown in Figure <a href="#orgf479286">13</a>.
</p> </p>
<div id="org6db25d6" class="figure"> <div id="orgf479286" class="figure">
<p><img src="figs/gravimeter_decoupled_plant_jacobian.png" alt="gravimeter_decoupled_plant_jacobian.png" /> <p><img src="figs/gravimeter_decoupled_plant_jacobian.png" alt="gravimeter_decoupled_plant_jacobian.png" />
</p> </p>
<p><span class="figure-number">Figure 13: </span>Gravimeter Platform Plant from forces (resp. torques) applied by the legs to the acceleration (resp. angular acceleration) of the platform as well as all the coupling terms between the two (non-diagonal terms of the transfer function matrix)</p> <p><span class="figure-number">Figure 13: </span>Gravimeter Platform Plant from forces (resp. torques) applied by the legs to the acceleration (resp. angular acceleration) of the platform as well as all the coupling terms between the two (non-diagonal terms of the transfer function matrix)</p>
@ -658,12 +670,12 @@ Similarly, the bode plots of the diagonal elements and off-diagonal elements of
</div> </div>
</div> </div>
<div id="outline-container-orgebfd296" class="outline-3"> <div id="outline-container-orgeec17f1" class="outline-3">
<h3 id="orgebfd296"><span class="section-number-3">1.9</span> Diagonal Controller</h3> <h3 id="orgeec17f1"><span class="section-number-3">1.9</span> Diagonal Controller</h3>
<div class="outline-text-3" id="text-1-9"> <div class="outline-text-3" id="text-1-9">
<p> <p>
<a id="org17936ac"></a> <a id="orgda73577"></a>
The control diagram for the centralized control is shown in Figure <a href="#org5fd6c54">14</a>. The control diagram for the centralized control is shown in Figure <a href="#org028e441">14</a>.
</p> </p>
<p> <p>
@ -672,19 +684,19 @@ The Jacobian is used to convert forces in the cartesian frame to forces applied
</p> </p>
<div id="org5fd6c54" class="figure"> <div id="org028e441" class="figure">
<p><img src="figs/centralized_control_gravimeter.png" alt="centralized_control_gravimeter.png" /> <p><img src="figs/centralized_control_gravimeter.png" alt="centralized_control_gravimeter.png" />
</p> </p>
<p><span class="figure-number">Figure 14: </span>Control Diagram for the Centralized control</p> <p><span class="figure-number">Figure 14: </span>Control Diagram for the Centralized control</p>
</div> </div>
<p> <p>
The SVD control architecture is shown in Figure <a href="#org89cedd1">15</a>. The SVD control architecture is shown in Figure <a href="#org0e0cc89">15</a>.
The matrices \(U\) and \(V\) are used to decoupled the plant \(G\). The matrices \(U\) and \(V\) are used to decoupled the plant \(G\).
</p> </p>
<div id="org89cedd1" class="figure"> <div id="org0e0cc89" class="figure">
<p><img src="figs/svd_control_gravimeter.png" alt="svd_control_gravimeter.png" /> <p><img src="figs/svd_control_gravimeter.png" alt="svd_control_gravimeter.png" />
</p> </p>
<p><span class="figure-number">Figure 15: </span>Control Diagram for the SVD control</p> <p><span class="figure-number">Figure 15: </span>Control Diagram for the SVD control</p>
@ -722,11 +734,11 @@ G_svd = feedback(G, inv(V<span class="org-type">'</span>)<span class="org-type">
</div> </div>
<p> <p>
The obtained diagonal elements of the loop gains are shown in Figure <a href="#org5bcd407">16</a>. The obtained diagonal elements of the loop gains are shown in Figure <a href="#orga6f62fe">16</a>.
</p> </p>
<div id="org5bcd407" class="figure"> <div id="orga6f62fe" class="figure">
<p><img src="figs/gravimeter_comp_loop_gain_diagonal.png" alt="gravimeter_comp_loop_gain_diagonal.png" /> <p><img src="figs/gravimeter_comp_loop_gain_diagonal.png" alt="gravimeter_comp_loop_gain_diagonal.png" />
</p> </p>
<p><span class="figure-number">Figure 16: </span>Comparison of the diagonal elements of the loop gains for the SVD control architecture and the Jacobian one</p> <p><span class="figure-number">Figure 16: </span>Comparison of the diagonal elements of the loop gains for the SVD control architecture and the Jacobian one</p>
@ -734,11 +746,11 @@ The obtained diagonal elements of the loop gains are shown in Figure <a href="#o
</div> </div>
</div> </div>
<div id="outline-container-org0c9d1db" class="outline-3"> <div id="outline-container-orgb44bc2a" class="outline-3">
<h3 id="org0c9d1db"><span class="section-number-3">1.10</span> Closed-Loop system Performances</h3> <h3 id="orgb44bc2a"><span class="section-number-3">1.10</span> Closed-Loop system Performances</h3>
<div class="outline-text-3" id="text-1-10"> <div class="outline-text-3" id="text-1-10">
<p> <p>
<a id="org38df314"></a> <a id="org604735b"></a>
</p> </p>
<p> <p>
@ -769,18 +781,18 @@ ans =
<p> <p>
The obtained transmissibility in Open-loop, for the centralized control as well as for the SVD control are shown in Figure <a href="#org7593ba1">17</a>. The obtained transmissibility in Open-loop, for the centralized control as well as for the SVD control are shown in Figure <a href="#org7361c67">17</a>.
</p> </p>
<div id="org7593ba1" class="figure"> <div id="org7361c67" class="figure">
<p><img src="figs/gravimeter_platform_simscape_cl_transmissibility.png" alt="gravimeter_platform_simscape_cl_transmissibility.png" /> <p><img src="figs/gravimeter_platform_simscape_cl_transmissibility.png" alt="gravimeter_platform_simscape_cl_transmissibility.png" />
</p> </p>
<p><span class="figure-number">Figure 17: </span>Obtained Transmissibility</p> <p><span class="figure-number">Figure 17: </span>Obtained Transmissibility</p>
</div> </div>
<div id="org7064d9d" class="figure"> <div id="org346f8e3" class="figure">
<p><img src="figs/gravimeter_cl_transmissibility_coupling.png" alt="gravimeter_cl_transmissibility_coupling.png" /> <p><img src="figs/gravimeter_cl_transmissibility_coupling.png" alt="gravimeter_cl_transmissibility_coupling.png" />
</p> </p>
<p><span class="figure-number">Figure 18: </span>Obtain coupling terms of the transmissibility matrix</p> <p><span class="figure-number">Figure 18: </span>Obtain coupling terms of the transmissibility matrix</p>
@ -789,8 +801,8 @@ The obtained transmissibility in Open-loop, for the centralized control as well
</div> </div>
<div id="outline-container-org5ab7d88" class="outline-3"> <div id="outline-container-orgc3b906c" class="outline-3">
<h3 id="org5ab7d88"><span class="section-number-3">1.11</span> Robustness to a change of actuator position</h3> <h3 id="orgc3b906c"><span class="section-number-3">1.11</span> Robustness to a change of actuator position</h3>
<div class="outline-text-3" id="text-1-11"> <div class="outline-text-3" id="text-1-11">
<p> <p>
Let say we change the position of the actuators: Let say we change the position of the actuators:
@ -810,7 +822,7 @@ The closed-loop system are still stable, and their
</p> </p>
<div id="org2c9794a" class="figure"> <div id="org8498691" class="figure">
<p><img src="figs/gravimeter_transmissibility_offset_act.png" alt="gravimeter_transmissibility_offset_act.png" /> <p><img src="figs/gravimeter_transmissibility_offset_act.png" alt="gravimeter_transmissibility_offset_act.png" />
</p> </p>
<p><span class="figure-number">Figure 19: </span>Transmissibility for the initial CL system and when the position of actuators are changed</p> <p><span class="figure-number">Figure 19: </span>Transmissibility for the initial CL system and when the position of actuators are changed</p>
@ -818,8 +830,8 @@ The closed-loop system are still stable, and their
</div> </div>
</div> </div>
<div id="outline-container-org059b0c2" class="outline-3"> <div id="outline-container-org3c99d2a" class="outline-3">
<h3 id="org059b0c2"><span class="section-number-3">1.12</span> Combined / comparison of K and M decoupling</h3> <h3 id="org3c99d2a"><span class="section-number-3">1.12</span> Combined / comparison of K and M decoupling</h3>
<div class="outline-text-3" id="text-1-12"> <div class="outline-text-3" id="text-1-12">
<p> <p>
If we want to decouple the system at low frequency (determined by the stiffness matrix), we have to compute the Jacobians at a point where the stiffness matrix is diagonal. If we want to decouple the system at low frequency (determined by the stiffness matrix), we have to compute the Jacobians at a point where the stiffness matrix is diagonal.
@ -840,11 +852,11 @@ To do so, the actuators (springs) should be positioned such that the stiffness m
</p> </p>
</div> </div>
<div id="outline-container-org61dd8b4" class="outline-4"> <div id="outline-container-org1af8b78" class="outline-4">
<h4 id="org61dd8b4"><span class="section-number-4">1.12.1</span> Decoupling of the mass matrix</h4> <h4 id="org1af8b78"><span class="section-number-4">1.12.1</span> Decoupling of the mass matrix</h4>
<div class="outline-text-4" id="text-1-12-1"> <div class="outline-text-4" id="text-1-12-1">
<div id="orga131644" class="figure"> <div id="org4b7d5d2" class="figure">
<p><img src="figs/gravimeter_model_M.png" alt="gravimeter_model_M.png" /> <p><img src="figs/gravimeter_model_M.png" alt="gravimeter_model_M.png" />
</p> </p>
<p><span class="figure-number">Figure 20: </span>Choice of {O} such that the Mass Matrix is Diagonal</p> <p><span class="figure-number">Figure 20: </span>Choice of {O} such that the Mass Matrix is Diagonal</p>
@ -899,7 +911,7 @@ GM.OutputName = {<span class="org-string">'Dx'</span>, <span class="org-string"
</div> </div>
<div id="orgade18cd" class="figure"> <div id="org2604909" class="figure">
<p><img src="figs/jac_decoupling_M.png" alt="jac_decoupling_M.png" /> <p><img src="figs/jac_decoupling_M.png" alt="jac_decoupling_M.png" />
</p> </p>
<p><span class="figure-number">Figure 21: </span>Diagonal and off-diagonal elements of the decoupled plant</p> <p><span class="figure-number">Figure 21: </span>Diagonal and off-diagonal elements of the decoupled plant</p>
@ -907,11 +919,11 @@ GM.OutputName = {<span class="org-string">'Dx'</span>, <span class="org-string"
</div> </div>
</div> </div>
<div id="outline-container-org4b538e4" class="outline-4"> <div id="outline-container-org94b1a6e" class="outline-4">
<h4 id="org4b538e4"><span class="section-number-4">1.12.2</span> Decoupling of the stiffness matrix</h4> <h4 id="org94b1a6e"><span class="section-number-4">1.12.2</span> Decoupling of the stiffness matrix</h4>
<div class="outline-text-4" id="text-1-12-2"> <div class="outline-text-4" id="text-1-12-2">
<div id="org0b05516" class="figure"> <div id="orgdca8baa" class="figure">
<p><img src="figs/gravimeter_model_K.png" alt="gravimeter_model_K.png" /> <p><img src="figs/gravimeter_model_K.png" alt="gravimeter_model_K.png" />
</p> </p>
<p><span class="figure-number">Figure 22: </span>Choice of {O} such that the Stiffness Matrix is Diagonal</p> <p><span class="figure-number">Figure 22: </span>Choice of {O} such that the Stiffness Matrix is Diagonal</p>
@ -943,7 +955,7 @@ GK.OutputName = {<span class="org-string">'Dx'</span>, <span class="org-string"
</div> </div>
<div id="org312513a" class="figure"> <div id="org9d436e9" class="figure">
<p><img src="figs/jac_decoupling_K.png" alt="jac_decoupling_K.png" /> <p><img src="figs/jac_decoupling_K.png" alt="jac_decoupling_K.png" />
</p> </p>
<p><span class="figure-number">Figure 23: </span>Diagonal and off-diagonal elements of the decoupled plant</p> <p><span class="figure-number">Figure 23: </span>Diagonal and off-diagonal elements of the decoupled plant</p>
@ -951,11 +963,11 @@ GK.OutputName = {<span class="org-string">'Dx'</span>, <span class="org-string"
</div> </div>
</div> </div>
<div id="outline-container-orgdbfe04c" class="outline-4"> <div id="outline-container-org0400e21" class="outline-4">
<h4 id="orgdbfe04c"><span class="section-number-4">1.12.3</span> Combined decoupling of the mass and stiffness matrices</h4> <h4 id="org0400e21"><span class="section-number-4">1.12.3</span> Combined decoupling of the mass and stiffness matrices</h4>
<div class="outline-text-4" id="text-1-12-3"> <div class="outline-text-4" id="text-1-12-3">
<div id="orgeb50fff" class="figure"> <div id="org12828a4" class="figure">
<p><img src="figs/gravimeter_model_KM.png" alt="gravimeter_model_KM.png" /> <p><img src="figs/gravimeter_model_KM.png" alt="gravimeter_model_KM.png" />
</p> </p>
<p><span class="figure-number">Figure 24: </span>Ideal location of the actuators such that both the mass and stiffness matrices are diagonal</p> <p><span class="figure-number">Figure 24: </span>Ideal location of the actuators such that both the mass and stiffness matrices are diagonal</p>
@ -1011,7 +1023,7 @@ GKM.OutputName = {<span class="org-string">'Dx'</span>, <span class="org-string
</div> </div>
<div id="orge7f8ac3" class="figure"> <div id="org0aaa15b" class="figure">
<p><img src="figs/jac_decoupling_KM.png" alt="jac_decoupling_KM.png" /> <p><img src="figs/jac_decoupling_KM.png" alt="jac_decoupling_KM.png" />
</p> </p>
<p><span class="figure-number">Figure 25: </span>Diagonal and off-diagonal elements of the decoupled plant</p> <p><span class="figure-number">Figure 25: </span>Diagonal and off-diagonal elements of the decoupled plant</p>
@ -1019,8 +1031,8 @@ GKM.OutputName = {<span class="org-string">'Dx'</span>, <span class="org-string
</div> </div>
</div> </div>
<div id="outline-container-org76dc858" class="outline-4"> <div id="outline-container-orgfb1dce1" class="outline-4">
<h4 id="org76dc858"><span class="section-number-4">1.12.4</span> Conclusion</h4> <h4 id="orgfb1dce1"><span class="section-number-4">1.12.4</span> Conclusion</h4>
<div class="outline-text-4" id="text-1-12-4"> <div class="outline-text-4" id="text-1-12-4">
<p> <p>
Ideally, the mechanical system should be designed in order to have a decoupled stiffness matrix at the CoM of the solid. Ideally, the mechanical system should be designed in order to have a decoupled stiffness matrix at the CoM of the solid.
@ -1034,8 +1046,8 @@ Or it can be decoupled at high frequency if the Jacobians are evaluated at the C
</div> </div>
</div> </div>
<div id="outline-container-org08d2275" class="outline-3"> <div id="outline-container-org7a431a6" class="outline-3">
<h3 id="org08d2275"><span class="section-number-3">1.13</span> SVD decoupling performances</h3> <h3 id="org7a431a6"><span class="section-number-3">1.13</span> SVD decoupling performances</h3>
<div class="outline-text-3" id="text-1-13"> <div class="outline-text-3" id="text-1-13">
<p> <p>
As the SVD is applied on a <b>real approximation</b> of the plant dynamics at a frequency \(\omega_0\), it is foreseen that the effectiveness of the decoupling depends on the validity of the real approximation. As the SVD is applied on a <b>real approximation</b> of the plant dynamics at a frequency \(\omega_0\), it is foreseen that the effectiveness of the decoupling depends on the validity of the real approximation.
@ -1046,7 +1058,7 @@ Let&rsquo;s do the SVD decoupling on a plant that is mostly real (low damping) a
</p> </p>
<p> <p>
Start with small damping, the obtained diagonal and off-diagonal terms are shown in Figure <a href="#orgd96873a">26</a>. Start with small damping, the obtained diagonal and off-diagonal terms are shown in Figure <a href="#org564dcae">26</a>.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab"> c = 2e1; <span class="org-comment">% Actuator Damping [N/(m/s)]</span> <pre class="src src-matlab"> c = 2e1; <span class="org-comment">% Actuator Damping [N/(m/s)]</span>
@ -1054,14 +1066,14 @@ Start with small damping, the obtained diagonal and off-diagonal terms are shown
</div> </div>
<div id="orgd96873a" class="figure"> <div id="org564dcae" class="figure">
<p><img src="figs/gravimeter_svd_low_damping.png" alt="gravimeter_svd_low_damping.png" /> <p><img src="figs/gravimeter_svd_low_damping.png" alt="gravimeter_svd_low_damping.png" />
</p> </p>
<p><span class="figure-number">Figure 26: </span>Diagonal and off-diagonal term when decoupling with SVD on the gravimeter with small damping</p> <p><span class="figure-number">Figure 26: </span>Diagonal and off-diagonal term when decoupling with SVD on the gravimeter with small damping</p>
</div> </div>
<p> <p>
Now take a larger damping, the obtained diagonal and off-diagonal terms are shown in Figure <a href="#org9244166">27</a>. Now take a larger damping, the obtained diagonal and off-diagonal terms are shown in Figure <a href="#org0d243ba">27</a>.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab"> c = 5e2; <span class="org-comment">% Actuator Damping [N/(m/s)]</span> <pre class="src src-matlab"> c = 5e2; <span class="org-comment">% Actuator Damping [N/(m/s)]</span>
@ -1069,7 +1081,7 @@ Now take a larger damping, the obtained diagonal and off-diagonal terms are show
</div> </div>
<div id="org9244166" class="figure"> <div id="org0d243ba" class="figure">
<p><img src="figs/gravimeter_svd_high_damping.png" alt="gravimeter_svd_high_damping.png" /> <p><img src="figs/gravimeter_svd_high_damping.png" alt="gravimeter_svd_high_damping.png" />
</p> </p>
<p><span class="figure-number">Figure 27: </span>Diagonal and off-diagonal term when decoupling with SVD on the gravimeter with high damping</p> <p><span class="figure-number">Figure 27: </span>Diagonal and off-diagonal term when decoupling with SVD on the gravimeter with high damping</p>
@ -1078,14 +1090,14 @@ Now take a larger damping, the obtained diagonal and off-diagonal terms are show
</div> </div>
</div> </div>
<div id="outline-container-org38550a9" class="outline-2"> <div id="outline-container-org1b57bf2" class="outline-2">
<h2 id="org38550a9"><span class="section-number-2">2</span> Stewart Platform - Simscape Model</h2> <h2 id="org1b57bf2"><span class="section-number-2">2</span> Stewart Platform - Simscape Model</h2>
<div class="outline-text-2" id="text-2"> <div class="outline-text-2" id="text-2">
<p> <p>
<a id="orgdd0bcd0"></a> <a id="org4fdf996"></a>
</p> </p>
<p> <p>
In this analysis, we wish to applied SVD control to the Stewart Platform shown in Figure <a href="#org42657f3">28</a>. In this analysis, we wish to applied SVD control to the Stewart Platform shown in Figure <a href="#orgd4d0922">28</a>.
</p> </p>
<p> <p>
@ -1098,7 +1110,7 @@ Some notes about the system:
</ul> </ul>
<div id="org42657f3" class="figure"> <div id="orgd4d0922" class="figure">
<p><img src="figs/SP_assembly.png" alt="SP_assembly.png" /> <p><img src="figs/SP_assembly.png" alt="SP_assembly.png" />
</p> </p>
<p><span class="figure-number">Figure 28: </span>Stewart Platform CAD View</p> <p><span class="figure-number">Figure 28: </span>Stewart Platform CAD View</p>
@ -1108,23 +1120,23 @@ Some notes about the system:
The analysis of the SVD/Jacobian control applied to the Stewart platform is performed in the following sections: The analysis of the SVD/Jacobian control applied to the Stewart platform is performed in the following sections:
</p> </p>
<ul class="org-ul"> <ul class="org-ul">
<li>Section <a href="#org2839fed">2.1</a>: The parameters of the Simscape model of the Stewart platform are defined</li> <li>Section <a href="#orga1c7044">2.1</a>: The parameters of the Simscape model of the Stewart platform are defined</li>
<li>Section <a href="#orgfc6a5d9">2.2</a>: The plant is identified from the Simscape model and the system coupling is shown</li> <li>Section <a href="#org546bad6">2.2</a>: The plant is identified from the Simscape model and the system coupling is shown</li>
<li>Section <a href="#org31c80d2">2.3</a>: The plant is first decoupled using the Jacobian</li> <li>Section <a href="#org21232c0">2.3</a>: The plant is first decoupled using the Jacobian</li>
<li>Section <a href="#org082ecd5">2.4</a>: The decoupling is performed thanks to the SVD. To do so a real approximation of the plant is computed.</li> <li>Section <a href="#orgcf9c0ae">2.4</a>: The decoupling is performed thanks to the SVD. To do so a real approximation of the plant is computed.</li>
<li>Section <a href="#org7b4b916">2.5</a>: The effectiveness of the decoupling with the Jacobian and SVD are compared using the Gershorin Radii</li> <li>Section <a href="#org7b3f007">2.5</a>: The effectiveness of the decoupling with the Jacobian and SVD are compared using the Gershorin Radii</li>
<li>Section <a href="#org7f8cefb">2.6</a>:</li> <li>Section <a href="#orgf2dc7ad">2.6</a>:</li>
<li>Section <a href="#org7ebca60">2.7</a>: The dynamics of the decoupled plants are shown</li> <li>Section <a href="#org6b5b9d2">2.7</a>: The dynamics of the decoupled plants are shown</li>
<li>Section <a href="#org9ffaf36">2.8</a>: A diagonal controller is defined to control the decoupled plant</li> <li>Section <a href="#org442d74c">2.8</a>: A diagonal controller is defined to control the decoupled plant</li>
<li>Section <a href="#orgd3e0622">2.9</a>: Finally, the closed loop system properties are studied</li> <li>Section <a href="#orgc1221f1">2.9</a>: Finally, the closed loop system properties are studied</li>
</ul> </ul>
</div> </div>
<div id="outline-container-orgc82a123" class="outline-3"> <div id="outline-container-orgca0d143" class="outline-3">
<h3 id="orgc82a123"><span class="section-number-3">2.1</span> Simscape Model - Parameters</h3> <h3 id="orgca0d143"><span class="section-number-3">2.1</span> Simscape Model - Parameters</h3>
<div class="outline-text-3" id="text-2-1"> <div class="outline-text-3" id="text-2-1">
<p> <p>
<a id="org2839fed"></a> <a id="orga1c7044"></a>
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab"> open(<span class="org-string">'drone_platform.slx'</span>); <pre class="src src-matlab"> open(<span class="org-string">'drone_platform.slx'</span>);
@ -1180,14 +1192,14 @@ Kc = tf(zeros(6));
</div> </div>
<div id="orgc83fd35" class="figure"> <div id="orgbb8f3ee" class="figure">
<p><img src="figs/stewart_simscape.png" alt="stewart_simscape.png" /> <p><img src="figs/stewart_simscape.png" alt="stewart_simscape.png" />
</p> </p>
<p><span class="figure-number">Figure 29: </span>General view of the Simscape Model</p> <p><span class="figure-number">Figure 29: </span>General view of the Simscape Model</p>
</div> </div>
<div id="orgb3d0427" class="figure"> <div id="orge14b371" class="figure">
<p><img src="figs/stewart_platform_details.png" alt="stewart_platform_details.png" /> <p><img src="figs/stewart_platform_details.png" alt="stewart_platform_details.png" />
</p> </p>
<p><span class="figure-number">Figure 30: </span>Simscape model of the Stewart platform</p> <p><span class="figure-number">Figure 30: </span>Simscape model of the Stewart platform</p>
@ -1195,15 +1207,15 @@ Kc = tf(zeros(6));
</div> </div>
</div> </div>
<div id="outline-container-org8f5ce51" class="outline-3"> <div id="outline-container-orge966157" class="outline-3">
<h3 id="org8f5ce51"><span class="section-number-3">2.2</span> Identification of the plant</h3> <h3 id="orge966157"><span class="section-number-3">2.2</span> Identification of the plant</h3>
<div class="outline-text-3" id="text-2-2"> <div class="outline-text-3" id="text-2-2">
<p> <p>
<a id="orgfc6a5d9"></a> <a id="org546bad6"></a>
</p> </p>
<p> <p>
The plant shown in Figure <a href="#org92e9299">31</a> is identified from the Simscape model. The plant shown in Figure <a href="#org88a491a">31</a> is identified from the Simscape model.
</p> </p>
<p> <p>
@ -1219,7 +1231,7 @@ The outputs are the 6 accelerations measured by the inertial unit.
</p> </p>
<div id="org92e9299" class="figure"> <div id="org88a491a" class="figure">
<p><img src="figs/stewart_platform_plant.png" alt="stewart_platform_plant.png" /> <p><img src="figs/stewart_platform_plant.png" alt="stewart_platform_plant.png" />
</p> </p>
<p><span class="figure-number">Figure 31: </span>Considered plant \(\bm{G} = \begin{bmatrix}G_d\\G_u\end{bmatrix}\). \(D_w\) is the translation/rotation of the support, \(\tau\) the actuator forces, \(a\) the acceleration/angular acceleration of the top platform</p> <p><span class="figure-number">Figure 31: </span>Considered plant \(\bm{G} = \begin{bmatrix}G_d\\G_u\end{bmatrix}\). \(D_w\) is the translation/rotation of the support, \(\tau\) the actuator forces, \(a\) the acceleration/angular acceleration of the top platform</p>
@ -1261,7 +1273,7 @@ State-space model with 6 outputs, 12 inputs, and 24 states.
<p> <p>
The elements of the transfer matrix \(\bm{G}\) corresponding to the transfer function from actuator forces \(\tau\) to the measured acceleration \(a\) are shown in Figure <a href="#org4baf2eb">32</a>. The elements of the transfer matrix \(\bm{G}\) corresponding to the transfer function from actuator forces \(\tau\) to the measured acceleration \(a\) are shown in Figure <a href="#orgb128dfb">32</a>.
</p> </p>
<p> <p>
@ -1269,7 +1281,7 @@ One can easily see that the system is strongly coupled.
</p> </p>
<div id="org4baf2eb" class="figure"> <div id="orgb128dfb" class="figure">
<p><img src="figs/stewart_platform_coupled_plant.png" alt="stewart_platform_coupled_plant.png" /> <p><img src="figs/stewart_platform_coupled_plant.png" alt="stewart_platform_coupled_plant.png" />
</p> </p>
<p><span class="figure-number">Figure 32: </span>Magnitude of all 36 elements of the transfer function matrix \(G_u\)</p> <p><span class="figure-number">Figure 32: </span>Magnitude of all 36 elements of the transfer function matrix \(G_u\)</p>
@ -1277,12 +1289,12 @@ One can easily see that the system is strongly coupled.
</div> </div>
</div> </div>
<div id="outline-container-orgd31d190" class="outline-3"> <div id="outline-container-org35c4aae" class="outline-3">
<h3 id="orgd31d190"><span class="section-number-3">2.3</span> Decoupling using the Jacobian</h3> <h3 id="org35c4aae"><span class="section-number-3">2.3</span> Decoupling using the Jacobian</h3>
<div class="outline-text-3" id="text-2-3"> <div class="outline-text-3" id="text-2-3">
<p> <p>
<a id="org31c80d2"></a> <a id="org21232c0"></a>
Consider the control architecture shown in Figure <a href="#orgb580e31">33</a>. Consider the control architecture shown in Figure <a href="#orgffc1e65">33</a>.
The Jacobian matrix is used to transform forces/torques applied on the top platform to the equivalent forces applied by each actuator. The Jacobian matrix is used to transform forces/torques applied on the top platform to the equivalent forces applied by each actuator.
</p> </p>
@ -1364,7 +1376,7 @@ The Jacobian matrix is computed from the geometry of the platform (position and
</table> </table>
<div id="orgb580e31" class="figure"> <div id="orgffc1e65" class="figure">
<p><img src="figs/plant_decouple_jacobian.png" alt="plant_decouple_jacobian.png" /> <p><img src="figs/plant_decouple_jacobian.png" alt="plant_decouple_jacobian.png" />
</p> </p>
<p><span class="figure-number">Figure 33: </span>Decoupled plant \(\bm{G}_x\) using the Jacobian matrix \(J\)</p> <p><span class="figure-number">Figure 33: </span>Decoupled plant \(\bm{G}_x\) using the Jacobian matrix \(J\)</p>
@ -1387,11 +1399,11 @@ Gx.InputName = {<span class="org-string">'Fx'</span>, <span class="org-string">
</div> </div>
</div> </div>
<div id="outline-container-org3e510f8" class="outline-3"> <div id="outline-container-org896c978" class="outline-3">
<h3 id="org3e510f8"><span class="section-number-3">2.4</span> Decoupling using the SVD</h3> <h3 id="org896c978"><span class="section-number-3">2.4</span> Decoupling using the SVD</h3>
<div class="outline-text-3" id="text-2-4"> <div class="outline-text-3" id="text-2-4">
<p> <p>
<a id="org082ecd5"></a> <a id="orgcf9c0ae"></a>
</p> </p>
<p> <p>
@ -1727,11 +1739,11 @@ Now, the Singular Value Decomposition of \(H_1\) is performed:
</table> </table>
<p> <p>
The obtained matrices \(U\) and \(V\) are used to decouple the system as shown in Figure <a href="#org734153e">34</a>. The obtained matrices \(U\) and \(V\) are used to decouple the system as shown in Figure <a href="#orga5ec73d">34</a>.
</p> </p>
<div id="org734153e" class="figure"> <div id="orga5ec73d" class="figure">
<p><img src="figs/plant_decouple_svd.png" alt="plant_decouple_svd.png" /> <p><img src="figs/plant_decouple_svd.png" alt="plant_decouple_svd.png" />
</p> </p>
<p><span class="figure-number">Figure 34: </span>Decoupled plant \(\bm{G}_{SVD}\) using the Singular Value Decomposition</p> <p><span class="figure-number">Figure 34: </span>Decoupled plant \(\bm{G}_{SVD}\) using the Singular Value Decomposition</p>
@ -1749,11 +1761,11 @@ The decoupled plant is then:
</div> </div>
</div> </div>
<div id="outline-container-org987bd17" class="outline-3"> <div id="outline-container-orgb0956ea" class="outline-3">
<h3 id="org987bd17"><span class="section-number-3">2.5</span> Verification of the decoupling using the &ldquo;Gershgorin Radii&rdquo;</h3> <h3 id="orgb0956ea"><span class="section-number-3">2.5</span> Verification of the decoupling using the &ldquo;Gershgorin Radii&rdquo;</h3>
<div class="outline-text-3" id="text-2-5"> <div class="outline-text-3" id="text-2-5">
<p> <p>
<a id="org7b4b916"></a> <a id="org7b3f007"></a>
</p> </p>
<p> <p>
@ -1769,7 +1781,7 @@ The &ldquo;Gershgorin Radii&rdquo; of a matrix \(S\) is defined by:
This is computed over the following frequencies. This is computed over the following frequencies.
</p> </p>
<div id="orga0c804e" class="figure"> <div id="orgb14b597" class="figure">
<p><img src="figs/simscape_model_gershgorin_radii.png" alt="simscape_model_gershgorin_radii.png" /> <p><img src="figs/simscape_model_gershgorin_radii.png" alt="simscape_model_gershgorin_radii.png" />
</p> </p>
<p><span class="figure-number">Figure 35: </span>Gershgorin Radii of the Coupled and Decoupled plants</p> <p><span class="figure-number">Figure 35: </span>Gershgorin Radii of the Coupled and Decoupled plants</p>
@ -1777,11 +1789,11 @@ This is computed over the following frequencies.
</div> </div>
</div> </div>
<div id="outline-container-org16c82ca" class="outline-3"> <div id="outline-container-orgfd99bee" class="outline-3">
<h3 id="org16c82ca"><span class="section-number-3">2.6</span> Verification of the decoupling using the &ldquo;Relative Gain Array&rdquo;</h3> <h3 id="orgfd99bee"><span class="section-number-3">2.6</span> Verification of the decoupling using the &ldquo;Relative Gain Array&rdquo;</h3>
<div class="outline-text-3" id="text-2-6"> <div class="outline-text-3" id="text-2-6">
<p> <p>
<a id="org7f8cefb"></a> <a id="orgf2dc7ad"></a>
</p> </p>
<p> <p>
@ -1795,11 +1807,11 @@ where \(\times\) denotes an element by element multiplication and \(G(s)\) is an
</p> </p>
<p> <p>
The obtained RGA elements are shown in Figure <a href="#org06754d7">36</a>. The obtained RGA elements are shown in Figure <a href="#org4ac1778">36</a>.
</p> </p>
<div id="org06754d7" class="figure"> <div id="org4ac1778" class="figure">
<p><img src="figs/simscape_model_rga.png" alt="simscape_model_rga.png" /> <p><img src="figs/simscape_model_rga.png" alt="simscape_model_rga.png" />
</p> </p>
<p><span class="figure-number">Figure 36: </span>Obtained norm of RGA elements for the SVD decoupled plant and the Jacobian decoupled plant</p> <p><span class="figure-number">Figure 36: </span>Obtained norm of RGA elements for the SVD decoupled plant and the Jacobian decoupled plant</p>
@ -1807,30 +1819,30 @@ The obtained RGA elements are shown in Figure <a href="#org06754d7">36</a>.
</div> </div>
</div> </div>
<div id="outline-container-org65a35cc" class="outline-3"> <div id="outline-container-orgceebcef" class="outline-3">
<h3 id="org65a35cc"><span class="section-number-3">2.7</span> Obtained Decoupled Plants</h3> <h3 id="orgceebcef"><span class="section-number-3">2.7</span> Obtained Decoupled Plants</h3>
<div class="outline-text-3" id="text-2-7"> <div class="outline-text-3" id="text-2-7">
<p> <p>
<a id="org7ebca60"></a> <a id="org6b5b9d2"></a>
</p> </p>
<p> <p>
The bode plot of the diagonal and off-diagonal elements of \(G_{SVD}\) are shown in Figure <a href="#org25fdf00">37</a>. The bode plot of the diagonal and off-diagonal elements of \(G_{SVD}\) are shown in Figure <a href="#org260d122">37</a>.
</p> </p>
<div id="org25fdf00" class="figure"> <div id="org260d122" class="figure">
<p><img src="figs/simscape_model_decoupled_plant_svd.png" alt="simscape_model_decoupled_plant_svd.png" /> <p><img src="figs/simscape_model_decoupled_plant_svd.png" alt="simscape_model_decoupled_plant_svd.png" />
</p> </p>
<p><span class="figure-number">Figure 37: </span>Decoupled Plant using SVD</p> <p><span class="figure-number">Figure 37: </span>Decoupled Plant using SVD</p>
</div> </div>
<p> <p>
Similarly, the bode plots of the diagonal elements and off-diagonal elements of the decoupled plant \(G_x(s)\) using the Jacobian are shown in Figure <a href="#org4c87349">38</a>. Similarly, the bode plots of the diagonal elements and off-diagonal elements of the decoupled plant \(G_x(s)\) using the Jacobian are shown in Figure <a href="#orge8071f1">38</a>.
</p> </p>
<div id="org4c87349" class="figure"> <div id="orge8071f1" class="figure">
<p><img src="figs/simscape_model_decoupled_plant_jacobian.png" alt="simscape_model_decoupled_plant_jacobian.png" /> <p><img src="figs/simscape_model_decoupled_plant_jacobian.png" alt="simscape_model_decoupled_plant_jacobian.png" />
</p> </p>
<p><span class="figure-number">Figure 38: </span>Stewart Platform Plant from forces (resp. torques) applied by the legs to the acceleration (resp. angular acceleration) of the platform as well as all the coupling terms between the two (non-diagonal terms of the transfer function matrix)</p> <p><span class="figure-number">Figure 38: </span>Stewart Platform Plant from forces (resp. torques) applied by the legs to the acceleration (resp. angular acceleration) of the platform as well as all the coupling terms between the two (non-diagonal terms of the transfer function matrix)</p>
@ -1838,12 +1850,12 @@ Similarly, the bode plots of the diagonal elements and off-diagonal elements of
</div> </div>
</div> </div>
<div id="outline-container-orgab6b741" class="outline-3"> <div id="outline-container-org3a97dc4" class="outline-3">
<h3 id="orgab6b741"><span class="section-number-3">2.8</span> Diagonal Controller</h3> <h3 id="org3a97dc4"><span class="section-number-3">2.8</span> Diagonal Controller</h3>
<div class="outline-text-3" id="text-2-8"> <div class="outline-text-3" id="text-2-8">
<p> <p>
<a id="org9ffaf36"></a> <a id="org442d74c"></a>
The control diagram for the centralized control is shown in Figure <a href="#org7614ead">39</a>. The control diagram for the centralized control is shown in Figure <a href="#org6722000">39</a>.
</p> </p>
<p> <p>
@ -1852,19 +1864,19 @@ The Jacobian is used to convert forces in the cartesian frame to forces applied
</p> </p>
<div id="org7614ead" class="figure"> <div id="org6722000" class="figure">
<p><img src="figs/centralized_control.png" alt="centralized_control.png" /> <p><img src="figs/centralized_control.png" alt="centralized_control.png" />
</p> </p>
<p><span class="figure-number">Figure 39: </span>Control Diagram for the Centralized control</p> <p><span class="figure-number">Figure 39: </span>Control Diagram for the Centralized control</p>
</div> </div>
<p> <p>
The SVD control architecture is shown in Figure <a href="#orgb562867">40</a>. The SVD control architecture is shown in Figure <a href="#org72ab4c2">40</a>.
The matrices \(U\) and \(V\) are used to decoupled the plant \(G\). The matrices \(U\) and \(V\) are used to decoupled the plant \(G\).
</p> </p>
<div id="orgb562867" class="figure"> <div id="org72ab4c2" class="figure">
<p><img src="figs/svd_control.png" alt="svd_control.png" /> <p><img src="figs/svd_control.png" alt="svd_control.png" />
</p> </p>
<p><span class="figure-number">Figure 40: </span>Control Diagram for the SVD control</p> <p><span class="figure-number">Figure 40: </span>Control Diagram for the SVD control</p>
@ -1901,11 +1913,11 @@ G_svd = feedback(G, inv(V<span class="org-type">'</span>)<span class="org-type">
</div> </div>
<p> <p>
The obtained diagonal elements of the loop gains are shown in Figure <a href="#org2b18c0b">41</a>. The obtained diagonal elements of the loop gains are shown in Figure <a href="#orgc88b440">41</a>.
</p> </p>
<div id="org2b18c0b" class="figure"> <div id="orgc88b440" class="figure">
<p><img src="figs/stewart_comp_loop_gain_diagonal.png" alt="stewart_comp_loop_gain_diagonal.png" /> <p><img src="figs/stewart_comp_loop_gain_diagonal.png" alt="stewart_comp_loop_gain_diagonal.png" />
</p> </p>
<p><span class="figure-number">Figure 41: </span>Comparison of the diagonal elements of the loop gains for the SVD control architecture and the Jacobian one</p> <p><span class="figure-number">Figure 41: </span>Comparison of the diagonal elements of the loop gains for the SVD control architecture and the Jacobian one</p>
@ -1913,11 +1925,11 @@ The obtained diagonal elements of the loop gains are shown in Figure <a href="#o
</div> </div>
</div> </div>
<div id="outline-container-orgf598e01" class="outline-3"> <div id="outline-container-org8d85d27" class="outline-3">
<h3 id="orgf598e01"><span class="section-number-3">2.9</span> Closed-Loop system Performances</h3> <h3 id="org8d85d27"><span class="section-number-3">2.9</span> Closed-Loop system Performances</h3>
<div class="outline-text-3" id="text-2-9"> <div class="outline-text-3" id="text-2-9">
<p> <p>
<a id="orgd3e0622"></a> <a id="orgc1221f1"></a>
</p> </p>
<p> <p>
@ -1948,11 +1960,11 @@ ans =
<p> <p>
The obtained transmissibility in Open-loop, for the centralized control as well as for the SVD control are shown in Figure <a href="#orgde02e04">42</a>. The obtained transmissibility in Open-loop, for the centralized control as well as for the SVD control are shown in Figure <a href="#orga87ddd1">42</a>.
</p> </p>
<div id="orgde02e04" class="figure"> <div id="orga87ddd1" class="figure">
<p><img src="figs/stewart_platform_simscape_cl_transmissibility.png" alt="stewart_platform_simscape_cl_transmissibility.png" /> <p><img src="figs/stewart_platform_simscape_cl_transmissibility.png" alt="stewart_platform_simscape_cl_transmissibility.png" />
</p> </p>
<p><span class="figure-number">Figure 42: </span>Obtained Transmissibility</p> <p><span class="figure-number">Figure 42: </span>Obtained Transmissibility</p>
@ -1963,7 +1975,7 @@ The obtained transmissibility in Open-loop, for the centralized control as well
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-12-10 jeu. 13:51</p> <p class="date">Created: 2021-01-08 ven. 13:57</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -41,6 +41,12 @@
#+PROPERTY: header-args:latex+ :post pdf2svg(file=*this*, ext="png") #+PROPERTY: header-args:latex+ :post pdf2svg(file=*this*, ext="png")
:END: :END:
#+begin_export html
<hr>
<p>This report is also available as a <a href="./index.pdf">pdf</a>.</p>
<hr>
#+end_export
* Introduction :ignore: * Introduction :ignore:
In this document, the use of the Jacobian matrix and the Singular Value Decomposition to render a physical plant diagonal dominant is studied. In this document, the use of the Jacobian matrix and the Singular Value Decomposition to render a physical plant diagonal dominant is studied.