from
Distributed parallel simulations with Simulink(R) and other tools
by Roger Aarenstrup
Parallel and co-simulations with Simulink(R), integration with simServer
|
| controller_params.m |
% Copyright 2009, The MathWorks, Inc.
%
% roger.aarenstrup@mathworks.com
%% Sample Time
Ts = 0.0001;
%% Parameters for trajectory generator
traj_calc_params
%%
L3 = [0.0587 -3926.2 0.0470 4002.1 -2.0799];
Kinv = 0.00047404;
%% Observer
Aobs = [0.5652 -9507.5 0.4347 7775.9;
0.000084815 -0.8892 0.000015179 0.4269;
0.0462 -547.9145 0.9537 -826.23;
0.0000016129 -0.6746 0.000098381 0.9546];
Bobs = [1.8628 1731.6;
0.00010124 1.4623;
0.0354 1374.2;
0.0000009106 0.720];
Cobs = [1 0 0 0;
0 1 0 0;
0 0 1 0;
0 0 0 1];
Dobs = [0 0;
0 0;
0 0;
0 0];
%% Observer
Aobs = [0.565199229918 -9507.500654505526 0.434687561847 7775.910757477992;
0.000084815133 -0.889230292925 0.000015179233 0.426929739550;
0.046188251358 -547.914512433038 0.953692703064 -826.235596851403;
0.000001612888 -0.674630267679 0.000098381157 0.954636175393];
Bobs = [1.862762261930 1731.589897027533;
0.000101239091 1.462300553375;
0.035423233922 1374.15010928444;
0.000000910602 0.719994092286];
Cobs = [1 0 0 0;
0 1 0 0;
0 0 1 0;
0 0 0 1];
Dobs = [0 0;
0 0;
0 0;
0 0];
|
|
Contact us at files@mathworks.com