Course 3
Course 3
Course 3
Construit M2 Ingénierie
Automobile et Aéronautique
Automotive
Technologies
Fault Detection: ECU can identify issues such as sensor failures, wiring faults, or component failures.
Error Reporting: When a fault is detected, the ECU generates error codes.
Performance Monitoring: ECUs check engine parameters, exhaust emissions, …
Emission Control: Ensure that the vehicle's emissions are within regulatory limits.
Safety: The ECU do continuous checks to ensure vehicle proper operation and safety of occupants.
Preventive Maintenance: Identify wear and tear on components, allowing for proactive maintenance.
Remote Monitoring and Telematics: Transmit data to a central server to keep track of vehicle health
and performance in real-time.
Calibration and Optimization: Aid in the calibration and optimization of various parameters, such as
fuel injection and ignition timing, to improve engine efficiency and performance.
On-Board Diagnostics II
Operative perspective all things we need the system to do throughout the entire lifecycle:
ODX is a XML based standard to define ECU diagnostic data in OEM independent way. It contains all
necessary data for the diagnostic communication for example communication parameters, ECU variant
relationship, diagnostic services, units of measures, precision, data-types etc. The complexity and size of
the ODX data depends on ECU variants and amount of diagnostic services supported by the ECUs
On-Board Diagnostics II
When OBDII detects a problem or malfunction in any of these areas, it stores a diagnostic trouble code
(DTC) in the vehicle's computer. Mechanics and technicians can use a scan tool to read these codes,
which provide information about the specific issue that needs attention.
Query 7DF 02 01 0C CC CC CC CC CC
Engine Speed
What is the format of the ECU response in case the engine speed is coded in 2 bytes
7E8 04 41 0C 0F A0 55 55 55
The engine speed in RPM is computed based on the formula (256A+B)/4. So what is the speed value
measured?
Fuel Rail Gauge Pressure
Let consider the case of a tester requesting to measure the current Fuel Rail Gauge Pressure:
Query 7DF 02 01 23 55 55 55 55 55
Fuel Rail Gauge Pressure
What is the format of the ECU response in case the engine speed is coded in 2 bytes
The Fuel Rail Gauge Pressure in kPa is computed based on the formula 10*(256A+B). Formulate the
ECU response so that the measured value equals 5,3 10^6 Pa
World Manufacturer Identifier (WMI): The first three characters represent the WMI, which identifies
the vehicle's manufacturer and the country or region where it was built.
Vehicle Descriptor Section (VDS): Characters 4 through 9 provide information about the vehicle's
attributes, such as its model, body type, and engine type.
Vehicle Identifier Section (VIS): Characters 10 through 17 make up the VIS, which is a unique serial
number for that specific vehicle. It's used to differentiate vehicles produced by the same manufacturer
with the same attributes.
Vehicle Identification Number (VIN)
In automotive software, VINs can be used for various purposes, including software updates, diagnostics,
and maintenance. Manufacturers and service centers may use the VIN to determine the exact vehicle
model and configuration, ensuring that the correct software updates or diagnostic procedures are
applied. It also aids in tracking a vehicle's service history and ensuring that it complies with safety and
emissions regulations.
OBDII Query
OBDII Response
17 bytes returned
ISO TP (ISO 15765-2)
ISO TP (ISO 15765-2) as a Transport Protocol is used as a transport layer protocol within the OBD-II
communication stack. It serves as a method for transmitting diagnostic information between the
vehicle's ECM and external devices in a reliable and standardized manner.
Segmentation and Reassembly: One of the key features of ISO TP is its ability to handle large
messages by segmenting them into smaller packets for transmission and then reassembling them at
the receiving end. This is important because some OBD-II diagnostic messages can be quite long,
and breaking them into smaller pieces ensures data integrity and efficient communication.
Flow Control: ISO TP includes flow control mechanisms to manage the transmission of segments. It
ensures that the receiving end is ready to receive and process data before the transmitting end
continues sending more segments. This prevents data overload and potential data loss.
If we want to transmit more bytes of data (>8 bytes) using CAN protocol what we will do? Here we will
use CAN TP concept, because maximum payload of CAN message is 8 bytes.
The standard ISO 15765 – 2 involves 2 layers of OSI model “network layer” and “transport layer”, the
ISO transfer protocol segments longer CAN message frame into multiple frames, Multi frame contain
one first frame and minimum one or more consecutive frames. Using CAN – TP up to 4095 bytes (i.e.,
4KB) of payload can be send per message packet.
Single Frame: Unsegmented message which can be fit into single frame.
First Frame: First frame of segmented message.
Consecutive Frame: Frame followed by the first frame are consecutive frame.
Flow Control Frame: When first frame is received a flow control frame is send, which contain
status flow, block size and minimum separation, it’s used for acknowledging the first frame.