nass-simscape/docs/control_active_damping.html

1692 lines
70 KiB
HTML
Raw Normal View History

2020-03-23 10:05:32 +01:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
2021-02-20 23:09:27 +01:00
<!-- 2021-02-20 sam. 23:09 -->
2020-03-23 10:05:32 +01:00
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Active Damping applied on the Simscape Model</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" />
2021-02-20 23:09:27 +01:00
<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>
MathJax = {
svg: {
scale: 1,
fontCache: "global"
},
tex: {
tags: "ams",
multlineWidth: "%MULTLINEWIDTH",
tagSide: "right",
macros: {bm: ["\\boldsymbol{#1}",1],},
tagIndent: ".8em"
}
};
</script>
<script id="MathJax-script" async
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
2020-03-23 10:05:32 +01:00
</head>
<body>
<div id="org-div-home-and-up">
<a accesskey="h" href="./index.html"> UP </a>
|
2021-02-20 23:09:27 +01:00
<a accesskey="H" href="../../index.html"> HOME </a>
2020-03-23 10:05:32 +01:00
</div><div id="content">
<h1 class="title">Active Damping applied on the Simscape Model</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#org3e7994e">1. Undamped System</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#org29c874d">1.1. Identification of the dynamics for Active Damping</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#org6ad7bc6">1.1.1. Identification</a></li>
<li><a href="#org4b64279">1.1.2. Obtained Plants for Active Damping</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
2021-02-20 23:09:27 +01:00
<li><a href="#org0634bc8">1.2. Identification of the dynamics for High Authority Control</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#org27bcaf9">1.2.1. Identification</a></li>
<li><a href="#org28b40ff">1.2.2. Obtained Plants</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
2021-02-20 23:09:27 +01:00
<li><a href="#org99a97e1">1.3. Tomography Experiment</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#org9f97098">1.3.1. Simulation</a></li>
<li><a href="#org1407c1e">1.3.2. Results</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
</ul>
</li>
2021-02-20 23:09:27 +01:00
<li><a href="#orgb8326e0">2. Variability of the system dynamics for Active Damping</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#org5f6301d">2.1. Variation of the Sample Mass</a></li>
<li><a href="#org3f0aaa9">2.2. Variation of the Spindle Angle</a></li>
<li><a href="#orge654d81">2.3. Variation of the Spindle Rotation Speed</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#orgaf8324e">2.3.1. Dynamics of the Active Damping plants</a></li>
<li><a href="#org3817672">2.3.2. Variation of the poles and zeros with the Spindle rotation frequency</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
2021-02-20 23:09:27 +01:00
<li><a href="#orgc064ae1">2.4. Variation of the Tilt Angle</a></li>
<li><a href="#orgbc574a9">2.5. Scans of the Translation Stage</a></li>
<li><a href="#org9347d04">2.6. Conclusion</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
2021-02-20 23:09:27 +01:00
<li><a href="#org6b638c0">3. Integral Force Feedback</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#orgfae3b57">3.1. Control Design</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#org729d0e6">3.1.1. Plant</a></li>
<li><a href="#org784be74">3.1.2. Control Design</a></li>
<li><a href="#org3e29b9e">3.1.3. Diagonal Controller</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
2021-02-20 23:09:27 +01:00
<li><a href="#org0f4e370">3.2. Tomography Experiment</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#org1c04824">3.2.1. Simulation with IFF Controller</a></li>
<li><a href="#org7a53b27">3.2.2. Compare with Undamped system</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
2021-02-20 23:09:27 +01:00
<li><a href="#orga0cf9cc">3.3. Conclusion</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
2021-02-20 23:09:27 +01:00
<li><a href="#org324a1c7">4. Direct Velocity Feedback</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#orgd6d97e6">4.1. Control Design</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#org95a3f7a">4.1.1. Plant</a></li>
<li><a href="#org9d4677b">4.1.2. Control Design</a></li>
<li><a href="#orgae07839">4.1.3. Diagonal Controller</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
2021-02-20 23:09:27 +01:00
<li><a href="#org6ca2bae">4.2. Tomography Experiment</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#org8370aed">4.2.1. Initialize the Simulation</a></li>
<li><a href="#org989acd1">4.2.2. Compare with Undamped system</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
2021-02-20 23:09:27 +01:00
<li><a href="#org611e81a">4.3. Conclusion</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
2021-02-20 23:09:27 +01:00
<li><a href="#org4f1ede7">5. Inertial Control</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#org122fa27">5.1. Control Design</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#org7b16367">5.1.1. Plant</a></li>
<li><a href="#org5fb10d5">5.1.2. Control Design</a></li>
<li><a href="#org3bd97f4">5.1.3. Diagonal Controller</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
2021-02-20 23:09:27 +01:00
<li><a href="#org09b6af0">5.2. Conclusion</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
2021-02-20 23:09:27 +01:00
<li><a href="#orgeade460">6. Comparison</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#orgb397b0e">6.1. Load the plants</a></li>
<li><a href="#org5624749">6.2. Sensitivity to Disturbance</a></li>
<li><a href="#org71dc45c">6.3. Damped Plant</a></li>
<li><a href="#orga09678e">6.4. Tomography Experiment - Frequency Domain analysis</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
2021-02-20 23:09:27 +01:00
<li><a href="#orgcb1f871">7. Useful Functions</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#orgf0d818a">7.1. prepareLinearizeIdentification</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#orgf063bf6">Function Description</a></li>
<li><a href="#org8f44cc2">Optional Parameters</a></li>
<li><a href="#org172488a">Initialize the Simulation</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
2021-02-20 23:09:27 +01:00
<li><a href="#orgb618852">7.2. prepareTomographyExperiment</a>
2020-03-23 10:05:32 +01:00
<ul>
2021-02-20 23:09:27 +01:00
<li><a href="#orga58a060">Function Description</a></li>
<li><a href="#org3fe719e">Optional Parameters</a></li>
<li><a href="#org9400815">Initialize the Simulation</a></li>
2020-03-23 10:05:32 +01:00
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<p>
The goal of this file is to study the use of active damping for the control of the NASS.
</p>
<p>
In general, three sensors can be used for Active Damping:
</p>
<ul class="org-ul">
<li>A force sensor</li>
<li>A relative motion sensor such as a capacitive sensor</li>
<li>An inertial sensor such as an accelerometer of geophone</li>
</ul>
<p>
2021-02-20 23:09:27 +01:00
First, in section <a href="#org560d1bb">1</a>, we look at the undamped system and we identify the dynamics from the actuators to the three sensor types.
2020-03-23 10:05:32 +01:00
</p>
<p>
2021-02-20 23:09:27 +01:00
Then, in section <a href="#org2f9454b">2</a>, we study the change of dynamics for the active damping plants with respect to various experimental conditions such as the sample mass and the spindle rotation speed.
2020-03-23 10:05:32 +01:00
</p>
<p>
Then, we will apply and compare the results of three active damping techniques:
</p>
<ul class="org-ul">
2021-02-20 23:09:27 +01:00
<li>In section <a href="#orge391376">3</a>: Integral Force Feedback is applied</li>
<li>In section <a href="#orgbc7558f">4</a>: Direct Velocity Feedback using a relative motion sensor is applied</li>
<li>In section <a href="#org59feb01">5</a>: Inertial Control using a geophone is applied</li>
2020-03-23 10:05:32 +01:00
</ul>
<p>
For each of the active damping technique, we:
</p>
<ul class="org-ul">
<li>Look at the obtain damped plant that will be used for High Authority control</li>
<li>Simulate tomography experiments</li>
<li>Compare the sensitivity from disturbances</li>
</ul>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org3e7994e" class="outline-2">
<h2 id="org3e7994e"><span class="section-number-2">1</span> Undamped System</h2>
2020-03-23 10:05:32 +01:00
<div class="outline-text-2" id="text-1">
<p>
2021-02-20 23:09:27 +01:00
<a id="org560d1bb"></a>
2020-03-23 10:05:32 +01:00
</p>
<p>
In this section, we identify the dynamic of the system from forces applied in the nano-hexapod legs to the various sensors included in the nano-hexapod that could be use for Active Damping, namely:
</p>
<ul class="org-ul">
<li>A relative motion sensor, measuring the relative displacement of each of the leg</li>
<li>A force sensor measuring the total force transmitted to the top part of the leg in the direction of the leg</li>
<li>A absolute velocity sensor measuring the absolute velocity of the top part of the leg in the direction of the leg</li>
</ul>
<p>
After that, a tomography experiment is simulation without any active damping techniques.
</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org29c874d" class="outline-3">
<h3 id="org29c874d"><span class="section-number-3">1.1</span> Identification of the dynamics for Active Damping</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-1-1">
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org6ad7bc6" class="outline-4">
<h4 id="org6ad7bc6"><span class="section-number-4">1.1.1</span> Identification</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-1-1-1">
<p>
We initialize all the stages with the default parameters.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> prepareLinearizeIdentification();
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We identify the dynamics of the system using the <code>linearize</code> function.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> <span class="org-matlab-cellbreak"><span class="org-comment">%% Options for Linearized</span></span>
options = linearizeOptions;
options.SampleTime = 0;
2020-03-23 10:05:32 +01:00
2021-02-20 23:09:27 +01:00
<span class="org-matlab-cellbreak"><span class="org-comment">%% Name of the Simulink File</span></span>
mdl = <span class="org-string">'nass_model'</span>;
2020-03-23 10:05:32 +01:00
2021-02-20 23:09:27 +01:00
<span class="org-matlab-cellbreak"><span class="org-comment">%% Input/Output definition</span></span>
clear io; io_i = 1;
io(io_i) = linio([mdl, <span class="org-string">'/Controller'</span>], 1, <span class="org-string">'openinput'</span>); io_i = io_i <span class="org-type">+</span> 1; <span class="org-comment">% Actuator Inputs</span>
io(io_i) = linio([mdl, <span class="org-string">'/Micro-Station'</span>], 3, <span class="org-string">'openoutput'</span>, [], <span class="org-string">'Dnlm'</span>); io_i = io_i <span class="org-type">+</span> 1; <span class="org-comment">% Relative Motion Outputs</span>
io(io_i) = linio([mdl, <span class="org-string">'/Micro-Station'</span>], 3, <span class="org-string">'openoutput'</span>, [], <span class="org-string">'Fnlm'</span>); io_i = io_i <span class="org-type">+</span> 1; <span class="org-comment">% Force Sensors</span>
io(io_i) = linio([mdl, <span class="org-string">'/Micro-Station'</span>], 3, <span class="org-string">'openoutput'</span>, [], <span class="org-string">'Vlm'</span>); io_i = io_i <span class="org-type">+</span> 1; <span class="org-comment">% Absolute Velocity Outputs</span>
2020-03-23 10:05:32 +01:00
2021-02-20 23:09:27 +01:00
<span class="org-matlab-cellbreak"><span class="org-comment">%% Run the linearization</span></span>
G = linearize(mdl, io, 0.5, options);
G.InputName = {<span class="org-string">'Fnl1'</span>, <span class="org-string">'Fnl2'</span>, <span class="org-string">'Fnl3'</span>, <span class="org-string">'Fnl4'</span>, <span class="org-string">'Fnl5'</span>, <span class="org-string">'Fnl6'</span>};
G.OutputName = {<span class="org-string">'Dnlm1'</span>, <span class="org-string">'Dnlm2'</span>, <span class="org-string">'Dnlm3'</span>, <span class="org-string">'Dnlm4'</span>, <span class="org-string">'Dnlm5'</span>, <span class="org-string">'Dnlm6'</span>, ...
<span class="org-string">'Fnlm1'</span>, <span class="org-string">'Fnlm2'</span>, <span class="org-string">'Fnlm3'</span>, <span class="org-string">'Fnlm4'</span>, <span class="org-string">'Fnlm5'</span>, <span class="org-string">'Fnlm6'</span>, ...
<span class="org-string">'Vnlm1'</span>, <span class="org-string">'Vnlm2'</span>, <span class="org-string">'Vnlm3'</span>, <span class="org-string">'Vnlm4'</span>, <span class="org-string">'Vnlm5'</span>, <span class="org-string">'Vnlm6'</span>};
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We then create transfer functions corresponding to the active damping plants.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> G_iff = minreal(G({<span class="org-string">'Fnlm1'</span>, <span class="org-string">'Fnlm2'</span>, <span class="org-string">'Fnlm3'</span>, <span class="org-string">'Fnlm4'</span>, <span class="org-string">'Fnlm5'</span>, <span class="org-string">'Fnlm6'</span>}, {<span class="org-string">'Fnl1'</span>, <span class="org-string">'Fnl2'</span>, <span class="org-string">'Fnl3'</span>, <span class="org-string">'Fnl4'</span>, <span class="org-string">'Fnl5'</span>, <span class="org-string">'Fnl6'</span>}));
G_dvf = minreal(G({<span class="org-string">'Dnlm1'</span>, <span class="org-string">'Dnlm2'</span>, <span class="org-string">'Dnlm3'</span>, <span class="org-string">'Dnlm4'</span>, <span class="org-string">'Dnlm5'</span>, <span class="org-string">'Dnlm6'</span>}, {<span class="org-string">'Fnl1'</span>, <span class="org-string">'Fnl2'</span>, <span class="org-string">'Fnl3'</span>, <span class="org-string">'Fnl4'</span>, <span class="org-string">'Fnl5'</span>, <span class="org-string">'Fnl6'</span>}));
G_ine = minreal(G({<span class="org-string">'Vnlm1'</span>, <span class="org-string">'Vnlm2'</span>, <span class="org-string">'Vnlm3'</span>, <span class="org-string">'Vnlm4'</span>, <span class="org-string">'Vnlm5'</span>, <span class="org-string">'Vnlm6'</span>}, {<span class="org-string">'Fnl1'</span>, <span class="org-string">'Fnl2'</span>, <span class="org-string">'Fnl3'</span>, <span class="org-string">'Fnl4'</span>, <span class="org-string">'Fnl5'</span>, <span class="org-string">'Fnl6'</span>}));
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
And we save them for further analysis.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> save(<span class="org-string">'./mat/active_damping_undamped_plants.mat'</span>, <span class="org-string">'G_iff'</span>, <span class="org-string">'G_dvf'</span>, <span class="org-string">'G_ine'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org4b64279" class="outline-4">
<h4 id="org4b64279"><span class="section-number-4">1.1.2</span> Obtained Plants for Active Damping</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-1-1-2">
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> load(<span class="org-string">'./mat/active_damping_undamped_plants.mat'</span>, <span class="org-string">'G_iff'</span>, <span class="org-string">'G_dvf'</span>, <span class="org-string">'G_ine'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
2021-02-20 23:09:27 +01:00
<div id="org860160c" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/nass_active_damping_iff_plant.png" alt="nass_active_damping_iff_plant.png" />
</p>
<p><span class="figure-number">Figure 1: </span><code>G_iff</code>: Transfer functions from forces applied in the actuators to the force sensor in each actuator (<a href="./figs/nass_active_damping_iff_plant.png">png</a>, <a href="./figs/nass_active_damping_iff_plant.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org8244b04" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/nass_active_damping_dvf_plant.png" alt="nass_active_damping_dvf_plant.png" />
</p>
<p><span class="figure-number">Figure 2: </span><code>G_dvf</code>: Transfer functions from forces applied in the actuators to the relative motion sensor in each actuator (<a href="./figs/nass_active_damping_dvf_plant.png">png</a>, <a href="./figs/nass_active_damping_dvf_plant.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgc0adfca" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/nass_active_damping_inertial_plant.png" alt="nass_active_damping_inertial_plant.png" />
</p>
<p><span class="figure-number">Figure 3: </span><code>G_ine</code>: Transfer functions from forces applied in the actuators to the geophone located in each leg measuring the absolute velocity of the top part of the leg in the direction of the leg (<a href="./figs/nass_active_damping_inertial_plant.png">png</a>, <a href="./figs/nass_active_damping_inertial_plant.pdf">pdf</a>)</p>
</div>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org0634bc8" class="outline-3">
<h3 id="org0634bc8"><span class="section-number-3">1.2</span> Identification of the dynamics for High Authority Control</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-1-2">
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org27bcaf9" class="outline-4">
<h4 id="org27bcaf9"><span class="section-number-4">1.2.1</span> Identification</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-1-2-1">
<p>
We initialize all the stages with the default parameters.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> prepareLinearizeIdentification();
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We identify the dynamics of the system using the <code>linearize</code> function.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> <span class="org-matlab-cellbreak"><span class="org-comment">%% Options for Linearized</span></span>
options = linearizeOptions;
options.SampleTime = 0;
2020-03-23 10:05:32 +01:00
2021-02-20 23:09:27 +01:00
<span class="org-matlab-cellbreak"><span class="org-comment">%% Name of the Simulink File</span></span>
mdl = <span class="org-string">'nass_model'</span>;
2020-03-23 10:05:32 +01:00
2021-02-20 23:09:27 +01:00
<span class="org-matlab-cellbreak"><span class="org-comment">%% Input/Output definition</span></span>
clear io; io_i = 1;
io(io_i) = linio([mdl, <span class="org-string">'/Controller'</span>], 1, <span class="org-string">'openinput'</span>); io_i = io_i <span class="org-type">+</span> 1; <span class="org-comment">% Actuator Inputs</span>
io(io_i) = linio([mdl, <span class="org-string">'/Tracking Error'</span>], 1, <span class="org-string">'openoutput'</span>, [], <span class="org-string">'En'</span>); io_i = io_i <span class="org-type">+</span> 1; <span class="org-comment">% Metrology Outputs</span>
2020-03-23 10:05:32 +01:00
</pre>
</div>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> masses = [1, 10, 50]; <span class="org-comment">% [kg]</span>
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
And we save them for further analysis.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> save(<span class="org-string">'./mat/active_damping_cart_plants.mat'</span>, <span class="org-string">'G_cart'</span>, <span class="org-string">'masses'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org28b40ff" class="outline-4">
<h4 id="org28b40ff"><span class="section-number-4">1.2.2</span> Obtained Plants</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-1-2-2">
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> load(<span class="org-string">'./mat/active_damping_cart_plants.mat'</span>, <span class="org-string">'G_cart'</span>, <span class="org-string">'masses'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
2021-02-20 23:09:27 +01:00
<div id="org1647807" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/undamped_hac_plant_translations.png" alt="undamped_hac_plant_translations.png" />
</p>
<p><span class="figure-number">Figure 4: </span>Undamped Plant - Translations (<a href="./figs/undamped_hac_plant_translations.png">png</a>, <a href="./figs/undamped_hac_plant_translations.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgdfc42a9" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/undamped_hac_plant_rotations.png" alt="undamped_hac_plant_rotations.png" />
</p>
<p><span class="figure-number">Figure 5: </span>Undamped Plant - Rotations (<a href="./figs/undamped_hac_plant_rotations.png">png</a>, <a href="./figs/undamped_hac_plant_rotations.pdf">pdf</a>)</p>
</div>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org99a97e1" class="outline-3">
<h3 id="org99a97e1"><span class="section-number-3">1.3</span> Tomography Experiment</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-1-3">
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org9f97098" class="outline-4">
<h4 id="org9f97098"><span class="section-number-4">1.3.1</span> Simulation</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-1-3-1">
<p>
We initialize elements for the tomography experiment.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> prepareTomographyExperiment();
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We change the simulation stop time.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> load(<span class="org-string">'mat/conf_simulink.mat'</span>);
<span class="org-matlab-simulink-keyword">set_param</span>(<span class="org-variable-name">conf_simulink</span>, <span class="org-string">'StopTime'</span>, <span class="org-string">'4.5'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
And we simulate the system.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> <span class="org-matlab-simulink-keyword">sim</span>(<span class="org-string">'nass_model'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
Finally, we save the simulation results for further analysis
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> save(<span class="org-string">'./mat/active_damping_tomo_exp.mat'</span>, <span class="org-string">'En'</span>, <span class="org-string">'Eg'</span>, <span class="org-string">'-append'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org1407c1e" class="outline-4">
<h4 id="org1407c1e"><span class="section-number-4">1.3.2</span> Results</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-1-3-2">
<p>
We load the results of tomography experiments.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> load(<span class="org-string">'./mat/active_damping_tomo_exp.mat'</span>, <span class="org-string">'En'</span>);
Fs = 1e3; <span class="org-comment">% Sampling Frequency of the Data</span>
t = (1<span class="org-type">/</span>Fs)<span class="org-type">*</span>[0<span class="org-type">:</span>length(En(<span class="org-type">:</span>,1))<span class="org-type">-</span>1];
2020-03-23 10:05:32 +01:00
</pre>
</div>
2021-02-20 23:09:27 +01:00
<div id="org4aeced1" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/nass_act_damp_undamped_sim_tomo_trans.png" alt="nass_act_damp_undamped_sim_tomo_trans.png" />
</p>
<p><span class="figure-number">Figure 6: </span>Position Error during tomography experiment - Translations (<a href="./figs/nass_act_damp_undamped_sim_tomo_trans.png">png</a>, <a href="./figs/nass_act_damp_undamped_sim_tomo_trans.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org7b68853" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/nass_act_damp_undamped_sim_tomo_rot.png" alt="nass_act_damp_undamped_sim_tomo_rot.png" />
</p>
<p><span class="figure-number">Figure 7: </span>Position Error during tomography experiment - Rotations (<a href="./figs/nass_act_damp_undamped_sim_tomo_rot.png">png</a>, <a href="./figs/nass_act_damp_undamped_sim_tomo_rot.pdf">pdf</a>)</p>
</div>
</div>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orgb8326e0" class="outline-2">
<h2 id="orgb8326e0"><span class="section-number-2">2</span> Variability of the system dynamics for Active Damping</h2>
2020-03-23 10:05:32 +01:00
<div class="outline-text-2" id="text-2">
<p>
2021-02-20 23:09:27 +01:00
<a id="org2f9454b"></a>
2020-03-23 10:05:32 +01:00
</p>
<p>
The goal of this section is to study how the dynamics of the Active Damping plants are changing with the experimental conditions.
These experimental conditions are:
</p>
<ul class="org-ul">
2021-02-20 23:09:27 +01:00
<li>The mass of the sample (section <a href="#org5958493">2.1</a>)</li>
<li>The spindle angle with a null rotating speed (section <a href="#orga2af751">2.2</a>)</li>
<li>The spindle rotation speed (section <a href="#org0130ff7">2.3</a>)</li>
<li>The tilt angle (section <a href="#org1402fda">2.4</a>)</li>
<li>The scans of the translation stage (section <a href="#org34c27b1">2.5</a>)</li>
2020-03-23 10:05:32 +01:00
</ul>
<p>
For the identification of the dynamics, the system is simulation for \(\approx 0.5s\) before the linearization is performed.
This is done in order for the transient phase to be over.
</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org5f6301d" class="outline-3">
<h3 id="org5f6301d"><span class="section-number-3">2.1</span> Variation of the Sample Mass</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-2-1">
<p>
2021-02-20 23:09:27 +01:00
<a id="org5958493"></a>
2020-03-23 10:05:32 +01:00
</p>
<p>
For all the identifications, the disturbances are disabled and no controller are used.
</p>
<p>
We initialize all the stages with the default parameters.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> prepareLinearizeIdentification();
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We identify the dynamics for the following sample mass.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> masses = [1, 10, 50]; <span class="org-comment">% [kg]</span>
2020-03-23 10:05:32 +01:00
</pre>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgb1672c7" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_iff_sample_mass.png" alt="act_damp_variability_iff_sample_mass.png" />
</p>
<p><span class="figure-number">Figure 8: </span>Variability of the dynamics from actuator force to force sensor with the Sample Mass (<a href="./figs/act_damp_variability_iff_sample_mass.png">png</a>, <a href="./figs/act_damp_variability_iff_sample_mass.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org96cdce8" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_dvf_sample_mass.png" alt="act_damp_variability_dvf_sample_mass.png" />
</p>
<p><span class="figure-number">Figure 9: </span>Variability of the dynamics from actuator force to relative motion sensor with the Sample Mass (<a href="./figs/act_damp_variability_dvf_sample_mass.png">png</a>, <a href="./figs/act_damp_variability_dvf_sample_mass.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgee46198" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_ine_sample_mass.png" alt="act_damp_variability_ine_sample_mass.png" />
</p>
<p><span class="figure-number">Figure 10: </span>Variability of the dynamics from actuator force to absolute velocity with the Sample Mass (<a href="./figs/act_damp_variability_ine_sample_mass.png">png</a>, <a href="./figs/act_damp_variability_ine_sample_mass.pdf">pdf</a>)</p>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org3f0aaa9" class="outline-3">
<h3 id="org3f0aaa9"><span class="section-number-3">2.2</span> Variation of the Spindle Angle</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-2-2">
<p>
2021-02-20 23:09:27 +01:00
<a id="orga2af751"></a>
2020-03-23 10:05:32 +01:00
</p>
<p>
We initialize all the stages with the default parameters.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> prepareLinearizeIdentification();
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We identify the dynamics for the following Spindle angles.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> Rz_amplitudes = [0, <span class="org-constant">pi</span><span class="org-type">/</span>4, <span class="org-constant">pi</span><span class="org-type">/</span>2, <span class="org-constant">pi</span>]; <span class="org-comment">% [rad]</span>
2020-03-23 10:05:32 +01:00
</pre>
</div>
2021-02-20 23:09:27 +01:00
<div id="org14a2c85" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_iff_spindle_angle.png" alt="act_damp_variability_iff_spindle_angle.png" />
</p>
<p><span class="figure-number">Figure 11: </span>Variability of the dynamics from the actuator force to the force sensor with the Spindle Angle (<a href="./figs/act_damp_variability_iff_spindle_angle.png">png</a>, <a href="./figs/act_damp_variability_iff_spindle_angle.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org0f1ee43" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_dvf_spindle_angle.png" alt="act_damp_variability_dvf_spindle_angle.png" />
</p>
<p><span class="figure-number">Figure 12: </span>Variability of the dynamics from actuator force to relative motion sensor with the Spindle Angle (<a href="./figs/act_damp_variability_dvf_spindle_angle.png">png</a>, <a href="./figs/act_damp_variability_dvf_spindle_angle.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgabd0cd9" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_ine_spindle_angle.png" alt="act_damp_variability_ine_spindle_angle.png" />
</p>
<p><span class="figure-number">Figure 13: </span>Variability of the dynamics from actuator force to absolute velocity with the Spindle Angle (<a href="./figs/act_damp_variability_ine_spindle_angle.png">png</a>, <a href="./figs/act_damp_variability_ine_spindle_angle.pdf">pdf</a>)</p>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orge654d81" class="outline-3">
<h3 id="orge654d81"><span class="section-number-3">2.3</span> Variation of the Spindle Rotation Speed</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-2-3">
<p>
2021-02-20 23:09:27 +01:00
<a id="org0130ff7"></a>
2020-03-23 10:05:32 +01:00
</p>
<p>
We initialize all the stages with the default parameters.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> prepareLinearizeIdentification();
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We identify the dynamics for the following Spindle rotation periods.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> Rz_periods = [60, 6, 2, 1]; <span class="org-comment">% [s]</span>
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
The identification of the dynamics is done at the same Spindle angle position.
</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orgaf8324e" class="outline-4">
<h4 id="orgaf8324e"><span class="section-number-4">2.3.1</span> Dynamics of the Active Damping plants</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-2-3-1">
2021-02-20 23:09:27 +01:00
<div id="org744bde6" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_iff_spindle_speed.png" alt="act_damp_variability_iff_spindle_speed.png" />
</p>
<p><span class="figure-number">Figure 14: </span>Variability of the dynamics from the actuator force to the force sensor with the Spindle rotation speed (<a href="./figs/act_damp_variability_iff_spindle_speed.png">png</a>, <a href="./figs/act_damp_variability_iff_spindle_speed.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgd8f2782" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_iff_spindle_speed_zoom.png" alt="act_damp_variability_iff_spindle_speed_zoom.png" />
</p>
<p><span class="figure-number">Figure 15: </span>Variability of the dynamics from the actuator force to the force sensor with the Spindle rotation speed (<a href="./figs/act_damp_variability_iff_spindle_speed_zoom.png">png</a>, <a href="./figs/act_damp_variability_iff_spindle_speed_zoom.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org6249f2c" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_dvf_spindle_speed.png" alt="act_damp_variability_dvf_spindle_speed.png" />
</p>
<p><span class="figure-number">Figure 16: </span>Variability of the dynamics from the actuator force to the relative motion sensor with the Spindle rotation speed (<a href="./figs/act_damp_variability_dvf_spindle_speed.png">png</a>, <a href="./figs/act_damp_variability_dvf_spindle_speed.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org86f6249" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_dvf_spindle_speed_zoom.png" alt="act_damp_variability_dvf_spindle_speed_zoom.png" />
</p>
<p><span class="figure-number">Figure 17: </span>Variability of the dynamics from the actuator force to the relative motion sensor with the Spindle rotation speed (<a href="./figs/act_damp_variability_dvf_spindle_speed_zoom.png">png</a>, <a href="./figs/act_damp_variability_dvf_spindle_speed_zoom.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgea79e32" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_ine_spindle_speed.png" alt="act_damp_variability_ine_spindle_speed.png" />
</p>
<p><span class="figure-number">Figure 18: </span>Variability of the dynamics from the actuator force to the absolute velocity sensor with the Spindle rotation speed (<a href="./figs/act_damp_variability_ine_spindle_speed.png">png</a>, <a href="./figs/act_damp_variability_ine_spindle_speed.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org6de9b02" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_ine_spindle_speed_zoom.png" alt="act_damp_variability_ine_spindle_speed_zoom.png" />
</p>
<p><span class="figure-number">Figure 19: </span>Variability of the dynamics from the actuator force to the absolute velocity sensor with the Spindle rotation speed (<a href="./figs/act_damp_variability_ine_spindle_speed_zoom.png">png</a>, <a href="./figs/act_damp_variability_ine_spindle_speed_zoom.pdf">pdf</a>)</p>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org3817672" class="outline-4">
<h4 id="org3817672"><span class="section-number-4">2.3.2</span> Variation of the poles and zeros with the Spindle rotation frequency</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-2-3-2">
2021-02-20 23:09:27 +01:00
<div id="orgeab8b03" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/campbell_diagram_spindle_rotation.png" alt="campbell_diagram_spindle_rotation.png" />
</p>
<p><span class="figure-number">Figure 20: </span>Evolution of the pole with respect to the spindle rotation speed (<a href="./figs/campbell_diagram_spindle_rotation.png">png</a>, <a href="./figs/campbell_diagram_spindle_rotation.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org15faee5" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/variation_zeros_active_damping_plants.png" alt="variation_zeros_active_damping_plants.png" />
</p>
<p><span class="figure-number">Figure 21: </span>Evolution of the zero with respect to the spindle rotation speed (<a href="./figs/variation_zeros_active_damping_plants.png">png</a>, <a href="./figs/variation_zeros_active_damping_plants.pdf">pdf</a>)</p>
</div>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orgc064ae1" class="outline-3">
<h3 id="orgc064ae1"><span class="section-number-3">2.4</span> Variation of the Tilt Angle</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-2-4">
<p>
2021-02-20 23:09:27 +01:00
<a id="org1402fda"></a>
2020-03-23 10:05:32 +01:00
</p>
<p>
We initialize all the stages with the default parameters.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> prepareLinearizeIdentification();
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We identify the dynamics for the following Tilt stage angles.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> Ry_amplitudes = [<span class="org-type">-</span>3<span class="org-type">*</span><span class="org-constant">pi</span><span class="org-type">/</span>180, 3<span class="org-type">*</span><span class="org-constant">pi</span><span class="org-type">/</span>180]; <span class="org-comment">% [rad]</span>
2020-03-23 10:05:32 +01:00
</pre>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgdd337ba" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_iff_tilt_angle.png" alt="act_damp_variability_iff_tilt_angle.png" />
</p>
<p><span class="figure-number">Figure 22: </span>Variability of the dynamics from the actuator force to the force sensor with the Tilt stage Angle (<a href="./figs/act_damp_variability_iff_tilt_angle.png">png</a>, <a href="./figs/act_damp_variability_iff_tilt_angle.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org134a191" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_dvf_tilt_angle.png" alt="act_damp_variability_dvf_tilt_angle.png" />
</p>
<p><span class="figure-number">Figure 23: </span>Variability of the dynamics from the actuator force to the relative motion sensor with the Tilt Angle (<a href="./figs/act_damp_variability_dvf_tilt_angle.png">png</a>, <a href="./figs/act_damp_variability_dvf_tilt_angle.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org05df0fd" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_ine_tilt_angle.png" alt="act_damp_variability_ine_tilt_angle.png" />
</p>
<p><span class="figure-number">Figure 24: </span>Variability of the dynamics from the actuator force to the absolute velocity sensor with the Tilt Angle (<a href="./figs/act_damp_variability_ine_tilt_angle.png">png</a>, <a href="./figs/act_damp_variability_ine_tilt_angle.pdf">pdf</a>)</p>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orgbc574a9" class="outline-3">
<h3 id="orgbc574a9"><span class="section-number-3">2.5</span> Scans of the Translation Stage</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-2-5">
<p>
2021-02-20 23:09:27 +01:00
<a id="org34c27b1"></a>
2020-03-23 10:05:32 +01:00
</p>
<p>
We want here to verify if the dynamics used for Active damping is varying when using the translation stage for scans.
</p>
<p>
We initialize all the stages with the default parameters.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> prepareLinearizeIdentification();
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
2021-02-20 23:09:27 +01:00
We initialize the translation stage reference to be a sinus with an amplitude of 5mm and a period of 1s (Figure <a href="#org5e5be0b">25</a>).
2020-03-23 10:05:32 +01:00
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> initializeReferences(<span class="org-string">'Dy_type'</span>, <span class="org-string">'sinusoidal'</span>, ...
<span class="org-string">'Dy_amplitude'</span>, 5e<span class="org-type">-</span>3, ...<span class="org-comment"> % [m]</span>
<span class="org-string">'Dy_period'</span>, 1); <span class="org-comment">% [s]</span>
2020-03-23 10:05:32 +01:00
</pre>
</div>
2021-02-20 23:09:27 +01:00
<div id="org5e5be0b" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/ty_scanning_reference_sinus.png" alt="ty_scanning_reference_sinus.png" />
</p>
<p><span class="figure-number">Figure 25: </span>Reference path for the translation stage (<a href="./figs/ty_scanning_reference_sinus.png">png</a>, <a href="./figs/ty_scanning_reference_sinus.pdf">pdf</a>)</p>
</div>
<p>
We identify the dynamics at different positions (times) when scanning with the Translation stage.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> t_lin = [0.5, 0.75, 1, 1.25];
2020-03-23 10:05:32 +01:00
</pre>
</div>
2021-02-20 23:09:27 +01:00
<div id="org990bda3" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_iff_ty_scans.png" alt="act_damp_variability_iff_ty_scans.png" />
</p>
<p><span class="figure-number">Figure 26: </span>Variability of the dynamics from the actuator force to the absolute velocity sensor plant at different Ty scan positions (<a href="./figs/act_damp_variability_iff_ty_scans.png">png</a>, <a href="./figs/act_damp_variability_iff_ty_scans.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgea54a38" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_dvf_ty_scans.png" alt="act_damp_variability_dvf_ty_scans.png" />
</p>
<p><span class="figure-number">Figure 27: </span>Variability of the dynamics from actuator force to relative displacement sensor at different Ty scan positions (<a href="./figs/act_damp_variability_dvf_ty_scans.png">png</a>, <a href="./figs/act_damp_variability_dvf_ty_scans.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgccc2ab2" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_variability_ine_ty_scans.png" alt="act_damp_variability_ine_ty_scans.png" />
</p>
<p><span class="figure-number">Figure 28: </span>Variability of the Inertial plant at different Ty scan positions (<a href="./figs/act_damp_variability_ine_ty_scans.png">png</a>, <a href="./figs/act_damp_variability_ine_ty_scans.pdf">pdf</a>)</p>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org9347d04" class="outline-3">
<h3 id="org9347d04"><span class="section-number-3">2.6</span> Conclusion</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-2-6">
2021-02-20 23:09:27 +01:00
<table id="orgd093e5e" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
2020-03-23 10:05:32 +01:00
<caption class="t-above"><span class="table-number">Table 1:</span> Conclusion on the variability of the system dynamics for active damping</caption>
<colgroup>
<col class="org-center" />
<col class="org-center" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-center">&#xa0;</th>
<th scope="col" class="org-center"><b>Change of Dynamics</b></th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-center"><b>Sample Mass</b></td>
<td class="org-center">Large</td>
</tr>
<tr>
<td class="org-center"><b>Spindle Angle</b></td>
<td class="org-center">Small</td>
</tr>
<tr>
<td class="org-center"><b>Spindle Rotation Speed</b></td>
<td class="org-center">First resonance is split in two resonances</td>
</tr>
<tr>
<td class="org-center"><b>Tilt Angle</b></td>
<td class="org-center">Negligible</td>
</tr>
<tr>
<td class="org-center"><b>Translation Stage scans</b></td>
<td class="org-center">Negligible</td>
</tr>
</tbody>
</table>
<p>
Also, for the Inertial Sensor, a RHP zero may appear when the spindle is rotating fast.
</p>
2021-02-20 23:09:27 +01:00
<div class="important" id="orgf7f688d">
2020-03-23 10:05:32 +01:00
<p>
When using either a force sensor or a relative motion sensor for active damping, the only &ldquo;parameter&rdquo; that induce a large change for the dynamics to be controlled is the <b>sample mass</b>.
Thus, the developed damping techniques should be robust to variations of the sample mass.
</p>
</div>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org6b638c0" class="outline-2">
<h2 id="org6b638c0"><span class="section-number-2">3</span> Integral Force Feedback</h2>
2020-03-23 10:05:32 +01:00
<div class="outline-text-2" id="text-3">
<p>
2021-02-20 23:09:27 +01:00
<a id="orge391376"></a>
2020-03-23 10:05:32 +01:00
</p>
2021-02-20 23:09:27 +01:00
<div class="note" id="orgc661f23">
2020-03-23 10:05:32 +01:00
<p>
All the files (data and Matlab scripts) are accessible <a href="data/iff.zip">here</a>.
</p>
</div>
<p>
Here, we study the use of <b>Integral Force Feedback</b> (IFF) to actively damp the resonances.
</p>
<p>
The IFF control is applied in a decentralized way: there is on controller for each leg.
</p>
<p>
2021-02-20 23:09:27 +01:00
The control architecture is represented in figure <a href="#orga6f7869">29</a> where one of the 6 nano-hexapod legs is represented.
2020-03-23 10:05:32 +01:00
</p>
2021-02-20 23:09:27 +01:00
<div id="orga6f7869" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/iff_1dof.png" alt="iff_1dof.png" />
</p>
<p><span class="figure-number">Figure 29: </span>Integral Force Feedback applied to a 1dof system</p>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orgfae3b57" class="outline-3">
<h3 id="orgfae3b57"><span class="section-number-3">3.1</span> Control Design</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-3-1">
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org729d0e6" class="outline-4">
<h4 id="org729d0e6"><span class="section-number-4">3.1.1</span> Plant</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-3-1-1">
<p>
Let&rsquo;s load the previously identified undamped plant:
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> load(<span class="org-string">'./mat/active_damping_undamped_plants.mat'</span>, <span class="org-string">'G_iff'</span>);
load(<span class="org-string">'./mat/active_damping_plants_variable.mat'</span>, <span class="org-string">'masses'</span>, <span class="org-string">'Gm_iff'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
2021-02-20 23:09:27 +01:00
Let&rsquo;s look at the transfer function from actuator forces in the nano-hexapod to the force sensor in the nano-hexapod legs for all 6 pairs of actuator/sensor (figure <a href="#org5d05183">30</a>).
2020-03-23 10:05:32 +01:00
</p>
2021-02-20 23:09:27 +01:00
<div id="org5d05183" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/iff_plant.png" alt="iff_plant.png" />
</p>
<p><span class="figure-number">Figure 30: </span>Transfer function from forces applied in the legs to force sensor (<a href="./figs/iff_plant.png">png</a>, <a href="./figs/iff_plant.pdf">pdf</a>)</p>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org784be74" class="outline-4">
<h4 id="org784be74"><span class="section-number-4">3.1.2</span> Control Design</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-3-1-2">
<p>
The controller for each pair of actuator/sensor is:
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> w0 = 2<span class="org-type">*</span><span class="org-constant">pi</span><span class="org-type">*</span>50;
K_iff = <span class="org-type">-</span>5000<span class="org-type">/</span>s <span class="org-type">*</span> (s<span class="org-type">/</span>w0)<span class="org-type">/</span>(1 <span class="org-type">+</span> s<span class="org-type">/</span>w0);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
2021-02-20 23:09:27 +01:00
The corresponding loop gains are shown in figure <a href="#orgfb612d3">31</a>.
2020-03-23 10:05:32 +01:00
</p>
2021-02-20 23:09:27 +01:00
<div id="orgfb612d3" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/iff_open_loop.png" alt="iff_open_loop.png" />
</p>
<p><span class="figure-number">Figure 31: </span>Loop Gain for the Integral Force Feedback (<a href="./figs/iff_open_loop.png">png</a>, <a href="./figs/iff_open_loop.pdf">pdf</a>)</p>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org3e29b9e" class="outline-4">
<h4 id="org3e29b9e"><span class="section-number-4">3.1.3</span> Diagonal Controller</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-3-1-3">
<p>
We create the diagonal controller and we add a minus sign as we have a positive
feedback architecture.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> K_iff = <span class="org-type">-</span>K_iff<span class="org-type">*</span>eye(6);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We save the controller for further analysis.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> save(<span class="org-string">'./mat/active_damping_K_iff.mat'</span>, <span class="org-string">'K_iff'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org0f4e370" class="outline-3">
<h3 id="org0f4e370"><span class="section-number-3">3.2</span> Tomography Experiment</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-3-2">
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org1c04824" class="outline-4">
<h4 id="org1c04824"><span class="section-number-4">3.2.1</span> Simulation with IFF Controller</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-3-2-1">
<p>
We initialize elements for the tomography experiment.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> prepareTomographyExperiment();
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We set the IFF controller.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> load(<span class="org-string">'./mat/active_damping_K_iff.mat'</span>, <span class="org-string">'K_iff'</span>);
initializeController(<span class="org-string">'type'</span>, <span class="org-string">'iff'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We change the simulation stop time.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> load(<span class="org-string">'mat/conf_simulink.mat'</span>);
<span class="org-matlab-simulink-keyword">set_param</span>(<span class="org-variable-name">conf_simulink</span>, <span class="org-string">'StopTime'</span>, <span class="org-string">'4.5'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
And we simulate the system.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> <span class="org-matlab-simulink-keyword">sim</span>(<span class="org-string">'nass_model'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
Finally, we save the simulation results for further analysis
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> En_iff = En;
Eg_iff = Eg;
save(<span class="org-string">'./mat/active_damping_tomo_exp.mat'</span>, <span class="org-string">'En_iff'</span>, <span class="org-string">'Eg_iff'</span>, <span class="org-string">'-append'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org7a53b27" class="outline-4">
<h4 id="org7a53b27"><span class="section-number-4">3.2.2</span> Compare with Undamped system</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-3-2-2">
2021-02-20 23:09:27 +01:00
<div id="org92408d7" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/nass_act_damp_iff_sim_tomo_xy.png" alt="nass_act_damp_iff_sim_tomo_xy.png" />
</p>
<p><span class="figure-number">Figure 32: </span>Position Error during tomography experiment - XY Motion (<a href="./figs/nass_act_damp_iff_sim_tomo_xy.png">png</a>, <a href="./figs/nass_act_damp_iff_sim_tomo_xy.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org096b8df" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/nass_act_damp_iff_sim_tomo_trans.png" alt="nass_act_damp_iff_sim_tomo_trans.png" />
</p>
<p><span class="figure-number">Figure 33: </span>Position Error during tomography experiment - Translations (<a href="./figs/nass_act_damp_iff_sim_tomo_trans.png">png</a>, <a href="./figs/nass_act_damp_iff_sim_tomo_trans.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgab47bfd" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/nass_act_damp_iff_sim_tomo_rot.png" alt="nass_act_damp_iff_sim_tomo_rot.png" />
</p>
<p><span class="figure-number">Figure 34: </span>Position Error during tomography experiment - Rotations (<a href="./figs/nass_act_damp_iff_sim_tomo_rot.png">png</a>, <a href="./figs/nass_act_damp_iff_sim_tomo_rot.pdf">pdf</a>)</p>
</div>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orga0cf9cc" class="outline-3">
<h3 id="orga0cf9cc"><span class="section-number-3">3.3</span> Conclusion</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-3-3">
2021-02-20 23:09:27 +01:00
<div class="important" id="org6611d43">
2020-03-23 10:05:32 +01:00
<p>
Integral Force Feedback using a force sensor:
</p>
<ul class="org-ul">
<li>Robust (guaranteed stability)</li>
<li>Acceptable Damping</li>
<li>Increase the sensitivity to disturbances at low frequencies</li>
</ul>
</div>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org324a1c7" class="outline-2">
<h2 id="org324a1c7"><span class="section-number-2">4</span> Direct Velocity Feedback</h2>
2020-03-23 10:05:32 +01:00
<div class="outline-text-2" id="text-4">
<p>
2021-02-20 23:09:27 +01:00
<a id="orgbc7558f"></a>
2020-03-23 10:05:32 +01:00
</p>
2021-02-20 23:09:27 +01:00
<div class="note" id="orgd9a8388">
2020-03-23 10:05:32 +01:00
<p>
All the files (data and Matlab scripts) are accessible <a href="data/dvf.zip">here</a>.
</p>
</div>
<p>
In the Direct Velocity Feedback (DVF), a derivative feedback is applied between the measured actuator displacement to the actuator force input.
The actuator displacement can be measured with a capacitive sensor for instance.
</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orgd6d97e6" class="outline-3">
<h3 id="orgd6d97e6"><span class="section-number-3">4.1</span> Control Design</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-4-1">
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org95a3f7a" class="outline-4">
<h4 id="org95a3f7a"><span class="section-number-4">4.1.1</span> Plant</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-4-1-1">
<p>
Let&rsquo;s load the undamped plant:
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> load(<span class="org-string">'./mat/active_damping_undamped_plants.mat'</span>, <span class="org-string">'G_dvf'</span>);
load(<span class="org-string">'./mat/active_damping_plants_variable.mat'</span>, <span class="org-string">'masses'</span>, <span class="org-string">'Gm_dvf'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
2021-02-20 23:09:27 +01:00
Let&rsquo;s look at the transfer function from actuator forces in the nano-hexapod to the measured displacement of the actuator for all 6 pairs of actuator/sensor (figure <a href="#org1ab8899">35</a>).
2020-03-23 10:05:32 +01:00
</p>
2021-02-20 23:09:27 +01:00
<div id="org1ab8899" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/dvf_plant.png" alt="dvf_plant.png" />
</p>
<p><span class="figure-number">Figure 35: </span>Transfer function from forces applied in the legs to leg displacement sensor (<a href="./figs/dvf_plant.png">png</a>, <a href="./figs/dvf_plant.pdf">pdf</a>)</p>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org9d4677b" class="outline-4">
<h4 id="org9d4677b"><span class="section-number-4">4.1.2</span> Control Design</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-4-1-2">
<p>
The Direct Velocity Feedback is defined below.
A Low pass Filter is added to make the controller transfer function proper.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> K_dvf = s<span class="org-type">*</span>30000<span class="org-type">/</span>(1 <span class="org-type">+</span> s<span class="org-type">/</span>2<span class="org-type">/</span><span class="org-constant">pi</span><span class="org-type">/</span>10000);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
2021-02-20 23:09:27 +01:00
The obtained loop gains are shown in figure <a href="#org21b7179">36</a>.
2020-03-23 10:05:32 +01:00
</p>
2021-02-20 23:09:27 +01:00
<div id="org21b7179" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/dvf_open_loop.png" alt="dvf_open_loop.png" />
</p>
<p><span class="figure-number">Figure 36: </span>Loop Gain for the Integral Force Feedback (<a href="./figs/dvf_open_loop.png">png</a>, <a href="./figs/dvf_open_loop.pdf">pdf</a>)</p>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orgae07839" class="outline-4">
<h4 id="orgae07839"><span class="section-number-4">4.1.3</span> Diagonal Controller</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-4-1-3">
<p>
We create the diagonal controller and we add a minus sign as we have a positive feedback architecture.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> K_dvf = <span class="org-type">-</span>K_dvf<span class="org-type">*</span>eye(6);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We save the controller for further analysis.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> save(<span class="org-string">'./mat/active_damping_K_dvf.mat'</span>, <span class="org-string">'K_dvf'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org6ca2bae" class="outline-3">
<h3 id="org6ca2bae"><span class="section-number-3">4.2</span> Tomography Experiment</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-4-2">
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org8370aed" class="outline-4">
<h4 id="org8370aed"><span class="section-number-4">4.2.1</span> Initialize the Simulation</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-4-2-1">
<p>
We initialize elements for the tomography experiment.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> prepareTomographyExperiment();
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We set the DVF controller.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> load(<span class="org-string">'./mat/active_damping_K_dvf.mat'</span>, <span class="org-string">'K_dvf'</span>);
initializeController(<span class="org-string">'type'</span>, <span class="org-string">'dvf'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We change the simulation stop time.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> load(<span class="org-string">'mat/conf_simulink.mat'</span>);
<span class="org-matlab-simulink-keyword">set_param</span>(<span class="org-variable-name">conf_simulink</span>, <span class="org-string">'StopTime'</span>, <span class="org-string">'4.5'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
And we simulate the system.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> <span class="org-matlab-simulink-keyword">sim</span>(<span class="org-string">'nass_model'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
Finally, we save the simulation results for further analysis
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> En_dvf = En;
Eg_dvf = Eg;
save(<span class="org-string">'./mat/active_damping_tomo_exp.mat'</span>, <span class="org-string">'En_dvf'</span>, <span class="org-string">'Eg_dvf'</span>, <span class="org-string">'-append'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org989acd1" class="outline-4">
<h4 id="org989acd1"><span class="section-number-4">4.2.2</span> Compare with Undamped system</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-4-2-2">
2021-02-20 23:09:27 +01:00
<div id="orge6541ce" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/nass_act_damp_dvf_sim_tomo_xy.png" alt="nass_act_damp_dvf_sim_tomo_xy.png" />
</p>
<p><span class="figure-number">Figure 37: </span>Position Error during tomography experiment - XY Motion (<a href="./figs/nass_act_damp_dvf_sim_tomo_xy.png">png</a>, <a href="./figs/nass_act_damp_dvf_sim_tomo_xy.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org9e1ca37" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/nass_act_damp_dvf_sim_tomo_trans.png" alt="nass_act_damp_dvf_sim_tomo_trans.png" />
</p>
<p><span class="figure-number">Figure 38: </span>Position Error during tomography experiment - Translations (<a href="./figs/nass_act_damp_dvf_sim_tomo_trans.png">png</a>, <a href="./figs/nass_act_damp_dvf_sim_tomo_trans.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgcd37912" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/nass_act_damp_dvf_sim_tomo_rot.png" alt="nass_act_damp_dvf_sim_tomo_rot.png" />
</p>
<p><span class="figure-number">Figure 39: </span>Position Error during tomography experiment - Rotations (<a href="./figs/nass_act_damp_dvf_sim_tomo_rot.png">png</a>, <a href="./figs/nass_act_damp_dvf_sim_tomo_rot.pdf">pdf</a>)</p>
</div>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org611e81a" class="outline-3">
<h3 id="org611e81a"><span class="section-number-3">4.3</span> Conclusion</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-4-3">
2021-02-20 23:09:27 +01:00
<div class="important" id="orga8d7451">
2020-03-23 10:05:32 +01:00
<p>
Direct Velocity Feedback using a relative motion sensor:
</p>
<ul class="org-ul">
<li>Robust (guaranteed stability)</li>
</ul>
</div>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org4f1ede7" class="outline-2">
<h2 id="org4f1ede7"><span class="section-number-2">5</span> Inertial Control</h2>
2020-03-23 10:05:32 +01:00
<div class="outline-text-2" id="text-5">
<p>
2021-02-20 23:09:27 +01:00
<a id="org59feb01"></a>
2020-03-23 10:05:32 +01:00
</p>
2021-02-20 23:09:27 +01:00
<div class="note" id="orge3155f6">
2020-03-23 10:05:32 +01:00
<p>
All the files (data and Matlab scripts) are accessible <a href="data/ine.zip">here</a>.
</p>
</div>
<p>
In Inertial Control, a feedback is applied between the measured <b>absolute</b> motion (velocity or acceleration) of the platform to the actuator force input.
</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org122fa27" class="outline-3">
<h3 id="org122fa27"><span class="section-number-3">5.1</span> Control Design</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-5-1">
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org7b16367" class="outline-4">
<h4 id="org7b16367"><span class="section-number-4">5.1.1</span> Plant</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-5-1-1">
<p>
Let&rsquo;s load the undamped plant:
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> load(<span class="org-string">'./mat/active_damping_undamped_plants.mat'</span>, <span class="org-string">'G_ine'</span>);
load(<span class="org-string">'./mat/active_damping_plants_variable.mat'</span>, <span class="org-string">'masses'</span>, <span class="org-string">'Gm_ine'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
2021-02-20 23:09:27 +01:00
Let&rsquo;s look at the transfer function from actuator forces in the nano-hexapod to the measured velocity of the nano-hexapod platform in the direction of the corresponding actuator for all 6 pairs of actuator/sensor (figure <a href="#org22569b9">40</a>).
2020-03-23 10:05:32 +01:00
</p>
2021-02-20 23:09:27 +01:00
<div id="org22569b9" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/ine_plant.png" alt="ine_plant.png" />
</p>
<p><span class="figure-number">Figure 40: </span>Transfer function from forces applied in the legs to leg velocity sensor (<a href="./figs/ine_plant.png">png</a>, <a href="./figs/ine_plant.pdf">pdf</a>)</p>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org5fb10d5" class="outline-4">
<h4 id="org5fb10d5"><span class="section-number-4">5.1.2</span> Control Design</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-5-1-2">
<p>
2021-02-20 23:09:27 +01:00
The controller is defined below and the obtained loop gain is shown in figure <a href="#org6211276">41</a>.
2020-03-23 10:05:32 +01:00
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> K_ine = 2.5e4;
2020-03-23 10:05:32 +01:00
</pre>
</div>
2021-02-20 23:09:27 +01:00
<div id="org6211276" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/ine_open_loop_gain.png" alt="ine_open_loop_gain.png" />
</p>
<p><span class="figure-number">Figure 41: </span>Loop Gain for Inertial Control (<a href="./figs/ine_open_loop_gain.png">png</a>, <a href="./figs/ine_open_loop_gain.pdf">pdf</a>)</p>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org3bd97f4" class="outline-4">
<h4 id="org3bd97f4"><span class="section-number-4">5.1.3</span> Diagonal Controller</h4>
2020-03-23 10:05:32 +01:00
<div class="outline-text-4" id="text-5-1-3">
<p>
We create the diagonal controller and we add a minus sign as we have a positive feedback architecture.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> K_ine = <span class="org-type">-</span>K_ine<span class="org-type">*</span>eye(6);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We save the controller for further analysis.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> save(<span class="org-string">'./mat/active_damping_K_ine.mat'</span>, <span class="org-string">'K_ine'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org09b6af0" class="outline-3">
<h3 id="org09b6af0"><span class="section-number-3">5.2</span> Conclusion</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-5-2">
2021-02-20 23:09:27 +01:00
<div class="important" id="org4fe17d4">
2020-03-23 10:05:32 +01:00
<p>
Inertial Control should not be used.
</p>
</div>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orgeade460" class="outline-2">
<h2 id="orgeade460"><span class="section-number-2">6</span> Comparison</h2>
2020-03-23 10:05:32 +01:00
<div class="outline-text-2" id="text-6">
<p>
2021-02-20 23:09:27 +01:00
<a id="orga9b9044"></a>
2020-03-23 10:05:32 +01:00
</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orgb397b0e" class="outline-3">
<h3 id="orgb397b0e"><span class="section-number-3">6.1</span> Load the plants</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-6-1">
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> load(<span class="org-string">'./mat/active_damping_plants.mat'</span>, <span class="org-string">'G'</span>, <span class="org-string">'G_iff'</span>, <span class="org-string">'G_ine'</span>, <span class="org-string">'G_dvf'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org5624749" class="outline-3">
<h3 id="org5624749"><span class="section-number-3">6.2</span> Sensitivity to Disturbance</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-6-2">
2021-02-20 23:09:27 +01:00
<div id="org4854182" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/sensitivity_comp_ground_motion_z.png" alt="sensitivity_comp_ground_motion_z.png" />
</p>
<p><span class="figure-number">Figure 42: </span>Sensitivity to ground motion in the Z direction on the Z motion error (<a href="./figs/sensitivity_comp_ground_motion_z.png">png</a>, <a href="./figs/sensitivity_comp_ground_motion_z.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgd3f6cf4" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/sensitivity_comp_direct_forces_z.png" alt="sensitivity_comp_direct_forces_z.png" />
</p>
<p><span class="figure-number">Figure 43: </span>Compliance in the Z direction: Sensitivity of direct forces applied on the sample in the Z direction on the Z motion error (<a href="./figs/sensitivity_comp_direct_forces_z.png">png</a>, <a href="./figs/sensitivity_comp_direct_forces_z.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org85b4be5" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/sensitivity_comp_spindle_z.png" alt="sensitivity_comp_spindle_z.png" />
</p>
<p><span class="figure-number">Figure 44: </span>Sensitivity to forces applied in the Z direction by the Spindle on the Z motion error (<a href="./figs/sensitivity_comp_spindle_z.png">png</a>, <a href="./figs/sensitivity_comp_spindle_z.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org5359054" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/sensitivity_comp_ty_z.png" alt="sensitivity_comp_ty_z.png" />
</p>
<p><span class="figure-number">Figure 45: </span>Sensitivity to forces applied in the Z direction by the Y translation stage on the Z motion error (<a href="./figs/sensitivity_comp_ty_z.png">png</a>, <a href="./figs/sensitivity_comp_ty_z.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgbb09b46" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/sensitivity_comp_ty_x.png" alt="sensitivity_comp_ty_x.png" />
</p>
<p><span class="figure-number">Figure 46: </span>Sensitivity to forces applied in the X direction by the Y translation stage on the X motion error (<a href="./figs/sensitivity_comp_ty_x.png">png</a>, <a href="./figs/sensitivity_comp_ty_x.pdf">pdf</a>)</p>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org71dc45c" class="outline-3">
<h3 id="org71dc45c"><span class="section-number-3">6.3</span> Damped Plant</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-6-3">
2021-02-20 23:09:27 +01:00
<div id="orgf66d061" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/plant_comp_damping_z.png" alt="plant_comp_damping_z.png" />
</p>
<p><span class="figure-number">Figure 47: </span>Plant for the \(z\) direction for different active damping technique used (<a href="./figs/plant_comp_damping_z.png">png</a>, <a href="./figs/plant_comp_damping_z.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org2a7dc35" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/plant_comp_damping_x.png" alt="plant_comp_damping_x.png" />
</p>
<p><span class="figure-number">Figure 48: </span>Plant for the \(x\) direction for different active damping technique used (<a href="./figs/plant_comp_damping_x.png">png</a>, <a href="./figs/plant_comp_damping_x.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org25c5b7a" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/plant_comp_damping_coupling.png" alt="plant_comp_damping_coupling.png" />
</p>
<p><span class="figure-number">Figure 49: </span>Comparison of one off-diagonal plant for different damping technique applied (<a href="./figs/plant_comp_damping_coupling.png">png</a>, <a href="./figs/plant_comp_damping_coupling.pdf">pdf</a>)</p>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orga09678e" class="outline-3">
<h3 id="orga09678e"><span class="section-number-3">6.4</span> Tomography Experiment - Frequency Domain analysis</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-6-4">
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> load(<span class="org-string">'./mat/active_damping_tomo_exp.mat'</span>, <span class="org-string">'En'</span>, <span class="org-string">'En_iff'</span>, <span class="org-string">'En_dvf'</span>);
Fs = 1e3; <span class="org-comment">% Sampling Frequency of the Data</span>
t = (1<span class="org-type">/</span>Fs)<span class="org-type">*</span>[0<span class="org-type">:</span>length(En(<span class="org-type">:</span>,1))<span class="org-type">-</span>1];
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We remove the first 0.5 seconds where the transient behavior is fading out.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> [<span class="org-type">~</span>, i_start] = min(abs(t <span class="org-type">-</span> 0.5)); <span class="org-comment">% find the indice corresponding to 0.5s</span>
2020-03-23 10:05:32 +01:00
2021-02-20 23:09:27 +01:00
t = t(i_start<span class="org-type">:</span>end) <span class="org-type">-</span> t(i_start);
En = En(i_start<span class="org-type">:</span>end, <span class="org-type">:</span>);
En_dvf = En_dvf(i_start<span class="org-type">:</span>end, <span class="org-type">:</span>);
En_iff = En_iff(i_start<span class="org-type">:</span>end, <span class="org-type">:</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
Window used for <code>pwelch</code> function.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> n_av = 4;
han_win = hanning(ceil(length(En(<span class="org-type">:</span>, 1))<span class="org-type">/</span>n_av));
2020-03-23 10:05:32 +01:00
</pre>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgd135e81" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_tomo_exp_comp_psd_trans.png" alt="act_damp_tomo_exp_comp_psd_trans.png" />
</p>
<p><span class="figure-number">Figure 50: </span>PSD of the translation errors in the X direction for applied Active Damping techniques (<a href="./figs/act_damp_tomo_exp_comp_psd_trans.png">png</a>, <a href="./figs/act_damp_tomo_exp_comp_psd_trans.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="orgaa45427" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_tomo_exp_comp_psd_rot.png" alt="act_damp_tomo_exp_comp_psd_rot.png" />
</p>
<p><span class="figure-number">Figure 51: </span>PSD of the rotation errors in the X direction for applied Active Damping techniques (<a href="./figs/act_damp_tomo_exp_comp_psd_rot.png">png</a>, <a href="./figs/act_damp_tomo_exp_comp_psd_rot.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org0d02371" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_tomo_exp_comp_cps_trans.png" alt="act_damp_tomo_exp_comp_cps_trans.png" />
</p>
<p><span class="figure-number">Figure 52: </span>CPS of the translation errors in the X direction for applied Active Damping techniques (<a href="./figs/act_damp_tomo_exp_comp_cps_trans.png">png</a>, <a href="./figs/act_damp_tomo_exp_comp_cps_trans.pdf">pdf</a>)</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="org9914330" class="figure">
2020-03-23 10:05:32 +01:00
<p><img src="figs/act_damp_tomo_exp_comp_cps_rot.png" alt="act_damp_tomo_exp_comp_cps_rot.png" />
</p>
<p><span class="figure-number">Figure 53: </span>CPS of the rotation errors in the X direction for applied Active Damping techniques (<a href="./figs/act_damp_tomo_exp_comp_cps_rot.png">png</a>, <a href="./figs/act_damp_tomo_exp_comp_cps_rot.pdf">pdf</a>)</p>
</div>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orgcb1f871" class="outline-2">
<h2 id="orgcb1f871"><span class="section-number-2">7</span> Useful Functions</h2>
2020-03-23 10:05:32 +01:00
<div class="outline-text-2" id="text-7">
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orgf0d818a" class="outline-3">
<h3 id="orgf0d818a"><span class="section-number-3">7.1</span> prepareLinearizeIdentification</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-7-1">
<p>
2021-02-20 23:09:27 +01:00
<a id="org3f4250b"></a>
2020-03-23 10:05:32 +01:00
</p>
<p>
This Matlab function is accessible <a href="src/prepareLinearizeIdentification.m">here</a>.
</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orgf063bf6" class="outline-4">
<h4 id="orgf063bf6">Function Description</h4>
<div class="outline-text-4" id="text-orgf063bf6">
2020-03-23 10:05:32 +01:00
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> <span class="org-keyword">function</span> <span class="org-variable-name">[]</span> = <span class="org-function-name">prepareLinearizeIdentification</span>(<span class="org-variable-name">args</span>)
2020-03-23 10:05:32 +01:00
</pre>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org8f44cc2" class="outline-4">
<h4 id="org8f44cc2">Optional Parameters</h4>
<div class="outline-text-4" id="text-org8f44cc2">
2020-03-23 10:05:32 +01:00
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> <span class="org-keyword">arguments</span>
<span class="org-variable-name">args</span>.nass_actuator char {mustBeMember(args.nass_actuator,{<span class="org-string">'piezo'</span>, <span class="org-string">'lorentz'</span>})} = <span class="org-string">'piezo'</span>
<span class="org-variable-name">args</span>.sample_mass (1,1) double {mustBeNumeric, mustBePositive} = 50 <span class="org-comment">% [kg]</span>
<span class="org-keyword">end</span>
2020-03-23 10:05:32 +01:00
</pre>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org172488a" class="outline-4">
<h4 id="org172488a">Initialize the Simulation</h4>
<div class="outline-text-4" id="text-org172488a">
2020-03-23 10:05:32 +01:00
<p>
We initialize all the stages with the default parameters.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> initializeGround();
initializeGranite();
initializeTy();
initializeRy();
initializeRz();
initializeMicroHexapod();
initializeAxisc();
initializeMirror();
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
The nano-hexapod is a piezoelectric hexapod and the sample has a mass of 50kg.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> initializeNanoHexapod(<span class="org-string">'actuator'</span>, args.nass_actuator);
initializeSample(<span class="org-string">'mass'</span>, args.sample_mass);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We set the references and disturbances to zero.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> initializeReferences();
initializeDisturbances(<span class="org-string">'enable'</span>, <span class="org-constant">false</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We set the controller type to Open-Loop.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> initializeController(<span class="org-string">'type'</span>, <span class="org-string">'open-loop'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
And we put some gravity.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> initializeSimscapeConfiguration(<span class="org-string">'gravity'</span>, <span class="org-constant">true</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We do not need to log any signal.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> initializeLoggingConfiguration(<span class="org-string">'log'</span>, <span class="org-string">'none'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orgb618852" class="outline-3">
<h3 id="orgb618852"><span class="section-number-3">7.2</span> prepareTomographyExperiment</h3>
2020-03-23 10:05:32 +01:00
<div class="outline-text-3" id="text-7-2">
<p>
2021-02-20 23:09:27 +01:00
<a id="org7240660"></a>
2020-03-23 10:05:32 +01:00
</p>
<p>
This Matlab function is accessible <a href="src/prepareTomographyExperiment.m">here</a>.
</p>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-orga58a060" class="outline-4">
<h4 id="orga58a060">Function Description</h4>
<div class="outline-text-4" id="text-orga58a060">
2020-03-23 10:05:32 +01:00
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> <span class="org-keyword">function</span> <span class="org-variable-name">[]</span> = <span class="org-function-name">prepareTomographyExperiment</span>(<span class="org-variable-name">args</span>)
2020-03-23 10:05:32 +01:00
</pre>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org3fe719e" class="outline-4">
<h4 id="org3fe719e">Optional Parameters</h4>
<div class="outline-text-4" id="text-org3fe719e">
2020-03-23 10:05:32 +01:00
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> <span class="org-keyword">arguments</span>
<span class="org-variable-name">args</span>.nass_actuator char {mustBeMember(args.nass_actuator,{<span class="org-string">'piezo'</span>, <span class="org-string">'lorentz'</span>})} = <span class="org-string">'piezo'</span>
<span class="org-variable-name">args</span>.sample_mass (1,1) double {mustBeNumeric, mustBePositive} = 50 <span class="org-comment">% [kg]</span>
<span class="org-variable-name">args</span>.Rz_period (1,1) double {mustBeNumeric, mustBePositive} = 1 <span class="org-comment">% [s]</span>
<span class="org-keyword">end</span>
2020-03-23 10:05:32 +01:00
</pre>
</div>
</div>
</div>
2021-02-20 23:09:27 +01:00
<div id="outline-container-org9400815" class="outline-4">
<h4 id="org9400815">Initialize the Simulation</h4>
<div class="outline-text-4" id="text-org9400815">
2020-03-23 10:05:32 +01:00
<p>
We initialize all the stages with the default parameters.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> initializeGround();
initializeGranite();
initializeTy();
initializeRy();
initializeRz();
initializeMicroHexapod();
initializeAxisc();
initializeMirror();
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
The nano-hexapod is a piezoelectric hexapod and the sample has a mass of 50kg.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> initializeNanoHexapod(<span class="org-string">'actuator'</span>, args.nass_actuator);
initializeSample(<span class="org-string">'mass'</span>, args.sample_mass);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We set the references that corresponds to a tomography experiment.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> initializeReferences(<span class="org-string">'Rz_type'</span>, <span class="org-string">'rotating'</span>, <span class="org-string">'Rz_period'</span>, args.Rz_period);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> initializeDisturbances();
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
Open Loop.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> initializeController(<span class="org-string">'type'</span>, <span class="org-string">'open-loop'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
And we put some gravity.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> initializeSimscapeConfiguration(<span class="org-string">'gravity'</span>, <span class="org-constant">true</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
<p>
We log the signals.
</p>
<div class="org-src-container">
2021-02-20 23:09:27 +01:00
<pre class="src src-matlab"> initializeLoggingConfiguration(<span class="org-string">'log'</span>, <span class="org-string">'all'</span>);
2020-03-23 10:05:32 +01:00
</pre>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
2021-02-20 23:09:27 +01:00
<p class="date">Created: 2021-02-20 sam. 23:09</p>
2020-03-23 10:05:32 +01:00
</div>
</body>
</html>