A novel IMC controller based on bacterial foraging optimization algorithm applied to a high speed range PMSM drive
 2.1k Downloads
 4 Citations
Abstract
This paper is a proposal of a modified internal model control based on an intelligent technique. The indirect field oriented control strategy (IFOC) is used as a permanent magnet synchronous motor (PMSM) drive platform. Neural network controller and estimator are respectively added to replace the conventional speed regulator and the speed encoder in the global drive scheme. A wide speed working range is considered and high speed mode is incorporated in the study testes. In the IFOC inner control loops, the commonly used synchronous frame conventional proportional plus integral (PI) controllers are replaced by two modified internal model control (IMC) regulators. Therefore, a method based on the bacterial foraging optimization (BFO) algorithm is performed to optimize and adjust the IMC low pass filter parameters. The robustness of the proposed PMSM sensorless drive scheme is confirmed by simulation tests in the MATLAB/SIMULINK. Moreover, a comparative evaluation results are illustrated to prove the effectiveness of the proposed control algorithm according to different controllers combinations.
Keywords
PMSM Bacterial foraging optimization Internal model control Neural network1 Introduction
PMSM drives become more and more attractive in motioncontrol applications such as High Speed Trains and electric vehicles. Its high performances: high efficiency, low inertia and high torquetovolume ratio, high power factor and almost no need for maintenance are the main advantages. Compared to induction and reluctance motors, PMSM is lower in weight and smaller in size [1]. The previous features make it the most preferable for high performances motion control application. Several control strategies have been carried on to unsure the highest dynamic electrical machine drive performances. The most popular one is the IFOC which requires an accurate knowledge of the rotor shaft position. This implies the need of a speed or position sensors, such as an absolute encoders or magnetic resolvers mounted to the rotating shaft. However, these sensors present several drawbacks, such as reduced reliability, susceptibility to noise, additional cost and weight, and increased complexity of the installation [2]. Therefore, sensorless drive system is crucial for many applications, not only to reduce cost of the equipment, but also to improve system reliability. So the idea is to replace the real speed encoder by a software one. This last is an observer or an estimator which is built upon measured variables. Effectively, the simplest measured PMSM variables are stator voltages and currents. Many sensorless based schemes have been proposed in the literatures [3]. Some methods are based on the backEMF voltage. These are simple and yield well position estimation at average and rated speeds, but fail at low operating speeds. Two basic deficiencies let these methods degrade as the speed reduces: pure integration drift and sensitivity to parameter uncertainty. To overcome this problem, several authors have used other techniques, either based on state observers, like Extended Kalman Filter in [4], Highgain Observer in [5] and Extended Luenberger Observer in [6], or based on the intelligent techniques, like the neuronal network estimators as presented in [7]. For its good performance proved in [8], the artificial neural architecture is used to replace the real speed encoder in this application.
The PMSM control problems present an extended research sector. Many authors, who look for the PMSM robustness drive, use the field oriented control (FOC) strategy as a reliable method, which is characterized by a simple architecture based on three proportional plus integral controllers as described in [2]. But the problems that occur in this last method are mainly: calculation of controller parameters and the robustness performances. Some works propose the adaptive control scheme as a robust control strategy, as the Model Reference Adaptive Control (MRAC) method. Effectively, the MRAC approach was able to compensate the system parameters variations, such as inertia and torque constant as explained in [9, 10]. Some other authors relied on the artificial intelligence techniques in their robustness control problems as presented in [11]. In the mean time, these methods need an exact mathematical identification for the learning system’s starting phase, in the artificial case, and for adjusting the controller parameters in the MRAC case.
The Internal Model Control (IMC) is classified as a robust control strategy which principle simulates the human style. Thus, in the manual mode, the operator attempts to tune the desired variable close to the desired goal, based on their spontaneous representation. This act is designed by the internal model in the IMC architecture. Therefore, some authors aim to replace the internal model system by an intelligent one, as neuron, fuzzy, or ANFIS technique, as supported in [12] and [13, 14, 15, 16, 17]. However, the inverse model stability problem appeared as explained in [17]. Meanwhile, the contributions in the internal model control strategy are limited and the IMC filter parameter tuning presents another critical point which hardly can influences the IMC control performances.
Many researches are based on the heuristics algorithms in their optimization problems, as given in [18], where the authors are based on the AntColony Algorithm in the satellite control problem, or as done in [19], where the authors use the Particle Swarm Optimization technique in the Fuzzy inferences system tuning. These algorithms prove their effectiveness in these optimization problems. Therefore, based on the heuristic algorithms, an intelligent optimization method based on bacterial foraging algorithm (BFO) is used here for tuning the IMC controller parameter and for enhancing its robustness. The BFO approach choice is based on its powerful optimization algorithms in terms of convergence speed and final precision [18]. In the proposed PMSM control method, the BFOIMC is used as current controllers in the IFOC drive strategy. In order to improve the overall PMSM control scheme, a robust speed controller is required. This one should enable the drive to follow any reference speed, taking into account the high speed mode and the effects of load dynamic impact and parameter variations. In [7] and [19], the performance and robustness of the recurrent neural network are noted. So the recurrent neural network type is selected as the speed controller in this method. In the electrical vehicle application, the high speed range is required and to perform this working mode, a filed weakening algorithm [20] is added for generating the needed direct reference stator current.
This paper is organized as follows: Sect. 2 presents the mathematical model of the PMSM, the principles of the field weakening and the IFOC strategies. The use of the neural network as a speed controller and as a speed observer is developed in Sect. 3. Section 4 is designed for the development of two internal model current controllers and the stability analysis. The intelligent optimization approach using the BFO is explained in Sect. 5. Sections 9 and 7 present the simulation results and the conclusion, respectively.
2 Mathematical modeling of the PMSM
Hence the electromagnetic torque depends only on the q axis current.
2.1 Field weakening operation FWO
2.2 Field oriented control (FOC)
Field oriented control (FOC) strategy has been widely used in various industrial applications. It is one of the most popular schemes for high performance of electrical machine drives. It is originally introduced for induction machines and it is easily extended to PMSM drives. The FOCPMSM strategy in its standard scheme incorporates one outer loop for speed control and two inner loops for d and q current components regulation. These loops are usually built all around PI conventional regulators. In this strategy the direct reference current is fixed to a zero value. Hence, the PMSM drive behaves typically as a separately excited DC machine. However, if the reference speed exceeds the rated one, the d current reference value is derived from the field weakening algorithm. The qaxis reference current i _{ q } is generated as the speed regulator output Fig. 6.
3 Neural networks controller and estimator
The neural networks application is highly useful as controller estimator. Neural networks architecture can be classified into recurrent and non recurrent categories. Every architecture is required for a specific application. In the non recurrent networks the output is calculated directly from the input through feed forward connections. In the recurrent networks, the output is calculated from the actual input value of the network, and the actual or the previous outputs or states of the total network. It is clear that the recurrent one is dynamic versus the non recurrent one. In this work, two NNs are used together as a speed controller, and estimator.
The non recurrent neuron network architecture is used as estimator for its simple and easy usage versus the recurrent. The estimator is ANN and the recurrent one as a dynamic is used as a controller. This last contains more mathematical expressions in the running algorithm; this why the ANN is selected for identification problem [21].
3.1 Recurrent neural networks speed controller
3.2 Artificial neural networks speed estimator
4 The internal model current controller
4.1 IMC stability analysis
From Fig. 4, if the internal model is perfect, then Gi(s)=G(s). So, there is no more feedback occurring in Fig. 4. The closed loop system can be expressed as: F(s)=Gi(s)C(s).
5 Bacteria foraging optimization: a brief overview
According to the Escherichia coli (E. coli) bacterial which is present in the human intestine, the bacterial foraging optimization support a new method based on foraging behavior for solving optimization problems. So according to the bacteria behavior law, all the elements support the best species which have the ability for searching food and eliminate the other. The bacteria foraging strategy can be expressed generally by three processes, the first is the chemotaxis step. The second is called the reproduction and the last is the eliminationdispersal step [18]. Some authors divide the chemotaxis step into two other, swimming and tumbling, then four steps are obtained.

C(i)=C(i)+d1 in swimming

C(i)=C(i)−d2 in the tumbling

The Integral Absolute Error and (IAE): \(\mathit{IAE} = \int_{0}^{\infty}  \mathit{error}( t )  dt\)

The Integral of TimeweightedAbsolute Error (ITAE): \(\mathit{ITAE} = \int_{0}^{\infty} t \mathit{error}( t )  dt\)

The Integral of the Squared Error (ISE): \(\mathit{ISE} = \int_{0}^{\infty}  \mathit{error}^{2}( t )  dt\)
6 Simulations results
The PMSM parameters are: P=400 W, the rated current I _{rat}=2 A, the maximum current I _{max}=2.I _{rat}, the rated speed ω=2500 rpm, the rated torque T _{ l }=1.5 N m, L _{ d }=L _{ q }=21.5 mH, R _{ s }=5.2 Ω, λ _{ m }=0.24 Wb, J=85e ^{−6} kg m^{2}. The inverter parameters are: the DC bus voltage is fixed to 660 V and the switching frequency is 10 kHz.
In the traction and the electric vehicle applications, the load torque decreases if the motor speed exceeds the rated value. In this work the electric vehicle typical drive cycle is supporting the speed reference trajectory. The used target speed trajectory begins with T _{ l }=1.5 N m from 0 rpm at t=0 s to 2500 rpm at t=0.075 s, then to 4000 rpm with T _{ l }=0.9 N m at t=0.575 s as indicated to Fig. 10.

For the ANNSE: \(I(k)=\bigl[i_{d}(k)\ i_{q} (k)\ v_{d} (k) v_{q}(k)\bigr]^{T}\)

For the RNNSC: \(I(k)=\bigl[e(k1) e(k) i^{*}_{q}(k1)\bigr]^{T}\)

The bacteria number: S=6

The chemotaxis steps number: N _{ c }=4

The swim length: N _{ s }=4

The reproduction steps number: N _{ re }=2

The eliminationdispersal events number: N _{ ed }=2

The number of bacteria reproductions (splits) per generation S _{ r }=S/2

The probability that each bacteria will be eliminated/dispersed: P _{ ed }=0.25

The run length c(:,1)=0.05_ones(s,1)

The initial fitness cost; calculated by the ISE method for the initial random parameter.
In these figures, are illustrated the obtained coast function value and IMC parameter for each bacterium and for every part of chemotaxis step. It is clear that the best objective function cost value, is always obtained in the first chemotaxis step. That is due to the reproduction loop, where the present bacteria are cloned from the best previous one. So, the new chemotaxis event will be started with the best bacterium. It is clear here to deduce that the last chemotaxis loop presents the highly coast function and this is due to the worst half of bacteria, that will be eliminated.
Finally, the BFO generate the best IMC parameter that equivalent to the minimum of both speed error and overshoot. In this case, the best value is obtained for N _{ re }=2, N _{ ed }=2, N _{ c }=1. Where, all the S bacteria locate the same optimum IMC parameter.
6.1 Comparative and discussion studies

The conventional IFOC strategy with three PI (PI method),

The IFOC strategy with a PI speed regulator and two standard IMC current regulators (IMC without BFO method),

The IFOC strategy with a neural network speed controller and two PI current controllers (NN method),

The IFOC strategy with a PI speed regulator and two BFO IMC current regulators (IMC with BFO method),

The proposed IFOC strategy with a RNNSC speed controller and two BFO IMC current regulators (IMC with BFO and NN method).
A comparative study between the four drive methods
Regimes  τ _{ r } and Δ (%) comparison  Methods  

PI  IMC with BFO  NN  IMC with BFO and NN  
Rated speed  Load torque variation  τ _{ r } rise time (s)  0.04  –  –  0.06 
Maximum speed error  ±0.4 %  ±0.8 %  0.006 %  0.004 %  
Speed performances  τ _{ r } Rise time (s)  0.03  0.03  ≈0.02  ≈0  
Overshoot Δ (%)  1 %  2.4 %  0.2 %  0.2 %  
High speed  Load torque variation  τ _{ r } Rise time (s)  0.04  –  0  0.04 
Maximum speed error  ±0.25 %  ±0.3 %  0.2 %  0.025 %  
Speed performances  τ _{ r } Rise time (s)  0.05  –  0.02  0.05  
Overshoot Δ(%)  ±1.25 %  ±2 %  0.125 %  0.125 %  
Stator resistance variation  τ _{ r } Rise time (s)  0.02  –  0  0  
Maximum speed error  ±0.5 %  ±0.25 %  0  0  
Number of controllers tuning parameters  6  3  4  1 
The speeds dynamic responses reported in Fig. 10 confirm that the dynamic performances of the proposed method are much higher versus the four candidate methods. From Fig. 11 the NN and IMCBFO method phase plane trajectory of the motor flux, indicates the superiority in IFOC decoupling at different speed regimes and in its high performances dynamic trajectory behavior.
The major drawback of the PMSM is the ripple in the produced torque which is critical. The important torque ripple source is generated by the interaction of the stator current magnetomotive forces and the permanent magnetic field produced. In order to reduce this, good performance current regulation is the challenge. Figure 14b, confirms the obtained high performances in stator current regulation against load torque and resistance variations for a large speed working range. Therefore, the use of IMC with BFO (Fig. 14b) in current regulation is better than that of conventional PI (Fig. 14a). From the IMC with BFO current regulation response which is robust and precise, it can be concluded that the IFOC used strategy will have good decoupling, the drive scheme is of energy saving and the torque ripple is then reduced. For a high performance drives the speed regulation performance is not sufficient because this can induces lost of FOC decoupling, worst efficiency and higher torque ripple. For that the use of IMC with BFO is very helpful to enhance the PMSM drive performances.
7 Conclusion
In this paper, a high performances sensorless PMSM drives based on the recurrent neuronal networks and the bacteria foraging algorithm IMC tuning is developed to control the PMSM at wide speed range. The Internal model control based on the bacteria foraging algorithm for adjusting the parameters of the IMC controller, was applied as a robust command in the IFOC strategy. The recurrent neural network algorithm was described and the bacteria foraging algorithm was presented. The simulation results prove the good performances obtained for the proposed control scheme under load torque and stator resistance variations.
Notes
Open Access
This article is distributed under the terms of the Creative Commons Attribution License which permits any use, distribution, and reproduction in any medium, provided the original author(s) and the source are credited.
References
 1.Zhu ZQ, Howe D (2007) Electrical machines and drives for electric vehicle, hybrid and fuel cell vehicles. Proc IEEE Trans 95(4):746–765 Google Scholar
 2.Sharma RK, Sanadhya V, Behera L, Bhattacharya S (2008) Vector control of a permanent magnet synchronous motor. In: India conference INDICON 2008. Annual IEEE, vol 1, pp 81–86 Google Scholar
 3.He Y, Hu W, Wang Y, Wu J, Wang Z (2009) Speed and position sensorless control for dualthreephase PMSM drives. In: 24th annual IEEE applied power electronics conference and exposition (APEC2009), pp 945–950 CrossRefGoogle Scholar
 4.Kraiem H, Messaoudi M, Sbita L, Abdelkrim MN (2010) EKFbased sensorless direct torque control of permanent magnet synchronous motor: comparison between two different selection tables. Glob J Technol Optim 1:159–165 Google Scholar
 5.Jurkovic S, Stranges EG (2011) Design and analysis of a high gain observer for the operation of SPM machine under saturation. IEEE Trans Energy Convers 26(2):417–427 CrossRefGoogle Scholar
 6.ShanMao G, Fengyou H (2009) Study on extended Kalman filter at low speed in sensorless PMSM drives. In: International IEEE conference on electronic computer technology, pp 311–316 Google Scholar
 7.Flah A, Kraiem H, Dhaoi M, Sbita L (2011) A recurrent neural network speed and position controller of an induction motor drive. Int J Res Rev Comput Sci 2(4):1075–1081 Google Scholar
 8.Ben Hamed M, Sbita L (2008) Neural networks for controlled speed sensorless direct field oriented induction motor drives. J Electr Eng 8(2):81–88 Google Scholar
 9.Vieira RP, Azzolin RZ (2009) A sensorless singlephase induction motor drive with a MRAC controller. In: 35th IEEE annual conference on industrial electronics, pp 1003–1008 CrossRefGoogle Scholar
 10.Xudong W, Risha N (2009) Simulation of PMSM filed oriented control based on SVPWM. In: IEEE conference on vehicle power and propulsion, pp 1465–1469 CrossRefGoogle Scholar
 11.Mazinan AH, Sheikhan M (2010) On the practice of artificial intelligence based predictive control scheme: a case study. Appl Intell 36(1):178–189 CrossRefGoogle Scholar
 12.Lishan S, Xiao P (2011) IMCfed PMSM control system based on fuzzy PI. In: IEEE international conference on computer science and automation engineering, pp 489–492 CrossRefGoogle Scholar
 13.Biyanto et al (2010) Artificial neural network based modeling and controlling of distillation column system. Int J Eng Sci Technol 2(6):177–188 Google Scholar
 14.Anuradha DB, PrabhakerReddy G, Murthy JSN (2009) Direct inverse neural network control of a continuous stirred tank reactor (CSTR). In: Proceedings of the international multi conference of engineers and computer scientists, vol 2 Google Scholar
 15.Alarçïn F (2007) Internal model control using neural network for ship roll stabilization. J Mar Sci Technol 15(2):141–147 Google Scholar
 16.ElRabaie NM, Awad HA, Mahmoud TA (2007) A novel neural networkbased control scheme for controlling the multivariable anaesthesia. Minufiya J Electron Eng Res 17(1) Google Scholar
 17.Dongcai QU, Guorong Z (2010) On IMC structure scheme based on ANN’s inverse model for nonlinear system and simulation researches. In: Proceedings of the 29th Chinese control conference Google Scholar
 18.Zhang N, Feng ZR, Ke LJ (2010) Guidancesolution based ant colony optimization for satellite control resource scheduling problem. Appl Intell 35(3):436–444 CrossRefGoogle Scholar
 19.Khan SA, Engelbrecht AP (2010) A fuzzy particle swarm optimization algorithm for computer communication network topology design. Appl Intell 36(1):161–177 CrossRefGoogle Scholar
 20.Passino KM (2002) Biomimicry of bacterial foraging for distributed optimization and control. IEEE Control Syst Mag 22(3):52–67 MathSciNetCrossRefGoogle Scholar
 21.Jiun TJ, Chen TC (2006) Robust speed controlled induction motor drive based on recurrent neural network. In: Electric power systems research, pp 1064–1074 Google Scholar
 22.Flah A, Kraiem H, Sbita L (2012) Robust high speed control algorithm for PMSM sensorless drives. In The IEEE 9th international multiconference on systems, signals & devices (SSD2012), Germany, pp 16 Google Scholar