Research on the Control Method of a Brushless DC Motor Based on Second-Order Active Disturbance Rejection Control

: This research addresses the issues of weak anti-disturbance ability, fast response, and in-compatibility of overshoot in the control process of brushless DC motors (BLDCs). A six-step commutation control method based on second-order active disturbance rejection control (ADRC) is derived following the analysis of the BLDC model and the mathematical model of ADRC. A control model of the BLDC using both PI and ADRC is constructed. Detailed comparative and quantitative analyses of the simulation results using PI and ADRC are conducted, focusing on the anti-load disturbance capabilities using the integrated square error (ISE), integrated time square error (ITSE), integrated absolute error (IAE), and integrated time absolute error (ITAE). Experimental testing on the STM32F4 controller is also carried out, analyzing four error integral criteria in depth. The results indicate that both the ADRC and PI control modes can track the target signal without overshooting, demonstrating strong anti-load disturbance ability and robustness at varying working speeds. In the BLDC control system, using the ADRC control method can achieve fast and non-overshoot tracking of target signals compared to the PI control method, and ADRC has stronger resistance to load disturbances .


Introduction
The brushless DC motor (BLDC), utilizing Hall sensors as opposed to the mechanical commutators found in traditional DC motors, offers high efficiency, low noise, superior torque characteristics, and a simple structure, with a wide speed regulation range.Its applications include new energy automobiles, numerical control systems, flight control systems, ships, home appliances, and medical equipment [1][2][3][4][5].
The control process of DC brushless motors can be classified into inductive control and non-inductive control based on the presence or absence of position sensors.Vector control strategies are typically used for brushless DC motors without position sensors.The FOC control method or six-step commutation method can be used in the process of position sensor control.For brushless motors with only an encoder installed, the FOC control method is generally used.For brushless motors with only three-phase Hall sensors installed, a six-step commutation method is generally used for control.This article mainly focuses on brushless motors equipped with Hall sensors for sampling and six-step commutation control.This paper explores the two-by-two conduction mode six-step phase change method control of BLDC.Advances in structural design and permanent magnet materials, in addition to improved control strategies, can significantly enhance control performance.Despite the simplicity and ease of implementation of the proportion integration differentiation (PID) control mode, it struggles with the nonlinear nature and variable load disturbances of BLDC, prompting research into alternative methods such as fuzzy PID, neural network PID, enhanced PID control, and sliding-mode variable structure control [6][7][8][9][10][11].
The study detailed in [12] integrates a fuzzy control algorithm with a PID controller, assessing its efficacy in mitigating speed and torque fluctuations in brushless DC (BLDC) motors through simulation for improved performance.Reference [13] described the use of the particle swarm optimization algorithm to fine-tune PID control parameters, resulting in enhanced response characteristics, minimized steady-state error, and reduced overshoot.Control of BLDC motors can be achieved using artificial intelligence approaches without requiring detailed parameters.According to [14], the application of neural networks, genetic algorithms, and artificial intelligence methods in brushless DC motor technology provides valuable guidance and references for researchers in the BLDC drive domain.Moreover, [15] demonstrated the combination of fuzzy logic and fuzzy logic to improve response speed and disturbance resistance.The approach in [16] presented the use of a fuzzy control strategy to adjust the parameters of a sliding mode controller based on an FPGA controller, thereby improving the control performance of BLDC motors.
BLDC systems are complex, multivariable control systems prone to issues such as load perturbation and parameter variations during operation.Han Jingqing, a scholar at the Chinese Academy of Sciences, developed a novel control technology known as selfimposed perturbation control, grounded in a comprehensive analysis of both modern and classical control theories.ADRC has strong robustness, good adaptability, and excellent tracking characteristics.The ESO in ADRC estimates all influencing factors in the system and achieves real-time dynamic adjustment through NLSEF, thus effectively resisting various interferences and uncertain factors.The ADRC does not rely on the precise mathematical model of the controlled object, meaning it performs well in dealing with model uncertainty and external disturbances.TD in ADRC can achieve fast and non-overshoot tracking of target signals, enabling ADRC to achieve more accurate and rapid tracking.This method, using the integral series type as a benchmark, addresses the total perturbations of the system, including uncertainty and internal and external perturbations.These perturbations are estimated and eliminated in real-time by expanding the state observer, simplifying the nonlinear object full of perturbations and uncertainty to a standard series type.This control technique exhibits exceptional performance in both dynamic and static settings, with strong perturbation resistance.Since its inception, active disturbance rejection control (ADRC) technology has attracted considerable attention and has been rapidly implemented in various control sectors, including industrial control [17], robotics [18,19], new energy vehicles [20,21], aircraft [22,23], and aerospace [24,25].
The approach in [26] discussed the use of an enhanced self-immunity controller to reduce torque pulsation in BLDC.The approach in [27] details the implementation of ADRC in a flywheel storage system to improve its immunity and dynamic characteristics.
The approach in [28] reports the application of a third-order ADRC for speed control of an asynchronous motor, with its effectiveness validated in a DSP controller.These experimental outcomes highlight the method's ability to enhance the robustness of asynchronous motor speed.BLDC motors are employed as driving components in optical scanning systems.According to the approach in [29], ADRC was implemented to facilitate the transition between "point-to-point control" and "stable speed control".In [30], a combination of a neural network and ADRC controllers was utilized, with the ADRC parameters adjusted in real-time to improve the control precision of the BLDC servo system.Reference [31] applied ADRC to the BLDC two-wheeled balance car system to augment balance stability and robustness.However, the literature [30,31] did not establish a simulation model for the BLDC six-step commutation method, nor did it quantitatively analyze the load disturbance resistance characteristics of the PI control method and ADRC control method.
This paper presents a BLDC speed control strategy employing second-order ADRC, following an analysis of the mathematical models of BLDC and ADRC.This research involves establishing a simulation model for BLDC based on ADRC, followed by a comprehensive comparison and analysis of the simulation results of control based on ADRC and PID.The disturbance resistance of the system is quantitatively assessed using the integrated time absolute error (ITAE) and integrated absolute error (IAE) guidelines.Experimental tests on the STM32F4 controller demonstrate that the control method offers rapid response speed and high resistance to load disturbances.In the BLDC control system, the ADRC can achieve fast and non-overshoot tracking of target signals compared to the PI control method and has stronger resistance to load disturbances.

Mathematical Model of BLDC
In BLDC motors, each opposing electromotive force exhibits a trapezoidal wave, and the mutual inductance between the stator and rotor is non-sinusoidal.Therefore, direct use of the d-q coordinate transformation for BLDC three-phase equations is not feasible.The mathematical model of the BLDC is established based on the relationships among its inherent variables.The interaction between permanent magnets and windings, as well as between the windings themselves during operation, combined with magnetic circuit saturation and other nonlinear factors, results in a complex electromagnetic relationship.
BLDC motors are nonlinear, highly coupled multivariable systems.Using a threephase global inverter circuit with a two-two conduction mode, the following assumptions are made without compromising the control effect: symmetric distribution of the stator current and magnetic field; exclusion of eddy current and hysteresis losses; and neglect of cogging and the armature reaction.The equation for the stator voltage can be expressed as follows: The voltages of the three phases are given as ua, ub, and uc, while ea, eb, and ec represent the respective reverse electromotive forces.The currents of the phases can be given as ia, ib, and ic.La, Lb, and Lc refer to the inductances of the three-phase windings.Lab indicates the mutual inductance of the AB phase winding.The rotor comprises a permanent magnet, and the influence of the rotor can be discounted.Thus, La = Lb = Lc = L, and Lab = Lba = Lac = Lca = Lbc = Lcb = M, where M represents the mutual inductance of the windings.The stator's three-phase windings are connected in a Y-formation, leading to the following relationship.
Equation (1) can be simplified as According to Equation (3), the equivalent circuit of the BLDC motor is shown in The electromagnetic torque, Te, can be controlled by adjusting the amplitude of the square wave current in the BLDC motor.During operation, the stator only conducts in a two-by-two pattern.The expression for electromagnetic power is outlined as follows: The steady-state value of the opposing electromotive force when the two terminals are active is denoted as Es, and the phase current of the winding at steady state is referred to as Is.
If mechanical losses and other stray losses of the motor are disregarded, all the electromagnetic power is converted into rotor kinetic energy.where Kt represents the coefficient of motor torque.
The equation of motion for a BLDC motor is as follows: where TL is the load torque, J is the rotational inertia, and B is the damping factor.

Second-Order ADRC Control Principle
The PID control structure is frequently utilized for the BLDC speed loop control procedure.Equation (9) In the PID controller, the proportional link effectively regulates the BLDC's response speed.However, increasing kp can lead to overshooting.It is crucial to find an optimal balance between kp and Ki to achieve optimal performance.The integral link can eliminate steady-state error in the system, and increasing ki can accelerate the error reduction.However, an excessively large ki can cause integral saturation.When connected to a system error, the differential link suppresses overshooting.Increasing kd prolongs the system regulation time, thereby weakening the disturbance resistance of the system.However, the The ADRC is a high-performance nonlinear control technique that evolved from PID and modern control theory.The ADRC does not require precise mathematical models of controlled objects.Instead, it assesses and corrects total disturbances by evaluating the combined effect of the "uncertain model part" and "unknown disturbances" as the total disturbance.The ADRC controller comprises a tracking differential (TD), an extended state observer (ESO), and nonlinear state error feedback (NLSEF), in addition to a new controller.NLSELF can observe and compensate for the system's uncertain model parts and unknown perturbations.Compared to the PID controller, the ADRC is more adept at meeting the control requirements of nonlinear complex systems, achieving rapid and overshoot-free responses in accordance with the target signal and exhibiting robust load disturbance resistance.
The primary function of the tracking differentiator is to manage the transition process, enabling fast and overshoot-free tracking of the target signal.TD effectively addresses the challenge of extracting continuous and differential signals from a discontinuous rotational speed signal replete with random noise.
The expanded state observer, a core component of ADRC, addresses the central issue of perturbation observation in active disturbance techniques.The ESO expands the perturbation action in the system into a new state variable and establishes a state observer capable of monitoring this expanded state.By utilizing a feedback mechanism, the ESO observes system perturbations and compensates for them at the control rate, thereby enhancing the system's anti-disturbance capability.Importantly, expanded state observers do not rely on a specific model and do not require direct measurements to observe perturbations and obtain estimates.
The nonlinear state error feedback permits the combination of three signals-the error signal of the transition process, the integral signal of the error, and the differential of the error signal-either linearly or nonlinearly.By utilizing the nonlinear fal (•) function, NLSEF achieves the control effect of "small error, large gain; large error, small gain", thereby enhancing the robustness and adaptability of the system.
The differential equation for an uncertain object subject to an unknown perturbation is expressed as follows: where f (x, x 1 ,~, x (n−1) , t) is the unknown function, d (t) is the unknown perturbation, y is the system output, and u (t) is the system control quantity.
A schematic block diagram of the ADRC structure is shown in Figure 2. x* represents the input signal.In practical applications, first-order ADRC and second-order ADRC are commonly utilized.Third-and higher-order ADRC expressions, which are complex and computationally intensive, necessitate higher controller performance and are less frequently employed.A typical differentiator replaces differentiation with differential approximation, as expressed: When v (t) is contaminated by a noise signal, the use of differential computation amplifies the noise signal and may even overwhelm the differential signal.h is the sampling period.To address this issue, Jingqing Han proposed tracking the input signal using TD and obtaining the differential signal by solving the differential equations and using the integration result.
TD can smoothly track input signals, especially when the input signal contains noise or discontinuity.The tracking differentiator can convert these signals into continuous and smooth signals, thus avoiding the problems that may arise from direct step changes.Second, tracking differentiators can extract the differentiation of signals, which is crucial for control systems that need to understand the rate of signal change.In addition, it can also be used to arrange the transition process so that the output signal can smoothly transition from the current state to the target state, avoiding the impact and instability caused by direct step changes.
This approach is represented by TD as follows: fhan (•) is the core component of TD, and its main function is to act as a buffer.fhan (•) can help the system achieve fast and stable tracking of target signals while avoiding overshooting and improving control performance.fhan (•) is the fastest integrating function, which is written as TD ensures that x1 converges to the input signal xin, x2 is the differential signal x1, r is the speed factor, which determines the tracking speed, T is the integration step size, and h1 is the filter factor.In this case, a larger h1 reflects a more obvious filter effect.
The primary role of the ESO is to monitor internal and external perturbations affecting the system's output.The main concept of ESO involves expanding the total perturbation of the system into a new state variable higher than the first-order controlled object and then reconstructing the system's original state variables and perturbations using inputs and outputs.For a second-order control object with a state equation w (t) is the external perturbation and f (x1, x2, w (t), t) represents the sum of the internal and external perturbations, or the "total perturbation".As a new unknown state variable, x3 (t) = f (x1, x2, w(t), t) expands a new state on the basis of Equation ( 14), and the original second-order state equation is expressed as follows: x t x t x t x t bu t x t f x x w t t w t y x t The construction of a nonlinear state observer for Equation ( 15) has where δ is an adjustable parameter, typically set to the same value as h.α01 and α02 generally take values of 0.5 and 0.25, respectively.The nonlinear ESO can be transformed into a linear ESO (LESO) by substituting fal () with e.
TD generates the error signal e1 and the differential signal of the error e2, and NLSEF replaces linear feedback in PID with non-smooth feedback of the error.NLSEF implements the digital adaptation of "small gain with large error, large gain with small error" through the fal (•) function.Variable gain PID, fuzzy control, and intelligent control all utilize this "small error, large gain; large error, small gain" control philosophy for regulation.The expression of the second-order NLSEF is shown in Equation (18).
A block diagram of the control structure of the second-order ADRC is depicted in Figure 3.

Speed Loop Second-Order ADRC
In BLDC speed mode operation, the input to the TD is the target speed signal, and the input to the expanded observer is the speed signal from measurement feedback.
Let T1 = TL + Bω.Then, Differentiating Equation ( 19), we have where wω (t) is the disturbance term, . The inputs to the second-order speed ADRC controller are the setpoint speed and the actual feedback speed.If the mechanical angular speed is ω1 and the angular acceleration is ω2, then ( , ) ( ) The expression for the second-order speed loop ADRC is shown in Equation ( 22): A block diagram of the ADRC-based BLDC speed control is shown in Figure 4.

Analysis of the Simulation Experiment Results
The ADRC-based BLDC six-step phase change method control model is constructed in the MATLAB/Simulink (2016b) environment.The target speed is set to 1000 r/min.After stabilizing the PMSM, a 4 Nm load is applied for 0.5 s to test the load disturbance resistance of both the PI-based and ADRC-based BLDC.
The parameters of the BLDC in the simulation model are shown in Table 1.
Table 1.Simulation model parameters for BLDC.The TD model in the ADRC is shown in Figure 6.The NLSEF model in ADRC is shown in Figure 8.As depicted in Figure 5, the input of the ADRC is the set speed and the feedback measured speed, and the output is the pulse width of the control PWM wave.By adjusting the pulse width of the PWM, the phase current can be adjusted, thereby controlling the motor torque.The decoder's role in the model is to control and detect the motor rotor's position.By measuring the Hall signal, the position and speed of the BLDC rotor can be accurately determined.The Hall signal is converted by the six-step commutator table and output to the Gates module, which drives the inverter.The decoder and the Gates module are shown in Figures 9 and 10.Setting the system simulation time to 0.5 s and the motor speed to 1000 r/min, a 4 Nm load is applied to the motor at 0.25 s, and the speed and torque changes of the BLDC are recorded.The speed change is shown in Figure 11.From the partially enlarged Figure A of Figure 11, it can be concluded that, given the 1000 r/min step signal, the time to reach 1000 r/min is the same for both the PI and ADRC control methods, at 0.01 s.However, the PI control method exhibits overshoot, with a maximum speed of 1036 r/min and an overshoot of 3.6%.The ADRC control method is capable of handling speed fluctuations after a 0.25 s load application.The speed fluctuation of the PI control mode is significantly larger than that of the ADRC control mode, as observed in the partially enlarged Figure B. The minimum speed fluctuation in the PI mode is 860 r/min, and the maximum is 1020 r/min, indicating that the load disturbance resistance of the PI mode is considerably weaker than that of the ADRC mode.After 0.28 s of stabilization, the speed fluctuation amplitude of the PI mode is significantly larger than that of the ADRC mode.The error integral criterion is employed to evaluate the load disturbance resistance of the BLDC accurately using both the PID and ADRC methods.

Name
This criterion is a comprehensive indicator that combines the magnitude of the error with the duration of its existence.The smaller the value of this criterion is, the better the system's performance.According to the relevant literature [32][33][34][35], common performance indicators for control systems include ISE, ITSE, IAE, and ITAE.Each performance index focuses on different aspects of the system response.The ISE is the square integral of the error during the sampling time period of the system and is used to evaluate the stability of the system.The smaller the ISE is, the stronger the system stability.The ITSE criterion emphasizes reducing the error in the later stages of the transient response and is less sensitive to large initial errors.The IAE criterion is independent of time-integrated errors and provides appropriate damping and excellent transient response characteristics.However, it does not respond significantly to system parameter changes.The ITAE criterion offers advantages such as fast response speed, minimal oscillation, and effective control parameter selection.It is often considered the preferred performance evaluation index for singleinput-output and adaptive systems.The expressions for ISE, ITSE, IAE, and ITAE are provided in Equation ( 23).
The time period from 0.25 to 0.3 s was selected for calculating the four error integration criteria using the relative time approach.The results are presented in Table 2. From these results, it is evident that the ADRC method outperforms the PI method in all four error criteria, with a notably smaller ITAE.This finding suggests that ADRC has superior load disturbance resistance compared to the PI method.
The variation in torque during the starting and loading processes is shown in Figure 12.The simulation results reveal that at approximately 0.02 s, the torque under PI control exhibits significant fluctuations, consistent with the speed fluctuations observed in Figure 11.After applying a 4 Nm load at 0.25 s, the torques for both the PI and ADRC control methods increase from 0 Nm to 4 Nm.After stabilizing at 0.3 s, the torque fluctuation amplitude under PI control is larger than that under ADRC control.The current variation curve during speed operation is shown in Figure 13.The change in current is consistent with the change in torque.During operation from 0.02 to 0.05 s, the torque amplitude of the PI control method fluctuates significantly, and the corresponding current amplitude of the PI control method also fluctuates significantly.During stable operation from 0.3 s to 0.5 s, the current fluctuation amplitude of the PI control mode is greater than that of the ADRC control mode, and the corresponding torque fluctuation amplitude is also greater than that of the ADRC control mode.The operating conditions were set to the same speed but different loads, the target speed was set to 1000 r/min, and a load of 6 Nm was applied at 0.25 s.The simulation results of the speed and torque are shown in Figure 14.The simulation variation patterns of the speed and torque are the same as those in Figures 11 and 12.The operating conditions were set at different speeds and loads, with an initial speed of 500 r/min.A 4 Nm load is applied at 0.2 s, and an additional 2 Nm load is applied at 0.3 s, with a load of 6 Nm.The load is set to 0 at 0.4 s.The target speed is set to 1000 r/min at 0.5 s, a 4 Nm load is applied at 0.6 s, another 2 Nm load is added at 0.7 s, and the load is 6 Nm at this time.The load is set to 4 Nm at 0.8 s.The speed simulation results of this process are shown in Figure 15.From the speed simulation results, it can be concluded that the ADRC control method has better resistance to load disturbances than the PI control method at different speeds.The torque simulation results of this process are shown in Figure 16.From the torque simulation results, it can be concluded that after loading for 0.2 s, 0.3 s, 0.6 s, and 0.7 s, both the PI control method and ADRC control method can achieve the set target load, and the torque fluctuation amplitude of ADRC control is smaller than that of PI control.

Analysis of the Experimental Results
To validate the effectiveness of the ADRC-based BLDC control method, experimental verification was conducted using the STM32F4 control platform.The STM32F4 controller (STMicroelectronics, Geneva, Switzerland), known for its fast computing speed and low power consumption, integrates DSP instructions and a floating-point unit, making it wellsuited for complex control algorithms such as ADRC.The experimental setup is illustrated in Figure 17, with the BLDC connected to a load brake using rigid coupling.During the experiment, a magnetic particle brake applies the load to the BLDC, and the STM32 controller sends speed data to the host computer at 10 ms intervals.The parameters of the BLDC and magnetic powder brake used in the experiments are shown in Table 3. 1.5 Brake Voltage (V) 24 The system sampling time is 10 ms.During the experiment, the BLDC was set to rotate at 1000 r/min and 1500 r/min.The load was applied and then removed after speed stabilization, and the speed change data were recorded and plotted.To adjust the control parameters of the ADRC and PID controllers, the speed was set to 1000 r/min.After stabilizing the speed, a 0.1 Nm load was applied to the BLDC at 3.00 s and then removed at 5.00 s after the speed returned to 1000 r/min.The resulting speed change curve is shown in Figure 19.From the local magnification in Figure 18, it is evident that both the ADRC and PID control methods can maintain a steady state at 1000 r/min, with the same steady-state error.However, the time taken to reach the target speed is 0.62 s for both methods.The PI control mode exhibits overshoot, with a peak speed of 1018 r/min and an overshoot of 1.8%.During loading and unloading, the PID control method shows a larger fluctuation amplitude in speed than the ADRC method.The minimum speed for PID control during loading is 841 r/min, while it is 940 r/min for ADRC control.During unloading, the maximum speed for PID control is 1180 r/min, compared to 1068 r/min for ADRC control.
Using the relative time method, the speed changes during loading and unloading were analyzed, and the resulting speed change curve is depicted in Figure 20.From Figure 20, it is inferred that the rotational speed changes during loading and unloading are opposite in nature and almost symmetrical.The convergence speed of ADRC is faster than that of the PID control method.Given the symmetrical nature of the speed changes in the two control modes, PID and ADRC, during the loading and unloading processes, the study utilizes speed data from the loading process only for the quantitative analysis of disturbance performance in the ADRC and PID control modes.The selected time period for analysis ranged from 3.00 to 4.00 s, and the relative time method was used to calculate four error integration criteria.The results of these calculations are presented in Table 4.The data in Table 4 indicate that at 1000 r/min operation, the ADRC control mode demonstrates superior performance in all four error integration criteria compared to the PID control mode, highlighting its enhanced stability during both the loading and unloading processes.
The speed is set at 1500 r/min, and upon stabilization, a 0.1 Nm load is applied to the BLDC at 3.00 s.After the speed returns to 1000 r/min, the load is removed at 5.00 s.The resulting speed variation curve is illustrated in Figure 21.A detailed examination of Figure 17 reveals that both systems achieve 1500 r/min in an identical duration of 1.00 s and maintain the same steady-state error thereafter.During the loading phase, the minimum speed reached by the PID control mode is 1295 r/min, while for the ADRC control mode, it is 1420 r/min.Similarly, during unloading, the maximum speed for the PID control mode is 1730 r/min, compared to 1589 r/min for the ADRC mode, with target speeds of 1500 r/min and 1000 r/min for loading and unloading, respectively.This pattern of speed change is consistent across both modes.By applying the relative time method, the speed variation curve at 1500 r/min during loading and unloading is depicted in Figure 22.This figure shows that the rotational speed change during these processes is essentially symmetrical.The ADRC control method converges to 1500 r/min at 0.8 s, faster than the PID control method, which achieves the same speed at 1000 r/min.As the speed changes of the PID and ADRC control methods during loading and unloading are essentially symmetrical, only the loading process speed data are used for the quantitative disturbance control performance analysis of ADRC and PID.The chosen analysis period is from 3.00 to 4.00 s, and the relative time method is used to calculate the four error integration criteria at a loading speed of 1500 r/min.The results are displayed in Table 5.Table 5 shows that at 1500 r/min, the ADRC control mode's performance in terms of the four error integration criteria surpasses that of the PID control mode, indicating more effective disturbance control during both the loading and unloading processes.
The speed is set at 1500 r/min, and upon stabilization, a 0.2 Nm load is applied to the BLDC at 3.00 s.After the speed returns to 1500 r/min, the load is removed at 5.00 s.The resulting speed variation curve is illustrated in Figure 23.The minimum speed of the PI control mode during loading is 1139 r/min, and the minimum speed of the ADRC control mode during loading is 1330 r/min.The maximum speed of the PI control mode during unloading is 1917 r/min, and the maximum speed of the ADRC control mode during unloading is 1689 r/min.The speed variation curve at 1500 r/min during the loading and unloading process is shown in Figure 24.The changes in speed during these processes are basically symmetrical.The speed variation pattern during the loading and unloading process is consistent with Figure 21.The chosen analysis period is from 3.00 to 4.00 s, and the relative time method is used to calculate the four error integration criteria at a loading speed of 1500 r/min.The results are displayed in Table 6.

Conclusions
This paper proposes a six-step phase-change control method for BLDC based on ADRC.Mathematical models for BLDC and second-order ADRC are constructed, and the BLDC speed loop's second-order ADRC mathematical expression is derived.This study provides an analytical method to quantitatively evaluate the resistance to load disturbances using four error integration criteria: the ISE, ITSE, IAE, and ITAE.A BLDC simulation model based on ADRC is established, analyzing the speed change rule of both the PI and ADRC control methods using a speed step signal of 1000 r/min.The resistance to load disturbances using the PI and ADRC controllers is quantitatively analyzed.After applying a 4 Nm load, the ITAE for PI and ADRC are calculated as 2.08 × 10 8 and 4.29 × 10 2 , respectively.The method is then applied to the STM32F4 controller for experimental validation by conducting a detailed comparative analysis of the PI and ADRC control methods under operating conditions of 1000 r/min and 1500 r/min using the error integration criterion.The ITAE calculations for PI and ADRC at 1000 r/min are 1.77 × 10 3 and 5.87 × 10 2 , respectively, and at 1500 r/min, they are 3.36 × 10 3 and 7.62 × 10 2 , respectively.Both the simulation and experimental results demonstrate the superior load disturbance resistance of the ADRC compared to that of the STM32F4 controller.
to harmonize with fast or overshooting dynamics, resulting in diminished disturbance resistance.

Figure 2 .
Figure 2. Block diagram of the n-order ADRC control structure.

( 16 ) 1 (
β01, β02, and β03 are the output error correction gains.The β01, β02, and β03 values are related to the sampling period.where fal (•) is a nonlinear function written as

Figure 6 .
Figure 6.TD simulation model.The ESO model in the ADRC is shown in Figure 7.

Figure 14 .
Figure 14.Speed and torque simulation results.

Figure 15 .
Figure 15.Simulation results for different speeds and torques.
For the ADRC, r = 8000, h = 0.015, β01 = 15.6, β02 = 780, β03 = 1010, α1 = 0.75, α2 = 1.75, δ = 1, β1 = 280.1, and β2 = 130.1.In the PI controller, kp = 0.035 and ki = 0.02.The flowchart of the control algorithm is shown in Figure 18.STM32's advanced timers 1 and 8 have a three-phase Hall signal acquisition function.The rotation direction and speed of the BLDC are determined by detecting Hall signals.The calculated speed signal is sent to the PI/ADRC controller, which adjusts the duty cycle of the PWM output to change the BLDC's speed.

Figure 18 .
Figure 18.Flowchart of the program.

Figure 19 .
Figure 19.Results of the 1000 r/min speed change test.

Figure 20 .
Figure 20.Speed change during loading and unloading at 1000 r/min.

Figure 21 .
Figure 21.1500 r/min speed change test results.

Figure 22 .
Figure 22.The loading and unloading process speed changes at 1500 r/min.

Figure 23 .
Figure 23.The results of the variable speed test with a load of 0.2 Nm at 1500 rpm.

Figure 24 .
Figure 24.The loading and unloading process speed changes at 1500 r/min and 0.2 Nm, respectively.

Table 2 .
Integral calculation results for errors within 0.2 to 0.3s at 1000r/min

Table 3 .
The parameters of BLDC.

Table 4 .
Integral calculation results of 3 to 4s error under a load condition of 1000r/min and 0.1Nm.

Table 5 .
Integral calculation results of 3 to 4s error under a load condition of 1500r/min and 0.1Nm

Table 6 .
Integral calculation results of 3 to 4s error under a load condition of 1500r/min and 0.2Nm