4. ºñ·Ê ¹ÌºÐ ÀûºÐ Á¦¾î±â ¼³°è
<±×¸² 6>¿¡¼ º¸µíÀÌ PDÁ¦¾î±â¸¦ »ç¿ëÇÏ¿© Áøµ¿À» ÃÖ¼ÒÈ ÇÏ¿´´Ù. ÇÏÁö¸¸ Á¤»ó»óÅ ¿ÀÂ÷°¡ ¸Å¿ì
Å« °ÍÀ» ¾Ë ¼ö ÀÖ´Ù. Á¤»ó»óÅ ¼º´ÉÀ» °³¼±Çϱâ À§Çؼ ÀûºÐ±â¸¦ Æ÷ÇÔÇÏ´Â PID Á¦¾î±â¸¦ ¼³°èÇÑ´Ù.
PIDÁ¦¾î±âÀÇ Àü´Þ ÇÔ¼ö´Â (½Ä 3) °°´Ù.
(½Ä 3)
, ·Î °íÁ¤ÇÏ°í ¸¦ Á¶ÀýÇÏ¸é¼ PID
Á¦¾î±â¸¦ ¼³°èÇϸé <±×¸² 7>ÀÇ °á°ú¸¦ ¾òÀ» ¼ö ÀÖ´Ù.
Kp2 = 0.5; // ºñ·Ê°è¼ö
Kd2 = 0.0005; // ¹ÌºÐ°è¼ö
Ki2 = [10,50]; // ÀûºÐ°è¼ö
T = 0: 0.04: 0.0002; y=ones(3,length(T));
Cnum1 = [Kd2, Kp2]; Cden1 = 1;
for (i=1;i<=2;i=i+1) {Cnum2 = [1,Ki2(i)]; Cden2 = [1, 0];
[Cnum,Cden] = series (Cnum1,Cden1,Cnum2,Cden2); // C(s)
[GCnum,GCden] = series(Gnum,Gden,Cnum,Cden);
[Tnum,Tden] = cloop(GCnum,GCden,-1);
// Æó·Î ½Ã½ºÅÛÀÇ Àü´ÞÇÔ¼ö y(i;)=(step(Tnum,Tden, T))';}
plot (T,y(1;),T,y(2;));
("PID Á¦¾î±â¸¦ »ç¿ëÇÑ ½Ã½ºÅÛÀÇ ´ÜÀ§°è´Ü ÀÀ´ä");
<±×¸² 7> PIDÁ¦¾î±â¸¦ »ç¿ëÇÑ ½Ã½ºÅÛÀÇ ´ÜÀ§°è´ÜÀÀ´ä>
¡¡ |