nass-simscape/disturbances/index.org

25 KiB

Identification of the disturbances

Introduction   ignore

The goal here is to extract the Power Spectral Density of the sources of perturbation.

The sources of perturbations are (schematically shown in figure fig:uniaxial-model-micro-station):

  • $D_w$: Ground Motion
  • Parasitic forces applied in the system when scanning with the Translation Stage and the Spindle ($F_{rz}$ and $F_{ty}$). These forces can be due to imperfect guiding for instance.

Because we cannot measure directly the perturbation forces, we have the measure the effect of those perturbations on the system (in terms of velocity for instance using geophones, $D$ on figure fig:uniaxial-model-micro-station) and then, using a model, compute the forces that induced such velocity.

/tdehaeze/nass-simscape/media/commit/8298e5dc8531242b8dbf61e309f8bbcd781f8893/disturbances/figs/uniaxial-model-micro-station.png

Schematic of the Micro Station and the sources of disturbance

This file is divided in the following sections:

  • Section sec:identification: transfer functions from the disturbance forces to the relative velocity of the hexapod with respect to the granite are computed using the Simscape Model representing the experimental setup
  • Section sec:sensitivity_disturbances: the bode plot of those transfer functions are shown
  • Section sec:psd_dist: the measured PSD of the effect of the disturbances are shown
  • Section sec:psd_force_dist: from the model and the measured PSD, the PSD of the disturbance forces are computed
  • Section sec:noise_budget: with the computed PSD, the noise budget of the system is done

Identification

<<sec:identification>>

The transfer functions from the disturbance forces to the relative velocity of the hexapod with respect to the granite are computed using the Simscape Model representing the experimental setup with the code below.

%% Options for Linearized
options = linearizeOptions;
options.SampleTime = 0;

%% Name of the Simulink File
mdl = 'sim_micro_station_disturbances';
%% Micro-Hexapod
% Input/Output definition
io(1)  = linio([mdl, '/Dw'],   1, 'input');  % Ground Motion
io(2)  = linio([mdl, '/Fty'], 1, 'input');  % Parasitic force Ty
io(3)  = linio([mdl, '/Frz'], 1, 'input');  % Parasitic force Rz
io(4)  = linio([mdl, '/Dgm'],  1, 'output'); % Absolute motion - Granite
io(5)  = linio([mdl, '/Dhm'],  1, 'output'); % Absolute Motion - Hexapod
io(6)  = linio([mdl, '/Vm'],   1, 'output'); % Relative Velocity hexapod/granite
% Run the linearization
G = linearize(mdl, io, 0);

% Input/Output names
G.InputName  = {'Dw', 'Fty', 'Frz'};
G.OutputName = {'Dgm', 'Dhm', 'Vm'};

Sensitivity to Disturbances

<<sec:sensitivity_disturbances>>

  <<plt-matlab>>
/tdehaeze/nass-simscape/media/commit/8298e5dc8531242b8dbf61e309f8bbcd781f8893/disturbances/figs/sensitivity_dist_gm.png
Sensitivity to Ground Motion (png, pdf)
  <<plt-matlab>>
/tdehaeze/nass-simscape/media/commit/8298e5dc8531242b8dbf61e309f8bbcd781f8893/disturbances/figs/sensitivity_dist_fty.png
Sensitivity to vertical forces applied by the Ty stage (png, pdf)
  <<plt-matlab>>
/tdehaeze/nass-simscape/media/commit/8298e5dc8531242b8dbf61e309f8bbcd781f8893/disturbances/figs/sensitivity_dist_frz.png
Sensitivity to vertical forces applied by the Rz stage (png, pdf)

Power Spectral Density of the effect of the disturbances

<<sec:psd_dist>> The PSD of the relative velocity between the hexapod and the marble in $[(m/s)^2/Hz]$ are loaded for the following sources of disturbance:

  • Slip Ring Rotation
  • Scan of the translation stage (effect in the vertical direction and in the horizontal direction)

Also, the Ground Motion is measured.

  gm  = load('./disturbances/mat/psd_gm.mat', 'f', 'psd_gm', 'psd_gv');
  rz  = load('./disturbances/mat/pxsp_r.mat', 'f', 'pxsp_r');
  tyz = load('./disturbances/mat/pxz_ty_r.mat', 'f', 'pxz_ty_r');
  tyx = load('./disturbances/mat/pxe_ty_r.mat', 'f', 'pxe_ty_r');

We now compute the relative velocity between the hexapod and the granite due to ground motion.

  gm.psd_rv = gm.psd_gm.*abs(squeeze(freqresp(G('Vm', 'Dw'), gm.f, 'Hz'))).^2;

The Power Spectral Density of the relative motion/velocity of the hexapod with respect to the granite are shown in figures fig:dist_effect_relative_velocity and fig:dist_effect_relative_motion.

The Cumulative Amplitude Spectrum of the relative motion is shown in figure fig:dist_effect_relative_motion_cas.

  <<plt-matlab>>
/tdehaeze/nass-simscape/media/commit/8298e5dc8531242b8dbf61e309f8bbcd781f8893/disturbances/figs/dist_effect_relative_velocity.png
Amplitude Spectral Density of the relative velocity of the hexapod with respect to the granite due to different sources of perturbation (png, pdf)
  <<plt-matlab>>
/tdehaeze/nass-simscape/media/commit/8298e5dc8531242b8dbf61e309f8bbcd781f8893/disturbances/figs/dist_effect_relative_motion.png
Amplitude Spectral Density of the relative displacement of the hexapod with respect to the granite due to different sources of perturbation (png, pdf)
  <<plt-matlab>>
/tdehaeze/nass-simscape/media/commit/8298e5dc8531242b8dbf61e309f8bbcd781f8893/disturbances/figs/dist_effect_relative_motion_cas.png
Cumulative Amplitude Spectrum of the relative motion due to different sources of perturbation (png, pdf)

Compute the Power Spectral Density of the disturbance force

<<sec:psd_force_dist>>

Now, from the extracted transfer functions from the disturbance force to the relative motion of the hexapod with respect to the granite (section sec:sensitivity_disturbances) and from the measured PSD of the relative motion (section sec:psd_dist), we can compute the PSD of the disturbance force.

  rz.psd_f  = rz.pxsp_r./abs(squeeze(freqresp(G('Vm', 'Frz'), rz.f, 'Hz'))).^2;
  tyz.psd_f = tyz.pxz_ty_r./abs(squeeze(freqresp(G('Vm', 'Fty'), tyz.f, 'Hz'))).^2;
  <<plt-matlab>>
/tdehaeze/nass-simscape/media/commit/8298e5dc8531242b8dbf61e309f8bbcd781f8893/disturbances/figs/dist_force_psd.png
Amplitude Spectral Density of the disturbance force (png, pdf)

Noise Budget

<<sec:noise_budget>>

Now, from the compute spectral density of the disturbance sources, we can compute the resulting relative motion of the Hexapod with respect to the granite using the model. We should verify that this is coherent with the measurements.

  <<plt-matlab>>
/tdehaeze/nass-simscape/media/commit/8298e5dc8531242b8dbf61e309f8bbcd781f8893/disturbances/figs/psd_effect_dist_verif.png
Computed Effect of the disturbances on the relative displacement hexapod/granite (png, pdf)
  <<plt-matlab>>
/tdehaeze/nass-simscape/media/commit/8298e5dc8531242b8dbf61e309f8bbcd781f8893/disturbances/figs/cas_computed_relative_displacement.png
CAS of the total Relative Displacement due to all considered sources of perturbation (png, pdf)

Approximation

We approximate the PSD of the disturbance with the following transfer functions.

  G_ty = 0.1*(s+634.3)*(s+283.7)/((s+2*pi)*(s+2*pi));
  G_rz = 0.5*(s+418.8)*(s+36.51)*(s^2 + 110.9*s + 3.375e04)/((s+0.7324)*(s+0.546)*(s^2 + 0.6462*s + 2.391e04));
  G_gm = 0.002*(s^2 + 3.169*s + 27.74)/(s*(s+32.73)*(s+8.829)*(s+7.983)^2);

We compute the effect of these approximate disturbances on $D$.

  <<plt-matlab>>
/tdehaeze/nass-simscape/media/commit/8298e5dc8531242b8dbf61e309f8bbcd781f8893/disturbances/figs/estimate_spectral_density_disturbances.png
Estimated spectral density of the disturbances (png, pdf)
  <<plt-matlab>>
/tdehaeze/nass-simscape/media/commit/8298e5dc8531242b8dbf61e309f8bbcd781f8893/disturbances/figs/comp_estimation_cas_disturbances.png
Comparison of the CAS of the disturbances with the approximate ones (png, pdf)

Save

The PSD of the disturbance force are now saved for further noise budgeting when control is applied (the mat file is accessible here).

  dist_f = struct();

  dist_f.f = gm.f; % Frequency Vector [Hz]

  dist_f.psd_gm = gm.psd_gm; % Power Spectral Density of the Ground Motion [m^2/Hz]
  dist_f.psd_ty = tyz.psd_f; % Power Spectral Density of the force induced by the Ty stage in the Z direction [N^2/Hz]
  dist_f.psd_rz = rz.psd_f; % Power Spectral Density of the force induced by the Rz stage in the Z direction [N^2/Hz]

  dist_f.G_gm = G_ty;
  dist_f.G_ty = G_rz;
  dist_f.G_rz = G_gm;

  save('./disturbances/mat/dist_psd.mat', 'dist_f');