Basic Stamp Temperature Controller - Ideally PID
Bob
Posts: 9
I need to heat up dye and other chemicals for a home-brew annodizing line.· Basically pots of liquid sitting on top of hot plates.· The temperatures range form 100 degrees Farenheit up to approximately 180 degrees Farenheit.· Is it practical to build a system around a Basic Stamp that would monitor the temperature of the stainless steel pot and then adjust the hot plate accordingly?· Further, has anyone ever implimented a Proportional Integral Derivative algorithm on a Basic Stamp?· I understand from my research that PID is the "hot" setup.
Any thoughts or direction would be greatly appreciated.
Bob in Florida
Any thoughts or direction would be greatly appreciated.
Bob in Florida
Comments
The only real problem is that you will need to control line voltage with solid state relays or something similar. If you do it wrong, You die or burn your house down.
IF you don't have knowledge in this area, your insurance company would appreciate it ifyou used a licenced electrician.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.parallax.com/dl/docs/books/edu/ic.pdf
From the sounds of your project, PID may be overkill. But should definately work.
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
Product web site: www.sxvm.com
Available now... SX-Video OSD module $59.95 www.sxvm.com
"I'm a man, but I can change, if I have to, I guess"
Red Green
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
I'll keep you posted on progress and thanks for the quick response.
Bob
·· On the same token I don't want to discourage you from learning about PID.· The speed at which the temperature rises and falls on the Hot Plate will ultimately dictate whether you need PID (Or just some portions of it).· If the Plate rises too fast it may overshoot your target temperature even after the power has been killed, since it will still be rising.· On the other hand, this is likely to settle.· It will basically involve some testing on your part to determine necessity.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
We use it to speed up motors and to slow them down....
One could....switch an SSR enough to regulate the power applied to a heat plate. Problem would be that the SSR would get "exercised" (as opposed to exorcised) more often and would really just decrease it's lifespan. One might look at Mosfets (or similar) to switch power to a hotplate.
You're steps may not be as fine, as the hotplate takes time+n to get to temperature (dependant on ambient temp)....so you adjust your PID task accordingly.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
There is an article VERY similar to this in the June 2006 issue of Circuit Cellar. The author states that, in his situation and setup, heating the fluids (thermal mass) accurately did, in fact, need PID. Without PID, the system oscillated.
PID or no PID probably depends on the amount of thermal mass (how much fluid needs to be heated) and how accurately you need to hit and maintain the set point.
Rick
·· The Solder Pot controller does not use PID, as for our purposes it wasn't needed.· It would be interesting to implement, but in that scenario very little improvement would be gained by it.· It works using differential gap, much like the soldering stations we use.· You will see the LEDs on both turning on/off sometimes quite rapdily, but they maintain temperature well.· The Solder Pot is controller by a 50A SSR so switching it on/off isn't a big deal.· The only thing that happens as a result of no PID control is that when the pot initially comes up to temperature it overshoots by about 5 degrees or so.· At 425 degrees this isn't a big deal so we don't worry about it.· I hope this information helps.
As a side-note, if I ever get the chance to update the code I may well implement PID into the system.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com