How could we rescale the step response of MIMO state space model system?.
2 次查看(过去 30 天)
显示 更早的评论
I have a MIMO system and below its parameters
A=[0,1,0,0;0,-42.44,212.24,0;0,0,0,1;0,0,0,-42.44];
B=[0,0;106.12,-5;0,0;78.6,-42.44];
C=[1,0,0,0;0,1,0,0;0,0,1,0;0,0,0,1];
D=[0]; I found its step response, but I need to rescale its output, How could I rescale it?.
0 个评论
采纳的回答
Raj
2019-6-3
编辑:Raj
2019-6-3
The system you have mentioned is fully controllable as the controllability matrix has full rank. By 'rescaling' I assume you want to control the system's step response. You can easily do that by using a feedback control. In this case a positive feedback control is going to make your system unstable. So you have to use a negative feedback controller. Something like this:
A=[0,1,0,0;0,-42.44,212.24,0;0,0,0,1;0,0,0,-42.44];
B=[0,0;106.12,-5;0,0;78.6,-42.44];
C=[1,0,0,0;0,1,0,0;0,0,1,0;0,0,0,1];
D=[0];
system=ss(A,B,C,D);
step(system) % Step response of original system
hold on
k=[10 10 10 10; 10 10 10 10]% This is a dummy gain matrix.Put your gain matrix here.
system1=ss(A-B*k,B,C,D) % Closed loop system with negative feedback
step(system1) % Step response of closed loop system
5 个评论
Raj
2019-6-3
Again, I am not sure what you are looking for. I am assuming when you say 'static error' ,you want to calculate steady state error. With my dummy gain matrix, I get the closed loop step response as this:
Now at a particular output, SSE is nothing but (Desired value-final value).
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Time and Frequency Domain Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!