PID Command in MATLAB
조회 수: 1 (최근 30일)
이전 댓글 표시
Muhammad Adeel Ahsan Awan
2020년 6월 3일
답변: Muhammad Adeel Ahsan Awan
2020년 6월 5일
I am having problem in solving Simulink Model in MATLAB.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/309617/image.jpeg)
I tried to solved this using following code
s=tf('s')
Phi=193.4/(s^2)
K_Phi=pid(0.3,0,0.2,100)
Phi_1=feedback(K_Phi*Phi,1,-1)
step(Phi_1)
I also tried on more method
K_Phi=pid(0.3,0,0.2,100)
Phi_1=feedback(Phi,1,-1)
Phi_2=Phi_1*K_Phi
step(Phi_2)
But, both ways aren't working kindly help me in solving this.
댓글 수: 0
채택된 답변
추가 답변 (1개)
참고 항목
카테고리
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!