Previous in Forum: Cruise Control 2008 Silverado   Next in Forum: Bosch LE2/LU2 Jetronic Circuit
Close
Close
Close
7 comments
Rate Comments: Nested
Commentator

Join Date: Jun 2009
Posts: 80

Electric Vehicle Speed Distance Formulas

12/12/2011 4:30 PM

With the speed torque curve of the drive motor referred to the drive wheels and with the formulas for rolling resistance and air drag is there any reason I can't fully describe the time/speed/distance for a vehicle by having a spreadsheet clunk through each second of time [rather than solving differential equations]? TIA

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#1

Re: electric vehicle speed distance formulas

12/12/2011 5:00 PM

Prob'ly can. (I don't think the speed/torque curve of the motor's going to come into it too much (just a feeling)).

Problem with the "each second" approach is that doing it incrementally means any little error at each step will be propagated to the next, so it could end up introducing a BIG error at the end.

If you can handle the sums, I think the maths (analytic) route would be a better way to go.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Commentator

Join Date: Jun 2009
Posts: 80
#2
In reply to #1

Re: electric vehicle speed distance formulas

12/12/2011 6:41 PM

Thanks. Once I get the overall sheet worked out I will substitute constant torque/speed/force/acceleration values and see how much the answers deviate from ideal. I think it will only cover the first minute of acceleration in any case. BTW, the accel curves seem to generally follow an 1-[e^-t] form.

Register to Reply
Participant

Join Date: Dec 2011
Posts: 3
#3

Re: Electric Vehicle Speed Distance Formulas

12/12/2011 10:51 PM

CR4 ADMIN: Deleted Post

Spam: This post was deleted because it contained advertising outside the Commercial Space forum. Please review Section 14 of the CR4 Site FAQ about advertising.

Register to Reply Off Topic (Score 7)
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#4

Re: Electric Vehicle Speed Distance Formulas

12/12/2011 11:18 PM

Of course you can do this in a discrete time analysis approach instead of an analog approach. You need to learn about the Z transform to properly explore this. For most motor performance curves though I expect that a Δt of one second will be too coarse of a unit step size.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Guru
Engineering Fields - Electrical Engineering - Analog and Digital Circuit Design Engineering Fields - Electromechanical Engineering - Transformers, Motors & Drives, EM Launchers Engineering Fields - Engineering Physics - Applied Electrical, Optical, and Mechanical

Join Date: Jan 2008
Location: NY
Posts: 1207
Good Answers: 119
#5

Re: Electric Vehicle Speed Distance Formulas

12/12/2011 11:40 PM

IF you understand the system variables, use the correct equations (always double check your units), and choose the time-increment wisely, a discrete time or time-step simulation can provide very precise results. Hint: Air drag losses typically dominate above ~35 mph for most common vehicles.

Smaller time-steps provide the best solution, but the computation time becomes excessive. I've run many of these simulations and suggest you start at 10ms for this particular application. I'd expect you could increase dt to 100ms with little loss of accuracy. While a dt of 1 second should work fine during steady-state "cruise" conditions, it may be too large during periods of acceleration/deceleration.

Register to Reply
Guru

Join Date: Oct 2006
Location: Surrey BC Canada
Posts: 1571
Good Answers: 42
#6

Re: Electric Vehicle Speed Distance Formulas

12/13/2011 1:32 AM

The dt is the diminishing limit of delta t.

So barring round off errors etc, the result should be the same as the integrals.

I have modelled some pretty fancy veneer lathe systems with wide field range motors and very fast accel decel times. The "closed" equations were brutal and still boundary limited.

Another solution was done with excel with 10ms sample intervals and it yielded essentially the same results. Both were close enough to reality to be valid.

Good luck with the project.

Register to Reply
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9910
Good Answers: 1141
#7

Re: Electric Vehicle Speed Distance Formulas

12/13/2011 9:17 AM

That's a good way to model a system, especially where nonlinearities are involved. You probably need to model your battery pack (discharge rate vs capacity, etc) and your motor contoller (and driver commands) as well, to give you a complete picture.

Register to Reply
Register to Reply 7 comments
Copy to Clipboard

Users who posted comments:

GW (1); JohnDG (1); mjb1962853 (1); Nah (1); redfred (1); Rixter (1); wuandy (1)

Previous in Forum: Cruise Control 2008 Silverado   Next in Forum: Bosch LE2/LU2 Jetronic Circuit

Advertisement