How to use pidtool and simulink

I tuned a pid controller using pidtool, and saved the pid object it creates. Now I wanted to insert it into a simulink model, but I don't know how to do it. On the same topic, how do you do it for ss objects?

답변 (1개)

Arkadiy Turevskiy
Arkadiy Turevskiy 2013년 4월 24일

0 개 추천

Use PID Controller block to implement your PID controller in Simulink.
Once you have a tuned pid object in your MATLAB workspace (say object name is c), open the block dialog for PID Controller block and type in c.Kp, c.Ki, c.Kd, and 1/c.Tf for parameters P,I,D, and N correspondingly.
You can also tune PID controllers directly in Simulink by pressing "tune" button in the PID Controller block. More information is available on pid tuning page.
HTH.
Arkadiy

카테고리

도움말 센터File Exchange에서 Control System Toolbox에 대해 자세히 알아보기

질문:

A
A
2013년 4월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by