nass-simscape/disturbances/index.org
Thomas Dehaeze 12c2e4a508 Huge Update
- Modify the joints for Ty, Ry, Rz to have only one bushing joint.
- Compensation of gravity
2020-02-25 17:49:08 +01:00

23 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/abe29e9938adc69db9a89b9e8fbabb05d9576b6d/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:simscape_model: the simscape model used here is presented
  • 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

Simscape Model

<<sec:simscape_model>>

The following Simscape model of the micro-station is the same model used for the dynamical analysis. However, we here constrain all the stage to only move in the vertical direction.

We add disturbances forces in the vertical direction for the Translation Stage and the Spindle. Also, we measure the absolute displacement of the granite and of the top platform of the Hexapod.

We load the configuration and we set a small StopTime.

  load('mat/conf_simulink.mat');
  set_param(conf_simulink, 'StopTime', '0.5');

We initialize all the stages.

  initializeGround();
  initializeGranite('type', 'modal-analysis');
  initializeTy();
  initializeRy();
  initializeRz();
  initializeMicroHexapod('type', 'modal-analysis');
  initializeAxisc('type', 'none');
  initializeMirror('type', 'none');
  initializeNanoHexapod('type', 'none');
  initializeSample('type', 'none');

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 = 'nass_model';
%% Micro-Hexapod
  clear io; io_i = 1;
  io(io_i) = linio([mdl, '/Disturbances'], 1, 'openinput', [], 'Dwz'); io_i = io_i + 1; % Vertical Ground Motion
  io(io_i) = linio([mdl, '/Disturbances'], 1, 'openinput', [], 'Fty_z'); io_i = io_i + 1; % Parasitic force Ty
  io(io_i) = linio([mdl, '/Disturbances'], 1, 'openinput', [], 'Frz_z'); io_i = io_i + 1; % Parasitic force Rz
  io(io_i) = linio([mdl, '/Micro-Station/Granite/Modal Analysis/accelerometer'], 1, 'openoutput'); io_i = io_i + 1; % Absolute motion - Granite
  io(io_i) = linio([mdl, '/Micro-Station/Micro Hexapod/Modal Analysis/accelerometer'],  1, 'openoutput'); io_i = io_i + 1; % Absolute Motion - Hexapod
  % io(io_i) = linio([mdl, '/Vm'],   1, 'openoutput'); io_i = io_i + 1; % Relative Velocity hexapod/granite
  % Run the linearization
  G = linearize(mdl, io, 0);

  % We Take only the outputs corresponding to the vertical acceleration
  G = G([3,9], :);

  % Input/Output names
  G.InputName  = {'Dw', 'Fty', 'Frz'};
  G.OutputName = {'Agm', 'Ahm'};

  % We integrate 1 time the output to have the velocity and we
  % substract the absolute velocities to have the relative velocity
  G = (1/s)*tf([-1, 1])*G;

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

Sensitivity to Disturbances

<<sec:sensitivity_disturbances>>

  <<plt-matlab>>
/tdehaeze/nass-simscape/media/commit/abe29e9938adc69db9a89b9e8fbabb05d9576b6d/disturbances/figs/sensitivity_dist_gm.png
Sensitivity to Ground Motion (png, pdf)
  <<plt-matlab>>
/tdehaeze/nass-simscape/media/commit/abe29e9938adc69db9a89b9e8fbabb05d9576b6d/disturbances/figs/sensitivity_dist_fty.png
Sensitivity to vertical forces applied by the Ty stage (png, pdf)
  <<plt-matlab>>
/tdehaeze/nass-simscape/media/commit/abe29e9938adc69db9a89b9e8fbabb05d9576b6d/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/abe29e9938adc69db9a89b9e8fbabb05d9576b6d/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/abe29e9938adc69db9a89b9e8fbabb05d9576b6d/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/abe29e9938adc69db9a89b9e8fbabb05d9576b6d/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/abe29e9938adc69db9a89b9e8fbabb05d9576b6d/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/abe29e9938adc69db9a89b9e8fbabb05d9576b6d/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/abe29e9938adc69db9a89b9e8fbabb05d9576b6d/disturbances/figs/cas_computed_relative_displacement.png
CAS of the total Relative Displacement due to all considered sources of perturbation (png, pdf)

Save

The PSD of the disturbance force are now saved for further analysis (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]

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