Skip Content
You are currently on the new version of our website. Access the old version .
SensorsSensors
  • Article
  • Open Access

21 June 2023

Improved Performance for PMSM Sensorless Control Based on Robust-Type Controller, ESO-Type Observer, Multiple Neural Networks, and RL-TD3 Agent †

,
,
,
and
1
Research and Development Department, National Institute for Research, Development and Testing in Electrical Engineering—ICMET Craiova, 200746 Craiova, Romania
2
Department of Automatic Control and Electronics, University of Craiova, 200585 Craiova, Romania
*
Authors to whom correspondence should be addressed.
This paper is an extension version of the conference paper: Nicola, M.; Nicola, C.-I.; Ionete, C.; Șendrescu, D.; Roman, M. Improved Performance for PMSM Control Based on Robust Controller and Reinforcement Learning. In Proceedings of the 2022 26th International Conference on System Theory, Control and Computing (ICSTCC), Sinaia, Romania, 19–21 October 2022.
This article belongs to the Special Issue ICSTCC 2022: Advances in Monitoring and Control

Abstract

This paper summarizes a robust controller based on the fact that, in the operation of a permanent magnet synchronous motor (PMSM), a number of disturbance factors naturally occur, among which both changes in internal parameters (e.g., stator resistance Rs and combined inertia of rotor and load J) and changes in load torque TL can be mentioned. In this way, the performance of the control system can be maintained over a relatively wide range of variation in the types of parameters mentioned above. It also presents the synthesis of robust control, the implementation in MATLAB/Simulink, and an improved version using a reinforcement learning twin-delayed deep deterministic policy gradient (RL-TD3) agent, working in tandem with the robust controller to achieve superior performance of the PMSM sensored control system. The comparison of the proposed control systems, in the case of sensored control versus the classical field oriented control (FOC) structure, based on classical PI-type controllers, is made both in terms of the usual response time and error speed ripple, but also in terms of the fractal dimension (DF) of the rotor speed signal, by verifying the hypothesis that the use of a more efficient control system results in a higher DF of the controlled variable. Starting from a basic structure of an ESO-type observer which, by its structure, allows the estimation of both the PMSM rotor speed and a term incorporating the disturbances on the system (from which, in this case, an estimate of the PMSM load torque can be extracted), four variants of observers are proposed, obtained by combining the use of a multiple neural network (NN) load torque observer and an RL-TD3 agent. The numerical simulations performed in MATLAB/Simulink validate the superior performance obtained by using properly trained RL-TD3 agents, both in the case of sensored and sensorless control.

1. Introduction

In today’s world, the control of actuation systems based on servomotors has become a priority, due to the fact that these systems can be found in a wide range of products that contribute both to improving the efficiency of certain activities and to improving ergonomics [1,2]. It is worth remembering that PMSM is incorporated into servomotors used in robotics, computer peripherals, the aerospace industry, electric drives, etc. [3,4]. Thus, PMSM control takes on new dimensions, in terms of the complex concerns of researchers to improve the performance of control systems. It is worth remembering that the FOC control strategy is essential for PMSM control, and ensures superior control performance by organizing the control system into two cascaded levels, an inner level of current control and an outer level of PMSM rotor control [5,6]. Typically, the controllers used within the FOC control strategy structure are PI controllers [7,8]. The relatively good performance of these types of controllers is well-known, but when significant parametric variations occur, the performance of these types of control systems, based on PI-type controllers, decreases significantly. A number of PMSM control systems have been developed and adapted, including adaptive [9,10], optimal [11,12] and predictive [13,14], but also fuzzy [15,16] and neuro-fuzzy control systems have been invented with good results [17,18]. A backstepping controller for IM is developed in [19].
The sensorless control is also used in modern PMSM control systems to increase the reliability and operational safety of the PMSM, by using PMSM rotor speed observers and eliminating the speed sensor. Common observers include the Luenberger observer [20], the sliding mode observer (SMO) [21], the model reference adaptive system (MRAS) [22] for the deterministic case, and the Kalman filter [23] for the stochastic case.
Since there are significant variations in both the parameters describing the operation of the PMSM and the load torque during normal operation of the PMSM, robust control systems [24,25,26,27,28] may be an ideal choice of control system for the PMSM.
This paper is a continuation of the paper presented in [28] and focuses on extending the performance of the sensored control system using a robust controller type, and also in the case of the sensorless control system using an ESO-type observer [29]. This type of observer is designed by exploiting the form of the differential equations describing the PMSM. Thus, it is possible to obtain both PMSM rotor speed estimation and load torque estimation, since the ESO-type observer incorporates the disturbances acting on the system (e.g., load torque) in an additional state variable. This additional state variable is also estimated by the ESO-type observer. In terms of methods to improve the PMSM rotor speed estimation using the ESO-type observer structure, it is proposed to use this observer in combination with a multiple NN [30,31] load torque observer and an RL-TD3 agent [32,33] to obtain a better performance on rotor speed estimation compared to the measured rotor speed provided by a speed sensor.
The paper presents the main control structures and observers of the PMSM, starting with the differential equation description, the robust controller synthesis, and the ESO-type observer synthesis that performs the PMSM rotor speed estimation. Improved variants of using the ESO-type observer in tandem with the multiple NN load torque observer and RL-TD3 agent are also presented. In addition, the control structures, the reward and the training stage for the multiple NN load torque observer and RL-TD3 agent for speed estimation are presented.
The main contributions of this article are:
  • The synthesis of a robust PMSM controller using the d-q frame mathematical model for the sensored case of the PMSM control structure;
  • The robust controller synthesis using MATLAB and integration with PMSM sensored control system;
  • The improvement in the control performance of the PMSM sensored control system, by combining the robust controller and an RL-TD3 agent that provides additional correction signals to adjust the ud and uq commands generated by the main robust controller;
  • The comparative presentation of the performance of the proposed controllers used in the PMSM control system structure, in terms of response time, speed ripple error and DF of the rotor speed signal;
  • The ESO-type observer synthesis for the sensorless case of the PMSM control system for rotor speed estimation;
  • The improvement in the performance of the basic ESO observer structure for PMSM rotor speed estimation, by providing load torque estimates using two-layer feed-forward multiple NN networks implemented with the Neural Net Fitting MATLAB application [31];
  • The improvement in the performance of the ESO basic observer structure for PMSM rotor speed estimation, by implementing an RL-TD3 agent [33] in MATLAB/Simulink that provides correction signals to estimate the PMSM rotor speed value as close as possible to the sensored rotor speed provided by a PMSM speed sensor;
  • Comparison of the performance of the four observer variants for estimating the proposed PMSM rotor speed, in terms of response time and speed ripple error.
The rest of the article is organized as follows: Section 2 presents the proposed sensored and sensorless control structure of PMSM. The robust control of the PMSM is presented in Section 3, while the MATLAB/Simulink implementation of the PMSM sensored control system together with the improvement in the control performance by using an RL-TD3 agent is presented in Section 4. The PMSM sensorless control system using improved ESO-type observer variants is presented in Section 5, and numerical simulations of the operation of the PMSM sensorless control system are presented in Section 6. Section 7 presents some conclusions and suggestions for future approaches.

2. Sensored and Sensorless PMSM Control

Traditionally, PMSM control is achieved using the FOC strategy, in which a PMSM rotor speed sensor is integrated and the name of the control structure is sensored control. Figure 1 shows the schematic diagram of the FOC-type strategy for the PMSM control system, where the controllers used in the current and voltage loops are PI-type.
d i d d t = R s L d i d + L q L d n p ω i q + 1 L d u d d i q d t = R s L q i q L d L q n p ω i d λ 0 L q n p ω + 1 L q u q d ω d t = 3 2 n p J λ 0 i q + L d L q i d i q 1 J T L B J ω d θ e d t = n p ω
Figure 1. Schematic diagram of the FOC-type strategy for the PMSM control system based on PI-type controllers.
In Relation (1), the notations are the usual ones in the d-q rotating reference frame [1,2,28]. Therefore, it can be denoted these notations as follows: the stator voltages, ud and uq, in the d-q frame; the stator currents, id and iq, in the d-q frame; the stator inductances, Ld and Lq, in the d-q frame; and the stator resistances, Rd and Rq, in the d-q frame. Other common parameters of the PMSM include: the flux linkage is denoted by λ0, the number of pole pairs is denoted by np, the rotor moment inertia combined with load moment inertia is denoted by J, the load torque is denoted by TL, the viscous friction coefficient is denoted by B, and the PMSM rotor speed is noted with ω.
In short, the description of the nonlinear operating equations of the PMSM is given by Relation (1).
In the usual case, where Ld = Lq is Rd = Rq = Rs, the system shown in (1) can be rewritten in the following form [1,2,28]:
i ˙ d i ˙ q ω ˙ = R s L q i d + n p ω i q R s L q i q n p ω i d λ 0 L q n p ω 3 2 n p λ 0 J i q B J ω + 1 L q 0 0 1 L q 0 0 u d u q + 0 0 T L J
In the following sections we propose both an improved control structure, in the case of sensored control, and the use of ESO-type observer combinations, in the case of a structure called sensorless control. Thus, Figure 2 shows the schematic diagram of the proposed PMSM sensorless control system based on a robust controller and RL-TD3 agent algorithm, using an improved ESO-type observer combined with a multiple NN load torque estimation and an RL-TD3 agent for speed estimation.
Figure 2. Schematic diagram of the proposed PMSM sensorless control system based on a robust controller and an RL-TD3 agent algorithm, using an improved ESO-type observer combined with a multiple NN load torque estimation and an RL-TD3 agent for speed estimation.
In terms of improving control structures, a robust controller combined with an RL-TD3 agent is presented, which provides superior performance compared to classical PI controllers.
Four combinations of observers are proposed for PMSM speed estimation. The first type of observer is based on the ESO-type observer, which can estimate not only the PMSM rotor speed ω, but also the load torque TL, by adding another variable containing disturbance elements and by a special structure of the observer. A second proposed variant is a multiple NN, trained over different load torque ranges, which provides this value to an ESO-type observer which, in turn, will have a better PMSM rotor speed estimation relative to the measured PMSM rotor speed (sensored control structure case). The following two variants are derived from those presented above, with the addition of an RL-TD3 agent that provides superior estimates of rotor PMSM.

3. Robust Control of PMSM

Consider the operating point (x*, u*) obtained from the linearization of the nonlinear PMSM model in Section 2. Consider the operating point (x*, u*) obtained by linearizing the nonlinear PMSM model in Section 2. The explanation of the operating point is given by the following Relation (3) [28].
x ¯ = i d i q ω T ; u ¯ = u d u q T L T
Around the operating point (x*, u*), the nonlinear equation of the PMSM takes the following form:
f x , u = 0
The following linearized system can be related to the nonlinear Equation (4):
x ˙ ( t ) = A x ( t ) + B w ( t ) + D u ( t ) y ( t ) = C x ( t )
where the matrices are defined by Relation (6).
A = R s L q ω i q ω R s L q n p λ 0 L q 0 3 2 n p λ 0 J B J ; B = 1 L q 0 0 0 1 L q 0 0 0 1 J ; C = 1 0 0 0 0 1 ; D = 0 0 0 0 0 0
Relation (7) shows the reference values selected for the operating point:
i d i q ω = 0 1 1200
For robust control of the PMSM, Figure 3 schematically shows the control structure of the PMSM, showing the reference r = i d r e f ω r e f , the measured vector y = i d ω , and the load torque TL, which acts as a disturbance variable on the PMSM control system. After the synthesis of the robust control K, based on the synthesis of robust controllers, when the PMSM equations are described in the d-q rotating reference frame, the values of the control vector u = u d u q are obtained.
Figure 3. Schematic for the PMSM robust control.
Following the steps in the synthesis of a robust control algorithm [23], Figure 4 shows the generalized plant. In addition to inputs/outputs and references, it contains the K controller structure, the nominal plant P, the uncertainties block ∆ and the input and output uncertainties w and z.
Figure 4. Schematic for the generalized plant.
The relation between these elements can be written as follows:
w = Δ z
u = u d u q = K r y  
where ∆ represents a diagonal matrix defining the uncertainties and u is the controller feedback, i.e., the command given by the robust controller K.
The global transfer matrix from r and TL to yr is given by Relation (10):
y r = F u F l P ( s ) , K ( s ) , Δ r T L
where: the generalized plant is denoted by P, the robust controller is denoted by K, and the upper/lower fractional linear transform is denoted by Fu/l [24,28].
According to [23], the generalized plant P verifies the following relation:
z y r r y = P w r T L u
Figure 5 shows the block diagram of the extended system. It also shows the weighting function Wi (with i = 1, 2, 3) and the linearized nominal transfer function of the PMSM given in (6) and denoted by Gnom.
Figure 5. Schematic of the extended system.
Typically, the sensitivity function is denoted by S, the complementary sensitivity function is denoted by T, and the additive robustness matrix is denoted by R. Their expressions are given in (12)–(14) respectively.
S = 1 1 + G n o m K
T = K G 1 + G n o m K  
R = K 1 + G n o m K  
The main objectives of robust control are tracking performance and disturbance attenuation over the entire frequency range of the controlled process. These objectives can be summarized as shown in Relation (15). The weighting matrices in Relation (15) are usually chosen as follows: W1S for a low-pass-type filter, W2U for a high-pass-type filter, and the matrix W3T provides high-frequency attenuation for the complementary sensitivity function T [24,28].
T r z = W 1 S S W 2 U K S W 3 T T < 1

5. PMSM Sensorless Control System Using Improved ESO-Type Observer Variants

This section presents the sensorless control of the PMSM, where the controller used is the one described in Section 4.2, i.e., a robust controller working in tandem with an RL-TD3 agent. Once the controller is fixed, there is the problem of estimating the speed of the PMSM rotor by means of a speed observer. Due to the structure of the nonlinear equations of the PMSM, an ESO-type observer is chosen according to [29]. This section also proposes improvements to PMSM rotor speed estimation, where the element of comparison is the rotor speed provided by the speed sensor in the PMSM sensored control structure. Therefore, first of all, the ESO-type observer, as its name implies, extends the estimated states by an additional state, and from the description of the ESO-type observer equations, it is also possible to estimate the load torque TL. In order to achieve an improvement in the estimated speed of the PMSM rotor, it is proposed to use a multiple NN, which uses multiple NNs trained over portions of the load torque variation, and selected accordingly by a stateflow to provide an estimate of the load torque. A second way to improve PMSM rotor speed estimation is to use an RL-TD3 agent that, after training, provides signals that overlap the ESO-type observer output to provide an estimate of the PMSM rotor closer to the value provided for the PMSM sensored control structure.

5.1. ESO-Type Observer Description

To estimate the PMSM rotor speed using the ESO-type observer, we start from the form of the PMSM nonlinear description equations. These equations were described in Section 2, but can be written in the general form given by Equation (28).
y ( n ) ( t ) = f y ( t ) , y ˙ ( t ) , , y ( n 1 ) ( t ) , d ( t ) , t + b u ( t )
Equation (28) describes a monovariable nonlinear system in which perturbations occur, where y(l) denotes the derivative l of the output of the system y, u denotes the input to the system y, and d denotes the perturbation acting on the system y.
By denoting x 1 = y , x 2 = y ˙ , , x n = y ( n 1 ) , the following form is obtained:
x ˙ i = x i + 1 , i = 1 , , n 1 x ˙ n = f x 1 , x 2 , , x n , d , t + b u
An additional state is also selected in the following form:
x n + 1 = f x 1 , x 2 , , x n , d , t x ˙ n + 1 = h ( t )
which gives the form of the function h(t):
h ( t ) = f ˙ x 1 , x 2 , , x n , d , t
Note that in the descriptions given by the previous equations, the variable f includes the concentrated disturbances acting on the system.
Starting from the equations of the PMSM nonlinear system in Section 2, and adding the previous transformations, the equations of an ESO-type observer can be synthesized in the following form [29]:
x ^ ˙ i = x ^ i + 1 + β i ( y x ^ 1 ) , i = 1 , , n x ^ ˙ n + 1 = β n + 1 ( y x ^ 1 )
Thus, Relation (32) describes the component equations of the system describing the ESO-type observer which, based on a minimum of information, will provide the estimate of the states of the system together with the extended state including the f term.
By adjusting the above relation to estimate the PMSM rotor speed, the following relation can be written:
d ω d t = 1 J 3 2 n p λ 0 i q T L B ω
where the term f, which includes the generalized disturbances acting on the system of equations describing the operation of the PMSM, is expressed as follows:
f = B J ω T L J
Substituting Relation (34) into Relation (33) gives the following equation:
d ω d t = f + b i q
If in the previous relations x1 = ω, x2 = f and f ˙ = h , the matrix expression of the system containing the PMSM rotor speed is obtained as follows:
x ˙ = A x + B u + Ε h y = C x
where the system matrices (36) are given by:
A = 0 1 0 0 ; B = b 0 ; C = 1 0 ; E = 0 1
Based on this, the ESO-type observer structure can be written as follows:
x ˙ = A x + B u + L ( x 1 z 1 ) y = C z
The bandwidth of the ESO-type observer system is denoted by ω0. The poles of this system are assigned the value −ω0, and to determine the gain of the observer L, the identification is derived from the equality of polynomials as follows [29]:
λ ( s ) = s 2 + L 1 s + L 2 = s + ω 0 2
L 1 = 2 ω 0 L 2 = ω 0 2  
L = 2 ω 0 ω 0 2  
For fast convergence, the chosen ω0 is equal to 900, and in the implementation in Figure 21, it can be seen that the PMSM rotor speed is estimated by the state variable x1 of the observer, and the term f is estimated by the state variable x2 of the observer.
Figure 21. ESO-type observer block diagram. The red dotted lines highlight the output quantities of the observer.
Furthermore, considering the estimated PMSM rotor speed, the estimated PMSM rotor angle can also be obtained as:
θ ^ ( t ) = θ ( t 0 ) + t 0 t ω ^ ( t ) d t
where: θ ( t 0 ) is the initial value of the rotor position relative to a fixed reference point.
The estimate of the load torque can also be obtained in the form of the following equation, where x1 and x2 represent the states of the ESO-type observer:
T ^ L = J B J x 1 x 2
In the following section, a method is proposed to improve the estimation of the PMSM rotor speed, by replacing Equation (43), which was used to estimate the load torque TL with a multiple NN trained on the specific portions of the load torque variation.

5.2. Load Torque Estimation Using Multiple NN

TL load torque estimation is performed using multiple NNs, each of which is a two-layer feed-forward network [30,31]. The Neural Net Fitting application from MATLAB is used in the implementation and proper training of each NN over 5 load torque ranges TL, i.e., between 0 Nm and 1 Nm. After the numerical simulation on a predetermined interval in the load torque range specified above, the input data of each NN, namely the PMSM rotor speed ω, the derivative of the PMSM rotor speed /dt, id and iq currents from d-q frame, but also the output of each NN given by the load torque required to generate and train it, were recorded. Therefore, in the Neural Net Fitting application, the input data, represented by sets of 500,000 values for each variable, is divided into 70% data needed for training, 15% data needed for validation, and 15% data needed for testing.
The algorithm chosen for training, validation, and testing is Bayesian regularization. This type of algorithm minimizes a linear combination of squared errors and weights. It also modifies the linear combination so that, at the end of training, the resulting network has good generalization qualities. After generating the required 5 NNs in the selected load torque range, each NN is selected using a stateflow implemented in MATLAB [30,31]. Figure 22 shows the MATLAB/Simulink subsystem implementation of multiple NN for load torque estimation and selection. Implementation of a NN for load torque estimation in the Neural Net Fitting app from MATLAB is shown in Figure 23. Details of this implementation, in terms of the block diagram of a NN for load torque estimation, represented by two-layer feed-forward network with sigmoid hidden neurons (150) and linear output neurons for regression tasks, is shown in Figure 23a, while Figure 23b shows the Simulink NN exported model for load torque estimation, and this stage is performed using the Neural Net Fitting application after the process of training, validation and testing of each NN.
Figure 22. MATLAB/Simulink subsystem implementation of multiple NN for load torque estimation and selection using stateflow. “*” is specific to the multi switch block in Simulink and represents the default selection.
Figure 23. Implementation of an NN for load torque estimation in Neural Network Fitting toolbox from MATLAB: (a) block diagram of a NN for load torque estimation; (b) Simulink NN exported model for load torque estimation.
The number of epochs used in the training phase is 1000, and the learning rate is 0.1. Figure 24 shows the best validation performance, which represents the mean square error (MSE) values obtained on the entire data set selected for training, validation and testing during the iterative calculation process. Therefore, it can be seen that, at epoch 518, a MSE value of 0.00031339 is obtained from the total computation period of the Bayesian regularization algorithm. Figure 25 shows the evolution of the gradient in the iterative calculation algorithm, and it can be seen that, when applying the NN algorithm that provides the load torque estimation at epoch 524, the gradient value is 0.00001489.
Figure 24. Best performance validation of a neural fitting network for load torque estimation.
Figure 25. Training stage of a neural fitting network for load torque estimation.
Figure 26 shows the sample error distribution in the iterative calculation process. It can be seen that the sample error corresponding to an NN for load torque estimation is distributed between values of ±0.01. The regression analysis diagrams of the training sample data, test sample data, and the entire data set during the application of the Bayesian regularization type algorithm, are shown in Figure 27. It can be seen that the correlation factor R value corresponding to a NN for load torque estimation is around the value of 0.94.
Figure 26. Error histogram after training stage of a neural fitting network for load torque estimation.
Figure 27. Regression factor after training, validation, and testing stages of a neural fitting network for load torque estimation.
Figure 28 shows the load torque and estimated load torque using multiple NN estimation time evolution after numerical simulation of the PMSM control system for the following load torque sequence [0.1, 0.7, 0.9, 0.5, 0.3] Nm. It can be seen that the multiple NN estimation is very good, which creates the conditions for obtaining superior PMSM rotor speed estimation results when the load torque is provided by multiple NNs in the ESO observer structure.
Figure 28. Load torque and estimated load torque using a multiple NN estimation time evolution.

5.3. Improved Estimation of PMSM Rotor Speed Using ESO-Type Observer and RL-TD3 Agent

Similar to using an RL-TD3 agent to improve the performance of the PMSM control system, an agent whose implementation is shown in Figure 29 is selected and its reward is defined by the following relation [32,33]:
r E S O = Q ω e r r o r 2 + R j u t 1 j 2
where Q = 0.5, R = 0.1, and u t 1 j is the history of previous weighted actions.
Figure 29. MATLAB/Simulink subsystem implementation of the RL-TD3 agent for improvement in PMSM rotor speed estimation.
Figure 30 shows the evolution of the performance of the RL-TD3 agent algorithm during the training phase over a period of 200 episodes. After the RL-TD3 agent training stage, it will cooperate with the ESO-type observer in the sense that the RL-TD3 agent will provide correction signals that overlap the value of the rotor speed estimation provided by the ESO-type observer itself, thus achieving superior performance to the PMSM rotor speed estimation. Thus, by implementing this observer variant, an improvement in rotor speed estimation is achieved for the sensorless variant of the PMSM control structure.
Figure 30. Performance evolution for the RL-TD3 agent for improvement in PMSM rotor speed estimation.

6. Numerical Simulation of the PMSM Sensorless Control System

MATLAB/Simulink implementation of the proposed PMSM sensorlesss control system based on robust controller combined with RL-TD3 agent for improvement in ud and uq command using improved ESO-types version observers for speed estimation is shown in Figure 31. Figure 32 shows the MATLAB/Simulink subsystem implementation for ESO-type basic version observer for PMSM rotor speed estimation.
Figure 31. MATLAB/Simulink implementation of the proposed PMSM sensorlesss control system based on a robust controller combined with an RL-TD3 agent for improvement in ud and uq command, using improved ESO-types version observers for speed estimation. “*” is specific to the multi switch block in Simulink and represents the default selection.
Figure 32. MATLAB/Simulink subsystem implementation for an ESO-type basic version observer for PMSM rotor speed estimation. The red dotted lines highlight the output quantities of the observer.
For an evolution of the PMSM rotor speed, reference ωref = [500, 800, 1100, 700] rpm and load torque TL = [0.1, 0.7, 0.9, 0.5, 0.3] Nm over the time interval 0–1s, sequenced as [0, 0.25, 0.5, 0.75, 1] s, Figure 33, Figure 34, Figure 35 and Figure 36 show the time evolution parameters of PMSM sensorless control system based on a robust controller with an RL-TD3 agent for four versions of the ESO-type observer for rotor speed estimation presented in Section 5.
Figure 33. Time evolution parameters of the PMSM sensorless control system based on a robust controller with an RL-TD3 agent, using the ESO-type basic version observer for rotor speed estimation; rotor speed reference ωref = [500, 800, 1100, 700] rpm and load torque TL = [0.1, 0.7, 0.9, 0.5, 0.3] Nm.
Figure 34. Time evolution parameters of the PMSM sensorless control system based on a robust controller with an RL-TD3 agent, using an ESO-type version observer with a multiple NN observer for rotor speed estimation; rotor speed reference ωref = [500, 800, 1100, 700] rpm and load torque TL = [0.1, 0.7, 0.9, 0.5, 0.3] Nm.
Figure 35. Time evolution parameters of the PMSM sensorless control system based on a robust controller with an RL-TD3 agent, using an ESO-type version observer combined with an RL-TD3 agent observer for rotor speed estimation; rotor speed reference ωref = [500, 800, 1100, 700] rpm and load torque TL = [0.1, 0.7, 0.9, 0.5, 0.3] Nm.
Figure 36. Time evolution parameters of the PMSM sensorless control system based on a robust controller with an RL-TD3 agent, using an ESO-type version with a multiple NN observer combined with an RL-TD3 agent for rotor speed estimation; rotor speed reference ωref = [500, 800, 1100, 700] rpm and load torque TL = [0.1, 0.7, 0.9, 0.5, 0.3] Nm.
The comparison between the time evolution of the PMSM rotor speed estimates using the four observer variants and the time evolution of the measured PMSM rotor speed is shown in Figure 37.
Figure 37. Comparison of the time evolution for the rotor speed in a sensored case, and estimated rotor speeds in sensorless cases (improved ESO-types version observers) for the PMSM control system based on a robust controller with an RL-TD3 agent.
Table 3 summarizes the comparative performance of the four observer variants of the PMSM rotor speed and measured PMSM rotor speed as a function of the response time and estimated speed ripple. Note that the error ripple for an analyzed variable, relative to the reference variable, can be associated with the root mean square (RMS) value of the error between the two signals. While, in Table 2, the error ripple was calculated for the error signal given by the reference rotor speed and the measured rotor speed, in Table 3 the error ripple is calculated for the error signal given by the measured rotor speed and the estimated rotor speed. It can be noted that the best performance in PMSM rotor speed estimation, in terms of the lowest estimated response time and speed ripple, is obtained when using the ESO-type observer with the load torque estimated using the multiple NN observer combined with the RL-TD3 agent.
Table 3. Performances of proposed speed observers for PMSM sensorless control system.

7. Conclusions

Naturally, PMSM operation is subject to a number of perturbations, including both changes in internal parameters (e.g., stator resistance Rs and combined inertia of rotor and load J) and changes in load torque TL. In order to maintain the performance of the control system over a relatively wide range of variation of the above types of parameters, a PMSM control system based on a robust controller is used. The article also presents the synthesis of the robust controller, its implementation in MATLAB/Simulink, and an improved version using an RL-TD3 agent that works in tandem with the robust controller to achieve superior performance of the PMSM sensored control system.
Regarding the sensorless control of the PMSM, starting from a basic structure of an ESO-type observer, four variants of observers are presented, obtained by combining the use of a multiple NN and an RL-TD3 agent.
Future work proposes the implementation in real time and the optimization of the performance, both in terms of control and in terms of PMSM rotor speed estimation, by modifying the robust control weights accordingly, and implementing multiple NN and reward of the RL-TD3 agent.

Author Contributions

Conceptualization, M.N. and C.-I.N.; Data curation, M.N., C.-I.N., C.I., D.Ș. and M.R.; Formal analysis, M.N., C.-I.N., C.I., D.Ș. and M.R.; Funding acquisition, M.N.; Investigation, M.N. and C.-I.N.; Methodology, M.N., C.-I.N., C.I., D.Ș. and M.R.; Project administration, M.N.; Resources, M.N. and C.-I.N.; Software, M.N. and C.-I.N.; Supervision, M.N. and C.I.; Validation, M.N., C.-I.N., C.I. and D.Ș.; Visualization, M.N., C.-I.N., D.Ș. and M.R.; Writing—original draft, M.N., C.-I.N., C.I., D.Ș. and M.R.; Writing—review & editing, M.N. and C.-I.N. All authors have read and agreed to the published version of the manuscript.

Funding

This paper was elaborated as part of the “NUCLEU Program within the framework of the National Research, Development and Innovation Plan for 2022–2027, developed with the support of Ministry of Research, Innovation and Digitization, Project No PN 23 33 02 04”.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Krishnan, R. Permanent Magnet Synchronous and Brushless DC Motor Drives; CRC Press/Taylor & Francis: Boca Raton, FL, USA, 2017. [Google Scholar]
  2. Bose, B.K. Modern Power Electronics and AC Drives; Prentice Hall PTR: Hoboken, NJ, USA, 2002. [Google Scholar]
  3. Zhang, X.; Wang, C.; Wang, T.; Wang, G.; Song, Z.; Huang, J. Research on the control strategy of five-phase fault-tolerant servo system for aerospace. In Proceedings of the CSAA/IET International Conference on Aircraft Utility Systems (AUS 2020), Online, 18–21 September 2020; pp. 1090–1094. [Google Scholar]
  4. Lekshmi, S.; Lal Priya, P.S. Range Extension of Electric Vehicles with Independently Driven Front and Rear PMSM Drives by Optimal Driving and Braking Torque Distribution. In Proceedings of the IEEE International Conference on Power Electronics, Smart Grid and Renewable Energy (PESGRE2020), Cochin, India, 2–4 January 2020; pp. 1–6. [Google Scholar]
  5. Golesorkhie, F.; Yang, F.; Vlacic, L.; Tansley, G. Field Oriented Control-Based Reduction of the Vibration and Power Consumption of a Blood Pump. Energies 2020, 13, 3907. [Google Scholar] [CrossRef]
  6. Tang, X.; Zhang, Z.; Liu, X.; Liu, C.; Jiang, M.; Song, Y. A Novel Field-Oriented Control Algorithm for Permanent Magnet Synchronous Motors in 60° Coordinate Systems. Actuators 2023, 12, 92. [Google Scholar] [CrossRef]
  7. Guo, J.; Fan, T.; Li, Q.; Wen, X. An Angle-Compensating, Complex-Coefficient PI Controller Used for Decoupling Control of a Permanent-Magnet Synchronous Motor. Symmetry 2022, 14, 101. [Google Scholar] [CrossRef]
  8. Wei, Z.; Zhao, M.; Liu, X.; Lu, M. A Novel Variable-Proportion Desaturation PI Control for Speed Regulation in Sensorless PMSM Drive System. Appl. Sci. 2022, 12, 9234. [Google Scholar] [CrossRef]
  9. Huang, Y.; Zhang, J.; Chen, D.; Qi, J. Model Reference Adaptive Control of Marine Permanent Magnet Propulsion Motor Based on Parameter Identification. Electronics 2022, 11, 1012. [Google Scholar] [CrossRef]
  10. Vujji, A.; Dahiya, R. Speed Estimator for Direct Torque and Flux Control of PMSM Drive using MRAC based on Rotor flux. In Proceedings of the IEEE 9th Power India International Conference (PIICON), Sonepat, India, 28 February–1 March 2020; pp. 1–6. [Google Scholar]
  11. Park, J.-H.; Lim, H.-S.; Lee, G.-H.; Lee, H.-H. A Study on the Optimal Control of Voltage Utilization for Improving the Efficiency of PMSM. Electronics 2022, 11, 2095. [Google Scholar] [CrossRef]
  12. Nicola, M.; Nicola, C.-I. Improvement of Linear and Nonlinear Control for PMSM Using Computational Intelligence and Reinforcement Learning. Mathematics 2022, 10, 4667. [Google Scholar] [CrossRef]
  13. Wang, Y.; Li, H.; Yang, L.; Wang, X. Modulated Model-Free Predictive Control with Minimum Switching Losses for PMSM Drive System. IEEE Access 2020, 8, 20942–20953. [Google Scholar] [CrossRef]
  14. Zhou, C.; Yu, F.; Zhu, C.; Mao, J. Sensorless Predictive Current Control of a Permanent Magnet Synchronous Motor Powered by a Three-Level Inverter. Appl. Sci. 2021, 11, 10840. [Google Scholar] [CrossRef]
  15. Kakouche, K.; Rekioua, T.; Mezani, S.; Oubelaid, A.; Rekioua, D.; Blazek, V.; Prokop, L.; Misak, S.; Bajaj, M.; Ghoneim, S.S.M. Model Predictive Direct Torque Control and Fuzzy Logic Energy Management for Multi Power Source Electric Vehicles. Sensors 2022, 22, 5669. [Google Scholar] [CrossRef]
  16. Masoud, U.M.M.; Tiwari, P.; Gupta, N. Designing of an Enhanced Fuzzy Logic Controller of an Interior Permanent Magnet Synchronous Generator under Variable Wind Speed. Sensors 2023, 23, 3628. [Google Scholar] [CrossRef]
  17. Regaya, C.B.; Farhani, F.; Zaafouri, A.; Chaari, A. Adaptive Proportional-Integral Fuzzy Logic Controller of Electric Motor Drive. Eng. Rev. 2021, 42, 26–40. [Google Scholar] [CrossRef]
  18. Hoai, H.-K.; Chen, S.-C.; Chang, C.-F. Realization of the Neural Fuzzy Controller for the Sensorless PMSM Drive Control System. Electronics 2020, 9, 1371. [Google Scholar] [CrossRef]
  19. Farhani, F.; Regaya, C.B.; Zaafouri, A.; Chaari, A. Real Time PI-Backstepping Induction Machine Drive with Efficiency optimization. ISA Trans. 2017, 70, 348–356. [Google Scholar] [CrossRef] [PubMed]
  20. Zhu, Y.; Tao, B.; Xiao, M.; Yang, G.; Zhang, X.; Lu, K. Luenberger Position Observer Based on Deadbeat-Current Predictive Control for Sensorless PMSM. Electronics 2020, 9, 1325. [Google Scholar] [CrossRef]
  21. Gao, W.; Zhang, G.; Hang, M.; Cheng, S.; Li, P. Sensorless Control Strategy of a Permanent Magnet Synchronous Motor Based on an Improved Sliding Mode Observer. World Electr. Veh. J. 2021, 12, 74. [Google Scholar] [CrossRef]
  22. Comanescu, M.; Xu, L. Sliding-mode MRAS speed estimators for sensorless vector control of induction Machine. IEEE Trans. Ind. Electron. 2006, 53, 146–153. [Google Scholar] [CrossRef]
  23. Urbanski, K.; Janiszewski, D. Sensorless Control of the Permanent Magnet Synchronous Motor. Sensors 2019, 19, 3546. [Google Scholar] [CrossRef]
  24. Gu, D.-W.; Petkov, P.H.; Konstantinov, M.M. Robust Control Design with MATLAB (Advanced Textbooks in Control and Signal Processing), 2nd ed.; Springer: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
  25. Cai, R.; Zheng, R.; Liu, M.; Li, M. Robust Control of PMSM Using Geometric Model Reduction and μ-Synthesis. IEEE Trans. Ind. Electron. 2018, 65, 498–509. [Google Scholar] [CrossRef]
  26. MathWorks—Robust Control Toolbox. Available online: https://www.mathworks.com/products/robust.html (accessed on 23 November 2021).
  27. Mendoza-Mondragón, F.; Hernández-Guzmán, V.M.; Rodríguez-Reséndiz, J. Robust Speed Control of Permanent Magnet Synchronous Motors Using Two-Degrees-of-Freedom Control. IEEE Trans. Ind. Electron. 2018, 65, 6099–6108. [Google Scholar] [CrossRef]
  28. Nicola, M.; Nicola, C.-I.; Ionete, C.; Șendrescu, D.; Roman. Improved Performance for PMSM Control Based on Robust Controller and Reinforcement Learning. In Proceedings of the 26th International Conference on System Theory, Control and Computing (ICSTCC), Sinaia, Romania, 19–21 October 2022; pp. 207–212. [Google Scholar]
  29. Nicola, C.-I.; Nicola, M.; Selișteanu, D. Sensorless Control of PMSM Based on Backstepping-PSO-Type Controller and ESO-Type Observer Using Real-Time Hardware. Electronics 2021, 10, 2080. [Google Scholar] [CrossRef]
  30. Nicola, M.; Nicola, C.-I.; Duţă, M. Sensorless Control of PMSM using FOC Strategy Based on Multiple ANN and Load Torque Observer. In Proceedings of the International Conference on Development and Application Systems (DAS), Suceava, Romania, 21–23 May 2020; pp. 32–37. [Google Scholar]
  31. MathWorks—Deep Learning Toolbox—Neural Net Fitting. Available online: https://www.mathworks.com/help/deeplearning/neuralnetfitting-app.html (accessed on 20 April 2020).
  32. Nicola, M.; Nicola, C.-I. Improvement of PMSM Control Using Reinforcement Learning Deep Deterministic Policy Gradient Agent. In Proceedings of the 21st International Symposium on Power Electronics (Ee), Novi Sad, Serbia, 27–30 October 2021; pp. 1–6. [Google Scholar]
  33. MathWorks—Twin-Delayed Deep Deterministic Policy Gradient Reinforcement Learning Agent. Available online: https://www.mathworks.com/help/reinforcement-learning/ug/td3-agents.html (accessed on 12 September 2021).
  34. Nicola, M.; Nicola, C.-I.; Sacerdoțianu, D.; Vintilă, A. Comparative Performance of UPQC Control System Based on PI-GWO, Fractional Order Controllers, and Reinforcement Learning Agent. Electronics 2023, 12, 494. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.