Two fermentors, each with heat/cool

Describe your system and processes, and post your config file.
Post Reply
ocluke
Posts: 10
Joined: Fri Mar 09, 2012 12:21 pm
Bot?: No

Two fermentors, each with heat/cool

Post by ocluke »

I'm a little lost trying to get my fermentation/refrigeration process setup. My situation is this:
2 refrigerators for fermentation/cellaring:
Primary fermentor: has a ceramic heat bulb inside for heating saisons, or when the ambient temp is lower than the desired temp.
Cellar fermentor: This is where I do long-term aging of beers. This has heat as well.

Currently, my process is setup like how you see below in italics.

What I would like to do is be able to crash cool at the end of a fermentation without affecting the heat/cool of cellar. Is it possible to do this with one process, or should I have separate processes for each fermentor? I'd appreciate any assistance from those who have experience with heat/cool fermentation processes, or multiple fermentation processes. I checked the system examples section of the wiki for dual stage fermentation, but it says, "this page is under construction."

Process: Refrigeration

State 0:Ferm C/Cellar C(Fermentor Cool/Cellar Fridge Cool)
State 1:Ferm H/Cellar C (Fermentor Heat/Cellar Fridge Cool)
State 2:Ferm C/Cellar H (Fermentor Cool/Cellar Fridge Heat)
State 3:Ferm H/Cellar H (Fermentor Heat/Cellar Fridge Heat)

State 0: Cool Only
Outputs Asserted in this State:
- Out3: Cellar Fridge, Control, Hysterisis, 64
- Out5: Fermentor Fridge, Control, Hysterisis, 68
Exit Conditions
- Enable Exit 0, Temp7:Fermentor Fridge, <= 67, Goto S1:Ferm H/Cellar C
- Enable Exit 1, Temp5:Cellar Fridge, <= 63, Goto S2:Ferm C/Cellar H

State 1: Ferm H/Cellar C
Outputs Asserted in this State:
- Out3: Cellar Fridge, Control, Hysterisis, 64
- Out4: Fermentor Heater, Control, On
Exit Conditions
- Enable Exit 0, Temp7:Fermentor Fridge, >= 68, Goto S0:Ferm C/Cellar
- Enable Exit 1, Temp5:Cellar Fridge, <= 63, Goto S3:Ferm H/Cellar H

State 2: Ferm C/Cellar H
Outputs Asserted in this State:
- Out17: Cellar Heater, Control, On
- Out5: Fermentor Fridge, Control, Hysterisis, 68
Exit Conditions
- Enable Exit 0, Temp7:Fermentor Fridge, <= 67, Goto S3:Ferm H/Cellar H
- Enable Exit 1, Temp5:Cellar Fridge, >= 64, Goto S0:Ferm C/Cellar

State 3:Ferm H/Cellar H
Outputs Asserted in this State:
- Out17: Cellar Heater, Control, On
- Out4: Fermentor Heater, Control, On
Exit Conditions
- Enable Exit 0, Temp7:Fermentor Fridge, >=68, Goto S2:Ferm C/Cellar H
- Enable Exit 1, Temp5:Cellar Fridge, >=64, Goto: S1:Ferm H/Cellar C
User avatar
ECC
Posts: 676
Joined: Fri Sep 12, 2008 12:29 pm
Bot?: No
Contact:

Re: Two fermentors, each with heat/cool

Post by ECC »

Although your processes methods listed above will work, I think its too complicated for what you want to achieve. The key concept is that is missing is that a single state can hold a temperature, when you use Hysteresis or PID control of an output. You can then use the Hysterisis/PID variables in the System Settings page to tweak the control.

You can do this all in Manual Mode, create a single process (1 state). I moved Cellar Heat to out2, so that you can use Hysteresis control (outs 6-17 are on/off only). Simply set the outputs to the correct Heat/Cool modes in the System Settings page, and enter the same setpoint for each.

Process 0 Refrigeration
State 0 Refrigeration
- Out2: Cellar Heater, Control, Hysterisis, 64
- Out3: Cellar Fridge, Control, Hysterisis, 64
- Out4: Fermentor Heater, Control, Hysterisis, 68
- Out5: Fermentor Fridge, Control, Hysterisis, 68

You can also break that up into 2 processes such that you can enable/disable each one independently, which seems like it would be a good thing to do.
JonW
Site Admin
Posts: 1726
Joined: Sun Jul 18, 2010 7:51 am
Bot?: No
Location: Huntington Beach, CA
Contact:

Re: Two fermentors, each with heat/cool

Post by JonW »

The problem with that Adam is that he needs Out0, Out1 & Out2 for temperature control on the brew rig, leaving only Out3, Out4 & Out5 for other temperature control duties, so he still comes up short 1 PID controlled output, thus the reason for using state logic to control heat.

I agree that it should probably be broken into 2 processes. It will be easier to manage the state code and easier to handle individual changes.

Additionally, I would add a toggle switch to a DIN to trigger whether it is in "crash cool" mode for the fermenter process. That way, when/if you have a power cycle, your logic can make sure it is jumping to the correct state.
Post Reply