Control of Electric Vehicle: University of Electronic Science and Technology of China P.R.China
Control of Electric Vehicle: University of Electronic Science and Technology of China P.R.China
1. Introduction
The major components of an electric vehicle system are the motor, controller, power supply,
charger and drive train (wry, 2003). Fig. 1 demonstrates a system model for an electric
vehicle. Controller is the heart of an electric vehicle, and it is the key for the realization of a
high-performance electric vehicle with an optimal balance of maximum speed, acceleration
performance, and traveling range per charge.
Auxiliary
Batteries
Power Supply
www.intechopen.com
164 Urban Transport and Hybrid Vehicles
Hence, in recent years, there is quite a lot of researches in the exploring advanced controll
strategies in electric vehicles. As the development of the high computing capability
microprocessor, such as DSP (Digital Signal Processor), it is possible to perform complex
control on the electric vehicle to achieve optimal performance (Liu et al., 2004). These
capabilities can be utilized to enhance the performance and safety of individual vehicles as
well as to operate vehicles in formations for specific purposes (Lin & Kanellakopoulos,
1995). Due to the complex operation condition of electric vehicle, intelligent or fuzzy control
is generally used to increase efficiency and deal with complex operation modes (Poorani et
al., 2003; Khatun et al., 2003). However, it is essential to establish a model-based control for
the EV system, and systematically study the characteristics to achieve optimal and robust
control. This chapter will mainly focuses on model-based control design for EV’s and the
implementation of the platform for realization of variant control strategies.
F = μrr mg + ρ AC d v 2 + mg sin φ + m
1 dv
(1)
2 dt
velocity of the vehicle; μrr is the rolling resistance coefficient; ρ is the air density; A is the
Where, m is the mass of the electric vehicle; g is the gravity acceleration; v is the driving
frontal area of the vehicle; Cd is the drag coefficient; and φ is the hill climbing angle.
The rolling resistance is produced by the flattening of the tire at the contact surface of the
roadway. The main factors affecting the rolling resistance coefficient μrr are the type of tyre
and the tyre pressure. It is generally obtained by measurement in field test. The typical
range is 0.005-0.015, depending on the type of tyre. The rolling resistance can be minimized
by keeping the tires as much inflated as possible.
Fad
V
COI:Center of
Fhc Inertia
ω =V / R
ψ
Frr
ψ
Road base
mg
Fig. 2. External forces applied on a running vehicle
www.intechopen.com
Control of Electric Vehicle 165
motor
tire
r
G:gear ratio
Frr
TL = F ⋅
r
(2)
G
Where r is the tyre radius of the electric vehicle, G is the gearing ratio, and TL is the torque
produced by the driving motor.
www.intechopen.com
166 Urban Transport and Hybrid Vehicles
coil
Es Es Es
coil coil
⎧
(L + L field ) = V − ( Ra + R f )i − Laf i ⋅ ω
⎪⎪ a
di
⎨
⎪ J dω = L i 2 − Bω − T
dt (3)
⎪⎩ dt af L
Where: i is the armature current (also field current); ω is the motor angular speed; La, Ra,
Lfield, Rf are the armature inductance, armature resistance, field winding inductance and field
winding resistance respectively; V is the input voltage, as the control input; Laf is the mutual
inductance between the armature winding and the field winding, generally non-linear due
to saturation; J is the inertia of the motor, including the gearing system and the tyres; B is the
viscous coefficient; and TL is representing the external torque, which is quantitatively the
same as the one aforementioned.
www.intechopen.com
Control of Electric Vehicle 167
timing. The disadvantages are high initial cost, and more complicated motor speed
controllers (Wu et al., 2005).
A BLDC motor is composed of the motor, controller and position sensor. In the BLDC
motor, the electromagnets do not move; instead, the permanent magnets rotate and the
armature remains static. The rotor magnetic steel is radially placed, and the permanent
magnets (generally Neodymium-iron-boron: NdFeB) are installed on the surface. The
magnetic permeability of such permanent magnets is close to that of air, hence can be
regarded as part of the air gap. Hence, there is no salient pole effect, so that the magnetic
field across the air gap is uniformly distributed. The position sensor functions like the
commutator of brushed DC motor, reflecting the position of the rotor and determining the
phase of current and space distribution of magnetic force.
The BLDC motor is actually an AC motor. The wires from the windings are electrically
connected to each other either in delta configuration or wye ("Y"-shaped) configuration. In
Fig. 5, an equivalent circuit of wye-connected BLDC is shown. With this configuration, the
simplified model can be obtained as:
Te = = ( eaia + eb ib + ec ic ) / ω
ω
Pe
(5)
dω
Te − TL − f ω = J (6)
dt
Rs LS − M
ua
ia ea
N
LS − M
ib eb
ec
Rs
ub
Rs LS − M
uc
ic
Fig. 5. Equivalent circuit of BLDC
www.intechopen.com
168 Urban Transport and Hybrid Vehicles
Where, ω: the angular velocity of the motor; Te, TL: electromagnetic torque of the motor and
the load torque; Pe: electromagnetic power of the motor; J: moment of inertia; f: friction
coefficient.
Under normal operation, only two phases are in conduction. Then the voltage balance
equation, back EMF equation, torque equation, and kinetic equations that govern the
operation of a WYE connected BLDC motor can be obtained as:
⎧
⎪ud = E + i ⋅ R + L ⋅ dt
di
⎪
⎪E = K e ⋅ n
⎨
⎪Te = KT ⋅ n
(7)
⎪ dω
⎪Te = TL + f ω + J
⎩ dt
Where, ud: the voltage across the two windings under conduction; E: the back EMF of the
two windings under conduction; KT: torque coefficient, and Ke: back EMF coefficient.
It is shown that, in BLDC motors, current to torque and voltage to rpm are linear
relationships.
⎡ 2π 2π ⎤
⎢ cosθ cos(θ − ) cos(θ + )⎥
⎡ xd ⎤ ⎢ 3 ⎥ ⎡x ⎤
⎢ x ⎥ = 2 ⋅ ⎢ − sin θ 2π 2π ⎥ ⎢ ⎥
3
− sin(θ − ) − sin(θ + )⎥ ⋅ ⎢ xb ⎥
3 ⎢
a
⎢ q⎥
⎢ ⎥ ⎢⎣ xc ⎥⎦
(8)
⎢⎣ x0 ⎥⎦
3 3
⎢ 1 ⎥
⎢ 2 ⎥
1 1
⎣ 2 2 ⎦
www.intechopen.com
Control of Electric Vehicle 169
⎧ud = rs id + pΨ d − ωΨ q
⎪
⎪uq = rs iq + pΨ q − ωΨ d
⎪
⎪ Ψ d = Ld i d + Ψ
⎪
⎨Ψ q = Lq ∗ iq
⎪
(9)
Where, Ψd, Ψq: the flux linkages of d-axis and q-axis respectively; Ld, Lq: self inductance of
dq axes; id, iq: dq-axis current; ud, uq: dq-axis voltage; ωr: angular velocity of rotor; rs: stator
resistance; pm: number of poles; Ψ: flux linkage produced by the rotor permanent magnet;
Te: motor torque; TL: load torque; J: moment of inertia; B: friction coefficient; p: differential
operator.
The first two equations are the equations for stator voltage, the next two equations are about
the magnetic flux linkage, the fifth equation is about the calculation of torque, and the last
equation is about the kinetics of the motor.
ω0 Ψ q ω0 Ψ d
id + -
Rs Ls if iq + -
Rs Ls
dΨd dΨ f dΨq
im
ud Lmd Rm uq Lmq
dt dt dt
www.intechopen.com
170 Urban Transport and Hybrid Vehicles
•
task is not easy. For simplicity, following assumptings have to be made:
•
Magnetic circuit is linear, and saturation effect is neglected;
Symmetrical two-pole and three phases windings (120° difference) with edge effect
•
neglected;
Slotting effects are neglected, and the flux density is radial in the air gap and
•
distributed along the circumference sinusoidally;
Iron losses are neglected.
With such assumptions, the physical model of an induction motor can be given as shown in
Fig. 7. The three-phase stators are fixed on A, B and C axes, which are stationary reference
frames. The three-phase rotor windings are fixed on a, b and c axes, which are rotating
frames. Hence the equations governing the dynamics of the induction motor can be given as
(Dilmi & Yurkovich, 2005):
∂L
u = Ri + L + ωr
∂θ 0
di
i (10)
dt
∂ 2θ 0 ∂ωr 1 1 1 ∂L
= = (T − TL ) = ( iT i − TL )
∂t 2 ∂t J 2 ∂θ 0
(11)
J
B
i1b
ω
u1b
a
b
i2b
θ0
u 2b
u1a i
1a
o A
u2 c
c
i2c
u1c
i1C
www.intechopen.com
Control of Electric Vehicle 171
⎡ LA L AB ⎤ ⎡ La Lab ⎤
⎡L11 L12 ⎤ ⎢ ⎥ ⎢ ⎥
L AB Lab
L=⎢ L11 = ⎢LAB L22 = ⎢Lab
L22 ⎥⎦
L AB ⎥ , Lab ⎥
⎣L21
, where LA La and
⎢⎣LAB L AB L A ⎥⎦ ⎢⎣Lab Lab La ⎥⎦
⎡ cosθ cos(θ − 120c ) cos(θ + 120c )⎤
⎢ ⎥
L12 = L12 T
= M ⎢ cos(θ − 120 )
c
cosθ cos(θ − 120c )⎥ ; LA, La: self-inductance of stator
⎢ cos(θ + 120 ) cos(θ − 120 ) cosθ ⎥
⎣ ⎦
c c
and rotor; LAB, Lab: mutual inductance of stators and rotors respectively; M: mutual
inductance between stator and rotor.
The first equation is the voltage equation and the second equation is the kinetic equation of
the motor.
⎧
⎪⎪(La + L field ) dt = V − ( Ra + R f )i − Laf i ⋅ ω
di
⎨
⎪( J + m r ) dω = L i 2 − Bω − r ( μ mg + 1 ρ AC v 2 + mg sin φ )
2
(12)
⎪⎩ G 2 dt
af
G
rr
2
d
In this case, a model-based controller can be designed. Unlike other applications in which
the system generally operates around the equilibrium point, the operation of EV may take a
very wide range (e.g., from zero to full speed). Hence, it is essentially to design EV
controller with nonlinear control techniques. The model-based controller is very sensitive to
the uncertainties in the parameters. Many parameters in the complex vehicle dynamics
www.intechopen.com
172 Urban Transport and Hybrid Vehicles
battery
Key
Power Converter
KSI B-
BF
POTH
accelator F
ACC
A1
BRK
break A2
POTL
Tacho metter
Gear Shift
FRW1
main switch
Driver for
FRW2 Watchdog
Main switch
FRW3
RVR1 MC
RVR2
CANT
CANR
DSP SPEED
Automotive
electronics
⎪⎧X$ = f ( X ) + g( X )u
⎨
⎪⎩ y = h( X )
(13)
Where:
⎡ Ra + R f ⎤
⎢ − x1 − ⎥ x1 ⋅ x 2
Laf
⎢ La + L field La + L field ⎥
⎡ x1 ⎤ ⎡ i ⎤
X=⎢ ⎥=⎢ ⎥; f (X ) = ⎢ ⎧ ⎫⎥⎥ ;
⎣ x2 ⎦ ⎣ω ⎦ ⎢ ⎨Laf x1 − Bx2 − ( μrr mg + ρ AC d 2 x2 + mg sin ϕ )⎬
1 r 1 r2 2
⎢ ⎩ ⎭⎥
2
⎢ J + m G2 ⎥
r2 G 2 G
⎣ ⎦
⎡ ⎤
⎢ ⎥
1
g( X ) = ⎢ La + L field ⎥ ; h( X ) = x2 .
⎢⎣ 0 ⎥⎦
In order to consider the uncertainties of the system, further change the form of (13) into:
www.intechopen.com
Control of Electric Vehicle 173
⎪⎧X$ = f ( X ) + q( X ,θ (t )) + g( X )u
⎨
⎪⎩ y = h( X )
(14)
f(X), g(X) and h(X) are the same as in previous section. q(X,θ(t)) is used to include the model
uncertainties, where θ(t) is the uncertainty vector. In the model described above, the rolling
resistance coefficient and aerodynamic dragging coefficients cannot be precisely modeled.
These coefficients are always varying along the moving of the vehicle (e.g., due to wind).
⎡ ⎤
⎢ ΔR ⎥
i
⎢ + ⎥
q( X ,θ (t )) = ⎢
L L
⎥
a field
⎢− (mgΔμrr + 2 ω ΔC ad )⎥
r /G r2 2 (15)
⎢ J+m r ⎥
⎢⎣ ⎥⎦
2
G
G2
Where, ΔR, Δμrr and ΔCad are the uncertainties in winding resistance, rolling resistance
coefficient and aerodynamic dragging coefficient respectively, with ΔRm, Δμrr _ m and ΔC ad _ m
representing their maximum uncertainties.
By using the similar coordinate transformation, we have,
⎧⎪ z$ 1 = ω$ − ω$ 0 = z2 + Lq h( X )
⎨
⎪⎩ z$ 2 = L f h( X ) + Lg L f h( X )u + Lq L f h( X )
2
(16)
Where,
Lq h( X ) = − (mgΔμrr + 2 x22 ΔC ad )
r /G r2
J +m 2
2
r G
G
r / G(mgΔμrr +
x ΔC ad )( ρ AC d 2 x2 − B)
r2 2 r2
Lq L f h( X ) = ΔR −
1 2 x12 2 2
La + L field
G G
J+m 2 ⎛ ⎞
⎜J +m 2 ⎟
r2 r 2
2
⎝ G ⎠
G
Hence, by using the recursive backstepping design method with robust control system
(Marino & Tomei, 1993; Freeman & Kokotovic, 1996), one can select a robust control
Lyapunov function (rclf) as:
V ( z1 , z2 ) = z1 + ( z2 − z# 2 )2
1 2 1
(17)
2 2
J +m 2
r2
G
Then, the control law in (18) can robustly stabilize the electric vehicle system with any
parametric uncertainties:
www.intechopen.com
174 Urban Transport and Hybrid Vehicles
z# 3 − L2f h( X )
u= (18)
Lg L f h( X )
Where,
z# 3 = s2 ( z2 − s2 z1 ) (19)
s2 =
T12
{
− 1 − T1 − β 6 ΔRm − T1 ⎡⎣3 + 2α 2 z1 + 4α 2ω0 ⎤⎦ΔC ad _ m
( )
2
− β 6 ΔRms1 − 1 + ⎡ α 4 z12 + (α 3 + 3α 4ω0 )z1 + (2α 3ω0 + 3α 4ω0 2 ) ΔC ad _ m
⎣
(20)
+α 2 Δμrr _ m + (α 7 z1 + α 8 )ΔRm ⎤⎦ }
2
/4
( ) ( ) (
T1 = (2α1 z1 + 2α1ω0 )ΔCad _ m + 2 ; α1 = r 3 / G3 / J + mr 2 / G2 ; α2 = mgρ ACd ( r / G) / J + mr 2 / G2 ; )
4 2
α 3 = B ( r / G ) / ( J + mr 2 / G 2 ) ; α 4 = ρ AC d ( r / G ) / ( J + mr 2 / G 2 ) ;
3 2 6 2
( )
α 5 = 2Laf / ( J + mr 2 / G 2 ) / La + L f ; α 6 = 2 /( La + L f ) ; α 7 = α 5
1
2 Laf
ρ AC d 3 ;
r3
G
α8 = α5 ρ AC d 3 ω0 + α 5
1 r3 B
.
Laf G Laf
Fig. 9 shows the robustness test result of a controller designed for a light-weighted EV,
compared against a regular PID controller, with parameters as specified in Table 1. To
facilitate the graphical representation, the sudden change in hill climbing angle (0.1 rad) is
www.intechopen.com
Control of Electric Vehicle 175
applied on the nonlinear robust controller system at t=20 s and on the double-loop PID
controller at t=50 s. Shown in Fig. 10 is the excellent robust performance of the designed
controller under parameter uncertainties. The test is performed with the arbitrary
±10% uncertainty in the aforementioned three uncertain parameters. Again, for comparison
combinations (i.e., uncertainty in single parameter, two parameters and three parameters) of
purpose, the performance of (double loop) PID controller and the nonlinear optimal
controller are plotted in Fig. 11 and Fig. 12 respectively.
To systematically test the performance, the New European Driving Cycle (NEDC) is used.
The New European Driving Cycle is a driving cycle consisting of four repeated ECE-15
driving cycles and an Extra-Urban driving cycle, or EUDC (wry, 2003). The test results are
shown in F.g. 13 (the maximum speed is scaled to 50km/h here). It is shown that the
nonlinear controller has much better tracking performance than the double loop PID
controller, especially in the range of speed below designed nominal speed. And it does not
increase much amp-hour consumption (nonlinear optimal: 4.48km/11.97AH; nonlinear
robust: 4.825km/10.78AH; PID: 4.49km/10.67AH).
Motor Vehicle
La + Lf (mH) 6.008 m (kg) 800
ρ (kg/m3)
Ra + Rf (Ω) 0.12 A (m2) 1.8
B (N.M.s) 0.0002 1.25
φ (°)
J (kg. m2) 0.05 Cd 0.3
μrr
Laf (mH) 1.766 0
V (V) 0~48 0.015
ωnom (r/min)
i (A) 78A (250max) r (m) 0.25
2800 (v=25km/h) G 11
Table 1. Parameters of the electric vehicle system
30
25
20
Speed,km/hr
15
10
Startup Step = 1
Startup Step = 0.8
5 Startup Step = 0.6
Startup Step = 0.4
0
0 5 10 15 20 25
time,s
www.intechopen.com
176 Urban Transport and Hybrid Vehicles
30
25
20
Speed, km/hr
15
10
Startup Step = 1
5 Startup Step = 0.8
Startup Step = 0.6
Startup Step = 0.4
0
0 10 20 30 40 50 60 70 80 90 100
time,s
30
25
20
Speed, km/hr
15
10
Startup Step = 1
5 Startup Step = 0.8
Startup Step = 0.6
Startup Step = 0.4
0
0 5 10 15 20 25
time,s
www.intechopen.com
Control of Electric Vehicle 177
60
PID controller
40 NEDC standard
20
0
0 200 400 600 800 1000 1200
60
Speed, km/hr
Nonlinear Optimal
40 NEDC standard
20
0
0 200 400 600 800 1000 1200
60
Nonlinear Robust
40 NEDC standard
20
0
0 200 400 600 800 1000 1200
time, s
⎪⎩Te (s ) = TL (s ) + f ω (s ) + J ⋅ s ⋅ ω( s )
Te ( s ) K
Therefore, the dynamic model of an EV driven by BLDC can be obtained as shown in Fig. 14.
ud ( s ) 1 i( s) Te ( s ) 1 ω (s)
R + Ls Js + f
KT
TL ( s)
E (s)
Ke
www.intechopen.com
178 Urban Transport and Hybrid Vehicles
Gpwm (s ) =
K pwm
Ts ⋅ s + 1
(22)
Ti ⋅ s + 1
Gi ( s ) = K pi ⋅ = K pi ⋅ (1 +
1
Ti ⋅ s Ti ⋅ s
) (23)
Where, Kpi: the proportional coefficient of current regulator; Ti: time constant of current
regulator.
The structure of the current regulator is shown as the internal loop in Fig. 15. Negnecting
the effect of back EMF on the current regulation loop, the stator circuit of the motor can be
approximated as a first-order inertia element, hence:
= =
1
is 1
us R + L ⋅ s Ta ⋅ s + 1
R (24)
Where, Ta = L/R.
The structure of the speed regulation is shown as the external loop in Fig. 15 (Wu et al.,
2005). The speed regulation system should have no steady error at steady state and good
anti-disturbance capability at transient state, the speed regulator should be designed as
type-II system. The speed regulation loop is composed of an integration element and an
inertia element, a PI regulator should be used, leading to a transfer function:
Tω ⋅ s + 1
Gω (s ) = K pω ⋅
Tω ⋅ s
(25)
Where, Kpw: proportional coefficient of speed regulator; Tw: time constant of speed regulator.
ir is ωr
ω ref 1 1 K pwm us 1/R 1
K pω (1 + ) K pi (1 + ) Kc
Tω s Ti s Ts s +1 Ta s +1 Js + f
TL
Vehicle
dynamics
Kω
www.intechopen.com
Control of Electric Vehicle 179
is = id + jiq (26)
www.intechopen.com
180 Urban Transport and Hybrid Vehicles
β
q
is ωr d
iq δ
ε
α =a
Fig. 16. Current vector decomposition
⎧iα = ia
⎪
⎨
⎪iβ = 3 iα + 3 iβ
1 2 (27)
⎩
id and iq are then deduced from i and iβ by a rotation of the angle ε:
⎡ id ⎤ ⎡ cos ε sin ε ⎤ ⎡ iα ⎤
⎢ ⎥=⎢ ⎢ ⎥
⎣⎢ iq ⎦⎥ ⎣ sin ε cos ε ⎦⎥ ⎣⎢ iβ ⎦⎥
(28)
Td = P ∗ Φ * iq (29)
www.intechopen.com
Control of Electric Vehicle 181
VDC
-
× PI
iSq iA
θ
a,b,c
—> iB
iSd
d,q
Position,
PMSM
speed sensor
rotating. With the pulse signal, the space position θ and rotor speed ωr can be calculated.
Optical encoder is installed the motor rotor, which accepts the pulse signal when the rotor is
Using the transforming factor e -jθr , id and iq are obtained by performing coordinate
transform from ABC-coordinate to dq-coordinate on iA, iB and iC (obtained by assuming
iC = - iA – iB here). The detected id and iq are compared with the reference value idr and iqr. The
error signal is used for regulation, e.g. PI regulator. The inverse Park transform is applied on
the calcuated input and then generator output by looking up the table. The generated
output is supplied to the three-phase inverter through SVPWM (Space Vector PWM), which
controls the motor.
In the SVPWM modulation system, the gain of the inverter can be expressed as:
KVSI =
U0
(30)
2U Δ
Where, U0: DC voltage input to the inverter; UΔ: amplitude of the triangular modulation
signal.
The control object of current loop is the DC-AC inverter and the stator circuit of the PMSM
motor. DC-AC inverter can generally be regarded as a first-order inertia element with time
www.intechopen.com
182 Urban Transport and Hybrid Vehicles
GVSI (s ) =
KVSI
TPWM s + 1
(31)
With similar discussion in BLDC motor, the stator circuit of the motor is approximated by a
first-order inertia element. Introducing a PI regulator, the system is tuned to be type-I
element. The PI regulators used for d-axis and q-axis are the same, and the transfer function is:
PI i = K Pi (1 +
1
) (32)
Tii s
In this case, the structure of the current regulation system is shown as the internal loop in
Fig. 18. The close loop transfer function of the current regulation system can be simplified as
a first-order inertia element:
Gci (s ) = = =
Goi ( s ) Ki 1
1 + Goi (s ) s + ki sK i + 1
(33)
Gas (s ) = K s (1 +
1
) (34)
Ts s
Where, Ks, Ts: amplification coefficient and time constant of PI regulator respectively.
Then the overall model of control system is shown in Fig. 18, with the outer loop being the
speed loop (Brandstetter et al., 2008).
Kω
www.intechopen.com
Control of Electric Vehicle 183
may occur due to the fact that there is no current feedback. Under low speed condition, the
stator flux linkage is circular, and the current is close to sinusoidal. However, at high speed
condition, the current waveform is irregular. Large harmonic currents and electromagnetic
noises can be observed. Vector control, completely solved above issues. With vector control,
the control of AC induction motors is as simple as that of DC motor (Sun & Li, 2002).
under normal transform. First transform the model under A-B-C coordinate to α − β steady
The basic principle of vector control is that the magnetic force and power are invariant
coordinate (Clarke transform), then apply Park transform to the model under α − β steady
coordinate to d-q rotating coordinate.
Assume the windings of three phase A, B and C are symmetrical, and flowing through
synchronous speed ϖ l .
balanced sinusoidal current. Then the resultant magnetic force F is rotating with
⎧iα = ia
⎪
⎨
⎪ i β = 3 i a + 3 ib
1 2 (35)
⎩
The (α,β)→(d,q) projection (Park transformation) is the most important transformation in
the vector control. This projection modifies a two phase orthogonal system (α,β) in the d,q
rotating reference frame. If we consider the d axis aligned with the rotor flux, for the current
vector, the relationship from the two reference frame:
The model of a three-phase induction model under d-q two-axis coordinate can be
expressed as follows.
Votlage equations:
www.intechopen.com
184 Urban Transport and Hybrid Vehicles
⎡ψ ds ⎤ ⎡ rs 0 ⎤ ⎡ ids ⎤
⎢ψ ⎥ ⎢ ⎢ ⎥
Lm ⎥⎥ ⎢ iqs ⎥
0 Lm
⎢ qs ⎥ = ⎢ 0
⎢ψ dr ⎥ ⎢Lm
0
0 ⎥ ⎢idr ⎥
rs
. (39)
⎢ ⎥ ⎢ ⎥ ⎢ ⎥
⎢⎣ψ qr ⎥⎦ ⎣ 0
0 Lr
Lm 0 Lr ⎦ ⎢⎣ iqr ⎥⎦
Torque equation:
With these transformations, the stator current is decomposed into two DC components
aligned with rotor magnetic field, id and iq, with id corresponding to excitation current and iq
corresponding to torque current. These two currents can be controlled separately. Control of
id means control the flux, while control of iq means control of torque, which is like the control
of a DC motor, and then different control strategies can be easily applied on the control of
EV driven by induction motor. With vector control scheme, the structure of whole system
can be given as shown in Fig. 19.
Fig. 19. The control system of EV driven by induction motor with vector control scheme
www.intechopen.com
Control of Electric Vehicle 185
well as to operate vehicles in formations for specific purposes (Huang et al., 2007). In this
section, the design and implementation of an EV controller with DSP will be discussed.
•
An EV controller may preferably have following functions:
Due to the frequent acceleration/deceleration and up/down of EV, it is preferably that
the regenerative control function is included, to save energy in battery and hence
•
enhance the driving range per charge;
•
Self diagnostics and restoration from failure;
•
Scalable to function expansion;
And comprehensive protection functions, including over-temperature protection, over-
voltage and under-voltage protection, over-current protection, short-circuit protection,
motor-lock protection, and protection for control unit, main switch and security, etc.
Fig. 20 shows detailed implementation of a EV controller with DSP (Huang et al., 2007). The
whole system is composed of power circuit and control circuit. The control circuit include
two parts. One is the external control circuit including auxiliary power supply, MOSFET
driving circuit, isolation & protection circuit and contactor driving circuit. These circuits
have common ground with the battery group. Another one is the kernel control circuit,
including DSP kernel TMS320F2812, variant protection circuits, detection circuit, signal
conditioning circuit, CAN communication circuit, external watchdog circuit and isolated
auxiliary power system, etc.
Power circuit
Electric motor
Battery group
MOSFET
driver
Protection &
M
isolation
tachometer
DSP
auxiliary current/voltage/
power EV I/O temperature detection
supply
ADC
INT Flash speed/brake signal
Other
CAN RAM
modules
QEP Speed detection
CPU I/O
Protection circuit
External Contactor
Throttle
watchdog driver
www.intechopen.com
186 Urban Transport and Hybrid Vehicles
regenerative control. The voltage, current and speed signal of motor are detected and sent to
DSP after signal conditioning, to form a feedback control.
The control circuit detects the voltage, current, temperature and rotation speed to realize the
function of regulation and protection, and provides support for implementation of
advanced control strategies. The voltage, current, and temperature are measured through
the quantification of AD converter in DSP kernel. The speed is detected with the QEP
(quadrature encoder pulse) inside the DSP, and the speed signal is used for realization of
loss-of-control protection, smooth startup control, anti-skip control during up-hill startup
and providing speed information for the driver. Speed regulation (throttle) and breaking
signal are generated by proper device and acquisited by AD of the DSP after signal
conditioning.
The gear shift is digital signal. It is input to the DSP through I/O after isolation and
amplitude limiting. The main contactor is connected in series with the power circuit. The
winding of the contactor is controled by digital signal output from the I/O of DSP, to switch
on or off the power circuit. In order to restore the whole system from severe failure, double
watchdog (internal and external) is used. When the DSP is invalidated, the external
watchdog can reset the chip to restore the normal operation of the controller. Even the DSP
chip is destroyed, the output of the controller is switched off due to the continuing resetting.
With this scheme, the security of the EV is assured even under severe failure in the
controller.
The power converter is controlled by PWM, which is generated by two event managers
(with one generating 16 PWM signals). The PWM’s generated by the event managers of DSP
are sent to drive the power converter after isolation and amplification. When there are faults
in the power converter or in driving circuit, the fault information is sent to DSP through its
I/O after isolation.
The configuration of controller parameters, various state information and fault information
are exchanged with external devices, such as portable computer, handheld programable
devices, or display monitor on the EV, through CAN (controller area network) bus, which is
controlled by the embedded CAN controller in DSP.
The power converter is composed of semiconductor power electronics devices and their
snubber circuit and freewheeling diodes. Power semiconductor is the key for power
conversion in EV controller. Now, new generation of power semiconductor devices are
developed and the performances are improved continuously. Presently, in most of EV
control applications, MOSFET (metal–oxide–semiconductor field-effect transistor) or IGBT
(insulated-gate field-effect transistor) is used. IGBT needs higher driving power, but has
lower working frequency. MOSFET has the advantage of simple driving circuit and low
conducting resistance, making it specially suitable for driving application in high-current
low-voltage motor. In this chapter, the results are all based on MOSFET.
The main flow chart of the software running inside the DSP processor is shown in Fig. 21. It
is a state-based processing system, in which the status of the whole EV system is detected in
a real-time manner, various functions are activated once certain failure is detected or specific
order is received. The maximum delay of processing different failure is one main-loop
processing cycle.
Fig. 22 is the test platform in laboratory, in which the load torque is a brake dynamometer.
Shown in Fig. 23 and Fig. 24 are the performance of regenerative braking and speed
regulation with a PMSM motor.
www.intechopen.com
Control of Electric Vehicle 187
N
Throttle changed?
Y Close output of
S=BS?
controller
N
Y
S=NS? NS->FS,RS Processing
N
Y
S=FS? FS->NS,RS Processing
RS->NS,FS processing
N
BRK signal?
Y
Y Notes:
S=BS? NS,RS,FS->BS process
Y: Yes
N N: No
Process data under S: current status
BRK status BS: brake status
NS: null status
Process data under FS: forward status
throttle status RS: backward status
www.intechopen.com
188 Urban Transport and Hybrid Vehicles
www.intechopen.com
Control of Electric Vehicle 189
www.intechopen.com
190 Urban Transport and Hybrid Vehicles
6. Conclusion
In this chapter, the modeling of electric vehicle is discussed in detail. Then, the control of
electric vehicle driven by different motors is discussed. Both brushed and brushless DC
(Direct Current) motors are discussed. And for AC (Alternative Current) motors, the
discussion is focused on induction motor and permanent magnet synchronous motor. The
design of controllers for different motor-driven electric vehicle is discussed in-depth, and
the tested high-performance control strategies for different motors are presented. The
model-based controller is designed for brushed DC motor, while for other motors, model
based controllers can be designed in a similar way if the control strategies discussed in this
chapter are used. Finally, the implementation of the controller with DSP and some test
results with this platform are presented.
www.intechopen.com
Control of Electric Vehicle 191
7. References
wry, J.(2003). Electric Vehicle Technology Explained. pp. 183 – 195, John Wiley & Sons, Ltd.,
ISBN 0-470-85163-5, UK
Cheng, Y., Van Mierlo, J., Van den Bossche, P.; Lataire, P. (2006). Energy Sources Control
and Management in Hybrid Electric Vehicles. Proc. 12th Int. Power Electronics and
Motion Control Conf., pp. 524 – 530, Portoroz, Slovenia, Aug. 2006
Sakai, S., Hori, Y. (2000). Advanced Vehicle Motion Control of Electric Vehicle Based on the
Fast Motor Torque Response. 5th International Symposium on Advanced Vehicle
Control, pp. 1-8 Michigan, USA, Aug., 2000
Liu, Q., Zhong, Y., Zhou Z. (2004). Research of drive control system in electric vehicle based
on DSP. Proc. 7th Int. Conf. Signal Processing, pp. 539 – 542, Beijing, China, Aug. 2004
Lin, J., Kanellakopoulos, I. (1995). Nonlinear Design of Active Suspensions. Proc. 34th IEEE
Conf. Decision and Control, pp.1-3, New Orleans, United States, Dec. 1995
Poorani, S., Kumar, K.U., Renganarayanan S. (2003). Intelligent controller design for electric
vehicle. Proc. 57th IEEE Semiannual Vehicular Technology Conf., pp. 2447 – 2450, Jeju,
Korea, Apr. 2003
Khatun, P., Bingham, C.M., Schofield, N., Mellor, P.H. (2003). Application of fuzzy control
algorithms for electric vehicle antilock braking/traction control systems. IEEE
Trans. Vehicular Tech., Vol.52 (5), 2003, pp. 1356 – 1364
Profumo, F., Madlena, M., Griva. G. (1996). State variables controller design for vibrations
suppression in electric vehicles. Proc. 27th Annual IEEE Power Electronics Specialists
Conference, pp. 1940 – 1947, 1996
Chan, C.C. (1999). The Past Present and Future of Electric Vehicle Development. IEEE Power
Electronics and Drive Systems,1999, pp.11-13
Mehta, S., Chiasson, J. (1998). Nonlinear control of a series DC motor: theory and
experiment. IEEE Transactions on industrial Electronics, Vol. 45 (1), 1998, pp. 134 –
141
Wu, H.X., Cheng, S.K, Cui, S.M. (2005). A Controller of Brushless DC Motor for Electric
Vehicle. IEEE Transactions on Magnetics, Vol. 41 (1), 2005, pp. 509-513
Cui, B.W., Zhou, J.H., Ren Z. (2001). Modeling and simulation of permanent magnet
synchronous motor drives. Proceedings of the Fifth International Conference on
Electrical Machines and Systems, pp. 905 – 908, 2001
Gosden, D.F., Chalmers, B.J., Musaba, L. (1994). Drive system design for an electric vehicle
based on alternative motor types. IEE Power Electronics and Variable-speed Drives
Conference, pp. 710-715, 1994
Dilmi, S., Yurkovich, S. (2005). Nonlinear Torque Control of the Induction Motor in Hybrid
Electric Vehicle Applications. American Control Conference, pp. 3001-3006, 2005,
Portland, OR, USA
Huang, Q., Huang, Z., Zhou, H.L. (2009). Nonlinear Robust and Optimal Control of a Light-
weighted All Electric Vehicle. IET Control theory & applications, Vol.3 (4), 2009, pp.
437-444
Marino, R., Tomei, P. (1993). Robust stabilization of feedback linearizable time-varying
uncertain nonlinear systems. Automatica, Vol.29 (1), 1993, pp. 181-189
Freeman, R. A., Kokotovic, P. V. (1996). Robust Nonlinear Control Design ---- State-Space
and Lyapunov Techniques. pp. 107-117, Birkhauser, 1996
www.intechopen.com
192 Urban Transport and Hybrid Vehicles
Liu, Q., Zhong, Y., Zhou Z. (2004). Research of drive control system in electric vehicle based
on DSP. Proc. 7th Int. Conf. Signal Processing, pp. 539 – 542, Beijing, China, Aug. 2004
Telford, D., Dunnigan, M.W., Williams, B.W. (2000). A comparison of vector control and
direct torque control of an induction machine. IEEE 31st Annual Power Electronics
Specialists Conference, pp. 421 – 426, 2000
Liu, J., Huang, M.Z., Wang, Y. (2009). Research on Vector-Control System of PMSM Based
on Internal Model Control of Current Loop. Second International Workshop on
Computer Science and Engineering, pp. 297 – 301, 2009
Cao, X.Q., Fan, L.P. (2009). Efficiency-optimized vector control of PMSM drive for hybrid
electric vehicle. International Conference on Mechatronics and Automation, pp.423 –
427, 2009
Brandstetter, P., Krecek, T., Korbel, P. (2008). Non-model based sensorless vector control of
permanent magnet synchronous motor. IEEE Int. Symp. Ind. Electronics, pp. 618 –
623, 2008
Sun, J.J., Li, Y.D. (2002). Voltage-oriented vector control of induction motor: principle and
performance improvement. Proc. Power Conversion Conference, pp. 1340 – 1345,
2002
Huang, Z. (2007). Design and Implementation of an EV controller. MS thesis, pp. 18-26, 2007,
University of Electronic Science and Technology of China, Chengdu, China
Huang, Z., Huang, Qi, Chen, Q. (2007). Design of DC Motor Controller for Electric Vehicle.
Vehicle & Power Technology, No. 2, 2007, pp. 52-56, 64
www.intechopen.com
Urban Transport and Hybrid Vehicles
Edited by Seref Soylu
ISBN 978-953-307-100-8
Hard cover, 192 pages
Publisher Sciyo
Published online 18, August, 2010
Published in print edition August, 2010
This book is the result of valuable contributions from many researchers who work on both technical and
nontechnical sides of the field to be remedy for typical road transport problems. Many research results are
merged together to make this book a guide for industry, academia and policy makers.
How to reference
In order to correctly reference this scholarly work, feel free to copy and paste the following:
Qi Huang, Yong Chen and Jian Li (2010). Control of Electric Vehicle, Urban Transport and Hybrid Vehicles,
Seref Soylu (Ed.), ISBN: 978-953-307-100-8, InTech, Available from: http://www.intechopen.com/books/urban-
transport-and-hybrid-vehicles/control-of-electric-vehicle