How to calculate the gain value Kp and Ki for the current controller of Matrix converter?

34 visualizaciones (últimos 30 días)

Respuestas (1)

Aman Vyas
Aman Vyas el 24 de Dic. de 2020
Hi,
Basically ki, kp and kd values are specified by the user in the PI, PID controller. So based on that your system will work as you have to model the values of kp, ki and kd. Also if you wish to obtain the values you can try the below script by putting in your transfer function.
s=tf('s');
PID= %YOUR TRANSFER FUNCTION
syms Kp Kd Ki N
NPID_num=[Kp+N*Kd Kp*N+Ki N*Ki];
NPID_den=[1 N 0];
eqn1=PID.Numerator{1}(1)==NPID_num(1);
eqn2=PID.Numerator{1}(2)==NPID_num(2);
eqn3=PID.Numerator{1}(3)==NPID_num(3);
eqn4=PID.Denominator{1}(2)==NPID_den(2);
solx=vpasolve([eqn1 eqn2 eqn3 eqn4]);
Kp=subs(Kp,solx.Kp)
Kd=subs(Kd,solx.Kd)
Ki=subs(Ki,solx.Ki)
N=subs(N,solx.N)
Hope it helps !
Aman

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by