I have worked out that my PID controller is
Gc = 4.2(1 + 1/1.57s + 0.39s)
I want to put this into a block on simulink but the PID controller block in simulink is in a weird form. Does anyone know how to get around this. Thanks.

 채택된 답변

Ameer Hamza
Ameer Hamza 2020년 4월 13일

1 개 추천

In the Simulink PID block, In the form field, change the form from parallel to ideal and set the value of filter coefficient N to be quite high (say 200). Then parameters P, I, and D can be used from your current transfer function.

댓글 수: 2

Uzair Akhtar
Uzair Akhtar 2020년 4월 13일
Thank you. Do you know what impact the filter coefficient N has to the system.
Ameer Hamza
Ameer Hamza 2020년 4월 14일
PID block uses a low-pass filter for D term. The value of N controls the stop-band of the low-pass filter. Higher the value of N, higher is the stop-band frequency. For the low-value of N, the PID block will smooth the derivative of your system. If you have a high value of N, the filter will have no significant effect.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

태그

질문:

2020년 4월 13일

댓글:

2020년 4월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by