Rainbow module for Audi: Difference between revisions

From mr-fix.info Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 16: Line 16:
== Reverse Engineering ==
== Reverse Engineering ==


=== Torque ===
=== Power ===
Torque is provided by the ECU as an essential part of the communication between modules (ECU, Gearbox, ABS/ESP...).
  # UDS request for the diagnostic Bus to get current RPM
  # UDS request for diagnostic Bus to get current torque:
  0x7e0 03 22 20 6e 00 00 00 00
  0x7e0 03 22 43 7c 00 00 00 00
   
   
  # sniffed frame from the drivetrain bus
  # sniffed frame from the drivetrain bus
  ??? ?? ?? ?? ??
  ??? ?? ?? ?? ??


=== Power ===
=== Torque ===
Power is a function of Torque and RPM and it can be calculated from the two.
  # UDS request for diagnostic Bus to get current torque:
  # UDS request for the diagnostic Bus to get current RPM
  0x7e0 03 22 43 7c 00 00 00 00
  0x7e0 03 22 20 6e 00 00 00 00
   
   
  # sniffed frame from the drivetrain bus
  # sniffed frame from the drivetrain bus
Line 33: Line 31:


=== Mapping from <code>kW</code> and <code>Nm</code> ===
=== Mapping from <code>kW</code> and <code>Nm</code> ===
Both Power and Torque on the instrument cluster display are displayed as a percent. Most likely the data is provided as a value within 0 to 100 range. To map current torque and current power to percent, we need to know the peak torque value of the engine. This data is also provided by the ECU.
Both Power and Torque on the instrument cluster display are displayed as a percent. Most likely the data is provided as a value within 0 to 100 range.


# sniffed frame from the drivetrain bus
To map current torque and current power to percent, we need to know the peak power value of the engine. This data is also provided by the ECU.
  ??? ?? ?? ?? ??
 
  BO_ 1601 Motor_Code_01: 8 Motor_Diesel_MQB
  SG_ MO_Leistung : 48|9@1+ (1,0) [0|511] "Unit_KiloWatt" Gateway_MQB


== Reference ==
== Reference ==

Latest revision as of 09:07, 18 May 2025

Additional module that injects missing data into the CAN-BUS. This will allow displaying Power and Torque values on the instrument cluster sport gauges.

Hardware

Versions

TODO

Installation

TODO

Coding & Adaptation

TODO

Reverse Engineering

Power

# UDS request for the diagnostic Bus to get current RPM
0x7e0 03 22 20 6e 00 00 00 00

# sniffed frame from the drivetrain bus
??? ?? ?? ?? ??

Torque

# UDS request for diagnostic Bus to get current torque:
0x7e0 03 22 43 7c 00 00 00 00

# sniffed frame from the drivetrain bus
??? ?? ?? ?? ??

Mapping from kW and Nm

Both Power and Torque on the instrument cluster display are displayed as a percent. Most likely the data is provided as a value within 0 to 100 range.

To map current torque and current power to percent, we need to know the peak power value of the engine. This data is also provided by the ECU.

BO_ 1601 Motor_Code_01: 8 Motor_Diesel_MQB
 SG_ MO_Leistung : 48|9@1+ (1,0) [0|511] "Unit_KiloWatt" Gateway_MQB

Reference