From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

BEV DIAGNOSTICS

Solved!
Go to solution

What are the steps to obtain diagnostic information from a Battery Electric Vehicle? I need to measure throttle position in percent.

Would it be anything similar to the WWH-OBD Engine Monitor.vi located in the LabVIEW examples folder? (partial depicted below)

 

sfrosty_0-1632946544496.png

 

0 Kudos
Message 1 of 4
(1,648 Views)
Solution
Accepted by topic author sfrosty

@sfrosty wrote:

What are the steps to obtain diagnostic information from a Battery Electric Vehicle?


Contact the manufacturer of the ECU that is responsible for having that information. 

 

You might get lucky and have it just be part of the standard CAN 2.0 data being sent out periodically.  But even then you are going to look at a stream of bytes coming in, move the pedal, then see if the stream of bytes moves in a way that you can guess is the position.  Pedal position is one I have seen be sent periodically in an ECU in the past, but different manufacturers will choose to do different things.

 

If the pedal position isn't being sent periodically then there is practically no hope without contacting the manufacturer.  There are probably half a dozen protocols on top of the CAN bus that could be used.  All with various levels of security that might or might not be used.  And that is before you actually get to how to read the data, or how to parse the data.

0 Kudos
Message 2 of 4
(1,633 Views)

@Hooovahh wrote:

@sfrosty wrote:

What are the steps to obtain diagnostic information from a Battery Electric Vehicle?


Contact the manufacturer of the ECU that is responsible for having that information. 

 

You might get lucky and have it just be part of the standard CAN 2.0 data being sent out periodically.  But even then you are going to look at a stream of bytes coming in, move the pedal, then see if the stream of bytes moves in a way that you can guess is the position.  Pedal position is one I have seen be sent periodically in an ECU in the past, but different manufacturers will choose to do different things.

 

If the pedal position isn't being sent periodically then there is practically no hope without contacting the manufacturer.  There are probably half a dozen protocols on top of the CAN bus that could be used.  All with various levels of security that might or might not be used.  And that is before you actually get to how to read the data, or how to parse the data.


Thank You! Is there a standard baud rate?

0 Kudos
Message 3 of 4
(1,601 Views)

@sfrosty wrote:


Thank You! Is there a standard baud rate?


Nope. 500K is probably the most common though.

0 Kudos
Message 4 of 4
(1,594 Views)