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

조회 수: 51 (최근 30일)
sudharsan chinnaiyan 2020년 12월 21일
댓글: sudharsan chinnaiyan 2020년 12월 30일

댓글을 달려면 로그인하십시오.

### 답변 (1개)

Aman Vyas 2020년 12월 24일
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');
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
##### 댓글 수: 1이전 댓글 -1개 표시이전 댓글 -1개 숨기기
sudharsan chinnaiyan 2020년 12월 30일
Thanks a lot Aman.,
I will try to implement it.,
Thank you,
Sudharsan chinnaiyan.

댓글을 달려면 로그인하십시오.

### 카테고리

Help CenterFile Exchange에서 PID Controller Tuning에 대해 자세히 알아보기

### Community Treasure Hunt

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

Start Hunting!

Translated by