<?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-05-02 jeu. 14:12 --> <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"/> <link rel="stylesheet" type="text/css" href="../css/zenburn.css"/> <script type="text/javascript" src="../js/jquery.min.js"></script> <script type="text/javascript" src="../js/bootstrap.min.js"></script> <script type="text/javascript" src="../js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" 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> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ displayAlign: "center", displayIndent: "0em", "HTML-CSS": { scale: 100, linebreaks: { automatic: "false" }, webFont: "TeX" }, SVG: {scale: 100, linebreaks: { automatic: "false" }, font: "TeX"}, NativeMML: {scale: 100}, TeX: { equationNumbers: {autoNumber: "AMS"}, MultLineWidth: "85%", TagSide: "right", TagIndent: ".8em" } }); </script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_HTML"></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="#org1ec9040">1. Effect of the Slip-Ring on the signal</a> <ul> <li><a href="#orga86437c">1.1. Experimental Setup</a></li> <li><a href="#orgd5025b8">1.2. Load data</a></li> <li><a href="#org733b9d4">1.3. Analysis - Time Domain</a></li> <li><a href="#org561e53f">1.4. Analysis - Frequency Domain</a></li> <li><a href="#orge6dd817">1.5. Conclusion</a></li> </ul> </li> <li><a href="#orgb89af3a">2. Effect of all the control systems on the Sample vibrations</a> <ul> <li><a href="#org0b19b98">2.1. Experimental Setup</a></li> <li><a href="#org3fe03db">2.2. Load data</a></li> <li><a href="#org3fdec7a">2.3. Analysis - Time Domain</a></li> <li><a href="#org6b5f0ed">2.4. Analysis - Frequency Domain</a> <ul> <li><a href="#orgfda4e64">2.4.1. Vibrations at the sample location</a></li> <li><a href="#orgc2f810b">2.4.2. Vibrations on the marble</a></li> </ul> </li> <li><a href="#org43b187d">2.5. Effect of the control system on the transmissibility from ground to sample</a></li> <li><a href="#org8ffc99d">2.6. Conclusion</a></li> </ul> </li> <li><a href="#orge358e9f">3. Transfer function from one stage to the other</a> <ul> <li><a href="#org8671c9c">3.1. Experimental Setup</a> <ul> <li><a href="#orgb8620d5">3.1.1. From Marble to Ty - <code>mat/meas_010.mat</code></a></li> <li><a href="#org3ca3b63">3.1.2. From Marble to Ry - <code>mat/meas_011.mat</code></a></li> <li><a href="#orgff3cde2">3.1.3. From Ty to Ry - <code>mat/meas_012.mat</code></a></li> </ul> </li> <li><a href="#org185b0f5">3.2. Load data</a></li> <li><a href="#org1dfb0b9">3.3. Analysis - Time Domain</a></li> <li><a href="#org388dc28">3.4. Analysis - Frequency Domain</a></li> <li><a href="#org26a82a2">3.5. Conclusion</a></li> </ul> </li> </ul> </div> </div> <p> For all the measurements shown here: </p> <ul class="org-ul"> <li>geophones used are L22 with a resonance frequency of 1Hz</li> <li>the signals are amplified with voltage amplifiers with a gain of 60dB</li> <li>the voltage amplifiers include a low pass filter with a cut-off frequency at 1kHz</li> </ul> <div id="outline-container-org1ec9040" class="outline-2"> <h2 id="org1ec9040"><span class="section-number-2">1</span> Effect of the Slip-Ring on the signal</h2> <div class="outline-text-2" id="text-1"> </div> <div id="outline-container-orga86437c" class="outline-3"> <h3 id="orga86437c"><span class="section-number-3">1.1</span> Experimental Setup</h3> <div class="outline-text-3" id="text-1-1"> <p> Two measurements are made with the control systems of all the stages turned OFF. </p> <p> One geophone is located on the marble while the other is located at the sample location (figure <a href="#org5ef91e0">1</a>). </p> <div id="org5ef91e0" class="figure"> <p><img src="./img/IMG_20190430_112615.jpg" alt="IMG_20190430_112615.jpg" width="500px" /> </p> <p><span class="figure-number">Figure 1: </span>Experimental Setup</p> </div> <p> The two measurements are: </p> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <colgroup> <col class="org-left" /> <col class="org-left" /> </colgroup> <thead> <tr> <th scope="col" class="org-left">Measurement File</th> <th scope="col" class="org-left">Description</th> </tr> </thead> <tbody> <tr> <td class="org-left"><code>meas_008.mat</code></td> <td class="org-left">Signal from the top geophone does not goes through the Slip-ring</td> </tr> <tr> <td class="org-left"><code>meas_009.mat</code></td> <td class="org-left">Signal goes through the Slip-ring (as shown on the figure above)</td> </tr> </tbody> </table> <p> Each of the measurement <code>mat</code> file contains one <code>data</code> array with 3 columns: </p> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <colgroup> <col class="org-right" /> <col class="org-left" /> </colgroup> <thead> <tr> <th scope="col" class="org-right">Column number</th> <th scope="col" class="org-left">Description</th> </tr> </thead> <tbody> <tr> <td class="org-right">1</td> <td class="org-left">Geophone - Marble</td> </tr> <tr> <td class="org-right">2</td> <td class="org-left">Geophone - Sample</td> </tr> <tr> <td class="org-right">3</td> <td class="org-left">Time</td> </tr> </tbody> </table> </div> </div> <div id="outline-container-orgd5025b8" class="outline-3"> <h3 id="orgd5025b8"><span class="section-number-3">1.2</span> Load data</h3> <div class="outline-text-3" id="text-1-2"> <p> We load the data of the z axis of two geophones. </p> <div class="org-src-container"> <pre class="src src-matlab">d8 = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_008.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; d8 = d8.data; d9 = load<span class="org-rainbow-delimiters-depth-1">(</span>'mat<span class="org-type">/</span>data_009.mat', <span class="org-string">'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; d9 = d9.data; </pre> </div> </div> </div> <div id="outline-container-org733b9d4" class="outline-3"> <h3 id="org733b9d4"><span class="section-number-3">1.3</span> Analysis - Time Domain</h3> <div class="outline-text-3" id="text-1-3"> <p> First, we compare the time domain signals for the two experiments (figure <a href="#orgc28e2b2">2</a>). </p> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-type">figure</span>; hold on; plot<span class="org-rainbow-delimiters-depth-1">(</span>d9<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, d9<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Slip-Ring'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>d8<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, d8<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Wire'</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold off; xlabel<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Time </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">s</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">)</span></span><span class="org-string">; ylabel</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">(</span></span><span class="org-string">'Voltage </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">V</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-rainbow-delimiters-depth-1">)</span>; xlim<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span><span class="org-highlight-numbers-number">0</span>, <span class="org-highlight-numbers-number">50</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>; legend<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'location', 'northeast'</span><span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div id="orgc28e2b2" class="figure"> <p><img src="figs/slipring_time.png" alt="slipring_time.png" /> </p> <p><span class="figure-number">Figure 2: </span>Effect of the Slip-Ring on the measured signal - Time domain</p> </div> </div> </div> <div id="outline-container-org561e53f" class="outline-3"> <h3 id="org561e53f"><span class="section-number-3">1.4</span> Analysis - Frequency Domain</h3> <div class="outline-text-3" id="text-1-4"> <p> We then compute the Power Spectral Density of the two signals and we compare them (figure <a href="#orgcc1d3ae">3</a>). </p> <div class="org-src-container"> <pre class="src src-matlab">dt = d8<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">2</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-type">-</span> d8<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">1</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-1">)</span>; Fs = <span class="org-highlight-numbers-number">1</span><span class="org-type">/</span>dt; win = hanning<span class="org-rainbow-delimiters-depth-1">(</span>ceil<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-numbers-number">1</span><span class="org-type">*</span>Fs<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-rainbow-delimiters-depth-1">[</span>pxx8, f<span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>d8<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>pxx9, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>d9<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-type">figure</span>; hold on; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>pxx9<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Slip-Ring'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>pxx8<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Wire'</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold off; <span class="org-type">set</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">gca</span>, <span class="org-string">'xscale', 'log'</span><span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-type">set</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">gca</span>, <span class="org-string">'yscale', 'log'</span><span class="org-rainbow-delimiters-depth-1">)</span>; xlabel<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Frequency </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">Hz</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">)</span></span><span class="org-string">; ylabel</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">(</span></span><span class="org-string">'ASD </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">V/sqrt</span><span class="org-string"><span class="org-rainbow-delimiters-depth-3">(</span></span><span class="org-string">Hz</span><span class="org-string"><span class="org-rainbow-delimiters-depth-3">)</span></span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-rainbow-delimiters-depth-1">)</span> xlim<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span><span class="org-highlight-numbers-number">1</span>, <span class="org-highlight-numbers-number">500</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>; legend<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Location', 'southwest'</span><span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div id="orgcc1d3ae" class="figure"> <p><img src="figs/slipring_asd.png" alt="slipring_asd.png" /> </p> <p><span class="figure-number">Figure 3: </span>Effect of the Slip-Ring on the measured signal - Frequency domain</p> </div> </div> </div> <div id="outline-container-orge6dd817" class="outline-3"> <h3 id="orge6dd817"><span class="section-number-3">1.5</span> Conclusion</h3> <div class="outline-text-3" id="text-1-5"> <div class="important"> <ul class="org-ul"> <li>Connecting the geophone through the Slip-Ring seems to induce a lot of noise.</li> </ul> </div> <div class="note"> <p> <b>Remaining questions to answer</b>: </p> <ul class="org-ul"> <li>Why is there a sharp peak at 300Hz?</li> <li>Why the use of the Slip-Ring does induce a noise?</li> <li>Can the capacitive/inductive properties of the wires in the Slip-ring does not play well with the geophone? (resonant RLC circuit)</li> </ul> </div> </div> </div> </div> <div id="outline-container-orgb89af3a" class="outline-2"> <h2 id="orgb89af3a"><span class="section-number-2">2</span> Effect of all the control systems on the Sample vibrations</h2> <div class="outline-text-2" id="text-2"> </div> <div id="outline-container-org0b19b98" class="outline-3"> <h3 id="org0b19b98"><span class="section-number-3">2.1</span> Experimental Setup</h3> <div class="outline-text-3" id="text-2-1"> <p> We here measure the signals of two geophones: </p> <ul class="org-ul"> <li>One is located on top of the Sample platform</li> <li>One is located on the marble</li> </ul> <p> The signal from the top geophone does not go trought the slip-ring. </p> <p> First, all the control systems are turned ON, then, they are turned one by one. Each measurement are done during 50s. </p> <table id="org0b1da98" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <caption class="t-above"><span class="table-number">Table 1:</span> Summary of the measurements and the states of the control systems</caption> <colgroup> <col class="org-left" /> <col class="org-left" /> <col class="org-left" /> <col class="org-left" /> <col class="org-left" /> <col class="org-left" /> </colgroup> <thead> <tr> <th scope="col" class="org-left">Ty</th> <th scope="col" class="org-left">Ry</th> <th scope="col" class="org-left">Slip Ring</th> <th scope="col" class="org-left">Spindle</th> <th scope="col" class="org-left">Hexapod</th> <th scope="col" class="org-left">Meas. file</th> </tr> </thead> <tbody> <tr> <td class="org-left"><b>ON</b></td> <td class="org-left"><b>ON</b></td> <td class="org-left"><b>ON</b></td> <td class="org-left"><b>ON</b></td> <td class="org-left"><b>ON</b></td> <td class="org-left"><code>meas_003.mat</code></td> </tr> <tr> <td class="org-left">OFF</td> <td class="org-left"><b>ON</b></td> <td class="org-left"><b>ON</b></td> <td class="org-left"><b>ON</b></td> <td class="org-left"><b>ON</b></td> <td class="org-left"><code>meas_004.mat</code></td> </tr> <tr> <td class="org-left">OFF</td> <td class="org-left">OFF</td> <td class="org-left"><b>ON</b></td> <td class="org-left"><b>ON</b></td> <td class="org-left"><b>ON</b></td> <td class="org-left"><code>meas_005.mat</code></td> </tr> <tr> <td class="org-left">OFF</td> <td class="org-left">OFF</td> <td class="org-left">OFF</td> <td class="org-left"><b>ON</b></td> <td class="org-left"><b>ON</b></td> <td class="org-left"><code>meas_006.mat</code></td> </tr> <tr> <td class="org-left">OFF</td> <td class="org-left">OFF</td> <td class="org-left">OFF</td> <td class="org-left">OFF</td> <td class="org-left"><b>ON</b></td> <td class="org-left"><code>meas_007.mat</code></td> </tr> <tr> <td class="org-left">OFF</td> <td class="org-left">OFF</td> <td class="org-left">OFF</td> <td class="org-left">OFF</td> <td class="org-left">OFF</td> <td class="org-left"><code>meas_008.mat</code></td> </tr> </tbody> </table> <p> Each of the <code>mat</code> file contains one array <code>data</code> with 3 columns: </p> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <colgroup> <col class="org-right" /> <col class="org-left" /> </colgroup> <thead> <tr> <th scope="col" class="org-right">Column number</th> <th scope="col" class="org-left">Description</th> </tr> </thead> <tbody> <tr> <td class="org-right">1</td> <td class="org-left">Geophone - Marble</td> </tr> <tr> <td class="org-right">2</td> <td class="org-left">Geophone - Sample</td> </tr> <tr> <td class="org-right">3</td> <td class="org-left">Time</td> </tr> </tbody> </table> </div> </div> <div id="outline-container-org3fe03db" class="outline-3"> <h3 id="org3fe03db"><span class="section-number-3">2.2</span> Load data</h3> <div class="outline-text-3" id="text-2-2"> <p> We load the data of the z axis of two geophones. </p> <div class="org-src-container"> <pre class="src src-matlab">d3 = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_003.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; d3 = d3.data; d4 = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_004.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; d4 = d4.data; d5 = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_005.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; d5 = d5.data; d6 = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_006.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; d6 = d6.data; d7 = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_007.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; d7 = d7.data; d8 = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_008.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; d8 = d8.data; </pre> </div> </div> </div> <div id="outline-container-org3fdec7a" class="outline-3"> <h3 id="org3fdec7a"><span class="section-number-3">2.3</span> Analysis - Time Domain</h3> <div class="outline-text-3" id="text-2-3"> <p> First, we can look at the time domain data and compare all the measurements: </p> <ul class="org-ul"> <li>comparison for the geophone at the sample location (figure <a href="#org96fa0ed">4</a>)</li> <li>comparison for the geophone on the granite (figure <a href="#org9f51b4a">5</a>)</li> </ul> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-type">figure</span>; hold on; plot<span class="org-rainbow-delimiters-depth-1">(</span>d3<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, d3<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'All ON'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>d4<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, d4<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Ty OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>d5<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, d5<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Ry OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>d6<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, d6<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'S-R OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>d7<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, d7<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Rz OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>d8<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, d8<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Hexa OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold off; xlabel<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Time </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">s</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">)</span></span><span class="org-string">; ylabel</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">(</span></span><span class="org-string">'Voltage </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">V</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-rainbow-delimiters-depth-1">)</span>; xlim<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span><span class="org-highlight-numbers-number">0</span>, <span class="org-highlight-numbers-number">50</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>; legend<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Location', 'bestoutside'</span><span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div id="org96fa0ed" class="figure"> <p><img src="figs/time_domain_sample.png" alt="time_domain_sample.png" /> </p> <p><span class="figure-number">Figure 4: </span>Comparison of the time domain data when turning off the control system of the stages - Geophone at the sample location</p> </div> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-type">figure</span>; hold on; plot<span class="org-rainbow-delimiters-depth-1">(</span>d3<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, d3<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'All ON'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>d4<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, d4<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Ty OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>d5<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, d5<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Ry OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>d6<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, d6<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'S-R OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>d7<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, d7<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Rz OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>d8<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, d8<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Hexa OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold off; xlabel<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Time </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">s</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">)</span></span><span class="org-string">; ylabel</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">(</span></span><span class="org-string">'Voltage </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">V</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-rainbow-delimiters-depth-1">)</span>; xlim<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span><span class="org-highlight-numbers-number">0</span>, <span class="org-highlight-numbers-number">50</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>; legend<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Location', 'bestoutside'</span><span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div id="org9f51b4a" class="figure"> <p><img src="figs/time_domain_marble.png" alt="time_domain_marble.png" /> </p> <p><span class="figure-number">Figure 5: </span>Comparison of the time domain data when turning off the control system of the stages - Geophone on the marble</p> </div> </div> </div> <div id="outline-container-org6b5f0ed" class="outline-3"> <h3 id="org6b5f0ed"><span class="section-number-3">2.4</span> Analysis - Frequency Domain</h3> <div class="outline-text-3" id="text-2-4"> <div class="org-src-container"> <pre class="src src-matlab">dt = d3<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">2</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-type">-</span> d3<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">1</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-1">)</span>; Fs = <span class="org-highlight-numbers-number">1</span><span class="org-type">/</span>dt; win = hanning<span class="org-rainbow-delimiters-depth-1">(</span>ceil<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-numbers-number">10</span><span class="org-type">*</span>Fs<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> </div> <div id="outline-container-orgfda4e64" class="outline-4"> <h4 id="orgfda4e64"><span class="section-number-4">2.4.1</span> Vibrations at the sample location</h4> <div class="outline-text-4" id="text-2-4-1"> <p> First, we compute the Power Spectral Density of the signals coming from the Geophone located at the sample location. </p> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-rainbow-delimiters-depth-1">[</span>px3, f<span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>d3<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>px4, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>d4<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>px5, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>d5<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>px6, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>d6<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>px7, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>d7<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>px8, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>d8<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <p> And we compare all the signals (figures <a href="#org89b13c6">6</a> and <a href="#org308e055">7</a>). </p> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-type">figure</span>; hold on; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>px3<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'All ON'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>px4<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Ty OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>px5<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Ry OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>px6<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'S-R OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>px7<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Rz OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>px8<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Hexa OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold off; <span class="org-type">set</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">gca</span>, <span class="org-string">'xscale', 'log'</span><span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-type">set</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">gca</span>, <span class="org-string">'yscale', 'log'</span><span class="org-rainbow-delimiters-depth-1">)</span>; xlabel<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Frequency </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">Hz</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">)</span></span><span class="org-string">; ylabel</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">(</span></span><span class="org-string">'ASD </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">V/sqrt</span><span class="org-string"><span class="org-rainbow-delimiters-depth-3">(</span></span><span class="org-string">Hz</span><span class="org-string"><span class="org-rainbow-delimiters-depth-3">)</span></span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-rainbow-delimiters-depth-1">)</span> xlim<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span><span class="org-highlight-numbers-number">0</span>.<span class="org-highlight-numbers-number">1</span>, <span class="org-highlight-numbers-number">500</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>; legend<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Location', 'southwest'</span><span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div id="org89b13c6" class="figure"> <p><img src="figs/psd_sample_comp.png" alt="psd_sample_comp.png" /> </p> <p><span class="figure-number">Figure 6: </span>PSD of the signal coming from the top geophone</p> </div> <div id="org308e055" class="figure"> <p><img src="figs/psd_sample_comp_high_freq.png" alt="psd_sample_comp_high_freq.png" /> </p> <p><span class="figure-number">Figure 7: </span>PSD of the signal coming from the top geophone (zoom at high frequencies)</p> </div> </div> </div> <div id="outline-container-orgc2f810b" class="outline-4"> <h4 id="orgc2f810b"><span class="section-number-4">2.4.2</span> Vibrations on the marble</h4> <div class="outline-text-4" id="text-2-4-2"> <p> Now we plot the same curves for the geophone located on the marble. </p> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-rainbow-delimiters-depth-1">[</span>px3, f<span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>d3<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>px4, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>d4<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>px5, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>d5<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>px6, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>d6<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>px7, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>d7<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>px8, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>d8<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <p> And we compare the ASD (figures <a href="#orgbe8f7be">8</a> and <a href="#orgd5c44ba">9</a>) </p> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-type">figure</span>; hold on; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>px3<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'All ON'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>px4<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Ty OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>px5<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Ry OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>px6<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'S-R OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>px7<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Rz OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>px8<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Hexa OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold off; <span class="org-type">set</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">gca</span>, <span class="org-string">'xscale', 'log'</span><span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-type">set</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">gca</span>, <span class="org-string">'yscale', 'log'</span><span class="org-rainbow-delimiters-depth-1">)</span>; xlabel<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Frequency </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">Hz</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">)</span></span><span class="org-string">; ylabel</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">(</span></span><span class="org-string">'ASD </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">V/sqrt</span><span class="org-string"><span class="org-rainbow-delimiters-depth-3">(</span></span><span class="org-string">Hz</span><span class="org-string"><span class="org-rainbow-delimiters-depth-3">)</span></span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-rainbow-delimiters-depth-1">)</span> xlim<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span><span class="org-highlight-numbers-number">0</span>.<span class="org-highlight-numbers-number">1</span>, <span class="org-highlight-numbers-number">500</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>; legend<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Location', 'northeast'</span><span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div id="orgbe8f7be" class="figure"> <p><img src="figs/psd_marble_comp.png" alt="psd_marble_comp.png" /> </p> <p><span class="figure-number">Figure 8: </span>PSD of the signal coming from the top geophone</p> </div> <div id="orgd5c44ba" class="figure"> <p><img src="figs/psd_marble_comp_high_freq.png" alt="psd_marble_comp_high_freq.png" /> </p> <p><span class="figure-number">Figure 9: </span>PSD of the signal coming from the top geophone (zoom at high frequencies)</p> </div> </div> </div> </div> <div id="outline-container-org43b187d" class="outline-3"> <h3 id="org43b187d"><span class="section-number-3">2.5</span> Effect of the control system on the transmissibility from ground to sample</h3> <div class="outline-text-3" id="text-2-5"> <p> As the feedback loops change the dynamics of the system, we should see differences on the transfer function from marble velocity to sample velocity when turning off the control systems (figure <a href="#org5664b0a">10</a>). </p> <div class="org-src-container"> <pre class="src src-matlab">dt = d3<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">2</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-type">-</span> d3<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">1</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-1">)</span>; Fs = <span class="org-highlight-numbers-number">1</span><span class="org-type">/</span>dt; win = hanning<span class="org-rainbow-delimiters-depth-1">(</span>ceil<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-numbers-number">1</span><span class="org-type">*</span>Fs<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <p> First, we compute the Power Spectral Density of the signals coming from the Geophone located at the sample location. </p> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-rainbow-delimiters-depth-1">[</span>T3, f<span class="org-rainbow-delimiters-depth-1">]</span> = tfestimate<span class="org-rainbow-delimiters-depth-1">(</span>d3<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, d3<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>T4, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = tfestimate<span class="org-rainbow-delimiters-depth-1">(</span>d4<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, d4<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>T5, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = tfestimate<span class="org-rainbow-delimiters-depth-1">(</span>d5<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, d5<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>T6, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = tfestimate<span class="org-rainbow-delimiters-depth-1">(</span>d6<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, d6<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>T7, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = tfestimate<span class="org-rainbow-delimiters-depth-1">(</span>d7<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, d7<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>T8, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = tfestimate<span class="org-rainbow-delimiters-depth-1">(</span>d8<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, d8<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-type">figure</span>; ax1 = subplot<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">2</span>, <span class="org-highlight-numbers-number">1</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold on; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, abs<span class="org-rainbow-delimiters-depth-2">(</span>T3<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'All ON'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, abs<span class="org-rainbow-delimiters-depth-2">(</span>T4<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Ty OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, abs<span class="org-rainbow-delimiters-depth-2">(</span>T5<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Ry OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, abs<span class="org-rainbow-delimiters-depth-2">(</span>T6<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'S-R OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, abs<span class="org-rainbow-delimiters-depth-2">(</span>T7<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Rz OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, abs<span class="org-rainbow-delimiters-depth-2">(</span>T8<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Hexa OFF'</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold off; <span class="org-type">set</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">gca</span>, <span class="org-string">'xscale', 'log'</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">)</span></span><span class="org-string">; set</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">(</span></span><span class="org-string">gca, 'yscale', 'log'</span><span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-type">set</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">gca</span>, <span class="org-string">'XTickLabel'</span>,<span class="org-rainbow-delimiters-depth-2">[]</span><span class="org-rainbow-delimiters-depth-1">)</span>; ylabel<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Magnitude'</span><span class="org-rainbow-delimiters-depth-1">)</span>; legend<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Location', 'northwest'</span><span class="org-rainbow-delimiters-depth-1">)</span>; ax2 = subplot<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">2</span>, <span class="org-highlight-numbers-number">1</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold on; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, mod<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-numbers-number">180</span><span class="org-type">+</span><span class="org-highlight-numbers-number">180</span><span class="org-type">/</span><span class="org-constant">pi</span><span class="org-type">*</span>phase<span class="org-rainbow-delimiters-depth-3">(</span>T3<span class="org-rainbow-delimiters-depth-3">)</span>, <span class="org-highlight-numbers-number">360</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-type">-</span><span class="org-highlight-numbers-number">180</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, mod<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-numbers-number">180</span><span class="org-type">+</span><span class="org-highlight-numbers-number">180</span><span class="org-type">/</span><span class="org-constant">pi</span><span class="org-type">*</span>phase<span class="org-rainbow-delimiters-depth-3">(</span>T4<span class="org-rainbow-delimiters-depth-3">)</span>, <span class="org-highlight-numbers-number">360</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-type">-</span><span class="org-highlight-numbers-number">180</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, mod<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-numbers-number">180</span><span class="org-type">+</span><span class="org-highlight-numbers-number">180</span><span class="org-type">/</span><span class="org-constant">pi</span><span class="org-type">*</span>phase<span class="org-rainbow-delimiters-depth-3">(</span>T5<span class="org-rainbow-delimiters-depth-3">)</span>, <span class="org-highlight-numbers-number">360</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-type">-</span><span class="org-highlight-numbers-number">180</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, mod<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-numbers-number">180</span><span class="org-type">+</span><span class="org-highlight-numbers-number">180</span><span class="org-type">/</span><span class="org-constant">pi</span><span class="org-type">*</span>phase<span class="org-rainbow-delimiters-depth-3">(</span>T6<span class="org-rainbow-delimiters-depth-3">)</span>, <span class="org-highlight-numbers-number">360</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-type">-</span><span class="org-highlight-numbers-number">180</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, mod<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-numbers-number">180</span><span class="org-type">+</span><span class="org-highlight-numbers-number">180</span><span class="org-type">/</span><span class="org-constant">pi</span><span class="org-type">*</span>phase<span class="org-rainbow-delimiters-depth-3">(</span>T7<span class="org-rainbow-delimiters-depth-3">)</span>, <span class="org-highlight-numbers-number">360</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-type">-</span><span class="org-highlight-numbers-number">180</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, mod<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-numbers-number">180</span><span class="org-type">+</span><span class="org-highlight-numbers-number">180</span><span class="org-type">/</span><span class="org-constant">pi</span><span class="org-type">*</span>phase<span class="org-rainbow-delimiters-depth-3">(</span>T8<span class="org-rainbow-delimiters-depth-3">)</span>, <span class="org-highlight-numbers-number">360</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-type">-</span><span class="org-highlight-numbers-number">180</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold off; <span class="org-type">set</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">gca</span>, <span class="org-string">'xscale', 'log'</span><span class="org-rainbow-delimiters-depth-1">)</span>; ylim<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span><span class="org-type">-</span><span class="org-highlight-numbers-number">180</span>, <span class="org-highlight-numbers-number">180</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>; yticks<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span><span class="org-type">-</span><span class="org-highlight-numbers-number">180</span>, <span class="org-type">-</span><span class="org-highlight-numbers-number">90</span>, <span class="org-highlight-numbers-number">0</span>, <span class="org-highlight-numbers-number">90</span>, <span class="org-highlight-numbers-number">180</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>; xlabel<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Frequency </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">Hz</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">)</span></span><span class="org-string">; ylabel</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">(</span></span><span class="org-string">'Phase'</span><span class="org-rainbow-delimiters-depth-1">)</span>; linkaxes<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span>ax1,ax2<span class="org-rainbow-delimiters-depth-2">]</span>,<span class="org-string">'x'</span><span class="org-rainbow-delimiters-depth-1">)</span>; xlim<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span><span class="org-highlight-numbers-number">1</span>, <span class="org-highlight-numbers-number">500</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div id="org5664b0a" class="figure"> <p><img src="figs/trans_comp.png" alt="trans_comp.png" /> </p> <p><span class="figure-number">Figure 10: </span>Comparison of the transfer function from the geophone on the marble to the geophone at the sample location</p> </div> </div> </div> <div id="outline-container-org8ffc99d" class="outline-3"> <h3 id="org8ffc99d"><span class="section-number-3">2.6</span> Conclusion</h3> <div class="outline-text-3" id="text-2-6"> <div class="important"> <ul class="org-ul"> <li>The control system of the Ty stage induces a lot of vibrations of the marble</li> </ul> </div> <div class="note"> <ul class="org-ul"> <li>Why it seems that the measurement noise at high frequency is the limiting factor when the slip ring is ON but not when it is OFF?</li> </ul> </div> </div> </div> </div> <div id="outline-container-orge358e9f" class="outline-2"> <h2 id="orge358e9f"><span class="section-number-2">3</span> Transfer function from one stage to the other</h2> <div class="outline-text-2" id="text-3"> </div> <div id="outline-container-org8671c9c" class="outline-3"> <h3 id="org8671c9c"><span class="section-number-3">3.1</span> Experimental Setup</h3> <div class="outline-text-3" id="text-3-1"> <p> For all the measurements in this section: </p> <ul class="org-ul"> <li>all the control stages are OFF.</li> <li>the measurements are on the \(z\) direction</li> </ul> </div> <div id="outline-container-orgb8620d5" class="outline-4"> <h4 id="orgb8620d5"><span class="section-number-4">3.1.1</span> From Marble to Ty - <code>mat/meas_010.mat</code></h4> <div class="outline-text-4" id="text-3-1-1"> <p> One geophone is on the marble, one is on the Ty stage (see figures <a href="#org6500e1d">11</a>, <a href="#org3ecc8bf">12</a> and <a href="#org9e84f58">13</a>). </p> <p> The <code>data</code> array contains the following columns: </p> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <colgroup> <col class="org-right" /> <col class="org-left" /> </colgroup> <thead> <tr> <th scope="col" class="org-right">Column</th> <th scope="col" class="org-left">Description</th> </tr> </thead> <tbody> <tr> <td class="org-right">1</td> <td class="org-left">Ground</td> </tr> <tr> <td class="org-right">2</td> <td class="org-left">Ty</td> </tr> <tr> <td class="org-right">3</td> <td class="org-left">Time</td> </tr> </tbody> </table> <div id="org6500e1d" class="figure"> <p><img src="./img/IMG_20190430_155330.jpg" alt="IMG_20190430_155330.jpg" width="500px" /> </p> <p><span class="figure-number">Figure 11: </span>Setup with one geophone on the marble and one on top of the translation stage</p> </div> <div id="org3ecc8bf" class="figure"> <p><img src="./img/IMG_20190430_155335.jpg" alt="IMG_20190430_155335.jpg" width="500px" /> </p> <p><span class="figure-number">Figure 12: </span>Setup with one geophone on the marble and one on top of the translation stage - Close up view</p> </div> <div id="org9e84f58" class="figure"> <p><img src="./img/IMG_20190430_155342.jpg" alt="IMG_20190430_155342.jpg" width="500px" /> </p> <p><span class="figure-number">Figure 13: </span>Setup with one geophone on the marble and one on top of the translation stage - Top view</p> </div> </div> </div> <div id="outline-container-org3ca3b63" class="outline-4"> <h4 id="org3ca3b63"><span class="section-number-4">3.1.2</span> From Marble to Ry - <code>mat/meas_011.mat</code></h4> <div class="outline-text-4" id="text-3-1-2"> <p> One geophone is on the marble, one is on the Ry stage (see figure <a href="#orgb45486f">14</a>) </p> <p> The <code>data</code> array contains the following columns: </p> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <colgroup> <col class="org-right" /> <col class="org-left" /> </colgroup> <thead> <tr> <th scope="col" class="org-right">Column</th> <th scope="col" class="org-left">Description</th> </tr> </thead> <tbody> <tr> <td class="org-right">1</td> <td class="org-left">Ground</td> </tr> <tr> <td class="org-right">2</td> <td class="org-left">Ry</td> </tr> <tr> <td class="org-right">3</td> <td class="org-left">Time</td> </tr> </tbody> </table> <div id="orgb45486f" class="figure"> <p><img src="./img/IMG_20190430_163919.jpg" alt="IMG_20190430_163919.jpg" width="500px" /> </p> <p><span class="figure-number">Figure 14: </span>Setup with one geophone on the marble and one on top of the Tilt Stage</p> </div> </div> </div> <div id="outline-container-orgff3cde2" class="outline-4"> <h4 id="orgff3cde2"><span class="section-number-4">3.1.3</span> From Ty to Ry - <code>mat/meas_012.mat</code></h4> <div class="outline-text-4" id="text-3-1-3"> <p> One geophone is on the Ty stage, one is on the Ry stage (see figures <a href="#orgf7603bb">15</a>, <a href="#orgea56cfb">16</a> and <a href="#orga7b7318">17</a>) One geophone on the Ty stage, one geophone on the Ry stage. </p> <p> The <code>data</code> array contains the following columns: </p> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <colgroup> <col class="org-right" /> <col class="org-left" /> </colgroup> <thead> <tr> <th scope="col" class="org-right">Column</th> <th scope="col" class="org-left">Description</th> </tr> </thead> <tbody> <tr> <td class="org-right">1</td> <td class="org-left">Ty</td> </tr> <tr> <td class="org-right">2</td> <td class="org-left">Ry</td> </tr> <tr> <td class="org-right">3</td> <td class="org-left">Time</td> </tr> </tbody> </table> <div id="orgf7603bb" class="figure"> <p><img src="./img/IMG_20190430_170405.jpg" alt="IMG_20190430_170405.jpg" width="500px" /> </p> <p><span class="figure-number">Figure 15: </span>Setup with one geophone on the translation stage and one on top of the Tilt Stage</p> </div> <div id="orgea56cfb" class="figure"> <p><img src="./img/IMG_20190430_170418.jpg" alt="IMG_20190430_170418.jpg" width="500px" /> </p> <p><span class="figure-number">Figure 16: </span>Setup with one geophone on the translation stage and one on top of the Tilt Stage - Top view</p> </div> <div id="orga7b7318" class="figure"> <p><img src="./img/IMG_20190430_170425.jpg" alt="IMG_20190430_170425.jpg" width="500px" /> </p> <p><span class="figure-number">Figure 17: </span>Setup with one geophone on the translation stage and one on top of the Tilt Stage - Close up view</p> </div> </div> </div> </div> <div id="outline-container-org185b0f5" class="outline-3"> <h3 id="org185b0f5"><span class="section-number-3">3.2</span> Load data</h3> <div class="outline-text-3" id="text-3-2"> <p> We load the data of the z axis of two geophones. </p> <div class="org-src-container"> <pre class="src src-matlab">m_ty = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_010.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; m_ty = m_ty.data; m_ry = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_011.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; m_ry = m_ry.data; ty_ry = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_012.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; ty_ry = ty_ry.data; </pre> </div> </div> </div> <div id="outline-container-org1dfb0b9" class="outline-3"> <h3 id="org1dfb0b9"><span class="section-number-3">3.3</span> Analysis - Time Domain</h3> <div class="outline-text-3" id="text-3-3"> <p> First, we can look at the time domain data. </p> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-type">figure</span>; hold on; plot<span class="org-rainbow-delimiters-depth-1">(</span>m_ty<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, m_ty<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Marble'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>m_ty<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, m_ty<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Ty'</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold off; xlabel<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Time </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">s</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">)</span></span><span class="org-string">; ylabel</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">(</span></span><span class="org-string">'Voltage </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">V</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-rainbow-delimiters-depth-1">)</span>; legend<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Location', 'northeast'</span><span class="org-rainbow-delimiters-depth-1">)</span>; xlim<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span><span class="org-highlight-numbers-number">0</span>, <span class="org-highlight-numbers-number">500</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div id="org091d427" class="figure"> <p><img src="figs/time_domain_m_ty.png" alt="time_domain_m_ty.png" /> </p> <p><span class="figure-number">Figure 18: </span>Time domain - Marble and translation stage</p> </div> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-type">figure</span>; hold on; plot<span class="org-rainbow-delimiters-depth-1">(</span>m_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, m_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Marble'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>m_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, m_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Ty'</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold off; xlabel<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Time </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">s</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">)</span></span><span class="org-string">; ylabel</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">(</span></span><span class="org-string">'Voltage </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">V</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-rainbow-delimiters-depth-1">)</span>; legend<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Location', 'northeast'</span><span class="org-rainbow-delimiters-depth-1">)</span>; xlim<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span><span class="org-highlight-numbers-number">0</span>, <span class="org-highlight-numbers-number">500</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div id="org64705f0" class="figure"> <p><img src="figs/time_domain_m_ry.png" alt="time_domain_m_ry.png" /> </p> <p><span class="figure-number">Figure 19: </span>Time domain - Marble and tilt stage</p> </div> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-type">figure</span>; hold on; plot<span class="org-rainbow-delimiters-depth-1">(</span>ty_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, ty_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Ty'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>ty_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">)</span>, ty_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Ry'</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold off; xlabel<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Time </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">s</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">)</span></span><span class="org-string">; ylabel</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">(</span></span><span class="org-string">'Voltage </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">V</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-rainbow-delimiters-depth-1">)</span>; legend<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Location', 'northeast'</span><span class="org-rainbow-delimiters-depth-1">)</span>; xlim<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span><span class="org-highlight-numbers-number">0</span>, <span class="org-highlight-numbers-number">500</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div id="orga9c5a81" class="figure"> <p><img src="figs/time_domain_ty_ry.png" alt="time_domain_ty_ry.png" /> </p> <p><span class="figure-number">Figure 20: </span>Time domain - Translation stage and tilt stage</p> </div> </div> </div> <div id="outline-container-org388dc28" class="outline-3"> <h3 id="org388dc28"><span class="section-number-3">3.4</span> Analysis - Frequency Domain</h3> <div class="outline-text-3" id="text-3-4"> <div class="org-src-container"> <pre class="src src-matlab">dt = m_ty<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">2</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-type">-</span> m_ty<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">1</span>, <span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-1">)</span>; Fs = <span class="org-highlight-numbers-number">1</span><span class="org-type">/</span>dt; win = hanning<span class="org-rainbow-delimiters-depth-1">(</span>ceil<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-numbers-number">1</span><span class="org-type">*</span>Fs<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <p> First, we compute the transfer function estimate between the two geophones for the 3 experiments (figure <a href="#orgb44305f">21</a>). We also plot their coherence (figure <a href="#orgf8b4679">22</a>). </p> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-rainbow-delimiters-depth-1">[</span>T_m_ty, f<span class="org-rainbow-delimiters-depth-1">]</span> = tfestimate<span class="org-rainbow-delimiters-depth-1">(</span>m_ty<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, m_ty<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>T_m_ry, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = tfestimate<span class="org-rainbow-delimiters-depth-1">(</span>m_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, m_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>T_ty_ry, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = tfestimate<span class="org-rainbow-delimiters-depth-1">(</span>ty_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, ty_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-type">figure</span>; ax1 = subplot<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">2</span>, <span class="org-highlight-numbers-number">1</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold on; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, abs<span class="org-rainbow-delimiters-depth-2">(</span>T_m_ty<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Marble - Ty'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, abs<span class="org-rainbow-delimiters-depth-2">(</span>T_m_ry<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Marble - Ry'</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, abs<span class="org-rainbow-delimiters-depth-2">(</span>T_ty_ry<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Ty - Ry'</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold off; <span class="org-type">set</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">gca</span>, <span class="org-string">'xscale', 'log'</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">)</span></span><span class="org-string">; set</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">(</span></span><span class="org-string">gca, 'yscale', 'log'</span><span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-type">set</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">gca</span>, <span class="org-string">'XTickLabel'</span>,<span class="org-rainbow-delimiters-depth-2">[]</span><span class="org-rainbow-delimiters-depth-1">)</span>; ylabel<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Magnitude'</span><span class="org-rainbow-delimiters-depth-1">)</span>; legend<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Location', 'northwest'</span><span class="org-rainbow-delimiters-depth-1">)</span>; ax2 = subplot<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">2</span>, <span class="org-highlight-numbers-number">1</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold on; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, mod<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-numbers-number">180</span><span class="org-type">+</span><span class="org-highlight-numbers-number">180</span><span class="org-type">/</span><span class="org-constant">pi</span><span class="org-type">*</span>phase<span class="org-rainbow-delimiters-depth-3">(</span>T_m_ty<span class="org-rainbow-delimiters-depth-3">)</span>, <span class="org-highlight-numbers-number">360</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-type">-</span><span class="org-highlight-numbers-number">180</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, mod<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-numbers-number">180</span><span class="org-type">+</span><span class="org-highlight-numbers-number">180</span><span class="org-type">/</span><span class="org-constant">pi</span><span class="org-type">*</span>phase<span class="org-rainbow-delimiters-depth-3">(</span>T_m_ry<span class="org-rainbow-delimiters-depth-3">)</span>, <span class="org-highlight-numbers-number">360</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-type">-</span><span class="org-highlight-numbers-number">180</span><span class="org-rainbow-delimiters-depth-1">)</span>; plot<span class="org-rainbow-delimiters-depth-1">(</span>f, mod<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-numbers-number">180</span><span class="org-type">+</span><span class="org-highlight-numbers-number">180</span><span class="org-type">/</span><span class="org-constant">pi</span><span class="org-type">*</span>phase<span class="org-rainbow-delimiters-depth-3">(</span>T_ty_ry<span class="org-rainbow-delimiters-depth-3">)</span>, <span class="org-highlight-numbers-number">360</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-type">-</span><span class="org-highlight-numbers-number">180</span><span class="org-rainbow-delimiters-depth-1">)</span>; hold off; <span class="org-type">set</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-variable-name">gca</span>, <span class="org-string">'xscale', 'log'</span><span class="org-rainbow-delimiters-depth-1">)</span>; ylim<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span><span class="org-type">-</span><span class="org-highlight-numbers-number">180</span>, <span class="org-highlight-numbers-number">180</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>; yticks<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span><span class="org-type">-</span><span class="org-highlight-numbers-number">180</span>, <span class="org-type">-</span><span class="org-highlight-numbers-number">90</span>, <span class="org-highlight-numbers-number">0</span>, <span class="org-highlight-numbers-number">90</span>, <span class="org-highlight-numbers-number">180</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>; xlabel<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'Frequency </span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">[</span></span><span class="org-string">Hz</span><span class="org-string"><span class="org-rainbow-delimiters-depth-2">]</span></span><span class="org-string">'</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">)</span></span><span class="org-string">; ylabel</span><span class="org-string"><span class="org-rainbow-delimiters-depth-1">(</span></span><span class="org-string">'Phase'</span><span class="org-rainbow-delimiters-depth-1">)</span>; linkaxes<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span>ax1,ax2<span class="org-rainbow-delimiters-depth-2">]</span>,<span class="org-string">'x'</span><span class="org-rainbow-delimiters-depth-1">)</span>; xlim<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">[</span><span class="org-highlight-numbers-number">10</span>, <span class="org-highlight-numbers-number">500</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div id="orgb44305f" class="figure"> <p><img src="figs/compare_tf_geophones.png" alt="compare_tf_geophones.png" /> </p> <p><span class="figure-number">Figure 21: </span>Transfer function from the first geophone to the second geophone for the three experiments</p> </div> <div class="org-src-container"> <pre class="src src-matlab"><span class="org-rainbow-delimiters-depth-1">[</span>coh_m_ty, f<span class="org-rainbow-delimiters-depth-1">]</span> = mscohere<span class="org-rainbow-delimiters-depth-1">(</span>m_ty<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, m_ty<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>coh_m_ry, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = mscohere<span class="org-rainbow-delimiters-depth-1">(</span>m_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, m_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; <span class="org-rainbow-delimiters-depth-1">[</span>coh_ty_ry, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = mscohere<span class="org-rainbow-delimiters-depth-1">(</span>ty_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-2">)</span>, ty_ry<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">:</span>, <span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">)</span>, win, <span class="org-rainbow-delimiters-depth-2">[]</span>, <span class="org-rainbow-delimiters-depth-2">[]</span>, Fs<span class="org-rainbow-delimiters-depth-1">)</span>; </pre> </div> <div id="orgf8b4679" class="figure"> <p><img src="figs/coherence_two_geophones.png" alt="coherence_two_geophones.png" /> </p> <p><span class="figure-number">Figure 22: </span>Coherence between the two geophones for the three experiments</p> </div> </div> </div> <div id="outline-container-org26a82a2" class="outline-3"> <h3 id="org26a82a2"><span class="section-number-3">3.5</span> Conclusion</h3> </div> </div> </div> <div id="postamble" class="status"> <p class="author">Author: Thomas Dehaeze</p> <p class="date">Created: 2019-05-02 jeu. 14:12</p> <p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p> </div> </body> </html>