Implementation of vector control on electric vehicle traction system

Nowadays, electric vehicle development takes a great attention in vehicle industry and researches, due to demising supplies of fuel, less pollution, and developing many resources of generating electricity as renewable energy and clean resources. This research is a part of the Autotronics Research Lab (ARL), applying researches on autonomous and electric vehicles. The main aim of the research is to apply vector control method on traction control system of electric vehicle (mini golf cart) by using two hub motors on the rear wheels while the two front wheels are used for steering; it is assumed that the controlled vehicle is fitted with some equipment which can used in autonomous driving. Simulation results show the output response of speed and torque of the vehicle motors and vehicle speed while the vehicle is moving in a straight line or during steering and also show the fusion between vector control and power steering algorithm. The system preforms the efficiency, safety, accuracy, and more controllability of electric vehicle traction system, leading to more stability in vehicle speed, lower troubleshoots, and less error in unstable surfaces and bad roads.


Background
The main idea that will be discussed in this research is the implementation of vector control system technology on traction system (electronic power steering, acceleration and deceleration by using regenerative torque) to ensure reliability and efficiency of the controlled vehicle.
The performance of the controlled EV traction system shown in Fig. 1 depends on many parameters such as stability in curves and off roads, acceleration time, low troubleshoots and stability in vehicle speed and motor speed output signal while steering takes place.
The system design applied indirect vector control on the two rear induction hub motors (Gang et al, 2012) and discussed the fusion of vector control model with Ackermann-Jeantnat model of steering kinematics, trying to perform output speed of vehicle during acceleration, deceleration, and steering while accelerating or decelerating either in good roads or unstable surface; this shows the system necessity.
Integration of accelerator pedal, brakes, and steering wheel takes place as the main controller of the SIMUlink model computing required motor speed signals as an input to the vector control model which controls vehicle motors; simulations take place for many different cases of vehicle traction system.

Motor sizing Vehicle parameters
The research is applied on EV; this section will explain how to calculate the motor torque required for the desired EV, and there are many parameters needed for motor sizing calculations (Chauhan, 2015) and all other calculations needed. All parameters are shown in Table 1.
1. Rolling resistance (RR), which is the opposing resistance at which the vehicle must overcome during rolling motion 2. Grad resistance (GR), which is the force responsible for pulling up the vehicle to an inclined surface 3. Acceleration force (FA) where: where a ð Þ is the required acc: Total tractive effort (TE) is the sum of total forces required to make the vehicle move forward, and it is a very important parameter in calculating required the motor torque where: Therefore, the motor torque (Tm) required for the desired vehicle is: Vector control or field-oriented control (FOC) The two main types of vector control are direct vector control and indirect vector control. This section will discuss about using indirect vector control and its implementation on EV traction system. The vector control provides superior dynamic performance for AC machines and brushless DC motors where FOC operates motors softly and balanced over full speed ranges without high troubleshoots; also, FOC operates the motors with optimum stable torque, and FOC has very important characteristics for EV. It generates full torque at zero speed and fast acceleration and deceleration for controlled motors, giving high performance for EV. Figure 2 presents the FOC in the electrical traction chain.

Theory of operation
FOC is a closed loop system which identifies three phase components of stator currents as two components orthogonal on each other, this is done by Park and Clark transformations (Q&D transformation) (Husien & Bazaz, 2015), and these components are represented as flux and torque components similar to the two components of the DC motors (armature flux I a and field flux I f ) where I ds (induction motor) ≡ I f (DC motor) and I qs (induction motor) ≡ I a (DC motor) where I ds is the flux component and I qs is the torque component, and controlling two decoupled vectors is more easier, giving high dynamic response. FOC calculates I ds and I qs by Q&D transformation, and I ds and I qs are part of the calculating rotor angle θ r which entered in negative Q&D transformation.
The calculation of i* qs is through the desired torque value (T e *) which is the output of PI controller that tunes the reference speed with the actual speed, i* ds is calculated through the desired value of the rotor flux (Ψ r *), then the two desired components are transformed to three-phase desired components Ia*, Ib*, and Ic* by negative Q&D transformation as shown in Fig. 4 (Ramesh et al, 2015), and comparing these components to the actual three phase current components Ia, Ib, and Ic by current regulator (hysteresis band), the output of the hysteresis band pluses are controlling the inverter.

Indirect vector control
The main difference between indirect vector control and direct vector control is the computation method of electrical rotor angle and number of sensors used, where the indirect vector control can be called sensorless vector control. Indirect vector control calculates the rotor angle by using rotor position measurements and machine parameter estimation (Gasbaoui et al., 2011), where the rotor angle θ r is calculated by the integration of the sum of rotor mechanical speed Ѡ r and calculated slip speed Ѡ r * as shown in Fig. 3, i.e., it allows high performance control of speed and torque and rotor position of the controlled motor.
Reasons for using indirect vector control over direct vector control: Sensors are eliminated causing decreasing coast factor Does not directly involve flux estimation Less sensitive to parameters variation Higher dynamic performance There are no drift problems such as indirect FOC Electrical rotor angle computation (θ r ) where Ѡ r and Ѡ r * are in rad/s, T r is the rotor time constant, R r is the rotor resistance = 0.236 ohms, L r , L m , and Ll' r are the coils from the equivalent circuit of the induction motor, and Ψ r is the calculated rotor flux.

I* qs and I* ds computation
where p is the number of poles and T e * is desired torque required.
The FOC method completes out calculations of the needed required torque for the controlled machine. It controls the inverter through the hysteresis controller which compares each current line with its reference value, and the result is six pulses control the universal inverter, as Fig. 4 shows the final and detailed block diagram of the indirect vector control applied in the software model integrated with steering model, induction motor, universal inverter, and hysteresis current regulator. Traction system Accelerator pedal This section discusses the fusion of the accelerator pedal and power steering and brake pedal with the FOC, where the traction system expressed in power steering, accelerator pedal, and brake pedal is combined together in the model as one dynamic controller in which its output feeds the two vector controllers with the required speed signals to control the two motor speeds according to the position of the accelerator pedal and steering angle. The accelerator pedal is the main item responsible for the acceleration and deceleration for the vehicle. The accelerator pedal has a direct connection with the vector control while the steering angle is equal to zero; each position on the accelerator pedal indicates a specific required speed signal, tuning the FOC to the required speed, and this position is indicated by sensors such as potentiometer.
The length of the accelerator pedal used in the project is 10 cm. This indicates that when the position of the pedal is at the lowest level at 0 cm, the speed of the motors will be zero, and when the position on highest level at 10 cm, the speeds of the motors could reach the motor rated speed, so it can be indicated as the following: Speed signal ¼ pedal position Â motor rated speed pedal length Â π 30 output is in rad=s where the speed signal is the input signal to the FOC to operate the motors at this required speed. While the steering angle is equal to zero, the velocity of the two motors is equal to each other; although if the new speed signal is higher than that of the last one, this means that the FOC passes higher positive torque to the motors to accelerate and reach the new speed and accelerate the vehicle, and if the new signal is lower than that of the last one, this means that the FOC passes negative torque for the motors to decelerate and decelerate the vehicle.

Analysis of power steering system kinematics
The fusion of power steering system with vector control in my model is by the Ackermann-Jeantnat model (Zhai & Dong, 2011) of steering run for low speed vehicle mode as shown in Fig. 5 where the two front wheels are responsible for steering with angle δ and the two rear wheels are responsible for driving the vehicle equipped with two independent hub motors.
The basic idea of the model is to compute the speeds of the two rear wheels during steering; V rr and V rl are expressed as the following: where V rr is velocity of the rear right motor, V rl is the velocity of the rear left motor, V is the vehicle speed computed according to the position of the accelerator pedal, and δ is the steering angle, and according to Eqs.
(12) and (13), the speed of the driving wheels are variables in V and δ and changes with their changing, and during steering to any direction, the outer motor speed is higher than the inner one, where the Ackermann-Jeantnat model expresses the kinematic relation between the inner and the outer wheels during steering. The steering angle δ indicates the trajectory direction of the vehicle where δ < 0 turn left, δ > 0 turn right, and δ = 0 moving in straight line. The accelerator pedal and power steering system fusion takes place while steering, where the velocity of the vehicle is directly proportional to the velocities of the driving wheels according to the Ackermann model, i.e., the output signals of the Ackermann model modeled with accelerator pedal and brake signal are defined as the main controller of the system, and the main controller output is the input speed signal of the FOC controller during steering and while moving in straight line as presented in Fig. 6.

Six DOF dynamic electric vehicle models
The dynamic electric vehicle models are simplified as shown in Fig. 7. There are six degrees of freedom. They are expressed as four degrees of the four wheels' rotational motion, and the other two DOF are expressed as the longitudinal motion and lateral motion of the controlled mobile vehicle (Doumati et al, 2010). This research model is expressed in low speeds of motion where the front right wheel angle is equal to that of the front left wheel angle, δ fr = δ fl = δ.
Longitudinal equation of motion: Lateral equation of motion: where F xfl, F xfr, F xrl, and F xrr are the longitudinal forces affecting on the four wheels (front-left and front-right and rear-left and rear-right); also, F yfl , F yfr , F yrl , and F yrr are the lateral forces affecting on the four wheels.

Results
This section explains many cases of the controlled vehicle under many different conditions illustrating the output results of the Simulink model showing the output of the motor speed and torque, vehicle speed, and speed commands.

First case
This case shows the response of the two motors when the vehicle is moving in straight line in a smooth way applying acceleration and deceleration to the vehicle through the accelerator pedal, where the starting mode is from zero with highest torque. As shown in Fig. 8, the speed starts from zero with acceleration, then the motor acts as a brake (regenerative torque) decelerating the vehicle then accelerating again, then moving with constant speed, then decelerating with negative torque, and finally moving in constant speed, where the output of the two motors are the same due to the steering angle being equal to zero (δ = o). The first figure shows the speed command and motor speed (RPM), the second figure shows the electromagnetic torque and output torque of the motors (Nm), and the third one shows the line current [A].

Second case
This case shows the output response of the vehicle and the motors' command and speeds while the vehicle is moving in straight line from zero and then accelerating at (T) < 2 and moving with constant speed at 2 < (T) < 4.5 and then applying steering angle to the left at δ = 20 and moving with constant speed at (T) > 4.5; the results in this case shows the output of the vehicle speed (rad/s) and the difference between the speed of the two motors during steering (rad/s).
The first figure (Fig 9a) shows the difference between the speed commands of the two motors, the second figure (Fig. 9b) shows the difference between the left motor speed and command (rad/s), the third figure (Fig. 9c) shows the difference between the right motor speed and command, and the fourth figure  (Fig. 9d) shows the vehicle speed.

Third case
This case shows the output response of the vehicle speed and motors speed and command while the vehicle is moving in straight line in a rough road as firm a sandy road, at time (T) > 3 s, then turned right with angle δ = 0 to δ = − 15 from T = 3.5 s to t = 5 s, then steering with constant speed; at 7 < T < 8 s, the vehicle is accelerating while steering take place with δ = − 15, and finally at T > 8 s, the vehicle is rotating with angle δ = − 15 with higher constant speed Fig. 10.

Discussion
The simulation results discuss the main idea and aim of the research, at which it shows the implementation of indirect vector control on the vehicle traction system under many different cases as accelerating and decelerating by using accelerator pedal, using steering wheel during constant speed and using steering wheel during acceleration.
The results shows good symmetry between the speed command and actual speed of motors either in case two for good roads or in case three for unstable roads and also shows the constant speed of electric vehicle during steering with different angles either in the second or in third case.
The system has some limitations: first, the Ackermann-Jeantnat model is used for low speeds of vehicles giving higher troubleshoots for high speeds; second, the inclination angle for inclined surfaces is limited at Θ<, =15°; and third, the brakes are applied as a signal only in the software model to stop controlling of FOC on the motors and not applied as a brake model.

Conclusion
The research has focused on the feasibility, accuracy, and stability of the real EV traction system integrated with vector control of two rear hub motors.
This research showed up the fusion between indirect vector control applied on two rear independent driving wheels and Ackermann-Jeantnat model for power steering, the combination between vehicle traction system models expressed in accelerator pedal model, and the power steering model and brakes are the main controller of the vehicle which feeds the indirect vector control with the required input speed signal. The indirect vector control models improve the driving wheel speeds with high accuracy in curved roads, straight roads, and inclined roads and also provide optimization and perfection of vehicle speed and motion during acceleration and deceleration, giving low troubleshoot percentage of ± 1.5%, and using regenerative torque in decelerating the vehicle speed will help in selfrecharging of the battery and increase its life time.
Using this criteria of controllers improves the controllability of the independent driving wheels leading to optimum torque commands and lower troubleshoots in unstable surfaces giving high performance for the traction system overall.
Motor control strategies and properties can affect vehicular steering properties directly; therefore, the two hub motors' independent driving vehicle should be attached with high speed controller properties.