Selection and use of on-board debugging tools

Selection and use of on-board debugging tools

In electric vehicle development and after-sale troubleshooting, CAN-bus data analysis is an important means to locate controller faults. Realize CAN bus test, simulation, message acquisition and recording, off-line playback and analysis, which is a necessary tool for vehicle controller, BMS, MCU and OBC debugging.

 

Load the DBC database
The DBC file is the parsing dictionary of the CAN message. Without DBC, only the original hexadecimal message can be seen.
Operation steps: Click view → simulation setup in the menu bar, right click the Database column on the right, select Add, and load the.dbc file of the corresponding vehicle model. When the load is complete, execute fileSave configuration saves the project configuration. Figure 2-Loading DBC File

Selection and use of on-board debugging tools

CAN message record

The message record is used to collect the fault field data of the real vehicle, which is convenient for the subsequent off-line analysis.
1.Open the view → Measurement Setup measurement configuration interface;
2. Drag in the Logging function module, double-click the module, and set the message saving path and log file name;
3.The hardware CANCaseXL is connected to the CAN bus of the real vehicle. Click Start to record the CAN message of the whole vehicle online and generate a log file.

When the real vehicle has an accidental fault, the Trace log is saved, the fault does not need to be reproduced, and the off-line analysis can be carried out in the later period.

 

III. Off-line playback of CAN message
The historical log file can be played back offline to reproduce the fault condition of the vehicle.
1. Also enter view → Measurement Setup;
2. Double-click the Offline module to select the saved log message file.

3.Switch to the offline mode, load the DBC database, and add the signal to be observed;
4. Right click Add Signals in the signal window, check the SOC, voltage, status flag and other concerned signals, and click the play button to play back the complete bus data and observe the signal change curve.

Selection and use of on-board debugging tools

  1. CANCaseXL hardware is necessary for message collection, and the software cannot complete the real vehicle data collection alone;
    2. Be sure to save the configuration project every time the configuration is completed to avoid repeated configuration;
    3.The DBC file must match the log version, otherwise there will be an error in signal parsing;
    4. Playback is only used for offline analysis, and the hardware does not need to be connected to the real vehicle during playback.

 

Real vehicle acquisition + offline playback. Many accidental vehicle communication failures are difficult to reproduce on site. By recording CAN messages and offline playback analysis, the root cause of the problem can be efficiently located.

Previous Post

E-Z-GO ELiTE Lithium Battery and Charger: Compatibility Guide

Next Post

Troubleshooting intermittent CAN communication failure

Troubleshooting intermittent CAN communication failure

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.