|
 |
|
05-25-2009, 05:09 AM
|
#1
|
|
Variable Bitrate
Join Date: Mar 2009
Location: Kristiansand, Norway
Posts: 294
|
Speed on ODBII reading -> output
I see many virtual gauges for both speed and RPM, but the videos I have seen usually show some latency and very often peak spikes.
Is there a way to get this 100% accurate? With 0% fail...
If not, I realy do not see the big picture of having a ODBII scanner, reader in my car, since I can get pretty much everything I want out from the IBUS. (BMW)
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
05-25-2009, 05:52 AM
|
#2
|
|
Constant Bitrate
Join Date: Oct 2008
Posts: 179
|
Readout speed depends on
a) the protocol used
b) how many ecu's respond to that protocol
Obviously a Iso 9141-2 protocol running at 10.400 baud is a lot slower than a Can protocol running at 500K baud.
Also the timeouts between messages are greater when using Iso protocols.
For instance it is very normal for a car to wait 25 - 30 mili seconds after receiving the checksum of a command, before sending the answer. The second ecu will even wait a little bit longer, say about 30 - 35 mili seconds.
Then the scantool has to wait for 55 miliseconds after receiving the checksum of the last message from the last ecu, before it can send another command.
These delays will slow down the transfer rate significantly.
Bmw's normally have 1 ecu for the engine, except some 12 cylinders, who have 3 ecu's for the engine, which all respond. When you have an automatic gearbox, that ecu will also respond.
|
|
|
05-25-2009, 07:12 AM
|
#3
|
|
Variable Bitrate
Join Date: Mar 2009
Location: Kristiansand, Norway
Posts: 294
|
Thank you for a detailed answer!
Then it's clear for me, that I do not need any ODBII devices/programs... Atleast not for the moment
|
|
|
05-26-2009, 05:06 AM
|
#4
|
|
VENDOR - ScanTool
Join Date: Dec 2006
Posts: 235
|
Quote: Originally Posted by Crinos 
Thank you for a detailed answer!
Then it's clear for me, that I do not need any ODBII devices/programs... Atleast not for the moment 
What would you say be an acceptable refresh rate (in samples per second)?
With some tweaking, it is possible to get reasonably fast (~10 samples/sec), even on ISO.
Vitaliy
__________________
— Did you know that MP3Car sells OBD-2 interfaces? Get your ElmScan 5 Compact for only $59.95!
— Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!
|
|
|
05-26-2009, 06:56 AM
|
#5
|
|
Variable Bitrate
Join Date: Mar 2009
Location: Kristiansand, Norway
Posts: 294
|
Quote: Originally Posted by Vitaliy 
What would you say be an acceptable refresh rate (in samples per second)?
With some tweaking, it is possible to get reasonably fast (~10 samples/sec), even on ISO.
Vitaliy
10 samples / sec sound fast enough, but I realy do not have a clue
For me, it should be equal to stock, so that I could mount a LCD infront of stock dashgauges and use my custom screen...
This way I could go with a big RPM and tiny speed while driving active, and vice versa while driving normal.
And active road assistance while driving to a GPS location.
|
|
|
05-26-2009, 07:05 AM
|
#6
|
|
Constant Bitrate
Join Date: Oct 2008
Posts: 179
|
10 samples per second for RPM is too slow, at least in my opinion.
It'll do for 3rd and higher gears, but not in 1st and 2nd, there you will hit the limiter.
Besides, 10 samples is when you only read 1 (ONE) item at a time.
When you need both Rpm and Vehicle speed you will get 5 to 6 samples a second.
|
|
|
05-26-2009, 11:13 AM
|
#7
|
|
Mod - OBDII GPS Logger forum
Join Date: Mar 2009
Location: Los Angeles
Posts: 409
|
FWIW, I empirically checked the samplerate with my new OBDPros USB device, and was getting a little over 20 samples per second. My OBDKey Bluetooth would do between five and seven. I find that 20 samples per second is actually a pretty large number.
Gary (-;
|
|
|
05-26-2009, 01:06 PM
|
#8
|
|
Variable Bitrate
Join Date: Mar 2009
Location: Kristiansand, Norway
Posts: 294
|
wonder of what rate the stock system would report... if even possible to compare them
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
05-26-2009, 02:05 PM
|
#9
|
|
Constant Bitrate
Join Date: Oct 2008
Posts: 179
|
Refresh rate on stock systems depends on the protocol used and the baudrate.
Exanple 1: Bmw diesel at 250 baud. Internal there are 2 ecu's. So, first ecu 1 asks ecu 2 some things. Then ecu 1 responds with a 40 mili delay between each character.
Then the scanner has to echo each character. At 250 baud 1 character takes 40 mili.
Reading codes and some data (8 items) takes up to 10 seconds.
Example 2: Opel Iso-81 and Iso-82 protocols at 9600 baud.
Scanner requests data and ecu repeatedly sends everything at full speed.
Packets are 40 - 80 bytes, which gives you 20 - 10 packets every second.
But hey, stock system means only 1 ecu responds, not maximum 8 as specified in OBD2 and EOBD (Sae J1979).
|
|
|
05-27-2009, 04:13 AM
|
#10
|
|
VENDOR - ScanTool
Join Date: Dec 2006
Posts: 235
|
Quote: Originally Posted by chunkyks 
FWIW, I empirically checked the samplerate with my new OBDPros USB device, and was getting a little over 20 samples per second. My OBDKey Bluetooth would do between five and seven. I find that 20 samples per second is actually a pretty large number.
Gary (-;
On what protocol?
__________________
— Did you know that MP3Car sells OBD-2 interfaces? Get your ElmScan 5 Compact for only $59.95!
— Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!
|
|
|
05-27-2009, 10:19 AM
|
#11
|
|
Mod - OBDII GPS Logger forum
Join Date: Mar 2009
Location: Los Angeles
Posts: 409
|
Quote: Originally Posted by Vitaliy 
On what protocol?
Erm, not entirely sure. Whatever my car [2009 Cooper S] does by default. Next time I'm sitting in my car with my laptop I'll figure it out.
Gary (-;
|
|
|
05-27-2009, 10:24 AM
|
#12
|
|
Constant Bitrate
Join Date: Oct 2008
Posts: 179
|
2009 models use Can. Can is obligated from 2008 on.
|
|
|
05-28-2009, 01:14 AM
|
#13
|
|
VENDOR - ScanTool
Join Date: Dec 2006
Posts: 235
|
Quote: Originally Posted by chunkyks 
Erm, not entirely sure. Whatever my car [2009 Cooper S] does by default. Next time I'm sitting in my car with my laptop I'll figure it out.
Gary (-;
It's CAN. 20 samples per second is expected in your situation.
Best regards,
Vitaliy
__________________
— Did you know that MP3Car sells OBD-2 interfaces? Get your ElmScan 5 Compact for only $59.95!
— Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!
|
|
|
05-28-2009, 12:11 PM
|
#14
|
|
Newbie
Join Date: Aug 2008
Posts: 14
|
I routinely average over 50 PIDs/sec. This is with XP on a three-year old laptop, with a 2007 Civic, ELM327 v1.3 and CAN29/500, at 500Kbaud. Speed will drop to 30-40 when the hard drive needs defragmenting. Max is about 65 when I limit the number of PIDs being monitored.
On my 2001 Accord (ISO) I seldom see anything over 15 PIDs/sec.
Some demo programs I have tried will not reach this speed. YMMV.
[IMG]  [/IMG]
Last edited by Magistertc; 05-28-2009 at 12:24 PM.
Reason: added screenshot
|
|
|
05-31-2009, 08:33 PM
|
#15
|
|
Newbie
Join Date: Aug 2008
Posts: 14
|
Screenshot from a more recent acquisition - OBDPro USB.
Same vehicle, 2007 Civic LX, same laptop, just about the same, 55 PIDs/sec
 [/url][IMG][url='http://www.mp3car.com/vbulletin/vbimghost.php?do=displayimg&imgid=9681']
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:42 PM.
| |