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.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -0,0 +1,42 @@
% Title: id31 microstation
% Date: 12 january 2018
% Description: measure on id31 microstation in room id31-13
% --> check actual setup of microstation.
% FS: =512Hz
%% measurements 12 janaury 2018
microstation=['Marble '; 'Tilt '; 'Hexapod '];
% ch1: hammer
% ch2: geophone L32 on marble X,Y or Z
% ch3: geophone L32 on tilt stage X,Y or Z
% ch4: geophone L32 on hexapode X,Y or Z
% L32 geophone has a 4.5Hz resonance, not critically damped during these measurements!
% Meas1 - excitation X direction on marble
% Meas2 - excitation X direction on hexa
% Meas3 - excitation Y direction on marble
% Meas4 - excitation Y direction on hexa
% Meas5 - excitation Z direction on marble
% Meas6 - excitation Z direction on hexa
%% Figure naming:
% 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 velocity/force en ms-1/N (complex)
% phs= phase
% coh= coherence
% freq_frf= frequencies

View File

@@ -0,0 +1,613 @@
<?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:54 -->
<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="#org7cd3616">1. Experimental conditions</a></li>
<li><a href="#org82e34a9">2. Measurements procedure</a></li>
<li><a href="#org60dfbd6">3. Measurement Channels</a></li>
<li><a href="#org0a25c6d">4. Experiments</a></li>
<li><a href="#orgad4b82f">5. Data Analysis</a>
<ul>
<li><a href="#org33bbec7">5.1. Loading and pre-processing of the data</a></li>
<li><a href="#org9a80753">5.2. X-direction FRF</a></li>
<li><a href="#org9f734e8">5.3. Y-direction FRF</a></li>
<li><a href="#org3ac5c7f">5.4. Z-direction FRF</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org7cd3616" class="outline-2">
<h2 id="org7cd3616"><span class="section-number-2">1</span> Experimental conditions</h2>
<div class="outline-text-2" id="text-1">
<ul class="org-ul">
<li>The granite is not glued to the floor</li>
<li>FS = 512Hz</li>
<li>Made by Marc Lesourd on the 12 of January 2018</li>
</ul>
</div>
</div>
<div id="outline-container-org82e34a9" class="outline-2">
<h2 id="org82e34a9"><span class="section-number-2">2</span> Measurements procedure</h2>
<div class="outline-text-2" id="text-2">
<p>
<b>Geophones</b>
L-28LB geophones (table <a href="#orgc0074ea">1</a>) are placed on
</p>
<ul class="org-ul">
<li>Marle</li>
<li>Tilt Stage</li>
<li>Top of Hexapod</li>
</ul>
<table id="orgc0074ea" 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>
<p>
The structure is excited using an <b>instrumented hammer</b> with impacts on
</p>
<ul class="org-ul">
<li>Marble X-Y-Z</li>
<li>Hexapod X-Y-Z</li>
</ul>
</div>
</div>
<div id="outline-container-org60dfbd6" class="outline-2">
<h2 id="org60dfbd6"><span class="section-number-2">3</span> Measurement Channels</h2>
<div class="outline-text-2" id="text-3">
<table id="orge84aae0" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 2:</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">Hammer</td>
<td class="org-left">variable</td>
<td class="org-left">&#xa0;</td>
</tr>
</tbody>
<tbody>
<tr>
<td class="org-right">2</td>
<td class="org-left">Geophone</td>
<td class="org-left">Marble</td>
<td class="org-left">X-Y-Z</td>
</tr>
<tr>
<td class="org-right">3</td>
<td class="org-left">Geophone</td>
<td class="org-left">Tilt stage</td>
<td class="org-left">X-Y-Z</td>
</tr>
<tr>
<td class="org-right">4</td>
<td class="org-left">Geophone</td>
<td class="org-left">Top of Hexapod</td>
<td class="org-left">X-Y-Z</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org0a25c6d" class="outline-2">
<h2 id="org0a25c6d"><span class="section-number-2">4</span> Experiments</h2>
<div class="outline-text-2" id="text-4">
<table id="org8ade4d2" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 3:</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">X</td>
</tr>
<tr>
<td class="org-right">2</td>
<td class="org-left">Hexapod</td>
<td class="org-left">X</td>
</tr>
</tbody>
<tbody>
<tr>
<td class="org-right">3</td>
<td class="org-left">Marble</td>
<td class="org-left">Y</td>
</tr>
<tr>
<td class="org-right">4</td>
<td class="org-left">Hexapod</td>
<td class="org-left">Y</td>
</tr>
</tbody>
<tbody>
<tr>
<td class="org-right">5</td>
<td class="org-left">Marble</td>
<td class="org-left">Z</td>
</tr>
<tr>
<td class="org-right">6</td>
<td class="org-left">Hexapod</td>
<td class="org-left">Z</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-orgad4b82f" class="outline-2">
<h2 id="orgad4b82f"><span class="section-number-2">5</span> Data Analysis</h2>
<div class="outline-text-2" id="text-5">
</div>
<div id="outline-container-org33bbec7" class="outline-3">
<h3 id="org33bbec7"><span class="section-number-3">5.1</span> Loading and pre-processing of the data</h3>
<div class="outline-text-3" id="text-5-1">
<p>
Data is scaled and integrated one time to go from velocity to displacement.
</p>
<div class="org-src-container">
<pre class="src src-matlab">load<span style="color: #707183;">(</span><span style="color: #008000;">'./raw_data/freq_frf.mat'</span><span style="color: #707183;">)</span> <span style="color: #8D8D84; font-style: italic;">% freq_frf</span>
w = <span style="color: #D0372D;">j</span><span style="color: #6434A3;">*</span><span style="color: #D0372D;">2</span><span style="color: #6434A3;">*</span><span style="color: #D0372D;">pi</span><span style="color: #6434A3;">*</span>freq_frf; <span style="color: #8D8D84; font-style: italic;">% j.omega in [rad/s]</span>
scale_factor = <span style="color: #D0372D;">1</span>;
load<span style="color: #707183;">(</span><span style="color: #008000;">'./raw_data/frf_marble_x.mat'</span><span style="color: #707183;">)</span> <span style="color: #8D8D84; font-style: italic;">% ReIm1</span>
frf_marble_x = zeros<span style="color: #707183;">(</span>size<span style="color: #7388D6;">(</span>ReIm1, <span style="color: #D0372D;">1</span><span style="color: #7388D6;">)</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>;
frf_marble_x<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">1</span><span style="color: #707183;">)</span> = <span style="color: #6434A3;">-</span>scale_factor<span style="color: #6434A3;">*</span>ReIm1<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% marble_x</span>
frf_marble_x<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span> = <span style="color: #6434A3;">-</span>scale_factor<span style="color: #6434A3;">*</span>ReIm1<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% tilt_x</span>
frf_marble_x<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span> = <span style="color: #6434A3;">-</span>scale_factor<span style="color: #6434A3;">*</span>ReIm1<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">4</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% hexa_x</span>
load<span style="color: #707183;">(</span><span style="color: #008000;">'./raw_data/frf_hexa_x.mat'</span><span style="color: #707183;">)</span> <span style="color: #8D8D84; font-style: italic;">% ReIm2</span>
frf_hexa_x = zeros<span style="color: #707183;">(</span>size<span style="color: #7388D6;">(</span>ReIm2, <span style="color: #D0372D;">1</span><span style="color: #7388D6;">)</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>;
frf_hexa_x<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">1</span><span style="color: #707183;">)</span> = <span style="color: #6434A3;">-</span>scale_factor<span style="color: #6434A3;">*</span>ReIm2<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% marble_x</span>
frf_hexa_x<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span> = <span style="color: #6434A3;">-</span>scale_factor<span style="color: #6434A3;">*</span>ReIm2<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% tilt_x</span>
frf_hexa_x<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span> = <span style="color: #6434A3;">-</span>scale_factor<span style="color: #6434A3;">*</span>ReIm2<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">4</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% hexa_x</span>
load<span style="color: #707183;">(</span><span style="color: #008000;">'./raw_data/frf_marble_y.mat'</span><span style="color: #707183;">)</span> <span style="color: #8D8D84; font-style: italic;">% ReIm3</span>
frf_marble_y = zeros<span style="color: #707183;">(</span>size<span style="color: #7388D6;">(</span>ReIm3, <span style="color: #D0372D;">1</span><span style="color: #7388D6;">)</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>;
frf_marble_y<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">1</span><span style="color: #707183;">)</span> = <span style="color: #6434A3;">-</span>scale_factor<span style="color: #6434A3;">*</span>ReIm3<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% marble_y</span>
frf_marble_y<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span> = <span style="color: #6434A3;">-</span>scale_factor<span style="color: #6434A3;">*</span>ReIm3<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% tilt_y</span>
frf_marble_y<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span> = <span style="color: #6434A3;">-</span>scale_factor<span style="color: #6434A3;">*</span>ReIm3<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">4</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% hexa_y</span>
load<span style="color: #707183;">(</span><span style="color: #008000;">'./raw_data/frf_hexa_y.mat'</span><span style="color: #707183;">)</span> <span style="color: #8D8D84; font-style: italic;">% ReIm4</span>
frf_hexa_y = zeros<span style="color: #707183;">(</span>size<span style="color: #7388D6;">(</span>ReIm4, <span style="color: #D0372D;">1</span><span style="color: #7388D6;">)</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>;
frf_hexa_y<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">1</span><span style="color: #707183;">)</span> = scale_factor<span style="color: #6434A3;">*</span>ReIm4<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% marble_y</span>
frf_hexa_y<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span> = scale_factor<span style="color: #6434A3;">*</span>ReIm4<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% tilt_y</span>
frf_hexa_y<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span> = scale_factor<span style="color: #6434A3;">*</span>ReIm4<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">4</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% hexa_y</span>
load<span style="color: #707183;">(</span><span style="color: #008000;">'./raw_data/frf_marble_z.mat'</span><span style="color: #707183;">)</span> <span style="color: #8D8D84; font-style: italic;">% ReIm5</span>
frf_marble_z = zeros<span style="color: #707183;">(</span>size<span style="color: #7388D6;">(</span>ReIm5, <span style="color: #D0372D;">1</span><span style="color: #7388D6;">)</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>;
frf_marble_z<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">1</span><span style="color: #707183;">)</span> = scale_factor<span style="color: #6434A3;">*</span>ReIm5<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% marble_z</span>
frf_marble_z<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span> = scale_factor<span style="color: #6434A3;">*</span>ReIm5<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% tilt_z</span>
frf_marble_z<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span> = scale_factor<span style="color: #6434A3;">*</span>ReIm5<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">4</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% hexa_z</span>
load<span style="color: #707183;">(</span><span style="color: #008000;">'./raw_data/frf_hexa_z.mat'</span><span style="color: #707183;">)</span> <span style="color: #8D8D84; font-style: italic;">% ReIm6</span>
frf_hexa_z = zeros<span style="color: #707183;">(</span>size<span style="color: #7388D6;">(</span>ReIm6, <span style="color: #D0372D;">1</span><span style="color: #7388D6;">)</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>;
frf_hexa_z<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">1</span><span style="color: #707183;">)</span> = scale_factor<span style="color: #6434A3;">*</span>ReIm6<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% marble_z</span>
frf_hexa_z<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span> = scale_factor<span style="color: #6434A3;">*</span>ReIm6<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% tilt_z</span>
frf_hexa_z<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span> = scale_factor<span style="color: #6434A3;">*</span>ReIm6<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">4</span><span style="color: #707183;">)</span><span style="color: #6434A3;">./</span>w; <span style="color: #8D8D84; font-style: italic;">% hexa_z</span>
</pre>
</div>
<div class="org-src-container">
<pre class="src src-matlab">load<span style="color: #707183;">(</span><span style="color: #008000;">'./raw_data/coher_marble_x.mat'</span><span style="color: #707183;">)</span> <span style="color: #8D8D84; font-style: italic;">% coh1</span>
coh_marble_x = zeros<span style="color: #707183;">(</span>size<span style="color: #7388D6;">(</span>coh1, <span style="color: #D0372D;">1</span><span style="color: #7388D6;">)</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>;
coh_marble_x<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">1</span><span style="color: #707183;">)</span> = coh1<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% marble_x</span>
coh_marble_x<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span> = coh1<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% tilt_x</span>
coh_marble_x<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span> = coh1<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">4</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% hexa_x</span>
load<span style="color: #707183;">(</span><span style="color: #008000;">'./raw_data/coher_hexa_x.mat'</span><span style="color: #707183;">)</span> <span style="color: #8D8D84; font-style: italic;">% coh2</span>
coh_hexa_x = zeros<span style="color: #707183;">(</span>size<span style="color: #7388D6;">(</span>coh2, <span style="color: #D0372D;">1</span><span style="color: #7388D6;">)</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>;
coh_hexa_x<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">1</span><span style="color: #707183;">)</span> = coh2<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% marble_x</span>
coh_hexa_x<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span> = coh2<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% tilt_x</span>
coh_hexa_x<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span> = coh2<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">4</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% hexa_x</span>
load<span style="color: #707183;">(</span><span style="color: #008000;">'./raw_data/coher_marble_y.mat'</span><span style="color: #707183;">)</span> <span style="color: #8D8D84; font-style: italic;">% coh3</span>
coh_marble_y = zeros<span style="color: #707183;">(</span>size<span style="color: #7388D6;">(</span>coh3, <span style="color: #D0372D;">1</span><span style="color: #7388D6;">)</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>;
coh_marble_y<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">1</span><span style="color: #707183;">)</span> = coh3<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% marble_y</span>
coh_marble_y<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span> = coh3<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% tilt_y</span>
coh_marble_y<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span> = coh3<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">4</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% hexa_y</span>
load<span style="color: #707183;">(</span><span style="color: #008000;">'./raw_data/coher_hexa_y.mat'</span><span style="color: #707183;">)</span> <span style="color: #8D8D84; font-style: italic;">% coh4</span>
coh_hexa_y = zeros<span style="color: #707183;">(</span>size<span style="color: #7388D6;">(</span>coh4, <span style="color: #D0372D;">1</span><span style="color: #7388D6;">)</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>;
coh_hexa_y<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">1</span><span style="color: #707183;">)</span> = coh4<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% marble_y</span>
coh_hexa_y<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span> = coh4<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% tilt_y</span>
coh_hexa_y<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span> = coh4<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">4</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% hexa_y</span>
load<span style="color: #707183;">(</span><span style="color: #008000;">'./raw_data/coher_marble_z.mat'</span><span style="color: #707183;">)</span> <span style="color: #8D8D84; font-style: italic;">% coh5</span>
coh_marble_z = zeros<span style="color: #707183;">(</span>size<span style="color: #7388D6;">(</span>coh5, <span style="color: #D0372D;">1</span><span style="color: #7388D6;">)</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>;
coh_marble_z<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">1</span><span style="color: #707183;">)</span> = coh5<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% marble_z</span>
coh_marble_z<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span> = coh5<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% tilt_z</span>
coh_marble_z<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span> = coh5<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">4</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% hexa_z</span>
load<span style="color: #707183;">(</span><span style="color: #008000;">'./raw_data/coher_hexa_z.mat'</span><span style="color: #707183;">)</span> <span style="color: #8D8D84; font-style: italic;">% coh6</span>
coh_hexa_z = zeros<span style="color: #707183;">(</span>size<span style="color: #7388D6;">(</span>coh6, <span style="color: #D0372D;">1</span><span style="color: #7388D6;">)</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>;
coh_hexa_z<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">1</span><span style="color: #707183;">)</span> = coh6<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% marble_z</span>
coh_hexa_z<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">2</span><span style="color: #707183;">)</span> = coh6<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% tilt_z</span>
coh_hexa_z<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">3</span><span style="color: #707183;">)</span> = coh6<span style="color: #707183;">(</span><span style="color: #6434A3;">:</span>, <span style="color: #D0372D;">4</span><span style="color: #707183;">)</span>; <span style="color: #8D8D84; font-style: italic;">% hexa_z</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org9a80753" class="outline-3">
<h3 id="org9a80753"><span class="section-number-3">5.2</span> X-direction FRF</h3>
<div class="outline-text-3" id="text-5-2">
<div id="orge2e6756" class="figure">
<p><img src="figs/marble_x_frf.png" alt="marble_x_frf.png" />
</p>
<p><span class="figure-number">Figure 1: </span>Response to a force applied on the marble in the X direction</p>
</div>
<div id="org8981d2a" class="figure">
<p><img src="figs/hexa_x_frf.png" alt="hexa_x_frf.png" />
</p>
<p><span class="figure-number">Figure 2: </span>Response to a force applied on the hexa in the X direction</p>
</div>
</div>
</div>
<div id="outline-container-org9f734e8" class="outline-3">
<h3 id="org9f734e8"><span class="section-number-3">5.3</span> Y-direction FRF</h3>
<div class="outline-text-3" id="text-5-3">
<div id="orgeaeb2a7" class="figure">
<p><img src="figs/marble_y_frf.png" alt="marble_y_frf.png" />
</p>
<p><span class="figure-number">Figure 3: </span>Response to a force applied on the marble in the Y direction</p>
</div>
<div id="orgfd72e3a" class="figure">
<p><img src="figs/hexa_y_frf.png" alt="hexa_y_frf.png" />
</p>
<p><span class="figure-number">Figure 4: </span>Response to a force applied on the hexa in the Y direction</p>
</div>
</div>
</div>
<div id="outline-container-org3ac5c7f" class="outline-3">
<h3 id="org3ac5c7f"><span class="section-number-3">5.4</span> Z-direction FRF</h3>
<div class="outline-text-3" id="text-5-4">
<div id="org8dc8fda" class="figure">
<p><img src="figs/marble_z_frf.png" alt="marble_z_frf.png" />
</p>
<p><span class="figure-number">Figure 5: </span>Response to a force applied on the marble in the Z direction</p>
</div>
<div id="org051aab0" class="figure">
<p><img src="figs/hexa_z_frf.png" alt="hexa_z_frf.png" />
</p>
<p><span class="figure-number">Figure 6: </span>Response to a force applied on the hexa in the Z direction</p>
</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:54</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>
</html>

306
2018-01-12 - Marc/index.org Normal file
View File

@@ -0,0 +1,306 @@
#+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
- The granite is not glued to the floor
- FS = 512Hz
- Made by Marc Lesourd on the 12 of January 2018
* Measurements procedure
*Geophones*
L-28LB geophones (table [[tab:L-28LB]]) are placed on
- Marle
- Tilt Stage
- Top of Hexapod
#+NAME: tab:L-28LB
#+CAPTION: L-28LB Geophone characteristics
| Natural Frequency [Hz] | 4.5 |
| Weight [g] | 140 |
| Sensitivity [V/(m/s)] | 31.3 |
The structure is excited using an *instrumented hammer* with impacts on
- Marble X-Y-Z
- Hexapod X-Y-Z
* Measurement Channels
#+NAME: tab:meas_channels
#+CAPTION: Description of each measurement channel
| Ch. nb | Element | Location | Direction |
|--------+----------+----------------+-----------|
| 1 | Hammer | variable | |
|--------+----------+----------------+-----------|
| 2 | Geophone | Marble | X-Y-Z |
| 3 | Geophone | Tilt stage | X-Y-Z |
| 4 | Geophone | Top of Hexapod | X-Y-Z |
* Experiments
#+NAME: tab:experiments
#+CAPTION: Description of the location of direction of the excitation for each measurement
| Meas. nb | Location | Direction |
|----------+----------+-----------|
| 1 | Marble | X |
| 2 | Hexapod | X |
|----------+----------+-----------|
| 3 | Marble | Y |
| 4 | Hexapod | Y |
|----------+----------+-----------|
| 5 | Marble | Z |
| 6 | Hexapod | Z |
* Data Analysis
** Loading and pre-processing of the data
#+begin_src matlab :exports none :results silent
<<matlab-init>>
#+end_src
Data is scaled and integrated one time to go from velocity to displacement.
#+begin_src matlab :exports code :results none
load('./raw_data/freq_frf.mat') % freq_frf
w = j*2*pi*freq_frf; % j.omega in [rad/s]
scale_factor = 1;
load('./raw_data/frf_marble_x.mat') % ReIm1
frf_marble_x = zeros(size(ReIm1, 1), 3);
frf_marble_x(:, 1) = -scale_factor*ReIm1(:, 2)./w; % marble_x
frf_marble_x(:, 2) = -scale_factor*ReIm1(:, 3)./w; % tilt_x
frf_marble_x(:, 3) = -scale_factor*ReIm1(:, 4)./w; % hexa_x
load('./raw_data/frf_hexa_x.mat') % ReIm2
frf_hexa_x = zeros(size(ReIm2, 1), 3);
frf_hexa_x(:, 1) = -scale_factor*ReIm2(:, 2)./w; % marble_x
frf_hexa_x(:, 2) = -scale_factor*ReIm2(:, 3)./w; % tilt_x
frf_hexa_x(:, 3) = -scale_factor*ReIm2(:, 4)./w; % hexa_x
load('./raw_data/frf_marble_y.mat') % ReIm3
frf_marble_y = zeros(size(ReIm3, 1), 3);
frf_marble_y(:, 1) = -scale_factor*ReIm3(:, 2)./w; % marble_y
frf_marble_y(:, 2) = -scale_factor*ReIm3(:, 3)./w; % tilt_y
frf_marble_y(:, 3) = -scale_factor*ReIm3(:, 4)./w; % hexa_y
load('./raw_data/frf_hexa_y.mat') % ReIm4
frf_hexa_y = zeros(size(ReIm4, 1), 3);
frf_hexa_y(:, 1) = scale_factor*ReIm4(:, 2)./w; % marble_y
frf_hexa_y(:, 2) = scale_factor*ReIm4(:, 3)./w; % tilt_y
frf_hexa_y(:, 3) = scale_factor*ReIm4(:, 4)./w; % hexa_y
load('./raw_data/frf_marble_z.mat') % ReIm5
frf_marble_z = zeros(size(ReIm5, 1), 3);
frf_marble_z(:, 1) = scale_factor*ReIm5(:, 2)./w; % marble_z
frf_marble_z(:, 2) = scale_factor*ReIm5(:, 3)./w; % tilt_z
frf_marble_z(:, 3) = scale_factor*ReIm5(:, 4)./w; % hexa_z
load('./raw_data/frf_hexa_z.mat') % ReIm6
frf_hexa_z = zeros(size(ReIm6, 1), 3);
frf_hexa_z(:, 1) = scale_factor*ReIm6(:, 2)./w; % marble_z
frf_hexa_z(:, 2) = scale_factor*ReIm6(:, 3)./w; % tilt_z
frf_hexa_z(:, 3) = scale_factor*ReIm6(:, 4)./w; % hexa_z
#+end_src
#+begin_src matlab :exports code :results none
load('./raw_data/coher_marble_x.mat') % coh1
coh_marble_x = zeros(size(coh1, 1), 3);
coh_marble_x(:, 1) = coh1(:, 2); % marble_x
coh_marble_x(:, 2) = coh1(:, 3); % tilt_x
coh_marble_x(:, 3) = coh1(:, 4); % hexa_x
load('./raw_data/coher_hexa_x.mat') % coh2
coh_hexa_x = zeros(size(coh2, 1), 3);
coh_hexa_x(:, 1) = coh2(:, 2); % marble_x
coh_hexa_x(:, 2) = coh2(:, 3); % tilt_x
coh_hexa_x(:, 3) = coh2(:, 4); % hexa_x
load('./raw_data/coher_marble_y.mat') % coh3
coh_marble_y = zeros(size(coh3, 1), 3);
coh_marble_y(:, 1) = coh3(:, 2); % marble_y
coh_marble_y(:, 2) = coh3(:, 3); % tilt_y
coh_marble_y(:, 3) = coh3(:, 4); % hexa_y
load('./raw_data/coher_hexa_y.mat') % coh4
coh_hexa_y = zeros(size(coh4, 1), 3);
coh_hexa_y(:, 1) = coh4(:, 2); % marble_y
coh_hexa_y(:, 2) = coh4(:, 3); % tilt_y
coh_hexa_y(:, 3) = coh4(:, 4); % hexa_y
load('./raw_data/coher_marble_z.mat') % coh5
coh_marble_z = zeros(size(coh5, 1), 3);
coh_marble_z(:, 1) = coh5(:, 2); % marble_z
coh_marble_z(:, 2) = coh5(:, 3); % tilt_z
coh_marble_z(:, 3) = coh5(:, 4); % hexa_z
load('./raw_data/coher_hexa_z.mat') % coh6
coh_hexa_z = zeros(size(coh6, 1), 3);
coh_hexa_z(:, 1) = coh6(:, 2); % marble_z
coh_hexa_z(:, 2) = coh6(:, 3); % tilt_z
coh_hexa_z(:, 3) = coh6(:, 4); % hexa_z
#+end_src
** X-direction FRF
#+begin_src matlab :exports none :results none
figure;
hold on;
plot(freq_frf, abs(frf_marble_x(:, 1)), 'DisplayName', 'Marble - X');
plot(freq_frf, abs(frf_marble_x(:, 2)), 'DisplayName', 'Ry - X');
plot(freq_frf, abs(frf_marble_x(:, 3)), 'DisplayName', 'Hexa - X');
hold off;
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log');
xlabel('Frequency [Hz]'); ylabel('Displacement/Force [m/N]');
xlim([10, 200]); xticks([10, 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(:, 1)), 'DisplayName', 'Marble - X');
plot(freq_frf, abs(frf_hexa_x(:, 2)), 'DisplayName', 'Ry - X');
plot(freq_frf, abs(frf_hexa_x(:, 3)), 'DisplayName', 'Hexa - X');
hold off;
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log');
xlabel('Frequency [Hz]'); ylabel('Displacement/Force [m/N]');
xlim([10, 200]); xticks([10, 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(:, 1)), 'DisplayName', 'Marble - Y');
plot(freq_frf, abs(frf_marble_y(:, 2)), 'DisplayName', 'Ry - Y');
plot(freq_frf, abs(frf_marble_y(:, 3)), 'DisplayName', 'Hexa - Y');
hold off;
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log');
xlabel('Frequency [Hz]'); ylabel('Displacement/Force [m/N]');
xlim([10, 200]); xticks([10, 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(:, 1)), 'DisplayName', 'Marble - Y');
plot(freq_frf, abs(frf_hexa_y(:, 2)), 'DisplayName', 'Ry - Y');
plot(freq_frf, abs(frf_hexa_y(:, 3)), 'DisplayName', 'Hexa - Y');
hold off;
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log');
xlabel('Frequency [Hz]'); ylabel('Displacement/Force [m/N]');
xlim([10, 200]); xticks([10, 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(:, 1)), 'DisplayName', 'Marble - Z');
plot(freq_frf, abs(frf_marble_z(:, 2)), 'DisplayName', 'Ry - Z');
plot(freq_frf, abs(frf_marble_z(:, 3)), 'DisplayName', 'Hexa - Z');
hold off;
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log');
xlabel('Frequency [Hz]'); ylabel('Displacement/Force [m/N]');
xlim([10, 200]); xticks([10, 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(:, 1)), 'DisplayName', 'Marble - Z');
plot(freq_frf, abs(frf_hexa_z(:, 2)), 'DisplayName', 'Ry - Z');
plot(freq_frf, abs(frf_hexa_z(:, 3)), 'DisplayName', 'Hexa - Z');
hold off;
set(gca, 'Xscale', 'log'); set(gca, 'Yscale', 'log');
xlabel('Frequency [Hz]'); ylabel('Displacement/Force [m/N]');
xlim([10, 200]); xticks([10, 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]]

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,105 @@
%%
clear;
close all;
clc
%% Coherence
load('../raw_data/coher_marble_x.mat') % coh1
coh_marble_x = zeros(size(coh1, 1), 10);
coh_marble_x(:, 2) = coh1(:, 2); % marble_x
coh_marble_x(:, 5) = coh1(:, 3); % tilt_x
coh_marble_x(:, 8) = coh1(:, 4); % hexa_x
load('../raw_data/coher_hexa_x.mat') % coh2
coh_hexa_x = zeros(size(coh2, 1), 10);
coh_hexa_x(:, 2) = coh2(:, 2); % marble_x
coh_hexa_x(:, 5) = coh2(:, 3); % tilt_x
coh_hexa_x(:, 8) = coh2(:, 4); % hexa_x
load('../raw_data/coher_marble_y.mat') % coh3
coh_marble_y = zeros(size(coh3, 1), 10);
coh_marble_y(:, 3) = coh3(:, 2); % marble_y
coh_marble_y(:, 6) = coh3(:, 3); % tilt_y
coh_marble_y(:, 9) = coh3(:, 4); % hexa_y
load('../raw_data/coher_hexa_y.mat') % coh4
coh_hexa_y = zeros(size(coh4, 1), 10);
coh_hexa_y(:, 3) = coh4(:, 2); % marble_y
coh_hexa_y(:, 6) = coh4(:, 3); % tilt_y
coh_hexa_y(:, 9) = coh4(:, 4); % hexa_y
load('../raw_data/coher_marble_z.mat') % coh5
coh_marble_z = zeros(size(coh5, 1), 10);
coh_marble_z(:, 4) = coh5(:, 2); % marble_z
coh_marble_z(:, 7) = coh5(:, 3); % tilt_z
coh_marble_z(:, 10) = coh5(:, 4); % hexa_z
load('../raw_data/coher_hexa_z.mat') % coh6
coh_hexa_z = zeros(size(coh6, 1), 10);
coh_hexa_z(:, 4) = coh6(:, 2); % marble_z
coh_hexa_z(:, 7) = coh6(:, 3); % tilt_z
coh_hexa_z(:, 10) = coh6(:, 4); % hexa_z
%% Save Coherence data
save('../data/id31_microstation_2018_01_12_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/freq_frf.mat') % freq_fr
% force_factor = 1/100;
% speed_factor = 1/1.2;
% scale_factor = speed_factor/force_factor;
scale_factor = 1;
load('../raw_data/frf_marble_x.mat') % ReIm1
frf_marble_x = zeros(size(ReIm1, 1), 10);
frf_marble_x(:, 2) = -scale_factor*ReIm1(:, 2); % marble_x
frf_marble_x(:, 5) = -scale_factor*ReIm1(:, 3); % tilt_x
frf_marble_x(:, 8) = -scale_factor*ReIm1(:, 4); % hexa_x
load('../raw_data/frf_hexa_x.mat') % ReIm2
frf_hexa_x = zeros(size(ReIm2, 1), 10);
frf_hexa_x(:, 2) = -scale_factor*ReIm2(:, 2); % marble_x
frf_hexa_x(:, 5) = -scale_factor*ReIm2(:, 3); % tilt_x
frf_hexa_x(:, 8) = -scale_factor*ReIm2(:, 4); % hexa_x
load('../raw_data/frf_marble_y.mat') % ReIm3
frf_marble_y = zeros(size(ReIm3, 1), 10);
frf_marble_y(:, 3) = -scale_factor*ReIm3(:, 2); % marble_y
frf_marble_y(:, 6) = -scale_factor*ReIm3(:, 3); % tilt_y
frf_marble_y(:, 9) = -scale_factor*ReIm3(:, 4); % hexa_y
load('../raw_data/frf_hexa_y.mat') % ReIm4
frf_hexa_y = zeros(size(ReIm4, 1), 10);
frf_hexa_y(:, 3) = scale_factor*ReIm4(:, 2); % marble_y
frf_hexa_y(:, 6) = scale_factor*ReIm4(:, 3); % tilt_y
frf_hexa_y(:, 9) = scale_factor*ReIm4(:, 4); % hexa_y
load('../raw_data/frf_marble_z.mat') % ReIm5
frf_marble_z = zeros(size(ReIm5, 1), 10);
frf_marble_z(:, 4) = scale_factor*ReIm5(:, 2); % marble_z
frf_marble_z(:, 7) = scale_factor*ReIm5(:, 3); % tilt_z
frf_marble_z(:, 10) = scale_factor*ReIm5(:, 4); % hexa_z
load('../raw_data/frf_hexa_z.mat') % ReIm6
frf_hexa_z = zeros(size(ReIm6, 1), 10);
frf_hexa_z(:, 4) = scale_factor*ReIm6(:, 2); % marble_z
frf_hexa_z(:, 7) = scale_factor*ReIm6(:, 3); % tilt_z
frf_hexa_z(:, 10) = scale_factor*ReIm6(:, 4); % hexa_z
%% Save Frequency Response Data
save('../data/id31_microstation_2018_01_12_frf.mat', ...
'freq_frf', ...
'frf_marble_x', ...
'frf_hexa_x', ...
'frf_marble_y', ...
'frf_hexa_y', ...
'frf_marble_z', ...
'frf_hexa_z');

View 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', false, ...
'isExcited', false, ...
'id', 0 ...
),...
'ty', struct(...
'isMeasured', false, ...
'isExcited', false, ...
'id', 0 ...
),...
'tz', struct(...
'isMeasured', false, ...
'isExcited', false, ...
'id', 0 ...
)...
);
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', 5 ...
),...
'ty', struct(...
'isMeasured', true, ...
'isExcited', false, ...
'id', 6 ...
),...
'tz', struct(...
'isMeasured', true, ...
'isExcited', false, ...
'id', 7 ...
)...
);
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', 8 ...
),...
'ty', struct(...
'isMeasured', true, ...
'isExcited', true, ...
'id', 9 ...
),...
'tz', struct(...
'isMeasured', true, ...
'isExcited', true, ...
'id', 10 ...
)...
);
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_2018_01_12_frf.mat',...
'coh', 'id31_microstation_2018_01_12_coh.mat' ...
);
%%
m_object = struct(...
'files', files,...
'elements', elements,...
'quantity', 'velocity', ...
'notes', 'Mesures du 12/01/2018 par Marc Lessourd - Geophones' ...
);
%% Save m_object
save('../data/2018_01_12.mat', 'm_object')

View File

@@ -0,0 +1,381 @@
% Title: id31 microstation
% Date: 12 january 2018
% Description: measure on id31 microstation in room id31-13
% FS: =512Hz
%% measurements 12 janaury 2018
microstation=['Marble '; 'Tilt '; 'Hexapod '];
% ch1: hammer
% ch2: geophone L32 X on marble X,Y or Z
% ch3: geophone L32 on tilt stage X,Y or Z
% ch4: geophone L32 on hexapode X,Y or Z
leg1=['TY ON - RZ OFF - RY OFF - Slip ring OFF - Hexapod OFF'];
% Meas1 - excitation X direction on marble
% Meas2 - excitation X direction on hexa
% Meas3 - excitation Y direction on marble
% Meas4 - excitation Y direction on hexa
% Meas5 - excitation Z direction on marble
% Meas6 - excitation Z direction on hexa
% 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
% specify capt # for which to run this
capt=[1:6];
for i=capt
eval(['load Measurement',num2str(i)])
for ch=2:4
eval(['freq_frf(:,',num2str(1),')=FFT1_H1_',num2str(2),'_1_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),'_1_RMS_Y_Mod;'])
eval(['frf_phs(:,',num2str(ch),')=FFT1_H1_',num2str(ch),'_1_RMS_Y_Phas;'])
eval(['frf_reim(:,',num2str(ch),')=FFT1_H1_',num2str(ch),'_1_Y_ReIm;'])
eval(['frf_coh(:,',num2str(ch),')=FFT1_Coh_',num2str(ch),'_1_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;'])
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_3=['ID31 microstation - Vertical (Z) FRF'];
tit_1=['ID31 microstation - Horizontal (X) FRF'];
tit_2=['ID31 microstation - Horizontal (Y) FRF'];
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,:),''Location'',''SouthEast'''];
%legend7=['TY controlled - RZ ON - RY OFF - Slip ring ON - Hexapod OFF',
%% X direction
figure
h=semilogy(freq_frf,abs([ReIm1(:,2) ReIm1(:,3) ReIm1(:,4)]));
set(h,proname,val([6 4 2],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([ReIm2(:,2) ReIm2(:,3) ReIm2(:,4)]));
set(h,proname,val([6 4 2],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_hexa','fig')
print -dpng frf_x_hammer_hexa
%%
figure
h=plot(freq_frf,[(phs1(:,2)) (phs1(:,3)) (phs1(:,4))]);
set(h,proname,val([6 4 2],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_4,xlab,ylab6,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'phase_x_hammer_marble','fig')
print -dpng phase_x_hammer_marble
figure
h=plot(freq_frf,[(phs2(:,2)) (phs2(:,3)) (phs2(:,4))]);
set(h,proname,val([6 4 2],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_4,xlab,ylab6,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'phase_x_hammer_hexa','fig')
print -dpng phase_x_hammer_hexa
figure
h=plot(freq_frf,[(coh1(:,2)) (coh1(:,3)) (coh1(:,4))]);
set(h,proname,val([6 4 2],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_7,xlab,ylab7,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'coh_x_hammer_marble','fig')
print -dpng coh_x_hammer_marble
figure
h=plot(freq_frf,[(coh2(:,2)) (coh4(:,3)) (coh4(:,4))]);
set(h,proname,val([6 4 2],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_7,xlab,ylab7,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'coh_x_hammer_hexa','fig')
print -dpng coh_x_hammer_hexa
%% Y direction
figure
h=semilogy(freq_frf,abs([ReIm3(:,2) ReIm3(:,3) ReIm3(:,4)]));
set(h,proname,val([6 4 2],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([ReIm4(:,2) ReIm4(:,3) ReIm4(:,4)]));
set(h,proname,val([6 4 2],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_hexa','fig')
print -dpng frf_y_hammer_hexa
figure
h=plot(freq_frf,[(phs3(:,2)) (phs3(:,3)) (phs3(:,4))]);
set(h,proname,val([6 4 2],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_5,xlab,ylab6,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'phase_y_hammer_marble','fig')
print -dpng phase_y_hammer_marble
figure
h=plot(freq_frf,[(phs4(:,2)) (phs4(:,3)) (phs4(:,4))]);
set(h,proname,val([6 4 2],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_5,xlab,ylab6,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'phase_y_hammer_hexa','fig')
print -dpng phase_y_hammer_hexa
figure
h=plot(freq_frf,[(coh3(:,2)) (coh3(:,3)) (coh3(:,4))]);
set(h,proname,val([6 4 2],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_8,xlab,ylab7,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'coh_y_hammer_marble','fig')
print -dpng coh_y_hammer_marble
figure
h=plot(freq_frf,[(coh4(:,2)) (coh4(:,3)) (coh4(:,4))]);
set(h,proname,val([6 4 2],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_8,xlab,ylab7,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'coh_y_hammer_hexa','fig')
print -dpng coh_y_hammer_hexa
%% Z direction
figure
h=semilogy(freq_frf,abs([ReIm5(:,2) ReIm5(:,3) ReIm5(:,4) ]));
set(h,proname,val([6 4 2],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_3,xlab,ylab1,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'frf_z_hammer_marble','fig')
print -dpng frf_z_hammer_marble
figure
h=semilogy(freq_frf,abs([ReIm6(:,2) ReIm6(:,3) ReIm6(:,4)]));
set(h,proname,val([6 4 2],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_3,xlab,ylab1,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'frf_z_hammer_hexa','fig')
print -dpng frf_z_hammer_hexa
figure
h=plot(freq_frf,[(phs5(:,2)) (phs5(:,3)) (phs5(:,4))]);
set(h,proname,val([6 4 2],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_6,xlab,ylab6,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'phase_z_hammer_marble','fig')
print -dpng phase_z_hammer_marble
figure
h=plot(freq_frf,[(phs6(:,2)) (phs6(:,3)) (phs6(:,4))]);
set(h,proname,val([6 4 2],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_6,xlab,ylab6,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'phase_z_hammer_hexa','fig')
print -dpng phase_z_hammer_hexa
figure
h=plot(freq_frf,[(coh5(:,2)) (coh5(:,3)) (coh5(:,4))]);
set(h,proname,val([6 4 2],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_9,xlab,ylab7,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'coh_z_hammer_marble','fig')
print -dpng coh_z_hammer_marble
figure
h=plot(freq_frf,[(coh6(:,2)) (coh6(:,3)) (coh6(:,4))]);
set(h,proname,val([6 4 2],1:3))
eval(['legend(',legend1,')'])
titlabel_font(tit_9,xlab,ylab7,font_s);
%axis([1 100 1e-2 1e2])
grid
saveas(gcf,'coh_z_hammer_hexa','fig')
print -dpng coh_z_hammer_hexa
%% COMPARE FRF
figure
h=semilogy(freq_frf,abs([ReIm4(:,11) ReIm10(:,11) ReIm11(:,11) ReIm15(:,11)]));
set(h,proname,val([6 4 2 12],1:3))
legend(leg1,leg3,leg4,leg6,'Location','SouthEast');
titlabel_font(tit_1,xlab,ylab1,10);
grid
saveas(gcf,'comp_frf_x_hammer_hexa','fig')
print -dpng comp_frf_x_hammer_hexa
figure
h=semilogy(freq_frf,abs([ReIm5(:,12) ReIm9(:,12) ReIm13(:,12) ReIm14(:,12)]));
set(h,proname,val([6 4 2 12],1:3))
legend(leg1,leg2,leg5,leg6,'Location','SouthEast');
titlabel_font(tit_2,xlab,ylab1,10);
grid
saveas(gcf,'comp_frf_y_hammer_hexa','fig')
print -dpng comp_frf_y_hammer_hexa
figure
h=semilogy(freq_frf,abs([ReIm6(:,12) ReIm16(:,12)]));
set(h,proname,val([6 12],1:3))
legend(leg1,leg6,'Location','SouthEast');
titlabel_font(tit_3,xlab,ylab1,10);
grid
saveas(gcf,'comp_frf_z_hammer_hexa','fig')
print -dpng comp_frf_z_hammer_hexa
%%
figure
h=semilogy(freq_frf,abs([ReIm4(:,5) ReIm10(:,5) ReIm11(:,5) ReIm15(:,5)]));
set(h,proname,val([6 4 2 12],1:3))
legend(leg1,leg3,leg4,leg6,'Location','SouthEast');
grid
% saveas(gcf,'comp_frf_x_hammer_hexa','fig')
% print -dpng comp_frf_x_hammer_hexa
figure
h=semilogy(freq_frf,abs([ReIm5(:,6) ReIm9(:,6) ReIm13(:,6) ReIm14(:,6)]));
set(h,proname,val([6 4 2 12],1:3))
legend(leg1,leg2,leg5,leg6,'Location','SouthEast');
grid
% saveas(gcf,'comp_frf_y_hammer_hexa','fig')
% print -dpng comp_frf_y_hammer_hexa
figure
h=semilogy(freq_frf,abs([ReIm6(:,7) ReIm16(:,7)]));
set(h,proname,val([6 12],1:3))
legend(leg1,leg6,'Location','SouthEast');
grid
% saveas(gcf,'comp_frf_z_hammer_hexa','fig')
% print -dpng comp_frf_z_hammer_hexa