Sei sulla pagina 1di 5

IEEE International Conference on Power, Control, Signals and Instrumentation Engineering (ICPCSI-2017)

Model Reference Adaptive Control (MRAC)


Implementation for an Industrial Pilot
Stirrer Process
AJITH.B.SINGH 1 ANIE SELVA JOTHI.A2 JANANISRI.S3
ajith.b.singh@gmail.com anieece03@gmail.com srii_janani@yahoo.co.in

1, 3 – Faculty in the Department of ICE, Sri Krishna College Of Technology, Coimbatore.


2 – Faculty in the Department of ECE, Sri Krishna College Of Engineering & Technology, Coimbatore

Abstract- Modeling of flow process in various tanks the valve, and again performance characteristics
and vessels is one of the most common problems in determined. The water level in each tank is
the process industry. In this paper adaptive control is clearly visible through the transparent glass.
implemented for the CSTR process. The CSTR
process is a classic example of a highly nonlinear System identification involves building
system. Inflow rate is taken as the input data and mathematical models of a dynamic system based
process level is taken as the output for CSTR. The
on a set of measured stimulus and response data
input flow is measured using a turbine flow meter
while the output level is measured using a differential samples. You can use system identification in a
pressure transmitter (DPT). The mathematical model wide range of applications, including mechanical
of the CSTR process is identified in the laboratory engineering, biology, physiology, meteorology,
conditions using MATLAB simulations and this economics, and model-based control design. For
model is used for implementing in adaptive control in example, engineers use a system model of the
the simulation environment. Here Model Reference relationship between the fuel flow and the shaft
Adaptive Control (MRAC) is implemented for the speed of turbojet engine to optimize the
given transfer function of the CSTR process and is efficiency and operational stability of the jet
being compared with conventional PID and auto
engine. Biologists and physiologists use system
tuning PID controllers. In future further adaptive
controllers can be implemented for the same process identification techniques in areas such as eye
along with the consideration of further nonlinearities pupil response and heart rate control.
which would be more helpful in optimization of the Meteorologists and economists build
CSTR process. mathematical models based on historical data for
use in forecasting. Here we focus on the transfer
Keywords: Process control; nonlinear dynamics; function model design of the CSTR process.
nonlinear process control; model reference adaptive
control, comparative analysis with conventional
II. PROCESS DESCRIPTION.
control.
The continuous-flow, well-stirred tank reactor
I. INTRODUCTION.
finds wide application in the chemical industry
The basic control problem is to regulate the from pilot plant to full-scale production
liquid level in one tank by varying the speed of operation. The basic arrangement, sketched
the circulating pump. The apparatus consist of below, comprises a tank thermostated at some
two separate glass tanks, inter connected by a surrounding temperature Ta into which one or
flow channel, both with drain valves to common more reactant feed streams flow at some
reservoir situated below. A variable area valve in controlled rate. The contents react in the tank and
this Channel is used to vary the flow are stirred either mechanically or as a
characteristics between the tanks. A speed pump consequence of the flow characteristics, and there
is set to fill the left tank either in manual or is an outflow. The continuous inflow of fresh
automatic control performance was monitored. reactants (and matching volumetric outflow of
Alternatively the second tank can be filled from reactant and-product mixture) provides a
the first tank, via varying different positions of thermodynamically open system, in which true

978-1-5386-0814-2/17/$31.00 ©2017 IEEE


2072
IEEE International Conference on Power, Control, Signals and Instrumentation Engineering (ICPCSI-2017)

steady state behavior can be sustained


'indefinitely'. Energy balance

The various control parameters include: VȡCpdT/dt = FȡCp(Ti-T) + UA(Q- T)


ƒ the inflow concentrations ci,0 of the III. PROCESS IDENTIFICATION
different reactants;
ƒ the total volumetric flow rate v through the A type of reactor used commonly in industrial
reactor; processing is the stirred tank operated continuously.
ƒ the ambient temperature or the It is referred to as the continuous-stirredtank reactor
temperature of any cooling jacket Ta (CSTR). The basic arrangement of CSTR is
sketched in Fig. 3.2.
ƒ the inflow temperature T0 (which may be
different from Ta)
Whilst other features, such as reactor shape and
size might be of interest at the design stage.

The diagram of the CSTR process is shown in


Figure 1.

Fig. 2.Continuous Stirred Tank Reactor


Where,

Ti ĺ Inlet Temperature of feed reactant (K)


T0 ĺOutlet temperature of reactor (K)
T ĺ Temperature in the reactor (K)
V ĺ Volume of the tank (m3)
ȡ ĺ Density of the fluid (kg/m3)

Fig. 1.CSTR process CP ĺ Heat capacity of the tank (J/kgK)

A continuous stirred tank reactor with a A continuous stirred tank reactor with a non
isothermal reaction A+B ĺProducts and with first
non isothermal reaction is considered. The tank has
order rate equation ((-rA) = kCA) is considered. The
internal heating coil with heat input Q (kJ/min) and
basic arrangement, sketched above, comprises a
the temperature is controlled by a controller in the tank has external heating coil with heat input Q
closed loop feedback circuit. The flow rates of the (kJ/min) into which one reactant feed streams flow
fluids are constant. In this paper, the controlled at constant flow rate (F). The contents react in the
variable is the level of the fluid and the tank and are stirred either mechanically or as a
manipulated variable is the heating coil Q. consequence of the flow characteristics, and there
is a constant out flow rate (F).
Energy balance Equations.
IV. ADAPTIVE CONTROL
The CSTR system is modeled using basic
accounting and energy conservation principles Adaptive Control is the control method used
by a controller which must adapt to a controlled
Rate of material accumulation = rate of material in – system with parameters which vary, or are initially
rate of material out uncertain. For example, as an aircraft flies, its mass
will slowly decrease as a result of fuel
dVȡ/dt =Finȡ-Foutȡ
consumption; a control law is needed that adapts
A dh/dt = Fi - Fo itself to such changing conditions. Adaptive control

2073
IEEE International Conference on Power, Control, Signals and Instrumentation Engineering (ICPCSI-2017)

is different from robust control in that it does not Adaptive MIT (AMIT) algorithm
need a priori information about the bounds on these
uncertain or time-varying parameters; robust Although the adaptive control can actually deal
control guarantees that if the changes are within with black-, grey- and white-box problems, it is
given bounds the control law need not be changed, more suitable for dealing with the grey-box one,
while adaptive control is concerned with control since there is no need to apply a “no model” control
law changing themselves. method when a process is clear and it is not a good
idea to attack a black-box problem without making
Adaptation Law the effort to understand the process. Based on a
priori knowledge, the process is modeled as second
The adaptation law attempts to find a set order.
of parameters that minimize the error between the
plant and the model outputs. To do this, the V. MODEL REFERENCE ADAPTIVE
parameters of the controller are incrementally CONTROL
adjusted until the error has reduced to zero. A
number of adaptation laws have been developed to The model-reference adaptive system (MRAS)
date. The two main types are the gradient and the is an important controller. It may be regarded as an
Lyapunov approach and here gradient approach adaptive servo system in which the desired
method is used. performance is expressed in terms of a reference
model, which gives the desired response to a
This control system consists of a reference command signal. This is a convenient way to give
model, an adjustment mechanism and a controller. specification for a servo problem.
The reference model describes the desired
input/output dynamics of the closed loop. The The system has an ordinary feedback loop
controller derives the control signal (U) so that the composed of the process and the controller and
plant’s closed-loop characteristics from the another feedback loop that changes the controller
command signal (UC) to the plant output (Y) is the parameters. The parameters are changed on the
same as the dynamics of the reference model. The basis of feedback from the error, which is the
convergence of the modeling error to zero for any difference between the output of the system and the
given UC is assured when Y exactly follows the output of the reference model.
output of the model (YM).

The modeling error e is given by equation (1):

e= Y-YM ….(1)

The controller parameters are adjusted with the loss


function J (ș):

J (ș) =(1/2) e2 …. (2)

To minimize J, the parameters can be changed in


the direction of negative gradient of J. The rate of
change of controller parameters (ș) with respect to
time is defined by equation (3) where the
adaptation gain is defined by Ȗ: Fig. 3.Model reference adaptive control

dș/dt = - Ȗ dJ = - Ȗe ˜e/dș ….(3) The mechanism for adjusting the parameters in


a model-reference adaptive system can be obtained
The following parameter adjustment mechanism, in two ways: by using a gradient method or by
called MIT algorithm and represented as in applying stability theory. The adaptation law[7]
equation (4), is used to control the interactive uses the error between the process and the model
thermal system: output, the process output and input signal to vary
the parameters of the control system. These the
dș / dt = - Ȗe ˜e/˜ș ….(4) parameters varied so as to minimize the error
between the process and the reference.

2074
IEEE International Conference on Power, Control, Signals and Instrumentation Engineering (ICPCSI-2017)

VI. MODEL REFERENCE ADAPTIVE


CONTROL TOOLBOX

Adaptive is called a control system, which can


adjust its parameter automatically in such a way as
to compensate for variations in the characteristics
of the process it control. In systems where mixing
is highly non ideal, the well-mixed model is
inadequate and we must resort to other modeling
techniques, such as residence-time distributions, to
obtain meaningful results. The Model Reference
adaptive Control Toolbox is a collection of
software that helps to design, analyze, and
implement an advanced industrial automation
algorithm. Like other MATLAB tools, it provides a
convenient graphical user interface (GUI) as well
as a flexible command syntax that supports Fig.4: Adaptive controller output with reference model output
4
customization. A Model Reference adaptive x 10
3
Control Toolbox controller automates a target
system (the plant) by combining a prediction and a 2
control strategy. An approximate plant model
provides the prediction. The control strategy 1
compares predicted plant signals to a set of
E r ro r

0
objectives, and then adjusts available actuators to
achieve the objectives while respecting the plant’s -1
constraints. The Model Reference adaptive Control
Toolbox controller considers such factors -2
explicitly, allowing it to allocate the available plant
resources intelligently as the system evolves over -3
0 5 10 15 20 25 30 35 40 45 50
time. Time in sec

Fig.5: Error output


VII. RESULTS & DISCUSSION

1.4
The water inflow is taken as the input data and
CSTR level is taken as the output data for this 1.2
CSTR pilot plant. Data collection is done manually
through virtual instrumentation data acquisition 1
P ID o u tp u t

cards and the plots are developed using MATLAB 0.8


and are given below.
The adaptive controller is designed for the 0.6
CSTR’s mathematical model and it is given below
0.4

Gp(s)= 9.787e-005s2-1.496e-006s+6.751e-008 0.2


S3+0.008699s2+0.0006856s+7.865e-008
0
0 1 2 3 4 5 6 7 8 9 10
The reference model transfer function 4
Time in sec
calculated is a second order transfer function and is x 10
given below. Fig.6: PID Controller output

GR(s)= 16
S2+8s+16

2075
IEEE International Conference on Power, Control, Signals and Instrumentation Engineering (ICPCSI-2017)

1.4 control techniques and intelligent controllers can be


implemented for the same process to analyze the
1.2
responses with respect to all time domain
1 parameters.
P ID o u tp u t

0.8 IX. References


0.6
[1] Ajith.B.Singh, Anie Selva Jothi, Kaushik.S, “Model
identification and model reference adaptive control
0.4 implementation for a hybrid tank system” ,
International Journal of Emerging trends in
0.2 Engineering and Development, ISSN 2249-6149,
Issue1, Vol. 3(November-2011)
0 [2] G.Lightbody and G.W.Irwin,”Nonlinear Control
0 500 1000 1500 2000 2500 3000 3500 4000 4500 500 Structures Based on Embedded Neural System
Time in sec models”, IEEE Tran on Neural Networks. Vol.8 no.3
PP.553-567
Fig.7: PID controller output with faster response using auto [3] J.D.Morningred,B, E.paden, D.E.sebrog and
tuning D.A.mellichamp, “An Adaptive Nonlinear predictive
controller” in Proc. of the A.C.C.Vol.2 1990
PP.1614-1619
For the normal PID controller the output [4] Prabhakar R. Pagilla, Member, IEEE, Ramamurthy
response takes around 3*104sec to settle. But V. Dwivedula, Member, IEEE, and Nilesh B.
Siraskar, “A Decentralized Model Reference
whereas the adaptive controller with a adaptive Adaptive Controller for Large-Scale Systems”.
gain value of (50/1.05s) gives a faster settling [5] Lusu Guo, Student Member, IEEE, and Leila Parsa,
response of around 30 seconds. When we start Senior Member, IEEE, “ Model Reference Adaptive
Control of Five-Phase IPM Motors Based on Neural
changing the adaptive gain value to (200/1.05s) the Network”,
controller tunes the system performance and the [6] Adrian-Vasile Duka, Stelian Emilian Oltean, Mircea
process settle around 20 seconds. The output plot Dulău, “Model Reference Adaptive Vs. Learning
Control For The Inverted Pendulum - A Comparative
for the change of gain is shown below. Case Study”.
[7] Ajith.B.Singh, A.Anie Selva Jothi, S.Kaushik,
“Identification and real time control of a hybrid tank
system through virtual instrumentation’, IEEE
International Conference on Green Computing
Communication and Electrical Engineering
(ICGCCEE), DOI:10.1109/ICGCCEE.2014.69223
67,Page(s):1 - 7,March 2014.
[8] Karl.J.Astrom, “Adaptive Control Teory”.
[9] Ajith.B.Singh, Anie Selva Jothi and S.Kaushik
"Identification and Controller Implementation for
Hybrid Tank Process".

Fig.8: Adaptive controller output with change in gain

VIII. CONCLUSION & FUTURE SCOPE

In this paper one of the adaptive controllers


(Model Reference Adaptive Control) is
implemented for the CSTR pilot process and its
performance is analyzed with the conventional
controllers. The Model Reference Adaptive
Controller shows a greater control action in
attaining a faster response. In future other adaptive

2076

Potrebbero piacerti anche