PID BLOCK IN SIMULINK

24 views (last 30 days)
Uzair Akhtar
Uzair Akhtar on 13 Apr 2020
Commented: Ameer Hamza on 14 Apr 2020
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.

Accepted Answer

Ameer Hamza
Ameer Hamza on 13 Apr 2020
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 Comments
Uzair Akhtar
Uzair Akhtar on 13 Apr 2020
Thank you. Do you know what impact the filter coefficient N has to the system.
Ameer Hamza
Ameer Hamza on 14 Apr 2020
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.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!