Next Article in Journal
Reentry Flight Capability Assessment Based on Dynamics–Informed Neural Network and Piecewise Guidance
Next Article in Special Issue
An ML-Based Approach for HCF Life Prediction of Additively Manufactured AlSi10Mg Considering the Effects of Powder Size and Fatigue Damage
Previous Article in Journal
Life Analysis of Reusable Liquid Rocket Engine Thrust Chamber
Previous Article in Special Issue
A Leakage Rate Model for Metal-to-Metal Seals Based on the Fractal Theory of Porous Medium
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An AEFA-Based Optimum Design of Fuzzy PID Controller for Attitude Control Flywheel with BLDC Motor

School of Aeronautics and Astronautics, Sun Yat-sen University, Guangzhou 510275, China
*
Author to whom correspondence should be addressed.
Aerospace 2022, 9(12), 789; https://doi.org/10.3390/aerospace9120789
Submission received: 20 September 2022 / Revised: 29 November 2022 / Accepted: 29 November 2022 / Published: 3 December 2022
(This article belongs to the Special Issue State Monitoring and Health Management of Complex Equipment)

Abstract

:
A new method for optimizing the fuzzy PID controller, based on an artificial electric field algorithm (AEFA), is proposed in this paper, aiming at improving the stability indicator of the Brushless DC (BLDC) motor for the small satellite attitude control flywheel. The BLDC motor is the basic part of the small satellite attitude control flywheel. In order to accurately control the attitude of the small satellite, a good motor control system is very important. Firstly, the mathematical model of the BLDC motor is established and the BLDC motor speed control system using traditional PID control is designed. Secondly, considering that the small satellite speed control system is a nonlinear system, a fuzzy PID control is designed to solve the shortcomings of the fixed parameters of the traditional PID control. Finally, we find that the control accuracy of the fuzzy PID control will change with the range of the input. Therefore, we introduce the AEFA to optimize fuzzy PID to achieve high-precision attitude control of small satellites. By simulating the BLDC motor system, the proposed fuzzy PID controller based on AEFA is compared with the traditional PID controller and the fuzzy PID controller. Results from different controllers show that the proposed control method could effectively reduce steady state error. In addition, the proposed fuzzy PID–AEFA controller has the better anti-jamming capability.

1. Introduction

As agile small satellites have higher and higher requirements for attitude control accuracy, the flywheel is used as the actuator of the attitude control system [1], and its control accuracy directly affects the attitude stability of the satellite [2,3]. The core component of the microsatellite attitude control flywheel is essentially a controllable motor that meets certain rotational inertia requirements. It provides driving power for the operation of the flywheel rotor, and the flywheel rotor provides effective rotational inertia to the outside world.
In modern high-precision attitude control flywheel systems, BLDC motors are often used as flywheel drive motors. A BLDC motor is very appropriate for a small satellite attitude control flywheel, due to its long life, high efficiency, and wide speed range [4,5]. However, the unique commutation method of the BLDC motor makes its speed and torque fluctuate greatly during operation, which has a great impact on the control accuracy of the flywheel [6,7].
In order to achieve accurate attitude control, it is very important to design a good motor control system. To reduce the speed pulsation of the BLDC motor for the attitude control flywheel, the traditional PID control strategy is often adopted in the BLDC motor speed control system [8]. However, the traditional PID controller is not suitable for nonlinear uncertain systems [9]. When the BLDC motor is subject to external disturbance or its load changes, the traditional PID control exposes the shortcomings of the signal processing: it is too simple, and the control parameters cannot be adjusted with the environment. To ensure the normal operation of the system, the PID parameters need to be adjusted continuously, which will result in very high energy consumption [10].
Many pieces of research on the optimization method for high precision control of BLDC motors have been carried out in the last decades. These optimization methods involve intelligent control, nonlinear control, and other control methods, specifically fuzzy control [11], neural network control [12], and other advanced control methods. These optimization control methods effectively improve the dynamic and steady-state performance of the BLDC motor. Among them, fuzzy control is a control method based on fuzzy control theory, which has a good control effect on nonlinear systems with time-varying and uncertain parameters [13]. The fuzzy PID controller has been widely applied to the BLDC motor system. However, once the fuzzy discourse domain of input and output variables is set, it cannot be adjusted in the whole control process [14]. Therefore, if the fuzzy discourse domain is too large or too small, it can seriously affect the effect of control. However, in the actual application process, the input and output of the control system often have a large range. The fuzzy discourse domain of fuzzy PID control lacks online self-learning ability, resulting in the controller parameters cannot be self-adjusted, making it difficult to meet the control needs [15].
In recent years, some researchers have tried to use intelligent control algorithms to optimize the fuzzy PID controller, given the weak ability to adjust the fuzzy discourse domain of fuzzy control methods. In [16], particle swarm optimization has been used for optimizing the fuzzy PID control algorithm, and it was applied for the speed control of the BLDC motor. From the results, we can see that the particle swarm optimization algorithm has the advantage of a simple algorithm structure, and has achieved good results. However, it has the disadvantages of many parameters and low convergence accuracy. An ant colony optimization has been used to optimize fuzzy PID controller in [17]. An ant colony algorithm has the advantage of low computational complexity, but the algorithm has many parameters, and the selection of parameters has a great impact on the optimization results of an ant colony algorithm. In [18], optimization of the fuzzy proportional derivative integral controller design is carried out using bat optimization algorithms. Bat algorithms introduce frequency to control the flight speed, which speeds up the convergence of the algorithm, but it is easier to fall into local optimum. In [19], a grey wolf algorithm optimization is designed for fuzzy PID controller. A grey wolf algorithm has the advantages of few parameters and strong optimization ability. However, the algorithm also has the defects of single population diversity and premature convergence. The whale optimization algorithm has been used to optimize fuzzy PID controller in [20,21]. The whale optimization algorithm has the advantage of fast convergence speed because of its simple algorithm structure, but its global contraction ability is weak and it is difficult to jump out of the local optimal solution.
The above optimization algorithms have effectively improved the dynamic performance of the control system and have been adopted by many researchers. However, some optimization algorithms have many parameters that are difficult to adjust, and the results are often not the best optimal solution, so they cannot achieve the best optimization effect. Therefore, a new optimization algorithm is adopted to improve the performance of the BLDC motor control system in this paper.
AEFA is a new meta-heuristic optimization algorithm proposed by Anita and Anupam Yadav in 2019 [22]. Compared with other algorithms, it has the advantages of faster convergence speed and higher convergence accuracy [23]. In this algorithm, the charge is defined as a function of the fitness of the candidate solution and the overall fitness, the strength of which is measured by the amount of its charge. All charges can electrostatically attract or repel each other, so the charges move through the search space, and the positions of the charges correspond to the solution to the problem. At present, there is no research on using AEFA to optimize motor control parameters.
This paper presents a new fuzzy PID control method based on the AEFA for a BLDC motor. In the second part, we have established the mathematical model of the BLDC motor, and the speed control system using traditional PID control is designed. Moreover, a PID control strategy based on fuzzy control to optimize the speed control system of the BLDC motor is designed, aiming at the deficiency of non-adjustable control parameters in traditional PID control. In the third part, to improve the stability of the BLDC motor speed control system, a method of optimizing the fuzzy PID control based on the AEFA is further proposed, and the realization steps of optimizing the fuzzy PID control of the BLDC motor by AEFA are given. Finally, the effectiveness of the proposed control method is proved by comparing the proposed control with traditional PID control and fuzzy PID control through simulation experiments.

2. BLDC Motor Control System

2.1. Mathematical Model of BLDC Motor

The small satellite attitude control flywheel generally uses the BLDC motor driven by the AC supply from the three-phase inverter, which is designed using six switches with an appropriate sequence.
For the convenience of analysis, it is assumed that all the stator phase windings have equal resistance per phase and constant self and mutual inductances, the iron loss is negligible, motor flux is unsaturated and power semiconductor devices are ideal. It is supposed that at any instant only two-phase windings conduct current. The mathematical model of the BLDC motor can be established as follows:
u a u b u c = R a 0 0 0 R b 0 0 0 R c i a i b i c + L a L ab L ac L ba L b L bc L ca L cb L c d dt i a i b i c + e a e b e c ,
where u a , u b , u c represent three phase voltages (V), e a , e b , e c represent three phase back emf (V), R a , R b , R c represent three phase resistance (Ω), i a , i b , i c represent three phase current (A), L a , L b , L c represent the three phase armature of self inductance (H), L ab , L ac , L ba , L bc , L cb , L ca represent the three phase mutual inductances (H).
Determined by the structure of the motor, it can be assumed that the three-phase windings are symmetrical [24]; there are:
L a = L b = L c = L ,   L ab = L ac = L ba = L bc = L ca = L cb = M ,
Rearranging the Equation (1), we can obtain:
u a u b u c = R 0 0 0 R 0 0 0 R i a i b i c + L M M M L M M M L d dt i a i b i c + e a e b e c ,
The torque equation in terms of phase back-emfs and phase currents is given by:
T e = e a i a + e b i b + e c   i c / ω ,
where ω represents the angular velocity of BLDC motor rad / s .
The equation of electromagnetic torque without load can be expressed as:
T e = B ω + J d ω dt ,
The equation of electromagnetic torque with load can be expressed as:
T e = T L + B ω + J d ω dt ,
where T L represents the load torque, ( N · m ) ,   B represents the friction coefficient ( N · m · s / rad ) ,   and   J represents the moment of inertia ( kg · m 2 ) .

2.2. Control System of BLDC Motor Using Traditional PID Controller

In this paper, a simulation model of the BLDC motor control system is designed. Figure 1 shows the block diagram of the BLDC motor control system [25]. The system mainly consists of six modules, which include the speed regulation module (A module).
In this case, the hall sensor is used for obtaining the back electromotive force or rotor position of the BLDC motor. The inverting gate signal with the back electromotive force or rotor position of the BLDC motor can be synchronized by the switching logic module. The speed sensor is used to sense the actual speed of the rotor, and then it is compared with the reference speed to produce speed error. The speed error is used as the input of the speed controller. Then, the speed controller provides the control signals to the switching logic module and controls the BLDC motor by controlling the DC bus voltage.
The block diagram of the speed regulation module controlled by traditional PID is shown in Figure 2.
In this figure k p 0 , k i 0 , k d 0 are the initial set value of the proportional gain value, integral gain value, and differential gain value, respectively, in the traditional PID control. The initial set value of the PID controller is determined according to experience, and remains unchanged during the optimization process.
The control output equation of the traditional PID controller is given by:
u ( t ) = k p 0 e ( t )   +   k i 0 e ( t ) dt   +   k d 0 de ( t ) dt ,
where e ( t ) = n ref ( t ) n ( t ) , n ( t ) represents the current speed of the BLDC motor at the current moment t, n ref ( t ) represents the reference speed of the BLDC motor at the current moment t, and e ( t ) represents the error between the reference speed and the actual speed at the current moment t.
As shown in Equation (7), the traditional PID control is not a model-based control, because the k p 0 , k i 0 , k d 0 are given, and the value remains unchanged during the operation of the BLDC motor system, which makes the traditional PID control simple and universal. However, it also has the disadvantages of being insensitive to model parameters and insensitive to changes in external parameters. During the actual operation of the BLDC motor, changes in its parameters and changes in loads often occur. At this point, when the traditional PID controller controls the BLDC motor, the speed fluctuation of the BLDC motor system will be largely due to the low control accuracy.

2.3. Control System of BLDC Motor Using Fuzzy PID Controller

Fuzzy control makes up for the insufficiency of the fixed parameters of the traditional PID control and has a good control effect for the nonlinear system with time-varying and uncertain parameters. A two-dimensional fuzzy controller is introduced for the speed control system of the BLDC motor [26]. The block diagram of the BLDC motor speed adjustment module using a fuzzy PID controller is shown in Figure 3.
In the figure e represents the speed error, e c represents the speed error rate, and Δ k p   Δ k i ,   Δ k d represent the changes of proportional gain, integral gain and differential gain after the fuzzy controller.
The control parameters after the fuzzy PID controller are shown in Equation (8):
k p = k p 0 + Δ k p k i = k i 0 + Δ k i k d = k d 0 + Δ k d ,
Adding the control parameters after the fuzzy controller to the gain coefficient in the traditional PID controller can realize the optimization of the traditional PID controller. The BLDC motor speed control system becomes time-varying and can adjust the control parameters according to external disturbances, making the system more stable.

2.3.1. Fuzzification and Domain Setting of Fuzzy PID Controller

In this paper, the input and output fuzzy language variables of the speed control system of the BLDC motor are set to seven, namely NB, NM, NS, ZO, PS, PM, PB, which are negative large, negative medium, negative small, zero, and positive small, respectively. This can not only ensure the speed of fuzzy inference but also clearly describe the input and output variables. To ensure the reliable operation of the BLDC motor, this paper uses the trigonometric function as the membership function of the fuzzy controller variables, and the basic discourse domain of the input is set as [−3,3] and the basic discourse domain of the output is set as [−1,1], as shown in Figure 4 and Figure 5.

2.3.2. Establishment of the Fuzzy Control Rules

Fuzzy rules are the result of the combination of expert reasoning and a series of human experiences in the field of control. It is an important part of fuzzy control. In this paper, based on the debugging experience of the PID parameters of the experimental platform, the established fuzzy rules are shown in Table 1, Table 2 and Table 3:
In the fuzzy rule editor, the inference method is the Mamdani method, and the area center method is used for de fuzzification. The three-output fuzzy PID control surface viewer with input and output membership functions is shown in Figure 6.
Although the fuzzy PID controller makes an improvement, the disadvantage of the traditional PID control parameters remain unchanged. However, at present, for the fuzzy PID controller of the BLDC motor, the discourse domain and fuzzy rules of the input and output of the fuzzy controller adopt the method of the fixed value.

2.3.3. Design of the Fuzzy PID Controller

The fuzzy controller includes the input proportional factors k e and k ec and the output proportional factor ku . The input proportional factors and the output proportional factor are used to improve the control accuracy and enhance the online adjustment capability of the control system. The structure diagram of the fuzzy controller for the BLDC motor is shown in Figure 7.
As shown in Figure 7, the actual values of errors and their changes are fuzzified with k e and k ec , respectively, and the errors and their changes are scaled to the scope of the fuzzy universe, and then through fuzzy logic the output of the fuzzy controller can be obtained. The output proportional factor ku ( ku = ku p , ku i , ku d ) can change the value of the output, which is equivalent to increasing the fuzzy control rules of the fuzzy controller, so that the precision of the fuzzy controller can be improved.
The input proportional factor is called the quantization factor. Assume that the basic domain of error is e = x e , x e . It can be known from the above that the domain of a fuzzy subset taken by the error and the change of error is [−3,3]. Generally, the quantization factor k e of the error is calculated by k e = 3 / x e and the quantization factor k ec of the error change ratio is calculated by k ec = 3 / 2 x e . The output proportional factor is called scale factor. In this paper, it is set that the value of scale factor in the non optimized fuzzy controller is ku = 1 , 1 , 1 . However, in many cases, this is not the best choice.
When the error of the speed control system changes in a large range, the fuzzy rule division will initially be rough, resulting in low control accuracy. Therefore, we can introduce an optimization algorithm to make the output proportional factors and the input proportional factors change with the input value to improve the accuracy of the BLDC motor.

3. Optimized Speed Control System Based on AEFA

3.1. AEFA Conceptualization [22]

AEFA has the advantage of a simple structure and few adaptive parameters. The essence of the AEFA is to simulate the most common Coulomb law in physics. Starting from the electrostatic force, the concept of charge is innovatively extended to the fitness value of the population. AEFA can be thought of as an independent charge system that obeys Coulomb’s law of electrostatic force and motion.

3.1.1. The Forces Acting on Charges in AEFA

In the AEFA, the initial total number of charges is assumed to be N. The initial search space dimension is assumed to be d, representing d variables to be optimized, then the position of the ith charge can be expressed as follows:
X i   = x i 1 ,   x i 2 ,   ,   x i k   ;   i = 1 ,   2 , ,   N ;   k = 1 , , d ,
where x i k represents the position of the charge i in the kth dimension.
In the beginning, suppose the charge of each charge is the same:
Q i ( t ) = Q j ( t )   ;   i   ,   j = 1 , 2 , , N ,
In the search space, the position of the best adaptation of all charges can be represented by p = x best . The position of the ith charge in the kth dimensional space is represented by x i k , and the current best position is represented by p i k . The fitness value is represented by f x i and the best fitness value is represented by f p i . The position of the best fitness can be obtained by the charge i at time t and can be determined as follows:
p i k ( t + 1 ) =   p i k ( t ) if   f   p i ( t )   <   f   x i ( t + 1 ) x i k   ( t + 1 ) if   f   x i ( t + 1 )     f   p i ( t ) ,
The Euclidian distance between two particles i and j is given as:
R ij ( t ) = X i ( t ) , X j ( t ) 2 ,
At any time t, the force acting on the charge i from charge j, is defined as follows:
F ij k ( t ) = K ( t ) Q i ( t ) Q j ( t ) p j k ( t ) X i k ( t ) R ij ( t ) + ε ,
where K ( t ) represents the Coulomb’s constant at any time t, Q i ( t ) and Q j ( t ) represent the charges of ith and jth particle at any time t, and ε represents a small positive constant to make sure the denominator will not reach zero.
The Coulomb’s constant K ( t ) is taken as a function of the number of the current iterations and the maximum number of iterations, which decreases exponentially to control the search accuracy of the algorithm. It can be calculated by the following equation:
K ( t ) = K 0 exp α iter maxiter ,
where K 0 represents the initial value of the Coulomb’s constant, and α represents a parameter. Here, iter represents the current iteration and maxiter represents the predefined maximum number of iterations.
The total electric force acts on the charge i by all the other charges at any time t in d-dimensional search space, given by the following equation:
F i k   ( t ) = j = 1 , j i N   rand ( )   F ij k   ( t ) ,
where rand ( ) represents a random number uniformly distributed in [0,1], and F ij k represents the Coulomb force acting on the charge i by the charge j.

3.1.2. The Motion Laws for Charges in AEFA

The fitness value of ith charge is f i t at time t. For the minimization of problems, best ( t ) and worst ( t ) are defined as follows:
best ( t ) = min f j ( t ) , j ( 1 , 2 , , N ) ,
worst ( t ) = max f j ( t ) , j ( 1 , 2 , , N ) ,
The charge amount of charge i is updated as follows:
q i ( t ) = exp f i ( t ) worst ( t ) best ( t ) worst ( t ) ,
Q i ( t ) = q i ( t ) i = 1 N   q i ( t ) ,
The electric field of the ith particle at any time t and in kth dimension is given by the following equation:
E i k ( t ) = F i k   ( t ) Q j ( t ) ,
Hence, by Newton’s second law of motion, the acceleration of the ith particle at any time t and kth dimension is given by the equation:
a i k ( t ) = Q i ( t )   E i k ( t ) M i ( t ) ,
where M i t represents the unit mass of ith particle at any time t.
During each iteration, the charge i updates its velocity and position according to the calculated acceleration, as shown in the following equation:
V i k   ( t + 1 ) = rand ( )     V i k ( t )   +   a i k ( t ) ,
X i k ( t + 1 ) = X i k ( t )   +   V i k ( t + 1 ) ,
where V i k t and X i k t , respectively, represent the velocity and position of the charge i at time t.

3.2. AEFA Design and Implementation

3.2.1. Control Principle of Fuzzy PID Controller Based on AEFA

The poor adjustment effect of fuzzy PID control when the difference between the input and the discourse domain is too large is a disadvantage. This section adopts the idea of optimizing the discourse domain of variables, which can change the discourse domain of input variables by changing the quantification factor with the range of input. In addition, the existing fuzzy rules are set according to experience. Although the accuracy can be improved by setting more detailed rules, the number of rules and the amount of calculation will be greatly increased at this time, which will affect the real-time performance of the control. The same fuzzy rules and the same discourse domains are used in the fuzzy PID controller and the fuzzy PID–AEFA controller.
In view of the above problems, this section proposes a control method based on the AEFA to adjust the fuzzy controller quantization factor and the scale factor of fuzzy PID control, to obtain a better control effect.
The structure diagram of the fuzzy PID–AEFA controller for the BLDC motor is shown in Figure 8:
The input of the AEFA is the error between the reference speed and the actual speed, and the output is the quantization factor and the scale factor optimized by the AEFA. The control parameters after the fuzzy PID controller are shown in Equation (24):
Δ k pout = k up Δ k p Δ k iout = k ui Δ k i Δ k dout = k ud Δ k d ,
With the input of BLDC motor speed control module changes, the AEFA can optimize the parameters of the fuzzy PID controller to obtain better control parameters and improve the control performance of the BLDC motor control system.

3.2.2. Optimization Algorithm Steps of Fuzzy PID Controller Based on AEFA

The flow chart of the AEFA is shown in the Figure 9, and its algorithm steps are as follows:
  • Initialize the charge: randomly initialize the position and speed of each charge in the search space;
  • Evaluate charge: calculate the fitness value of each charge;
  • Calculate the parameters, update the charge value of each charge and the Coulomb force on the charge;
  • Calculate the acceleration of the charge, update the speed and position of each charge according to the Equations (21)–(23);
  • The program ends when the iteration termination condition is met, and assigns the optimized quantization factor and scale factor to the fuzzy controller. Otherwise, it returns to 2.
The AEFA is applied to solve the fuzzy PID parameter optimization of the BLDC motor. The time multiplied by the integral of the absolute value of the error (ITAE) is selected as the objective function, and it is regarded as a fitness function, as follows:
J = + t | e ( t ) | dt ,
ITAE is calculated based on the deviation of the reference speed and the actual speed. AEFA searches for the best quantization factor and scale factor to minimize ITAE. The schematic diagram of optimization is shown in Figure 10. The optimization steps are as follows:
  • Initialize the charge: The parameters to be optimized are scale factor and quantization factor, so the optimized dimension is set to five;
  • Calculate the fitness value: The fitness value is calculated according to Equation (25);
  • The fitness results are outputted through the simulation model, and then transmitted to AEFA for calculation. When the set evaluation index or the maximum number of iterations is reached, the algorithm is terminated. Finally, the optimized quantization factor and scale factor are inputted into the simulation model.

4. Simulation Results and Discussion

The effectiveness of the proposed fuzzy PID–AEFA controller has been tested by using the model of the BLDC motor. The model is developed in the Simulink of MATLAB R2021a. The numerical solution is obtained by the fourth order Runge–Kutta method, using a 10−4 s integration step. The AEFA gradually minimizes the objective function while finding the best parameters for the fuzzy PID controller. The program stops if the value of the objective function does not change significantly in successive iterations (that is, if the difference between the objective function values of two consecutive iterations is less than the pre-specified precision) or exceeds the maximum number of iterations. The maximum number of iterations is set at 20.
The following figures demonstrate the complex responses of the velocity variables with time. It is obvious that the velocity curve with time tends to have a steady state value under the three control methods. Figure 11, Figure 12 and Figure 13 show the response speed with a PID controller, a fuzzy PID controller, and a fuzzy PID–AEFA controller. They are respectively denoted by PID, fuzzy and AEFA in the legend.
The speed response of the BLDC motor for three controllers under no-load condition is given in Figure 11. It is apparent that the maximum overshoot due to the fuzzy PID–AEFA controller has the value close to 0. This shows that the fuzzy PID–AEFA control method has high performance relative to the other curves (small settling time and smallest overshoot).
The speed response of the BLDC motor for three controllers under full-load condition is given in Figure 12. In order to verify the effectiveness of the controller under actual working conditions, load disturbance is introduced, and the load changes from no-load to full-load at 0.14 s. It is apparent that the increase in load will cause a decrease in stability, but the decrease of the fuzzy PID–AEFA controller is the smallest. This shows that the fuzzy PID–AEFA controller reduces the speed fluctuation of the BLDC motor system when the load is added.
The speed response of the BLDC motor for all controllers under a variable setting speed condition is given in Figure 13. In order to test the speed fluctuation of the controller when the speed is switched, a change to the set speed condition is introduced. The reference speed is changed from 200 rad/s to 300 rad/s at 0.14 s. It is apparent that the overshoot of the fuzzy PID–AEFA controller is minimal when the new steady state is reached. This shows that the fuzzy PID–AEFA controller keeps the speed of the BLDC motor system more stable when the speed is changed.
The peak values of the three controllers are listed in Table 4. The peak value under the full load condition is the lowest value of waveform decline after interference. Through the above simulation results, we can conclude that the fuzzy PID–AEFA control method proposed in this paper significantly improves the speed fluctuation of the BLDC motor, reduces the overshoot, and improves the dynamic characteristics. The control performance has been improved compared with the traditional PID control and fuzzy PID control.
In summary, by simulating the BLDC motor control system, it is proved that the fuzzy PID controller based on AEFA optimization is superior to the traditional PID controller and the fuzzy PID controller.

5. Conclusions

In order to improve the accuracy of the attitude control flywheel of a small satellite, it is necessary to improve the stationarity of the BLDC motor in the flywheel. To reduce the speed pulsation of the BLDC motor and improve the stability of the BLDC motor, this paper combines fuzzy control technology with PID control and proposes a new method based on AEFA to optimize the parameters of the fuzzy PID controller. By establishing the simulation model of the BLDC motor for testing, it is found that the algorithm has good optimization performance and improves the control accuracy of the BLDC motor control system when there is a big difference between the discourse domain of fuzzy logic and the input of the fuzzy controller.
In order to test the effectiveness of the controller proposed in this paper in the actual operating environment, various operating conditions such as no-load, full-load, and variable set speed were considered, and its performance was observed. The simulation results showed that the fuzzy PID–AEFA controller proposed in this paper is significantly better than the traditional PID control and fuzzy PID control in performance indicators, and can effectively reduce the overshoot, adjustment time, stabilization time, and steady-state error of the BLDC motor. It is proved that the use of the fuzzy PID–AEFA controller can more effectively compensate for disturbances and reduce the speed fluctuations caused by load changes and external disturbances, which verifies the effectiveness of the algorithm.

Author Contributions

Conceptualization, methodology, validation, Z.Z. and Y.L.; formal analysis, investigation, Y.L.; resources, data curation, Z.Z. and Y.L.; writing—original draft preparation, Y.L.; writing—review and editing, Z.Z.; funding acquisition, Z.Z. All authors have read and agreed to the published version of the manuscript.

Funding

Supported by the National Natural Science Foundation of China (61304036) and Shenzhen Science and Technology Program (Grant No. JCYJ20200109142205924, 202001093000459).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The datasets employed during the current study are available from the corresponding author on request.

Acknowledgments

The authors would like to thank the referees for their comments and suggestions, which helped to improve the manuscript.

Conflicts of Interest

The authors declare there is no conflict of interest.

References

  1. Ismail, Z.; Varatharajoo, R. A study of reaction wheel configurations for a 3-axis satellite attitude control. Adv. Space Res. 2010, 45, 750–759. [Google Scholar] [CrossRef]
  2. Eunjeong, L. A micro HTS renewable energy/attitude control system for micro/nano satellites. IEEE Trans. Appl. Supercond. 2003, 13, 2263–2266. [Google Scholar] [CrossRef]
  3. Wang, S.; Yang, G.; Li, T. Research of the flywheel motor driver in satellite attitude control system. In Proceedings of the 2006 1st International Symposium on Systems and Control in Aerospace and Astronautics, Harbin, China, 19–21 January 2006; pp. 5–184. [Google Scholar]
  4. Krishnan, T.V.D.; Krishnan, C.M.C.; Vittal, K.P. Design of robust H-infinity speed controller for high performance BLDC servo drive. In Proceedings of the 2017 International Conference on Smart grids, Power and Advanced Control Engineering (ICSPACE), Bangalore, India, 17–19 August 2017; pp. 37–42. [Google Scholar]
  5. Liu, G.; Fang, J.; Liu, J. Research progress on the application of high-speed brushless DC motor in magnetically suspended inertial actuator. Meas. Control 2008, 41, 88–91. [Google Scholar]
  6. Byoung-Hee, K.; Choel-Ju, K.; Hyung-Su, M.; Gyu-Ha, C. Analysis of torque ripple in BLDC motor with commutation time. In Proceedings of the 2001 International Symposium on Industrial Electronics, Pusan, Republic of Korea, 12–16 June 2001; pp. 1044–1048. [Google Scholar]
  7. Septanto, H.; Kurniawan, F.; Setiadi, B.; Kurniawan, E.; Suprijanto, D. Disturbance observer-based attitude control of the Air-Bearing platform using a reaction wheel. In Proceedings of the 2021 IEEE International Conference on Aerospace Electronics and Remote Sensing Technology (ICARES), Bali, Indonesia, 3–4 November 2021; pp. 1–6. [Google Scholar]
  8. Zhang, J.; Wang, N.; Wang, S. A Developed Method of Tuning Pid Controllers with Fuzzy Rules for Integrating Processes; IEEE: Piscataway, NJ, USA; Evanston, IL, USA, 2004; pp. 1109–1114. [Google Scholar]
  9. Zhao, C.; Guo, L. PID controller design for second order nonlinear uncertain systems. Sci. China Inf. Sci. 2017, 60, 022201. [Google Scholar] [CrossRef] [Green Version]
  10. Qi, Z.; Shi, Q.; Zhang, H. Tuning of digital PID controllers using particle swarm optimization algorithm for a CAN-Based DC motor subject to stochastic delays. IEEE Trans. Ind. Electron. 2020, 67, 5637–5646. [Google Scholar] [CrossRef]
  11. Visioli, A. Tuning of PID controllers with fuzzy logic. Control Theory Appl. IEEE Proc. 2001, 148, 1–8. [Google Scholar] [CrossRef]
  12. Kothari, M.L.; Segal, R.; Ghodki, B.K. Adaptive conventional power system stabilizer based on artificial neural network. In Proceedings of the International Conference on Power Electronics, Drives and Energy Systems for Industrial Growth, New Delhi, India, 8–11 January 1996; pp. 1072–1077. [Google Scholar]
  13. Zhao, Z.Y.; Tomizuka, M.; Isaka, S. Fuzzy gain scheduling of PID controllers. IEEE Trans. Syst. Man Cybern. 1993, 23, 1392–1398. [Google Scholar] [CrossRef] [Green Version]
  14. Farouk, N.; Bingqi, T. Application of self-tuning fuzzy PID controller on the AVR system. In Proceedings of the 2012 IEEE International Conference on Mechatronics and Automation, Sichuan, China, 5–8 August 2012; pp. 2510–2514. [Google Scholar]
  15. Chen, N.; Liu, X.; Li, R.; Zheng, X.; Cherr, S.; Zhang, H. Applied in Crane Simulator Based on the Fuzzy Control Washout Algorithm. In Proceedings of the 2018 37th Chinese Control Conference (CCC), Wuhan, China, 25–27 July 2018; pp. 2106–2110. [Google Scholar]
  16. Lin, S.; Wang, G. Fuzzy PID control algorithm based on PSO and application in BLDC motor. IOP Conf. Series Earth Environ. Sci. 2017, 69, 12186. [Google Scholar] [CrossRef]
  17. Chen, G.; Li, Z.; Zhang, Z.; Li, S. An improved ACO algorithm optimized fuzzy PID controller for load frequency control in multi area interconnected power systems. IEEE Access 2020, 8, 6429–6447. [Google Scholar] [CrossRef]
  18. Premkumar, K.; Manikandan, B.V. Bat algorithm optimized fuzzy PD based speed controller for brushless direct current motor. Eng. Sci. Technol. Int. J. 2016, 19, 818–840. [Google Scholar] [CrossRef] [Green Version]
  19. Sahoo, B.P.; Panda, S. Improved grey wolf optimization technique for fuzzy aided PID controller design for power system frequency control. Sustain. Energy Grids Netw. 2018, 16, 278–299. [Google Scholar] [CrossRef]
  20. Prakash, R.; Kandasamy, A. An enhanced whale optimized fractional order pi λ controller based power quality improvement for sensorless brushless dc motor under dynamic operating conditions. J. Intell. Fuzzy Syst. 2021, 42, 2647–2666. [Google Scholar] [CrossRef]
  21. Kumar, A.; Suhag, S. Whale optimization algorithm optimized Fuzzy-PID plus PID hybrid controller for frequency regulation in hybrid power system. J. Inst. Eng. Ser. B 2022, 103, 633–648. [Google Scholar] [CrossRef]
  22. Anita; Yadav, A. AEFA: Artificial electric field algorithm for global optimization. Swarm Evol. Comput. 2019, 48, 93–108. [Google Scholar] [CrossRef]
  23. Anita; Yadav, A.; Kumar, N. Application of Artificial Electric Field Algorithm for Economic Load Dispatch Problem; Abraham, A., Jabbar, M.A., Tiwari, S., Jesus, I.M.S., Eds.; Springer: Cham, Switzerland, 2021; pp. 71–79. [Google Scholar]
  24. Rao, A.P.C.; Obulesh, Y.P.; Babu, C.S. Mathematical modeling of bldc motor with closed loop speed control using pid controller under various loading conditions. ARPN J. Eng. Appl. Sci. 2012, 7, 1321–1328. [Google Scholar]
  25. Huang, J.; Hui, F.; Jie, W. A PI controller optimized with modified differential evolution algorithm for speed control of BLDC motor. Automatica 2019, 60, 135–148. [Google Scholar]
  26. Premkumar, K.; Manikandan, B.V. Adaptive Neuro-Fuzzy Inference System based speed controller for brushless DC motor. Neurocomputing 2014, 138, 260–270. [Google Scholar] [CrossRef]
Figure 1. Block diagram of the control system of BLDC motor.
Figure 1. Block diagram of the control system of BLDC motor.
Aerospace 09 00789 g001
Figure 2. Block diagram of the speed control using traditional PID controller.
Figure 2. Block diagram of the speed control using traditional PID controller.
Aerospace 09 00789 g002
Figure 3. Block diagram of the speed controller using fuzzy PID controller.
Figure 3. Block diagram of the speed controller using fuzzy PID controller.
Aerospace 09 00789 g003
Figure 4. The input trigonometric membership functions of the fuzzy-PID controller.
Figure 4. The input trigonometric membership functions of the fuzzy-PID controller.
Aerospace 09 00789 g004
Figure 5. The output trigonometric membership functions of the fuzzy-PID controller.
Figure 5. The output trigonometric membership functions of the fuzzy-PID controller.
Aerospace 09 00789 g005
Figure 6. The output surface viewer of the fuzzy controller: (a) The fuzzy control surface of Δkp; (b) The fuzzy control surface of Δki; (c)The fuzzy control surface of Δkd.
Figure 6. The output surface viewer of the fuzzy controller: (a) The fuzzy control surface of Δkp; (b) The fuzzy control surface of Δki; (c)The fuzzy control surface of Δkd.
Aerospace 09 00789 g006
Figure 7. The structure diagram of the fuzzy PID controller.
Figure 7. The structure diagram of the fuzzy PID controller.
Aerospace 09 00789 g007
Figure 8. Block diagram of the fuzzy PID–AEFA controller.
Figure 8. Block diagram of the fuzzy PID–AEFA controller.
Aerospace 09 00789 g008
Figure 9. Flow chart of AEFA.
Figure 9. Flow chart of AEFA.
Aerospace 09 00789 g009
Figure 10. AEFA optimization fuzzy PID flow chart.
Figure 10. AEFA optimization fuzzy PID flow chart.
Aerospace 09 00789 g010
Figure 11. Speed response of BLDC motor for three controllers under no-load condition.
Figure 11. Speed response of BLDC motor for three controllers under no-load condition.
Aerospace 09 00789 g011
Figure 12. Speed response of BLDC motor for all controllers under the full-load condition.
Figure 12. Speed response of BLDC motor for all controllers under the full-load condition.
Aerospace 09 00789 g012
Figure 13. Speed response of BLDC motor for three controllers under variable setting speed condition.
Figure 13. Speed response of BLDC motor for three controllers under variable setting speed condition.
Aerospace 09 00789 g013
Table 1. The fuzzy rules matrix of Δ k p .
Table 1. The fuzzy rules matrix of Δ k p .
eec
NBNMNSZOPSPMPB
NBPBPBPMPSPMPBPB
NMPBPBPMPSPMPBPB
NSPBPMPSZOPSPMPB
ZOPBPMPSZOPSPMPB
PSPBPMPSZOPSPMPB
PMPBPMPMPSPMPBPB
PBPBPMPMPSPMPBPB
Table 2. The fuzzy rules matrix of Δ k i .
Table 2. The fuzzy rules matrix of Δ k i .
eec
NBNMNSZOPSPMPB
NBZOPSPBPBPBPSZO
NMZOPSPBPBPBPSZO
NSZOZOPMPBPMZOZO
ZOZOZOPMPBPMZOZO
PSZOZOPMPBPMZOZO
PMZOPSPBPBPBPBZO
PBZOPSPBPBPBPSZO
Table 3. The fuzzy rules matrix of Δ k d .
Table 3. The fuzzy rules matrix of Δ k d .
eec
NBNMNSZOPSPMPB
NBPSPSPMPBPMPSPS
NMPSPSPMPBPMPSPS
NSPSPMPBPBPBPMPS
ZOPSPMPBPBPBPMPS
PSPSPMPBPBPBPMPS
PMPSPSPMPBPMPSPS
PBPSPSPMPBPMPSPS
Table 4. The peak value of the three controllers.
Table 4. The peak value of the three controllers.
PIDFuzzy PIDFuzzy PID–AEFA
no-load condition(rad/s)201.34200.944200.232
full-load condition(rad/s)193.301196.533198.378
variable setting speed condition(rad/s)302.774300.592300.004
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhang, Z.; Li, Y. An AEFA-Based Optimum Design of Fuzzy PID Controller for Attitude Control Flywheel with BLDC Motor. Aerospace 2022, 9, 789. https://doi.org/10.3390/aerospace9120789

AMA Style

Zhang Z, Li Y. An AEFA-Based Optimum Design of Fuzzy PID Controller for Attitude Control Flywheel with BLDC Motor. Aerospace. 2022; 9(12):789. https://doi.org/10.3390/aerospace9120789

Chicago/Turabian Style

Zhang, Zhizhou, and Yang Li. 2022. "An AEFA-Based Optimum Design of Fuzzy PID Controller for Attitude Control Flywheel with BLDC Motor" Aerospace 9, no. 12: 789. https://doi.org/10.3390/aerospace9120789

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