adccommunitymod (AutomationDirect) asked a question.

Question on PID deployment

Created Date: December 04,2014

Created By: trimixdiver1

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

My personal electric brewery project is almost complete. The system uses a kettle (hot liquor tank) with 2 4500w elements in a pumped loop though a heat exchanger to control the temperature of a second kettle (Mash Tun) though a pumped loop on the other side of the heat exchanger. I also have a band heater on the mash tun. I have a DoMore, my idea was to use a PID loop to control the temperature of the Hot Liquor Tank and adjust the set point to get the temperature of the mash tun correct. The mash tun will have grain in it at different amounts depending on the beer and batch size. So I was planning on using two PID loops, tuning one at 50% full and one at 100% full and enable the loop thats needed. I also have a analog valve on each loop, so would a PID loop on that be better? Now the questions: Should I run with what Im planning or is there a better way? Say with one loop controlling the other? Does the 50% and 100% seem like a good idea or is there a better way? Here is a link to the build http://www.homebrewtalk.com/f235/bucks-electric-brewery-479895/


  • adccommunitymod (AutomationDirect)

    Created Date: December 05,2014

    Created by: trimixdiver1

    No Ideas? Come on guys, there may be free beer involved. :D

  • adccommunitymod (AutomationDirect)

    Created Date: December 05,2014

    Created by: boardmaker

    I really don't have much to offer on your question, but I checked out your link.

    That setup rocks! I 've wanted to get into brewing, but I only have about 600 other hobbies so the last thing I need is another.

    You 've done an outstanding job. Maybe once you get it broke in and your comfort level up, the Automation Notebook could run an article. Or, they could do an application story on you.

    Again, great job.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: December 05,2014

    Created by: BobO

    No Ideas? Come on guys, there may be free beer involved. :D

    Well, I do like craft beer and clearly have an interest in seeing Do-more do cool things. Unfortunately, in spite developing automation products for over 25 years, I really have never done app development. But if you need some quality control assistance, I might be of some use. :D

  • adccommunitymod (AutomationDirect)

    Created Date: December 09,2014

    Created by: trimixdiver1

    Well, I do like craft beer and clearly have an interest in seeing Do-more do cool things. Unfortunately, in spite developing automation products for over 25 years, I really have never done app development. But if you need some quality control assistance, I might be of some use. :D

    If your in the Pittsburgh area then stop by. This is my home brewery and a pilot for a 3bbl brewery we plan to open

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: December 09,2014

    Created by: franji1

    If your in the Pittsburgh area then stop by. This is my home brewery and a pilot for a 3bbl brewery we plan to open Gimme an Arn ;)! Go Stillerz!

  • adccommunitymod (AutomationDirect)

    Created Date: December 09,2014

    Created by: gatlin63

    If your in the Pittsburgh area then stop by. This is my home brewery and a pilot for a 3bbl brewery we plan to open

    Moved from Pittsburgh to Florida moving back as soon as possible.

    Do you remember Tube City beer in Mckeesport long gone now.

    Go Steelers.:)

  • adccommunitymod (AutomationDirect)

    Created Date: December 10,2014

    Created by: dieseltwitch

    After reading your post I question if you need to use a PID loop at all. It depending on how tightly you need to control the heat. If you need to be with in +/- 10% of your tgt temp then no, a pid is a waste of time especially if you only have On/Off Control of you heaters.

    What i would suggest is to stage the heating elements. Stage 2 would be if the temperature is below your target by more than 10% once above that it runs on just one heater. you will need to play with this of course and the actual stages are going to depend on how fast your system loses heat. If it rapidly looses heat then your heaters are going to go on and off all the time. if it pretty well insulated then the heaters will only cycle every one in a while.

    If you really need to keep the temperature with in +/- 1-2% then i would suggest going more analog with your heater control. find a proportional relay that matches your voltage and amperage specs. these are 0-10V or 4-20mA devices, that vary the voltage output. if you have 2x 4500W elements that run at 240V. the relay will control the voltage to the heating elements. 10V = 240V 5V=120V=1.4kW and so on. because the equation is E^2/R the drop is not 1:1. for example if you want to cut the heating power by just 10% you would need to lower the voltage from 240V to around 225V. 50% =~170V. The math gets a little interesting to get into the computer but depending on the controller you use its not too hard, the basic formula is W=sqrt(V*R). With this you could take full advantage of your PID loop and it will fly your temperature with some pretty amazing control with out even having to stage it. I use these relays with an almost uncontrollable obsession in my heating applications.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: December 11,2014

    Created by: trimixdiver1

    After reading your post I question if you need to use a PID loop at all. It depending on how tightly you need to control the heat. If you need to be with in +/- 10% of your tgt temp then no, a pid is a waste of time especially if you only have On/Off Control of you heaters.

    What i would suggest is to stage the heating elements. Stage 2 would be if the temperature is below your target by more than 10% once above that it runs on just one heater. you will need to play with this of course and the actual stages are going to depend on how fast your system loses heat. If it rapidly looses heat then your heaters are going to go on and off all the time. if it pretty well insulated then the heaters will only cycle every one in a while.

    If you really need to keep the temperature with in +/- 1-2% then i would suggest going more analog with your heater control. find a proportional relay that matches your voltage and amperage specs. these are 0-10V or 4-20mA devices, that vary the voltage output. if you have 2x 4500W elements that run at 240V. the relay will control the voltage to the heating elements. 10V = 240V 5V=120V=1.4kW and so on. because the equation is E^2/R the drop is not 1:1. for example if you want to cut the heating power by just 10% you would need to lower the voltage from 240V to around 225V. 50% =~170V. The math gets a little interesting to get into the computer but depending on the controller you use its not too hard, the basic formula is W=sqrt(V*R). With this you could take full advantage of your PID loop and it will fly your temperature with some pretty amazing control with out even having to stage it. I use these relays with an almost uncontrollable obsession in my heating applications.

    Thanks, I was planning on using the time prop ibox, so i think i will be ok.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: December 11,2014

    Created by: BobO

    One of our guys here at Host built a powder coat oven and used TIMEPROP and PID. Resulted in very tight control. I would think that your mash temp would be far more stable than air temp. Should work well.

  • adccommunitymod (AutomationDirect)

    Created Date: December 04,2014

    Created by: trimixdiver1

    My personal electric brewery project is almost complete.

    The system uses a kettle (hot liquor tank) with 2 4500w elements in a pumped loop though a heat exchanger to control the temperature of a second kettle (Mash Tun) though a pumped loop on the other side of the heat exchanger. I also have a band heater on the mash tun.

    I have a DoMore, my idea was to use a PID loop to control the temperature of the Hot Liquor Tank and adjust the set point to get the temperature of the mash tun correct. The mash tun will have grain in it at different amounts depending on the beer and batch size. So I was planning on using two PID loops, tuning one at 50% full and one at 100% full and enable the loop thats needed.

    I also have a analog valve on each loop, so would a PID loop on that be better?

    Now the questions:

    Should I run with what Im planning or is there a better way? Say with one loop controlling the other?

    Does the 50% and 100% seem like a good idea or is there a better way?

    Here is a link to the build

    http://www.homebrewtalk.com/f235/bucks-electric-brewery-479895/

    Expand Post