diff --git a/.gitignore b/.gitignore index 34ab0a6..4c39510 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -auto/ *.tex **/figs/*.pdf diff --git a/actuators-sensors/index.html b/actuators-sensors/index.html index 5c2d1a0..ace984f 100644 --- a/actuators-sensors/index.html +++ b/actuators-sensors/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Equipment @@ -280,99 +280,99 @@ for the JavaScript code in this tag.

Table of Contents

-
-

1 Sensors

+
+

1 Sensors

-
-

1.1 Accelerometers

+
+

1.1 Accelerometers

-
-

1.1.1 Wireless Accelerometers

+
+

1.1.1 Wireless Accelerometers

- -
-

1.2 Geophones

+
+

1.2 Geophones

-
-

1.2.1 Suppliers

+
+

1.2.1 Suppliers

-
-

1.3 Force Sensors

+
+

1.3 Force Sensors

+ -
-

1.4 Strain Gauge

-
-

1.5 Interferometers

+ +
+

1.4 Strain Gauge

+
+
+

1.5 Interferometers

-
-

1.5.1 Suppliers

+
+

1.5.1 Suppliers

-
-

1.6 Bibliography

+
+

1.6 Bibliography

collette12_compar @@ -436,16 +444,16 @@ for the JavaScript code in this tag.

-
-

2 Actuators

+
+

2 Actuators

-
-

2.1 Piezoelectric

+
+

2.1 Piezoelectric

-
-

2.1.1 Suppliers

+
+

2.1.1 Suppliers

-
-

2.2 Voice Coil

+
+

2.2 Voice Coil

- -
-

2.3 Shaker

+
+

2.3 Shaker

-
-

2.3.1 Suppliers

+
+

2.3.1 Suppliers

-
-

2.4 Brushless DC Motor

+
+

2.4 Brushless DC Motor

yedamale03_brush_dc_bldc_motor_fundam @@ -507,12 +515,12 @@ for the JavaScript code in this tag.

-
-

3 Measurement System / Acquisition System

+
+

3 Measurement System / Acquisition System

-
-

3.1 Modal Analysis

+
+

3.1 Modal Analysis

https://dewesoft.com/applications/structural-dynamics/modal-analysis @@ -522,8 +530,8 @@ Polytec 3D Scanning Laser Vibrometer -

4 Control System

+
+

4 Control System

Dspace, Speedgoat @@ -531,12 +539,12 @@ Dspace, Speedgoat

-
-

5 Positioning Stages

+
+

5 Positioning Stages

-
-

5.1 Hexapods

+
+

5.1 Hexapods

-
-

5.2 Translation/Rotation Stage

+
+

5.2 Translation/Rotation Stage

-
-

6 Amplifiers

+
+

6 Amplifiers

-
-

6.1 Current Amplifiers

+
+

6.1 Current Amplifiers

-
-

6.2 Voltage Amplifiers

+
+

6.2 Voltage Amplifiers

-
-

7 ESRF Equipment

+
+

7 ESRF Equipment

-
-

7.1 Geophones

+
+

7.1 Geophones

-
-

7.1.1 L-28LB

+
+

7.1.1 L-28LB

-
+

L28LB.png

Figure 1: Picture of the L-28LB Geophone

- +
@@ -621,7 +629,7 @@ Dspace, Speedgoat
Table 1: L-28LB Parameters

-We define the parameters of the geophone and we plot its bode plot (figure 2). +We define the parameters of the geophone and we plot its bode plot (figure 2).

w0 = 4.5*2*pi; % [rad/s]
@@ -632,7 +640,7 @@ G = G0*
+

L28LB_bode_plot.png

Figure 2: Bode plot of the L-28LB Geophone

@@ -640,8 +648,8 @@ G = G0* -

7.1.2 L-4C

+
+

7.1.2 L-4C

  • http://www.sercel.com/products/Pages/seismometers.aspx
  • @@ -649,13 +657,13 @@ G = G0* +

    L4C.png

    Figure 3: Picture of the L-4C Geophone

    - +
    @@ -686,7 +694,7 @@ The transfer function from the velocity and the measured voltage is defined belo

    -Its bode plot is shown on figure 4. +Its bode plot is shown on figure 4.

    @@ -698,7 +706,7 @@ G = G0* +

    L4C_bode_plot.png

    Figure 4: Bode plot of the L4C Geophone

    @@ -706,8 +714,8 @@ G = G0* -

    7.1.3 L-22

    +
    +

    7.1.3 L-22

    Table 2: L4C Parameters
    +
    @@ -774,8 +782,8 @@ G = G0* -

    7.2.2 Ceramic acc. 393B05 - 1 axis

    +
    +

    7.2.2 Ceramic acc. 393B05 - 1 axis

    Table 3: 356b18 Parameters
    +
    @@ -828,8 +836,8 @@ G = G0* -

    7.3 Modal analysis

    +
    +

    7.3 Modal analysis

    http://www.oros.com/3900-oros-modal-2.htm @@ -840,7 +848,7 @@ G = G0*

    Author: Dehaeze Thomas

    -

    Created: 2019-07-05 ven. 11:41

    +

    Created: 2019-10-08 mar. 10:48

    Validate

    diff --git a/actuators-sensors/index.org b/actuators-sensors/index.org index 911fdb1..1fc0752 100644 --- a/actuators-sensors/index.org +++ b/actuators-sensors/index.org @@ -36,12 +36,16 @@ *** Suppliers - https://micromega-dynamics.com/products/ +- https://www.mmf.de/seismic_accelerometers.htm +- https://www.pcb.com/products/productfinder.aspx?tx=14 ** Geophones *** Suppliers - http://www.sercel.com/products/Pages/seismometers.aspx ** Force Sensors +- https://www.pcb.com/products/productfinder.aspx?tx=17 + ** Strain Gauge ** Interferometers *** Suppliers @@ -68,7 +72,7 @@ cite:fleming13_review_nanom_resol_posit_sensor - https://www.celeramotion.com/ - http://www.beikimco.com/ - https://www.electromate.com/ -- https://www.magneticinnovations.com/ +- https://www.magneticinnovations.com/: Netherlands ** Shaker *** Suppliers diff --git a/config.org b/config.org deleted file mode 100644 index 387490a..0000000 --- a/config.org +++ /dev/null @@ -1,27 +0,0 @@ -#+STARTUP: overview - -#+LANGUAGE: en -#+EMAIL: dehaeze.thomas@gmail.com -#+AUTHOR: Dehaeze Thomas - -#+HTML_LINK_HOME: ../index.html -#+HTML_LINK_UP: ../index.html - -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: -#+HTML_HEAD: - -#+HTML_MATHJAX: align: center tagside: right font: TeX - -#+PROPERTY: header-args:matlab :session *MATLAB* -#+PROPERTY: header-args:matlab+ :comments org -#+PROPERTY: header-args:matlab+ :results none -#+PROPERTY: header-args:matlab+ :exports both -#+PROPERTY: header-args:matlab+ :eval no-export -#+PROPERTY: header-args:matlab+ :output-dir figs - -#+PROPERTY: header-args:shell :eval no-export diff --git a/disturbance-control-system/index.html b/disturbance-control-system/index.html index 6fdc677..3ec0cae 100644 --- a/disturbance-control-system/index.html +++ b/disturbance-control-system/index.html @@ -903,7 +903,7 @@ d_he = load(2.3 Voltage to Velocity

    -We convert the measured voltage to velocity using the function voltageToVelocityL22 (accessible here). +We convert the measured voltage to velocity using the function voltageToVelocityL22 (accessible here).

    diff --git a/disturbance-control-system/index.org b/disturbance-control-system/index.org index 9df0d88..90edfb7 100644 --- a/disturbance-control-system/index.org +++ b/disturbance-control-system/index.org @@ -397,7 +397,7 @@ We load the data of the z axis of two geophones. #+end_src ** Voltage to Velocity -We convert the measured voltage to velocity using the function =voltageToVelocityL22= (accessible [[file:~/MEGA/These/meas/src/index.org][here]]). +We convert the measured voltage to velocity using the function =voltageToVelocityL22= (accessible [[file:~/Cloud/These/meas/src/index.org][here]]). #+begin_src matlab gain = 60; % [dB] diff --git a/disturbance-sr-rz/index.org b/disturbance-sr-rz/index.org index 631e6a0..eba519e 100644 --- a/disturbance-sr-rz/index.org +++ b/disturbance-sr-rz/index.org @@ -113,7 +113,7 @@ A movie showing the experiment is shown on figure [[fig:exp_sl_sp_gif]]. #+end_src ** Voltage to Velocity -We convert the measured voltage to velocity using the function =voltageToVelocityL22= (accessible [[file:~/MEGA/These/meas/src/index.org][here]]). +We convert the measured voltage to velocity using the function =voltageToVelocityL22= (accessible [[file:~/Cloud/These/meas/src/index.org][here]]). #+begin_src matlab gain = 60; % [dB] diff --git a/disturbance-ty-sr/index.html b/disturbance-ty-sr/index.html index 6967647..d8ac7ea 100644 --- a/disturbance-ty-sr/index.html +++ b/disturbance-ty-sr/index.html @@ -414,7 +414,7 @@ ty_1h = load(2.2 Voltage to Velocity

    -We convert the measured voltage to velocity using the function voltageToVelocityL22 (accessible here). +We convert the measured voltage to velocity using the function voltageToVelocityL22 (accessible here).

    diff --git a/disturbance-ty-sr/index.org b/disturbance-ty-sr/index.org index c131ce1..6802c8a 100644 --- a/disturbance-ty-sr/index.org +++ b/disturbance-ty-sr/index.org @@ -108,7 +108,7 @@ Each of the measurement =mat= file contains one =data= array with 3 columns: #+end_src ** Voltage to Velocity -We convert the measured voltage to velocity using the function =voltageToVelocityL22= (accessible [[file:~/MEGA/These/meas/src/index.org][here]]). +We convert the measured voltage to velocity using the function =voltageToVelocityL22= (accessible [[file:~/Cloud/These/meas/src/index.org][here]]). #+begin_src matlab gain = 40; % [dB] diff --git a/disturbance-ty/index.html b/disturbance-ty/index.html index a161ccc..e2a942e 100644 --- a/disturbance-ty/index.html +++ b/disturbance-ty/index.html @@ -432,7 +432,7 @@ e_of = load(2.2 Voltage to Velocity

    -We convert the measured voltage to velocity using the function voltageToVelocityL22 (accessible here). +We convert the measured voltage to velocity using the function voltageToVelocityL22 (accessible here).

    diff --git a/disturbance-ty/index.org b/disturbance-ty/index.org index 2b86a9b..6298cc5 100644 --- a/disturbance-ty/index.org +++ b/disturbance-ty/index.org @@ -118,7 +118,7 @@ Each of the measurement =mat= file contains one =data= array with 3 columns: #+end_src ** Voltage to Velocity -We convert the measured voltage to velocity using the function =voltageToVelocityL22= (accessible [[file:~/MEGA/These/meas/src/index.org][here]]). +We convert the measured voltage to velocity using the function =voltageToVelocityL22= (accessible [[file:~/Cloud/These/meas/src/index.org][here]]). #+begin_src matlab gain = 40; % [dB] diff --git a/index.html b/index.html index 536b6a9..d56cc25 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Measurement of the ID31 Micro-Station @@ -254,11 +254,11 @@ for the JavaScript code in this tag.

    Table of Contents

    @@ -267,8 +267,8 @@ for the JavaScript code in this tag. This web-page gathers all the measurements done on the ID31 Micro Station.

    -
    -

    1 Measurements of the dynamics of the station

    +
    +

    1 Measurements of the dynamics of the station

    -
    -

    2 Measurements of perturbations

    +
    +

    2 Measurements of perturbations

    Vibrations during scans: @@ -316,8 +316,8 @@ Control loop influence:

    -
    -

    3 Measurement Noise

    +
    +

    3 Measurement Noise

    Noise coming from the Slip-Ring: @@ -329,8 +329,8 @@ Noise coming from the Slip-Ring:

    -
    -

    4 Modal Analysis

    +
    +

    4 Modal Analysis

    -

    Author: Thomas Dehaeze

    -

    Created: 2019-06-19 mer. 11:16

    +

    Created: 2019-10-08 mar. 10:45

    Validate

    diff --git a/index.org b/index.org index c68b3f7..59601cb 100644 --- a/index.org +++ b/index.org @@ -50,3 +50,4 @@ Noise coming from the Slip-Ring: - [[file:actuators-sensors/index.org][Actuators and Sensors]] - [[file:equipment/index.org][Equipment used for the measurements]] - [[file:src/index.org][Matlab functions used for the data analysis]] +- [[file:speedgoat-measurement/index.org][Speedgoat]] diff --git a/instrumentation/index.org b/instrumentation/index.org index 5b50f2b..bd074b2 100644 --- a/instrumentation/index.org +++ b/instrumentation/index.org @@ -349,7 +349,7 @@ The values of the components are: Which makes a cut-off frequency of $f_c = \frac{1}{RC} = 1000 rad/s = 160Hz$. #+NAME: fig:lpf -#+HEADER: :headers '("\\usepackage{tikz}" "\\usepackage{import}" "\\import{$HOME/MEGA/These/LaTeX/}{config.tex}") +#+HEADER: :headers '("\\usepackage{tikz}" "\\usepackage{import}" "\\import{$HOME/Cloud/These/LaTeX/}{config.tex}") #+HEADER: :imagemagick t :fit yes :iminoptions -scale 100% -density 150 :imoutoptions -quality 100 #+HEADER: :results raw replace :buffer no :eval no-export :exports both :mkdirp yes #+HEADER: :output-dir figs diff --git a/modal-analysis/frf_processing.org b/modal-analysis/frf_processing.org index 0808ffc..b83ae70 100644 --- a/modal-analysis/frf_processing.org +++ b/modal-analysis/frf_processing.org @@ -30,7 +30,7 @@ #+PROPERTY: header-args:shell :eval no-export -#+PROPERTY: header-args:latex :headers '("\\usepackage{tikz}" "\\usepackage{import}" "\\import{$HOME/MEGA/These/LaTeX/}{config.tex}") +#+PROPERTY: header-args:latex :headers '("\\usepackage{tikz}" "\\usepackage{import}" "\\import{$HOME/Cloud/These/LaTeX/}{config.tex}") #+PROPERTY: header-args:latex+ :imagemagick t :fit yes #+PROPERTY: header-args:latex+ :iminoptions -scale 100% -density 150 #+PROPERTY: header-args:latex+ :imoutoptions -quality 100 @@ -772,3 +772,6 @@ Then, as we know the positions of the accelerometers on each solid body, and we #+begin_src matlab save('mat/frf_com.mat', 'FRFs_CoM'); #+end_src +* Bibliography :ignore: +bibliographystyle:unsrt +bibliography:ref.bib diff --git a/modal-analysis/mathematical_model.html b/modal-analysis/mathematical_model.html index 462171d..b57a48b 100644 --- a/modal-analysis/mathematical_model.html +++ b/modal-analysis/mathematical_model.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Modal Analysis - Derivation of Mathematical Models @@ -246,18 +246,261 @@ for the JavaScript code in this tag. } /*]]>*///--> + +

    Modal Analysis - Derivation of Mathematical Models

    + + +
    +

    1 Type of Model

    +
    +

    +The model that we want to obtain is a multi-body model. +It is composed of several solid bodies connected with springs and dampers. +The solid bodies are represented with different colors on figure 1. +

    + +

    +In the simscape model, the solid bodies are: +

    +
      +
    • the granite (1 or 2 solids)
    • +
    • the translation stage
    • +
    • the tilt stage
    • +
    • the spindle and slip-ring
    • +
    • the hexapod
    • +
    + + +
    +

    nass_solidworks.png +

    +

    Figure 1: CAD view of the ID31 Micro-Station

    +
    + +

    +However, each of the DOF of the system may not be relevant for the modes present in the frequency band of interest. +For instance, the translation stage may not vibrate in the Z direction for all the modes identified. Then, we can block this DOF and this simplifies the model. +

    + +

    +The modal identification done here will thus permit us to determine which DOF can be neglected. +

    +
    +
    + +
    +

    2 TODO Extract Physical Matrices

    +
    +

    +wang11_extrac_real_modes_physic_matric +

    + +

    +Let's recall that: +\[ \Lambda = \begin{bmatrix} + s_1 & & 0 \\ + & \ddots & \\ + 0 & & s_N +\end{bmatrix}_{N \times N}; \quad \Psi = \begin{bmatrix} + & & \\ + \{\psi_1\} & \dots & \{\psi_N\} \\ + & & +\end{bmatrix}_{M \times N} ; \quad A = \begin{bmatrix} + a_1 & & 0 \\ + & \ddots & \\ + 0 & & a_N +\end{bmatrix}_{N \times N}; \] +

    + + +\begin{align} + M &= \frac{1}{2} \left[ \text{Re}(\Psi A^{-1} \Lambda \Psi^T ) \right]^{-1} \\ + C &= -2 M \text{Re}(\Psi A^{-1} \Lambda^2 A^{-1} \Psi^T ) M \\ + K &= -\frac{1}{2} \left[ \text{Re}(\Psi \Lambda^{-1} A^{-1} \Psi^T) \right]^{-1} +\end{align} + +
    +
    psi = eigen_vec_CoM;
    +a = modal_a_M;
    +lambda = eigen_val_M;
    +
    +M = 0.5*inv(real(psi*inv(a)*lambda*psi'));
    +C = -2*M*real(psi*inv(a)*lambda^2*inv(a)*psi')*M;
    +K = -0.5*inv(real(psi*inv(lambda)*inv(a)*psi'));
    +
    +
    + +

    +From ewins00_modal +

    + +\begin{align} + [M] &= [\Phi]^{-T} [I] [\Phi]^{-1} \\ + [K] &= [\Phi]^{-T} [\lambda_r^2] [\Phi]^{-1} +\end{align} +
    +
    + +
    +

    3 Some notes about constraining the number of degrees of freedom

    +
    +

    +We want to have the two eigen matrices. +

    + +

    +They should have the same size \(n \times n\) where \(n\) is the number of modes as well as the number of degrees of freedom. +Thus, if we consider 21 modes, we should restrict our system to have only 21 DOFs. +

    + +

    +Actually, we are measured 6 DOFs of 6 solids, thus we have 36 DOFs. +

    + +

    +From the mode shapes animations, it seems that in the frequency range of interest, the two marbles can be considered as one solid. +We thus have 5 solids and 30 DOFs. +

    + + +

    +In order to determine which DOF can be neglected, two solutions seems possible: +

    +
      +
    • compare the mode shapes
    • +
    • compare the FRFs
    • +
    + +

    +The question is: in which base (frame) should be express the modes shapes and FRFs? +Is it meaningful to compare mode shapes as they give no information about the amplitudes of vibration? +

    + + +
    Table 4: 393B05 Parameters
    + + +++ ++ ++ ++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    StageMotion DOFsParasitic DOFTotal DOFDescription of DOF
    Granite033 
    Ty123Ty, Rz
    Ry123Ry,
    Rz123Rz, Rx, Ry
    Hexapod606Txyz, Rxyz
     9918 
    +
+
+

+ +

Bibliography

+
  • [wang11_extrac_real_modes_physic_matric] Tong Wang, Lingmi Zhang & Kong Fah Tee, Extraction of Real Modes and Physical Matrices From Modal Testing, Earthquake Engineering and Engineering Vibration, 10(2), 219-227 (2011). link. doi.
  • +
  • [ewins00_modal] Ewins, Modal testing: theory, practice and application, Wiley-Blackwell (2000).
  • +
+

Author: Dehaeze Thomas

-

Created: 2019-07-03 mer. 13:53

+

Created: 2019-10-08 mar. 10:48

Validate

diff --git a/modal-analysis/mathematical_model.org b/modal-analysis/mathematical_model.org index e6a2842..bd62c38 100644 --- a/modal-analysis/mathematical_model.org +++ b/modal-analysis/mathematical_model.org @@ -28,7 +28,7 @@ #+PROPERTY: header-args:shell :eval no-export -#+PROPERTY: header-args:latex :headers '("\\usepackage{tikz}" "\\usepackage{import}" "\\import{$HOME/MEGA/These/LaTeX/}{config.tex}") +#+PROPERTY: header-args:latex :headers '("\\usepackage{tikz}" "\\usepackage{import}" "\\import{$HOME/Cloud/These/LaTeX/}{config.tex}") #+PROPERTY: header-args:latex+ :imagemagick t :fit yes #+PROPERTY: header-args:latex+ :iminoptions -scale 100% -density 150 #+PROPERTY: header-args:latex+ :imoutoptions -quality 100 @@ -134,3 +134,6 @@ Is it meaningful to compare mode shapes as they give no information about the am | | 9 | 9 | 18 | | #+TBLFM: $4=vsum($2..$3) #+TBLFM: @>$2..$>=vsum(@I..@II) +* Bibliography :ignore: +bibliographystyle:unsrt +bibliography:ref.bib diff --git a/modal-analysis/measurement.org b/modal-analysis/measurement.org index d323376..7f7dab6 100644 --- a/modal-analysis/measurement.org +++ b/modal-analysis/measurement.org @@ -30,7 +30,7 @@ #+PROPERTY: header-args:shell :eval no-export -#+PROPERTY: header-args:latex :headers '("\\usepackage{tikz}" "\\usepackage{import}" "\\import{$HOME/MEGA/These/LaTeX/}{config.tex}") +#+PROPERTY: header-args:latex :headers '("\\usepackage{tikz}" "\\usepackage{import}" "\\import{$HOME/Cloud/These/LaTeX/}{config.tex}") #+PROPERTY: header-args:latex+ :imagemagick t :fit yes #+PROPERTY: header-args:latex+ :iminoptions -scale 100% -density 150 #+PROPERTY: header-args:latex+ :imoutoptions -quality 100 diff --git a/modal-analysis/modal_extraction.org b/modal-analysis/modal_extraction.org index a39caa8..bf872a9 100644 --- a/modal-analysis/modal_extraction.org +++ b/modal-analysis/modal_extraction.org @@ -30,7 +30,7 @@ #+PROPERTY: header-args:shell :eval no-export -#+PROPERTY: header-args:latex :headers '("\\usepackage{tikz}" "\\usepackage{import}" "\\import{$HOME/MEGA/These/LaTeX/}{config.tex}") +#+PROPERTY: header-args:latex :headers '("\\usepackage{tikz}" "\\usepackage{import}" "\\import{$HOME/Cloud/These/LaTeX/}{config.tex}") #+PROPERTY: header-args:latex+ :imagemagick t :fit yes #+PROPERTY: header-args:latex+ :iminoptions -scale 100% -density 150 #+PROPERTY: header-args:latex+ :imoutoptions -quality 100 diff --git a/speedgoat-measurement/index.html b/speedgoat-measurement/index.html new file mode 100644 index 0000000..38c81a6 --- /dev/null +++ b/speedgoat-measurement/index.html @@ -0,0 +1,552 @@ + + + + + + + +Vibrations induced by the translation stage motion + + + + + + + + + + + + + +
+ UP + | + HOME +
+

Vibrations induced by the translation stage motion

+ + +
+

1 Get data from the target computer

+
+

+We first copy the dat file from the target computer to the host computer: +

+ +
+
tg=slrt;
+f=SimulinkRealTime.openFTP(tg);
+mget(f, 'DATA_001.dat', 'local_folder');
+close(f);
+
+
+ +

+We then import the dat file to the workspace: +

+ +
+
matlab_data = SimulinkRealTime.utils.getFileScopeData('DATA_001.dat');
+
+
+
+
+ +
+

2 Commands with the target object

+
+

+https://fr.mathworks.com/help/xpc/api/simulinkrealtime.target.html +

+ + + + +++ ++ + + + + + + + + + + + + + + + + + + + + + +
ConnectNo Yes
Statusstopped runing
startStart execution of real-time application on target computer
stopStop execution of real-time application on target computer
+ + + + + +++ ++ + + + + + + +
tg.viewTargetScreenShow target computer screen
+ + + + +++ ++ + + + + + + + + + + + + + + + + +
pingTest communication between development and target computers
rebootRestart target computer
closeClose connection between development and target computers
+ + + + +++ ++ + + + + + + + + + + + +
loadDownload real-time application to target computer
unloadRemove real-time application from target computer
+ + + + +++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
addscopeCreate a scope of specified type
getscopeReturn scope identified by scope number
remscopeRemove scope from target computer
getlogPortion of output logs from target object
importLogDataImport buffered logging data to the active session of the Simulation Data Inspector
getsignalValue of signal
getsignalidSignal index from signal hierarchical name
getsignalidsfromlabelVector of signal indices
getsignallabelSignal label for signal index
getsignalnameSignal name from index list
getparamRead value of observable parameter in real-time application
setparamChange value of tunable parameter in real-time application
getparamidParameter index from parameter hierarchical name
getparamnameBlock path and parameter name from parameter index
loadparamsetRestore parameter values saved in specified file
saveparamsetSave real-time application parameter values
startProfilerStart profiling service on target computer
stopProfilerStop profiling service on target computer
getProfilerDataRetrieve profile data object
resetProfilerReset profiling service state to Ready
getDiskSpaceReturn free space and total space on the drive, in bytes
+
+
+ +
+

3 FTP access to the target computer

+
+

+https://fr.mathworks.com/help/xpc/api/simulinkrealtime.openftp.html?s_tid=doc_ta +

+ +

+First run the following commands to have the FTP Object: +

+
+
tg=slrt;
+f=SimulinkRealTime.openFTP(tg);
+
+
+ +

+Then, the f object can be used to access the filesystem on the target computer. +

+
    +
  • cd
  • +
  • dir
  • +
  • mget: Used to download data from the target host. f.mget('data.dat', 'local_folder')
  • +
  • mkdir
  • +
  • mput
  • +
  • rename
  • +
  • rmdir
  • +
  • close
  • +
+
+
+
+
+

Author: Dehaeze Thomas

+

Created: 2019-10-08 mar. 10:44

+

Validate

+
+ + diff --git a/speedgoat-measurement/readme.org b/speedgoat-measurement/index.org similarity index 79% rename from speedgoat-measurement/readme.org rename to speedgoat-measurement/index.org index 22fca2c..7d268b4 100644 --- a/speedgoat-measurement/readme.org +++ b/speedgoat-measurement/index.org @@ -1,4 +1,22 @@ -* Usefull Simulink Real Time commands +#+TITLE: Vibrations induced by the translation stage motion +:DRAWER: +#+STARTUP: overview + +#+LANGUAGE: en +#+EMAIL: dehaeze.thomas@gmail.com +#+AUTHOR: Dehaeze Thomas + +#+HTML_LINK_HOME: ../index.html +#+HTML_LINK_UP: ../index.html + +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +:END: * Get data from the target computer @@ -67,14 +85,11 @@ First run the following commands to have the =FTP= Object: #+end_src Then, the =f= object can be used to access the filesystem on the target computer. -| cd | | | -| dir | | | -| mget | Used to download data from the target host | =f.mget('data.dat', 'local_folder')= | -| mkdir | | | -| mput | | | -| rename | | | -| rmdir | | | -| close | | | - -* ELMO -tutorials: https://www.elmomc.com/products/application-studio/easii/easii-tutorials/ +- =cd= +- =dir= +- =mget=: Used to download data from the target host. =f.mget('data.dat', 'local_folder')= +- =mkdir= +- =mput= +- =rename= +- =rmdir= +- =close=