Stability and convergence analysis of intelligent control algorithm based on fuzzy set theory in dynamic environment
Published Online: Sep 26, 2025
Received: Dec 29, 2024
Accepted: Apr 19, 2025
DOI: https://doi.org/10.2478/amns-2025-1065
Keywords
© 2025 Weiqiang Hu, published by Sciendo
This work is licensed under the Creative Commons Attribution 4.0 International License.
With the rapid development of modern science and technology, a large number of complex and precise physical control systems, chemical control systems and other nonlinear systems have been produced, and the data-driven control problem of nonlinear systems has been a hot research topic in control theory and control engineering [1-2]. Since the 1970s, the development of system model-based control theory has made significant breakthroughs and has become increasingly perfect, especially the linearization technique for nonlinear systems, whose application has been a milestone for the progress of nonlinear science [3-4]. However, with the increasing degree of system complexity, as well as people’s more and more demanding requirements for system control performance indicators, it is difficult to meet the requirements of the actual system control performance by using only the system model-based control theory and linearization techniques to design controllers for nonlinear systems [5-7]. The main reason is that in the process of linearization of nonlinear systems, certain higher-order terms in the actual system are ignored, so the system model obtained by the linearization technique is often not accurate enough, and then the design of controllers using linear system control theory will inevitably reduce the control performance of the system [8-10]. If the higher-order terms in the actual system are not ignored and the complexity of the internal structure of the actual system is taken into account, the exact mathematical model of the actual system may be too complex to be established, and the model-based control method is dependent on the exact model of the system, which undoubtedly brings great difficulties to the study of nonlinear system control problems [11-13]. In addition, even if the actual system model can be accurately established by the mathematical model, the actual system model will be very complex, and the controller designed based on such a complex system model will inevitably be complex, and the robustness and applicability of the controller cannot be guaranteed [14-16].
Since the system model-based control methods are limited in solving the control problems of nonlinear systems, the algorithms that directly utilize the online observable data of the system for the intelligent control of nonlinear systems have gradually become a hot topic of attention and research [17-19]. At present, there is no uniform definition of data-based intelligent control algorithms, which generally refers to the design of a controller using only the online or offline input and output data of the controlled object or the system information obtained through data processing, while the stability, convergence and robustness of the closed-loop system based on the controller can be proved by rigorous mathematical tools under some reasonable assumptions [20-22]. Compared with the model-based control method, the data-based intelligent control algorithm has two advantages, one is that the data-based intelligent control algorithm can not rely on the precise mathematical model of the nonlinear system, which solves the major problem of the nonlinear system control problem that is difficult to accurately model, and the data-based intelligent control algorithm is more flexible in the restriction of the performance index of the nonlinear system. Secondly, the form of its performance indicator function can have other types, such as entropy function, avoiding the incomplete description of quadratic indicators [23-26].
This paper analyzes the feasibility of combining fuzzy set theory and controller optimization tasks from the perspective of optimizing the control performance of control systems. Fuzzy algorithms and traditional immune algorithms are introduced into traditional PID controllers so that the PID controllers can be adaptively adjusted to improve the stability and convergence of intelligent control algorithms. Considering the uncertainty of the controller control parameters under different interaction environments, the stability and convergence analysis method based on the fuzzy immune control algorithm is designed. Comparative analysis is used to verify the relevant performance of the algorithm in this paper, and the performance of the algorithm is further verified in a simulation environment under a variety of local shaded environments and dynamic environments.
In real life and work, multi-attribute decision-making problems generally have complexity. Traditional mathematics has established a complete theoretical system. It is described in detail by precise expressions and concepts, which is of great help to social production practice. But in fact, it is not possible to solve some uncertainty problems by means of traditional mathematics. Many evaluative attributes are often difficult to be expressed directly and precisely in numerical terms. For example, the good and bad things, the size is not a clear boundary, has a certain degree of ambiguity. This then becomes less reasonable and accurate when solved in the rigorous way of traditional mathematics. The theory of fuzzy mathematics has flourished precisely to characterize things more precisely.
Fuzzy language is a comprehensive evaluation based on fuzzy mathematics [27], which is used to describe the characteristics of objects with ambiguity and uncertainty as abstract representations. This requires mathematical methods to convert fuzzy representations of attributes into precise forms of expression. In fuzzy set theory, the absolute “belonging” in traditional mathematics is transformed into the relative “belonging”. At the same time, it quantifies the belonging relationship between elements and sets, and considers that the degree of belonging of different elements to the same set may be different, and gives the concept of degree of affiliation. The fuzzy evaluation is transformed into the specific mathematical form of affiliation function to effectively deal with unclear and quantitatively difficult fuzzy information.
The affiliation function [28] is characterized by the fact that it does not indicate absolute belonging or non-belonging, but indicates a relationship of degree of belonging with a value between (0, 1), which is the biggest difference with traditional sets. The closer the value is to 1, the higher the degree to which
Let on [ On (−∞, on (
The affiliation function of a triangular fuzzy number can be expressed as:
where
The traditional mathematical model of PID control [29], as shown in equation (3):
Where,
The traditional PID control model is discretized for the operation of the model, so that it can be obtained:
Where,
The use of fixed PID parameters to characterize an uncertain model is inaccurate and suffers from high errors. Therefore, its three control parameters need to be adjusted online to cope with the changes occurring in the system by incorporating fuzzy control, the principle of which is shown in Fig. 1.

Schematic diagram of fuzzy PID controller
In this chapter, the fuzzy logic controller uses a two-input three-output MIMO system. Its control principle is shown in Fig. 2, in which the operation process of the core part of the fuzzy controller can be divided into the following four parts:

Working principle diagram of molded controller
The input and output values used for fuzzy control are fuzzy quantities, so it is necessary to fuzzify the exact data of the inputs. The discussion domain of the inputs is pre-set and the domain is divided into seven levels. The two input values of the fuzzy logic controller are
The fuzzy rule base is able to define the relationship of complex nonlinear systems, which is based on a large number of experiments and long-term engineering practice.
Based on the fuzzy relationship, fuzzy rules are established to describe the relationship between model parameters.
Fuzzy reasoning is an approximate reasoning process, and the fuzzy reasoning method chosen in this paper is Mamdni method. Its general form of fuzzy decision reasoning is:
Rule: If (
The affiliation function of
The full rule correspondence can be expressed as a concatenation of all
The affiliation function of
The controlled object
Intelligent control systems need to receive accurate values, so it is necessary to convert the fuzzy quantity output from the fuzzy controller into accurate values that can be used in engineering applications, and the process of changing from fuzzy quantity to clear quantity is defuzzification. The weighted average method is chosen for defuzzification. After fuzzy reasoning to get the set of fuzzy quantity
It needs to be discretized in the field of engineering applications:
Immunization algorithms are often used in control systems for their good feedback performance. Combining the artificial immune algorithm with fuzzy control realizes a more precise control of the controlled object with fewer rules and ensures the efficiency of the intelligent control system operation.
The artificial immune algorithm operates on the principle that when
The corresponding value of
where
The output value of
where
The discrete form of the positional PID controller is:
The
With the addition of the immunization mechanism:
Where,
After completing the construction of the immune PID controller, the fuzzy immune controller for the
The value of
In order to improve the accuracy of the simulation of the controlled object, the proportional link

Schematic diagram of fuzzy immune PID controller
The input of the fuzzy immune processing module is
In order to eliminate the contact force tracking error caused by environmental uncertainty, an adaptive compensation term is introduced for online correction of trajectory error, which also makes the internal structure and parameters of the controller partially changed, and the stability of the intelligent control model needs to be determined to ensure that the system can operate safely. Therefore, a detailed determination process is given for the stability of the intelligent control system, which is used to guide the design of the intelligent controller.
Substituting the adaptive compensation term into the adaptive conduction control strategy, the contact force tracking error equation can be obtained:
Reorganizing the above equations yields:
It can be obtained by rewriting and differentiating the pure stiffness contact environment model
Organizing is available:
Assuming that the contact force due to the environmental position estimation error is
Labeling
Rewriting the above equation gives:
A Laplace transform is performed to obtain:
Defining the intelligent control contact force tracking error
The stability characteristic equation for the transfer function of the above intelligent control system is:
where the sampling period
When the sampling rate is very fast, i.e., sampling period
where the cosine term
Substituting the above equation into the stability characteristic equation and rewriting it yields:
Observing the above equation, it can be found that the system can be equated to a linear time-invariant system, and the desired intelligent control conductance parameters, sampling period, and adaptive update rate are selected and substituted into the above equation, and then the stability determination of the intelligent control system is carried out.
The pole distribution can be obtained by applying the Routh criterion. From this, it can be seen whether all the poles of the intelligent control system are located within the stability region, and thus whether the system is stable or not can be determined.
For a good intelligent control force control system, it must be ensured that the contact force error tends to zero, i.e.,
Clearly, the above equation holds when
Consider a nonlinear system of the following form:
The above system can be simplified as:
Design parameter
Set the initial condition as
X1 and X2 are the controller based on fuzzy immune PID algorithm designed in this paper and the traditional controller respectively. Figs. 4 and 5 show the output trajectories of X1 and X2 with internal disturbance, Figs. 6 and 7 show the output trajectories of X1 and X2 with external disturbance, and Figs. 8 and 9 show the output trajectories of X1 and X2 with both internal and external disturbance when the magnitude coefficient CK is taken to be 0, 0.5, and 0.8 with three different values. From the simulation effect in the figure, it can be seen that under the same interference, the controller based on the fuzzy immune PID algorithm designed in this paper has a better adaptive law than the traditional controller, which makes the system biologically adaptive, and the output trajectory of this paper’s controller oscillates in the range of -5 to 1 as a whole, while that of the traditional controller oscillates in the range of -5 to 10 as a whole, and the fluctuation is much larger than that of the controller based on the fuzzy immune PID algorithm based controller, which shows that the algorithm in this paper improves the convergence speed and anti-interference of the intelligent control system. It can be concluded that the controller based on the fuzzy immune PID algorithm proposed in this chapter makes the system highly resistant to interference.

X1 trajectories with both internal disturbances

X2 trajectories with both internal disturbances

X1 trajectories with both external disturbances

X2 trajectories with both external disturbances

The X1 output trajectory of internal and external disturbances

The X2 output trajectory of internal and external disturbances
It is obvious through simulation that the design of the fuzzy controller makes the system biologically adaptive, strong stability and anti-interference, which verifies the effectiveness and superiority of the control system based on the fuzzy immune PID algorithm.
In order to verify the convergence of the optimized hybrid algorithm for maximum power tracking in practical applications, four PV array local shadow distribution scenarios are therefore designed for verification. The P-U characteristic curves of the PV array output and the maximum power tracking output characteristics for the four environments are shown in Fig. 10 and Fig. 11, respectively.

Environmental output characteristic curves

The output characteristic curve of MPPT in four kinds of environment
The optimized hybrid algorithm tracks the maximum power value of 705W in environment 1, and the error with the actual maximum power is only 0.05 W. The maximum power value of 1040W in environment 1 is only 0.8 W. The maximum power value of 842W in environment 2 is only 1.59 W. The maximum power value of 842W in environment 3 is only 1.59 W. The maximum power value of 1040W in environment 4 is only 0.8 W. The maximum power value of 842W in environment 5 is only 1.59 W. The maximum power value of 842W in environment 6 is only 1.59 W. The maximum power value of 842W in environment 6 is only 1.59 W. The tracked maximum power value is 859W and the error with the actual maximum power is only 0.35 W. The convergence of the optimized hybrid algorithm for global maximum power tracking is demonstrated.
In order to be able to explore whether the hybrid algorithm has a good maximum power tracking effect even in dynamic environments, the environment is therefore set to change as follows: the power output characteristics are five peaks in 0-0.4s, and the light intensity of PV1 is reduced from 1000W/s2 to 600W/s2 at the 0.4s, and the simulation running time is 1 second.
The maximum power tracking output characteristic of the immunization algorithm is shown in Fig. 12. When the external environment in 0.4s by the light from 1000W/s2 down to 600W/s2, the immune algorithm maximum power output from 709.55W down to 698.69W, but the tracking generated by the degree of steady-state oscillation and in the environment before the change is consistent, it can be shown that in the external environment occurs in the oscillation of the maximum power point tracking sensitive. The maximum oscillation of the system output decreases from 88.5W to 72.8W before the environment change, and it can be found that when the maximum power of the system output decreases, the error oscillations generated by the immune algorithm for the maximum power tracking will also decrease.

The immune algorithm output power in the dynamic environment
The fuzzy controlled maximum power tracking output characteristics are shown in Fig. 13. When the external environment is reduced from 10005/s2 to 6005/s2 by light in 0.4s, the maximum power output of the fuzzy control decreases from 580.34 to 546.45W, and the oscillation range is within 4W, which does not change much relative to the power output oscillation before the environment change. From this, it can be found that the fuzzy control has little effect on the steady state oscillations of its system output when the environment is changed.

The fuzzy control output power in the dynamic environment
The maximum power tracking output characteristics of the optimized hybrid algorithm are shown in Fig. 14. When the external environment in 0.4s by the light from 1000Ws2 down to 600Ws2, the power output under the optimized hybrid algorithm is almost no oscillation, and the steady state oscillation of the system output is also kept within 0.4W, which has a very good anti-interference effect.

Optimization algorithm output power in dynamic environment
The maximum power output characteristic curves of optimized hybrid algorithm, immune algorithm, and fuzzy control are compared in the PV system in a locally shaded environment, respectively, and the local output contrasts of the three algorithms in the MPPT in a dynamic environment are shown in Fig. 15. The tracking effect of the optimization hybrid algorithm on the system in the face of sudden changes in the external environment combines the advantages of the immune algorithm and fuzzy control, reduces the oscillations when the output power drops, and the steady state oscillations of the system output are very small. Therefore, it can be judged that the optimized hybrid algorithm has a very good maximum power tracking effect under the local shadow of the dynamic environment.

Dynamic local contrast diagram
Through the above comparative analysis, it can be found that the optimized hybrid algorithm designed in this project has a very good tracking effect compared with the traditional immune algorithm and the traditional fuzzy control in the application of the maximum power tracking of the intelligent control system, not only in the maximum power tracking speed has been greatly improved, but also improves the stability of the system, and in the face of the change of the external environment, it also has a very fast and stable tracking The tracking effect is very good in the application of maximum power tracking.
Aiming at the shortcomings of the traditional control system, the article constructs a PID controller incorporating the fuzzy immune algorithm, and verifies the effect of the improved hybrid algorithm proposed in this paper on the stability and convergence of the PID controller in a dynamic environment.
The PID controller with fuzzy immune algorithm designed in this paper is subjected to the anti-interference experiments of internal disturbance, external disturbance and parallel internal and external disturbance respectively, and it is found that under the same disturbance, the controller based on fuzzy immune PID algorithm designed in this paper has a better anti-interference ability than the traditional controller, so that the oscillation range of the control system’s output trajectory is kept at -5~1, which is much smaller than that of the traditional controller’s output trajectory, which illustrates that the The PID controller incorporating the fuzzy immune algorithm in this paper improves the convergence speed and stability of the intelligent control system.
In order to further verify the application effect of the optimization algorithm designed in this paper in the actual dynamic environment, this system is built in the simulation platform, and the convergence of the maximum power tracking of the model in this paper is verified in a variety of local shaded environments, and the PID controller incorporating the fuzzy immune algorithm is simulated and analyzed, compared with the controller using the traditional immune algorithm and fuzzy control algorithm alone, respectively, in the dynamic environment, and it is found that this paper’s The optimization algorithm is found to have small steady state oscillations when the system is running under dynamic environment, and the oscillation range is within 0.4W, which is much smaller than that of the fuzzy control algorithm and the immune algorithm.
