PID temperature controller for cooking

PID_temp_controller.jpg

From the MAKE Flickr Pool -
Member Boss Sauce shares pics of his precision temperature controller using a PID mechanism.

PID_diagram.jpg

A PID (proportional-integral-derivative) controller measures a specific variable (such as water temperature) in comparison to a predetermined setting (ideal temp). The controller then performs a corrective action via its control circuit in order to reach the desired setting (i.e. - increases power to the burner). Result = dinner cooked up just right.

PID temperature controller - Link

PID controller on Wikipedia - Link

Posted by Collin Cunningham | Jan 28, 2008 04:30 PM
DIY Projects, Electronics | Permalink | Comments (8) | Email This | Bookmark and Share | Digg this!

Recent Entries

Comments

Oldest comments listed first.

Posted by: Alon on January 29, 2008 at 3:11 AM

You don't need a PID controller for temperature control.
The temperature is not a function of the changes in the heat transfer rate, but only of the total amount of heat accumulated so far.
That's why unlike electrical or mechanical systems, heat transfer systems are not affected by the "D" coefficient.

(Professionally speaking,this is a first order system, and not a second order system).

That's why a PI controller is all you need when controlling a thermal system.


Posted by: boss sauce on January 29, 2008 at 8:46 AM

Adjustable PID controllers can be set to run in P, PI, or PD modes depending on their settings. Why try to make or find a PI-only controller when PID controllers are commonplace?


Posted by: Alon on January 29, 2008 at 12:22 PM

Any PID controller may be used as PI, simply by setting D=0.
But, if you build (or program) the controller by yourself, it's easier to make a PI than a PID.
If you buy the controller, temperature controllers are much cheaper, not only because they lack the "D", but because they may be much slower then the ones intended for use with electro-mechanical processes.
Using a PID controller for temperature control, is a major overkill, and not a good engineering practice.


Posted by: boss sauce on January 29, 2008 at 3:03 PM

Another good engineering practice is using parts you have around to get the job done...:) Temperature and PID controllers go for about the same prices on eBay, and I prefer more features to fewer, given that I plan to use this to control different systems. Curious why PID controllers are commonly sold for temperature control when you insist that they are overkill?


Posted by: Alon on January 30, 2008 at 1:39 AM

I agree that it is a good engineering practice, to use parts that you already have.
In a project I managed in the past I had to control 3 motion axis and a heater, so I purchased a 4 axis motion controller, and used 1 channel to control the temperature.

Anyway, I didn't mean to criticize the project.
I noticed the link to the theoretical explanation on PID, and I wanted only to make a point that from the theoretic point of view, heat system do not require full PID controller.

Regarding your question, I don't know much about prices of small PID controllers, as I've experienced only accurate expensive (about 1-2 k$)programmable multi axis controllers, or small self built analog controllers.
I assume that with the prices of electronics compared to all the overhead, the difference between Temp. & motion controllers may be neglectable, as long as the circuitry is in the 10-12 bits area, and expensive noise reduction is not required.

Another issue, is that temperature controllers usually include feature not found in most PID controllers - controlled Hysteresis.
This feature is very important mainly if an electro-mechanical relay is used, but can save switching noise when other switching components are used as well.


Posted by: boss sauce on January 31, 2008 at 3:00 PM

Interesting to learn about off-the-shelf controllers-- the box idea was to make a simple "black box" enclosure for what is normally an industrial black box controller built into a larger system. I was careful cutting the square hole-- it's a 1/16 DIN form factor, so it's trivial to swap out the PID for a temperature controller... or for any controller, really! "1/16 DIN controller" yields all sorts of wonderful little black boxes with simple interfaces...:)


Posted by: SousVideMagic on February 16, 2008 at 8:10 AM

I recently launched a product doing exactly that:
http://freshmealssolutions.com/index.php?option=com_frontpage&Itemid=1
Fresh Meals Solutions - Home


Posted by: Tim Hirzel on February 18, 2008 at 7:13 PM

That is very cool. I foolishly hadn't connected tight temperature control with areas of cooking outside coffee.

I just setup a PID control loop for espresso machines using an arduino. The espresso machine modding world is all about "PID" control. Coming from there, I never realized that the D was never used. Well, maybe I did, but in a different way... does it relate to the fact that you cant put the brakes on the heater? If a there was a heating element and cooling element, could you take advantage of the D then?

If anyone is curious, the code for my setup is here:
http://www.arduino.cc/playground/Main/BarebonesPIDForEspresso

there is a processing ap that goes with it to to aid tuning.


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now

How-to videos for Makers and Crafers!


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out... Welcome to the Make Blog!

Features and more @ MAKE!

Maker shed - cool stuff to make!
Stop by the Maker Shed store and check out THE place for open source hardware, Arduino & Arduino accessories, electronic kits, science kits, smart stuff for kids, back issues of MAKE & CRAFT, box sets, books, robots, kits from Japan and more.

Add MAKE to iGoogle - GoogleGoogle.
Add MAKE to your RSS reader - Real simple.
Add MAKE on Twitter.
Add MAKE on FriendFeed & the MAKE room.


Advertise here with FM.

Why advertise on MAKE?
Read what folks are saying about us!

Click here to advertise on MAKE!

Subscribe to MAKE Magazine!

Makezine authors!


Suggest a Site!

Phillip Torrone
Senior Editor
Tel: 707-827-7311
Twitter / AIM

Gareth Branwyn
Jonah Brucker-Cohen
Collin Cunningham
Marc de Vinck
Kip Kay
Luke Iseman
Patti Schiendelman
Becky Stern
Mike Dixon
Peter Horvath(intern)


Current Podcast

itunesdl.gif The Best of Maker Faire Austin 2008 Check out all the fun and excitement at this year's Maker Faire in Austin, Texas. People from all over the world came to experience this amazing event. Take a look at some of the highlights and make plans to... More...

Get the Make blog sent via email

Enter your email to receive the Make blog each day:



WOW! Thanks to everyone involved with Maker Faire Bay Area and Maker Faire Austin in 2008: attendees, makers, exhibitors, sponsors, volunteers, and crew...it was an AMAZING year! Over 1,000 Makers and 87,000+ attendees total! Be sure to check out the photos @ Flickr, and our Maker Faire posts for all the action! Check back for dates for 2009 soon!

Make Categories

www.flickr.com
photos in MAKE More photos in MAKE Flickr Pool
www.flickr.com
photos in Craft More photos in Craft Flickr Pool

Advertise here.
Why advertise on MAKE?
Read what folks are saying about us!

Click here to advertise on MAKE!
Subscribe to MAKE Magazine!

Recent Posts from the Craft: Blog

Recent Posts from the Hackszine Blog