Control and Automation Overview

All the electronics, Looking a little messy and in need of some cable trunking

All the electronics.

To make the brewery automatic as much as possible involves several modules and components all working together.

All the control pieces of the brewery such as Valves/Level Probes/Temperature Probes etc are all connected to a Pokeys57E module, this low cost module manufactured by PoLabs is a very sophisticated device and contains lot’s of communication protocols already in place to make the communication between all the parts of the brewery quite simple.

The main display which is used for controlling the brewery

The main display which is used for controlling the brewery from the android tablet.

I could have designed and programmed a board from scratch which did the same purpose but it would have taken me a long time and at the end of the day couldn’t see the reason when someone has already done all the hard work for me.

And the support I’ve received from the manufacturer of the board has always been very good, with a quick response received to any email request even at the weekend.

The Pokeys device itself can contain a small amount of programming to look after certain things on the brewery, I’ve used this programming capability to handle certain important things such as instantly shutting off the water supply in case the Hot Liquor Tank every reached high level, and also to turn off the Heating elements should any problem occur with the Android application.

The main programming and sequence control though is done by an application I have developed to run on my Android Tablet. After developing a couple of other Android applications I though it made sense to use a tablet for controlling the brewery.

The Android application works in a similar way to how a control system works in a real full size brewery, Yet in a low cost form and is completely mobile.

I’ve wired all of the devices and components together through some rail mounted connection blocks. These allow me to easily implement fuses etc and also make it easier to modify and add to the brewery in the future.

On my list of things to do is to tidy all the cabling up quite and bit and put it inside trunking.

More information on all the parts here and how I’ve used them are detailed in my other blog posts.


The Android Control Application

Nexus 7 Tablet On Its Bracket

Nexus 7 Tablet On Its Bracket

Having already programmed a couple of applications for Android being able to control the brewery entirely through an Android based device seemed like the sensible thing to do.

I designed the application to run perfectly on a Nexus 7 tablet which I already had available but would happily run on other devices with minor tweaks to the graphics displays. I installed a small mount on the side of the brewery so I could slot the tablet in when required and simply slide it out to take it away.

All the sequencing for all the stages in the brewery are entirely controlled by the Android application with visible and audible prompts at certain times. For example when the brew is boiling it prompts me to place the hops into the boiling at wort at certain times.The application will keep alerting me with an audible alarm every minute until I do as I’m told and put the hops in.

I’ve made the application to be very user friendly and a brew can be made by simply pushing the start button on the display and following the on screen prompts.

The following options are currently available within the software, some of which I’ll detail more on different blog posts.

  • A Main Menu.
  • The Main Graphics Display of the brewery.
  • The Fermentation control enclosure display.
  • A Cleaning Control Page.
  • Full logging of each brew and detailed historical information.
  • A Full Recipe handling system, including stock management.
  • And Various Other Settings Pages
The android control application main menu

The android control application main menu

The main menu is self explanatory and simply gives you a way to access all the other pages, As you can see from the photo most of the buttons on the main menu simply choose what you want to do. These all bring up the Main Graphics display of the brewery but change the control options at the bottom of the display, Allowing different sequences to be run such as sterilising the brewery, Hot rinsing the brewery or the main Brewing sequence.

The main display which is used for controlling the brewery

The main display which is used for controlling the brewery

When you are on the main graphics display, If you need to do something quickly such as opening or closing a valve simply clicking on the valve changes it state. You could run the brewery entirely this way without using the sequencing built in but would need to remember what you should be doing all the time.

All the items on the display are colour coded, For example the valves highlight in red while they are open and turn grey when they are closed.

At the bottom of the graphics display is the main control options where you start and stop the running of the brewery. While everything is running ok the options at the bottom are shown in green and if any problems occur the display turns red, if you stop the sequence from the screen the display shows yellow. You can also stop the brewing at any time by pushing the stop button. This shuts down the valves and pumps and also any heating elements in use at the time.

The application tells you how long each stage has to go such as how long to go on the boil, When the next hops are required and also if the tanks are heating up how long it will take for them to reach the temperature required.

Fermentation vessel and enclosure display

Fermentation vessel and enclosure display

One of the other graphics display available is the vessel control enclosure display, This page indicates the current temperature within the enclosure and also the current bubbles counted through the airlocks from each demijohn. It also indicates how long fermentation has been active for the brew and whether a gravity sample needs to be taken. These are entered by just clicking on the vessel and selecting the correct sample.

Clicking on the graph symbol while it’s fermenting displays a real time graph of the current bubbles counted, This gives an easy to read representation of how the fermentation stage is proceeding.

When fermentation is completed it prompts you what to do next and keeps track of the time taken for each stage, This is automatically logged against the particular brew number.

The other pages are settings pages which are used for configuring settings and times used within the system. This will eventually be expanded to allow a proper recipe editing facility.