nass-simscape/Untitled.m
2018-04-10 16:41:30 +02:00

45 lines
909 B
Matlab

run Assemblage_DataFile1.m
%% Translation stage
tz = struct();
tz.m = smiData.Solid(4).mass+smiData.Solid(6).mass+smiData.Solid(7).mass+smiData.Solid(8).mass+smiData.Solid(9).mass+4*smiData.Solid(11).mass+smiData.Solid(24).mass+smiData.Solid(25).mass+smiData.Solid(28).mass;
tz.k.ax = 1e7; %z
tz.k.rad = 9e9; %x
tz.k.rrad = 9e9; %y
tz.ksi.ax = 10;
tz.ksi.rad = 10;
tz.ksi.rrad = 10;
tz = updateDamping(tz);
%% Tilt
ry = struct();
ry.m = smiData.Solid(6).mass+smiData.Solid(7).mass;
ry.k.ax = 1e8;
ry.k.rad = 1e8;
ry.ksi.ax = 5;
ry.ksi.rad = 10;
ry = updateDamping(ry);
%% Spindle
rz = struct();
%% Hexapod Symetrie
hexapod = struct();
%% Nano stage
n = struct();
%%
function element = updateDamping(element)
for field = fieldnames(element.k)
element.c.(field{1}) = 1/element.ksi.(field{1})*sqrt(element.k.(field{1})/element.m);
end
end