user101509
user101509

Reputation: 47

Gain value for PI controller using Simulink

I am doing project in Matlab Simulink. I want to find the proportional and integral gain value for PI controller. Is there any way to find the PI controller gain value which does not have transfer function? I have two inputs for PI controller one is the the reference voltage and and the other is voltage from the capacitor. Please help me in finding the gain value.

Please let me know if more information is needed.

Upvotes: 0

Views: 2750

Answers (1)

NKN
NKN

Reputation: 6424

One way is to use PID Tuner in MATLAB/SIMULINK. PID Tuner provides a fast and widely applicable single-loop PID tuning method for the Simulink PID Controller blocks. With this method, you can tune PID parameters to achieve a robust design with the desired response time. Here you can find a rather good [example].

But if you know the transfer function of your system you can easily use something like this:

sys = zpk([],[-1 -1 -1],1); % define the plant
[C_pi,info] = pidtune(sys,'pi')

Upvotes: 1

Related Questions