1. Introduction
Due to its advantages such as high efficiency and lightweight design, permanent magnet synchronous motors (PMSMs) are widely used not only in household appliances but also in automotive electric motors. To achieve high performance, field-oriented control (FOC) is predominantly utilized, which requires real-time knowledge of the rotor position. However, practical issues such as installation feasibility, high sensor costs, and control failures in case of sensor malfunctions have led to active research on sensorless control methods for estimating the position and speed of the rotor. Sensorless control techniques mainly consist of two approaches: current model-based methods and extended back electromotive force (EMF) based methods [
1,
2,
3,
4,
5,
6,
7,
8,
9]. Recently, there has been a significant adoption of extended EMF based methods, which offer unlimited input variables and rapid response capabilities, due to the arctangent operation achievable with microprocessor technology.
In cases where the external load torque remains constant, the torque component current due to magnetic saturation and the error in the inductance parameters remain constant as well, resulting in a consistent error in rotor position estimation. Such a consistently sized error in the rotor position has minimal impact on the estimation error of the speed. However, in scenarios where periodic load torque occurs, the inductance parameters also exhibit periodic variations, leading to periodic fluctuations in both the position estimation error and speed error. Therefore, in environments where the magnitude and fluctuation rate of the load torque are significant, the changes in inductance, a key parameter in rotor position estimation, become pronounced, leading to increased estimation errors and consequently reduced control precision of the entire system. Particularly in environments directly exposed to external vibrations and loads, such as electric motors near engines and powertrains, pumps, and compressors for household appliances, control performance can degrade sharply. Analyzing the pattern of the external load and applying appropriate compensating currents can mitigate the influences of load torque variations [
6,
10]. However, implementing such methods may lead to secondary issues such as increased eddy currents due to the increased magnitude of compensating currents, resulting in increased ripples in speed estimation. Without appropriate compensation control considering these factors, mechanical instability and NVH (noise, vibration, and harshness) issues may arise in the overall system. Therefore, accurately estimating the actual size of the inductance and applying real-time closed-loop control can enhance the precision of sensorless speed control.
Efforts have been made to address the issue of magnetic saturation resulting from changes in the inductance by constructing observer-based mathematical models to estimate the value of inductance [
11,
12,
13,
14]. However, this method relies on the estimated rotor position and speed information obtained in sensorless drive systems, making the estimated inductance size sensitive to variations in back electromotive force constants and drive output voltage changes. Therefore, even with appropriate back electromotive force constants, exposure to periodic load torque fluctuations can degrade the system stability and speed estimation performance due to the occurrence of noise, phase delays, and other factors.
Unlike model-based methods, soft computing methods utilizing data-driven approaches allow for the selection of input variables and define partial expressions of input–output data to objectively predict system equations. This enables more accurate and faster parameter learning and estimation, especially in cases of nonlinear relationships where input–output relationships or model functions are not specific. Particularly, the group method of data handling (GMDH), a form of a self-organizing neural network (SONN), estimates output parameters in the form of polynomial expressions in multilayered structures. GMDH offers fast computation speed, good real-time performance, and excellent accuracy, making it advantageous for embedded systems compared to neural networks, fuzzy algorithms, and others. Due to its flexible structure that evolves through learning, GMDH does not have fixed layer numbers and node counts; instead, it iteratively creates and disbands layers. Furthermore, GMDH effectively reduces parameter estimation errors by combining multiple input-output datasets and dynamically generating and modeling the required set of coefficients [
15].
Compared to conventional model-based techniques for estimating the inductance parameters of PMSM sensorless drives, GMDH based estimation offers several key advantages. Firstly, GMDH based learning methods are well suited for complex nonlinear models such as motor systems. By learning a multilayered structure of subexpressions represented in polynomial form, it minimizes the time and cost required for modeling complex nonlinear systems. Secondly, GMDH based learning accurately estimates unknown parameter variables and compensates for delays or distortions, resulting in superior performance compared to other methods in terms of comparative verification and RMS (root mean square) error. Thirdly, the learning process enables easy adaptation to various operational load conditions such as step input loads, periodic loads, random profiles, and more [
16,
17,
18,
19].
While recent research has highlighted the application of machine learning in motor control systems, attempts to apply machine learning for sensorless control parameter prediction and compensation control are rare due to implementation challenges, optimization issues, and others. Particularly, applying GMDH based learning techniques to nonlinear systems without appropriately selecting the design parameters can degrade the control characteristics of the system. Moreover, in the presence of unknown disturbances or significant noise in the inputs for machine learning, the estimated results cannot be trusted, and have a negative impact on the system. Therefore, it is necessary not only to design appropriate training parameters suitable for nonlinear sensorless systems but also to perform optimized learning through noise reduction and the refinement of the input data for machine learning.
The combination of wavelet transform for signal analysis and artificial neural networks is increasingly being applied in research. Primarily, studies are conducted where wavelet transform is used for signal analysis to extract feature vectors, followed by the application of artificial neural networks for diagnostics. Wavelet transform is widely used in signal processing and image processing as it removes noise from high-frequency components and enables simultaneous analysis in the time–frequency domain. However, such research is limited to cases applying to physical faults or winding faults in electric motors [
20,
21]. In addition, there are studies that have integrated wavelets and machine learning such as GMDH to perform load forecasting or failure prediction of power systems [
22,
23], but no cases have been applied to the parameter estimation of PMSM.
In this paper, we conducted a study on sensorless PMSM drive inductance estimation based on wavelet denoising based machine learning to minimize the rotor position and speed errors and compensate for external periodic torque fluctuations. Firstly, we analyzed the impact of rotor position errors and speed estimation caused by magnetic saturation phenomena induced by external load conditions in extended electromotive force-based sensorless control. To minimize the uncertainty caused by magnetic saturation and improve the real-time control performance, we proposed a method to estimate the inductance of permanent magnet synchronous motors using a wavelet-GMDH algorithm, which combines time–frequency analysis and data-driven methods, and performed compensatory control for magnetic saturation. For reducing estimation errors and improving control precision, we performed optimization learning for the inductance for various load torque patterns. Through the analysis of wavelet transform, the noise classification and reduction of specific signals are conducted without distortion or delay, effectively improving the quality of input signals for GMDH learning. Wavelet noise reduction was used to filter high-frequency outliers in the current data, facilitating the smooth training of the learning algorithm for inductance estimation. Furthermore, to appropriately respond to situations such as unknown disturbances or increasing errors in estimates, we implemented the real-time estimation and monitoring of the position error magnitude. The main contribution of this paper is to estimate the inductance in real time by applying machine learning called GMDH, beyond the simple current signal analysis of motors through wavelet transformations. Moreover, by integrating GMDH with denoising wavelet transform into a sensorless control system, improved control performance can be achieved even under conditions of high noise and severe load.
The structure of this paper is as follows. In
Section 2, the sensorless control theory of PMSM and the issues related to magnetic saturation are analyzed.
Section 3 presents a mathematical model for wavelet-GMDH based inductance estimation and the proposed method. In
Section 4, an algorithm proposed for wavelet-GMDH based compensation control is implemented and modeled using MATLAB R2023a. Finally, in
Section 5, we validate the proposed wavelet-GMDH based magnetic saturation compensation method and confirm the results of the control performance through software simulations. To replicate the load conditions and parameter variations equivalent to the actual system, experiments are conducted to measure speed ripples, inductance variations, and the torque component of the current, and the resulting values are incorporated into the simulation as load conditions.
2. Magnetic Saturation of Sensorless Control
Generally, the voltage equations in the
d-
q synchronous frame for the vector control of PMSM is given by
where
, and
are the stator resistance, the back EMF constant, and a differential operator, respectively.
,
,
, and
,
are the inductances, the stator voltages, and currents in the
-
synchronous reference frame, respectively.
Ignoring the difference between the estimated speed and the actual speed, Equation (1) can be converted to the
-
axes estimated by the extended back EMF. Then, the voltage equation can be represented as [
1]
where
.
,
,
,
, and
,
represent the stator voltages, the currents, and the extended back EMFs in the
-
estimated synchronous reference frame, respectively, accounting for the rotor position error. Utilizing
and
, the rotor position error can be calculated as
As shown in
Figure 1, the estimated speed
can be obtained through a PI controller with the estimated rotor position error
as the input and a low-pass filter for noise reduction. Moreover, the estimated rotor position
can be obtained by integrating the estimated speed.
Ensuring precise sensorless control requires accurately determining parameters such as the resistance and inductance, as represented in Equation (2). In systems affected by significant periodic loads, like those in pumps or compressors, the discrepancy between the actual
-axis inductance (
) and the estimated
-axis inductance (
) due to magnetic saturation leads to inaccuracies in the estimated rotor position. Consequently, to address the deviations resulting from magnetic saturation between the actual and estimated values, Equation (2) can be rearranged for the extended back EMF
,
as
where
, and
.
Note that and are the errors of the - and -axes inductance, which are the value obtained by subtracting the estimated inductance from the actual inductance.
and increase or decrease due to the influence of and including the inductance error, in a practical system. As a result, the rotor position error and speed ripple increase.
The estimated position errors corresponding to the variation in the
-
axes extended back EMF are illustrated in
Figure 2. Note that
,
,
, and
represent the estimated rotor position error and extended EMF, caused by the
- and
-axes extended back EMF errors
), respectively. As shown in
Figure 2a, in the case of a constant value of the
- and
-axes extended back EMF,
and
, the estimated extended EMF
aligns with the
-axis of the synchronous reference frame. In
Figure 2b,c, on the other hand, when errors occur in the
-
axes extended back EMF resulting from an inductance variation, it leads to the generation of estimated rotor position errors. Usually, the
-axis extended back EMF component exhibits a significantly greater magnitude compared to the
-axis component (
); therefore, the variation in the
-axis extended back EMF component significantly influences the speed estimation error compared to the
-axis component [
14]. Consequently,
is significantly larger than
compared to
, when the magnitudes of
and
are the same value, as shown in
Figure 2b,c.
In addition, to compare the magnitude of the two terms constituting the
-axis back EMF variation
in Equation (4), a simulation result of the comparison of
and
under the condition of periodic load torque is represented in
Figure 3. The term
including the
-axis inductance is the main component in
estimation; hence, it can be expressed as
. Consequently, since the dominant factor affecting position error estimation is
, compensating fluctuations in the
-axis inductance, being the principal parameter influenced by magnetic saturation, can effectively enhance both the position error and speed ripple.
4. Implementation of Wavelet-GMDH Based Compensation Control
Using wavelet transformation, feature vectors of PMSM three-phase current sensor signals were extracted and high-frequency noise removed, and machine learning was performed based on the refined data. In addition, using the estimated inductance data using the wavelet-GMDH technique, the magnetic flux saturation state of the actual system was accurately calculated, and control was performed by generating a compensation signal in real time. As shown in
Table 1, the wavelet scaling function, decomposition level, denoising method, and threshold rule were designed, considering the frequency and noise level of the input sensor signals.
Since the input signal comprises the three-phase current signal of the PMSM, including noise such as the measurement noise and power noise, utilizing it directly as the input signal for GMDH can adversely affect the quality and accuracy of the machine learning output data. Therefore, appropriate signal processing is necessary. Especially in severe load conditions with a noisy environment, the signal-to-noise ratio of the sensor increases. This becomes a major factor in deteriorating speed ripples and control stability of the system caused by magnetic saturation.
Figure 4 represents the simulation results of the raw signal of the three-phase current sensor and the denoised signal after applying the wavelet filter, respectively, under the condition of periodic load torque. As shown in
Figure 4a, the measured signal from the current sensors contains noise, including measurement noise and power switching noise, in the original signal. However, by applying wavelet transformation, small wavelet coefficients are classified as noise and selectively removed, resulting in minimal distortion or delay in the signal, thus not affecting the quality of the original signal. Finally, after applying a threshold to the wavelet coefficients and using wavelet inverse transformation, the restored original data are shown in
Figure 4b.
Machine learning regression was performed utilizing the GMDH algorithm, incorporating multi-input polynomials comprising refined sensor signals, overvoltage, and input current control reference signals. The design parameters for the GMDH based machine learning were determined as the input variables, maximum number of neurons in a layer, maximum number of layers, and training ratio. The number of layers was set to five or more, with a training ratio of 80%, accounting for the computational speed of the processor and the magnitude of the RMS error. To enhance the compensation control performance for periodic loads, training was conducted under various periodic input conditions characterized by different frequencies and loads.
Table 2 presents a comparison of the RMSE, mean squared error (MSE), mean absolute error (MAE), and the linear regression index (R and R
2) of the
-axis inductance, estimated by wavelet-GMDH based learning for each case of input variables and regression layers using MATLAB R2023a. Furthermore, the comparisons of the evaluation metrics (RMSE, MSE, MAE) for all cases are shown in
Figure 5. As a result of the comparison, it is observed that the evaluation metrics results are improved as the number of input variables and regression layers increase. Based on the analysis results, the optimal regression combination chosen consisted of eight input variables with five layers (Case 5), satisfying the training performance criteria (RMS error < 1, linear regression index (R) > 0.99), from Equations (20) and (21). Additionally, both the MSE and MAE were observed to be less than 0.6%, and the coefficient of determination was close to 1, indicating the good performance of the regression model. To further minimize errors, the number of regression layers can be increased to seven or more, but it leads to an increase in the processor load due to the complex computation.
Figure 6 presents the linear regression results, histogram of the estimation errors, and estimation errors of the wavelet-GMDH simulation for case 5 comprising eight input variables with five layers. As shown in
Figure 6a, the slope of the fitting line in the linear regression is close to 1. In
Figure 6b, analysis of the error histogram indicates that the error values exhibit characteristics of a normal distribution based on a zero-mean, indicating the robustness of the trained model across the dataset. Furthermore, the estimation errors, directly related to the RMSE, MSE, and MAE, appear relatively uniform, with the mean value remaining below 1%, as shown in
Figure 6c.
6. Conclusions
The inductance variation due to magnetic saturation causes fluctuations in both the estimated position and speed, consequently degrading the accuracy of sensorless control. This paper proposes a wavelet-GMDH based method for accurately estimating the inductance in PMSM sensorless control systems with periodic load torque compensation.
Through the analysis of wavelet transform levels and feature vectors extraction, the noise classification and reduction of three-phase current signals were achieved without distortion or delay, effectively improving the quality of the input signals for GMDH learning. We designed and implemented an optimized training model for nonlinear sensorless control systems based on wavelet-GMDH, utilizing a polynomial-based machine learning approach, with denoised input variables through wavelet transform.
In the simulation and analysis results, it was observed that when applying the GMDH based magnetic saturation compensation under severe load torque fluctuations, the speed ripples were reduced by half compared to the case without compensation control. In contrast, when applying the wavelet-GMDH, it was confirmed that the speed ripples were significantly reduced to less than 1/3 due to the accuracy enhancement resulting from the noise reduction and optimized training. Furthermore, by applying the proposed algorithm to nonlinear systems with uncertainties such as sensorless control, we validated that the control performance can be efficiently improved compared to conventional compensation methods. In particular, by employing GMDH with denoising wavelet transform to improve the training accuracy, it was confirmed that high-precision control can be achieved even in situations with high noise and severe load conditions.
The proposed methodology was evaluated through offline testing using simulated data obtained by replicating the measured load conditions. By applying the proposed method and analyzing external load patterns, it is feasible to reduce the real-time impact of load torque variations in motor systems directly exposed to various external vibrations and loads, such as components near powertrains, industrial pumps, etc.
However, to enable online testing in the future, further research in various aspects is required. To obtain sufficient sensor data and perform fast parameter estimation calculations, hardware configuration requires current sensors with high sampling rates and computational devices offering fast processing speeds. Furthermore, advanced research into real-time algorithm refinement should be conducted concurrently.