A novel IMC controller based on bacterial foraging optimization algorithm applied to a high speed range PMSM drive
Authors
 First Online:
DOI: 10.1007/s1048901203610
 Cite this article as:
 Flah, A. & Sbita, L. Appl Intell (2013) 38: 114. doi:10.1007/s1048901203610
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–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.
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.