2019-07-15 11:07:24 +02:00
|
|
|
% Center of gravity compensation
|
|
|
|
% :PROPERTIES:
|
|
|
|
% :header-args:matlab+: :tangle src/initializeAxisc.m
|
|
|
|
% :header-args:matlab+: :comments org :mkdirp yes
|
|
|
|
% :header-args:matlab+: :eval no :results none
|
|
|
|
% :END:
|
|
|
|
% <<sec:initializeAxisc>>
|
|
|
|
|
|
|
|
% This Matlab function is accessible [[file:src/initializeAxisc.m][here]].
|
|
|
|
|
|
|
|
|
2018-10-12 18:17:03 +02:00
|
|
|
function [axisc] = initializeAxisc()
|
2018-06-16 22:57:54 +02:00
|
|
|
%%
|
|
|
|
axisc = struct();
|
|
|
|
|
2018-10-29 12:57:13 +01:00
|
|
|
%% Axis Compensator - Static Properties
|
|
|
|
% Structure
|
|
|
|
axisc.structure.density = 3400; % [kg/m3]
|
|
|
|
axisc.structure.color = [0.792 0.820 0.933];
|
|
|
|
axisc.structure.STEP = './STEPS/axisc/axisc_structure.STEP';
|
|
|
|
% Wheel
|
|
|
|
axisc.wheel.density = 2700; % [kg/m3]
|
|
|
|
axisc.wheel.color = [0.753 0.753 0.753];
|
|
|
|
axisc.wheel.STEP = './STEPS/axisc/axisc_wheel.STEP';
|
|
|
|
% Mass
|
|
|
|
axisc.mass.density = 7800; % [kg/m3]
|
|
|
|
axisc.mass.color = [0.792 0.820 0.933];
|
|
|
|
axisc.mass.STEP = './STEPS/axisc/axisc_mass.STEP';
|
|
|
|
% Gear
|
|
|
|
axisc.gear.density = 7800; % [kg/m3]
|
|
|
|
axisc.gear.color = [0.792 0.820 0.933];
|
|
|
|
axisc.gear.STEP = './STEPS/axisc/axisc_gear.STEP';
|
|
|
|
|
|
|
|
axisc.m = 40; % TODO [kg]
|
|
|
|
|
|
|
|
%% Axis Compensator - Dynamical Properties
|
2018-06-16 22:57:54 +02:00
|
|
|
axisc.k.ax = 1; % TODO [N*m/deg)]
|
2018-06-21 11:42:46 +02:00
|
|
|
axisc.c.ax = (1/1)*sqrt(axisc.k.ax/axisc.m);
|
2018-06-16 22:57:54 +02:00
|
|
|
|
2018-10-11 10:25:57 +02:00
|
|
|
%% Save
|
|
|
|
save('./mat/stages.mat', 'axisc', '-append');
|
2018-06-16 22:57:54 +02:00
|
|
|
end
|