Professional Documents
Culture Documents
An EV - Simulator For Electric Vehicle Education
An EV - Simulator For Electric Vehicle Education
instructive. ( Nc, Nm) => Battery: Vbp, Ibp, Pbp: => Vehicle: Umax, Mileage ,-..LL-'----,
Rig ht-Tire
Keywords-Electric Vehicle Education; EV-Simulator; EV Design
Software; Lamar-EVSiml Figure I. Basic Electric Vehicle Configuration: Lamar-EV I.
3.1 INPUT DA TA: where Wbp is the battery pack weight,Wm is the motor weight,
Input to the simulator is specified using three input data files: We is the controller weight, Weh is the charger weight, and
a. vehicle-data; b. electric-elements-data; and c. environment Wms is any miscellaneous weight added to the vehicle. The
data. battery pack weight Wbp depends on n-number of batteries
connected in series and m-number of such battery-strings
A. Vehicle Data Input File connected in parallel. The battery pack weight is given by
The frrst input file includes: al - vehicle information such as:
drag-coefficient, frontal area, drive efficiency, and gear ratios (3)
of the gear box; a2 - the tire specification: width, aspect ratio,
and rim-diameter; a3 - other vehicle parameters such as: where Wb is the weight of an individual battery. The weights
rolling resistance, break and steering, weight removed and removed Wr is given by
weight added when converted into an electric vehicle.
132
2009 International Conference on Engineering Education (lCEED 2009),December 7-8,2009,Kuala Lumpur,Malaysia
where Cr is the coefficient of rolling resistance, Cb is the
coefficient of breaking and steering resistance of the vehicle,
Cwfj = {09. 8 (�:)2 + 06. 3 (�:)}Crw 0.40 (�:) -
(11)
and h is the percentage of incline or hill climbing in the drive
cycle. The static drag force due to hill is given by where Wi is the average wind speed in mph, Vi is the vehicle
speed in mph, Crw is the relative wind factor. The relative
wind factor depends on the atmospheric humidity,
temperature, and how vehicles are driven such as driving with
open windows. Its value varies between 1.2 to 1.6 depending
Part-C: Computing Tire-Torque Constant Cite on the vehicle type and how it is driven. As it can be seen
The tire torque multiplication factor Tt1mf is used to from (11), the effect wind-speed decreases at higher vehicle
compute torque at the tire from the drag-force as: speeds. The total sum of all the drag forces Fti at vehicle
speed Vi and wind speed Wi is given by:
T = Cttc * F (7)
Ftotl = Fw + Fh + Fal + FWI (12)
where T is the torque at the tire in ft-Ibs, Ctte is in ft, and F is
the overall static-drag-force in lbs. Cttc is a constant for a where Fw is the drag force due to vehicle weight, Fh is the
given vehicle and is computed from the vehicle's tire drag force due to hill-climbing, Fa; is the dynamic area drag
specifications as shown in Appendix A and B. It's value is force,and FWi is the dynamic wind drag force.
given by:
Dynamic torques:
Knowing the cumulative drag forces Ftoti at varying
(8) vehicle speeds, the corresponding rotational torques, at the
tire, are then computed using the vehicle's torque
where Rl is the vehicle tire's revolutions per mile. It is multiplication factor as
computed from the tire-size specifications as shown in
Appendix B. To some extent it varies with tire-inflation Ttirel = Tttmf * Ftotl (13)
coefficient Clif•
where Tttmf is the tire torque multiplication factor given by
Part-D: Dynamic Drag-forces, Torques, powers (8), Ftot is the total static and dynamic drag forces on the
Dynamic-drag Forces: vehicle given by (12).
In this section, dynamic drag-forces are computed for
varying vehicle speeds. Dynamic drag forces involved are Dynamic power:
area-drag-forces and wind-drag-forces. The area-drag-force is The power requirements are then estimated from the
a function of vehicle drag-coefficient, vehicle frontal area, known torques. The factors involved in computing the power
and the vehicle speed and is given by: are: the tire torque,the vehicle speed, tire's rotations per mile,
and overall drive-train-efficiency.
133
2009 International Conference on Engineering Education (lCEED 2009), December 7-8, 2009, Kuala Lumpur,Malaysia
Vbpi = Vbpmax - (Ibpi * R bp) (22)
(15)
where Vbpmax battery-pack voltage, in volts; Rbp is the battery
pack resistance, in ohms. �p in turn is computed as,
where Ttirei is the tire-torque at i-mph, Gi is the gear-ratio, (� * n)/m; where � is the individual battery resistance, n the
and TJd is the overall drive-train efficiency. number of batteries connected in-series, and m the number of
The required motor rpm R.m, in rpm,is given by: such series connected battery strings connected in parallel.
(Ui * Gk * R l)
R mi
= (16) Computing vehicle parameters:
60 The vehicle range in miles, at different vehicle speeds, Rvrl,
where Ui is the vehicle speed in mph, Gk is the gear-ratio, Rl
in miles,is given by:
is the tire's revolutions per mile.
The required motor amps Imh in amps,is given by:
(23)
1
Tmi ) N
(-
I·
ml -
_
(17)
K where IbPk is the individual battery Peukert amps, in amps;
Ibpk is the battery-pack current, in amps, at vehicle speed i
where Tmi is the required motor torque at vehicle speed of i mph; n is the individual battery's Peukert-exponent.
mph,K and N are motor constants.
The required motor volts Vmotorh in volts,is given by: Part-F: Computing Top-Speeds - in Different Gears
The Top-speed Algorithm
Vmi =
{-}(R mi
A
* D)
+C
= (18)
The top-speeds, in each gear, that the vehicle can attain is
limited by: a. the capabilities of the battery-pack - if it can
provide sufficient voltage and current required for the motor;
TmlB and if the motor in itself can rotate at the rpm required at the
top-speed. The procedure used to compute the top-speed in
where Tmi is the required motor torque,in ft-Ibs,and Rmi is the the form a psedo-code listed in Part-F of the output simulation
motor rpm at vehicle speed of i-mph; and fmally A, B, C, D trace. It is top-speed algorithm. To determine the top-speed
are motor constants. and corresponding limiting factor in each gear: First find the
The required motor power Pmi,in kw,is given by: required motor voltages, amps, and the RPMs for the entire
speed-range at an interval of one mile. The top-speed is the
(19) minimal speed at which one of the following three limiting
factors is reached: battery-pack max voltage, battery-pack
where lmi is the motor current at vehicle speed of i-mph,Vmi is max current,or the max of motor RPM.
the corresponding motor volts.
IV. THE LAMAR-EVSiml SOFTWARE
Computation ofBattery-Pack Requirements:
The required battery-pack Pbph in kw, is given by: The software is implemented in Visual C++ under MS
Visual Studio .NET 2005. The executable is stand-alone. It
Pml has three input files and generates one output file. Appendix
-
Pb PI - (20)
(l1c >l1m) C shows a small section of the output simulation trace. The
software is available for interested readers.
where Pmi is the motor power at vehicle speed of i-mph. The
V. CONCLUSIONS
TJm is the overall efficiency of the motor in converting
electrical energy into mechanical energy; and fmally,TJc is the This software was to teach a graduate course on
overall controller efficiency in converting the DC battery pack "Modeling and simulation of Electric Vehicles" and found to
voltage into Pulse Width Modulated PWM-signal to the DC very valuable. It is essential that the EE-programs recognize
motor in case of a DC-drive; and into 3-phase Variable this huge paradigm shift in the auto design and alter their
Frequency Drive VFD-signal to the AC-motor in case of an curriculum to include the study, design, and simulation of
AC-Drive. electric vehicles & hybrid-electric vehicles. Current version of
The required battery-pack Ibph in amps,is given by: the EV-simulation software that we have developed, Lamar
EVsiml, is text-based; the next version, which is currently in
Pbpl
progress,is a GUI-based.
Ibpi -
- (21)
(Vbpl > m)
ACKNOWLEDGMENTS
where Pbph Pbpi are the battery pack power and voltage at This work in part funded through the project: Lamar-EVl,
vehicle speed of i-mph; m is the number of series-connected Green Foundation,Port Arthur,Texas,2006-2007.
battery strings configured in parallel.
The battery-pack voltage Vbph in volts,is then given by:
134
2009 International Conference on Engineering Education (lCEED 2009),December 7-8,2009,Kuala Lumpur,Malaysia
REFERENCES
[ I] CarSim (2009), carsim.com.
[8] Seth Leitman and Bob Grant, Build Your own Electric Vehicle, 2nd ed.,
McGraw-Hill: New York, NY.
135
2009 International Conference on Engineering Education (lCEED 2009),December 7-8,2009,Kuala Lumpur,Malaysia
APPENDIX A:
Computing Tire Torque Multiplication Constant: Cttc .
tireswH =
.
tireWi dth *
(tireAR)
-- * (--
1
) (Bl)
Cttc is needed to compute torques from the drag forces. It is 100 10'2.54
expressed as function of revPerMile, number of revolutions a where tireSWH is the side wall height in inches, tirewidth is the
vehicle's tire rotates per mile,as follows: width of tire in mm,tireAR is the tire aspect ratio expressed as:
Power Torque * Speed Force * Velocity (AI) (tire )
tire
SWH
tireAR 100
= =
= * (B2)
width
where the "Power" is in ft-Ibs/sec, the "Torque" in ft-Ibs, the
"Speed" in radians per second, drag-force "Force" is in lbs, Computing revPerMile RI:
and fmally the "Velocity" is in ftlsec. Wheel diameter is given by
Torque = (Velocity/ Speed) * Force = Cttc * Force (A2) wheeleDi a = tireRlmDi a + (2 * tireSWH) (B3)
For a given vehicle Cttc is a constant; and how it is computed Distance traveled,in inches,by the wheel in one revolution is:
is shown in the following section. The equation (a2) with disPerRev = p i * wheeleDi a (B4)
units is given by:
revPerMile, number of revolutions this wheel rotates in one
P(ft-Ib/sec) = T(ft-Ibs)*S(radians/sec) = F(lbs)*V(ftlsec) or mile,with tire inflation coefficient Ctif is given by:
T(ft-Ibs)={V(ftlsec)/S(radians/sec)} *F(lbs)=Cttc * F(lbs) (A3) revPerMile = {(1760 * 3 * 12/ disPerRev)}/ etif (B5)
From (a3), where Ctif is the tire inflation coefficient typically varying
from 0.8 to 1.0 corresponding to 80% to 100% tire inflation.
Cttc = {V(ftlsec)/S(radians/sec)} (A4)
In (A7), if Rl is known then Cttc can be computed. This INPUT DATA 1: in1 vehicle.txt
section describes how to compute this parameter revPerMile a1. Vehicle Information:
Cd, Drag coefficient 0.30
of a tire for a given vehicle's tire specification.
A, Frontal area, sq-ft 18.00
Wvcw, Vehicle curb weight, lbs = 2500.00
Tire size specification: Nd, Overall drive efficiency = 0.91
The tire size in North America is specified by three gl, Gear ratio 1 12.01
parameters: 1. Tire-width in mm; 2. tire-side-wall-height g2, Gear ratio 2 7.82
then be 14 + (2 * 4.49) = 22.98 inches. The construction of Ctif, Tire inflation factor 0.9639
rimDia, inches 14.00
the fabric tire is Radial type.
Here, first the side wall height of the tire is determined using
the tire's aspect ratio as:
136
2009 International Conference on Engineering Education (lCEED 2009),December 7-8,2009,Kuala Lumpur,Malaysia
PART D: DYNAMIC DRAG FORCES, TORQUES, POWERS FOR VARYING SPEEDS AT THE TIRE:
VehSpeed mph 10 20 30 40 50 60 70 80 90
a. Fwt 1bs 172 172 172 172 172 172 172 172 172
b. Fh 1bs 191 191 191 191 191 191 191 191 191
c. Fa 1bs 1.4 5.5 12.4 22.1 34.5 49.7 67.7 88.4 111.9
windFactor 4.4 1.3 0.7 0.4 0.3 0.2 0.2 0.2 0.1
d. Fw lbs 6.0 7.2 8.4 9.5 10.7 11.8 13.0 14.2 15.3
e. Ft lbs 370 375 383 394 408 424 443 465 490
f. tireTorque ft-lbs 345 350 357 367 380 395 413 433 456
g. tirePower hp 9.9 20.0 30.7 42.0 54.4 67.8 82.7 99.2 117.5
DYNAMIC EQUATIONS:
Fa[i]=Cd*A*pow(vehSpeed[i], 2)/391;
wind Factor[i]=(0.98*r1sq+0.6*r1)*Crw-0.40*r1;where,
GEAR 1 RESULTS:
VehSpeed mph 10 20 30 40 50 60 70 80 90
a. tireTorque ft-lbs 345 350 357 367 380 395 413 433 456
b. reqMotorTorque ft-lbs 32 32 33 34 35 36 38 40 42
c. reqMotorRpm rpm 1805 3610 5416 7221 9026 10831 12636 14441 16247
d. reqMotorAmps amps 249 251 255 260 266 273 282 291 302
e. reqMotorVolts volts 40 81 123 166 210 255 303 352 404
f. reqMotorPower kw 10 20 31 43 56 70 85 103 122
g. batteryPackPower kw 11 23 35 48 62 77 94 114 135
h. batteryPackAmps amps 93 189 289 397 515 644 787 947 1126
i. batteryPackVolts volts 113 105 97 88 79 68 57 44 30
j. vehRange miles 12 9 8 7 6 6 5 5 4
TOP SPEED: 29 mph;
Limitation: Battery voltage; reqMototVolts @ this speed 119
DYNAMIC EQUATIONS:
reqMotorTorque[i] = tireTorque[i] / (geaCratio[n] * Nd);
reqMotorRpm[i] = (vehSpeed[i] * geaCratio[n] * revPerMile) / 60;
batteryPackAmps[i]=(batteryPackPower[i]/batteryPackVolts)/numOfStrings;
vehRange[i] = vehSpeed[i] * puekertAmps / r4; where
r4 = pow(batteryPackAmps[i], puekertExp);
GEAR 5 RESULTS:
VehSpeed mph 10 20 30 40 50 60 70 80 90
a. tireTorque ft-lbs 345 350 357 367 380 395 413 433 456
j. vehRange miles 9 7 6 5 5 4 4 3 3
TOP SPEED: 60 mph;
Limitation: Battery voltage; reqMototVolts @ this speed 119
137