# How to Find Kp,Ki for PI controller from Gain and Time Constant value Given

520 views (last 30 days)
Sreeraj A on 14 Jan 2021
Hello !
I have a PSIM circuit model where for the PI Controller Gain and Time constant values are mentioned. I would like to use the same values with Matlab PI controller where input is Proportional Gain and Integral Gain( Kp & Ki)
Any method to find Kp and Ki from Gain and Time constant values mentioned ?
Sreeraj Arole
hamed hendijani on 29 Sep 2022
my input voltage of cloosed loop boost converter is 24v and out put voltage is 48v
i already designed the simulation of it and i used youtube videos to set proportional to 0.7 and integral to 100 and it works but i want to know from where we can get this values?
Sam Chak on 29 Sep 2022
Edited: Sam Chak on 29 Sep 2022
I guess that is a part of the system that produce the output from the input .
If your boost converter model is linear, then you can apply the Final Value Theorem learned fron Integral Calculus.
I think is inside the function that you can derive from the Final Value Theorem.
Is the Boost Converter a subsystem of the PSIM circuit? If they are unrelated, please show the mathematical model of the Boost Converter in a New Question.

Birdman on 14 Jan 2021
Simply, the conversion is as follows(Let K denote gain and Ti denote time constant):
K*(1+1/(Ti*s))
is equal to
Kp+Ki/s
If you equate two expressions, then
Kp=K
Ki=K/Ti
Sreeraj A on 14 Jan 2021
Really Helpful ! Thank you very much @Birdman

does anyone know how to tune the PI Controller parameters in inverter-based microgrids ?

### Communities

More Answers in the  Power Electronics Control

### Categories

Find more on Converters (High Power) in Help Center and File Exchange

R2020a

### Community Treasure Hunt

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

Start Hunting!