In this paper, the conventional PID controller and the
adaptive PID controllers are successfully designed to
balance the two-wheel mobile robot based on the inverted
pendulum model under disturbances. The simple adaptive
control schemes based on Model Reference Adaptive
Systems (MRAS) algorithm are developed for the
asymptotic output tracking problem with changing
system parameters and disturbancesunder guaranteeing
stability. Simulations have been carried out to investigate
the effect of changing the external disturbance forces on
the system. Based on the simulation results and the
analysis, a conclusion has been made that both
conventional and adaptive controllers are capable of
controlling the angular and position of the non-linear
robot. However, the adaptive PID controller has better
performance compared to the conventional PID controller
in the sense of robustness against disturbances.
7 trang |
Chia sẻ: huongthu9 | Lượt xem: 523 | Lượt tải: 0
Bạn đang xem nội dung tài liệu For a Two-Wheel Mobile Robot Direct MRAS Based an Adaptive Control System, để tải tài liệu về máy bạn click vào nút DOWNLOAD ở trên
for a Two-Wheel Mobile Robot
Nguyen Duy Cuong
Electronics Faculty, Thai Nguyen University of Technology, Thai Nguyen City, Viet Nam
Email: nguyenduycuong@tnut.edu.vn
Gia Thi Dinh and Tran Xuan Minh
Electrical Faculty, Thai Nguyen University of Technology, Thai Nguyen City, Viet Nam
Email: {giadinh2206,tranxuanminh}@tnut.edu.vn
Abstract—In this paper, a Model Reference Adaptive
Systems (MRAS) based an Adaptive System is proposed to a
Two-Wheel Mobile Robot (TWMR). The TWMR is an
open-loop unstable, non-linear and multi output system. The
main task of this design is to keep the balance of the robot
while moving toward the desired position. Firstly, the
nonlinear equations of motion for the robot are derived in
the Lagrange form. Next, these equations are linearized to
obtain two separate linear equations. Finally, two separate
adaptive controllers are designed for controlling a balancing
angle, and a position. By applying Lyapunov stability theory
the adaptive law that is derived in this study is quite simple
in its form, robust and converges quickly. Simulation results
and analysis show that the proposed adaptive PID
controllers have better performance compared to the
conventional PID controllers in the sense of robustness
against internal and/or external disturbances.
Index Terms—model reference adaptive systems (MRAS),
two-wheel mobile robot (TWMR); inverted pendulum
system.
I. INTRODUCTION
An inverted pendulum is a classic problem in
dynamics and control theory since it is a single-input
multiple-output system and has a nonlinear characteristic
[1]. The objective of the control system is to balance the
inverted pendulum by applying suitable internal forces.
Controlling the balancing angle of the inverted pendulum
is challenging issue due to mentioned dynamics [2].
A two-wheel mobile robot works on the principle of
the inverted pendulum [1], [2]. Physically, this system
consists of the inverted pendulum which is mounted on a
moving cart. Commonly, servomotors are used to control
the translation motion of the cart through a belt
mechanism. The inverted pendulum logically tends to fall
down from the top vertical position, which is an unstable
position. This causes the TWMR to be unstable, and it
will quickly fall over if without any help [2]. Therefore,
in this case, the goal of the control system is to stabilize
the inverted pendulum by applying forces to the cart in
order to remain upright on the top vertical. Although the
Manuscript received April 15, 2014; revised July 25, 2014.
TWMR is inherently unstable, it has several advantages
since it has only two wheels which require less space and
easy navigation on various terrains, turning sharp corners.
The TWMR is a common mechatronics case-study and
is widely used as a standard setup for testing control
algorithms, for example, PID control, full state feedback,
neural networks, fuzzy control, genetic algorithms, etc
[3]. Conventional PID controllers could be applied to the
position control for the TWMR. In general, fixed
parameters in a PID controller do not have robust
performance for control systems with parametric
uncertainties and internal and/or external disturbances.
Linear control techniques such as the full-state feedback
was tested but had no success in controlling both a
balancing angle and a position of the TWMR [4], [5].
Intelligent control techniques such as neural networks
have shown that they are capable of identifying complex
nonlinear systems. They have applied to the TWMR as an
additional controller to support main feedback linear
controllers for compensating the disturbances [5]. Fuzzy
controllers are also a good candidate of intelligent tools
that can perform better than linear controllers since they
function as a nonlinear controller with infinite gains [6].
However, both neural networks and fuzzy logic need a
time-consuming process to find optimal rules, which is
considered as a negative point [5], [6].
In this study, design of MRAS-based adaptive control
systems is developed for the TWMR which acts on the
errors to reject system disturbances, and to cope with
system parameter changes. In the model reference
adaptive systems the desired closed loop response is
specified through a stable reference model. The control
system attempts to make the process output similar to the
reference model output [7], [8]. The proposed controller
is expected to improve the balancing performance and
increase the robustness under the effects of disturbances
and parameter changes. Two separate adaptive controllers
are designed based on the Lyapunov’s stability theory for
controlling a balancing angle and a position. Controlling
a heading angle is not addressed in this paper.
This paper is organized as follows. Design of MRAS
based an adaptive controller is introduced in Section II. In
Section III, the dynamics of the two-wheel mobile robot
is shown. The design of the proposed controller is
Journal of Automation and Control Engineering Vol. 3, No. 3, June 2015
201©2015 Engineering and Technology Publishing
doi: 10.12720/joace.3.3.201-207
Direct MRAS Based an Adaptive Control System
introduced in Section IV. The simulation results are
presented and discussed. At the end of this paper,
summary of the paper is given.
II. DESIGN OF DIRECT MRAS
The general idea behind Model Reference Adaptive
System (MRAS) is to create a closed loop controller with
parameters that can be updated to change the response of
the system. The output of the system is compared to a
desired response from a reference model. The control
parameters are update based on this error. The goal is for
the parameters to converge to ideal values that cause the
plant response to match the response of the reference
model [7], [8].
Figure. 1. Adaptive system designed with Lyapunov
The structure depicted in Fig. 1 can be used as an
adaptive PD controlled system. A second-order process is
controlled with the aid of a PD-controller. The parameters
of this controller are and . Variations in the process
parameters and can be compensated for by
variations in and . We are going to find the form of
the adjustment laws for and . The following steps
are thus necessary to design an adaptive controller with
the method of Lyapunov [7], [8]:
Step 1: Determine the differential equation for
The description of the process is:
̇ (1)
̇ ( ) (2)
Aid the state variables and , where
(3)
The process in Fig 1 can be described in state variables:
̇ (4)
where
[
]; [
( )
] [
]
The desired performance of the complete feedback
system is described by the transfer function:
(5)
By the same way, the description of the reference
model is:
̇ (6)
where
[
]; [
]; [
];
and , , , , , , , , , , , and
are defined in Fig 1.
Subtracting Eq. (4) from Eq. (6) yields
̇ ̇ ̇ (7)
, , .
Step 2: Choose a Lyapunov function
Simple adaptive laws are found when we use the
Lyapunov function
(8)
where is an arbitrary definite positive symmetrical
matrix; and are vectors which contain the non-zero
element of the and matrices; and are diagonal
matrices with positive elements which determine the
speed of adaptation.
Step 3: Determine the conditions under which ̇ is
definite negative
̇ ̇ ̇ ̇ ̇ (9)
( )
( )
̇ ̇
Let:
(10)
where is a definite positive matrix.
After some mathematical manipulations, this yields [8]:
∫ (11)
∫ (12)
Step 4: Solve from
(13)
Figure. 2. An extension of the adaptive control scheme presented in Fig.
1.
-
+
Kp
Kd
+
-
-
+
-
+
process
Reference Model
-
+
R
+
-
P21
P22
+
+ +
-
Liapunov
-
+
Kp
Kd
+
-
-
+
-
+
Plant
Reference Model
-
+
R
+
-
P21
P22
+
+ +
-
Liapunov
Sum 1
Sum 4Sum 3
Sum 2
Sum 5
SVF
Sum 6
Sum 7
Sum 8
Int 1 Int 2
Int 3 Int 4
Journal of Automation and Control Engineering Vol. 3, No. 3, June 2015
202©2015 Engineering and Technology Publishing
Based on Eq. (11) and Eq. (12) the adaptive system
designed with Lyapunov in Fig. 1 is redrawn as in Fig. 2.
In the adjustment laws the derivative of the error is
needed. This derivative can be obtained by means of a
second-order state variable filter (SVF).
III. TWO–WHEEL MOBILE ROBOT
In order to design a controller for the balancing robot,
a dynamical model is first required. The mechanical
system of the two-wheel mobile robot can be divided into
sub systems of the wheels and the upper body, as
indicated in Fig. 3 and Fig. 4, respectively [9].
Figure. 3. Free body diagram of the wheels
Figure. 4. Free body diagram of the chassis
The results are based on the project as introduced by
[9]. Only the final non-linear equations of the robot are
given in here
(
) ̈ ̈
̇
(14)
(
) ̈ ̈
̇
̇
(15)
with
= horizontal displacement, [m]
̇ = velocity, [m/s]
= tilt angle, [rad]
̇ = angular rate, [rad/s]
= applied terminal voltage, [V]
= motor’s torque constant, [N.m/A]
= back EMF constant, [Vs/rad]
= nominal terminal resistance, [Ohms]
= distance between the center of the wheel and the
robot’s center of gravity, [m]
= gravitational constant, [m/ ]
= mass of the robot’s chassis, [kg]
= wheel radius, [m]
= moment of inertia of the robot’s chassis, [kg.
]
= moment of inertia of the wheels, [kg.
]
= mass of the wheel connected to both sides of the
robot. [kg]
= reaction forces between the wheel and
chassis.
= applied torque from the motors to the wheels.
= friction forces between the ground and the
wheels
The above equations are obtained with assumption that
the motor inductance and friction on the motor armature
is neglected; the wheels of the robot will always stay in
contact with the ground; there is no slip at the wheels;
and cornering forces are also negligible [9]. These
equations are then used to make a simulink model of the
robot and design controllers.
In order to make simpler the design of the controller,
the nonlinear equations of motion have to be linearized.
Since we assume that robot is symmetrical, the desired
balancing angle is set to zero. The above equations can be
linearized by assuming , where represents a
small angle from the vertical upward direction.
Therefore,
, , and ̇
.
The linearized system dynamics can be written in
terms of the system states and the input as
(
) ̈ ̈
̇
(16)
(
) ̈ ̈
̇ ̈
(17)
If coupling terms in Eq. (16) and Eq. (17) are ignored,
the independent linear equations of motion are
(
) ̈
(18)
Left
wheel
Right
wheel
Journal of Automation and Control Engineering Vol. 3, No. 3, June 2015
203©2015 Engineering and Technology Publishing
Journal of Automation and Control Engineering Vol. 3, No. 3, June 2015
204©2015 Engineering and Technology Publishing
(
) ̈
̇
(19)
The state space representation of the system is
obtained
[
̇
̈
] [
(
)
] [
̇
] [
(
)
] (20)
[
̇
̈
] [
(
)
] [
̇
] [
(
)
] (21)
IV. DESIGN CONTROL SYSTEM
A. PID Control System with Fixed Parameters
The PID control algorithm is mostly used in the
industrial applications since it is simple and easy to
implement when the system dynamics is not available.
For the TWMR control variables are a balancing angle θ
and position such that two separate controllers are
required. In this study, the proportional – derivative (PD)
controller is used for the balancing angle control because
the integral (I) action has unfriendly effects on the case of
balancing control of TWMR due to the accumulated
errors and the PID controller is used for the position
control. The angular position and position errors are
regulated through the parameters for each controller. The
control signals and as shown in Fig. 5 can be
represented as in Eq. (22) and Eq. (23), respectively
( )( ) (22)
(
) ( ) (23)
(24)
where is the Laplace variable. There are many methods
of choosing suitable values of the three gains to achieve
the satisfied system performance. In this study, the
Ziegler – Nichols approach is used to design both PD and
PID controller to achieve a desired system performance.
Figure. 5. PID control structure
B. Adaptive PID Control System
For purposes of comparison, the process is repeated
using an adaptive control structure, as shown in Fig. 6.
The balancing angle and the position of the TWMR are
controlled separately by two adaptive controllers by
replacing two corresponding linear controllers indicated
in Fig. 5.
Reference Model
Explicit position, velocity, and acceleration profile set
point signals are created using the reference model, which
is described by the transfer function
(25)
The parameters of the reference model are chosen such
that the higher order dynamics of the system will not be
excited [7]. This leads to the choice of
and , such that:
[
] [
] (26)
[
] [
]. (27)
Figure. 6. Proposed control structure
State Variable Filter
As mentioned in Section II, the derivative of the error
can be created using a state variable filter. The
parameters of this state variable filter are chosen in such a
way that the parameters of the reference model can vary
without the need to change the parameters of the state
variable filter every time. The parameters are chosen as:
, and , then
+
+
Two-Wheel
Mobile
Robot
+
+
-
PD1
PID2
-
-
++
-
+
Reference Model
-
+
+
-
+
+ +
-
Lyapunov
SVF
SVF
+
-
-
+
Reference Model
-
+
++
-
Two-Wheel
Mobile
Robot
+
+
+
+
+
-
-
-
-
+
+
Lyapunov
Journal of Automation and Control Engineering Vol. 3, No. 3, June 2015
205©2015 Engineering and Technology Publishing
[
] [
] (28)
[
] [
]. (29)
Figure. 7. Simulation control structure
Adaptive Controllers based on MRAS
Follow Ep. (11) and Eq. (12) the complete adaptive
laws in integral form for the balancing angle controller
are
∫ (30)
∫ ̇ (31)
For the position controller
∫ (32)
∫ ̇ (33)
∫ (34)
In the form of the adjustment laws , , and
are elements of the and matrices, obtained from
the solution of the Lyapunov equations indicated in Eq.
(35) and Eq.(36), respectively
(35)
(36)
where
and
are positive definite matrices and
and
are taken from Eq. (26), this yields
[
] (37)
[
] (38)
with , ;
and are adaptive gains.
C. Simulation Results
The parameter values of the considered the two-wheel
mobile robotic are as follows: = 0.28 [N.m/A], =
0.67 [Vs/rad], = 5.25 [Ohms], = 0.1 [m], = 1.2
[kg], = 0.05[m], = 0.01[kg.
], = 0.015 [kg.
],
= 0.1 [kg], = 9.81 [m/
]. The simulation model of
the proposed control structure is shown in Fig. 7.
The PD controller with fixed parameters for
controlling the balancing angle is archived by
setting , while for the PID controller for
position with , and .
The adaptive PD controller for the balancing angle is
archived by setting , ,
while the adaptive PID
controller for position with , and
, .The
parameters of reference models are:
and .
Figure. 8. (a) Responses of the PID control system without disturbance
Figure. 8. (b) Responses of the adaptive PID control system without
disturbance
Figure. 9. (a) Responses of the PID control system with disturbance
Journal of Automation and Control Engineering Vol. 3, No. 3, June 2015
206©2015 Engineering and Technology Publishing
Figure. 9. (b) Responses of the adaptive PID control system with
disturbance
Comparison of balancing control simulation between
the conventional PID controller and the adaptive PID
controller based on MRAS is presented. Without
disturbance both controllers are able to balance the
system (see Fig. 8.a, Fig. 8.b). Responses of both
controllers are almost the same. However, it is clearly
that the tracking errors for the linear PID controllers due
to a large enough disturbance are larger than those by the
adaptive PID controllers (see Fig. 9.a and Fig. 9.b). The
adaptive gains automatically reach stationary values (see
Fig. 10.a and Fig. 10.b).
Figure. 10. (a) Adaptive gains of the balancing PD controller
Figure. 10. (b) Adaptive gains of the position PID controller
V. CONCLUSION
In this paper, the conventional PID controller and the
adaptive PID controllers are successfully designed to
balance the two-wheel mobile robot based on the inverted
pendulum model under disturbances. The simple adaptive
control schemes based on Model Reference Adaptive
Systems (MRAS) algorithm are developed for the
asymptotic output tracking problem with changing
system parameters and disturbancesunder guaranteeing
stability. Simulations have been carried out to investigate
the effect of changing the external disturbance forces on
the system. Based on the simulation results and the
analysis, a conclusion has been made that both
conventional and adaptive controllers are capable of
controlling the angular and position of the non-linear
robot. However, the adaptive PID controller has better
performance compared to the conventional PID controller
in the sense of robustness against disturbances.
REFERENCES
[1] S. H. Jeong and T. Takahashi, "Wheeled inverted pendulum type
assistant robot: Inverted mobile, and sitting motion,” in Proc.
IEEE/RSJ International Conference on Intelligent Robots and
Systems, 2007, pp. 1932-1937.
[2] S. S. Kim and S. Jung, “Control experiment of a wheel-driven
mobile inverted pendulum using neural network,” IEEE Trans. on
Control Systems Technology, vol. 16, no. 2, pp. 297-303, 2008.
[3] K. Teeyapan, J. Wang, T. Kunz, and M. Stilman, “Robot limbo:
Optimized planning and control for dynamically stable robots
under vertical obstacles,” in Proc. IEEE Conf. on Robotics and
Automations, 2010, pp. 4519-4524.
[4] H. J. Jin, J. M. Hwang, and J. M. Lee, “A balancing control
strategy for a one wheel pendulum robot based on dynamic model
decomposition: simulation and experiments,” IEEE/ASME Trans.
On Mechatronics, vol. 16, no. 4, pp. 763-768, 2011.
[5] C. C. Tsai, H. C. Huang, and S. C. Lin, “Adaptive neural network
control of self-balancing two-wheeled scooter,” IEEE Trans. on
Industrial Electronics, vol. 57, no. 4, pp. 1420-1428, 2010.
[6] C. H. Huang, W. J. Wang, and C. H. Chiu, “Design and
implementation of fuzzy control on a two-wheel inverted
pendulum system,” IEEE Trans. on Industrial Electronics, vol. 58,
no. 7, pp. 2988-3001, 2011.
[7] V. Amerongen and J. Intelligent, “Control (Part 1)-MRAS, lecture
notes,” University of Twente, The Netherlands, March 2004.
[8] N. D. Cuong, N. Van Lanh, and D. Van Huyen, “Design of
MRAS-based adaptive control systems,” in Proc. IEEE 2013
International Conference on Control, Automation and Information
Sciences, 2013, pp. 79-84.
[9] R. C. Ooi, “Balancing a two-wheeled autonomous robot,”
University of Western Australia School of Mechanical
Engineering, Australia: B.Sc. Final Year Project, 2003.
Nguyen Duy Cuong received the M.S. degree
in Electrical Engineering from the Thai
Nguyen University of Technology, Thai
Nguyen city, Viet Nam, in 2001, the Ph.D.
degree from the University of Twente,
Enschede City, the Netherlands, in 2008.He is
currently a lecturer with Electronics Faculty,
Thai Nguyen University of Technology, Thai
Nguyen City, Vietnam. His current research
interests include real-time control, linear,
parameter-varying systems, and applications
in the industry.
Dr. Nguyen Duy Cuong has held visiting positions with the Universityat
Buffalo- the State University of New York (USA) in 2009 and with the
Oklahoma State University (USA) in 2012.
Gia Thi Dinh obtained her master degree in
automation field from Thai Nguyen University
of Technology, Vietnam, in 2005. Currently
she is working as a PhD student with the
faculty of Electrical Engineering, Thai Nguyen
University of Technology, Thai Nguyen city,
Vietnam. Her research areas are nonlinear
control system and motion control.
Tran Xuan Minh received the M.S. degree,
and the Ph.D degree in Automation and
Control Engineering from the Ha Noi
University of Science and Technology, Viet
Nam, in 1997 and in 2008, respectively. He is
currently a lecturer with Electrical Faculty,
Thai Nguyen University of Technology, Thai
Nguyen City, Vietnam. His current research
interests include electronics Power, Process
Control, and applications in the industry.
Dr. Tran Xuan Minh has held visiting positions with the Oklahoma
State University (USA) in 2013.
Journal of Automation and Control Engineering Vol. 3, No. 3, June 2015
207©2015 Engineering and Technology Publishing
Các file đính kèm theo tài liệu này:
- for_a_two_wheel_mobile_robot_direct_mras_based_an_adaptive_c.pdf