612699
75
Verklein
Vergroot
Pagina terug
1/94
Pagina verder
Maximum CAN Data Rates (continued)
processed. You can see from the figure that even for a
500 kbps message with an 11 bit ID, the ELM327
finishes with time to spare. Since ISO15765-4
specifies that messages must be 8 data bytes in length
(filler bytes are added as needed) these times do
represent the typical situation, with a 40% bus load.
Actually, from these numbers the ELM327 should be
able to handle 100% bus loading (which is not a
practical situation).
Once the ELM327 has placed all of the properly
formatted bytes into the RS232 transmit buffer, it is up
to the controlling computer to fetch them in a timely
fashion. If the bytes are removed too slowly, the buffer
will continue to fill as new OBD messages arrive, and
the buffer will eventually become full. It does not
matter how big the buffer is, if the rate of removing
bytes from the buffer is slower than the rate of putting
them into the buffer, it will eventually fill up. When it is
full, you will see a ‘BUFFER FULL’ message, and you
will have to start over.
The ELM327 transmit buffer is 512 bytes in size.
Considering that some bytes will be sent while new
messages are being queued, this means that you can
typically store:
38.4k 115.2k 500k
11 bit/500k 28 38
29 bit/250k 26 56
messages in the buffer, if the bus loading is at 40%,
as shown. This storage is more than enough for
almost all OBD requests – the only time that you might
get into trouble is if you are monitoring all messages
on the bus (AT MA) with no filters set. In that case, you
would need to be sure that you are removing bytes as
fast as they are being generated.
The rate at which OBD messages occur depends
on the ‘bus loading’. This is a utilization factor that is
very similar to the duty cycle for a square wave signal.
Ideally, bus loading should be less than about 30%,
but as vehicles become more complex, this is very
difficult to do. Some vehicles are reportedly seeing
70% bus loads.
The above chart does not show any numbers in
the 500 k column, as the buffer should never fill up
when bus loading is 40%. As you increase loading,
you will eventually reach the limit, but even with very
busy data busses, we typically see about 150
messages before a BUFFER FULL is reported. If we
turn off spaces and Linefeeds (AT S0, AT L0), we
usually do not see any BUFFER FULL errors, even
with very busy busses.
When people ask us then, ‘What data rate can the
ELM327 support?’ the answer is not easy to provide,
as it depends on many factors. It depends on the CAN
message content, the data rate, and whether you have
selected filters to eliminate irrelevant messages. The
rate also depends on the RS232 baud rate that you
have chosen, as it may be the limiting factor if there
are a great number of messages being retrieved. If
you are only fetching 10 or 20 messages, however, the
internal buffer takes care of them for you, and the
baud rate that you choose does not matter.
If you are simply fetching PID responses from the
network, there really is no limitation within the
ELM327, and it does not matter what the ‘maximum
CAN data rate’ is. If you are trying to ‘push the
envelope’, monitoring everything that travels on a very
busy CAN data bus, then there will be limitations.
What they are depend to a great deal on what choices
you make. Hopefully this discussion will have helped
to give you the necessary background information to
do so.
75 of 94
ELM327
ELM327DSJ Elm Electronics – Circuits for the Hobbyist
www.elmelectronics.com
75

Hulp nodig? Stel uw vraag in het forum

Spelregels
1

Forum

Elm-327

Zoeken resetten

Misbruik melden

Gebruikershandleiding.com neemt misbruik van zijn services uitermate serieus. U kunt hieronder aangeven waarom deze vraag ongepast is. Wij controleren de vraag en zonodig wordt deze verwijderd.

Product:

Bijvoorbeeld antisemitische inhoud, racistische inhoud, of materiaal dat gewelddadige fysieke handelingen tot gevolg kan hebben.

Bijvoorbeeld een creditcardnummer, een persoonlijk identificatienummer, of een geheim adres. E-mailadressen en volledige namen worden niet als privégegevens beschouwd.

Spelregels forum

Om tot zinvolle vragen te komen hanteren wij de volgende spelregels:

Belangrijk! Als er een antwoord wordt gegeven op uw vraag, dan is het voor de gever van het antwoord nuttig om te weten als u er wel (of niet) mee geholpen bent! Wij vragen u dus ook te reageren op een antwoord.

Belangrijk! Antwoorden worden ook per e-mail naar abonnees gestuurd. Laat uw emailadres achter op deze site, zodat u op de hoogte blijft. U krijgt dan ook andere vragen en antwoorden te zien.

Abonneren

Abonneer u voor het ontvangen van emails voor uw Elm 327 bij:


U ontvangt een email met instructies om u voor één of beide opties in te schrijven.


Ontvang uw handleiding per email

Vul uw emailadres in en ontvang de handleiding van Elm 327 in de taal/talen: Engels als bijlage per email.

De handleiding is 0,23 mb groot.

 

U ontvangt de handleiding per email binnen enkele minuten. Als u geen email heeft ontvangen, dan heeft u waarschijnlijk een verkeerd emailadres ingevuld of is uw mailbox te vol. Daarnaast kan het zijn dat uw internetprovider een maximum heeft aan de grootte per email. Omdat hier een handleiding wordt meegestuurd, kan het voorkomen dat de email groter is dan toegestaan bij uw provider.

Stel vragen via chat aan uw handleiding

Stel uw vraag over deze PDF

loading

Uw handleiding is per email verstuurd. Controleer uw email

Als u niet binnen een kwartier uw email met handleiding ontvangen heeft, kan het zijn dat u een verkeerd emailadres heeft ingevuld of dat uw emailprovider een maximum grootte per email heeft ingesteld die kleiner is dan de grootte van de handleiding.

Er is een email naar u verstuurd om uw inschrijving definitief te maken.

Controleer uw email en volg de aanwijzingen op om uw inschrijving definitief te maken

U heeft geen emailadres opgegeven

Als u de handleiding per email wilt ontvangen, vul dan een geldig emailadres in.

Uw vraag is op deze pagina toegevoegd

Wilt u een email ontvangen bij een antwoord en/of nieuwe vragen? Vul dan hier uw emailadres in.



Info