All this was observed using the code I posted above.
With the derivative set to one, and the loop at 216 (degrees) it usually starts with an output to the PWM of 150 or so. As the sample gets...
Type: Posts; User: andywpg; Keyword(s):
All this was observed using the code I posted above.
With the derivative set to one, and the loop at 216 (degrees) it usually starts with an output to the PWM of 150 or so. As the sample gets...
If anyone is interested, here is what I used to run the simulation (my controller has an LCD)
#CONFIG
__config _CONFIG1, _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_OFF & _LVP_OFF & _CP_OFF ...
I had actually planned to run the fan in manual mode until I am near the setpoint, then allow the PID loop to take over in auto mode.
The other question I had is on the reset. In the example, it...
I am attempting to adapt Henrik's PID routine to my smoker temperature controller project. Basically, a fan provides air to the charcoal based on a temperature sensor in the chamber.
I set up a...