Full State Controller Structure Design in Simulink

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.

 채택된 답변

Sezer Memis
Sezer Memis 2021년 1월 15일

0 개 추천

Using discrete integrator instead of unit time delay? Where was my mind?

추가 답변 (0개)

카테고리

질문:

2021년 1월 14일

답변:

2021년 1월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by