How do I regulate a heater?
PADT
Posts: 8
Hi all,
I have a BS2px24 plus the Parallax 28022 Thermocouple kit. I am trying to regulate the temperature of a tank of water by controlling when the blanket heater shuts off and on.· The basic stamp is simply turning on the SSR to warm up the water and turning off the SSR when the bath is at temperature. The problem, of course, is that it overshoots by about 4 degrees C.· How do I get the heater to ramp up to the required setpoint (70C) and stay there? Either no or +/-1C bandwidth is preferred.
Thank you,
Anna
·
I have a BS2px24 plus the Parallax 28022 Thermocouple kit. I am trying to regulate the temperature of a tank of water by controlling when the blanket heater shuts off and on.· The basic stamp is simply turning on the SSR to warm up the water and turning off the SSR when the bath is at temperature. The problem, of course, is that it overshoots by about 4 degrees C.· How do I get the heater to ramp up to the required setpoint (70C) and stay there? Either no or +/-1C bandwidth is preferred.
Thank you,
Anna
·
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
You ask what do I think I should do? Well, after perusing the industrial control manual, I think I should use PID control. I am stuck on what values to use for the proportional, integral and derivative gains, i.e., Kp, Ki and Kd???
From my research, I am thinking Kp=10, Ki=0.1 and Kd=50. However, it's rather time-consuming to test these estimates, so I was hoping someone who is familiar with something along the lines of this setup would provide a suggestion.
Also, I wonder if I really need differential control since it's water, and, like you said, it holds heat (cools down ~2x slower than heats up)???
Thanks again!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
What's All This P-I-D Stuff, Anyway?
Use the search to find other of Bob's articles on the subject.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
·
When the actual temperature is far away from the set temperature, the heater is turned on and left on for a given length of time, then turned off for a given length of time. Both are not necessarily equal.
·
As the actual temperature starts approaching the set temperature, the heater is turned on for shorter lengths of time. Basically, the heater is pulsed on faster and shorter, the closer it gets to the set-point. This prevents or minimize any overshoot (like you are currently observing).
·
Some controllers have a “learn” mode where, through several tries, it determines the appropriate lengths and on-off times. This ends up being an algorithm (curve displaying pulse rate as a function of difference in set-point and actual temperature).
·
You could do something similar in software with your STAMP, and even try to develop a learn mode which shouldn’t be to difficult. Sounds like a fun project. Just build the software one small piece at-a-time.
·
Good luck.
There was an story about this in Nuts and Volts in 2005 it was in three parts i send you a PM about it
Jan Feb March of 2005
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 3/12/2008 2:06:27 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
You have get the magazine and this is also copy right now if you want to email you the story i will send to you
It also very long story there is no link to give because at the time they did not have these online like they do now
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 3/12/2008 2:00:38 AM GMT
Trying to maintain temps within a single degree is tough. Is single degree precision really needed? Most application have a degree or two of hysterisis.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
Not to SCAM Nuts & Volts articles but I just discovered you can do the following:
Copy this into your browser address bar:
http://nutsvolts.texterity.com/nutsvolts/200501/?pg=65
This will take you to the online version of January 2005 page 65 (PID Article Part 1)
Won't let you browse (many pages) using the arrow keys but you can adjust the URL in the address bar for the page your looking for.
Note: Most of the time the table of contents is on page 4
http://nutsvolts.texterity.com/nutsvolts/200501/?pg=4
Maybe we should notify them that their magazine can be read with out a subscription! Found a URL link via Google and started monkeying with the variables!
If this is offensive to anyone then I'll remove this post.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
As you can see you can only read the first two pages and this happen all the time with on line verson if you have not pay for it
They only ·let you·read part of the story
Because i pay for the online verson I can·read them but there are no links this far Back
Nuts and Volts Start there on line verson in 2006 from then on·I can email you the link for the maganize not just the one story they have a thing where you
Let friends have a look
If any one want to read the hole story just PM me and i will send it to you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 3/12/2008 5:10:21 PM GMT
http://nutsvolts.texterity.com/nutsvolts/200501/?pg=65
http://nutsvolts.texterity.com/nutsvolts/200501/?pg=67
http://nutsvolts.texterity.com/nutsvolts/200501/?pg=69
http://nutsvolts.texterity.com/nutsvolts/200501/?pg=71
You can read any page. Like I said in the previous post the arrow keys that appear on the 'Tool Bar' will only allow a page or two.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Post Edited (Mike Cook) : 3/13/2008 9:41:21 AM GMT