<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5701178995884648964</id><updated>2012-02-16T07:35:35.280-08:00</updated><category term='cooling'/><category term='picaxe'/><category term='wort'/><category term='circuit'/><category term='cooler'/><category term='beer'/><category term='heat generated'/><category term='homebrew'/><category term='thermoelectric'/><category term='fermentation'/><category term='program'/><category term='heat sink'/><category term='calculation'/><category term='temperature'/><category term='TEC'/><category term='cats'/><category term='code'/><category term='PCB'/><category term='heat transfer'/><category term='schematic'/><category term='insulation heat loss'/><category term='label'/><title type='text'>Electro-geek</title><subtitle type='html'>A blog for the thinker and tinkerer...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://electro-geek.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5701178995884648964/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://electro-geek.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>villacherman</name><uri>http://www.blogger.com/profile/13243485629014231076</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_25Uk4k6de5o/Sbnabf4FaGI/AAAAAAAAAHE/O4vW6d12nLQ/S220/Profile+Pic+1.bmp'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5701178995884648964.post-5568475723068408051</id><published>2009-07-06T19:29:00.001-07:00</published><updated>2009-07-06T21:49:52.759-07:00</updated><title type='text'>Thermoelectric Temperature Controller - Part 5</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_25Uk4k6de5o/SlLPtwiiiUI/AAAAAAAAAQ8/TUBSgYGlnSU/s1600-h/wedding+bells+049.JPG"&gt;&lt;/a&gt;&lt;div style="text-align: left;"&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;From&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; many great inputs from various sources on Sparkfun.com, allaboutcircuits.com and comments on this blog, I've come up with some improvements to the control circuitry.  Those improvements are...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;PWM control of the driving MOSFET instead of a filtered linear voltage control&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;An H-bridge controller to allow for heating as well as cooling via digital control&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Reducing outputs used by the micro-controller to free them up for anything else, or to use a smaller micro-controller&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;The first thing I noticed when runnning the previous circuits shown in Part 3 was that the IRF510 MOSFET was running very hot when it was not being driven at the saturation voltage.  This is because MOSFETs are most efficient when run at full on.  In the circuit in part 3, R8, R9 and C4 were filtering the PWM from the micro-controller and driving the MOSFET at a linear voltage.  The MOSFET really needed to be run at either a full-on or full-off mode, i.e. true PWM.  To accomplish this, get rid of R8, R9 and C4 and drive the MOSFET with a low-impedance circuit. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_25Uk4k6de5o/SlLPtwiiiUI/AAAAAAAAAQ8/TUBSgYGlnSU/s1600-h/wedding+bells+049.JPG"&gt;&lt;img src="http://2.bp.blogspot.com/_25Uk4k6de5o/SlLPtwiiiUI/AAAAAAAAAQ8/TUBSgYGlnSU/s200/wedding+bells+049.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5355571291927775554" style="float: left; margin-top: 0px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; cursor: pointer; width: 150px; height: 200px; " /&gt;&lt;/a&gt;&lt;div style="text-align: left; "&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Next, I wanted to add the ability to heat as well as cool.  To do this with a peltier device, all you need to do it change the polarity (reverse the current) to the peltier.  This is commonly done to control motors to make them go in forward and reverse.  I looked around for a cheap and good motor controller and found a great one at &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.pololu.com/catalog/product/711"&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;pololu.com&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; called the &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style=" border-collapse: collapse; font-weight: bold; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;a href="http://www.pololu.com/catalog/product/711" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(0, 0, 0); text-decoration: none; "&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;MC33887 Motor Driver Carrie&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;a href="http://www.pololu.com/catalog/product/711" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(0, 0, 0); text-decoration: none; "&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;.  You can also get it &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8907"&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;here&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; at Sparkfun.com.  This motor driver can handle up to 5A, so it can only be comfortably used in the soda-can cooling prototype.  In the future I will be identifying a motor controller that can be used to cool a fermentation carboy.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Also, this motor controller has a useful function which allows monitoring of the current flowing through the controller.  This can be used as a feedback control, however, for my purposes, I will be using this only as a current monitor.  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; line-height: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;To test the H-bridge along with peltier device, I hooked up the following simple circuit.  For the RAW(~12V) supply, I used the +12V output from an old computer power supply.  I also used the regulated 5V from to drive the micro-controller.  Note: the download circuit is not shown, also ENAB is tied to 5V and D1 is tied to ground.  The potentiometer was a 100K pot. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; line-height: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); -webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://3.bp.blogspot.com/_25Uk4k6de5o/SlLHfVaBSjI/AAAAAAAAAQQ/7zlZ21rIsz0/s400/H-bridge+Test+Circuit.bmp" border="0" alt="" id="BLOGGER_PHOTO_ID_5355562248033094194" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 400px; height: 345px; " /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Here is the &lt;/span&gt;&lt;/span&gt;&lt;a href="http://adam.heintzelman.googlepages.com/TE_CONTROLLER_H-BRIDGE_V1-1.txt"&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;program&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; code to run the above simple circuit.  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;The circuit below shows how I will be implementing all these changes.   I'm still using the same LED display board that I developed in Part 3.  I am still developing the program code to run the circuit below, but it should be pretty straight forward and will involve some additional items added to the above program code to control the LED driver display, perform loop feedback control and get inputs from the temperature setting function. &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;  line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); -webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://2.bp.blogspot.com/_25Uk4k6de5o/SlK7Dx7SaRI/AAAAAAAAAQA/YmhpG9PrLxM/s400/H-Bridge+Circuit.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5355548580512950546" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 400px; height: 316px; " /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"  style="color:#0000EE;"&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;In the next post, I will have the program code ready as well as the prototype of the soda can cooler completed.  From there, I will do some actual cooling/heating and record some data to show it's performance.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span"  style="font-family:'trebuchet ms';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Just to reiterate, these circuits have been developed for a small prototype of a soda can cooler/heater.  I hope to scale everything up and fabricate a temperature controlled chamber for beer fermentation carboys.  In these later discussions, I will post some things I've come across to drive multiple peltier devices efficiently.        &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5701178995884648964-5568475723068408051?l=electro-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-geek.blogspot.com/feeds/5568475723068408051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-geek.blogspot.com/2009/07/thermoelectric-temperature-controller.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5701178995884648964/posts/default/5568475723068408051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5701178995884648964/posts/default/5568475723068408051'/><link rel='alternate' type='text/html' href='http://electro-geek.blogspot.com/2009/07/thermoelectric-temperature-controller.html' title='Thermoelectric Temperature Controller - Part 5'/><author><name>villacherman</name><uri>http://www.blogger.com/profile/13243485629014231076</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_25Uk4k6de5o/Sbnabf4FaGI/AAAAAAAAAHE/O4vW6d12nLQ/S220/Profile+Pic+1.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_25Uk4k6de5o/SlLPtwiiiUI/AAAAAAAAAQ8/TUBSgYGlnSU/s72-c/wedding+bells+049.JPG' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5701178995884648964.post-1637611472469668386</id><published>2009-06-01T11:03:00.000-07:00</published><updated>2009-06-01T11:11:50.392-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='homebrew'/><category scheme='http://www.blogger.com/atom/ns#' term='beer'/><category scheme='http://www.blogger.com/atom/ns#' term='cats'/><category scheme='http://www.blogger.com/atom/ns#' term='label'/><title type='text'>Beer Labels...</title><content type='html'>So I was messing around with photoshop and a picture of my cats and came up with a beer label for the new batch of homebrew.  Named after one of my favorite albums.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_25Uk4k6de5o/SiQY-xx3QEI/AAAAAAAAAPI/ijexnULhClY/s1600-h/Bitches+Brew+2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 321px; height: 400px;" src="http://1.bp.blogspot.com/_25Uk4k6de5o/SiQY-xx3QEI/AAAAAAAAAPI/ijexnULhClY/s400/Bitches+Brew+2.jpg" alt="" id="BLOGGER_PHOTO_ID_5342422524761686082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I think, however, that my beer label will go by the wayside as I start looking into home kegging systems.  The thought of having to wash all those bottles again is daunting...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5701178995884648964-1637611472469668386?l=electro-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-geek.blogspot.com/feeds/1637611472469668386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-geek.blogspot.com/2009/06/beer-labels.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5701178995884648964/posts/default/1637611472469668386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5701178995884648964/posts/default/1637611472469668386'/><link rel='alternate' type='text/html' href='http://electro-geek.blogspot.com/2009/06/beer-labels.html' title='Beer Labels...'/><author><name>villacherman</name><uri>http://www.blogger.com/profile/13243485629014231076</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_25Uk4k6de5o/Sbnabf4FaGI/AAAAAAAAAHE/O4vW6d12nLQ/S220/Profile+Pic+1.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_25Uk4k6de5o/SiQY-xx3QEI/AAAAAAAAAPI/ijexnULhClY/s72-c/Bitches+Brew+2.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5701178995884648964.post-820724589104848410</id><published>2009-05-15T19:49:00.000-07:00</published><updated>2009-05-29T10:26:55.314-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TEC'/><category scheme='http://www.blogger.com/atom/ns#' term='program'/><category scheme='http://www.blogger.com/atom/ns#' term='picaxe'/><category scheme='http://www.blogger.com/atom/ns#' term='cooling'/><category scheme='http://www.blogger.com/atom/ns#' term='code'/><category scheme='http://www.blogger.com/atom/ns#' term='temperature'/><category scheme='http://www.blogger.com/atom/ns#' term='thermoelectric'/><category scheme='http://www.blogger.com/atom/ns#' term='cooler'/><title type='text'>Thermoelectric Temperature Controller - Part 4</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;As promised, here is the program code for use with the PICAXE and it's programming editor:&lt;/span&gt;&lt;/span&gt; &lt;a href="http://adam.heintzelman.googlepages.com/TE_CONTROLLER_V1-6.txt"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;Program Code&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;T&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;he verbal description of this program is this:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;Configure the display&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;Read the temperature from the LM34&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;Display the temperature on the LED display&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;If the temperature set point is below the current temp, then perform a PWM command and turn on the Peltier device.  The amount of drive is proportional to the error between the set point and current temp.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;If &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;the temperature set point is above the current temp&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;, then turn the PWM off.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;If at any point, the temperature set point button is pressed, flash the set point LED and enter the set temp mode.  Read the temperature set point from the potentiometer.  Press and release the button quickly to exit the set temp mode.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;Keep looping.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_25Uk4k6de5o/Sg5RQW9nPxI/AAAAAAAAAPA/HE0oV2cL-2o/s1600-h/temp_sensor.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 58px; height: 160px;" src="http://1.bp.blogspot.com/_25Uk4k6de5o/Sg5RQW9nPxI/AAAAAAAAAPA/HE0oV2cL-2o/s400/temp_sensor.jpg" alt="" id="BLOGGER_PHOTO_ID_5336291949964377874" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;Some points within the program that may not be so obvious.  First, when we read the temperature from the LM34, th&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;e picaxe reads the analog voltage and converts it to a digital value with ten bits of resolution.  This means that the value has 2^10 or 1024 divisions.  The digital value can then be calculated back into a voltage in mV within our program.  The ADC is converting based on a 5V range, or 5000 mV.  This means that a digital value of 0 is equal to 0 mV and a digital value of 1024 is equal to 5000 mV.  Taking this further, each digital division is equivalent to &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;5000/1024, or 4.88 mV.  By the way, 4.88 mV is the same as 0.488 deg F, so the resolution of our program is ~0.5 deg F.&lt;/span&gt;&lt;/span&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;You can see from the program that when we mulitply the digital value by 4.88, we will in essence be calculating the temperature in deg F mulitplied by ten.  Since the temperature is read in tens of millivolts, the actual whole number value of the temperature can be read once we divide TE_Temp_10 by 10.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: trebuchet ms;"&gt;I will update this discussion of my code at a later time, hopefully the code will speak for itself.  Enjoy!&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5701178995884648964-820724589104848410?l=electro-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-geek.blogspot.com/feeds/820724589104848410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-geek.blogspot.com/2009/05/thermoelectric-temperature-controller_15.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5701178995884648964/posts/default/820724589104848410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5701178995884648964/posts/default/820724589104848410'/><link rel='alternate' type='text/html' href='http://electro-geek.blogspot.com/2009/05/thermoelectric-temperature-controller_15.html' title='Thermoelectric Temperature Controller - Part 4'/><author><name>villacherman</name><uri>http://www.blogger.com/profile/13243485629014231076</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_25Uk4k6de5o/Sbnabf4FaGI/AAAAAAAAAHE/O4vW6d12nLQ/S220/Profile+Pic+1.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_25Uk4k6de5o/Sg5RQW9nPxI/AAAAAAAAAPA/HE0oV2cL-2o/s72-c/temp_sensor.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5701178995884648964.post-9130453391504268872</id><published>2009-05-12T22:28:00.000-07:00</published><updated>2009-05-15T12:47:37.385-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='schematic'/><category scheme='http://www.blogger.com/atom/ns#' term='PCB'/><category scheme='http://www.blogger.com/atom/ns#' term='cooling'/><category scheme='http://www.blogger.com/atom/ns#' term='thermoelectric'/><category scheme='http://www.blogger.com/atom/ns#' term='circuit'/><title type='text'>Thermoelectric Temperature Controller - Part 3</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_25Uk4k6de5o/Sg29CfhL-XI/AAAAAAAAAOQ/EmcNl4MSr00/s1600-h/goto.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 228px;" src="http://4.bp.blogspot.com/_25Uk4k6de5o/Sg29CfhL-XI/AAAAAAAAAOQ/EmcNl4MSr00/s320/goto.jpg" alt="" id="BLOGGER_PHOTO_ID_5336128984021989746" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;Since my last post I've have worked on developing a prototype small scale version of a wort fermentation cooler.  This was mainly to prevent mistakes from becoming too costly and work out any kinks on the model before scaling up.  In the small-scale model, I will simulate a fermentation vessel as a soda can - basically this will become a desktop soda cooler.  If you are innovative and modify the circuit to allow for a change in the polarity (or just switch the leads) across the Peltier device, you could also have this work as a coffee warmer as well.  This is one of the great things about these devices, the ability to use them for both cooling and heating.&lt;br /&gt;&lt;br /&gt;This post will mainly focus on the control system and interface that I have developed for controlling the temperature of the vessel of interest.   When controlling the temperature, the only way to go is by setting a temperature set-point and using loop feedback control.  The algorithm for controlling the device to reach this temperature can be quite a bit more involved, ranging from proportional control up to proportional-integrative-differential (PID) and even on to fuzzy logic.  Initially, for my system I have elected to go for proportional control since it is one of the simplest forms of control and it allows for the opportunity to just add on to it if it seems inadequate.&lt;br /&gt;&lt;br /&gt;For the size of peltier device that I am using (CP40336, Digikey part no. &lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;102-1671-ND&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;), I designed a circuit that could handle its max current of 3.9 amps.   This circuit that can not, however, handle currents that would be required by my large fermentation cooling system, which may be in the 20+ peak amps range.  The current to the peltier device is controlled by the IRF510 MOSFET (shown in circle A below) and has a max continous drain current of 4 amps, with a pulse drain of 20 amps.    &lt;span style="color: rgb(255, 102, 102);"&gt;Note that these types of devices will need a heat sink as they get very hot.&lt;/span&gt;    I chose this device because it is voltage controlled, which means it uses much less current than current controlled transistors, such as BJTs and it can be much simpler to control since we can control voltage straight out of the microcontroller.   In addition, this device is also logic level controlled, meaning that I can control it with voltages that are in the range of my 12 V power supply.  I will be using a AC-DC power supply that can provide a few amps like this one: &lt;/span&gt;&lt;span class="head"  style="font-family:trebuchet ms;"&gt;&lt;a href="http://www.voltage-converter-transformers.com/switching-ac-dc-supply.html"&gt;VM 80W12&lt;/a&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_25Uk4k6de5o/Sg2kEpAKTiI/AAAAAAAAANQ/05PhJbnHrL4/s1600-h/Thermoelectric+Controller+v12b.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 260px;" src="http://4.bp.blogspot.com/_25Uk4k6de5o/Sg2kEpAKTiI/AAAAAAAAANQ/05PhJbnHrL4/s400/Thermoelectric+Controller+v12b.jpg" alt="" id="BLOGGER_PHOTO_ID_5336101533136866850" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;The amplifier circuit shown in circle B allows the 0-5 V PWM voltage signal from the microcontroller to be pumped up to voltages almost as high as those supplied to the op-amp, in this case, close to 12V.  There is some loss across the device and in my case was around 1.5 volts, meaning that the op-amp can put out about 10.5 V.   This particular circuit is called a voltage follower.  The circuit tries to match the voltage on pin 2 and pin 3.  Since pin 2 is connected to a voltage divider circuit (the voltage on pin 2 is halfway between ground and the output of the device) it always sees a value that is half the output.  This leads to the output being double the voltage of the input.  This may sound confusing if you are a beginner to this so here is an example:  If you supply a voltage of 3 V to pin 3, the device wants to match make pin 2 match this value.  It does this by increasing the output voltage until these match or the device is maxed out.  In our example, the output will reach 6 volts at which point pin 2 will be at 3 volts - now pin 2 and pin 3 match.    The equation for this relation is shown below for reference.  The ratio of the resistors can be modified to give you a range of ratios.  If you want to look into this further, look for "non-inverting DC gain" amplifier circuits.   &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_25Uk4k6de5o/Sg2tKz5OWwI/AAAAAAAAANY/POFw22ivB2I/s1600-h/equation.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 137px; height: 37px;" src="http://1.bp.blogspot.com/_25Uk4k6de5o/Sg2tKz5OWwI/AAAAAAAAANY/POFw22ivB2I/s320/equation.png" alt="" id="BLOGGER_PHOTO_ID_5336111534744427266" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;br /&gt;Since we are driving the op-amp with pulse width modulation from the microcontroller, the signal needs to be smoothed out a bit to give a near analogue signal.  This is the function of the 0.68 uF capacitor - that's what capacitors are really good for, smoothing out voltages since they act much like a damper in a suspension system.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_25Uk4k6de5o/Sg26Ejg4Z8I/AAAAAAAAANo/t5VHOCacs9E/s1600-h/AXE010.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 107px; height: 80px;" src="http://2.bp.blogspot.com/_25Uk4k6de5o/Sg26Ejg4Z8I/AAAAAAAAANo/t5VHOCacs9E/s400/AXE010.jpg" alt="" id="BLOGGER_PHOTO_ID_5336125720919304130" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;To control this circuit, I decided to go with a &lt;a href="http://www.rev-ed.co.uk/picaxe/"&gt;PICAXE&lt;/a&gt; 28-pin microcontroller (shown at left) since this is a cheap and pretty easy to use beginner microcontroller.  It had the features that I desired in controlling this circuit, mainly an analog-to-digital converter and pulse-width modulation control.  This size of PIC may be overkill, but I plan on using it for various other projects as well.  It also has plenty of output and input pins should I want to add more sensors, LEDs or other devices I want to control such as fans.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;The feedback to the controller is supplied by means of an analog temperature sensor, a LM34.  This device is supplied 5V and delivers a voltage signal that is proportional to the temperature.  In the case of &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;eh LM34, it delivers 10 mV for every degree Fahrenheit, i.e. 70 deg F will give you 0.7 V, -20 deg F will giv&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;e y&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;ou -0.2 V.  This device has an accuracy of 1 deg F and that should be good enough for our application.  There are a&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt; lot of temperature sensing devices out there, from thermocouples to RTDs to digital output sensors.  All have advantages in certain applications such as speed, accuracy and size.  I like this one because it is simple to use and has good enough resolution.  The LM34 is hooked up to my analog to digital converter pin on my microntroller.  The microncontroller can then take this signal and use it in it's calculations to figure out if it's too hot or cold.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;The LM3805 power regulation circuit in circle C supplies the required 5V to the micro controller and it's various LEDs and sensors.  Notice that I tap into the regulated 12V supply before the 5V regulator for power to the op-amp and peltier device.  I wouldn't recommend any large currents running through your control circuits - this may blow out your microcontroller.&lt;br /&gt;&lt;br /&gt;To set the temperature, I'm using a button and potentimeter.  I press the button to enter the set-temperature mode.  I know I'm entering and have entered this mode by the flashing LED that then stays on solid.  The potentiometer is attached to another analog to digital converter pin on the microcontroller.  It uses the value of the voltage across the wiper of the potentiometer to calculate what temperature you want to set the contoller at through some calculations in the software.  In the software, I can set the range and steps that this voltage relates too in terms of temperature.  Once the temp is set, I press the button again, and the set-temp LED flashes to let you know that you are exiting the set-temp mode.&lt;br /&gt;&lt;br /&gt;The current temperature and the setpoint temperature are displayed on a dual LED 7 segment display.  Since I don't intend on going above 100 deg F or below -10 deg F, two digits seems to be enough.  I created this as a separate circuit so that I could use in various projects as shown below.  I used a MC14489B (the schematic shows the incorrect part number) display controller and it can be used to control up to 5 digits (banks).  This takes the burden off the microncontroller to constantly display the values - the picaxe justs send over values to the MC14489B when it wants the display to change.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_25Uk4k6de5o/Sgpi10ZQOPI/AAAAAAAAAMQ/Su63d9gqzGE/s1600-h/LED+Display+v11c.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 298px;" src="http://4.bp.blogspot.com/_25Uk4k6de5o/Sgpi10ZQOPI/AAAAAAAAAMQ/Su63d9gqzGE/s400/LED+Display+v11c.JPG" alt="" id="BLOGGER_PHOTO_ID_5335185385310927090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;I have other diagnotic LEDs on the board to tell me the whent he 5V power to the board is on (Power_OnLED) and to tell me the power level of the peltier device (TEC_OnLED) - brightness corresponding the the amount of voltage that the op-amp puts out.  Two additional off board LEDs were included to show when the user enters the set-temp mode (SET_LED) and when peltier device is active (TEC_ON_LED).  This TEC on LED allows the user to know that the system is cooling.  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;The above circuit diagrams were created using a great and free program called &lt;a href="http://www.cadsoftusa.com/"&gt;Eagle&lt;/a&gt; from CadSoft.  In addition to creating the circuit schematics, I was also able to create a printed circuit board once I had finished troubleshooting the circuit on a bread board&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;.  &lt;a href="http://www.sparkfun.com/"&gt;Sparkfun&lt;/a&gt; has an amazing tutorial going through, in detail, on how to create these PCBs and also offering some references on whe&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;re&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt; to get them made cheaply, though not quickl&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;y, as well. &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_25Uk4k6de5o/Sg3GVqOjKCI/AAAAAAAAAOo/gyIoNgDUnxs/s1600-h/bothPCB.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 143px;" src="http://1.bp.blogspot.com/_25Uk4k6de5o/Sg3GVqOjKCI/AAAAAAAAAOo/gyIoNgDUnxs/s400/bothPCB.jpg" alt="" id="BLOGGER_PHOTO_ID_5336139208918771746" border="0" /&gt;&lt;/a&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;Above are images of the PCBs that I desi&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;gned.  They were in the $30 range for both and arrived in 2-3 weeks from &lt;a href="http://www.batchpcb.com/"&gt;BatchPCB&lt;/a&gt;, the quality was top notch!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;I went from a bread board prototype that looked like this...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_25Uk4k6de5o/SgpmrDdqdDI/AAAAAAAAAMo/1kS8-OZEmXw/s1600-h/New+PCB+-+TEC+Controller+019.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 259px;" src="http://3.bp.blogspot.com/_25Uk4k6de5o/SgpmrDdqdDI/AAAAAAAAAMo/1kS8-OZEmXw/s400/New+PCB+-+TEC+Controller+019.jpg" alt="" id="BLOGGER_PHOTO_ID_5335189598423905330" border="0" /&gt;&lt;/a&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;...to two squeeky clean boards that looked like this once the board was stuffed.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_25Uk4k6de5o/SgpobV6wBFI/AAAAAAAAAMw/II-m6zaAxPc/s1600-h/Temperature+Controller+Stuffed.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 296px;" src="http://2.bp.blogspot.com/_25Uk4k6de5o/SgpobV6wBFI/AAAAAAAAAMw/II-m6zaAxPc/s400/Temperature+Controller+Stuffed.JPG" alt="" id="BLOGGER_PHOTO_ID_5335191527523091538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_25Uk4k6de5o/SgpoeCwOIwI/AAAAAAAAAM4/ZISAm3UbyBo/s1600-h/LED+Display+Stuffed.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 312px;" src="http://3.bp.blogspot.com/_25Uk4k6de5o/SgpoeCwOIwI/AAAAAAAAAM4/ZISAm3UbyBo/s400/LED+Display+Stuffed.JPG" alt="" id="BLOGGER_PHOTO_ID_5335191573918262018" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;I've had a chance to hook these boards up and everything seems to be functioning well - good planning and breadboard testing are definitely required once you decide to have your own PCB boards made and will help to avoid many frustrating situations.  You may notice that the shcematic and PCBs are not exactly alike, this is because I had placed the TEC plug in the wrong place in the circuit - the circuit diagram and PCB drawing have the corrected position, however, the PCB photo is incorrect.  It functions, but is not ideal.&lt;br /&gt;&lt;br /&gt;The one remaining piece of info needed to get this circuit up and running is the code.  I will post the program I used to run the circuit in my next posting since it could be a bit hefty in addition to this post.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5701178995884648964-9130453391504268872?l=electro-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-geek.blogspot.com/feeds/9130453391504268872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-geek.blogspot.com/2009/05/thermoelectric-temperature-controller.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5701178995884648964/posts/default/9130453391504268872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5701178995884648964/posts/default/9130453391504268872'/><link rel='alternate' type='text/html' href='http://electro-geek.blogspot.com/2009/05/thermoelectric-temperature-controller.html' title='Thermoelectric Temperature Controller - Part 3'/><author><name>villacherman</name><uri>http://www.blogger.com/profile/13243485629014231076</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_25Uk4k6de5o/Sbnabf4FaGI/AAAAAAAAAHE/O4vW6d12nLQ/S220/Profile+Pic+1.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_25Uk4k6de5o/Sg29CfhL-XI/AAAAAAAAAOQ/EmcNl4MSr00/s72-c/goto.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5701178995884648964.post-9191922646212869719</id><published>2009-03-14T22:17:00.000-07:00</published><updated>2009-03-15T01:55:49.397-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TEC'/><category scheme='http://www.blogger.com/atom/ns#' term='heat transfer'/><category scheme='http://www.blogger.com/atom/ns#' term='calculation'/><category scheme='http://www.blogger.com/atom/ns#' term='heat sink'/><title type='text'>Thermoelectric Temperature Controller - Part 2</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size:100%;"&gt;Stage 3 - TEC and Heat Sink Selection&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;br /&gt;In my last posting I explained how to calculate the left hand side of the energy balance equation for a thermoelectric fermentation cooler.   In this post, I will explain how to select a device to balance the energy equation and find that Q_pumped value.  In addition, I will explain how to select the heat sinks that will be required to optimize its performance.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_25Uk4k6de5o/SbyRJIWYPiI/AAAAAAAAAJw/YRFJfPweb4s/s1600-h/TEC+Specification.bmp"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 140px;" src="http://3.bp.blogspot.com/_25Uk4k6de5o/SbyRJIWYPiI/AAAAAAAAAJw/YRFJfPweb4s/s200/TEC+Specification.bmp" alt="" id="BLOGGER_PHOTO_ID_5313281246436539938" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;When searching for thermoelectric &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;devices, you will usually come across the specification sheet that describes how much &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;heat the device can pump under certain temperature conditions and at various power conditions.  The performance curve for a CUI Inc peltier device is shown at left.   Note, I use the terms peltier device and TEC interchangeably thorughout my blog, but these are essentially the same things.  On the bottom of the plot, the y-axis shows the amount of heat that the device can pump at various currents as a function of the temperature across the device.  Let's look a little closer at what these curves are telling us.  Again focusing on the bottom section, select the curve for 3.9A, which represents running the device at 3.9 amps current.  As you increase the temperature difference between the hot and cold sides of the TEC, the amount of heat that the device can pump is decreased.  This is due to the fact that the device in creating this temperature differential between each side must expend some of it's available power maintaing it.   When the device tries the maintain greater temperature differences, it reduces the amount of energy available to move heat through the device.  So you must select what you want; do you want the device to be able to pump a lot of heat, or is it more critical that the cold side of the device be very cold?  An example of the first might be trying to cool a CPU; you don't care if the CPU gets down to -10 deg C, you just want all that overclocked heat away from the processor.  An example of the latter is cooling a laser for an optical application; you may not have a lot of heat there, but you really want the device to be cold for optimum laser performance.  I could go on, but I digress, let's look at the rest of the plot.&lt;br /&gt;&lt;br /&gt;The top part of the curve shows the voltage required to drive the device at a particular current.  You basically want to first select the voltage that you will be using, which will be dependent on your power supply.  Note that wall wort power supplies may be underpowered for TEC applcations; though they can provide the correct voltage, they can not provide enough current to drive it properly.   Also, &lt;span style="font-weight: bold;"&gt;it is &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;not feasible to use AC voltage supply&lt;/span&gt; as the cooler will not work at all - it must be DC.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_25Uk4k6de5o/SbykIgMSlnI/AAAAAAAAAKA/BX0zcFX-kvs/s1600-h/heatsink.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px; height: 161px;" src="http://3.bp.blogspot.com/_25Uk4k6de5o/SbykIgMSlnI/AAAAAAAAAKA/BX0zcFX-kvs/s200/heatsink.jpg" alt="" id="BLOGGER_PHOTO_ID_5313302126377735794" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;One other item that should be discussed is that you will often find two curves; each curve describes the performance at a diff&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;erent hot side temperature.  Both sets of curves may be similar, however, heat sink selection and ambient temperature conditions will determine which set of curves is most appropriate to use.  For example, let's s&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;ay you have a heat sink with a very limited amount of heat transfer capability attached the hot side.  Heat will get &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;"backed up" at the hot side which will cause the hot side to rise in temperature.  Another example may be that&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt; you have a great heat sink on the hot side, but you are trying to reject heat to a very hot environment, say an semi-enclosed black box in a sunny location on a hot summer day where temperatures can easily reach 50-60 deg C.  For my purposes, I chose to use the curve specified for T_h = 27 deg C as I knew that I would have a great&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt; heat sink on the hot side and would also be rejecting heat to a room temperature of roughly 20-25 deg C.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;br /&gt;I chose first to make a prototype system that I could scale up later once I proved out my calculations and circuit.  For this prototype, I wanted to just cool a can of soda so I selected the CP40336 by CUI Inc, which is a middle of the road TEC&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;, powerwise,&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt; that can pump heat at a maximum of 33.4 Watts.  I wanted to run the circuitry of my control system and the TEC with 12 VDC since the device could possibly be used into a mobile setup using the outlet in my car.  Now I have th&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;e voltage and a rough idea of the current I will require, roughly 3.0 amps.  The next step is figuring out your tem&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;perature differential.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_25Uk4k6de5o/Sby4KWKAtJI/AAAAAAAAALw/CkIEFfW9Tzo/s1600-h/TEC+Specification2.bmp"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 140px;" src="http://4.bp.blogspot.com/_25Uk4k6de5o/Sby4KWKAtJI/AAAAAAAAALw/CkIEFfW9Tzo/s200/TEC+Specification2.bmp" alt="" id="BLOGGER_PHOTO_ID_5313324148276114578" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;From my last post, you have the means to calculate the amount of heat you need pumped (the left hand side of the energy balance equation).  Let's say I determined that the heat I need pumped all adds up to 10 W (this is not an accurate number, this is just an example).  Looking at the plot, you trace over from 10 W (shown in blue in the figure) to the current line that your device will run at, which for me is ~3.12 amps, and trace down from there.  This will give you the maximum temperature differential that you can run the device at to get the cooling you desire, in this case, ~44 deg C.  If the temperature differential is less, you will get more cooling power.   How do you get this temperature differential?  This is where some heat sink calculations come into play. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;The first thing you need to determine before you start looking at heat sinks are the ambient temperatures inside and outside of the cooler box.  For my application, I wanted to be able to keep the inside temperature of the cooler box at a cool &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;4.5 deg C (~&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;40 deg F).  Also, I knew that the outside temperature would be roughly room temperature or 22 deg C (~72 deg F).&lt;br /&gt;&lt;br /&gt;Another item that can't be overlooked is that the cold side of the device is the side that sees the heat pumped.  The hot side, however, sees this amount of heat plus it must also remove the heat generated by the electricity running through it.  This type of heating is called Joule heating and Q_j can simply be calculated by:    &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_25Uk4k6de5o/SbyndwnKEKI/AAAAAAAAAKQ/sGDKZCx-LoY/s1600-h/equation10.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 53px; height: 17px;" src="http://4.bp.blogspot.com/_25Uk4k6de5o/SbyndwnKEKI/AAAAAAAAAKQ/sGDKZCx-LoY/s200/equation10.png" alt="" id="BLOGGER_PHOTO_ID_5313305790097526946" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_25Uk4k6de5o/SbyyUgREywI/AAAAAAAAALQ/35WJeT2e4Gw/s1600-h/system+depiction.bmp"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px; height: 151px;" src="http://1.bp.blogspot.com/_25Uk4k6de5o/SbyyUgREywI/AAAAAAAAALQ/35WJeT2e4Gw/s200/system+depiction.bmp" alt="" id="BLOGGER_PHOTO_ID_5313317725719022338" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;where v is the voltage and i is the current that you are supplying to the device.  To help visualize dealing with the Q_j, let's look at the energy balance of the system another way which incorporates the power supplied to the TEC, as shown at left and put into equation form below.  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_25Uk4k6de5o/SbypUPgNeuI/AAAAAAAAAKg/-lz2gUoq9QU/s1600-h/equation11.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 152px; height: 17px;" src="http://4.bp.blogspot.com/_25Uk4k6de5o/SbypUPgNeuI/AAAAAAAAAKg/-lz2gUoq9QU/s200/equation11.png" alt="" id="BLOGGER_PHOTO_ID_5313307825614453474" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;This energy balance is different from the one that I posted in my first post because I didn't want to introduce too many concepts at once.  This energy balance is technically the correct overall system balance equation.&lt;br /&gt;&lt;br /&gt;So now you have the amount of heat that needs to pass through each side of the device and the corresponding temperatures.  Since there are many different heat sinks out there, you have many options, but as a general rule is that you will want a heat sink with lower thermal resistance (deg C/W value) on the hot side than on the cold side since the hot side is required to reject more heat than the cool side must accept.&lt;br /&gt;&lt;br /&gt;The equations for the cold side and hot side heat sinks are as follows:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_25Uk4k6de5o/SbyxIS_WTLI/AAAAAAAAAKw/0P7flbJrIaU/s1600-h/equation12.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 151px; height: 17px;" src="http://2.bp.blogspot.com/_25Uk4k6de5o/SbyxIS_WTLI/AAAAAAAAAKw/0P7flbJrIaU/s200/equation12.png" alt="" id="BLOGGER_PHOTO_ID_5313316416484953266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_25Uk4k6de5o/SbyxLcXLaUI/AAAAAAAAAK4/pc0XzZdEJWk/s1600-h/equation13.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 139px; height: 15px;" src="http://3.bp.blogspot.com/_25Uk4k6de5o/SbyxLcXLaUI/AAAAAAAAAK4/pc0XzZdEJWk/s200/equation13.png" alt="" id="BLOGGER_PHOTO_ID_5313316470540429634" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;where T_ac  and T_ah [deg C] are the ambient temperatures inside and outside the cooler box, respectively, and R_c and R_h [deg C/W] are the thermal resistances of the cold  and hot side heat sinks, respectively.  Since you know the temperature differential across the TEC from the plot, it is helpful to combine these equations above into one as shown:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_25Uk4k6de5o/Sbyxb0GqUvI/AAAAAAAAALI/RGk5FePuBUs/s1600-h/equation14.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 17px;" src="http://4.bp.blogspot.com/_25Uk4k6de5o/Sbyxb0GqUvI/AAAAAAAAALI/RGk5FePuBUs/s320/equation14.png" alt="" id="BLOGGER_PHOTO_ID_5313316751791510258" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;The next task is to find heat sinks and start plugging their values into the equation above and seeing if they will satisfy the following condition:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_25Uk4k6de5o/Sby1BzocAuI/AAAAAAAAALo/C08vM93P6s8/s1600-h/equation15.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 17px;" src="http://2.bp.blogspot.com/_25Uk4k6de5o/Sby1BzocAuI/AAAAAAAAALo/C08vM93P6s8/s320/equation15.png" alt="" id="BLOGGER_PHOTO_ID_5313320703034655458" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;The heatsinks must be able to create a situation where you have at a maximum a device temperature differential that you found in the device plot.  For example, previously I found that if I planned to pump 10 W at 12VDC, I would require a 44 deg C maximum temperature differential.  Let's say then I select a hot side heat sink value of 0.1 C/W and a cold side heat sink value of 0.5 C/W.  Calculating it out with the equation above, I would get a 30.6 deg C differential across the device, which would be adequate for my application and also give me a little wiggle room.  However, if I chose a heat sink values that were both 0.5 C/W, I would get a 49 deg C across the device and I would never be able to cool the cooler box to the desired level.  Note that for this example I selected values that are common to typical aluminum/copper heat sinks with fans (forced convection).&lt;br /&gt;&lt;br /&gt;Going through a few iterations of heat sink calculations, you should be able to settle upon a heat sink combination that will work for your application.  I created a little plot in excel that calculated the values that would meet my specifications as a reference as shown below.   It is critical to observe that if you do not have heat sinks on the hot side of the device, you may initially get cooling on the cold side, but it will eventually heat up as the heat on the hot side needs some place to go.  That heat then migrates back through the cooler to the cold side increasing it's temperature dramatically, turning the device into a heater instead.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_25Uk4k6de5o/SbzBketaL9I/AAAAAAAAAMA/ueqoqErnSRY/s1600-h/heat+sink+comparison.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 230px;" src="http://2.bp.blogspot.com/_25Uk4k6de5o/SbzBketaL9I/AAAAAAAAAMA/ueqoqErnSRY/s400/heat+sink+comparison.bmp" alt="" id="BLOGGER_PHOTO_ID_5313334492853317586" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;With the information supplied in this and the previous post, you should now be able to select the hardware for a thermoelectric cooler and understand how they all work together.  Though for my project I am initially building a small scale 12-fl oz prototype and then developing a larger 5-6 gallon fermentation refrigerator, these equations scale to any size.  The only difference for larger scale systems is that you may need more than one TEC since there is a limit to the size of commercially available devices.&lt;br /&gt;&lt;br /&gt;In the next post, I will talk about the control circuitry that will be required to control my small scale prototype device.  This will include circuit component options and circuit schematics.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5701178995884648964-9191922646212869719?l=electro-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-geek.blogspot.com/feeds/9191922646212869719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-geek.blogspot.com/2009/03/stage-3-tec-and-heat-sink-selection-in.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5701178995884648964/posts/default/9191922646212869719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5701178995884648964/posts/default/9191922646212869719'/><link rel='alternate' type='text/html' href='http://electro-geek.blogspot.com/2009/03/stage-3-tec-and-heat-sink-selection-in.html' title='Thermoelectric Temperature Controller - Part 2'/><author><name>villacherman</name><uri>http://www.blogger.com/profile/13243485629014231076</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_25Uk4k6de5o/Sbnabf4FaGI/AAAAAAAAAHE/O4vW6d12nLQ/S220/Profile+Pic+1.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_25Uk4k6de5o/SbyRJIWYPiI/AAAAAAAAAJw/YRFJfPweb4s/s72-c/TEC+Specification.bmp' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5701178995884648964.post-2192470439566839580</id><published>2009-03-12T21:38:00.000-07:00</published><updated>2009-03-15T01:33:20.509-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fermentation'/><category scheme='http://www.blogger.com/atom/ns#' term='wort'/><category scheme='http://www.blogger.com/atom/ns#' term='insulation heat loss'/><category scheme='http://www.blogger.com/atom/ns#' term='heat transfer'/><category scheme='http://www.blogger.com/atom/ns#' term='heat generated'/><category scheme='http://www.blogger.com/atom/ns#' term='thermoelectric'/><category scheme='http://www.blogger.com/atom/ns#' term='cooler'/><category scheme='http://www.blogger.com/atom/ns#' term='circuit'/><title type='text'>Thermoelectric Temperature Controller - Part 1</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(51, 51, 51);font-size:130%;" &gt;&lt;span style="font-weight: bold;font-family:trebuchet ms;" &gt;&lt;span style="color: rgb(0, 0, 0);font-size:180%;" &gt;P&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;roject&lt;/span&gt; &lt;span style="color: rgb(0, 0, 0);font-size:180%;" &gt;O&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;verview&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_25Uk4k6de5o/SbnkOITtvXI/AAAAAAAAAII/bswjogiP2sE/s1600-h/TEC1.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 220px; height: 220px;" src="http://1.bp.blogspot.com/_25Uk4k6de5o/SbnkOITtvXI/AAAAAAAAAII/bswjogiP2sE/s320/TEC1.jpg" alt="" id="BLOGGER_PHOTO_ID_5312528166859685234" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;a style="font-family: trebuchet ms;" href="http://en.wikipedia.org/wiki/Thermoelectric_cooling"&gt;Thermoelectric coolers&lt;/a&gt;&lt;span style="font-family:trebuchet ms;"&gt; (TECs - as shown at left courtesy of Marlow Industries) and generators (TEGs) have been around more than 200 years, but they've been getting more press lately in the automotive industry, specifically BMW.  They have been using TEGs for producing electricity from the temperature gradient from the exhaust pipe to the ambient air.   In the reverse,  by passing current through the two materials, typically n- and p-type semiconductors, you can pull heat from one side and reject it on the other, and use them in a cooling capacity.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;I wanted to use this amazing effect for another hobby of mine, brewing beer.  The main idea is to control the temperature of 5-6 gallons of fermenting wort without using a typical refrigerator system.  This was as much for the challenge as it was for learning about these "cool" little devices.  Overall for a system of this size or larger, a typical compression refrigeration system may be more efficient - but that wasn't the point of the project.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;In this and subsequent blogs, I would like to trace my development of this system from start to finish.  I will describe the system requirements, heat transfer analysis and resulting prototype circuit design and fabrication.  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;font-family:trebuchet ms;" &gt;&lt;span style="font-size:180%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;font-family:trebuchet ms;" &gt;Stage 1 - A Little Background&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;During the brewing process, the stage &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;of converting the sweetened wort, with the help of yeast, to&lt;span style="font-family:trebuchet ms;"&gt; alcohol is called fermentation.  Fermentat&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;ion typic&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;ally does not &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;requir&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;e real close temperature control; for many styles of beers fermentation at room tem&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;perature is good enough.   Whe&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_25Uk4k6de5o/Sbntgf34AGI/AAAAAAAAAIQ/nMqTCXGSHrI/s1600-h/Beer+on+a+Mountain.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 320px; height: 245px;" src="http://1.bp.blogspot.com/_25Uk4k6de5o/Sbntgf34AGI/AAAAAAAAAIQ/nMqTCXGSHrI/s320/Beer+on+a+Mountain.jpg" alt="" id="BLOGGER_PHOTO_ID_5312538378027663458" border="0" /&gt;&lt;/a&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;re you get into trouble, ho&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;wever, is the fer&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;menting lager style beers.  This style of beer requires temperatures coo&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;ler than room temperature, roug&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;hly 50 deg F, and a &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;refrigeration system to maintain this temperature for several weeks.&lt;br /&gt;&lt;br /&gt;The refrigeration system consists of three main items - 1) the item to be cooled, wort, 2) the box/cabinet to contain and circulate the cooled air and 3) the device to do the cooling work.  Items 1 and 2 are passively acting to counterbalance the work done by the cooling device (in this case a thermoelectric cooler).  The energy balance needs to be calculated first of to size the cooling device.&lt;br /&gt;&lt;br /&gt;Of course, all of my calculations can be sized for your application and could be used to cool or heat a number of various mediums.&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;font-family:trebuchet ms;font-size:100%;"  &gt;&lt;span style="font-family:trebuchet ms;"&gt;Stage 2 - Heat Transfer Analysis&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;The refrigeration system has to be able to overcome three major sources of heat in it's worst case condition - when the warm fermentation vessel is placed in the refrigerator.  The overall energy balance is as follows:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_25Uk4k6de5o/Sbnzs867-yI/AAAAAAAAAIY/QViodq1ue8o/s1600-h/equation1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 242px; height: 17px;" src="http://2.bp.blogspot.com/_25Uk4k6de5o/Sbnzs867-yI/AAAAAAAAAIY/QViodq1ue8o/s320/equation1.png" alt="" id="BLOGGER_PHOTO_ID_5312545189053332258" border="0" /&gt;&lt;/a&gt;&lt;span style=";font-family:trebuchet ms;font-size:85%;"  &gt;where Q_boxloss [W] is the heat lost through the insulation of the refrigerator box to the ambient atmosphere, Q_ferm is the heat generated by the yeast converting sugars to alcohol, Q_cool is the amount of energy required to bring the temperature down from the yeast-pitching temperature to our ideal fermentation temperature over a given time and finally, Q_pumped is the heat pumped out of the system by the thermoelectric device.&lt;br /&gt;&lt;br /&gt;What you are most interested in is this worst case scenario.  The cooling device needs to be able to provide enough heat pumping to deal with this worst case or you will never get the temperature of the your wort down to your ideal temperature.  &lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:85%;"  &gt;As the wort cools down to the final fermentation temperature, you only have the insulation losses and fermentation heat to contend with, which will be less than the worst case.&lt;br /&gt;&lt;br /&gt;Let's go through how to calculate these values:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_25Uk4k6de5o/Sbn3y9ji91I/AAAAAAAAAIg/CWwJURspnGU/s1600-h/equation2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 166px; height: 36px;" src="http://1.bp.blogspot.com/_25Uk4k6de5o/Sbn3y9ji91I/AAAAAAAAAIg/CWwJURspnGU/s320/equation2.png" alt="" id="BLOGGER_PHOTO_ID_5312549690349385554" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;where A &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;[m^2] &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;is the total area of the outside of the refrigerator box , T_b &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;[deg C] &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;is the ideal inside temperature of the box , T_a &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;[deg C] &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;is the ambient room temperature (again don't forget to make this the worst case scenario, i.e. 85 deg F on a hot day), K [W/m-C] is the thermal conductivity of the insulation and x [m] is the insulation thickness.  If you want to get real precise, you could also add in the wood/plastic/metal outershell and it's conductivity, but for simplicity here, I only am looking at the insulation for a rough estimate.&lt;br /&gt;&lt;br /&gt;We must cool the wort down from it's initial temperature to a it's final temperature and this will take energy as shown here:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_25Uk4k6de5o/Sbn6eAFmmBI/AAAAAAAAAIo/twWHRwPQkOw/s1600-h/equation3.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 158px; height: 36px;" src="http://2.bp.blogspot.com/_25Uk4k6de5o/Sbn6eAFmmBI/AAAAAAAAAIo/twWHRwPQkOw/s320/equation3.png" alt="" id="BLOGGER_PHOTO_ID_5312552628786731026" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;where m_w [kg] is the mass of the wort (density x volume), T_i [deg C] is the initial temperature of the wort, T_f &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;[deg C] &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;is the final idel fermentation temperature of the wort, c_p [J/kg-C] is the specific heat of the wort (i used a value slightly less than water here since it is comprised partially of sugars) and t [sec] is the amount of time that you would like to have the wort go from the initial to final temperature.  If the volume you are cooling is large, say 5-6 gallons, 24 hours might no be unreasonable.  For smaller volumes, say 12 fluid oz, 15 minutes might be reasonable; the time to cool will be dictated by your requirements.&lt;br /&gt;&lt;br /&gt;For the beer experts, this next section might be useful, but if you are not cooling fermenting wort or your medium is not generating heat, you can skip this equation.  I wanted to make sure that the fermentation process itself was accounted for.  It turns out that the heat generated by yeast can be quite negligible compared to the insulation losses (unless you have an amazingly thermally tight refrigerator).  I will add it here, however, for completeness.  I would also like to give my due respects to &lt;a href="http://www.realbeer.com/spencer/attenuation.html"&gt;Spencer Thomas&lt;/a&gt; for these following equations.&lt;br /&gt;&lt;br /&gt;The yeast will convert a portion of the sugars present in beer to alcohol and during this conversion will generate heat.  If we assume that sugars being fermented release 140 kcal/kg or 586 J/kg (1 kcal = 4.184 J), we then must then figure out how much sugar is fermented and mulitply it by 586 J/kg and divide by the time they take to do this.  The fermentation energy is then:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_25Uk4k6de5o/SboC0wA0VaI/AAAAAAAAAJI/3yE0pS4j4vo/s1600-h/equation6.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 174px; height: 36px;" src="http://4.bp.blogspot.com/_25Uk4k6de5o/SboC0wA0VaI/AAAAAAAAAJI/3yE0pS4j4vo/s320/equation6.png" alt="" id="BLOGGER_PHOTO_ID_5312561815701706146" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;where t is the time of fermentation is seconds, which in our case would be maybe 1 week.  The  initial mass of the sugar&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;, m_si [kg], &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;can be calculated from the original gravity of the wort (OG) as follows:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_25Uk4k6de5o/SboCGciUN4I/AAAAAAAAAI4/dc_RU3Ipp84/s1600-h/equation4.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 97px; height: 35px;" src="http://2.bp.blogspot.com/_25Uk4k6de5o/SboCGciUN4I/AAAAAAAAAI4/dc_RU3Ipp84/s320/equation4.png" alt="" id="BLOGGER_PHOTO_ID_5312561020199516034" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;where m_w [kg] is the mass of the wort and, &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_25Uk4k6de5o/SboCQCdUloI/AAAAAAAAAJA/P08th9PMAtM/s1600-h/equation5.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 279px; height: 17px;" src="http://1.bp.blogspot.com/_25Uk4k6de5o/SboCQCdUloI/AAAAAAAAAJA/P08th9PMAtM/s320/equation5.png" alt="" id="BLOGGER_PHOTO_ID_5312561184997938818" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;where OG is in points, i.e. 1.050 = 50 OG in points.  &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;br /&gt;The final mass of the sugar, m_sf [kg] is a little more involved.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_25Uk4k6de5o/SboE7xyFLwI/AAAAAAAAAJQ/faxMqWwTNXE/s1600-h/equation7.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 112px; height: 34px;" src="http://1.bp.blogspot.com/_25Uk4k6de5o/SboE7xyFLwI/AAAAAAAAAJQ/faxMqWwTNXE/s320/equation7.png" alt="" id="BLOGGER_PHOTO_ID_5312564135459106562" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_25Uk4k6de5o/SboFOXdURJI/AAAAAAAAAJY/zmhZsSyKrFE/s1600-h/equation8.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 208px; height: 13px;" src="http://2.bp.blogspot.com/_25Uk4k6de5o/SboFOXdURJI/AAAAAAAAAJY/zmhZsSyKrFE/s320/equation8.png" alt="" id="BLOGGER_PHOTO_ID_5312564454810207378" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_25Uk4k6de5o/SboFhnez9tI/AAAAAAAAAJg/XcGM8TDJoGc/s1600-h/equation9.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 278px; height: 17px;" src="http://2.bp.blogspot.com/_25Uk4k6de5o/SboFhnez9tI/AAAAAAAAAJg/XcGM8TDJoGc/s320/equation9.png" alt="" id="BLOGGER_PHOTO_ID_5312564785528960722" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;where FG is the final gravity of the beer in points.  RE and AE deal with the attenuation of the beer, which is when the beer is no longer just water and sugar but is also alcohol as well.  This composite has a different density and must be accounted for in the mass calculations when you are looking at the final gravity.&lt;br /&gt;&lt;br /&gt;There you have it, all the heat transfer components to the left hand side of the energy balance equation.  In my next blog, I will identify how to find Q_pumped and how to best to implement it.  This will include specifying a thermoelectric cooler module and the heat sinks required to reach it's optimum performance.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:85%;"  &gt;  &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5701178995884648964-2192470439566839580?l=electro-geek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-geek.blogspot.com/feeds/2192470439566839580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-geek.blogspot.com/2009/03/thermoelectric-temperature-controller.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5701178995884648964/posts/default/2192470439566839580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5701178995884648964/posts/default/2192470439566839580'/><link rel='alternate' type='text/html' href='http://electro-geek.blogspot.com/2009/03/thermoelectric-temperature-controller.html' title='Thermoelectric Temperature Controller - Part 1'/><author><name>villacherman</name><uri>http://www.blogger.com/profile/13243485629014231076</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_25Uk4k6de5o/Sbnabf4FaGI/AAAAAAAAAHE/O4vW6d12nLQ/S220/Profile+Pic+1.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_25Uk4k6de5o/SbnkOITtvXI/AAAAAAAAAII/bswjogiP2sE/s72-c/TEC1.jpg' height='72' width='72'/><thr:total>9</thr:total></entry></feed>
