Add every computation files and data

This commit is contained in:
2019-03-14 16:40:28 +01:00
parent 3929373a9d
commit c2aa389536
423 changed files with 2233847 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@@ -0,0 +1,293 @@
% Title: id31 microstation in EXP hutch
% Date: 12 october 2018
% Description: measure on id31 microstation in exp hutch
% FS: =256Hz
% all L28 (31V/m/s) except CH1 L4-C (276V/m/s)
% ch1: marble Z
% ch2: outer frame Ty Z
% ch3: inner frame Tilt Z
% ch4: hexa Z
% ch5: marble H
% ch6: outer frame TY H
% ch7: inner frame Tilt H
% ch8: hexa H
% ch9: hammer
% measurements 12 october 2018
% ------------------------------------------------
% excitation Y marble corner
% Measurement1
% excitation Y outer frame corner
% Measurement2
% excitation Y hexa
% Measurement3
% ------------------------------------------------
% excitation Z marble corner
% Measurement4
% excitation Z outer frame corner
% Measurement5
% excitation Z hexa
% Measurement6
% ------------------------------------------------
% excitation X marble corner
% Measurement7
% excitation X outer frame corner
% Measurement8
% excitation X hexa
% Measurement9
%%
microstation=['Marble '; 'TY ';'Tilt '; 'Hexapod '];
%
% xxx_marble_x - excitation X direction on marble
% xxx_marble_y - excitation Y direction on marble
% xxx_marble_z - excitation Z direction on marble
% xxx_hexa_x - excitation X direction on hexa
% xxx_hexa_y - excitation Y direction on hexa
% xxx_hexa_z - excitation Z direction on hexa
% frf= transfert function acceleration/force en ms-2/N (complex)
% phs= phase
% coh= coherence
% freq_frf= frequencies
%% -------------------------------------------------------------------------
% LOAD SAVED FRF
% ------------------------------------------------------------------------
% ch_max=16;
% % --------------------------------
%
% mult=1e6; % --> m/s to micron/s
%
% nyqhp=2.56; % nyquist
% f_cut=0.5; % cut frequency for high pass filter
% t_win=4; % window length in sec
% t_ovlp=0; % overlap window in sec
warning off MATLAB:divideByZero
cd FRF_id31_microstation_12october2018
% specify capt # for which to run this
capt=[1:9];
for i=capt
eval(['load Measurement',num2str(i)])
for ch=1:8
eval(['freq_frf(:,',num2str(1),')=FFT1_H1_',num2str(2),'_9_RMS_X_Val;'])
%omeg=2*pi*freq;
eval(['av_spc(:,',num2str(ch),')=FFT1_AvSpc_',num2str(ch),'_RMS_Y_Val;'])
eval(['frf_mod(:,',num2str(ch),')=FFT1_H1_',num2str(ch),'_9_RMS_Y_Mod;'])
eval(['frf_phs(:,',num2str(ch),')=FFT1_H1_',num2str(ch),'_9_RMS_Y_Phas;'])
eval(['frf_reim(:,',num2str(ch),')=FFT1_H1_',num2str(ch),'_9_Y_ReIm;'])
%eval(['frf_coh(:,',num2str(ch),')=FFT1_Coh_',num2str(ch),'_9_RMS_Y_Val;'])
end
eval(['mod',num2str(i),'=frf_mod;'])
eval(['phs',num2str(i),'=frf_phs;'])
eval(['ReIm',num2str(i),'=frf_reim;'])
%eval(['coh',num2str(i),'=frf_coh;'])
eval(['avsp',num2str(i),'=av_spc;'])
end
%% --------plot settings for colors and linewidth----
proname(1)={'LineWidth'};
proname(2)={'Color'};
proname(3)={'LineStyle'};
val(1,1) = {.5} ;val(1,2) = {[0.6 0.2 1]} ;val(1,3) = {'-'};
val(2,1) = {2} ;val(2,2) = {[0 0 1]} ;val(2,3) = {'-'};
val(3,1) = {0.5} ;val(3,2) = {[0.25 0.9 0.65]} ;val(3,3) = {'-'};
val(4,1) = {2} ;val(4,2) = {[0 1 0]} ;val(4,3) = {'-'};
val(5,1) = {0.5} ;val(5,2) = {[1 0.4 0.4]} ;val(5,3) = {'-'};
val(6,1) = {2} ;val(6,2) = {[1 0 0]} ;val(6,3) = {'-'};
val(7,1) = {1} ;val(7,2) = {[0.8 0.8 0.8]} ;val(7,3) = {'-'};
val(8,1) = {2} ;val(8,2) = {[0.1 0.1 0.2]} ;val(8,3) = {'-'};
val(9,1) = {1} ;val(9,2) = {[0.7 0.8 0.4]} ;val(9,3) = {'-'};
val(10,1) = {2} ;val(10,2) = {[0.7 0.8 0.2]} ;val(10,3) = {'-'};
val(11,1) = {1} ;val(11,2) = {[0.9 0.7 0.35]} ;val(11,3) = {'-'};
val(12,1) = {2} ;val(12,2) = {[1 0.8 0.3]} ;val(12,3) = {'-'};
val(13,1) = {1} ;val(13,2) = {[0.5 0.4 0.3]} ;val(13,3) = {'-'};
val(14,1) = {2} ;val(14,2) = {[0.5 0.3 0.2]} ;val(14,3) = {'-'};
%% --------------------------------Plots
xlab=['Frequency in Hz'];
xlab1=['Hours since start: 06/07/2012 at 19:40'];
ylab1=['Velocity / Force in m.s^{-1}.N^{-1}.'];
ylab2=['PSD in \mum^{2}/Hz'];
ylab3=['Amplification'];
ylab4=['PSD in (\mum/s)^{2}/Hz'];
ylab5=['PSD in a.u.'];
ylab6=['Phase in deg.'];
ylab7=['Coherence'];
font_s=14;
%% ---------------------------------
tit_1=['ID31 microstation - (X) FRF - Hammer Marble'];
tit_1_a=['ID31 microstation - (X) FRF - Hammer TY'];
tit_1_b=['ID31 microstation - (X) FRF - Hammer hexa'];
tit_2=['ID31 microstation - (Y) FRF - Hammer Marble'];
tit_2_a=['ID31 microstation - (Y) FRF - Hammer TY'];
tit_2_b=['ID31 microstation - (Y) FRF - Hammer hexa'];
tit_3=['ID31 microstation - (Z) FRF - Hammer Marble'];
tit_3_a=['ID31 microstation - (Z) FRF - Hammer TY'];
tit_3_b=['ID31 microstation - (Z) FRF - Hammer hexa'];
% tit_4=['ID31 microstation - Horizontal (X) Phase'];
% tit_5=['ID31 microstation - Horizontal (Y) Phase'];
% tit_6=['ID31 microstation - Vertical (Z) Phase'];
% tit_7=['ID31 microstation - Horizontal (X) Coh'];
% tit_8=['ID31 microstation - Horizontal (Y) Coh'];
% tit_9=['ID31 microstation - Vertical (Z) Coh'];
legend1=['microstation(1,:),microstation(2,:),microstation(3,:),microstation(4,:),''Location'',''SouthEast'''];
%% FRF X direction
figure
h=semilogy(freq_frf,abs([ReIm7(:,5) ReIm7(:,6) ReIm7(:,7) ReIm7(:,8)]));
set(h,proname,val([6 4 2 8],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_1,xlab,ylab1,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'frf_x_hammer_marble','fig')
print -dpng frf_x_hammer_marble
figure
h=semilogy(freq_frf,abs([ReIm8(:,5) ReIm8(:,6) ReIm8(:,7) ReIm8(:,8)]));
set(h,proname,val([6 4 2 8],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_1_a,xlab,ylab1,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'frf_x_hammer_ty','fig')
print -dpng frf_x_hammer_ty
figure
h=semilogy(freq_frf,abs([ReIm9(:,5) ReIm9(:,6) ReIm9(:,7) ReIm9(:,8)]));
set(h,proname,val([6 4 2 8],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_1_b,xlab,ylab1,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'frf_x_hammer_hexa','fig')
print -dpng frf_x_hammer_hexa
%% FRF Y direction
figure
h=semilogy(freq_frf,abs([ReIm1(:,5) ReIm1(:,6) ReIm1(:,7) ReIm1(:,8)]));
set(h,proname,val([6 4 2 8],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_2,xlab,ylab1,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'frf_y_hammer_marble','fig')
print -dpng frf_y_hammer_marble
figure
h=semilogy(freq_frf,abs([ReIm2(:,5) ReIm2(:,6) ReIm2(:,7) ReIm2(:,8)]));
set(h,proname,val([6 4 2 8],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_2_a,xlab,ylab1,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'frf_y_hammer_ty','fig')
print -dpng frf_y_hammer_ty
figure
h=semilogy(freq_frf,abs([ReIm3(:,5) ReIm3(:,6) ReIm3(:,7) ReIm3(:,8)]));
set(h,proname,val([6 4 2 8],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_2_b,xlab,ylab1,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'frf_y_hammer_hexa','fig')
print -dpng frf_y_hammer_hexa
%% FRF Z direction
figure
h=semilogy(freq_frf,abs([ReIm4(:,5) ReIm4(:,6) ReIm4(:,7) ReIm4(:,8)]));
set(h,proname,val([6 4 2 8],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_3,xlab,ylab1,font_s);
%axis([1 100 1e-2 1e2])dd
grid
saveas(gcf,'frf_z_hammer_marble','fig')
print -dpng frf_z_hammer_marble
figure
h=semilogy(freq_frf,abs([ReIm5(:,5) ReIm5(:,6) ReIm5(:,7) ReIm5(:,8)]));
set(h,proname,val([6 4 2 8],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_3_a,xlab,ylab1,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'frf_z_hammer_ty','fig')
print -dpng frf_z_hammer_ty
figure
h=semilogy(freq_frf,abs([ReIm6(:,5) ReIm6(:,6) ReIm6(:,7) ReIm6(:,8)]));
set(h,proname,val([6 4 2 8],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_3_b,xlab,ylab1,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'frf_z_hammer_hexa','fig')
print -dpng frf_z_hammer_hexa
%% save data
% save ('coher_marble_x.mat', 'coh1')
% save ('coher_marble_y.mat', 'coh3')
% save ('coher_marble_z.mat', 'coh5')
% save ('coher_hexa_z.mat', 'coh6')
% save ('coher_hexa_y.mat', 'coh4')
% save ('coher_hexa_x.mat', 'coh2')
save ('phs_ty_x.mat', 'phs8')
save ('phs_ty_y.mat', 'phs2')
save ('phs_ty_z.mat', 'phs5')
save ('phs_hexa_x.mat', 'phs9')
save ('phs_hexa_y.mat', 'phs3')
save ('phs_hexa_z.mat', 'phs6')
save ('phs_marble_x.mat', 'phs7')
save ('phs_marble_y.mat', 'phs1')
save ('phs_marble_z.mat', 'phs4')
save ('frf_ty_x.mat', 'ReIm8')
save ('frf_ty_y.mat', 'ReIm2')
save ('frf_ty_z.mat', 'ReIm5')
save ('frf_hexa_x.mat', 'ReIm9')
save ('frf_hexa_y.mat', 'ReIm3')
save ('frf_hexa_z.mat', 'ReIm6')
save ('frf_marble_x.mat', 'ReIm7')
save ('frf_marble_y.mat', 'ReIm1')
save ('frf_marble_z.mat', 'ReIm4')
save ('freq_frf.mat', 'freq_frf')

View File

@@ -0,0 +1,200 @@
%% Title: id31 microstation in EXP hutch for RAW data
% Date: 12 october 2018
%% NOTE
% With this file you can load the raw mat files
%% Description: measure on id31 microstation in exp hutch
% FS: =256Hz
% all L28 (31V/m/s) except CH1 L4-C (276V/m/s)
% ch1: marble Z
% ch2: outer frame Ty Z
% ch3: inner frame Tilt Z
% ch4: hexa Z
% ch5: marble H
% ch6: outer frame TY H
% ch7: inner frame Tilt H
% ch8: hexa H
% ch9: hammer
%% measurements 12 october 2018
% excitation Y marble corner
% Measurement1
% excitation Y outer frame corner
% Measurement2
% excitation Y hexa
% Measurement3
% ------------------------------------------------
% excitation Z marble corner
% Measurement4
% excitation Z outer frame corner
% Measurement5
% excitation Z hexa
% Measurement6
% ------------------------------------------------
% excitation X marble corner
% Measurement7
% excitation X outer frame corner
% Measurement8
% excitation X hexa
% Measurement9
%%
microstation=['Marble '; 'TY ';'Tilt '; 'Hexapod '];
%
%% PARAMETERS
beamline='ID31 Nanostation - Hammer testing';
% --------------------------------
%%----------OROS -----------------
ch_max=16;
% --------------------------------
%mult=1e6/276*173; % --> m/s to micron/s and sensitivity correction for L4-C
nyqhp=2.56; % nyquist
f_cut=0.5; % cut frequency for high pass filter
t_win=4; % window length in sec
t_ovlp=0; % overlap window in sec
%d=1.3; % distance between vertical sensors
warning off MATLAB:divideByZero
% specify capt # for which to run this
capt=[1:9];
% specify channels for which shut correction must be applied
shunt_ch=[1];
% in case of hammer inpacts specify capt # where it doesnt occur
no_hammer=[];
%no_hammer=[0];
% specify hammer channel (or ch to find peak due to impacts)
shock_ch=9;
%% main loop --------
% ------------------
for i=capt
eval(['load Measurement_raw',num2str(i)])
freq_max=Track1_TrueBandWidth;
dts=1/(freq_max*nyqhp);
freq=linspace(0,freq_max,t_win*freq_max);
wo=2*pi*freq;
for k=1:ch_max
vname=['Track',num2str(k)];
array_exist(k)=ismember(vname,who);
end
non_zero=find(array_exist);
for z=non_zero(1):length(non_zero)
track_nb=['Track',num2str(z)]';
eval(['data(:,z)=Track',num2str(z),';']);
end
c=data*mult;
%-------------
nbch=size(c,2);
%-------------
r=length(c);
if r/2~=fix(r/2) % loop to test for odd or even nb of samples
c=c(1:r-1,:); % take only even
else
end
%------------------------------
time=linspace(0,length(c)*dts,length(c));
for j=nbch %shunt_ch
[c(:,j),c_shut]=shut_c(c(:,j),1/dts); % correct for shunt
end
%c(:,8)=(c(:,5)-c(:,4))/d; % differential Theta Y angle
b=find(no_hammer==i); % if i==1 | i==2 | i==6
if b~=0
[psd_v,integ_v,psd_d,integ_d]=integrated_psd(c,t_win,t_ovlp,nyqhp,dts);
[frz_cut,crsp,pwsp,coherz,nsp]=fqresp(c,shock_ch,t_win,t_ovlp,nyqhp,dts);
else
thresh=0.5; % threshold of max value
sep=2.5; % separation minimum of peaks in sec
pre_ev=2; % pre event delay in sec
pos_ev=2; % post event delay in sec
[ti,t_impact]=findpeaks(c(:,shock_ch),'minpeakheight',max(c(:,shock_ch))*thresh,'minpeakdistance',ceil(sep/dts));
% find times at which there are impacts (threshold of max and separated by sep sec)
psd_v=zeros((pre_ev+pos_ev)/dts/nyqhp,nbch);
psd_d=zeros((pre_ev+pos_ev)/dts/nyqhp,nbch);
frz_cut=zeros((pre_ev+pos_ev)/dts/nyqhp,nbch);
for k=1:length(t_impact)
ibeg=fix(t_impact(k)-(pre_ev/dts));
iend=fix(t_impact(k)+(pos_ev/dts));
freq_s=linspace(0,freq_max,t_win/2*freq_max);
if ibeg>1 && iend<length(c) % eliminate indexes outside data range
[psd,integ_v,psd_int,integ_d]=integrated_psd(c(ibeg:iend,:),t_win,t_ovlp,nyqhp,dts);
psd_v=psd+psd_v;
psd_d=psd_int+psd_d;
[frz,crsp,pwsp,coherz,nsp]=fqresp(c(ibeg:iend,:),shock_ch,t_win,t_ovlp,nyqhp,dts);
frz_cut=frz+frz_cut;
end
end
psd_v=psd_v/length(t_impact);
psd_d=psd_d/length(t_impact);
frz_cut=frz_cut/length(t_impact);
end
drms=max(integ_d); % compute rms level
dc=hpfint(c,f_cut,dts); % filter and integrate in time domain
dppc=hpdpp(dc,t_win,t_ovlp,1,dts); % compute peak to peak level
%% transfer function, cross spectrum, power spectr. and coherence w.r.t. ch1
eval(['c',num2str(i),'=c;'])
eval(['dc',num2str(i),'=dc;'])
eval(['dppc',num2str(i),'=dppc;'])
eval(['drms',num2str(i),'=drms;'])
eval(['psd_v',num2str(i),'=psd_v;']) % already integrated in OROS
eval(['psd_d',num2str(i),'=psd_d;'])
eval(['integ_v',num2str(i),'=integ_v;'])
eval(['integ_d',num2str(i),'=integ_d;'])
eval(['frz',num2str(i),'=frz_cut;'])
% eval(['frh',num2str(i),'=frh_cut;'])
% eval(['frx',num2str(i),'=frx;'])
eval(['coherz',num2str(i),'=coherz;'])
eval(['time',num2str(i),'=time;'])
clear data c dc psd psd_v psd_d time c_shut % clean up the mess
end

View File

@@ -0,0 +1,3 @@
contient les mesures des r<>ponses avec marteau d'impact. Les fichiers xxx_raw sont sans traitement dans le domaine temporel (environ 10 impacts par fichier). Les fonctions de transfert avec phase sont dans le m<>me r<>pertoire avec des noms explicites (manquent les coh<6F>rences que je n'ai pas sorties)
Ces donn<6E>es ne me semblent pas de super qualit<69> en basse fr<66>quence, avec le Ty libre le mode <20> 5Hz est tr<74>s amorti.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,576 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2019-03-14 jeu. 11:55 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Measurements</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Thomas Dehaeze" />
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per "defun org-babel-execute"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { width: 90%; }
/*]]>*/-->
</style>
<link rel="stylesheet" type="text/css" href="../css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="../css/readtheorg.css"/>
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.stickytableheaders.min.js"></script>
<script src="../js/readtheorg.js"></script>
<script type="text/javascript">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2019 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
</script>
</head>
<body>
<div id="content">
<h1 class="title">Measurements</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org1757879">1. Experimental conditions</a></li>
<li><a href="#org13d59db">2. Measurements procedure</a></li>
<li><a href="#org85e47dc">3. Measurement Channels</a></li>
<li><a href="#org8688442">4. Experiments</a></li>
<li><a href="#orgd7108b4">5. Data Analysis</a>
<ul>
<li><a href="#orgf923403">5.1. Loading of the data</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org1757879" class="outline-2">
<h2 id="org1757879"><span class="section-number-2">1</span> Experimental conditions</h2>
<div class="outline-text-2" id="text-1">
<ul class="org-ul">
<li>Measurement made in the experiment hutch</li>
<li>FS=256Hz</li>
<li>Made by Marc Lesourd on the 12 of October 2018</li>
</ul>
</div>
</div>
<div id="outline-container-org13d59db" class="outline-2">
<h2 id="org13d59db"><span class="section-number-2">2</span> Measurements procedure</h2>
<div class="outline-text-2" id="text-2">
<p>
8 <b>Geophone</b> are used (see table <a href="#orgf30bdb3">3</a>):
</p>
<ul class="org-ul">
<li>7 L-28LB geophones (table <a href="#org85b2318">1</a>)</li>
<li>1 L-4C geophone (table <a href="#orgb52bf40">2</a>)</li>
</ul>
<table id="org85b2318" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 1:</span> L-28LB Geophone characteristics</caption>
<colgroup>
<col class="org-left" />
<col class="org-right" />
</colgroup>
<tbody>
<tr>
<td class="org-left">Natural Frequency [Hz]</td>
<td class="org-right">4.5</td>
</tr>
<tr>
<td class="org-left">Weight [g]</td>
<td class="org-right">140</td>
</tr>
<tr>
<td class="org-left">Sensitivity [V/(m/s)]</td>
<td class="org-right">31.3</td>
</tr>
</tbody>
</table>
<table id="orgb52bf40" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 2:</span> L-4C Geophone characteristics</caption>
<colgroup>
<col class="org-left" />
<col class="org-right" />
</colgroup>
<tbody>
<tr>
<td class="org-left">Natural Frequency [Hz]</td>
<td class="org-right">1</td>
</tr>
<tr>
<td class="org-left">Weight [g]</td>
<td class="org-right">2150</td>
</tr>
<tr>
<td class="org-left">Sensitivity [V/(m/s)]</td>
<td class="org-right">276.8</td>
</tr>
</tbody>
</table>
<p>
The structure is excited using an <b>instrumented hammer</b> with impacts on (see table <a href="#org8f36aca">4</a>):
</p>
<ul class="org-ul">
<li>Marble</li>
<li>Ty</li>
<li>Hexapod</li>
</ul>
</div>
</div>
<div id="outline-container-org85e47dc" class="outline-2">
<h2 id="org85e47dc"><span class="section-number-2">3</span> Measurement Channels</h2>
<div class="outline-text-2" id="text-3">
<p>
Les fichiers xxx<sub>raw</sub> sont sans traitement dans le domaine temporel (environ 10 impacts par fichier)
</p>
<table id="orgf30bdb3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 3:</span> Description of each measurement channel</caption>
<colgroup>
<col class="org-right" />
<col class="org-left" />
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-right">Ch. nb</th>
<th scope="col" class="org-left">Element</th>
<th scope="col" class="org-left">Location</th>
<th scope="col" class="org-left">Direction</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-right">1</td>
<td class="org-left">Geophone L-4C</td>
<td class="org-left">Marble</td>
<td class="org-left">Z</td>
</tr>
<tr>
<td class="org-right">2</td>
<td class="org-left">Geophone L-28LB</td>
<td class="org-left">Ty</td>
<td class="org-left">Z</td>
</tr>
<tr>
<td class="org-right">3</td>
<td class="org-left">Geophone L-28LB</td>
<td class="org-left">Tilt</td>
<td class="org-left">Z</td>
</tr>
<tr>
<td class="org-right">4</td>
<td class="org-left">Geophone L-28LB</td>
<td class="org-left">Hexa</td>
<td class="org-left">Z</td>
</tr>
<tr>
<td class="org-right">5</td>
<td class="org-left">Geophone L-28LB</td>
<td class="org-left">Marble</td>
<td class="org-left">H</td>
</tr>
<tr>
<td class="org-right">6</td>
<td class="org-left">Geophone L-28LB</td>
<td class="org-left">TY</td>
<td class="org-left">H</td>
</tr>
<tr>
<td class="org-right">7</td>
<td class="org-left">Geophone L-28LB</td>
<td class="org-left">Tilt</td>
<td class="org-left">H</td>
</tr>
<tr>
<td class="org-right">8</td>
<td class="org-left">Geophone L-28LB</td>
<td class="org-left">Hexa</td>
<td class="org-left">H</td>
</tr>
</tbody>
<tbody>
<tr>
<td class="org-right">9</td>
<td class="org-left">Hammer</td>
<td class="org-left">Variable</td>
<td class="org-left">Variable</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org8688442" class="outline-2">
<h2 id="org8688442"><span class="section-number-2">4</span> Experiments</h2>
<div class="outline-text-2" id="text-4">
<table id="org8f36aca" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 4:</span> Description of the location of direction of the excitation for each measurement</caption>
<colgroup>
<col class="org-right" />
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-right">Meas. nb</th>
<th scope="col" class="org-left">Location</th>
<th scope="col" class="org-left">Direction</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-right">1</td>
<td class="org-left">Marble</td>
<td class="org-left">Y</td>
</tr>
<tr>
<td class="org-right">2</td>
<td class="org-left">Ty</td>
<td class="org-left">Y</td>
</tr>
<tr>
<td class="org-right">3</td>
<td class="org-left">Hexa</td>
<td class="org-left">Y</td>
</tr>
</tbody>
<tbody>
<tr>
<td class="org-right">4</td>
<td class="org-left">Marble</td>
<td class="org-left">Z</td>
</tr>
<tr>
<td class="org-right">5</td>
<td class="org-left">Ty</td>
<td class="org-left">Z</td>
</tr>
<tr>
<td class="org-right">6</td>
<td class="org-left">Hexa</td>
<td class="org-left">Z</td>
</tr>
</tbody>
<tbody>
<tr>
<td class="org-right">7</td>
<td class="org-left">Marble</td>
<td class="org-left">X</td>
</tr>
<tr>
<td class="org-right">8</td>
<td class="org-left">Ty</td>
<td class="org-left">X</td>
</tr>
<tr>
<td class="org-right">9</td>
<td class="org-left">Hexa</td>
<td class="org-left">X</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-orgd7108b4" class="outline-2">
<h2 id="orgd7108b4"><span class="section-number-2">5</span> Data Analysis</h2>
<div class="outline-text-2" id="text-5">
</div>
<div id="outline-container-orgf923403" class="outline-3">
<h3 id="orgf923403"><span class="section-number-3">5.1</span> Loading of the data</h3>
<div class="outline-text-3" id="text-5-1">
<div class="org-src-container">
<pre class="src src-matlab">load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/freq_frf.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/frf_hexa_x.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/frf_hexa_y.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/frf_hexa_z.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/frf_marble_x.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/frf_marble_y.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/frf_marble_z.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/frf_ty_x.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/frf_ty_y.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/frf_ty_z.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/phs_hexa_x.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/phs_hexa_y.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/phs_hexa_z.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/phs_marble_x.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/phs_marble_y.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/phs_marble_z.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/phs_ty_x.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/phs_ty_y.mat'</span><span style="color: #707183;">)</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./data/phs_ty_z.mat'</span><span style="color: #707183;">)</span>;
</pre>
</div>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Thomas Dehaeze</p>
<p class="date">Created: 2019-03-14 jeu. 11:55</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>
</html>

122
2018-10-12 - Marc/index.org Normal file
View File

@@ -0,0 +1,122 @@
#+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 the experiment hutch
- FS=256Hz
- Made by Marc Lesourd on the 12 of October 2018
* Measurements procedure
8 *Geophone* are used (see table [[tab:meas_channels]]):
- 7 L-28LB geophones (table [[tab:L-28LB]])
- 1 L-4C geophone (table [[tab:L-4C]])
#+NAME: tab:L-28LB
#+CAPTION: L-28LB Geophone characteristics
| Natural Frequency [Hz] | 4.5 |
| Weight [g] | 140 |
| Sensitivity [V/(m/s)] | 31.3 |
#+NAME: tab:L-4C
#+CAPTION: L-4C Geophone characteristics
| Natural Frequency [Hz] | 1 |
| Weight [g] | 2150 |
| Sensitivity [V/(m/s)] | 276.8 |
The structure is excited using an *instrumented hammer* with impacts on (see table [[tab:measurements]]):
- Marble
- Ty
- Hexapod
* Measurement Channels
Les fichiers xxx_raw sont sans traitement dans le domaine temporel (environ 10 impacts par fichier)
#+NAME: tab:meas_channels
#+CAPTION: Description of each measurement channel
| Ch. nb | Element | Location | Direction |
|--------+-----------------+----------+-----------|
| 1 | Geophone L-4C | Marble | Z |
| 2 | Geophone L-28LB | Ty | Z |
| 3 | Geophone L-28LB | Tilt | Z |
| 4 | Geophone L-28LB | Hexa | Z |
| 5 | Geophone L-28LB | Marble | H |
| 6 | Geophone L-28LB | TY | H |
| 7 | Geophone L-28LB | Tilt | H |
| 8 | Geophone L-28LB | Hexa | H |
|--------+-----------------+----------+-----------|
| 9 | Hammer | Variable | Variable |
* Experiments
#+NAME: tab:measurements
#+CAPTION: Description of the location of direction of the excitation for each measurement
| Meas. nb | Location | Direction |
|----------+----------+-----------|
| 1 | Marble | Y |
| 2 | Ty | Y |
| 3 | Hexa | Y |
|----------+----------+-----------|
| 4 | Marble | Z |
| 5 | Ty | Z |
| 6 | Hexa | Z |
|----------+----------+-----------|
| 7 | Marble | X |
| 8 | Ty | X |
| 9 | Hexa | X |
* Data Analysis
** Loading of the data
#+begin_src matlab :exports none :results silent
<<matlab-init>>
#+end_src
#+BEGIN_SRC matlab :results none :exports none :var currentdir=(file-name-directory buffer-file-name)
cd(currentdir);
#+END_SRC
#+begin_src matlab :exports code :results none
load('./data/freq_frf.mat');
load('./data/frf_hexa_x.mat');
load('./data/frf_hexa_y.mat');
load('./data/frf_hexa_z.mat');
load('./data/frf_marble_x.mat');
load('./data/frf_marble_y.mat');
load('./data/frf_marble_z.mat');
load('./data/frf_ty_x.mat');
load('./data/frf_ty_y.mat');
load('./data/frf_ty_z.mat');
load('./data/phs_hexa_x.mat');
load('./data/phs_hexa_y.mat');
load('./data/phs_hexa_z.mat');
load('./data/phs_marble_x.mat');
load('./data/phs_marble_y.mat');
load('./data/phs_marble_z.mat');
load('./data/phs_ty_x.mat');
load('./data/phs_ty_y.mat');
load('./data/phs_ty_z.mat');
#+end_src