Hello,
I have example 1 from the link below setup to control the speed of a dc motor.
http://www.arduino.cc/playground/Code/PIDLibraryError = Setpoint - input
output = PWM; // to control the speed.
when the error is positive = increase speed = PWM duty cycle go to 100%
when the error is negative = decrease speed = PWM duty cycle go to 0%
THE PROBLEM:
I've tried alot of values for P_Param and I_Param. keeping D_Param = 0.
the response time (for the duty cycle to go from 100% to 0%) is really slow. How can i increase the response time? specially when the error is negative.
Thank you,
Bassam