195 lines
7.6 KiB
HTML
195 lines
7.6 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:06 -->
|
|
<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="#org04fd555">1. Estimation of the Spectral Density of the Attocube Noise</a>
|
|
<ul>
|
|
<li><a href="#orgb5c08b7">1.1. Long and Slow measurement</a></li>
|
|
<li><a href="#org16781eb">1.2. Short and Fast measurement</a></li>
|
|
<li><a href="#org05880ea">1.3. Obtained Amplitude Spectral Density of the measured displacement</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org04fd555" class="outline-2">
|
|
<h2 id="org04fd555"><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-orgb5c08b7" class="outline-3">
|
|
<h3 id="orgb5c08b7"><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="org988c594" 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="#org9fca17b">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>
|
|
|
|
|
|
<p>
|
|
<a href="figs/long_meas_time_domain_fit.pdf">figs/long_meas_time_domain_fit.pdf</a>
|
|
</p>
|
|
|
|
<p>
|
|
We can see in Figure <a href="#org988c594">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="#orgfaaa772">2</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="orgfaaa772" 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 2: </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-org16781eb" class="outline-3">
|
|
<h3 id="org16781eb"><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="#org09490dd">3</a>.
|
|
</p>
|
|
|
|
|
|
<div id="org09490dd" class="figure">
|
|
<p><img src="figs/short_meas_time_domain.png" alt="short_meas_time_domain.png" />
|
|
</p>
|
|
<p><span class="figure-number">Figure 3: </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-org05880ea" class="outline-3">
|
|
<h3 id="org05880ea"><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="#org5a319f0">4</a>.
|
|
</p>
|
|
|
|
|
|
<div id="org5a319f0" class="figure">
|
|
<p><img src="figs/psd_combined.png" alt="psd_combined.png" />
|
|
</p>
|
|
<p><span class="figure-number">Figure 4: </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:06</p>
|
|
</div>
|
|
</body>
|
|
</html>
|