Arduino Controlled Cooling/Heating System for Beer Fermentation

Arduino Food & Beverage
Arduino Controlled Cooling/Heating System for Beer Fermentation

arduioo-week

TEC cooled beer fermenter

Temperature control during fermentation is a key factor for the perfect home-brew, andย it’s mandatory if you would like to brew like a professional. There are lot of techniques that are used to control classic fridge or heating element and lot of automation implementationsโ€”this project started out as aย classic fridge modification, adding a thermo regulator in the range of fermentation and eventually a complementary heating element.

Theย idea is to leverage theย Peltier effectโ€”and aย thermo electric cooler (TEC)โ€”that is the main functionalย component in aย lot of cooling applicationsย as there are lot of advantage for controlling the temperature of a small amount of beer (small volume) trough an electronic device rather than usingย a classical mechanical compressor.

First of all you can modulate the power instead having an sharp on/off control,ย so you can achieve better precision and stability via a PID /PWM algorithm as well asย reducing the power consumption, when the beer reach the stable set point (as the fermentation will produce a small amount of heat). The other key factor is that you can revert heating and cooling so you can compensate for your room temperature in summer and in winterโ€”here is no need to coordinate two different process the e/o elements and the TEC are “all in one”

Final, theย other intrinsic advantage is that there are no mechanical parts involvedย so you can design a very compact and low noise system for the home environment.

I have done many previous implementations (non-Arduino based), both with air to air exchange creating a fermentation chamber, and air-water exchange recirculating cool/hot water with a chiller inside the fermenter to chill the fluid.

TEC cooled fermentation chamber

Now Iโ€™m porting the solution to anย Arduino based control systemย and Iโ€™m trying to set up the basic core code for both PID controlling temperature and PWM / H-bridge motor shield to drive the TEC

Arduino PID-PWM-HBrdige TEC controller

The block diagram shows myย solution. Arduino read temperature from digital sensor (Dallas oneWire DS18B20 series) and the PID algorithmย producing a PWM signal with variable duty cycle. The PID provides the โ€œdirectionโ€ of the controlโ€”either for heating and coolingโ€”while the PWM signal and direction are sent to an H-bridge power device that (DC motor driver) that drives the cells. Aย fan speed is also controlled accordingly to power of the cells.

At this stage I set up a laboratory test enviroment with a single pettier cell, 2 heater exchangers, and 2 fans in order to develop and debug the control algorithm and the service logic

Arduino TEC test set up

One side of system with heating/cooling element and fan has been inserted in a ice cream polystyreneย box in order to simulate the fermentation chamber.

TEC fermentation chamber

I was able to reach good stabilty with this air/airย set up as demonstrated the below graph obtained with serial print value of the arduino PID.

PID control output

The next step is to scale the solution to the air-water heatย exchanger and add all the end user interaction menu.

Tagged

Davide Arzarello founder of arzaman engineering is Electronic engineer with solid design and engineering competence DIY enthusiast , curious , passionate, experimenter, maker Fond of food&beverage , professional sommelier, lecturer &trainer, wine/beer/cheese taster..and producer longtime homebrewer and craft beer expert

View more articles by arzaman
Discuss this article with the rest of the community on our Discord server!

ADVERTISEMENT

FEEDBACK