Current Loop Design - Motion Control.

조회 수: 1 (최근 30일)
Ayham Alhamdani
Ayham Alhamdani 2020년 6월 15일
댓글: Rik 2020년 11월 17일
Can someone please help checking the code for the problem in the PDF, would be thankful.
If there is anything missing to the question let me know, Thank you.
Ra=2;
La=5.2e-3;
Jeq=152e-3;
B=0;
KE=0.1;
KI=0.1;
Vd=60;
Vtri=5;
Fs=33*10^3;
Kpwm=Vd/Vtri;
ElectricalTime=La/Ra;
WcI=1000*2*pi;
KiI=WcI*Ra/Kpwm;
KpI=ElectricalTime*KiI;
KILim=5;
GOL_I=tf([KiI*Kpwm/Ra],[1 0]);
GCL_I=feedback(GOL_I,1);
WcS=50*2*pi;
KiS=1/KI*Jeq*WcS^2*0.5;
KpS=sqrt(3)*KiS/WcS;
KSLim=10;
GPI_S=tf([KpS KiS],[1 0]);
GOL_S=GPI_S*KI*tf([1],[Jeq 0]);
GCL_S=feedback(GOL_S,1);
figure(3)
bodeplot(GOL_S,{1 1000});title('GOL_S');grid on;
figure(4)
bodeplot(GCL_S,{1 1000});title('GCL_S');grid on;
  댓글 수: 1
Rik
Rik 2020년 11월 17일
Have a read here and here. It will greatly improve your chances of getting an answer.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Dynamic System Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by