3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Want advice on a brew temperature controller

Some friends of mine have asked me to make them a brew temperature controller for their microbrewery. I have a rough idea about how I'm thinking of doing it, but would like to check out whether I am on the right track.

What they want is something that will maintain a constant temperature inside an insulated box they are building (about 3x1x1m), which the vats will go in to brew.

My idea is to use an arduino controller to switch a Solid State Relay and turn the heater on and off to maintain a set temperature. I want to try using low frequency PWM (at about 5Hz) and a proper PI control loop to get really accurate control, rather than just using a standard thermostat action.

I'm thinking that given that the relay should switch on every half-cycle (100Hz), this will give me at least 20 levels of control. (Probably more because as the PWM frequency drifts against the mains frequency, the number of on cycles will jump up and down by 1 around an average value.) I decided on this method rather than using a phase angle controller because they are costly and need external components (e.g. a line filter) to work properly.

As far as I can see, this switching method should give me pretty good control over the temperature, but it would be good to know if anyone can see any problems with it - I'm designing this more from theory than experience.

One thing I'm not sure about is how to measure the temperature. I'm thinking of using an SPI chip rather than try to calibrate a thermistor, but these cost about 4 pounds, so I'm wondering if I could save a bit of money by using a simpler method.

Another question is about safety - any advice on things I should do to ensure it's safe would be welcome. I've never done a mains powered project before, so I want to be really careful.

I've written up some notes on my proposed design here.

18 answers
sort by: active | newest | oldest
Aug 23, 2011. 2:15 AMsteveastrouk says:
Yes, the cycle burst system you are proposing is a better choice than phase control.

Most SSRs trigger on zero volt crossing anyway. What matters is the integration time of the process - clearly a room of 3 cubic metres isn't materially affected by a single cycle of mains. You can go to a maximum cycle time of many seconds in a big system.

BUT

"Air bath" temperature control is extremely not easy, especially in a big room, and the control of the temperature of large vessels full of water is going to be very poor. Your friends would be much better using liquid control, like everyone else. The microbrewery systems I've worked with use immersion heaters.

The problem is massive lags caused by a.) air coupling, b.) Water tanks heat capacity and c.) Lack of control authority.

Steve
Aug 23, 2011. 3:15 AMsteveastrouk says:
In general, no, these won't be very high power heaters.
Aug 23, 2011. 3:18 AMsteveastrouk says:
Imagine a brick, sitting on a perfectly friction free surface, and try to imagine pushing it with a feather, so it stops at a particular spot on the surface.

Now imagine a feather 20 feet long, and the same brick, and you have an analogy for the control situation - the feather is the heater, the position, the temperature, the frction free surface is the air in the room, and the spot is the final temperature...

Steve
Aug 23, 2011. 3:58 AMsteveastrouk says:
Its going to take many HOURS to respond, because the tanks are huge stores of energy, and the coupling to them is very indirect.

The other way is with a belt heater - think "electric blanket" wrapped on the tank.

Another pro-trick is to have a water jacket on the outside of the tanks, heated by external water flow, and also coolable.

Steve
Aug 23, 2011. 4:53 AMsteveastrouk says:
Another way would be a coil of tube immersed in the tanks.

How big are the tanks ? Copper is compatible with the wort/yeast isn't it ?


Steve
Aug 23, 2011. 5:45 AMsteveastrouk says:
220 litres of water contains 0.9 MJ/K That's a LOT of energy to add and remove.
Aug 23, 2011. 9:58 AMsteveastrouk says:
A good plan.
Don't forget fermentation is exothermic.....

Steve
Aug 23, 2011. 10:02 AMsteveastrouk says:
Use LM35s in stainless steel needle tubes. Ask Steveastrouk in Manchester very nicely. No real need to fill with much apart from epoxy.

An Arduino will widdle on 4 channels of temperature control - there is a PID library already - though you'll probably mainly need P and a teeny bit of I.

Steve

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!