The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Engine Management, OBD-II, Engine Diagnostics, etc.

Reply
 
Thread Tools Display Modes
Old 04-07-2004, 10:18 AM   #1
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Vehicle: 2003/Infiniti/G35 Sport Coupe
Posts: 2,951
My Photos: (0)
Calculate HP base on OBD II data?

Anyone know how to "approximate" the horse power based on OBD II data?

I'm writing my own OBD software and I want to calculate HP similar to how Digimoto (http://www.digimoto.com/demos/dyno/dyno.htm) calculates HP.
__________________
StreetDeck.com Developer (I am Chuck)
Get StreetDeck at http://www.streetdeck.com
god_of_cpu is offline   Reply With Quote
Sponsored Links
Old 04-07-2004, 07:00 PM   #2
Maximum Bitrate
 
wi77iam's Avatar
 
Join Date: Jun 2003
Location: Hatfield, PA
Vehicle: 2004 Subaru WRX STi
Posts: 558
My Photos: (0)
My ODB software has the capability to compute values derived from OBD sensor data. The equation to get HP that it uses is:

1/2 * 3000 / 32 * (5280 / 3600)^2 * (VSS^2 - VSSi^2) / t / 550

where VSS is vehicle speed sensor and t is time. I haven't used this yet to verify.
__________________
*******************************
*******************************
wi77iam is offline   Reply With Quote
Old 04-07-2004, 11:13 PM   #3
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Vehicle: 2003/Infiniti/G35 Sport Coupe
Posts: 2,951
My Photos: (0)
Sweet, can you explain what this equation is actually doing?

And how does this work without actually putting at least a weight in, or is one of those numbers the weight?

Quote: Originally Posted by wi77iam
My ODB software has the capability to compute values derived from OBD sensor data. The equation to get HP that it uses is:

1/2 * 3000 / 32 * (5280 / 3600)^2 * (VSS^2 - VSSi^2) / t / 550

where VSS is vehicle speed sensor and t is time. I haven't used this yet to verify.

__________________
StreetDeck.com Developer (I am Chuck)
Get StreetDeck at http://www.streetdeck.com
god_of_cpu is offline   Reply With Quote
Old 04-08-2004, 06:10 AM   #4
Maximum Bitrate
 
wi77iam's Avatar
 
Join Date: Jun 2003
Location: Hatfield, PA
Vehicle: 2004 Subaru WRX STi
Posts: 558
My Photos: (0)
The author of the software doesn't explain his calculation, so I'm just guessing. But from what I've read, I think he uses a standard equation to calc hp from vehicle speed and an approximation of weight. I think the 3000 figure is the vehicle weight in pounds. VSS - VSSi is current speed in mph minus an initial speed and t is the time it took. 5280 is obviously the feet per mile, 32 is the acceleration and 550 is some weighting constant.
__________________
*******************************
*******************************
wi77iam is offline   Reply With Quote
Old 04-08-2004, 08:36 AM   #5
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Vehicle: 2003/Infiniti/G35 Sport Coupe
Posts: 2,951
My Photos: (0)
Ok, it makes sense now. Thanks!
__________________
StreetDeck.com Developer (I am Chuck)
Get StreetDeck at http://www.streetdeck.com
god_of_cpu is offline   Reply With Quote
Old 04-11-2004, 09:03 PM   #6
Newbie
 
Join Date: Oct 2003
Posts: 15
My Photos: (0)
hp has nothing to do with the weight of the car I believe. When they dyno cars there is no weight inolved.
altitude is offline   Reply With Quote
Old 04-11-2004, 09:18 PM   #7
FLA
 
gospeed.racer's Avatar
 
Join Date: Dec 2003
Location: Portland, OR
Posts: 1,287
My Photos: (0)
The cars weight will be a factor in "estimating" horepower though. Using these calculations will give you the "seat of the pants" numbers, but will be just playing with numbers really. You are forcasting a horsepower based on joining how much rpm is making the wheels go how far in a set amount of time, and figuring the weight it is having to move. If you make the car "look" lighter by lowering the factor, it will show the horepower going down, because it thinks you went the same distance in the same time with a lighter car, so less horsepower.

If you want real numbers you gotta dyno, but even a true dyno will have pro and cons, like a Mustang dyno versus Dynojet, numbers will vary 10% just because of their design.
__________________
00 Focus LX soon to be boosted!
88 Escort GT Turbo DFI
gospeed.racer is offline   Reply With Quote
Old 04-16-2004, 01:43 AM   #8
Registered User
 
gork's Avatar
 
Join Date: Aug 2003
Location: Amarillo, TX
Vehicle: BMW E46 M3
Posts: 655
My Photos: (1)
well weight has everything to do with horsepower if you are going to attempt to dyno the car by OBD-II.. On an actual dyno, the car accelerates the rotation of a known mass and a force calculation is made. On the dyno, they are trying to make the only variable in the hands of the car the amount of force it can put out at the drive wheel.

For a very simple explination -- To calculate the horsepower given only vehicle speed, you have to calculate the acceleration by measuring changes in velocity over time, then multiply the acceleration by the mass of the vehicle to derive force (oh; and do a lot of unit conversions in there if you are doing lbs, mph, and HP) Remember F=ma? The reality is a bit more complicated since you end up really talking about rotational acceleration, etc. but the idea is the same..

This is essentially the methods that many 'dashboard dyno' products use. The accuracy of such a measurement is highly dependent on two things:

1) Knowing the correct mass of the vehicle, currently, including driver and gear and gasoline. A variation by only a few pounds could significantly affect the accuracy.

2) The accuracy and frequency of the measurements.

You should only need to collect two pieces of data from OBDII to make a good dyno graph out of this kind of data - RPM and speed. Polling only these two values should get you a couple of data points per second for each value. That should be enough data to get you into the ballpark of what your car is putting out, and should definately get you data good enough to be able to benchmark your car run-for-run against itself (ie to test performance modifications; etc.)

There is a good implementation of a dyno function in the CVS tree of freediag at http://freediag.sourceforge.net/ -- compiling from CVS seems to be broken for me at this point, so I have not had a chance to test it, but If I ever get a chance to, I'll post about it here.

I will also note that adding a real accelerometer into the mix could improve your results greatly.. the dashboard products are doing this. On a Computer, you could probalby interface to one of the accelerometers from http://www.phidgets.com/ to get better accuracy.
__________________
MY CAR IS FOR SALE!
See My Project Page for Details - 2003 BMW E46 ///M3
Custom Dash Monitor Housing - OEM Fitment
Custom Overhead DVD-ROM Housing in Headliner
BMW I-Bus Integration
My homepage with many other fun projects!
gork is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can some one recomend a OBD II reader crash893 Engine Management, OBD-II, Engine Diagnostics, etc. 52 10-22-2007 05:31 AM
Confused about OBD II tom2112 Engine Management, OBD-II, Engine Diagnostics, etc. 30 10-19-2007 01:06 AM
OBD II RS232 or USB Interface bklynkaos Engine Management, OBD-II, Engine Diagnostics, etc. 3 01-24-2006 11:42 AM
OBD II Interface with Software cpeek Engine Management, OBD-II, Engine Diagnostics, etc. 1 02-07-2004 12:53 AM
obd II datalogger building and software backpack09 Off Topic 2 08-22-2002 08:03 PM


All times are GMT -5. The time now is 06:11 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics