Next Article in Journal
Additive Manufacturing in Industry
Previous Article in Journal
A Feedback Control Method to Maintain the Amplitude of the RF Signal Applied to Ion Traps
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Path Tracking Control of an Omni-Directional Service Robot Based on Model Predictive Control of Adaptive Neural-Fuzzy Inference System

1
College of Mechanical & Electrical Engineering, Hohai University, Changzhou 213022, China
2
Jiangsu Key Laboratory of Special Robot Technology, Hohai University, Changzhou 213022, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2021, 11(2), 838; https://doi.org/10.3390/app11020838
Submission received: 15 November 2020 / Revised: 8 January 2021 / Accepted: 13 January 2021 / Published: 18 January 2021
(This article belongs to the Section Robotics and Automation)

Abstract

:
In this paper, model predictive control (MPC) based on an adaptive neural-fuzzy inference system (ANFIS) is proposed to realize control of an omni-directional service robot in path tracking. The weight of the cost function in a traditional MPC needs to be manually adjusted, and it is difficult to adjust to a satisfactory value. In order to improve the performance and the control accuracy of MPC, a fuzzy system trained by ANFIS is used to adaptively adjust the weight of MPC’s cost function to reduce the error in the process of path tracking. The different simulation experiments are conducted to verify the performance of the proposed algorithm. The experimental results show that the distance error of MPC based on ANFIS is reduced by more than 50% under different paths compared with a traditional MPC, and the angle error is reduced by more than 70%. Meanwhile, the stability is increased by around 60%. The results show the feasibility and superiority of MPC based on ANFIS.

1. Introduction

In recent years, the technology of service robots has been developed widely, and it has been a research hotspot [1,2]. Among these, path tracing is crucial.
Path tracing methods mainly include proportion integration differentiation (PID), fuzzy control (FC), proportion integration differentiation fuzzy (FPID), model predictive control (MPC), fuzzy model predictive control (FMPC), etc. In [2], a simple and effective PID robust tuning method is proposed and applied to a simple mobile robot model with uncertain delay estimation. Although experiments show that it has good path tracking performance, it cannot cope with multiple controlled quantities simultaneously. Moreover, it is not suitable for complex nonlinear time-varying systems. In [3], a path tracking and heading adjustment system for a Mecanum wheel robot based on a fuzzy logic controller (FLC) is proposed. It can achieve better path tracking control without external references such as beacons or visual marks. However, it simplifies a Mecanum wheel chassis to a differential wheel chassis during the control process. Additionally, the system cannot control the rotation angle of the chassis, which makes the chassis lose the flexibility unique to the Mecanum wheel chassis. In [4], an equivalence relationship between fuzzy proportional-integral-derivative (PID) controllers and conventional PID controllers is put forward, the designer can further tune the membership functions of fuzzy variables in the control rules to acquire more superior performance. In [5], a self-tuning fuzzy PID controller, which is easy to be realized on a single-chip microcomputer, is presented. Even though it can control irregular lines precisely, the speed response of a single motor is insufficient in a short time. In [6], a fuzzy controller is designed to minimize the path tracking error, and a cuckoo optimization algorithm (COA) is used to optimize the fuzzy controller. Experiments show that it can achieve accurate path tracking.
Predictive control is a novel type of control algorithm in the field of industrial process control. It is not only a representative advanced control algorithm but also a theoretical system of stability and robust design of uncertain systems with rolling optimization characteristics [7]. In [8], a MPC strategy for non-holonomic constrained wheeled mobile robot (WMR) is put forward. The kinematic model of the WMR is linearized. According to the constraints of the status and input, WMR control law can achieve optimal control. In [9,10,11,12], MPC applied to an omni-directional wheeled chassis is introduced. MPC can realize accurate control of complex paths. Nevertheless, some parameters of MPC need to be manually adjusted, which is time-consuming and labor-intensive. If the tuning is inaccurate, it is difficult to achieve optimal path tracking. Thus, there is more research and development required n the direction of adaptive tuning. In [13], an adaptive fuzzy nonlinear model predictive control (FNMPC) strategy for trajectory tracking of the WMR is proposed. An adaptive fuzzy system is obtained through training and applied to the approximation of the WMR model. The parameters of the fuzzy model are adjusted online by using the gradient descent algorithm, which can minimize the tracking error of a given trajectory. In [14], an improved MPC strategy is designed. The improved MPC also can adaptively adjust the weight of the cost function through fuzzy control, and it is superior to a traditional MPC in terms of tracking accuracy and steering stability. However, operators need to summarize a complete set of fuzzy control rules through a large amount of practical experience. If the fuzzy system is simple or wrong, it may lead to the reduction of control accuracy, even the deterioration of dynamic quality. Therefore, it is more difficult to build complete fuzzy rules.
In [15], an adaptive network fuzzy inference system (ANFIS) architecture and learning process are explored. This system can realize the establishment of a fuzzy inference system in the framework of an adaptive network. It uses a hybrid learning algorithm or other learning algorithms to train and learn data set. A superior fuzzy system can also be obtained by optimizing the premise and consequence parameters. In [16], a control of a pilot-scale conversion hydrogen production unit is studied. ANFIS is applied to MPC to realize an optimal control strategy. The process is trained and learned by ANFIS, and the membership function is optimized using empirical training data.
In order to ensure high tracking accuracy and stability, and without the need for operators to summarize a complete set of fuzzy control rules, this paper puts forward a strategy of MPC based on ANFIS. This strategy can adaptively adjust the weight of the cost function in MPC to achieve accurate path tracking.
The rest of this paper is organized as follows: Section 2 describes the kinematic model of the omni-directional wheel chassis. In Section 3, the design of the control system is proposed. Section 4 is the simulation analysis. The conclusion of this paper is presented in Section 5.

2. Kinematic Model

As shown in Figure 1, the local coordinate frame of the service robot chassis is X R P Y R , the global coordinate frame is X I O Y I , and the point P is the reference point on the chassis.
In the global coordinate frame, the position P is determined by X I and Y I [17,18,19,20], and the position of the chassis in the local coordinate frame is:
ξ R = R ( θ ) ξ I
where θ is the angle between the global coordinate frame and the local coordinate frame, ξ I = [ x I y I θ I ] T is the position of the robot in the global coordinate frame, and ξ R is ξ R = [ x R y R θ R ] T . R ( θ ) is the rotation matrix. R ( θ ) is:
R ( θ ) = [ cos θ sin θ 0 sin θ cos θ 0 0 0 1 ]
The rolling constraint of the Mecanum wheel forces all rollers to move along the ground direction. There must be a certain number of rollers rotating so that there is pure rolling at the contact point [10,21]. The velocity direction of the wheels is decomposed and deduced:
j R ( θ ) ξ I = r φ cos γ
where j = [ sin ( α + β + γ ) cos ( α + β + γ ) l cos ( β + γ ) ] , as shown in Figure 2, l is the distance between every Mecanum wheel and the point P , and r is the radius of the Mecanum wheel.
The rolling constraints of an individual Mecanum wheel can be grouped into the single Equations (4) and (5).
J I R ( θ ) ξ I J 2 φ = 0
φ = J 2 1 J I R ( θ ) ξ I
where φ ( t ) is the velocity function of the horizontal axis of the Mecanum wheel.
J I = [ sin ( α 1 + β 1 + γ 1 ) cos ( α 1 + β 1 + γ 1 ) l cos ( β 1 + γ 1 ) sin ( α 2 + β 2 + γ 2 ) cos ( α 2 + β 2 + γ 2 ) l cos ( β 2 + γ 2 ) sin ( α 3 + β 3 + γ 3 ) cos ( α 3 + β 3 + γ 3 ) l cos ( β 3 + γ 3 ) sin ( α 4 + β 4 + γ 4 ) cos ( α 4 + β 4 + γ 4 ) l cos ( β 4 + γ 4 ) ]
J 2 = [ r cos γ 1 r cos γ 2 r cos γ 3 r cos γ 4 ]
Assuming J = J 2 1 J I R ( θ ) , the velocity is:
ξ I = ( J T J ) 1 J T φ

3. Design of Control System

The control system schematic diagram is shown in Figure 3. The schematic diagram can be described as a MPC design and ANFIS design.

3.1. MPC

MPC can solve complex control problems of multi-variable inputs [22]. MPC consists of the following three parts: linearization and approximate discretization of a kinematic model, design of objective function, and design of constraint conditions [23,24].

3.1.1. Linearization and Approximate Discretization

Define φ as u , Equation (8) can be simplified as:
ξ = f ( ξ , u )
First-order Taylor expansion is performed at a reference point in Equation (9), which was rewritten as:
ξ = A ξ + B u
where ξ ξ r = ξ , ξ ξ r = ξ , u u r = u , f ξ | ξ = ξ r u = u r = A , f u | ξ = ξ r u = u r = B , ξ r = f ( ξ r , u r ) , ξ r and u r are the reference pose and velocity which are the closest to the latest pose (Euclidean Distance).
Equation (10) can be approximately discretized as:
ξ ( ( k + 1 ) T ) A ˜ ξ ( k T ) + B ˜ u ( k T )
where A ˜ = I + T A , B ˜ = T B .

3.1.2. Design of Objective Function

Define k T as k , The state functions are:
{ χ ( k + 1 ) = A k χ ( k ) + B k Δ u ( k ) η ( k ) = C k χ ( k )
where χ ( k ) = [ ξ ( k ) u ( k 1 ) ] ( m + n ) × 1 , A k = [ A ˜ n × n B ˜ n × m 0 m × n I m ] ( m + n ) × ( m + n ) , B k = [ B ˜ n × m I m ] ( m + n ) × m , C k = [ I n × n 0 n × m ] n × ( m + n ) , m is the number of control quantity, and n is the number of status quantity.
At time k + 2 , Equation (12) can be written as:
{ χ ( k + 2 ) = A k + 1 χ ( k + 1 ) + B k + 1 Δ u ( k + 1 ) η ( k + 1 ) = C k + 1 χ ( k + 1 )
Substituting Equation (12) into Equation (13), the state functions can be expressed as:
{ χ ( k + 2 ) = A k + 1 A k χ ( k + 1 ) + A k + 1 B k Δ u ( k ) + B k + 1 Δ u ( k + 1 ) η ( k + 1 ) = C k + 1 A k χ ( k ) + C k + 1 B k Δ u ( k )
By recursion in the above way, Equation (15) can be solved.
{ η ( k + 1 ) = C k + 1 A k χ ( k ) + C k + 1 B k Δ u ( k ) η ( k + 2 ) = C k + 2 A k + 1 A k χ ( k ) + C k + 2 A k + 1 B k Δ u ( k ) + C k + 2 B k + 1 Δ u ( k ) η ( k + 3 ) = C k + 3 A k + 2 A k + 1 A k χ ( k ) + C k + 3 A k + 2 A k + 1 B k Δ u ( k ) + C k + 3 A k + 2 B k + 1 Δ u ( k ) + C k + 2 B k + 2 Δ u ( k ) η ( k + N c ) = C k + N c i = 0 N c 1 A k + i χ ( k ) + C k B k i = 2 N c 1 A k + i Δ u ( k ) + + C k + 2 B k + N c 1 Δ u ( k ) η ( k + N p ) = C k + N p i = 0 N p 1 A k + i χ ( k ) + C k B k i = 1 N p 1 A k + i Δ u ( k ) + + C k B k + N c 1 i = N c N p 1 A k + i Δ u ( k )
Equation (16) can be abbreviated as:
Y ( k ) = ψ k χ ( k ) + Θ k Δ U k
where Y ( k ) = [ η ( k + 1 ) η ( k + 2 ) η ( k + N c ) η ( k + N p ) ] N p × 1 , C k = C k + 1 = = C k + N p , ψ k = [ C k A k C k A k + 1 A k C k i = 0 N c 1 A k + i C k i = 0 N p 1 A k + i ] N p × 1 , Θ k = [ C k B k 0 0 C k A k B k C k B k 0 0 0 C k B k i = 1 N c 1 A k + i C k B k + 1 i = 2 N c 2 A k + i C k B k + N c 1 C k B k i = 1 N c A k + i C k B k + 1 i = 2 N c A k + i C k A k B k + N c 1 C k B k i = 1 N p 1 A k + i C k B k + 1 i = 2 N p 1 A k + i C k B k + N c 1 i = N c N p 1 A k + i ] N p × N c , Δ U k = [ Δ u ( k ) Δ u ( k + 1 ) Δ u ( k + N c 1 ) ] N c × 1 , N p is the prediction horizon, N c is the control horizon, and N p > N c .
The MPC in this paper was a relatively simplistic but standard non-linear MPC algorithm, in which all the A k + i were the same in the processing of the prediction model and all the B k + i were the also same [23].
According to the MPC strategy, the optimization problem should be converted into a quadratic programming (QP) problem [7]. The objective function was the quadratic function of the spatial state of the omni-directional wheel chassis and the control inputs. Additionally, the relaxation factor was introduced, which could not only directly limit the control increment, but also avoid the emergence of non-feasible solutions in the execution process [25]. The objective function is:
J ( k ) = ( Y ( k ) Y r e f ( k ) ) T Q ( Y ( k ) Y r e f ( k ) ) + Δ U ( k ) T R Δ U ( k ) + ρ ε 2
where Q is the weight matrix of Y , Q = d i a g ( Q 1 , Q 2 , , Q N c , , Q N p ) , Q i = d i a g ( q x , q y , q φ ) , ( i = 1 , 2 , , N c , , N p ) , R is the weight matrix of Δ U , R = d i a g ( R 0 , R 1 , , R N c 1 ) , R i = d i a g ( r Δ 1 , r Δ 2 , r Δ 3 , r Δ 4 ) , ( i = 0 , 1 , 2 , , N c 1 ) , ρ is weight coefficient, and ε is the relaxation factor.

3.1.3. Design of Constraints

QP is a typical mathematical optimization problem. The reference trajectory tracked by the omni-directional wheel chassis was quicker and smoother by adding linear or non-linear constraints. Hence, the motion performance of the omni-directional wheel chassis was improved. The linear constraints were:
U min Γ Δ U ( k ) + U ( k 1 ) U max
where Γ = [ 1 0 0 0 1 1 ] N c × N c I m = [ I m 0 m 0 m 0 m I m I m ] ( is Kronecker product), U min = [ u min , u min , , u min ] 1 × N c T , U max = [ u max , u max , , u max ] 1 × N c T , U ( k 1 ) = [ u ( k 1 ) , u ( k 1 ) , , u ( k 1 ) ] 1 × N c T .
Equation (17) could be rewritten as:
J ( k ) = [ Δ U ( k ) T ε ] H ( k ) [ Δ U ( k ) T ε ] + G ( k ) [ Δ U ( k ) T ε ] + P ( k )
where E ( k ) = ψ ( k ) Y r e f ( k ) , H ( k ) = [ Θ ( k ) T Q Θ ( k ) 0 0 ρ ] , G ( k ) = [ 2 E ( k ) T Q Θ ( k ) 0 ] , P ( k ) = E ( k ) T Q E ( k ) .
Equation (20) is:
{ [ Γ ( k ) 0 Γ ( k ) 0 ] [ Δ U ( k ) ε ] [ U min U ( k 1 ) U max U ( k 1 ) ] [ Δ U min 0 ] [ Δ U ( k ) ε ] [ Δ U max M ]
Therefore, the quadratic programming problem is:
{ min J ( k ) ( J ( k ) = [ Δ U ( k ) T ε ] H ( k ) [ Δ U ( k ) T ε ] + G ( k ) [ Δ U ( k ) T ε ] + P ( k ) ) S . T { [ Γ ( k ) 0 Γ ( k ) 0 ] [ Δ U ( k ) ε ] [ U min U ( k 1 ) U max U ( k 1 ) ] [ Δ U min 0 ] [ Δ U ( k ) ε ] [ Δ U max M ]
ε is used as an independent variable, and is computed by Equation (21). A series of optimally controlled increments Δ U ( k ) could be calculated in the control horizon by optimizing Equation (21) in each control cycle.
Δ U ( k ) = [ Δ u ( k ) Δ u ( k + 1 ) Δ u ( k + N c 1 ) ] T
u ( k ) = u ( k 1 ) + Δ u ( k )
The first element acted as the actual controlled increment of Δ U ( k ) in Equations (22) and (23).

3.2. Design of ANFI

ANFIS is a multi-inputs and single-output model. Based on experience and knowledge, a neural network was employed to optimize the premise and consequence parameters to adaptively establish a fuzzy inference system [15,26,27,28,29].

3.2.1. Architecture of ANFIS

Assuming that ANFIS had two inputs Δ l and Δ φ , and one output q . As shown in Figure 4, ANFIS covered the input variables with 8 fuzzy subsets. The rules of the rule base are:
If Δ l is A i and Δ φ is B i , then f i = p i Δ l + q i Δ φ + s i , ( i = 1 , 2 , 8 ).
Where A i ( B i ) is the fuzzy subset of Δ l ( Δ φ ), p i , q i , s i called the consequence parameters are the linear parameters of the function f i .
The structure of each layer of ANFIS was as follows.
Layer 1
This layer is called the “fuzzification layer”. The nodes are adaptive.
O i 1 = μ A i ( Δ l )   or   O i 1 = μ B i ( Δ φ ) ,   i = 1 , 2 , 8
where Δ l or Δ φ is the input of the node i . A i or B i is the language tags associated with this node function, O i 1 is the membership function of A i or B i , which specifies how much given Δ l ( Δ φ ) satisfies A i ( B i ). The superscript 1 of O i 1 indicates the first layer, and the subscript i indicates the i th node.
Layer 2
This layer is called the “rule layer”. The nodes were fixed and labeled as Π i , ( i = 1 , 2 , 64 ) . The nodes realized the process of fuzzy inference. The output, which represented the firing strength of a rule, was the product of all the incoming signals.
O i 2 = ω i = μ A i ( Δ l ) μ B i ( Δ φ ) ,   i = 1 , 2 , 8
Layer 3
This layer is called the “normalization layer”. The nodes were fixed and labeled as N i ( i = 1 , 2 , 64 ). Every node in this layer received all outputs from layer 2 and the normalized firing strength of the i th rule.
O i 3 = ω i ¯ = ω i i = 1 64 ω i ,   i = 1 , 2 , 64
Layer 4
This layer is called the “defuzzification layer”. The nodes were adaptive.
O i 4 = ω i ¯ f i = ω i ¯ ( p i Δ l + q i Δ φ + s i ) ,   i = 1 , 2 , 64
where ω i ¯ is a normalized firing strength value received from layer 3, Δ l and Δ φ are the input of the node i , and p i , q i , s i are the linear parameters of the function f i .
Layer 5
This layer is called the “summation layer”. The single node was fixed, and labeled as Σ . This layer calculated the sum of all outputs from layer 4 and provided an output of ANFIS.
O 1 5 = i = 1 64 ω i f i = i = 1 64 ω i f i i = 1 64 ω i

3.2.2. Collection of Data Set

It is a crucial process to collect a training data set for ANFIS. This paper used an ANFIS architecture of two-inputs and single-output. The three parameters of a collected data set are:
{ Δ l = ( ( l r e f X l r e a l X ) 2 + ( l r e f Y l r e a l Y ) 2 ) 100 Δ φ = ( φ r e f φ r e a l ) 100 q = q l X q φ = q l Y q φ
where Δ l represents the error between the reference X Y distance and the actual X Y distance, Δ φ represents the error between the reference φ ref and the actual φ real , and the output q represents the weight ratio.
A traditional MPC was used to track a reference trajectory. At the sampling period T , Δ l and Δ φ were collected, and the weight ratio q was adjusted to reduce the error significantly. The Δ l , Δ φ and adjusted q were collected as the training data set of ANFIS.

3.2.3. Training of Data Set

Training ANFIS means using the optimization algorithm to optimize the premise and the consequence parameters in its structure. The premise parameters were μ A i ( Δ l ) or μ B i ( Δ φ ) ( i = 1 , 2 , 8 ) in the second membership function, and the consequence parameters were p i , q i , s i ( i = 1 , 2 , 64 ) in the fourth membership function f i . In MATLAB, ANFIS toolbox and graphic editing tools were used to train the data set.

3.3. Control System

A fuzzy system can be obtained through ANFIS training. As shown in Figure 5, the weight q can be adaptively adjusted by the fuzzy system according to the input of Δ l and Δ φ . Assuming q φ is 1, Equation (30) can be solved according to Equation (29), and Q i is used at Equation (21).
Q i = d i a g ( q , q , 1 ) , ( i = 1 , 2 , , N c , , N p )

4. Simulation and Analysis

4.1. Experiment Parameters

4.1.1. The Parameters of Omni-Directional Wheel Chassis

The distance l between every omni-directional wheel and the robot center point is 0.291 m, and the other parameters are shown in Table 1.

4.1.2. Training of Data Set

MPC was used to track the path of a circle. The sampling period T was 0.5 s. The data set for training ANFIS is shown in Figure 6. In SIMULINK, ANFIS toolbox and graphic editing tools were used to train the data set, and the parameters were set as shown in Table 2. The membership functions of using 7 and 8 fuzzy sets are shown in Table 3, the training error of using 7 fuzzy sets was 137.63, and the training error of using 8 fuzzy sets was 0.14. Accordingly, this paper used 8 fuzzy sets, and the membership functions after training ANFIS are shown in Figure 7 and Figure 8.

4.2. Simulation Results

MPC based on ANFIS was adopted to simulate and analyze two different paths. The simulation time t was 30 s, and the sampling period T was 0.5 s. The speed, acceleration, and relaxation factor of every motor of the omni-directional wheel chassis were:
{ [ u min u max ] = [ 7 7 ] [ Δ u min Δ u max ] = [ 3 3 ] [ ε min ε max ] = [ 0 10 ]
when the error curve fluctuated uniformly, the error peak value was the maximum fluctuation difference. The optimization ratio of reducing the maximum fluctuation difference can be solved by Equation (32).
P o r = e t e o e t
where P o r is the optimization ratio, e t is the maximum fluctuation difference of a traditional MPC, and e o is the maximum fluctuation difference of MPC based on ANFIS.

4.2.1. Path I

The reference trajectory of a circle was Equation (33), the initial status ξ s t a r t was [ 0 , 0 , 0 ] T , and the range of weight ratio q was q ( 13 50 ) . The simulation comparison was conducted between a traditional MPC (the weight ratio q is 25) and MPC based on ANFIS.
{ X = 2.5 sin ( 2 pi t 30 ) Y = 3.5 2.5 cos ( 2 pi t 30 ) φ = 0.5
As shown in Figure 9, Figure 10, Figure 11, Figure 12, Figure 13 and Figure 14, after stabilization, the results are shown in Table 4 and Table 5.
Compared with the traditional MPC without disturbance, MPC based on ANFIS reduced the maximum fluctuation difference of Δ l by 58.966%, and the maximum fluctuation difference of Δ φ was reduced by 72.895%. The stability of Δ l increased by 67.668% and the stability of Δ φ was increased by 61.369%. All the data showed that the error curve of the proposed algorithm was flatter and more stable compared with the traditional MPC without disturbance.
The external disturbance applied to the X direction at t was 10 s, and the disturbance was 0.2 m. After stabilization, the results are shown in Table 6 and Table 7.
Compared with the traditional MPC, MPC based on ANFIS reduced the maximum fluctuation difference of Δ l by 57.673%, and the maximum fluctuation difference of Δ φ was reduced by 72.328%. The stability of Δ l was increased by 66.109%, and the stability of Δ φ increased by 59.899%. The error curve was much flatter and stabilized faster compared to the traditional MPC with disturbance. The experiment showed the effectiveness and superiority of the MPC based on ANFIS.

4.2.2. Path II

The reference trajectory of was Equation (34), the initial status ξ s t a r t was [ 1.1 , 0.6 , 0 ] T , and the range of weight ratio q was q [ 9 , 15 ] . The weight ratio q of a traditional MPC was 15. The simulation results are shown in Figure 15, Figure 16, Figure 17, Figure 18, Figure 19 and Figure 20.
{ X = 1.1 + 0.7 sin ( 2 π t 30 ) Y = 0.9 + 0.7 sin ( 4 π t 30 ) φ = 0.5
As shown in Figure 15, Figure 16, Figure 17, Figure 18, Figure 19 and Figure 20, after stabilization, the results are shown in Table 8 and Table 9.
Compared with the traditional MPC without disturbance, MPC based on ANFIS reduced the maximum fluctuation difference of Δ l by 72.990%, and all the Δ φ approached 0. The stability of Δ l was increased by 77.780%. The error curve tended to be flatter and more stable compared to the traditional MPC without disturbance.
An external disturbance applied to the X direction at t was 10 s, and the disturbance was 0.1 m. After stabilization, the results are shown in Table 10 and Table 11.
Compared with the traditional MPC with disturbance, MPC based on ANFIS reduced the maximum fluctuation difference of Δ l by 73.326%, and all the Δ φ approached 0. The stability of Δ l was increased by 78.148%. The error curve was much flatter and stabilized faster compared with the traditional MPC with disturbance. Moreover, the robot could respond more quickly when there was disturbance.
Experiments showed that MPC based on ANFIS had superior performance compared with a traditional MPC.

5. Conclusions

By adjusting the weight of the cost function in MPC, the path tracking error can be reduced prominently. However, the weight of the cost function in a traditional MPC needs to be manually adjusted which is time-consuming and labor-intensive, and it is difficult to adjust to a satisfactory value. Therefore, in order to adaptively adjust the weight, MPC based on ANFIS is proposed. The ANFIS toolbox is used for data set training, and the training error is 0.14. In SIMULINK, MPC based on ANFIS and a traditional MPC are compared to verify the effectiveness and superiority. Experiments show that when the path is circular and , compared with a traditional MPC, the maximum fluctuation difference effect of Δ l is reduced by around 50%, the maximum fluctuation difference effect of Δ φ is reduced by around 70% (all the Δ φ approach 0 when the path is ), and the stability is increased by around 60%. The error curve is much flatter and tends to stabilize faster compared with a traditional MPC. All the experiments show the effectiveness and superiority of the MPC based on ANFIS.

Author Contributions

F.P., M.L. and Z.T. developed the methodology and drafted the manuscript; F.P. performed the numerical simulations and experiments; F.P. and X.X. revised the paper. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Jiangsu Key R&D Program (Grant Nos. BE2018004-1, BE2018004) and the Fundamental Research Funds for the Central Universities (Grant No. B200202221).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

This paper is no data.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Qian, J.; Zi, B.; Wang, D.; Ma, Y.; Zhang, D. The design and development of an omni-directional mobile robot oriented to an intelligent manufacturing system. Sensors 2017, 17, 2073. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Normey-Rico, J.E.; Alcalá, I.; Gómez-Ortega, J.; Camacho, E.F. Mobile robot path tracking using a robust PID controller. Control Eng. Pract. 2001, 9, 1209–1214. [Google Scholar] [CrossRef]
  3. Kuo, C.H. Trajectory and heading tracking of a mecanum wheeled robot using fuzzy logic control. In Proceedings of the 2016 International Conference on Instrumentation, Control, and Automation, Bandung, Indonesia, 29–31 August 2016. [Google Scholar]
  4. Chao, C.-T.; Sutarna, N.; Chiou, J.-S.; Wang, C.-J. Equivalence between fuzzy PID controllers and conventional PID controllers. Appl. Sci. 2017, 7, 513. [Google Scholar] [CrossRef] [Green Version]
  5. Malayjerdi, E.; Kalani, H.; Malayjerdi, M. Self-Tuning Fuzzy PID Control of a Four-Mecanum Wheel Omni-directional Mobile Platform. In Proceedings of the Iranian Conference on Electrical Engineering (ICEE), Mashhad, Iran, 8–10 May 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 816–820. [Google Scholar]
  6. Hossein, F.M.; Khalil, A.; Bahram, T. Tracking-Error Fuzzy-Based Control for Nonholonomic Wheeled Robots. Arab. J. Sci. Eng. 2019, 44, 881–892. [Google Scholar]
  7. Camacho, E.F.; Alba, C.B. Model Predictive Control; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
  8. Kuhne, F.; Lages, W.F.; Da Silva, J.G., Jr. Model predictive control of a mobile robot using linearization. In Proceedings of the Mechatronics and Robotics, Aachen, Germany, 13–15 September 2004; pp. 525–530. [Google Scholar]
  9. Caireta, I.M. Model Predictive Control for a Mecanum-Wheeled Robot in Dynamical Environments; Universitat Politècnica de Catalunya Facultat de Matemàtiques i Estadística, Universitat Politècnica de Barcelona: Barcelona, Spain, 2019. [Google Scholar]
  10. Fuad, A.; Mahmood, I.; Ahmad, S.; Norsahperi, N.; Toha, S.; Akmeliawati, R.; Darsivan, F. Modeling and simulation for heavy-duty mecanum wheel platform using model predictive control. IOP Conf. Ser. Mater. Sci. Eng. 2017, 184, 012050. [Google Scholar] [CrossRef]
  11. Han, Y.; Zhu, Q. Robust Optimal Control of Omni-directional Mobile Robot using Model Predictive Control Method. In Proceedings of the 2019 Chinese Control Conference (CCC), Guangzhou, China, 27–30 July 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 4679–4684. [Google Scholar]
  12. Wang, C.; Liu, X.; Yang, X.; Hu, F.; Jiang, A.; Yang, C. Trajectory tracking of an omni-directional wheeled mobile robot using a model predictive control strategy. Appl. Sci. 2018, 8, 231. [Google Scholar] [CrossRef] [Green Version]
  13. Sinaeefar, Z.; Farrokhi, M. Adaptive Fuzzy Model-Based Predictive Control of Nonholonomic Wheeled Mobile Robots including Actuator Dynamics. Int. J. Sci. Eng. Res. 2012, 3, 305–311. [Google Scholar]
  14. Wang, H.; Liu, B.; Ping, X.; An, Q. Path Tracking Control for Autonomous Vehicles Based on an Improved MPC. IEEE Access 2019, 7, 161064–161073. [Google Scholar] [CrossRef]
  15. Jang, J.S. ANFIS: Adaptive-network-based fuzzy inference system. IEEE Trans. Syst. Man Cybern. 1993, 23, 665–685. [Google Scholar] [CrossRef]
  16. Essien, E.; Ibrahim, H.; Mehrandezh, M.; Idem, R. Adaptive neuro-fuzzy inference system (ANFIS)—Based model predictive control (MPC) for carbon dioxide reforming of methane (CDRM) in a plug flow tubular reactor for hydrogen production. Therm. Sci. Eng. Prog. 2019, 9, 148–161. [Google Scholar] [CrossRef]
  17. Morales, S.; Magallanes, J.; Delgado, C.; Canahuire, R. LQR Trajectory Tracking Control of an Omnidirectional Wheeled Mobile Robot. In Proceedings of the 2018 IEEE 2nd Colombian Conference on Robotics and Automation, Barranquilla, Colombia, 1–3 November 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 1–5. [Google Scholar]
  18. Shimada, A.; Yajima, S.; Viboonchaicheep, P.; Samura, K. Mecanum-wheel vehicle systems based on position corrective control. In Proceedings of the 31st Annual Conference of IEEE Industrial Electronics Society (IECON 2005), Raleigh, NC, USA, 6–10 November 2005; IEEE: Piscataway, NJ, USA, 2005; p. 6. [Google Scholar]
  19. De Tlale, N.; Villiers, M. Kinematics and dynamics modelling of a mecanum wheeled mobile platform. In Proceedings of the 2008 15th International Conference on Mechatronics and Machine Vision in Practice, Auckland, New Zealand, 2–4 December 2008; IEEE: Piscataway, NJ, USA, 2008; pp. 657–662. [Google Scholar]
  20. Mishra, S.; Sharma, M.; Mohan, S. Behavioural Fault tolerant control of an Omni directional Mobile Robot with Four mecanum Wheels. Def. Sci. J. 2019, 69, 353. [Google Scholar] [CrossRef] [Green Version]
  21. Siegwart, R.; Nourbakhsh, I.R.; Scaramuzza, D. Introduction to Autonomous Mobile Robots; MIT Press: Cambridge, MA, USA, 2011. [Google Scholar]
  22. Kurdi, M.; Elzein, I.A.; Dadykin, A.K. Model Predictive Control for Positioning and Navigation of Mobile Robot with Cooperation of UAV. Commun. Appl. Electron. 2017, 6, 17–25. [Google Scholar]
  23. Liang, H.; Li, G.; Rong, T.; Deng, L.; Amp, A. Unmanned vehicle trajectory tracking based on model predictive control. Automob. Appl. Technol. 2017, 20, 53–55. [Google Scholar]
  24. Klančar, G.; Škrjanc, I. Tracking-error model-based predictive control for mobile robots in real time. Robot. Auton. Syst. 2007, 55, 460–469. [Google Scholar] [CrossRef]
  25. Li, S.; Wang, J.; Li, K. Stabilization of linear predictive control systems with softening constraints. J. TsingHua Univ. Sci Technol. 2010, 10, 94–98. [Google Scholar]
  26. Karaboga, D.; Kaya, E. Adaptive network based fuzzy inference system (ANFIS) training approaches: A comprehensive survey. Artif. Intell. Rev. 2019, 52, 2263–2293. [Google Scholar] [CrossRef]
  27. Subbash, P.; Chong, K.T. Adaptive network fuzzy inference system based navigation controller for mobile robot. Front. Inf. Technol. Electron. Eng. 2019, 20, 141–151. [Google Scholar] [CrossRef]
  28. Escaño, J.M.; Bordons, C.; Vilas, C.; García, M.R.; Alonso, A. Neurofuzzy model based predictive control for thermal batch processes. J. Process. Control. 2009, 19, 1566–1575. [Google Scholar] [CrossRef] [Green Version]
  29. Bakırcıoğlu, V.; Şen, M.A.; Kalyoncu, M. Adaptive Neural-Network Based Fuzzy Logic (ANFIS) Based Trajectory Controller Design for One Leg of a Quadruped Robot. In Proceedings of the 5th International Conference on Mechatronics and Control Engineering, Venice, Italy, 14–17 December 2016; pp. 82–85. [Google Scholar]
Figure 1. Global coordinate and local coordinate frames.
Figure 1. Global coordinate and local coordinate frames.
Applsci 11 00838 g001
Figure 2. A schematic diagram of the motion of a single wheel.
Figure 2. A schematic diagram of the motion of a single wheel.
Applsci 11 00838 g002
Figure 3. The control system schematic diagram.
Figure 3. The control system schematic diagram.
Applsci 11 00838 g003
Figure 4. The architecture diagram of an adaptive neural-fuzzy inference system (ANFIS).
Figure 4. The architecture diagram of an adaptive neural-fuzzy inference system (ANFIS).
Applsci 11 00838 g004
Figure 5. The control system schematic diagram.
Figure 5. The control system schematic diagram.
Applsci 11 00838 g005
Figure 6. Data set for training ANFIS controller.
Figure 6. Data set for training ANFIS controller.
Applsci 11 00838 g006
Figure 7. The membership functions of Δ l .
Figure 7. The membership functions of Δ l .
Applsci 11 00838 g007
Figure 8. The membership functions of Δ φ .
Figure 8. The membership functions of Δ φ .
Applsci 11 00838 g008
Figure 9. Trajectory comparison without disturbance.
Figure 9. Trajectory comparison without disturbance.
Applsci 11 00838 g009
Figure 10. Trajectory comparison with disturbance.
Figure 10. Trajectory comparison with disturbance.
Applsci 11 00838 g010
Figure 11. Δ l without disturbance.
Figure 11. Δ l without disturbance.
Applsci 11 00838 g011
Figure 12. Δ φ without disturbance.
Figure 12. Δ φ without disturbance.
Applsci 11 00838 g012
Figure 13. Δ l with disturbance.
Figure 13. Δ l with disturbance.
Applsci 11 00838 g013
Figure 14. Δ φ with disturbance.
Figure 14. Δ φ with disturbance.
Applsci 11 00838 g014
Figure 15. Trajectory comparison without disturbance.
Figure 15. Trajectory comparison without disturbance.
Applsci 11 00838 g015
Figure 16. Trajectory comparison with disturbance.
Figure 16. Trajectory comparison with disturbance.
Applsci 11 00838 g016
Figure 17. Δ l without disturbance.
Figure 17. Δ l without disturbance.
Applsci 11 00838 g017
Figure 18. Δ φ without disturbance.
Figure 18. Δ φ without disturbance.
Applsci 11 00838 g018
Figure 19. Δ l with disturbance.
Figure 19. Δ l with disturbance.
Applsci 11 00838 g019
Figure 20. Δ φ with disturbance.
Figure 20. Δ φ with disturbance.
Applsci 11 00838 g020
Table 1. Calculation parameters.
Table 1. Calculation parameters.
Wheel α β γ θ
145°
2135°
3−135°
4−45°
Table 2. Part of the design parameters for the ANFIS toolbox in MATLAB.
Table 2. Part of the design parameters for the ANFIS toolbox in MATLAB.
ItemMethodError ToleranceEpochs
ParameterBack-Propagation0150
Table 3. The membership functions of using 7 and 8 fuzzy sets.
Table 3. The membership functions of using 7 and 8 fuzzy sets.
Num of MFsMFs
8NB NM NS NZ PZ PS PM PB
7NB NM NS Z PS PM PB
Table 4. Maximum fluctuation difference without disturbance.
Table 4. Maximum fluctuation difference without disturbance.
Δ l Δ φ
traditional MPC6.887%5.737%
MPC based on ANFIS2.826%1.555%
Table 5. The peak difference between the up and down fluctuations without disturbance.
Table 5. The peak difference between the up and down fluctuations without disturbance.
Δ l Δ φ
traditional MPC11.199%7.802%
MPC based on ANFIS3.6357%3.014%
Table 6. Maximum fluctuation difference with disturbance.
Table 6. Maximum fluctuation difference with disturbance.
Δ l Δ φ
traditional MPC6.712%5.670%
MPC based on ANFIS2.841%1.569%
Table 7. The peak difference between the up and down fluctuations with disturbance.
Table 7. The peak difference between the up and down fluctuations with disturbance.
Δ l Δ φ
traditional MPC10.938%7.693%
MPC based on ANFIS3.707%3.085%
Table 8. Maximum fluctuation difference without disturbance.
Table 8. Maximum fluctuation difference without disturbance.
Δ l Δ φ
traditional MPC3.869%≈0
MPC based on ANFIS1.045%≈0
Table 9. The peak difference between the up and down fluctuations without disturbance.
Table 9. The peak difference between the up and down fluctuations without disturbance.
Δ l Δ φ
traditional MPC3.5915%--
MPC based on ANFIS0.798%--
Table 10. Maximum fluctuation difference with disturbance.
Table 10. Maximum fluctuation difference with disturbance.
Δ l Δ φ
traditional MPC3.869%≈0
MPC based on ANFIS1.032%≈0
Table 11. The peak difference between the up and down fluctuations with disturbance.
Table 11. The peak difference between the up and down fluctuations with disturbance.
Δ l Δ φ
traditional MPC3.5923%-
MPC based on ANFIS0.785%-
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Pang, F.; Luo, M.; Xu, X.; Tan, Z. Path Tracking Control of an Omni-Directional Service Robot Based on Model Predictive Control of Adaptive Neural-Fuzzy Inference System. Appl. Sci. 2021, 11, 838. https://doi.org/10.3390/app11020838

AMA Style

Pang F, Luo M, Xu X, Tan Z. Path Tracking Control of an Omni-Directional Service Robot Based on Model Predictive Control of Adaptive Neural-Fuzzy Inference System. Applied Sciences. 2021; 11(2):838. https://doi.org/10.3390/app11020838

Chicago/Turabian Style

Pang, Fenglin, Minzhou Luo, Xiaobin Xu, and Zhiying Tan. 2021. "Path Tracking Control of an Omni-Directional Service Robot Based on Model Predictive Control of Adaptive Neural-Fuzzy Inference System" Applied Sciences 11, no. 2: 838. https://doi.org/10.3390/app11020838

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop