Adaptive Feedback Controller Design Based On Gradient and Stability Approach
Adaptive Feedback Controller Design Based On Gradient and Stability Approach
Abstract— Adaptive control refers to modification of the control The aim of this assignment is to design two controllers for a
law used by the controller to cope with the drastic change in chemical process based on the gradient and stability
parameters of the system being controlled due to changes in approaches. The performance of both will be compared via
environmental conditions and in system itself. The main aim of Matlab Simulink simulation to show the robustness and the
adaptive control process is to generate an actuating signal in such
adaptation ability of the controllers. Series of analysis have
a way that optimal performance can be maintained regardless of
system changes. This paper deals with application of model been done by varying the time constant, τ and time delay,
reference adaptive control scheme and the system performance is and also the amplitude of the reference input signal, r.
compared with Gradient and Stability approach. A first order
reference model and chemical plant has been taken as the system The paper is organized as follows where the basic theory
for analysis with a PI controller. Comparison is done between and formula of PI Controller is briefly described in section II,
different values of time constant and time delay in the system inMRAC theory and its structure in section III whereas gradient
both MIT rule and Lyapunov method to evaluate the adaptation and stability approaches are described in section IV and V
performance of the designed controller.
respectively. The adaptive feedback controller design scheme
as well as time delay approximation are described in section
Keywords — Model reference adaptive control, gradient approach, VI. The simulation results and analysis are as shown in
stability approach, PI Controller, Adaptive feedback controller.
section VII. Finally, the results are concluded at the end of
the paper.
I. INTRODUCTION II. PI CONTROLLER
1
MKEM1732: Assignment 2
III. MODEL REFERENCE ADAPTIVE CONTROL (e=y- ) by designing a controller that has one or more
adjustable parameters such that a certain cost function is
The general structure of the Model Reference Adaptive minimized so that the output of the closed-loop system (y) to
follow the output of the reference model (ym).
Control (MRAC) system is shown in figure 1 below. The
basic MRAC system consists of 4 main components:
V. STABILITY METHOD (LYAPUNOV)
i) Plant to be controlled
ii) Reference model to generate desired closed loop
The Lyapunov stability theory can be used to describe the
output response
algorithms for adjusting parameters in Model Reference
iii) Controller that is time-varying and whose
Adaptive control system. MRAC can be designed such that
coefficients are adjusted by adaptive mechanism
the globally asymptotic stability of the equilibrium point of
iv) Adaptive mechanism that uses „error‟ (the difference
the error difference equation is guaranteed. To do this, the
between the plant and the desired model output) to
Lyapunov Second Method is used. It requires an appropriate
produce controller coefficient
Lyapunov function to be chosen, which could be difficult.
This approach has stability consideration in mind and is
also known as the Lyapunov Method.
Plant: ( ) (1)
Fig. 1: General Structure of MRAC system
2
MKEM1732: Assignment 2
̈ ( ) ̇ ( ) ̇ (22)
Similarly, for the reference model, we get
( ) ̈ ̇ ̇ (23)
(12)
Then, substituting Eq.(22) and (23) into ̈ ̈ ̈ , we get
Computing the error, ,
̈ ̇ ( ) ̇ ( )
( ) ( )
( )
(13) ( ) ̇ ( ) (24)
(( )
* + (17) ̇ ̇ ( ) ̇ ( ̇ ̇ ̇)
( ̇ ̇ ) ( ̇
and ̇ ̇) ( ̇ ̇ )
* + (19) Step 3:
3
MKEM1732: Assignment 2
̇
̇ ̇ (26)
̇ ̇
̇ ̇ (27)
̇
̇ ̇ (28)
̇
̇ ̇( )
̇ ( ̇ ̇ ̇ )( )
( ̇ )( )
( ̇ ) ( ̇ )
Fig. 4: System Output ( ,y) with τ=2 and
( ̇ )
Fig. 2: Simulink Block Diagram for plant simulation using Gradient method
Fig. 6: System Output ( ,y) with τ=1 and
The simulation is done with reference input of square
wave signal with amplitude of 1 with period of 300s and pulse From Fig.3 to 6, we can clearly see that the controller
width of 80%. The adaptation gain and is set to be 0.02 designed using MIT Rule is able to adapt to any changes made
and 0.0015 respectively.The analysis is done by fixing τ = 1 to the system by varying the time delay, τ and constant, .
and 2 while varying the and vice versa as highlighted in The controller has successfully forces the system output to
Fig.2 above.
4
MKEM1732: Assignment 2
Amplitude
1.5
Fig.7 below.
1
0.5
-0.5
0 500 1000 1500 2000 2500 3000 3500 4000
Time,t(s)
3.5
Lyapunov Method-Plant Output (Td=2.5, tau=1)
ym
y
3
2.5
Amplitude
Fig. 7: Controller parameters ( ) with τ=1 and 1.5
0.5
B. Stability Approach Result
0
2.5
Amplitude
1.5
0.5
0
0 500 1000 1500 2000 2500 3000 3500 4000
Time,t(s)
Fig. 12: System Output ( ,y) with τ=1 and
Fig. 8: Simulink Block Diagram for plant simulation using Lyapunov method From Fig.9 to 12, we can clearly see that the controller
designed using Lyapunov is able to adapt to any changes
The simulation is done with reference input of square made to the system by varying the time delay and constant.
wave signal with amplitude of 3 with period of 1200s and The controller has successfully forces the system output to
pulse width of 80%. The adaptation gain and is set to be track the reference output perfectly as shown.
0.003 and 0.001 respectively.The analysis is done by fixing τ In addition, the controller parameters ( ) designed
= 1 and 2 while varying the and vice versa as highlighted using Lyapunov Method is also able to converge quickly to a
in Fig.8 above. steady value as shown in Fig.13 below.
2.5 0.2
2
Amplitude
0
Amplitude
1.5
-0.2
1
-0.4
0.5
-0.6
0
-0.8
-0.5 0 500 1000 1500 2000 2500 3000 3500 4000
0 500 1000 1500 2000 2500 3000 3500 4000
Time,t(s)
Time,t(s)
Fig. 9: System Output ( ,y) with τ=1 and Fig. 13: Controller parameters ( ) with τ=1 and
5
MKEM1732: Assignment 2