Change the parametrisation. Add comments. Clean the simulink.

This commit is contained in:
Thomas Dehaeze 2018-06-05 13:43:03 +02:00
parent 522205107d
commit b853bf4a95
3 changed files with 52 additions and 43 deletions

View File

@ -48,6 +48,7 @@ for i = 1:6
end end
Leg.lenght = 1000*leg_length(1)/1.5; Leg.lenght = 1000*leg_length(1)/1.5;
Leg.shape.bot = [0 0; Leg.rad.bottom 0; Leg.rad.bottom Leg.lenght; Leg.rad.top Leg.lenght; Leg.rad.top 0.2*Leg.lenght; 0 0.2*Leg.lenght];
%% Calculate revolute and cylindrical axes %% Calculate revolute and cylindrical axes
rev1 = zeros(6, 3); rev1 = zeros(6, 3);

View File

@ -1,60 +1,68 @@
%% Nass height %% Nass height
stewart = struct(); stewart = struct();
stewart.h = 90; %mm
stewart.jacobian = 174.5; %mm stewart.h = 350; % Total height of the platform [mm]
stewart.jacobian = 174.5; % Point where the Jacobian is computed => Center of rotation [mm]
%% Bottom Plate %% Bottom Plate
BP = struct(); BP = struct();
BP.rad.int = 0; %mm
BP.rad.ext = 150; %mm
BP.thickness = 10; % mm
BP.leg.rad = 100; %mm
BP.leg.ang = 5; %deg
BP.density = 8000; %kg/m^3
BP.color = [0.5 0.5 0.5]; %rgb
%% TOP Plate BP.rad.int = 110; % Internal Radius [mm]
BP.rad.ext = 207.5; % External Radius [mm]
BP.thickness = 26; % Thickness [mm]
BP.leg.rad = 175.5; % Radius where the legs articulations are positionned [mm]
BP.leg.ang = 9.5; % Angle Offset [deg]
BP.density = 8000; % Density of the material [kg/m^3]
BP.color = [0.5 0.5 0.5]; % Color [rgb]
%% Top Plate
TP = struct(); TP = struct();
TP.rad.int = 0;%mm
TP.rad.ext = 100; %mm TP.rad.int = 82; % Internal Radius [mm]
TP.thickness = 10; % mm TP.rad.ext = 150; % Internal Radius [mm]
TP.leg.rad = 90; %mm TP.thickness = 26; % Thickness [mm]
TP.leg.ang = 5; %deg TP.leg.rad = 118; % Radius where the legs articulations are positionned [mm]
TP.density = 8000; %kg/m^3 TP.leg.ang = 12.1; % Angle Offset [deg]
TP.color = [0.5 0.5 0.5]; %rgb TP.density = 8000; % Density of the material [kg/m^3]
TP.color = [0.5 0.5 0.5]; % Color [rgb]
%% Leg %% Leg
Leg = struct(); Leg = struct();
Leg.stroke = 80e-6; % m
Leg.rad.bottom = 8; %mm Leg.stroke = 10e-3; % Maximum Stroke of each leg [m]
Leg.rad.top = 5; %mm Leg.k.ax = 5e7; % Stiffness of each leg [N/m]
Leg.sphere.bottom = 10; % mm Leg.ksi.ax = 10; % Maximum amplification at resonance []
Leg.sphere.top = 8; % mm Leg.rad.bottom = 25; % Radius of the cylinder of the bottom part [mm]
Leg.density = 8000; %kg/m^3 Leg.rad.top = 17; % Radius of the cylinder of the top part [mm]
Leg.lenght = stewart.h; % mm (approximate) Leg.density = 8000; % Density of the material [kg/m^3]
Leg.m = Leg.density*2*pi*((Leg.rad.bottom*1e-3)^2)*(Leg.lenght*1e-3); %kg Leg.color.bottom = [0.5 0.5 0.5]; % Color [rgb]
Leg.color.bottom = [0.5 0.5 0.5]; %rgb Leg.color.top = [0.5 0.5 0.5]; % Color [rgb]
Leg.color.top = [0.5 0.5 0.5]; %rgb
Leg.k.ax = 5e7; % N/m Leg.sphere.bottom = Leg.rad.bottom; % Size of the sphere at the end of the leg [mm]
Leg.ksi.ax = 10; Leg.sphere.top = Leg.rad.top; % Size of the sphere at the end of the leg [mm]
Leg.m = TP.density*((2*pi*TP.rad.ext/1000)*(TP.thickness/1000)-(2*pi*TP.rad.int/1000)*(TP.thickness/1000))/6; % TODO [kg/m^3]
Leg = updateDamping(Leg); Leg = updateDamping(Leg);
%% Sphere %% Sphere
SP = struct(); SP = struct();
SP.thickness.bottom = 1; %mm
SP.thickness.top = 1; %mm SP.height.bottom = 27; % [mm]
SP.rad.bottom = Leg.sphere.bottom; %mm SP.height.top = 27; % [mm]
SP.rad.top = Leg.sphere.top; %mm SP.density.bottom = 8000; % [kg/m^3]
SP.height.bottom = 5; %mm SP.density.top = 8000; % [kg/m^3]
SP.height.top = 5; %mm SP.color.bottom = [0.5 0.5 0.5]; % [rgb]
SP.density.bottom = 8000; %kg/m^3 SP.color.top = [0.5 0.5 0.5]; % [rgb]
SP.density.top = 8000; %kg/m^3 SP.k.ax = 0; % [N*m/deg]
SP.m = SP.density.bottom*2*pi*((SP.rad.bottom*1e-3)^2)*(SP.height.bottom*1e-3); %kg
SP.color.bottom = [0.5 0.5 0.5]; %rgb
SP.color.top = [0.5 0.5 0.5]; %rgb
SP.k.ax = 1e2; % N*m/deg
SP.ksi.ax = 10; SP.ksi.ax = 10;
SP.thickness.bottom = SP.height.bottom-Leg.sphere.bottom; % [mm]
SP.thickness.top = SP.height.top-Leg.sphere.top; % [mm]
SP.rad.bottom = Leg.sphere.bottom; % [mm]
SP.rad.top = Leg.sphere.top; % [mm]
SP.m = SP.density.bottom*2*pi*((SP.rad.bottom*1e-3)^2)*(SP.height.bottom*1e-3); % [kg]
SP = updateDamping(SP); SP = updateDamping(SP);
%% %%

Binary file not shown.