Full State Controller Structure Design in Simulink

2 views (last 30 days)
I try to simulating full state controller in Simulink. But my structure which made by gain blocks did not work.
The bottom closed loop (state-space block) works same as i expected. Same A, B matrices, same input, same structure i think but the top one did not work.
All gain blocks are setting like this:
Matlab commands:
%%
A = [0.8053, -0.1399, -0.09017;
0.1803, 0.9857, -0.009342;
0.009342, 0.09952, 0.9997];
B = [0.04509; 0.004671; 0.0001584];
C = [0 0 1];
D = [0];
x0 = [0; 0; 0];
%%
sys = ss(A,B,C,D,-1);
%%
desired_poles = [0.3; 0.4; 0.5]
sys.C = eye(3)
K = place(A, B, desired_poles)
System is fully controllable. What am i missing? Tried a lot of things but didn't work. Problem and solution is very easy i guess.

Accepted Answer

Sezer Memis
Sezer Memis on 15 Jan 2021
Using discrete integrator instead of unit time delay? Where was my mind?

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!