diff --git a/doc/Millimar--3723046--BA--C1208-C1216-C1240--FR--2016-11-08.pdf b/doc/Millimar--3723046--BA--C1208-C1216-C1240--FR--2016-11-08.pdf new file mode 100644 index 0000000..759e5f5 Binary files /dev/null and b/doc/Millimar--3723046--BA--C1208-C1216-C1240--FR--2016-11-08.pdf differ diff --git a/doc/tmp3m0cvmue_7888038c-cdc8-48d8-a837-35de02760685.pdf b/doc/tmp3m0cvmue_7888038c-cdc8-48d8-a837-35de02760685.pdf new file mode 100644 index 0000000..4e3632e Binary files /dev/null and b/doc/tmp3m0cvmue_7888038c-cdc8-48d8-a837-35de02760685.pdf differ diff --git a/figs/CE0EF55E-07B7-461B-8CDB-98590F68D15B.jpeg b/figs/CE0EF55E-07B7-461B-8CDB-98590F68D15B.jpeg new file mode 100644 index 0000000..78dc029 Binary files /dev/null and b/figs/CE0EF55E-07B7-461B-8CDB-98590F68D15B.jpeg differ diff --git a/figs/apa_d_vs_V_1s.pdf b/figs/apa_d_vs_V_1s.pdf new file mode 100644 index 0000000..78c8b2a Binary files /dev/null and b/figs/apa_d_vs_V_1s.pdf differ diff --git a/figs/apa_d_vs_V_1s.png b/figs/apa_d_vs_V_1s.png new file mode 100644 index 0000000..d2eb726 Binary files /dev/null and b/figs/apa_d_vs_V_1s.png differ diff --git a/figs/apa_d_vs_V_2s.pdf b/figs/apa_d_vs_V_2s.pdf new file mode 100644 index 0000000..f3ebe13 Binary files /dev/null and b/figs/apa_d_vs_V_2s.pdf differ diff --git a/figs/apa_d_vs_V_2s.png b/figs/apa_d_vs_V_2s.png new file mode 100644 index 0000000..1e1f4d5 Binary files /dev/null and b/figs/apa_d_vs_V_2s.png differ diff --git a/figs/apa_d_vs_V_3s.pdf b/figs/apa_d_vs_V_3s.pdf new file mode 100644 index 0000000..67de736 Binary files /dev/null and b/figs/apa_d_vs_V_3s.pdf differ diff --git a/figs/apa_d_vs_V_3s.png b/figs/apa_d_vs_V_3s.png new file mode 100644 index 0000000..3437975 Binary files /dev/null and b/figs/apa_d_vs_V_3s.png differ diff --git a/figs/apa_stroke_time_1s.pdf b/figs/apa_stroke_time_1s.pdf new file mode 100644 index 0000000..de75631 Binary files /dev/null and b/figs/apa_stroke_time_1s.pdf differ diff --git a/figs/apa_stroke_time_1s.png b/figs/apa_stroke_time_1s.png new file mode 100644 index 0000000..bd25213 Binary files /dev/null and b/figs/apa_stroke_time_1s.png differ diff --git a/figs/apa_stroke_time_2s.pdf b/figs/apa_stroke_time_2s.pdf new file mode 100644 index 0000000..db7a370 Binary files /dev/null and b/figs/apa_stroke_time_2s.pdf differ diff --git a/figs/apa_stroke_time_2s.png b/figs/apa_stroke_time_2s.png new file mode 100644 index 0000000..b4abac8 Binary files /dev/null and b/figs/apa_stroke_time_2s.png differ diff --git a/figs/apa_stroke_voltage_time.pdf b/figs/apa_stroke_voltage_time.pdf new file mode 100644 index 0000000..5b14736 Binary files /dev/null and b/figs/apa_stroke_voltage_time.pdf differ diff --git a/figs/apa_stroke_voltage_time.png b/figs/apa_stroke_voltage_time.png new file mode 100644 index 0000000..5f57301 Binary files /dev/null and b/figs/apa_stroke_voltage_time.png differ diff --git a/test-bench-apa300ml.html b/test-bench-apa300ml.html index 1b5ea75..8b2d306 100644 --- a/test-bench-apa300ml.html +++ b/test-bench-apa300ml.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Amplifier Piezoelectric Actuator APA300ML - Test Bench @@ -39,33 +39,40 @@

Table of Contents

@@ -90,21 +97,21 @@ This include: -
+

apa300ML.png

Figure 1: Picture of the APA300ML

-
-

1 Model of an Amplified Piezoelectric Actuator and Sensor

+
+

1 Model of an Amplified Piezoelectric Actuator and Sensor

-Consider a schematic of the Amplified Piezoelectric Actuator in Figure 2. +Consider a schematic of the Amplified Piezoelectric Actuator in Figure 2.

-
+

apa_model_schematic.png

Figure 2: Amplified Piezoelectric Actuator Schematic

@@ -129,11 +136,11 @@ We wish here to experimental measure \(g_a\) and \(g_s\).

-The block-diagram model of the piezoelectric actuator is then as shown in Figure 3. +The block-diagram model of the piezoelectric actuator is then as shown in Figure 3.

-
+

apa-model-simscape-schematic.png

Figure 3: Model of the APA with Simscape/Simulink

@@ -141,22 +148,30 @@ The block-diagram model of the piezoelectric actuator is then as shown in Figure
-
-

2 Geometrical Measurements

+
+

2 Geometrical Measurements

+

+The received APA are shown in Figure 4. +

-
+ +

IMG_20210224_143500.jpg

Figure 4: Received APA

-
-

2.1 Measurement Setup

+
+

2.1 Measurement Setup

+

+The flatness corresponding to the two interface planes are measured as shown in Figure 5. +

-
+ +

IMG_20210224_143809.jpg

Figure 5: Measurement Setup

@@ -164,11 +179,11 @@ The block-diagram model of the piezoelectric actuator is then as shown in Figure
-
-

2.2 Measurement Results

+
+

2.2 Measurement Results

-Height (Z) measurements: +The height (Z) measurements at the 8 locations (4 points by plane) are defined below.

apa1  = 1e-6*[0, -0.5 , 3.5  , 3.5  , 42   , 45.5, 52.5 , 46];
@@ -184,7 +199,7 @@ apa = {apa1, apa2, apa3, apa4, apa5, apa6, apa7b};
 

-X/Y Positions of the 8 measurement points: +The X/Y Positions of the 8 measurement points are defined below.

W = 20e-3;   % Width [m]
@@ -196,6 +211,9 @@ pos = [[-L/2 
 
+

+Finally, the flatness is estimated by fitting a plane through the 8 points using the fminsearch command. +

apa_d = zeros(1, 7);
 for i = 1:7
@@ -207,43 +225,57 @@ pos = [[-L/2 
 
- +

+The obtained flatness are shown in Table 1. +

+ +
++ - + + + + + + + + + @@ -252,10 +284,10 @@ pos = [[-L/2 -
-

3 Electrical Measurements

+
+

3 Electrical Measurements

-
+

The capacitance of the stacks is measure with the LCR-800 Meter (doc)

@@ -263,7 +295,7 @@ The capacitance of the stacks is measure with the +
Table 1: Estimated flatness
Flatness [um] Flatness \([\mu m]\)
APA 1 8.9
APA 2 3.1
APA 3 9.1
APA 4 3.0
APA 5 1.9
APA 6 7.1
APA 7 18.7
-+@@ -285,57 +317,57 @@ The excitation frequency is set to be 1kHz. - + - + - + - + - + - + - + - +
Table 2: Capacitance measured with the LCR meter. The excitation signal is a sinus at 1kHz
APA Number  Sensor Stack Actuator Stacks
1APA 1 5.10 10.03
2APA 2 4.99 9.85
3APA 3 1.72 5.18
4APA 4 4.94 9.82
5APA 5 4.90 9.66
6APA 6 4.99 9.91
7APA 7 4.85 9.85
-
+

There is clearly a problem with APA300ML number 3

@@ -344,12 +376,12 @@ There is clearly a problem with APA300ML number 3
-
-

4 Stiffness measurement

+
+

4 Stiffness measurement

-
-

4.1 APA test

+
+

4.1 APA test

load('meas_stiff_apa_1_x.mat', 't', 'F', 'd');
@@ -415,10 +447,204 @@ plot(F_l, F_l*fit_l(1) +
 
-
-

5 Test-Bench Description

+
+

5 Stroke measurement

- + +
+

5.1 Voltage applied on one stack

+
+

+Let’s first look at the relation between the voltage applied to one stack to the displacement of the APA as measured by the displacement probe. +

+ +

+The applied voltage is shown in Figure 8. +

+ + +
+

apa_stroke_voltage_time.png +

+

Figure 8: Applied voltage as a function of time

+
+ +

+The obtained displacement is shown in Figure 9. +The displacement is set to zero at initial time when the voltage applied is -20V. +

+ + +
+

apa_stroke_time_1s.png +

+

Figure 9: Displacement as a function of time for all the APA300ML

+
+ +

+Finally, the displacement is shown as a function of the applied voltage in Figure 10. +We can clearly see that there is a problem with the APA 3. +Also, there is a large hysteresis. +

+ + +
+

apa_d_vs_V_1s.png +

+

Figure 10: Displacement as a function of the applied voltage

+
+ +
+

+We can clearly see from Figure 10 that there is a problem with the APA number 3. +

+ +
+
+
+ +
+

5.2 Voltage applied on two stacks

+
+

+Now look at the relation between the voltage applied to the two other stacks to the displacement of the APA as measured by the displacement probe. +

+ +

+The obtained displacement is shown in Figure 11. +The displacement is set to zero at initial time when the voltage applied is -20V. +

+ + +
+

apa_stroke_time_2s.png +

+

Figure 11: Displacement as a function of time for all the APA300ML

+
+ +

+Finally, the displacement is shown as a function of the applied voltage in Figure 12. +We can clearly see that there is a problem with the APA 3. +Also, there is a large hysteresis. +

+ + +
+

apa_d_vs_V_2s.png +

+

Figure 12: Displacement as a function of the applied voltage

+
+
+
+ +
+

5.3 Voltage applied on all three stacks

+
+

+Finally, we can combine the two measurements to estimate the relation between the displacement and the voltage applied to the three stacks (Figure 13). +

+ + +
+

apa_d_vs_V_3s.png +

+

Figure 13: Displacement as a function of the applied voltage

+
+ +

+The obtained maximum stroke for all the APA are summarized in Table 3. +

+ + + + +++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3: Measured maximum stroke
 Stroke \([\mu m]\)
APA 1373.2
APA 2365.5
APA 3181.7
APA 4359.7
APA 5361.5
APA 6363.9
APA 7358.4
+
+
+
+ +
+

6 Test-Bench Description

+
+

Here are the documentation of the equipment used for this test bench:

@@ -433,21 +659,21 @@ Here are the documentation of the equipment used for this test bench:
-
+

test_bench_apa_alone.png

-

Figure 7: Schematic of the Test Bench

+

Figure 14: Schematic of the Test Bench

-
-

6 Measurement Procedure

-
+
+

7 Measurement Procedure

+
-
-

6.1 Stroke Measurement

-
+
+

7.1 Stroke Measurement

+

Using the PD200 amplifier, output a voltage: \[ V_a = 65 + 85 \sin(2\pi \cdot t) \] @@ -474,9 +700,9 @@ Conclude on the obtained stroke.

-
-

6.2 Stiffness Measurement

-
+
+

7.2 Stiffness Measurement

+

Add some (known) weight \(\delta m g\) on the suspended mass and measure the deflection \(\delta d\). This can be tested when the piezoelectric stacks are open-circuit. @@ -495,9 +721,9 @@ Then the obtained stiffness is:

-
-

6.3 Hysteresis measurement

-
+
+

7.3 Hysteresis measurement

+

Supply a quasi static sinusoidal excitation \(V_a\) at different voltages.

@@ -515,17 +741,17 @@ Then, \(d\) is plotted as a function of \(V_a\) for all the amplitudes.

-
+

expected_hysteresis.png

-

Figure 8: Expected Hysteresis (poel10_explor_activ_hard_mount_vibrat)

+

Figure 15: Expected Hysteresis (poel10_explor_activ_hard_mount_vibrat)

-
-

6.4 Piezoelectric Actuator Constant

-
+
+

7.4 Piezoelectric Actuator Constant

+

Using the measurement test-bench, it is rather easy the determine the static gain between the applied voltage \(V_a\) to the induced displacement \(d\). Use a quasi static (1Hz) excitation signal \(V_a\) on the piezoelectric stack and measure the vertical displacement \(d\). @@ -551,9 +777,9 @@ From the two gains, it is then easy to determine \(g_a\):

-
-

6.5 Piezoelectric Sensor Constant

-
+
+

7.5 Piezoelectric Sensor Constant

+

From a quasi static excitation of the piezoelectric stack, measure the gain from \(V_a\) to \(V_s\):

@@ -591,18 +817,18 @@ This external force can be some weight added, or a piezo in parallel.
-
-

6.6 Capacitance Measurement

-
+
+

7.6 Capacitance Measurement

+

Measure the capacitance of the 3 stacks individually using a precise multi-meter.

-
-

6.7 Dynamical Behavior

-
+
+

7.7 Dynamical Behavior

+

Perform a system identification from \(V_a\) to the measured displacement \(d\) by the interferometer and by the encoder, and to the generated voltage \(V_s\).

@@ -617,9 +843,9 @@ This can also be performed with and without the encoder fixed to the APA.
-
-

6.8 Compare the results obtained for all 7 APA300ML

-
+
+

7.8 Compare the results obtained for all 7 APA300ML

+

Compare all the obtained parameters for all the test APA.

@@ -627,8 +853,8 @@ Compare all the obtained parameters for all the test APA.
-
-

7 Measurement Results

+
+

8 Measurement Results

Bibliography

@@ -638,7 +864,7 @@ Compare all the obtained parameters for all the test APA.

Author: Dehaeze Thomas

-

Created: 2021-03-15 lun. 11:35

+

Created: 2021-03-16 mar. 14:30

diff --git a/test-bench-apa300ml.org b/test-bench-apa300ml.org index 21a7589..4bb5f76 100644 --- a/test-bench-apa300ml.org +++ b/test-bench-apa300ml.org @@ -108,6 +108,8 @@ The block-diagram model of the piezoelectric actuator is then as shown in Figure * Geometrical Measurements ** Introduction :ignore: +The received APA are shown in Figure [[fig:received_apa]]. + #+name: fig:received_apa #+caption: Received APA #+attr_latex: :width 0.6\linewidth @@ -133,13 +135,16 @@ addpath('./mat/'); ** Measurement Setup +The flatness corresponding to the two interface planes are measured as shown in Figure [[fig:flatness_meas_setup]]. + #+name: fig:flatness_meas_setup #+caption: Measurement Setup #+attr_latex: :width 0.6\linewidth [[file:figs/IMG_20210224_143809.jpg]] ** Measurement Results -Height (Z) measurements: + +The height (Z) measurements at the 8 locations (4 points by plane) are defined below. #+begin_src matlab apa1 = 1e-6*[0, -0.5 , 3.5 , 3.5 , 42 , 45.5, 52.5 , 46]; apa2 = 1e-6*[0, -2.5 , -3 , 0 , -1.5 , 1 , -2 , -4]; @@ -152,7 +157,7 @@ apa7b = 1e-6*[0, 9 , -18.5, -30 , 31 , 46.5, 16.5 , 7.5]; apa = {apa1, apa2, apa3, apa4, apa5, apa6, apa7b}; #+end_src -X/Y Positions of the 8 measurement points: +The X/Y Positions of the 8 measurement points are defined below. #+begin_src matlab W = 20e-3; % Width [m] L = 61e-3; % Length [m] @@ -162,6 +167,7 @@ l = 15.5e-3; % [m] pos = [[-L/2 + d; W/2 - d], [-L/2 + l - d; W/2 - d], [-L/2 + l - d; -W/2 + d], [-L/2 + d; -W/2 + d], [L/2 - l + d; W/2 - d], [L/2 - d; W/2 - d], [L/2 - d; -W/2 + d], [L/2 - l + d; -W/2 + d]]; #+end_src +Finally, the flatness is estimated by fitting a plane through the 8 points using the =fminsearch= command. #+begin_src matlab apa_d = zeros(1, 7); for i = 1:7 @@ -172,24 +178,26 @@ for i = 1:7 end #+end_src +The obtained flatness are shown in Table [[tab:flatness_meas]]. + #+begin_src matlab :exports results :results value table replace :tangle no :post addhdr(*this*) -data2orgtable(1e6*apa_d', {}, {'Flatness [um]'}, ' %.1f '); +data2orgtable(1e6*apa_d', {'APA 1', 'APA 2', 'APA 3', 'APA 4', 'APA 5', 'APA 6', 'APA 7'}, {'*Flatness* $[\mu m]$'}, ' %.1f '); #+end_src #+name: tab:flatness_meas #+caption: Estimated flatness -#+attr_latex: :environment tabularx :width \linewidth :align c +#+attr_latex: :environment tabularx :width 0.25\linewidth :align lc #+attr_latex: :center t :booktabs t :float t #+RESULTS: -| Flatness [um] | -|---------------| -| 8.9 | -| 3.1 | -| 9.1 | -| 3.0 | -| 1.9 | -| 7.1 | -| 18.7 | +| | *Flatness* $[\mu m]$ | +|-------+----------------------| +| APA 1 | 8.9 | +| APA 2 | 3.1 | +| APA 3 | 9.1 | +| APA 4 | 3.0 | +| APA 5 | 1.9 | +| APA 6 | 7.1 | +| APA 7 | 18.7 | * Electrical Measurements @@ -206,23 +214,41 @@ The excitation frequency is set to be 1kHz. #+name: tab:apa300ml_capacitance #+caption: Capacitance measured with the LCR meter. The excitation signal is a sinus at 1kHz -#+attr_latex: :environment tabularx :width 0.6\linewidth :align lcc +#+attr_latex: :environment tabularx :width 0.5\linewidth :align lcc #+attr_latex: :center t :booktabs t :float t -| *APA Number* | *Sensor Stack* | *Actuator Stacks* | -|--------------+----------------+-------------------| -| 1 | 5.10 | 10.03 | -| 2 | 4.99 | 9.85 | -| 3 | 1.72 | 5.18 | -| 4 | 4.94 | 9.82 | -| 5 | 4.90 | 9.66 | -| 6 | 4.99 | 9.91 | -| 7 | 4.85 | 9.85 | +| | *Sensor Stack* | *Actuator Stacks* | +|-------+----------------+-------------------| +| APA 1 | 5.10 | 10.03 | +| APA 2 | 4.99 | 9.85 | +| APA 3 | 1.72 | 5.18 | +| APA 4 | 4.94 | 9.82 | +| APA 5 | 4.90 | 9.66 | +| APA 6 | 4.99 | 9.91 | +| APA 7 | 4.85 | 9.85 | #+begin_warning There is clearly a problem with APA300ML number 3 #+end_warning * Stiffness measurement +** Matlab Init :noexport:ignore: +#+begin_src matlab :tangle no :exports none :results silent :noweb yes :var current_dir=(file-name-directory buffer-file-name) +<> +#+end_src + +#+begin_src matlab :exports none :results silent :noweb yes +<> +#+end_src + +#+begin_src matlab :tangle no +addpath('./matlab/mat/'); +addpath('./matlab/'); +#+end_src + +#+begin_src matlab :eval no +addpath('./mat/'); +#+end_src + ** APA test #+begin_src matlab load('meas_stiff_apa_1_x.mat', 't', 'F', 'd'); @@ -277,6 +303,267 @@ plot(F,d,'k') plot(F_l, d_l) plot(F_l, F_l*fit_l(1) + fit_l(2), '--') #+end_src +* Stroke measurement +** Introduction :ignore: + +We here wish to estimate the stroke of the APA. + +To do so, one side of the APA is fixed, and a displacement probe is located on the other side as shown in Figure [[fig:stroke_test_bench]]. + +Then, a voltage is applied on either one or two stacks using a DAC and a voltage amplifier. + +#+begin_note +Here are the documentation of the equipment used for this test bench: +- *Voltage Amplifier*: [[file:doc/PD200-V7-R1.pdf][PD200]] with a gain of 20 +- *16bits DAC*: [[file:doc/IO131-OEM-Datasheet.pdf][IO313 Speedgoat card]] +- *Displacement Probe*: [[file:doc/Millimar--3723046--BA--C1208-C1216-C1240--FR--2016-11-08.pdf][Millimar C1216 electronics]] and [[file:doc/tmp3m0cvmue_7888038c-cdc8-48d8-a837-35de02760685.pdf][Millimar 1318 probe]] +#+end_note + +#+name: fig:stroke_test_bench +#+caption: Bench to measured the APA stroke +#+attr_latex: :width 0.9\linewidth +[[file:figs/CE0EF55E-07B7-461B-8CDB-98590F68D15B.jpeg]] + +** Matlab Init :noexport:ignore: +#+begin_src matlab :tangle no :exports none :results silent :noweb yes :var current_dir=(file-name-directory buffer-file-name) +<> +#+end_src + +#+begin_src matlab :exports none :results silent :noweb yes +<> +#+end_src + +#+begin_src matlab :tangle no +addpath('./matlab/mat/'); +addpath('./matlab/'); +#+end_src + +#+begin_src matlab :eval no +addpath('./mat/'); +#+end_src + +** Voltage applied on one stack + +Let's first look at the relation between the voltage applied to *one* stack to the displacement of the APA as measured by the displacement probe. + +#+begin_src matlab :exports none +apa300ml_1s = {}; +for i = 1:7 + apa300ml_1s(i) = {load(['mat/stroke_apa_1stacks_' num2str(i) '.mat'], 't', 'V', 'd')}; +end +#+end_src + +#+begin_src matlab :exports none +for i = 1:7 + t = apa300ml_1s{i}.t; + apa300ml_1s{i}.d = apa300ml_1s{i}.d - mean(apa300ml_1s{i}.d(t > 1.9 & t < 2.0)); + apa300ml_1s{i}.d = apa300ml_1s{i}.d(t > 2.0 & t < 10.0); + apa300ml_1s{i}.V = apa300ml_1s{i}.V(t > 2.0 & t < 10.0); + apa300ml_1s{i}.t = apa300ml_1s{i}.t(t > 2.0 & t < 10.0); +end +#+end_src + +The applied voltage is shown in Figure [[fig:apa_stroke_voltage_time]]. + +#+begin_src matlab :exports none +figure; +plot(apa300ml_1s{1}.t, 20*apa300ml_1s{1}.V) +xlabel('Time [s]'); ylabel('Voltage [V]'); +ylim([-20,160]); yticks([-20 0 20 40 60 80 100 120 140 160]); +#+end_src + +#+begin_src matlab :tangle no :exports results :results file replace +exportFig('figs/apa_stroke_voltage_time.pdf', 'width', 'wide', 'height', 'normal'); +#+end_src + +#+name: fig:apa_stroke_voltage_time +#+caption: Applied voltage as a function of time +#+RESULTS: +[[file:figs/apa_stroke_voltage_time.png]] + +The obtained displacement is shown in Figure [[fig:apa_stroke_time_1s]]. +The displacement is set to zero at initial time when the voltage applied is -20V. + +#+begin_src matlab :exports none +figure; +hold on; +for i = 1:7 + plot(apa300ml_1s{i}.t, 1e6*apa300ml_1s{i}.d, 'DisplayName', sprintf('APA %i', i)) +end +hold off; +xlabel('Time [s]'); ylabel('Displacement [$\mu m$]') +legend('location', 'southeast', 'FontSize', 8) +#+end_src + +#+begin_src matlab :tangle no :exports results :results file replace +exportFig('figs/apa_stroke_time_1s.pdf', 'width', 'wide', 'height', 'normal'); +#+end_src + +#+name: fig:apa_stroke_time_1s +#+caption: Displacement as a function of time for all the APA300ML +#+RESULTS: +[[file:figs/apa_stroke_time_1s.png]] + +Finally, the displacement is shown as a function of the applied voltage in Figure [[fig:apa_d_vs_V_1s]]. +We can clearly see that there is a problem with the APA 3. +Also, there is a large hysteresis. + +#+begin_src matlab :exports none +figure; +hold on; +for i = 1:7 + plot(20*apa300ml_1s{i}.V, 1e6*apa300ml_1s{i}.d, 'DisplayName', sprintf('APA %i', i)) +end +hold off; +xlabel('Voltage [V]'); ylabel('Displacement [$\mu m$]') +legend('location', 'southwest', 'FontSize', 8) +xlim([-20, 160]); ylim([-140, 0]); +#+end_src + +#+begin_src matlab :tangle no :exports results :results file replace +exportFig('figs/apa_d_vs_V_1s.pdf', 'width', 'wide', 'height', 'tall'); +#+end_src + +#+name: fig:apa_d_vs_V_1s +#+caption: Displacement as a function of the applied voltage +#+RESULTS: +[[file:figs/apa_d_vs_V_1s.png]] + +#+begin_important +We can clearly see from Figure [[fig:apa_d_vs_V_1s]] that there is a problem with the APA number 3. +#+end_important + +** Voltage applied on two stacks + +Now look at the relation between the voltage applied to the *two* other stacks to the displacement of the APA as measured by the displacement probe. + +#+begin_src matlab :exports none +apa300ml_2s = {}; +for i = 1:7 + apa300ml_2s(i) = {load(['mat/stroke_apa_2stacks_' num2str(i) '.mat'], 't', 'V', 'd')}; +end +#+end_src + +#+begin_src matlab :exports none +for i = 1:7 + t = apa300ml_2s{i}.t; + apa300ml_2s{i}.d = apa300ml_2s{i}.d - mean(apa300ml_2s{i}.d(t > 1.9 & t < 2.0)); + apa300ml_2s{i}.d = apa300ml_2s{i}.d(t > 2.0 & t < 10.0); + apa300ml_2s{i}.V = apa300ml_2s{i}.V(t > 2.0 & t < 10.0); + apa300ml_2s{i}.t = apa300ml_2s{i}.t(t > 2.0 & t < 10.0); +end +#+end_src + +The obtained displacement is shown in Figure [[fig:apa_stroke_time_2s]]. +The displacement is set to zero at initial time when the voltage applied is -20V. + +#+begin_src matlab :exports none +figure; +hold on; +for i = 1:7 + plot(apa300ml_2s{i}.t, 1e6*apa300ml_2s{i}.d, 'DisplayName', sprintf('APA %i', i)) +end +hold off; +xlabel('Time [s]'); ylabel('Displacement [$\mu m$]') +legend('location', 'southeast', 'FontSize', 8) +ylim([-250, 0]); +#+end_src + +#+begin_src matlab :tangle no :exports results :results file replace +exportFig('figs/apa_stroke_time_2s.pdf', 'width', 'wide', 'height', 'normal'); +#+end_src + +#+name: fig:apa_stroke_time_2s +#+caption: Displacement as a function of time for all the APA300ML +#+RESULTS: +[[file:figs/apa_stroke_time_2s.png]] + +Finally, the displacement is shown as a function of the applied voltage in Figure [[fig:apa_d_vs_V_2s]]. +We can clearly see that there is a problem with the APA 3. +Also, there is a large hysteresis. + +#+begin_src matlab :exports none +figure; +hold on; +for i = 1:7 + plot(20*apa300ml_2s{i}.V, 1e6*apa300ml_2s{i}.d, 'DisplayName', sprintf('APA %i', i)) +end +hold off; +xlabel('Voltage [V]'); ylabel('Displacement [$\mu m$]') +legend('location', 'southwest', 'FontSize', 8) +xlim([-20, 160]); ylim([-250, 0]); +#+end_src + +#+begin_src matlab :tangle no :exports results :results file replace +exportFig('figs/apa_d_vs_V_2s.pdf', 'width', 'wide', 'height', 'tall'); +#+end_src + +#+name: fig:apa_d_vs_V_2s +#+caption: Displacement as a function of the applied voltage +#+RESULTS: +[[file:figs/apa_d_vs_V_2s.png]] + +** Voltage applied on all three stacks + +Finally, we can combine the two measurements to estimate the relation between the displacement and the voltage applied to the *three* stacks (Figure [[fig:apa_d_vs_V_3s]]). + +#+begin_src matlab :exports none +apa300ml_3s = {}; +for i = 1:7 + apa300ml_3s(i) = apa300ml_1s(i); + apa300ml_3s{i}.d = apa300ml_1s{i}.d + apa300ml_2s{i}.d; +end +#+end_src + +#+begin_src matlab :exports none +figure; +hold on; +for i = 1:7 + plot(20*apa300ml_3s{i}.V, 1e6*apa300ml_3s{i}.d, 'DisplayName', sprintf('APA %i', i)) +end +hold off; +xlabel('Voltage [V]'); ylabel('Displacement [$\mu m$]') +legend('location', 'southwest', 'FontSize', 8) +xlim([-20, 160]); ylim([-400, 0]); +#+end_src + +#+begin_src matlab :tangle no :exports results :results file replace +exportFig('figs/apa_d_vs_V_3s.pdf', 'width', 'wide', 'height', 'tall'); +#+end_src + +#+name: fig:apa_d_vs_V_3s +#+caption: Displacement as a function of the applied voltage +#+RESULTS: +[[file:figs/apa_d_vs_V_3s.png]] + +The obtained maximum stroke for all the APA are summarized in Table [[tab:apa_measured_stroke]]. + +#+begin_src matlab :exports none +apa300ml_stroke = zeros(1, 7); +for i = 1:7 + apa300ml_stroke(i) = max(apa300ml_3s{i}.d) - min(apa300ml_3s{i}.d); +end +#+end_src + +#+begin_src matlab :exports results :results value table replace :tangle no :post addhdr(*this*) +data2orgtable(1e6*apa300ml_stroke', {'APA 1', 'APA 2', 'APA 3', 'APA 4', 'APA 5', 'APA 6', 'APA 7'}, {'*Stroke* $[\mu m]$'}, ' %.1f '); +#+end_src + +#+name: tab:apa_measured_stroke +#+caption: Measured maximum stroke +#+attr_latex: :environment tabularx :width 0.25\linewidth :align lc +#+attr_latex: :center t :booktabs t :float t +#+RESULTS: +| | *Stroke* $[\mu m]$ | +|-------+--------------------| +| APA 1 | 373.2 | +| APA 2 | 365.5 | +| APA 3 | 181.7 | +| APA 4 | 359.7 | +| APA 5 | 361.5 | +| APA 6 | 363.9 | +| APA 7 | 358.4 | + * Test-Bench Description #+begin_note diff --git a/test-bench-apa300ml.pdf b/test-bench-apa300ml.pdf index d3ed2de..67c3ff3 100644 Binary files a/test-bench-apa300ml.pdf and b/test-bench-apa300ml.pdf differ