Simscape Uniaxial Model
Table of Contents
The idea is to use the same model as the full Simscape Model but to restrict the motion only in the vertical direction.
This is done in order to more easily study the system and evaluate control techniques.
1 Simscape Model
A schematic of the uniaxial model used for simulations is represented in figure 1.
The perturbations \(w\) are:
- \(F_s\): direct forces applied to the sample such as inertia forces and cable forces
- \(F_{rz}\): parasitic forces due to the rotation of the spindle
- \(F_{ty}\): parasitic forces due to scans with the translation stage
- \(D_w\): ground motion
The quantity to \(z\) to control is:
- \(D\): the position of the sample with respect to the granite
The measured quantities \(v\) are:
- \(D\): the position of the sample with respect to the granite
We study the use of an additional sensor:
- \(F_n\): a force sensor located in the nano-hexapod
- \(v_n\): an absolute velocity sensor located on the top platform of the nano-hexapod
- \(d_r\): a relative motion sensor located in the nano-hexapod
The control signal \(u\) is:
- \(F\) the force applied by the nano-hexapod actuator
Figure 1: Schematic of the uniaxial model used
Few active damping techniques will be compared in order to decide which sensor is to be included in the system. Schematics of the active damping techniques are displayed in figure 2.
Figure 2: Comparison of used active damping techniques
2 Undamped System
Let's start by study the undamped system.
2.1 Init
We initialize all the stages with the default parameters. The nano-hexapod is a piezoelectric hexapod and the sample has a mass of 50kg.
All the controllers are set to 0 (Open Loop).
2.2 Identification
We identify the dynamics of the system.
%% Options for Linearized options = linearizeOptions; options.SampleTime = 0; %% Name of the Simulink File mdl = 'sim_nano_station_uniaxial';
The inputs and outputs are defined below and corresponds to the name of simulink blocks.
%% Input/Output definition io(1) = linio([mdl, '/Dw'], 1, 'input'); % Ground Motion io(2) = linio([mdl, '/Fs'], 1, 'input'); % Force applied on the sample io(3) = linio([mdl, '/Fnl'], 1, 'input'); % Force applied by the NASS io(4) = linio([mdl, '/Fdty'], 1, 'input'); % Parasitic force Ty io(5) = linio([mdl, '/Fdrz'], 1, 'input'); % Parasitic force Rz io(6) = linio([mdl, '/Dsm'], 1, 'output'); % Displacement of the sample io(7) = linio([mdl, '/Fnlm'], 1, 'output'); % Force sensor in NASS's legs io(8) = linio([mdl, '/Dnlm'], 1, 'output'); % Displacement of NASS's legs io(9) = linio([mdl, '/Dgm'], 1, 'output'); % Absolute displacement of the granite io(10) = linio([mdl, '/Vlm'], 1, 'output'); % Measured absolute velocity of the top NASS platform
Finally, we use the linearize
Matlab function to extract a state space model from the simscape model.
%% Run the linearization G = linearize(mdl, io, options); G.InputName = {'Dw', ... % Ground Motion [m] 'Fs', ... % Force Applied on Sample [N] 'Fn', ... % Force applied by NASS [N] 'Fty', ... % Parasitic Force Ty [N] 'Frz'}; % Parasitic Force Rz [N] G.OutputName = {'D', ... % Measured sample displacement x.r.t. granite [m] 'Fnm', ... % Force Sensor in NASS [N] 'Dnm', ... % Displacement Sensor in NASS [m] 'Dgm', ... % Asbolute displacement of Granite [m] 'Vlm'}; ... % Absolute Velocity of NASS [m/s]
Finally, we save the identified system dynamics for further analysis.
save('./uniaxial/mat/plants.mat', 'G');
2.3 Sensitivity to Disturbances
We show several plots representing the sensitivity to disturbances:
- in figure 3 the transfer functions from ground motion \(D_w\) to the sample position \(D\) and the transfer function from direct force on the sample \(F_s\) to the sample position \(D\) are shown
- in figure 4, it is the effect of parasitic forces of the positioning stages (\(F_{ty}\) and \(F_{rz}\)) on the position \(D\) of the sample that are shown
3 Integral Force Feedback
3.1 Control Design
load('./uniaxial/mat/plants.mat', 'G');
Let's look at the transfer function from actuator forces in the nano-hexapod to the force sensor in the nano-hexapod legs for all 6 pairs of actuator/sensor.
The controller for each pair of actuator/sensor is:
K_iff = -1000/s;
3.2 Identification
Let's initialize the system prior to identification.
initializeGround(); initializeGranite(); initializeTy(); initializeRy(); initializeRz(); initializeMicroHexapod(); initializeAxisc(); initializeMirror(); initializeNanoHexapod(struct('actuator', 'piezo')); initializeSample(struct('mass', 50));
All the controllers are set to 0.
K = tf(0); save('./mat/controllers.mat', 'K', '-append'); K_iff = -K_iff; save('./mat/controllers.mat', 'K_iff', '-append'); K_rmc = tf(0); save('./mat/controllers.mat', 'K_rmc', '-append'); K_dvf = tf(0); save('./mat/controllers.mat', 'K_dvf', '-append');
%% Options for Linearized options = linearizeOptions; options.SampleTime = 0; %% Name of the Simulink File mdl = 'sim_nano_station_uniaxial';
%% Input/Output definition io(1) = linio([mdl, '/Dw'], 1, 'input'); % Ground Motion io(2) = linio([mdl, '/Fs'], 1, 'input'); % Force applied on the sample io(3) = linio([mdl, '/Fnl'], 1, 'input'); % Force applied by the NASS io(4) = linio([mdl, '/Fdty'], 1, 'input'); % Parasitic force Ty io(5) = linio([mdl, '/Fdrz'], 1, 'input'); % Parasitic force Rz io(6) = linio([mdl, '/Dsm'], 1, 'output'); % Displacement of the sample io(7) = linio([mdl, '/Fnlm'], 1, 'output'); % Force sensor in NASS's legs io(8) = linio([mdl, '/Dnlm'], 1, 'output'); % Displacement of NASS's legs io(9) = linio([mdl, '/Dgm'], 1, 'output'); % Absolute displacement of the granite io(10) = linio([mdl, '/Vlm'], 1, 'output'); % Measured absolute velocity of the top NASS platform
%% Run the linearization G_iff = linearize(mdl, io, options); G_iff.InputName = {'Dw', ... % Ground Motion [m] 'Fs', ... % Force Applied on Sample [N] 'Fn', ... % Force applied by NASS [N] 'Fty', ... % Parasitic Force Ty [N] 'Frz'}; % Parasitic Force Rz [N] G_iff.OutputName = {'D', ... % Measured sample displacement x.r.t. granite [m] 'Fnm', ... % Force Sensor in NASS [N] 'Dnm', ... % Displacement Sensor in NASS [m] 'Dgm', ... % Asbolute displacement of Granite [m] 'Vlm'}; ... % Absolute Velocity of NASS [m/s]
save('./uniaxial/mat/plants.mat', 'G_iff', '-append');
3.3 Sensitivity to Disturbance
3.5 Conclusion
Integral Force Feedback:
4 Relative Motion Control
In the Relative Motion Control (RMC), a derivative feedback is applied between the measured actuator displacement to the actuator force input.
Figure 12: Uniaxial RMC Control Schematic
4.1 Control Design
load('./uniaxial/mat/plants.mat', 'G');
Let's look at the transfer function from actuator forces in the nano-hexapod to the measured displacement of the actuator for all 6 pairs of actuator/sensor.
The Relative Motion Controller is defined below. A Low pass Filter is added to make the controller transfer function proper.
K_rmc = s*50000/(1 + s/2/pi/10000);
4.2 Identification
Let's initialize the system prior to identification.
initializeGround(); initializeGranite(); initializeTy(); initializeRy(); initializeRz(); initializeMicroHexapod(); initializeAxisc(); initializeMirror(); initializeNanoHexapod(struct('actuator', 'piezo')); initializeSample(struct('mass', 50));
And initialize the controllers.
K = tf(0); save('./mat/controllers.mat', 'K', '-append'); K_iff = tf(0); save('./mat/controllers.mat', 'K_iff', '-append'); K_rmc = -K_rmc; save('./mat/controllers.mat', 'K_rmc', '-append'); K_dvf = tf(0); save('./mat/controllers.mat', 'K_dvf', '-append');
%% Options for Linearized options = linearizeOptions; options.SampleTime = 0; %% Name of the Simulink File mdl = 'sim_nano_station_uniaxial';
%% Input/Output definition io(1) = linio([mdl, '/Dw'], 1, 'input'); % Ground Motion io(2) = linio([mdl, '/Fs'], 1, 'input'); % Force applied on the sample io(3) = linio([mdl, '/Fnl'], 1, 'input'); % Force applied by the NASS io(4) = linio([mdl, '/Fdty'], 1, 'input'); % Parasitic force Ty io(5) = linio([mdl, '/Fdrz'], 1, 'input'); % Parasitic force Rz io(6) = linio([mdl, '/Dsm'], 1, 'output'); % Displacement of the sample io(7) = linio([mdl, '/Fnlm'], 1, 'output'); % Force sensor in NASS's legs io(8) = linio([mdl, '/Dnlm'], 1, 'output'); % Displacement of NASS's legs io(9) = linio([mdl, '/Dgm'], 1, 'output'); % Absolute displacement of the granite io(10) = linio([mdl, '/Vlm'], 1, 'output'); % Measured absolute velocity of the top NASS platform
%% Run the linearization G_rmc = linearize(mdl, io, options); G_rmc.InputName = {'Dw', ... % Ground Motion [m] 'Fs', ... % Force Applied on Sample [N] 'Fn', ... % Force applied by NASS [N] 'Fty', ... % Parasitic Force Ty [N] 'Frz'}; % Parasitic Force Rz [N] G_rmc.OutputName = {'D', ... % Measured sample displacement x.r.t. granite [m] 'Fnm', ... % Force Sensor in NASS [N] 'Dnm', ... % Displacement Sensor in NASS [m] 'Dgm', ... % Asbolute displacement of Granite [m] 'Vlm'}; ... % Absolute Velocity of NASS [m/s]
save('./uniaxial/mat/plants.mat', 'G_rmc', '-append');
4.3 Sensitivity to Disturbance
4.5 Conclusion
Relative Motion Control:
5 Direct Velocity Feedback
In the Relative Motion Control (RMC), a feedback is applied between the measured velocity of the platform to the actuator force input.
Figure 18: Uniaxial DVF Control Schematic
5.1 Control Design
5.2 Identification
Let's initialize the system prior to identification.
initializeGround(); initializeGranite(); initializeTy(); initializeRy(); initializeRz(); initializeMicroHexapod(); initializeAxisc(); initializeMirror(); initializeNanoHexapod(struct('actuator', 'piezo')); initializeSample(struct('mass', 50));
And initialize the controllers.
K = tf(0); save('./mat/controllers.mat', 'K', '-append'); K_iff = tf(0); save('./mat/controllers.mat', 'K_iff', '-append'); K_rmc = tf(0); save('./mat/controllers.mat', 'K_rmc', '-append'); K_dvf = -K_dvf; save('./mat/controllers.mat', 'K_dvf', '-append');
%% Options for Linearized options = linearizeOptions; options.SampleTime = 0; %% Name of the Simulink File mdl = 'sim_nano_station_uniaxial';
%% Input/Output definition io(1) = linio([mdl, '/Dw'], 1, 'input'); % Ground Motion io(2) = linio([mdl, '/Fs'], 1, 'input'); % Force applied on the sample io(3) = linio([mdl, '/Fnl'], 1, 'input'); % Force applied by the NASS io(4) = linio([mdl, '/Fdty'], 1, 'input'); % Parasitic force Ty io(5) = linio([mdl, '/Fdrz'], 1, 'input'); % Parasitic force Rz io(6) = linio([mdl, '/Dsm'], 1, 'output'); % Displacement of the sample io(7) = linio([mdl, '/Fnlm'], 1, 'output'); % Force sensor in NASS's legs io(8) = linio([mdl, '/Dnlm'], 1, 'output'); % Displacement of NASS's legs io(9) = linio([mdl, '/Dgm'], 1, 'output'); % Absolute displacement of the granite io(10) = linio([mdl, '/Vlm'], 1, 'output'); % Measured absolute velocity of the top NASS platform
%% Run the linearization G_dvf = linearize(mdl, io, options); G_dvf.InputName = {'Dw', ... % Ground Motion [m] 'Fs', ... % Force Applied on Sample [N] 'Fn', ... % Force applied by NASS [N] 'Fty', ... % Parasitic Force Ty [N] 'Frz'}; % Parasitic Force Rz [N] G_dvf.OutputName = {'D', ... % Measured sample displacement x.r.t. granite [m] 'Fnm', ... % Force Sensor in NASS [N] 'Dnm', ... % Displacement Sensor in NASS [m] 'Dgm', ... % Asbolute displacement of Granite [m] 'Vlm'}; ... % Absolute Velocity of NASS [m/s]
save('./uniaxial/mat/plants.mat', 'G_dvf', '-append');
5.3 Sensitivity to Disturbance
5.5 Conclusion
Direct Velocity Feedback:
6 Comparison of Active Damping Techniques
6.1 Load the plants
load('./uniaxial/mat/plants.mat', 'G', 'G_iff', 'G_rmc', 'G_dvf');
6.2 Sensitivity to Disturbance
6.4 Conclusion
IFF | RMC | DVF | |
---|---|---|---|
Sensor Type | Force sensor | Relative Motion | Inertial |
Guaranteed Stability | + | + | - |
Sensitivity (\(D_w\)) | - | + | - |
Sensitivity (\(F_s\)) | - (at low freq) | + | + |
Sensitivity (\(F_{ty,rz}\)) | + | - | + |
The next step is to take into account the power spectral density of each disturbance.