Open Access

Stability and convergence analysis of intelligent control algorithm based on fuzzy set theory in dynamic environment

  
Sep 26, 2025

Cite
Download Cover

Introduction

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.

Control system construction based on fuzzy immune PID algorithm
Fuzzy set theory

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.

A˜ is said to be a fuzzy set on U if for all elements x in the domain U, there is a number A˜(x) between the interval [0, 1] that corresponds to it one-to-one. Called mapping: ϕA˜(x):U[0,1]

A˜ϕA˜(x) is the affiliation function of the fuzzy set A˜ .

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 x belongs to A˜ . Conversely, the lower the degree of belonging.

Let F(R) be the whole of the fuzzy set over the real number field R if there is A˜F(R) and there exists a closed interval [α, χ] ⊂ R, αχ such that:

on [α, χ], ϕA˜(x)1 ;

On (−∞, α), ϕA^(x) is a right continuous increasing function and 0ϕA^(x)<1 ;

on (χ, ∞), ϕA˜(x) is a left continuous decreasing function and 0ϕA˜(x)<1 . Then A˜ is said to be a fuzzy number on R.

The affiliation function of a triangular fuzzy number can be expressed as: ϕA˜(x)={ xςρρςρ,ρxξ xςττςτ,ξxτ 0,xρ or xτ

where ρςτ, the triangular fuzzy number can be written as: A˜=(ρ,ς,τ) .

Principles of fuzzy immune PID controller design

The traditional mathematical model of PID control [29], as shown in equation (3): u(t)=kpe(t)+ki0te(t)+kdde(t)dt

Where, kp is the proportional session weight. ki is the integral link weight. kd is the differential link weight. e(t) is the deviation of the actual output value from the input value. u(t) is the actual output value.

The traditional PID control model is discretized for the operation of the model, so that it can be obtained: u(k)=kpe(k)+kij=0ke(j)+kde(k)e(k1)T

Where, e(k) is the deviation between the actual value and the input value for the knd sampling. e(k − 1) is the deviation between the actual value and the input value sampled by the intelligent control at the k − 1th time. T is the period sampled by the motor encoder. u(k) is the actual output of the controlled object.

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.

Figure 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:

Figure 2.

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 e and Δe, which are the deviation and increment of deviation from the desired and actual values of the PID controller respectively.

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 (E is Hi) and (ΔE is Gi) then (Z is Ki), then its control expression is: Ti=(Hi×Gi)×Ki

The affiliation function of Ti is: μTi(E,ΔE,Z)=μHi(ei)μGi(Δei)μKi(zi)eiE,ΔeiΔE,ziZ

The full rule correspondence can be expressed as a concatenation of all Ti’s with the rule of inference T=inTi .

The affiliation function of T is: μT(E,ΔE,Z)=i=1n[μTi(E,ΔE,Z)]

The controlled object K can be denoted as K = (H × G) · R and hence the affiliation function of K can be denoted as: μK(Z)=eEΔeΔEμT(E,ΔE,Z)[μH(e)μG(Δe)]

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 K and weighted average of the affiliation function of K, the output quantity K is transformed into an accurate value and its weighted average expression is: zout=zμK(z)dzμK(z)dz

It needs to be discretized in the field of engineering applications: zout=i=1nziμK(zi)i=1nμK(zi)

Improved PID controller construction based on fuzzy immune algorithm

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 T a cell detects an antigen invasion, it sends a signal to the enhancing cell TH and the suppressor cell Ts, and under the joint intervention of the enhancing cell TH and the suppressor cell Ts it generates B a cell, which B produces an antibody to inhibit the antigen, and finally completes the adaptive regulation of the immune system according to the feedback of the antigen concentration.

The corresponding value of TH antigen concentration is: TH(k)=k1n(k)TH(k)

where k1 is the excitation factor.

The output value of Ts cell is: TS(k)=k2f[Δs(k)]n(k)TS(k)=k2f[Δs(k)]

where k2 is the inhibitory factor; f(·) is a nonlinear function describing TS, where the domain of f(·) is [0, 1]; and the total stimulus to the B cell can be expressed as: S(k)=TH(k)TS(k)=k1n(k)k2f[Δs(k)]n(k)S(k)

The discrete form of the positional PID controller is: u(k)=kpe(k)+kij=0ke(j)+kde(k)e(k1)T

The P controller in the PID controller is used to control the accuracy, and a suitable P link can make the overshoot of the system much lower and the stability of the system enhanced. Where P controller is: u(k)=kpe(k)u(k)

With the addition of the immunization mechanism: u(k)=k1e(k)k2f[Δu(k)]e(k)u(k) u(k)=N(1γf[Δu(k)])e(k) kp=N(1γf[Δu(k)])

Where, N = k1 is the control reaction speed, the larger the value of N, the faster the reaction speed of the system; γ = k2/k1 is the control reaction effect; f(·) = [u(k), Δu(k)] is the inhibition function of Ts; and u(k) is the antigen concentration input, hence the improved immune control PID: u(k)=N(1γ[Δu(k)])e(k)+kij=0ke(j)+kde(k)e(k1)T

After completing the construction of the immune PID controller, the fuzzy immune controller for the P link is constructed by fusing it with the fuzzy control. The control refinement of the P link enables more accurate control.

The value of kp is determined by three parameters, i.e., N, γ, f(·). The inhibition function is a nonlinear function with a domain of [0,1], and a fuzzy relationship can also be established between the excitation factor and the inhibition factor through μ, so the following design is carried out.

In order to improve the accuracy of the simulation of the controlled object, the proportional link N is optimized twice by using the fuzzy immune algorithm to obtain more accurate control, and the control process is shown in Fig. 3.

Figure 3.

Schematic diagram of fuzzy immune PID controller

The input of the fuzzy immune processing module is N, u, du/dt, from which γ and f(·) can be obtained through the fuzzy logic relationship, and a more accurate value of the kp parameter can be obtained, realizing the secondary optimization of the proportional parameters.

Stability and convergence analysis methods

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: mdDβe^(t)+bd(Dγe^(t)+Φ(tλ)+ηfd(tλ)fe(tλ)bd)=fe(t)fd(t)

Reorganizing the above equations yields: mdDβe^(t)+bdDγe^(t)+bdΦ(tλ)ηef(tλ)=ef(t)

It can be obtained by rewriting and differentiating the pure stiffness contact environment model fe = ke(xex) = −kee according to the one described earlier: e=feke Dγe=Dγfeke Dβe=Dβfeke

Organizing is available: mdDβ(keδxefd(t))+bdDγ(keδxefd(t)) =mdDβef(t)+bdDγef(t) +ke(ef(t)bdΦ(tλ)+ηef(tλ))

Assuming that the contact force due to the environmental position estimation error is f^e=keδxe and substituting it into the above equation yields: mdDβ(f^e(t)fd(t))+bdDγ(f^e(t)fd(t)) =mdDβef(t)+bdDγef(t) +ke(ef(t)bdΦ(tλ)+ηef(tλ))

Labeling v(t)=f^e(t)fd(t) and its substitution into the reduced form gives: mdDβef(t)+bdDγef(t)+ke(ef(t)bdΦ(tλ)+ηef(tλ)) =mdDβv(t)+bdDγv(t)

Rewriting the above equation gives: mdDβef(t)+bdDγef(t)+keef(t)+ηkei=1nef(tiλ) =mdDβv(t)+bdDγv(t)

A Laplace transform is performed to obtain: mdsβef(s)+bdsγef(s)+keef(s)+ηkeef(s)i=1neiλs =mdsβv(s)+bdsγv(s)

Defining the intelligent control contact force tracking error et(s) as the system output and v(s) as the system input, there is a system transfer function as follows: ef(s)v(s)=mdsβ+bdsγmdsβ+bdsγ+ke+ηkei=1neiλs

The stability characteristic equation for the transfer function of the above intelligent control system is: mdsβ+bdsγ+ηkei=1neiλs+ke=0

where the sampling period λ generally takes a very small value when 0 < λ < 1, |eλs| ≠ 1, and n is a sufficiently large natural number. Therefore, where and the function can be expressed as: i=1neiλs=11eλs1

When the sampling rate is very fast, i.e., sampling period λ ≪ 1, this delay term can be expanded at point 0 using Taylor’s formula: eλs=1λs+o(s2)

where the cosine term o(s2) denotes the higher order infinitesimal of s2, which is negligible, then there is: eλs1λs

Substituting the above equation into the stability characteristic equation and rewriting it yields: mdλs1+β+bdλs1+γ+λke(1η)s+ηke=0

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., limiei(t)=0 . Therefore, a combination of the sum function as well as the intelligent control error transfer function and the Laplace Transform Terminal Value Theorem can be obtained: limtef(t) = lims0sef(s) = lims0s(mdλsβ+1+bdλsγ+1)v(s)mdλsβ+1+bdλsγ+1+λke(1η)s+ηke = 0

Clearly, the above equation holds when t → ∞, regardless of whether the input signal v(s) is a pulse, step, ramp, or sinusoidal signal function, then there is fefd. In practice, this means that the contact force tracking error of the intelligent control with the environment will eventually converge to zero.

Control system simulation case study

Consider a nonlinear system of the following form: { ẋ1=0.5x12+(1+0.1x12)x2+D(u1)cosx1+D(u2)sinx2 ẋ2=x1x2+D(u1)sinx1+D(u2)(2+cosx1x2)

The above system can be simplified as: [ ẋ1 ẋ2]=[ 0.5x1 1+0.1x12 0.5x2 0.5x1][ x1 x2]+[ cosx1 sinx2 sinx1 2+cosx1x2][ D(u1) D(u2)]

y1 = x1, y2 = x2 of them: D(ui)={ 0.1sinxiui1.25e0.0.1t, ui0.6 0, 0.6<ui<0.6 0.1sinxiui+1.25e0.0.1t, ui0.6

Design parameter Q = diag(10, 10) is selected and Ck = 0.8, γ1f = γ2f = 0.01, γIg = γ2g = 0.5, K = [1, 5], γID = 2, γ2D = 2 is taken in the bionic adaptive law.

Set the initial condition as X(0) = (0, 10)T, add the internal disturbance to the controlled system, and replace the system state input X with (1 + δ1)X, where δ1 is the random disturbance value, which is taken as δ = 0.1 in this paper, and also add the external disturbance, which is taken as δ2 = 0.5 sin(t) in this paper.

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.

Figure 4.

X1 trajectories with both internal disturbances

Figure 5.

X2 trajectories with both internal disturbances

Figure 6.

X1 trajectories with both external disturbances

Figure 7.

X2 trajectories with both external disturbances

Figure 8.

The X1 output trajectory of internal and external disturbances

Figure 9.

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.

Optimized hybrid algorithm result analysis
Analysis of results in multiple localized shading environments

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.

Figure 10.

Environmental output characteristic curves

Figure 11.

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.

Comparison of results in a dynamic environment

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.

Figure 12.

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.

Figure 13.

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.

Figure 14.

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.

Figure 15.

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.

Conclusion

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.

Language:
English