PID? What is it?

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.

So what?

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….

Author: Helicopter Jeff

I'm a vinyl decal cutting and designing, Astrophotography and general photography capturing, RC helicopter/quad copter pilot, Arduino and Raspberry Pi hardware/software developer, network, scripting and troubleshooting ninja living in the metro NY area. I am passionate about my hobbies so much I do them for a living. There's nothing better than getting paid to do what you love.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s