1. Introduction
The Brushless Direct Current motor (BLDC) has become a good choice for variable speed drives, given its simple structure, ruggedness, low cost, high efficiency, and good speed versus torque characteristics, all of them well suited to demanding applications, such as electric vehicles, as indicated in [
1,
2]. In these applications, it is important to estimate or identify the disturbance, commonly the load torque, to compensate its effect. Most of the recent articles in the study of load torque estimation for electric motors are designed for permanent magnet synchronous motors (PMSM). An example is the work [
3], where an improved observer for a surface permanent magnet machine is proposed. This observer utilizes injection-based self-sensing for position, velocity, and disturbance torque estimation. Another example is [
4], where the viscous friction coefficient and the moment of inertia are obtained by an extended sliding mode observer and the load torque is identified by a Luenberger observer working in parallel, and results are validated using simulations. The article [
5] proposes a double extended sliding-mode observer-based synchronous estimation method of total inertia and load torque for a PMSM in a roller grinding machine, and simulations and experiments are presented to validate the proposed method. More recently, in the article [
6] two observers are used, an adaptive-gain super-twisting load torque observer and a variable-learning-rate Adaline inertia observer, with performance validated via simulations and experiments.
In the case of the trapezoidal BLDC motor load estimation, the articles [
7,
8] present a Generalized Proportional Integral Observer (GPIO) designed to compensate variable lumped disturbances, such as load torque and friction terms. The work [
9] studies an Electro–mechanical Actuator (EMA) for aerospace applications which includes a trapezoidal BLDC. The proposed method estimates the residual torque, defined as the sum of all the friction and viscous torques, from data acquired during the functioning of the EMA; simulations are used to validate this scheme. Using another approach, in the work [
10] the torque is estimated from real-time data using five distinct Adaptive-Network Based Fuzzy Inference Systems. Finally, the article [
11] presents a comparison between Kalman and Extended Kalman Filters algorithms for torque estimation; simulations are also used to validate the proposed approach.
For commutation purposes, BLDC motors are commonly equipped with Hall effect sensors to provide a discrete measure of the angular position, used for back electromotive force versus angular position calculations. These sensors are widely used because of their small volume, light weight and low cost compared with traditional optical or capacitive encoders. Their disadvantage is that after processing the sensor signals, the obtained position is discrete, and its resolution depends on the number of installed sensors. Furthermore, the error in the position may vary depending on whether they are mounted externally or internally, as was found in [
12]. To solve this problem, various solutions have been proposed. For example, in [
13], a technique is proposed based on a novel dual observer for the estimation of speed and rotor position, which utilizes low-resolution position sensors. In [
14] an observer is designed to reconstruct the electrical angular position, while in [
15], on the basis of a position error compensator, an online advanced angle adjustment method using input voltage and input current is proposed. More recently, ref. [
16] estimates the position using the calculated rotational rotor’s speed and elapsed time.
Therefore, the problem to solve in this paper is the estimation of the torque load, calculated as a variable lumped disturbance, in the rotor shaft of a trapezoidal BLDC motor that uses Hall effect sensors. For this purpose, an interconnected observer [
17,
18] is applied to the BLDC motor disturbance estimation problem. The observer is formed by the cascade connection of a reduced-order Luenberger observer and a high-order sliding mode (HOSM) differentiator, which reconstructs the disturbance by using the motor model. Unlike several of the works mentioned above, the load torque in this technique may not be constant or a predefined function, but a time-varying function, provided that both the function and its k-th derivatives are bounded. In addition, to complement the cascade observer implementation, a position estimation algorithm (PEA) is designed to obtain the angular position from the Hall effect sensors signals.
To prove the validity of the scheme, first, simulations are performed that can calibrate the experimental platform and give an idea of the expected results. Then, experiments are executed on a commercial platform, composed of a motor equipped with Hall sensors, a power driver, a DC motor, and a standard micro-controller. The main contributions of this article are as follows:
The proposed method can estimate time-varying load torque, provided that this torque and its k-th derivatives are bounded;
A position estimation algorithm (PEA) is included to use with Hall effect sensor signals when needed;
The proposed scheme can guarantee a bounded error in the disturbance estimation, the size of which depends on the measurement noise and sampling time.
The paper is organized as follows.
Section 2 recalls the mathematical model of the BLDC motor and the observability definitions needed for the observer design.
Section 3 presents the interconnected observer design.
Section 4 includes a numerical validation of the observer.
Section 5 presents the test bench, the PEA, and the experimental results. Finally,
Section 6 contains the conclusions of this work.
4. Simulations
In this section, a numerical validation of the cascade observer is presented. Simulations were carried out in Simulink-Matlab (R2022b Update 3) using the parameters of the Anaheim BLDC BLY-344S-240V-3000 motor, which are listed in
Table 1, that also include several parameters that were derived from experimental data. In the case of the inertia and viscous friction, they were determined by considering all the devices coupled to the BLDC motor in the experimental platform, which is described in the experiments section.
For motor control, the field oriented control (FOC) technique was employed to regulate both currents and speed, while the generation of PWM signals sent to the inverter was achieved through the use of the Space Vector Modulation (SVM) technique.
Figure 1 shows the control and observer implementation.
The estimator gains were chosen in such a way that the matrix
becomes Hurwitz with
L determined by solving an LQR problem, and the gain
selected to be sufficiently large to ensure that the estimation error converges to zero. In the simulation, the specific gain values employed were:
and
. With the selection of this particular set of gains and utilizing Equations (
21) and (
20), the expression for the estimated load torque
is derived.
The sampling time of the observer and the current control was [ms]. It was also assumed that continuous measurement of the angular position and currents was available.
To verify the observer’s performance, two tests are presented below. The first one involves applying a variable load torque over time while the rotor is spinning at a constant speed of 80 rad/s. In the second test, both the speed reference and the applied load torque are time-varying. The error metric used to evaluate the results is the root-mean-square error (RMSE), expressed as:
Figure 2 illustrates the behavior of the estimated angular velocity
, the simulated velocity
, and the velocity estimation error
, while
Figure 3 displays the estimated load torque
, the simulated load torque
, and the load torque estimation error
, for the first test.
Figure 4 shows the behavior of the estimated angular velocity
compared with the simulated velocity
and the velocity estimation error
, and
Figure 5 depicts the estimated load torque
, the simulated load torque
, and the load torque estimation error
for the second test, where the velocity and the load torque are time-varying.
Table 2 displays the RMSE values obtained in the two tests. The error between the estimated load torque and the actual load torque is attributed to the sampling period with which the observer is executed, as well as to the noise present in the currents. How these two factors impact the estimation of the states is analyzed in [
17]. However, even in the presence of noise, the observer reconstructs the states and the load torque with a small error.
5. Experimental Results
In this section, the experimental validation of the proposed estimator is presented. First, the experimental platform used is described, as well as the algorithm employed to calculate the angular position from the information provided by the Hall effect sensors. Lastly, the experimental results are presented and analyzed.
5.1. Experimental Test Bench
The brushless DC motor utilized in this study was the BLY344S-240V-3000 model from Anaheim Automation (Anaheim, CA, USA). Detailed parameters extracted from the datasheet and experiments can be found in
Table 1. This BLDC motor is equipped with three Hall effect sensors positioned at 120 electrical degrees apart on the rear side of the motor. The Hall effect sensors work with additional magnets mounted on the rotor shaft. These sensors are essential for a rough calculation of position and speed and are commonly used to ensure the correct commutation of the motor phases during each transition of these sensors, which occurs every 60 electrical degrees.
Furthermore, the absolute capacitive encoder AMT333S-V from CUI Devices (Tualatin, OR, USA), which offers configurable resolution ranging from 48 to 4096 pulses per revolution, was attached to the motor shaft. This encoder was used to calculate the rotor’s speed and compare it with the speed estimated by the proposed observer. In this case, the encoder was configured with a resolution of 2000 PPR.
The inverter employed for this setup was the high-voltage digital motor control and power factor correction kit (TMDSHVMTRPFCKIT) from Texas Instruments (TI) (Dallas, TX, USA). This board includes a 3-phase inverter stage designed to control motors with voltages up to 450 [V] DC, and an AC rectifier stage for generating the DC bus voltage required by the inverter, and it is compatible with a wide variety of Texas Instruments microcontroller cards. The current measurement was carried out on the low side of the inverter using shunt resistors for each stator phase.
The control card used was based on the F28379D Delfino microcontroller also from TI, which is a 32-bit floating-point microcontroller unit with dual CPUs optimized for real-time control applications. Similar to the simulation, the method employed for motor control was field-oriented control. The gains of the speed PI controller were tuned, taking into consideration all the devices coupled to the BLDC motor. This was done with the aim of minimizing the impact of the load torque on speed tracking, as the main objective was to demonstrate the operation of the observer. The sampling time at which the cascade observer and current control were executed was the same as in the simulations, namely
[ms]. A direct current motor was employed, connected to the shaft of the BLDC motor as a variable load torque. This was achieved by following a current trajectory that generated a load torque similar to that in the simulations. To measure the torque generated by this motor, the FSH01996 torque sensor from Futek was mounted between the DC motor and the BLDC motor. This sensor can measure up to 5 Nm of load torque and was used to compare the estimated torque from the observer with the measured value of the sensor.
Figure 6 provides an illustration of the experimental setup.
5.2. Position Estimation Algorithm-PEA
While it is possible to use an encoder to obtain angular position, it was decided to utilize Hall effect sensor signals for this purpose, as BLDC motors typically come equipped with them. However, it should be noted that three Hall effect sensors only provide new information at intervals of electrical degrees, whereas the proposed observer requires continuous measurement of angular position. To address this limitation, a position estimation algorithm (PEA) was developed, making use of the state of the Hall effect sensors and the elapsed time between transitions.
In summary, the PEA operates as a saturated integrator with a variable initial condition. The integrator takes the speed estimate,
, where
, and
represents the time elapsed between transitions of the Hall effect sensors, as its input. Whenever one of these transitions occurs, the integrator is reset, and a new initial condition is determined. The initial condition of the integrator depends on the current state of the Hall effect sensors and the rotation sequence.
Figure 7 illustrates the relationship between the state of the Hall effect sensors and the position for a constant speed motion, where 0 and 1 in the upper right part of the figure indicate whether a given Hall effect sensor is active or not. The numbers 5, 4, 2, 6, 3, 1 at the bottom show the switching state considering the three Hall effect sensors, related to the electrical angular position indicated on the right that goes from 0 to
, and
Figure 8 shows a simple diagram of the position estimation algorithm.
5.3. Disturbance Estimation
Similar to the simulations, two experiments were conducted on the platform. One involved maintaining a constant speed with a variable load torque, where the load torque applied to the BLDC motor was controlled using the DC motor current control. In the second experiment, both speed and load torque varied over time. The estimator gains used in these tests were the same as those used in the simulations.
Figure 9 shows the electrical position calculated with PEA and the measured position with the encoder.
In the first test the speed reference was the same as in the first simulation, that is, constant speed and time-varying load torque.
Figure 10 illustrates the behavior of the estimated angular velocity
,the measured velocity
, and the velocity estimation error
, with
Figure 11 showing the estimated load torque
, the measured load torque
and the load torque estimation error
.
In the second test, the speed reference and the load torquewere both time-varying, similar to the second simulation.
Figure 12 illustrates the behavior of the estimated angular velocity
compared with the measured velocity
and the velocity estimation error
.
Figure 13 depicts the estimated load torque
, the measured load torque
, and the load torque estimation error
.
5.4. Results Discussion
Comparing the experimental results with the numerical simulations, it is clear to see that the signals are much noisier than in the simulations; however, the RMS errors displayed in
Table 3 are relatively small despite this in both tests. The size of the RMS velocity estimation error is the most affected and it is clearly influenced by the inclusion in the experiments of the PEA, that was not used in the simulations; the size of the RMS torque estimation error was also impacted by noise, although the increase on the error size was modest in this case.
The effect of obtaining the position through the PEA, which relies on Hall effect sensors, in the estimation of the angular velocity is larger at low velocities. This is evident in
Figure 14, which illustrates the relative velocity estimation error across a wide range of velocities. This relative error remains below 2% for velocities exceeding
. In contrast,
Figure 15 displays the relative velocity estimation error using the position obtained through the encoder mounted on the platform, rather than the one obtained through the PEA. It is clear to see that the estimation error remains small even at low speeds. Therefore, the suggested cascade observer, when utilizing the PEA, can effectively estimate torque and velocity within a range of medium to high velocities, and for low-velocity applications, it is recommended to use an encoder in conjunction with the proposed observer.