nass-micro-station-measurem.../slip-ring-electrical-noise/index.html

2086 lines
112 KiB
HTML
Raw Normal View History

2019-05-02 14:06:23 +02:00
<?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-16 jeu. 09:46 -->
2019-05-02 14:06:23 +02:00
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Measurements On the Slip-Ring</title>
2019-05-02 14:06:23 +02:00
<meta name="generator" content="Org mode" />
2019-05-13 22:36:14 +02:00
<meta name="author" content="Dehaeze Thomas" />
2019-05-02 14:06:23 +02:00
<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>
2019-05-02 14:06:23 +02:00
</head>
<body>
2019-05-13 22:36:14 +02:00
<div id="org-div-home-and-up">
<a accesskey="h" href="../index.html"> UP </a>
|
<a accesskey="H" href="../index.html"> HOME </a>
</div><div id="content">
<h1 class="title">Measurements On the Slip-Ring</h1>
2019-05-02 14:06:23 +02:00
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org1d030e5">1. Effect of the Slip-Ring on the signal when turned ON - Geophone measurement</a>
2019-05-06 10:28:35 +02:00
<ul>
<li><a href="#orgd4f18e8">1.1. Experimental Setup</a></li>
<li><a href="#org95e9d55">1.2. Load data</a></li>
<li><a href="#org53c4572">1.3. Analysis - Time Domain</a></li>
<li><a href="#org1c42f0f">1.4. Analysis - Frequency Domain</a></li>
<li><a href="#org9d2cfed">1.5. Conclusion</a></li>
2019-05-06 10:28:35 +02:00
</ul>
</li>
<li><a href="#orgccb4032">2. Measure of the noise induced by the Slip-Ring using voltage amplifiers - Geophone</a>
2019-05-06 10:28:35 +02:00
<ul>
<li><a href="#org88280ef">2.1. First Measurement without LPF</a>
2019-05-13 22:36:14 +02:00
<ul>
<li><a href="#org3331beb">2.1.1. Measurement Description</a></li>
<li><a href="#org103e5c2">2.1.2. Load data</a></li>
<li><a href="#org02ceffa">2.1.3. Time Domain</a></li>
<li><a href="#orgb462ebc">2.1.4. Frequency Domain</a></li>
<li><a href="#orga4c3bf1">2.1.5. Conclusion</a></li>
2019-05-06 10:28:35 +02:00
</ul>
</li>
<li><a href="#org54c5011">2.2. Measurement using an oscilloscope</a>
<ul>
<li><a href="#org49ea109">2.2.1. Measurement Setup</a></li>
<li><a href="#org5f98141">2.2.2. Observations</a></li>
<li><a href="#org70c6413">2.2.3. Conclusion</a></li>
</ul>
</li>
<li><a href="#org687ffda">2.3. New measurements with a LPF before the Voltage Amplifiers</a>
2019-05-06 10:28:35 +02:00
<ul>
<li><a href="#org99adb5a">2.3.1. Setup description</a></li>
<li><a href="#org37c4f45">2.3.2. Load data</a></li>
<li><a href="#org2cf1043">2.3.3. Time Domain</a></li>
<li><a href="#org80a856e">2.3.4. Frequency Domain</a></li>
<li><a href="#org7384d90">2.3.5. Conclusion</a></li>
2019-05-06 10:28:35 +02:00
</ul>
</li>
<li><a href="#org064b3dd">2.4. Measurement of the noise induced by the slip-ring with additional LPF at 1kHz</a>
<ul>
<li><a href="#org1e23535">2.4.1. Measurement description</a></li>
<li><a href="#org871916d">2.4.2. Load data</a></li>
<li><a href="#org7913334">2.4.3. Time Domain</a></li>
<li><a href="#org178acc9">2.4.4. Frequency Domain</a></li>
<li><a href="#org27be147">2.4.5. Conclusion</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#org95785ee">3. Effect of the rotation of the Slip-Ring - Noise</a>
<ul>
<li><a href="#org47970d4">3.1. Measurement Description</a></li>
<li><a href="#orgf0133c6">3.2. Load data</a></li>
<li><a href="#orgf1de99a">3.3. Analysis</a></li>
<li><a href="#org7097143">3.4. Conclusion</a></li>
2019-05-06 10:28:35 +02:00
</ul>
</li>
<li><a href="#orge42ffbf">4. Measure of the noise induced by the Slip-Ring using voltage amplifiers - Noise</a>
2019-05-06 10:28:35 +02:00
<ul>
<li><a href="#org1c25b84">4.1. Measurement Description</a></li>
<li><a href="#org53a08b4">4.2. Load data</a></li>
<li><a href="#org85cb99d">4.3. Time Domain</a></li>
<li><a href="#org40aa863">4.4. Frequency Domain</a></li>
<li><a href="#orgcce9170">4.5. Conclusion</a></li>
2019-05-07 18:30:04 +02:00
</ul>
</li>
<li><a href="#org307d078">5. Measure of the noise induced by the Slip-Ring rotation - LPF added</a>
2019-05-13 22:36:14 +02:00
<ul>
<li><a href="#org6731a2c">5.1. Measurement description</a></li>
<li><a href="#org270adaa">5.2. Load data</a></li>
<li><a href="#org3cd4ce5">5.3. Time Domain</a></li>
<li><a href="#org5fd6ec3">5.4. Frequency Domain - Direct Signal</a></li>
<li><a href="#org8b466ae">5.5. Frequency Domain - Slip-Ring Signal</a></li>
<li><a href="#orgf9d70db">5.6. Conclusion</a></li>
2019-05-06 10:28:35 +02:00
</ul>
</li>
2019-05-02 14:06:23 +02:00
</ul>
</div>
</div>
<p>
First, the noise induced by the slip-ring is measured when using geophones:
</p>
2019-05-13 22:36:14 +02:00
<ul class="org-ul">
<li>Section <a href="#org9aacc9a">1</a>:
2019-05-13 22:36:14 +02:00
<ul class="org-ul">
<li>A geophone located at the sample location is measured with its signal going directly to the ADC and going through the slip-ring</li>
2019-05-13 22:36:14 +02:00
<li>The voltage amplifiers where saturating due to high frequency noise</li>
</ul></li>
<li>Section <a href="#orgdc7aa38">2</a>:
<ul class="org-ul">
<li>A Low Pass Filter is added before the voltage amplifiers</li>
<li>Using a Oscilloscope, high frequency noise at 40kHz generated by the slip-ring has been identified</li>
<li>With the additional low pass filter at the input of the voltage amplifiers, the slip-ring don't add any measurable noise to the signal</li>
</ul></li>
2019-05-13 22:36:14 +02:00
</ul>
2019-05-02 14:06:23 +02:00
<p>
Then, we determine is the slip-ring add some noise to the signal when it is turning:
</p>
<ul class="org-ul">
<li>Section <a href="#org99519fe">3</a>:
<ul class="org-ul">
<li>Noise is generated by the Speedgoat DAC and goes trough the slip-ring two times</li>
<li>We measure the signal when it is OFF, ON but not turning and ON and turning</li>
<li>However, the measurement is limited by the ADC noise</li>
</ul></li>
<li>Section <a href="#orgc1591f5">4</a>:
<ul class="org-ul">
<li>Voltage amplifiers are added, and the same measurements are done</li>
<li>However, the voltage amplifiers are saturating because of high frequency noise</li>
</ul></li>
<li>Section <a href="#org7658671">5</a>:
<ul class="org-ul">
<li>Low pass filter are added at the input of the voltage amplifier and the same measurement is done</li>
</ul></li>
</ul>
<div id="outline-container-org1d030e5" class="outline-2">
<h2 id="org1d030e5"><span class="section-number-2">1</span> Effect of the Slip-Ring on the signal when turned ON - Geophone measurement</h2>
<div class="outline-text-2" id="text-1">
<p>
<a id="org9aacc9a"></a>
</p>
2019-05-13 22:36:14 +02:00
<div class="note">
<p>
2019-05-13 22:36:14 +02:00
All the files (data and Matlab scripts) are accessible <a href="data/meas_slip_ring_geophone.zip">here</a>.
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
</div>
2019-05-06 10:28:35 +02:00
</div>
<div id="outline-container-orgd4f18e8" class="outline-3">
<h3 id="orgd4f18e8"><span class="section-number-3">1.1</span> Experimental Setup</h3>
2019-05-06 10:28:35 +02:00
<div class="outline-text-3" id="text-1-1">
<p>
2019-05-13 22:36:14 +02:00
<b>Goal</b>:
The goal is to determine if some noise is added to a signal passing through the slip-ring.
</p>
<p>
<b>Setup</b>:
Two measurements are made with the control systems of all the stages turned OFF.
2019-05-02 14:06:23 +02:00
</p>
<p>
One geophone is located on the marble while the other is located at the sample location (figure <a href="#org45de773">1</a>).
2019-05-13 22:36:14 +02:00
</p>
<p>
The two signals from the geophones are amplified with voltage amplifiers with the following settings:
2019-05-02 14:06:23 +02:00
</p>
2019-05-13 22:36:14 +02:00
<ul class="org-ul">
<li>Gain: 60dB</li>
<li>AC/DC switch: AC</li>
<li>Low pass filter at the output set at 1kHz</li>
</ul>
<div id="org45de773" 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>
2019-05-02 14:06:23 +02:00
2019-05-13 22:36:14 +02:00
2019-05-02 14:06:23 +02:00
<p>
2019-05-13 22:36:14 +02:00
<b>Measurements</b>:
Two measurements are done:
2019-05-02 14:06:23 +02:00
</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>
2019-05-02 14:06:23 +02:00
<th scope="col" class="org-left">Description</th>
</tr>
</thead>
<tbody>
<tr>
2019-05-13 22:36:14 +02:00
<td class="org-left"><code>mat/meas_018.mat</code></td>
<td class="org-left">Signal goes through the Slip-ring (as shown on the figure above)</td>
2019-05-02 14:06:23 +02:00
</tr>
<tr>
2019-05-13 22:36:14 +02:00
<td class="org-left"><code>mat/meas_019.mat</code></td>
<td class="org-left">Signal from the top geophone does not goes through the Slip-ring</td>
2019-05-02 14:06:23 +02:00
</tr>
</tbody>
</table>
<p>
Each of the measurement <code>mat</code> file contains one <code>data</code> array with 3 columns:
2019-05-02 14:06:23 +02:00
</p>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-right" />
2019-05-02 14:06:23 +02:00
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-right">Column number</th>
2019-05-02 14:06:23 +02:00
<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>
2019-05-02 14:06:23 +02:00
</tr>
<tr>
<td class="org-right">2</td>
<td class="org-left">Geophone - Sample</td>
2019-05-02 14:06:23 +02:00
</tr>
<tr>
<td class="org-right">3</td>
<td class="org-left">Time</td>
2019-05-02 14:06:23 +02:00
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org95e9d55" class="outline-3">
<h3 id="org95e9d55"><span class="section-number-3">1.2</span> Load data</h3>
2019-05-06 10:28:35 +02:00
<div class="outline-text-3" id="text-1-2">
2019-05-02 14:06:23 +02:00
<p>
We load the data of the z axis of two geophones.
</p>
2019-05-02 14:06:23 +02:00
<div class="org-src-container">
2019-05-13 22:36:14 +02:00
<pre class="src src-matlab">meas_sr = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_018.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; meas_sr = meas_sr.data;
meas_di = load<span class="org-rainbow-delimiters-depth-1">(</span>'mat<span class="org-type">/</span>data_019.mat', <span class="org-string">'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; meas_di = meas_di.data;
2019-05-02 14:06:23 +02:00
</pre>
</div>
</div>
</div>
<div id="outline-container-org53c4572" class="outline-3">
<h3 id="org53c4572"><span class="section-number-3">1.3</span> Analysis - Time Domain</h3>
2019-05-06 10:28:35 +02:00
<div class="outline-text-3" id="text-1-3">
2019-05-02 14:06:23 +02:00
<p>
First, we compare the time domain signals for the two experiments (figure <a href="#orga02ddac">2</a>).
2019-05-02 14:06:23 +02:00
</p>
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-type">figure</span>;
hold on;
2019-05-13 22:36:14 +02:00
plot<span class="org-rainbow-delimiters-depth-1">(</span>meas_di<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>, meas_di<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', 'Geophone - Direct'</span><span class="org-rainbow-delimiters-depth-1">)</span>;
plot<span class="org-rainbow-delimiters-depth-1">(</span>meas_sr<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>, meas_sr<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', 'Geophone - Slip-Ring'</span><span class="org-rainbow-delimiters-depth-1">)</span>;
2019-05-02 14:06:23 +02:00
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>;
2019-05-02 14:06:23 +02:00
</pre>
</div>
<div id="orga02ddac" class="figure">
<p><img src="figs/slipring_time.png" alt="slipring_time.png" />
2019-05-02 14:06:23 +02:00
</p>
2019-05-13 22:36:14 +02:00
<p><span class="figure-number">Figure 2: </span>Effect of the Slip-Ring on the measured signal of the geophone at the sample location - Time domain</p>
</div>
</div>
2019-05-02 14:06:23 +02:00
</div>
<div id="outline-container-org1c42f0f" class="outline-3">
<h3 id="org1c42f0f"><span class="section-number-3">1.4</span> Analysis - Frequency Domain</h3>
<div class="outline-text-3" id="text-1-4">
2019-05-02 14:06:23 +02:00
<p>
We then compute the Power Spectral Density of the two signals and we compare them (figure <a href="#org27ce244">3</a>).
2019-05-02 14:06:23 +02:00
</p>
2019-05-13 22:36:14 +02:00
2019-05-02 14:06:23 +02:00
<div class="org-src-container">
2019-05-13 22:36:14 +02:00
<pre class="src src-matlab">dt = meas_di<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> meas_di<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;
2019-05-02 14:06:23 +02:00
2019-05-13 22:36:14 +02:00
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">5</span><span class="org-type">*</span>Fs<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>;
</pre>
2019-05-02 14:06:23 +02:00
</div>
2019-05-03 17:33:15 +02:00
<div class="org-src-container">
2019-05-13 22:36:14 +02:00
<pre class="src src-matlab"><span class="org-rainbow-delimiters-depth-1">[</span>px_di, f<span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>meas_di<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>px_sr, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>meas_sr<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>;
2019-05-03 17:33:15 +02:00
</pre>
</div>
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-type">figure</span>;
hold on;
2019-05-13 22:36:14 +02:00
plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>px_sr<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>px_di<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">'</span>Amplitude Spectral Density $<span class="org-type">\</span>left<span class="org-rainbow-delimiters-depth-2">[</span><span class="org-type">\</span>frac<span class="org-rainbow-delimiters-depth-3">{</span>V<span class="org-rainbow-delimiters-depth-3">}{</span><span class="org-type">\</span>sqrt<span class="org-rainbow-delimiters-depth-4">{</span>Hz<span class="org-rainbow-delimiters-depth-4">}</span><span class="org-rainbow-delimiters-depth-3">}</span><span class="org-type">\</span>right<span class="org-rainbow-delimiters-depth-2">]</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>;
2019-05-03 17:33:15 +02:00
</pre>
</div>
<div id="org27ce244" class="figure">
<p><img src="figs/slipring_asd.png" alt="slipring_asd.png" />
2019-05-03 17:33:15 +02:00
</p>
2019-05-13 22:36:14 +02:00
<p><span class="figure-number">Figure 3: </span>Effect of the Slip-Ring on the measured signal of the geophone at the sample location - Frequency domain</p>
2019-05-03 17:33:15 +02:00
</div>
2019-05-02 14:06:23 +02:00
</div>
</div>
<div id="outline-container-org9d2cfed" class="outline-3">
<h3 id="org9d2cfed"><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>The voltage amplifiers are saturating during the measurements (as shown by the LED on figure <a href="#org45de773">1</a>)</li>
2019-05-13 22:36:14 +02:00
<li>This saturation is mainly due to high frequency noise =&gt; a LPF will be added at the input of the voltage amplifiers in the further measurements</li>
<li>The measurements will be redone</li>
2019-05-02 14:06:23 +02:00
</ul>
2019-05-02 14:09:20 +02:00
2019-05-06 10:28:35 +02:00
</div>
</div>
</div>
</div>
<div id="outline-container-orgccb4032" class="outline-2">
<h2 id="orgccb4032"><span class="section-number-2">2</span> Measure of the noise induced by the Slip-Ring using voltage amplifiers - Geophone</h2>
2019-05-06 10:28:35 +02:00
<div class="outline-text-2" id="text-2">
<p>
<a id="orgdc7aa38"></a>
</p>
2019-05-13 22:36:14 +02:00
<div class="note">
<p>
2019-05-13 22:36:14 +02:00
All the files (data and Matlab scripts) are accessible <a href="data/meas_sr_geophone.zip">here</a>.
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
</div>
2019-05-06 10:28:35 +02:00
</div>
<div id="outline-container-org88280ef" class="outline-3">
<h3 id="org88280ef"><span class="section-number-3">2.1</span> First Measurement without LPF</h3>
2019-05-06 10:28:35 +02:00
<div class="outline-text-3" id="text-2-1">
2019-05-13 22:36:14 +02:00
</div>
<div id="outline-container-org3331beb" class="outline-4">
<h4 id="org3331beb"><span class="section-number-4">2.1.1</span> Measurement Description</h4>
2019-05-13 22:36:14 +02:00
<div class="outline-text-4" id="text-2-1-1">
2019-05-06 10:28:35 +02:00
<p>
2019-05-13 22:36:14 +02:00
<b>Goal</b>:
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
<ul class="org-ul">
<li>Determine if the noise induced by the slip-ring is a limiting factor when measuring the signal coming from a geophone</li>
</ul>
2019-05-06 10:28:35 +02:00
<p>
2019-05-13 22:36:14 +02:00
<b>Setup</b>:
2019-05-06 10:28:35 +02:00
</p>
<ul class="org-ul">
2019-05-13 22:36:14 +02:00
<li>The geophone is located at the sample location</li>
<li>The two Voltage amplifiers have the same following settings:
<ul class="org-ul">
<li>Gain: 60dB</li>
<li>AC/DC option: AC</li>
<li>Low pass filter at the output set to 1kHz</li>
</ul></li>
<li>The signal from the geophone is split into two using a T-BNC:
<ul class="org-ul">
<li>One part goes directly to the voltage amplifier and then to the ADC</li>
<li>The other part goes to the slip-ring=&gt;voltage amplifier=&gt;ADC</li>
</ul></li>
2019-05-06 10:28:35 +02:00
</ul>
<p>
2019-05-13 22:36:14 +02:00
<b>Measurements</b>:
Two measurements are done:
</p>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
2019-05-13 22:36:14 +02:00
<th scope="col" class="org-left">Measurement File</th>
<th scope="col" class="org-left">Description</th>
</tr>
</thead>
<tbody>
<tr>
2019-05-13 22:36:14 +02:00
<td class="org-left"><code>data_012</code></td>
<td class="org-left">Slip-Ring OFF</td>
</tr>
<tr>
2019-05-13 22:36:14 +02:00
<td class="org-left"><code>data_013</code></td>
<td class="org-left">Slip-Ring ON</td>
</tr>
</tbody>
</table>
<p>
2019-05-13 22:36:14 +02:00
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>
2019-05-13 22:36:14 +02:00
<col class="org-right" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
2019-05-13 22:36:14 +02:00
<th scope="col" class="org-right">Column number</th>
<th scope="col" class="org-left">Description</th>
</tr>
</thead>
<tbody>
<tr>
2019-05-13 22:36:14 +02:00
<td class="org-right">1</td>
<td class="org-left">Measure of the geophone at the sample position with a direct wire</td>
</tr>
<tr>
2019-05-13 22:36:14 +02:00
<td class="org-right">2</td>
<td class="org-left">Measure of the geophone at the sample position going through the slip-ring</td>
</tr>
<tr>
2019-05-13 22:36:14 +02:00
<td class="org-right">3</td>
<td class="org-left">Time</td>
</tr>
</tbody>
</table>
2019-05-06 10:28:35 +02:00
</div>
</div>
<div id="outline-container-org103e5c2" class="outline-4">
<h4 id="org103e5c2"><span class="section-number-4">2.1.2</span> Load data</h4>
2019-05-13 22:36:14 +02:00
<div class="outline-text-4" id="text-2-1-2">
<p>
We load the data of the z axis of two geophones.
</p>
2019-05-06 10:28:35 +02:00
<div class="org-src-container">
2019-05-13 22:36:14 +02:00
<pre class="src src-matlab">sr_off = 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>; sr_off = sr_off.data;
sr_on = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_013.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; sr_on = sr_on.data;
2019-05-06 10:28:35 +02:00
</pre>
</div>
</div>
</div>
<div id="outline-container-org02ceffa" class="outline-4">
<h4 id="org02ceffa"><span class="section-number-4">2.1.3</span> Time Domain</h4>
2019-05-13 22:36:14 +02:00
<div class="outline-text-4" id="text-2-1-3">
2019-05-06 10:28:35 +02:00
<p>
We compare the signal when the Slip-Ring is OFF (figure <a href="#orgb9b5cf2">4</a>) and when it is ON (figure <a href="#orgb8dbce4">5</a>).
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
<div id="orgb9b5cf2" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="figs/sr_geophone_time_off.png" alt="sr_geophone_time_off.png" />
</p>
<p><span class="figure-number">Figure 4: </span>Comparison of the time domain signals when the slip-ring is OFF</p>
</div>
2019-05-06 10:28:35 +02:00
<div id="orgb8dbce4" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="figs/sr_geophone_time_on.png" alt="sr_geophone_time_on.png" />
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
<p><span class="figure-number">Figure 5: </span>Comparison of the time domain signals when the slip-ring is ON</p>
</div>
</div>
2019-05-06 10:28:35 +02:00
</div>
<div id="outline-container-orgb462ebc" class="outline-4">
<h4 id="orgb462ebc"><span class="section-number-4">2.1.4</span> Frequency Domain</h4>
2019-05-13 22:36:14 +02:00
<div class="outline-text-4" id="text-2-1-4">
2019-05-06 10:28:35 +02:00
<p>
2019-05-13 22:36:14 +02:00
We first compute some parameters that will be used for the PSD computation.
2019-05-06 10:28:35 +02:00
</p>
<div class="org-src-container">
2019-05-13 22:36:14 +02:00
<pre class="src src-matlab">dt = sr_off<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>sr_off<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>;
2019-05-06 10:28:35 +02:00
2019-05-13 22:36:14 +02:00
Fs = <span class="org-highlight-numbers-number">1</span><span class="org-type">/</span>dt; <span class="org-comment">% [Hz]</span>
2019-05-13 22:36:14 +02:00
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>
2019-05-13 22:36:14 +02:00
<p>
Then we compute the Power Spectral Density using <code>pwelch</code> function.
</p>
2019-05-06 10:28:35 +02:00
<div class="org-src-container">
2019-05-13 22:36:14 +02:00
<pre class="src src-matlab"><span class="org-comment">% Direct measure</span>
<span class="org-rainbow-delimiters-depth-1">[</span>pxdoff, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_off<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>pxdon, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_on<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>;
2019-05-13 22:36:14 +02:00
<span class="org-comment">% Slip-Ring measure</span>
<span class="org-rainbow-delimiters-depth-1">[</span>pxsroff, f<span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_off<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>pxsron, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_on<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>;
2019-05-06 10:28:35 +02:00
</pre>
</div>
2019-05-13 22:36:14 +02:00
<p>
Finally, we compare the Amplitude Spectral Density of the signals (figure <a href="#orgd524e66">6</a>);
2019-05-13 22:36:14 +02:00
</p>
2019-05-06 10:28:35 +02:00
<div class="org-src-container">
2019-05-13 22:36:14 +02:00
<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>pxdoff<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Direct - 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>pxsroff<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Slip-Ring - 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>pxdon<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Direct - 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>pxsron<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Slip-Ring - ON'</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">'</span>ASD of the measured Voltage $<span class="org-type">\</span>left<span class="org-rainbow-delimiters-depth-2">[</span><span class="org-type">\</span>frac<span class="org-rainbow-delimiters-depth-3">{</span>V<span class="org-rainbow-delimiters-depth-3">}{</span><span class="org-type">\</span>sqrt<span class="org-rainbow-delimiters-depth-4">{</span>Hz<span class="org-rainbow-delimiters-depth-4">}</span><span class="org-rainbow-delimiters-depth-3">}</span><span class="org-type">\</span>right<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>;
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>;
2019-05-06 10:28:35 +02:00
</pre>
</div>
<div id="orgd524e66" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="figs/sr_geophone_asd.png" alt="sr_geophone_asd.png" />
</p>
<p><span class="figure-number">Figure 6: </span>Comparison of the Amplitude Spectral Sensity</p>
</div>
<div id="orgcd2fe11" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="figs/sr_geophone_asd_zoom.png" alt="sr_geophone_asd_zoom.png" />
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
<p><span class="figure-number">Figure 7: </span>Comparison of the Amplitude Spectral Sensity - Zoom</p>
2019-05-06 10:28:35 +02:00
</div>
</div>
</div>
<div id="outline-container-orga4c3bf1" class="outline-4">
<h4 id="orga4c3bf1"><span class="section-number-4">2.1.5</span> Conclusion</h4>
2019-05-13 22:36:14 +02:00
<div class="outline-text-4" id="text-2-1-5">
<div class="important">
<ul class="org-ul">
<li>The fact that the Slip-Ring is turned ON adds some noise to the signals</li>
<li>The signal going through the Slip-Ring is less noisy than the one going directly to the ADC</li>
<li>This could be due to better electromagnetic isolation in the slip-ring</li>
</ul>
2019-05-06 10:28:35 +02:00
<p>
2019-05-13 22:36:14 +02:00
<b>Questions</b>:
2019-05-07 18:30:04 +02:00
</p>
<ul class="org-ul">
<li>Can the sharp peak on figure <a href="#orgcd2fe11">7</a> be due to the Aliasing?</li>
2019-05-07 18:30:04 +02:00
</ul>
2019-05-06 10:28:35 +02:00
</div>
</div>
</div>
</div>
<div id="outline-container-org54c5011" class="outline-3">
<h3 id="org54c5011"><span class="section-number-3">2.2</span> Measurement using an oscilloscope</h3>
2019-05-13 22:36:14 +02:00
<div class="outline-text-3" id="text-2-2">
2019-05-06 10:28:35 +02:00
</div>
<div id="outline-container-org49ea109" class="outline-4">
<h4 id="org49ea109"><span class="section-number-4">2.2.1</span> Measurement Setup</h4>
2019-05-13 22:36:14 +02:00
<div class="outline-text-4" id="text-2-2-1">
2019-05-06 10:28:35 +02:00
<p>
2019-05-13 22:36:14 +02:00
We are now measuring the same signals than in the previous section, but with an oscilloscope instead of with the Speedgoat ADC.
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
</div>
</div>
2019-05-06 10:28:35 +02:00
<div id="outline-container-org5f98141" class="outline-4">
<h4 id="org5f98141"><span class="section-number-4">2.2.2</span> Observations</h4>
2019-05-13 22:36:14 +02:00
<div class="outline-text-4" id="text-2-2-2">
2019-05-06 10:28:35 +02:00
<p>
Then the Slip-Ring is ON (figure <a href="#orga25865a">8</a>), we observe a signal at 40kHz with a peak-to-peak amplitude of 200mV for the direct measure and 100mV for the signal going through the Slip-Ring.
2019-05-06 10:28:35 +02:00
</p>
<p>
Then the Slip-Ring is OFF, we don't observe this noise at 40kHz anymore (figure <a href="#org8964feb">9</a>).
2019-05-06 10:28:35 +02:00
</p>
2019-05-06 14:16:38 +02:00
<div id="orga25865a" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="./img/IMG_20190506_160420.jpg" alt="IMG_20190506_160420.jpg" width="500px" />
2019-05-06 14:16:38 +02:00
</p>
2019-05-13 22:36:14 +02:00
<p><span class="figure-number">Figure 8: </span>Signals measured by the oscilloscope - Slip-Ring ON - Yellow: Direct measure - Blue: Through Slip-Ring</p>
2019-05-06 14:16:38 +02:00
</div>
<div id="org8964feb" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="./img/IMG_20190506_160438.jpg" alt="IMG_20190506_160438.jpg" width="500px" />
2019-05-06 14:16:38 +02:00
</p>
2019-05-13 22:36:14 +02:00
<p><span class="figure-number">Figure 9: </span>Signals measured by the oscilloscope - Slip-Ring OFF - Yellow: Direct measure - Blue: Through Slip-Ring</p>
2019-05-06 14:16:38 +02:00
</div>
2019-05-06 10:28:35 +02:00
</div>
</div>
<div id="outline-container-org70c6413" class="outline-4">
<h4 id="org70c6413"><span class="section-number-4">2.2.3</span> Conclusion</h4>
2019-05-13 22:36:14 +02:00
<div class="outline-text-4" id="text-2-2-3">
<div class="important">
<ul class="org-ul">
<li>By looking at the signals using an oscilloscope, there is a lot of high frequency noise when turning on the Slip-Ring</li>
<li>This can eventually saturate the voltage amplifiers (seen by a led indicating saturation)</li>
<li>The choice is to <b>add a Low pass filter before the voltage amplifiers</b> to not saturate them and filter the noise.</li>
</ul>
</div>
2019-05-06 10:28:35 +02:00
</div>
</div>
</div>
<div id="outline-container-org687ffda" class="outline-3">
<h3 id="org687ffda"><span class="section-number-3">2.3</span> New measurements with a LPF before the Voltage Amplifiers</h3>
2019-05-13 22:36:14 +02:00
<div class="outline-text-3" id="text-2-3">
</div>
<div id="outline-container-org99adb5a" class="outline-4">
<h4 id="org99adb5a"><span class="section-number-4">2.3.1</span> Setup description</h4>
2019-05-13 22:36:14 +02:00
<div class="outline-text-4" id="text-2-3-1">
2019-05-06 10:28:35 +02:00
<p>
2019-05-13 22:36:14 +02:00
<b>Goal</b>:
The goal is to see if we can remove high frequency noise from the signals before the voltage amplifiers in order to not saturate them.
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
<p>
<b>Setup</b>:
We are measuring the signal from a geophone put at the sample position.
Using a BNC slitter, one part is going directly to the Low pass filter, voltage amplifier and ADC (first column), the other part is going through the slip ring before the low pass filter and the voltage amplifier (second column).
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
<p>
The two voltage amplifiers have the same following settings:
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
<ul class="org-ul">
<li>Gain: 60dB</li>
<li>AC/DC option: DC</li>
<li>Low pass filter at the output set to 1kHz</li>
</ul>
2019-05-06 10:28:35 +02:00
<p>
2019-05-13 22:36:14 +02:00
The low pass filter is a first order low pass filter RC circuit. It is added before the Voltage Amplifiers and has the following values:
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
\begin{aligned}
R &= 1k\Omega \\
C &= 1\mu F
\end{aligned}
2019-05-06 10:28:35 +02:00
<p>
2019-05-13 22:36:14 +02:00
And the cut-off frequency is \(f_c = \frac{1}{RC} = 160Hz\).
2019-05-06 10:28:35 +02:00
</p>
<p>
2019-05-13 22:36:14 +02:00
<b>Measurements</b>:
Two measurements are done:
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
2019-05-06 10:28:35 +02:00
2019-05-13 22:36:14 +02:00
<colgroup>
<col class="org-left" />
2019-05-06 10:28:35 +02:00
2019-05-13 22:36:14 +02:00
<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>mat/data_016.mat</code></td>
<td class="org-left">Signal from the geophone at the sample location - Slip-Ring OFF</td>
</tr>
2019-05-06 10:28:35 +02:00
2019-05-13 22:36:14 +02:00
<tr>
<td class="org-left"><code>mat/data_017.mat</code></td>
<td class="org-left">Signal from the geophone at the sample location - Slip-Ring ON</td>
</tr>
</tbody>
</table>
2019-05-06 10:28:35 +02:00
<p>
2019-05-13 22:36:14 +02:00
Each of the measurement <code>mat</code> file contains one <code>data</code> array with 3 columns:
</p>
2019-05-13 22:36:14 +02:00
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
2019-05-06 10:28:35 +02:00
2019-05-13 22:36:14 +02:00
<colgroup>
<col class="org-right" />
2019-05-06 10:28:35 +02:00
2019-05-13 22:36:14 +02:00
<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">Direct measurement</td>
</tr>
2019-05-06 10:28:35 +02:00
2019-05-13 22:36:14 +02:00
<tr>
<td class="org-right">2</td>
<td class="org-left">Signal going through the slip-ring</td>
</tr>
2019-05-06 10:28:35 +02:00
2019-05-13 22:36:14 +02:00
<tr>
<td class="org-right">3</td>
<td class="org-left">Time</td>
</tr>
</tbody>
</table>
2019-05-06 10:28:35 +02:00
</div>
</div>
<div id="outline-container-org37c4f45" class="outline-4">
<h4 id="org37c4f45"><span class="section-number-4">2.3.2</span> Load data</h4>
2019-05-13 22:36:14 +02:00
<div class="outline-text-4" id="text-2-3-2">
2019-05-06 10:28:35 +02:00
<p>
We load the data of the z axis of two geophones.
</p>
<div class="org-src-container">
2019-05-13 22:36:14 +02:00
<pre class="src src-matlab">sr_lpf_off = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_016.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; sr_lpf_off = sr_lpf_off.data;
sr_lpf_on = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_017.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; sr_lpf_on = sr_lpf_on.data;
2019-05-06 10:28:35 +02:00
</pre>
</div>
</div>
</div>
<div id="outline-container-org2cf1043" class="outline-4">
<h4 id="org2cf1043"><span class="section-number-4">2.3.3</span> Time Domain</h4>
2019-05-13 22:36:14 +02:00
<div class="outline-text-4" id="text-2-3-3">
2019-05-06 10:28:35 +02:00
<p>
We compare the signal when the Slip-Ring is OFF (figure <a href="#org401a229">10</a>) and when it is ON (figure <a href="#orgfc04f6f">11</a>).
2019-05-06 10:28:35 +02:00
</p>
<div id="org401a229" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="figs/sr_lpf_geophone_time_off.png" alt="sr_lpf_geophone_time_off.png" />
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
<p><span class="figure-number">Figure 10: </span>Comparison of the time domain signals when the slip-ring is OFF</p>
2019-05-06 10:28:35 +02:00
</div>
<div id="orgfc04f6f" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="figs/sr_lpf_geophone_time_on.png" alt="sr_lpf_geophone_time_on.png" />
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
<p><span class="figure-number">Figure 11: </span>Comparison of the time domain signals when the slip-ring is ON</p>
2019-05-06 10:28:35 +02:00
</div>
</div>
</div>
<div id="outline-container-org80a856e" class="outline-4">
<h4 id="org80a856e"><span class="section-number-4">2.3.4</span> Frequency Domain</h4>
2019-05-13 22:36:14 +02:00
<div class="outline-text-4" id="text-2-3-4">
2019-05-06 10:28:35 +02:00
<p>
We first compute some parameters that will be used for the PSD computation.
</p>
<div class="org-src-container">
2019-05-13 22:36:14 +02:00
<pre class="src src-matlab">dt = sr_lpf_off<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>sr_lpf_off<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>;
2019-05-06 10:28:35 +02:00
Fs = <span class="org-highlight-numbers-number">1</span><span class="org-type">/</span>dt; <span class="org-comment">% [Hz]</span>
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>
<p>
Then we compute the Power Spectral Density using <code>pwelch</code> function.
</p>
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-comment">% Direct measure</span>
2019-05-13 22:36:14 +02:00
<span class="org-rainbow-delimiters-depth-1">[</span>pxd_lpf_off, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_lpf_off<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>pxd_lpf_on, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_lpf_on<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>;
2019-05-06 10:28:35 +02:00
<span class="org-comment">% Slip-Ring measure</span>
2019-05-13 22:36:14 +02:00
<span class="org-rainbow-delimiters-depth-1">[</span>pxsr_lpf_off, f<span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_lpf_off<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>pxsr_lpf_on, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_lpf_on<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>;
2019-05-06 10:28:35 +02:00
</pre>
</div>
<p>
Finally, we compare the Amplitude Spectral Density of the signals (figure <a href="#orgfb011cb">12</a>);
2019-05-06 10:28:35 +02:00
</p>
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-type">figure</span>;
hold on;
2019-05-13 22:36:14 +02:00
plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>pxd_lpf_off<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Direct - 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>pxsr_lpf_off<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Slip-Ring - 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>pxd_lpf_on<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Direct - 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>pxsr_lpf_on<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Slip-Ring - ON'</span><span class="org-rainbow-delimiters-depth-1">)</span>;
2019-05-06 10:28:35 +02:00
hold off;
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>;
2019-05-13 22:36:14 +02:00
<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>;
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">'</span>ASD of the measured Voltage $<span class="org-type">\</span>left<span class="org-rainbow-delimiters-depth-2">[</span><span class="org-type">\</span>frac<span class="org-rainbow-delimiters-depth-3">{</span>V<span class="org-rainbow-delimiters-depth-3">}{</span><span class="org-type">\</span>sqrt<span class="org-rainbow-delimiters-depth-4">{</span>Hz<span class="org-rainbow-delimiters-depth-4">}</span><span class="org-rainbow-delimiters-depth-3">}</span><span class="org-type">\</span>right<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>;
2019-05-06 10:28:35 +02:00
</pre>
</div>
<div id="orgfb011cb" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="figs/sr_lpf_geophone_asd.png" alt="sr_lpf_geophone_asd.png" />
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
<p><span class="figure-number">Figure 12: </span>Comparison of the Amplitude Spectral Sensity</p>
2019-05-06 10:28:35 +02:00
</div>
<div id="org69ebe5c" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="figs/sr_lpf_geophone_asd_zoom.png" alt="sr_lpf_geophone_asd_zoom.png" />
2019-05-06 10:28:35 +02:00
</p>
2019-05-13 22:36:14 +02:00
<p><span class="figure-number">Figure 13: </span>Comparison of the Amplitude Spectral Sensity - Zoom</p>
2019-05-06 10:28:35 +02:00
</div>
</div>
</div>
<div id="outline-container-org7384d90" class="outline-4">
<h4 id="org7384d90"><span class="section-number-4">2.3.5</span> Conclusion</h4>
2019-05-13 22:36:14 +02:00
<div class="outline-text-4" id="text-2-3-5">
<div class="important">
<ul class="org-ul">
2019-05-13 22:36:14 +02:00
<li>Using the LPF, we don't see any additional noise coming from the slip-ring when it is turned ON</li>
<li>However, we should use a smaller value of the capacitor to have a cut-off frequency at \(1kHz\)</li>
<li>We here observe a signal at \(50Hz\) and its harmonics</li>
</ul>
2019-05-13 22:36:14 +02:00
</div>
</div>
</div>
</div>
<div id="outline-container-org064b3dd" class="outline-3">
<h3 id="org064b3dd"><span class="section-number-3">2.4</span> Measurement of the noise induced by the slip-ring with additional LPF at 1kHz</h3>
<div class="outline-text-3" id="text-2-4">
</div>
<div id="outline-container-org1e23535" class="outline-4">
<h4 id="org1e23535"><span class="section-number-4">2.4.1</span> Measurement description</h4>
<div class="outline-text-4" id="text-2-4-1">
<p>
<b>Setup</b>:
Voltage amplifier:
</p>
<ul class="org-ul">
<li>60db</li>
<li>AC</li>
<li>1kHz</li>
</ul>
<p>
Additionnal LPF at 1kHz
</p>
<p>
geophone at the sample location
slit into 2 BNC:
</p>
<ul class="org-ul">
<li>first one (column one): direct wire</li>
<li>second one (second column): slip-ring wire</li>
</ul>
<p>
Additionnal LPF is added before the voltage amplifiers
</p>
<p>
<b>Goal</b>:
</p>
<p>
<b>Measurements</b>:
</p>
<p>
Three measurements are done:
</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>mat/data_035.mat</code></td>
<td class="org-left">All off</td>
</tr>
<tr>
<td class="org-left"><code>mat/data_036.mat</code></td>
<td class="org-left">Slip-Ring ON</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">Direct Wire</td>
</tr>
<tr>
<td class="org-right">2</td>
<td class="org-left">Slip-Ring Wire</td>
</tr>
<tr>
<td class="org-right">3</td>
<td class="org-left">Time</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org871916d" class="outline-4">
<h4 id="org871916d"><span class="section-number-4">2.4.2</span> Load data</h4>
<div class="outline-text-4" id="text-2-4-2">
<p>
We load the data of the z axis of two geophones.
</p>
<div class="org-src-container">
<pre class="src src-matlab">sr_lpf_1khz_of = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_035.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; sr_lpf_1khz_of = sr_lpf_1khz_of.data;
sr_lpf_1khz_on = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_036.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; sr_lpf_1khz_on = sr_lpf_1khz_on.data;
</pre>
</div>
</div>
</div>
<div id="outline-container-org7913334" class="outline-4">
<h4 id="org7913334"><span class="section-number-4">2.4.3</span> Time Domain</h4>
<div class="outline-text-4" id="text-2-4-3">
<p>
We compare the signal when the Slip-Ring is OFF (figure <a href="#org2603a3d">14</a>) and when it is ON (figure <a href="#org3be8fe1">15</a>).
</p>
<div id="org2603a3d" class="figure">
<p><img src="figs/sr_lpf_1khz_geophone_time_off.png" alt="sr_lpf_1khz_geophone_time_off.png" />
</p>
<p><span class="figure-number">Figure 14: </span>Comparison of the time domain signals when the slip-ring is OFF</p>
2019-05-13 22:36:14 +02:00
</div>
<div id="org3be8fe1" class="figure">
<p><img src="figs/sr_lpf_1khz_geophone_time_on.png" alt="sr_lpf_1khz_geophone_time_on.png" />
</p>
<p><span class="figure-number">Figure 15: </span>Comparison of the time domain signals when the slip-ring is ON</p>
2019-05-13 22:36:14 +02:00
</div>
</div>
</div>
<div id="outline-container-org178acc9" class="outline-4">
<h4 id="org178acc9"><span class="section-number-4">2.4.4</span> Frequency Domain</h4>
<div class="outline-text-4" id="text-2-4-4">
<p>
We first compute some parameters that will be used for the PSD computation.
2019-05-13 22:36:14 +02:00
</p>
<div class="org-src-container">
<pre class="src src-matlab">dt = sr_lpf_1khz_of<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>sr_lpf_1khz_of<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; <span class="org-comment">% [Hz]</span>
2019-05-13 22:36:14 +02:00
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>
<p>
Then we compute the Power Spectral Density using <code>pwelch</code> function.
</p>
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-comment">% Direct measure</span>
<span class="org-rainbow-delimiters-depth-1">[</span>pxdi_lpf_1khz_of, f<span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_lpf_1khz_of<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>pxdi_lpf_1khz_on, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_lpf_1khz_on<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-comment">% Slip-Ring measure</span>
<span class="org-rainbow-delimiters-depth-1">[</span>pxsr_lpf_1khz_of, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_lpf_1khz_of<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>pxsr_lpf_1khz_on, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_lpf_1khz_on<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>
Finally, we compare the Amplitude Spectral Density of the signals (figure <a href="#orgc414548">16</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>pxdi_lpf_1khz_of<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Direct - 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>pxsr_lpf_1khz_of<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Slip-Ring - 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>pxdi_lpf_1khz_on<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Direct - 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>pxsr_lpf_1khz_on<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', 'Slip-Ring - ON'</span><span class="org-rainbow-delimiters-depth-1">)</span>;
hold off;
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>;
<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>;
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">'</span>ASD of the measured Voltage $<span class="org-type">\</span>left<span class="org-rainbow-delimiters-depth-2">[</span><span class="org-type">\</span>frac<span class="org-rainbow-delimiters-depth-3">{</span>V<span class="org-rainbow-delimiters-depth-3">}{</span><span class="org-type">\</span>sqrt<span class="org-rainbow-delimiters-depth-4">{</span>Hz<span class="org-rainbow-delimiters-depth-4">}</span><span class="org-rainbow-delimiters-depth-3">}</span><span class="org-type">\</span>right<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="orgc414548" class="figure">
<p><img src="figs/sr_lpf_1khz_geophone_asd.png" alt="sr_lpf_1khz_geophone_asd.png" />
</p>
<p><span class="figure-number">Figure 16: </span>Comparison of the Amplitude Spectral Sensity</p>
</div>
</div>
</div>
<div id="outline-container-org27be147" class="outline-4">
<h4 id="org27be147"><span class="section-number-4">2.4.5</span> Conclusion</h4>
<div class="outline-text-4" id="text-2-4-5">
<div class="important">
<ul class="org-ul">
<li>Using the LPF, we don't see any additional noise coming from the slip-ring when it is turned ON</li>
<li>We here observe a signal at \(50Hz\) and its harmonics</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div id="outline-container-org95785ee" class="outline-2">
<h2 id="org95785ee"><span class="section-number-2">3</span> Effect of the rotation of the Slip-Ring - Noise</h2>
<div class="outline-text-2" id="text-3">
<p>
<a id="org99519fe"></a>
</p>
2019-05-13 22:36:14 +02:00
<div class="note">
<p>
All the files (data and Matlab scripts) are accessible <a href="data/meas_effect_sr.zip">here</a>.
</p>
</div>
</div>
2019-05-13 22:36:14 +02:00
<div id="outline-container-org47970d4" class="outline-3">
<h3 id="org47970d4"><span class="section-number-3">3.1</span> Measurement Description</h3>
2019-05-13 22:36:14 +02:00
<div class="outline-text-3" id="text-3-1">
<p>
<b>Goal</b>:
The goal is to determine if the signal is altered when the spindle is rotating.
</p>
<p>
<b>Setup</b>:
Random Signal is generated by one SpeedGoat DAC.
</p>
<p>
The signal going out of the DAC is split into two:
</p>
<ul class="org-ul">
<li>one BNC cable is directly connected to one ADC of the SpeedGoat</li>
<li>one BNC cable goes two times in the Slip-Ring (from bottom to top and then from top to bottom) and then is connected to one ADC of the SpeedGoat</li>
</ul>
<p>
All the stages are turned OFF except the Slip-Ring.
</p>
<p>
<b>Measurements</b>:
</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">Data File</th>
<th scope="col" class="org-left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>mat/data_001.mat</code></td>
<td class="org-left">Slip-ring not turning but ON</td>
</tr>
<tr>
<td class="org-left"><code>mat/data_002.mat</code></td>
<td class="org-left">Slip-ring turning at 1rpm</td>
</tr>
</tbody>
</table>
<p>
For each measurement, the measured signals 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">Variable</th>
<th scope="col" class="org-left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>t</code></td>
<td class="org-left">Time vector</td>
</tr>
<tr>
<td class="org-left"><code>x1</code></td>
<td class="org-left">Direct signal</td>
</tr>
<tr>
<td class="org-left"><code>x2</code></td>
<td class="org-left">Signal going through the Slip-Ring</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-orgf0133c6" class="outline-3">
<h3 id="orgf0133c6"><span class="section-number-3">3.2</span> Load data</h3>
2019-05-13 22:36:14 +02:00
<div class="outline-text-3" id="text-3-2">
<p>
2019-05-13 22:36:14 +02:00
We load the data of the z axis of two geophones.
</p>
2019-05-13 22:36:14 +02:00
<div class="org-src-container">
<pre class="src src-matlab">sr_off = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_001.mat', 't', 'x1', 'x2'</span><span class="org-rainbow-delimiters-depth-1">)</span>;
sr_on = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_002.mat', 't', 'x1', 'x2'</span><span class="org-rainbow-delimiters-depth-1">)</span>;
</pre>
</div>
</div>
</div>
<div id="outline-container-orgf1de99a" class="outline-3">
<h3 id="orgf1de99a"><span class="section-number-3">3.3</span> Analysis</h3>
2019-05-13 22:36:14 +02:00
<div class="outline-text-3" id="text-3-3">
<p>
Let's first look at the signal produced by the DAC (figure <a href="#org2453454">17</a>).
</p>
2019-05-13 22:36:14 +02:00
<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>sr_on.t, sr_on.x1<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">10</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>;
</pre>
</div>
<div id="org2453454" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="figs/random_signal.png" alt="random_signal.png" />
</p>
<p><span class="figure-number">Figure 17: </span>Random signal produced by the DAC</p>
2019-05-13 22:36:14 +02:00
</div>
<p>
We now look at the difference between the signal directly measured by the ADC and the signal that goes through the slip-ring (figure <a href="#org03e21ae">18</a>).
</p>
2019-05-13 22:36:14 +02:00
<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>sr_on.t, sr_on.x1 <span class="org-type">-</span> sr_on.x2, <span class="org-string">'DisplayName', '</span>Slip<span class="org-type">-</span>Ring <span class="org-type">-</span> $<span class="org-type">\</span>omega = <span class="org-highlight-numbers-number">1rpm$</span>'<span class="org-rainbow-delimiters-depth-1">)</span>;
plot<span class="org-rainbow-delimiters-depth-1">(</span>sr_off.t, sr_off.x1 <span class="org-type">-</span> sr_off.x2,<span class="org-string">'DisplayName', 'Slip-Ring 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">10</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>
2019-05-13 22:36:14 +02:00
<div id="org03e21ae" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="figs/slipring_comp_signals.png" alt="slipring_comp_signals.png" />
</p>
<p><span class="figure-number">Figure 18: </span>Alteration of the signal when the slip-ring is turning</p>
</div>
2019-05-13 22:36:14 +02:00
<div class="org-src-container">
<pre class="src src-matlab">dt = sr_on.t<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-type">-</span> sr_on.t<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>;
Fs = <span class="org-highlight-numbers-number">1</span><span class="org-type">/</span>dt; <span class="org-comment">% [Hz]</span>
2019-05-13 22:36:14 +02:00
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>pxx_on, f<span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_on.x1 <span class="org-type">-</span> sr_on.x2, 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>pxx_off, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_off.x1 <span class="org-type">-</span> sr_off.x2, 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="orgcd670ff" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="figs/psd_noise.png" alt="psd_noise.png" />
</p>
<p><span class="figure-number">Figure 19: </span>ASD of the measured noise</p>
</div>
</div>
</div>
<div id="outline-container-org7097143" class="outline-3">
<h3 id="org7097143"><span class="section-number-3">3.4</span> Conclusion</h3>
2019-05-13 22:36:14 +02:00
<div class="outline-text-3" id="text-3-4">
<div class="note">
2019-05-06 10:28:35 +02:00
<ul class="org-ul">
2019-05-13 22:36:14 +02:00
<li>The measurement is mostly limited by the resolution of the Speedgoat DAC (16bits over \(\pm 10 V\))</li>
<li>In section <a href="#orgc1591f5">4</a>, the same measurement is done but voltage amplifiers are added to amplify the noise</li>
2019-05-06 10:28:35 +02:00
</ul>
</div>
</div>
</div>
</div>
<div id="outline-container-orge42ffbf" class="outline-2">
<h2 id="orge42ffbf"><span class="section-number-2">4</span> Measure of the noise induced by the Slip-Ring using voltage amplifiers - Noise</h2>
2019-05-13 22:36:14 +02:00
<div class="outline-text-2" id="text-4">
<p>
<a id="orgc1591f5"></a>
</p>
2019-05-13 22:36:14 +02:00
<div class="note">
<p>
2019-05-13 22:36:14 +02:00
All the files (data and Matlab scripts) are accessible <a href="data/meas_slip_ring.zip">here</a>.
</p>
2019-05-13 22:36:14 +02:00
</div>
</div>
<div id="outline-container-org1c25b84" class="outline-3">
<h3 id="org1c25b84"><span class="section-number-3">4.1</span> Measurement Description</h3>
2019-05-13 22:36:14 +02:00
<div class="outline-text-3" id="text-4-1">
<p>
2019-05-13 22:36:14 +02:00
<b>Goal</b>:
</p>
<ul class="org-ul">
2019-05-13 22:36:14 +02:00
<li>Determine the noise induced by the slip-ring when turned ON and when rotating</li>
</ul>
2019-05-13 22:36:14 +02:00
<p>
<b>Setup</b>:
</p>
<ul class="org-ul">
<li>0V is generated by one Speedgoat DAC</li>
<li>Using a T, one part goes directly to one Speedgoat ADC</li>
<li>The other part goes to the slip-ring 2 times and then to one voltage amplifier before going to the ADC</li>
<li>The parameters of the Voltage Amplifier are:
<ul class="org-ul">
<li>gain of 80dB</li>
<li>AC/DC option to AC (it adds an high pass filter at 1.5Hz at the input of the voltage amplifier)</li>
<li>Output Low pass filter set at 1kHz</li>
</ul></li>
<li>Every stage of the station is OFF</li>
</ul>
<p>
First column: Direct measure
Second column: Slip-ring measure
</p>
<p>
<b>Measurements</b>:
</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">Data File</th>
<th scope="col" class="org-left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>mat/data_008.mat</code></td>
<td class="org-left">Slip-Ring OFF</td>
</tr>
<tr>
<td class="org-left"><code>mat/data_009.mat</code></td>
<td class="org-left">Slip-Ring ON</td>
</tr>
<tr>
<td class="org-left"><code>mat/data_010.mat</code></td>
<td class="org-left">Slip-Ring ON and omega=6rpm</td>
</tr>
<tr>
<td class="org-left"><code>mat/data_011.mat</code></td>
<td class="org-left">Slip-Ring ON and omega=60rpm</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">Signal going directly to the ADC</td>
</tr>
<tr>
<td class="org-right">2</td>
<td class="org-left">Signal going through the Slip-Ring</td>
</tr>
<tr>
<td class="org-right">3</td>
<td class="org-left">Time</td>
</tr>
</tbody>
</table>
<div id="orgb8a68fc" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="./img/VID_20190503_160831.gif" alt="VID_20190503_160831.gif" />
</p>
<p><span class="figure-number">Figure 20: </span>Slip-Ring rotating at 6rpm</p>
2019-05-13 22:36:14 +02:00
</div>
<div id="org2f7bc6b" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="./img/VID_20190503_161401.gif" alt="VID_20190503_161401.gif" />
</p>
<p><span class="figure-number">Figure 21: </span>Slip-Ring rotating at 60rpm</p>
2019-05-13 22:36:14 +02:00
</div>
</div>
</div>
<div id="outline-container-org53a08b4" class="outline-3">
<h3 id="org53a08b4"><span class="section-number-3">4.2</span> Load data</h3>
2019-05-13 22:36:14 +02:00
<div class="outline-text-3" id="text-4-2">
<p>
We load the data of the z axis of two geophones.
</p>
<div class="org-src-container">
2019-05-13 22:36:14 +02:00
<pre class="src src-matlab">sr_off = 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>; sr_off = sr_off.data;
sr_on = 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>; sr_on = sr_on.data;
sr_6r = 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>; sr_6r = sr_6r.data;
sr_60r = 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>; sr_60r = sr_60r.data;
</pre>
</div>
</div>
</div>
<div id="outline-container-org85cb99d" class="outline-3">
<h3 id="org85cb99d"><span class="section-number-3">4.3</span> Time Domain</h3>
2019-05-13 22:36:14 +02:00
<div class="outline-text-3" id="text-4-3">
<p>
We plot the time domain data for the direct measurement (figure <a href="#org04dc33c">22</a>) and for the signal going through the slip-ring (figure <a href="#orgbdce7e4">23</a>);
</p>
<div id="org04dc33c" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="figs/sr_direct_time.png" alt="sr_direct_time.png" />
</p>
<p><span class="figure-number">Figure 22: </span>Direct measurement</p>
</div>
2019-05-13 22:36:14 +02:00
<div id="orgbdce7e4" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="figs/sr_slipring_time.png" alt="sr_slipring_time.png" />
</p>
<p><span class="figure-number">Figure 23: </span>Measurement of the signal going through the Slip-Ring</p>
</div>
</div>
</div>
<div id="outline-container-org40aa863" class="outline-3">
<h3 id="org40aa863"><span class="section-number-3">4.4</span> Frequency Domain</h3>
2019-05-13 22:36:14 +02:00
<div class="outline-text-3" id="text-4-4">
<p>
We first compute some parameters that will be used for the PSD computation.
</p>
<div class="org-src-container">
2019-05-13 22:36:14 +02:00
<pre class="src src-matlab">dt = sr_off<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>sr_off<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; <span class="org-comment">% [Hz]</span>
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>
<p>
Then we compute the Power Spectral Density using <code>pwelch</code> function.
</p>
<div class="org-src-container">
2019-05-13 22:36:14 +02:00
<pre class="src src-matlab"><span class="org-rainbow-delimiters-depth-1">[</span>pxdir, f<span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_off<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>pxoff, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_off<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>pxon, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_on<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>px6r, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_6r<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>px60r, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_60r<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 plot the ASD of the measured signals (figure <a href="#orgcddc061">24</a>);
</p>
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-type">figure</span>;
hold on;
2019-05-13 22:36:14 +02:00
plot<span class="org-rainbow-delimiters-depth-1">(</span>f, sqrt<span class="org-rainbow-delimiters-depth-2">(</span>pxoff<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', '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>pxon<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', '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>px6r<span class="org-rainbow-delimiters-depth-2">)</span>, 'DisplayName', '<span class="org-highlight-numbers-number">6rpm</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>px60r<span class="org-rainbow-delimiters-depth-2">)</span>, 'DisplayName', '<span class="org-highlight-numbers-number">60rpm</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>pxdir<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'k-', 'DisplayName', 'Direct'</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">'</span>ASD of the measured Voltage $<span class="org-type">\</span>left<span class="org-rainbow-delimiters-depth-2">[</span><span class="org-type">\</span>frac<span class="org-rainbow-delimiters-depth-3">{</span>V<span class="org-rainbow-delimiters-depth-3">}{</span><span class="org-type">\</span>sqrt<span class="org-rainbow-delimiters-depth-4">{</span>Hz<span class="org-rainbow-delimiters-depth-4">}</span><span class="org-rainbow-delimiters-depth-3">}</span><span class="org-type">\</span>right<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>;
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>;
</pre>
</div>
<div id="orgcddc061" class="figure">
2019-05-13 22:36:14 +02:00
<p><img src="figs/sr_psd_compare.png" alt="sr_psd_compare.png" />
</p>
<p><span class="figure-number">Figure 24: </span>Comparison of the ASD of the measured signals when the slip-ring is ON, OFF and turning</p>
</div>
2019-05-13 22:36:14 +02:00
<div class="note">
<p>
<b>Questions:</b>
</p>
2019-05-13 22:36:14 +02:00
<ul class="org-ul">
<li>Why is there some sharp peaks? Can this be due to aliasing?</li>
<li>It is possible that the amplifiers were saturating during the measurements. This saturation could be due to high frequency noise.</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-orgcce9170" class="outline-3">
<h3 id="orgcce9170"><span class="section-number-3">4.5</span> Conclusion</h3>
2019-05-13 22:36:14 +02:00
<div class="outline-text-3" id="text-4-5">
<div class="important">
<ul class="org-ul">
2019-05-13 22:36:14 +02:00
<li>The measurements are re-done using an additional low pass filter at the input of the voltage amplifier</li>
</ul>
</div>
</div>
</div>
</div>
<div id="outline-container-org307d078" class="outline-2">
<h2 id="org307d078"><span class="section-number-2">5</span> Measure of the noise induced by the Slip-Ring rotation - LPF added</h2>
<div class="outline-text-2" id="text-5">
<p>
<a id="org7658671"></a>
</p>
<div class="note">
<p>
All the files (data and Matlab scripts) are accessible <a href="data/meas_slip_ring_lpf.zip">here</a>.
</p>
</div>
</div>
<div id="outline-container-org6731a2c" class="outline-3">
<h3 id="org6731a2c"><span class="section-number-3">5.1</span> Measurement description</h3>
<div class="outline-text-3" id="text-5-1">
<p>
<b>Setup</b>:
Voltage amplifier:
</p>
<ul class="org-ul">
<li>60db</li>
<li>AC</li>
<li>1kHz</li>
</ul>
<p>
Additionnal LPF at 1kHz
</p>
<p>
<b>Goal</b>:
</p>
<p>
<b>Measurements</b>:
</p>
<p>
Three measurements are done:
</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>mat/data_030.mat</code></td>
<td class="org-left">All off</td>
</tr>
<tr>
<td class="org-left"><code>mat/data_031.mat</code></td>
<td class="org-left">Slip-Ring on</td>
</tr>
<tr>
<td class="org-left"><code>mat/data_032.mat</code></td>
<td class="org-left">Slip-Ring 6rpm</td>
</tr>
<tr>
<td class="org-left"><code>mat/data_033.mat</code></td>
<td class="org-left">Slip-Ring 60rpm</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">Direct Measure</td>
</tr>
<tr>
<td class="org-right">2</td>
<td class="org-left">Slip-Ring</td>
</tr>
<tr>
<td class="org-right">3</td>
<td class="org-left">Time</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org270adaa" class="outline-3">
<h3 id="org270adaa"><span class="section-number-3">5.2</span> Load data</h3>
<div class="outline-text-3" id="text-5-2">
<p>
We load the data of the z axis of two geophones.
</p>
<div class="org-src-container">
<pre class="src src-matlab">sr_of = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_030.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; sr_of = sr_of.data;
sr_on = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_031.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; sr_on = sr_on.data;
sr_6r = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_032.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; sr_6r = sr_6r.data;
sr_60 = load<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">'mat/data_033.mat', 'data'</span><span class="org-rainbow-delimiters-depth-1">)</span>; sr_60 = sr_60.data;
</pre>
</div>
</div>
</div>
<div id="outline-container-org3cd4ce5" class="outline-3">
<h3 id="org3cd4ce5"><span class="section-number-3">5.3</span> Time Domain</h3>
<div class="outline-text-3" id="text-5-3">
<p>
We plot the time domain data for the direct measurement (figure <a href="#orgdd403d3">25</a>) and for the signal going through the slip-ring (figure <a href="#org2ca06b4">27</a>);
</p>
<div id="orgdd403d3" class="figure">
<p><img src="figs/sr_direct_1khz_time.png" alt="sr_direct_1khz_time.png" />
</p>
<p><span class="figure-number">Figure 25: </span>Direct measurement</p>
</div>
<div class="org-src-container">
<pre class="src src-matlab">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">0</span>.<span class="org-highlight-numbers-number">2</span><span class="org-rainbow-delimiters-depth-2">]</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">2e</span><span class="org-type">-</span><span class="org-highlight-numbers-number">3</span>, <span class="org-highlight-numbers-number">2e</span><span class="org-type">-</span><span class="org-highlight-numbers-number">3</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>;
</pre>
</div>
<div id="org0974246" class="figure">
<p><img src="figs/sr_direct_1khz_time_zoom.png" alt="sr_direct_1khz_time_zoom.png" />
</p>
<p><span class="figure-number">Figure 26: </span>Direct measurement - Zoom</p>
</div>
<div id="org2ca06b4" class="figure">
<p><img src="figs/sr_slipring_1khz_time.png" alt="sr_slipring_1khz_time.png" />
</p>
<p><span class="figure-number">Figure 27: </span>Measurement of the signal going through the Slip-Ring</p>
</div>
</div>
</div>
<div id="outline-container-org5fd6ec3" class="outline-3">
<h3 id="org5fd6ec3"><span class="section-number-3">5.4</span> Frequency Domain - Direct Signal</h3>
<div class="outline-text-3" id="text-5-4">
<p>
We first compute some parameters that will be used for the PSD computation.
</p>
<div class="org-src-container">
<pre class="src src-matlab">dt = sr_of<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>sr_of<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; <span class="org-comment">% [Hz]</span>
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>
<p>
Then we compute the Power Spectral Density using <code>pwelch</code> function.
</p>
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-rainbow-delimiters-depth-1">[</span>px_d_of, f<span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_of<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>px_d_on, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_on<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>px_d_6r, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_6r<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>px_d_60, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_60<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>
<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>px_d_of<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', '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>px_d_on<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', '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>px_d_6r<span class="org-rainbow-delimiters-depth-2">)</span>, 'DisplayName', '<span class="org-highlight-numbers-number">6rpm</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>px_d_60<span class="org-rainbow-delimiters-depth-2">)</span>, 'DisplayName', '<span class="org-highlight-numbers-number">60rpm</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">'</span>ASD of the measured Voltage $<span class="org-type">\</span>left<span class="org-rainbow-delimiters-depth-2">[</span><span class="org-type">\</span>frac<span class="org-rainbow-delimiters-depth-3">{</span>V<span class="org-rainbow-delimiters-depth-3">}{</span><span class="org-type">\</span>sqrt<span class="org-rainbow-delimiters-depth-4">{</span>Hz<span class="org-rainbow-delimiters-depth-4">}</span><span class="org-rainbow-delimiters-depth-3">}</span><span class="org-type">\</span>right<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>;
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">5000</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>;
</pre>
</div>
<div id="org624fb9d" class="figure">
<p><img src="figs/sr_psd_1khz_direct.png" alt="sr_psd_1khz_direct.png" />
</p>
<p><span class="figure-number">Figure 28: </span>Amplitude Spectral Density of the signal going directly to the ADC</p>
</div>
</div>
</div>
<div id="outline-container-org8b466ae" class="outline-3">
<h3 id="org8b466ae"><span class="section-number-3">5.5</span> Frequency Domain - Slip-Ring Signal</h3>
<div class="outline-text-3" id="text-5-5">
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-rainbow-delimiters-depth-1">[</span>px_sr_of, f<span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_of<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>px_sr_on, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_on<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>px_sr_6r, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_6r<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>px_sr_60, <span class="org-type">~</span><span class="org-rainbow-delimiters-depth-1">]</span> = pwelch<span class="org-rainbow-delimiters-depth-1">(</span>sr_60<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>px_sr_of<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', '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>px_sr_on<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'DisplayName', '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>px_sr_6r<span class="org-rainbow-delimiters-depth-2">)</span>, 'DisplayName', '<span class="org-highlight-numbers-number">6rpm</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>px_sr_60<span class="org-rainbow-delimiters-depth-2">)</span>, 'DisplayName', '<span class="org-highlight-numbers-number">60rpm</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>px_d_of<span class="org-rainbow-delimiters-depth-2">)</span>, <span class="org-string">'-k', 'DisplayName', 'Direct'</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">'</span>ASD of the measured Voltage $<span class="org-type">\</span>left<span class="org-rainbow-delimiters-depth-2">[</span><span class="org-type">\</span>frac<span class="org-rainbow-delimiters-depth-3">{</span>V<span class="org-rainbow-delimiters-depth-3">}{</span><span class="org-type">\</span>sqrt<span class="org-rainbow-delimiters-depth-4">{</span>Hz<span class="org-rainbow-delimiters-depth-4">}</span><span class="org-rainbow-delimiters-depth-3">}</span><span class="org-type">\</span>right<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>;
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">5000</span><span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">)</span>;
</pre>
</div>
<div id="org6f5a133" class="figure">
<p><img src="figs/sr_psd_1khz_slipring.png" alt="sr_psd_1khz_slipring.png" />
</p>
<p><span class="figure-number">Figure 29: </span>Amplitude Spectral Density of the signal going through the slip-ring</p>
</div>
</div>
</div>
<div id="outline-container-orgf9d70db" class="outline-3">
<h3 id="orgf9d70db"><span class="section-number-3">5.6</span> Conclusion</h3>
<div class="outline-text-3" id="text-5-6">
<div class="important">
<ul class="org-ul">
<li>We observe peaks at 12Hz and its harmonics for the signal going through the slip-ring when it is turning at 60rpm.</li>
<li>Apart from that, the noise of the signal is the same when the slip-ring is off/on and turning</li>
<li>The noise of the signal going through the slip-ring is much higher that the direct signal from the DAC to the ADC</li>
<li>A peak is obverse at 11.5Hz on the direct signal as soon as the slip-ring is turned ON. Can this be due to high frequency noise and Aliasing? As there is no LPF to filter the noise on the direct signal, this effect could be more visible on the direct signal.</li>
</ul>
2019-05-07 18:30:04 +02:00
</div>
</div>
</div>
</div>
2019-05-02 14:06:23 +02:00
</div>
<div id="postamble" class="status">
2019-05-13 22:36:14 +02:00
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2019-05-16 jeu. 09:46</p>
2019-05-02 14:06:23 +02:00
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>
</html>