VW Touran Conversion: Difference between revisions

From openinverter.org wiki
Jump to navigation Jump to search
Line 125: Line 125:
|0x480
|0x480
|8
|8
|Byte 6, Bit 2: Cruise light, Byte 1, Bit 3: EPC, Bit 4: engine
|Byte 0: sequence 0x10, 0x68, 0x94, 0xC0
Byte 1, Bit 3: EPC, Bit 4: engine
Bytes 3,4: Counter incremented by 6, 5 or 7
Bytes 3,4: Counter incremented by 6, 5 or 7
Byte 5: 0
Byte 6, Bit 2: Cruise light


Byte 7: XOR of Bytes 0-6
Byte 7: XOR of Bytes 0-6
Line 163: Line 168:


Update: The threshold for the "dynamic oil pressure warning" can be adjusted down to 0, apparently. In that case it could just be clamped to GND, I reckon.
Update: The threshold for the "dynamic oil pressure warning" can be adjusted down to 0, apparently. In that case it could just be clamped to GND, I reckon.
====== DSC light ======
A bit harder to fake was the messages for the ABS/DSC system. It seems all messages originally produced by the ECU need to be on the bus. That is Ids 0x280, 0x284, 0x288, 0x380, 0x480, 0x488, 0x580 and 0x588. So far it seems their content doesn't have to match exactly. I will update the table above.

Revision as of 11:12, 29 September 2019

I will start loosely collecting infos on the VW Touran from 2004.

Throttle Pedal

The throttle pedal is analog, its signals are put onto the CAN bus by the ECU. I chose to remove the latter so I will have to look into reading the pedal directly. Here is its pin map:

Throttle pedal pin map
Pin # Color code Function
1 green/white 5V
2 yellow/green 5V
3 brown/blue GND
4 white/blue Throttle 1 0.75V-4.1V
5 green/blue GND
6 blue/black Throttle 2 0.38-2.05V

ECU connector

The ECU is connected to the vehicle with a 94-way connector. I have traced out a few signals.

Touran ECU with Rev 2 main board
Touran ECU with Rev 2 main board
Pin # Color code Function
11 - Throttle GND (Pin 5)
12 Throttle 2 out (Pin 6)
13 Throttle 5V (Pin 1)
33 Throttle GND (Pin 3)
34 Throttle 1 out (Pin 4)
35 Throttle 5V (Pin 2)
31 Vacuum sensor GND
37 Vacuum sensor 5V
83 Vaccum sensor signal
86 Ignition On?
87 While the ECU was connected, bridging this signal to 12V engaged the main 12V supply of the ECU. This behaviour could not be reproduced without ECU
67 CANL
68 CANH

I will use a revision 2 mainboard for interfacing those signals.

Power steering

The power steering is electric and only draws power when you're actually steering. It still worked after engine and ECU were removed. Winner!

CAN bus

The car has various CAN buses but we only care about the motor CAN bus (500kbit/s). Here are some useful signals I found:

Some Touran CAN messages
COB Id Len Function Notes
0x380 Byte 2: 0-0xFE throttle position Produced by ECU, so n/a when removed
0x1A0 1 Byte 1, Bit 3: Brake pedal switch Produced by whoever
0x280 Bytes 2 and 3: RPM*4 Produced by you, Controls the rpm gauge
0x480 8 Byte 0: sequence 0x10, 0x68, 0x94, 0xC0

Byte 1, Bit 3: EPC, Bit 4: engine Bytes 3,4: Counter incremented by 6, 5 or 7

Byte 5: 0

Byte 6, Bit 2: Cruise light

Byte 7: XOR of Bytes 0-6

Controls various indicator lights
0x288 Byte 1: Temp Gauge 0.75x temp - 48 Produced by you, Controls temp gauge
0x38A Byte 1, Bit 0: Cruise on/off, Bit 1: Disable button, Bit 2: Set-, Bit 3: Set+
0x572 Byte 0, Bit 3: Key switch in start position

More info here: https://wiki.openstreetmap.org/wiki/VW-CAN

Faults

On this connector we find switched 12V, GND and the oil pressure signal (top right)

After powering up the engine I got two error messages: STOP low coolant and something about an oil sensor. The first can be solved by filling the reservoir with water. The second is probably down to the missing oil level sensor. I will investigate.

Update on oil level warning: I fitted a 1k2 Ohm resistor from pin 2 to pin 3 (generates 2.5V "oil level") and the warning is gone.

Update 2: no it's not gone, it's a bit more complex. Read https://wak-tt.com/guides/ttc.pdf page 84. Maybe I can tell the dash panel to ignore the sensor.

Update 3: successfully programmed the instrument cluster to ignore the missing sensor. You need a CAN OBD adapter with matching software. Then in adaptation channel 39 change value to 0 (=sensor not present). Found here: http://wiki.ross-tech.com/wiki/index.php/VW_Golf_(1K)_Instrument_Cluster

Also the oil pressure switch needs to be faked. Below about 800rpm no oil pressure must be reported. Above 800rpm it must be by pulling the signal to GND. Otherwise you get a "STOP!" message. There is a few seconds time to gracefully switch over. Oil pressure switch is on plug on the front left.

I have implemented the oil pressure faking in my custom ECU.

Update: The threshold for the "dynamic oil pressure warning" can be adjusted down to 0, apparently. In that case it could just be clamped to GND, I reckon.

DSC light

A bit harder to fake was the messages for the ABS/DSC system. It seems all messages originally produced by the ECU need to be on the bus. That is Ids 0x280, 0x284, 0x288, 0x380, 0x480, 0x488, 0x580 and 0x588. So far it seems their content doesn't have to match exactly. I will update the table above.