Hostname: page-component-586b7cd67f-2brh9 Total loading time: 0 Render date: 2024-11-21T18:31:47.023Z Has data issue: false hasContentIssue false

Trajectory tracking control of a mobile robot using fuzzy logic controller with optimal parameters

Published online by Cambridge University Press:  19 September 2024

Tesfaye Deme Tolossa
Affiliation:
Department of Electrical Engineering, Indian Institute of Technology Roorkee, Roorkee, Uttarakhand, India
Manavaalan Gunasekaran
Affiliation:
Department of Electrical and Electronics Engineering, CIT, Combature, Tamil Nadu, India
Kaushik Halder
Affiliation:
Department of Electrical Engineering, Indian Institute of Technology Roorkee, Roorkee, Uttarakhand, India
Hitendra Kumar Verma
Affiliation:
Department of Electrical Engineering, Indian Institute of Technology Roorkee, Roorkee, Uttarakhand, India
Shyam Sundar Parswal
Affiliation:
Department of Electrical Engineering, Indian Institute of Technology Roorkee, Roorkee, Uttarakhand, India
Nishant Jorwal
Affiliation:
Department of Electrical Engineering, Indian Institute of Technology Roorkee, Roorkee, Uttarakhand, India
Felix Orlando Maria Joseph*
Affiliation:
Department of Electrical Engineering, Indian Institute of Technology Roorkee, Roorkee, Uttarakhand, India
Yogesh Vijay Hote
Affiliation:
Department of Electrical Engineering, Indian Institute of Technology Roorkee, Roorkee, Uttarakhand, India
*
Corresponding author: Felix Orlando Maria Joseph; Email: [email protected]
Rights & Permissions [Opens in a new window]

Abstract

This work investigates the use of a fuzzy logic controller (FLC) for two-wheeled differential drive mobile robot trajectory tracking control. Due to the inherent complexity associated with tuning the membership functions of an FLC, this work employs a particle swarm optimization algorithm to optimize the parameters of these functions. In order to automate and reduce the number of rule bases, the genetic algorithm is also employed for this study. The effectiveness of the proposed approach is validated through MATLAB simulations involving diverse path tracking scenarios. The performance of the FLC is compared against established controllers, including minimum norm solution, closed-loop inverse kinematics, and Jacobian transpose-based controllers. The results demonstrate that the FLC offers accurate trajectory tracking with reduced root mean square error and controller effort. An experimental, hardware-based investigation is also performed for further verification of the proposed system. In addition, the simulation is conducted for various paths in the presence of noise in order to assess the proposed controller’s robustness. The proposed method is resilient against noise and disturbances, according to the simulation outcomes.

Type
Research Article
Copyright
© The Author(s), 2024. Published by Cambridge University Press

1. Introduction

The autonomous two-wheeled differential drive (DD) mobile robot’s popularity has significantly increased over time. This is due to the wide range of real-world applications of the mobile robotics. Autonomous mobile robotics applications have become increasingly important in recent years in fields like agriculture, industry, space exploration, and road inspection [Reference Haider, Ali, Khan, Zheng, Bhutta, Usman, Zhi and Wang1Reference Ko, Ryuh, Kim, Suprem and Mahalik5].

As a result of recent advancements in artificial intelligence (AI), robots are currently used to carry out from basic human needs to complicated and autonomous actions to execute various tasks on a large scale [Reference Alouache and Wu3, Reference Zhang, Gong and Wang6, Reference Lima, Moreira and Bessa7]. Autonomous mobile robots can be employed in many household tasks like food delivery, floor cleaning, item placement, etc., because of technological improvements [Reference Kashyap, Lagaza and Pandey8Reference Hwang10]. Thus, a different methods are employed in order to carry out these various activities without the need for human intervention. These techniques include fuzzy logic controllers (FLCs) [Reference Haider, Ali, Khan, Zheng, Bhutta, Usman, Zhi and Wang1, Reference Alsharkawi, Fetyani, Ijaabo and Khasawneh2], neural network (NN) technique [Reference Asai, Chen and Takami11], hybrid fuzzy controller [Reference Wang and Chang12], genetic algorithm (GA) [Reference Chang and Chang13], algorithm of simulated annealing (SA) [Reference Cheng and Wang14], particle swarm optimization (PSO) [Reference Meerza, Islam and Uzzal15], adaptive neuro-fuzzy (ANFIS) [Reference Chen and Chang16], model-predictive control (MPC) techniques [Reference J.C.L.Barreto, Conceicao, Dorea, Martinez and Pier17], etc.

Path tracking control is primarily used to steer the robot along predefined trajectories based on their position, acceleration, and speed as functions of time. This path tracking can be represented by a variety of shapes, such as curves, straight lines, and segments of circles. One of the biggest challenges of the autonomous mobile robot navigation is trajectory tracking [Reference Tan, Zhu and Yu18, Reference Lakhmissi19].

According to the reviewed literature, many researchers have tracked the motion of mobile robots using different types of controllers. The most commonly used methods for path tracking include model-based control, fuzzy logic control, NNs control, and GA approach [Reference Lakhmissi19]. In ref. [Reference Kayacan and Chowdhary20], the tracking-error learning control (TELC) technique is introduced for accurate mobile robot path tracking. However, this tracking error is limited to steady-state behavior control. The model-based predictive system is employed for path tracking and steering control of the mobile robot in ref. [Reference Cai, Jiang, Chen, Liu, Cai and Wang21]. However, predictive control is computationally challenging and sensitive to model errors. In ref. [Reference Zhai and Song22], adaptive sliding mode control (SMC) was applied for path tracking of two-wheeled mobile robots to overcome external forces and inertia uncertainty. The SMC reduces disturbances, but there are certain problems with the controller, such as complexity and tuning issues. The problem of accurately tracking the control of a two-wheel mobile robot following a path using a backstepping control strategy is addressed in ref. [Reference Deremetz, Lenain and Thuilot23]. Backstepping control’s shortcomings include the model’s complexity, sensitivity to errors, and difficulties with real-time implementation.

The model-based control strategy requires the mathematical models of the system being controlled to track the desired trajectories. One of the most popular model-based techniques is the Jacobian pseudo-inverse technique, which is especially well known for its efficiency in certain trajectory tracking tasks. However, this method may suffer from certain limitations related to singularity, convergence, accumulation of errors, and computational complexity [Reference Tan, Zhu and Yu18, Reference Kumar, PremKumar, Dutta and Behera24, Reference Noormohammadi-Asl, Saffari and Teshnehlab25].

Fuzzy and NN controllers are static, nonlinear systems that may be precisely designed to meet system needs and function according to the principles of human reasoning. The selection between fuzzy logic and NN controllers depends on factors such as system complexity, availability of data, interpretability requirements, and computational complexity [Reference Lakhmissi19, Reference Singh and Panjwani26]. A variety of research studies have been presented regarding NN-based trajectory tracking of mobile robots. These methods commonly use input variables, such as wheel angles to determine the position and orientation of mobile robot. Forward kinematics is used to produce training data. The NN method is highly interested in robotic control systems due to their ability to effectively approximate nonlinear functions [Reference Lakhmissi19, Reference Singh and Panjwani26]. The network architecture and types of neurons used in a NN determine the performance of the controlled system. NN-based control is limited due to computational difficulties arising from complex networks and require large amounts of training data to guarantee accurate path tracking [Reference Tan, Zhu and Yu18, Reference Lakhmissi19, Reference Gao, Wang and Hu27].

On the other hand, fuzzy logic uses human knowledge and experience to provide a non-mathematical approach to solving control problems [Reference Shill, Akhand, Asaduzzaman and Murase28]. This method makes it easier to process data at a higher level and integrate rule-based computing effectively. Fuzzy logic has been increasingly used in autonomous vehicle control in recent decades due to its extensive popularity in a variety of industries [Reference Oltean, Dulau and Puskas29]. It is particularly effective in handling nonlinear systems with uncertainties and often avoids the need for detailed system models. Due to their effective learning capabilities, fuzzy systems are well suited for developing inference algorithms for real-time motion planning. Fuzzy controllers are more adaptable in real-time applications as compared to NNs. Significantly, FLC exhibits faster response times than a NN when both are applied to the same system with identical load conditions [Reference Lakhmissi19, Reference Singh and Panjwani26]. A mobile robot’s local and global navigation, path planning, steering, and control are all future tasks that could be handled by fuzzy logic. The advantage of using fuzzy controllers is ability to deal with imprecise input and uncertaint [Reference Haider, Ali, Khan, Zheng, Bhutta, Usman, Zhi and Wang1, Reference Oltean, Dulau and Puskas29].

FLC algorithm is a promising solution due to its inherent resilience, resilience to input disturbances, and capacity for handling noise [Reference Lakhmissi19, Reference Singh and Panjwani26, Reference Zhang, Zhang and Gupta30]. The fact that FLC has been successfully implemented in challenging applications demonstrates its outstanding capabilities for handling nonlinearities. In ref. [Reference Zhang, Zhang and Gupta30], robustness is defined as the system’s capacity to continue operating in the presence of noise or disturbances from both the internal and the external. Fault tolerance is also defined as system ability to continue providing services in the presence of faults that arise during development or operation, including component damage [Reference Zhang, Zhang and Gupta30, Reference Mohammadzadeh, Taghavifar, Zhang and Zhang31]. In order to achieve fault tolerance and guarantee system stability and reliability, the reliable controllers are essential [Reference Oltean, Dulau and Puskas29, Reference Zhang, Zhang and Gupta30].

The trajectory tracking of the DD mobile robot is designed using a fuzzy-based proportional integral derivative (PID) controller in ref. [Reference Tiep, Lee, Im, Kwak and Ryoo32]. Selecting the appropriate and optimized number of rules and membership functions for a fuzzy-based PID controller is complicated. In ref [Reference Maatoug, M. and Jallouli33], electric wheelchair trajectory tracking using FLC control strategy is designed. Fuzzy sliding model-based control is used for controlling an autonomous DD mobile robot by considering the friction torques in refs. [Reference H.M. and Zaman34, Reference Solihina, Y.Chuana and Astutib35]. In ref. [Reference Wu, Jin, Zou, Qi, Xiao and Lou36], fuzzy sliding mode and backstepping controllers are used to track the motion of a two-wheeled robot to overcome model errors and external disturbances. The complexity of modeling and potential overfitting for particular operating conditions are some issues with fuzzy sliding mode controllers, which can limit the system’s performance. A fuzzy logic approach for efficiently controlling mobile robots under nonholonomic constraints was described in ref. [Reference Khesrani, Hassam, Boutalbi and Boubezoula37]. In ref. [Reference Rehman and Cai38], a comparison of the fuzzy-based PID and traditional PID under various mobile robot dynamics is presented. However, fuzzy logic performs better than other alternative controllers for nonlinear, complex, and undefined problems.

The FLC is characterized by adaptability, resilience, simplicity, and reliability that make it useful in a variety of applications have been emphasized in previous studies [Reference Alsharkawi, Fetyani, Ijaabo and Khasawneh2, Reference Zhang, Zhang and Gupta30]. However, with the large number of fuzzy controllers, the membership function parameter design is essentially based on trial and error [Reference Lakhmissi19]. Finding an accurate and effective controller is difficult when using the heuristic-based method of membership function selection. The large number rules are also another challenge for fuzzy control because the length of computations increases and slows the response of the system [Reference Shill, Akhand, Asaduzzaman and Murase28, Reference Solihina, Y.Chuana and Astutib35].

Tuning the membership function is a major difficulty of the FLC design, which has been addressed by researchers employing a variety of optimization strategies over the past 10 years [Reference Lakhmissi19, Reference Shill, Akhand, Asaduzzaman and Murase28]. Selecting parameters for the membership function has a big impact on creating reliable and efficient fuzzy controller. But the majority of the membership function selection is based on a trial-and-error methodology that lacks autonomy and learning [Reference Lakhmissi19, Reference Shill, Akhand, Asaduzzaman and Murase28, Reference Solihina, Y.Chuana and Astutib35]. We have developed optimized membership function parameters for mobile robot control in response to these relevant problems.

The kinematic model of a two-wheeled mobile robot with FLC-based nonholonomic DD trajectory tracking is the main objective of this study. This work concentrates on the kinematic model by considering the position, orientation, and velocities of the mobile robot without including dynamic forces and torques. For trajectory tracking control of nonholonomic mobile robots, FLC is commonly used due to its robustness, resilience, and effectiveness in handling uncertainties and nonlinearities. However, design of the huge number rule and membership functions are common problems for fuzzy controllers, which increases the length of computation times and decreases efficiency the controller [Reference Lakhmissi19, Reference Shill, Akhand, Asaduzzaman and Murase28].

To address these challenges, we have proposed a novel approach that uses PSO to optimize membership function parameters and GA to minimize the size of the rule base. PSO approach improve rule aggregation and feature selection to reduce computing costs and improve system performance. Even though many strategies have been used to modify FLC membership functions, automating this process still remains challenging [Reference Lakhmissi19]. Here, we have introduced an innovative approach to maximize the tuning membership function parameters of the proposed method for mobile robot control. To the best of our knowledge, PSO-based FLC membership function optimization has not been studied in any literature previously for mobile robot control. Our goal is to improve the performance of controllers in real-world scenarios.

The study deals with the use of FLC to control and track the trajectory of a two-wheeled DD mobile robot. Here, we have ensured that the velocity is uniform and the path planning is tracked precisely using the proposed method. Two inputs and two outputs are presented in the proposed controller. The mobile robot’s distance error and the orientation angle error are the inputs of controller. Likewise, the linear and rotational angular velocities of the two-wheeled DD mobile robot are the outputs of FLC. The initial position and orientation angle, in this case, are considered to be nonzero. For the position control of mobile robots, self-localization is a notably important feature. It is impossible to navigate the robot without knowing its location. The robot’s current location can be ascertained using a variety of different techniques, such as visual-based localization, the dead-reckoning approach, and other methods [Reference Haider, Ali, Khan, Zheng, Bhutta, Usman, Zhi and Wang1, Reference Alsharkawi, Fetyani, Ijaabo and Khasawneh2]. The vision camera is employed in this research work to locate the position and orientation angle of the mobile robot.

The contributions of this research paper are as follows: (1) design of an optimized FLC for a two-wheel DD mobile robot that can easily navigate in the plane; (2) design of the PSO approach for optimization of membership function parameters; (3) conducting MATLAB-based simulations to evaluate the proposed controller performance and comparing it with existing standard kinematic controllers such as minimum norm solution (MNS), Jacobian transpose-based controllers, and closed-loop inverse kinematics (CLIK); (4) extensive experimental is performed to test the efficiency of the proposed method in real-world scenarios; and (5) evaluating the robustness of the proposed controller in the presence of sensor noise.

The remainder of the paper is organized as follows: in Section II, the kinematic modeling of the wheeled mobile robot is presented. FLC design is discussed in Section III. Section IV presents the simulation findings and discussions, and Section V presents the conclusion.

Figure 1. (a) Two-wheel differential drive mobile robot. (b) Mobile robot coordinate system.

2. Kinematics model

In this work, a two-wheel DD robot is employed to evaluate the proposed controller. The prototype of the mobile robot with two-wheel DD is shown in Figure 1(a). The coordinate system of proposed mobile robot is shown Figure 1(b). Two DC motors are used for driving each individual wheel. This robot can move either in forward or backward but not in the sides. The mobile robot center is assigned by the coordinate system $(C\;:\;x_C, y_C)$ . It is assumed that the mobile robot will travel in a horizontal plane. We assign the arbitrary coordinate system $O\;:\; XY$ to the working plane. The position of the two wheeled mobile robot $C$ is defined as $(x, y, \phi )$ , $x$ is the coordinate of $C$ projected on $x$ -axis, $y$ is the coordinate $C$ projected on $y$ -axis, and $\phi$ is the orientation angle of coordinate system $C$ with respect to the coordinate system $O$ . The two-wheeled mobile robot’s kinematic model is designed at velocity level so that the wheels side slippage are negligible. The movement of the two-wheeled mobile robot on a curved trajectory is restricted to having the same instantaneous center of rotation in order to guarantee that the side slips are zero. The simplified constraints for the mobile robot with zero side slips are given as [Reference Tiep, Lee, Im, Kwak and Ryoo39]:

(2a) \begin{align} \dot{y} \cos \phi - \dot{x} \sin \phi &= 0 \end{align}
(2b) \begin{align} \dot{x} \cos \phi + \dot{y} \sin \phi + \frac{b}{2} \dot{\phi } &= r\dot{\theta }_R \end{align}
(2c) \begin{align} \dot{x} \cos \phi + \dot{y} \sin \phi - \frac{b}{2} \dot{\phi } &= r\dot{\theta }_L \end{align}

where the angular velocity components of the right and left wheels are defined by $\dot{\theta }_R$ and $\dot{\theta }_{L}$ , respectively, while $r$ is the wheel radius. The derived and simplified mobile robot kinematic model with all the aforementioned constraints is as follows:

(2d) \begin{equation} \begin{bmatrix} \dot{x} \\[3pt] \dot{y} \\[3pt] \dot{\phi } \end{bmatrix} = \begin{bmatrix} \frac{r}{2} \cos \phi & \frac{r}{2} \cos \phi \\[3pt] \frac{r}{2} \sin \phi & \frac{r}{2} \sin \phi \\[3pt] \frac{r}{b} & -\frac{r}{b} \end{bmatrix} \begin{bmatrix} \dot{\theta }_R \\[3pt] \dot{\theta }_L \end{bmatrix} \end{equation}

The wheel servo motors have an optical encoder. Motor encoders are used to measure the wheel velocities of the mobile robot. The velocities of the mobile robot $[\dot{x}\, \dot{y}, \dot{\phi }]^{\text{T}}$ are computed using Equation (2d), and the integral of these velocities provides the position $[x, y, \phi ]^{\text{T}}$ of the mobile robot with respect to a fixed coordinate system.

Let $V=\sqrt{\dot{x}^2+\dot{y}^2}$ represent the linear velocity of two-wheel mobile robot, while the linear velocity components of the right and left wheels, respectively, given by $V_R =r\dot{\theta }_R$ and $V_L = r\dot{\theta }_L$ . Therefore, the equation can be written as:

(2e) \begin{equation} \begin{bmatrix} V \\[3pt] \dot{\phi } \end{bmatrix} = \begin{bmatrix} \frac{1}{2} & \frac{1}{2} \\[3pt] \frac{1}{b} & -\frac{1}{b} \end{bmatrix} \begin{bmatrix} V_R \\[3pt] V_L \end{bmatrix} \end{equation}

From Equation (2e), the velocities of the wheels are derived in terms of mobile robot velocity and yaw rate $\dot{\phi }$ as:

(2f) \begin{equation} \begin{bmatrix} V_R \\[3pt] V_L \end{bmatrix} = \begin{bmatrix} 1 & \frac{b}{2} \\[3pt] 1 & -\frac{b}{2} \end{bmatrix} \begin{bmatrix} V \\[3pt] \dot{\phi } \end{bmatrix} \end{equation}

3. Fuzzy logic controller design

In this section, we are going to design FLC to fuzzify and deduce rules from the inputs and then defuzzify the outputs. Here, the FLC is designed with two inputs (distance and orientation angle errors) and two outputs (linear and rotational angular velocities). Figure 2 displays the FLC block diagram proposed to control two-wheeled DD mobile robots. Figure 3 depicts the FLC’s structure.

Figure 2. Block diagram of mobile robot control using an FLC.

There are four steps for designing a fuzzy controller: fuzzification, inference mechanism system, rule base, and defuzzification.

Figure 3. Structure of fuzzy logic controller.

3.1. Fuzzification

The fuzzy membership function is an essential tool for identifying the fuzziness inherent in the data and usually transforms the crisp input values supplied to the fuzzy inference system. The first step of the fuzzy inference system is called fuzzification, which involves transforming exact input values into fuzzy language variables with membership degrees between 0 and 1. The fuzzy membership function provides a visual representation of each value’s degree of membership in a specified fuzzy set.

The two input controllers are the distance error $e_{d}$ (which represents the difference between the desired position and the robot’s current position) and the orientation angle error $e_{\theta }$ (which represents the difference between the desired orientation angle and the robot’s current orientation angle). The linear and angular velocities are the outputs of the proposed controller. The values of the two inputs are given by Equations (3.1a) and (3.1b):

(3.1a) \begin{equation} e_d= \sqrt{(x_{T}-x)^2+(y_{T}-y)^2} \end{equation}
(3.1b) \begin{equation} e_{\theta }= tan{^{-1}}\left({\frac{y_{T}-y}{x_{T}-x}}\right) \end{equation}

where $x_{T}$ and $y_{T}$ are the target positions of mobile robot. The $e_d$ and $e_{\theta }$ are distance and orientation errors, respectively. In this study, fuzzification is accomplished by the application of the triangle structure membership function. The orientation error input employs five linguistic variables. These linguistic variables are listed as follows:

  • ZA $ \rightarrow$ Zero Angle

  • PA $ \rightarrow$ Positive angle

  • VPA $ \rightarrow$ Very Positive Angle

  • NA $ \rightarrow$ Negative Angle

  • VNA $ \rightarrow$ Very Negative Angle

Similarly, the distance error linguistic variables are also given as follows:

  • ZA $ \rightarrow$ Zero Distance

  • SD $ \rightarrow$ Small Distance

  • MD $ \rightarrow$ Medium Distance

  • LD $ \rightarrow$ Long Distance

  • VLD $ \rightarrow$ Very Long Distance

The following linguistic variables are used to determine output linear velocity membership functions:

  • ZS $ \rightarrow$ Zero Speed

  • SS $ \rightarrow$ Slow Speed

  • MS $ \rightarrow$ Medium Speed

  • FS $ \rightarrow$ Fast Speed

  • VFS $ \rightarrow$ Very Fast Speed

The following linguistic variables are also used to determine output angular velocity membership functions:

  • ZAV $ \rightarrow$ Zero Angular Velocity

  • MPAV $ \rightarrow$ Medium Positive Angular Velocity

  • MNAV $ \rightarrow$ Medium Negative Angular Velocity

  • LPAV $ \rightarrow$ Large Positive Angular Velocity

  • LNAV $ \rightarrow$ Large Negative Angular Velocity

Different membership functions are used to describe orientation error $(e_{\theta })$ and distance error ( $e_d$ ). Figures 4 and 5 show the input membership functions of orientation and distance errors, respectively. The membership functions for linear and angular velocity outputs are shown in Figure 6a and b, respectively.

Figure 4. Input membership functions for orientation angle error.

Figure 5. Input membership functions for distance error.

Figure 6. Membership functions for output angular velocity $({\omega })$ and linear velocity $(V)$ , respectively.

Tuning the membership function is a major difficulty of the FLC design, which has been addressed by researchers employing a variety of optimization strategies over the past 10 years [Reference Shill, Akhand, Asaduzzaman and Murase28, Reference Solihina, Y.Chuana and Astutib35]. Selecting parameters for the membership function has a big impact on creating trustworthy and efficient FLC designs. The majority of the membership function selection are based on a trial-and-error methodology that lacks autonomy and learning [Reference Shill, Akhand, Asaduzzaman and Murase28].

In this work, the PSO technique has been employed to find the optimal value of all input membership function’s parameters. Here, root mean square error (RMSE) between actual $(x,y)$ and desired position $(x_d,y_d)$ of mobile robot is considered as cost function, which is shown in Equation (3.1c):

(3.1c) \begin{equation} Cost\ function = \sqrt{\frac{1}{n}\sum \limits _{i=1}^n ((x_d(i)-x(i))^2+(y_d(i)-y(i))^2)} \end{equation}

The objective of this algorithm is to find the optimal value of nine parameters of input membership function while minimizing the cost value. In this PSO algorithm, nine swarms in total have been taken into account, and each swarm contains 50 particles. The swarm minimizes the cost function to advance toward the optimal position depending on the personal best attribute of each particle and the global best attribute. Velocity and position of the swarm are updated, according to the rules given by Equations (3.1d) and (3.1e):

(3.1d) \begin{equation} \begin{aligned}{V_j}(k+1) = & \ w{V_j}(k) + c_1 r_1 ({P_{Best}}_{j}(k) - P_j(k)) \\ & + c_2 r_2 (G_{Best}(k) - P_j(k)) \end{aligned} \end{equation}
(3.1e) \begin{equation}{P_j}(k+1) ={P_j}(k) +{V_j}(k+1) \end{equation}

Here, ${P_j}(k+1)$ and ${V_j}(k+1)$ are the $j^{th}$ particle’s position and velocity at $(k+1)^{th}$ iteration, respectively. ${P_{Best}}_{j}(k)$ is the personal best position of the $j^{th}$ particle at $k^{th}$ iteration. $G_{Best}(k)$ is the global best of the swarm at the $k^{th}$ iteration. The variables $c_1$ and $c_2$ are the coefficients of acceleration; $w$ is the inertia weight; and $r_1$ and $r_2$ are the random integers in the range [0, 1]. Figure 7(a)–(i) illustrate particles’ positions of all swarms at the last iteration and also cost function (Figure 7(j)) profile during the off-line optimization. From the view point of Fig. 7(a)–(i), optimal values for nine parameters are: ( $a_0= 0.0532, a_1=50, a_2=151, a_3=-80, a_4=-168, b_1=9.428, b_2=19.51, b_3=34.58, b_4=54.58$ ).

Figure 7. Results of PSO (optimal values of nine parameters and fitness function profile).

3.2. Rule base and inference system

The fuzzy controller operates by taking precise values as input for the errors in orientation angle and distance. These values are then fuzzified to provide membership degrees that correspond to appropriate fuzzy sets. This process is handled by the inference system, which turns the unclear input data into an output by adjusting the linear velocities of the robot’s left and right wheels based on a rule basis. The rule base is a set of statements that, utilizing if-then logic to link the inputs and outputs. We have employed five lingusitic variables for each inputs (orientation angle and distance errors) to simplify the reasoning.

The formation of the rule base for fuzzy controller is also another an essential process that enhances the system’s control. The complex interactions between input variables and desired output velocities are represented by the rules. These rules allow the system to follow the desired trajectory effectively by considering various error scenarios. The performance of the controller is adjusted through incremental changes to the fuzzy universe of discourse that improve tracking accuracy and robustness in a variety of operational conditions [Reference Shill, Akhand, Asaduzzaman and Murase28, Reference Lacevic, Velagic and Osmic40]. Once membership functions have been defined, it is necessary to formulate fuzzy rule bases. We have developed an expert system with 25 if-then rules. A total of $25$ rules base are given as follows for both linear and angular velocities:

  1. 1. If $e_d=ZD$ and $e_{\theta }=ZA$ , then $V=SS$ and $\omega =ZAV$ .

  2. 2. If $e_d=ZD$ and $e_{\theta }=PA$ , then $V=ZS$ and $\omega =MPAV$ .

  3. 3. If $e_d=SD$ and $e_{\theta }=ZA$ , then $V=SS$ and $\omega =ZAV$ .

  4. 4. If $e_d=SD$ and $e_{\theta }=PA$ , then $V=SS$ and $\omega =MPAV$ .

  5. 25. If $e_d=VLD$ and $e_{\theta }=VNA$ , then $V=VFS$ and $\omega =LNAV$ .

The rule base for the output linear velocity of two-wheeled DD mobile robots using FLC control is given in Table I. The FLC rule base for the mobile robot’s output angular velocity is given in Table II.

Table I. Rule base of the output linear velocity.

The two-wheel DD mobile robot under investigation has a maximum linear velocity of 20 cm/s. The actual velocities of the robot must be taken into account while designing the FLC to satisfy control objectives. Fuzzy control mechanisms are incorporated at both the input and output stages as part of this design. The language variable for linear velocity (V) is divided into equal interval in the universe of discourse [0, 20 cm/s], and this range is defined by five constant membership functions. In a similar manner, the angular velocity $(\omega )$ has five corresponding membership functions and is divided into equal intervals within the universe discourse [−180, 180 deg/s].

Table II. Rule base of the output angular velocity.

Here, we have presented the GA to automate and simplify the development of fuzzy control rules. GA uses genetic reduction approaches to find the minimum number of rules required to build fuzzy models in addition to automatically producing fuzzy rules. Computational complexity is reduced during the learning phase by removing redundant rules and merging conflicting rules [Reference Shill, Akhand, Asaduzzaman and Murase28, Reference Lacevic, Velagic and Osmic40]. Fuzzy controller rule is represented by the following structure:

$R^i$ =If ( $e_{d}$ is $A_{1h_{1}}^i$ and $e_{\theta }$ is $B_{2h_{2}}^i$ …) Then ( $V$ is $C_{m}$ ) and ( $\omega$ is $D_{m}$ )

In this case, distance error, orientation error, linear velocity, and angular velocity are represented by the membership functions A, $B$ , $C$ , and $D$ , respectively. The linguistic variables in the input and output increase exponentially with the number of fuzzy rules. For each crisp input, $h=1,2,3,\cdots, n$ , the number of linguistic variables for the crisp input is given by $h_1$ , $h_2$ , $h_3, \ldots, h_n$ and the crisp output linguistic variable is represented by $h_1$ , $h_2$ , $h_3$ , $h_4, \ldots, h_m$ . The candidate rules $r$ is given as $r$ = $h_1 \times h_2 \times h_3 \times h_4, \cdots, h_n$ .

The output of the fuzzy rule in the fuzzy model is either a constant or a linear combination of the input variables. For FLC, the total candidate rules increase by $p=r\times h_m$ , if the consequent value is constant and related to the linguistic variables of output. As a result, in order to determine the proper control action, developing such a controller requires a large amount of computing time per step. In order to generalize fuzzy control rules, the weight factor $w_m^i$ must be included in order to assess whether a rule should be included in the rule base. The generalized rule base structure is rewritten as:

$R^i$ =If ( $e_{d}$ is $A_{1h_{1}}^i$ and $e_{\theta }$ is $B_{2h_{2}}^i$ …) Then ( $V$ is $w_m^i C_{m}$ ) and ( $\omega$ is $w_m^i D_{m}$ )

$\rightarrow$ If $\sum _{m=1}^{h_m}w_m^i=0$ , if the $i^{th}$ rule has no consequences and then it should be removed from the candidate rule base.

$\rightarrow$ If $\sum _{m=1}^{h_m}w_m^i=1$ , if the $i^{th}$ rule has a single consequence and hence it should be included straight into the rule base.

$\rightarrow$ If $\sum _{m=1}^{h_m}w_m^i=2$ or more, if the $i^{th}$ rule has two or more consequences, we have applied the following equation to merge the two or more consequences into one consequence: $V_N=\frac{1}{2}\sum _{i=1}^{n}Z_{C_i}$ , where the number of consequences is denoted by $n$ , the center numeric value of each fuzzy rule consequence is represented by $Z_{C_i}$ , and the final numerical value is represented by $V_N$ . Several results are produced by selecting the linguistic variable for $V_N$ that has the highest membership value.

3.2.1. Defuzzification

The control system’s inference engine is responsible for making decisions via approximative reasoning. Fuzzy inference results are obtained by defuzzification, which is the process of obtaining a single number from the combined fuzzy set output. Defuzzification is essentially accomplished by an algorithm that chooses the best crisp value from the fuzzy collection. We have used the center of gravity (CoG) technique for defuzzification in our study. The CoG is located at center of the body and represents the point at which the majority of an object’s weight is concentrated. Mathematically, CoG is given as follows:

\begin{gather*} Z_{crisp}=\frac{\int \mu (z) \,z\times dz}{\int \mu (z) \, dZ} \end{gather*}

where $Z_{crisp}$ is represents the crisp (non-fuzzy) output value obtained through defuzzification, while $\int \mu (z)$ is represents the membership function of the fuzzy set at a particular value $z$ . Finally, these specifications can be executed for fuzzy controller through the running of basic MATLAB code on suitable computer systems.

4. Results and discussions

To demonstrate the effectiveness of the suggested FLC with optimal membership function parameters, both the simulation and experimental results are provided and analyzed in this section. The two-wheeled mobile robot parameters used for simulation and experimental purposes are presented in Table III. The minimum and maximum active operating conditions of the driving wheels are also presented in Table III. If the output results are outside these specific operating conditions, the drive wheels will be in the dead zone or saturation region.

Table III. Specification of the mobile robot.

4.1. Simulation results

The proposed method and other control techniques are simulated using MATLAB software. The performance and reliability of the proposed controller for a two-wheel DD mobile robot are assessed using a variety of trajectory tracking approaches, including straight-line, circular, triangular, and Lissajious paths. Furthermore, different types of controllers are employed for comparative analysis to highlight the advantages of the proposed approach. This study used three controllers for comparison purposes: MNS, CLIK, and Jacobian transpose-based controllers. Here, the controller’s performance is evaluated using the following parameters: RMSE, maximum tracking error, standard deviation error, and controller effort. The position and orientation of the two-wheeled mobile robot are assumed to be nonzero initially, which are given as $x_0 = 0.01$ m, $y_0 = 0.01$ m, and $\phi _0=-0.2$ rad.

Figure 8. Straight-line trajectory tracking simulation results with nonzero initial conditions.

4.1.1. Straight-line path tracking

Figure 8 presents the simulation outcomes for tracking a straight line using different controllers. In the figure, the desired trajectory represented by $P_d$ , while $P_{Jt}$ is the actual path with Jacobian transpose-based controller, $P_{CLIK}$ is the actual path with CLIK, and $P_{FLC}$ is the actual path with the proposed FLC. The path tracking result for the MNS controller is not displayed in Figure 8 due to a substantial discrepancy between the desired path and the actual path. On the other hand, Table V displays the tracking errors for each controller. The settling time $t_s$ of the Jacobian transpose-based controller is equal to 0.1 s, which is smaller than the other controllers. However, the controller efforts presented in Table IV ( $\omega _R = 42.4$ rad/s, $\omega _L = 48.2$ rad/s) are much larger than the other controllers and not within the defined practical limits, which may lead to saturation in a practical scenario. Even though the FLC has the largest settling time of 0.2 s, the controller effort is smaller ( $\omega _R = 3.2$ rad/s, $\omega _L = 3.2$ rad/s) and within the practical limits. The tracking performance of the controllers is recorded in Table V. FLC has the lowest RMSE as compared to other controllers. The CLIK controller has the least maximum position error $\max \{e_{xy}\} = 0.0141$ m and the least standard deviation $\sigma \{e_{xy}\} = 0.0024$ m with respect to the desired path.

Table IV. Controller efforts of various controllers on different paths with nonzero initial conditions.

Table V. Tracking the performance of the different controllers on various paths with nonzero initial conditions.

Figure 9. Circular path trajectory tracking simulation results with nonzero initial conditions.

4.1.2. Circular path tracking

Figure 9 displays the simulation outcomes for a circle path tracking using the proposed and different other controllers. In this figure, the desired trajectory is represented by $P_d$ , while $P_{Jt}$ is the actual path with Jacobian transpose-based controller, $P_{CLIK}$ is the actual path of the CLIK, and $P_{FLC}$ is the actual path with the proposed FLC. The performance of the MNS-based controller is given in Table V. In this case, the MNS RMSE $\{e_{xy}\}=0.3716$ m, and it is very high as compared to other controller’s performance. The circle tracking using a Jacobian transpose-based controller has a shorter settling time $(t_s)$ when compared to the other controllers. However, the controller requires significantly greater effort or higher angular velocities ( $\omega _R = 42.4$ rad/s and $\omega _L = 48.2$ rad/s), which could lead to saturation in real-world applications. In circular tracking, even though the FLC’s settling time is longer than listed controllers, the controller efforts are still within reasonable bounds at $\omega _R = 3.2$ rad/s and $\omega _L = 2.8$ rad/s. Among the listed controllers, FLC has the lowest RMSE value. Regarding the planned path at each instant in time, the CLIK controller has the lowest standard deviation error $\sigma \{e_{xy}\} = 0.0006$ m and the lowest maximum position error $\max \{e_{xy}\} = 0.0141$ m, when compared to the FLC, Jacobian transpose-based controller, and MNS.

Figure 10. Triangular path trajectory tracking simulation results with nonzero initial conditions.

4.1.3. Triangular path tracking

Here, the simulation outcomes for tracking a triangular path using different controllers, namely Jacobian transpose-based controller, CLIK, FLC, and MNS, are explained. The desired path is represented by $P_d$ in the figure, while the actual paths of the proposed FLC, CLIK, and Jacobian transpose-based controller are represented by $P_{FLC}$ , $P_{CLIK}$ , and $P_{Jt}$ , respectively. The simulation results for the Jacobian transpose-based controller, CLIK, and FLC are displayed in Figure 10, while the MNS simulation result is not included because there is a significant discrepancy between the desired and actual paths. However, the performance data of all controllers, including MNS, are presented in Table V. The settling time $(t_s)$ of the Jacobian transpose-based controller is 0.05 s, which is the shortest among all the controllers tested. However, the controller efforts shown in Table IV ( $\omega _R = 43.2$ rad/s and $\omega _L = 48.2$ rad/s) are significantly greater than those of the other controllers, which is practically infeasible. FLC has a longer settling time compared to other controllers, but the controller effort is within acceptable limits ( $\omega _R = 8.9$ rad/s and $\omega _L = 4.6$ rad/s). The tracking error simulation results are shown in Table V for all controllers, including MNS. FLC has the lowest RMSE of all the controllers, indicating that it performs better in terms of overall tracking accuracy. However, the CLIK controller has the least maximum position error $\max \{e_{xy}\} = 0.0141$ m and the least standard deviation $\sigma \{e_{xy}\} = 0.0035$ m compared to the other controllers for circular path tracking.

Figure 11. Lissajous path trajectory tracking simulation results with nonzero initial conditions.

4.1.4. Lissajous path tracking

Figure 11 displays the outcomes simulation of the trajectory tracking for the Lissajous path with various controllers. The desired trajectory is represented by $P_d$ in the figure, whereas the actual paths are represented by $P_{Jt}$ , $P_{CLIK}$ , and $P_{FLC}$ for the Jacobian transpose-based controller, CLIK, and proposed FLC, respectively. Since the performance of the MNS-based controller is poor, the tracking trajectory of the MNS is not included in Figure 11. Table V shows the trajectory tracking errors for all controllers, including MNS. The maximum controller efforts demanded by the Jacobian transpose-based controller are $\omega _R = 43.2$ rad/s and $\omega _L = 48.2$ rad/s, which is not in defined practical limits. On the other hand, FLC has the longest settling time, but its controller effort is within acceptable limits ( $\omega _R = 3.1$ rad/s and $\omega _L =3.2$ rad/s). The CLIK controller has the lowest maximum position error $\max \{e_{xy}\} = 0.0141$ m and lowest standard deviation $\sigma \{e_{xy}\} =0.0005$ m in relation to the planned path at every time, whereas FLC also has the lowest RMSE of all the controllers. The zoomed view of the trajectory in Figure 11 shows that there is a steady-state error in the case of the CLIK controller.

Figure 12. Controller efforts velocities of the mobile robot while tracking Lissajous path using FLC with nonzero initial conditions.

Figure 13. Position errors of the mobile robot while tracking Lissajous path using FLC with nonzero initial conditions.

The controller efforts of the FLC for Lissajous path tracking is presented in Figure 12. It is clear that the angular velocities of the wheels are less than 3.5 rad/s, and the orientation rate (yaw rate) of the mobile robot is also in the range of $\pm 0.4$ rad/sec. The trajectory tracking error of the FLC with respect to time is presented in Figure 13. The position error of the mobile robot in the $x$ - $y$ plane is within the range of $\pm 0.025$ m. Due to the nonzero initial position, the maximum distance error $e_{xy}$ is equal to $0.025$ m. The orientation error $e_\phi$ of Lissajous path tracking for FLC with respect to time is also shown in Figure 13. This figure demonstrates that the error is large at the initial stage because of the initial orientation being nonzero, and after a few seconds, it is reduced to a small value, which is varied within a range of $\pm 0.05$ rad (Figure 14).

Figure 14. Experimental results of path tracking on a circular path.

4.2. Proposed method simulation results considering the noise

As discussed in the previous section, FLC is proposed for the trajectory tracking of the two-wheeled DD mobile robot for this study. FLC is preferable because it can handle the uncertainty and inaccurate data associated with controlling systems compared to other controllers [Reference Haider, Ali, Khan, Zheng, Bhutta, Usman, Zhi and Wang1, Reference Alsharkawi, Fetyani, Ijaabo and Khasawneh2, Reference Zhang, Zhang and Gupta30]. In particular, this controller shows the capacity to reduce tracking errors while maintaining task efficiency when sensor noise or disturbance is added to the system. Several previous studies have demonstrated that a fuzzy controller performs effectively in nonlinear environments [Reference Alouache and Wu3Reference Ko, Ryuh, Kim, Suprem and Mahalik5, Reference Zhang, Zhang and Gupta30].

Fuzzy control can also improve the overall robot system’s robustness [Reference Zhang, Zhang and Gupta30]. In order to verify the robustness of the proposed system, an investigation is carried out to examine the controller’s actions when noise affects the robot’s localization system. The purpose of this study is to evaluate the robustness of controller, particularly with regard to trajectory tracking tasks. Basically, analyzing the controller’s response to noise in the localization system-induced errors or uncertainty in the robot’s trajectory tracking provides important information on the effectiveness and robustness of the control system. This type of analysis helps to increase the robustness and reliability of the controller in real-world scenarios. Four different types of trajectory tracking paths are used for simulation purposes to verify the proposed controller in this study. To verify the robustness of the proposed controller, randomly generated sensor noise is considered and simulated using various trajectory tracking paths.

4.2.1. Straight-line path trajectory tracking simulation results in presence of noise

The simulation results for straight-line trajectory tracking of the proposed FLC method incorporating presence noise and various controllers are shown in Figure 15. The desired trajectory is denoted by $P_{d}$ , while Jacobian transpose-based controllers, CLIK, and FLC represented by $P_{Jt}$ , $P_{CLIK}$ , and $P_{FLC}$ are the actual trajectories for each respective controller. This figure shows when 0.01 randomly generated noise is simulated with the proposed system. The controller efforts remain within the expected operating range even the noise is added to system. The comparison of FLCs with and without noise is shown in Table VI. This outcome highlights the FLC controller’s stability and resilience, as well as demonstrating its capacity to continue operating even in the case of errors and uncertainties in the system.

Table VI. The proposed conventional FLC, type 3 FLC, FLC-based SMC, optimized FLC, and FLC in the presence of noise are compared depending on varous criteria.

Figure 15. Straight-line path trajectory tracking simulation results with nonzero initial conditions with presence of noise.

4.2.2. Circular path trajectory tracking simulation results in presence of noise

Figure 16 shows the circular trajectory tracking simulation results. This simulation results include the effect of presence noise along with other controllers, including the proposed FLC technique. In this approach, $P_{d}$ represents the desired trajectory. In the meantime, the Jacobian transpose-based controller, CLIK, and FLC represent the actual trajectories, which are represented by $P_{Jt}$ , $P_{CLIK}$ , and $P_{FLC}$ , respectively.

The figure shows when proposed method is simulated with randomly generated sensor in order to assess the stability and robustness of the proposed approach. The controller’s efforts remain within the expected operating range even when noise is introduced. The comparison of robust fuzzy and proposed FLC without noise is presented in Table VI. This demonstrates the FLC controller’s robustness and stability as well as its capacity to continue operating even when the system is disturbed by uncertainty and system failures.

Figure 16. Circular path trajectory tracking simulation results with nonzero initial conditions with presence of noise.

4.2.3. Triangular path trajectory tracking simulation results in presence of noise

Figure 17 shows results of the triangular trajectory tracking simulation results in presence of noise. This comprehensive simulation results explores the effects of presence noise and other types controllers. In this figure, the desired trajectory tracking is represented by $P_d$ , while the actual trajectories FLC, CLIK, and Jacobian transpose-based controllers are represented by $P_{FLC}$ , $P_{CLIK}$ , and $P_{Jt}$ , respectively.

The proposed method is simulated with random noise for traingular path tracking as shown in the figure. The controller exhibits remarkable resilience to external disturbances as controller efforts are effectively remained within the specified working range even in the presence of noise. The performance comparison between the robust fuzzy method and the suggested fuzzy methodology is shown in Table VI. This result highlights the FLC controller’s effectiveness in practical situations by demonstrating its ability handling nonlinearities and uncertainties while maintaining stability and robustness.

Figure 17. Triangular path trajectory tracking simulation results with nonzero initial conditions with presence of noise.

4.2.4. Lissajious path trajectory tracking simulation results in presence of noise

The simulation result of the proposed method with noise for Lissajious path trajectory tracking is shown in Figure 18. This comprehensive simulation study examines the effects of noise presence on the proposed novel optimized FLC method. The desired trajectory tracking is represented by $P_d$ . Concurrently, the actual paths FLC, CLIK, and Jacobian transpose-based controllers are represented by $P_{FLC}$ , $P_{CLIK}$ , and $P_{Jt}$ , respectively.

The controller has exceptional resistance to external disruptions, as it successfully maintains controller efforts within the designated operating range even when noise is present. The robust fuzzy approach and the proposed fuzzy approach are compared in terms of performance in Table VI. This result emphasizes the FLC controller’s effectiveness in practical situations by demonstrating its ability to handle uncertainty and nonlinearities while maintaining stability.

Figure 18. Lissajious path trajectory tracking simulation results with nonzero initial conditions with presence of noise.

Figure 19 shows the RMSE for orientation and position during Lissajious trajectory tracking using the FLC technique with system noise. This result shows the stability and robustness of the proposed FLC in case uncertainties and disturbance by noise. The FLC technique demonstrates its reliability in scenarios with changing variables and disturbances by maintaining a constant performance when compared to the classical controller even when noise is applied to the system.

Figure 19. Position and orientation errors of mobile robot simulation results while following the Lissajious path trajectory tracking with nonzero initial conditions with presence of noise.

The tracking of a Lissajious path trajectory while simulating noise are shown in Figure 20. The proposed fuzzy controller maintains the angular velocities of each wheel within the given operating ranges, even when noise is present. This result is evidence of the FLC controller’s stability and resilience, demonstrating its effectiveness in unpredictable real-world situations.

Additionally, the constant stability of angular velocities within allowed bounds highlights the reliability of the FLC technique in coordinating accurate and regulated movements of the mobile robot. This ensures improved trajectory tracking by giving the controller’s performance trust, especially in dealing with changing external conditions and disturbances.

Figure 20. Angular velocities of mobile robot simulation results while following the Lissajious path trajectory tracking with nonzero initial conditions with presence of noise.

4.3. Experimental results

According to the simulation findings from Section 4.1, the FLC-based path tracking controller is effective performance than other controllers like MNS, CLIK, and Jacobian transpose-based controllers. Experiments were carried out using circular and Lissajious path tracking trajectories to evaluate the efficiency of the controllers. Figure 14 shows experimental results of the 0.4 m radius circular path using FLC and CLIK. The robot’s actual trajectories are represented by $P_{FLC}$ and $P_{CLIK}$ , respectively, for the proposed FLC and CLIK, whereas the desired trajectory is represented by $P_d$ as shown in the figure. The maximum distance errors for the proposed $P_{FLC}$ and $P_{CLIK}$ , $\max \{e_d\}$ is 0.001 m and 0.003 m, respectively. Since FLC tracking error is smaller than CLIK, it can be concluded that FLC controller is capable of tracking the circular path more accurately than CLIK.

Experimental results for the Lissajous path using FLC and CLIK are presented in Figure 21. The desired trajectory is represented by $P_d$ , while the actual trajectory using a FLC is represented by $P_{FLC}$ , and the actual trajectory using CLIK is denoted by $P_{CLIK}$ . The maximum distance error $\max \{e_d\}$ for paths $P_{FLC}$ and $P_{CLIK}$ is 0.005 m and 0.007 m, respectively. The tracking error of FLC is less than that of the CLIK method, demonstrating that the FLC controller can track the complex Lissajous path with greater accuracy than CLIK controller. Figure 22 shows the two-wheeled mobile robot’s experimental snapshots while tracking the circular path. The experimental snapshots of the two-wheeled drive robot while tracking the Lissajious path are also presented in Figure 23.

Figure 21. Experimental results of path tracking on a Lissajous path using proposed controller and CLIK.

Figure 22. Experimental snapshots during circular path tracking by the robot.

Figure 23. Experimental snapshots during Lissajous path tracking by the robot.

4.4. Discussions

Mobile robots consist various technologies, including sensors, actuators, electrical components, information processing, and communication systems [Reference Tiep, Lee, Im, Kwak and Ryoo32]. In recent decades, the mobile robots have become more widely used in a variety of applications, including the industrial and service sectors [Reference Singh, Gupta, Meitzler, Hou, Garg, Solo and Zadeh41]. The increasing application of mobile robots in many engineering fields recent years has led to an increasing awareness among researchers regarding the significance of investigating and improving autonomous vehicle technology. The development of efficient controllers is an essential factor in improving performance mobile robot [Reference Haider, Ali, Khan, Zheng, Bhutta, Usman, Zhi and Wang1Reference Alouache and Wu3, Reference Mohammadzadeh, Taghavifar, Zhang and Zhang31].

Among the primary challenges in controlling mobile robots are trajectory tracking and stability [Reference Tan, Zhu and Yu18, Reference Lakhmissi19, Reference Shojaei, Shahri, Tarakameh and Tabibian45Reference Kumar and Parhi47]. The goal of path tracking is to precisely lead the robot along predefined tracks within predetermined times by utilizing geometric parameters [Reference Liu and Dai48]. Because of its resilience and adaptability, FLC can be used in a variety of control applications [Reference Zhang, Zhang and Gupta30].

Fuzzy logic has used in many different fields, including identification of faces, unmanned aerial aircraft, medical diagnostics, and transportation systems. In several industries, including chemical, automotive, and aerospace, fuzzy logic is used to support decision-making, system control, and optimization processes [Reference Mohammadzadeh, Taghavifar, Zhang and Zhang31, Reference Singh, Gupta, Meitzler, Hou, Garg, Solo and Zadeh41, Reference Bui and Phung49].

In recent years, many researchers have used mobile robot trajectory tracking using FLCs [Reference Haider, Ali, Khan, Zheng, Bhutta, Usman, Zhi and Wang1Reference Alouache and Wu3, Reference Lakhmissi19, Reference Shill, Akhand, Asaduzzaman and Murase28, Reference Mohammadzadeh, Taghavifar, Zhang and Zhang31, Reference Solihina, Y.Chuana and Astutib35]. However, tuning the membership functions of FLC poses challenges due to its complexity and time-consuming nature [Reference Lakhmissi19, Reference Shill, Akhand, Asaduzzaman and Murase28, Reference Solihina, Y.Chuana and Astutib35]. In this study, we have proposed trajectory tracking using FLC specifically designed for two-wheeled DD mobile robots. In order to optimize the membership function parameters and enable effective tuning, we have implemented the PSO algorithm. Here, the proposed method is validated through MATLAB simulation and experimental results. To assess the effectiveness of the FLC further, we have tested different path tracking scenarios, such as circular, triangular, straight-line, and Lissajous paths. Triangular and Lissajous paths are more challenging to track than straight-line and circular paths, which shows the strength and efficiency of the proposed controller compared to other related paths.

Moreover, the proposed approach’s resilience is thoroughly assessed by adding randomly generated sensor noise data using MATLAB simulation. This extensive evaluation covers multiple tracking trajectories and reveals the system’s resilience to external noise. The results of the simulation demonstrate the effectiveness of the suggested methodology in preserving reliable performance even when there are external factors that affect the controller.

We have also evaluated our FLC’s performance by comparing it with three alternative controllers (MNS, CLIK, and Jacobian transpose-based controller) with different trajectory tracking tasks conducted under the same circumstances. Controller effort, maximum tracking error, standard deviation error, and RMSE are some of the critical metrics used for the evaluation. Controller efficiency and trajectory tracking precision of simulation results show that the FLC performs better than the CLIK, MNS, and Jacobian transpose-based controllers. The lowest maximum position error and standard deviation error are shown by the CLIK controller. However, the FLC provides accurate trajectory tracking with reduced RMSE and controller effort. Even though the FLC requires greater computing time than MNS and CLIK, it is more flexible and easy to use in a variety of robotic applications [Reference Lakhmissi19, Reference H.M. and Zaman34]. Conversely, the controller-based Jacobian transpose is limited to specific types of mobile robots and requires extensive computations for inverse kinematics. The trajectory tracking capability of the FLC is different from other controllers because of its capacity to handle uncertainty, interpolation ability, and inference systems [Reference Abdelwahab, Parque, Elbab, Abouelsoud and Sugano42, Reference Peng and Shi50, Reference Cheng, Hou, Tan and Zhang51].

A comparative analysis between conventional FLC, type 3 FLC, FLC-based SMC, FLC with noise, and optimized FLC using PSO-based optimization are presented in Table VI. The comparison is based on simulation results generated by all controllers and assessed by using performance criteria. The presented results demonstrate that the optimized FLC approach produced significant improvements in trajectory tracking performance. Performance parametric evaluations such as RMSE, maximum distance error, and standard distance error are improved using the optimized FLC. These improvements come as a result of the membership function parameter tuning using PSO algorithms, which produces optimized values that are more appropriate for the functioning of the proposed controller. The significant improvements in tracking performance and robustness are also displayed by the type 3 FLC and FLC-based SMC. $\text{SMC}$ has the capacity to overcome external disturbances, model uncertainties, and parameter variations, making it one of the most practical techniques. However, the chattering phenomenon affects SMC [Reference Korayem, Safarbali and Lademakhi52]. Adaptive SMC and optimal SMC with a state-dependent Riccati equation are two methods that have been proposed to mitigate this effect. However, adaptive SMC increases the system response delay, which can make it challenging for wheeled mobile robot (WMR) to accurately track the trajectory [Reference Korayem, Safarbali and Lademakhi52].

PSO exhibits superior convergence rates compared to other algorithms, attributed to its direct exploration strategy, which proves advantageous in scenarios prioritizing efficiency. Furthermore, PSO’s minimal parameter requirements and simplicity make it easier to implement and apply, which appeals especially to users looking for simple optimization solutions. Moreover, PSO’s ability to achieve a balance between exploration and exploitation guarantees efficient search space navigation, which adds to its application in a variety of optimization circumstances.

Table VII presents comparative studies of the proposed FLC in comparison to various alternative control strategies that have been documented in the literature. The table shows that the proposed controller performs better than other controllers in terms of tracking error, stability, rate of convergence, and computational complexity.

Table VII. Comparing the suggested approaches with other available controllers from various literature sources.

5. Conclusion and future scope

This paper has proposed an optimized FLC for position control and trajectory tracking of the DD mobile robot. The effectiveness of the controller was compared with several control strategies, such as CLIK, MNS, and Jacobian transpose-based controllers, based on the control performance criterion. The performance of each control technique was evaluated based on the controller effort, RMSE, maximum error, and standard deviation error. The results showed that the FLC-based controller outperformed as compared to other techniques in terms of controller effort and RMSE. The simulation and experimental results show the potential of the FLC method for position control and trajectory tracking in mobile robots.

Future studies may examine how to improve obstacle avoidance capabilities using FLCs. In real-world applications, this development would greatly increase the flexibility and resilience of mobile robotic systems. In order to further enhance system performance, future development should take into account combining advanced FLC with SMC.

Author contributions

All authors actively contributed to the design and composition of the article. Tesfaye Deme Tolossa wrote the entire article and improved the results. The entire work has been carried out under the leadership of M. Felix Orlando.

Financial support

No any research funding is included for support in this study.

Competing interests

No any conflicts of interest.

Ethical approval

No any experiment is included relating with human and animal particpants.

References

Haider, M. H., Ali, H., Khan, A. A., Zheng, H., Bhutta, M. U. M., Usman, S., Zhi, P. and Wang, Z., “Autonomous Mobile Robot Navigation using Adaptive Neuro Fuzzy Inference System, In: IEEE Inter. Conf. on innovations and Development of Information Technologies and robotics (IDITR), (2022) pp. 9399.Google Scholar
Alsharkawi, A., Fetyani, M. A., Ijaabo, E. M. and Khasawneh, H., “Adaptive Neuro-Fuzzy Inference System for a Three-Wheeled Omnidirectional Mobile Robot. In: IEEE International Conference on Applied Engineering (ICAE), (2020) pp. 16.Google Scholar
Alouache, X. and Wu, Q., “Genetic Algorithms for Trajectory Tracking of Mobile Robot Based on PID Controller,” In: 2018 IEEE 14th Inter. Conference on Intelligent Computer Communication and Processing (ICCP), (2020) pp. 237241.Google Scholar
Antonelli, G., Chiaverini, S. and Fusco, G., “Fuzzy-logic-based approach for mobile robot path tracking,” IEEE Trans Fuzzy Syst 15(2), 211221 (2007).CrossRefGoogle Scholar
Ko, M. H., Ryuh, B.-S., Kim, K. C., Suprem, A. and Mahalik, N. P., “Autonomous greenhouse mobile robot driving strategies from system integration perspective: Review and application,” IEEE/ASME Trans Mech 20(4), 17051716 (2015).CrossRefGoogle Scholar
Zhang, J., Gong, Q. and Wang, J., “Finite-time global trajectory tracking control for uncertain wheeled mobile robots,” IEEE Access 8, 187808187813 (2020).CrossRefGoogle Scholar
Lima, G. S., Moreira, V. R. F. and Bessa, W. M., “Accurate trajectory tracking control with adaptive neural networks for omnidirectional mobile robots subject to unmodeled dynamics,” J Braz Soc Mech Sci 45(1), 48 (2023).Google Scholar
Kashyap, A. K., Lagaza, K. P. and Pandey, A., “Dynamic Path Planning for Autonomous Mobile Robot using Minimum Fuzzy Rule Based Controller with Avoidance of Moving Obstacles,” In: IEEE International Conference on Recent Innovations in Electrical, Electronics and Communication Engineering (ICRIEECE), (2018) pp. 33303335.Google Scholar
Kayacan, E., “Closed-loop error learning control for uncertain nonlinear systems with experimental validation on a mobile robot,” IEEE/ASME Trans Mech 24(5), 23972405 (2019).CrossRefGoogle Scholar
Hwang, C.-L., “Comparison of path tracking control of a car-like mobile robot with and without motor dynamics,” IEEE/ASME Trans Mech 21(4), 18011811 (2016).CrossRefGoogle Scholar
Asai, M., Chen, G. and Takami, I., “Neural Network Trajectory Tracking of Tracked Mobile Robot,” In: IEEE 16th Interernational Multi-Conference on Systems, Signals and Devices (SSD), (2019) pp. 225–23.Google Scholar
Wang, T.-Y. and Chang, C.-D., “Hybrid Fuzzy PID Controller Design for a Mobile Robot,” In: IEEE International Conference on Applied System Invention (ICASI), (2018) pp.650653.Google Scholar
Chang, T. Y. and Chang, C. D., “Genetic Algorithm Based Parameters Tuning for the Hybrid Intelligent Controller Design for the Manipulation of Mobile Robot,” In: IEEE 16th International Conference on Industrial Engineering and Applications (ICIEA), (2019) pp. 810813.Google Scholar
Cheng, J. and Wang, B.. Flocking Control of Mobile Robots via Simulated Annealing Algorithm,” In: IEEE 39th Chinese Control Conf (CCC), (2020) pp. 39313935.Google Scholar
Meerza, S. I. A., Islam, M. and Uzzal, D. M. M., “Q-learning Based Particle Swarm Optimization Algorithm for Optimal Path Planning of Swarm of Mobile Robots,” In: IEEE 1st International Conference on Advances in Science, Engineering and Robotics Technology (ICASERT), (2019) pp. 15.Google Scholar
Chen, Y.-H. and Chang, C.-D., “An Intelligent ANFIS Controller Design for a Mobile Robot,” In: IEEE Inter. Conference on Applied system Invention (ICASI), (2018) pp. 445448.Google Scholar
J.C.L.Barreto, S., Conceicao, A. G. S., Dorea, C. E. T., Martinez, L. and Pier, E. R., “Design and implementation of model-predictive control with friction compensation on an omnidirectional mobile robot,” IEEE/ASME Trans Mech 19(2), 467476 (2014).CrossRefGoogle Scholar
Tan, N., Zhu, Z. and Yu, P., “Neural-Network-Based Control of Wheeled Mobile Manipulators with Unknown Kinematic Models,” In: IEEE International Symposium on Autonomous Systems, (2021) pp. 212216.Google Scholar
Lakhmissi, C., “Comparison Between Fuzzy, Neural and Neuro-Fuzzy Controllers for Mobile Robot Path Tracking,” In: IEEE, Conference on Control, Engineering and Information Technology, (2015). PP. 16.(CEIT),Google Scholar
Kayacan, E. and Chowdhary, G., “Tracking error learning control for precise mobile robot path tracking in outdoor environment,” J Intell Robot Syst 95(3-4), 975976 (2019).CrossRefGoogle Scholar
Cai, J., Jiang, H., Chen, L., Liu, J., Cai, Y. and Wang, J., “Implementation and development of a trajectory tracking control system for intelligent vehicle,” J Intell Robot Syst 94(1), 251264 (2019).CrossRefGoogle Scholar
Zhai, J.-Y. and Song, Z.-B., “Adaptive sliding mode trajectory tracking control for wheeled mobile robots,” Int J Control 92(10), 22552262 (2019).CrossRefGoogle Scholar
Deremetz, M., Lenain, R. and Thuilot, B., “Path Tracking of a Two-Wheel Steering Mobile Robot: An Accurate and Robust Multi-Model off-Road Steering Strategy,” In: IEEE International Conference on Robotics and Automation (ICRA), (2018) pp. 30373044.Google Scholar
Kumar, S., PremKumar, P., Dutta, A. and Behera, L., “Visual motor control of a 7DOF redundant manipulator using redundancy preserving learning network,” Robotica 28(6), 7958102010 (2010).CrossRefGoogle Scholar
Noormohammadi-Asl, A., Saffari, M. and Teshnehlab, M., “Neural Control of Mobile Robot Motion Based on Feedback Error Learning and Mimetic Structure,” In: IEEE 26th Iranian Conference on Electrical Engineering, 2018) pp. 778783. (ICEE2018).CrossRefGoogle Scholar
Singh, N. and Panjwani, B., “Comparison of neural network and fuzzy logic control for nonlinear model of two link rigid manipulator,” Int J Control Autom 7(4), 417428 (2014).CrossRefGoogle Scholar
Gao, H., Wang, X. and Hu, J., “Adaptive Tracking Control of Mobile Robots Based On Neural Network and Sliding Mode Methods,” In: IEEE 38th Youth Academic Annual Conference of Chinese Association of Automation, (2023) pp. 962967.(YAC).CrossRefGoogle Scholar
Shill, P. C., Akhand, M. A. H., Asaduzzaman, M. D. and Murase, K., “Optimization of fuzzy logic controllers with rule base size reduction using genetic algorithms,” Int J Inform Technol Decision Making 14(05), 10631092 (2015).CrossRefGoogle Scholar
Oltean, S. E., Dulau, M. and Puskas, R., “Position Control of Robotino Mobile Robot using Fuzzy Logic,” In: IEEE International Conference on Automation, Quality and Testing, Robotics (AQTR), (2010) pp. 16.Google Scholar
Zhang, T., Zhang, W. and Gupta, M. M., “Resilient robots: Concept, review, and future directions,” Robotics 6(4), 22 (2017).CrossRefGoogle Scholar
Mohammadzadeh, A., Taghavifar, H., Zhang, Y. and Zhang, W., “A fast non singleton type-3 fuzzy predictive controller for nonholonomic robots under sensor and actuator faults and measurement errors,” In: IEEE Transactions on Systems, Man, and Cybernetics: Systems (IEEE, 2024).Google Scholar
Tiep, D. K., Lee, K., Im, D.-Y., Kwak, B. and Ryoo, Y.-J., “Design of fuzzy-PID controller for path tracking of mobile robot with differential drive,” Int J Fuzzy Log Intell Syst 18(3), 220228 (2018).CrossRefGoogle Scholar
Maatoug, K., M., NJAH. and Jallouli, M., “IEEE 19th Inter. Conf. On Sciences and Techniques of Automatic Control and Computer Engineering (STA),” In: Electric Wheelchair Trajectory Tracking Control Based On Fuzzy Logic Controller, (2019) PP. 191195.Google Scholar
H.M., W. U. and Zaman, M. Q., “LiDAR based trajectory-tracking of an autonomous differential drive mobile robot using fuzzy sliding mode controller,” IEEE Access 10, 3371333722 (2022).Google Scholar
Solihina, M. I., Y.Chuana, C. and Astutib, W., “Optimization of fuzzy logic controller parameters using modern metheuristic algorithm for gantry crane system (GCS),” Mater Today Proceed 29, 168172 (2020).CrossRefGoogle Scholar
Wu, X., Jin, P., Zou, T., Qi, Z., Xiao, H. and Lou, P., “Backstepping trajectory tracking based on fuzzy sliding mode control for differential mobile robots,” J Intell Robot Syst 96(1), 109121 (2019).CrossRefGoogle Scholar
Khesrani, S., Hassam, A., Boutalbi, O. and Boubezoula, M., “Motion planning and control of nonholonomic mobile robot using flatness and fuzzy logic concepts,” Int J Dyn Control 9(4), 16601671 (2021).CrossRefGoogle Scholar
Rehman, A. U. and Cai, C., “Autonomous Mobile Robot Obstacle Avoidance using Fuzzy-PID Controller in Robot’s Varying Dynamics,” In: IEEE 39th Chinese Control Conference, (2020) pp. 21822186. (CCC).CrossRefGoogle Scholar
Tiep, D. K., Lee, K., Im, D., Kwak, B. and Ryoo, Y. J., “Adaptive tracking control of a nonholonomic mobile robot,” IEEE Trans Robot Autom 16(5), 609615 (2000).Google Scholar
Lacevic, B., Velagic, J. and Osmic, N., “Design of Fuzzy Logic Based Mobile Robot Position Controller using Genetic Algorithm,” In: IEEE/ASME International Conference on Advanced Intelligent Mechatronics, (2007) pp. 16.Google Scholar
Singh, H., Gupta, M. M., Meitzler, T., Hou, Z.-G., Garg, K. K., Solo, A. M. G. and Zadeh, L. A., “Real-life applications of fuzzy logic,” Adv Fuzzy Syst 2013, 13 (2013).CrossRefGoogle Scholar
Abdelwahab, M., Parque, V., Elbab, A. M. R. F., Abouelsoud, A. A. and Sugano, S., “Trajectory tracking of wheeled mobile robots using Z-number based fuzzy logic,” IEEE Access 8, 1842618441 (2020).CrossRefGoogle Scholar
Abubakr, O. A., Jaradat, M. A. and Abdelhafez, M. F., “Intelligent optimization of adaptive dynamic window approach for mobile robot motion control using fuzzy logic,” IEEE Access 10, 119368119378 (2022).CrossRefGoogle Scholar
Juang, C.-F., Chou, C.-Y. and Lin, C.-T., “Navigation of a fuzzy-controlled wheeled robot through the combination of expert knowledge and data-driven multi objective evolutionary learning,” IEEE Trans Cybern 52(8), 73887401 (2022).CrossRefGoogle Scholar
Shojaei, K., Shahri, A. M., Tarakameh, A. and Tabibian, B., “Adaptive trajectory tracking control of a differential drive wheeled mobile robot,” Robotica 29(3), 391402 (2011).CrossRefGoogle Scholar
Nascimento, T. P., Dórea, C. E. T. and Gonçalves, L. M. G., “Nonholonomic mobile robots trajectory tracking model predictive control: A survey,” Robotica 36(5), 676696 (2018).CrossRefGoogle Scholar
Kumar, S. and Parhi, D. R., “Trajectory planning and control of multiple mobile robot using hybrid MKH-fuzzy logic controller,” Robotica 40(11), 39523975 (2022).CrossRefGoogle Scholar
Liu, H. and Dai, J., “An approach to carton-folding trajectory planning using dual robotic fingers,” Robot Auton Syst 42(1), 4763 (2003).CrossRefGoogle Scholar
Bui, D.-N. and Phung, M. D., “Radial basis function neural networks for formation control of unmanned aerial vehicles,” Robotica 1-19(6), 18421860 (2024).CrossRefGoogle Scholar
Peng, S. and Shi, W., “Adaptive fuzzy output feedback control of a nonholonomic wheeled mobile robot,” IEEE Access 6, 4341443424 (2018).CrossRefGoogle Scholar
Cheng, L., Hou, Z.-G., Tan, M. and Zhang, W. J., “Tracking control of a closed-chain five-bar robot with two degrees of freedom by integration of an approximation-based approach and mechanical design,” IEEE Trans Syst Man Cybern Part B (Cyberne) 42(5), 14701479 (2012).CrossRefGoogle ScholarPubMed
Korayem, M. H., Safarbali, M. and Lademakhi, N. Y., “Adaptive robust control with slipping parameters estimation based on intelligent learning for wheeled mobile robot “,” ISA Trans 147, 577589 (2024).CrossRefGoogle ScholarPubMed
Figure 0

Figure 1. (a) Two-wheel differential drive mobile robot. (b) Mobile robot coordinate system.

Figure 1

Figure 2. Block diagram of mobile robot control using an FLC.

Figure 2

Figure 3. Structure of fuzzy logic controller.

Figure 3

Figure 4. Input membership functions for orientation angle error.

Figure 4

Figure 5. Input membership functions for distance error.

Figure 5

Figure 6. Membership functions for output angular velocity $({\omega })$ and linear velocity $(V)$, respectively.

Figure 6

Figure 7. Results of PSO (optimal values of nine parameters and fitness function profile).

Figure 7

Table I. Rule base of the output linear velocity.

Figure 8

Table II. Rule base of the output angular velocity.

Figure 9

Table III. Specification of the mobile robot.

Figure 10

Figure 8. Straight-line trajectory tracking simulation results with nonzero initial conditions.

Figure 11

Table IV. Controller efforts of various controllers on different paths with nonzero initial conditions.

Figure 12

Table V. Tracking the performance of the different controllers on various paths with nonzero initial conditions.

Figure 13

Figure 9. Circular path trajectory tracking simulation results with nonzero initial conditions.

Figure 14

Figure 10. Triangular path trajectory tracking simulation results with nonzero initial conditions.

Figure 15

Figure 11. Lissajous path trajectory tracking simulation results with nonzero initial conditions.

Figure 16

Figure 12. Controller efforts velocities of the mobile robot while tracking Lissajous path using FLC with nonzero initial conditions.

Figure 17

Figure 13. Position errors of the mobile robot while tracking Lissajous path using FLC with nonzero initial conditions.

Figure 18

Figure 14. Experimental results of path tracking on a circular path.

Figure 19

Table VI. The proposed conventional FLC, type 3 FLC, FLC-based SMC, optimized FLC, and FLC in the presence of noise are compared depending on varous criteria.

Figure 20

Figure 15. Straight-line path trajectory tracking simulation results with nonzero initial conditions with presence of noise.

Figure 21

Figure 16. Circular path trajectory tracking simulation results with nonzero initial conditions with presence of noise.

Figure 22

Figure 17. Triangular path trajectory tracking simulation results with nonzero initial conditions with presence of noise.

Figure 23

Figure 18. Lissajious path trajectory tracking simulation results with nonzero initial conditions with presence of noise.

Figure 24

Figure 19. Position and orientation errors of mobile robot simulation results while following the Lissajious path trajectory tracking with nonzero initial conditions with presence of noise.

Figure 25

Figure 20. Angular velocities of mobile robot simulation results while following the Lissajious path trajectory tracking with nonzero initial conditions with presence of noise.

Figure 26

Figure 21. Experimental results of path tracking on a Lissajous path using proposed controller and CLIK.

Figure 27

Figure 22. Experimental snapshots during circular path tracking by the robot.

Figure 28

Figure 23. Experimental snapshots during Lissajous path tracking by the robot.

Figure 29

Table VII. Comparing the suggested approaches with other available controllers from various literature sources.