Next Article in Journal
Damage and Failure of a Column-Supported RC Flat Slab Subjected to Impulsive Loading
Next Article in Special Issue
Kinesthetic Learning Based on Fast Marching Square Method for Manipulation
Previous Article in Journal
Matrix Chain Multiplication and Equivalent Reduced-Order Parallel Calculation Method for a Robotic Arm
Previous Article in Special Issue
Discrete-Time Design of Dual Internal Model-Based Repetitive Control Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Dynamic Analysis of Fuzzy Systems

by
Manuel Barraza
1,2,*,
Fernando Matía
1,3 and
Basil Mohammed Al-Hadithi
1,4
1
Centre for Automation and Robotics (UPM-CSIC), Universidad Politécnica de Madrid, 28006 Madrid, Spain
2
Departamento de Ingeniería Eléctrica-Electrónica, Universidad de Tarapacá, Arica 1010069, Chile
3
Department of Automatic Control, Electrical and Electronic Engineering and Industrial Computing, Universidad Politécnica de Madrid, 28006 Madrid, Spain
4
Department of Electrical, Electronics, Control Engineering and Applied Physics, Higher Technical School of Industrial Design and Engineering, Universidad Politécnica de Madrid, 28012 Madrid, Spain
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(3), 1934; https://doi.org/10.3390/app13031934
Submission received: 29 December 2022 / Revised: 26 January 2023 / Accepted: 30 January 2023 / Published: 2 February 2023
(This article belongs to the Special Issue Advances in Intelligent Control and Engineering Applications)

Abstract

:
In this work, a new methodology for the dynamic analysis of non-linear systems is developed by applying the Mamdani fuzzy model. With this model, parameters such as settling time, peak time and overshoot will be obtained. The dynamic analysis of non-linear fuzzy systems with triangular membership functions is performed, and linguistic variables describing overly complex or ill-defined phenomena are used to fit the model. Scaling factors will simplify the modification of the variables, making them easier to find the system model. The specifications of second-order characteristics in the time domain, such as overshoot and peak time, will be represented graphically. As a case study, the proposed methods are implemented to analyse the dynamics of a tank and a simple pendulum for first-order and second-order systems, respectively, where it is observed that the proposed methodology offers highly positive results.

1. Introduction

The most common models in fuzzy control, the Mamdani model [1] and Takagi–Sugeno (T-S) model [2], are traditionally used to model non-linear systems. The main difference lies in the consequent part of the fuzzy rules. Mamdani fuzzy systems use fuzzy sets as the consequents of the rules, while T-S fuzzy systems use affine functions of the input variables as the consequents of the rules. From a linguistic perspective, Mamdani-type fuzzy systems are understandable since fuzzy linguistic variables are used in both premises and consequents [3]. On the other hand, in the T-S model, the number of free parameters is restricted by a suitable structure of the consequent functions, and the antecedent of each rule defines a validity region for the corresponding affine consequent model. It can be considered an optimization problem [4,5]. This work deals with the dynamic analysis of non-linear systems rather than control design. Therefore, the Mamdani model would be the appropriate choice.
The structure of the fuzzy model using the product-sum-gravity method was used [6,7] to obtain a flat surface in the inference map and then modify the membership functions with linguistic operators. The min-max-gravity method [8] does not obtain a flat surface in the inference map due to the non-linearity of these operators.
Knowledge of a system is essential for applying fuzzy logic. Combining it with linguistic information (by experts) and numerical data improves the ability to represent complex non-linear functions with simple local linear models [9]. Although these linguistic descriptions are not precise, they provide essential information about the system. A human operator can determine a set of successful control rules based solely on the linguistic descriptions of the process. This is based on Mamdani Fuzzy Inference Systems in linguistic synthesis [10]. In recent work, in [11], the authors develop the “Linguistic Compositional Variable” to represent mole fractions of components of each phase as a fuzzy variable. As a result, the number of rules is significantly reduced. In [12], the authors use the cloud model to represent the linguistic variables. Instead, [13] uses a Mamdani Fuzzy Inference Network (MFIN) with an advanced optimization technique. The study of evaluative linguistic expressions has crossed the field of theoretical linguistics and has attracted interest in very different research areas, such as artificial intelligence, psychology, or cognitive linguistics [14].
Applying a simple arithmetic operation on the fuzzy sets will modify them. It tends to consider the adverb “very” interpretation as the result of squaring a membership function, which causes the membership function to take smaller values, concentrating on the larger ones. Zadeh [15] called this concentration. The opposite effect is dilation, which would correspond to the interpretation of the adverb “more or less”, which would be implemented as the square root of the membership function. These are linguistic variables used to describe overly complex or ill-defined phenomena typical of non-linear systems. These modifiers have been used for interpretable context adaptation [16,17]. In [18], an extended fuzzy hedge set is used to create a more detailed classification of client sentiments, achieving better performance than without them. In some approaches, they are used to create more compact rules, such as [19].
The basic first-order system is described with a single real root, while the underdamped second-order system has a single pair of complex roots. Many devices and processes are practically well-modelled by either of these two classes, and complex systems can be considered a combination of several first-order and/or second-order forms [20].
In previous work, the authors have studied the transient response of feedback systems [21], using the Takagi–Sugeno fuzzy model for system identification [22,23,24] or applying fuzzy logic to improve Kalman filtering [25,26]. In this work, the analysis of the transient response of fuzzy systems is proposed using the Mamdani model, a new approach that has not been previously performed.
The literature on fuzzy model identification has not adequately addressed issues such as efficient experiment design, model class, modelling error, target control specifications, etc. Very few publications address the dynamic properties of fuzzy models [27]. Today, the dynamic analysis of fuzzy systems tends to demonstrate system stability, which is an important problem for controller designs [28,29,30,31]. To guarantee stability, a mathematical model of the plant is needed. There are many works on fuzzy control analysis using phase plane methods [32,33,34]. However, these works focus on control and not on dynamic analysis.
This work proposes an analysis of the dynamical behaviour of first and second-order fuzzy systems and to be able to predict or approximate parameter values, such as their settling time and overshoot. To predict the dynamical behaviour of a first or second-order system, we will propose the following steps: (1) use triangular membership functions to identify the system, and then fit the model by applying the concentration or dilation linguistic operator or using known membership functions to fit the model; (2) calculate the corresponding time characteristics with the obtained results; (3) estimate how much the real dynamic characteristics deviate from the previous ones through the plots we propose experimentally.
The main aim of this work is to provide a dynamic analysis of fuzzy systems. The paper is organized as follows: Section provides a review of fuzzy systems for dynamic modelling. The Fuzzy Mamdani-type model is explained in Section 2. The settling time for first-order fuzzy systems is calculated in Section 3. The performance of fuzzy second-order dynamical systems is presented in Section 4. In Section 5, the proposed methods are applied to tank and simple pendulum systems.

2. Mamdani Model

In a general case, the dynamics of the non-linear system are described by the following equation:
x n + 1 = f ( x )
being x = [ x 1 x n ] T and f a continuous or discrete non-linear function [35]. The main aim is to build non-linear models capable of reflecting the dynamics of f. System modelling helps to visualise the behaviour and basic structure of processes. Let us suppose that X l i l are the fuzzy sets for input x l , i l = { 1 , , r l } , l = { 1 , , n } . r l is the number of fuzzy sets for x l , and μ X l ( i l ) ( x l ) are the corresponding membership functions; see Figure 1.
Consider the fuzzy sets X n + 1 ( i 1 i n ) of the output x n + 1 , i l = { 1 , , r l } , l = { 1 , , n } , with the corresponding membership functions μ X n + 1 ( i 1 i n ) ( x n + 1 ) , (see Figure 2). Where X n + 1 ( i 1 i n ) are their centres of gravity, and all their areas A n + 1 ( i 1 i n ) are the same. Then, each rule R ( i 1 i n ) of the Mamdani model can be defined using the centres of gravity instead of the fuzzy sets for each consequent [36,37]:
IF x 1 is X 1 ( i 1 ) A N D A N D x n is X n ( i n ) THEN x n + 1 = X n + 1 ( i 1 1 n ) ,
Therefore, as more sets are used in the measurable variable, the output looks as follows:
x n + 1 = i 1 = 1 r 1 i n = 1 r n w ( i 1 i n ) ( x ) x n + 1 ( i 1 i n ) i 1 = 1 r 1 i n = 1 r n w ( i 1 i n ) ( x )
where
w ( i 1 i n ) ( x ) = l = 1 n μ X l ( i l ) ( x l )

3. Dynamic Analysis of Non-Linear Fuzzy Systems: First-Order Model

The first-order model, according to [35], is expressed as:
x 2 = f ( x 1 , u )
In the continuos case, x 1 = x ( t ) , x 2 = d x d t . It is assumed that X 1 ( i 1 ) is a fuzzy set for input x 1 , i 1 = { 1 , , r 1 } . r 1 is the number of fuzzy sets for x 1 , and μ X 1 ( i 1 ) ( x 1 ) are the corresponding membership functions (see Figure 1), which are overlapped by pairs. This means,
i 1 = 1 r 1 μ X 1 ( i 1 ) ( x 1 ) = 1 , x 1
For the continuous case and for a first-order model,
x ˙ = f ( x , u )
a 1 d x ( t ) d t + a 0 x ( t ) = b 0 u ( t ) ,
With zero initial conditions. Rewriting the differential equation as follows:
a 1 a 0 d x d t + x = b 0 a 0 u ( t )
Which can be written as follows:
τ x ˙ + x = K u
X ( s ) U ( s ) = K τ s + 1

3.1. First-Order Model

A fuzzy dynamic model equivalent to the linear first-order dynamic model can be obtained by using the following logical operators in the fuzzy inference process; the product for conjunction, the product for implication, the sum for aggregation and the centroid for defuzzification [6,37].
Using the Mamdani model:
R ( 11 ) : IF u is N AND x is N THEN x ˙ = 0 R ( 12 ) : IF u is N AND x is P THEN x ˙ = 2 τ R ( 21 ) : IF u is P AND x is N THEN x ˙ = 2 τ R ( 22 ) : IF u is P AND x is P THEN x ˙ = 0
Since the membership functions for u and x are:
μ N ( u ) = 1 K u 2 , u 1 K , 1 K μ P ( u ) = K u + 1 2 , u 1 K , 1 K μ N ( x ) = 1 x 2 , x [ 1 , 1 ] μ P ( x ) = x + 1 2 , x [ 1 , 1 ]
The output of the system can also be computed by applying (3)
i 1 = 1 2 i 2 = 1 2 w ( i 1 i 2 ) ( u , x ) x ˙ ( i 1 i 2 ) = μ N ( u ) μ N ( x ) x ˙ ( 11 ) + μ N ( u ) μ P ( x ) x ˙ ( 12 ) + μ P ( u ) μ N ( x ) x ˙ ( 21 ) + μ P ( u ) μ P ( x ) x ˙ ( 22 ) = 1 K u 2 1 x 2 ( 0 ) + 1 K u 2 x + 1 2 2 τ + K u + 1 2 1 x 2 2 τ + K u + 1 2 x + 1 2 ( 0 ) = x τ + K u τ
where:
i 1 = 1 2 i 2 = 1 2 w ( i 1 i 2 ) ( u , x ) = μ N ( u ) μ N ( x ) + μ N ( u ) μ P ( x ) + μ P ( u ) μ N ( x ) + μ P ( u ) μ P ( x ) = 1 K u 2 1 x 2 + 1 K u 2 x + 1 2 + K u + 1 2 1 x 2 + K u + 1 2 x + 1 2 = 1
Which matches Equation (10).
x ˙ = x τ + K u τ
Input and output scaling factors [38] will facilitate model fitting by modifying K , τ . Thus, the universe of discourse will be normalised within the interval [−1, 1], as shown in Figure 3.
The number of sets used in the input can be modified by applying scaling factors. For example, from 2 to 3 fuzzy sets, as shown in the output inference map in Figure 4 below.
The scaling factors will be as follows for the input u = K , at the output x ˙ = 2 τ (see Figure 5).
After obtaining an equivalent first-order fuzzy model, it is possible to modify the triangular function with linguistic hedges and thus adjust the obtained model. Usually, the model is adjusted by replacing the triangular membership functions with existing membership functions.

3.2. Linguistic Hedges in Model

A linguistic variable carries with it the concept of fuzzy set qualifiers, called hedges. The linguistic variables describe phenomena that are too complex or poorly defined to be described in quantitative terms.
Traditionally, modifiers of fuzzy sets have been used, which are called linguistic labels, which in natural language, are equivalent to adverbs. Interpreting these statements in the fuzzy model requires the composition of the membership function with a simple arithmetic operation [15].
As a special case of μ A ( x ) = μ A p ( x ) when p > 1 , the operation of concentration (very) can be described as follows:
μ C O N ( A ) ( x ) = μ A 2 ( x ) x X
It is common to consider the interpretation of the adverb “very” as the square of the original membership function, i.e., “The system is very fast” would be interpreted as:
μ V e r y F a s t ( x ) = μ V F ( x ) = ( μ F a s t ( x ) ) 2
The opposite case of μ A ( x ) = μ A p ( x ) when 0 < p < 1 , is the dilation (more-or-less) expressed by
μ D I L ( A ) ( x ) = μ A 0.5 ( x ) x X
The interpretation of the adverb “more-or-less” would be implemented as the square root of the membership function. It would be interpreted as:
μ M o r e o r l e s s F a s t ( x ) = μ M F ( x ) = ( μ F a s t ( x ) ) 0.5

3.3. First-Order Fuzzy Model with Linguistic Hedges

A model with triangular membership functions is developed, which will now be modified with the linguistic hedges type mentioned above, such as dilation and concentration. We will use a non-linear model that is represented in this way: x ˙ = x | x | τ + K τ u , in a fuzzy system [39]. It will be a concentration operation μ X 2 ( x ) , and it is shown in Figure 6. If the model is x ˙ = | x | τ + K τ u [37], this represents a dilation μ X 0.5 ( x ) (see Figure 7). The linguistic hedges used for the concentration at input x will be X 1 ( 1 ) = V N , X 1 ( 2 ) = V Z , X 1 ( 3 ) = V P . The dilation of x is expressed by linguistic hedges X 1 ( 1 ) = M N , X 1 ( 2 ) = M Z , X 1 ( 3 ) = M P .
The resultant Mamdani model:
R ( 11 ) : IF u is N AND x is X 1 ( 1 ) THEN x ˙ = 0 R ( 12 ) : IF u is Z AND x is X 1 ( 1 ) THEN x ˙ = 0.5 R ( 13 ) : IF u is P AND x is X 1 ( 1 ) THEN x ˙ = 1 R ( 21 ) : IF u is N AND x is X 1 ( 2 ) THEN x ˙ = 0.5 R ( 22 ) : IF u is Z AND x is X 1 ( 2 ) THEN x ˙ = 0 R ( 23 ) : IF u is P AND x is X 1 ( 2 ) THEN x ˙ = 0.5 R ( 31 ) : IF u is N AND x is X 1 ( 3 ) THEN x ˙ = 1 R ( 32 ) : IF u is Z AND x is X 1 ( 3 ) THEN x ˙ = 0.5 R ( 33 ) : IF u is P AND x is X 1 ( 3 ) THEN x ˙ = 0
The scaling factors for the concentration and dilation will be as follows for the input u = K valid for 0 K 1 , at the output x ˙ = 2 τ (see Figure 5).
The response of a unit step using linguistic operators, concentration and dilation are compared to a first-order linear system in Figure 8. This graph indicates that the settling time ( t s ) is less than that of the first-order linear system in concentration, which implies that it is faster than the first-order linear system. On the contrary, the t s in dilation is higher than that of the first-order linear system. Therefore, the system is slower compared to the first-order system. This is valid only for the first 10 s. After that, it is observed that the dilation is faster than the concentration.

3.4. Dynamic Characteristics of a First-Order Fuzzy System

Once the model has been adjusted, a dynamic analysis is performed on this first-order system for input u, and there are two fuzzy sets for u 1 , U i 0 , i 0 = { 1 , 2 } , as shown in Figure 9.
The input of a step starts from a reference point u ( 1 ) to another u ( 2 ) , remaining at a final value of u ( 2 ) . To reach the steady-state regime, it is theoretically required that t . However, it is important to determine a practical value of the time at which the system reaches its final value.
It is assumed that the system is initially in equilibrium, i.e., x 1 = x 1 ( 1 ) and x 2 = x 2 ( 1 ) . Then, according to [35], the settling time of x 2 ( t ) when x 1 becomes x 1 = x 1 ( 2 ) will have the following dynamics:
x 2 = d x 1 d t , t h e n d t = d x 1 x 2
To calculate the settling time, we will use the criterion of 95% of the final value so that the response reaches its final value as performed in (15). There are r 1 fuzzy sets, as shown in Figure 1. This can be calculated as the response to a step input where the system response is part of a reference point x 1 i = K u i to another x 1 f = K u f , remaining in a final value x 1 f = K u f . t = 0 is defined to be the beginning of the response to the step input and ends at t = t s to obtain the settling time. The limits of the integral will be,
t s = 0 t s d t = x 1 i x 1 i + 0.95 ( x 1 f x 1 i ) 1 x 2 d x 1
When a system has a delay, the dynamics of the system will have the same behaviour in the transient response. It will also be settled at the same steady-state value. The only change is that the system will have a time delay ( t d ) responding once the input signal is applied to the system. In this case, a step input is defined as t = t d when the response to the step input begins and ends at t = t s to calculate the settling time. The limits of the integral will be,
t s = t d t s d t = x 1 i x 1 i + 0.95 ( x 1 f x 1 i ) 1 x 2 d x 1

4. Dynamic Analysis of Non-Linear Fuzzy Systems: Second-Order Model

This section aims to provide a fuzzy dynamic system analysis. This work will be extended to the technique of fuzzy non-linear analysis. Theoretical analysis is often the most efficient way to explore the characteristics of a system. A continuous system can be represented by differential equations using the values of the input and output variables. For the second-order case of three input variables and one output variable, such an equation will be obtained as follows:
f ( x 1 , x 2 , u ) = x 3
System variables are defined as follows:
x 1 = x ( t ) , x 2 = d x d t , x 3 = d 2 x d t 2
Often, the input u is zero because the system is stationary or time-invariant.
Reviewing the literature, one of the graphical methods used is phase-plane analysis. This plane is two-dimensional and is helpful for second-order systems.
Although the simulation is important for non-linear control, it must be supported by theoretical analysis. Blind simulation of non-linear systems is likely to yield few or erroneous results. This is especially true because of the different behaviours that non-linear systems can exhibit.
x ¨ = f ( x , x ˙ , u )
a 2 d 2 x ( t ) d t 2 + a 1 d x ( t ) d t + a 0 x ( t ) = b 0 u ( t ) ,
With zero initial conditions. As with first-order systems, a standard form has been established. Rewriting the differential equation as follows:
a 2 a 0 d 2 x d t 2 + a 1 a 0 d x d t + x = b 0 a 0 u ( t )
Two parameters can be used to describe the characteristics of the second-order transient response in the same way that the time constant of the first-order system is determined. The two quantities are known as the natural frequency and the relative damping factor. The resultant transfer function becomes:
X ( s ) U ( s ) = K s 2 ω n 2 + 2 ζ s ω n + 1 = K ω n 2 s 2 + 2 ζ ω n s + ω n 2

4.1. Second-Order Approach

A fuzzy dynamic model equivalent to the linear second-order dynamic model can be obtained by using the following logical operators in the fuzzy inference process; the product for conjunction, the product for implication, the sum for aggregation and the centroid for defuzzification. These operators are used so that the output of the fuzzy system is linear. In the second-order model, we obtain that x ¨ ( 1 ) = 8 K ω n 2 , x ¨ ( 2 ) = 0 , x ¨ ( 3 ) = 0 , x ¨ ( 4 ) = 8 K ω n 2 , x ¨ ( 5 ) = 4 K ω n 2 and x ¨ ( 6 ) = 4 K ω n 2 can be approximated. Another important thing to consider is the universe of discourse, which can be obtained from the phase plane.
Using the Mamdani model:
R ( 1 ) : IF x is N AND x ˙ is N THEN x ¨ = 8 K ω n 2 R ( 2 ) : IF x is N AND x ˙ is P THEN x ¨ = 0 R ( 3 ) : IF x is P AND x ˙ is N THEN x ¨ = 0 R ( 4 ) : IF x is P AND x ˙ is P THEN x ¨ = 8 K ω n 2 R ( 5 ) : IF u is P THEN x ¨ = 4 K ω n 2 R ( 6 ) : IF u is N THEN x ¨ = 4 K ω n 2
These rules proved that the fuzzy system is equivalent to a linear system.
Since the membership functions for x and x ˙ are:
μ N ( x ) = 2 K x 4 K , x [ 2 K , 2 K ] μ P ( x ) = x + 2 K 4 K , x [ 2 K , 2 K ] μ N ( x ˙ ) = K ω n ζ x ˙ 2 K ω n , x ˙ K ω n ζ , K ω n ζ μ P ( x ˙ ) = ζ x ˙ + K ω n 2 K ω n , x ˙ K ω n ζ , K ω n ζ μ N ( u ) = 2 u 4 , u [ 2 , 2 ] μ P ( u ) = u + 2 4 , u [ 2 , 2 ]
The output of the system can be computed as follows:
x ¨ = i 1 = 1 6 w ( i 1 ) ( x ) · x ¨ ( i 1 ) i 1 = 1 6 w ( i 1 ) ( x )
by applying
i 1 = 1 6 w ( i 1 ) ( x ) x ¨ ( i 1 ) = μ N ( x ) μ N ( x ˙ ) x ¨ ( 1 ) + μ N ( x ) μ P ( x ˙ ) x ¨ ( 2 ) + μ P ( x ) μ N ( x ˙ ) x ¨ ( 3 ) + μ P ( x ) μ P ( x ˙ ) x ¨ ( 4 ) + μ P ( u ) x ¨ ( 5 ) + μ N ( u ) x ¨ ( 6 ) = 2 K x 4 K K ω n ζ x ˙ 2 K ω n ( 8 K ω n 2 ) + 2 K x 4 K ζ x ˙ + K ω n 2 K ω n ( 0 ) + x + 2 K 4 K K ω n ζ x ˙ 2 K ω n ( 0 ) + x + 2 K 4 K ζ x ˙ + K ω n 2 K ω n ( 8 K ω n 2 ) + u + 2 4 ( 4 K ω n 2 ) + 2 u 4 ( 4 K ω n 2 ) = 4 ζ ω n x ˙ 2 ω n 2 x + 2 K ω n 2 u
where:
i 1 = 1 6 w ( i 1 ) ( x ) = μ N ( x ) μ N ( x ˙ ) + μ N ( x ) μ P ( x ˙ ) + μ P ( x ) μ N ( x ˙ ) + μ P ( x ) μ P ( x ˙ ) + μ P ( u ) + μ N ( u ) = 2 K x 4 K K ω n ζ x ˙ 2 K ω n + 2 K x 4 K ζ x ˙ + K ω n 2 K ω n + x + 2 K 4 K K ω n ζ x ˙ 2 K ω n + x + 2 K 4 K ζ x ˙ + K ω n 2 K ω n + u + 2 4 + 2 u 4 = 2
Which matches the polynomial in Equation ((23))
x ¨ = 2 ζ ω n x ˙ ω n 2 x + K ω n 2 u
To allow the adjustments of K , ω n and ζ , input and output scaling factors will be used. For this purpose, the universe of discourse will be left normalised to the interval [−1, 1] (see Figure 10). For the output, the centre of gravity will be { 1 , 0.5 , 0 , 0.5 , 1 } and will be multiplied by the maximum value of the output. In this case, it becomes 8 K ω n 2 . The input variable x, which is within the interval [−2K, 2K], will be normalised to 1 2 K , and then the variable x ˙ will be normalised to ζ K ω n . Next, u will be normalised to 1 2 .
The number of sets used in the input can be modified by applying scaling factors. For example, from 2 to 3 fuzzy sets, as shown in the output inference map in Figure 11 below.
The scaling factors will be as follows for the inputs u = 1 2 , x = 1 2 K and x ˙ = ζ K ω n at the output x ¨ = 8 K ω n 2 (see Figure 12).
It is possible to modify the triangular function with linguistic hedges and thus adjust the obtained model. Most models are adjusted by replacing triangular membership functions with existing membership functions.

4.2. Second-Order Fuzzy Model with Linguistic Hedges

A model with triangular membership functions was developed, which will now be modified with the linguistic hedges type mentioned above, such as dilation and concentration. We will use a non-linear model that is represented in this way: x ¨ = 2 ζ ω n x ˙ ω n 2 x | x | + K ω n 2 u , in a fuzzy system. It will be a concentration operation μ X 2 ( x ) , and it is shown in Figure 13. If the model is x ¨ = 2 ζ ω n x ˙ ω n 2 | x | + K ω n 2 u , this represents a dilation μ X 0.5 ( x ) (see Figure 14). The linguistic hedges used for the concentration at input x will be X 1 ( 1 ) = V N , X 1 ( 2 ) = V Z , X 1 ( 3 ) = V P . The dilation of x is expressed by linguistic hedges X 1 ( 1 ) = M N , X 1 ( 2 ) = M Z , X 1 ( 3 ) = M P .
The resultant Mamdani model:
R ( 1 ) : IF x is X 1 ( 1 ) AND x ˙ is N THEN x ¨ = 1 R ( 2 ) : IF x is X 1 ( 1 ) AND x ˙ is Z THEN x ¨ = 0.5 R ( 3 ) : IF x is X 1 ( 1 ) AND x ˙ is P THEN x ¨ = 0 R ( 4 ) : IF x is X 1 ( 2 ) AND x ˙ is N THEN x ¨ = 0.5 R ( 5 ) : IF x is X 1 ( 2 ) AND x ˙ is Z THEN x ¨ = 0 R ( 6 ) : IF x is X 1 ( 2 ) AND x ˙ is P THEN x ¨ = 0.5 R ( 7 ) : IF x is X 1 ( 3 ) AND x ˙ is N THEN x ¨ = 0 R ( 8 ) : IF x is X 1 ( 3 ) AND x ˙ is Z THEN x ¨ = 0.5 R ( 9 ) : IF x is X 1 ( 3 ) AND x ˙ is P THEN x ¨ = 1 R ( 10 ) : IF u is N THEN x ¨ = 0.5 R ( 11 ) : IF u is Z THEN x ¨ = 0 R ( 12 ) : IF u is P THEN x ¨ = 0.5
The scaling factors for the concentration will be as follows for the inputs x = 1 ( 4 K ) 0.5 , x ˙ = ζ 2 K ω n and u = 1 4 , at the output x ¨ = 16 K ω n 2 .
The scaling factors for the dilation will be as follows for the inputs x = 1 ( 2 K ) 2 , x ˙ = ζ K ω n and u = 1 2 , at the output x ¨ = 8 K ω n 2 .
The response of a unit step using linguistic operators, concentration and dilation is compared to a second-order linear system in Figure 15. This graph indicates that the peak time (tp) is less than that of the second-order linear system in concentration, which implies that it is faster than the second-order linear system. On the contrary, the tp value is higher in dilation than that of the second-order linear system. Therefore, the system is slower compared to the second-order linear system. This is valid only for the first 20 s. After that, it is observed that the dilation is faster than the concentration.

4.3. Performance of Fuzzy Second-Order Dynamical Systems

Standard performance measures are usually defined in terms of the step response of a system, as shown in Figure 15. The speed response depends on the peak time (tp). The similarity between the transient response and the step input is measured by the per cent of overshoot (Mp). The transient response of the system can be described by two factors: the speed of the response and the peak time. The closeness of the response to the desired one is represented by the overshoot and settling time [40].
In this case, explicit dynamic specification, as Mp and tp, cannot be obtained as in the first-order case. A significant number of simulations to obtain the relationship between Mp, tp and ζ are performed. This will be applied to concentration and dilation, as seen previously. In Figure 16 and Figure 17, the per cent overshoot is shown as a function of the relative damping ratio, ζ . In addition, Figure 16 and Figure 17 present the per cent overshoot and peak time as a function of the relative damping ratio. The dotted line indicates the performance of the second-order linear system, while the solid one corresponds to the non-linear system. As shown in Figure 16, the segmented line shows the concentration of a fuzzy system, while in Figure 17, the dilation of a fuzzy system is shown. This analysis is valid for dynamical systems; undamped, underdamped and critically damped. In the case of overdamped, it has no peak time and per cent overshoot.

5. Application

To explain what we have studied above, we will apply the concepts to the first-order system of a tank and calculate the settling time. The analysis of the second-order system will be applied to a simple pendulum.

5.1. Model of the Tank

The GÜNT RT450.01 consists of a transparent plastic level tank as the main element and uses water as the working medium. It provides the following features: section tank A = 0.0147 m 2 with a liquid of height h ( t ) , volume v ( t ) and outlet flow q o ( t ) due to an input flow q i ( t ) . It presents a delay time of t d = 10 s and a percentage of valve opening α ( t ) = 0.5 , with a maximum output section C = 2.83 × 10 5 m 2 and gravitational acceleration g = 9.81 m/s 2 , as shown in Figure 18.
An empirical model of this multivariate system is given by
v ˙ ( t ) = q i ( t t d ) q o ( t ) v ( t ) = A h ( t ) q o ( t ) = C α ( t ) 2 g h ( t )
v ˙ ( t ) = q i ( t t d ) q o ( t )
This equation represents a multivariate relationship between q i ( t ) , α ( t ) and h ( t ) :
A h ˙ ( t ) = q i ( t t d ) C α ( t ) 2 g h ( t )
Rewriting in the standard form,
A h ˙ ( t ) C α ( t ) 2 g + h ( t ) = q i ( t t d ) C α ( t ) 2 g
The static gain of this non-linear system is when the derivative is zero, it is as follows:
h ( t ) = q i ( t t d ) C α ( t ) 2 g
Therefore, for t > T d the static gain K would be,
h = K = q i C α ( t ) 2 g 2
and the model for this condition is,
A h ˙ ( t ) C α 2 g + h ( t ) = q i ( t ) C α 2 g
The initial conditions to fill the tank are q i ( 0 ) = 1.09 × 10 5 m 3 /s. Replaced in (33) gives h ( 0 ) = 0.03 m. To analyse the dynamic behaviour of this empirical model, initially, the tank is in equilibrium at h ( 0 ) = 0.03 m; at a time of 35 s, the inflow increases to q i = 3.1 × 10 5 m 3 /s and then after 628 s, it drops to q i = 0 m 3 /s.
It can be seen that the system is in a steady state and has a final value of around K = 0.244 m. Figure 19 shows the dynamic evolution of the system, with a sampling time of 0.5 s.
The Mamdani model of the tank model in the standard form (Equation (34)) can be approximated; the normalised fuzzy sets between [0, 1] are shown in Figure 20.
Using the input and output scaling factors, the delay time was added in Figure 21.
The resultant Mamdani model becomes:
R ( 11 ) : IF q i is S m a l l AND h is M L o w THEN h ˙ = 0 R ( 12 ) : IF q i is S m a l l AND h is M H i g h THEN h ˙ = C α 2 g A R ( 21 ) : IF q i is L a r g e AND h is M L o w THEN h ˙ = C α 2 g A R ( 22 ) : IF q i is L a r g e AND h is M H i g h THEN h ˙ = 0
The membership functions for q i and h applying the dilation are:
μ S m a l l ( q i ) = 1 q i C α 2 g , q i [ 0 , C α 2 g ] μ L a r g e ( q i ) = q i C α 2 g , q i [ 0 , C α 2 g ] μ M L o w ( h ) = 1 h , h [ 0 , 1 ] μ M H i g h ( h ) = h , h [ 0 , 1 ]
Then the output is as follows:
h ˙ = i 1 = 1 2 i 2 = 1 2 w ( i 1 i 2 ) ( h , q i ) h ˙ ( i 1 i 2 ) = μ S m a l l ( q i ) μ M L o w ( h ) h ˙ ( 11 ) + μ S m a l l ( q i ) μ M H i g h ( h ) h ˙ ( 12 ) μ L a r g e ( q i ) μ M L o w ( h ) h ˙ ( 21 ) + μ L a r g e ( q i ) μ M H i g h ( h ) h ˙ ( 22 ) h ˙ = 1 q i C α 2 g ( 1 h ) ( 0 ) + 1 q i C α 2 g ( h ) C α 2 g A + q i ( C α 2 g ( 1 h ) C α 2 g A + q i C α 2 g ( h ) ( 0 )
h ( t ) ˙ = q i ( t ) A C α 2 g A h ( t )
This model coincides with the tank model in the standard form (Equation (34)). The fuzzy model output is shown in Figure 22.
To calculate the settling time for the step from q i i = 1.09 × 10 5 to q i f = 3.1 × 10 5 m 3 /s, we replace both of them in (33) to obtain a height of h i = 0.03 m, up to h f = 0.244 m, respectively. Then (Equation (17)) is used to calculate the settling time.
10 t s d t = 0.03 0.233 1 2.11 · 10 3 4.26 · 10 3 h d h
The calculated settling time is t s = 618 s.
To calculate the settling time for the step-down where the level is initially set as h i = 0.235 m, the inlet flow, q i = 0 , is replaced in (33) to give us a height of h f = 0 m. Equation (17) is then used to calculate the settling time.
10 t s d t = 0.235 0.012 1 4.26 · 10 3 h d h
The calculated settling time is t s = 186 s.
The performance of different models is compared. Time delays in the identification of processes can have a significant impact. For systems with time delays, there are several models proposed. The non-linear ARX (NLARX) model is a flexible non-linearity estimator with parameters that do not need to have physical significance, commonly used in time series modelling. This structure employs a wavelet or sigmoid function to model complex non-linear behaviour [41]. NLARX models can also be estimated using MATLAB System Identification Toolbox. As shown in Figure 23, with the fuzzy model (in blue) has the best performance, with 92.91 % , followed by the NLARX models (in green), with a performance of 90.16 % and, finally, the first-order model (in grey) with a performance of 77.77 % .

5.2. Simple Pendulum Model

In this example, the second-order fuzzy model described in Section 4.1 is used to model a simple pendulum. A normalised sinusoidal function modifies the membership function of the angle θ to demonstrate that, by an appropriate choice of membership function, the model is identical to the one obtained mathematically.
A practical example of the dynamic model of a simple pendulum is provided. The pendulum’s differential equation is:
J θ ¨ ( t ) + B θ ˙ ( t ) + m g l s i n ( θ ( t ) ) = τ ( t )
When J = m l 2 is the inertia of the pendulum+ball set, B is the friction on the axis of rotation, l is the length of the pendulum and τ ( t ) is the applied torque. See Figure 24.
If it is written in standard form as (22), the pendulum model remains;
l g θ ¨ ( t ) + B m g l θ ˙ ( t ) + s i n ( θ ( t ) ) = 1 m g l τ ( t )
The normalised input sets, whose universe of discourse are [−1, 1], and the centre of gravity of the output set in { 1 , 0.5 , 0 , 0.5 , 1 } (see Figure 25) is as follows:
Figure 26 shows the input and output scaling factors.
The resultant Mamdani model is as follows:
R ( 1 ) : IF θ is N AND θ ˙ is N THEN θ ¨ = 4 g l R ( 2 ) : IF θ is N AND θ ˙ is Z THEN θ ¨ = 2 g l R ( 3 ) : IF θ is N AND θ ˙ is P THEN θ ¨ = 0 R ( 4 ) : IF θ is Z AND θ ˙ is N THEN θ ¨ = 2 g l R ( 5 ) : IF θ is Z AND θ ˙ is Z THEN θ ¨ = 0 R ( 6 ) : IF θ is Z AND θ ˙ is P THEN θ ¨ = 2 g l R ( 7 ) : IF θ is P AND θ ˙ is N THEN θ ¨ = 0 R ( 8 ) : IF θ is P AND θ ˙ is Z THEN θ ¨ = 2 g l R ( 9 ) : IF θ is P AND θ ˙ is P THEN θ ¨ = 4 g l R ( 10 ) : IF τ is N THEN θ ¨ = 2 g l R ( 11 ) : IF τ is Z THEN θ ¨ = 0 R ( 12 ) : IF τ is P THEN θ ¨ = 2 g l
The result of the fuzzy model applied to the simple pendulum can be seen in Figure 27. The graph was elaborated upon using different friction coefficients: B = [0, 0.2, 0.4, 0.6, 0.8, 1], m = 0.25 kg, l = 0.8 m and g = 9.81 m/s 2 . It was also compared with the dynamic model.

6. Conclusions

In this article, a dynamic analysis of first-order and second-order systems was performed. First, a non-linear first-order dynamic system is modelled, and the settling time is determined using the Mamdani fuzzy model. It is deduced that the higher the slope, as the derivative approaches zero, the shorter the settling time, and the lower the slope, the longer the settling time is. Furthermore, it has been shown that the settling time is accurately obtained by switching from a triangular membership function formulation to linguistic variables for non-linear models.
Secondly, the specifications of the time-domain features, such as overshoot percentage and peak time, were graphed and compared with the second-order model features. The percentage of Mp was determined to reach zero when the damping ratio ζ is equal to or greater than one. The percentage of Mp reaches zero when the damping ratio ζ is similar to or greater than one. In both cases, this occurs due to the linguistic hedge of concentration in response to a step input and dilation in response to a step-down input. In these cases, one is shorter than the peak time in second-order linear systems.
Furthermore, when the percentage of Mp reaches zero and the damping ratio ζ is less than one, the linguistic hedge of concentration is in response to a step-down and dilation in response to a step. In the applications section, examples of tank and pendulum models were tested in which the settling time was determined. The performance of different models was compared, and it was demonstrated that the fuzzy model is the best.

Author Contributions

Conceptualisation, F.M. and B.M.A.-H.; methodology, F.M and B.M.A.-H.; software, M.B.; validation, M.B., F.M. and B.M.A.-H.; formal analysis, M.B., F.M. and B.M.A.-H.; investigation, M.B., F.M. and B.M.A.-H.; writing—review and editing, M.B., F.M. and B.M.A.-H. All authors have read and agreed to the published version of the manuscript.

Funding

This publication is part of the R&D project “Cognitive Personal Assistance for Social Environments (ACOGES)”, reference PID2020-113096RB-I00, funded by MCIN/AEI/10.13039/501100011033: “and ESF Investing in your future”.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

In this section, you can acknowledge any support given which is not covered by the author contribution or funding sections.

Conflicts of Interest

The authors declare no conflict of interest.

Sample Availability

Samples of the compounds are available from the authors.

Abbreviations

The following abbreviations are used in this manuscript:
T-STakagi–Sugeno
t s settling time
Mpper cent overshoot
tppeak time
t d delay time
NLARXnon-linear ARX

References

  1. Mamdani, E.H. Application of fuzzy algorithms for control of simple dynamic plant. In Proceedings of the Institution of Electrical Engineers; IET: London, UK, 1974; Volume 121, pp. 1585–1588. [Google Scholar]
  2. 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]
  3. Nguyen, A.T.; Taniguchi, T.; Eciolaza, L.; Campos, V.; Palhares, R.; Sugeno, M. Fuzzy control systems: Past, present and future. IEEE Comput. Intell. Mag. 2019, 14, 56–68. [Google Scholar] [CrossRef]
  4. Babuška, R.; Verbruggen, H.B. An overview of fuzzy modeling for control. Control Eng. Pract. 1996, 4, 1593–1606. [Google Scholar] [CrossRef]
  5. Adánez, J.M.; Al-Hadithi, B.M.; Jiménez, A. Multidimensional membership functions in T–S fuzzy models for modelling and identification of nonlinear multivariable systems using genetic algorithms. Appl. Soft Comput. 2019, 75, 607–615. [Google Scholar] [CrossRef]
  6. Matía, F.; Jiménez, A. On optimal implementation of fuzzy controllers. Int. J. Intell. Control Syst. 1996, 1, 407–415. [Google Scholar] [CrossRef]
  7. Sain, D.; Mohan, B. Modelling of a nonlinear fuzzy three-input PID controller and its simulation and experimental realization. IETE Tech. Rev. 2021, 38, 479–498. [Google Scholar] [CrossRef]
  8. Mann, G.K.; Gosine, R.G. Three-dimensional min–max-gravity based fuzzy PID inference analysis and tuning. Fuzzy Sets Syst. 2005, 156, 300–323. [Google Scholar] [CrossRef]
  9. Sharma, A.K.; Singh, D.; Verma, N.K. Data driven aerodynamic modeling using Mamdani fuzzy inference systems. In Proceedings of the 2018 International Conference on Sensing, Diagnostics, Prognostics, and Control (SDPC), Xi’an, China, 15–17 August 2018; pp. 359–364. [Google Scholar]
  10. Mamdani, E.H.; Assilian, S. An experiment in linguistic synthesis with a fuzzy logic controller. Int. J.-Man-Mach. Stud. 1975, 7, 1–13. [Google Scholar] [CrossRef]
  11. Ahmadi, M.H.E.; Royaee, S.J.; Tayyebi, S.; Boozarjomehry, R.B. A new insight into implementing Mamdani fuzzy inference system for dynamic process modeling: Application on flash separator fuzzy dynamic modeling. Eng. Appl. Artif. Intell. 2020, 90, 103485. [Google Scholar] [CrossRef]
  12. Jianxing, Y.; Haicheng, C.; Shibo, W.; Haizhao, F. A novel risk matrix approach based on cloud model for risk assessment under uncertainty. IEEE Access 2021, 9, 27884–27896. [Google Scholar] [CrossRef]
  13. Sharma, A.K.; Singh, D.; Singh, V.; Verma, N.K. Aerodynamic modeling of attas aircraft using Mamdani fuzzy inference network. IEEE Trans. Aerosp. Electron. Syst. 2020, 56, 3566–3576. [Google Scholar] [CrossRef]
  14. Torrens-Urrutia, A.; Novák, V.; Jiménez-López, M.D. Describing Linguistic Vagueness of Evaluative Expressions Using Fuzzy Natural Logic and Linguistic Constraints. Mathematics 2022, 10, 2760. [Google Scholar] [CrossRef]
  15. Zadeh, L.A. The concept of a linguistic variable and its application to approximate reasoning—I. Inf. Sci. 1975, 8, 199–249. [Google Scholar] [CrossRef]
  16. Huitzil, I.; Alegre, F.; Bobillo, F. GimmeHop: A recommender system for mobile devices using ontology reasoners and fuzzy logic. Fuzzy Sets Syst. 2020, 401, 55–77. [Google Scholar] [CrossRef]
  17. Navarro-Almanza, R.; Sanchez, M.A.; Castro, J.R.; Mendoza, O.; Licea, G. Interpretable Mamdani neuro-fuzzy model through context awareness and linguistic adaptation. Expert Syst. Appl. 2022, 189, 116098. [Google Scholar] [CrossRef]
  18. Khattak, A.; Paracha, W.T.; Asghar, M.Z.; Jillani, N.; Younis, U.; Saddozai, F.K.; Hameed, I.A. Fine-grained sentiment analysis for measuring customer satisfaction using an extended set of fuzzy linguistic hedges. Int. J. Comput. Intell. Syst. 2020, 13, 744. [Google Scholar] [CrossRef]
  19. Repole, D.; Adrian, L.R. VHDL based Neuro-Fuzzy Lithium-Ion Hybrid Super Capacitors management: (Advantages of the high-level descriptions of neural fuzzy logic based systems). In Proceedings of the 2020 IEEE 61th International Scientific Conference on Power and Electrical Engineering of Riga Technical University (RTUCON), Riga, Latvi, 5–7 November 2020; pp. 1–5. [Google Scholar]
  20. Doebelin, E. System Dynamics: Modeling, Analysis, Simulation, Design; CRC Press: Boca Raton, FL, USA, 1998. [Google Scholar]
  21. Matía, F. Transient response comparison of feedback and feed-forward compensation methods in systems with zero steady state error. Asian J. Control 2020, 22, 1791–1800. [Google Scholar] [CrossRef]
  22. Jiménez, A.; Al-Hadithi, B.M.; Matía, F.; Haber-Haber, R. Improvement of Takagi-Sugeno fuzzy model for the estimation of nonlinear functions. Asian J. Control 2012, 14, 320–334. [Google Scholar] [CrossRef]
  23. Al-Hadithi, B.M.; Jiménez, A.; Matía, F. New methods for the estimation of Takagi–Sugeno model based extended Kalman filter and its applications to optimal control for nonlinear systems. Optim. Control Appl. Methods 2012, 33, 552–575. [Google Scholar] [CrossRef]
  24. Al-Hadithi, B.M.; Jiménez, A.; Matía, F. A new approach to fuzzy estimation of Takagi–Sugeno model and its applications to optimal control for nonlinear systems. Appl. Soft Comput. 2012, 12, 280–290. [Google Scholar] [CrossRef] [Green Version]
  25. Matía, F.; Jiménez, V.; Alvarado, B.P.; Haber, R. The fuzzy Kalman filter: Improving its implementation by reformulating uncertainty representation. Fuzzy Sets Syst. 2021, 402, 78–104. [Google Scholar] [CrossRef]
  26. Jiménez, V.; Alvarado, B.P.; Matía, F. A set of practical experiments to validate the fuzzy Kalman filter. Fuzzy Sets Syst. 2021, 417, 152–170. [Google Scholar] [CrossRef]
  27. Sala, A.; Guerra, T.M.; Babuška, R. Perspectives of fuzzy systems and control. Fuzzy Sets Syst. 2005, 156, 432–444. [Google Scholar] [CrossRef]
  28. Tanaka, K.; Sugeno, M. Stability analysis and design of fuzzy control systems. Fuzzy Sets Syst. 1992, 45, 135–156. [Google Scholar] [CrossRef]
  29. Wang, L.; Lam, H.K. A new approach to stability and stabilization analysis for continuous-time Takagi–Sugeno fuzzy systems with time delay. IEEE Trans. Fuzzy Syst. 2017, 26, 2460–2465. [Google Scholar] [CrossRef]
  30. Lam, H.K. A review on stability analysis of continuous-time fuzzy-model-based control systems: From membership-function-independent to membership-function-dependent analysis. Eng. Appl. Artif. Intell. 2018, 67, 390–408. [Google Scholar] [CrossRef]
  31. Xie, W.; Sang, S.; Lam, H.K.; Zhang, J. A polynomial-membership-function approach for stability analysis of fuzzy systems. IEEE Trans. Fuzzy Syst. 2020, 29, 2077–2087. [Google Scholar] [CrossRef]
  32. Harris, C.; Moore, C. Phase plane analysis tools for a class of fuzzy control systems. In Proceedings of the IEEE International Conference on Fuzzy Systems, San Diego, CA, USA, 8–12 March 1992; pp. 511–518. [Google Scholar]
  33. Li, H.X.; Gatland, H. A new methodology for designing a fuzzy logic controller. IEEE Trans. Syst. Man Cybern. 1995, 25, 505–512. [Google Scholar]
  34. Qin, L.; Hu, J.; Li, H.; Chen, W. Fuzzy logic controllers for specialty vehicles using a combination of phase plane analysis and variable universe approach. IEEE Access 2017, 5, 1579–1588. [Google Scholar] [CrossRef]
  35. Matía, F.; Jimenez, A.; Al-Hadithi, B.M.; Galán, R. Fuzzy models: Enhancing representation of dynamic systems. IFAC Proc. Vol. 2002, 35, 361–366. [Google Scholar] [CrossRef]
  36. Kickert, W.; Mamdani, E. Analysis of a fuzzy logic controller. In Readings in Fuzzy Sets for Intelligent Systems; Elsevier: Amsterdam, The Netherlands, 1993; pp. 290–297. [Google Scholar]
  37. Matía, F.; Al-Hadithi, B.M.; Jiménez, A.; San Segundo, P. An affine fuzzy model with local and global interpretations. Appl. Soft Comput. 2011, 11, 4226–4235. [Google Scholar] [CrossRef]
  38. Woo, Z.W.; Chung, H.Y.; Lin, J.J. A PID type fuzzy controller with self-tuning scaling factors. Fuzzy Sets Syst. 2000, 115, 321–326. [Google Scholar] [CrossRef]
  39. Matía, F.; Jiménez, A.; Al-Hadithi, B. An Affine model with Decoupled dynamics. In Proceedings of the 12 International Conference of Information Processing and Management of Uncertainty in Jnowledge-Based Systems, Malaga, Spain, 22–27 June 2008; Volume 8, pp. 713–720. [Google Scholar]
  40. Dorf, R.C.; Bishop, R.H. Modern Control Systems; Pearson Prentice Hall: Hoboken, NJ, USA, 2008. [Google Scholar]
  41. Sudrajat, M.I.; Wibisono, M.A.; Loschi, H.; Moonen, N.; Leferink, F. Evaluation of Nonlinear ARX System Identification Technique on Modeling Crosstalk. In Proceedings of the 2022 IEEE International Symposium on Electromagnetic Compatibility & Signal/Power Integrity (EMCSI), Spokane, WA, USA, 1–5 August 2022; pp. 210–215. [Google Scholar]
Figure 1. Input membership function x l .
Figure 1. Input membership function x l .
Applsci 13 01934 g001
Figure 2. Output membership function x n + 1 .
Figure 2. Output membership function x n + 1 .
Applsci 13 01934 g002
Figure 3. Fuzzy sets; (a) input set u, (b) input set x, (c) output set x ˙ centre of gravity and (d) output surface between x ˙ , x and u.
Figure 3. Fuzzy sets; (a) input set u, (b) input set x, (c) output set x ˙ centre of gravity and (d) output surface between x ˙ , x and u.
Applsci 13 01934 g003
Figure 4. First-order inference map.
Figure 4. First-order inference map.
Applsci 13 01934 g004
Figure 5. Scaling factors for the first-order system.
Figure 5. Scaling factors for the first-order system.
Applsci 13 01934 g005
Figure 6. The concentration of the input membership functions x and the resulting inference map.
Figure 6. The concentration of the input membership functions x and the resulting inference map.
Applsci 13 01934 g006
Figure 7. The dilation of the input membership functions x and the resultant inference map.
Figure 7. The dilation of the input membership functions x and the resultant inference map.
Applsci 13 01934 g007
Figure 8. Step response, with normalised time τ t , for K = 1.
Figure 8. Step response, with normalised time τ t , for K = 1.
Applsci 13 01934 g008
Figure 9. Triangular membership functions for the reference input u.
Figure 9. Triangular membership functions for the reference input u.
Applsci 13 01934 g009
Figure 10. Fuzzy sets; (a) input set x, (b) input set x ˙ , u , (c) output set x ¨ centre of gravity and (d) output surface between x ¨ , x ˙ and x.
Figure 10. Fuzzy sets; (a) input set x, (b) input set x ˙ , u , (c) output set x ¨ centre of gravity and (d) output surface between x ¨ , x ˙ and x.
Applsci 13 01934 g010
Figure 11. Second-order inference map.
Figure 11. Second-order inference map.
Applsci 13 01934 g011
Figure 12. Scaling factors for a second-order system.
Figure 12. Scaling factors for a second-order system.
Applsci 13 01934 g012
Figure 13. The concentration of the input membership functions x and the resulting inference map.
Figure 13. The concentration of the input membership functions x and the resulting inference map.
Applsci 13 01934 g013
Figure 14. The dilation of the input membership functions x and the resultant inference map.
Figure 14. The dilation of the input membership functions x and the resultant inference map.
Applsci 13 01934 g014
Figure 15. Step response, with normalised time ω n t , for K = 1 and ζ = 0.3 .
Figure 15. Step response, with normalised time ω n t , for K = 1 and ζ = 0.3 .
Applsci 13 01934 g015
Figure 16. The result for concentration graphs shows the per cent overshoot and normalised peak time as a function of damping ratio ζ ; (a) step-up, (b) step-down.
Figure 16. The result for concentration graphs shows the per cent overshoot and normalised peak time as a function of damping ratio ζ ; (a) step-up, (b) step-down.
Applsci 13 01934 g016
Figure 17. The result for dilation graphs shows the per cent overshoot and normalised peak time as a function of damping ratio ζ ; (a) step-up, (b) step-down.
Figure 17. The result for dilation graphs shows the per cent overshoot and normalised peak time as a function of damping ratio ζ ; (a) step-up, (b) step-down.
Applsci 13 01934 g017
Figure 18. GÜNT RT450.01 level tank module.
Figure 18. GÜNT RT450.01 level tank module.
Applsci 13 01934 g018
Figure 19. Dynamical evolution of the tank.
Figure 19. Dynamical evolution of the tank.
Applsci 13 01934 g019
Figure 20. Fuzzy sets tank; (a) input set q i , (b) input set h, (c) output set h ˙ centre of gravity and (d) output surface between h ˙ , h and q i .
Figure 20. Fuzzy sets tank; (a) input set q i , (b) input set h, (c) output set h ˙ centre of gravity and (d) output surface between h ˙ , h and q i .
Applsci 13 01934 g020
Figure 21. Input and output scaling factors.
Figure 21. Input and output scaling factors.
Applsci 13 01934 g021
Figure 22. Dynamical evolution of the tank and fuzzy model.
Figure 22. Dynamical evolution of the tank and fuzzy model.
Applsci 13 01934 g022
Figure 23. Performance comparison of different models.
Figure 23. Performance comparison of different models.
Applsci 13 01934 g023
Figure 24. Simple pendulum.
Figure 24. Simple pendulum.
Applsci 13 01934 g024
Figure 25. Fuzzy sets; (a) input set θ , (b) input sets θ ˙ a n d τ , (c) output set θ ¨ centre of gravity and (d) output surface between θ ¨ , θ ˙ and θ .
Figure 25. Fuzzy sets; (a) input set θ , (b) input sets θ ˙ a n d τ , (c) output set θ ¨ centre of gravity and (d) output surface between θ ¨ , θ ˙ and θ .
Applsci 13 01934 g025
Figure 26. Simple pendulum input and output scaling factors.
Figure 26. Simple pendulum input and output scaling factors.
Applsci 13 01934 g026
Figure 27. Simple pendulum response.
Figure 27. Simple pendulum response.
Applsci 13 01934 g027
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

Barraza, M.; Matía, F.; Al-Hadithi, B.M. Dynamic Analysis of Fuzzy Systems. Appl. Sci. 2023, 13, 1934. https://doi.org/10.3390/app13031934

AMA Style

Barraza M, Matía F, Al-Hadithi BM. Dynamic Analysis of Fuzzy Systems. Applied Sciences. 2023; 13(3):1934. https://doi.org/10.3390/app13031934

Chicago/Turabian Style

Barraza, Manuel, Fernando Matía, and Basil Mohammed Al-Hadithi. 2023. "Dynamic Analysis of Fuzzy Systems" Applied Sciences 13, no. 3: 1934. https://doi.org/10.3390/app13031934

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