Received 1 December 2015; accepted 16 January 2016; published 19 January 2016
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  . 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)  . 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  . 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.
2. 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   :
where and are the applied terminal voltage to the motor and field voltage, is the emf induced in the armature winding, The resistances and are the armature and field resistances, and are the armature and field inductances, and are the armature motor current and field current, mutual inductance, is the motor constant, is the motor speed, is the internal torque of the motor, is the rotational inertia of motor, is the viscous friction of motor and the load torque.
3. Combined Control of SEDCM
The main advantage of DC motors is simple in the speed control. As the motor angular speed, 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  . 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, , and the other is supplying the motor field winding by the field voltage. The speed of the SEDM can be controlled by controlling either the armature voltage or the field voltage, or both of them. Usually, the voltage speed
Figure 1. The quivalent circuit of a separately exited DC-motor.
control method is used to control the speed of the SEDM below its rated speed. In this method, the field voltage is kept constant, while the armature voltage is varied. A constant field voltage produces a constant field current, 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 and the power on the motor shaft are linearly proportional to the armature voltage. To run the SEDM above its rated speed, the field weakening method is used. Here, the field current is reduced by reducing the field voltage. The magnetic flux in the motor air gap will be reduced, causing reduction of the back emf. The motor armature current will increase, resulting in increasing the motor speed. As a result of that, the back emf will increase and a new equilibrium will be established at a higher speed. In other words, with decreasing the field voltage, the motor angular speed increases, while the motor torque decreases and the motor shaft power remains constant  . 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 and thus give the require current field. 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 and armature voltage. Also in this method, the predicted field current will keep the armature voltage of the motor under the rated value. Figure 3 below show the block diagram of the proposed method.
4. 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  . 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  . The basic model of a single artificial neuron consists of a weighted summer and an activation (or transfer) function as shown in Figure 4.
Figure 2. Block diagram of conventional combined control for SEDCM.
Figure 3. Block diagram of proposed field weakening control.
Figure 4. Basic model of a single artificial neuron.
is the activation function;
is the output.
The weights sum 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  .
5. The Social Spider Optimization (SSO) Algorithm
A new type of evolutionary technique, which is called Swarm intelligence has enticed much research interest  . 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  . 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  . 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  , the cooperative demeanor of bee colonies such as the Artificial Bee Colony (ABC) technique  , the intermarriage demeanor of firefly insects such as the Firefly (FF) method  and imitation the cuckoo birds lifestyle such as the Cuckoo Optimization Algorithm (COA)  .
1) Considering N as the total number of n-dimensional colony members, define the number of male Nm and females Nf spiders in the entire population S.
Figure 5. Three-layer feed forward neural network.
2) Initialize randomly the female and male members where
and calculate the fitness of each individual.
3) Calculate the weight of every spider of S as follows:
where is the fitness value obtained by the evaluation of the spider position, and.
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) which is understood by the member i as response of the information transmitted by the individual c(), where c meant the nearest member to i and assigns higher weight in comparison to i
b) which is understood by the member i as response of the information transmitted by the individual b(), where b meant the best fitness value such that
The movement of the female is depended on the attraction and repulsion, and they are depended on a uniform random number within range [0, 1]. If is smaller than a threshold an attraction is produced, otherwise a repulsion is generated.
The new position of the female is calculated as follows:
where 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 (a vibration understood by the member i as a result of the information transmitted by the member f() where f is the nearest female to individual i.
The male individuals are arranged in decreasing order according to their weight value, the individual whose weight is located in the middle is considered the median male individual. The change of positions will be as follows:
where 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.
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 (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.
Figure 6. Flow chart of SSO.
Table 1. DC motor ratings and parameters.
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.
Figure 7. SIMULINK model of field weakening control for SEDCM.
Figure 8. Speed and field current responses of the motor.
Figure 9. The summation of the mean square error.
Figure 10. Armature voltage of the motor.
Table 2. Data sets for combined control.
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.
 Tipsuwanpom, V., Numsomran, A., Klinsmitth, N. and Gulphanich, S. (2007) Separately Excited DC Motor Drive with Fuzzy Self-Organizing. International Conference on Control, Automation and Systems, Seoul.
 Liu, Z.Z., Luo, F.L. and Rashid, M.H. (2003) Speed Nonlinear Control of DC Motor Drive with Field Weakening. IEEE Transactions on Industry Applications, 39, 417-423.
 George, M., Basu, K.P. and Chiat, A.T.W. (2010) Model Reference Controlled Separately Excited DC Motor. Neural Computing and Applications, 19, 343-351.
 Parpinelli, R.S. and Lopes, H.S. (2011) New Inspirations in Swarm Intelligence: A Survey. International Journal of Bio-Inspired Computation, 3, 1-16.
 Yim, M., Zhang, Y. and Duff, D. (2002) Modular Robots. IEEE Spectrum, 39, 30-34.
 Cienfuegos, E., Zaldívar, M., Zaldívar, D. and Pérez-Cisneros, M. (2013) A Swarm Optimization Algorithm Inspired in the Behavior of the Social-Spider. Expert Systems with Applications, 40, 6374-6384.
 Kennedy, J. and Eberhart, R. (1995) Particle Swarm Optimization. Proceedings of the 1995 IEEE International Conference on Neural Networks, 4, 1942-1948.
 Yang, X.S. (2010) Engineering Optimization: An Introduction with Metaheuristic Applications. John Wiley & Sons.
 Rajabioun, R. (2011) Cuckoo Optimization Algorithm. Applied Soft Computing, 11, 5508-5518.