Next Article in Journal
Experimental Thermal Response Study of Multilayered, Encapsulated, PCM-Integrated Building Construction Materials
Previous Article in Journal
Tariff Menus to Avoid Rebound Peaks: Results from a Discrete Choice Experiment with Swiss Customers
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive PI and RBFNN PID Current Decoupling Controller for Permanent Magnet Synchronous Motor Drives: Hardware-Validated Results

1
Department of Engineering Research Center of Ministry of Education for Renewable Energy Generation and Grid Connection Technology, Xinjiang University, Urumqi 830047, China
2
Chongqing Jiangjin Shipbuilding Industry Co., Ltd., Chongqing 402263, China
*
Author to whom correspondence should be addressed.
Energies 2022, 15(17), 6353; https://doi.org/10.3390/en15176353
Submission received: 27 July 2022 / Revised: 15 August 2022 / Accepted: 24 August 2022 / Published: 31 August 2022

Abstract

:
This study presents an adaptive proportional-integral (PI) and radial basis function neural network proportional-integral-derivative (PID) current control solution for permanent magnet synchronous motor (PMSM) drives. The proposed controller includes four controls: a decoupling term, a PI term, a supervision term, and a radial basis neural network-PID (RBFNN-PID) term. The first control term makes up the nonlinear factors, the second automatically adjusts the control gains, the third guarantees the system stability, and the fourth optimizes the PID parameters to achieve optimal system performance. Unlike off-line tuned PID controllers, the adaptive controller includes an adaptive tuning method for the on-line adjustment of control gain based on the gradient descent strategy. Therefore, it can be adjusted and handle the uncertainty of any system parameters. The program is not only simple and easy to be implemented but also ensures the accuracy and rapidity of the tracking speed. The control system has proven to be asymptotically stable. To verify the theory and application of the algorithm, a comparative experiment between the adaptive PI + RBFNN-PID controller and traditional PI + PID controller was conducted, demonstrating good robustness, which can effectively improve the PMSM. The results confirm that the proposed design achieves excellent control stability (i.e., quicker transient responding and smaller steady state error) in the presence of parametric uncertainty compared to conventional PID methods.

1. Introduction

Currently, AC motors are widely used in household appliances and industrial fields, with examples including power cars, wind power systems, industrial robotics, air conditioning (ac), and washing machines. There are two main types of AC motors: asynchronous motor (IM) and PMSM. About 70% of industrial motors are IM because of its simplicity, durability, and low production cost [1,2,3,4,5]. However, the permanent magnet synchronous motor (PMSM) is gradually replaced by people because of its high efficiency, low maintenance cost and high power density. However, the permanent magnet synchronous motor (PMSM) system is a nonlinear multivariable system whose performance is not easy to control due to changes in operating parameters [6,7,8,9]. Therefore, it is necessary to develop a high-performance controller with a simple algorithm, quick response time, extremely high precision and strong robustness. The motor parameters and load torque variations of a proportional-integral-differential (PID) controller are used to operate permanent magnet synchronous motor (PMSM) system in industry because of its simplicity, definitude of function and high efficiency [10]. However, one of the main problems with conventional PID controllers is sensitivity to the uncertainties of the system. Therefore, the control performance of traditional PID methods is severely degraded due to parameter changes. Some researchers surmount this shortcoming by designing mixed PID controllers or new adjusting rules [11,12,13]. As shown in [11], a mixed control system consisting of a transient fuzzy controller and a steady-state PI controller is proposed. Additionally [12] adjusted PI gain with fuzzy rules. However, these two methods both use off-line adjustment rules and lack adaptability to the uncertainty of time-varying systems in contrast to the adaptive PI controller with on-line regulation shown in [13]. Although the controller did not require any precise knowledge of motor parameters, there were no tested uncertain parameters. Recently, several researchers have proposed many advanced control strategies including fuzzy logic control (FLC) with nonlinear optimal control for the effective control of PMSM systems, nonlinear optimal control (NOC) with sliding mode control (SMC), neural network control, and adaptive control FLC [14]. Because of its fuzzy reasoning ability [15] has become a research hotspot. However, as the number of fuzzy rules adds, the control precision becomes greater, but the control algorithm becomes increasingly complex. NOC has been successfully introduced and applied to PMSM controllers [16,17]. Unfortunately, these controllers need sufficient knowledge and accuracy of motor parameters and has not yet been tested with drastic changes in mechanical parameters. Because of its robustness to external load disturbance and fast dynamic response, SMC is widely used in the speed control of permanent magnet synchronous motors [18,19,20,21]. Yet, the system dynamics are still susceptible to parameter changes and flutter problems. At the same time, another design method of speed control using NNC for permanent magnet synchronous motor system has been proposed [22,23,24]. One of the most important features of this technique is its advantage to approach linear or non-linear mappings by learning. Though its high complexity results in the control algorithm limits its implementation in practical applications. Adaptive control is another interesting approach because it can handle variable motor parameters and load torque for permanent magnet synchronous motor drives as shown in [25,26]. However, these two studies only considered changes in stator inductance and load torque. Other motor parameters present uncertainty such as stator resistance, moment of inertia, and viscous friction coefficient. In addition, convergence conditions for system dynamic errors are not guaranteed for the adaptive control algorithm [26].
This study combines the simple and effective traditional PI + PID controller with the self-tuning capabilities of adaptive control to designed a better adaptive PI + RBFNN-PID controller for permanent magnet synchronous motor drives. The controller contains an adaptive tuning law designed to tune the control gain on-line using the method of gradient descent. Thus, when the parameters are changed, the PI + PID-RBFNN gain will be auto-adjusted to the optimal value. Therefore, good dynamic response can be obtained even when the system parameters are uncertain. The Lyapunov stability theory describes the stability analysis of the proposed control strategy in detail. The experimental results for the current fluctuation and current response time show that the proposed adaptive PI + RBFNN-PID control scheme is effective and feasible when compared with the traditional PI + PID control scheme under the condition of uncertain parameters. In Section 2, the model is defined. In Section 3, the adaptive PI and PID controllers are defined, and the performance is analyzed. In Section 4, the RBFNN-PID controller is defined, and the performance and advantage of the NN compensator from RBFNN-PID is verified. In Section 5, a comparison between the conventional PI + PID method and the proposed adaptive PI +RBFNN-PID method for the current fluctuation and current response time is completed.

2. System Dynamic Error and Model Description

2.1. The Model Description from the System

The torque balance equation of a PMSM [27] is:
τ e m = J e q d ω m / d t + B a ω m + T L ,
where J e q is the inertia of the motor; ω m is the motor rotational speed; B a is the friction coefficient; T L is the load torque; and τ e m is the electromagnetic drive torque, which depends on the type of PMSM. For a PM motor, τ e m can be expressed as follows:
τ e m = P ( ψ f i s q ) PM   motor  
where P represents the number of motor pole pairs. Finally, the relationship between ω m and ω e is given by:
ω e = ω m P .
A mathematical model of a SMT permanent rotating reference frame motor driver can be described by the following equations in the d, q rotating reference frame
{ i ˙ d = R s L d i d + 1 L d V d + ω e i q i ˙ q = R s L q i q ψ f L q ω e + 1 L q V q ω e i d ,
where ω e is the rotor speed of PMSM; i d and i q are the d and q stator current, respectively; V q and V d are the d and q voltage input, respectively; L d and L q is the d and q stator inductance, respectively; R s is the stator resistance; and ψ f is the flux linkage.

2.2. The Dynamic Error System

To improve the stability of a PMSM, the errors and integral of errors are joined. The dynamic errors between i d and its reference value, i d * , and between i q and its reference value, i q * , are defined as:
{ e d = i d * i d e q = i q * i q .
The integrals of e q and e d are defined as:
{ δ d = 0 t e d d t δ q = 0 t e q d t .
A positive definite Lyapunov function is constructed as:
V = 1 2 e d 2 + 1 2 e q 2 + 1 2 k i d δ d 2 + 1 2 k i q δ q 2 .
The derivative of V to t gives the following result:
V ˙ = e d [ i ˙ d * 1 L d ( u d R s i d + ω e L q i q ) + k i d δ d ] + e q [ i ˙ q * 1 L q ( u q R s i q ω e L d i d ω e ψ f ) + k i q δ q ] ,
{ V d = L d i ˙ d * + R s i d + k 1 L d e d + k i d L d δ d ω e L q i q V q = L q i ˙ q * + R s i q + k 2 L q e q + k i q L q δ q + ω e L d i d + ω e ψ f ,
{ V d = L d i ˙ d + R s i d + L d e ˙ d + k 1 L d e d + k i d L d δ d ω e L q i q V q = L q i ˙ q + R s i q + L q e ˙ q + k 2 L q e q + k i q L q δ q + ω e L d i d + ω e ψ f .

3. Design of the Adaptive PI and PID Controller

3.1. Traditional PI and PID Compound Control with Decoupling Technology

The equation for V d q and the conventional adaptive PI design are as follows:
V d q = u 1 + u 2 + u n n ,
The voltage equation of the mathematical model of SPMSM is as follows:
{ u 1 d = L d i ˙ d + R s i d ω e L q i q u 1 q = L q i ˙ q + R s i q + ω e L d i d + ω e ψ f ,
Depending on R s , L d , L q , and ψ f , the system parameters β 1 β 5 can be expressed as:
β 1 = R s L d ,   β 2 = 1 L d ,   β 3 = R s L q ,   β 4 = 1 L q ,   β 5 = ψ f L q
The mathematical model of the current equation obtained by combining Equations (12) and (13) is:
{ i ˙ d = β 1 i d + β 2 u 1 d + ω e i q i q = β 3 i q + β 4 u 1 q β 5 ω e ω e i d ,
where u 1 , as shown in Equation (11), is as follows:
u 1 = u 0 + u P I + u s
From Equations (12) and (13), the models of the error system are as follows:
{ u 1 d = ( β 1 i d ω e i q ) / β 2 u 1 q = ( β 3 i q + β 5 ω e + ω e i d ) / β 4 ,
From Equations (12), (14), and (16), Equation (14) is expressed as:
{ i ˙ d = β 2 ( u 1 d u 0 d ) i q = β 4 ( u 1 q u 0 q ) ,
u 1 d q can be rewritten in vector form as:
u 1 d q = [ β 2 u 1 d β 4 u 1 q ] = A [ u 1 d u 1 q ] = u 0 + u P I ,
The value of the coefficient A is as follows:
A = [ β 2 0 0 β 4 ] ,
The value of the coefficient u P I is as follows:
u P I = [ u 1 P I u 2 P I ] = [ K 1 P i d K 1 I 0 t i d d t K 2 P i q K 2 I 0 t i q d t ] , = E K
where K 1 P , K 1 I , K 2 P , K 2 I are the proportional gain, integral gain and differential gain of the PI controller, respectively. The equation of state and gain matrices are expressed as:
E = [ 0 t i d d t i d 0 0 0 0 0 t i q d t i q ] ,
K = [ K 1 I K 1 P K 2 I K 2 P ] Τ ,
It is important to note that the derivative of the current model is usually convoluted and, therefore, was excluded in Equation (22).
Adaptive PI relies on on-line parameter tuning, which solves the problem of matching the motor’s internal parameters and enables a rapid response system. The proposed adaptive PI controller can be expressed as:
u 1 d q = u 0 + u P I u P I 0 + u s .

3.2. The Proposed Adaptive PI Controller

The latest trajectory error vectors under the reduced-order dynamics of SMC are used to obtain an adaptive tracking error rule.
s ( t ) = [ s 1 ( t ) s 2 ( t ) ] = [ i d i q ] .
From the viewpoint of sliding mode control, the conditions for the existence of sliding mode and collision mode are derived according to Lyapunov. In general, the Lyapunov candidate function for the SMC is expressed by V 1 = 1 / 2 s Τ s . Then, the slip can be derived from the Lyapunov theory that can verify the slip of the system, which is given by:
V ˙ 1 ( t ) = s Τ s ˙ < 0 .
The SMC condition requires that s 0 as t . To obtain the adaptive regulation of the PI gain, the supervised gradient method is used to decrease the SMC condition. The method of the gradient descent algorithm is computed in the opposite direction of the power flows and yields the stable characteristics of the PID gains. Therefore, the four adaptive laws governing the gain, K 1 P , K 1 I K 2 P , and K 2 I , are easily obtained under the supervisory gradient method, that is as follows:
K ˙ 1 P = γ 1 P V 1 K 1 P = γ 1 P V 1 u 1 P I u 1 P I K 1 P = γ 1 P s 1 i d , K ˙ 1 I = γ 1 I V 1 K 1 I = γ 1 I V 1 u 1 P I u 1 P I K 1 I = γ 1 I s 1 0 t i d d t , K ˙ 2 P = γ 2 P V 1 K 2 P = γ 2 P V 1 u 2 P I u 2 P I K 2 P = γ 2 P s 2 i q , K ˙ 2 I = γ 2 I V 1 K 2 I = γ 2 I V 1 u 2 P I u 2 P I K 2 I = γ 2 I s 2 0 t i q d t ,
where γ 1 P , γ 1 I , γ 2 P , γ 2 I are the learning rates that are positive.
The adaptive adjusting method can be expressed in the following vector form:
K ˙ = ϕ E Τ s ,
where ϕ = d i a g ( γ 1 I , γ 1 P , γ 2 I , γ 2 P ) .
Remark 1.
Using on-line adjustment, the control gain can be adjusted automatically with the change of system parameters. Thus, the designed adaptive PID controller can overcome the drawbacks of all off-line adjustment methods and provide good performance without being affected by the uncertainty of the system parameters.
Next, a monitor is required to pull the dynamic error back to a predetermined bounded area and guarantee the stability of the system. Suppose there is an optimized PI control ( u P I * ) such that:
u P I * = u P I 0 + ε ,
where K * = [ K 1 I * K 1 p * K 2 I * K 2 P * ] Τ is the optimal gain matrix and ε = [ ε 1 ε 2 ] Τ , where ε 1 and ε 2 are the approximation inaccuracies, and they are assumed to be bounded by 0 | ε 1 | α 1 and 0 | ε 2 | α 2 , in which α 1 , α 2 are the positive constants. Then, the projection for the regulatory controls is as follows:
u s = [ α 1 sgn ( s 1 ) α 2 sgn ( s 2 ) ] .
Through integrating the decoupling control terms, the PID control terms with adaptive laws, and the supervisory control terms, the desired controller is obtained as u 1 d q = u 0 d q + u P I + u s .

4. RBFNN-PID Controller Design

4.1. The Proposed Adaptive RBFNN-PID Controller

RBFNN incremental PID trajectory tracking is superior to traditional PID control in terms of adaptability, robustness and real-time performance. Unlike the conventional PID controller, it has a highly adaptive learning ability and meets the requirements for a nonlinear controller.
The expression of u 2 is:
u 2 = u P I D + u 2 s ,
e ˙ = σ ,
{ u 2 d = L d σ d + k 1 L d e d + k i d L d δ d u 2 q = L q σ q + k 2 L q e q + k i q L q δ q .
Μ = [ δ d e d σ d 0 0 0 0 0 0 δ q e q σ q ] .
Ζ = [ Z 3 I Z 3 P Z 3 D Z 4 I Z 4 P Z 4 D ] Τ .
The latest error tracking vector based on PID with the dynamics of SMC is given as:
Ω ( t ) = [ Ω 1 ( t ) Ω 2 ( t ) ] = [ 1 s e d + e d + s e d 1 s e q + e q + s e q ] .
Then, the transfer function from s 3 is obtained by strictly positive real functions:
G ( p ) = e d s 3 = 1 1 s + s + 1 ,
where s is regarded as the Laplace variable. Therefore, it is to be stated that e d be astringent to zero when the condition of s 0 is satisfied.
Z ˙ 1 P = η 1 P V 2 K 3 P = η 1 P Ω 1 e d , Z ˙ 1 I = η 1 I V 2 K 3 I = η 1 I Ω 1 δ d , Z ˙ 1 D = η 1 D V 2 K 3 D = η 1 D Ω 1 σ d , Z ˙ 2 P = η 2 P V 2 K 4 P = η 2 P Ω 2 e q , Z ˙ 2 I = η 2 I V 2 K 4 I = η 2 I Ω 2 δ q , Z ˙ 2 D = η 2 D V 2 K 4 D = η 2 D Ω 2 σ q ,
where η 1 p , η 1 I , η 1 D , η 2 p , η 2 I , η 2 D are the positive learning rates.
Z ˙ = ξ Μ Τ Ω ,
where ξ = d i a g ( η 3 I , η 3 P , η 3 D , η 4 I , η 4 P , η 4 D ) .
Remark 2.
With on-line regulation, the control gain can be auto-adjustment as the system parameters change. Hence, the proposed RBFNN-PID controller can overcome the drawbacks of all off-line regulation methods and show good performance while ignoring the uncertainty of the system parameters.
u 2 s = [ α 3 × sgn ( s 3 ) α 4 × sgn ( s 4 ) ]

4.2. NN Compensator in RBFNN-PID

RBFNN is an efficient feedforward neural network, which has the characteristics of good approximation and generalization performance, a simple structure and fast learning speeds [28,29]. RBF neural network is used in the compensator, but it is not suitable for the multilayer neural network proposed in references [30,31,32]. The main structure of the RBFNN shown in the orange frames of Figure 1 consists of three layers [33]: an input layer with five variables, an output layer, u * , and a hidden layer governed by a Gaussian function.
V * = V q d s + u * .
Layer one is the input layer. In this layer, inputs x are to be used in the next layer.
x = [ 0 t i d i d δ d e d e ˙ d 0 t i q i q δ q e q e ˙ q ] , x = [ 0 t i d i d δ d e d e ˙ d 0 t i q i q δ q e q e ˙ q ] ,
Layer two is the hidden layer—this layer consists of a series of computational cells of hidden neurons. Each neuron is activated by an RBF. The output of the hidden layer is computed by:
h j ( x , c , d ) = exp ( x c j 2 2 d j 2 ) , j = 1 m ,
where m is the number of neurons; c j = [ c j 1 c j n ] is the center vector of neuron j; d j is the standard deviation of the j t h RBF, d = [ d 1 d m ] Τ ; and h j is the Gaussian function for neuron j.
Layer three is the export layer. The output indicator at this level is a linear weighted portfolio:
f ( x ) = j = 1 m W j i h j ( x , c , d ) , i = 1 n ,
where W j i refers to the weight, which connects the j t h hidden node to the i t h output, and n is the number of inputs.
In the designed neural network compensator, the input signal from layer one is the referred track vector, and the output from layer three is used for modeling difference, external disturbance and no modeling part. The NN compensator is used to create the non-linear projections between the referred track and the non-modeled dynamics, but it cannot achieve the whole optimal approximation. The center vector c and the standard deviation d are unchanged within the reference trajectory and the number of neurons. Because the radial basis function has the ability of nonlinear approximation, the best approximation u * can be described by:
u * = f * ( x ) ε 2 = W * h ( x ) ε 2 ,
where f * ( x ) is the output vector from the hidden layer; W * is the optimal weight value vector; and ε 2 is a minimum approximating error. Due to the characteristics of the RBFNN, the following practical assumptions hold.
Assumption 1.
The approximation error ε 2 is a small real constant. If the hidden layer has enough neurons, that is, the absolute value of ε 2 can be any small number, i.e.,
f ^ ( x ) = W ^ h ( x ) ,
u * = f ^ ( x ) + W ˜ h ( x ) ε 2 .
There is an optimal value u n n that satisfies the following conditions u * :
{ u * + f d ε 1 u * ( e + δ + σ ) 0 ( e + δ + σ ) ( u * + f d ) ε ,
f ^ ( x ) + W ˜ h ( x ) + f ε 1 + ε 2 = ε ,
where W ˜ = W * W ^ refers to the estimation error of the weight vector.
u n n from Equation (11) satisfies the condition as:
u n n = f ^ ( x ) v tanh [ v σ + e + δ ] v > 0 , W ^ ˙ i = Θ i h i p , i 1 , 2 , m , p = δ + e + σ ,
where Θ i = d i a g [ Θ 1 , Θ 2 Θ m ] is a positive symmetry theorem.

4.3. Stability and Analysis

To analyze system stability, the tracking theorem is as follows:
Theorem 1.
Regarding the dynamic error system represented by Equation (16). On the condition of applying with an adaptive PI + RBFNN-PID current controller, Equation (23), which having adaptive tuning method, Equation (26), the dynamic error system expresses asymptotically being stability.
Proof. 
The next equation can be deduced from Equations (16), (23), and (28):
s ˙ = B ( u P I + u s u P I * + u P I * u P I 0 ) = B ( E K ˜ + u s ε ) ,
where K ˜ = K K * .
The control gain error is defined as follows:
K ˜ 1 P = K 1 P K * 1 P ,   K ˜ 1 I = K 1 I K * 1 I K ˜ 2 P = K 2 P K * 2 P ,   K ˜ 2 I = K 2 I K * 2 I .
On the basis of Equations (50) and (51), the following Lyapunov candidate functions were selected:
V 2 ( t ) = 1 2 s T B 1 s + 1 γ 1 P K ˜ 1 P 2 + 1 γ 1 I K ˜ 1 I 2 + 1 γ 2 P K ˜ 2 P 2 + 1 γ 2 I K ˜ 2 I 2
The Lyapunov function, V 2 ( t ) , derivative of time is given by:
V ˙ 2 ( t ) = 1 2 s T B 1 s ˙ + 1 γ 1 P K ˜ 1 P K ˙ 1 P + 1 γ 1 I K ˜ 1 I K ˙ 1 I + 1 γ 2 P K ˜ 2 P K ˙ 2 P + 1 γ 2 I K ˜ 2 I K ˙ 2 I = s T B 1 B ( E K ˜ + u s k ) + K ˜ T ϕ 1 K ˜ ˙ = s T ( E K ˜ [ α 1 sgn ( s 1 ) α 2 sgn ( s 2 ) ] ε ) K ˜ T ϕ 1 ϕ E T s = α 1 | s 1 | α 2 | s 2 | ε 1 s 1 ε 2 s 2 ( α 1 | ε 1 | ) | s 1 | ( α 2 | ε 2 | ) | s 2 | 0 .
Using the adaptive PI controller, Equation (23), with adaptive tuning laws, Equation (26), for non-zero values, the relevant inequalities can be obtained for the tracking error vector s ˙ , satisfied that V ˙ 2 ( t ) is a negative semi-infinite function [ i . e . , V 2 ( t ) V 2 ( 0 ) ] , and s and K ˜ must be bounded. The Ω ( t ) can be expressed as Ω ( t ) ( α 1 | γ 1 | ) | s 1 | + ( α 1 | γ 1 | ) | s 2 | , and the following inequality can be obtained from Equation (23):
0 t Ω ( τ ) d τ V 2 ( 0 ) V 2 ( t ) ,
Since V 2 ( 0 ) and V 2 ( t ) are bounded and non-increasing, the following inequalities are deduced to be:
lim t 0 t Ω ( τ ) d τ .
Meanwhile, as long as s is bounded, Equation (25) indicates that V is also bounded. Then, Ω ( τ ) is uniform and continuous. By applying Barbalat’s lemma [34], it can be found that lim t Ω ( τ ) = 0 . Therefore, s 0 as t  and the adaptive PI + RBFNN-PID controller will keep asymptotic stability even if the parameters of the motor change and external load disturbance occurs.
Remark 3.
It should be noted that the adaptive PI control strategy proposed in this paper is suitable for various electrical systems, and its mathematical form is shown in Equation (16). The general design process of the designed control strategy can be overviewed as follows.
Step one: Use the pole placement method [35,36] to select the initial value of the PI gain.
Step two: Structure the decoupling control term u 0 d , and term u 0 q as Equation (14) and the supervision and control term u s as Equation (29).
Step three: Organize the PI control term u P I as Equation (20) with the self-adaptive control as Equation (26).
Step four: The desired laws from Equation (23) are obtained by combining the three controls in Equations (14), (20) and (29).
The stability analysis of RBFNN-PID is the same as the adaptive PI.

5. Experimental Validation

5.1. Drive System Settings

An experimental platform was set up with the core controller (TMS320F28335) from the TI company. The decoupling control of the PMSM was verified based on the current deviation control effect of the sliding mode control strategy. The program of the designed adaptive PI + RBFNN-PID control algorithm was followed as shown in Figure 2. The general design process of the control scheme was followed as shown in Figure 3, as proposed by F28335DSP, and the hardware was set up following the structure diagram of the all-digital control system based on the DSP as shown in Figure 4. The PMSM was a 400 W stepper motor drag model (YH57BYGH56). The PWM switching frequency of the DSP processor was set to 10 kHz, and the DC bus voltage provided by the output DC regulated power supply was set to 30V. The EPWM and RC filter circuit equivalent for the analog-to-digital conversion chip (ADC) and current analog signal output to the oscilloscope. The given parameters from the SPMSM controller are shown in Table 1.

5.2. Research Program

To evaluate the characteristics of the theory and application of the proposed control strategy, it was tested under two research scenarios including susceptible load torque and under inductance parameter variations. The adjusting performance of the designed control strategy was evaluated by the current response time in response to stepwise changes in load torque. In addition, the robust nature of the motor parameters to the control system was verified by the magnitude of current fluctuation as the electrical parameters vary with the temperature and stator current during system operation.

5.3. Experimental Results

Scenario One: In this scenario, the given speed ( ω d ) was set to 2000 r/min with inductance parameters of L d = 1.2 L ^ d , L q = 0.8 L ^ q . At 0.3 s, the load torque ( T L ) was suddenly changed from 3 N.m to 6 N·m. Figure 5 shows the experimental waveform of the designed adaptive PI + RBFNN-PID controller is compared with the conventional PI controller experimental waveform shown in Figure 6. Figure 5 and Figure 6 show the changes by the d-axis stator current ( i d s ) and q-axis current ( i q s ). It was found from Figure 5 and Figure 6 that after applying the adaptive whole law, the adjustment performance of the traditional PI + PID control system was apparently improved. That is, the proposed control scheme stabilized quickly with a fast dynamic time response (settling time: 123 ms) in the case of sudden changes of load torque. Conversely, as can be seen from Figure 6, the conventional PI + PID controller still performed poorly with the load torque step changes due to the adjusting time of 417 ms and poor waveform. It is worth noting that the gain of the conventional PI + PID controller can be adjusted to rated parameters through widely simulation several times. As shown in Figure 6, the stability performance varies widely because it lacks the NN tuning that enhances system stability under parameter uncertainty. What is more, under the condition of the same variation of motor inductance parameters, the fluctuation range of the current in Figure 5 is much smaller than the fluctuation range of the current in Figure 6, which shows the robustness of the proposed control strategy to parameter changes. Scenario Two: In this scenario, the value of the given speed ( ω d ) was set to 2000 r/min with inductance parameters of L d = 0.8 L ^ d , L q = 1.2 L ^ q . At 0.6 s the load torque ( T L ) suddenly changed from 6 N·m to 3 N·m under system motor inductance parameter variations. From Figure 7 and Figure 8, the experimental waveform of the designed adaptive PI + RBFNN-PID controller is compared with that of the conventional PI controller. In detail, Figure 7 and Figure 8, each display the changes of the d-axis stator current and q-axis stator current. In these data, the proposed adaptive PI + RBFNN-PID control scheme (regulation time: 313 ms) had a faster dynamic performance than the traditional PI + PID control scheme (regulation time: 441 ms), which shows very poor stability under the parameter uncertainties and load torque step. What is more, under the condition of the same variation of motor inductance parameters, the fluctuation range of the current in Figure 7 is much smaller than the fluctuation range of the current in Figure 8. At the same time, this shows the robustness of the proposed control strategy to parameter changes.

6. Conclusions

In this study, an adaptive PI + RBFNN-PID control strategy for current was designed for PMSM drives using a simple and easy control algorithm. This paper presents an adaptive tuning method, which can automatically adjust the gain of PI+ PID controls so as to obtain a good current response performance. The method used the gradient descent adaptive tuning method. Therefore, the control scheme proposed in this paper can ensure the accuracy and rapidity of current in the case of system inductor parameter changes and load interference from outside. The control system stability was analyzed exhaustively. The effectiveness of the control strategy was verified through experiments. As a comparison, the traditional PI + PID controller and proposed controller were tested under the same conditions. The experimental results showed that compared with the traditional PI + PID control method, the proposed adaptive PI + RBFNN-PID control algorithm significantly improved control performance. The main results of the study are the following:
  • A new adaptive PI + RBFNN-PID control strategy was proposed, and detailed design steps were given.
  • The Lyapunov method provided mathematical proof of control system stability, zero convergence and the pertinent lemmas.
  • We verified the adaptive PI + RBFNN-PID control method and showed that we tested the adaptive PI + RBFNN-PID control scheme and the SPMSM driver can accurately track the speed under the change of motor parameters and external load disturbance.
  • The results were given and the traditional PI + PID controller results were compared. Currently, many researchers are developing new PI + PID gain analysis and tuning methods, and the proposed adaptive PI + RBFNN-PID control method contributes to reducing the difficulty of these tasks.

Author Contributions

Supervision, W.W. and H.W.; Writing—original draft, X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the National Natural Science Foundation of China under Grant 51667020, 51666017, and Tianshan Cedar Project of Xinjiang Autonomous Region (2017XS02), Innovation Team of the Ministry of Education.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wang, G.; Zhan, H.; Zhang, G.; Gui, X.; Xu, D. Adaptive Compensation Method of Position Estimation Harmonic Error for EMF-Based Observer in Sensorless IPMSM Drives. IEEE Trans. Power Electron. 2013, 29, 3055–3064. [Google Scholar] [CrossRef]
  2. Kovacs, P.K. Transient Phenomena in Electrical Machines; Elsevier: New York, NY, USA, 1984. [Google Scholar]
  3. Sim, H.-W.; Lee, J.-S.; Lee, K.-B. On-line Parameter Estimation of Interior Permanent Magnet Synchronous Motor using an Extended Kalman Filter. J. Electr. Eng. Technol. 2014, 9, 600–608. [Google Scholar] [CrossRef]
  4. Bolognani, S.; Calligaro, S.; Petrella, R. Adaptive Flux-Weakening Controller for IPMSM Drives. In Proceedings of the IEEE Energy Conversion Congress and Exposition, ECCE, Phoenix, AZ, USA, 17–22 September 2011; pp. 2437–2444. [Google Scholar] [CrossRef]
  5. Kim, J.; Jeong, I.; Lee, K.; Nam, K. Fluctuating Current Control Method for a PMSM Along Constant Torque Contours. IEEE Trans. Power Electron. 2014, 29, 6064–6073. [Google Scholar] [CrossRef]
  6. Sekour, M.; Hartani, K.; Draou, A.; Allali, A. Sensorless Fuzzy Direct Torque Control for High Performance Electric Vehicle with Four In-Wheel Motors. J. Electr. Eng. Technol. 2013, 8, 530–543. [Google Scholar] [CrossRef]
  7. Zhang, X.; Sun, L.; Zhao, K.; Sun, L. Nonlinear Speed Control for PMSM System Using Sliding-Mode Control and Disturbance Compensation Techniques. IEEE Trans. Power Electron. 2013, 28, 1358–1365. [Google Scholar] [CrossRef]
  8. Lin, H.; Hwang, K.-Y.; Kwon, B.-I. An Improved Flux Observer for Sensorless Permanent Magnet Synchronous Motor Drives with Parameter Identification. J. Electr. Eng. Technol. 2013, 8, 516–523. [Google Scholar] [CrossRef]
  9. Dang, D.Q.; Vu, N.T.T.; Choi, H.H.; Jung, J.W. Neural-fuzzy control of interior permanent magnet synchronous motor: Stability analysis and implementation. J. Electr. Eng. Technol. 2013, 8, 1439–1450. [Google Scholar] [CrossRef]
  10. Ang, K.H.; Chong, G.; Li, Y. PID Control System Analysis, Design, and Technology. IEEE Trans. Control Syst. Technol. 2005, 13, 559–576. [Google Scholar]
  11. Sant, A.V.; Rajagopal, K.R. PM Synchronous Motor Speed Control Using Hybrid Fuzzy-PI with Novel Switching Functions. IEEE Trans. Magn. 2009, 45, 4672–4675. [Google Scholar] [CrossRef]
  12. Jung, J.-W.; Choi, Y.-S.; Leu, V.; Choi, H. Fuzzy PI-type current controllers for permanent magnet synchronous motors. IET Electr. Power Appl. 2011, 5, 143–152. [Google Scholar] [CrossRef]
  13. Hernandez-Guzman, V.M.; Silva-Ortigoza, R. PI Control Plus Electric Current Loops for PM Synchronous Motors. IEEE Trans. Control Syst. Technol. 2010, 19, 868–873. [Google Scholar] [CrossRef]
  14. Lian, K.-Y.; Chiang, C.-H.; Tu, H.-W. LMI-Based Sensorless Control of Permanent-Magnet Synchronous Motors. IEEE Trans. Ind. Electron. 2007, 54, 2769–2778. [Google Scholar] [CrossRef]
  15. Cheng, K.-Y.; Tzou, Y.-Y. Fuzzy Optimization Techniques Applied to the Design of a Digital PMSM Servo Drive. IEEE Trans. Power Electron. 2004, 19, 1085–1099. [Google Scholar] [CrossRef]
  16. Do, T.D.; Kwak, S.; Choi, H.H.; Jung, J.-W. Suboptimal Control Scheme Design for Interior Permanent-Magnet Synchronous Motors: An SDRE-Based Approach. IEEE Trans. Power Electron. 2013, 29, 3020–3031. [Google Scholar] [CrossRef]
  17. Do, T.D.; Choi, H.H.; Jung, J.-W. SDRE-Based Near Optimal Control System Design for PM Synchronous Motor. IEEE Trans. Ind. Electron. 2011, 59, 4063–4074. [Google Scholar] [CrossRef]
  18. Leu, V.Q.; Choi, H.H.; Jung, J.-W. Fuzzy Sliding Mode Speed Controller for PM Synchronous Motors with a Load Torque Observer. IEEE Trans. Power Electron. 2011, 27, 1530–1539. [Google Scholar] [CrossRef]
  19. Baik, I.-C.; Kim, K.-H.; Youn, M.-J. Robust nonlinear speed control of PM synchronous motor using boundary layer integral sliding mode control technique. IEEE Trans. Control Syst. Technol. 2000, 8, 47–54. [Google Scholar] [CrossRef]
  20. Xu, Z.; Rahman, M. Direct torque and flux regulation of an IPM synchronous motor drive using variable structure control approach. IEEE Trans. Power Electron. 2007, 22, 2487–2498. [Google Scholar] [CrossRef]
  21. Jezernik, K.; Korelic, J.; Horvat, R. PMSM sliding mode FPGA-based control for torque ripple reduction. IEEE Trans. Power Electron. 2012, 28, 3549–3556. [Google Scholar] [CrossRef]
  22. Chen, D.-F.; Liu, T.-H. Optimal controller design for a matrix converter based surface mounted PMSM drive system. IEEE Trans. Power Electron. 2003, 18, 1034–1046. [Google Scholar] [CrossRef]
  23. Lin, F.J.; Chou, P.H.; Chen, C.S.; Lin, Y.S. DSP-based cross-coupled synchronous control for dual linear motors via intelligent complementary sliding mode control. IEEE Trans. Ind. Electron. 2012, 59, 1061–1073. [Google Scholar] [CrossRef]
  24. Lin, F.-J.; Hung, Y.-C.; Hwang, J.-C.; Tsai, M.-T. Fault-Tolerant Control of a Six-Phase Motor Drive System Using a Takagi–Sugeno–Kang Type Fuzzy Neural Network With Asymmetric Membership Function. IEEE Trans. Power Electron. 2012, 28, 3557–3572. [Google Scholar] [CrossRef]
  25. Vilathgamuwa, D.M.; Rahman, M.; Tseng, K. Nonlinear control of interior permanent magnet synchronous motor. IEEE Trans. Ind. Appl. 2003, 39, 408–416. [Google Scholar] [CrossRef]
  26. Uddin, M.N.; Chy, M.I. Online Parameter-Estimation-Based Speed Control of PM AC Motor Drive in Flux-Weakening Region. IEEE Trans. Ind. Appl. 2008, 44, 1486–1494. [Google Scholar] [CrossRef]
  27. Mohan, N. Advanced Electric Drives—Analysis, Modeling and Control Using Simulink; Minnesota Power Electronics Research & Education (MNPERE): Minneapolis, MN, USA, 2001. [Google Scholar]
  28. Ortombina, L.; Tinazzi, F.; Zigliotto, M. Adaptive Maximum Torque per Ampere Control of Synchronous Reluctance Motors by Radial Basis Function Networks. IEEE J. Emerg. Sel. Top. Power Electron. 2018, 7, 2531–2539. [Google Scholar] [CrossRef]
  29. Ortombina, L.; Tinazzi, F.; Zigliotto, M. Magnetic Modeling of Synchronous Reluctance and Internal Permanent Magnet Motors Using Radial Basis Function Networks. IEEE Trans. Ind. Electron. 2017, 65, 1140–1148. [Google Scholar] [CrossRef]
  30. Gong, J.; Yao, B. Neural network adaptive robust control of nonlinear systems in semistrict feedback form. Automatica 2001, 37, 1149–1160. [Google Scholar] [CrossRef]
  31. Gong, J.; Yao, B. Neural network adaptive robust control of SISO onlinear systems in a normal form. Asian J. Control 2001, 3, 96–110. [Google Scholar] [CrossRef]
  32. Gongand, J.; Yao, B. Neural network adaptive robust control with application to precision motion control of linear motors. Int. J. Adapt. Control. Signal Process. 2001, 15, 837–864. [Google Scholar]
  33. Van, C.; Wang, Y. Adaptive trajectory tracking neural network control with robust compensator for robot manipulators. Neural Comput. Appl. 2016, 27, 525–536. [Google Scholar]
  34. Slotine, J.J.E.; Li, W. Applied Nonlinear Control; Prentice-Hall: Englewood Cliffs, NJ, USA, 1991. [Google Scholar]
  35. Argoun, M.B. On the stability of low-order perturbed polynomials. IEEE Trans. Autom. Control 1990, 35, 180–182. [Google Scholar] [CrossRef]
  36. Jung, J.-W.; Choi, H.-H.; Kim, T.-H. Fuzzy PD Speed Controller for Permanent Magnet Synchronous Motors. J. Power Electron. 2011, 11, 819–823. [Google Scholar] [CrossRef] [Green Version]
Figure 1. PID control diagram of the RBF neural network.
Figure 1. PID control diagram of the RBF neural network.
Energies 15 06353 g001
Figure 2. The program of the designed adaptive PI + RBFNN-PID control algorithm.
Figure 2. The program of the designed adaptive PI + RBFNN-PID control algorithm.
Energies 15 06353 g002
Figure 3. General structure diagram of the sPMSM drive system using the designed adaptive PI + RBFNN-PID controller.
Figure 3. General structure diagram of the sPMSM drive system using the designed adaptive PI + RBFNN-PID controller.
Energies 15 06353 g003
Figure 4. Hardware design of the permanent magnet synchronous motor control system based on DSP.
Figure 4. Hardware design of the permanent magnet synchronous motor control system based on DSP.
Energies 15 06353 g004
Figure 5. The validation results of the adaptive PI + RBFNN-PID control for the abrupt load torque change of system parameters under inductance parameters L d = 1.2 L ^ d , L q = 0.8 L ^ q . The top plot displays the q-axis stator current ( i q s ), and the bottom plot displays the d-axis stator current ( i d s ).
Figure 5. The validation results of the adaptive PI + RBFNN-PID control for the abrupt load torque change of system parameters under inductance parameters L d = 1.2 L ^ d , L q = 0.8 L ^ q . The top plot displays the q-axis stator current ( i q s ), and the bottom plot displays the d-axis stator current ( i d s ).
Energies 15 06353 g005
Figure 6. The validation results of the traditional PI + PID control for the abrupt load torque change of system parameters under inductance parameters L d = 1.2 L ^ d , L q = 0.8 L ^ q . The top plot displays the q-axis stator current ( i q s ), and the bottom plot displays the d-axis stator current ( i d s ).
Figure 6. The validation results of the traditional PI + PID control for the abrupt load torque change of system parameters under inductance parameters L d = 1.2 L ^ d , L q = 0.8 L ^ q . The top plot displays the q-axis stator current ( i q s ), and the bottom plot displays the d-axis stator current ( i d s ).
Energies 15 06353 g006
Figure 7. The validation results of the adaptive PI + RBFNN-PID control strategy for the load torque of the system abruptly changing under inductance parameters L d = 0.8 L ^ d , L q = 1.2 L ^ q . The top plot displays the q-axis stator current ( i q s ), and the bottom plot displays the d-axis stator current ( i d s ).
Figure 7. The validation results of the adaptive PI + RBFNN-PID control strategy for the load torque of the system abruptly changing under inductance parameters L d = 0.8 L ^ d , L q = 1.2 L ^ q . The top plot displays the q-axis stator current ( i q s ), and the bottom plot displays the d-axis stator current ( i d s ).
Energies 15 06353 g007
Figure 8. The validation outcomes of the traditional PI + PID control strategy for the load torque of the system abruptly changing under inductance parameters L d = 0.8 L ^ d , L q = 1.2 L ^ q . The top plot displays the q-axis stator current ( i q s ), and the bottom plot displays the d-axis current ( i d s ).
Figure 8. The validation outcomes of the traditional PI + PID control strategy for the load torque of the system abruptly changing under inductance parameters L d = 0.8 L ^ d , L q = 1.2 L ^ q . The top plot displays the q-axis stator current ( i q s ), and the bottom plot displays the d-axis current ( i d s ).
Energies 15 06353 g008
Table 1. Nominal SPMSM Parameters.
Table 1. Nominal SPMSM Parameters.
ParameterSymbolValue
Rated powerPe400 W
Rated phase-to-phase voltageVr220 V
Rated phase currentIr2.8 A
Rated torqueTr2.7 N.M
Number of polesP8
Stator resistanceRs2.875 Ω
Stator inductanceLd, Lq0.22 mH, 0.61 mH
Magnet fluxψf0.085 V·s/rad
Equivalent inertiaJ0.0018 kg·m2
Viscous friction coefficientB0.0002 N·m·s/rad
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zeng, X.; Wang, W.; Wang, H. Adaptive PI and RBFNN PID Current Decoupling Controller for Permanent Magnet Synchronous Motor Drives: Hardware-Validated Results. Energies 2022, 15, 6353. https://doi.org/10.3390/en15176353

AMA Style

Zeng X, Wang W, Wang H. Adaptive PI and RBFNN PID Current Decoupling Controller for Permanent Magnet Synchronous Motor Drives: Hardware-Validated Results. Energies. 2022; 15(17):6353. https://doi.org/10.3390/en15176353

Chicago/Turabian Style

Zeng, Xiaoli, Weiqing Wang, and Haiyun Wang. 2022. "Adaptive PI and RBFNN PID Current Decoupling Controller for Permanent Magnet Synchronous Motor Drives: Hardware-Validated Results" Energies 15, no. 17: 6353. https://doi.org/10.3390/en15176353

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