Re: PI controller
You can easily make trial and error PI controller if you use
microcontroller. Try to control a small dc motor speed with a pwm output.
You have to determine proportional (P) part first, from small value, and then
give a higer and higher value.
If you have get an optimal one, but it still ripples, give the integral (I) part,
usually Integral is a very small value but increasing or decreasing dynamically.
P = Kp.error
I = I + Ki.CE
out = P + I
where CE is Change of Error
Or you can do it with MATLAB.