Tangle Matlab files without comments
This commit is contained in:
parent
b75f5cbfbd
commit
c9c6438a63
Binary file not shown.
@ -45,10 +45,10 @@ function [nano_hexapod] = initializeNanoHexapod(args)
|
||||
args.actuator_ce (6,1) double {mustBeNumeric, mustBePositive} = ones(6,1)*100
|
||||
args.actuator_ca (6,1) double {mustBeNumeric, mustBePositive} = ones(6,1)*50
|
||||
args.actuator_Leq (6,1) double {mustBeNumeric} = ones(6,1)*0.056 % [m]
|
||||
% For Flexible Frame
|
||||
% For Flexible Frame
|
||||
args.actuator_ks (6,1) double {mustBeNumeric} = ones(6,1)*235e6 % Stiffness of one stack [N/m]
|
||||
args.actuator_cs (6,1) double {mustBeNumeric} = ones(6,1)*1e1 % Stiffness of one stack [N/m]
|
||||
% Misalignment
|
||||
% Misalignment
|
||||
args.actuator_d_align (6,3) double {mustBeNumeric} = zeros(6,3) % [m]
|
||||
|
||||
args.actuator_xi (1,1) double {mustBeNumeric} = 0.01 % Damping Ratio
|
||||
|
@ -1,5 +1,3 @@
|
||||
% Matlab Init :noexport:ignore:
|
||||
|
||||
%% test_id31_1_metrology.m
|
||||
|
||||
%% Clear Workspace and Close figures
|
||||
@ -34,51 +32,6 @@ specs_dz_rms = 15; % [nm RMS]
|
||||
specs_dy_rms = 30; % [nm RMS]
|
||||
specs_ry_rms = 0.25; % [urad RMS]
|
||||
|
||||
% Metrology Kinematics
|
||||
% <<ssec:test_id31_metrology_kinematics>>
|
||||
|
||||
% The proposed short-stroke metrology system is schematized in Figure ref:fig:test_id31_metrology_kinematics.
|
||||
% The point of interest is indicated by the blue frame $\{B\}$, which is located $H = 150\,mm$ above the nano-hexapod's top platform.
|
||||
% The spheres have a diameter $d = 25.4\,mm$, and the indicated dimensions are $l_1 = 60\,mm$ and $l_2 = 16.2\,mm$.
|
||||
% To compute the pose of the $\{B\}$ frame with respect to the granite (i.e. with respect to the fixed interferometer heads), the measured (small) displacements $[d_1,\ d_2,\ d_3,\ d_4,\ d_5]$ by the interferometers are first written as a function of the (small) linear and angular motion of the $\{B\}$ frame $[D_x,\ D_y,\ D_z,\ R_x,\ R_y]$ eqref:eq:test_id31_metrology_kinematics.
|
||||
|
||||
% \begin{equation}\label{eq:test_id31_metrology_kinematics}
|
||||
% d_1 = D_y - l_2 R_x, \quad d_2 = D_y + l_1 R_x, \quad d_3 = -D_x - l_2 R_y, \quad d_4 = -D_x + l_1 R_y, \quad d_5 = -D_z
|
||||
% \end{equation}
|
||||
|
||||
% #+attr_latex: :options [b]{0.48\linewidth}
|
||||
% #+begin_minipage
|
||||
% #+name: fig:test_id31_metrology_kinematics
|
||||
% #+caption: Schematic of the measurement system. The measured distances are indicated by red arrows.
|
||||
% #+attr_latex: :scale 1 :float nil
|
||||
% [[file:figs/test_id31_metrology_kinematics.png]]
|
||||
% #+end_minipage
|
||||
% \hfill
|
||||
% #+attr_latex: :options [b]{0.48\linewidth}
|
||||
% #+begin_minipage
|
||||
% #+name: fig:test_id31_align_top_sphere_comparators
|
||||
% #+attr_latex: :width \linewidth :float nil
|
||||
% #+caption: The top sphere is aligned with the rotation axis of the spindle using two probes.
|
||||
% [[file:figs/test_id31_align_top_sphere_comparators.jpg]]
|
||||
% #+end_minipage
|
||||
|
||||
% The five equations eqref:eq:test_id31_metrology_kinematics can be written in matrix form, and then inverted to have the pose of the $\{B\}$ frame as a linear combination of the measured five distances by the interferometers eqref:eq:test_id31_metrology_kinematics_inverse.
|
||||
|
||||
% \begin{equation}\label{eq:test_id31_metrology_kinematics_inverse}
|
||||
% \begin{bmatrix}
|
||||
% D_x \\ D_y \\ D_z \\ R_x \\ R_y
|
||||
% \end{bmatrix} = {\underbrace{\begin{bmatrix}
|
||||
% 0 & 1 & 0 & -l_2 & 0 \\
|
||||
% 0 & 1 & 0 & l_1 & 0 \\
|
||||
% -1 & 0 & 0 & 0 & -l_2 \\
|
||||
% -1 & 0 & 0 & 0 & l_1 \\
|
||||
% 0 & 0 & -1 & 0 & 0
|
||||
% \end{bmatrix}}_{\bm{J_d}}}^{-1} \cdot \begin{bmatrix}
|
||||
% d_1 \\ d_2 \\ d_3 \\ d_4 \\ d_5
|
||||
% \end{bmatrix}
|
||||
% \end{equation}
|
||||
|
||||
|
||||
%% Geometrical parameters of the metrology system
|
||||
H = 150e-3;
|
||||
l1 = (150-48-42)*1e-3;
|
||||
@ -91,21 +44,6 @@ Hm = [ 0 1 0 -l2 0;
|
||||
-1 0 0 0 l1;
|
||||
0 0 -1 0 0];
|
||||
|
||||
% Fine Alignment of reference spheres using interferometers
|
||||
% <<ssec:test_id31_metrology_sphere_fine_alignment>>
|
||||
|
||||
% Thanks to the first alignment of the two reference spheres with the spindle axis (Section ref:ssec:test_id31_metrology_sphere_rought_alignment) and to the fine adjustment of the interferometer orientations (Section ref:ssec:test_id31_metrology_alignment), the spindle can perform complete rotations while still having interference for all five interferometers.
|
||||
% Therefore, this metrology can be used to better align the axis defined by the centers of the two spheres with the spindle axis.
|
||||
|
||||
% The alignment process requires few iterations.
|
||||
% First, the spindle is scanned, and alignment errors are recorded.
|
||||
% From the errors, the motion of the micro-hexapod to better align the spheres with the spindle axis is computed and the micro-hexapod is positioned accordingly.
|
||||
% Then, the spindle is scanned again, and new alignment errors are recorded.
|
||||
|
||||
% This iterative process is first performed for angular errors (Figure ref:fig:test_id31_metrology_align_rx_ry) and then for lateral errors (Figure ref:fig:test_id31_metrology_align_dx_dy).
|
||||
% The remaining errors after alignment are in the order of $\pm5\,\mu\text{rad}$ in $R_x$ and $R_y$ orientations, $\pm 1\,\mu m$ in $D_x$ and $D_y$ directions, and less than $0.1\,\mu m$ vertically.
|
||||
|
||||
|
||||
%% Angular alignment
|
||||
% Load Data
|
||||
data_it0 = h5scan(data_dir, 'alignment', 'h1rx_h1ry', 1);
|
||||
@ -168,16 +106,6 @@ legend('location', 'northeast', 'FontSize', 8, 'NumColumns', 1);
|
||||
xlim([-1, 21]);
|
||||
ylim([-8, 14]);
|
||||
|
||||
% Estimated measurement volume
|
||||
% <<ssec:test_id31_metrology_acceptance>>
|
||||
|
||||
% Because the interferometers point to spheres and not flat surfaces, the lateral acceptance is limited.
|
||||
% To estimate the metrology acceptance, the micro-hexapod was used to perform three accurate scans of $\pm 1\,mm$, respectively along the $x$, $y$ and $z$ axes.
|
||||
% During these scans, the 5 interferometers are recorded individually, and the ranges in which each interferometer had enough coupling efficiency to be able to measure the displacement were estimated.
|
||||
% Results are summarized in Table ref:tab:test_id31_metrology_acceptance.
|
||||
% The obtained lateral acceptance for pure displacements in any direction is estimated to be around $+/-0.5\,mm$, which is enough for the current application as it is well above the micro-station errors to be actively corrected by the NASS.
|
||||
|
||||
|
||||
%% Estimated acceptance of the metrology
|
||||
% This is estimated by moving the spheres using the micro-hexapod
|
||||
|
||||
@ -229,30 +157,6 @@ for i = [1:size(dz_acceptance, 1)]
|
||||
end
|
||||
end
|
||||
|
||||
% Estimated measurement errors
|
||||
% <<ssec:test_id31_metrology_errors>>
|
||||
|
||||
% When using the NASS, the accuracy of the sample positioning is determined by the accuracy of the external metrology.
|
||||
% However, the validation of the nano-hexapod, the associated instrumentation, and the control architecture is independent of the accuracy of the metrology system.
|
||||
% Only the bandwidth and noise characteristics of the external metrology are important.
|
||||
% However, some elements that affect the accuracy of the metrology system are discussed here.
|
||||
|
||||
% First, the "metrology kinematics" (discussed in Section ref:ssec:test_id31_metrology_kinematics) is only approximate (i.e. valid for small displacements).
|
||||
% This can be easily seen when performing lateral $[D_x,\,D_y]$ scans using the micro-hexapod while recording the vertical interferometer (Figure ref:fig:test_id31_xy_map_sphere).
|
||||
% As the top interferometer points to a sphere and not to a plane, lateral motion of the sphere is seen as a vertical motion by the top interferometer.
|
||||
|
||||
% Then, the reference spheres have some deviations relative to an ideal sphere [fn:test_id31_6].
|
||||
% These sphere are originally intended for use with capacitive sensors that integrate shape errors over large surfaces.
|
||||
% When using interferometers, the size of the "light spot" on the sphere surface is a circle with a diameter approximately equal to $50\,\mu m$, and therefore the measurement is more sensitive to shape errors with small features.
|
||||
|
||||
% As the light from the interferometer travels through air (as opposed to being in vacuum), the measured distance is sensitive to any variation in the refractive index of the air.
|
||||
% Therefore, any variation in air temperature, pressure or humidity will induce measurement errors.
|
||||
% For instance, for a measurement length of $40\,mm$, a temperature variation of $0.1\,{}^oC$ (which is typical for the ID31 experimental hutch) induces errors in the distance measurement of $\approx 4\,nm$.
|
||||
|
||||
% Interferometers are also affected by noise [[cite:&watchi18_review_compac_inter]].
|
||||
% The effect of noise on the translation and rotation measurements is estimated in Figure ref:fig:test_id31_interf_noise.
|
||||
|
||||
|
||||
%% Interferometer noise estimation
|
||||
data = load("test_id31_interf_noise.mat");
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
% Matlab Init :noexport:ignore:
|
||||
|
||||
%% test_id31_2_open_loop_plant.m
|
||||
|
||||
%% Clear Workspace and Close figures
|
||||
@ -37,21 +35,6 @@ specs_dz_rms = 15; % [nm RMS]
|
||||
specs_dy_rms = 30; % [nm RMS]
|
||||
specs_ry_rms = 0.25; % [urad RMS]
|
||||
|
||||
% Open-Loop Plant Identification
|
||||
% <<ssec:test_id31_open_loop_plant_first_id>>
|
||||
|
||||
% The dynamics of the plant is first identified for a fixed spindle angle (at $0\,\text{deg}$) and without any payload.
|
||||
% The model dynamics is also identified under the same conditions.
|
||||
|
||||
% A comparison between the model and the measured dynamics is presented in Figure ref:fig:test_id31_first_id.
|
||||
% A good match can be observed for the diagonal dynamics (except the high frequency modes which are not modeled).
|
||||
% However, the coupling of the transfer function from command signals $\bm{u}$ to the estimated strut motion from the external metrology $\bm{\epsilon\mathcal{L}}$ is larger than expected (Figure ref:fig:test_id31_first_id_int).
|
||||
|
||||
% The experimental time delay estimated from the FRF (Figure ref:fig:test_id31_first_id_int) is larger than expected.
|
||||
% After investigation, it was found that the additional delay was due to a digital processing unit[fn:test_id31_3] that was used to get the interferometers' signals in the Speedgoat.
|
||||
% This issue was later solved.
|
||||
|
||||
|
||||
%% Identify the plant dynamics using the Simscape model
|
||||
|
||||
% Initialize each Simscape model elements
|
||||
@ -214,19 +197,6 @@ ylim([-90, 180])
|
||||
linkaxes([ax1,ax2],'x');
|
||||
xlim([1, 1e3]);
|
||||
|
||||
% Better Angular Alignment
|
||||
% <<ssec:test_id31_open_loop_plant_rz_alignment>>
|
||||
|
||||
% One possible explanation of the increased coupling observed in Figure ref:fig:test_id31_first_id_int is the poor alignment between the external metrology axes (i.e. the interferometer supports) and the nano-hexapod axes.
|
||||
% To estimate this alignment, a decentralized low-bandwidth feedback controller based on the nano-hexapod encoders was implemented.
|
||||
% This allowed to perform two straight movements of the nano-hexapod along its $x$ and $y$ axes.
|
||||
% During these two movements, external metrology measurements were recorded and the results are shown in Figure ref:fig:test_id31_Rz_align_error_and_correct.
|
||||
% It was found that there was a misalignment of 2.7 degrees (rotation along the vertical axis) between the interferometer axes and nano-hexapod axes.
|
||||
% This was corrected by adding an offset to the spindle angle.
|
||||
% After alignment, the same movement was performed using the nano-hexapod while recording the signal of the external metrology.
|
||||
% Results shown in Figure ref:fig:test_id31_Rz_align_correct are indeed indicating much better alignment.
|
||||
|
||||
|
||||
%% Load Data
|
||||
data_1_dx = h5scan(data_dir, 'align_int_enc_Rz', 'tx_first_scan', 2);
|
||||
data_1_dy = h5scan(data_dir, 'align_int_enc_Rz', 'tx_first_scan', 3);
|
||||
@ -277,33 +247,6 @@ xticks([-10:5:10]); yticks([-10:5:10]);
|
||||
leg = legend('location', 'southeast', 'FontSize', 8, 'NumColumns', 1);
|
||||
leg.ItemTokenSize(1) = 15;
|
||||
|
||||
|
||||
|
||||
% #+name: fig:test_id31_Rz_align_error_and_correct
|
||||
% #+caption: Measurement of the Nano-Hexapod axes in the frame of the external metrology. Before alignment (\subref{fig:test_id31_Rz_align_error}) and after alignment (\subref{fig:test_id31_Rz_align_correct}).
|
||||
% #+attr_latex: :options [htbp]
|
||||
% #+begin_figure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_Rz_align_error}Before alignment}
|
||||
% #+attr_latex: :options {0.49\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :scale 1
|
||||
% [[file:figs/test_id31_Rz_align_error.png]]
|
||||
% #+end_subfigure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_Rz_align_correct}After alignment}
|
||||
% #+attr_latex: :options {0.49\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :scale 1
|
||||
% [[file:figs/test_id31_Rz_align_correct.png]]
|
||||
% #+end_subfigure
|
||||
% #+end_figure
|
||||
|
||||
% The dynamics of the plant was identified again after fine alignment and compared with the model dynamics in Figure ref:fig:test_id31_first_id_int_better_rz_align.
|
||||
% Compared to the initial identification shown in Figure ref:fig:test_id31_first_id_int, the obtained coupling was decreased and was close to the coupling obtained with the multi-body model.
|
||||
% At low frequency (below $10\,\text{Hz}$), all off-diagonal elements have an amplitude $\approx 100$ times lower than the diagonal elements, indicating that a low bandwidth feedback controller can be implemented in a decentralized manner (i.e. $6$ SISO controllers).
|
||||
% Between $650\,\text{Hz}$ and $1000\,\text{Hz}$, several modes can be observed, which are due to flexible modes of the top platform and the modes of the two spheres adjustment mechanism.
|
||||
% The flexible modes of the top platform can be passively damped, whereas the modes of the two reference spheres should not be present in the final application.
|
||||
|
||||
|
||||
%% Identification of the plant after Rz alignment
|
||||
data_align = load('2023-08-17_17-37_ol_plant_m0_Wz0_new_Rz_align.mat');
|
||||
|
||||
@ -349,47 +292,6 @@ xlim([1, 1e3]); ylim([2e-9, 2e-4]);
|
||||
leg = legend('location', 'southeast', 'FontSize', 8, 'NumColumns', 2);
|
||||
leg.ItemTokenSize(1) = 15;
|
||||
|
||||
% Effect of Payload Mass
|
||||
% <<ssec:test_id31_open_loop_plant_mass>>
|
||||
|
||||
% To determine how the system dynamics changes with the payload, open-loop identification was performed for four payload conditions shown in Figure ref:fig:test_id31_picture_masses.
|
||||
% The obtained direct terms are compared with the model dynamics in Figure ref:fig:test_id31_comp_simscape_diag_masses.
|
||||
% It was found that the model well predicts the measured dynamics under all payload conditions.
|
||||
% Therefore, the model can be used for model-based control is necessary.
|
||||
|
||||
% It is interesting to note that the anti-resonances in the force sensor plant now appear as minimum-phase, as the model predicts (Figure ref:fig:test_id31_comp_simscape_iff_diag_masses).
|
||||
|
||||
% #+name: fig:test_id31_picture_masses
|
||||
% #+caption: The four tested payload conditions. (\subref{fig:test_id31_picture_mass_m0}) without payload. (\subref{fig:test_id31_picture_mass_m1}) with $13\,\text{kg}$ payload. (\subref{fig:test_id31_picture_mass_m2}) with $26\,\text{kg}$ payload. (\subref{fig:test_id31_picture_mass_m3}) with $39\,\text{kg}$ payload.
|
||||
% #+attr_latex: :options [htbp]
|
||||
% #+begin_figure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_picture_mass_m0}$m=0\,\text{kg}$}
|
||||
% #+attr_latex: :options {0.24\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :width 0.99\linewidth
|
||||
% [[file:figs/test_id31_picture_mass_m0.jpg]]
|
||||
% #+end_subfigure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_picture_mass_m1}$m=13\,\text{kg}$}
|
||||
% #+attr_latex: :options {0.24\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :width 0.99\linewidth
|
||||
% [[file:figs/test_id31_picture_mass_m1.jpg]]
|
||||
% #+end_subfigure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_picture_mass_m2}$m=26\,\text{kg}$}
|
||||
% #+attr_latex: :options {0.24\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :width 0.99\linewidth
|
||||
% [[file:figs/test_id31_picture_mass_m2.jpg]]
|
||||
% #+end_subfigure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_picture_mass_m3}$m=39\,\text{kg}$}
|
||||
% #+attr_latex: :options {0.24\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :width 0.99\linewidth
|
||||
% [[file:figs/test_id31_picture_mass_m3.jpg]]
|
||||
% #+end_subfigure
|
||||
% #+end_figure
|
||||
|
||||
|
||||
%% Identify the model dynamics for all payload conditions
|
||||
% Initialize each Simscape model elements
|
||||
initializeGround();
|
||||
@ -667,18 +569,6 @@ linkaxes([ax1,ax2],'x');
|
||||
xlim([10, 5e2]);
|
||||
xticks([10, 20, 50, 100, 200, 500])
|
||||
|
||||
% Effect of Spindle Rotation
|
||||
% <<ssec:test_id31_open_loop_plant_rotation>>
|
||||
|
||||
% To verify that all the kinematics in Figure ref:fig:test_id31_block_schematic_plant are correct and to check whether the system dynamics is affected by Spindle rotation of not, three identification experiments were performed: no spindle rotation, spindle rotation at $36\,\text{deg}/s$ and at $180\,\text{deg}/s$.
|
||||
|
||||
% The obtained dynamics from command signal $u$ to estimated strut error $\epsilon\mathcal{L}$ are displayed in Figure ref:fig:test_id31_effect_rotation.
|
||||
% Both direct terms (Figure ref:fig:test_id31_effect_rotation_direct) and coupling terms (Figure ref:fig:test_id31_effect_rotation_coupling) are unaffected by the rotation.
|
||||
% The same can be observed for the dynamics from command signal to encoders and to force sensors.
|
||||
% This confirms that spindle's rotation has no significant effect on plant dynamics.
|
||||
% This also indicates that the metrology kinematics is correct and is working in real time.
|
||||
|
||||
|
||||
%% Identify the model dynamics with Spindle rotation
|
||||
initializeSample('type', '0');
|
||||
initializeReferences(...
|
||||
|
@ -1,5 +1,3 @@
|
||||
% Matlab Init :noexport:ignore:
|
||||
|
||||
%% test_id31_3_iff.m
|
||||
|
||||
%% Clear Workspace and Close figures
|
||||
@ -37,18 +35,6 @@ specs_dz_rms = 15; % [nm RMS]
|
||||
specs_dy_rms = 30; % [nm RMS]
|
||||
specs_ry_rms = 0.25; % [urad RMS]
|
||||
|
||||
% IFF Plant
|
||||
% <<ssec:test_id31_iff_plant>>
|
||||
|
||||
% As the multi-body model is used to evaluate the stability of the IFF controller and to optimize the achievable damping, it is first checked whether this model accurately represents the system dynamics.
|
||||
|
||||
% In the previous section (Figure ref:fig:test_id31_comp_simscape_iff_diag_masses), it was shown that the model well captures the dynamics from each actuator to its collocated force sensor, and that for all considered payloads.
|
||||
% Nevertheless, it is also important to well model the coupling in the system.
|
||||
% To verify that, instead of comparing the 36 elements of the $6 \times 6$ frequency response matrix from $\bm{u}$ to $\bm{V_s}$, only 6 elements are compared in Figure ref:fig:test_id31_comp_simscape_Vs.
|
||||
% Similar results were obtained for all other 30 elements and for the different payload conditions.
|
||||
% This confirms that the multi-body model can be used to tune the IFF controller.
|
||||
|
||||
|
||||
% Load identified FRF for IFF Plant and Multi-Body Model
|
||||
load('test_id31_identified_open_loop_plants.mat', 'G_iff_m0_Wz0', 'G_iff_m1_Wz0', 'G_iff_m2_Wz0', 'G_iff_m3_Wz0', 'f');
|
||||
load('test_id31_simscape_open_loop_plants.mat', 'Gm_m0_Wz0', 'Gm_m1_Wz0', 'Gm_m2_Wz0', 'Gm_m3_Wz0');
|
||||
@ -122,21 +108,6 @@ xticks([10, 20, 50, 100, 200])
|
||||
linkaxes([ax1,ax2,ax3,ax4,ax5,ax6],'xy');
|
||||
xlim([10, 5e2]); ylim([1e-2, 5e1]);
|
||||
|
||||
% IFF Controller
|
||||
% <<ssec:test_id31_iff_controller>>
|
||||
|
||||
% A decentralized IFF controller was designed to add damping to the suspension modes of the nano-hexapod for all considered payloads.
|
||||
% The frequency of the suspension modes are ranging from $\approx 30\,\text{Hz}$ to $\approx 250\,\text{Hz}$ (Figure ref:fig:test_id31_comp_simscape_iff_diag_masses), and therefore, the IFF controller should provide integral action in this frequency range.
|
||||
% A second-order high-pass filter (cut-off frequency of $10\,\text{Hz}$) was added to limit the low frequency gain eqref:eq:test_id31_Kiff.
|
||||
|
||||
% \begin{equation}\label{eq:test_id31_Kiff}
|
||||
% K_{\text{IFF}} = g_0 \cdot \underbrace{\frac{1}{s}}_{\text{int}} \cdot \underbrace{\frac{s^2/\omega_z^2}{s^2/\omega_z^2 + 2\xi_z s /\omega_z + 1}}_{\text{2nd order LPF}},\quad \left(g_0 = -100,\ \omega_z = 2\pi10\,\text{rad/s},\ \xi_z = 0.7\right)
|
||||
% \end{equation}
|
||||
|
||||
% The bode plot of the decentralized IFF controller is shown in Figure ref:fig:test_id31_Kiff_bode_plot and the "decentralized loop-gains" for all considered payload masses are shown in Figure ref:fig:test_id31_Kiff_loop_gain.
|
||||
% It can be seen that the loop-gain is larger than $1$ around the suspension modes, which indicates that some damping should be added to the suspension modes.
|
||||
|
||||
|
||||
%% IFF Controller Design
|
||||
% Second order high pass filter
|
||||
wz = 2*pi*10;
|
||||
@ -219,34 +190,6 @@ ylim([-180, 180])
|
||||
linkaxes([ax1,ax2],'x');
|
||||
xlim([1, 1e3]);
|
||||
|
||||
|
||||
|
||||
% #+name: fig:test_id31_Kiff
|
||||
% #+caption: Bode plot of the decentralized IFF controller (\subref{fig:test_id31_Kiff_bode_plot}). The decentralized controller $K_{\text{IFF}}$ multiplied by the identified dynamics from $u_1$ to $V_{s1}$ for all payloads are shown in (\subref{fig:test_id31_Kiff_loop_gain})
|
||||
% #+attr_latex: :options [htbp]
|
||||
% #+begin_figure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_Kiff_bode_plot}Bode plot of $K_{\text{IFF}}$}
|
||||
% #+attr_latex: :options {0.49\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :width 0.95\linewidth
|
||||
% [[file:figs/test_id31_Kiff_bode_plot.png]]
|
||||
% #+end_subfigure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_Kiff_loop_gain}Decentralized Loop gains}
|
||||
% #+attr_latex: :options {0.49\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :width 0.95\linewidth
|
||||
% [[file:figs/test_id31_Kiff_loop_gain.png]]
|
||||
% #+end_subfigure
|
||||
% #+end_figure
|
||||
|
||||
% To estimate the added damping, a root-locus plot was computed using the multi-body model (Figure ref:fig:test_id31_iff_root_locus).
|
||||
% It can be seen that for all considered payloads, the poles are bounded to the "left-half plane" indicating that the decentralized IFF is robust.
|
||||
% The closed-loop poles for the chosen gain value are represented by black crosses.
|
||||
% It can be seen that while damping can be added for all payloads (as compared to the open-loop case), the optimal value of the gain is different for each payload.
|
||||
% For low payload masses, a higher IFF controller gain can lead to better damping.
|
||||
% However, in this study, it was chosen to implement a "fixed" (i.e. non-adaptive) decentralized IFF controller.
|
||||
|
||||
|
||||
%% Root Locus for IFF
|
||||
gains = logspace(-2, 2, 100);
|
||||
Gm_iff_m0 = Gm_m0_Wz0({'Vs1', 'Vs2', 'Vs3', 'Vs4', 'Vs5', 'Vs6'}, {'u1', 'u2', 'u3', 'u4', 'u5', 'u6'});
|
||||
@ -357,17 +300,6 @@ xlim([-200, 0]); ylim([0, 500]);
|
||||
set(gca, 'XTickLabel',[]); set(gca, 'YTickLabel',[]);
|
||||
xlabel('Real part'); ylabel('Imaginary part');
|
||||
|
||||
% Damped Plant
|
||||
% <<ssec:test_id31_iff_perf>>
|
||||
|
||||
% As the model accurately represents the system dynamics, it can be used to estimate the damped plant, i.e. the transfer functions from $\bm{u}^\prime$ to $\bm{\mathcal{L}}$.
|
||||
% The obtained damped plants are compared to the open-loop plants in Figure ref:fig:test_id31_comp_ol_iff_plant_model.
|
||||
% The peak amplitudes corresponding to the suspension modes were approximately reduced by a factor $10$ for all considered payloads, indicating the effectiveness of the decentralized IFF control strategy.
|
||||
|
||||
% To experimentally validate the Decentralized IFF controller, it was implemented and the damped plants (i.e. the transfer function from $\bm{u}^\prime$ to $\bm{\epsilon\mathcal{L}}$) were identified for all payload conditions.
|
||||
% The obtained frequency response functions are compared with the model in Figure ref:fig:test_id31_hac_plant_effect_mass verifying the good correlation between the predicted damped plant using the multi-body model and the experimental results.
|
||||
|
||||
|
||||
%% Estimate damped plant from Multi-Body model
|
||||
Gm_hac_m0_Wz0 = feedback(Gm_m0_Wz0, Kiff, 'name', +1);
|
||||
Gm_hac_m1_Wz0 = feedback(Gm_m1_Wz0, Kiff, 'name', +1);
|
||||
|
@ -1,5 +1,3 @@
|
||||
% Matlab Init :noexport:ignore:
|
||||
|
||||
%% test_id31_4_hac.m
|
||||
|
||||
%% Clear Workspace and Close figures
|
||||
@ -37,13 +35,6 @@ specs_dz_rms = 15; % [nm RMS]
|
||||
specs_dy_rms = 30; % [nm RMS]
|
||||
specs_ry_rms = 0.25; % [urad RMS]
|
||||
|
||||
% Damped Plant
|
||||
% <<ssec:test_id31_iff_hac_plant>>
|
||||
|
||||
% To verify whether the multi-body model accurately represents the measured damped dynamics, both the direct terms and coupling terms corresponding to the first actuator are compared in Figure ref:fig:test_id31_comp_simscape_hac.
|
||||
% Considering the complexity of the system's dynamics, the model can be considered to represent the system's dynamics with good accuracy, and can therefore be used to tune the feedback controller and evaluate its performance.
|
||||
|
||||
|
||||
% Load the estimated damped plant from the multi-body model
|
||||
load('test_id31_simscape_damped_plants.mat', 'Gm_hac_m0_Wz0', 'Gm_hac_m1_Wz0', 'Gm_hac_m2_Wz0', 'Gm_hac_m3_Wz0');
|
||||
% Load the measured damped plants
|
||||
@ -120,19 +111,6 @@ leg.ItemTokenSize(1) = 15;
|
||||
linkaxes([ax1,ax2,ax3,ax4,ax5,ax6],'xy');
|
||||
xlim([10, 5e2]); ylim([1e-7, 4e-5]);
|
||||
|
||||
|
||||
|
||||
% #+name: fig:test_id31_comp_simscape_hac
|
||||
% #+caption: Comparison of the measured (in blue) and modeled (in red) frequency transfer functions from the first control signal ($u_1^\prime$) of the damped plant to the estimated errors ($\epsilon_{\mathcal{L}_i}$) in the frame of the six struts by the external metrology
|
||||
% #+RESULTS:
|
||||
% [[file:figs/test_id31_comp_simscape_hac.png]]
|
||||
|
||||
% The challenge here is to tune a high authority controller such that it is robust to the change in dynamics due to different payloads being used.
|
||||
% Without using the HAC-LAC strategy, it would be necessary to design a controller that provides good performance for all undamped dynamics (blue curves in Figure ref:fig:test_id31_comp_all_undamped_damped_plants), which is a very complex control problem.
|
||||
% With the HAC-LAC strategy, the designed controller must be robust to all the damped dynamics (red curves in Figure ref:fig:test_id31_comp_all_undamped_damped_plants), which is easier from a control perspective.
|
||||
% This is one of the key benefits of using the HAC-LAC strategy.
|
||||
|
||||
|
||||
%% Comparison of all the undamped FRF and all the damped FRF
|
||||
figure;
|
||||
tiledlayout(3, 1, 'TileSpacing', 'compact', 'Padding', 'None');
|
||||
@ -184,30 +162,6 @@ ylim([-270, 20])
|
||||
linkaxes([ax1,ax2],'x');
|
||||
xlim([1, 5e2]);
|
||||
|
||||
% Interaction Analysis
|
||||
% <<sec:test_id31_hac_interaction_analysis>>
|
||||
|
||||
% The control strategy here is to apply a diagonal control in the frame of the struts; thus, it is important to determine the frequency at which the multivariable effects become significant, as this represents a critical limitation of the control approach.
|
||||
% To conduct this interaction analysis, the acrfull:rga $\bm{\Lambda_G}$ is first computed using eqref:eq:test_id31_rga for the plant dynamics identified with the multiple payload masses.
|
||||
|
||||
% \begin{equation}\label{eq:test_id31_rga}
|
||||
% \bm{\Lambda_G}(\omega) = \bm{G}(j\omega) \star \left(\bm{G}(j\omega)^{-1}\right)^{T}, \quad (\star \text{ means element wise multiplication})
|
||||
% \end{equation}
|
||||
|
||||
% Then, acrshort:rga numbers are computed using eqref:eq:test_id31_rga_number and are use as a metric for interaction [[cite:&skogestad07_multiv_feedb_contr chapt. 3.4]].
|
||||
|
||||
% \begin{equation}\label{eq:test_id31_rga_number}
|
||||
% \text{RGA number}(\omega) = \|\bm{\Lambda_G}(\omega) - \bm{I}\|_{\text{sum}}
|
||||
% \end{equation}
|
||||
|
||||
% The obtained acrshort:rga numbers are compared in Figure ref:fig:test_id31_hac_rga_number.
|
||||
% The results indicate that higher payload masses increase the coupling when implementing control in the strut reference frame (i.e., decentralized approach).
|
||||
% This indicates that achieving high bandwidth feedback control is increasingly challenging as the payload mass increases.
|
||||
% This behavior can be attributed to the fundamental approach of implementing control in the frame of the struts.
|
||||
% Above the suspension modes of the nano-hexapod, the motion induced by the piezoelectric actuators is no longer dictated by kinematics but rather by the inertia of the different parts.
|
||||
% This design choice, while beneficial for system simplicity, introduces inherent limitations in the system's ability to handle larger masses at high frequency.
|
||||
|
||||
|
||||
%% Interaction Analysis - RGA Number
|
||||
rga_m0 = zeros(1,size(G_hac_m0_Wz0,1));
|
||||
for i = 1:length(rga_m0)
|
||||
@ -236,29 +190,13 @@ plot(f, rga_m0, 'DisplayName', '$m = 0$ kg')
|
||||
plot(f, rga_m1, 'DisplayName', '$m = 13$ kg')
|
||||
plot(f, rga_m2, 'DisplayName', '$m = 26$ kg')
|
||||
plot(f, rga_m3, 'DisplayName', '$m = 39$ kg')
|
||||
hold off;
|
||||
xlabel('Frequency [Hz]'); ylabel('RGA number');
|
||||
set(gca, 'XScale', 'log'); set(gca, 'YScale', 'lin');
|
||||
xlim([1, 1e2]); ylim([0, 10]);
|
||||
leg = legend('location', 'northwest', 'FontSize', 8, 'NumColumns', 2);
|
||||
leg.ItemTokenSize(1) = 15;
|
||||
|
||||
% Robust Controller Design
|
||||
% <<ssec:test_id31_iff_hac_controller>>
|
||||
|
||||
% A diagonal controller was designed to be robust against changes in payload mass, which means that every damped plant shown in Figure ref:fig:test_id31_comp_all_undamped_damped_plants must be considered during the controller design.
|
||||
% For this controller design, a crossover frequency of $5\,\text{Hz}$ was chosen to limit the multivariable effects, as explain in Section ref:sec:test_id31_hac_interaction_analysis.
|
||||
% One integrator is added to increase the low-frequency gain, a lead is added around $5\,\text{Hz}$ to increase the stability margins and a first-order low-pass filter with a cut-off frequency of $30\,\text{Hz}$ is added to improve the robustness to dynamical uncertainty at high frequency.
|
||||
% The controller transfer function is shown in eqref:eq:test_id31_robust_hac.
|
||||
|
||||
% \begin{equation}\label{eq:test_id31_robust_hac}
|
||||
% K_{\text{HAC}}(s) = g_0 \cdot \underbrace{\frac{\omega_c}{s}}_{\text{int}} \cdot \underbrace{\frac{1}{\sqrt{\alpha}}\frac{1 + \frac{s}{\omega_c/\sqrt{\alpha}}}{1 + \frac{s}{\omega_c\sqrt{\alpha}}}}_{\text{lead}} \cdot \underbrace{\frac{1}{1 + \frac{s}{\omega_0}}}_{\text{LPF}}, \quad \left( \omega_c = 2\pi5\,\text{rad/s},\ \alpha = 2,\ \omega_0 = 2\pi30\,\text{rad/s} \right)
|
||||
% \end{equation}
|
||||
|
||||
% The obtained "decentralized" loop-gains (i.e. the diagonal element of the controller times the diagonal terms of the plant) are shown in Figure ref:fig:test_id31_hac_loop_gain.
|
||||
% The closed-loop stability was verified by computing the characteristic Loci (Figure ref:fig:test_id31_hac_characteristic_loci).
|
||||
% However, small stability margins were observed for the highest mass, indicating that some multivariable effects are in play.
|
||||
|
||||
|
||||
%% HAC Design
|
||||
% Wanted crossover
|
||||
wc = 2*pi*5; % [rad/s]
|
||||
@ -382,15 +320,6 @@ leg.ItemTokenSize(1) = 15;
|
||||
axis square
|
||||
xlim([-1.5, 0.5]); ylim([-1, 1]);
|
||||
|
||||
% Performance estimation with simulation of Tomography scans
|
||||
% <<ssec:test_id31_iff_hac_perf>>
|
||||
|
||||
% To estimate the performances that can be expected with this HAC-LAC architecture and the designed controller, simulations of tomography experiments were performed[fn:test_id31_4].
|
||||
% The rotational velocity was set to $180\,\text{deg/s}$, and no payload was added on top of the nano-hexapod.
|
||||
% An open-loop simulation and a closed-loop simulation were performed and compared in Figure ref:fig:test_id31_tomo_m0_30rpm_robust_hac_iff_sim.
|
||||
% The obtained closed-loop positioning accuracy was found to comply with the requirements as it succeeded to keep the point of interest on the beam (Figure ref:fig:test_id31_tomo_m0_30rpm_robust_hac_iff_sim_yz).
|
||||
|
||||
|
||||
%% Tomography experiment
|
||||
% Sample is not centered with the rotation axis
|
||||
% This is done by offsetfing the micro-hexapod by 0.9um
|
||||
@ -492,17 +421,6 @@ xlim([-300, 300]); ylim([-100, 100]);
|
||||
leg = legend('location', 'northeast', 'FontSize', 8, 'NumColumns', 1);
|
||||
leg.ItemTokenSize(1) = 15;
|
||||
|
||||
% Robustness estimation with simulation of Tomography scans
|
||||
% <<ssec:test_id31_iff_hac_robustness>>
|
||||
|
||||
% To verify the robustness against payload mass variations, four simulations of tomography experiments were performed with payloads as shown Figure ref:fig:test_id31_picture_masses (i.e. $0\,kg$, $13\,kg$, $26\,kg$ and $39\,kg$).
|
||||
% The rotational velocity was set at $6\,\text{deg/s}$, which is the typical rotational velocity for heavy samples.
|
||||
|
||||
% The closed-loop systems were stable under all payload conditions, indicating good control robustness.
|
||||
% However, the positioning errors worsen as the payload mass increases, especially in the lateral $D_y$ direction, as shown in Figure ref:fig:test_id31_hac_tomography_Wz36_simulation.
|
||||
% However, it was decided that this controller should be tested experimentally and improved only if necessary.
|
||||
|
||||
|
||||
%% Simulation of tomography experiments at 1RPM with all payloads
|
||||
% Configuration
|
||||
open(mdl);
|
||||
|
@ -1,5 +1,3 @@
|
||||
% Matlab Init :noexport:ignore:
|
||||
|
||||
%% test_id31_5_experiments.m
|
||||
|
||||
%% Clear Workspace and Close figures
|
||||
@ -34,18 +32,6 @@ specs_dz_rms = 15; % [nm RMS]
|
||||
specs_dy_rms = 30; % [nm RMS]
|
||||
specs_ry_rms = 0.25; % [urad RMS]
|
||||
|
||||
% Slow Tomography scans
|
||||
|
||||
% First, tomography scans were performed with a rotational velocity of $6\,\text{deg/s}$ for all considered payload masses (shown in Figure ref:fig:test_id31_picture_masses).
|
||||
% Each experimental sequence consisted of two complete spindle rotations: an initial open-loop rotation followed by a closed-loop rotation.
|
||||
% The experimental results for the $26\,\text{kg}$ payload are presented in Figure ref:fig:test_id31_tomo_m2_1rpm_robust_hac_iff_fit.
|
||||
|
||||
% Due to the static deformation of the micro-station stages under payload loading, a significant eccentricity was observed between the point of interest and the spindle rotation axis.
|
||||
% To establish a theoretical lower bound for open-loop errors, an ideal scenario was assumed, where the point of interest perfectly aligns with the spindle rotation axis.
|
||||
% This idealized case was simulated by first calculating the eccentricity through circular fitting (represented by the dashed black circle in Figure ref:fig:test_id31_tomo_m2_1rpm_robust_hac_iff_fit), and then subtracting it from the measured data, as shown in Figure ref:fig:test_id31_tomo_m2_1rpm_robust_hac_iff_fit_removed.
|
||||
% While this approach likely underestimates actual open-loop errors, as perfect alignment is practically unattainable, it enables a more balanced comparison with closed-loop performance.
|
||||
|
||||
|
||||
%% Load Tomography scans with robust controller
|
||||
data_tomo_m0_Wz6 = load("2023-08-11_11-37_tomography_1rpm_m0.mat");
|
||||
data_tomo_m0_Wz6.time = Ts*[0:length(data_tomo_m0_Wz6.Rz)-1];
|
||||
@ -116,31 +102,6 @@ yticks([-0.4:0.2:0.6]);
|
||||
leg = legend('location', 'northeast', 'FontSize', 8, 'NumColumns', 1);
|
||||
leg.ItemTokenSize(1) = 15;
|
||||
|
||||
|
||||
|
||||
% #+name: fig:test_id31_tomo_m2_1rpm_robust_hac_iff
|
||||
% #+caption: Tomography experiment with a rotation velocity of $6\,\text{deg/s}$, and payload mass of 26kg. Errors in the $(x,y)$ plane are shown in (\subref{fig:test_id31_tomo_m2_1rpm_robust_hac_iff_fit}). The estimated eccentricity is represented by the black dashed circle. The errors with subtracted eccentricity are shown in (\subref{fig:test_id31_tomo_m2_1rpm_robust_hac_iff_fit_removed}).
|
||||
% #+attr_latex: :options [htbp]
|
||||
% #+begin_figure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_tomo_m2_1rpm_robust_hac_iff_fit}Errors in $(x,y)$ plane}
|
||||
% #+attr_latex: :options {0.49\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :scale 0.9
|
||||
% [[file:figs/test_id31_tomo_m2_1rpm_robust_hac_iff_fit.png]]
|
||||
% #+end_subfigure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_tomo_m2_1rpm_robust_hac_iff_fit_removed}Removed eccentricity}
|
||||
% #+attr_latex: :options {0.49\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :scale 0.9
|
||||
% [[file:figs/test_id31_tomo_m2_1rpm_robust_hac_iff_fit_removed.png]]
|
||||
% #+end_subfigure
|
||||
% #+end_figure
|
||||
|
||||
% The residual motion (i.e. after compensating for eccentricity) in the $Y-Z$ is compared against the minimum beam size, as illustrated in Figure ref:fig:test_id31_tomo_Wz36_results.
|
||||
% Results are indicating the NASS succeeds in keeping the sample's point of interest on the beam, except for the highest mass of $39\,\text{kg}$ for which the lateral motion is a bit too high.
|
||||
% These experimental findings are consistent with the predictions from the tomography simulations presented in Section ref:ssec:test_id31_iff_hac_robustness.
|
||||
|
||||
|
||||
%% Tomography experiment at 1rpm - Results in the YZ - All masses tested
|
||||
figure;
|
||||
tiledlayout(2, 2, 'TileSpacing', 'compact', 'Padding', 'None');
|
||||
@ -205,14 +166,6 @@ xticks([-800:200:800]); yticks([-100:100:100]);
|
||||
leg = legend('location', 'southeast', 'FontSize', 8, 'NumColumns', 1);
|
||||
leg.ItemTokenSize(1) = 15;
|
||||
|
||||
|
||||
|
||||
% #+name: fig:test_id31_tomo_Wz36_results
|
||||
% #+caption: Measured errors in the $Y-Z$ plane during tomography experiments at $6\,\text{deg/s}$ for all considered payloads. In the open-loop case, the effect of eccentricity is removed from the data.
|
||||
% #+RESULTS:
|
||||
% [[file:figs/test_id31_tomo_Wz36_results.png]]
|
||||
|
||||
|
||||
%% Estimate RMS of the errors while in closed-loop and open-loop - Tomography at 6deg/s
|
||||
% No mass
|
||||
data_tomo_m0_Wz6.Dy_rms_cl = rms(detrend(data_tomo_m0_Wz6.Dy_int(i_m0+1e4:end), 0));
|
||||
@ -270,14 +223,6 @@ fun = @(theta)rms((data_tomo_m3_Wz6.Rx_int(1:i_m3) - (x0 + R*cos(data_tomo_m3_Wz
|
||||
delta_theta = fminsearch(fun, 0);
|
||||
data_tomo_m3_Wz6.Ry_rms_ol = rms(data_tomo_m3_Wz6.Ry_int(1:i_m3) - (y0 + R*sin(data_tomo_m3_Wz6.Rz(1:i_m3)+delta_theta)));
|
||||
|
||||
% Fast Tomography scans
|
||||
|
||||
% A tomography experiment was then performed with the highest rotational velocity of the Spindle: $180\,\text{deg/s}$[fn:test_id31_7].
|
||||
% The trajectory of the point of interest during the fast tomography scan is shown in Figure ref:fig:test_id31_tomo_m0_30rpm_robust_hac_iff_exp.
|
||||
% Although the experimental results closely mirror the simulation results (Figure ref:fig:test_id31_tomo_m0_30rpm_robust_hac_iff_sim), the actual performance was slightly lower than predicted.
|
||||
% Nevertheless, even with this robust (i.e. conservative) HAC implementation, the system performance was already close to the specified requirements.
|
||||
|
||||
|
||||
%% Experimental Results for Tomography at 180deg/s, no payload
|
||||
data_tomo_m0_Wz180 = load('2023-08-17_15-26_tomography_30rpm_m0_robust.mat');
|
||||
|
||||
@ -334,27 +279,6 @@ xlim([-300, 300]); ylim([-100, 100]);
|
||||
leg = legend('location', 'northeast', 'FontSize', 8, 'NumColumns', 1);
|
||||
leg.ItemTokenSize(1) = 15;
|
||||
|
||||
|
||||
|
||||
% #+name: fig:test_id31_tomo_m0_30rpm_robust_hac_iff_exp
|
||||
% #+caption: Experimental results of tomography experiment at 180 deg/s without payload. The position error of the sample is shown in the XY (\subref{fig:test_id31_tomo_m0_30rpm_robust_hac_iff_exp_xy}) and YZ (\subref{fig:test_id31_tomo_m0_30rpm_robust_hac_iff_exp_yz}) planes.
|
||||
% #+attr_latex: :options [htbp]
|
||||
% #+begin_figure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_tomo_m0_30rpm_robust_hac_iff_exp_xy}XY plane}
|
||||
% #+attr_latex: :options {0.49\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :scale 0.9
|
||||
% [[file:figs/test_id31_tomo_m0_30rpm_robust_hac_iff_exp_xy.png]]
|
||||
% #+end_subfigure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_tomo_m0_30rpm_robust_hac_iff_exp_yz}YZ plane}
|
||||
% #+attr_latex: :options {0.49\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :scale 0.9
|
||||
% [[file:figs/test_id31_tomo_m0_30rpm_robust_hac_iff_exp_yz.png]]
|
||||
% #+end_subfigure
|
||||
% #+end_figure
|
||||
|
||||
|
||||
%% Estimate RMS of the errors while in closed-loop and open-loop - Tomography at 180deg/s
|
||||
% No mass
|
||||
data_tomo_m0_Wz180.Dy_rms_cl = rms(detrend(data_tomo_m0_Wz180.Dy_int(i_m0+1e4:end), 0));
|
||||
@ -370,19 +294,6 @@ fun = @(theta)rms((data_tomo_m0_Wz180.Rx_int(1:i_m0) - (x0 + R*cos(data_tomo_m0_
|
||||
delta_theta = fminsearch(fun, 0);
|
||||
data_tomo_m0_Wz180.Ry_rms_ol = rms(data_tomo_m0_Wz180.Ry_int(1:i_m0) - (y0 + R*sin(data_tomo_m0_Wz180.Rz(1:i_m0)+delta_theta)));
|
||||
|
||||
% Cumulative Amplitude Spectra
|
||||
|
||||
% A comparative analysis was conducted using three tomography scans at $180,\text{deg/s}$ to evaluate the effectiveness of the HAC-LAC strategy in reducing positioning errors.
|
||||
% The scans were performed under three conditions: open-loop, with decentralized IFF control, and with the complete HAC-LAC strategy.
|
||||
% For these specific measurements, an enhanced high authority controller was optimized for low payload masses to meet the performance requirements.
|
||||
|
||||
% Figure ref:fig:test_id31_hac_cas_cl presents the cumulative amplitude spectra of the position errors for all three cases.
|
||||
% The results reveal two distinct control contributions: the decentralized IFF effectively attenuates vibrations near the nano-hexapod suspension modes (an achievement not possible with HAC alone), while the high authority controller suppresses low-frequency vibrations primarily arising from Spindle guiding errors.
|
||||
% Notably, the spectral patterns in Figure ref:fig:test_id31_hac_cas_cl closely resemble the cumulative amplitude spectra computed in the project's early stages.
|
||||
|
||||
% This experiment also illustrates that when needed, performance can be enhanced by designing controllers for specific experimental conditions rather than relying solely on robust controllers that can accommodate all payload ranges.
|
||||
|
||||
|
||||
%% Jacobian to compute the motion in the X-Y-Z-Rx-Ry directions
|
||||
J_int_to_X = [ 0 0 -0.787401574803149 -0.212598425196851 0;
|
||||
0.78740157480315 0.21259842519685 0 0 0;
|
||||
@ -496,14 +407,6 @@ leg.ItemTokenSize(1) = 15;
|
||||
xticks([1e0, 1e1, 1e2]); yticks([1e-9, 1e-8, 1e-7, 1e-6, 1e-5]);
|
||||
xlim([0.1, 5e2]); ylim([1e-10, 2e-5]);
|
||||
|
||||
% Reflectivity Scans
|
||||
% <<ssec:test_id31_scans_reflectivity>>
|
||||
|
||||
% X-ray reflectivity measurements involve scanning thin structures, particularly solid/liquid interfaces, through the beam by varying the $R_y$ angle.
|
||||
% In this experiment, a $R_y$ scan was executed at a rotational velocity of $100,\mu rad/s$, and the closed-loop positioning errors were monitored (Figure ref:fig:test_id31_reflectivity).
|
||||
% The results confirmed that the NASS successfully maintained the point of interest within the specified beam parameters throughout the scanning process.
|
||||
|
||||
|
||||
%% Load data for the reflectivity scan
|
||||
data_ry = load("2023-08-18_15-24_first_reflectivity_m0.mat");
|
||||
data_ry.time = Ts*[0:length(data_ry.Ry_int)-1];
|
||||
@ -564,18 +467,6 @@ xlim([0, 6.2]);
|
||||
ylim([-310, 310]);
|
||||
xticks([0:2:6]);
|
||||
|
||||
% Step by Step $D_z$ motion
|
||||
|
||||
% The vertical step motion was performed exclusively with the nano-hexapod.
|
||||
% Testing was conducted across step sizes ranging from $10\,nm$ to $1\,\mu m$.
|
||||
% Results are presented in Figure ref:fig:test_id31_dz_mim_steps.
|
||||
% The system successfully resolved 10nm steps (red curve in Figure ref:fig:test_id31_dz_mim_10nm_steps) if a 50ms integration time is considered for the detectors, which is compatible with many experimental requirements.
|
||||
|
||||
% In step-by-step scanning procedures, the settling time is a critical parameter as it significantly affects the total experiment duration.
|
||||
% The system achieved a response time of approximately $70\,ms$ to reach the target position (within $\pm 20\,nm$), as demonstrated by the $1\,\mu m$ step response in Figure ref:fig:test_id31_dz_mim_1000nm_steps.
|
||||
% The settling duration typically decreases for smaller step sizes.
|
||||
|
||||
|
||||
%% Load Dz steps data
|
||||
data_dz_steps_10nm = load("2023-08-18_14-57_dz_mim_10_nm.mat");
|
||||
data_dz_steps_10nm.time = Ts*[0:length(data_dz_steps_10nm.Dz_int)-1];
|
||||
@ -635,14 +526,6 @@ ylim([-0.1, 1.6])
|
||||
xticks([0, 70])
|
||||
yticks([0, 1])
|
||||
|
||||
% Continuous $D_z$ motion: Dirty Layer Scans
|
||||
|
||||
% For these and subsequent experiments, the NASS performs "ramp scans" (constant velocity scans).
|
||||
% To eliminate tracking errors, the feedback controller incorporates two integrators, compensating for the plant's lack of integral action at low frequencies.
|
||||
|
||||
% Initial testing at $10,\mu m/s$ demonstrated positioning errors well within specifications (indicated by dashed lines in Figure ref:fig:test_id31_dz_scan_10ums).
|
||||
|
||||
|
||||
%% Dirty layer scans - 10um/s
|
||||
data_dz_10ums = load("2023-08-18_15-33_dirty_layer_m0_small.mat");
|
||||
data_dz_10ums.time = Ts*[0:length(data_dz_10ums.Dz_int)-1];
|
||||
@ -719,37 +602,6 @@ ylabel('$R_y$ error [$\mu$rad]')
|
||||
xlim([0, 2.2]);
|
||||
ylim([-2, 2]);
|
||||
|
||||
|
||||
|
||||
% #+name: fig:test_id31_dz_scan_10ums
|
||||
% #+caption: $D_z$ scan at a velocity of $10\,\mu m/s$. $D_z$ setpoint, measured position and error are shown in (\subref{fig:test_id31_dz_scan_10ums_dz}). Errors in $D_y$ and $R_y$ are respectively shown in (\subref{fig:test_id31_dz_scan_10ums_dy}) and (\subref{fig:test_id31_dz_scan_10ums_ry})
|
||||
% #+attr_latex: :options [htbp]
|
||||
% #+begin_figure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_dz_scan_10ums_dy}$D_y$}
|
||||
% #+attr_latex: :options {0.33\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :scale 1
|
||||
% [[file:figs/test_id31_dz_scan_10ums_dy.png]]
|
||||
% #+end_subfigure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_dz_scan_10ums_dz}$D_z$}
|
||||
% #+attr_latex: :options {0.33\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :scale 1
|
||||
% [[file:figs/test_id31_dz_scan_10ums_dz.png]]
|
||||
% #+end_subfigure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_dz_scan_10ums_ry}$R_y$}
|
||||
% #+attr_latex: :options {0.33\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :scale 1
|
||||
% [[file:figs/test_id31_dz_scan_10ums_ry.png]]
|
||||
% #+end_subfigure
|
||||
% #+end_figure
|
||||
|
||||
% A subsequent scan at $100,\mu m/s$ - the maximum velocity for high-precision $D_z$ scans[fn:test_id31_8] - maintains positioning errors within specifications during the constant velocity phase, with deviations occurring only during acceleration and deceleration phases (Figure ref:fig:test_id31_dz_scan_100ums).
|
||||
% Since detectors typically operate only during the constant velocity phase, these transient deviations do not compromise the measurement quality.
|
||||
% However, performance during acceleration phases could be enhanced through the implementation of feedforward control.
|
||||
|
||||
|
||||
%% Dz scan at 100um/s - Lateral error
|
||||
figure;
|
||||
hold on;
|
||||
@ -799,18 +651,6 @@ ylabel('$R_y$ error [$\mu$rad]')
|
||||
xlim([0, 2.2]);
|
||||
ylim([-2, 2])
|
||||
|
||||
% Slow scan
|
||||
|
||||
% Initial testing utilized a scanning velocity of $10,\mu m/s$, which is typical for these experiments.
|
||||
% Figure ref:fig:test_id31_dy_10ums compares the positioning errors between open-loop (without NASS) and closed-loop operation.
|
||||
% In the scanning direction, open-loop measurements reveal periodic errors (Figure ref:fig:test_id31_dy_10ums_dy) attributable to the $T_y$ stage's stepper motor.
|
||||
% These micro-stepping errors, which are inherent to stepper motor operation, occur 200 times per motor rotation with approximately $1\,\text{mrad}$ angular error amplitude.
|
||||
% Given the $T_y$ stage's lead screw pitch of $2\,mm$, these errors manifest as $10\,\mu m$ periodic oscillations with $\approx 300\,nm$ amplitude, which can indeed be seen in the open-loop measurements (Figure ref:fig:test_id31_dy_10ums_dy).
|
||||
|
||||
% In the vertical direction (Figure ref:fig:test_id31_dy_10ums_dz), open-loop errors likely stem from metrology measurement error because the top interferometer points at a spherical target surface (see Figure ref:fig:test_id31_xy_map_sphere).
|
||||
% Under closed-loop control, positioning errors remain within specifications in all directions.
|
||||
|
||||
|
||||
%% Slow Ty scan (10um/s) - OL
|
||||
data_ty_ol_10ums = load("2023-08-21_20-05_ty_scan_m1_open_loop_slow.mat");
|
||||
data_ty_ol_10ums.time = Ts*[0:length(data_ty_ol_10ums.Dy_int)-1];
|
||||
@ -868,19 +708,6 @@ ylim([-10, 10])
|
||||
leg = legend('location', 'northwest', 'FontSize', 8, 'NumColumns', 1);
|
||||
leg.ItemTokenSize(1) = 15;
|
||||
|
||||
% Fast Scan
|
||||
|
||||
% The system performance was evaluated at an increased scanning velocity of $100\,\mu m/s$, and the results are presented in Figure ref:fig:test_id31_dy_100ums.
|
||||
% At this velocity, the micro-stepping errors generate $10\,\text{Hz}$ vibrations, which are further amplified by micro-station resonances.
|
||||
% These vibrations exceeded the NASS feedback controller bandwidth, resulting in limited attenuation under closed-loop control.
|
||||
% This limitation exemplifies why stepper motors are suboptimal for "long-stroke/short-stroke" systems requiring precise scanning performance [[cite:&dehaeze22_fastj_uhv]].
|
||||
|
||||
% Two potential solutions exist for improving high-velocity scanning performance.
|
||||
% First, the $T_y$ stage's stepper motor could be replaced by a three-phase torque motor.
|
||||
% Alternatively, since closed-loop errors in $D_z$ and $R_y$ directions remain within specifications (Figures ref:fig:test_id31_dy_100ums_dz and ref:fig:test_id31_dy_100ums_ry), detector triggering could be based on measured $D_y$ position rather than time or $T_y$ setpoint, reducing sensitivity to $D_y$ vibrations.
|
||||
% For applications requiring small $D_y$ scans, the nano-hexapod can be used exclusively, although with limited stroke capability.
|
||||
|
||||
|
||||
%% Fast Ty scan (100um/s) - OL
|
||||
data_ty_ol_100ums = load("2023-08-21_20-05_ty_scan_m1_open_loop.mat");
|
||||
data_ty_ol_100ums.time = Ts*[0:length(data_ty_ol_100ums.Dy_int)-1];
|
||||
@ -939,33 +766,6 @@ ylim([-10, 10])
|
||||
leg = legend('location', 'northwest', 'FontSize', 8, 'NumColumns', 1);
|
||||
leg.ItemTokenSize(1) = 15;
|
||||
|
||||
|
||||
|
||||
% #+name: fig:test_id31_dy_100ums
|
||||
% #+caption: Open-Loop (in blue) and Closed-loop (i.e. using the NASS, in red) during a $100\,\mu m/s$ scan with the $T_y$ stage. Errors in $D_y$ is shown in (\subref{fig:test_id31_dy_100ums_dy}).
|
||||
% #+attr_latex: :options [htbp]
|
||||
% #+begin_figure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_dy_100ums_dy} $D_y$}
|
||||
% #+attr_latex: :options {0.33\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :scale 1
|
||||
% [[file:figs/test_id31_dy_100ums_dy.png]]
|
||||
% #+end_subfigure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_dy_100ums_dz} $D_z$}
|
||||
% #+attr_latex: :options {0.33\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :scale 1
|
||||
% [[file:figs/test_id31_dy_100ums_dz.png]]
|
||||
% #+end_subfigure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_dy_100ums_ry} $R_y$}
|
||||
% #+attr_latex: :options {0.33\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :scale 1
|
||||
% [[file:figs/test_id31_dy_100ums_ry.png]]
|
||||
% #+end_subfigure
|
||||
% #+end_figure
|
||||
|
||||
|
||||
%% Compute errors for Dy scans
|
||||
i_ty_ol_10ums = data_ty_ol_10ums.Ty > data_ty_ol_10ums.Ty(1) & data_ty_ol_10ums.Ty < data_ty_ol_10ums.Ty(end);
|
||||
i_ty_cl_10ums = data_ty_cl_10ums.Ty > data_ty_cl_10ums.Ty(1) & data_ty_cl_10ums.Ty < data_ty_cl_10ums.Ty(end);
|
||||
@ -989,15 +789,6 @@ data_ty_cl_100ums.Dy_rms = rms(detrend(data_ty_cl_100ums.e_dy(i_ty_cl_100ums), 0
|
||||
data_ty_cl_100ums.Dz_rms = rms(detrend(data_ty_cl_100ums.e_dz(i_ty_cl_100ums), 0));
|
||||
data_ty_cl_100ums.Ry_rms = rms(detrend(data_ty_cl_100ums.e_ry(i_ty_cl_100ums), 0));
|
||||
|
||||
% Diffraction Tomography
|
||||
% <<ssec:test_id31_scans_diffraction_tomo>>
|
||||
|
||||
% In diffraction tomography experiments, the micro-station executes combined motions: continuous rotation around the $R_z$ axis while performing lateral scans along $D_y$.
|
||||
% For this validation, the spindle maintained a constant rotational velocity of $6\,\text{deg/s}$ while the nano-hexapod executed the lateral scanning motion.
|
||||
% To avoid high-frequency vibrations typically induced by the stepper motor, the $T_y$ stage was not utilized, which constrained the scanning range to approximately $\pm 100\,\mu m/s$.
|
||||
% The system performance was evaluated at three lateral scanning velocities: $0.1\,mm/s$, $0.5\,mm/s$, and $1\,mm/s$. Figure ref:fig:test_id31_diffraction_tomo_setpoint presents both the $D_y$ position setpoints and the corresponding measured $D_y$ positions for all tested velocities.
|
||||
|
||||
|
||||
%% 100um/s - Robust controller
|
||||
data_dt_100ums = load("2023-08-18_17-12_diffraction_tomo_m0.mat");
|
||||
t = Ts*[0:length(data_dt_100ums.Dy_int)-1];
|
||||
@ -1038,20 +829,6 @@ xlabel('Time [s]');
|
||||
ylabel('$D_y$ position [$\mu$m]')
|
||||
legend('location', 'southeast', 'FontSize', 8, 'NumColumns', 1);
|
||||
|
||||
|
||||
|
||||
% #+name: fig:test_id31_diffraction_tomo_setpoint
|
||||
% #+caption: Dy motion for several configured velocities
|
||||
% #+RESULTS:
|
||||
% [[file:figs/test_id31_diffraction_tomo_setpoint.png]]
|
||||
|
||||
% The positioning errors measured along $D_y$, $D_z$, and $R_y$ directions are displayed in Figure ref:fig:test_id31_diffraction_tomo.
|
||||
% The system maintained positioning errors within specifications for both $D_z$ and $R_y$ (Figures ref:fig:test_id31_diffraction_tomo_dz and ref:fig:test_id31_diffraction_tomo_ry).
|
||||
% However, the lateral positioning errors exceeded specifications during the acceleration and deceleration phases (Figure ref:fig:test_id31_diffraction_tomo_dy).
|
||||
% These large errors occurred only during $\approx 20\,ms$ intervals; thus, the issue could be addressed by implementing a corresponding delay in detector integration.
|
||||
% Alternatively, a feedforward controller could improve the lateral positioning accuracy during these transient phases.
|
||||
|
||||
|
||||
%% Diffraction Tomography - Dy errors for several configured velocities
|
||||
figure;
|
||||
hold on;
|
||||
@ -1108,33 +885,6 @@ ylabel('$R_y$ position [$\mu$rad]')
|
||||
leg = legend('location', 'southwest', 'FontSize', 8, 'NumColumns', 1);
|
||||
leg.ItemTokenSize(1) = 15;
|
||||
|
||||
|
||||
|
||||
% #+name: fig:test_id31_diffraction_tomo
|
||||
% #+caption: Diffraction tomography scans (combined $R_z$ and $D_y$ motions) at several $D_y$ velocities ($R_z$ rotational velocity is $6\,\text{deg/s}$).
|
||||
% #+attr_latex: :options [htbp]
|
||||
% #+begin_figure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_diffraction_tomo_dy} $D_y$}
|
||||
% #+attr_latex: :options {0.33\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :scale 1
|
||||
% [[file:figs/test_id31_diffraction_tomo_dy.png]]
|
||||
% #+end_subfigure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_diffraction_tomo_dz} $D_z$}
|
||||
% #+attr_latex: :options {0.33\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :scale 1
|
||||
% [[file:figs/test_id31_diffraction_tomo_dz.png]]
|
||||
% #+end_subfigure
|
||||
% #+attr_latex: :caption \subcaption{\label{fig:test_id31_diffraction_tomo_ry} $R_y$}
|
||||
% #+attr_latex: :options {0.33\textwidth}
|
||||
% #+begin_subfigure
|
||||
% #+attr_latex: :scale 1
|
||||
% [[file:figs/test_id31_diffraction_tomo_ry.png]]
|
||||
% #+end_subfigure
|
||||
% #+end_figure
|
||||
|
||||
|
||||
%% Computation of errors during diffraction tomography experiments
|
||||
% Ignore acceleration and deceleration phases
|
||||
acc_dt = 20e-3; % Acceleration phase to remove [s]
|
||||
@ -1184,30 +934,6 @@ data_dt_1000ums.Dy_rms_cl = rms(detrend(data_dt_1000ums.Dy_int(i_dt_1000ums)-dat
|
||||
data_dt_1000ums.Dz_rms_cl = rms(detrend(data_dt_1000ums.Dz_int(i_dt_1000ums), 0));
|
||||
data_dt_1000ums.Ry_rms_cl = rms(detrend(data_dt_1000ums.Ry_int(i_dt_1000ums), 0));
|
||||
|
||||
% Conclusion
|
||||
% :PROPERTIES:
|
||||
% :UNNUMBERED: t
|
||||
% :END:
|
||||
% <<ssec:test_id31_scans_conclusion>>
|
||||
|
||||
% A comprehensive series of experimental validations was conducted to evaluate the NASS performance over a wide range of typical scientific experiments.
|
||||
% The system demonstrated robust performance in most scenarios, with positioning errors generally remaining within specified tolerances (30 nm RMS in $D_y$, 15 nm RMS in $D_z$, and 250 nrad RMS in $R_y$).
|
||||
|
||||
% For tomography experiments, the NASS successfully maintained good positioning accuracy at rotational velocities up to $180\,\text{deg/s}$ with light payloads, though performance degraded somewhat with heavier masses.
|
||||
% The HAC-LAC control architecture proved particularly effective, with the decentralized IFF providing damping of nano-hexapod suspension modes, while the high authority controller addressed low-frequency disturbances.
|
||||
|
||||
% The vertical scanning capabilities were validated in both step-by-step and continuous motion modes.
|
||||
% The system successfully resolved 10 nm steps with 50 ms detector integration time, while maintaining positioning accuracy during continuous scans at speeds up to $100\,\mu m/s$.
|
||||
|
||||
% For lateral scanning, the system performed well at moderate speeds ($10\,\mu m/s$) but showed limitations at higher velocities ($100\,\mu m/s$) due to stepper motor-induced vibrations in the $T_y$ stage.
|
||||
|
||||
% The most challenging test case - diffraction tomography combining rotation and lateral scanning - demonstrated the system's ability to maintain vertical and angular stability while highlighting some limitations in lateral positioning during rapid accelerations.
|
||||
% These limitations could be addressed through feedforward control or alternative detector triggering strategies.
|
||||
|
||||
% Overall, the experimental results validate the effectiveness of the developed control architecture and demonstrate that the NASS meets most design specifications across a wide range of operating conditions (summarized in Table ref:tab:test_id31_experiments_results_summary).
|
||||
% The identified limitations, primarily related to high-speed lateral scanning and heavy payload handling, provide clear directions for future improvements.
|
||||
|
||||
|
||||
%% Summary of results
|
||||
% 1e9*data_tomo_m0_Wz6.Dy_rms_ol, 1e9*data_tomo_m0_Wz6.Dz_rms_ol, 1e6*data_tomo_m0_Wz6.Ry_rms_ol; % Tomo - OL - 6deg/s - 0kg
|
||||
% 1e9*data_tomo_m0_Wz6.Dy_rms_cl, 1e9*data_tomo_m0_Wz6.Dz_rms_cl, 1e6*data_tomo_m0_Wz6.Ry_rms_cl; % Tomo - CL - 6deg/s - 0kg
|
||||
|
@ -22,7 +22,7 @@
|
||||
#+BIND: org-latex-bib-compiler "biber"
|
||||
|
||||
#+PROPERTY: header-args:matlab :session *MATLAB*
|
||||
#+PROPERTY: header-args:matlab+ :comments org
|
||||
#+PROPERTY: header-args:matlab+ :comments no
|
||||
#+PROPERTY: header-args:matlab+ :exports none
|
||||
#+PROPERTY: header-args:matlab+ :results none
|
||||
#+PROPERTY: header-args:matlab+ :eval no-export
|
||||
|
Loading…
x
Reference in New Issue
Block a user