Next Article in Journal
Quantitative Investigation into Friction-Induced Vibration During Mold-Opening Transience in Ultra-High-Tonnage Two-Platen Injection Molding Machines with Massive Inertia and Constraint-Guided Sliding
Previous Article in Journal
Hydrogen Enrichment in Methanol Dual-Fuel CI Engines: A Computational Assessment of Engine Performance and Major Combustion Parameters and Emissions
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Using Type-1 and Type-2 Fuzzy Logic Controllers for the Trajectory Tracking Task of a Wheeled Robot: A Comparison Study

1
Applied Automation and Industrial Diagnostics Laboratory, Faculty of Sciences and Technology, University of Djelfa, Djelfa 17000, Algeria
2
Institute of Robotics and Industrial Informatics, Polytechnic University of Catalonia, 08028 Barcelona, Spain
3
Department of Information Engineering, Infrastructures and Sustainable Energy, Mediterranea University, Via Zehender, I-89122 Reggio Calabria, Italy
4
Department of Civil, Energetic, Environmental and Material Engineering, Mediterranea University, Via Zehender, I-89122 Reggio Calabria, Italy
*
Author to whom correspondence should be addressed.
Machines 2026, 14(5), 564; https://doi.org/10.3390/machines14050564
Submission received: 2 April 2026 / Revised: 14 May 2026 / Accepted: 14 May 2026 / Published: 19 May 2026
(This article belongs to the Section Automation and Control Systems)

Abstract

The robotic path-tracking task is of interest to researchers because it offers the potential to develop an efficient navigation system for robots. Fuzzy logic is successfully used in many control systems, especially in robotic tasks, due to its ability to model the uncertainties and vagueness of the physical world. In this paper, the application of type-1 and type-2 fuzzy logic controllers for trajectory tracking of differential drive robots has been investigated. Initially, a comprehensive review of related work is provided, followed by a detailed description of the differential-drive robot, including its kinematic and dynamic models. Both type-1 and type-2 fuzzy controllers are implemented to evaluate their performance in tracking complex, challenging trajectories. Simulation results demonstrate the effectiveness of each fuzzy controller, with a focus on comparative analysis. All comparisons are conducted under strictly identical conditions to ensure a fair and unbiased evaluation of both controllers. A comparison study highlights differences in performance metrics across scenarios, revealing that the type-2 fuzzy logic controller outperforms the type-1 controller in improving trajectory tracking accuracy. Quantitative performance indicators, including root-mean-square errors (RMSEs) for distance and orientation, as well as transient response times, are employed for comparison. Specifically, the type-2 fuzzy controller reduced the average tracking error by more than 75% and the angular error by over 80% across different trajectories, while also decreasing the response time by up to 80% compared to the type-1 fuzzy controller.

1. Introduction

In robotics research, over the years, various control approaches have been developed to guide a mobile robot along a smooth and obstacle-free path. Several successful approaches in this area have been demonstrated in many experiments using different sensors and methodologies [1]. The overall purpose of this control problem is to guide the robot from its initial position to a desired position [2]. Mobile robot (MR) path tracking has been a subject of interest among researchers due to its potential application in developing an efficient navigation system for robots [3,4].
The field of fuzzy logic is well recognized for its use in solving control problems that require heuristic knowledge. Fuzzy control requires linguistic rules and expert knowledge, expressed as membership functions and fuzzy rules. The input–output relationship of the membership functions is specified, mostly on an if-then basis. Despite its simple architecture, it can solve complex control problems. In robotics, fuzzy logic is used to control systems that account for uncertainties and imprecision [5]. Fuzzy controllers have been developed as an alternative to conventional control, enabling efficient control of nonlinear, uncertain, and complex systems [6]. Also, developed from the conventional fuzzy methodology, type-2 fuzzy is more effective at addressing system uncertainties by allowing uncertainty in the definition of membership functions. In the field of mobile robotics, type-1 and type-2 fuzzy controllers have been continuously developed and applied to solve real robotic problems. In type-2 methodology, applications include collision avoidance, trajectory tracking, balancing control, and controller design. Recent studies, such as [7], have also demonstrated the effectiveness of fuzzy logic controllers in mobile robot navigation and obstacle avoidance. A significant component of a mobile robot for real-world operation is a path-tracking system that can improve performance [8,9].
Path tracking is the robot’s ability to follow the intended path from one location to any point in a plane. Path tracking has been discussed in various research studies. This paper presents a comparative study of type-1 and type-2 fuzzy controllers for differential-drive trajectory tracking, aiming to improve robot path tracking performance. To validate performance, both controllers are tested on various trajectories, with particular attention to the advantages of type-2 fuzzy controllers in handling uncertainties and improving tracking accuracy, thereby providing a more robust solution to the path-tracking challenge in mobile robotics.
Although numerous control strategies have recently been proposed for mobile robot trajectory tracking, including sliding-mode control, model predictive control, and hybrid intelligent controllers, fuzzy logic controllers remain widely used due to their ability to handle nonlinearities and uncertainties. However, relatively few studies provide controlled benchmarking comparisons between type-1 and type-2 fuzzy controllers under identical dynamic conditions. The present work aims to provide such a systematic comparison using a nonlinear dynamic model and a set of trajectories of increasing complexity.
This paper provides a rigorous, fair comparison of type-1 and type-2 fuzzy controllers for trajectory tracking of a differential drive robot under identical conditions. Unlike several previous studies that reported limited or scenario-dependent differences between type-1 and type-2 fuzzy controllers, the present study performs a controlled comparison under identical operating conditions using a nonlinear dynamic model and reference trajectories of increasing geometric complexity. The contribution of this work lies in conducting a systematic comparison based on a nonlinear dynamic model with torque inputs, developing refined type-1 and interval type-2 fuzzy architectures, and performing extensive evaluations on challenging reference trajectories. A comprehensive quantitative benchmarking is provided using RMSE, angular error, and response time, together with a discussion in relation to the recent literature. This study emphasizes that the contribution lies in establishing a controlled, reproducible benchmarking framework rather than proposing a new fuzzy control structure. The main contributions of this paper can be summarized as follows:
  • Development of a fair and reproducible benchmarking framework for comparing type-1 and type-2 fuzzy logic controllers.
  • Implementation of both controllers under strictly identical nonlinear dynamic conditions, including the same robot model, inputs, initial conditions, and reference trajectories.
  • Design of structurally equivalent fuzzy controllers with identical membership functions, rule bases, and scaling factors.
  • Evaluation across multiple trajectory tracking scenarios of increasing complexity.
  • Quantitative comparison using distance error, angular error, and response time.
  • Demonstration that performance improvements are primarily linked to uncertainty modeling via the footprint of uncertainty (FOU), rather than tuning or structural differences.
The paper is organized as follows: Section 2 discusses related work, emerging trends, drawbacks of fuzzy logic, other control systems, and advances implemented in mobile robots. Section 3 provides the system design of differential-drive mobile robots and the detailed mathematical modeling of the mobile robot. The development of FLC (T1FL and T2FL) for a mobile robot is presented in Section 4. The proposed controllers for a mobile robot and the developed FLC are given in Section 5. Comparative studies of both types of FLCs for a mobile robot are conducted using different trajectories. Finally, conclusions are given in Section 6.

2. Related Work

Autonomous systems, particularly autonomous mobile robots, are receiving significant attention from research and industry communities. To operate effectively in the physical world, any autonomous robot must find the required path and navigate from its initial position to the goal location. Navigation is the process by which a robot executes a planned course of action for traveling between different places in its environment using its reasoning facility. Path planning is a subset of navigation that involves creating a planned course of action from the given environment. The primary goal of path planning is to create a path from a robot’s initial position to its goal position that avoids collisions or encumbrances from moving objects, such as other robots, obstacles, or people or agents. Paper [10] presents an overview of autonomous mobile robots (AMRs) in intra-logistics, focusing on technological advancements, decision-making strategies, and their diverse applications in manufacturing, ware housing, and healthcare. AMRs and the challenges of navigation strategies adopted towards localization are presented in [11]. It outlines that localization is an essential ability for such robots to estimate their position in both static and dynamic environments. In static environments, the process is simpler, but in dynamic environments, it becomes more complicated because there are moving objects besides the robot. In Ref. [12], new algorithms are proposed for autonomous mobile robots to improve efficiency and safety in a warehouse. The use of agent-based modeling enables the authors to investigate deadlock- and collision-avoidance approaches that further develop supply chains. The integration of fuzzy logic into controllers significantly enhances path tracking for mobile robots and has achieved notable applications in robotics. Path tracking is one of the most significant navigation strategies in mobile robotics. Researchers have proposed various methodological approaches to enhance path tracking for mobile robots in both outdoor and indoor environments. In Ref. [13], a comprehensive discussion of challenges and future perspectives in the field is presented. The main topics discussed are Kalman filters, SLAM, and various computing platforms supporting mobile robotics. The authors of this work discuss advances and applications of mobile robots, particularly in indoor and outdoor environments. A detailed review of key technologies in path planning for mobile robots is presented in the paper [14], including environmental modeling, 2-D grid mapping, and 3-D point cloud generation. This will be done by discussing different aspects and by pointing out the use of both classical and heuristic path-planning algorithms to find the best route while accounting for obstacles. It can be argued that any efficient path-tracking strategy will be useful for an intelligent mobile robot, enabling better trajectory planning, obstacle avoidance, and motion in unstructured, complex environments. In Ref. [15], various path-planning techniques are reviewed, including the Dynamic Window Approach and its integration with fuzzy logic, which enhance a mobile robot’s ability to avoid dynamic obstacles in unstructured, complex environments through real-time adaptation and multi-sensor data fusion. The review paper [16] has identified that only an efficient path-planning algorithm, essentially Reactive Computing, can enable intelligent mobile robots to cope with dynamic obstacles while navigating through complex scenarios. Advanced techniques, such as neural networks, further embed their capability to optimize paths and navigate safely.
The literature on fuzzy logic control for mobile robots has evolved significantly, highlighting various methodologies to enhance path-tracking performance. In paper [17], a comprehensive fuzzy-logic-based control system is designed specifically for autonomous mobile robot navigation in indoor environments. Their work emphasized integrating fuzzy logic into local and global navigation, path planning, and obstacle avoidance, demonstrating its effectiveness through simulations that evaluated various trajectories. The results highlighted the potential of fuzzy logic in improving navigation algorithms, establishing a foundational understanding of its role in mobile robotics. In addition, recent studies have also demonstrated the applicability of fuzzy logic controllers in real-time navigation and obstacle avoidance. For example, Ref. [18] proposed a fuzzy logic controller for autonomous mobile robots in dynamic environments, showing effective performance in both simulation and experimental scenarios. Building on this foundation, Ref. [19] advanced the field further by introducing a type-2 fuzzy hybrid controller network (T2FHC) specifically for robotic systems. Their research presented a novel fuzzy neural network that combined elements of type-2 fuzzy CMAC (Cerebellar Model Articulation Controller) and BELC (Backpropagation Error Learning Controller), leading to significant improvements in mobile robot position tracking. The comparative analysis revealed that T2FHC outperformed traditional controllers, achieving lower accumulated RMSE values across multiple experiments. This study not only underscored the enhanced precision and stability offered by type-2 fuzzy control but also marked a shift towards more complex and capable fuzzy architectures in the context of robotic motion control [19].
Most recently, Ref. [20] explored integrating fuzzy logic with kinematic models to refine mobile robot motion control. Their approach addressed the limitations of conventional kinematic and dynamic control methods, particularly the inability to adapt to environmental changes or ensure smooth trajectory transitions. By incorporating fuzzy logic into the motion controller, the robot’s ability to follow predefined paths with improved quality is enhanced, particularly when faced with parameter uncertainties. The simulation results reinforced the notion that fuzzy logic, when combined with traditional control methods such as PID, can significantly improve the performance of mobile robots in dynamic settings [20].
As is known, the range of applications of fuzzy logic is extremely broad. This motivated further development of both the classical type of fuzzy sets and type-n fuzzy sets. To date, numerous research papers have been published on the use of type-2 fuzzy sets for robot control problems in various aspects. The aims of using type-2 fuzzy sets in these papers may be to increase the robustness of the control system to known or unknown uncertainties and to enhance the functionality or knowledge. The application of type-n (especially type-2) fuzzy logic in robotics and control systems to represent uncertainty is supported by a growing body of recent research [9,21,22].
In the literature, some researchers have attempted to solve the path-tracking problem for mobile robots using fuzzy control methods. The design of a type-1 fuzzy controller (T1FC) for path tracking of the mobile robot has been presented. They investigated the effects of performance changes driven by control factors such as speed, acceleration, and launch conditions. It has been shown that optical flow was used in a control scheme based on a simple PID controller, but that T1FC was used to control the forward translation and the angle of rotation. The traditional Mamdani fuzzy model has been used in implemented scenarios [23,24]. Two types of T1 control techniques, neuro-fuzzy and parallel with state feedback control, have been combined to enable the mobile robot to track a reference path. This approach enables mobile robots to operate as smoothly as possible despite control delays and nonlinear interactions, while maintaining asymptotic trajectory tracking. The T1 fuzzy technique has been applied relatively recently to control the robot’s heading by identifying the control gains, demonstrating that this control model can handle parameter changes.
The membership functions of the universal fuzzy processor were defined based on the objective function in [11,25]. Both normal fuzzy controllers and type-1 fuzzy controllers have been considered for path tracking in previous works. A standard fuzzy controller has been applied to the tracking control of a two-wheeled robot with nonholonomic constraints, handling them effectively to achieve good performance.
Similarly, type-1 fuzzy systems have been widely used to address trajectory tracking problems. For example, Tolossa et al. [26] developed an optimized fuzzy logic controller for trajectory tracking of a two-wheeled differential-drive mobile robot, while Akmal et al. [27] investigated interval type-2 fuzzy logic control for mobile robot trajectory tracking under measurement noise. In addition, fuzzy control approaches have also been successfully applied to real-time mobile robot systems, demonstrating their effectiveness in handling nonlinear dynamics and improving control performance [28]. However, many existing approaches either rely mainly on type-1 fuzzy systems or focus on specific optimized fuzzy structures rather than providing a controlled comparison between type-1 and type-2 fuzzy controllers under identical nonlinear dynamic conditions.
In recent years, several researchers have suggested using interval type-2 fuzzy systems for mobile robot path-tracking applications [17,20,21,27]. In papers [22,26], a center-of-gravity (COG)-based aggregate and a centroid-of-centroids type-2 fuzzy system are designed to address the path-tracking problem and compensate for non-synchronized actuation in unmanned ground vehicles (UGVs). A new concept of a type-2 fuzzy system, called the bipolar dual, is introduced [8,29]. Here, a new approach for the type reduction in an interval type-2 fuzzy system is proposed [30,31]. Then, applications in path tracking for non-holonomic 2-DOF robotic vehicles and speed control of a BLDC electric motor are studied with the bipolar dual [32,33]. The simulation and experimental results demonstrate the effectiveness of the presented bipolar dual event-based type-2 fuzzy control.
Even with the encouragement of robustness and adaptability of the new and well-known mathematical apparatus, no systematic comparison is given since the aim is primarily to demonstrate the superior control performance of type-2 over type-1 fuzzy logic-based control systems when certain limitations need to be overcome. Given these facts, a systematic comparison of the advantages and, possibly, the disadvantages of applying type-1 and type-2 fuzzy logic to robot motion control can be particularly beneficial to the robotics field. The objectives of this paper are as follows: determination of the degree of robustness of type-1 and type-2 fuzzy logic-based path tracking controllers concerning known and unknown perturbations in the motion control problem of a mobile robot [30,31,32,33]. This progression in research highlights critical advancements in fuzzy control systems, transitioning from traditional fuzzy-logic applications to more sophisticated type-2 fuzzy methodologies, ultimately improving path-tracking and navigation capabilities for mobile robots.
In Ref. [34], the application of Takagi–Sugeno FLC, artificial neural networks, and neuro-fuzzy controllers was investigated for the path-following behavior of a tricycle mobile robot. Other recent studies have also addressed this problem. For instance, Ref. [35] proposed a fuzzy steering controller based on a symmetric distribution of triangular membership functions for a nonholonomic mobile robot, improving tracking accuracy and disturbance rejection in simulation. In addition, Ref. [36] proposed a fuzzy adaptive model predictive control approach for trajectory tracking of differential tracked robots, where fuzzy logic is used to adjust control parameters online, leading to improved tracking accuracy, faster convergence, and enhanced stability in dynamic environments. Furthermore, Ref. [37] proposed an exponential trajectory tracking controller based on Lyapunov stability theory, providing formal stability guarantees and fast convergence. More recently, Ref. [38] proposed a dynamic model predictive control (DMPC) strategy for trajectory tracking of mobile robots, demonstrating significant improvements in tracking accuracy and computational efficiency compared to conventional MPC methods.
Recent studies have highlighted that trajectory tracking of wheeled mobile robots remains challenging due to strong nonlinearities and coupling effects, which have motivated the development of advanced nonlinear and hybrid control strategies. For example, Huang and Gao [39] proposed a backstepping-based sliding-mode controller that achieves accurate tracking under modeling uncertainties and external disturbances. These recent trends provide a broader state-of-the-art context for the present comparative investigation of type-1 and type-2 fuzzy logic controllers. More recently, hybrid schemes combining fuzzy logic with model predictive control have been proposed to further enhance robustness in the presence of large tracking errors and dynamic environments. In particular, Zhang et al. [36] introduced a fuzzy adaptive virtual-steering-coefficient MPC framework for differential tracked robots, demonstrating faster convergence, reduced tracking errors, and improved stability compared to classical MPC approaches.
In our previous work [40], we introduced a basic type-1 fuzzy controller with three membership functions and nine rules, which performed well for simple trajectories but struggled with more complex paths due to its limited handling of uncertainties. However, in the present paper, we extend that work by developing a more advanced fuzzy controller architecture that incorporates a refined type-1 design with five membership functions and twenty-five rules, and by introducing a type-2 fuzzy logic controller to effectively manage uncertainties, resulting in faster response times, improved accuracy, and enhanced robustness, further supported by integrating dynamic modeling and testing on additional complex trajectories scenarios.
This paper compares type-1 and type-2 fuzzy controllers for path tracking of a mobile robot. It demonstrates that a type-2 fuzzy logic controller provides better results than a type-1 fuzzy logic controller. The mobile robot has two front steering wheels and two rear driving wheels with velocity control to execute the planned path. The simulation analysis of the mentioned controllers is conducted across several scenarios. The two cases considered for the simulation work focus on the circular and straight paths of the mobile robot. In addition, the manuscript includes basic concepts of type-1 and type-2 fuzzy logic controllers, along with a comparison of the two techniques.
While many previous studies focus on proposing new fuzzy controllers for mobile robots, fewer works aim to provide systematic benchmarking comparisons between type-1 and type-2 fuzzy control paradigms under strictly identical operating conditions. In many existing studies, comparisons between type-1 and type-2 fuzzy controllers are often performed under different modeling assumptions or tuning conditions, which limits the reliability of the reported conclusions. The present work addresses this limitation by providing a controlled and reproducible benchmarking framework for comparing type-1 and type-2 fuzzy controllers for trajectory tracking of differential drive robots.

3. Model of a Differential Drive Robot

A differential drive robot (DDR) is one of the most widely used mobile robots due to its ease of control and design. The defining feature of the DDR is that it moves by driving two independently controlled wheels. The robot’s direction is controlled by driving the wheels at different speeds and can therefore only move in a plane. When both wheels are being driven at the same speed and in the same direction, the robot goes straight ahead. Slowing both wheels equally just change the speed at which the robot moves straight ahead. If the wheels’ speeds differ, the robot will begin to rotate around the point halfway between the driving wheels. The greater the difference between the driving wheels’ speeds, the more accurately the robots can turn in place. DDRs can turn sharply simply by stopping or reversing the wheels on one side of the robot. This act requires no pathway and very little driving area [41,42].
For autonomous ground robots and vehicles, Differential Wheel Systems (DWSs) are among the most often-used locomotion techniques. The considered mobile robot in this paper has two degrees of freedom and is a unicycle. It has two wheels and is powered by two DC motors. As shown in Figure 1, the robot’s orientation and position (X, Y) within a Cartesian coordinate system define its configuration. All the kinematic and dynamic equations presented in this section are derived from [43], which provides the standard formulation of differential drive robots.

3.1. The Kinematic Model

Kinematic modeling focuses on the motion of mechanical systems without considering the forces that cause or affect it. The main objective of kinematic modeling for the DDR is to represent the robot’s velocities in terms of the velocities of its driving wheels, along with the robot’s geometric parameters. Consequently, each driving wheel’s linear velocity within the robot frame contributes to the overall linear velocity of the DDR, which is calculated as the mean of the robot’s angular velocity and the linear velocities of its two wheels [43].
v = v R + v L 2 = R Φ ˙ R + Φ ˙ L 2
w = v R v L 2 L = R Φ ˙ R Φ ˙ L 2 L
The velocities of the DDR can be determined in the inertial frame using the following expression.
x ˙ a r y ˙ a r θ ˙ = R 2 cos θ R 2 cos θ R 2 sin θ R 2 sin θ R 2 L R 2 L × Φ ˙ R Φ ˙ L
The DDR forward kinematic model is represented by Equation (3). Alternately, the DDR velocities can be expressed in terms of the linear and angular velocities within the robot reference frame to reframe the kinematic model as follows:
q ˙ l = x ˙ a r y ˙ a r θ ˙ = cos θ 0 sin θ 0 0 1 × v w
Figure 2 represents the block diagram of the kinematic model.

3.2. The Dynamic Model

The dynamic model accounts for all physical forces and factors that influence the robot’s motion. These forces are neglected in the kinematic model. A non-holonomic DDR can be expressed by the following equations of motion with n generalized coordinates (q1, q2, …, qn) and m constraints:
The dynamic model is derived using the Euler–Lagrange formulation while considering the non-holonomic constraints of the differential drive robot.
M ( q ) q ¨ + V ( q , q ˙ ) q ˙ + F ( q ˙ ) + G ( q ) + τ d = B ( q ) τ Λ T ( q ) λ
The dynamic model considers all the physical forces and factors influencing where: M(q) an nxn matrix of symmetric positive definite inertia, V ( q , q ˙ ) is the matrix of centripetal and Coriolis, F ( q ˙ ) is the matrix of surface friction G ( q ) is the vector of gravity, τ d is the vector of unstructured, unmodeled dynamics and other bounded unknown disturbances, B ( q ) represents the input matrix, τ represents the input vector, Λ T ( q ) is the matrix that the kinematic restrictions are connected, and λ is the vector of Lagrange [23,43].
  • Lagrange dynamic approach
An efficient way for determining the motion equations of mechanical systems is the Lagrangian dynamic method by taking into account the system’s kinetic and potential energies.
To provide a clearer understanding of Equation (5), the dynamic model derivation based on the Euler–Lagrange approach is summarized below.
d d t L q ˙ i + L q i = F Λ T ( q ) λ
where L= T − V is the Lagrangian function, T: is the kinetic energy, V is potential energy, q i : are the generalized coordinates, F is the vector of generalized force, Λ refers the matrix of constraints and λ is the Lagrange multiplier vector corresponding to the constraints. The initial stage in developing the dynamic model through the Lagrangian method involves determining the potential and kinetic energies that influence the DDR motion. Additionally, given that the DDR operates within the X I Y I plane, it is assumed that the DDR potential energy is considered zero. For the DDR, the generalized coordinates for the DDR are defined as:
q = [ x a       y a       θ       ϕ R       ϕ L ] T
The DDR kinetic energy comprises the kinetic energy of the robot platform (without the wheels) along with the kinetic energies of the wheels and actuators
T c = 1 2 m c v c 2 + 1 2 I c θ ˙ 2
The right and left wheels’ kinetic energy is
T W R = 1 2 m W v W R 2 + 1 2 I m θ ˙ 2 + 1 2 I W ϕ ˙ R 2
T W R = 1 2 m W v W L 2 + 1 2 I m θ ˙ 2 + 1 2 I W ϕ ˙ L 2
where m c refers to the DDR mass excluding the actuators (DC motors) and drive wheels, m W is each driving wheel mass (with actuator), I c represents the DDR moment of inertia with respect to the vertical axis that passes through the center of mass, I W is each driving wheel moment of inertia with its motor around the wheel axis, and I m is each driving wheel moment of inertia with a motor along the wheel diameter. First, the general velocity equation in the inertial frame will be used to represent all velocities as functions of the generalized coordinates
v i 2 = x ˙ i 2 + y ˙ i 2
The components x ˙ i 2 and y ˙ i 2 of the center of mass and the wheels can be expressed in terms of the generalized coordinates as follows
x c = x a + d cos θ y c = y a + d sin θ
x W R = x a + L cos θ y W R = y a + L sin θ
x W L = x a L cos θ y W L = y a + L sin θ
Employing Equations (8)–(10) in conjunction with Equations (11)–(14), the total kinetic energy of the differential drive robot is
T = 1 2 m x ˙ a 2 + y ˙ a 2 m c d θ ˙ y ˙ a cos θ x ˙ a sin θ + 1 2 I W ϕ ˙ R 2 + ϕ ˙ R 2 + 1 2 I θ ˙ 2
where the following new parameters are introduced: m = m c + 2 m W is the robot total mass and I = I c + m c d 2 + 2 m W L 2 + 2 I m is the equivalent total inertia. Using the Lagrangian function and Equation (6), L = T, the DDR equations of motion are provided by:
m x ¨ a m d θ ¨ sin θ m d θ ˙ 2 cos θ = C 1
m y ¨ a m d θ ¨ cos θ m d θ ˙ 2 sin θ = C 2
I θ ¨ m d x ¨ a sin θ m d y ¨ a cos θ = C 3
I W ϕ ¨ R = τ R + C 4
I W ϕ ¨ L = τ L + C 5
where C 1 , C 2 , C 3 , C 4 and C 5 represent the coefficients linked to the kinematic constraints, which can be formulated in terms of the Lagrange multipliers vector λ and the kinematic constraints matrix Λ defined in the kinematic model.
Λ T ( q ) = C 1 C 2 C 3 C 4 C 5
The equations of motion derived in (16)–(20) can now be written in the general form presented in Equation (5) as follows
M ( q ) q ¨ + V ( q , q ˙ ) q ˙ = B ( q ) τ Λ T ( q ) λ
where
M ( q ) = m 0 m d sin θ 0 0 0 m m d cos θ 0 0 m d sin θ m d cos θ I 0 0 0 0 0 0 0 0 0 0 I W ,
V ( q , q ˙ ) = 0 m d θ ˙ cos θ 0 0 0 0 m d θ ˙ sin θ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B ( q ) = 0 0 0 0 0 0 1 0 0 l ,   and   Λ T ( q ) λ = sin θ cos θ cos θ cos θ sin θ sin θ 0 L L 0 R 0 0 0 R × λ 1 λ 2 λ 3 λ 4 λ 5
Subsequently, the system represented by Equation (22) is rewritten in a more appropriate form for control and simulation purposes. The primary objective is to remove the constraint term Λ T ( q ) λ due to the Lagrange multipliers in Equation (3) λ i are not known. This is achieved by initially defining the reduced vector
η ˙ = ϕ ˙ R ϕ ˙ L
Next, by expressing the velocities of the generalized coordinates using the forward kinematic model (4), we obtain:
x ˙ a y ˙ a θ ˙ ϕ ˙ R ϕ ˙ L = 1 2 R cos θ R cos θ R sin θ R sin θ R L R L 2 0 0 2 ϕ ˙ R ϕ ˙ L
This can be expressed in the following form:
q ˙ = S ( q ) η
Note that the transformation matrix S(q) belongs to the null space of the constraint matrix Λ ( q ) , such that we have:
S T ( q ) Λ T ( q ) = 0
Next, differentiate Equation (25) with respect to time results in:
q ¨ = S ˙ ( q ) η + S ( q ) η ˙
By substituting Equations (25) and (27) into the primary Equation (22), we obtain:
M ( q ) [ S ˙ ( q ) η + S ( q ) η ˙ ] + V ( q , q ˙ ) [ S ( q ) η ] = B ( q ) τ Λ T ( q ) λ
Following this, by reorganizing the equation and multiplying both sides, we derive:
S T ( q ) M ( q ) S ( q ) η ˙ + S T ( q ) [ M ( q ) S ˙ ( q ) + V ( q , q ˙ ) S ( q ) ] η = S T ( q ) B ( q ) τ S T ( q ) Λ T ( q ) λ
where the final term is exactly zero. Now defining the new matrices as:
M ¯ ( q ) = S T ( q ) M ( q ) S ( q )
V ¯ = S T ( q ) M ( q ) S ˙ ( q ) + S T ( q ) V ( q , q ˙ ) S ( q )
B ¯ = S T ( q ) B ( q )
The dynamic equations are expressed in the form:
M ¯ ( q ) η ˙ + V ¯ ( q , q ˙ ) η = B ¯ ( q ) τ
where
M ¯ ( q ) = I w + R 2 4 L 2 m L 2 + I R 2 4 L 2 m L 2 I R 2 4 L 2 m L 2 I I w + R 2 4 L 2 m L 2 + I ,
V ¯ q , q ˙ = 0 R 2 2 L m c d θ ˙ R 2 2 L m c d θ ˙ 0 ,   And B ¯ q = 1 0 0 1
Equation (30) shows that the DDR dynamics are expressed as a function of the right and left wheel angular velocities ( ϕ ˙ R , ϕ ˙ L ), the robot angular velocity θ ˙ , and the driving motor torques τ R , τ L . The equations of motion can also be rewritten in terms of the robot linear and angular velocities (v, w) using the kinematic relationships [23].
m + 2 I W R 2 v ˙ m c d w 2 = 1 R τ R + τ L m + 2 L 2 R 2 I W w ˙ + m c d w v = L R τ R τ L
Figure 3 represents the block diagram of the dynamic model.

4. Control of Differential Drive Robot

In this work, both type-1 and type-2 fuzzy logic controllers were applied to enable the mobile robot to follow the desired trajectory for comparison purposes. The controller calculates position and orientation errors between the robot’s current state and the target trajectory, then adjusts the right and left wheel torques using fuzzy logic. This process is repeated until the robot reaches the target within the specified error tolerances, ensuring precise trajectory tracking even in the presence of complex paths and errors in the model and parameters.
To ensure a fair and unbiased comparison between the type-1 and type-2 fuzzy logic controllers, strict structural equivalence was enforced. Both controllers were designed with the same number of input and output variables, identical membership function structures with five membership functions per variable, and the same rule base of 25 rules. The shapes, ranges, and distributions of the membership functions were kept identical, and the same scaling factors and normalization ranges were applied.
The parameter tuning process for both type-1 and type-2 fuzzy logic controllers was carried out using the same methodology to ensure a fair comparison. A consistent trial-and-error (heuristic) approach was applied, in which the scaling factors and membership function parameters were adjusted based on the same performance criteria: minimizing trajectory tracking error and achieving smooth control signals. Both controllers were tuned using identical initial parameter ranges and under the same operating conditions. No additional optimization techniques or tuning advantages were applied to either controller, ensuring that the comparison reflects only the inherent differences between the two fuzzy logic approaches. The only difference lies in extending the type-1 membership functions into interval type-2 sets via the introduction of a footprint of uncertainty (FOU), without altering the rule base or increasing the number of rules or parameters. This ensures that the comparison reflects only the impact of uncertainty modeling, rather than differences in controller complexity.
Let us define:
d = x e 2 + y e 2
Δ = t a n 1 y e x e
where
x e = x d cos θ + y d sin θ x a cos θ y a sin θ ,
y e = x a sin θ + y d cos θ x d sin θ y a cos θ
x e is the error on x, y e is the error on y, d , Δ is the distance and the angular error between the robot and the desired trajectory, x d , y d is the desired position, and x a , y a , θ is the position of the robot. We can see the structure of the designed fuzzy controllers applied to a differential drive as shown in the flowchart of Figure 4.
The difference between fuzzy type-1 and fuzzy type-2 lies in the fact that each membership function in type-1 has a single membership degree, whereas in type-2, each value in the membership function is represented by a range of membership degrees [34]. This allows type-2 to handle a higher level of uncertainty, as the membership functions can contain some degree of error, which type-2 reduces effectively. We can see the difference between them in the following structures presented in Figure 5 and Figure 6.
As can be seen in Figure 5 and Figure 6, the difference also lies in the presence of the Type Reducer, which converts the fuzzy outputs with uncertain values into a single value that can be used as the final control signal. Figure 7 represents the block diagram of the system.
  • Membership functions
The proposed fuzzy controllers with five membership functions (MFs) have been proposed for the two input variables: distance and angular error. The distance input is categorized as very close (VC), close (C), middle (M), far (F), and very far (VF), covering a range of [0, 50 m]. The angular error input is defined as big positive (BP), positive (P), zero (Z), negative (N), and big negative (BN), within a range of [−180°, 180°]. For the right and left wheel torques, five membership functions were reutilized: very big (VB), big (B), middle (M), small (S), and very small (VS), within the output range of [−15, 15]. For the first controller, we present the membership functions for the input and output in Figure 8 and Figure 9. Figure 10 and Figure 11 present the membership functions of the second FLC.
In this work, triangular and trapezoidal membership functions were employed due to their computational simplicity and efficiency, which makes them particularly suitable for real-time control applications such as mobile robots. This choice ensures faster execution of the fuzzy inference system while maintaining acceptable accuracy in modeling uncertainties.
For the type-2 fuzzy logic controller, the same type-1 membership functions were converted into interval type-2 sets. This ensures a consistent and fair comparison framework between the two controllers. A footprint of uncertainty (FOU) was introduced by applying a constant spread of 0.8–0.6 to each membership function, thereby generating the upper and lower MFs that bound the FOU, as shown in Figure 10 and Figure 11. After the fuzzy inference step, the type-reduction and defuzzification were performed by the MATLAB 2025 Fuzzy Logic Toolbox, which employs the Karnik–Mendel (KM) iterative algorithm. The final crisp control signal corresponds to the average of the left and right centroids computed by KM. This specification makes the T2FLC design transparent and fully reproducible.
It is important to note that type-2 fuzzy logic controllers generally involve higher computational complexity due to the type-reduction process. In this work, the Karnik–Mendel algorithm was used for type-reduction, providing a good balance between accuracy and computational efficiency for parameter tuning in both type-1 and type-2 fuzzy logic controllers.
Moreover, the relatively small number of membership functions and rules, along with the use of simple membership function shapes, helps maintain a computational load compatible with real-time control requirements.
  • Fuzzy Rule Base
The fuzzy rule bases are expressed as shown in Table 1 and Table 2. They summarize the relationship between inputs and outputs of the DDR.
The fuzzy rule bases for the right and left wheels were intentionally designed differently to account for the distinct roles each wheel plays in the differential drive motion. As is well known, the robot turns to the right when the right wheel’s speed is higher and conversely to the left when the left wheel’s speed is higher. Additionally, when approaching the path or needing to reduce motion, we appropriately decreased the wheel speeds to maintain accurate trajectory tracking and avoid large deviations. By tailoring the fuzzy rules to each wheel in this manner, we ensure optimal control performance and precise trajectory tracking under various conditions. This approach allows each wheel to respond appropriately to its specific influence on the robot’s motion, enhancing stability and robustness. The final, corrected rule bases are presented in Table 1 and Table 2, clearly reflecting these differences and facilitating reproducibility.

5. Control Results of the Differential Drive Robot

All simulations were carried out using MATLAB/Simulink in order to ensure controlled and reproducible evaluation conditions for both controllers.
Furthermore, the evaluation is conducted under strictly identical operating conditions, including the same dynamic model, controller structure, parameter settings, and reference trajectories (see Figure 12). This ensures that the comparison reflects the intrinsic differences between type-1 and type-2 fuzzy logic controllers, rather than variations in tuning or modeling assumptions.
In this section, different path types are simulated and tested to demonstrate the efficiency of the proposed type-1 and type-2 fuzzy logic controllers for accomplishing the path-tracking task. The investigated paths and results are shown in the next subsections. In the simulation, the numerical values of the differential drive robot that have been used are indicated in Table 3.

5.1. Simple Paths

The results are presented as follows, with Figure 13, Figure 14 and Figure 15 illustrating the results for the circular, eight, and spiral trajectories, respectively, with each trajectory accompanied by its corresponding equation. Table 4 presents the used equations to define the simulated trajectories.
Figure 16, Figure 17 and Figure 18 present the distance and angular errors for each trajectory type: circular, eight, and spiral. In this study, we have compared the performance of type-1 and type-2 fuzzy controllers for trajectory tracking of a differential drive robot. We began by testing the system on two simple trajectories: circular and eight paths. The results indicated that both types performed well, with the robot path closely matching both desired trajectories. In the eight-trajectory case, the results were almost identical between the two types. These findings underscore the controller’s effectiveness in achieving highly accurate path tracking, with the difference between fuzzy type-1 and type-2 being minimal, favoring the latter. Additionally, the spiral trajectory results were positive for both controllers, with a slight advantage for fuzzy type-2 in terms of accuracy and overall performance.
We observe an initial error at the beginning of the trajectories, which is attributed to the robot starting from the zero position. However, the robot quickly corrects its path, demonstrating a good response time. This rapid adjustment ensures that the robot aligns accurately with the desired trajectory shortly after its initial movement.
Despite the previously mentioned results showing that both controllers performed well, with a slight advantage for the fuzzy type-2 controller, we observed significant differences in distance and angular errors. The fuzzy type-2 controller demonstrated substantial improvements in both metrics, significantly outperforming the fuzzy type-1 controller. This superiority was particularly evident in the comparison of distance and angular error across the circular, eight, and spiral paths, where fuzzy type-2 consistently delivered near-zero errors.
For the circular trajectory (Figure 13 and Figure 16), the type-2 fuzzy logic controller (T2FL) reduced the distance error by 70% (0.09 m vs. 0.30 m) and angular error by 76.9% (0.09° vs. 0.39°) compared to type-1 (T1FL). The response time for the eight-shaped trajectory (Figure 14 and Figure 17) was 1.0s for T2FL versus 5.0s for T1FL, demonstrating faster convergence. These improvements are not attributed to differences in tuning or model assumptions, but rather to the inherent capability of type-2 fuzzy logic to handle uncertainty. It is important to note that the observed performance improvement of the type-2 fuzzy controller does not result from an increased number of parameters or a wider tuning range. Both controllers were designed and tuned under identical conditions, with the same structure, rule base, membership functions, and scaling factors.
Therefore, the performance difference can be attributed primarily to the type-2 fuzzy logic controller’s ability to model uncertainty via the footprint of uncertainty (FOU). This capability allows the controller to better handle variations and imprecision in the system, resulting in improved tracking accuracy and robustness.
It should be noted that the reported performance improvements are not based on a single scenario but are consistently observed across multiple trajectory-tracking experiments, including simple, difficult, and complex paths. These improvements reflect general performance trends rather than isolated cases. Although the results presented focus on representative trajectories for clarity, the observed performance gains of the type-2 fuzzy controller were consistent across all tested scenarios, confirming the robustness of the comparison.
These results align with those of Chao et al. [19], who reported a 30% reduction in RMSE for T2FL in similar nonlinear systems. T2FL’s interval-based membership functions effectively mitigated overshoot during directional transitions, as observed in Yang et al. [23] for autonomous vehicles. The superior performance stems from T2FL’s “footprint of uncertainty,” which dynamically adjusts rule weights to handle sensor noise and kinematic uncertainties, a limitation of T1FL’s crisp membership functions [21].
Similar findings have been reported in the literature. For instance, Abut and Salkım [44] demonstrated that type-2 fuzzy logic controllers significantly outperform conventional PID controllers, achieving error reductions exceeding 90% in complex trajectories. These results further support the effectiveness of type-2 fuzzy logic in handling nonlinearities and uncertainties in mobile robot control.
In addition to average performance metrics, it is important to consider the maximum (worst-case) error to better assess controller robustness. Although the primary focus of this study is on RMSE and response time, the peak deviations can be observed in the error plots (Figure 16, Figure 17 and Figure 18).
These figures show that the type-2 fuzzy controller consistently limits the maximum error compared to the type-1 controller, indicating improved robustness not only in average performance but also in worst-case scenarios.
Compared with existing studies, the performance improvements observed in this work are more consistent across different trajectories, thanks to the controlled benchmarking framework adopted. While several studies report performance gains for type-2 fuzzy controllers, these improvements are often dependent on specific controller structures or tuning strategies.
In contrast, the present study ensures strictly identical conditions between the controllers, allowing a more reliable assessment of their intrinsic differences. This highlights that the observed superiority of the type-2 fuzzy controller is not only significant but also consistent across different scenarios, reinforcing its effectiveness for trajectory tracking applications.

5.2. Difficult Path

Now, we will test the more complex spiral eight trajectory. Table 5 defines the equation of this difficult trajectory. The results are shown in Figure 19. In this trajectory, T1FL failed entirely due to rapid directional changes, while T2FL achieved near-zero errors. Similarly, T2FL maintained robustness on the flower and dragon-fly paths (Figure 20, Figure 21 and Figure 22), with mean errors of 0.26m and 0.21m, respectively. Table 6 presents the equations for modeling these complex trajectories.
This result aligns with the work of Akmal et al. [27], who found that T1FL struggled with non-smooth trajectories. T2FL’s layered uncertainty management reduced cumulative errors by 67%, consistent with advancements in industrial robotics [33]. T2FL’s type-reduction process minimized angular drift by dynamically adjusting torque outputs; this feature is missing in T1FL as presented in [21]. This adaptability is critical for unstructured environments, as noted in paper [15].

5.3. Complex Paths

Now, we will test complex trajectories, using the flower path, dragon-fly path, and shape path as modeled in Table 6. The results are illustrated in Figure 20, Figure 21 and Figure 22. In these tests, we have used two non-standard trajectories, “flower” and “dragon-fly”, to challenge the controllers with sharp and rapid changes in curvature and direction. The “flower” trajectory has been presented in prior studies [45], while we specifically designed the “dragon-fly” trajectory to stress-test controller performance.
As shown in Table 7, both fuzzy type-1 and type-2 controllers performed well on simple trajectories, with fuzzy type-2 showing a notable advantage. However, for more complex trajectories, fuzzy type-1 failed to effectively track them. In contrast, fuzzy type-2 demonstrated significant effectiveness across all trajectories, including the more difficult ones, demonstrating superior control over the robot’s dynamic model. This study reinforces the practical importance of type-2 fuzzy control methodologies, offering a compelling case for their broader adoption in mobile robotics and beyond.
To further assess the robustness of the proposed controllers, complex reference trajectories were considered. The type-1 fuzzy controller failed to achieve stable tracking in these demanding scenarios, whereas the type-2 controller maintained accurate performance. The resulting robot paths were almost identical to the desired references, except for the spiral trajectory, which exhibited a small residual tracking error that remains acceptable given the difficulty of the maneuver.
In summary, both type-1 and type-2 fuzzy controllers performed satisfactorily on simple trajectories, with the type-2 design showing a clear quantitative advantage. However, for highly curved and complex paths, the type-1 controller was unable to reliably guide the robot, while the type-2 controller consistently achieved effective tracking across all tested scenarios, highlighting its superior handling of the robot’s nonlinear dynamics. To further interpret these quantitative results in the context of the existing literature, several comparative studies have investigated the relative merits of type-1 and type-2 fuzzy logic controllers for mobile robots and reported that the performance gains achieved by type-2 designs are not always large or universal, but depend strongly on controller structure and tuning mechanisms. For example, Cherroun et al. [9] have designed type-1 and type-2 Takagi–Sugeno fuzzy controllers for the design of different behaviors of a mobile robot, and their investigation showed that T2FLS has better performance than T1FLS. Benatar et al. [46] showed that the benefits of type-2 fuzzy control are sensitive to the choice of the footprint of uncertainty, while Linda and Manic [47] reported mobile-robot scenarios in which type-1 controllers achieved comparable or even better transient responses. These findings highlight that the superiority of type-2 controllers cannot be assumed a priori, whereas the present work demonstrates consistently larger performance improvements in favor of the proposed type-2 controller across both simple and complex trajectories, with reductions exceeding 75% in distance error and 80% in orientation error.
An important aspect of the present study is that both controllers were implemented under strictly identical conditions, including the same nonlinear dynamic model, torque saturation limits, scaling factors, reference trajectories, and baseline rule structures. Consequently, the observed performance gap can be primarily attributed to the intrinsic differences between type-1 and interval type-2 fuzzy logic systems and their respective uncertainty-handling mechanisms, rather than to external factors or unequal tuning. This controlled benchmarking framework enhances the validity of the comparison by eliminating external bias and providing a reliable basis for evaluating and comparing fuzzy-logic paradigms.

6. Conclusions

This paper investigated and compared type-1 and type-2 fuzzy logic controllers for trajectory tracking of a differential drive robot using a nonlinear dynamic model. The main contribution of this work is a controlled, reproducible benchmarking framework that enables a fair comparison between type-1 and type-2 fuzzy logic controllers under identical nonlinear conditions. Extensive MATLAB/Simulink simulations demonstrated that the type-1 controller struggles with complex, highly curved trajectories and is best suited to simple paths. In contrast, the type-2 fuzzy controller consistently achieved lower tracking errors, faster transient responses, and reduced overshoot across all considered scenarios. Although the study presented here focuses on simulation-based evaluation to enable systematic, repeatable benchmarking, experimental validation on a physical mobile-robot platform is an essential next step. It should be noted that the present study focuses on a controlled simulation environment in order to ensure a fair and reproducible comparison between the controllers. While this allows for isolating the intrinsic differences between type-1 and type-2 fuzzy logic approaches, it does not explicitly account for external uncertainties such as sensor noise, model parameter variations, or environmental disturbances, which are typically encountered in real-world implementations, as also discussed in [18]. These results highlight the contribution of the proposed controllers relative to traditional control approaches, demonstrating that type-2 fuzzy logic provides improved robustness and tracking performance in the presence of nonlinearities and uncertainties. Despite the promising results, this study has some limitations. The evaluation is based only on simulation without experimental validation on a real robot. In addition, the simulations were conducted under controlled conditions, without explicitly accounting for uncertainties such as sensor noise or disturbances.
Future work will therefore address the real-time implementation of the proposed type-2 controller on an actual robot, accounting for sensor noise, actuator nonlinearities, and unmodeled dynamics to further assess robustness and practical feasibility. In addition, the integration of adaptive or learning mechanisms into the type-2 framework will be investigated, and the controllers will be extended to more complex tasks such as obstacle avoidance and path planning. Particular attention will be given to accurate system modeling, parameter tuning, noise handling, and real-time implementation constraints to ensure consistency between simulation and real-world performance.

Author Contributions

Conceptualization, M.T.M., L.C. and M.N.; methodology, M.T.M., L.C., M.N., P.V., A.H. and G.A.; software, M.T.M., L.C. and M.N.; validation, M.T.M., L.C., M.N., P.V., A.H. and G.A.; formal analysis, M.T.M., L.C., M.N., A.H., P.V., G.A. and F.L.F.; investigation, M.T.M., L.C. and M.N.; resources, M.T.M., L.C. and M.N.; data curation, M.T.M., L.C. and M.N.; writing—original draft preparation, M.T.M., L.C., M.N., A.H., P.V. and G.A.; writing—review and editing, M.T.M., L.C., M.N., P.V., A.H., G.A. and F.L.F.; visualization, L.C., M.N., P.V. and A.H.; supervision, L.C., P.V., A.H., G.A. and F.L.F. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in the study are included in the article; further inquiries can be directed to the corresponding author.

Acknowledgments

The authors gratefully acknowledge the support of the LAADI laboratory of the University of Djelfa.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
FLCFuzzy Logic Controller
T1FLFuzzy Logic Controller Type-1
T2FLFuzzy Logic Controller Type-2
DDRDifferential Drive Robot
AMRAutonomous Mobile Robot

Nomenclatures

dDistance between the robot and the desired path
ΔAngular error
( x a , y a , θ ) The actual position coordinates
( x d , y d ) The desired position coordinates
( τ R , τ L ) Torque applied to the right and left wheels
( V R , V L ) Right and left wheels’ velocity
LThe distance between the driving wheels
VLinear velocity of the robot
wAngular velocity
RWheel radius
ϕ R , ϕ L Right and left wheels’ angular velocity

References

  1. Hoy, M.; Matveev, A.S.; Savkin, A.V. Algorithms for Collision-Free Navigation of Mobile Robots in Complex Cluttered Environments: A Survey. Robotica 2015, 33, 463–497. [Google Scholar] [CrossRef] [Scilit]
  2. Alonso-Mora, J.; Baker, S.; Rus, D. Multi-Robot Formation Control and Object Transport in Dynamic Environments via Constrained Optimization. Int. J. Robot. Res. 2017, 36, 1000–1021. [Google Scholar] [CrossRef] [Scilit]
  3. Gul, F.; Rahiman, W.; NazliAlhady, S.S. A Comprehensive Study for Robot Navigation Techniques. Cogent Eng. 2019, 6, 1632046. [Google Scholar] [CrossRef] [Scilit]
  4. Cherroun, L.; Boumehraz, M. Path Following Behavior for an Autonomous Mobile Robot Using Neuro-Fuzzy Controller. Int. J. Syst. Assur. Eng. Manag. 2014, 5, 352–360. [Google Scholar] [CrossRef] [Scilit]
  5. Bai, Y.; Wang, D. Fundamentals of Fuzzy Logic Control—Fuzzy Sets, Fuzzy Rules and Defuzzifications. In Advanced Fuzzy Logic Technologies in Industrial Applications; Bai, Y., Zhuang, H., Wang, D., Eds.; Springer: London, UK, 2006; pp. 17–36. [Google Scholar]
  6. Kim, J.H.; Oh, S.J. A Fuzzy PID Controller for Nonlinear and Uncertain Systems. Soft Comput. 2000, 4, 123–129. [Google Scholar] [CrossRef] [Scilit]
  7. Benaicha, I.; Nechadi, E.; Boutalbi, O.; Essounbouli, N. An Improved Fuzzy Logic Controller for Mobile Robots Navigation in Unknown Environments. J. Field Robot. 2026, 43, 257–278. [Google Scholar] [CrossRef] [Scilit]
  8. Jahanshahi, H.; Yousefpour, A.; Soradi-Zeid, S.; Castillo, O. A Review on Design and Implementation of Type-2 Fuzzy Controllers. Math. Methods Appl. Sci. 2022, 49, 1814–1835. [Google Scholar] [CrossRef] [Scilit]
  9. Cherroun, L.; Nadour, M.; Kouzou, A.; Boumehraz, M. Type-1 and Type-2 Fuzzy Techniques: Application to Robotic Systems. In Advances in Robust Control and Applications; Derbel, N., Nouri, A.S., Zhu, Q., Eds.; Springer Nature: Singapore, 2023; Volume 474, pp. 319–344. [Google Scholar] [CrossRef] [Scilit]
  10. Fragapane, G.; De Koster, R.; Sgarbossa, F.; Strandhagen, J.O. Planning and Control of Autonomous Mobile Robots for Intralogistics: Literature Review and Research Agenda. Eur. J. Oper. Res. 2021, 294, 405–426. [Google Scholar] [CrossRef] [Scilit]
  11. Panigrahi, P.K.; Bisoy, S.K. Localization Strategies for Autonomous Mobile Robots: A Review. J. King Saud Univ.-Comput. Inf. Sci. 2022, 34, 6019–6039. [Google Scholar] [CrossRef] [Scilit]
  12. Turhanlar, E.E.; Ekren, B.Y.; Lerher, T. Autonomous Mobile Robot Travel under Deadlock and Collision Prevention Algorithms by Agent-Based Modelling in Warehouses. Int. J. Logist. Res. Appl. 2024, 27, 1322–1341. [Google Scholar] [CrossRef] [Scilit]
  13. Ullah, I.; Adhikari, D.; Khan, H.; Anwar, M.S.; Ahmad, S.; Bai, X. Mobile Robot Localization: Current Challenges and Future Prospective. Comput. Sci. Rev. 2024, 53, 100651. [Google Scholar] [CrossRef] [Scilit]
  14. Yang, L.; Li, P.; Qian, S.; Quan, H.; Miao, J.; Liu, M.; Hu, Y.; Memetimin, E. Path Planning Technique for Mobile Robots: A Review. Machines 2023, 11, 980. [Google Scholar] [CrossRef] [Scilit]
  15. Liu, L.; Wang, X.; Yang, X.; Liu, H.; Li, J.; Wang, P. Path Planning Techniques for Mobile Robots: Review and Prospect. Expert Syst. Appl. 2023, 227, 120254. [Google Scholar] [CrossRef] [Scilit]
  16. Sánchez-Ibáñez, J.R.; Pérez-del-Pulgar, C.J.; García-Cerezo, A. Path Planning for Autonomous Mobile Robots: A Review. Sensors 2021, 21, 7898. [Google Scholar] [CrossRef] [Scilit]
  17. Omrane, H.; Masmoudi, M.S.; Masmoudi, M. Fuzzy Logic Based Control for Autonomous Mobile Robot Navigation. Comput. Intell. Neurosci. 2016, 2016, 9548482. [Google Scholar] [CrossRef] [Scilit]
  18. Tuama, A.A.; Hadi, N.H. Fuzzy Logic Controller with Rplidar for Hybrid Three Wheeled Omnidirectional Mobile Robot in Dynamic Environment. Int. J. Mech. Eng. Robot. Res. 2026, 15, 65–79. [Google Scholar] [CrossRef] [Scilit]
  19. Chao, F.; Zhou, D.; Lin, C.-M.; Yang, L.; Zhou, C.; Shang, C. Type-2 Fuzzy Hybrid Controller Network for Robotic Systems. IEEE Trans. Cybern. 2020, 50, 3778–3792. [Google Scholar] [CrossRef] [Scilit]
  20. Nguyen, A.-T.; Vu, C.-T. Mobile Robot Motion Control Using a Combination of Fuzzy Logic Method and Kinematic Model. In Intelligent Systems and Networks; Anh, N.L., Koh, S.-J., Nguyen, T.D.L., Lloret, J., Nguyen, T.T., Eds.; Springer Nature: Singapore, 2022; Volume 471, pp. 495–503. [Google Scholar] [CrossRef] [Scilit]
  21. Mittal, K.; Jain, A.; Vaisla, K.S.; Castillo, O.; Kacprzyk, J. A Comprehensive Review on Type 2 Fuzzy Logic Applications: Past, Present and Future. Eng. Appl. Artif. Intell. 2020, 95, 103916. [Google Scholar] [CrossRef] [Scilit]
  22. Valdez, F.; Castillo, O.; Melin, P. A Review on Type-2 Fuzzy Systems in Robotics and Prospects for Type-3 Fuzzy. In Applied Mathematics and Computational Intelligence; Castillo, O., Bera, U.K., Jana, D.K., Eds.; Springer Nature: Singapore, 2023; Volume 413, pp. 211–223. [Google Scholar] [CrossRef] [Scilit]
  23. Yang, Z.; Huang, J.; Yang, D.; Zhong, Z. Design and Optimization of Robust Path Tracking Control for Autonomous Vehicles With Fuzzy Uncertainty. IEEE Trans. Fuzzy Syst. 2022, 30, 1788–1800. [Google Scholar] [CrossRef] [Scilit]
  24. Awad, N.; Lasheen, A.; Elnaggar, M.; Kamel, A. Model Predictive Control with Fuzzy Logic Switching for Path Tracking of Autonomous Vehicles. ISA Trans. 2022, 129, 193–205. [Google Scholar] [CrossRef] [Scilit]
  25. Liu, W.; Wang, X.; Li, S. Formation Control for Leader–Follower Wheeled Mobile Robots Based on Embedded Control Technique. IEEE Trans. Contr. Syst. Technol. 2023, 31, 265–280. [Google Scholar] [CrossRef] [Scilit]
  26. Tolossa, T.D.; Gunasekaran, M.; Halder, K.; Verma, H.K.; Parswal, S.S.; Jorwal, N.; Maria Joseph, F.O.; Hote, Y.V. Trajectory Tracking Control of a Mobile Robot Using Fuzzy Logic Controller with Optimal Parameters. Robotica 2024, 42, 2801–2824. [Google Scholar] [CrossRef] [Scilit]
  27. Akmal, M.D.; Al Tahtawi, A.R.; Wijayanto, K.; Wahab, F. Trajectory Tracking Control Design for Mobile Robot Using Interval Type-2 Fuzzy Logic. J. Fuzzy Syst. Control 2024, 2, 67–73. [Google Scholar] [CrossRef] [Scilit]
  28. Mai, T.A.; Dang, T.S.; Ta, H.C.; Ho, S.P. Comprehensive Optimal Fuzzy Control for a Two-Wheeled Balancing Mobile Robot. J. Ambient Intell. Humaniz. Comput. 2023, 14, 9451–9467. [Google Scholar] [CrossRef] [Scilit]
  29. Singh, D.J.; Verma, N.K.; Ghosh, A.K.; Malagaudanavar, A. An Application of Interval Type-2 Fuzzy Model Based Control System for Generic Aircraft. Appl. Soft Comput. 2022, 121, 108721. [Google Scholar] [CrossRef] [Scilit]
  30. Maity, S.; Chakraborty, S.; Pandey, S.K.; De, I.; Nath, S. Type-n Fuzzy Logic—The next Level of Type-1 and Type-2 Fuzzy Logic. Int. J. Intell. Eng. Inform. 2023, 11, 353–389. [Google Scholar] [CrossRef] [Scilit]
  31. Beke, A.; Kumbasar, T. More than Accuracy: A Composite Learning Framework for Interval Type-2 Fuzzy Logic Systems. IEEE Trans. Fuzzy Syst. 2023, 31, 734–744. [Google Scholar] [CrossRef] [Scilit]
  32. Atacak, İ.; Çıtlak, O.; Doğru, İ.A. Application of Interval Type-2 Fuzzy Logic and Type-1 Fuzzy Logic-Based Approaches to Social Networks for Spam Detection with Combined Feature Capabilities. PeerJ Comput. Sci. 2023, 9, e1316. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  33. Mendez, G.M.; Lopez-Juarez, I.; Montes-Dorantes, P.N.; Garcia, M.A. A New Method for the Design of Interval Type-3 Fuzzy Logic Systems With Uncertain Type-2 Non-Singleton Inputs (IT3 NSFLS-2): A Case Study in a Hot Strip Mill. IEEE Access 2023, 11, 44065–44081. [Google Scholar] [CrossRef] [Scilit]
  34. Cherroun, L.; Nadour, M.; Boudiaf, M.; Kouzou, A. Comparison between Type-1 and Type-2 Takagi-Sugeno Fuzzy Logic Controllers for Robot Design. Electroteh. Electron. Autom. (EEA) 2018, 66, 94–103. [Google Scholar]
  35. Pérez-Juárez, J.G.; García-Martínez, J.R.; Medina Santiago, A.; Cruz-Miguel, E.E.; Olmedo-García, L.F.; Barra-Vázquez, O.A.; Rojas-Hernández, M.A. Kinematic Fuzzy Logic-Based Controller for Trajectory Tracking of Wheeled Mobile Robots in Virtual Environments. Symmetry 2025, 17, 301. [Google Scholar] [CrossRef] [Scilit]
  36. Zhang, P.; Xia, X.; Fu, Y.; Sun, J. FVSMPC: Fuzzy Adaptive Virtual Steering Coefficient Model Predictive Control for Differential Tracked Robot Trajectory Tracking. Actuators 2025, 14, 493. [Google Scholar] [CrossRef] [Scilit]
  37. Petrov, P.; Kralov, I. Exponential Trajectory Tracking Control of Nonholonomic Wheeled Mobile Robots. Mathematics 2025, 13, 1. [Google Scholar] [CrossRef] [Scilit]
  38. Xu, C.; Zhou, X.; Chen, R.; Li, B.; He, W.; Li, Y.; Ye, F. Trajectory Tracking for 3-Wheeled Independent Drive and Steering Mobile Robot Based on Dynamic Model Predictive Control. Appl. Sci. 2025, 15, 485. [Google Scholar] [CrossRef] [Scilit]
  39. Huang, H.; Gao, J. Backstepping and Novel Sliding Mode Trajectory Tracking Controller for Wheeled Mobile Robots. Mathematics 2024, 12, 1458. [Google Scholar] [CrossRef] [Scilit]
  40. Mahdi, M.T.; Nadour, M.; Cherroun, L.; Kouzou, A. Robust and Intelligent Fuzzy Logic Controllers for a Differential Mobile Robot Trajectory Tracking. In Artificial Intelligence and Its Practical Applications in the Digital Economy, Proceedings of the International Conference on Artificial Intelligence and Its Practical Applications in the Age of Digital Transformation 2024; Lecture Notes in Networks and Systems; Springer: Cham, Switzerland, 2024; Volume 861. [Google Scholar] [CrossRef] [Scilit]
  41. Stefek, A.; Pham, T.V.; Krivanek, V.; Pham, K.L. Energy Comparison of Controllers Used for a Differential Drive Wheeled Mobile Robot. IEEE Access 2020, 8, 170915–170927. [Google Scholar] [CrossRef] [Scilit]
  42. Shi, Y.; Elara, M.R.; Le, A.V.; Prabakaran, V.; Wood, K.L. Path Tracking Control of Self-Reconfigurable Robot hTetro With Four Differential Drive Units. IEEE Robot. Autom. Lett. 2020, 5, 3998–4005. [Google Scholar] [CrossRef] [Scilit]
  43. Dhaouadi, R.; Hatab, A.A. Dynamic Modelling of Differential-Drive Mobile Robots Using Lagrange and Newton-Euler Methodologies: A Unified Framework. Adv. Robot. Autom. 2013, 2, 107. [Google Scholar] [CrossRef]
  44. Abut, T.; Salkım, E. Trajectory Tracking of a Mobile Robot with GWO-Based Type II Fuzzy Logic Controller. Bitlis Eren Univ. J. Nat. Sci. 2025, 14, 1523–1551. [Google Scholar] [CrossRef] [Scilit]
  45. Diaz-Ortega, J.D.; Gutiérrez-Frías, O.; Aguirre-Anaya, J.A.; Luviano-Juárez, A. Simplified Strategy for Trajectory Tracking Application of a Passive Suspension Rover-Type Mobile Robot. Machines 2024, 12, 322. [Google Scholar] [CrossRef] [Scilit]
  46. Benatar, N.; Aickelin, U.; Garibaldi, J.M. A Comparison of Non-Stationary, Type-2 and Dual Surface Fuzzy Control. arXiv 2013, arXiv:1307.1070. [Google Scholar] [CrossRef] [Scilit]
  47. Linda, O.; Manic, M. Comparative Analysis of Type-1 and Type-2 Fuzzy Control in Context of Learning Behaviors for Mobile Robotics. In Proceedings of the IECON 2010—36th Annual Conference on IEEE Industrial Electronics Society; IEEE: New York, NY, USA, 2010; pp. 1092–1098. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Differential drive robot configuration.
Figure 1. Differential drive robot configuration.
Machines 14 00564 g001
Figure 2. Block diagram of the kinematic model.
Figure 2. Block diagram of the kinematic model.
Machines 14 00564 g002
Figure 3. Block diagram of dynamic model.
Figure 3. Block diagram of dynamic model.
Machines 14 00564 g003
Figure 4. Model of control loop of differential drive robot using FLCs.
Figure 4. Model of control loop of differential drive robot using FLCs.
Machines 14 00564 g004
Figure 5. Structure of fuzzy controller type-1.
Figure 5. Structure of fuzzy controller type-1.
Machines 14 00564 g005
Figure 6. Structure of fuzzy controller type-2.
Figure 6. Structure of fuzzy controller type-2.
Machines 14 00564 g006
Figure 7. Block diagram of the robotic system with controller.
Figure 7. Block diagram of the robotic system with controller.
Machines 14 00564 g007
Figure 8. (a) MFS of the distance. (b) MFS of the angular error.
Figure 8. (a) MFS of the distance. (b) MFS of the angular error.
Machines 14 00564 g008
Figure 9. (a) MFS of the torque of right wheel. (b) MFS of the torque of left wheel.
Figure 9. (a) MFS of the torque of right wheel. (b) MFS of the torque of left wheel.
Machines 14 00564 g009
Figure 10. (a) MFS of the distance. (b) MFS of the angular error.
Figure 10. (a) MFS of the distance. (b) MFS of the angular error.
Machines 14 00564 g010
Figure 11. (a) MFS of the torque of right wheel. (b) MFS of the torque of left wheel.
Figure 11. (a) MFS of the torque of right wheel. (b) MFS of the torque of left wheel.
Machines 14 00564 g011
Figure 12. MATLAB/Simulink implementation framework of the proposed trajectory tracking control system.
Figure 12. MATLAB/Simulink implementation framework of the proposed trajectory tracking control system.
Machines 14 00564 g012
Figure 13. Actual position with circular trajectory.
Figure 13. Actual position with circular trajectory.
Machines 14 00564 g013
Figure 14. Actual position with eight trajectory.
Figure 14. Actual position with eight trajectory.
Machines 14 00564 g014
Figure 15. Actual position with spiral trajectory.
Figure 15. Actual position with spiral trajectory.
Machines 14 00564 g015
Figure 16. (a) Distance for circular trajectory. (b) Angular error for circular trajectory.
Figure 16. (a) Distance for circular trajectory. (b) Angular error for circular trajectory.
Machines 14 00564 g016
Figure 17. (a) Distance for eight trajectory. (b) Angular error for eight trajectory.
Figure 17. (a) Distance for eight trajectory. (b) Angular error for eight trajectory.
Machines 14 00564 g017
Figure 18. (a) Distance for spiral trajectory. (b) Angular error for spiral trajectory.
Figure 18. (a) Distance for spiral trajectory. (b) Angular error for spiral trajectory.
Machines 14 00564 g018
Figure 19. Actual position with spiral eight trajectory.
Figure 19. Actual position with spiral eight trajectory.
Machines 14 00564 g019
Figure 20. Actual position with flower trajectory.
Figure 20. Actual position with flower trajectory.
Machines 14 00564 g020
Figure 21. Actual position with dragon-fly trajectory.
Figure 21. Actual position with dragon-fly trajectory.
Machines 14 00564 g021
Figure 22. Actual position with shape trajectory.
Figure 22. Actual position with shape trajectory.
Machines 14 00564 g022
Table 1. Fuzzy rule base for the right wheel torque.
Table 1. Fuzzy rule base for the right wheel torque.
Δ dBNNZPBP
VCVSSMBBVB
CVSSMBBVB
MVSSBBVB
FVSVSVBVBVB
VFVSVSVBVBVB
Table 2. Fuzzy rule base for the left wheel torque.
Table 2. Fuzzy rule base for the left wheel torque.
Δ dBNNZPBP
VCVBBMBSVS
CVBBMBSVS
MVBBBSVS
FVBVBVBVSVS
VFVBVBVBVSVS
Table 3. Numerical values of the DDR parameters.
Table 3. Numerical values of the DDR parameters.
ParameterValueUnit
m0.44Kg
mc0.05Kg
d0.02m
Iw8 × 10−5Kg.m2
R1Ω
L0.1m
Table 4. Equations of the simple trajectories.
Table 4. Equations of the simple trajectories.
Trajectory x d y d
Circular 0.5 cos t 0.5 sin t
Eight 1 4 + 3 4 sin 2 π 50 t 3 4 sin 4 π 50 t
Spiral 0.035 t cos t 0.035 t sin t
Table 5. Equations of the difficult trajectories.
Table 5. Equations of the difficult trajectories.
Trajectory x d y d
Spiral Eight 0.025 t sin t 0.025 t sin 2 t
Table 6. Equations of the complex trajectories.
Table 6. Equations of the complex trajectories.
Trajectory x d y d
Flower sin 1 2 t + cos 3 4 t sin 3 4 t + cos 1 2 t
Dragon-fly 1 2 sin 1 2 t + cos 3 4 t + sin 3 2 t + cos 7 4 t 1 2 sin 3 4 t + cos 1 2 t + sin 7 4 t + cos 3 2 t
Shape 0.035 t cos t sin t
Table 7. Comparison between the type-1 and type-2 fuzzy controllers.
Table 7. Comparison between the type-1 and type-2 fuzzy controllers.
PathController Robot Performances
Distance (m)Angular Error (°)Response Time (s)
CircularType-10.290.330.6
Type-20.050.050.5
EightType-10.040.035
Type-20.010.011
SpiralType-10.550.352
Type-20.120.051
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Mahdi, M.T.; Cherroun, L.; Nadour, M.; Vicenç, P.; Hafaifa, A.; Angiulli, G.; La Foresta, F. Using Type-1 and Type-2 Fuzzy Logic Controllers for the Trajectory Tracking Task of a Wheeled Robot: A Comparison Study. Machines 2026, 14, 564. https://doi.org/10.3390/machines14050564

AMA Style

Mahdi MT, Cherroun L, Nadour M, Vicenç P, Hafaifa A, Angiulli G, La Foresta F. Using Type-1 and Type-2 Fuzzy Logic Controllers for the Trajectory Tracking Task of a Wheeled Robot: A Comparison Study. Machines. 2026; 14(5):564. https://doi.org/10.3390/machines14050564

Chicago/Turabian Style

Mahdi, Mohammed Taqiyeddine, Lakhmissi Cherroun, Mohamed Nadour, Puig Vicenç, Ahmed Hafaifa, Giovanni Angiulli, and Fabio La Foresta. 2026. "Using Type-1 and Type-2 Fuzzy Logic Controllers for the Trajectory Tracking Task of a Wheeled Robot: A Comparison Study" Machines 14, no. 5: 564. https://doi.org/10.3390/machines14050564

APA Style

Mahdi, M. T., Cherroun, L., Nadour, M., Vicenç, P., Hafaifa, A., Angiulli, G., & La Foresta, F. (2026). Using Type-1 and Type-2 Fuzzy Logic Controllers for the Trajectory Tracking Task of a Wheeled Robot: A Comparison Study. Machines, 14(5), 564. https://doi.org/10.3390/machines14050564

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