Finding Rise Time from System Response
조회 수: 5 (최근 30일)
이전 댓글 표시
I am trying to find appropriate sample time from the open loop response from my system for use in model predictive control:
A=[-1 1.6 0;0 0 1;0 0 -11.76];
B=[0; 0; 1];
C=[50 0 0];
D=zeros(1,1);
Cont_plant=ss(A,B,C,D); %continuous state space dynamics of plant
step(Cont_plant)
How do i get get the rise time,settling time since this system is not open loop stable? I tried to put it in feedback and still this:
A=[-1 1.6 0;0 0 1;0 0 -11.76];
B=[0; 0; 1];
C=[50 0 0];
D=zeros(1,1);
Cont_plant=ss(A,B,C,D); %continuous state space dynamics of plant
step(Cont_plant)
G=feedback(Cont_plant,1)
step(G)
댓글 수: 0
답변 (1개)
Burhan Burak AKMAN
2021년 12월 29일
You can use 'stepinfo' function like below.
A=[-1 1.6 0;0 0 1;0 0 -11.76];
B=[0; 0; 1];
C=[50 0 0];
D=zeros(1,1);
Cont_plant=ss(A,B,C,D); %continuous state space dynamics of plant
step(Cont_plant)
G=feedback(Cont_plant,1);
step(G)
stepinfo(G)
참고 항목
카테고리
Help Center 및 File Exchange에서 Model Predictive Control Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!