diff --git a/huddle-test-geophones/figs/asd_displacement.png b/huddle-test-geophones/figs/asd_displacement.png new file mode 100644 index 0000000..f1a30e9 Binary files /dev/null and b/huddle-test-geophones/figs/asd_displacement.png differ diff --git a/huddle-test-geophones/figs/coh_geophones.png b/huddle-test-geophones/figs/coh_geophones.png index ce75596..bf5f7a9 100644 Binary files a/huddle-test-geophones/figs/coh_geophones.png and b/huddle-test-geophones/figs/coh_geophones.png differ diff --git a/huddle-test-geophones/figs/data_time_domain.png b/huddle-test-geophones/figs/data_time_domain.png index 3b012f4..579549d 100644 Binary files a/huddle-test-geophones/figs/data_time_domain.png and b/huddle-test-geophones/figs/data_time_domain.png differ diff --git a/huddle-test-geophones/figs/data_time_domain_zoom.png b/huddle-test-geophones/figs/data_time_domain_zoom.png index 527f8bb..04e86f7 100644 Binary files a/huddle-test-geophones/figs/data_time_domain_zoom.png and b/huddle-test-geophones/figs/data_time_domain_zoom.png differ diff --git a/huddle-test-geophones/figs/geophone_sensibility.png b/huddle-test-geophones/figs/geophone_sensibility.png index ae76651..194535f 100644 Binary files a/huddle-test-geophones/figs/geophone_sensibility.png and b/huddle-test-geophones/figs/geophone_sensibility.png differ diff --git a/huddle-test-geophones/figs/intrumental_noise_velocity.png b/huddle-test-geophones/figs/intrumental_noise_velocity.png index c8f2afc..4664700 100644 Binary files a/huddle-test-geophones/figs/intrumental_noise_velocity.png and b/huddle-test-geophones/figs/intrumental_noise_velocity.png differ diff --git a/huddle-test-geophones/figs/psd_velocity.png b/huddle-test-geophones/figs/psd_velocity.png index 2451e28..bbbbd80 100644 Binary files a/huddle-test-geophones/figs/psd_velocity.png and b/huddle-test-geophones/figs/psd_velocity.png differ diff --git a/huddle-test-geophones/figs/tf_geophones.png b/huddle-test-geophones/figs/tf_geophones.png index c3f9bfa..a126ebc 100644 Binary files a/huddle-test-geophones/figs/tf_geophones.png and b/huddle-test-geophones/figs/tf_geophones.png differ diff --git a/huddle-test-geophones/index.html b/huddle-test-geophones/index.html index 014ebaa..fcdf732 100644 Binary files a/huddle-test-geophones/index.html and b/huddle-test-geophones/index.html differ diff --git a/huddle-test-geophones/index.org b/huddle-test-geophones/index.org index 395e2b4..5079306 100644 --- a/huddle-test-geophones/index.org +++ b/huddle-test-geophones/index.org @@ -149,14 +149,14 @@ The amplifiers also include a low pass filter with a cut-off frequency set at 1k #+begin_src matlab :results none G0 = 60; % [dB] - G = G0/(1+s/2/pi/1000); + G = 10^(G0/20)/(1+s/2/pi/1000); #+end_src We divide the ASD measured (in $\text{V}/\sqrt{\text{Hz}}$) by the transfer function of the voltage amplifier to obtain the ASD of the voltage across the geophone. We further divide the result by the sensibility of the Geophone to obtain the ASD of the velocity in $m/s/\sqrt{Hz}$. #+begin_src matlab :results none - scaling = 1./squeeze(abs(freqresp(G, f, 'Hz')))./squeeze(abs(freqresp(S, f, 'Hz'))); + scaling = 1./squeeze(abs(freqresp(G*S, f, 'Hz'))); #+end_src ** Computation of the ASD of the velocity @@ -165,8 +165,8 @@ The ASD of the measured velocity is shown on figure [[fig:psd_velocity]]. #+begin_src matlab :results none figure; hold on; - plot(f, sqrt(pxx1)./scaling); - plot(f, sqrt(pxx2)./scaling); + plot(f, sqrt(pxx1).*scaling); + plot(f, sqrt(pxx2).*scaling); hold off; set(gca, 'xscale', 'log'); set(gca, 'yscale', 'log'); @@ -176,7 +176,7 @@ The ASD of the measured velocity is shown on figure [[fig:psd_velocity]]. #+NAME: fig:psd_velocity #+HEADER: :tangle no :exports results :results value raw replace :noweb yes -#+begin_src matlab :var filepath="figs/psd_velocity.pdf" :var figsize="full-tall" :post pdf2svg(file=*this*, ext="png") +#+begin_src matlab :var filepath="figs/psd_velocity.pdf" :var figsize="wide-tall" :post pdf2svg(file=*this*, ext="png") <> #+end_src @@ -185,6 +185,30 @@ The ASD of the measured velocity is shown on figure [[fig:psd_velocity]]. #+RESULTS: fig:psd_velocity [[file:figs/psd_velocity.png]] +We also plot the ASD in displacement (figure [[fig:asd_displacement]]); + +#+begin_src matlab :results none + figure; + hold on; + plot(f, (pxx1.*scaling./f).^2); + plot(f, (pxx2.*scaling./f).^2); + hold off; + set(gca, 'xscale', 'log'); set(gca, 'yscale', 'log'); + xlabel('Frequency [Hz]'); ylabel('PSD [m/s/sqrt(Hz)]') + xlim([2, 500]); +#+end_src + +#+NAME: fig:asd_displacement +#+HEADER: :tangle no :exports results :results value raw replace :noweb yes +#+begin_src matlab :var filepath="figs/asd_displacement.pdf" :var figsize="wide-tall" :post pdf2svg(file=*this*, ext="png") + <> +#+end_src + +#+NAME: fig:asd_displacement +#+CAPTION: Amplitude Spectral Density of the displacement as measured by the geophones +#+RESULTS: fig:asd_displacement +[[file:figs/asd_displacement.png]] + ** Transfer function between the two geophones We here compute the transfer function from one geophone to the other. The result is shown on figure [[fig:tf_geophones]]. diff --git a/huddle-test-geophones/signal_processing.m b/huddle-test-geophones/signal_processing.m index cabafcb..64f0318 100644 --- a/huddle-test-geophones/signal_processing.m +++ b/huddle-test-geophones/signal_processing.m @@ -80,7 +80,7 @@ ylabel('Amplitude [V/(m/s)]') G0 = 60; % [dB] -G = G0/(1+s/2/pi/1000); +G = 10^(G0/20)/(1+s/2/pi/1000); @@ -88,7 +88,7 @@ G = G0/(1+s/2/pi/1000); % We further divide the result by the sensibility of the Geophone to obtain the ASD of the velocity in $m/s/\sqrt{Hz}$. -scaling = 1./squeeze(abs(freqresp(G, f, 'Hz')))./squeeze(abs(freqresp(S, f, 'Hz'))); +scaling = 1./squeeze(abs(freqresp(G*S, f, 'Hz'))); % Computation of the ASD of the velocity % The ASD of the measured velocity is shown on figure [[fig:psd_velocity]]. @@ -96,14 +96,33 @@ scaling = 1./squeeze(abs(freqresp(G, f, 'Hz')))./squeeze(abs(freqresp(S, f, 'Hz' figure; hold on; -plot(f, sqrt(pxx1)./scaling); -plot(f, sqrt(pxx2)./scaling); +plot(f, sqrt(pxx1).*scaling); +plot(f, sqrt(pxx2).*scaling); hold off; set(gca, 'xscale', 'log'); set(gca, 'yscale', 'log'); xlabel('Frequency [Hz]'); ylabel('PSD [m/s/sqrt(Hz)]') xlim([2, 500]); + + +% #+NAME: fig:psd_velocity +% #+CAPTION: Spectral density of the velocity +% #+RESULTS: fig:psd_velocity +% [[file:figs/psd_velocity.png]] + +% We also plot the ASD in displacement (figure [[fig:asd_displacement]]); + + +figure; +hold on; +plot(f, (pxx1.*scaling./f).^2); +plot(f, (pxx2.*scaling./f).^2); +hold off; +set(gca, 'xscale', 'log'); set(gca, 'yscale', 'log'); +xlabel('Frequency [Hz]'); ylabel('PSD [m/s/sqrt(Hz)]') +xlim([2, 500]); + % Transfer function between the two geophones % We here compute the transfer function from one geophone to the other. % The result is shown on figure [[fig:tf_geophones]].