Wikipedia says that a proportional–integral–derivative controller (PID controller) is a generic control loop feedback mechanism (controller) widely used in industrial control systems – a PID is the most commonly used feedback controller. A PID controller calculates an “error” value as the difference between a measured process variable and a desired setpoint. The controller attempts to minimize the error by adjusting the process control inputs.
Well here’s the problem I have with the LCC now. The LCC turns on the heat source until the max temp is reached. Then it turns off the heat source, waits until the temp is below the max temp by x amount and turns it on again.
What if….the LCC could ramp up the heating device to get to the desired max temp and keep it there. Not going over. Not turning off.
That’s where the PID controller comes in.
There is an Arduino library for this. The PID Library.
No I have to figure out how to tune it and translate its control to the heat source. That’s the hard part.
Stay tuned for more. I’m testing code now. The next part is testing the code with actual physical input output….