works_PI - if (Pm > 40 && abs(max(y)) < 0.25...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Kp0 = 0.001; Kd = 0; Ki0 = 0.001; dk = 5; Kmax = 1000; a = 1; a Kp = Kp0; K while (Kp < Kmax) Ki = Ki0; while (Ki < Kmax) [pid, Pm, Wp, y, theta] = main_3 (Kp, Kd, Ki); p = max(real(pole(theta)));
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: if (Pm > 40 && abs(max(y)) < 0.25 && p <= -1e-7) work_PI(a, :) = pid; a = a + 1; end Ki = dk * Ki; end Kp = Kp * dk; end e...
View Full Document

This note was uploaded on 09/18/2011 for the course ASE Controls taught by Professor Bishop during the Spring '10 term at University of Texas at Austin.

Ask a homework question - tutors are online