How to calculate the gain value Kp and Ki for the current controller of Matrix converter?
37 views (last 30 days)
Aman Vyas on 24 Dec 2020
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.
PID= %YOUR TRANSFER FUNCTION
syms Kp Kd Ki N
NPID_num=[Kp+N*Kd Kp*N+Ki N*Ki];
NPID_den=[1 N 0];
solx=vpasolve([eqn1 eqn2 eqn3 eqn4]);
Hope it helps !