Monday, 4 January 2016

Study of Inverted Pendulum Robot Using Fuzzy Servo Control Method


Study of Inverted Pendulum Robot Using Fuzzy Servo Control Method

Dazhong Wang1, Shujing Wu1, Liqiang Zhang1 and Shigenori Okubo2
Show details

Abstract

The inverted pendulum robot is a classical problem in controls. The inherit instabilities in the setup make it a natural target for a control system. Inverted pendulum robot is suitable to use for investigation and verification of various control methods for dynamic systems. Maintaining an equilibrium position of the pendulum pointing up is a challenge as this equilibrium position is unstable. As the inverted pendulum robot system is nonlinear it is well-suited to be controlled by fuzzy logic. In this paper, Lagrange method has been applied to develop the mathematical model of the system. The objective of the simulation to be shown using the fuzzy control method can stabilize the nonlinear system of inverted pendulum robot.
Keywords: Inverted Pendulum Robot, Disturbances, Servo Control, Fuzzy Control

1. Introduction

In recent years, the researchers wish to simulate human stance on the machine. In this paper, the model is constructed based on purely inverted pendulum dynamics and on a movable supportive base. This work was based on the assumption that the act of maintaining an erect posture could be viewed. However, the problems often are a complicated nonlinear system (Figure 1) [1].
Inverted pendulum robot is the abstract model of many control problems which the gravity center is upper and the fulcrum is lower and it is unstable object. In the control process it can reflect a number of key issues effectively such as the system stability, nonlinear problem, controllability, robustness and so on. As a controlled object it is a higher order, nonlinear, multi-variable, strong coupling and unstable rapid control system. Walking robot joint control, the vertical degree of control in rocket launch, satellite attitude control, those all related to the stability of the control problem that of upside-down objects. Therefore, the inverted pendulum control strategies can be applied to aerospace, military, robotics, industry and others areas, to solve the balance problems.
Recently, some authors proposed several control methods to control the nonlinear systems by using fuzzy system models [19]. The affine fuzzy system means the fuzzy system of which consequent part is affined and which has a constant bias term. It is well known that such models can describe or approximate a wide class of nonlinear systems. Hence, it is important to study their stability and the design of stabilizing controllers. Besides, robust stability also has been considered in literatures which have presented robust stability analysis and methods for designing robust fuzzy controllers to stabilize a class of uncertain fuzzy systems. In general, stability analysis and synthesis can be extended to the time-delay systems. Time delays often appear in industrial systems and information networks. Thus, it is also important to analyze time-delay effects for the affine fuzzy systems.
media/image1.png

FIGURE 1.

Inverted pendulum robot system to simulate human stance
Nowadays, fuzzy logic is one of the most used methods of computational intelligence robot [10-14] and with the best future. Oscar Castillo et al. [15] describe the application of Ant Colony Optimization (ACO) and Particle Swarm Optimization (PSO) on the optimization of the membership functions parameters of a fuzzy logic controller (FLC) in order to find the optimal intelligent controller for an autonomous wheeled mobile robot. The results obtained by the simulations performed are statistically compared among them and the previous work results obtained with GAs in order to find which is the best optimization technique for this particular robotics problem. And [16] presented a hybrid architecture, which combines Type-1 or Type-2 fuzzy logic system (FLS) and genetic algorithms (GAs) for the optimization of the membership function (MF) parameters of FLS, in order to solve to the output regulation problem of a servomechanism with nonlinear backlash. In this approach, the fuzzy rule base is predesigned by experts of this problem. The proposed method is far from trivial because of nonminimum phase properties of the system.
Intelligent control of robotic systems is a difficult problem because the dynamics of these systems is highly nonlinear [17-18]. Oscar Castillo et al. [19] develop a tracking controller for the dynamic model of unicycle mobile robot by integrating a kinematic controller and a torque controller based on fuzzy logic theory. Both the kinematics and dynamics models are used currently to design, simulate, and control robot manipulators [20-25]. The kinematics model is a prerequisite for the dynamics model and fundamental for practical aspects like motion planning, manufacturing cell graphical simulation and fuzzy servo control. For example, the inverted pendulum robot is a classical problem in controls [26-27]. The inherit instabilities in the setup make it a natural target for a control system. Inverted pendulum robot is suitable to use for investigation and verification of various control methods for dynamic systems. Maintaining an equilibrium position of the pendulum pointing up is a challenge as this equilibrium position is unstable. As the inverted pendulum robot system is nonlinear it is well-suited to be controlled by fuzzy logic. In this paper, Lagrange method has been applied to develop the mathematical model of the system. The objective of the simulation to be shown using the fuzzy control method can stabilize the nonlinear system of inverted pendulum robot.
The remainder of this paper is organized as follows: In Section 2, the expression of problems is presented. In Section 3, the fuzzy servo control method is proposed. In Section 4, linearization and stability analysis and the fuzzy rule is shown. Section 5 is the simulation results. Section 6 is the conclusion.

2. The expression of problems

Design of the robot naturally centered on the basic idea of an inverted pendulum. There would be a weight at the top of a long shaft and there would be some sort of mechanism attached to the bottom of this shaft that would be used to balance the weight at the top. Unlike most inverted pendulum experiments that consist of a cart on a track that limits mobility, this project was constructed much like a Segway to enable the robot to have a greater range of mobility. Kinematic and dynamic models for wheeled inverted pendulum robot as shown in Figure 2.
media/image2.png

FIGURE 2.

Kinematic and dynamic models for wheeled inverted pendulum robot
Lagrange method is adopt to establish the mathematical model because the number of equations equal to the degree of freedom system and modeling process can be simplified. The dynamics of inverted pendulum robot can be described in general form as follows [3].
ddt(q˙i)qi+Fq˙i=Qi
(1)
H(q)q¨+C(q,q˙)q˙+G(q)=Qu
(2)
where 
H(q)
 is an 
n×n
 inertia matrix dependent on position vector 
q,q˙
 and 
q¨
 are the velocity and acceleration vectors, respectively, 
C(q,q˙)q˙
 is the coriolis and centripetal force vector, and 
G(q)
 is the gravity force vector.

3. Fuzzy servo control method

Fuzzy method has been used as alternative method to develop control rule for complex system. The method has been successfully implemented to the real-world application like engine control system of subway train. The idea behind of control method in this paper is to divide the operating region of nonlinear system into small area, and treated as a collection of local linear systems. After that, in order to develop the control law, fuzzy method has been apply to each local linear system and combines it as new control law as shown in Figure 3 (
Di
: small domain 
Ω
: all domain).
media/image13.png

FIGURE 3.

Driving domain
Fuzzy method has been apply to each local linear system and combines it and can be define as
RiIFznDiTHENSisSi

where 
Di
 is the local driving area, S is the nonlinear system, 
Si
 is the local linear system and the fuzzy rules are 
i=N,,N
zwRn
 is a vector of nonlinear elements, and 
zw=Cw[xu]T
, which are included in controlled system in the equation. 
CwRnw×(n+m)
 is a matrix of which its elements are 1 or 0.
Example
Let 
xT=(x1x2x3),
uT=(u1u2)
, where 
x1
x2
u1
 are nonlinear, and 
Cw
 can be defined as
zw=[x1x2u1],Cw=[100000100000010]

Let 
ωi
 define as Gaussian type fuzzy membership function as follows.
ωi=e(zwzwi)TQw(zwzwi)

Qw=QwT>0

ρi
 can be define as
ρi=wi/i=N+Nωi
.
The fuzzy servo system can be rewrite as.
z˙=i=N+Nρi(Azix+Bziu+dzi)
(3)
In order to develop new control rule, we calculate each local linear system control rule by using
u=Kiz
(4)
Ki
 is the feedback coefficient matrix of the input. This matrix calculated using Hikita method [28]. Let 
fij=(λjIAzi)1Bzigj
j=1,2,3,...,n+l)
gjRm
fijRn+l
λj
 be the eigenvalues and 
fij
 be eigenvector of the system. The feedback co-efficient matrix can be represented as
Ki=[gi1gi(n+l)][fi1fi(n+l)]1Ki=[ki1ki(n+l)]

Applied fuzzy method to each local linear system and combines it as new control law.
The control input 
u
 is
u=i=N+NρiKiz
(5)
The input 
u
 in (5) is applied to system in (1) and (2).

4. Linearization and stability analysis and the fuzzy rule

The inverted pendulum robot used in this paper is shown in Figure 2. It consists of cart and a pendulum. The cart is free to move the horizontal direction when the force 
F
 applies to it. We assume that the mass of the pendulum and cart are homogenously distributed and concentrated in their center of the gravity and the friction of the cart is proportional only to the cart velocity and friction generating by the pivot axis is proportional to the angular velocity of the pendulum. The parameters used for simulation are shown in Table 1. The mathematical model of inverted pendulum system can be described as follows.
(M+m)x¨+mlcosθθ¨+Dx˙mlsinθθ˙2=F
(6)