For simple transfer function getting different result in matlab code and simulink for same pid values.
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, any body is having answer for following problem:
I am Getting different results while simulting Step response for simple transfer function g= (23.2)/(0.13 s^2 + s) in matlab code and simulink with PID controller (p=1.4175e+03 i=1.5559e+03 d=158.1210). I have attached both results: Fig1 by using matlab step command for plant and controller, whereas fig2 for simulink with same plant and controller.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/158581/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/158582/image.jpeg)
댓글 수: 0
답변 (1개)
Mischa Kim
2016년 12월 2일
Sadeep, Fig 1. looks very much like the step input (rather than the step response). Compare this figure to
g = tf(1,1)
g =
1
Static gain.
step(g)
Please post your MATLAB code so we can help.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 PID Controller Tuning에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!