diff --git a/figs/inertial_sensor.png b/figs/inertial_sensor.png new file mode 100644 index 0000000..44ce925 Binary files /dev/null and b/figs/inertial_sensor.png differ diff --git a/figs/simscape_fixed_base.png b/figs/simscape_fixed_base.png new file mode 100644 index 0000000..0ef4a48 Binary files /dev/null and b/figs/simscape_fixed_base.png differ diff --git a/figs/simscape_mobile_platform.png b/figs/simscape_mobile_platform.png new file mode 100644 index 0000000..786f3e6 Binary files /dev/null and b/figs/simscape_mobile_platform.png differ diff --git a/figs/simscape_stewart_platform.png b/figs/simscape_stewart_platform.png new file mode 100644 index 0000000..5f15064 Binary files /dev/null and b/figs/simscape_stewart_platform.png differ diff --git a/figs/simscape_strut.png b/figs/simscape_strut.png new file mode 100644 index 0000000..1371aad Binary files /dev/null and b/figs/simscape_strut.png differ diff --git a/simscape-model.html b/simscape-model.html index 0f5859e..e16c1cd 100644 --- a/simscape-model.html +++ b/simscape-model.html @@ -4,7 +4,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- +-As multiple simulink files will be used for simulation and tests, it is very useful to determine good simulation configuration that will be shared among all the simulink files. +In this document is explained how the Simscape model of the Stewart Platform is implemented.
-This is done using something called “Configuration Reference” (documentation). +It is divided in the following sections: +
+
+
+The Simscape Model of the Stewart Platform is working with the stewart
structure generated using the functions described here.
+
+All the geometry and inertia of the mechanical elements are defined in the stewart
structure.
+
+By updating the stewart
structure in the workspace, the Simscape model will be automatically updated.
+
+Thus, nothing should be changed by hand inside the Simscape model. +
+ ++The main advantage to have all the parameters defined in one structure (and not hard-coded in some simulink blocs) it that we can easily change the Stewart architecture/parameters in a Matlab script to perform some parametric study for instance. +
++ +As multiple simulink files will be used for simulation and tests, it is very useful to determine good simulation configuration that will be shared among all the simulink files. +
+ ++This is done using something called “Configuration Reference” (documentation).
@@ -298,7 +372,7 @@ It is automatically loaded when the Simulink project is open. It can be loaded m
-It is however possible to modify specific parameters just for one Simulink file using the set_param
command:
+It is however possible to modify specific parameters just for one simulation using the set_param
command:
set_param(conf_simscape, 'StopTime', 1); @@ -307,10 +381,11 @@ It is however possible to modify specific parameters just for one Simulink file
+ Several Stewart platform models are used, for instance one is use to study the dynamics while the other is used to apply active damping techniques.
@@ -328,29 +403,163 @@ These shared subsystems are:
-These subsystems are referenced from another subsystem called Stewart_Platform.slx
, that basically connect them correctly.
-This subsystem is then referenced in other simulink models for various purposes.
+These subsystems are referenced from another subsystem called Stewart_Platform.slx
shown in figure 1, that basically connect them correctly.
+This subsystem is then referenced in other simulink models for various purposes (control, analysis, simulation, …).
+
+
+Figure 1: Simscape Subsystem of the Stewart platform. Encapsulate the Subsystems corresponding to the fixed base, mobile platform and all the struts.
++ +Both the fixed base and the mobile platform simscape models share many similarities. +
+ ++Their are both composed of: +
+
+As always, the parameters that define the geometry are taken from the stewart
structure.
+
+
+Figure 2: Simscape Model of the Fixed base
++
+Figure 3: Simscape Model of the Mobile platform
+
+For the Stewart platform, the 6 struts are identical.
+Thus, all the struts used in the Stewart platform are referring to the same subsystem called stewart_strut.slx
and shown in Figure 4.
+
+This strut as the following structure: +
++This configuration is called UPS. +
+ ++The other common configuration SPS has the disadvantage of having additional passive degrees-of-freedom corresponding to the rotation of the strut around its main axis. +This is why the UPS configuration is used, but other configuration can be easily implemented. +
+ + ++
+Figure 4: Simscape model of the Stewart platform’s strut
++Several sensors are included in the strut that may or may not be used for control: +
++There is two main types of inertial sensor that can be used to measure the absolute motion of the top part of the strut in the direction of the strut: +
++Both inertial sensors are described bellow.
- +From the schematic of the Z-axis geophone shown in Figure 5, we can write the transfer function from the support velocity \(\dot{w}\) to the relative velocity of the inertial mass \(\dot{d}\): +\[ \frac{\dot{d}}{\dot{w}} = \frac{-\frac{s^2}{{\omega_0}^2}}{\frac{s^2}{{\omega_0}^2} + 2 \xi \frac{s}{\omega_0} + 1} \] +with: +
++
+Figure 5: Schematic of a Z-Axis geophone
++We see that at frequencies above \(\omega_0\): +\[ \frac{\dot{d}}{\dot{w}} \approx -1 \] +
+ ++And thus, the measurement of the relative velocity of the mass with respect to its support gives the absolute velocity of the support. +
+ ++We generally want to have the smallest resonant frequency \(\omega_0\) to measure low frequency absolute velocity, however there is a trade-off between \(\omega_0\) and the mass of the inertial mass. +
+@@ -380,12 +589,56 @@ This Matlab function is accessible he
- +From the schematic of the Z-axis accelerometer shown in Figure 6, we can write the transfer function from the support acceleration \(\ddot{w}\) to the relative position of the inertial mass \(d\): +\[ \frac{d}{\ddot{w}} = \frac{-\frac{1}{{\omega_0}^2}}{\frac{s^2}{{\omega_0}^2} + 2 \xi \frac{s}{\omega_0} + 1} \] +with: +
++
+Figure 6: Schematic of a Z-Axis geophone
++We see that at frequencies below \(\omega_0\): +\[ \frac{d}{\ddot{w}} \approx -\frac{1}{{\omega_0}^2} \] +
+ ++And thus, the measurement of the relative displacement of the mass with respect to its support gives the absolute acceleration of the support. +
+ ++Note that there is trade-off between: +
+
@@ -420,9 +673,10 @@ This Matlab function is accessible
Created: 2020-01-28 mar. 17:37 Created: 2020-01-29 mer. 12:02