Next Article in Journal
Numerical Study on the Heat Transfer Characteristics of a Hybrid Direct–Indirect Oil Cooling System for Electric Motors
Previous Article in Journal
Integrating Reliability, Uncertainty, and Subjectivity in Design Knowledge Flow: A CMZ-BENR Augmented Framework for Kansei Engineering
Previous Article in Special Issue
Image-Tracking-Driven Symmetrical Steering Control with Long Short-Term Memory for Linear Charge-Coupled-Device-Based Two-Wheeled Self-Balancing Cart
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Takagi–Sugeno–Kang Fuzzy Inference Tracking Controller for UAV Bicopter

by
José R. Rivera-Ruiz
1,
José R. García-Martínez
1,2,*,
Trinidad Martínez-Sánchez
1,2,
Edson E. Cruz-Miguel
1,2,
Luis D. Ramírez-González
1,2,
Omar A. Barra-Vázquez
1,2 and
Ákos Odry
3,4
1
Laboratorio de Control y Robótica, Facultad de Ingeniería en Electrónica y Comunicaciones, Universidad Veracruzana, Poza Rica 93390, Mexico
2
Análisis de Sistemas y Tecnologías Emergentes, Facultad de Ingeniería en Electrónica y Comunicaciones, Universidad Veracruzana, Poza Rica 93390, Mexico
3
Department of Mechatronics and Automation, Faculty of Engineering, University of Szeged, 6725 Szeged, Hungary
4
Institute of Informatics, University of Dunaújváros, 2400 Dunaújváros, Hungary
*
Author to whom correspondence should be addressed.
Symmetry 2025, 17(5), 759; https://doi.org/10.3390/sym17050759
Submission received: 17 April 2025 / Revised: 1 May 2025 / Accepted: 13 May 2025 / Published: 14 May 2025
(This article belongs to the Special Issue Symmetry/Asymmetry in Fuzzy Control)

Abstract

:
The UAV bicopter is a double-propeller system whose main objective is to stabilize a rod at a given angle by precisely controlling the rotation speed of each propeller. This mechanism generates asymmetric thrust forces that induce a torque on the bar, thus allowing its pitch angle to be modified. Since its dynamics involve complex interactions between the thrust generated by the rotors, aerodynamic effects, and the pendulum behavior of the system, the bicopter is classified as a highly nonlinear system sensitive to external disturbances. To address this complexity, the implementation of a fuzzy Takagi–Sugeno–Kang (TSK) controller is proposed. This controller decomposes the nonlinear dynamics into multiple local linear models associated with a specific operating condition, such as different pitch angles and rotor speeds. The control strategy provides accurate trajectory tracking and effectively handles disturbances and varying conditions, making this approach a practical solution for both dynamic and uncertain environments. This strategy ensures precise trajectory tracking and demonstrates robust performance compared to other control methods, such as PID and LQR, which often struggle with disturbances and system nonlinearities. The TSK controller has proven its effectiveness in experimental trajectory tracking tests, achieving root mean square errors (RMSEs) of 0.2049, 0.3269, 0.3899, 0.3335, and 0.2494, which evaluate the average error in degrees of the system concerning the target position, for tracking trajectories of −10 to 10, −12 to 12, −15 to 15, −17 to 17, and −20 to 20 degrees, respectively.

Graphical Abstract

1. Introduction

The Unmanned Aerial Vehicle (UAV) bicopter is a double-propeller system whose main purpose is to stabilize a rigid bar at a certain angle, precisely controlling the rotation speed of each of its propellers [1]. Its operating principle is based on the generation of asymmetric thrust forces: varying the relative speed between the two rotors produces an imbalance in thrust that induces a torque on the bar, allowing its angular inclination to be actively modified and controlled. This action is key to maintaining the system’s stability under various operating conditions. However, despite the apparent simplicity of its mechanical structure, the UAV bicopter’s dynamic behavior is considerably complex. This is because the interaction between thrust forces, aerodynamic effects, and the pendulum-type oscillatory behavior of the bar generates strongly coupled and nonlinear dynamics [2]. In this context, even minor external disturbances or changes in the payload can trigger significant responses, making the system highly sensitive and unstable if an appropriate control strategy is not applied. Furthermore, the dependence of thrust on rotor speed is nonlinear, and the effects of airflow generated by one propeller can influence the behavior of the other, further increasing the complexity of the system [3].
TSK fuzzy systems represent an advanced extension of classical fuzzy logic, designed to model complex nonlinear systems by combining local rules based on linear models [4]. Unlike Mamdani-type fuzzy systems, in TSK models, the conclusions of the fuzzy rules are not linguistic values but mathematical functions that depend on the input variables [5]. Each rule is activated based on the degree of membership of the inputs in certain fuzzy sets, and the overall output of the system is obtained as a weighted combination of the individual outputs of all activated rules [6]. This structure allows for a more compact and efficient representation of the dynamics of highly nonlinear systems [7,8]. In the field of dynamical systems, TSK models are widely used to approximate the dynamics of physical, mechanical, or electrical processes that exhibit complex, nonlinear, and context-dependent behavior, such as UAVs, robotic manipulators, industrial process control systems, and biomechanical systems [9,10,11,12,13]. Their main advantage lies in the ability to decompose global dynamics into multiple local linear models that can be efficiently designed and analyzed with classical linear control tools [14]. At the same time, fuzzy logic ensures smooth transitions between them. This allows for the design of adaptive and robust controllers capable of maintaining system performance even under uncertainty, external disturbances, or changes in operating conditions. The main contributions of this work are summarized as follows:
  • We design and implement a TSK fuzzy control methodology for a UAV bicopter system based on interpolating local linear models using triangular and trapezoidal membership functions. This methodology effectively approximates the nonlinear behavior inherent to the system dynamics.
  • Proposal of a flexible control curve generation strategy, where the designer can manually adjust the fuzzy control curves to achieve accurate reference trajectory tracking under different operating conditions, providing adaptability at the design stage rather than in real-time operation.
  • Experimental validation demonstrating enhanced structural robustness compared to existing state-of-the-art methodologies, confirmed through consistent low RMSE and IAE values and rapid settling times, even under external disturbances and uncertainties.
Finally, this paper is structured into several key sections. Section 2 presents related work in control applied to the bicopter, the dynamic model of the system in UAV bicopter system dynamics, the theoretical foundations of the method in Takagi–Sugeno Fuzzy Inference, and the proposed controller structure for theTSK Fuzzy Controller, as well as the description of tracking tasks in Parabolic Trajectory. Section 3 describes the design and implementation of the TSK fuzzy controller, addressing the general structure, linguistic variables, linear output functions, and the rule base. Section 4 presents the system performance in five tracking scenarios with different start and end points. Section 5 analyzes the results compared to previous methodologies. Finally, Section 6 summarizes the findings of the study, followed by the bibliography.

2. Background

2.1. Related Works

The mechanical system of the bicopter has been increasingly analyzed in recent years due to its interesting nonlinear dynamics and the complexities of controlling the system. Using controllers based on fuzzy logic has been widely applied in recent research because of their ability to improve the performance of highly complex and nonlinear systems. Furthermore, the study of trajectory tracking has recently been a highly researched methodology because it is one of the complex challenges in UAVs, which requires advanced control techniques capable of handling uncertainties and nonlinearities in the system. Previous studies have shown that PID (Proportional–Integral–Derivative) controllers are one of the methods used. Derived from classical control theory, it is one of the most widely applied methodologies in control systems due to its effectiveness in stabilizing linear systems [15]. Ref. [16] presents a case study where the authors implement these classical controllers to stabilize a bicopter, a variant of a UAV. The results showed the PID controller as an effective methodology for keeping the system balanced, demonstrating through experimental tests an appropriate response when the system is subjected to load tests on any of its axes. Recent research has applied optimization algorithms to improve PID controllers’ performance. The authors of [17] proposed a multi-criteria genetic algorithm (GA) to optimize PI (Proportional–Integral) controller gains for a balancing bicopter. This work underscores the importance of multi-objective optimization in UAV control. In recent years, intelligent controllers have gained prominence to ensure system stability [18]. Cukdar et al. [19] proposed an Adaptive Fuzzy 2-DOF PID controller for a BLDCM-driven two-rotor UAV, demonstrating superior performance under variable operating conditions compared to classical and 2-DOF PID controllers. The study utilized Particle Swarm Optimization (PSO) to tune PID parameters. Recent advances in bicopter control have explored integrating intelligent control methods with robust nonlinear strategies to improve system performance under uncertainties and disturbances. The authors of [20] present a Direct Fuzzy Logic Controller (DFLC) combined with a Fast Terminal Sliding Mode Control (FTSMC) to address the attitude stabilization problem of a bicopter system. The DFLC provides a rule-based nonlinear control law without requiring an explicit dynamic model, while the FTSMC enhances robustness and ensures finite-time convergence. This study is particularly relevant as it exemplifies the synergy between model-free fuzzy control and model-based robust control. In [21], a Mamdani-type fuzzy controller was proposed to stabilize the roll motion of a UAV Bicopter. Considering the nonlinear, unstable, and underactuated nature of the system, the FLC was implemented on a Teensy 3.6 along with an MPU6050 IMU and servomotors for rotor tilting. Different rule base sizes (3 × 3, 5 × 5, 7 × 7, and 9 × 9) were evaluated, finding that a larger number of rules (9 × 9) provided the best performance. Bench tests demonstrated quick recovery from disturbances and reference changes, thus validating the effectiveness of the fuzzy approach in attitude control. The study in [22] presents the control of a three-degree-of-freedom tilt-rotor bicopter test bench. The system combines a tilt-rotor bicopter with an articulated arm to enable safe and repeatable testing of control strategies for vehicles with thrust-vectoring capabilities. The authors address the challenge of decoupling attitude and position control in multi-rotor systems by employing a dual-mode control strategy, which integrates a Linear Quadratic Regulator (LQR) for stability and a Model Predictive Controller (MPC) for reference tracking and input constraint enforcement. Experimental results validate the controller’s robustness against model uncertainties and disturbances, demonstrating its effectiveness in position tracking while minimizing attitude variations. Additionally, the case study presented in [23] employs a methodology that integrates fuzzy logic, PID, and Active Disturbance Rejection Control (ADRC) applied to a UAV bicopter. Simulations have demonstrated the effectiveness of this strategy, showing improvements in response speed, disturbance rejection, and overall system robustness. This approach provides a promising direction for tackling the complexities of controlling bicopter UAVs in practical applications.
On the other hand, control proposals from modern control theory, such as LQR controllers, have been analyzed. Prakosa et al. [24] experimentally evaluated the Linear Quadratic Regulator (LQR) method to optimize PID gains for bicopter take-off position control. Their study highlighted the critical role of cost matrix weighting in achieving asymptotic stability for roll angles. In addition, LQR controllers have also been implemented alongside optimization algorithms. This case study [25] uses a Genetic Algorithm (GA) to find the optimal Q and R parameters for the Linear Quadratic control method. This approach is applied to a bicopter to stabilize the system through roll angle control.
Other control methodologies have been applied in the bicopter system. The work by Arrofiq et al. [26] presents a rigorous method for modeling a balancing bicopter’s roll dynamics using multi-level periodic perturbation signals. Their approach combines experimental system identification with cross-distribution validation, achieving close alignment between simulation and real-world performance.
In recent years, various approaches such as traditional control, controllers optimized through metaheuristic algorithms, and classical fuzzy controllers have been applied to nonlinear systems with high uncertainty, such as UAV bicopters. However, these methods present certain limitations. PID controllers exhibit reduced performance when facing nonlinearities and external disturbances. Optimization algorithm-based methods are effective for parameter tuning but require high computational cost and do not always guarantee real-time adaptability. Traditional DFLCs, while robust, tend to rely on many rules to achieve acceptable performance, making their implementation in embedded systems challenging due to the high computational demand. In contrast, implementing a TSK fuzzy controller represents a promising alternative to traditional methodologies, due to its ability to handle system nonlinearities while representing outputs through linear functions, significantly reducing computational cost compared to classical fuzzy control methods. This feature is particularly relevant for embedded systems with limited resources.
Table 1 presents several control methods from the most relevant research related to the bicopter system. Additionally, this case study is a continuation of the work presented in [27], where an adaptive fuzzy PID controller, self-tuned using the Hunting Search optimization algorithm, was previously applied to a classical single-rotor aero pendulum system. Building on that work, the present study introduces two significant advancements: integrating a second rotor to enhance control authority and the design of a TSK fuzzy controller that significantly reduces computational complexity. While both approaches are based on fuzzy logic, the TSK fuzzy controller represents a clear improvement over the adaptive fuzzy PID framework. Unlike the prior method, which was limited by the linearity of the PID structure, the TSK controller employs rule-based local models, enabling a more accurate approximation of nonlinear dynamics. This results in smoother control actions, greater robustness to disturbances, faster convergence, and superior trajectory tracking under dynamic and uncertain conditions, demonstrating substantial conceptual and practical advancement.

2.2. System Dynamics of the UAV Bicopter

The UAV bicopter system consists of a rigid bar driven by two motorized propellers at its ends. Each propeller generates vertical thrust to achieve stabilization, and an inertial measurement unit (IMU) is employed to measure the angular position of the bar relative to the vertical axis. Both motors are positioned at opposite bar ends and rotate in opposite directions to generate lift and counteract torque effects. The mechanical structure of the proposed system, illustrated in Figure 1, comprises a suspended bar connected to two brushless DC (BLDC) motors equipped with propellers. These motors are driven by 30-A electronic speed controllers (ESCs), which regulate the rotational speed of the BLDC motors. The system uses an MPU6050 inertial measurement unit to provide real-time angular position measurements, enabling precise control and stabilization of the bicopter platform.
The UAV bicopter’s movement analysis focuses solely on the rotational subsystem. The free-body diagram is presented in Figure 2, which illustrates the forces and moments affecting the system proposed. Table 2 shows the parameters used in the mathematical model of the UAV bicopter, including its physical properties, system constants, and key state variables for its dynamic analysis.
The system includes a pivot bar at its center, with two rotors at the ends generating propulsive forces, denoted as P 1 and P 2 . The system dynamics are derived using Newton–Euler’s rotational equation, which is centered at the pivot point. The governing dynamics of the system are presented in Equation (1).
J θ ¨ ( t ) + b θ ˙ ( t ) + k θ ( t ) = τ ( t )
where
  • J is the moment of inertia of the bar for the pivot.
  • b is the viscous friction coefficient at the pivot.
  • k is a restoring coefficient.
  • τ is the net torque generated by the rotors.
The torque generated by the motors can be determined as in Equation (2):
τ ( t ) = l 2 P 2 l 1 P 1
Substituting the total torque in Equation (1), we have
J θ ¨ ( t ) + b θ ˙ ( t ) + k θ ( t ) = P 2 ( t ) · l 2 P 1 ( t ) · l 1
Assuming that the thrust forces P 1 and P 2 generated by the engines are directly related to the square of their respective angular velocities, it follows that P i ( t ) = k f ω i 2 ( t ) , where k f represents the aerodynamic thrust constant, as given in Equation (4).
J θ ¨ ( t ) + b θ ˙ ( t ) + k θ ( t ) = k f ω 2 2 ( t ) · l 2 ω 1 2 ( t ) · l 1
where k f represents the aerodynamic constant of thrust generation, which depends on the physical characteristics of the rotor and the fluid medium. A state space representation of the system is proposed to find a stability criterion for the system. For this case, the following states of the system are chosen: x 1 ( t ) = θ ( t ) and  x 2 ( t ) = θ ˙ ( t ) . Also, u ( t ) is defined as the control input that encapsulates the inherent nonlinearities of the system; it means u ( t ) = k f ω 2 2 ( t ) · l 2 ω 1 2 ( t ) · l 1 . From a practical implementation perspective, these nonlinear behaviors are not explicitly modeled but are instead addressed through the fuzzy controller’s inference mechanism, which dynamically adapts the control action based on the system’s operating conditions. Thus, the system can be expressed as Equation (5).
x ˙ ( t ) = 0 1 k J b J x ( t ) + 0 1 J u ( t )
The quadratic Lyapunov function expressed in Equation (6) is proposed, directly reflecting the energy stored in the modeled UAV bicopter.
V ( x ) = 1 2 J x 2 2 + 1 2 k x 1 2
It can be observed that V ( x ) is positive definite because X ( x ) > 0 for all x 0 , given that both J > 0 and K > 0 are physical parameters and the square of a real number is non-negative. Additionally, it holds that V ( 0 ) = 0 , which is a necessary condition for a Lyapunov function.
The time derivative of the Lyapunov function along the trajectories of the system provides crucial information about the stability behavior. Differentiating Equation (6) concerning time gives Equation (7).
V ˙ ( x ) = V x 1 x ˙ 1 + V x 2 x ˙ 2 = k x 1 x ˙ 1 + J x 2 x ˙ 2 .
By substituting the state equations from Equation (5) into Equation (7), the resulting expression given by Equation (8) is obtained.
V ˙ ( x ) = k x 1 x 2 + J x 2 k J x 1 b J x 2 + 1 J u ( t ) ,
which expands to
V ˙ ( x ) = k x 1 x 2 k x 1 x 2 b x 2 2 + x 2 u ( t ) .
Observing that the terms k x 1 x 2 and k x 1 x 2 cancel out, the derivative simplifies to Equation (9).
V ˙ ( x ) = b x 2 2 + x 2 u ( t ) .
This expression is fundamental for establishing the system’s stable conditions. The derivative V ˙ ( x ) consists of two terms:
  • The term b x 2 2 is strictly non-positive for all x 2 , since b > 0 and x 2 2 0 .
  • The term x 2 u ( t ) depends on the control input u ( t ) and the system’s angular velocity  x 2 .
If the control input u ( t ) is designed such that it does not dominate the natural dissipative effect introduced by the damping term b x 2 2 , the system’s total energy, represented by V ( x ) , will decrease over time. This implies that the system will gradually dissipate energy, leading to convergence toward the equilibrium point.

2.3. Takagi–Sugeno Fuzzy Inference

In 1985, a new methodology for a fuzzy inference engine was proposed by Takagi and Sugeno [28]. It was introduced due to the limitations of the Mamdani inference engine, which presented high computational loads, causing limitations in fast dynamic systems. Takagi and Sugeno replaced the fuzzy outputs of the rules with mathematical functions [29,30], making the system more efficient. This allows implementations in nonlinear systems that are too complex to be solved by the Mamdani method [31].
All fuzzy sets are associated with linear membership functions, characterized by two parameters representing the maximum degree of 1 and the minimum degree of 0. The truth value of a proposition “x is A and y is B” is defined as follows: |x is A and y is B| = A ( x ) B ( x ) .
Equation (10) shows the expression of fuzzy implication.
R : If f ( x 1 is A 1 , , x i is A i ) , then z i = ( a i x + b i , i = ( 1 , 2 , 3 , n ) .
where:
  • z i : Variable of the consequence whose value is inferred.
  • x 1 x i : Variables of the premise that also appear in the consequence part.
  • A 1 A i : Fuzzy sets with linear membership functions representing a fuzzy subspace where the implication R can be applied for reasoning.
  • f: Logical function that connects the propositions in the premise.
  • a i x + b i : Function that implies the value of z i when x 1 x i satisfy the premise.
The final output z 0 is inferred from n implications and is given as the average of all z i with the weights as can be seen in Equation (11), assuming that a i = A i ( x ) .
z 0 = i = 1 n a i z i i = 1 n a i

2.4. Takagi–Sugeno–Kang Fuzzy Controller

In 1998, ref. [32] presented a Takagi–Sugeno–Kang (TSK) fuzzy controller based on a TS fuzzy model consisting of TS fuzzy rules whose consequents are state-space equations with a constant term. In the TS fuzzy model, each rule corresponds to a specific operating region or condition of the system. These rules define linear input–output relationships within their regions, enabling a simplified representation of the local dynamics [33]. The overall system behavior is then obtained by combining these local linear models using fuzzy logic principles. This combination process ensures smooth transitions between operating regions, producing a cohesive and accurate representation of the system’s global behavior.
The structure of the TSK fuzzy controller consists of four stages: fuzzification, rule formulation, TS fuzzy inference, and defuzzification.
  • Fuzzification: This stage assigns each input a degree of membership to the defined fuzzy sets, enabling a qualitative representation of the system’s quantitative information. Each input variable is transformed into linguistic variables through fuzzy membership functions.
  • Rules formulation: The designer specifies the decision-making rules based on the relationship between the inputs and outputs.
  • TS fuzzy inference: In this stage, the TS fuzzy inference links the rules established in the previous stage with the outputs. This fuzzy inference relates the rules to the linear output functions proposed by the designer.
  • Defuzzification: Finally, in the defuzzification stage, a crisp output is obtained from the linear output functions using a weighted average, as seen in Equation (11).

2.5. Parabolic Trajectory

In control systems, a trajectory refers to the path a system follows through a sequence of movements within a specified time frame. One of the most widely used methods for generating such trajectories is the parabolic velocity profile [34], which provides smooth and predictable motion. This model accelerates the actuator at a constant rate until a midpoint is reached, followed by a symmetrical deceleration phase until the velocity returns to zero.
Equation (12) defines the resulting position over time, which describes the displacement at each instant. Figure 3 and Figure 4 illustrate this parabolic trajectory’s corresponding position and velocity profiles.
θ ( t ) = θ 0 + 2 θ ˙ f t f ( t t 0 ) 2 4 θ ˙ f 3 t f 2 ( t t 0 ) 3 , 0 < t t f
Equation (13) relates the velocity and the execution time of the motion.
t f = 3 h 2 θ ˙ f

3. Materials and Methods

The Takagi–Sugeno–Kang controller is the fuzzy controller presented in this research. This methodology is a rule-based control approach that combines fuzzy logic with linear models to handle complex, nonlinear systems. Figure 5 illustrates the methodology employed in the design of the TSK fuzzy controller. The first step is to generate the parabolic trajectory presented in Section 2.5, where the designer specifies the target final position and the execution time of the motion. The next step is the fuzzification process, in which linguistic variables are proposed based on the angular error exhibited by the system through membership functions. The third step is establishing the IF–THEN rules that relate the inputs to the outputs. Subsequently, the rules are evaluated through TS fuzzy inference. The next step is to perform defuzzification using Equation (11) in Section 2.3, where the output of the controller is computed as a weighted average of the rule outputs, with the weights determined by the firing strengths of the rules. The final stage corresponds to sending the control signal to both rotors of the UAV bicopter, denoted by U ( t ) , to correct the error presented by the system.
The error denoted by e ( t ) is defined as the difference between the reference or target position r ( t ) and the current position measured by the angular sensor denoted by θ , as shown in Equation (14).
e ( t ) = r ( t ) θ ( t )
The fuzzification stage is based on the angular error using fifteen linguistic values. The linguistic values that describe it are shown with the following abbreviations: VLN (Very Large Negative), LN (Large Negative), MLN (Moderately Large Negative), MN (Medium Negative), MSN (Moderately Small Negative), VSN (Very Small Negative), Z (Zero), VSP (Very Small Positive), SP (Small Positive), MSP (Moderately Small Positive), MP (Medium Positive), MLP (Moderately Large Positive), LP (Large Positive), and VLP (Very Large Positive).
The linguistic variable (error) is described by two trapezoidal and thirteen triangular linguistic values. Equations (15) and (16) present the triangular and trapezoidal membership functions, respectively.
μ t r i a n g u l a r ( x ) = x i α i m i α i if x [ α i , m i ] x i m i m i β i if x ( m , β i ] 0 other values .
μ t r a p e z o i d a l ( x ) = x i α i β i α i if x [ α i β i ) 1 if x [ β i , γ i ] x i ϵ i ϵ i γ i if x ( γ i , ϵ i ] 0 other values
For the triangular membership function, α i , μ i , and  β i represent the start, the central point, and the end, respectively. For the trapezoidal membership function, α i , β i , γ i , and  ϵ i represent the start, the left central point, the right central point, and the end, respectively.
The distribution of the linguistic values is symmetrically arranged to ensure a similar system response when the error takes on either positive or negative values. Trapezoidal membership functions are proposed to provide a constant response when the error becomes significantly large. On the other hand, triangular membership functions are employed at the center of the distribution because the system requires a fast and precise response to correct the error due to nonlinearities.
Figure 6 illustrates the symmetrical distribution of the linguistic values used to represent the error.
Table 3 presents the linear output functions associated with the proposed TSK fuzzy tracking controller. The table is divided into two sections representing the output control functions U 1 and U 2 , which are applied to the two rotors (BLDC1 and BLDC2 motors) of the UAV bicopter. For each linguistic rule z i , a specific linear function of the form a i · e ( t ) + b i is designed to adjust the controller response. The outputs for U 1 start with positive coefficients a i and progressively symmetrically shift toward negative values. In contrast, U 2 starts with negative coefficients and gradually shifts to positive values. This symmetric distribution ensures a balanced and coordinated actuation of both rotors. However, this symmetry only holds if the motors have the same characteristics. In practical applications, where slight differences between motors may exist, the symmetry can be complemented, allowing the use of a reduced set of 15 IF–THEN rules while maintaining effective control.
Table 4 shows the fuzzy inference rules defined for the proposed TSK fuzzy tracking controller. Each rule follows the IF–THEN structure. Thirty fuzzy rules are proposed, with fifteen fuzzy rules for each output ( U 1 , U 2 ).
The defuzzification stage is evaluated based on a weighted average, as shown in Equation (11). Therefore, Equations (17) and (18) determine the output values for both rotors.
U 1 = i n a i z i i n a i = V L N ( z 1 B L D C 1 ) + L N ( z 2 B L D C 1 ) + + V L P ( z 15 B L D C 1 ) V L N + L N + + V L P
U 2 = i n a i z i i n a i = V L N ( z 1 B L D C 2 ) + L N ( z 2 B L D C 2 ) + + V L P ( z 15 B L D C 2 ) V L N + L N + + V L P
To quantify the performance tracking controller, it is evaluated using the Root Mean Squared Error (RMSE) and the Integral Absolute Error (IAE). Equation (19) defines the calculation of the RMSE, which evaluates the average error between the system’s behavior and the target position. On the other hand, the IAE computes the total accumulated error during the entire test duration. Its expression is defined in Equation (20).
R M S E = 1 N k = 0 N r ( k T s ) θ ( k T s ) 2
I A E = k = 0 N | r ( k T s ) θ ( k T s ) | · T s
where
  • N is the total number of samples.
  • θ ( k T s ) is the position value at sample k.
  • r ( k T s ) is the target position value at sample k.
  • T s is the sampling time.

4. Results

This section presents the final design of the TSK fuzzy tracking controller. The fuzzy tracking controller is implemented on an embedded system based on the ESP32 microcontroller. The MPU6050 sensor is responsible for acquiring the angular position data measured from the UAV bicopter. The embedded system is programmed in C++ using a sampling time of 0.02 s for the experimental phase. The execution time of the implemented TSK fuzzy controller has an average execution time of 387.8063 μs per control cycle. This execution time includes evaluating membership functions, the fuzzy inference process, and calculating the controller output. The selected sampling time is constrained by the physical limitations of the BLDC motors, which cannot adjust their rotational speed instantaneously due to the rotor’s mechanical inertia. As a result, several milliseconds are required for the motor to respond effectively to changes in the PWM signal. Figure 7 illustrates the mechanical system of the UAV bicopter in experimentation. Algorithm 1 shows how the TSK fuzzy tracking controller works.
Algorithm 1: TSK fuzzy tracking controller algorithm.
Symmetry 17 00759 i001
Table 5 shows the distribution parameters of the triangular and trapezoidal error linguistic values. Figure 8 illustrates the visual representation of the membership functions used in the final controller proposal. The distribution of the functions closer to zero aims to achieve a fast system response within the error range of [−1.5 to 1.5] degrees, reducing the steady-state error.
Table 6 presents the linear functions used in the final test. These functions are based on the response required by the system to overcome the inherent nonlinearities of the UAV bicopter. A quicker response is needed to stabilize the system when the error ranges from 0.5 to 1.5 degrees. Due to the nonlinearity, the UAV bicopter can enter steady-state error if a smoother response is observed within this range of values. The definition of the coefficients α i and the constant terms b i in the output linear functions of the TSK fuzzy controller follows a design process to ensure robust and precise system performance in response to variations in the reference error. The main objective in selecting these coefficients is to reduce the steady-state error, considering the system’s inherent nonlinearities. Rapid and aggressive corrections are applied to achieve this in scenarios where immediate stabilization of the target position is required. In contrast, smoother corrections are used in situations far from the reference position to avoid oscillatory movements that could compromise the system’s stability.
Figure 9 and Figure 10 show the control output surfaces obtained through the TSK fuzzy inference and the expected designed control surface. Although the expected control surface was designed using linear segments, the control signal processed through the TSK fuzzy inference system exhibits nonlinear behavior. This distortion arises from the nature of the membership functions employed, which influence the weighted combination of the local outputs. With two trapezoidal membership functions at the extremes, a slower response is obtained to prevent the system from aggressively correcting the error. In contrast, implementing the triangular functions for small angular errors generates a faster response to correct the system’s output. The asymmetry in the output surface between the two rotors arises because the rotors do not have identical mechanical characteristics, causing them to break inertia in different ways. As a result, 15 fuzzy rules are proposed for each motor to account for their differing behaviors.
The first test was conducted to evaluate the performance of the TSK controller using a target position corresponding to a 10-degree step input, as illustrated in Figure 11. The system is stabilized within 1.5 s, achieving a minimal steady-state error of 0.25 degrees. Figure 12 presents the control signal applied in the step-test.
The experimental results are presented in five different trajectory tracking cases, with the main objective being to validate that the TSK controller successfully stabilizes the proposed system within the target time. For the five cases, a final time of 1.7 s is proposed. Figure 13 illustrates the angular position response of the system under the control of the TSK fuzzy controller. The reference trajectory is compared with the actual angular position obtained during the experiment. Figure 14 shows the angular error reported during several tests. Figure 15a,b show the control signals U 1 and U 2 , respectively, applied to the rotors during each trajectory tracking test. These signals reflect the controller’s dynamic response to the desired reference inputs. The variation in the PWM levels for each rotor illustrates how the system adjusts the actuation to maintain stability and accurately follow the desired trajectory.
On the other hand, the first test starts at an initial position of −10 degrees and ends at the final position of 10 degrees. The maximum angular error observed during the experiment test is 0.6 degrees, while the steady-state error is 0.415. The system exhibits an RMSE value of 0.2049 and an IAE value of 0.9876. Additionally, the OS recorded during the test was 2.89915%. The second test from −12 to 12 reports an RMSE value of 0.3269 and an IAE of 2.7460, with a steady-state error of 0.35 degrees and an overshoot (OS) of 1.8333%, making it the trajectory case with the lowest values obtained. The third test starts from an initial position of −15 and ends at the final position of 15 degrees. The bicopter shows a steady-state error of 0.49 degrees, while the OS obtained during the test was 2.866%. This test presents an RMSE value of 0.3899 and IAE value of 2.5244. The four tests from −17 to 17 present an IAE value of 2.27615 and an RMSE value of 0.3335. The system shows a steady-state error of 0.39 degrees, while the overshoot obtained during the test was 2.294%. The fifth test begins at −20 degrees and reaches a final position of 20 degrees. The maximum angular error recorded was 0.86 degrees, while the steady-state error measured 0.43 throughout the experimental test. The system achieved an RMSE of 0.2494 and an IAE of 1.1799. Furthermore, the overshoot observed during the test was 1.1799%.

Robustness Test

Figure 16 presents three scenarios of robustness tests applied to trajectory tracking within an angular range of −10 to 10 degrees. These tests aim to evaluate the capability of the proposed controller to maintain system performance under external disturbances. The methodology used to induce such disturbances involves periodically altering the target position. Every 8 s, the cycle duty of one rotor is increased to 90% while the other is decreased to 10% for a brief interval of 500 milliseconds. This abrupt and cyclical modification of the rotors’ duty cycle is designed to temporarily destabilize the system, enabling the analysis of the controller’s response to unexpected variations in the desired trajectory. The results of each test allow for the assessment of the controller’s effectiveness in terms of recovery, stability, and accuracy under unanticipated external conditions. The system initially tracks the generated parabolic trajectory. Once the steady-state error is reached, the computationally generated perturbations are introduced. The response demonstrates the effectiveness of the controller under perturbations, as it returns to the target position after the disturbance. Figure 17 shows the error observed during the tests. On the other hand, Figure 18a,b present the control signals U 1 and U 2 , respectively, applied to rotors in three tests.

5. Discussion

Figure 13 presents several trajectory tracking tests on the proposed control system. In all cases, the settling time was consistently 1.7 s. The first test yielded the lowest root mean square error (RMSE) of 0.2049 and the lowest integral of absolute error (IAE) of 0.9876, while the second test exhibited the smallest overshoot at 1.8333%. The fourth test achieved the lowest steady-state error, with a final deviation of only 0.39 degrees. Complementarily, Figure 14 compares the angular errors across all experiments: the fifth test recorded the highest angular error (0.86 degrees), whereas the fourth test again stood out with the lowest error (0.6 degrees). To validate the trajectory tracking strategy’s robustness, 100 experimental trials were performed—50 within the range of 10 to 10 degrees and 50 within 20 to 20 degrees. The TSK fuzzy controller demonstrated consistent performance, achieving low average RMSE values and small standard deviations in both scenarios, reflecting high accuracy and stable system behavior. Although the IAE increased slightly in the broader range, it remained within acceptable margins, confirming the controller’s capacity to manage larger reference deviations without significant cumulative error. The average duration of the trajectory tracking trials was approximately 9 s, as summarized in Table 7.
For the 10-degree step input test, the overall mean error was 0.2268 with a standard deviation of 0.055, while the mean of individual standard deviations was 0.1428 (±0.0316), reflecting a consistent and precise system response. These results were obtained from 50 experimental trials, each with an average duration of 14 s, demonstrating the thoroughness of our experimental process. Table 8 presents a comparative analysis with other related methodologies implemented on similar UAV configurations. Four case studies are considered: the first employs an AF2-DOF PID controller for a two-rotor UAV, providing only simulation results; the second focuses on balancing control through optimization of the Q and R parameters in a bicopter, also limited to simulations; the third implements a classical PID controller for experimental bicopter control; and the fourth explores pitch regulation using a state feedback controller, again through simulation. Compared to these approaches, the proposed TSK fuzzy controller offers experimentally validated results and superior tracking precision under real-world conditions.
Table 9 presents a comparative analysis of key performance metrics—RMSE, IAE, steady-state error (SE), overshoot (OS), and settling time (ST)—between the proposed methodology and several related works. In the study by [19], the controller achieved an SE of 0.05 and an ST of 0.0867 s, with no overshoot reported. While these results indicate a highly efficient response, they are limited to simulation-based validation. Similarly, ref. [17] applied a genetic algorithm for parameter optimization and obtained an OS of 12.8244% and an ST of 7.1450 s, also without steady-state error; however, this approach was likewise validated only through simulation. In contrast, ref. [16] reported experimental results on a bicopter, achieving an SE of 0.25 degrees, an OS of 6.68%, and a settling time of 2.62 s. Another simulation-based study by [35] employed a state feedback controller for pitch regulation, showing an OS of 4.86% and an ST of 1.13 s, with no steady-state error. The methodology proposed in this article differs by incorporating both simulated and experimentally validated results, reporting RMSE and IAE values of 0.2049 and 0.9876, respectively—performance indices not addressed in the studies above. Additionally, it achieved an SE of 0.415 degrees and an OS of 2.8915%, with a target settling time of 1.7 s. Although the proposed method exhibits a higher steady-state error than that reported in [16], it ranks third in settling time among all compared approaches. These results not only reflect the challenges imposed by the system’s inherent nonlinearities and experimental uncertainties but also demonstrate a competitive and practically viable control performance, providing reassurance and confidence in its application.

6. Conclusions

This paper introduced the design and experimental implementation of a TSK fuzzy controller for trajectory tracking in a UAV bicopter, characterized by strong nonlinearities and dynamic complexity. The proposed strategy demonstrated high tracking accuracy, achieving low RMSE and minimal steady-state deviations across all test scenarios. Quantitative metrics such as RMSE and the integral of absolute error (IAE) validated the controller’s precision and robustness. All experiments yielded consistent settling times of approximately 1.7 s. The most favorable trajectory exhibited an RMSE of 0.2049 and an IAE of 0.9876. Furthermore, the controller maintained effective performance under external computational disturbances. When a sudden perturbation was introduced to one of the rotors, the system quickly stabilized and returned to the desired trajectory, with a maximum angular deviation of only 3.81 degrees. These results highlight the controller’s strong disturbance rejection capabilities and ability to ensure stable operation in real-world conditions. The practical implementation confirmed the viability of the proposed TSK fuzzy approach, reinforcing its relevance for applications requiring real-time, reliable control in uncertain and nonlinear environments. In summary, the results underscore the effectiveness of the TSK controller as a robust solution for precise trajectory tracking in UAV systems. Beyond the current scope, this case study opens several avenues for future research. One direction involves developing an adaptive version of the controller that can modify its fuzzy rules in real-time based on changing system dynamics. Another promising extension is the integration of neuro-fuzzy architectures, enabling learning from simulations and experimental data. Perhaps the most ambitious line of inquiry is scaling the approach to multicopter platforms—tricopters, quadcopters, or hexacopters—thus enabling three-dimensional trajectory tracking through coordinated control of altitude, pitch, and roll.

Author Contributions

Conceptualization, J.R.R.-R. and J.R.G.-M.; methodology, J.R.R.-R., J.R.G.-M. and E.E.C.-M.; software, J.R.R.-R., J.R.G.-M. and T.M.-S.; validation, J.R.R.-R., J.R.G.-M. and Á.O.; formal analysis, J.R.G.-M., Á.O., L.D.R.-G. and O.A.B.-V.; investigation, J.R.R.-R., J.R.G.-M. and T.M.-S.; resources, E.E.C.-M. and L.D.R.-G.; data curation, J.R.R.-R., J.R.G.-M., E.E.C.-M. and Á.O.; writing—original draft preparation, J.R.R.-R. and J.R.G.-M.; writing—review and editing, J.R.G.-M., E.E.C.-M. and Á.O.; visualization, J.R.G.-M. and E.E.C.-M.; supervision, J.R.G.-M. and Á.O.; project administration, J.R.G.-M.; funding acquisition, J.R.G.-M., T.M.-S., E.E.C.-M., L.D.R.-G. and O.A.B.-V. 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 this study are included in the article. Further inquiries can be directed to the corresponding author(s).

Acknowledgments

The first author, an undergraduate student, thanks the “Facultad de Ingeniería en Electrónica y Comunicaciones” at the “Universidad Veracruzana” for supporting the publication of this scientific article. We would also like to thank Grammarly Premium, a grammar-checking software, for its general review of the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
UAVUnmanend Aerial Vehicle
TSKTakagi–Sugeno–Kang
PIDProportional–Integrative–Derivative
GAGenetic Algorithm
BLDCMBrushless Direct Current Motor
PSOParticle Swarm Optimization
DFLCDirect Fuzzy Logic Controller
FTSMCFast Terminal Sliding Mode Control
LQRLinear Quadratic Regulator
IMUInertial Measurement Unit
ESCElectronic Speed Controller
VLNVery Large Negative
LNLarge Negative
MLNModerately Large Negative
MNMedium Negative
MSNModerately Small Negative
SNSmall Negative
VSNVery Small Negative
ZZero
VSPVery Small Positive
SPSmall Positive
MSPModerately Small Positive
MPMedium Positive
MLPModerately Large Positive
LPLarge Positive
VLPVery Large Positive
RMSERoot Square Mean Error
IAEIntegral Absolute Error
OSOvershoot
PWMPulse Width Modulation
SSESteady-State Error
STSettling Time

References

  1. He, X.; Wang, Y. Design and trajectory tracking control of a new bi-copter UAV. IEEE Robot. Autom. Lett. 2022, 7, 9191–9198. [Google Scholar] [CrossRef]
  2. Vundela, V.R.; Muralidharan, V. Nonlinear attitude and altitude trajectory tracking control of a bicopter UAV in geometric framework. J. Robot. 2024, 2024, 5552493. [Google Scholar] [CrossRef]
  3. Beliautsou, V.; Beliautsou, A. Prop-plane—New convertible VTOL UAV as a combination of a longitudinal bicopter and a flying wing with a tilt-rotor powertrain. Aerosp. Sci. Technol. 2024, 155, 109650. [Google Scholar] [CrossRef]
  4. Zhang, Y.; Wang, G.; Zhou, T.; Huang, X.; Lam, S.; Sheng, J.; Choi, K.S.; Cai, J.; Ding, W. Takagi-Sugeno-Kang fuzzy system fusion: A survey at hierarchical, wide and stacked levels. Inf. Fusion 2024, 101, 101977. [Google Scholar] [CrossRef]
  5. Ouifak, H.; Idri, A. On the performance and interpretability of Mamdani and Takagi–Sugeno–Kang based neuro-fuzzy systems for medical diagnosis. Sci. Afr. 2023, 20, E01610. [Google Scholar] [CrossRef]
  6. Jovanović, R.; Zarić, V.; Bučevac, Z.; Bugarić, U. Discrete-Time System Conditional Optimization Based on Takagi–Sugeno Fuzzy Model Using the Full Transfer Function. Appl. Sci. 2022, 12, 7705. [Google Scholar] [CrossRef]
  7. Subramani, S.; Vijayarangan, K.K.; Chenniappan, M. Improved African Buffalo Optimization-Based Takagi–Sugeno–Kang Fuzzy PI Controller for Speed Control in BLDC Motor. Electr. Power Components Syst. 2023, 51, 1948–1962. [Google Scholar] [CrossRef]
  8. Aslam, S.; Chak, Y.-C.; Jaffery, M.H.; Varatharajoo, R.; Ansari, E.A. Model predictive control for Takagi–Sugeno fuzzy model-based Spacecraft combined energy and attitude control system. Adv. Space Res. 2023, 71, 4155–4172. [Google Scholar] [CrossRef]
  9. Ozcan, O.F.; Kilic, H.; Ozguven, O.F. A unified robust hybrid optimized Takagi–Sugeno fuzzy control for hydrogen fuel cell-integrated microgrids. Int. J. Hydrogen Energy 2025, in press. [Google Scholar] [CrossRef]
  10. Nguyen, V.-T.; Duong, D.-N.; Pham, D.-H.; Ngo, V.-T.; Tuan, L.A. Optimal nonlinear PID TSK3DCMAC controller based on balancing composite motion optimization for ballbot with external forces. ISA Trans. 2025, 158, 654–673. [Google Scholar] [CrossRef]
  11. Tripathi, R.P.; Singh, A.K.; Gangwar, P.; Verma, R.K. Sensorless speed control of DC motor using EKF estimator and TSK fuzzy logic controller. Automatika 2022, 63, 338–348. [Google Scholar] [CrossRef]
  12. Zaman, M.Q.; Wu, H.-M. Genetic Algorithm Based Takagi–Sugeno Fuzzy Modelling of a Mecanum Wheeled Mobile Robot. Int. J. Control. Autom. Syst. 2025, 23, 907–919. [Google Scholar] [CrossRef]
  13. Ramezani, M.S.; Ajami, S.; Ghafarirad, H. Path-tracking control of quadrotor using adaptive critic-based neurofuzzy controller. In Proceedings of the 2021 9th RSI International Conference on Robotics and Mechatronics (ICRoM), Tehran, Iran, 17–19 November 2021; IEEE: Piscataway, NJ, USA, 2021; pp. 248–254. [Google Scholar]
  14. Lou, Q.; Deng, Z.; Xiao, Z.; Choi, K.-S.; Wang, S. Multilabel Takagi–Sugeno–Kang fuzzy system. IEEE Trans. Fuzzy Syst. 2021, 30, 3410–3425. [Google Scholar] [CrossRef]
  15. Bhar, A.; Mezni, Y.; Sayadi, M. Tuning PID control parameters: A combined experimental and simulation study. In Proceedings of the 2024 International Conference on Control, Automation and Diagnosis (ICCAD), Paris, France, 15–17 May 2024; Volume 1, pp. 1–6. [Google Scholar]
  16. Jayadi, A.; Adhinata, F.D.; Sembiring, J.P.; Putri, N.U.; Pranita, E.; Setiawan, A. Implementation of PID Control as a One Axis Balancing Control System on the Bicopter Vehicle. In Proceedings of the 2023 International Conference on Converging Technology in Electrical and Information Engineering (ICCTEIE), Bandar Lampung, Indonesia, 25–26 October 2023; Volume 1, pp. 113–117. [Google Scholar]
  17. Apriaskar, E.; Prastiyanto, D.; Manaf, A.A.; Amelia, I. Multi-criteria Genetic Algorithm Optimization Approach for Balancing Bicopter Control. IOP Conf. Ser. Earth Environ. Sci. 2023, 1203, 012027. [Google Scholar] [CrossRef]
  18. Phelps, A.; Salazar, J.A.P.; Goel, A. Data-driven Fuzzy Control for Time-Optimal Aggressive Trajectory Following. arXiv 2025, arXiv:2504.06500. [Google Scholar]
  19. Cukdar, I.; Yigit, T.; Celik, H. Balance Control of Brushless Direct Current Motor Driven Two-Rotor UAV. Appl. Sci. 2024, 14, 4059. [Google Scholar] [CrossRef]
  20. Jennan, N.; Mellouli, E.M.; Žuraulis, V. Direct Fuzzy Logic Controller Combined with Fast Terminal Sliding Mode for a Bicopter. In Proceedings of the 2024 4th International Conference on Innovative Research in Applied Science, Engineering and Technology (IRASET), Fez, Morocco, 16–17 May 2024; IEEE: Piscataway, NJ, USA, 2024; pp. 1–6. [Google Scholar]
  21. Fahmizal, F.; Nugroho, H.A.; Cahyadi, A.I.; Ardiyanto, I. Fuzzy Logic Controller for Stabilizing the Rolling Movement of UAV Bicopter. ICIC Express Lett. 2023, 17, 967–978. [Google Scholar]
  22. Marques, F.M.M.; Alves, G.R.O.; Silva, G.H.C.E.; de Assis, P.A.Q. Model-Based Predictive Controller Applied to a 3 DOF Tilt-Rotor Bi-copter Test Bench. J. Control. Autom. Electr. Syst. 2024, 35, 474–484. [Google Scholar] [CrossRef]
  23. Li, W.; Liu, Y.; Yu, Y.; Chen, J. Optimized Cascade Control Strategy for Bi-copter UAV Based on Fuzzy-PID and ADRC. In International Conference on Guidance, Navigation and Control; Springer Nature: Singapore, 2024; pp. 411–420. [Google Scholar]
  24. Prakosa, J.A.; Wang, H.; Kurniawan, E.; Agmal, S.; Kholili, M.J. Experimental Studies of Linear Quadratic Regulator (LQR) Cost Matrices Weighting to Control an Accurate Take-off Position of Bicopter Unmanned Aerial Vehicles (UAVs). J. Mechatron. Electr. Power Veh. Technol. 2022, 13, 101–112. [Google Scholar] [CrossRef]
  25. Apriaskar, E.; Prastiyanto, D.; Utomo, A.B.; Manaf, A.A.; Amelia, I.; Ilham, D.A.; Photong, C. Genetic Algorithm-Enhanced Linear Quadratic Control for Balancing Bicopter System with Non-Zero Set Point. J. Mechatronics Electr. Power, Veh. Technol. 2023, 14, 105–113. [Google Scholar] [CrossRef]
  26. Arrofiq, M.; Apriaskar, E.; Mayub, A. Rigorous Modelling Steps on Roll Movement of Balancing Bicopter using Multi-Level Periodic Perturbation Signals. In Proceedings of the 2019 6th International Conference on Instrumentation, Control, and Automation (ICA), Bandung, Indonesia, 31 July–2 August 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 52–57. [Google Scholar]
  27. Rojas-Galván, R.; García-Martínez, J.R.; Cruz-Miguel, E.E.; Barra-Vázquez, O.A.; Olmedo-García, L.F.; Rodríguez-Reséndiz, J. Hunting Search Algorithm-Based Adaptive Fuzzy Tracking Controller for an Aero-Pendulum. Technologies 2024, 12, 63. [Google Scholar] [CrossRef]
  28. Takagi, T.; Sugeno, M. Fuzzy identification of systems and its applications to modeling and control. IEEE Trans. Syst. Man Cybern. 1985, SMC-15, 116–132. [Google Scholar] [CrossRef]
  29. Yoneyama, J.; Nishikawa, M.; Katayama, H.; Ichikawa, A. Output stabilization of Takagi–Sugeno fuzzy systems. Fuzzy Sets Syst. 2000, 111, 253–266. [Google Scholar] [CrossRef]
  30. Kiew-ong-art, M.; Chotikunnan, P.; Wongkamhang, A.; Chotikunnan, R.; Nirapai, A.; Imura, P.; Sangworasil, M.; Thongpance, N.; Srisiriwat, A. Comparative Study of Takagi-Sugeno-Kang and Madani Algorithms in Type-1 and Interval Type-2 Fuzzy Control for Self-Balancing Wheelchairs. Int. J. Robot. Control Syst. 2023, 3, 643–657. [Google Scholar] [CrossRef]
  31. Rehman, A.; Singh, A.K.; Singh, A.; Dubey, E.P. Mamdani and Sugeno fuzzy logic approach of PID controller. Int. J. Res. Appl. Sci. Eng. Technol. IJRASET 2022, 10, 5016–5022. [Google Scholar] [CrossRef]
  32. Kang, G.; Lee, W.; Sugeno, M. Design of TSK fuzzy controller based on TSK fuzzy model using pole placement. In Proceedings of the 1998 IEEE International Conference on Fuzzy Systems, IEEE World Congress on Computational Intelligence, Anchorage, AK, USA, 4–9 May 1998; Volume 1, pp. 246–251. [Google Scholar] [CrossRef]
  33. Surono, S.; Wen, G.K.; Onn, C.W.; Dasril, Y.B.; Astuti, A.Y.; Periasamy, N. Effectiveness of Enhanced Takagi Sugeno Kang’s Fuzzy Inference Model. J. Theor. Appl. Inf. Technol. 2022, 100, 2383–2392. [Google Scholar]
  34. Olmedo-García, L.F.; García-Martínez, J.R.; Cruz-Miguel, E.E.; Barra-Vázquez, O.A.; Gónzalez-Lee, M.; Martínez-Sánchez, T. Real-Time Embedded System-Based Approach for Sensing Power Consumption on Motion Profiles. Electronics 2023, 12, 3853. [Google Scholar] [CrossRef]
  35. Uddin, N.; Harno, H.G.; Manurung, A.; Nasucha, M. A Pitch Control System Design for Bicopter UAVs. In Proceedings of the 2021 8th International Conference on Information Technology, Computer and Electrical Engineering (ICITACEE), Semarang, Indonesia, 23–24 September 2021; IEEE: Piscataway, NJ, USA, 2021; pp. 57–62. [Google Scholar]
Figure 1. Three-dimensional design of the UAV bicopter system.
Figure 1. Three-dimensional design of the UAV bicopter system.
Symmetry 17 00759 g001
Figure 2. Free-body diagram of the UAV bicopter.
Figure 2. Free-body diagram of the UAV bicopter.
Symmetry 17 00759 g002
Figure 3. Position [Degrees] in a parabolic velocity profile.
Figure 3. Position [Degrees] in a parabolic velocity profile.
Symmetry 17 00759 g003
Figure 4. Velocity [Degrees/s] in a parabolic velocity profile.
Figure 4. Velocity [Degrees/s] in a parabolic velocity profile.
Symmetry 17 00759 g004
Figure 5. Takagi–Sugeno–Kang fuzzy tracking controller design.
Figure 5. Takagi–Sugeno–Kang fuzzy tracking controller design.
Symmetry 17 00759 g005
Figure 6. Error linguistic variables proposed.
Figure 6. Error linguistic variables proposed.
Symmetry 17 00759 g006
Figure 7. UAV bicopter stabilized at 0 degrees.
Figure 7. UAV bicopter stabilized at 0 degrees.
Symmetry 17 00759 g007
Figure 8. Error linguistic variables in the final controller proposal.
Figure 8. Error linguistic variables in the final controller proposal.
Symmetry 17 00759 g008
Figure 9. Proposed versus TSK fuzzy inference output control surface [Duty Cycle] of U 1 .
Figure 9. Proposed versus TSK fuzzy inference output control surface [Duty Cycle] of U 1 .
Symmetry 17 00759 g009
Figure 10. Proposed versus TSK fuzzy inference output control surface [Duty Cycle] of U 2 .
Figure 10. Proposed versus TSK fuzzy inference output control surface [Duty Cycle] of U 2 .
Symmetry 17 00759 g010
Figure 11. Ten-degree step response.
Figure 11. Ten-degree step response.
Symmetry 17 00759 g011
Figure 12. Control signals [Duty Cycle] applied to the system.
Figure 12. Control signals [Duty Cycle] applied to the system.
Symmetry 17 00759 g012
Figure 13. Bicopter response in trajectory tracking comparison.
Figure 13. Bicopter response in trajectory tracking comparison.
Symmetry 17 00759 g013
Figure 14. Error [Degrees] in several trajectories.
Figure 14. Error [Degrees] in several trajectories.
Symmetry 17 00759 g014
Figure 15. Control signal [Duty Cycle] of U 1 in several trajectories: (a) control signal of U 1 ; (b) control signal of U 2 .
Figure 15. Control signal [Duty Cycle] of U 1 in several trajectories: (a) control signal of U 1 ; (b) control signal of U 2 .
Symmetry 17 00759 g015
Figure 16. Trajectory tracking robustness tests: −10 to 10 degrees with computational perturbations.
Figure 16. Trajectory tracking robustness tests: −10 to 10 degrees with computational perturbations.
Symmetry 17 00759 g016
Figure 17. Error [Degrees] during trajectory tracking robustness tests.
Figure 17. Error [Degrees] during trajectory tracking robustness tests.
Symmetry 17 00759 g017
Figure 18. Control signal [Duty Cycle] of U 1 during trajectory tracking robustness tests: (a) control signal of U 1 ; (b) control signal of U 2 .
Figure 18. Control signal [Duty Cycle] of U 1 during trajectory tracking robustness tests: (a) control signal of U 1 ; (b) control signal of U 2 .
Symmetry 17 00759 g018
Table 1. Several methodologies are applied to the UAV bicopter system.
Table 1. Several methodologies are applied to the UAV bicopter system.
MethodologyControllerRemarks
[16]PIDA PID controller is implemented for the balancing control of a bicopter vehicle. For the experimental results, different weight loads are applied at various prototype points to validate the controller.
[17]Optimized PIThey optimize the PI controller using a Genetic Algorithm to find the best gains for the control method and implement it in the proposed system. Two approaches are employed to optimize the controller gains: one incorporates the Integral of Absolute Error (IAE), while the other does not.
[19]Adaptive Fuzzy 2-DOF PIDAn Adaptive Fuzzy (AF) 2-DOF PID controller is employed to balance a two-rotor UAV. The fuzzy controller is compared with a classical PID controller to demonstrate and validate the method proposed by the authors.
[20]DFLC combined with FTSMCThey use a direct Takagi–Sugeno fuzzy logic controller adapted to a Fast Terminal Sliding Mode Control (FTSMC) to reduce the nonlinearities and uncertainties present in the system.
Table 2. Mechanical parameters of the UAV bicopter.
Table 2. Mechanical parameters of the UAV bicopter.
ParameterSymbolValueUnits
Propulsive force of rotor 1 P 1 -N
Propulsive force of rotor 2 P 2 -N
Fulcrum to rotor 1 distance l 1 0.325m
Fulcrum to rotor 2 distance l 2 0.325m
Bar lengthL0.65m
Rotor 1 angular velocity ω 1 -rad/s
Rotor 2 angular velocity ω 2 -rad/s
UAV bicopter angle θ -Degrees
Table 3. Linear output functions of the TSK fuzzy tracking controller proposal.
Table 3. Linear output functions of the TSK fuzzy tracking controller proposal.
U 1 U 2
VariableLinear FunctionVariableLinear Function
z 1 B L D C 1 a 1 · e ( t ) + b 1 z 1 B L D C 2 a 30 · e ( t ) + b 30
z 2 B L D C 1 a 2 · e ( t ) + b 2 z 2 B L D C 2 a 29 · e ( t ) + b 29
z 3 B L D C 1 a 3 · e ( t ) + b 3 z 3 B L D C 2 a 28 · e ( t ) + b 28
z 4 B L D C 1 a 4 · e ( t ) + b 4 z 4 B L D C 2 a 27 · e ( t ) + b 27
z 5 B L D C 1 a 5 · e ( t ) + b 5 z 5 B L D C 2 a 26 · e ( t ) + b 26
z 6 B L D C 1 a 6 · e ( t ) + b 6 z 6 B L D C 2 a 25 · e ( t ) + b 25
z 7 B L D C 1 a 7 · e ( t ) + b 7 z 7 B L D C 2 a 24 · e ( t ) + b 24
z 8 B L D C 1 a 8 · e ( t ) + b 8 z 8 B L D C 2 a 23 · e ( t ) + b 23
z 9 B L D C 1 a 9 · e ( t ) + b 9 z 9 B L D C 2 a 22 · e ( t ) + b 22
z 10 B L D C 1 a 10 · e ( t ) + b 10 z 10 B L D C 2 a 21 · e ( t ) + b 21
z 11 B L D C 1 a 11 · e ( t ) + b 11 z 11 B L D C 2 a 20 · e ( t ) + b 20
z 12 B L D C 1 a 12 · e ( t ) + b 12 z 12 B L D C 2 a 19 · e ( t ) + b 19
z 13 B L D C 1 a 13 · e ( t ) + b 13 z 13 B L D C 2 a 18 · e ( t ) + b 18
z 14 B L D C 1 a 14 · e ( t ) + b 14 z 14 B L D C 2 a 17 · e ( t ) + b 17
z 15 B L D C 1 a 15 · e ( t ) + b 15 z 15 B L D C 2 a 16 · e ( t ) + b 16
Table 4. Fuzzy rules for the bicopter TSK fuzzy tracking controller.
Table 4. Fuzzy rules for the bicopter TSK fuzzy tracking controller.
U 1 U 2
RulesRules
If e ( t ) is VLN, then U 1 is z 1 B L D C 1 If e ( t ) is VLN, then U 2 is z 1 B L D C 2
If e ( t ) is LN, then U 1 is z 2 B L D C 1 If e ( t ) is LN, then U 2 is z 2 B L D C 2
If e ( t ) is MLN, then U 1 is z 3 B L D C 1 If e ( t ) is MLN, then U 2 is z 3 B L D C 2
If e ( t ) is MN, then U 1 is z 4 B L D C 1 If e ( t ) is MN, then U 2 is z 4 B L D C 2
If e ( t ) is MSN, then U 1 is z 5 B L D C 1 If e ( t ) is MSN, then U 2 is z 5 B L D C 2
If e ( t ) is SN, then U 1 is z 6 B L D C 1 If e ( t ) is SN, then U 2 is z 6 B L D C 2
If e ( t ) is VSN, then U 1 is z 7 B L D C 1 If e ( t ) is VSN, then U 2 is z 7 B L D C 2
If e ( t ) is Z, then U 1 is z 8 B L D C 1 If e ( t ) is Z, then U 2 is z 8 B L D C 2
If e ( t ) is VSP, then U 1 is z 9 B L D C 1 If e ( t ) is VSP, then U 2 is z 9 B L D C 2
If e ( t ) is SP, then U 1 is z 10 B L D C 1 If e ( t ) is SP, then U 2 is z 10 B L D C 2
If e ( t ) is MSP, then U 1 is z 11 B L D C 1 If e ( t ) is MSP, then U 2 is z 11 B L D C 2
If e ( t ) is MP, then U 1 is z 12 B L D C 1 If e ( t ) is MP, then U 2 is z 12 B L D C 2
If e ( t ) is MLP, then U 1 is z 13 B L D C 1 If e ( t ) is MLP, then U 2 is z 13 B L D C 2
If e ( t ) is LP, then U 1 is z 14 B L D C 1 If e ( t ) is LP, then U 2 is z 14 B L D C 2
If e ( t ) is VLP, then U 1 is z 15 B L D C 1 If e ( t ) is VLP, then U 2 is z 15 B L D C 2
Table 5. Parameters of the error linguistic variables.
Table 5. Parameters of the error linguistic variables.
Linguistic Value α i m i β i γ i ϵ i
VLN−25-−25−20−15
LN−18−15−12--
MLN−15−12−9--
MN−12−9−6--
MSN−8−4−1--
SN−1.5−1−0.5--
VSN−1−0.50--
Z−0.500.5--
VSP00.51--
SP0.511.5--
MSP148--
MP6912--
MLP91215--
LP121518--
VLP15-202525
Table 6. Final linear output functions of the TSK fuzzy tracking controller.
Table 6. Final linear output functions of the TSK fuzzy tracking controller.
U 1 U 2
VariableLinear FunctionVariableLinear Function
z 1 B L D C 1 0 · e ( t ) + 0 z 1 B L D C 2 0 · e ( t ) + 100
z 2 B L D C 1 0.1 · e ( t ) + 10 z 2 B L D C 2 0.1 · e ( t ) + 90
z 3 B L D C 1 0.3 · e ( t ) + 15 z 3 B L D C 2 0.5 · e ( t ) + 85
z 4 B L D C 1 0.4 · e ( t ) + 20 z 4 B L D C 2 0.4 · e ( t ) + 80
z 5 B L D C 1 0.1 · e ( t ) + 23 z 5 B L D C 2 0.3 · e ( t ) + 77
z 6 B L D C 1 0.1 · e ( t ) + 25 z 6 B L D C 2 0.2 · e ( t ) + 75
z 7 B L D C 1 0.05 · e ( t ) + 30 z 7 B L D C 2 0.2 · e ( t ) + 70
z 8 B L D C 1 0 · e ( t ) + 50 z 8 B L D C 2 0 · e ( t ) + 50
z 9 B L D C 1 0.05 · e ( t ) + 70 z 9 B L D C 2 0.2 · e ( t ) + 30
z 10 B L D C 1 0.1 · e ( t ) + 75 z 10 B L D C 2 0.2 · e ( t ) + 25
z 11 B L D C 1 0.1 · e ( t ) + 77 z 11 B L D C 2 0.3 · e ( t ) + 23
z 12 B L D C 1 0.4 · e ( t ) + 80 z 12 B L D C 2 0.4 · e ( t ) + 20
z 13 B L D C 1 0.3 · e ( t ) + 85 z 13 B L D C 2 0.5 · e ( t ) + 15
z 14 B L D C 1 0.1 · e ( t ) + 90 z 14 B L D C 2 0.1 · e ( t ) + 10
z 15 B L D C 1 0 · e ( t ) + 100 z 15 B L D C 2 0 · e ( t ) + 0
Table 7. Statistical analysis for trajectory tracking.
Table 7. Statistical analysis for trajectory tracking.
Metrics−10 to 10−20 to 20
RMSEIAERMSEIAE
Mean0.26871.10870.27011.2933
Standard deviation ( σ )0.05000.07390.01730.0587
Table 8. Comparison of several works.
Table 8. Comparison of several works.
WorkMethodImplementation
[17]LQ-GASimulation
[16]PIDExperimental
[19]Adaptative Fuzzy 2-DOF PIDSimulation
[35]State FeedbackSimulation
ProposedTSK Fuzzy TrackingExperimental
Table 9. Results comparison of several works: simulated and experimental.
Table 9. Results comparison of several works: simulated and experimental.
Metrics[19][17][16][35]Proposed
SimulationSimulationExperimentalSimulationExperimental
RMSE----0.2049
IAE----0.9876
SSE (°)0.0500.2500.415
OS (%)012.82446.684.862.8915
ST (s)0.08677.14502.621.131.7
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

Rivera-Ruiz, J.R.; García-Martínez, J.R.; Martínez-Sánchez, T.; Cruz-Miguel, E.E.; Ramírez-González, L.D.; Barra-Vázquez, O.A.; Odry, Á. Takagi–Sugeno–Kang Fuzzy Inference Tracking Controller for UAV Bicopter. Symmetry 2025, 17, 759. https://doi.org/10.3390/sym17050759

AMA Style

Rivera-Ruiz JR, García-Martínez JR, Martínez-Sánchez T, Cruz-Miguel EE, Ramírez-González LD, Barra-Vázquez OA, Odry Á. Takagi–Sugeno–Kang Fuzzy Inference Tracking Controller for UAV Bicopter. Symmetry. 2025; 17(5):759. https://doi.org/10.3390/sym17050759

Chicago/Turabian Style

Rivera-Ruiz, José R., José R. García-Martínez, Trinidad Martínez-Sánchez, Edson E. Cruz-Miguel, Luis D. Ramírez-González, Omar A. Barra-Vázquez, and Ákos Odry. 2025. "Takagi–Sugeno–Kang Fuzzy Inference Tracking Controller for UAV Bicopter" Symmetry 17, no. 5: 759. https://doi.org/10.3390/sym17050759

APA Style

Rivera-Ruiz, J. R., García-Martínez, J. R., Martínez-Sánchez, T., Cruz-Miguel, E. E., Ramírez-González, L. D., Barra-Vázquez, O. A., & Odry, Á. (2025). Takagi–Sugeno–Kang Fuzzy Inference Tracking Controller for UAV Bicopter. Symmetry, 17(5), 759. https://doi.org/10.3390/sym17050759

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