1. Introduction
With the advancements in high-performance permanent magnet materials, especially the emergence of rare-earth permanent magnet materials, the performance of interior permanent magnet synchronous motors (IPMSMs) has been greatly improved [
1]. Compared with the traditional electric excitation motor, the IPMSM offers the advantages of simple structure, reliable operation, small size, low weight, low loss, high efficiency, and superior performance [
2]. The maximum torque per ampere (MTPA) algorithm is widely employed as an efficient control method for IPMSMs. It can output the maximum torque under a certain stator current, thereby improving the operating efficiency of the entire system [
3].
The mainstream MTPA control methods include direct formula calculation, parameter identification, table look-up, automatic search, and high-frequency signal injection.
In the direct formula calculation method, the minimum value of the electromagnetic torque equation is obtained by derivation, and then the value of the stator current on the alternating and direct axis components is directly obtained [
4]. Although the direct formula calculation method is relatively simple, the parameters change during the operation. The parameter identification method can obtain accurate motor parameters in real-time and improve the running accuracy of the motor by utilizing the direct formula method combined with online parameter identification. However, this method involves tedious parameter monitoring and estimation; thus, it requires the controller to have high computing power and additional hardware [
5]. In view of the problems encountered in the formula calculation method, scholars proposed the table look-up method [
6]. The table look-up method simplifies the computational complexity and can take into account the parameter change factors, but it takes up a lot of storage space and requires a large offline test workload. In the automatic search method, the vector angle of the stator current is adjusted by continuously giving a small step angle under the steady-state operation of the system to achieve the optimal control strategy of MTPA [
7]. The automatic search method can automatically and gradually approach the MTPA trajectory when the parameters change, but the convergence speed and torque control accuracy are low. The high-frequency signal injection method involves observing the feedback amount of the high-frequency signal injected into the system and calculating and analyzing it to obtain the optimal working state [
8,
9]. The high-frequency signal injection method adjusts the optimal operating point of the MTPA control in real-time according to the motor torque pulsation generated by the injected signal, but the injected high-frequency current increases the system torque pulsation and results in increased power loss. To solve this problem, a virtual signal injection control (VSIC) method is proposed. This method is basically the same as the high-frequency signal injection method. The sine wave signal is virtually injected into the stator current angle so that the torque change information of the motor is included in the motor torque model, and the torque information containing high-frequency signals is extracted to determine the degree of deviation, which definitely avoids the high-frequency pulsation caused by the actual signal injection [
10,
11]. However, the VSIC method is related to the inductance parameters of the motor. When the motor parameters are inaccurate, it will deviate from the optimal operating point. Therefore, introducing an appropriate parameter identification method into the VSIC system can effectively improve the operation accuracy of the control system.
Online identification has been widely used due to its good real-time performance. Online identification methods mainly include recursive least squares, extended Kalman filter, model reference adaptive system (MRAS), and neural networks.
The recursive least squares method is the most widely used online identification method in engineering. In this method, the data obtained in the previous step is corrected according to the data obtained in the current step based on the estimated value of the model parameters in the previous step to obtain the model parameters at the current step [
12,
13]. However, data saturation occurs during the recursive operation process, thus requiring high system hardware and software programming. The extended Kalman filter method integrates the discrete space model into the filtering algorithm and realizes the optimal estimation of the system state by making the estimated covariance reach the minimum value [
14,
15]. When the extended Kalman filter method identifies multiple parameters at the same time, the operation process becomes more complicated, which increases the difficulty. The core idea of the MRAS method is to gradually converge to the actual parameters in the reference model by adjusting the parameters of the adjustable model and through the pre-designed adaptation law [
16]. The MRAS method is simple in principle, accurate in identification, and fast in convergence. The neural network method can obtain better convergence characteristics, but its algorithm is very complex; thus, it is subject to many limitations in practical applications [
17]. With further advances in the field of parameter identification in recent years, many new identification methods have been established. A previous study proposed the identification of PMSM parameters by using the particle swarm algorithm combined with cloud model theory, which has fast convergence speed, high precision, and efficient local evolution and mutation capabilities, avoiding the problem of easily falling into the local maximum that is encountered in the traditional particle swarm algorithm [
18]. A previous study employed a genetic algorithm in a Markov chain model for parameter identification, taking into account the identification speed and accuracy [
19].
To sum up, in this paper, the MTPA control of the IPMSM is realized using the virtual signal injection control (VSIC) method to improve the operation efficiency of the motor. Moreover, according to the influence of d-axis inductance parameters on the accuracy of torque information, the MRAS is proposed to identify the motor parameters online. Finally, the MRAS and MTPA are combined to form the overall control system, and the MTPA control based on real-time online identification of inductance is realized.
2. IPMSM Mathematical Model and MTPA Control
The voltage of the IPMSM in the d-q coordinate system can be expressed as follows:
The electromagnetic torque can be expressed as follows:
where
id,
iq, and
ud,
uq are the current and voltage of the stator d-q axis, respectively.
Ld and
Lq are the stator d-q-axis inductance, respectively;
R is the stator resistance;
ψf is the permanent magnet flux linkage;
ω is the electrical angular velocity;
Te is the electromagnetic torque, and
p is the pairs of poles.
From Equation (2), it can be seen that in addition to the excitation torque generated by the permanent magnet, there is the reluctance torque generated by the d-q axis inductances in the electromagnetic torque, and the magnitude of the electromagnetic torque outputted by the motor depends on
id and
iq. As shown in
Figure 1, the angle between the stator current
Is and the d-axis is called the current vector angle
β. The calculation relationship between
Is,
id,
iq, and
β is shown in Equation (3).
By substituting Equation (3) into the torque formula (Equation (2)), we obtain the electromagnetic torque calculation formula expressed by the stator current and the current angle as shown in Equation (4).
The MTPA current angle can be obtained using Equation (5).
To realize MTPA, the proportion relationship between id and iq must be reasonably distributed to achieve the maximum electromagnetic torque output in the IPMSM.
3. MTPA Control Based on Virtual Signal Injection
3.1. Determining the Torque by Using a High-Frequency Signal
When the motor is in a stable operation state, the differential term in the d-q axis voltage equation (Equation (1) can be regarded as zero, and the d-q axis voltage can be expressed as follows:
Substituting Equation (6) into Equation (2), we obtain
After calculating the re-expressed electromagnetic torque, a high-frequency sinusoidal small-signal ∆
β (Equation (8) is mathematically injected into the current angle
β in Equation (3); the corresponding d-q axis currents
id and
iq can be expressed as Equation (9), where
ωh is the injection frequency of the high-frequency signal.
The injection frequency ωh in the high-frequency sinusoidal small-signal ∆β must be greater than the bandwidth of the outer speed loop, and the frequency ωh must be much smaller than the inverter switching frequency to ensure the integrity of the injected signal. Moreover, the amplitude A must be sufficiently small to ensure that the injected high-frequency signal is not affected by the speed change.
Substituting Equations (8) and (9) into Equation (7), the torque expression containing high-frequency information can be obtained as shown in Equation (10).
From Equation (10), it can be seen that to achieve accurate torque information estimation, only the Ld information is needed. Although (ψf + Ldid) varies with temperature and d-q axis current, it can be considered constant during signal injection because (uq − Riq)/ω and (Rid − ud)/iqω represent parameter information (ψf + Ldid) and Lq. Thus, (ψf + Ldid) can be considered constant during signal injection, and no high-frequency signal is injected into the stator current angle contained in id and iq.
3.2. Processing of High-Frequency Torque Signals
The expression of the torque model containing high-frequency information expanded according to Taylor’s formula is shown in Equation (11).
Because the injected high-frequency signal amplitude
A is sufficiently small, the first-order term in Equation (11) is the main part of the torque change information, and the higher-order terms (above the second-order term) have little influence on the torque change and can be ignored. Further, the quadratic term in the Taylor expansion can be expanded into the sum of the constant term and the double frequency term of the injected signal by using trigonometric functions as follows:
As previously mentioned, the core principle of MTPA implementation is to make the first-order partial derivative of torque to current angle ∂
Te/∂
β = 0. Next, we need some methods and filters to perform the signal processing of the clutter in Equation (11), as shown in
Figure 2. Finally, the part containing only ∂
Te/∂
β term is obtained to realize MTPA control.
In
Figure 2, the torque signal containing high-frequency components is passed through the band-pass filter (BPF) to obtain only the fundamental frequency component of the injected signal. The BPF is a device that allows certain frequency bands of waves to pass while blocking other frequency bands. The center frequency of the BPF is
ωh, and all the signal components of other frequencies are filtered out. Next, after multiplying with sin(
ωht), the quadratic component of sin(
ωht) is obtained, and Equation (13) is obtained by expanding Equation (12).
Equation (13) consists of a constant term containing only ∂
Te/∂
β and the double frequency term of the injected signal. Finally, the first-order deviation of the electromagnetic torque is obtained after the double frequency term is filtered out by the low-pass filter (LPF) (
Figure 2). The action of the LPF is to suppress the high-frequency of waves and allow the low-frequency of waves to pass.
To sum up, in the proposed method, the calculation formula of electromagnetic torque is re-expressed as follows: by injecting a high-frequency, small-amplitude current angle signal, the high-frequency signal of the current is included in the expression of the electromagnetic torque. Next, the torque model containing high-frequency information is expanded according to the Taylor formula, ∂Te/∂β is obtained after multiple filtering, and the integral result is taken as the given value of the reference current angle. If it does not work at the MTPA point at this time and ∂Te/∂β ≠ 0, the integrator will continue to integrate and adjust the current angle until it works at the MTPA point; at this time, ∂Te/∂β = 0, and the reference current angle remains unchanged from the previous state due to the zero input to the integrator, and the motor continues to run at the MTPA point.
3.3. Error Analysis and Application Occasions
Compared with the formula calculation method, the VSIC method involves fewer motor parameters; thus, the influence of parameter changes on the MTPA control accuracy is greatly reduced, high-frequency signals do not need to be injected into the motor, and the torque to the current angle change rate can be obtained through signal processing technology to achieve complete MTPA control. However, there is still a certain amount of error in the MTPA angle obtained using this method. From Equation (10), it can be seen that to accurately obtain the change rate ∂Te/∂β of the electromagnetic torque to the stator current angle, it is necessary to replace the permanent magnet flux linkage ψf, the direct-axis inductance Ld, and the quadrature-axis inductance Lq. However, ψf and Ldid are coupled in the motor parameter estimation formula (Equation (6) and cannot be extracted separately. Therefore, the error of the direct-axis inductance Ld is ignored.
When the reluctance torque ratio of IPMSM is large,
Ld(
id −
idh) in Equation (10) can be ignored. The approximate calculation formula (Equation (14) further ignores the influence of
Ld change so that the MTPA control strategy based on VSIC is not affected by any parameters; thus, it is simpler and more convenient.
However, in the IPMSM with a small proportion of reluctance torque,
Ld(
id −
idh) cannot be ignored; otherwise, the error between the automatically found MTPA point and the correct MTPA point in the algorithm will be too large, resulting in the failure of optimization. In the simulation, by setting an IPMSM with a small reluctance torque, the optimization results obtained using the exact torque calculation formula (Equation (10) are compared with those obtained using the approximate torque calculation formula (Equation (14)), and the simulation data are recorded (
Figure 3). The optimization effect is better in the IPMSM with a small reluctance torque using the accurate calculation formula.
Based on the above analysis and simulation verification, for the IPMSM with a large proportion of reluctance torque, the approximate torque calculation formula can be used to ignore the influence of the d-axis inductance and thus simplify the control system. When the reluctance torque is small, the change in the inductance term cannot be ignored; otherwise, the control accuracy will be reduced, and the optimization will fail. Therefore, the value of the d-axis inductance must be obtained in real-time.
4. MTPA Control Based on Inductance Identification
4.1. Model Reference Adaptive System
As previously discussed, for realizing high-precision control by using the MTPA virtual signal injection method in an IPMSM with a small reluctance torque, the influence of the inductance term cannot be ignored, and the d-axis inductance of the motor must be known. Therefore, the online identification of the inductance must be realized using the MRAS system, which consists of a reference model, an adjustable model, and a parameter adaptive law. The reference model specifies the performance of the system, and its output represents the desired ideal output curve of the closed-loop control system, which shows the main features of MRAS. The actual motor is set as the reference model and is inputted at the same voltage as the adjustable model; the error signal
e is generated by comparing the current output in real-time. The parameters of the adjustable model are modified using appropriate adaptive laws. When the error signal decays to 0, the parameters of the adjustable model converge to the actual value. The structure of MRAS is shown in
Figure 4.
For the IPMSM system, the input is , the output of the reference model is , the output of the adjustable model is , and the output quantity error is .
The adaptive law of the model reference adaptive system is a vital part of the system. Currently, the following three common methods are available for determining the appropriate adaptive law:
- 1.
Design method based on local parameter optimization theory (MIT method);
- 2.
Design method based on Lyapunov function;
- 3.
Design method based on ultra-stable and positive dynamic theory (Popov super stability theory).
Among the three methods, the MIT method causes significant defects, and the stability of the adaptive system is not known. In contrast, although the Lyapunov function-based design method is feasible for designing a stable model reference adaptive system, the Lyapunov function has no definite form and includes different types. The Popov super stability theory involves using the reverse solution of the Popov integral inequality to construct the parameter adaptation rate. Because the solution process is concise, it is widely used in the construction of the parameter adaptation rate of the MRAS system.
To sum up, in this study, the design method based on the Popov super stability theory was adopted to construct the parameter adaptation rate of the MRAS system. For the MRAS system to reach an asymptotically stable state, the following two conditions of the Popov law of super stability must be satisfied:
- 1.
The conditions of the Popov integral inequality must be satisfied according to the nonlinear time-varying feedback loop;
- 2.
An appropriate gain matrix M must be selected to ensure that the transfer function matrix of the linear steady forward loop is strictly positive and real.
4.2. Reference Model of the IPMSM System
According to Equation (1), the state space equation of the IPMSM system can be described as follows:
Equation (15) is considered as the reference model of IPMSM in the MRAS and is simplified as follows:
where
,
, and
.
4.3. Adjustable Model of the IPMSM System
In the identification process, the motor speed
ω and rotor flux linkage
ψf are assumed to be constant; thus, the parameter adjustable model can be constructed from the following reference model:
where
,
,
,
is the gain matrix, and
.
The error equation of the model-referenced adaptive system is obtained by subtracting the adjustable model from the following reference model:
where
,
, and
.
4.4. Model Reference Adaptive System Parameter Identifier Design
The error equation of MRAS is transformed into an equivalent nonlinear time-varying feedback system that consists of a linear steady-state forward loop and a nonlinear time-varying feedback loop.
Let
. Accordingly, the parameter identification model formula (Equation (18)) can be rewritten as follows:
The equivalent nonlinear time-varying feedback system can be derived from Equation (19) and is shown in
Figure 5, where
φ(
e) is the adaptive law with respect to the parameter matrices A, B, and C.
The nonlinear time−varying feedback system constructed above must satisfy the conditions of the Popov integral inequality. The Popov integral inequality is given as follows:
In Equation (20), for any t ≥ 0, γ is a finite constant independent of t.
Taking
Ld and
Lq as identification objects and substituting
w into Equation (20), we obtain the follows:
Equation (21) can be decomposed into the following three formulas:
According to the Popov super stability theory, as long as Equations (22)–(24) are satisfied, the nonlinear feedback system remains stable. Then, the adaptive law can be derived from Equations (22)–(24). Because Equation (23) does not contain the inductive coupling term of the quadrature axis, the adaptive law of the identification of the quadrature axis inductance can be deduced using Equation (23). Thus, Equation (23) can be transformed into Equation (25) as follows:
Next, Equation (25) can be decomposed into Equations (26) and (27) as follows:
The PI adaptive law about
Ld is usually expressed as follows:
Only the adaptation law of the direct-axis inductance identification is analyzed; the derivation process of the quadrature-axis adaptation law is similar. Substituting Equation (28) into Equation (26),
can be further decomposed into the following two sub-inequalities:
From Equations (29)–(30), the PI adaptive law of parameter
Ld can be obtained as follows:
where
k1 and
τ1 are the proportional and integral coefficients of the
Ld adaptive law, respectively.
Similarly, the adaptive law of
Lq can be obtained as follows:
where
k2 and
τ2 are the proportional and integral coefficients of the
Lq adaptive law, respectively.
The overall structure of the IPMSM MTPA drive control system is illustrated in
Figure 6.