Re-run the analysis - disturbance from control

This commit is contained in:
Thomas Dehaeze 2020-04-23 15:29:11 +02:00
parent 1ece6fbc70
commit dbd4320349
18 changed files with 83 additions and 144 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 KiB

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 KiB

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 KiB

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 KiB

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 223 KiB

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 KiB

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 KiB

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 137 KiB

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 99 KiB

View File

@ -141,15 +141,13 @@ First, we can look at the time domain data and compare all the measurements:
legend('Location', 'bestoutside');
#+end_src
#+NAME: fig:time_domain_sample
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/time_domain_sample.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/time_domain_sample.pdf', 'width', 'full', 'height', 'tall')
#+end_src
#+NAME: fig:time_domain_sample
#+CAPTION: Comparison of the time domain data when turning off the control system of the stages - Geophone at the sample location
#+RESULTS: fig:time_domain_sample
#+name: fig:time_domain_sample
#+caption: Comparison of the time domain data when turning off the control system of the stages - Geophone at the sample location
#+RESULTS:
[[file:figs/time_domain_sample.png]]
#+begin_src matlab :results none
@ -167,15 +165,13 @@ First, we can look at the time domain data and compare all the measurements:
legend('Location', 'bestoutside');
#+end_src
#+NAME: fig:time_domain_marble
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/time_domain_marble.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/time_domain_marble.pdf', 'width', 'full', 'height', 'tall')
#+end_src
#+NAME: fig:time_domain_marble
#+CAPTION: Comparison of the time domain data when turning off the control system of the stages - Geophone on the marble
#+RESULTS: fig:time_domain_marble
#+name: fig:time_domain_marble
#+caption: Comparison of the time domain data when turning off the control system of the stages - Geophone on the marble
#+RESULTS:
[[file:figs/time_domain_marble.png]]
** Analysis - Frequency Domain
@ -207,7 +203,6 @@ And we compare all the signals (figures [[fig:psd_sample_comp]] and [[fig:psd_sa
plot(f, sqrt(px6), 'DisplayName', 'Hexa, Rz');
plot(f, sqrt(px7), 'DisplayName', 'Hexa');
plot(f, sqrt(px8), 'DisplayName', 'All OFF');
plot(fgm, sqrt(pxxgm), '-k', 'DisplayName', 'Ground Velocity');
hold off;
set(gca, 'xscale', 'log');
set(gca, 'yscale', 'log');
@ -216,31 +211,26 @@ And we compare all the signals (figures [[fig:psd_sample_comp]] and [[fig:psd_sa
legend('Location', 'southwest');
#+end_src
#+NAME: fig:psd_sample_comp
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/psd_sample_comp.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/psd_sample_comp.pdf', 'width', 'full', 'height', 'tall')
#+end_src
#+NAME: fig:psd_sample_comp
#+CAPTION: Amplitude Spectral Density of the signal coming from the top geophone
#+RESULTS: fig:psd_sample_comp
#+name: fig:psd_sample_comp
#+caption: Amplitude Spectral Density of the signal coming from the top geophone
#+RESULTS:
[[file:figs/psd_sample_comp.png]]
#+begin_src matlab :results none :tangle no :exports none
xlim([80, 500]);
#+end_src
#+NAME: fig:psd_sample_comp_high_freq
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/psd_sample_comp_high_freq.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/psd_sample_comp_high_freq.pdf', 'width', 'full', 'height', 'tall')
#+end_src
#+NAME: fig:psd_sample_comp_high_freq
#+CAPTION: Amplitude Spectral Density of the signal coming from the top geophone (zoom at high frequencies)
#+RESULTS: fig:psd_sample_comp_high_freq
#+name: fig:psd_sample_comp_high_freq
#+caption: Amplitude Spectral Density of the signal coming from the top geophone (zoom at high frequencies)
#+RESULTS:
[[file:figs/psd_sample_comp_high_freq.png]]
*** Vibrations on the marble
@ -264,7 +254,6 @@ And we compare the Amplitude Spectral Densities (figures [[fig:psd_marble_comp]]
plot(f, sqrt(px6), 'DisplayName', 'Hexa, Rz');
plot(f, sqrt(px7), 'DisplayName', 'Hexa');
plot(f, sqrt(px8), 'DisplayName', 'All OFF');
plot(fgm, sqrt(pxxgm), '-k', 'DisplayName', 'Ground Velocity');
hold off;
set(gca, 'xscale', 'log');
set(gca, 'yscale', 'log');
@ -273,32 +262,27 @@ And we compare the Amplitude Spectral Densities (figures [[fig:psd_marble_comp]]
legend('Location', 'northeast');
#+end_src
#+NAME: fig:psd_marble_comp
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/psd_marble_comp.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/psd_marble_comp.pdf', 'width', 'full', 'height', 'tall')
#+end_src
#+NAME: fig:psd_marble_comp
#+CAPTION: Amplitude Spectral Density of the signal coming from the top geophone
#+RESULTS: fig:psd_marble_comp
#+name: fig:psd_marble_comp
#+caption: Amplitude Spectral Density of the signal coming from the top geophone
#+RESULTS:
[[file:figs/psd_marble_comp.png]]
#+begin_src matlab :results none :tangle no :exports none
legend('Location', 'southwest');
xlim([80, 500]);
#+end_src
#+NAME: fig:psd_marble_comp_high_freq
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/psd_marble_comp_high_freq.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/psd_marble_comp_high_freq.pdf', 'width', 'full', 'height', 'tall')
#+end_src
#+NAME: fig:psd_marble_comp_high_freq
#+CAPTION: Amplitude Spectral Density of the signal coming from the top geophone (zoom at high frequencies)
#+RESULTS: fig:psd_marble_comp_high_freq
#+name: fig:psd_marble_comp_high_freq
#+caption: Amplitude Spectral Density of the signal coming from the top geophone (zoom at high frequencies)
#+RESULTS:
[[file:figs/psd_marble_comp_high_freq.png]]
** Conclusion
@ -397,7 +381,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:~/Cloud/These/meas/src/index.org][here]]).
We convert the measured voltage to velocity using the function =voltageToVelocityL22= (accessible [[file:~/Cloud/thesis/meas/srcindex.org][here]]).
#+begin_src matlab
gain = 60; % [dB]
@ -438,18 +422,15 @@ First, we can look at the time domain data and compare all the measurements:
legend('Location', 'bestoutside');
#+end_src
#+NAME: fig:time_domain_sample_lpf
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/time_domain_sample_lpf.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/time_domain_sample_lpf.pdf', 'width', 'full', 'height', 'tall')
#+end_src
#+NAME: fig:time_domain_sample_lpf
#+CAPTION: Comparison of the time domain data when turning off the control system of the stages - Geophone at the sample location
#+RESULTS: fig:time_domain_sample_lpf
#+name: fig:time_domain_sample_lpf
#+caption: Comparison of the time domain data when turning off the control system of the stages - Geophone at the sample location
#+RESULTS:
[[file:figs/time_domain_sample_lpf.png]]
#+begin_src matlab
figure;
hold on;
@ -465,15 +446,13 @@ First, we can look at the time domain data and compare all the measurements:
legend('Location', 'bestoutside');
#+end_src
#+NAME: fig:time_domain_marble_lpf
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/time_domain_marble_lpf.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/time_domain_marble_lpf.pdf', 'width', 'full', 'height', 'tall')
#+end_src
#+NAME: fig:time_domain_marble_lpf
#+CAPTION: Comparison of the time domain data when turning off the control system of the stages - Geophone on the marble
#+RESULTS: fig:time_domain_marble_lpf
#+name: fig:time_domain_marble_lpf
#+caption: Comparison of the time domain data when turning off the control system of the stages - Geophone on the marble
#+RESULTS:
[[file:figs/time_domain_marble_lpf.png]]
#+begin_src matlab
@ -491,15 +470,13 @@ First, we can look at the time domain data and compare all the measurements:
legend('Location', 'bestoutside');
#+end_src
#+NAME: fig:time_domain_relative_disp
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/time_domain_relative_disp.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/time_domain_relative_disp.pdf', 'width', 'full', 'height', 'tall')
#+end_src
#+NAME: fig:time_domain_relative_disp
#+CAPTION: Relative displacement of the sample with respect to the marble
#+RESULTS: fig:time_domain_relative_disp
#+name: fig:time_domain_relative_disp
#+caption: Relative displacement of the sample with respect to the marble
#+RESULTS:
[[file:figs/time_domain_relative_disp.png]]
** Analysis - Frequency Domain
@ -539,15 +516,13 @@ And we compare all the signals (figures [[fig:psd_sample_comp_lpf]] and [[fig:ps
legend('Location', 'southwest');
#+end_src
#+NAME: fig:psd_sample_comp_lpf
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/psd_sample_comp_lpf.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/psd_sample_comp_lpf.pdf', 'width', 'full', 'height', 'tall')
#+end_src
#+NAME: fig:psd_sample_comp_lpf
#+CAPTION: Amplitude Spectral Density of the sample velocity
#+RESULTS: fig:psd_sample_comp_lpf
#+name: fig:psd_sample_comp_lpf
#+caption: Amplitude Spectral Density of the sample velocity
#+RESULTS:
[[file:figs/psd_sample_comp_lpf.png]]
@ -555,15 +530,13 @@ And we compare all the signals (figures [[fig:psd_sample_comp_lpf]] and [[fig:ps
xlim([80, 500]);
#+end_src
#+NAME: fig:psd_sample_comp_high_freq_lpf
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/psd_sample_comp_high_freq_lpf.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/psd_sample_comp_high_freq_lpf.pdf', 'width', 'full', 'height', 'tall')
#+end_src
#+NAME: fig:psd_sample_comp_high_freq_lpf
#+CAPTION: Amplitude Spectral Density of the sample velocity (zoom at high frequencies)
#+RESULTS: fig:psd_sample_comp_high_freq_lpf
#+name: fig:psd_sample_comp_high_freq_lpf
#+caption: Amplitude Spectral Density of the sample velocity (zoom at high frequencies)
#+RESULTS:
[[file:figs/psd_sample_comp_high_freq_lpf.png]]
*** Vibrations on the marble
@ -577,7 +550,7 @@ Now we plot the same curves for the geophone located on the marble.
[px_he, ~] = pwelch(d_he(:, 1), win, [], [], Fs);
#+end_src
And we compare the Amplitude Spectral Densities (figures [[fig:psd_marble_comp_lpf]] and [[fig:psd_marble_comp_lpf_high_freq]])
And we compare the Amplitude Spectral Densities (figures [[fig:psd_marble_comp_lpf]] and [[fig:psd_marble_lpf_high_freq]])
#+begin_src matlab
figure;
hold on;
@ -595,55 +568,28 @@ And we compare the Amplitude Spectral Densities (figures [[fig:psd_marble_comp_l
legend('Location', 'northeast');
#+end_src
#+NAME: fig:psd_marble_comp_lpf
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/psd_marble_comp_lpf.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/psd_marble_comp_lpf.pdf', 'width', 'full', 'height', 'full')
#+end_src
#+NAME: fig:psd_marble_comp_lpf
#+CAPTION: Amplitude Spectral Density of the marble velocity
#+RESULTS: fig:psd_marble_comp_lpf
#+name: fig:psd_marble_comp_lpf
#+caption: Amplitude Spectral Density of the marble velocity
#+RESULTS:
[[file:figs/psd_marble_comp_lpf.png]]
#+begin_src matlab :results none :tangle no :exports none
legend('Location', 'southwest');
xlim([80, 500]);
#+end_src
#+NAME: fig:psd_marble_comp_lpf_high_freq
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/psd_marble_comp_lpf_high_freq.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/psd_marble_lpf_high_freq.pdf', 'width', 'full', 'height', 'tall')
#+end_src
#+NAME: fig:psd_marble_comp_lpf_high_freq
#+CAPTION: Amplitude Spectral Density of the marble velocity (zoom at high frequencies)
#+RESULTS: fig:psd_marble_comp_lpf_high_freq
[[file:figs/psd_marble_comp_lpf_high_freq.png]]
** Cumulative Amplitude Spectrum
#+begin_src matlab
figure;
hold on;
plot(f(2:end), sqrt(cumsum(px_of(2:end)./(2*pi*f(2:end)).^2).*(f(2)-f(1))), 'DisplayName', 'All OFF');
plot(f(2:end), sqrt(cumsum(px_ty(2:end)./(2*pi*f(2:end)).^2).*(f(2)-f(1))), 'DisplayName', 'Ty ON');
plot(f(2:end), sqrt(cumsum(px_ry(2:end)./(2*pi*f(2:end)).^2).*(f(2)-f(1))), 'DisplayName', 'Ry ON');
plot(f(2:end), sqrt(cumsum(px_sr(2:end)./(2*pi*f(2:end)).^2).*(f(2)-f(1))), 'DisplayName', 'S-R ON');
plot(f(2:end), sqrt(cumsum(px_rz(2:end)./(2*pi*f(2:end)).^2).*(f(2)-f(1))), 'DisplayName', 'Rz ON');
plot(f(2:end), sqrt(cumsum(px_he(2:end)./(2*pi*f(2:end)).^2).*(f(2)-f(1))), 'DisplayName', 'Hexa ON');
hold off;
set(gca, 'xscale', 'log');
set(gca, 'yscale', 'log');
xlabel('Frequency [Hz]'); ylabel('Amplitude Spectral Density $\left[\frac{m}{\sqrt{Hz}}\right]$')
xlim([0.1, 500]);
legend('Location', 'northeast');
#+end_src
#+begin_src matlab
#+end_src
#+name: fig:psd_marble_lpf_high_freq
#+caption: Amplitude Spectral Density of the marble velocity (zoom at high frequencies)
#+RESULTS:
[[file:figs/psd_marble_lpf_high_freq.png]]
** Conclusion
#+begin_important
@ -731,15 +677,13 @@ We load the data of the z axis of two geophones.
legend('Location', 'bestoutside');
#+end_src
#+NAME: fig:time_domain_hexa_driver
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/time_domain_hexa_driver.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/time_domain_hexa_driver.pdf', 'width', 'full', 'height', 'tall')
#+end_src
#+NAME: fig:time_domain_hexa_driver
#+CAPTION: Comparison of the time domain data when turning off the control system of the stages - Geophone at the sample location
#+RESULTS: fig:time_domain_hexa_driver
#+name: fig:time_domain_hexa_driver
#+caption: Comparison of the time domain data when turning off the control system of the stages - Geophone at the sample location
#+RESULTS:
[[file:figs/time_domain_hexa_driver.png]]
** Analysis - Frequency Domain
@ -770,31 +714,26 @@ First, we compute the Power Spectral Density of the signals coming from the Geop
legend('Location', 'southwest');
#+end_src
#+NAME: fig:psd_hexa_driver
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/psd_hexa_driver.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/psd_hexa_driver.pdf', 'width', 'full', 'height', 'tall')
#+end_src
#+NAME: fig:psd_hexa_driver
#+CAPTION: Amplitude Spectral Density of the signal coming from the top geophone
#+RESULTS: fig:psd_hexa_driver
#+name: fig:psd_hexa_driver
#+caption: Amplitude Spectral Density of the signal coming from the top geophone
#+RESULTS:
[[file:figs/psd_hexa_driver.png]]
#+begin_src matlab :results none :tangle no :exports none
xlim([80, 500]);
#+end_src
#+NAME: fig:psd_hexa_driver_high_freq
#+HEADER: :tangle no :exports results :results value raw replace :noweb yes
#+begin_src matlab :var filepath="figs/psd_hexa_driver_high_freq.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png")
<<plt-matlab>>
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/psd_hexa_driver_high_freq.pdf', 'width', 'full', 'height', 'tall')
#+end_src
#+NAME: fig:psd_hexa_driver_high_freq
#+CAPTION: Amplitude Spectral Density of the signal coming from the top geophone (zoom at high frequencies)
#+RESULTS: fig:psd_hexa_driver_high_freq
#+name: fig:psd_hexa_driver_high_freq
#+caption: Amplitude Spectral Density of the signal coming from the top geophone (zoom at high frequencies)
#+RESULTS:
[[file:figs/psd_hexa_driver_high_freq.png]]
** Conclusion