PI BLOCK IN SIMULINK
Show older comments
I have a model in simulink with a PI controller and a transfer function which is shown below.
The PI controller is 3.15(1+2.6s/2.6s) which I have put in ideal form where the proportional(P) is 3.15 and the integral(I) is 2.6 however Im not getting the correct trace on the scope

However when I replace the PI controller with this input output block I have shown below I get the correct answer. Can someone explain what I am doing wrong with the PI block, thanks.

This is what's inside the subsystem input output block.

Answers (1)
Animesh
on 22 Aug 2024
1 vote
If you look at “PI controller” block’s dialog box, you can see that compensator formula is:
Given the value of “P = 3.15” and “I = 2.6” would generate the compensator as:
But the desired compensator is:
To obtain the above result use, “P = 3.15” and “I = 3.15/2.6”.
Here is an image with correct configurations:

You can refer to the following MathWorks documentation for more information on "PI Controller" block:
Categories
Find more on Aerospace Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!