Next Article in Journal
MACNet: A More Accurate and Convenient Pest Detection Network
Next Article in Special Issue
Design of Fractional-Order Non-Singular Terminal Sliding Mode Observer Sensorless System for Surface-Mounted Permanent Magnet Synchronous Motor
Previous Article in Journal
V2G Carbon Accounting and Revenue Allocation: Balancing EV Contributions in Distribution Systems
Previous Article in Special Issue
Nonlinear Magnetic Model of IPMSM Based on the Frozen Permeability Technique Utilized in Improved MTPA Control
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive PI Controller for Speed Control of Electric Drives Based on Model Reference Adaptive Identification

1
Department of Aeronautical and Automotive Engineering, Loughborough University, Loughborough LE11 3TU, UK
2
College of Automation Engineering, Nanjing University of Aeronautics and Astronautics, Nanjing 211106, China
3
Shanghai Engineering Research Center of Servo Systems, Shanghai 201108, China
4
Quanzhou Institute of Equipment Manufacturing Haixi Institutes, Chinese Academy of Sciences, Quanzhou 362124, China
*
Author to whom correspondence should be addressed.
Electronics 2024, 13(6), 1067; https://doi.org/10.3390/electronics13061067
Submission received: 2 February 2024 / Revised: 4 March 2024 / Accepted: 7 March 2024 / Published: 13 March 2024
(This article belongs to the Special Issue Advances in Control for Permanent Magnet Synchronous Motor (PMSM))

Abstract

:
In this paper, to achieve auto-setting of PI controller gains when mechanical parameters are unknown, two adaptive PI controllers for speed control of electric drives are developed based on model reference adaptive identification. The adaptive linear neuron (ADALINE) neural network is used to interpret the proposed adaptive PI controller. The effect of the low-pass filter used for the feedback speed and the Coulomb friction torque on parameter identification is analysed, and a new motion equation using filtered speed is given. Additionally, a parameter identification method based on unipolar speed reference is provided. The two proposed adaptive PI controllers and the conventional PI controller are compared based on the high-precision digital simulation using MATLAB/Simulink (version R2023a). The simulation results show that both of the two proposed adaptive PI controllers are able to identify mechanical parameters, but the adaptive PI-1 controller outperforms the adaptive PI-2 controller due to its better noise attenuation performance.

1. Introduction

Precision control of electric drives is inherently challenging due to the diverse sources of disturbances and uncertainties, as highlighted in [1]. The classical Proportional-Integral-Derivative (PID) controller, characterized by a one-degree-of-freedom structure, faces difficulties in simultaneously achieving optimal tracking performance and effective disturbance rejection. This limitation underscores the complexity of realizing decoupled control for both tracking performance and disturbance rejection properties [2]. Hence, several advanced control algorithms characterized by a two-degree-of-freedom (TDOF) structure have been proposed. Notably, TDOF PID control [3], disturbance observer-based control (DOBC) [4,5], and active disturbance rejection control (ADRC) [6,7,8] stand out as extensively investigated methodologies among various TDOF control algorithms.
Recently, generalized active disturbance rejection control (GADRC) [9] using generalized proportional integral control (GPIC) and generalized proportional integral observer (GPIO) was developed based on the differential flatness theory. Compared with the conventional ADRC, GADRC performs better either in disturbance rejection property for low-frequency disturbances or in suppression performance for high-frequency measurement noise [10,11,12], and thus is attracting more attention in research on electric drives. Motivated by one of the original ideas in ADRC [13,14], i.e., establishing a direct connection between the classical PID control and other modern control techniques [15,16], the relationship between GADRC and generalized PID control was analysed in [17]. It was found that the GADRC can be interpreted as the generalized PID with low-pass filters or the so-called TDOF generalized PID. However, compared with generalized PID, GADRC is easier to implement since the GPIC and GPIO has specific physical interpretation. In GADRC, the PI regulator in GPIC and the one in GPIO can be designed based on the same principle because of the duality between GPIC and GPIO. Therefore, the key in designing the GADRC is to design the PI regulator. Though GADRC with offline tuned gains can provide good control performance if the motor parameters are known. However, the system parameters may gradually change after a long running time, degrading the control performance if the gains are not updated [18]. To improve the system’s robustness to parameter variations, adaptive PI regulators are usually employed.
In [18,19,20,21,22], several adaptive controllers were designed with different principles, such as adaptive gain PID based on the supervisory gradient method [18], adaptive compensating feedback control [20], and model reference adaptive control (MRAC) based on adaptive compensating feedforward control [21,22]. It should be noted that whether the adaptive gain or the compensation term need to be trained before application. However, how to train the adaptive term is not explained in the above references. In [23], accurate mechanical parameters are identified in an adaptive PI observer using the excitation signal of a unipolar sinusoidal speed reference. Nevertheless, the speed tracking error is not considered. In [24], the PI controller was designed based on adaptive control method and a neural network is used for interpreting the essence of the integrator. However, only disturbance torque variation is considered.
In this paper, two adaptive PI controllers considering the variations of the mechanical parameters, including moment of inertia, viscous friction torque coefficient, and disturbance torque, are developed using the same principle in [23,24]. The adaptive linear neuron (ADALINE) neural network [25,26] is employed to interpret the developed adaptive PI controllers. The effect of the two practical issues: the low-pass filter used for feedback speed and the Coulomb friction torque, are investigated on parameter identification methods. A modified motion equation considering these two practical issues is introduced and the relationship between the identified parameters and their actual values are clarified. Additionally, a parameter identification method based on unipolar speed reference is provided.
The rest of this article is organized as follows. Section 2 introduces the mathematical model of the mechanical system and the conventional PI controller for the speed control system. Section 3 presents the proposed adaptive PI controller and two practical issues in real applications. Simulation results and the analysis are shown in Section 4. Finally, the conclusions are drawn in Section 5.

2. Conventional PI Controller for Speed Control

2.1. Mathematical Model of the Speed Control System

The feedback control law is formulated with the aim of effectively mitigating the speed reference tracking error. Following the feedback control law, the control output, specifically the torque reference, can be derived. Consequently, it is imperative to represent the system model as a function of the torque references.
Ω ˙ = B Ω + T e T L J = b ( T e * T n ) = b T e * + d n
where Ω represents the mechanical angular velocity, T e and T e * denote the electromagnetic torque and its reference, B stands for the viscous friction torque coefficient, T L signifies the load torque, b is defined as 1 / J (the control gain), and T n is the disturbance torque resulting from the torque tracking error, load torque, and viscous friction torque, expressed as T n = T e * T e + B Ω + T L , with d n representing the disturbance caused by the lumped disturbance torque and defined as T n / J .
Considering uncertainties in the moment of inertia J, control systems often employ the nominal value J n . Introducing b n = 1 / J n as the nominal control gain, the system model can be adjusted as follows:
Ω ˙ = b T e * + d n = b n T e * ( b n b ) T e * + d n = b n T e * + d t o
where d t o = d n + ( b b n ) T e * is the total disturbance when considering the inertia mismatches.

2.2. Design of the Conventional PI Controller

The speed reference can be denoted as Ω * , then the speed tracking error can be expressed as e s = Ω * Ω , and we have
e ˙ s = Ω ˙ * Ω ˙ = Ω ˙ * b n T e * d t o
When using proportional control, the desired speed tracking error convergence law is designed as:
e ˙ s = k p s e s
where k p s is the proportional gain.
Substituting (4) into (3) yields:
T e * = Ω ˙ * + k p s Ω * Ω d t o b n
When the total disturbance d t o in (5) is substituted by its estimated value d ^ t o , the torque reference can be modified as:
T e * = Ω ˙ * + k p s e s d ^ t o b n
Using the torque reference expressed by (6), the state equation of the speed tracking error (3) is modified as:
e ˙ s = Ω ˙ * Ω ˙ = Ω ˙ * b n T e * d t o = k p s e s d ˜ t o
where d ˜ t o = d t o d ^ t o is the total disturbance estimation error.
Adopting the adaptive design method in [24], the torque reference using PI controller can be expressed as:
T e * = Ω ˙ * + k p s e s + k i s e s d t b n
The block diagram of the conventional PI controller is shown in Figure 1.

2.3. Dynamic Performance of the Speed PI Control System

In real applications, the measured speed as Ω m is used for feedback, and thus the actual torque reference is modified as:
T e * s = s Ω * s + k p s + k i s s Ω * s Ω m s b n           = s Ω m s + s + k p s + k i s s Ω * s Ω m s b n
According to (1), the relationship between the torque reference and the nominal disturbance can be expressed by:
T e * s = s Ω s d n s b = s Ω m s d n s + s δ n s b
Substituting (9) into (10), the system output can be deduced as:
Ω m s = s 2 + k p s s + k i s k b s 2 + k p s s + k i s Ω * s + k b s k b s 2 + k p s s + k i s d n s + s δ n s
where k b = b n / b = J / J n is the control gain ratio.
When the moment of inertia is known, i.e., k b = J / J n = 1 , the system has an ideal tracking performance under no disturbance and the characteristic polynomial is usually set as s 2 + k p s s + k i s = ( s + ω c ) 2 , where ω c is the bandwidth of the speed control loop. The two gains in PI controller can be calculated by k p s = 2 ω c and k i s = ω c 2 . However, when the moment of inertia is unknown or it varies with operating conditions, k b 1 , the system dynamic performance will degrade. When expressing the characteristic polynomial of the closed-loop control system as k b s 2 + k p s s + k i s = k b ( s 2 + 2 ζ 1 ω c 1 s + ω c 1 2 ) , the actual damping ratio ζ 1 and the actual natural frequency ω c 1 can be determined using the following equations:
ζ 1 = ζ k b , ω c 1 = ω c k b
It can be observed that both the actual damping ratio ζ 1 and the actual natural frequency ω c 1 decreases as k b increases, resulting in a higher overshoot in the step response as well as a slower dynamic performance. To solve this problem, an adaptive PI controller is developed in this paper.

3. Adaptive PI Controller for Speed Control Based on MRAI

3.1. Adaptive PI Controller Considering Mechanical Parameters Uncertainties

The motion Equation (1) can also be expressed as:
Ω ˙ = T e T L B Ω / J = ( T e * T d B Ω ) / J
where T d = T e * T e + T L consists of the disturbance caused by the load torque and the torque tracking error.
The state equation of the speed tracking error can be expressed as:
e ˙ s = Ω ˙ * Ω ˙ = Ω ˙ * T e * T d B Ω / J
Therefore, the ideal torque reference when using proportional control can also be deduced as:
T e * = J Ω ˙ * + k p s e s + B Ω + T d
Denote the estimated values of J, B, and T d as J ^ , B ^ and T ^ d , the actual torque reference can be expressed as:
T ^ e * = J ^ Ω ˙ * + k p s e s + B ^ Ω + T ^ d
Substituting (16) into (3) yields:
e ˙ s = Ω ˙ * Ω ˙                                                                                                                                                                       = Ω ˙ * J ^ Ω ˙ * + k p s e s + B ^ Ω + T ^ d T d B Ω J                                           = J ^ J k p s e s J ˜ Ω ˙ * + B ˜ Ω + T ˜ d J                                                                                                  
where J ˜ = J ^ J , B ˜ = B ^ B , and T ˜ d = T ^ d T d are the estimation error of inertia, viscous friction coefficient, and disturbance torque, respectively.
According to [27], the Lyapunov function can be selected as:
V = 1 2 e s 2 + J ˜ 2 2 J k J + B ˜ 2 2 J k B + T ˜ d 2 2 J k d
where k J , k B , and k d are the adaptive gain for estimating the inertia, viscous friction coefficient, and disturbance torque.
The derivative of the Lyapunov function (18) can be obtained as follows:
V ˙ = e s e ˙ s + 1 J k J J ˜ J ˜ ˙ + 1 J k B B ˜ B ˜ ˙ + 1 J k d T ˜ d T ˜ ˙ d                                                                                                                             = J ^ J k p s e s 2 J ˜ Ω ˙ * + B ˜ Ω + T ˜ d J e s + 1 J k J J ˜ J ˜ ˙ + 1 J k B B ˜ B ˜ ˙ + 1 J k d T ˜ d T ˜ ˙ d                                   = J ^ J k p s e s 2 + 1 J J ˜ k J J ˜ ˙ k J Ω ˙ * e s + B ˜ k B B ˜ ˙ k B Ω e s + T ˜ d k d T ˜ ˙ d k d e s
The stability of the system can be ensured by equating the second term on the right-hand side of Equation (19) to zero, i.e.,
J ˜ ˙ = J ^ ˙ J ˙ = k J Ω ˙ * e s B ˜ ˙ = B ^ ˙ B ˙ = k B Ω e s T ˜ ˙ d = T ^ ˙ d T ˙ d = k d e s
Assuming constant values for the actual inertia, viscous friction coefficient, and disturbance torque, the adaptive law governing the estimation of these three parameters can be formulated as follows:
J ^ ( t ) = k J Ω ˙ * e s d t + J ^ ( 0 ) B ^ ( t ) = k B Ω e s d t + B ^ ( 0 ) T ^ d ( t ) = k d e s d t + T ^ d ( 0 )
where J ^ ( 0 ) , B ^ ( 0 ) , and T ^ d ( 0 ) are the initial values.
If we rewrite (17) as:
e ˙ s = k p s e s J ˜ ( Ω ˙ * + k p s e s ) + B ˜ Ω + T ˜ d J
then the adaptive law expressed by (21) becomes:
J ^ ( t ) = k J ( Ω ˙ * + k p s e s ) e s d t + J ^ ( 0 ) B ^ ( t ) = k B Ω e s d t + B ^ ( 0 )                                       T ^ d ( t ) = k d e s d t + T ^ d ( 0 )                                      
According to (16), (21), and (23), the block diagram of the two adaptive PI controllers are shown in Figure 2. Here, the two adaptive PI controllers are noted as adaptive PI-1 and adaptive PI-2. It can be seen that the only difference between the two adaptive PI controllers is the input of the inertia estimators.

3.2. Interpretation of Adaptive PI Controller Using ADALINE

The torque reference expressed by (15) and (16) can also be rewritten as:
T e * = J B T d Ω ˙ * Ω 1 + J k p s e s = w T h + J k p s e s
T ^ e * = J ^ B ^ T ^ d Ω ˙ * Ω 1 + J ^ k p s e s = w ^ T h + J ^ k p s e s
where w and w ^ are the weight vector and its estimated value, respectively, while h is the input vector of the ADALINE.
w = J B T d , w ^ = J ^ B ^ T ^ d , h = Ω ˙ * Ω 1
According to (24), there is
B Ω + T d = w T h J Ω ˙ *
The derivative of the speed tracking error can be obtained as:
e ˙ s = Ω ˙ * Ω ˙                                                                                             = Ω ˙ * T ^ e * B Ω T d J                                                 = Ω ˙ * w ^ T h + J ^ k p s e s + J Ω ˙ * w T h J       = J ^ J k p s e s w ˜ T h J                                                                
Similarly, the Lyapunov function can be selected as:
V = 1 2 e s 2 + 1 2 J w ˜ T k w 1 w ˜
where k w 1 is a gain matrix.
The derivative of (28) can be calculated as:
V ˙ = e s e ˙ s + w ˜ T k w 1 w ˜ ˙ J                                                           = J ^ J k p s e s 2 w ˜ T h J e s + w ˜ T k w 1 w ˜ ˙ J         = J ^ J k p s e s 2 w ˜ T k w 1 J w ˜ ˙ k w h e s
The system appears to be stable if the second item on the right-hand side of the equation is set to zero, i.e.,
w ˜ ˙ = w ^ ˙ w ˙ = k w h e s
Under the assumption of w ˙ = 0 , the adaptive law governing the weight vector can be articulated as follows:
w ^ = k w h e s d t
By setting k w as:
k w = k J 0 0 0 k B 0 0 0 k d
the adaptive law can be obtained as:
J ^ ( t ) B ^ ( t ) T ^ d ( t ) = k J Ω ˙ * k B Ω k d e s d t + J ^ ( 0 ) B ^ ( 0 ) T ^ d ( 0 )
If we modify h in (24) and (25) as:
h = Ω ˙ * + k p s e s Ω 1
then (24) and (25) can be modified as T e * = w T h and T ^ e * = w ^ T h , and the adaptive law expressed by (32) can be modified as:
J ^ ( t ) B ^ ( t ) T ^ d ( t ) = k J Ω ˙ * + k p s e s k B Ω k d e s d t + J ^ ( 0 ) B ^ ( 0 ) T ^ d ( 0 )
It can be seen that the adaptive law expressed by (32) and (34) are exactly the same as those expressed by (21) and (23). Figure 3 shows how the adaptive PI controller can be interpreted by ADALINE.

3.3. Practical Issues in Real Applications

In real applications, a LPF is usually used for attenuating the speed measurement noise and thus the feedback speed is the filtered speed Ω f . Assuming a first-order LPF with a time constant of τ is employed, the relationship between Ω f and Ω can be expressed as:
Ω = τ Ω ˙ f + Ω f
Using Ω f as the output and considering the Coulomb friction torque coefficient T C , the motion equation is modified as:
T e * = J Ω ˙ + B Ω + T d + T C sign ( Ω )                                                   = J + B τ Ω ˙ f + J τ Ω ¨ f + B Ω f + T d + T C sign ( Ω )
To obtain smoothed identified parameters, sinusoidal speed is usually employed as the persistent excitation signal. Assuming the sinusoidal speed has an angular frequency of ω P E , and it can be expressed as the sum of an AC component and DC component, i.e., Ω f = Ω f _ a c + Ω f _ d c , there is Ω ¨ f = ω P E 2 Ω f .
If there is no offset in the speed, Ω f _ d c = 0 , then the Coulomb friction torque is an AC signal that in phase of the real speed Ω , and thus it can be approximated by T C sign ( Ω ) Δ J · Ω ˙ f + Δ B · Ω f , where Δ J and Δ B are the incremental inertia and incremental viscous friction torque coefficient, and they depends on T C and τ . As a result, the motion equation can be rewritten as:
T e * = J + B τ + Δ J Ω ˙ f _ a c + B J τ ω P E 2 + Δ B Ω f _ a c + T d
If a large offset is added in the speed reference so that the speed becomes unipolar, then the Coulomb friction torque is a constant torque such that it can be treated as part of the load torque. The motion equation can be rewritten as:
T e * = J + B τ Ω ˙ f _ a c + B J τ ω P E 2 Ω f _ a c + T d + T C + B J τ ω P E 2 Ω f _ d c
Denote J 1 , B 1 , and T d 1 as the equivalent values of inertia, viscous friction torque coefficient, and load torque, we can express the motion equation in a unified form as:
T e * = J 1 Ω ˙ f _ a c + B 1 Ω f _ a c + T d 1
In the case of bipolar speed, J 1 , B 1 , and T d 1 are expressed as:
J 1 = J + B τ + Δ J                   B 1 = B J τ ω P E 2 + Δ B T d 1 = T d                                            
In the case of unipolar speed, J 1 , B 1 , and T d 1 are expressed as:
J 1 = J + B τ                                           B 1 = B J τ ω P E 2                             T d 1 = T d + T C + B 1 Ω f _ d c
Since a LPF is used for the measured speed, a same LPF should be used for the speed reference so that the actual speed can track the real speed reference. Denote the filtered speed reference as Ω f * . When using the motion equation expressed by (39), the adaptive law for the identified parameters can be modified as:
e s f = Ω f * Ω f                                                                                                                     J ^ 1 ( t ) = k J Ω ˙ * e s f d t + J ^ 1 ( 0 )                                                               B ^ 1 ( t ) = k B Ω f _ a c e s f d t + B ^ 1 ( 0 )                                                     T ^ d 1 ( t ) = k d e s f d t + T ^ d 1 ( 0 )                                                            
e s f = Ω f * Ω f                                                                                           J ^ 1 ( t ) = k J ( Ω ˙ * + k p s e s f ) e s f d t + J ^ 1 ( 0 )     B ^ 1 ( t ) = k B Ω f _ a c e s f d t + B ^ 1 ( 0 )                                 T ^ d 1 ( t ) = k d e s f d t + T ^ d 1 ( 0 )                                            
where J ^ 1 ( 0 ) , B ^ 1 ( 0 ) , and T ^ d 1 ( 0 ) are the initial values.
The block diagrams of the two practical adaptive PI control system are shown in Figure 4.

4. Simulation Verification

In this section, a high-resolution digital simulation model is developed using MATLAB/Simulink (version R2023a) to assess the functionality of the proposed two adaptive PI controllers. Additionally, a comparative analysis is conducted between the proposed adaptive PI controllers and the conventional PI controller, elucidating their relative advantages.

4.1. System Setup

The block diagram of the speed control system using adaptive PI controller is shown in Figure 5. The specific parameters of the examined PMSM are listed in Table 1. In the simulations, an incremental encoder with a resolution of 2500 pulse per round (PPR) is utilized. The rotor field-oriented control (RFOC) strategy with i d = 0 and space vector pulse width modulation (SVPWM) is adopted. The DC bus voltage is established as 150 V. Both the sampling period and control period for current and speed control are set as 0.1 ms. Current control is executed through a Decoupled Proportional-Integral (PI) Controller, with a specified bandwidth of 2000 rad/s. The negligible delay in the torque control loop allows it to be disregarded within the speed control system. A current limit of 9 A is imposed, and speed calculation is performed using the classical frequency method. To mitigate measurement noise, a first-order Low-Pass Filter (LPF) with a time constant of 1 ms is employed.
In the simulation, k p s = 400 rad/s, k d = 10 , k J = 5 × 10 6 , k B = 0.01 . Three control systems: the conventional PI controller, the adaptive PI controller without identifying B ^ 1 , and the adaptive PI controller identifying B ^ 1 , are tested. The simulation time is set as 5 s. At the time instant of 1 s, sinusoidal speed reference is given under no load and the adaptive PI control is enabled. At the time instant of 3 s, a load is stepped from 0 Nm to 2 Nm.

4.2. Simulation Verification of the Adaptive PI-1 Controller

The initial inertia is set as 1 g · m 2 . When a bipolar sinusoidal speed reference expressed by n r e f = 500 sin (10 π t)r/min is employed, the simulation results of the three control systems without considering the Coulomb friction torque are shown in Figure 6. From Figure 6a, it can be seen that the conventional PI controller has a poor tracking performance due to the mismatched inertia. The identified load torque is oscillating because it is an integral of the speed tracking error, which is sinusoidal. In Figure 6b, the inertia is identified but the viscous friction torque coefficient is not. The oscillation in the identified load torque is greatly reduced, but not eliminated. Meanwhile, the identified inertia oscillates at the frequency of 10 Hz, which is twice of the frequency of the sinusoidal speed reference. The oscillation can be eliminated by identifying load torque, inertia and viscous friction torque coefficient simultaneously, as shown in Figure 6c. It can be seen that the actual inertia 2.35 g · m 2 can be identified, B ^ 1 = 0.00237 Nms/rad, which is very closed to J τ ω P E 2 = 0.00232 Nms/rad, and the identified load torque levels at 2.8 s are −0.0005 Nm and 2 Nm, which are almost the same as the actual values. The error is caused by some unmodelled dynamics in the digital control system, such as the delay in sampling and control.
When considering the Coulomb friction torque, simulation results of the adaptive PI controller will be affected. In Figure 7a,b, T C is 0.1 Nm and 0.5 Nm, respectively, the identified inertias are merely affected, they are 2.344 g · m 2 and 2.323 g · m 2 , however, the identified viscous friction torque coefficients are greatly affected, they become 8 × 10 5 Nms/rad and 9.9 × 10 3 Nms/rad. This is because the incremental inertia Δ J caused by the Coulomb friction torque is very small while the incremental viscous friction torque coefficient Δ B is large. The Coulomb friction torque causes the oscillation of the speed tracking error and thus leads to the oscillation of the identified parameters. To solve this problem, a unipolar speed reference expressed by n r e f = 500 sin ( 10 π t π / 2 ) + 600 r/min can be employed, as shown in Figure 7c.
To further verify the effectiveness of the proposed adaptive PI controller, the initial inertia is increased to 6 g · m 2 and the Coulomb friction torque coefficient T C is set as 0.1 Nm, simulation results are shown in Figure 8. Similarly, it can be seen that the conventional PI controller has a poor tracking performance, the speed tracking error can be greatly reduced by identifying inertia, but it cannot be eliminated if the viscous friction torque coefficient is not identified.

4.3. Comparison of the Adaptive PI-1 Controller and the Adaptive PI-2 Controller

When the initial inertia J ^ 1 ( 0 ) and the Coulomb friction torque coefficient T C are set as 1 g · m 2 and 0.1 Nm, respectively, simulation results of the two adaptive PI controllers using the same gains are shown in Figure 9a,b, the zoomed-in views from the time 1 s to 3 s are shown in Figure 10. From the zoom views, it can be seen that the adaptive PI-2 controller has a larger oscillation in the identified parameters. The oscillation is caused by the larger noise introduced by the term “ k p s e s f ” in “ Ω ˙ * + k p s e s f ”. If we reduce the position measurement noise by setting the output format of the sampled position as “double”, the adaptive PI-2 controller can also has a good steady-state performance, as shown in Figure 9c and Figure 10c. These results shows that the adaptive PI-1 controller has better noise attenuation ability than the adaptive PI-2 controller.
Comparing the results shown in Figure 9a,c, it can be observed that the adaptive PI-2 controller has better dynamic performance than the adaptive PI-1 controller in the starting process, however it is slower when the load varies. From (42) and (43), it is known that the dynamic performance of the two controllers depends on the quantity of Ω ˙ * and Ω ˙ * + k p s e s f . If we set load torque as 2 Nm from 0 s to 3 s and 0 Nm from 3 s to 5 s (the simulations results are shown in Figure 11a,b), it can be seen that the adaptive PI-2 controller has poorer dynamic performance than the adaptive PI-1 controller in the starting process, however it is faster when the load varies, which is quite opposite to the results in Figure 9. Similarly, when J ^ 1 ( 0 ) = 6   g · m 2 , by comparing Figure 11c with Figure 8c, it can be found that the adaptive PI-2 controller has poorer dynamic performance than the adaptive PI-1 controller whether in the starting process or in the load-changing process.
From the above simulation results, it can be concluded that the adaptive PI-1 controller outperforms the adaptive PI-2 controller in real applications.

5. Conclusions

In this paper, to achieve auto-setting of PI controller gains when mechanical parameters are unknown, two adaptive PI controllers for speed control of electric drives are developed based on model reference adaptive identification. In real applications, the low-pass filter used for the feedback speed and the Coulomb friction torque has an effect on parameter identification. To address these two issues, a new motion equation using filtered speed is given, and the relationship between the identified parameters and their real values is studied. Additionally, a parameter identification method based on unipolar speed reference is provided. The only difference between the two adaptive PI controllers is the error information used for identifying the inertia. Simulation results show that the adaptive PI-1 controller is more practical due to its better noise attenuation performance.
It is worth pointing out that the principle of the adaptive PI controller is to divide the total disturbance torque into AC and DC components, the DC component disturbance is identified by the integral of the speed tracking error, whereas the AC component disturbance is identified by an ADALINE neural network, in which the feedback speed and its derivative are the basis, while the equivalent inertia and the equivalent viscous friction torque coefficient are two weights need to be trained. Therefore, the AC disturbance caused by other unmodelled dynamics can also be identified and compensated.
Torque ripple due to cogging torque or current harmonics is common in real-world applications, making the impractical assumption that the disturbance torque is constant. In the future, we plan to develop an adaptive PI controller that takes into account torque ripple. Furthermore, the adaptive control method utilised in this article requires a persistent excitation signal, which may not be permitted in some applications, such as robots and CNC machine tools. Adaptive methods for speed regulation systems without a persistent excitation signal remain an interesting topic.

Author Contributions

Conceptualization, Y.Z.; Methodology, Y.Z.; Formal analysis, Y.Z.; Investigation, Y.Z.; Writing—original draft preparation, Y.Z.; Writing—review and editing, S.Z., Y.C., C.L. and X.L.; Visualization, Y.Z., Y.C. and X.L.; Supervision, C.L.; Project administration, S.Z., Y.C. and C.L.; Funding acquisition, S.Z. and C.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded in part by National Key Laboratory of Science and Technology on Helicopter Transmission grant number HTL-A-21G01, and in part by China Postdoctoral Science Foundation grant number 2023M741674.

Data Availability Statement

The data presented in this study are available in this article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Yang, J.; Chen, W.H.; Li, S.; Guo, L.; Yan, Y. Disturbance/Uncertainty Estimation and Attenuation Techniques in PMSM Drives—A Survey. IEEE Trans. Ind. Electron. 2017, 64, 3273–3285. [Google Scholar] [CrossRef]
  2. Zuo, Y.; Chen, J.; Zhu, X.; Lee, C.H.T. Different Active Disturbance Rejection Controllers Based on the Same Order GPI Observer. IEEE Trans. Ind. Electron. 2022, 69, 10969–10983. [Google Scholar] [CrossRef]
  3. Harnefors, L.; Saarakkala, S.E.; Hinkkanen, M. Speed Control of Electrical Drives Using Classical Control Methods. IEEE Trans. Ind. Appl. 2013, 49, 889–898. [Google Scholar] [CrossRef]
  4. Chen, W.H.; Yang, J.; Guo, L.; Li, S. Disturbance-Observer-Based Control and Related Methods—An Overview. IEEE Trans. Ind. Electron. 2015, 63, 1083–1095. [Google Scholar] [CrossRef]
  5. Sariyildiz, E.; Oboe, R.; Ohnishi, K. Disturbance Observer-Based Robust Control and Its Applications: 35th Anniversary Overview. IEEE Trans. Ind. Electron. 2020, 67, 2042–2053. [Google Scholar] [CrossRef]
  6. Gao, Z. On the Centrality of Disturbance Rejection in Automatic Control. ISA Trans. 2014, 53, 850–857. [Google Scholar] [CrossRef] [PubMed]
  7. Liu, C.; Luo, G.; Duan, X.; Chen, Z.; Zhang, Z.; Qiu, C. Adaptive LADRC-based disturbance rejection method for electromechanical servo system. IEEE Trans. Ind. Appl. 2019, 56, 876–889. [Google Scholar] [CrossRef]
  8. Zhu, L.; Zhang, G.; Jing, R.; Bi, G.; Xiang, R.; Wang, G.; Xu, D. Nonlinear active disturbance rejection control strategy for permanent magnet synchronous motor drives. IEEE Trans. Energy Convers. 2022, 37, 2119–2129. [Google Scholar] [CrossRef]
  9. Sira-Ramírez, H.; Luviano-Juárez, A.; Ramírez-Neria, M.; Zurita-Bustamante, E.W. Active Disturbance Rejection Control of Dynamic Systems: A Flatness Based Approach; Butterworth-Heinemann: Oxford, UK, 2018. [Google Scholar]
  10. Zuo, Y.; Mei, J.; Jiang, C.; Yuan, X.; Xie, S.; Lee, C.H.T. Linear Active Disturbance Rejection Controllers for PMSM Speed Regulation System Considering the Speed Filter. IEEE Trans. Power Electron. 2021, 36, 14579–14592. [Google Scholar] [CrossRef]
  11. akomy, K.; Madonski, R. Cascade extended state observer for active disturbance rejection control applications under measurement noise. ISA Trans. 2021, 109, 1–10. [Google Scholar]
  12. Ahmad, S.; Ali, A. On active disturbance rejection control in presence of measurement noise. IEEE Trans. Ind. Electron. 2021, 69, 11600–11610. [Google Scholar] [CrossRef]
  13. Huang, Y.; Xue, W. Active Disturbance Rejection Control: Methodology and Theoretical Analysis. ISA Trans. 2014, 53, 963–976. [Google Scholar] [CrossRef]
  14. Feng, H.; Guo, B.Z. Active disturbance rejection control: Old and new results. Annu. Rev. Control 2017, 44, 238–248. [Google Scholar] [CrossRef]
  15. Xue, W.; Huang, Y. Comparison of the DOB Based Control, a Special Kind of PID Control and ADRC. In Proceedings of the 2011 American Control Conference, San Francisco, CA, USA, 29 June–1 July 2011; pp. 4373–4379. [Google Scholar]
  16. Zhong, S.; Huang, Y.; Guo, L. A Parameter Formula Connecting PID and ADRC. Sci. China Inf. Sci. 2020, 63, 192203. [Google Scholar] [CrossRef]
  17. Lin, P.; Wu, Z.; Fei, Z.; Sun, X.M. A Generalized PID Interpretation for High-Order LADRC and Cascade LADRC for Servo Systems. IEEE Trans. Ind. Electron. 2022, 69, 5207–5214. [Google Scholar] [CrossRef]
  18. Jung, J.W.; Leu, V.Q.; Do, T.D.; Kim, E.K.; Choi, H.H. Adaptive PID speed control design for permanent magnet synchronous motor drives. IEEE Trans. Power Electron. 2014, 30, 900–908. [Google Scholar] [CrossRef]
  19. Wang, Y.; Fang, S.; Hu, J. Active disturbance rejection control based on deep reinforcement learning of PMSM for more electric aircraft. IEEE Trans. Power Electron. 2022, 38, 406–416. [Google Scholar] [CrossRef]
  20. Kim, S.K.; Lee, K.G.; Lee, K.B. Singularity-free adaptive speed tracking control for uncertain permanent magnet synchronous motor. IEEE Trans. Power Electron. 2015, 31, 1692–1701. [Google Scholar] [CrossRef]
  21. Guo, L.; Parsa, L. Model reference adaptive control of five-phase IPM motors based on neural network. IEEE Trans. Ind. Electron. 2011, 59, 1500–1508. [Google Scholar] [CrossRef]
  22. Nguyen, A.T.; Rafaq, M.S.; Choi, H.H.; Jung, J.W. A model reference adaptive control based speed controller for a surface-mounted permanent magnet synchronous motor drive. IEEE Trans. Ind. Electron. 2018, 65, 9399–9409. [Google Scholar] [CrossRef]
  23. Zuo, Y.; Mei, J.; Zhang, X.; Lee, C.H.T. Simultaneous Identification of Multiple Mechanical Parameters in a Servo Drive System Using Only One Speed. IEEE Trans. Power Electron. 2021, 36, 716–726. [Google Scholar] [CrossRef]
  24. Zuo, Y.; Xie, S.; Cao, L.; Han, B.S.; Hoang, C.C.; You, C.; Chan, J.; Lee, C.H.T. A Novel Nonlinear Active Disturbance Rejection Controller for Speed Control of Electric Drives. In Proceedings of the 2022 IEEE Energy Conversion Congress and Exposition (ECCE), Detroit, MI, USA, 9–13 October 2022; pp. 1–5. [Google Scholar]
  25. Zhang, W. System identification based on a generalized ADALINE neural network. In Proceedings of the 2007 American Control Conference. IEEE, New York, NY, USA, 9–13 July 2007; pp. 4792–4797. [Google Scholar]
  26. Osorio-Arteaga, F.; Giraldo, E. Adaptive Neural Network Identification for Robust Multivariable Systems. IAENG Int. J. Appl. Math. 2024, 54, 68–76. [Google Scholar]
  27. Levine, W.S. The Control Handbook (Three Volume Set); CRC Press: Boca Raton, FL, USA, 2018. [Google Scholar]
Figure 1. Block diagram of conventional PI control system.
Figure 1. Block diagram of conventional PI control system.
Electronics 13 01067 g001
Figure 2. Block diagram of adaptive PI control system. (a) Adaptive PI-1. (b) Adaptive PI-2.
Figure 2. Block diagram of adaptive PI control system. (a) Adaptive PI-1. (b) Adaptive PI-2.
Electronics 13 01067 g002
Figure 3. Interpretation of adaptive PI controller using ADALINE. (a) Adaptive PI-1. (b) Adaptive PI-2.
Figure 3. Interpretation of adaptive PI controller using ADALINE. (a) Adaptive PI-1. (b) Adaptive PI-2.
Electronics 13 01067 g003
Figure 4. Block diagrams of the two practical adaptive PI control system. (a) Adaptive PI-1. (b) Adaptive PI-2.
Figure 4. Block diagrams of the two practical adaptive PI control system. (a) Adaptive PI-1. (b) Adaptive PI-2.
Electronics 13 01067 g004
Figure 5. Block diagram of the simulation system.
Figure 5. Block diagram of the simulation system.
Electronics 13 01067 g005
Figure 6. Simulation results under the sinusoidal speed reference without offset n r e f = 500 sin ( 10 π t ) r/min when J ^ 1 ( 0 ) = 1 g · m 2 and T C = 0 . (a) Conventional PI controller. (b) Adaptive PI-1 controller without identifying B ^ 1 . (c) Adaptive PI-1 controller identifying B ^ 1 .
Figure 6. Simulation results under the sinusoidal speed reference without offset n r e f = 500 sin ( 10 π t ) r/min when J ^ 1 ( 0 ) = 1 g · m 2 and T C = 0 . (a) Conventional PI controller. (b) Adaptive PI-1 controller without identifying B ^ 1 . (c) Adaptive PI-1 controller identifying B ^ 1 .
Electronics 13 01067 g006
Figure 7. Simulation results of the adaptive PI-1 controller under different T C . (a) Bipolar speed reference and T C = 0.1 Nm. (b) Bipolar speed reference and T C = 0.5 Nm. (c) Unipolar speed reference and T C = 0.5 Nm.
Figure 7. Simulation results of the adaptive PI-1 controller under different T C . (a) Bipolar speed reference and T C = 0.1 Nm. (b) Bipolar speed reference and T C = 0.5 Nm. (c) Unipolar speed reference and T C = 0.5 Nm.
Electronics 13 01067 g007
Figure 8. Simulation results under the sinusoidal speed reference with offset n r e f = 500 sin ( 10 π t π / 2 ) + 600 r/min when J ^ 1 ( 0 ) = 6   g · m 2 and T C = 0.1 Nm. (a) Conventional PI controller. (b) Adaptive PI controller-1 without identifying B ^ 1 . (c) Adaptive PI-1 controller identifying B ^ 1 .
Figure 8. Simulation results under the sinusoidal speed reference with offset n r e f = 500 sin ( 10 π t π / 2 ) + 600 r/min when J ^ 1 ( 0 ) = 6   g · m 2 and T C = 0.1 Nm. (a) Conventional PI controller. (b) Adaptive PI controller-1 without identifying B ^ 1 . (c) Adaptive PI-1 controller identifying B ^ 1 .
Electronics 13 01067 g008
Figure 9. Simulation results under the sinusoidal speed reference with offset n r e f = 500 sin ( 10 π t π / 2 ) + 600 r/min when J ^ 1 ( 0 ) = 1   g · m 2 and T C = 0.1 Nm. (a) Adaptive PI-1 controller. (b) Adaptive PI-2 controller. (c) Adaptive PI-2 controller without position measurement noise.
Figure 9. Simulation results under the sinusoidal speed reference with offset n r e f = 500 sin ( 10 π t π / 2 ) + 600 r/min when J ^ 1 ( 0 ) = 1   g · m 2 and T C = 0.1 Nm. (a) Adaptive PI-1 controller. (b) Adaptive PI-2 controller. (c) Adaptive PI-2 controller without position measurement noise.
Electronics 13 01067 g009
Figure 10. Zoomed-in view of the simulation results in Figure 9 from 1 s to 3 s. (a) Adaptive PI-1 controller. (b) Adaptive PI-2 controller. (c) Adaptive PI-2 controller without position measurement noise.
Figure 10. Zoomed-in view of the simulation results in Figure 9 from 1 s to 3 s. (a) Adaptive PI-1 controller. (b) Adaptive PI-2 controller. (c) Adaptive PI-2 controller without position measurement noise.
Electronics 13 01067 g010
Figure 11. Simulation results when starting with 2Nm and unloading to 0 Nm at 3 s. (a) Adaptive PI-1 controller. (b) Adaptive PI-2 controller. (c) Adaptive PI-2 controller without position measurement noise.
Figure 11. Simulation results when starting with 2Nm and unloading to 0 Nm at 3 s. (a) Adaptive PI-1 controller. (b) Adaptive PI-2 controller. (c) Adaptive PI-2 controller without position measurement noise.
Electronics 13 01067 g011
Table 1. Parameters of the examined PMSM.
Table 1. Parameters of the examined PMSM.
SymbolQuantitySymbolQuantity
Rated power P N 1.0 (kW)polePair numbers p n 4
Rated voltage U N 220 (V)D axis inductance L d 3.4 (mH)
Rated speed n N 2500 (r/min)Q axis inductance L q 3.4 (mH)
Rated torque T N 4.0 (Nm)Torque constant K t 0.71 (Nm/A)
Current limit I s m a x 9 (A)Coulomb friction torque T C 0.1 (Nm)
Stator resistance R s 1.18 (Ohm)Motor system inertia J2.35 ( g · m 2 )
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.

Share and Cite

MDPI and ACS Style

Zuo, Y.; Zhu, S.; Cui, Y.; Liu, C.; Lin, X. Adaptive PI Controller for Speed Control of Electric Drives Based on Model Reference Adaptive Identification. Electronics 2024, 13, 1067. https://doi.org/10.3390/electronics13061067

AMA Style

Zuo Y, Zhu S, Cui Y, Liu C, Lin X. Adaptive PI Controller for Speed Control of Electric Drives Based on Model Reference Adaptive Identification. Electronics. 2024; 13(6):1067. https://doi.org/10.3390/electronics13061067

Chicago/Turabian Style

Zuo, Yuefei, Shushu Zhu, Yebing Cui, Chuang Liu, and Xiaogang Lin. 2024. "Adaptive PI Controller for Speed Control of Electric Drives Based on Model Reference Adaptive Identification" Electronics 13, no. 6: 1067. https://doi.org/10.3390/electronics13061067

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop