1 / 8

Tips Penggunaan MATLAB dalam PENGENDALIAN PROSES

Tips Penggunaan MATLAB dalam PENGENDALIAN PROSES. Ir. Abdul Wahid Surhim , MT. Mencari AKAR POLINOMIAL. Matlabnya: Fungsi standar untuk “akar” itu “roots” roots([1.5 5 4.5 1]). Membuat FUNGSI ALIH. Fungsi standar untuk “fungsi alih” itu “tf” G = tf(5, [1.5 5 4.5 1]).

hadar
Download Presentation

Tips Penggunaan MATLAB dalam PENGENDALIAN PROSES

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tips Penggunaan MATLABdalamPENGENDALIAN PROSES Ir. Abdul Wahid Surhim, MT.

  2. MencariAKAR POLINOMIAL • Matlabnya: • Fungsi standar untuk “akar” itu “roots” • roots([1.5 5 4.5 1])

  3. MembuatFUNGSI ALIH • Fungsi standar untuk “fungsi alih” itu “tf” G = tf(5, [1.5 5 4.5 1])

  4. Membuat GrafikFUNGSI STEP • Fungsi standar untuk “unit step” itu “step” G = tf(5, [1.5 5 4.5 1]) step(G)

  5. Membuat GrafikROOT LOCUS • Fungsi standar untuk “unit step” itu “step” G = tf(5, [1.5 5 4.5 1]) rlocus(G)

  6. Memasukkan Hargasetelah di-RUN • Memasukkan harga atau nilai setelah program di-run dilakukan untuk simulasi • Fungsi standarnya “input”: Kc=input('Masukkan harga Kc: '); Ti=input('Masukkan harga Ti: '); Td=input('Masukkan harga Td: ');

  7. Simulasi Sistem Pengendalian Proses Heat Exchanger: Sensor: Control Valve: Kontroler PID:

  8. Kode MATLAB Kc=input('Masukkan harga Kc: '); Ti=input('Masukkan harga Ti: '); Td=input('Masukkan harga Td: '); tn=input('Waktu akhir: '); h=input('dt: '); Gc=Kc*tf([Ti*Td Ti 1],[Ti 0]); Gv=tf(0.016,[3 1]); Gp=tf(50,[30 1]); Gs=tf(1,[10 1]); Kp=0.8; n=Gc*Gv*Gp; d=1+Gc*Gv*Gp*Gs; % SERVO (Setpoint) G=n/d; t=0:h:tn; step(G,t) [y,t]=step(G,t); n=length(t); IAE=0; for j=2:n IAE(j)=IAE(j-1)+h*abs(1-y(j-1)); end pause plot(t,IAE) IAE=IAE(n)

More Related