198 lines
7.8 KiB
HTML
198 lines
7.8 KiB
HTML
<?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>
|
|
<!-- 2020-10-29 jeu. 11:07 -->
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
<title>Attocube - Test Bench</title>
|
|
<meta name="generator" content="Org mode" />
|
|
<meta name="author" content="Dehaeze Thomas" />
|
|
<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>MathJax = {
|
|
tex: {
|
|
tags: 'ams',
|
|
macros: {bm: ["\\boldsymbol{#1}",1],}
|
|
}
|
|
};
|
|
</script>
|
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
|
</head>
|
|
<body>
|
|
<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">Attocube - Test Bench</h1>
|
|
<div id="table-of-contents">
|
|
<h2>Table of Contents</h2>
|
|
<div id="text-table-of-contents">
|
|
<ul>
|
|
<li><a href="#orgfaed8bc">1. Estimation of the Spectral Density of the Attocube Noise</a>
|
|
<ul>
|
|
<li><a href="#org42d8bf8">1.1. Long and Slow measurement</a></li>
|
|
<li><a href="#orgc5a3450">1.2. Short and Fast measurement</a></li>
|
|
<li><a href="#orgc18a5a3">1.3. Obtained Amplitude Spectral Density of the measured displacement</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgfaed8bc" class="outline-2">
|
|
<h2 id="orgfaed8bc"><span class="section-number-2">1</span> Estimation of the Spectral Density of the Attocube Noise</h2>
|
|
<div class="outline-text-2" id="text-1">
|
|
</div>
|
|
<div id="outline-container-org42d8bf8" class="outline-3">
|
|
<h3 id="org42d8bf8"><span class="section-number-3">1.1</span> Long and Slow measurement</h3>
|
|
<div class="outline-text-3" id="text-1-1">
|
|
<p>
|
|
The first measurement was made during ~17 hours with a sampling time of \(T_s = 0.1\,s\).
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-matlab">load(<span class="org-string">'./mat/long_test2.mat'</span>, <span class="org-string">'x'</span>, <span class="org-string">'t'</span>)
|
|
Ts = 0.1; <span class="org-comment">% [s]</span>
|
|
</pre>
|
|
</div>
|
|
|
|
|
|
<div id="orgd7563fe" class="figure">
|
|
<p><img src="figs/long_meas_time_domain_full.png" alt="long_meas_time_domain_full.png" />
|
|
</p>
|
|
<p><span class="figure-number">Figure 1: </span>Long measurement time domain data</p>
|
|
</div>
|
|
|
|
<p>
|
|
Let’s fit the data with a step response to a first order low pass filter (Figure <a href="#org5d8ea16">2</a>).
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-matlab">f = @(b,x) b(1)<span class="org-type">*</span>(1 <span class="org-type">-</span> exp(<span class="org-type">-</span>x<span class="org-type">/</span>b(2)));
|
|
|
|
y_cur = x(t <span class="org-type"><</span> 17<span class="org-type">*</span>60<span class="org-type">*</span>60);
|
|
t_cur = t(t <span class="org-type"><</span> 17<span class="org-type">*</span>60<span class="org-type">*</span>60);
|
|
|
|
nrmrsd = @(b) norm(y_cur <span class="org-type">-</span> f(b,t_cur)); <span class="org-comment">% Residual Norm Cost Function</span>
|
|
B0 = [400e<span class="org-type">-</span>9, 2<span class="org-type">*</span>60<span class="org-type">*</span>60]; <span class="org-comment">% Choose Appropriate Initial Estimates</span>
|
|
[B,rnrm] = fminsearch(nrmrsd, B0); <span class="org-comment">% Estimate Parameters ‘B’</span>
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
The corresponding time constant is (in [h]):
|
|
</p>
|
|
<pre class="example">
|
|
2.0576
|
|
</pre>
|
|
|
|
|
|
|
|
<div id="org5d8ea16" class="figure">
|
|
<p><img src="figs/long_meas_time_domain_fit.png" alt="long_meas_time_domain_fit.png" />
|
|
</p>
|
|
<p><span class="figure-number">Figure 2: </span>Fit of the measurement data with a step response of a first order low pass filter</p>
|
|
</div>
|
|
|
|
<p>
|
|
We can see in Figure <a href="#orgd7563fe">1</a> that there is a transient period where the measured displacement experiences some drifts.
|
|
This is probably due to thermal effects.
|
|
We only select the data between <code>t1</code> and <code>t2</code>.
|
|
The obtained displacement is shown in Figure <a href="#org9806b5d">3</a>.
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-matlab">t1 = 11; t2 = 17; <span class="org-comment">% [h]</span>
|
|
|
|
x = x(t <span class="org-type">></span> t1<span class="org-type">*</span>60<span class="org-type">*</span>60 <span class="org-type">&</span> t <span class="org-type"><</span> t2<span class="org-type">*</span>60<span class="org-type">*</span>60);
|
|
x = x <span class="org-type">-</span> mean(x);
|
|
t = t(t <span class="org-type">></span> t1<span class="org-type">*</span>60<span class="org-type">*</span>60 <span class="org-type">&</span> t <span class="org-type"><</span> t2<span class="org-type">*</span>60<span class="org-type">*</span>60);
|
|
t = t <span class="org-type">-</span> t(1);
|
|
</pre>
|
|
</div>
|
|
|
|
|
|
<div id="org9806b5d" class="figure">
|
|
<p><img src="figs/long_meas_time_domain_zoom.png" alt="long_meas_time_domain_zoom.png" />
|
|
</p>
|
|
<p><span class="figure-number">Figure 3: </span>Kept data (removed slow drifts during the first hours)</p>
|
|
</div>
|
|
|
|
<p>
|
|
The Power Spectral Density of the measured displacement is computed
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-matlab">win = hann(ceil(length(x)<span class="org-type">/</span>20));
|
|
[p_1, f_1] = pwelch(x, win, [], [], 1<span class="org-type">/</span>Ts);
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc5a3450" class="outline-3">
|
|
<h3 id="orgc5a3450"><span class="section-number-3">1.2</span> Short and Fast measurement</h3>
|
|
<div class="outline-text-3" id="text-1-2">
|
|
<p>
|
|
An second measurement is done in order to estimate the high frequency noise of the interferometer.
|
|
The measurement is done with a sampling time of \(T_s = 0.1\,ms\) and a duration of ~100s.
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-matlab">load(<span class="org-string">'./mat/test.mat'</span>, <span class="org-string">'x'</span>, <span class="org-string">'t'</span>)
|
|
Ts = 1e<span class="org-type">-</span>4; <span class="org-comment">% [s]</span>
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
The time domain measurement is shown in Figure <a href="#org658d16a">4</a>.
|
|
</p>
|
|
|
|
|
|
<div id="org658d16a" class="figure">
|
|
<p><img src="figs/short_meas_time_domain.png" alt="short_meas_time_domain.png" />
|
|
</p>
|
|
<p><span class="figure-number">Figure 4: </span>Time domain measurement with the high sampling rate</p>
|
|
</div>
|
|
|
|
<p>
|
|
The Power Spectral Density of the measured displacement is computed
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-matlab">win = hann(ceil(length(x)<span class="org-type">/</span>20));
|
|
[p_2, f_2] = pwelch(x, win, [], [], 1<span class="org-type">/</span>Ts);
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc18a5a3" class="outline-3">
|
|
<h3 id="orgc18a5a3"><span class="section-number-3">1.3</span> Obtained Amplitude Spectral Density of the measured displacement</h3>
|
|
<div class="outline-text-3" id="text-1-3">
|
|
<p>
|
|
The computed ASD of the two measurements are combined in Figure <a href="#orgfdb6fa9">5</a>.
|
|
</p>
|
|
|
|
|
|
<div id="orgfdb6fa9" class="figure">
|
|
<p><img src="figs/psd_combined.png" alt="psd_combined.png" />
|
|
</p>
|
|
<p><span class="figure-number">Figure 5: </span>Obtained Amplitude Spectral Density of the measured displacement</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="postamble" class="status">
|
|
<p class="author">Author: Dehaeze Thomas</p>
|
|
<p class="date">Created: 2020-10-29 jeu. 11:07</p>
|
|
</div>
|
|
</body>
|
|
</html>
|