Exp 7
Exp 7
1. OBJECTIVE
To study the performance of various types of controllers used to control the temperature of an oven.
2. SYSTEM DESCRIPTION
Temperature control is one of the most common industrial control systems that are in operation. This
equipment is designed to expose the students to the intricacies of such a system in the 'friendly environment
of a laboratory, free from disturbances and uncertainties of plant prevalent in an actual process. The 'plant' to
be controlled is a specially designed oven having a short heating as well as cooling time. The temperature
time data may be obtained manually, thus avoiding expensive equipment like an X-Y recorder or a pen
recorder. A solid state temperature sensor converts the absolute temperature information to a proportional
electric signal. The reference and actual temperatures are indicated in degree Celsius on a switch selectable
digital display.
The controller unit compares the reference and the measured signals to generate the error. Controller options
available to the user consist of ON-OFF or relay with two hysteresis settings and combination of
proportional, derivative and integral blocks having independent coefficient settings. A block diagram of the
complete system is shown in Fig. 1.
3. BACKGROUND SUMMARY
The first step in the analysis of any control system is to derive its mathematical model. The various blocks
shown in Fig. 1 are now studied in detail and their mathematical descriptions are developed. This would
help in understanding the working of the complete system and also to implement control strategies.
3.1 The Plant (Oven)
Plant to be controlled is an electric oven, the temperature of which must adjust itself in accordance with the
reference or command. This is a thermal system which basically involves transfer of heat from one section
to another. In the present case we are interested in the transfer of heat from the heater coil to the oven and
the leakage of heat from the oven to the atmosphere. Such systems may be conveniently analysed in terms of
thermal resistance and capacitance as explained below. However, this analysis is not very accurate, since the
transfer of heat essentially takes place from every part of the oven thermal resistance and capacitance are
obviously distributed. The lumped parameter model described here is therefore only an approximation. For a
precise analysis, a distributed parameter model must be used. Another difficulty associated with temperature
control systems is that whereas the temperature rise is produced by energy input, which is controllable, the
temperature fall is due to heat loss which is uncontrollable and unpredictable. This implies that the oven will
have different time constants while heating and cooling. Again, these will depend on the ambient
temperature and the set point chosen. Such a system is therefore rather difficult to control. There are three
modes of heat transfer viz. conduction, convection and radiation. Heat transfer through radiation maybe
neglected in the present case since the temperatures involved are quite small. For conductive and
convective heat transfer
Θ=alpha*deltaT
where, rate of heat flow in Joule/sec.
delta T= temperature difference in °C
alpha =Constant
t= time in seconds
Under assumptions of linearity, the thermal resistance is defined as, R Temperature- difference/rate of heat
flow AT/1/a. This is analogous to electrical resistance defined by 1 V/R. In a similar manner thermal
capacitance of the mass is defined by
Θ = Cd(deltaT)/dt
which is analogous to the V-I relationship of a capacitor, namely IC dV/dt. In the case of heat,
C= Rate of heat flow/Rate of temperature change
The equation of an oven may now be written by combining the above two equations, implying that a part of
the heat input is used in increasing the temperature of the oven and the rest goes out as loss. Thus
Θ =CdT/dt+(1/R)XT,
with the initial condition T(t=0) Tamb. Now, taking Laplace transform with zero initial condition
T(s) /Θ(s) = R/ 1+SCR (1)
An analogous electrical network and block diagram may be drawn as in Fig.2 defined by the equation
I= CdV/dt + V/R
Eq.(1) is an extremely simplified representation of the thermal system under consideration and it gives rise
to a transfer function of the first order and type zero. Such a system should be easily controlled in the closed
loop. Difficulties are however faced in the system due to the following reasons:
(a) The temperature rise in response to the heat input is not instantaneous. A certain amount of time is
needed to transfer the heat by convection and conduction inside the oven. This requires a delay or
transportation lag term, exp(-sT₁), to be included in the transfer function, where T, is the time lag in seconds.
(b) Unlike the equivalent electrical circuit of Fig. 2, the heat input in the thermal system cannot have a
negative sign. This means that although the rate of temperature rise would depend on the heat input, the rate
of temperature fall would depend on thermal resistance R. The conventional analysis methods then become
inapplicable.
(c) Referring to the closed loop oven control system of Fig. 3, it may be seen that in the steady state the error
e, is given as
In this system, A cannot be increased excessively in an attempt to reduce error, since a large gain is likely to
lead to instability due to transportation lag. Also, every time (Tref-T) becomes negative, the heat input is cut
off and the oven must cool down slowly. The temperature T therefore oscillates around the nominal value.
3.2 Controller
Basic control actions commonly used in temperature control systems are
ON-OFF or relay
Proportional
Proportional-Integral
• Proportional-Integral-Derivative
These are described below in some detail.
(a) ON-OFF or Relay type controllers, also referred to as two position controllers, consist of a simple and
inexpensive switch/relay and are, therefore, used very commonly in both industrial and domestic control
systems. Typical applications include air-conditioner and refrigerators, ovens, heaters with thermostat.
Solenoid operated two position valves are commonly used in hydraulic and pneumatic systems. The basic
input-output behaviour of this controller is shown in Fig. 4. The two positions of the controller are M1and
M2 and H is the hysteresis or differential gap.
The hysteresis is necessary, as it enables the controller output to remain at its present value till the input or
error has increased a little beyond zero. Hysteresis helps in avoiding too frequent switching of the controller,
although a large value results in greater errors. The response of a system with ON-OFF controller is shown
in Fig. 5. Describing function technique is a standard method for the analysis of non-linear systems, for
instance, one with an ON-OFF controller.
(b) Proportional controller is simply an amplifier of gain Kp which amplifies the error signal and passes it
to the actuator. The noise, drift and bias currents of this amplifier set the lower limit of the input signal
which may be handled reliably and therefore decide the minimum possible value of the error between the
input signal and output. Also the saturation characteristics of this amplifier sets the linear and non-linear
regions of its operation. A typical proportional controller may have an input-output characteristics as in Fig.
6. Such controller gives non-zero steady state error to step input for a type-0 system as indicated earlier. The
proportional (P) block in the system consists of a variable gain. amplifier having a maximum value, K pmax
of 20.
(c) Proportional-Integral (PI) controller: Mathematical equation of such a controller is given by
and a block diagram representation is shown in Fig. 7. It may be easily seen that this controller introduces a
pole at the origin, i.e. increases the system type number by unity. The steady state error of the system is
therefore reduced or eliminated. Qualitatively, any small error signal \mathfrak{c}(t) present in the system,
would get continuously integrated and generate actuator signal m(t) forcing the plant output to exactly
correspond to the reference input so that the error is zero. In practical systems, the error may not be exactly
zero due to imperfections in an electronic integrator caused by bias current needed, noise and drift present
and leakage of the integrator capacitor.
The integral (1) block in the present system is realised with a circuit shown in Fig.8 and has a transfer
function
The integral gain is therefore adjustable in the range 0 to 0.036 (approx.). Due to the tolerance of large
capacitance's, the value of K, is approximate.
(d) Proportional-Integral-Derivative (PID) controller: Mathematical equations governing the operation
of this controller is as
A simple analysis would show that the derivative block essentially increases the damping ratio of the system
and therefore improves the dynamic performance by reducing overshoot. The PID controller therefore helps
in reducing the steady state error with an improvement in the transient response.
The derivative (D) block in this system is realised with the circuit of Fig. 9. This has a transfer function
Gp(s) 19.97 s (approx.) (3)
The derivative gain is therefore adjustable in the range 0 to 20 approximately. Again, the approximation is
justified due to the higher tolerance in the values of large electrolytic capacitance's.
PID controller is one of the most widely used controller because of its simplicity. By adjusting its
coefficients Kp, Kp (or Tp) and K, (or Ti) the controller can be used with a variety of systems. The process
of setting the controller coefficients to suit a given plant is known as tuning. There are many methods of
'tuning' a PID controller. In the present experiment, the method of Ziegler-Nichol has been introduced which
is suitable for the oven control system, although better methods are available and may be attempted.
3.3 Temperature Measurement
The oven temperature can be sensed by a variety of transducers like thermistor, thermocouple, RTD and IC
temperature sensors. In the present setup, the maximum oven temperature is around 90°C which is well
within the operating range of IC temperature sensor like AD590. Further, these sensors are linear and have a
good sensitivity, viz. IµA/K.
Associated electronic circuits convert this output to 10mV/°C which may be easily measured by a DVM.
The time constant of the sensor has however been neglected in the analysis since it is insignificant compared
with the oven time constant.
4. EXPERIMENTAL WORK
A variety of experiments may be conducted with the help of this unit. The principal advantage of the unit is
that all power sources and metering are built-in and one needs only a watch to be able to note down the
temperature readings at precise time instants. After each run the oven has to be cooled to nearly the room
temperature, which may take about 15-20 minutes. This would limit the number of runs to about four in an
usual laboratory class. The experiments suggested could be completed in about 6-8 hours.
The controller settings suggested by Ziegler and Nichols are not optimum. It is therefore possible to
experiment with other methods available in the literature or to attempt trial and error settings.
Students at the master's level may attempt to calculate theoretically the optimum values of Kp, Kd
and Ki based on some performance criterion and then verify them results on the setup. It may be
convenient to use a pen recorder or X-Y recorder for such experiments. A terminal has been
provided at the back of the unit for this purpose with a sensitivity of 10mV/°C.
Additional laboratory work may involve modification of the oven parameters and then repeating the
basic experiments. This may be done simply by putting thermal load into the oven, thus increasing its
thermal capacitance or by providing insulation to the oven thus increasing its thermal resistance.
These may also act as disturbance inputs to the oven while it is operating under steady-state
conditions, and their effect may be studied.
5. TYPICAL RESULTS
(a) Open loop measurement: The constant K for oven plus driver controller is given by
K= (Final temperature Oven - Ambient temp)/ Input (Volts) = 87.2-34/0.5 = 53.2/0.5 = 106.4
From the graph between temperature and time Fig.11, the final oven temperature for a input of 0.5
volt is 87.2 deg * C. Hence, K = 53.2/0.5 = 106.4 deg * C / V .With reference to Fig.10, T1 and T2
as measured from the open-loop graph are: T1 = 312 sec : T2 =21sec. (Note that these values may
differ from unit to unit).
(b) Calculation for KP KI KD : The coefficient settings according to Ziegler and Nichols are
different for different types of control. The calculations for them are illustrated below.
(i) P Control: Kp=312 106.4 21 = 0.1396 V/°C With temperature-sensor sensitivity of 10mV /^ C
and maximum gain of P-amplifier as 20, actual Kp max. 0.1V/°C. Hence P-setting required for
proportional control is 70%. The Temperature vs Time plot is shown in Fig. 12.
Conclusion:-
In studying different controllers for oven temperature control, PID controllers stand out for their ability to
provide precise and stable regulation by combining proportional, integral, and derivative actions. While
proportional controllers are fast but leave steady-state errors, and PI controllers eliminate errors but may
respond slowly, PID controllers offer the best balance. On/off controllers, though simple, tend to cause
temperature oscillations, making them less suitable for precise control. Overall, PID controllers deliver the
most effective performance for maintaining consistent oven temperatures with minimal errors