Next Article in Journal
Control and Modulation Techniques for a Centralized PV Generation System Grid Connected via an Interleaved Inverter
Previous Article in Journal
RCLED Optimization and Nonlinearity Compensation in a Polymer Optical Fiber DMT System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fourier Series Learning Control for Torque Ripple Minimization in Permanent Magnet Synchronous Motors

by
Eduardo Espíndola-López
1,*,
Alfonso Gómez-Espinosa
2,†,
Roberto V. Carrillo-Serrano
1,† and
Juan C. Jáuregui-Correa
1,†
1
División de Investigación y Posgrado, Facultad de Ingeniería, Universidad Autónoma de Querétaro, Cerro de las Campanas s/n, C.P. 76010, Santiago de Querétaro, Querétaro, Mexico
2
Tecnologico de Monterrey, Campus Querétaro, Avenue Epigmenio González #500, Fracc. San Pablo, C.P. 76130, Santiago de Querétaro, Querétaro, Mexico
*
Author to whom correspondence should be addressed.
Appl. Sci. 2016, 6(9), 254; https://doi.org/10.3390/app6090254
Submission received: 7 July 2016 / Revised: 26 August 2016 / Accepted: 29 August 2016 / Published: 13 September 2016

Abstract

:
A new Fourier Series Learning Controller (FSLC) for velocity control on a Permanent Magnet Synchronous Motor (PMSM) is proposed and implemented. An analysis of the error convergence for the FSLC is presented, and the update law for the Fourier series coefficients is specified. The field-oriented control method is used as a basic element to implement three different controllers for a PMSM. The performance of the FSLC is compared with two control methods, a classical PI (Proportional Integral) controller and an artificial neural network controller. The periodic nature of torque ripple in PMSMs is considered as a periodic disturbance, which must be compensated by the controller. With the FSLC implementation, a substantial reduction of the velocity ripple is obtained. Furthermore, a higher speed of learning is achieved with the FSLC in comparison with the artificial neural network.

Graphical Abstract

1. Introduction

The permanent magnet synchronous motors market is growing due to their competitive cost, efficiency and reliability. These motors have common applications in fast dynamic positioning systems and machine tool spindle drives, because they have one of the highest torque-to-losses ratios [1]. However, these motors have an important disadvantage known as “torque ripple”, which is mainly due to the magnetization and the manufacturing of the windings. Torque ripple causes deterioration of the speed and position trajectory, and at high speed applications, torque ripple causes an increase of acoustic noise and additional energy losses [2]. There are methods to control Alternate Current (AC) motors, such as Direct Torque Control (DTC) and Field-Oriented Control (FOC), which have become powerful and popular control schemes for high performance AC drives, but they present undesired large torque and flux ripples [3,4].
A versatile PMSM (permanent magnet synchronous motors) model for torque ripple together with an adaptive control algorithm are an option for torque ripple minimization [5]. Knowledge about torque ripple harmonics is used for the adaptation of the control algorithm; additionally, a current controller is designed to achieve ripple minimization [5]. Moreover, the torque pulsations vary periodically with rotor position, and they are reflected as velocity ripple, particularly at low speeds. Iterative Learning Control (ILC) is intuitively an excellent choice for torque ripple minimization [6]. Using the periodic nature of torque ripple and based on the component’s harmonic distortion in the time domain of the compensation signal, the Fourier series controller coefficients can be adjusted with the aim of reducing the torque ripple in a PMSM, thus allowing for smoother operation [7].
As the Fourier series of a time function characterizes the frequency property of the signal, the Fourier series can be used as a tool for analyzing the convergence of the iterative learning control rules [8]. Further, the Fourier series can be applied in other cases, especially in periodic phenomena. Periodic disturbances affect many physical systems, and periodic reference tracking is required for some applications [9]. Controllers in the frequency domain have several advantages. The main advantage of designing a repetitive controller in the frequency domain is the simplicity in the control algorithm and the real-time implementation [10]. In an invertible generalized flux/current Switched Reluctance Machine (SRM) model based on the Fourier series expansion, the key features are geometry and material property dependency, flexibility in the choice of Fourier terms for the desired level of accuracy and the existence of the inverse flux and torque models [11].
Fourier series representations using trigonometric functions are most commonly used. However, the exponential form of the Fourier series has also been applied, and it has some advantages, such as smaller and clearer mathematical expressions, which makes it easier to extend conclusions that have been developed in the past [12]. Fourier series also can be seen as Neural Networks (NNs) when the series coefficients are strategically modified. These have some differences from traditional NNs. With Fourier Series Neural Networks (FSNN), without prior knowledge of the system model, all of the nonlinearities and uncertainties of the dynamical system are lumped together and iteratively compensated [13].
Other applications of the FSNN have been for servo systems. Some control laws based on a friction model, for servo systems, cannot accomplish an excellent control performance for specific applications with high precision positioning and low velocity tracking. In order to solve this problem, a Fourier series neural network was introduced to approximate a nonlinear, complex and unknown function caused by the frictional phenomenon [14].
An iterative algorithm based on the Fourier series approximation generates the optimal feedforward to force the state trajectory to converge to a stable sliding surface. Using a Fourier series approximation of tracking error, both the magnitudes and phases of the error can be compensated. Therefore, time delay can be easily handled. The iterative learning controller based on the Fourier series compensates for the deterministic uncertainties, and the feedback controller is responsible for stabilizing the system [15,16,17,18].
Without prior knowledge of the system model, the nonlinearities and uncertainties of the dynamical system that are lumped together with no restrictions on their relationship can be compensated online by an Adaptive Fourier Neural Network (AFNN) [19]. There is another nonlinearity that causes extreme difficulty in system modeling. Flexibility is a potential source of uncertainty that can degrade the control performance and even destabilize the system in some cases. To solve this, a Fourier Neural Network (FNN)-based output feedback learning control scheme was proposed. This learning algorithm was carried out in the Fourier space, and it can guarantee the stability of the closed-loop system and the convergence of the tracking error [20].
Nowadays, the Fourier series in control areas have been applied for aerial robots. The use of a frequency-domain iterative learning scheme for periodic quadrocopter flight, parameterizing the non-causal tracking error compensation as Fourier series, was presented by [21]. Uncertainties, such as measurement noise, inaccuracies of the approximate transfer function or model uncertainty, can be accounted for in the learning step size, and the optimal step size for each frequency component can be computed from the statistical properties thereof [21].
There are complex cases where the controllers require help from Fourier series expansions, like the control of autonomous underwater vehicles (AUV). The bottom-following or seabed tracking of AUV, traversing at constant altitudes from the sea bottom, is a big challenge for controllers. However, using the tools of nonlinear output regulation theory combined with Fourier series expansion and pseudo-spectral methods, it is possible to solve the bottom-following problem without requiring knowledge in advance of the seabed profile and using only one single echo sounder to measure the altitude from the seabed [22].
One of the most important contributions of the expansion in Fourier series is helping as a function approximation (FA) when it is difficult to establish an accurate dynamic model. For example, the approach of estimated Fourier coefficients can be used by a nonlinear controller, which simultaneously achieves accurate and ripple-free torque control and minimizes copper losses in brushless motors [23]. In piezoelectrically-actuated systems, this approach can estimate the system dynamics and uncertainties on-line, and no prior knowledge of system dynamics is required [24,25]. An adaptive iterative learning controller can be designed for nonlinear systems with unknown time-varying parameters to realize the non-uniform trajectory tracking perfectly when the time varying parameters are expanded into Fourier series with bounded remainder terms [26].
Moreover, the problem of modeling and tracking control for a high speed ball screw drive, which includes time-varying parametric uncertainties and disturbances, can be solved when a function approximation technique based on Fourier series expansion is applied to estimate the total uncertainties containing inertia uncertainties, stiffness uncertainties and external disturbances [27].
The Fourier series have been complementary tools for conventional controllers, such as Proportional Integral Derivative (PID). However, the Fourier series convergence depends on the conventional controller stability. Furthermore, to obtain the coefficients of the Fourier series, the continuous Fourier transform has been used, which depends on the period of the function, and it is normally unknown.
In this paper, it is demonstrated that Fourier series, with a finite number of terms and the correct update law for the coefficients, can represent the adequate control signal to stabilize a nonlinear system without the help of other controllers. In this way, Fourier series can be used as a control law even though the reference and/or error are not periodic. Besides, it is verified for periodic disturbances, such as torque ripple in PMSMs, that Fourier series can eliminate these disturbances by providing the correct harmonics with a suitable amplitude.

2. Model Description and Problem Formulation

Some causes of torque ripple can be explained from the PMSM mathematical model. In order to understand the periodic nature of torque ripple in PMSMs, this section is used to review the mathematical model and the additional considerations studied by [7].
The relationship between the three currents of a PMSM i a b c s , the mutual and self-inductances L s and the flux linkages Ψ a b c s are given by:
Ψ a b c s = L s i a b c s + Ψ m
In matrix form:
Ψ a s Ψ b s Ψ c s = L a s a s L a s b s L a s c s L b s a s L b s b s L b s c s L c s a s L c s b s L c s c s i a s i b s i c s + Ψ a s m Ψ b s m Ψ c s m
With the flux linkages, the voltages are defined in the stator windings u a b c s related to the windings resistances r s and the flux linkages:
u a b c s = r s i a b c s + d Ψ a b c s d t
where r s is a diagonal matrix with elements r s and u a b c s = [ u a s , u b s , u c s ] T . Assuming that the stator windings are displaced by 120 ° and that the flux linkages Ψ m are periodic functions of the electric position θ r with magnitude Ψ m established by the permanent magnet, it is obtained:
Ψ m = Ψ a s m Ψ b s m Ψ c s m = Ψ m sin ( θ r ) Ψ m sin ( θ r - 2 3 π ) Ψ m sin ( θ r + 2 3 π )
From Equations (3) and (1), assuming L s is constant:
u a b c s = r s i a b c s + L s d i a b c s d t + d Ψ m d t
Moreover, to find the electromagnetic torque developed T e , the co-energy W c is defined:
W c = 1 2 i a b c s T L s i a b c s + i a b c s T Ψ m + W P M
where W P M is the permanent magnet energy. If P are the number of poles of PMSM, the electromagnetic torque developed is:
T e = P 2 W c θ r = P Ψ m 2 i a s cos ( θ r ) + i b s cos ( θ r - 2 3 π ) + i c s cos ( θ r + 2 3 π )
In order to understand torque ripple in PMSM, some assumptions are reconsidered from the previous model (7); for a non-ideal PMSM, the flux linkages are not perfectly sinusoidal, and the electromotive forces e a b c s are non-cosine functions, although they are periodic functions with a peak value E p :
e a b c s = d Ψ m d t = E p ω r f a s ( θ r ) f b s ( θ r - 2 3 π ) f c s ( θ r + 2 3 π )
where ω r = d θ r d t is the angular velocity and f a s ( θ r ) , f b s ( θ r ) and f c s ( θ r ) are periodic functions with the same shape as e a s , e b s and e c s with a maximum magnitude ± 1 .
Since electromagnetic torque is given by:
T e = [ e a s i a s + e b s i b s + e c s i c s ] 1 ω r
From Equation (8):
T e = E p [ f a s ( θ r ) i a s + f b s ( θ r - 2 3 π ) i b s + f c s ( θ r + 2 3 π ) i c s ]
Then, electromagnetic torque is periodic with θ r and is still independent of frequency. However, to produce a constant electromagnetic torque, current waveforms should be calculated.
Moreover, when winding inductances are non-constant, the electromotive forces also are modified. From Equation (1):
e a b c s = d Ψ a b c s d t = d d t [ L s i a b c s + Ψ m ]
e a b c s = L s d i a b c s d t + i a b c s d L s d t + d Ψ m d t
In Equation (12), it can be seen that torque ripple is produced due to inductance angular variations. The windings inductances can be different in some time instants, and electromagnetic force varies [28].
From macroscopic viewpoint, the torque produced in a PMSM is given by:
T e = 1 2 i 2 d L d θ - 1 2 N 2 Ψ m 2 d R d θ + i d Ψ m d θ
Equation (13) represents the mutual torque that is used to make the motor shaft turn. With this representation of electromagnetic torque, the relation of developed torque and the variations of the angular displacement that can affect resistances and inductances can be seen. These factors among others produce torque ripple in PMSMs. In this examples, it is possible to see the dependence of torque ripple and the angular position θ r . Furthermore, when PMSM is controlled, the angular position is periodic, as well as torque ripple, which can be seen as a natural periodic disturbance in PMSMs.

3. Learning Controller Design Using Fourier Series

In this section, the Fourier series learning controller is presented for linear and nonlinear systems. An update law for their coefficients, which assures the system stabilization without the help of other controllers, is shown. The harmonics of the error dynamics are used by the controller, and they are obtained from the discrete Fourier transform (DFT). Thus, the error dynamics does not need to be a periodic function.
A function, that represent the dynamics error of the system, is considered to design the learning controller:
s ( t ) = e ( t ) + e ˙ ( t )
where e ( t ) is the error of the system. For this case, e ( t ) = ω d - ω is the difference between the desired velocity and the actual velocity of the PMSM. The controller is designed to decrease the function represented by Equation (14).
Each sampling period T s is taking a sample of s ( t ) , and data windows with N terms are formed as [ w 0 k , w 1 k , . . . , w N - 1 k ] . The sample s k in the k-th instant is assigned to w N - 1 k , and other values are shifted to the left. Namely, w N - 1 k = s k , w N - 2 k = s k - 1 , w N - 3 k = s k - 2 , . . . , w 0 k = s k - ( N - 1 ) . Each data window w j k has a sequence of discrete numbers that can be transformed to the frequency domain by the DFT as follows:
X n k = j = 0 N - 1 w j k e - i 2 π n j N , n = 0 , 1 , . . . , N - 1
Note that a data window w j k with N real elements is enough to calculate the DFT from Equation (15). Although the elements of the data window are random numbers, the DFT can be calculated. Then, the signal s ( t ) does not need to be periodic. Furthermore, using the Euler formula in Equation (15), the real and imaginary parts of X n k are:
z n k = R e { X n k } = j = 0 N - 1 w j k cos 2 π n j N , n = 0 , 1 , . . . , N - 1
y n k = I m { X n k } = - j = 0 N - 1 w j k sin 2 π n j N , n = 0 , 1 , . . . , N - 1
Then, the coefficients to return from the frequency domain to the time domain in the k-th instant are calculated as follow:
p 0 k = z 0 k N , q 0 k = 0
p N 2 k = z N 2 k N , q N 2 k = 0
p n k = 2 z n k N , n = 1 , . . . , N 2 - 1
q n k = - 2 y n k N , n = 1 , . . . , N 2 - 1
From the Inverse Discrete Fourier Transform (IDFT), taking the values of Equation (15) and considering N as an even number, the representation in Fourier series for samples in the k-th window w j k is:
w j k = n = 0 N / 2 p n k cos 2 π n j N + q n k sin 2 π n j N , j = 0 , 1 , . . . , N - 1
Equation (22) means that minimizing the coefficients p n k and q n k , it is possible to decrease w j k . The controller proposed is a Fourier series with adjustable coefficients, where each coefficient is modified to contribute to the p n k and q n k decrease in each sample period. Equation (22) is the Fourier series representation of the dynamics error. The new controller uses the coefficients of this representation, but each coefficient is modified by a gain and adding a special function, which can be seen intuitively as an integral part. Finally, in the k-th instant, the controller output is calculated as follows:
u ( k ) = n = 0 N / 2 a n k cos 2 π n ( N - 1 ) N + b n k sin 2 π n ( N - 1 ) N
where:
a n k = α n p n k + a ^ n k , n = 0 , 1 , . . . , N 2
b n k = α n q n k + b ^ n k , n = 0 , 1 , . . . , N 2
where α n is a gain used to obtain a proportion of the harmonics of the error dynamics. The coefficients a ^ n k and b ^ n k will be provided by a learning function, and these coefficients are designed to assure that p n k and q n k decrease. However, the main controller coefficients a n k and b n k must keep a value different from zero to produce a control signal for the system. Then, coefficients a ^ n k and b ^ n k perform the integral part equivalent in a PID controller. In the frequency domain, the integral part must adjust each coefficient of the main controller, until they converge to the correct values. Using the update law proposed by [16], coefficients a ^ n k and b ^ n k are calculated as follows:
a ^ n k = γ n j = 0 k - 1 p n j , n = 0 , 1 , . . . , N 2
b ^ n k = γ n j = 0 k - 1 q n j , n = 0 , 1 , . . . , N 2
where γ n is a learning gain for each harmonic and should be selected according to some conditions that will be shown in the next section to assure the convergence of p n k and q n k . Note that the convergence of coefficients p n k and q n k to zero means that the coefficients a ^ n k and b ^ n k also converge to some value.
Note that control law (23) was obtained through the IDFT when the harmonics of the s ( t ) were modified. However, from IDFT, in each sample period, a data window with N values is obtained. The control output is one value of that window. Due to the arrangement of data window w j k , the control law in the k-th instant is j = N - 1 , and for this reason, the control law given by (23) is calculated only with j = N - 1 ; other values of this window are not necessary.
Before the control method begins, the initial conditions for window w j k and gains α n and γ n are given. When the experiment starts, a sample of s ( t ) is taken, and w j k is updated. Later, the coefficients p n k and q n k are calculated through Equations (18), (19), (20) and (21) followed by the coefficients of the controller a n k and b n k with Equations (24) and (25). Finally, the control law is calculated from Equation (23), and the algorithm is repeated by taking another sample of s ( t ) . In each cycle of the algorithm, a new data window w j k is obtained, and a new DFT is calculated. Then, it is necessary to restart the summations of the DFT. However, the summations of the learning part are not restarted, because the coefficients a ^ n k and b ^ n k have the information accumulated during the experiment. In this way, the controller has the information of the error dynamics, and also, it keeps the information of the learning part.

4. Error Convergence Conditions of the Closed-Loop System

The stability of the Fourier series learning controller is shown in this section. The analysis of [16] is extended for this new controller when the Fourier series is the unique controller, and it is not possible to assure that the error dynamics is a periodic function.
First, the change of controller harmonics Δ a n k and Δ b n k is analyzed to find a relation between the controller gains and the change in the harmonics of s ( t ) . This analysis is important due to the output of a nonlinear system contains, in general, higher harmonics in addition to the fundamental harmonic component [16]. Because the system harmonics are presented in the error signal s ( t ) , the main objective of controller is to reduce the harmonics of s ( t ) .
Then, the change of the n-th controller harmonic is represented as:
Δ a n k = a n k + 1 - a n k
where a n k + 1 is the next value of the n-th harmonic from the k-th instant. Note that the mathematical procedure in this section is also true for b n k , q n k and b ^ n k .
Additionally, the change in the controller harmonic of s ( t ) is calculated as follows:
Δ p n k = p n k + 1 - p n k
where p n k + 1 is the next magnitude of the n-th error harmonic from the k-th instant. To determine the stability and conditions for the error convergence of the closed-loop system, the following proposition is described.
Proposition 1.
When the controller (23) is applied to a linear or nonlinear system from which the function (14) can be obtained and the controller coefficients are updated according to Equations (24)–(27), the sufficient conditions for the error convergence are: α n > Δ a n k Δ p n k and γ n < Δ a n k Δ p n k - α n n , k Z + .
Proof. 
The change of controller harmonics is calculated from Equations (24) and (25) as:
Δ a n k = α n Δ p n k + Δ a ^ n k
where, applying the definition of the change used in Equations (28) and (29), the term Δ a ^ n k is:
Δ a ^ n k = γ n p n k
Substituting Equation (31) into Equation (30), the next expressions can be obtained as:
Δ a n k = α n Δ p n k + γ n p n k
Δ a n k Δ p n k = α n + γ n p n k Δ p n k
Δ a n k Δ p n k = α n + γ n p n k p n k + 1 - p n k
Δ a n k Δ p n k = α n + γ n 1 p n k + 1 p n k - 1
p n k + 1 p n k - 1 = γ n Δ a n k Δ p n k - α n
p n k + 1 p n k = γ n Δ a n k Δ p n k - α n + 1
Taking the right side of Equation (37), the following inequality is possible under certain conditions:
- 1 < γ n Δ a n k Δ p n k - α n + 1 < 1
- 2 < γ n Δ a n k Δ p n k - α n < 0
If γ n > 0 , then:
α n > Δ a n k Δ p n k
Furthermore, the other condition that assures the inequality (39) is:
γ n < Δ a n k Δ p n k - α n
With Conditions (40) and (41), the inequality (38) is true, and this means that:
- 1 < p n k + 1 p n k < 1
In other words:
p n k + 1 p n k < β < 1
where { β R | 0 < β < 1 } . Then, while k increases, in each new sample taken during the experiment, the coefficients p n k and q d k decrease according to the next sequence:
p n k < β p n k - 1 < β 2 p n k - 2 < < β k p n 0
If the coefficients of the Fourier representation of s ( t ) are diminished asymptotically, time domain s ( t ) is being minimized, namely:
s ( t ) = e ( t ) + e ˙ ( t ) = 0
Thus, the above equation represents a stable system, and e ( t ) will tend to zero as time increases. ☐
Note that the only conditions for stability are (40) and (41). However, if α n is chosen so large, the coefficients a n k and b n k will also be large, but the coefficients p n k and q n k may or may not be large; it depends of the system and the closed-loop system, which would be unstable if the condition (40) is not satisfied.
The learning gain γ n is upper bounded by condition (41) and lower bounded by zero. However, to make γ n very small means that the learning is very slow and the system control is only α n dependent. Hence, finding a correct value for α n can be more difficult.
It is convenient to choose an α n gain not so large and a γ n not so small. The magnitudes depend only on the system. Furthermore, note that the gains α n and γ n can be chosen independently for each harmonic. Thus, it is useful to modify the DC components, α 0 and γ 0 , independently of the other harmonics. These gains can control a constant energy injected to the system unlike other harmonics, which vary based on the corresponding frequency.
The number of harmonics for the controller depends on the desired response; more harmonics allow an accurate representation of the control signal. However, the number of harmonics is limited by the resonant frequency of the system. Note that a physical system only has a finite bandwidth, and the lower frequency components generally dominate the dynamics error [16]. Furthermore, if a big number of harmonics is chosen, data window w j k would have more terms, which requires more memory for the processing system, and it takes more time to calculate the output control.
The sample period is an important factor to be considered. If the sample period is big, the function s ( t ) is not correctly represented, and the controller can not assure the stability of the closed-loop system. Note that the DFT can transform any array of numbers, even if they are random numbers, then the Fourier representation of the window w j k always exist. Then, the sample period affects only the correct representation of s ( t ) .
The controller only considers the measurement of the system output compared to the desired output to obtain the output error. Afterward, the function s ( t ) and the controller output are calculated. Therefore, the controller does not use the system model, namely the system is decentralized.

5. Experimental Implementation

The field-oriented control will be used to implement three different velocity controllers, a Fourier Series Learning Controller (FSLC), a traditional PI controller of the FOC and an Artificial Neural Network (ANN). The performance of the three controllers will be compared. In Figure 1, the block diagram of the FOC for the velocity control of a PMSM with three different master controllers is shown.
The reference value of the flux control I d R e f is zero for PMSMs, as is shown in the block diagram [29]. To estimate the angular velocity of PMSM ϑ, a filter of position proposed by [30] is used, which can reduce the noise on the velocity signal compared with the analytical derivative of the angular position. The gain of the filter was A = 5 . 0 .
The proposed controller is compared with a classical PI control and with an ANN. The architecture and all details of the ANN are those proposed by [31]. We use three neurons in the intermediate layer and three inputs: e k , e k - 1 and e k - 2 , which are the error and error in two previous instants and one neuron for the output layer.
The controllers will be tested to control the velocity of the EMJ-04APB22 PMSM, which has four poles and the following parameters: 200 (V), 2 . 7 (A), 400 (W) maximum power, 3000 (rpm) rated speed, 4 . 7 ( ω ) stator resistance, 0 . 014 (H) stator inductance and 2500 ( P P R ) incremental encoder attached.
Figure 2 shows the interconnection diagram of the control system. The control algorithms were programed on a computer Aspire V5-561-7455 (acer, New Taipei, Xizhi, Taiwan). The control output values, calculated by the controller, are sent to an acquisition card, which is based on a microcontroller dsPIC33FJ12MC202 (MICROCHIP, Chandler, AZ, USA). For the communication of the microcontroller with the computer, a device FT232RL (FTDI, Seaward Place, Glasgow, UK), was used. The acquisition card has three tasks, to acquire data from the PMSM encoder (Anaheim Automation, Anaheim, CA, USA) and the current sensors, to send data to the computer and to apply three PWM signals to the power stage. The currents of each phase of PMSM are measured from the ACS712 sensors (Allegro, Worcester, MA, USA). The power stage is based on H bridges LMD18200 (Texas Instruments, Dallas, TX, USA), which generate the AC voltages for each phase of the PMSM.

6. Results and Discussion

The reference velocity for controllers and the master PI gains tested in the experimentation, were the lowest velocity and the same gains studied by [32]. In Table 1 are shown the gains and parameters of the control system. Note that the two slave PI controllers for currents I q and I d have the same proportional and integral gains.
The learning coefficient η and the number of neurons in the intermediate layer N n for the ANN were chosen by observing the dynamics performance of the closed loop system. In the same way, the number of terms N and the gains α n and γ n of the FSLC were chosen caring the stability conditions (40) and (41) and observing the dynamics performance of the control system. Note that, if γ n is bigger than α n , the stability conditions are not satisfied, and the stability cannot be assured; which is an example of the wrong selection of gains.
First, the angular position θ of the PMSM is shown in order to observe the different performances of the three controllers. A constant velocity must produce a straight line of the angular position from zero to 2 π . Figure 3 shows the behavior of controllers when the velocity of PMSM is controlled. The PI controller cannot reduce the torque ripple, as can be observed in Figure 3b, where a distortion of angular position produced by the torque ripple is shown. The ANN reduces the torque ripple after a learning time of 18.0 s approximately, as is shown in Figure 3c. However, the Fourier series learning controller reduce the torque ripple faster than the ANN in 2.7 s approximately, as is shown in Figure 3a. Additionally, a change of load is applied after 50 s. A mass of 1.2 kg is loaded by the PMSM. According to the rotor size of the motor, the torque generated by this mass is 0.0824 Nm. It is observed that the three controllers can compensate the constant disturbance; however, the torque ripple continues affecting the PI as the velocity controller.
Figure 4 shows the estimation of the velocities ϑ of the closed-loop systems for the three controllers. In Figure 4b is shown the estimation of velocity of the closed-loop system with a PI as the velocity controller. It can be observed that the torque ripple affects the velocity, and the PI cannot compensate it. In Figure 4c is shown the estimation of velocity of the closed-loop system with the ANN as the velocity controller. It can be observed that the speed varies around the desired velocity while the ANN learns, but only after 18.0 s, approximately, the torque ripple is reduced. In Figure 4a is shown the estimation of velocity of the closed-loop system with the FSLC as the velocity controller. In the first 2.7 s, during the learning process, a peak of velocity occurs, which is compensated in 0.16 s, approximately, and later, the velocity ripple is reduced. When the disturbance is applied from 50 s, the three controllers can compensate it, in 1.14 s, approximately. After the disturbance, the FSLC and the PI controllers are not affected. However, in Figure 4c, it is observed that the ANN is affected before 50 s; namely, the variations of the velocity are bigger than the variations before the disturbance.
Figure 5 shows the control signals I q R e f of controllers and the measured currents I q of the closed-loop systems. Figure 5b Shows the behavior of the PI controller. It can be observed that the control signal and the current measured I q are apparently similar, and there are some small variations. Figure 5c shows the behavior of the ANN controller. In the learning stage, there are large variations of the control signal and also of the measured current. After the learning stage, the variations are reduced, and the control signal is similar to the measured current, which corresponds to the moment of the reduction of the velocity ripple. Figure 5a shows the behavior of the Fourier series learning controller. In the learning stage, the control signal increases to 5.5 A, and it is saturated; however, the measured current only reaches 3.5 A. Later, the signal control decreases to - 5.5 A, but the measured current only decrease to - 1.7 A. After the learning stage finishes, the measured current I q tries to follow the control signal I q R e f , and the velocity ripple is reduced. Later, when the torque disturbance is applied from 50 s, the currents are incremented up to 0.5 A in order for the change of load to be compensated.
Figure 6 shows the errors of the control systems obtained by each controller. In Figure 6b, it is observed that the PI controller cannot compensate the torque ripple, and the error varies to - 1.2 rad/s. Figure 6c shows the error obtained when the ANN is the velocity controller. During the first 18.0 s, there are variations of the error up to - 0.4 rad/s, but after the learning time, the error oscillates around 0 rad/s, between - 0.07 and 0.8 rad/s. In Figure 6a, the error obtained with the FSLC as the velocity controller is shown. During the learning time, the error reaches - 2.5 rad/s; however, after this time, the error converges, and it remains near zero. Thus, it is experimentally demonstrated that the FSLC achieves the error convergence of a nonlinear system. When the controllers are under a constant disturbance of torque after 50 s, it is shown that this disturbance only affects the ANN as the controller, since from the disturbance, the error varies up to - 0.2 rad/s. However, in the case of the FSLC as the controller the error continues around zero, and the variations are maintained between - 0.05 and 0.05 rad/s. Then, it is experimentally demonstrated that the FSLC can add the integral part in a control system.

7. Conclusions

A new Fourier series learning controller was proposed and applied in a nonlinear system. The error convergence of the Fourier series learning controller was analyzed, and two convergence conditions were obtained. The new controller was used for the velocity control on a PMSM, which reduces the torque ripple by 70 % with respect to the results obtained with a PI as the velocity controller.
The performance of the Fourier series learning controller was compared with the performance of other two controllers, the conventional PI controller and an artificial neural network. There were two comparisons against a controller that cannot compensate the torque ripple, and another that can reduce this periodic disturbance. However, it is a valuable study to compare the performance of the FSLC with other techniques for reducing the torque ripple, and this is proposed for future work. In this case, a learning time of 2.7 seconds was required for the FSLC, whereas for the ANN, 18.0 seconds were required. The computational cost of the new FSLC is bigger than the conventional PI controller, since the FSLC requires more code lines and programming loops than the PI. However, the PI controller cannot reduce the torque ripple as the FSLC or the ANN. Nevertheless, the computational cost of the FSLC is considerably less than the ANN, and the results show that the FSLC can learn faster than the ANN. Besides, for the FSLC, the processing time and the computational cost could be reduced if other mathematical tools are applied instead of the DFT as the FFT, which is a good proposal for future work.
The results show that the FSLC is a good alternative to be applied as the controller in the control of nonlinear systems, including the compensation of periodic disturbances, such as torque ripple in PMSMs. The FSLC designed is a model-free controller, and it only requires information of the error dynamics.

Acknowledgments

Eduardo-Espíndola López work was supported by CONACYT, México. The author would like to thank Andrew William Head for the review of the manuscript and his valuable suggestions.

Author Contributions

Eduardo Espíndola-López: analysis of the error convergence for the Fourier series learning controller and the definition of the two convergence conditions; specification of the update law for the Fourier series coefficients; implementation of the velocity controllers on a permanent magnet synchronous motor.
Alfonso Gómez-Espinosa: artificial neural network controller development; analysis of the periodic nature of torque ripple in PMSMs, as a periodic disturbance.
Roberto V. Carrillo-Serrano and Juan C. Jáuregui-Correa: experimental setup definition for the velocity control of a permanent magnet synchronous motor, including the low cost field-oriented control method implementation development.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
FSLC
Fourier Series Learning Controller
PMSM
Permanent Magnet Synchronous Motor
FOC
Field Oriented Control
DTC
Direct Torque Control
ILC
Iterative Learning Control
SRM
Switched Reluctance Machine
NN
Neural Network
FSNN
Fourier Series Neural Network
AFNN
Adaptive Fourier Neural Network
FNN
Fourier Neural Network
AUV
Autonomous Underwater Vehicles
FA
Function Approximation
DFT
Discrete Fourier Transform
IDFT
Inverse Discrete Fourier Transform
ANN
Artificial Neural Network

References

  1. Mattavelli, P.; Tubiana, L.; Zigliotto, M. Torque-ripple reduction in PM synchronous motor drives using repetitive current control. IEEE Trans. Power Electron. 2005, 20, 1423–1431. [Google Scholar] [CrossRef]
  2. Štumberger, B.; Štumberger, G.; Hadžiselimović, M.; Zagradišnik, I. Torque ripple reduction in exterior-rotor permanent magnet synchronous motor. J. Magn. Magn. Mater. 2006, 304, e826–e828. [Google Scholar] [CrossRef]
  3. Zhang, Y.; Zhu, J. Direct torque control of permanent magnet synchronous motor with reduced torque ripple and commutation frequency. IEEE Trans. Power Electron. 2011, 26, 235–248. [Google Scholar] [CrossRef]
  4. Zhang, Y.; Zhu, J. A novel duty cycle control strategy to reduce both torque and flux ripples for DTC of permanent magnet synchronous motor drives with switching frequency reduction. IEEE Trans. Power Electron. 2011, 26, 3055–3067. [Google Scholar] [CrossRef]
  5. Petrović, V.; Ortega, R.; Stanković, A.M.; Tadmor, G. Design and implementation of an adaptive controller for torque ripple minimization in PM synchronous motors. IEEE Trans. Power Electron. 2000, 15, 871–880. [Google Scholar] [CrossRef]
  6. Qian, W.; Panda, S.K.; Xu, J.X. Torque ripple minimization in PM synchronous motors using iterative learning control. IEEE Trans. Power Electron. 2004, 19, 272–279. [Google Scholar] [CrossRef]
  7. Gómez-Espinosa, A.; Hernández-Guzmán, V.M.; Bandala-Sánchez, M.; Jiménez-Hernández, H.; Rivas-Araiza, E.A.; Rodríguez-Reséndiz, J.; Herrera-Ruíz, G. A New Adaptive Self-Tuning Fourier Coefficients Algorithm for Periodic Torque Ripple Minimization in Permanent Magnet Synchronous Motors (PMSM). Sensors 2013, 13, 3831–3847. [Google Scholar] [CrossRef] [PubMed]
  8. Ruan, X.; Li, Z. Convergence characteristics of PD-type iterative learning control in discrete frequency domain. J. Process Control 2014, 24, 86–94. [Google Scholar] [CrossRef]
  9. Dogruel, M.; Hüseyin celik, H. Harmonic Control Arrays Method With a Real Time Application to Periodic Position Control. IEEE Trans. Control Syst. Technol. 2011, 19, 521–530. [Google Scholar] [CrossRef]
  10. Wu, X.; Panda, S.; Xu, J. DC Link Voltage and Supply-Side Current Harmonics Minimization of Three Phase PWM BoostRectifiers Using Frequency Domain BasedRepetitive Current Controllers. IEEE Trans. Power Electron. 2008, 23, 1987–1997. [Google Scholar] [CrossRef]
  11. Khalil, A.; Husain, I. A fourier series generalized geometry-based analytical model of switched reluctance machines. IEEE Trans. Ind. Appl. 2007, 43, 673–684. [Google Scholar] [CrossRef]
  12. Hung, J.; Ding, Z. Design of currents to reduce torque ripple in brushless permanent magnet motors. IEEE Proc. B Electr. Power Appl. 1993, 140, 260–266. [Google Scholar] [CrossRef]
  13. Zuo, W.; Cai, L. A new iterative learning controller using variable structure Fourier neural network. IEEE Trans. Syst. Man Cyber. Part B Cybern. 2010, 40, 458–468. [Google Scholar] [CrossRef] [PubMed]
  14. Hwang, C.L. Fourier series neural network-based adaptive variable structure control for servo systems with friction. IEEE Proc. Control Theor. Appl. 1997, 144, 559–565. [Google Scholar] [CrossRef]
  15. Cai, L.; Huang, W. Fourier series based learning control and application to positioning table. Rob. Autom. Syst. 1999, 32, 89–100. [Google Scholar] [CrossRef]
  16. Tang, X.; Cai, L.; Huang, W. A learning controller for robot manipulators using Fourier series. IEEE Trans. Rob. Autom. 2000, 16, 36–45. [Google Scholar] [CrossRef]
  17. Huang, W.; Cai, L. New hybrid controller for systems with deterministic uncertainties. IEEE/ASME Trans. Mechatron. 2000, 5, 342–348. [Google Scholar] [CrossRef]
  18. Zhu, Y.; Zuo, W.; Cai, L. Tracking control of a belt-driving system using improved Fourier series based learning controller. In Proceedings of the Intelligent Robots and Systems, Edmonton, AB, Canada, 2–6 August 2005; pp. 881–886.
  19. Zuo, W.; Cai, L. Adaptive-fourier-neural-network-based control for a class of uncertain nonlinear systems. IEEE Trans. Neural Networks 2008, 19, 1689–1701. [Google Scholar] [CrossRef] [PubMed]
  20. Zuo, W.; Zhu, Y.; Cai, L. Fourier-neural-network-based learning control for a class of nonlinear systems with flexible components. IEEE Trans. Neural Networks 2009, 20, 139–151. [Google Scholar] [CrossRef] [PubMed]
  21. Hehn, M.; D’Andrea, R. A frequency domain iterative learning algorithm for high-performance, periodic quadrocopter maneuvers. Mechatronics 2014, 24, 954–965. [Google Scholar] [CrossRef]
  22. Adhami-Mirhosseini, A.; Yazdanpanah, M.J.; Aguiar, A.P. Automatic bottom-following for underwater robotic vehicles. Automatica 2014, 50, 2155–2162. [Google Scholar] [CrossRef]
  23. Aghili, F. Adaptive reshaping of excitation currents for accurate torque control of brushless motors. IEEE Transactions Control Syst. Technol. 2008, 16, 356–364. [Google Scholar] [CrossRef]
  24. Chen, H.Y.; Liang, J.W. Model-Free Adaptive Sensing and Control for a Piezoelectrically Actuated System. Sensors 2010, 10, 10545–10559. [Google Scholar] [CrossRef] [PubMed]
  25. Chen, H.Y.; Liang, J.W. Adaptive sliding control with self-tuning fuzzy compensation for a piezoelectrically actuated X–Y table. IET Control Theor. Appl. 2010, 4, 2516–2526. [Google Scholar] [CrossRef]
  26. Zhang, C.L.; Li, J.M. Adaptive iterative learning control of non-uniform trajectory tracking for strict feedback nonlinear time-varying systems. Inter. J. Autom. Comput. 2014, 11, 621–626. [Google Scholar] [CrossRef]
  27. Dong, L.; Tang, W.C. Adaptive backstepping sliding mode control of flexible ball screw drives with time-varying parametric uncertainties and disturbances. ISA Trans. 2014, 53, 110–116. [Google Scholar] [CrossRef] [PubMed]
  28. Hanselmanl, D.C. Brushless Permanent Magnet Motor Design; Magna Physics Pub.: Hillsboro, OH, USA, 2006. [Google Scholar]
  29. Adhavan, B.; Kuppuswamy, A.; Jayabaskaran, G.; Jagannathan, V. Field oriented control of Permanent Magnet Synchronous Motor (PMSM) using fuzzy logic controller. In Proceedings of the Recent Advances in Intelligent Computational Systems (RAICS), Trivandrum, India, 22–24 September 2011; pp. 587–592.
  30. Kelly, R.; Ortega, R.; Ailon, A.; Loria, A. Global regulation of flexible joint robots using approximate differentiation. IEEE Trans. Autom. Control 1994, 39, 1222–1224. [Google Scholar] [CrossRef]
  31. Ponce, A.N.; Behar, A.A.; Hernández, A.O.; Sitar, V.R. Neural networks for self-tuning control systems. Acta Polytechnica 2004, 44, 49–52. [Google Scholar]
  32. Hernández-Guzmán, V.; Carrillo-Serrano, R.; Gómez-Espinosa, A. L2-stable velocity ripple minimization in PM synchronous motors. Eur. J. Control 2014, 20, 111–117. [Google Scholar] [CrossRef]
Figure 1. Block diagram of the FOC (Field Oriented Control) for the velocity control of a PMSM (Permanent Magnet Synchronous Motor) with three different master controllers, the FSLC (Fourier Series Learning Controller), a traditional PI (Proportional Integral) and an ANN (Artificial Neural Network).
Figure 1. Block diagram of the FOC (Field Oriented Control) for the velocity control of a PMSM (Permanent Magnet Synchronous Motor) with three different master controllers, the FSLC (Fourier Series Learning Controller), a traditional PI (Proportional Integral) and an ANN (Artificial Neural Network).
Applsci 06 00254 g001
Figure 2. Interconnections diagram of the control system.
Figure 2. Interconnections diagram of the control system.
Applsci 06 00254 g002
Figure 3. Angular positions when the velocity is controlled to 0 . 3142 rad/s. (a) FSLC as the velocity controller; (b) PI as the velocity controller; and (c) ANN as the velocity controller.
Figure 3. Angular positions when the velocity is controlled to 0 . 3142 rad/s. (a) FSLC as the velocity controller; (b) PI as the velocity controller; and (c) ANN as the velocity controller.
Applsci 06 00254 g003
Figure 4. Estimation of the angular velocity when it is controlled to 0 . 3142 rad/s. (a) FSLC as the velocity controller; (b) PI as the velocity controller; and (c) ANN as the velocity controller.
Figure 4. Estimation of the angular velocity when it is controlled to 0 . 3142 rad/s. (a) FSLC as the velocity controller; (b) PI as the velocity controller; and (c) ANN as the velocity controller.
Applsci 06 00254 g004
Figure 5. I q currents of the closed-loop systems when the velocity is controlled to 0 . 3142 rad/s. (a) FSLC as the velocity controller; (b) PI as the velocity controller and (c) ANN as the velocity controller.
Figure 5. I q currents of the closed-loop systems when the velocity is controlled to 0 . 3142 rad/s. (a) FSLC as the velocity controller; (b) PI as the velocity controller and (c) ANN as the velocity controller.
Applsci 06 00254 g005
Figure 6. Errors of the control systems when the velocity is controlled to 0 . 3142 rad/s. (a) FSLC as the velocity controller; (b) PI as the velocity controller; and (c) ANN as the velocity controller.
Figure 6. Errors of the control systems when the velocity is controlled to 0 . 3142 rad/s. (a) FSLC as the velocity controller; (b) PI as the velocity controller; and (c) ANN as the velocity controller.
Applsci 06 00254 g006
Table 1. Gains and parameters of the control system.
Table 1. Gains and parameters of the control system.
DescriptionParameterValue
Proportional gain of the slave PI controllers for currents I q and I d K p s 1.0
Integral gain of the slave PI controllers for currents I q and I d K i s 10.0
Proportional gain of the FSLC (Fourier Series Learning Controller) α n 0.037
Learning gain of the FSLC γ n 0.03
Number of terms of the FSLCN4
Proportional gain of the master PI (Proportional Integral) controller K p m 0.0477
Integral gain of the master PI controller K i m 2.38
Learning coefficient of the ANN (Artificial Neural Network) η 4.9
Number of neurons in the intermediate layer of the ANN N n 3
Gain of the position filterA 5.0
Sample period (s) T s 0.005
Velocity reference (rad/s) ω R e f 0.3142

Share and Cite

MDPI and ACS Style

Espíndola-López, E.; Gómez-Espinosa, A.; Carrillo-Serrano, R.V.; Jáuregui-Correa, J.C. Fourier Series Learning Control for Torque Ripple Minimization in Permanent Magnet Synchronous Motors. Appl. Sci. 2016, 6, 254. https://doi.org/10.3390/app6090254

AMA Style

Espíndola-López E, Gómez-Espinosa A, Carrillo-Serrano RV, Jáuregui-Correa JC. Fourier Series Learning Control for Torque Ripple Minimization in Permanent Magnet Synchronous Motors. Applied Sciences. 2016; 6(9):254. https://doi.org/10.3390/app6090254

Chicago/Turabian Style

Espíndola-López, Eduardo, Alfonso Gómez-Espinosa, Roberto V. Carrillo-Serrano, and Juan C. Jáuregui-Correa. 2016. "Fourier Series Learning Control for Torque Ripple Minimization in Permanent Magnet Synchronous Motors" Applied Sciences 6, no. 9: 254. https://doi.org/10.3390/app6090254

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