Closed
Description
New to H-infinity.
Got an error while trying to construct a controller.
Error persists with a simple example shown below. Model of a mass moving along one dimension. Control inputs and disturbance both effect plant in the same way (by applying a force).
pkg load control
% x = [x x_dot]'
A = [0 1;0 0];
B = [0 1]';
C = [1 0];
P21 = ss(A,B,C);
P22 = ss(A,B,C);
P11 = P21;
P12 = P22;
sys_for_h_inf = [ P11 P12;
P21 P22];
hinfsyn(sys_for_h_inf,1,1)
results in
error: hinfsyn: (A, B2) must be stabilizable
error: called from
hinfsyn at line 231 column 5
(isctrb(A,B)
is true/1)
I didn't know if the problem might not be well posed since there is no penalty for control effort, so I modified the problem to add control effort to the z output:
pkg load control
% x = [x x_dot]'
A = [0 1;0 0];
B = [0 1]';
C = [1 0];
P21 = ss(A,B,C);
P22 = ss(A,B,C);
P11 = ss(A,B,[C;0 0]);
P12 = ss(A,B,[C;0 0],[0;1]);
sys_for_h_inf = [ P11 P12;
P21 P22];
hinfsyn(sys_for_h_inf,1,1)
...same error
octave 9.4.0
archlinux
:) thanks
Metadata
Metadata
Assignees
Labels
No labels