Field Weakening Control of a Separately Excited DC Motor Using Neural Network Optemized by Social Spider Algorithm

This paper presents the speed control of a separately excited DC motor using Neural Network (NN) controller in field weakening region. In armature control, speed controller has been used in outer loop while current controller in inner loop is used. The function of NN is to predict the field current that realizes the field weakening to drive the motor over rated speed. The parameters of NN are optimized by the Social Spider Optimization (SSO) algorithm. The system has been implemented using MATLAB/SIMULINK software. The simulation results show that the proposed method gives a good performance and is feasible to be applied instead of others conventional combined control methods.


Introduction
DC motors are used in many applications and industrial fields, because they can provide a high starting torque.It is also possible to obtain speed control over wide range below and above the rated speed [1].It is well known that the speed of separately excited DC motor (SEDCM) can be achieved either by varying the armature voltage (armature control) or the field current (field control) [2].The speed is directly proportional to the armature voltage and inversely proportional to the field current.In armature control, one can get constant reference speed up to rated over the whole load range [3].However, in the field control, constant reference speed up to 120% -130% rated can be achieved but with loss of the motor developed torque.In this paper, neural network controller has been proposed to operate the DC motor in the field weakening region.This controller has been used to reduce the field current and then increase the speed of motor over rated speed.This paper is organized as follows: a mathematical model of SEDC motor operating in both armature and field weakening regions is given in Section 2; combined control of SEDCM with proposed method has been presented in Section 3; a brief description of neural networks is given in Section 4; in Section 5, a Social Spider Optimization (SSO) algorithm has been developed.Simulation results are given in Section 6, and finally, conclusions are given in Section 7.

Modeling of SEDCM
The quivalent circuit of a separately exited DC-Motor is shown in Figure 1 below.Dependent on the quivalent circuit, the mathmetical equations of the motor are obtained using electromechanical energy conversion and torque balance rules as follows [2] [3]: where a v and f v are the applied terminal voltage to the motor and field voltage, a e is the emf induced in the armature winding, The resistances a R and f R are the armature and field resistances, a L and f L are the ar- mature and field inductances, a i and f i are the armature motor current and field current, af L mutual induc- tance, m K is the motor constant, m ω is the motor speed, e T is the internal torque of the motor, J is the rota- tional inertia of motor, m B is the viscous friction of motor and L T the load torque.

Combined Control of SEDCM
The main advantage of DC motors is simple in the speed control.As the motor angular speed m ω , is directly proportional to armature voltage and inversely proportional to the magnetic flux produced by the field current, adjusting the armature voltage and/or the field current will change the rotor angular speed [4].The separately excited DC motor (SEDM) is usually supplied by two controlled voltage sources, that can be controlled rectifiers or choppers.One source is supplying the motor armature winding with the armature voltage, a v , and the other is supplying the motor field winding by the field voltage f v .The speed of the SEDM can be controlled by controlling either the armature voltage a v or the field voltage f v , or both of them.Usually, the voltage speed control method is used to control the speed of the SEDM below its rated speed.In this method, the field voltage f v is kept constant, while the armature voltage a v is varied.A constant field voltage f v produces a constant field current f I , which in turn, produces a constant magnetic flux in the motor air-gap.Hence, the torque produced on the motor shaft remains constant, as the armature current remains constant.
The motor angular speed m ω and the power on the motor shaft are linearly proportional to the armature vol- tage a v .To run the SEDM above its rated speed, the field weakening method is used.Here, the field current f I is reduced by reducing the field voltage f v .The magnetic flux in the motor air gap will be reduced, causing reduction of the back emf a e .The motor armature current will increase, resulting in increasing the motor speed.As a result of that, the back emf a e will increase and a new equilibrium will be established at a higher speed.In other words, with decreasing the field voltage f v , the motor angular speed m ω increases, while the motor torque decreases and the motor shaft power remains constant [5].The block diagram of conventional combined control is shown in Figure 2 below.
In this paper we propose a new method to increase the speed of the motor above the rated value (N rated).The new method based on predict the duty ratio (D) that give the field voltage f v and thus give the require current field f i .This can be realized by using the ability of neural networks (NNs) in prediction and control.Assume that this method don't need to sensors for current field f i and armature voltage a e .Also in this method, the predicted field current will keep the armature voltage of the motor under the rated value.

Neural Network
The structure of an artificial neuron is inspired by the concept of a biological neuron.Neural Network (NN) basically performs input output mapping which can be static or dynamic.One important feature of NN is that it normally requires supervised training (or learning) by input-output example data sets unlike conventional programming of digital computer [6].In learning process, neural network adjusts its structure such that it is able to output the same signals as the supervisor.The learning is repeated until the difference between network output and supervisor is enough [7].The basic model of a single artificial neuron consists of a weighted summer and an activation (or transfer) function as shown in Figure 4.The weights sum j s is therefore ( ) The sigmoid activation function is popular for neural network application.The equation for a sigmoid function is: Feed forward network is a network of single neurons jointed together by synaptic connections.Figure 5 show a three-layer feed forward neural network [8].

The Social Spider Optimization (SSO) Algorithm
A new type of evolutionary technique, which is called Swarm intelligence has enticed much research interest [9].The swarm expression is employed in a general manner to refer to any collection of interactive agents.Swarm intelligence is concerned with the methodology to model the attitude of social animals and insects for problem solving.Researchers invented optimization algorithms by simulating the behavior of ants, bees, bacteria, fireflies and other organisms [10].Self-organization and job division are the basic components of swarm intelligence.Self-organizing system means; each of the covered units responds to local exciter individually and may act together to achieve a global mission, via a job separation which averts a localized supervision.This will efficiently adapt the entire system to internal and external changes [11].A swarm algorithms are built up on several methods.Such methods involve the social behavior of bird herding such as the Particle Swarm Optimization (PSO) algorithm [12], the cooperative demeanor of bee colonies such as the Artificial Bee Colony (ABC) technique [13], the intermarriage demeanor of firefly insects such as the Firefly (FF) method [14] and imitation the cuckoo birds lifestyle such as the Cuckoo Optimization Algorithm (COA) [15].
The SSO supposes that entire search space is a sectarian web, where all the social-spiders react to each other.Each solution within the search space symbolizes a spider position in the communal web.Every spider receives a weight relating to the fitness value of the solution that is denoted by the social-spider.The algorithm supposes two different search agents (spiders): males and females.Depending on gender, each person is behaved by a set of different evolutionary operators which mimic different mutual behaviors that are commonly assumed within the colony.The computational steps for the SSO algorithm can be abstracted as follows [11]: 1) Considering N as the total number of n-dimensional colony members, define the number of male Nm and females N f spiders in the entire population S.
3) Calculate the weight of every spider of S as follows: where ( ) i J s is the fitness value obtained by the evaluation of the spider position i s , { } ( )

4) Move female spider according to the female cooperative operator
The sectarian web is used as technique to transmit information among the colony individuals, this information is encoded as small vibrations.Each vibration depends on the weight and distance of the spider which has generated it.
There are two type of vibration: a) i Vibc which is understood by the member i as response of the information transmitted by the individual c( c s ), where c meant the nearest member to i and assigns higher weight in comparison to i where , Vibb which is understood by the member i as response of the information transmitted by the individual b( b s ), where b meant the best fitness value such that where , The movement of the female is depended on the attraction and repulsion, and they are depended on a uniform random number m r within range [0, 1].If m r is smaller than a threshold PF an attraction is produced, oth- erwise a repulsion is generated.
The new position 1 with probability 2 1 with probability 1 2 where , , and rand α β δ are random value between [0, 1], while k represents the iteration number.5) move the male according to the cooperative operator We have now the third type of vibration i Vibc (a vibration understood by the member i as a result of the in- formation transmitted by the member f( b s ) where f is the nearest female to individual i.
2 , The male individuals are arranged in decreasing order according to their weight value, the individual whose weight f N m w + is located in the middle is considered the median male individual.The change of positions will be as follows: ( ) where f s represents the nearest female to the male i. 6) mating is performed by predominant males and females members, when a dominant male m locates at a set of females within a specific range r, it mates forming a new brood.
r is calculated as follows: ( ) 7) it stop condition is verified the algorithm is finished otherwise go back to step 3.The flow chart of SSO is shown in Figure 6.

Simulation Results
The SIMULINK model of Field Weakening Control for separately excited DC motor have been implemented using MATLAB/SIMULINK software as shown in Figure 7.The ratings and parameters of DC motor are shown in Table 1.PI controller in outer loop have been used to control the speed of the motor in both armature and field modes.To control the current of the motor, Hysteresis current method have been used in inner loop.The maximum current ( a i max) can the motor reach to it is twice the rated current.The voltage of field can be vraied by changing the duty ratio.For the speed equal or less than the rated speed the field current keep constant.For the speed higher than the rated speed the field current is varied to control the speed.Pre-data sets have been used as input and output to NN to training the weights and bais based on SSO.The training data are shown in Table 2.Each weights of the neural network will represent the male and female individuals.The number of individual is assumed to be 60, while the range of parameters is supposed to be between [0, 1].The summation of the mean square error is taken as a fitness function.The structures of NN have three neorons in hidden layer and one neoron for the input layer and another one in the output layer.
The speed and field current responses of the motor under and over the rated speed is shown in Figure 8.The field current is 1.6 A for all speeds under rated speed of the motor which is 1750 r.p.m.A three step changes of 200 r.p.m in a reference speed is applied at t = 12, 20 and 28 s respectively.As shown in the responses (a) and (b), when the speed of the motor N increases over the rated speed Nb the field current decreases.Figure 9 show the summation of the mean square error to the number of training iterations.To drive the motor above rated speed by using field weakening method, the armature voltage should kept constant under the rated value.This can be clearly observed in Figure 10.Through step changes in the motor speed, the armature voltage will remaining almost constant below the rated voltage of the armature which equal to 225 v.

Conclusion
The armature and field circuits of SEDCM are providing from separate sources; this can give a flexible control and wide speed rang.Field weakening methods are dependent on the reverse relationship between the field current and the speed of the motor.To control the speed of the motor from zero up to rated speed, armature control method is used and thus the motor drives in the constant torque region.While controlling the speed over the rated speed (the motor operates in the constant power region), field weakening methods should be used.In this work, the requirement field current has been predicted by using NN to drive the motor in both torque and power regions without needing any sensor to the armature voltage or field current.The parameters of NN optimized using SSO.The simulation results show the effectiveness of the proposed method.

Figure 1 .
Figure 1.The quivalent circuit of a separately exited DC-motor.

Figure 3
below show the block diagram of the proposed method.

Figure 2 .
Figure 2. Block diagram of conventional combined control for SEDCM.

Figure 3 .
Figure 3. Block diagram of proposed field weakening control.

Figure 4 .
Figure 4. Basic model of a single artificial neuron.

Figure 9 .
Figure 9.The summation of the mean square error.

Figure 10 .
Figure 10.Armature voltage of the motor.

Table 1 .
DC motor ratings and parameters.
a L = 0.008 H a

Table 2 .
Data sets for combined control.