Sorghum Beer
Sorghum Beer
dt
(5)
Where F
C
0
(t) is the lactic acid hold up for the tank at time t
Consider the law of conservation:
Catherine Maware et al. / International Journal of Engineering Science and Technology (IJEST)
ISSN : 0975-5462 Vol. 5 No.06 June 2013 1170
Q
f
C
f
= F
d
dt
C
0
or
d
dt
C
0
+ C
0
= K x
v
(6)
Where K =C
f
K
v
/ Q
0
and =V/Q
0
The transfer function of the system:
C
(s)
X
u
(x)
=
3.247
3x+1
(7)
The equation for the system was later tested for unit step response using Matlab.
2.3 Choosing the right temperature sensor for the brewery
Platinum resistance thermometers (Pt100) were chosen because of their improved high responsiveness, high
sensitivity and long term stability in wet conditions. Resistance Temperature Detectors (RTDs) are easy to
install and have the highest accuracy for temperature. However, RTDs are expensive.
2.3.1 Modeling for temperature
Fig 2 shows a cooker control system. The output signal from a temperature sensing device which is Pt100 is
compared with the desired temperature. An error causes the controller to send a control signal to the solenoid
gas valve which produces linear movement of the valve stem, thus adjusting the flow of steam to the cooker.
Fig 2 Cooker Control System
The PID system controller is connected to the current- pressure actuator. The actuator is connected to the gas
solenoid valve which continuously actuates to open or close so that the correct amount of steam will flow into
the cooker so as to raise or lower the temperature. The temperature in the cooker is measured by the Pt100
which gives feedback to the system controller for adjustment and control. The disturbance will account for the
heat losses, steam leakages and other non-ideal fluctuations.
Fig 3 shows a block diagram for the temperature control loop using the PID controller.
Fig 3 temperature control using PID controller
Where: C
t
=Thermal capacitance, R
t
=Thermal resistance, K
1
=Constant for PID, K
2
=control steam valve
constant,
Catherine Maware et al. / International Journal of Engineering Science and Technology (IJEST)
ISSN : 0975-5462 Vol. 5 No.06 June 2013 1171
d
(t) =desired temperature,
m
(t) =Measured temperature (V),
0
(t) =Actual temperature(C), u(t) =Control
signal
V(t) =steam flow rate(m
3
/s), Q
i
(t) =heat flow rate into the cooker(J /s =W), Q
o
(t) =Heat flow through the walls
of the cooker (W), C
T
=Thermal capacitance, R
T
=Thermal resistance of the walls.
2.3.2 System equations
Controller: The control action is PID of the form of 1+
1
1
i
(s)
+I
d
(s) (8)
U(s) =K
1
[1+
1
1
i
(s)
+ I
d
(s)][
d
(s) -
m
(s) (9)
The gas solenoid valve has a first order dynamics of the form;
v
0
(s) =
K
2
1+1
i
(s)
where K
2
is the valve constant m
3
/s (10)
2.3.3 Room dynamics
Q
i
(t) Q
0
(t) =C
T
d0
dt
(11)
Heat through the walls of the cooker is as given in equation (12)
Q
0
(t) =
|
0
(t) s(t)]
R
T
(12)
Substituting equation (11) into (12)
Q
i
(t) [
0
(t) - s(t)
R
T
]=C
T
d0
dt
(13)
Multiplying by R
1
R
1
Qi(t) +s(t) =
0
(t) +R
1
CT
d0
dt
(14)
Taking Laplace Transforms
R
1
Qi(s) +s(s) =[1+R
1
C
1
]
0
(s) (15)
The thermometer equation
m
(s) =H
1
0
(s) (16)
The block diagram can be reduced to:
K
1
K
2
R
T
(1
d
s1
i (s)
)+ 1)|
d
(s)- 1+
0
(s)
1
i
(s)(1+1
1
(s)
+
0
(s) =1 +R
1
C
1
0
(s) (17)
Hence the forward gain K
f
=K
1
K
2
R
T
R
T
=0.75
C
T
=11J /K
T
1
=2.2634
The transfer function of the system:
Ha(s)
V1(s)
=
0.95
1+411.255s
(19)
The equation for the system was later tested for unit step response using Matlab.
2.4 Modeling for water level control system
The level sensor ensures correct amount of water is poured into the cooker. Greyline LIT25 sensor was chosen
because the signal relay is programmable for ON/OFF pump control, level, temperature or echo loss alarm.
Figure 4 shows a level control system for the cooker.
Catherine Maware et al. / International Journal of Engineering Science and Technology (IJEST)
ISSN : 0975-5462 Vol. 5 No.06 June 2013 1172
Fig 4 modeling the control systemfor water level
Where K
v
=flow coefficient for water, R
f
=15s/ m
2
,
U
t
=Signal from the controller, V
1
=Volume of tank when
it has reached the required level, V
2
=Volume of tank at a particular time, A =Area of tank, H
a
=Height of
tank, R
f
=Outlet resistance of water.
V
1
(t) =K
v
U
t
(20)
Tank dynamics V
1
(t) V
2
(t) =
Ad
dt
h
a
(21)
To linearise the flow V
2
(t) =
hu(t)
R]
(22)
The measured head h
m
=H
1
. h
a
(23)
V
1
(s) -
hu(t)
R](s)
=A
s
H
a
(24)
R](s)v1(s)- Hu(s)
R](s)
=A
s
H
a
(25)
R](s)v1(s)
R](s)
=A
s
H
a
+
Hu(s)
R](s)
(26)
R](s)v1(s)
R](s)
=H
a
(A
s
+
1
R](s)
) (27)
Hu(s)
v1
=
R]
1+A(s)R](s)
(28)
PLC
CONTROLLER
TANKAREA,A
GREYLINELIT25
H
1
V
1
H
a
CONTROL VALVE
(K
v
)
U H
d
H
m
V
Catherine Maware et al. / International Journal of Engineering Science and Technology (IJEST)
ISSN : 0975-5462 Vol. 5 No.06 June 2013 1173
Fig 5 Open loop system
H
c
(s)
v
1
(s)
=
K
R
]
1+411.255s
K
v
= 0.1 R
f
=9.5m
3
/s
The transfer function of the system:
H
c
(s)
v
1
(s)
=
0.95
1+411.255s
(29)
The system was later tested for unit step response using Matlab.
3.0 Results and Discussion
The research focused on the design of the control system for sorghum beer brewing process. The research
illustrated on the designing of the system from first principles and the simulation of the temperature control
system was done using Matlab.
3.1 Results for the mashing tank
The transfer function for the mashing process was obtained from first principles. The transfer function for the
process obtained was:
C
(s)
X
u
(x)
=
3.247
3x+1
(7)
The system was then tested for open loop unit step response and it produced an amplified input response signal
by a factor of 3.25. The PID control algorithm was then implemented and the system was tested using a
Proportional controller. The system managed to achieve a unit step function with no overshoots, however the
rise time was 105seconds. The system was again tested with the aid of the proportional derivative controller so
as to reduce the rise time and system response time. The system rise time was 0.5 seconds and the system
achieved the desired set point with no overshoot. The Proportional Derivative controller was selected for the
mashing section. This can be seen in figure 6 shown below.
Fig 6 Combined graphs for the PID control system
K
v
R
1 +A(s)R(s)
V
1
(s)
H
d
(s
H
m
(s
Catherine Maware et al. / International Journal of Engineering Science and Technology (IJEST)
ISSN : 0975-5462 Vol. 5 No.06 June 2013 1174
3.2 Water level control the system
The transfer function that was obtained from first principles was
H
c
(s)
v
1
(s)
=
0.95
1+411.255s
(19)
The system was tested for unit step open loop response. The gain of the transfer function was 0.95. The rise time
was 1500 seconds and the settling time was 500 seconds. The proportional controller was introduced so as to
lower the rise time. The gain of the system was 0.865 and the settling time was 250 seconds. This showed that
the proportional controller reduced the gain from 0.95 to 0.865. The proportional derivative was then
introduced. It reduced the controller gain to 0.815 and the rise time was 250 seconds. The proportional integral
was also introduced so as to increase the gain of the system. The amplitude obtained showed that the system was
now unstable. An overshoot of 0.8 was achieved and the settling time increased to 500 seconds. The
Proportional Integral Derivative control system was introduced and the system was tested for unit step response.
The response time for the system was reduced from 500 seconds to 10 seconds. Figure 7 shows the combined
graphs for the control system.
Fig 7 Combined graphs for the PID control system
3.3 Results for the temperature control system
The model that was designed using Simulink was run to check if the temperature would rise in the desired
manner. The graph shown in Figure 8 was obtained after running the model. The system was able to perform as
per desired response. The mash was raised to 50C for 50 minutes for the hydrolysis of protein, -glucons and
pentasons by proteolic enzymes. The temperature was then raised to 80C and was maintained constant for 10
minutes for the optimal activity of -amylase. It was then raised to 95C and maintained for 40 minutes for the
optimal activity of - amylase. Finally, the temperature was raised to 100C and was held constant for 60
minutes to inactivate the enzymes.
Catherine Maware et al. / International Journal of Engineering Science and Technology (IJEST)
ISSN : 0975-5462 Vol. 5 No.06 June 2013 1175
Fig 8 Temperature control graph
4.0 Conclusions and Recommendations
The main aim of the research was to design a control system that that would monitor and control the mashing
process, boiling of the mash in the cooker and the amount of water added in the cooker during the beer brewing
process. The temperature control system was designed that gave the desired response to the raised temperature,
initially to 50C and maintained it for 50 minutes, to 80C and maintained it for 10 minutes. The system
managed to raise the temperature to 95C and maintained it for 40 minutes and finally the temperature was also
raised to 100C and maintained at that stage for 60 minutes.
References
[1] BelgiumBrewing Company. (2008): Opto 22 SNAP PAC systemhelps brewery improve production processes and sustainability
effects. http://www.automation.com/pdf_articles/1800_Case_Study_New_Belgium_Brewing.pdf. [Accessed on 20 March 2012].
[2] Chikezie, I (2012): Brewing beer with sorghum. J ournal of the Institute of brewing, Volume 105, issue 1.
[3] Roger, D. (2013) Processing of Amgba, sorghum- maize based beer brewed in Cameroon. J ournal of brewing and distilling, Volume
4(1), pp 11-18.
[4] Olajire, A. (2012): The brewing Industry and environmental changes. J ournal of cleaner production (2012),
doi:10.1016/j.jclepro.2012.03.003.
[5] Emerson (2008):Process solutions guide. Emerson process management Inc.
[6] Normanyo, E, Pokua A and Isaac A. (2012): Automation of protomatic labeler of a brewery using Siemens Steo 7 control software, A
case study of ACCRA brewery . http://www. arpia.press.com/volumes4. Issue 4/ IJ RRAS
-
6
-
4
-
10.pdf. [Accessed on 21 April 2013].
[7] Leuchner. K, (1996): In Drought-Tolerant Crops for Southern Africa, 4
th
Edition, ICRISAT, Patancheru, India, pp7-18.
[8] Smith, C and Corripio, A. (2006): Principles and Practice of Automatic Process Control, 3rd ed. Hoboken: J ohn Wiley & Sons.
Catherine Maware et al. / International Journal of Engineering Science and Technology (IJEST)
ISSN : 0975-5462 Vol. 5 No.06 June 2013 1176