Add every computation files and data
1
.gitattributes
vendored
@ -1,2 +1,3 @@
|
||||
*.svg binary
|
||||
*.html binary
|
||||
*.mat binary
|
||||
|
BIN
2017-09-01 - Marc/id31_microstation_7september2017_v1.pdf
Normal file
BIN
2017-11-17 - Marc/data/2017_11_17.mat
Normal file
BIN
2017-11-17 - Marc/data/id31_microstation_2017_11_17_coh.mat
Normal file
BIN
2017-11-17 - Marc/data/id31_microstation_2017_11_17_frf.mat
Normal file
BIN
2017-11-17 - Marc/figs/accelerometers.png
Normal file
After Width: | Height: | Size: 511 KiB |
BIN
2017-11-17 - Marc/figs/hexa_x_frf.pdf
Normal file
BIN
2017-11-17 - Marc/figs/hexa_x_frf.png
Normal file
After Width: | Height: | Size: 102 KiB |
BIN
2017-11-17 - Marc/figs/hexa_x_frf.svg
Normal file
After Width: | Height: | Size: 317 KiB |
BIN
2017-11-17 - Marc/figs/hexa_y_frf.pdf
Normal file
BIN
2017-11-17 - Marc/figs/hexa_y_frf.png
Normal file
After Width: | Height: | Size: 98 KiB |
BIN
2017-11-17 - Marc/figs/hexa_y_frf.svg
Normal file
After Width: | Height: | Size: 328 KiB |
BIN
2017-11-17 - Marc/figs/hexa_z_frf.pdf
Normal file
BIN
2017-11-17 - Marc/figs/hexa_z_frf.png
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
2017-11-17 - Marc/figs/hexa_z_frf.svg
Normal file
After Width: | Height: | Size: 306 KiB |
BIN
2017-11-17 - Marc/figs/instrumented_hammer.png
Normal file
After Width: | Height: | Size: 407 KiB |
BIN
2017-11-17 - Marc/figs/marble_x_frf.pdf
Normal file
BIN
2017-11-17 - Marc/figs/marble_x_frf.png
Normal file
After Width: | Height: | Size: 91 KiB |
BIN
2017-11-17 - Marc/figs/marble_x_frf.svg
Normal file
After Width: | Height: | Size: 319 KiB |
BIN
2017-11-17 - Marc/figs/marble_y_frf.pdf
Normal file
BIN
2017-11-17 - Marc/figs/marble_y_frf.png
Normal file
After Width: | Height: | Size: 96 KiB |
BIN
2017-11-17 - Marc/figs/marble_y_frf.svg
Normal file
After Width: | Height: | Size: 329 KiB |
BIN
2017-11-17 - Marc/figs/marble_z_frf.pdf
Normal file
BIN
2017-11-17 - Marc/figs/marble_z_frf.png
Normal file
After Width: | Height: | Size: 93 KiB |
BIN
2017-11-17 - Marc/figs/marble_z_frf.svg
Normal file
After Width: | Height: | Size: 312 KiB |
BIN
2017-11-17 - Marc/files/figures/marble_z-all_z.pdf
Normal file
BIN
2017-11-17 - Marc/files/figures/marble_z-all_z.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
2017-11-17 - Marc/files/figures/marble_z-hexa_z-acc.pdf
Normal file
BIN
2017-11-17 - Marc/files/figures/marble_z-hexa_z-acc.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
2017-11-17 - Marc/files/figures/marble_z-hexa_z-disp.pdf
Normal file
BIN
2017-11-17 - Marc/files/figures/marble_z-hexa_z-disp.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
2017-11-17 - Marc/files/figures/marble_z-hexa_z.pdf
Normal file
BIN
2017-11-17 - Marc/files/figures/marble_z-hexa_z.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
2017-11-17 - Marc/files/figures/marble_z.pdf
Normal file
BIN
2017-11-17 - Marc/files/figures/marble_z.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
2017-11-17 - Marc/files/figures/response_z.pdf
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
2017-11-17 - Marc/files/figures/sup-elem_marble_x-hexa_x.pdf
Normal file
BIN
2017-11-17 - Marc/files/figures/sup-elem_marble_x-hexa_x.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
2017-11-17 - Marc/files/id31_microstation_17november2017_v2.pdf
Normal file
BIN
2017-11-17 - Marc/index.html
Normal file
293
2017-11-17 - Marc/index.org
Normal file
@ -0,0 +1,293 @@
|
||||
#+TITLE: Measurements
|
||||
:drawer:
|
||||
#+STARTUP: overview
|
||||
|
||||
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../css/htmlize.css"/>
|
||||
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../css/readtheorg.css"/>
|
||||
#+HTML_HEAD: <script src="../js/jquery.min.js"></script>
|
||||
#+HTML_HEAD: <script src="../js/bootstrap.min.js"></script>
|
||||
#+HTML_HEAD: <script src="../js/jquery.stickytableheaders.min.js"></script>
|
||||
#+HTML_HEAD: <script src="../js/readtheorg.js"></script>
|
||||
|
||||
#+LATEX_CLASS: cleanreport
|
||||
#+LaTeX_CLASS_OPTIONS: [tocnp, secbreak, minted]
|
||||
|
||||
#+PROPERTY: header-args:matlab :session *MATLAB*
|
||||
#+PROPERTY: header-args:matlab+ :comments org
|
||||
#+PROPERTY: header-args:matlab+ :exports both
|
||||
#+PROPERTY: header-args:matlab+ :eval no-export
|
||||
#+PROPERTY: header-args:matlab+ :noweb yes
|
||||
#+PROPERTY: header-args:matlab+ :mkdirp yes
|
||||
#+PROPERTY: header-args:matlab+ :output-dir figs
|
||||
:end:
|
||||
|
||||
* Experimental conditions
|
||||
- Measurement made in a metrology lab
|
||||
- The granite is not glued to the floor
|
||||
- The Y-Translation stage is powered and in closed-loop
|
||||
- The spindle is not powered
|
||||
- Mass is placed on top of the Hexapod (*how much?*) (figure [[fig:accelerometers]]).
|
||||
- Made by Marc Lesourd on the 17th of November 2017
|
||||
|
||||
#+name: fig:accelerometers
|
||||
#+caption: Accelerometers position
|
||||
#+attr_latex: :width 0.5\linewidth
|
||||
file:./figs/accelerometers.png
|
||||
|
||||
#+name: fig:instrumented_hammer
|
||||
#+caption: Instrumented Hammer used
|
||||
#+attr_latex: :width 0.5\linewidth
|
||||
file:./figs/instrumented_hammer.png
|
||||
|
||||
* Measurements procedure
|
||||
*3-axis Accelerometers* (specifications table [[tab:accelerometer]]) are glued on (see figure [[fig:accelerometers]]):
|
||||
- Marble
|
||||
- Y-Translation stage
|
||||
- Tilt stage
|
||||
- top of Hexapod
|
||||
|
||||
#+NAME: tab:accelerometer
|
||||
#+CAPTION: Pieozoelectric acc. 356b18 - 3 axis
|
||||
| Sensitivity | 0.102 V/(m/s2) |
|
||||
| Measurement Range | 4.9 m/s2 pk |
|
||||
| Frequency Range | 0.5 to 3000 Hz |
|
||||
| resonant frequency | >20000 Hz |
|
||||
| broadband resolution | 0.0005 m/s2 rms |
|
||||
|
||||
The structure is excited using an *instrumented hammer* with impacts on (see figure [[fig:instrumented_hammer]]):
|
||||
- Marble
|
||||
- Hexapod
|
||||
|
||||
* Measurement Files
|
||||
Two measurements files are:
|
||||
- =id31_microstation_2017_11_17_frf.mat= that contains:
|
||||
- =freq_frf= the frequency vector in Hz
|
||||
- Computed frequency response functions (see table [[tab:data_name]])
|
||||
- =id31_microstation_2017_11_17_coh.mat=
|
||||
- Computed coherence
|
||||
|
||||
For each of the measurement, the measured channels are shown on table [[tab:meas_channels]].
|
||||
|
||||
#+NAME: tab:data_name
|
||||
#+CAPTION: Description of the location of direction of the excitation for each measurement
|
||||
| Object name | Location | Direction |
|
||||
|--------------+----------+-----------|
|
||||
| frf_hexa_x | Hexapod | X |
|
||||
| frf_hexa_y | Hexapod | Y |
|
||||
| frf_hexa_z | Hexapod | Z |
|
||||
| frf_marble_x | Marble | X |
|
||||
| frf_marble_y | Marble | Y |
|
||||
| frf_marble_z | Marble | Z |
|
||||
|
||||
#+NAME: tab:meas_channels
|
||||
#+CAPTION: Description of each measurement channel
|
||||
| Ch. nb | Element | Location | Direction |
|
||||
|--------+---------------+----------+-----------|
|
||||
| 1 | Not wired | na | na |
|
||||
| 2 | Accelerometer | Marble | X |
|
||||
| 3 | Accelerometer | Marble | Y |
|
||||
| 4 | Accelerometer | Marble | Z |
|
||||
| 5 | Accelerometer | Ty | X |
|
||||
| 6 | Accelerometer | Ty | Y |
|
||||
| 7 | Accelerometer | Ty | Z |
|
||||
| 8 | Accelerometer | Tilt | X |
|
||||
| 9 | Accelerometer | Tilt | Y |
|
||||
| 10 | Accelerometer | Tilt | Z |
|
||||
| 11 | Accelerometer | Hexapod | X |
|
||||
| 12 | Accelerometer | Hexapod | Y |
|
||||
| 13 | Accelerometer | Hexapod | Z |
|
||||
|
||||
* Data Analysis
|
||||
** Loading of the data
|
||||
#+begin_src matlab :exports none :results silent
|
||||
<<matlab-init>>
|
||||
#+end_src
|
||||
|
||||
#+begin_src matlab :exports code :results none
|
||||
load('./raw_data/id31_microstation_2017_11_17_coh.mat',...
|
||||
'coh_hexa_x',...
|
||||
'coh_hexa_y',...
|
||||
'coh_hexa_z',...
|
||||
'coh_marble_x',...
|
||||
'coh_marble_y',...
|
||||
'coh_marble_z');
|
||||
|
||||
load('./raw_data/id31_microstation_2017_11_17_frf.mat',...
|
||||
'freq_frf',...
|
||||
'frf_hexa_x',...
|
||||
'frf_hexa_y',...
|
||||
'frf_hexa_z',...
|
||||
'frf_marble_x',...
|
||||
'frf_marble_y',...
|
||||
'frf_marble_z');
|
||||
#+end_src
|
||||
|
||||
** Pre-processing of the data
|
||||
The FRF data are scaled with the sensitivity of the accelerometer and integrated two times to have the displacement instead of the acceleration.
|
||||
|
||||
#+begin_src matlab :results none
|
||||
accel_sensitivity = 0.102; % [V/(m/s2)]
|
||||
w = j*2*pi*freq_frf; % j.omega in [rad/s]
|
||||
|
||||
frf_hexa_x = 1/accel_sensitivity*frf_hexa_x./(w.^2);
|
||||
frf_hexa_y = -1/accel_sensitivity*frf_hexa_y./(w.^2);
|
||||
frf_hexa_z = -1/accel_sensitivity*frf_hexa_z./(w.^2);
|
||||
|
||||
frf_marble_x = 1/accel_sensitivity*frf_marble_x./(w.^2);
|
||||
frf_marble_y = 1/accel_sensitivity*frf_marble_y./(w.^2);
|
||||
frf_marble_z = -1/accel_sensitivity*frf_marble_z./(w.^2);
|
||||
#+end_src
|
||||
|
||||
** X-direction FRF
|
||||
#+begin_src matlab :exports none :results none
|
||||
figure;
|
||||
hold on;
|
||||
plot(freq_frf, abs(frf_marble_x(:, 2)), 'DisplayName', 'Marble - X');
|
||||
plot(freq_frf, abs(frf_marble_x(:, 5)), 'DisplayName', 'Ty - X');
|
||||
plot(freq_frf, abs(frf_marble_x(:, 8)), 'DisplayName', 'Ry - X');
|
||||
plot(freq_frf, abs(frf_marble_x(:, 11)), 'DisplayName', 'Hexa - X');
|
||||
hold off;
|
||||
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log');
|
||||
xlabel('Frequency [Hz]'); ylabel('Displacement/Force [m/N]');
|
||||
xlim([20, 200]); xticks([20, 50, 100, 200]);
|
||||
legend('Location', 'southwest');
|
||||
#+end_src
|
||||
|
||||
#+NAME: fig:marble_x_frf
|
||||
#+HEADER: :tangle no :exports results :results raw :noweb yes
|
||||
#+begin_src matlab :var filepath="figs/marble_x_frf.pdf" :var figsize="wide-normal" :post pdf2svg(file=*this*, ext="png")
|
||||
<<plt-matlab>>
|
||||
#+end_src
|
||||
|
||||
#+NAME: fig:marble_x_frf
|
||||
#+CAPTION: Response to a force applied on the marble in the X direction
|
||||
#+RESULTS: fig:marble_x_frf
|
||||
[[file:figs/marble_x_frf.png]]
|
||||
|
||||
|
||||
#+begin_src matlab :exports none :results none
|
||||
figure;
|
||||
hold on;
|
||||
plot(freq_frf, abs(frf_hexa_x(:, 2)), 'DisplayName', 'Marble - X');
|
||||
plot(freq_frf, abs(frf_hexa_x(:, 5)), 'DisplayName', 'Ty - X');
|
||||
plot(freq_frf, abs(frf_hexa_x(:, 8)), 'DisplayName', 'Ry - X');
|
||||
plot(freq_frf, abs(frf_hexa_x(:, 11)), 'DisplayName', 'Hexa - X');
|
||||
hold off;
|
||||
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log');
|
||||
xlabel('Frequency [Hz]'); ylabel('Displacement/Force [m/N]');
|
||||
xlim([20, 200]); xticks([20, 50, 100, 200]);
|
||||
legend('Location', 'southwest');
|
||||
#+end_src
|
||||
|
||||
#+NAME: fig:hexa_x_frf
|
||||
#+HEADER: :tangle no :exports results :results raw :noweb yes
|
||||
#+begin_src matlab :var filepath="figs/hexa_x_frf.pdf" :var figsize="wide-normal" :post pdf2svg(file=*this*, ext="png")
|
||||
<<plt-matlab>>
|
||||
#+end_src
|
||||
|
||||
#+NAME: fig:hexa_x_frf
|
||||
#+CAPTION: Response to a force applied on the hexa in the X direction
|
||||
#+RESULTS: fig:hexa_x_frf
|
||||
[[file:figs/hexa_x_frf.png]]
|
||||
|
||||
** Y-direction FRF
|
||||
#+begin_src matlab :exports none :results none
|
||||
figure;
|
||||
hold on;
|
||||
plot(freq_frf, abs(frf_marble_y(:, 3)), 'DisplayName', 'Marble - Y');
|
||||
plot(freq_frf, abs(frf_marble_y(:, 6)), 'DisplayName', 'Ty - Y');
|
||||
plot(freq_frf, abs(frf_marble_y(:, 9)), 'DisplayName', 'Ry - Y');
|
||||
plot(freq_frf, abs(frf_marble_y(:, 12)), 'DisplayName', 'Hexa - Y');
|
||||
hold off;
|
||||
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log');
|
||||
xlabel('Frequency [Hz]'); ylabel('Displacement/Force [m/N]');
|
||||
xlim([20, 200]); xticks([20, 50, 100, 200]);
|
||||
legend('Location', 'southwest');
|
||||
#+end_src
|
||||
|
||||
#+NAME: fig:marble_y_frf
|
||||
#+HEADER: :tangle no :exports results :results raw :noweb yes
|
||||
#+begin_src matlab :var filepath="figs/marble_y_frf.pdf" :var figsize="wide-normal" :post pdf2svg(file=*this*, ext="png")
|
||||
<<plt-matlab>>
|
||||
#+end_src
|
||||
|
||||
#+NAME: fig:marble_y_frf
|
||||
#+CAPTION: Response to a force applied on the marble in the Y direction
|
||||
#+RESULTS: fig:marble_y_frf
|
||||
[[file:figs/marble_y_frf.png]]
|
||||
|
||||
#+begin_src matlab :exports none :results none
|
||||
figure;
|
||||
hold on;
|
||||
plot(freq_frf, abs(frf_hexa_y(:, 3)), 'DisplayName', 'Marble - Y');
|
||||
plot(freq_frf, abs(frf_hexa_y(:, 6)), 'DisplayName', 'Ty - Y');
|
||||
plot(freq_frf, abs(frf_hexa_y(:, 9)), 'DisplayName', 'Ry - Y');
|
||||
plot(freq_frf, abs(frf_hexa_y(:, 12)), 'DisplayName', 'Hexa - Y');
|
||||
hold off;
|
||||
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log');
|
||||
xlabel('Frequency [Hz]'); ylabel('Displacement/Force [m/N]');
|
||||
xlim([20, 200]); xticks([20, 50, 100, 200]);
|
||||
legend('Location', 'southwest');
|
||||
#+end_src
|
||||
|
||||
#+NAME: fig:hexa_y_frf
|
||||
#+HEADER: :tangle no :exports results :results raw :noweb yes
|
||||
#+begin_src matlab :var filepath="figs/hexa_y_frf.pdf" :var figsize="wide-normal" :post pdf2svg(file=*this*, ext="png")
|
||||
<<plt-matlab>>
|
||||
#+end_src
|
||||
|
||||
#+NAME: fig:hexa_y_frf
|
||||
#+CAPTION: Response to a force applied on the hexa in the Y direction
|
||||
#+RESULTS: fig:hexa_y_frf
|
||||
[[file:figs/hexa_y_frf.png]]
|
||||
|
||||
** Z-direction FRF
|
||||
#+begin_src matlab :exports none :results none
|
||||
figure;
|
||||
hold on;
|
||||
plot(freq_frf, abs(frf_marble_z(:, 4)), 'DisplayName', 'Marble - Z');
|
||||
plot(freq_frf, abs(frf_marble_z(:, 7)), 'DisplayName', 'Ty - Z');
|
||||
plot(freq_frf, abs(frf_marble_z(:, 10)), 'DisplayName', 'Ry - Z');
|
||||
plot(freq_frf, abs(frf_marble_z(:, 13)), 'DisplayName', 'Hexa - Z');
|
||||
hold off;
|
||||
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log');
|
||||
xlabel('Frequency [Hz]'); ylabel('Displacement/Force [m/N]');
|
||||
xlim([20, 200]); xticks([20, 50, 100, 200]);
|
||||
legend('Location', 'southwest');
|
||||
#+end_src
|
||||
|
||||
#+NAME: fig:marble_z_frf
|
||||
#+HEADER: :tangle no :exports results :results raw :noweb yes
|
||||
#+begin_src matlab :var filepath="figs/marble_z_frf.pdf" :var figsize="wide-normal" :post pdf2svg(file=*this*, ext="png")
|
||||
<<plt-matlab>>
|
||||
#+end_src
|
||||
|
||||
#+NAME: fig:marble_z_frf
|
||||
#+CAPTION: Response to a force applied on the marble in the Z direction
|
||||
#+RESULTS: fig:marble_z_frf
|
||||
[[file:figs/marble_z_frf.png]]
|
||||
|
||||
#+begin_src matlab :exports none :results none
|
||||
figure;
|
||||
hold on;
|
||||
plot(freq_frf, abs(frf_hexa_z(:, 4)), 'DisplayName', 'Marble - Z');
|
||||
plot(freq_frf, abs(frf_hexa_z(:, 7)), 'DisplayName', 'Ty - Z');
|
||||
plot(freq_frf, abs(frf_hexa_z(:, 10)), 'DisplayName', 'Ry - Z');
|
||||
plot(freq_frf, abs(frf_hexa_z(:, 13)), 'DisplayName', 'Hexa - Z');
|
||||
hold off;
|
||||
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log');
|
||||
xlabel('Frequency [Hz]'); ylabel('Displacement/Force [m/N]');
|
||||
xlim([20, 200]); xticks([20, 50, 100, 200]);
|
||||
legend('Location', 'southwest');
|
||||
#+end_src
|
||||
|
||||
#+NAME: fig:hexa_z_frf
|
||||
#+HEADER: :tangle no :exports results :results raw :noweb yes
|
||||
#+begin_src matlab :var filepath="figs/hexa_z_frf.pdf" :var figsize="wide-normal" :post pdf2svg(file=*this*, ext="png")
|
||||
<<plt-matlab>>
|
||||
#+end_src
|
||||
|
||||
#+NAME: fig:hexa_z_frf
|
||||
#+CAPTION: Response to a force applied on the hexa in the Z direction
|
||||
#+RESULTS: fig:hexa_z_frf
|
||||
[[file:figs/hexa_z_frf.png]]
|
BIN
2017-11-17 - Marc/raw_data/id31_microstation_2017_11_17_coh.mat
Normal file
BIN
2017-11-17 - Marc/raw_data/id31_microstation_2017_11_17_frf.mat
Normal file
BIN
2017-11-17 - Marc/raw_data/id31_microstation_2017_11_17_phs.mat
Normal file
112
2017-11-17 - Marc/scripts/data.org
Normal file
@ -0,0 +1,112 @@
|
||||
#+TITLE: Measurements made by Marc Lessourd on the 17th of November 2017 - Matlab
|
||||
:drawer:
|
||||
#+LATEX_CLASS: cleanreport
|
||||
#+LaTeX_CLASS_OPTIONS: [tocnp, secbreak, minted]
|
||||
#+STARTUP: overview
|
||||
#+PROPERTY: header-args:matlab :session *MATLAB*
|
||||
#+PROPERTY: header-args:matlab+ :comments org
|
||||
#+PROPERTY: header-args:matlab+ :exports both
|
||||
#+PROPERTY: header-args:matlab+ :eval no-export
|
||||
#+PROPERTY: header-args:matlab+ :noweb yes
|
||||
#+PROPERTY: header-args:matlab+ :mkdirp yes
|
||||
#+PROPERTY: header-args:matlab+ :output-dir figs
|
||||
:end:
|
||||
|
||||
* Load the data
|
||||
#+begin_src matlab :exports code :results none
|
||||
load('./raw_data/id31_microstation_2017_11_17_coh.mat',...
|
||||
'coh_hexa_x',...
|
||||
'coh_hexa_y',...
|
||||
'coh_hexa_z',...
|
||||
'coh_marble_x',...
|
||||
'coh_marble_y',...
|
||||
'coh_marble_z');
|
||||
load('./raw_data/id31_microstation_2017_11_17_frf.mat',...
|
||||
'freq_frf',...
|
||||
'frf_hexa_x',...
|
||||
'frf_hexa_y',...
|
||||
'frf_hexa_z',...
|
||||
'frf_marble_x',...
|
||||
'frf_marble_y',...
|
||||
'frf_marble_z');
|
||||
#+end_src
|
||||
|
||||
Measurement is in V?
|
||||
#+begin_src matlab :results none
|
||||
accel_sensitivity = 0.102; % [V/(m/s2)]
|
||||
w = j*2*pi*freq_frf;
|
||||
|
||||
frf_hexa_x = 1/accel_sensitivity*frf_hexa_x./(w.^2);
|
||||
frf_hexa_y = -1/accel_sensitivity*frf_hexa_y./(w.^2);
|
||||
frf_hexa_z = -1/accel_sensitivity*frf_hexa_z./(w.^2);
|
||||
|
||||
frf_marble_x = 1/accel_sensitivity*frf_marble_x./(w.^2);
|
||||
frf_marble_y = 1/accel_sensitivity*frf_marble_y./(w.^2);
|
||||
frf_marble_z = -1/accel_sensitivity*frf_marble_z./(w.^2);
|
||||
#+end_src
|
||||
|
||||
* Plots
|
||||
#+begin_src matlab :exports none :results none
|
||||
figure;
|
||||
hold on;
|
||||
plot(freq_frf, abs(frf_hexa_x(:, 2)), 'DisplayName', 'Marble - X');
|
||||
plot(freq_frf, abs(frf_hexa_x(:, 5)), 'DisplayName', 'Ty - X');
|
||||
plot(freq_frf, abs(frf_hexa_x(:, 8)), 'DisplayName', 'Ry - X');
|
||||
plot(freq_frf, abs(frf_hexa_x(:, 11)), 'DisplayName', 'Hexa - X');
|
||||
hold off;
|
||||
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log');
|
||||
xlim([20, 200]);
|
||||
legend('Location', 'northeast');
|
||||
#+end_src
|
||||
|
||||
|
||||
#+begin_src matlab :exports none :results none
|
||||
figure;
|
||||
hold on;
|
||||
plot(freq_frf, abs(frf_hexa_x(:, 2)), 'DisplayName', 'Marble - X');
|
||||
plot(freq_frf, abs(frf_hexa_x(:, 5)), 'DisplayName', 'Ty - X');
|
||||
plot(freq_frf, abs(frf_hexa_x(:, 8)), 'DisplayName', 'Ry - X');
|
||||
plot(freq_frf, abs(frf_hexa_x(:, 11)), 'DisplayName', 'Hexa - X');
|
||||
hold off;
|
||||
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log');
|
||||
xlim([20, 200]);
|
||||
legend('Location', 'northeast');
|
||||
#+end_src
|
||||
|
||||
|
||||
#+begin_src matlab :exports none :results none
|
||||
channel = 12;
|
||||
|
||||
figure;
|
||||
ax1 = subaxis(3,1,1);
|
||||
plot(freq_frf, abs(frf_hexa_y(:, channel)))
|
||||
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log');
|
||||
|
||||
ax2 = subaxis(3,1,2);
|
||||
plot(freq_frf, mod(180/pi*phase(frf_hexa_y(:, channel))+180, 360)-180)
|
||||
set(gca, 'Xscale', 'log');
|
||||
ylim([-180 180]);
|
||||
yticks([-180:90:180]);
|
||||
|
||||
ax3 = subaxis(3,1,3);
|
||||
plot(freq_frf, coh_hexa_y(:, channel))
|
||||
set(gca, 'Xscale', 'log');
|
||||
|
||||
linkaxes([ax1,ax2,ax3],'x');
|
||||
xlim([20, 200]);
|
||||
#+end_src
|
||||
|
||||
|
||||
#+begin_src matlab :exports none :results none
|
||||
figure;
|
||||
ax1 = subaxis(2,1,1);
|
||||
plot(freq_frf, abs(frf_marble_z(:, 4)))
|
||||
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log')
|
||||
ax2 = subaxis(2,1,2);
|
||||
plot(freq_frf, mod(180/pi*phase(frf_marble_z(:, 4))+180, 360)-180)
|
||||
linkaxes([ax1,ax2],'x');
|
||||
ylim([-180 180]);
|
||||
yticks([-180:90:180]);
|
||||
set(gca, 'Xscale', 'log')
|
||||
xlim([20, 200])
|
||||
#+end_src
|
53
2017-11-17 - Marc/scripts/export_measure_data.m
Normal file
@ -0,0 +1,53 @@
|
||||
%%
|
||||
clear;
|
||||
close all;
|
||||
clc
|
||||
|
||||
%% Coherence
|
||||
load('../raw_data/id31_microstation_2017_11_17_coh.mat', 'coh_hexa_x',...
|
||||
'coh_hexa_y',...
|
||||
'coh_hexa_z',...
|
||||
'coh_marble_x',...
|
||||
'coh_marble_y',...
|
||||
'coh_marble_z');
|
||||
|
||||
%% Save Coherence data
|
||||
save('../data/id31_microstation_2017_11_17_coh.mat', ...
|
||||
'coh_marble_x', ...
|
||||
'coh_hexa_x', ...
|
||||
'coh_marble_y', ...
|
||||
'coh_hexa_y', ...
|
||||
'coh_marble_z', ...
|
||||
'coh_hexa_z');
|
||||
|
||||
|
||||
%% Frequency Response
|
||||
load('../raw_data/id31_microstation_2017_11_17_frf.mat', 'freq_frf', ...
|
||||
'frf_hexa_x',...
|
||||
'frf_hexa_y',...
|
||||
'frf_hexa_z',...
|
||||
'frf_marble_x',...
|
||||
'frf_marble_y',...
|
||||
'frf_marble_z');
|
||||
|
||||
force_factor = 1;
|
||||
accel_factor = 1000;
|
||||
scale_factor = accel_factor/force_factor;
|
||||
|
||||
frf_hexa_x = scale_factor*frf_hexa_x;
|
||||
frf_hexa_y = -scale_factor*frf_hexa_y;
|
||||
frf_hexa_z = -scale_factor*frf_hexa_z;
|
||||
|
||||
frf_marble_x = scale_factor*frf_marble_x;
|
||||
frf_marble_y = scale_factor*frf_marble_y;
|
||||
frf_marble_z = -scale_factor*frf_marble_z;
|
||||
|
||||
%% Save Frequency Response Data
|
||||
save('../data/id31_microstation_2017_11_17_frf.mat', ...
|
||||
'freq_frf', ...
|
||||
'frf_marble_x', ...
|
||||
'frf_hexa_x', ...
|
||||
'frf_marble_y', ...
|
||||
'frf_hexa_y', ...
|
||||
'frf_marble_z', ...
|
||||
'frf_hexa_z');
|
182
2017-11-17 - Marc/scripts/export_measure_object.m
Normal file
@ -0,0 +1,182 @@
|
||||
ground = struct(...
|
||||
'full_name', 'Ground',...
|
||||
'short_name', 'ground',...
|
||||
'letter', 'g',...
|
||||
'above_of', '',...
|
||||
'bellow_of', 'marble',...
|
||||
'tx', struct(...
|
||||
'isMeasured', false, ...
|
||||
'isExcited', false, ...
|
||||
'id', 0 ...
|
||||
),...
|
||||
'ty', struct(...
|
||||
'isMeasured', false, ...
|
||||
'isExcited', false, ...
|
||||
'id', 0 ...
|
||||
),...
|
||||
'tz', struct(...
|
||||
'isMeasured', false, ...
|
||||
'isExcited', false, ...
|
||||
'id', 0 ...
|
||||
)...
|
||||
);
|
||||
marble = struct(...
|
||||
'full_name', 'Marble',...
|
||||
'short_name', 'marble',...
|
||||
'letter', 'm',...
|
||||
'above_of', 'ground',...
|
||||
'bellow_of', 'trans_stage',...
|
||||
'tx', struct(...
|
||||
'isMeasured', true, ...
|
||||
'isExcited', true, ...
|
||||
'id', 2 ...
|
||||
),...
|
||||
'ty', struct(...
|
||||
'isMeasured', true, ...
|
||||
'isExcited', true, ...
|
||||
'id', 3 ...
|
||||
),...
|
||||
'tz', struct(...
|
||||
'isMeasured', true, ...
|
||||
'isExcited', true, ...
|
||||
'id', 4 ...
|
||||
)...
|
||||
);
|
||||
trans_stage = struct(...
|
||||
'full_name', 'Translation Stage',...
|
||||
'short_name', 'trans_stage',...
|
||||
'letter', 't',...
|
||||
'above_of', 'marble',...
|
||||
'bellow_of', 'tilt_stage',...
|
||||
'tx', struct(...
|
||||
'isMeasured', true, ...
|
||||
'isExcited', false, ...
|
||||
'id', 5 ...
|
||||
),...
|
||||
'ty', struct(...
|
||||
'isMeasured', true, ...
|
||||
'isExcited', false, ...
|
||||
'id', 6 ...
|
||||
),...
|
||||
'tz', struct(...
|
||||
'isMeasured', true, ...
|
||||
'isExcited', false, ...
|
||||
'id', 7 ...
|
||||
)...
|
||||
);
|
||||
tilt_stage = struct(...
|
||||
'full_name', 'Tilt Stage',...
|
||||
'short_name', 'tilt_stage',...
|
||||
'letter', 'o',...
|
||||
'above_of', 'trans_stage',...
|
||||
'bellow_of', 'hexa',...
|
||||
'tx', struct(...
|
||||
'isMeasured', true, ...
|
||||
'isExcited', false, ...
|
||||
'id', 8 ...
|
||||
),...
|
||||
'ty', struct(...
|
||||
'isMeasured', true, ...
|
||||
'isExcited', false, ...
|
||||
'id', 9 ...
|
||||
),...
|
||||
'tz', struct(...
|
||||
'isMeasured', true, ...
|
||||
'isExcited', false, ...
|
||||
'id', 10 ...
|
||||
)...
|
||||
);
|
||||
hexa = struct(...
|
||||
'full_name', 'Hexapod',...
|
||||
'short_name', 'hexa',...
|
||||
'letter', 'h',...
|
||||
'above_of', 'tilt_stage',...
|
||||
'bellow_of', 'nano_stage',...
|
||||
'tx', struct(...
|
||||
'isMeasured', true, ...
|
||||
'isExcited', true, ...
|
||||
'id', 11 ...
|
||||
),...
|
||||
'ty', struct(...
|
||||
'isMeasured', true, ...
|
||||
'isExcited', true, ...
|
||||
'id', 12 ...
|
||||
),...
|
||||
'tz', struct(...
|
||||
'isMeasured', true, ...
|
||||
'isExcited', true, ...
|
||||
'id', 13 ...
|
||||
)...
|
||||
);
|
||||
nano_stage = struct(...
|
||||
'full_name', 'Nano Stage',...
|
||||
'short_name', 'nano_stage',...
|
||||
'letter', 'n',...
|
||||
'above_of', 'hexa',...
|
||||
'bellow_of', 'sample',...
|
||||
'tx', struct(...
|
||||
'isMeasured', false, ...
|
||||
'isExcited', false, ...
|
||||
'id', 0 ...
|
||||
),...
|
||||
'ty', struct(...
|
||||
'isMeasured', false, ...
|
||||
'isExcited', false, ...
|
||||
'id', 0 ...
|
||||
),...
|
||||
'tz', struct(...
|
||||
'isMeasured', false, ...
|
||||
'isExcited', false, ...
|
||||
'id', 0 ...
|
||||
)...
|
||||
);
|
||||
sample = struct(...
|
||||
'full_name', 'Sample',...
|
||||
'short_name', 'sample',...
|
||||
'letter', 's',...
|
||||
'above_of', 'nano_stage',...
|
||||
'bellow_of', '',...
|
||||
'tx', struct(...
|
||||
'isMeasured', false, ...
|
||||
'isExcited', false, ...
|
||||
'id', 0 ...
|
||||
),...
|
||||
'ty', struct(...
|
||||
'isMeasured', false, ...
|
||||
'isExcited', false, ...
|
||||
'id', 0 ...
|
||||
),...
|
||||
'tz', struct(...
|
||||
'isMeasured', false, ...
|
||||
'isExcited', false, ...
|
||||
'id', 0 ...
|
||||
)...
|
||||
);
|
||||
%%
|
||||
elements = struct(...
|
||||
'ground', ground,...
|
||||
'marble', marble,...
|
||||
'trans_stage', trans_stage,...
|
||||
'tilt_stage', tilt_stage,...
|
||||
'hexa', hexa,...
|
||||
'nano_stage', nano_stage,...
|
||||
'sample', sample ...
|
||||
);
|
||||
|
||||
%% Where is located the data files generated by export_measure_data script
|
||||
files = struct(...
|
||||
'frf', 'id31_microstation_2017_11_17_frf.mat',...
|
||||
'coh', 'id31_microstation_2017_11_17_coh.mat' ...
|
||||
);
|
||||
|
||||
%%
|
||||
m_object = struct(...
|
||||
'files', files,...
|
||||
'elements', elements,...
|
||||
'quantity', 'acceleration', ...
|
||||
'notes', 'Mesures du 17/11/2017 par Marc Lessourd - Accelerometers' ...
|
||||
);
|
||||
|
||||
|
||||
%% Save m_object
|
||||
save('../data/2017_11_17.mat', 'm_object')
|
BIN
2018-01-12 - Marc/data/2018_01_12.mat
Normal file
BIN
2018-01-12 - Marc/data/id31_microstation_2018_01_12_coh.mat
Normal file
BIN
2018-01-12 - Marc/data/id31_microstation_2018_01_12_frf.mat
Normal file
BIN
2018-01-12 - Marc/figs/hexa_x_frf.pdf
Normal file
BIN
2018-01-12 - Marc/figs/hexa_x_frf.png
Normal file
After Width: | Height: | Size: 63 KiB |
BIN
2018-01-12 - Marc/figs/hexa_x_frf.svg
Normal file
After Width: | Height: | Size: 191 KiB |
BIN
2018-01-12 - Marc/figs/hexa_y_frf.pdf
Normal file
BIN
2018-01-12 - Marc/figs/hexa_y_frf.png
Normal file
After Width: | Height: | Size: 91 KiB |
BIN
2018-01-12 - Marc/figs/hexa_y_frf.svg
Normal file
After Width: | Height: | Size: 222 KiB |
BIN
2018-01-12 - Marc/figs/hexa_z_frf.pdf
Normal file
BIN
2018-01-12 - Marc/figs/hexa_z_frf.png
Normal file
After Width: | Height: | Size: 93 KiB |
BIN
2018-01-12 - Marc/figs/hexa_z_frf.svg
Normal file
After Width: | Height: | Size: 219 KiB |
BIN
2018-01-12 - Marc/figs/marble_x_frf.pdf
Normal file
BIN
2018-01-12 - Marc/figs/marble_x_frf.png
Normal file
After Width: | Height: | Size: 88 KiB |
BIN
2018-01-12 - Marc/figs/marble_x_frf.svg
Normal file
After Width: | Height: | Size: 220 KiB |
BIN
2018-01-12 - Marc/figs/marble_y_frf.pdf
Normal file
BIN
2018-01-12 - Marc/figs/marble_y_frf.png
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
2018-01-12 - Marc/figs/marble_y_frf.svg
Normal file
After Width: | Height: | Size: 219 KiB |
BIN
2018-01-12 - Marc/figs/marble_z_frf.pdf
Normal file
BIN
2018-01-12 - Marc/figs/marble_z_frf.png
Normal file
After Width: | Height: | Size: 91 KiB |
BIN
2018-01-12 - Marc/figs/marble_z_frf.svg
Normal file
After Width: | Height: | Size: 207 KiB |
BIN
2018-01-12 - Marc/files/figures/coh_x_hammer_hexa.fig
Normal file
BIN
2018-01-12 - Marc/files/figures/coh_x_hammer_hexa.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
2018-01-12 - Marc/files/figures/coh_x_hammer_marble.fig
Normal file
BIN
2018-01-12 - Marc/files/figures/coh_x_hammer_marble.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
2018-01-12 - Marc/files/figures/coh_y_hammer_hexa.fig
Normal file
BIN
2018-01-12 - Marc/files/figures/coh_y_hammer_hexa.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
2018-01-12 - Marc/files/figures/coh_y_hammer_marble.fig
Normal file
BIN
2018-01-12 - Marc/files/figures/coh_y_hammer_marble.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
2018-01-12 - Marc/files/figures/coh_z_hammer_hexa.fig
Normal file
BIN
2018-01-12 - Marc/files/figures/coh_z_hammer_hexa.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
2018-01-12 - Marc/files/figures/coh_z_hammer_marble.fig
Normal file
BIN
2018-01-12 - Marc/files/figures/coh_z_hammer_marble.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
2018-01-12 - Marc/files/figures/frf_x_hammer_hexa.fig
Normal file
BIN
2018-01-12 - Marc/files/figures/frf_x_hammer_hexa.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
2018-01-12 - Marc/files/figures/frf_x_hammer_marble.fig
Normal file
BIN
2018-01-12 - Marc/files/figures/frf_x_hammer_marble.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
2018-01-12 - Marc/files/figures/frf_y_hammer_hexa.fig
Normal file
BIN
2018-01-12 - Marc/files/figures/frf_y_hammer_hexa.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
2018-01-12 - Marc/files/figures/frf_y_hammer_marble.fig
Normal file
BIN
2018-01-12 - Marc/files/figures/frf_y_hammer_marble.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
2018-01-12 - Marc/files/figures/frf_z_hammer_hexa.fig
Normal file
BIN
2018-01-12 - Marc/files/figures/frf_z_hammer_hexa.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
2018-01-12 - Marc/files/figures/frf_z_hammer_marble.fig
Normal file
BIN
2018-01-12 - Marc/files/figures/frf_z_hammer_marble.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
2018-01-12 - Marc/files/figures/phase_x_hammer_hexa.fig
Normal file
BIN
2018-01-12 - Marc/files/figures/phase_x_hammer_hexa.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
2018-01-12 - Marc/files/figures/phase_x_hammer_marble.fig
Normal file
BIN
2018-01-12 - Marc/files/figures/phase_x_hammer_marble.png
Normal file
After Width: | Height: | Size: 46 KiB |