Hellen128 on a Mercedes E320 W210 M104 probably 1996 or 1997

Your chance to introduce yourself and your vehicle
Post Reply
augenblick
Posts: 13
Joined: Fri Jan 15, 2021 10:48 pm

Hellen128 on a Mercedes E320 W210 M104 probably 1996 or 1997

Post by augenblick »

The M104 is an inline 6 in the Mercedes M10x Engine Family. It is based on the same architecture as a M111 inline 4. The M104 was produced in roughly three versions, 90-93, ~93-95, 96-98. The easiest way to spot the differences is the valve covers, but each version uses a difference control scheme, and a difference ECM. The 96/97 W210 (And 96/97 C280, 96-98 S320) use Bosch ME2.0 from the factory, and as such should pin out similar to a M111 C230 N/A.

Important pinouts include Airpump relay trigger on C28, VVT on E4, Vacuum switchover for Emissions on E10, Intake Flap on E12, Injectors on E1, E2, E13, E14, E25, E26, and Ignition on F6, F13, F20. The full factory pinout for a 97 S320 is given below, same model year E320 is essentially the same.

Connector W140.032
A1
A2 +12V (ME1)
A3 GND
A4
A5 O2b HTR (-)
A6
A7 GND
A8 GND
B Pin Num
B1 O2a HTR(-)
B2
B3 DLC Pin 5
B4 +12V (Raw)
C Pin Num
C21 Purge Valve
C22 +5V PPS1
C23 GND PPS1
C24 Signal PPS1
C25 Signal PPS2
C26 GND PPS2
C27 +5V PPS2
C28 Air Pump Relay
C29 FPR Trigger
C30
C31 O2b SGND
C32 O2b Signal
C33
C34
C35 ODB2 (5)
C36
C37
C38 DLC 13
C39 ODB2(7) DLC(4)
C40 Starter Signal
D Pin Num
D1
D2 Evap
D3
D4 Fuel GND
D5 Fuel Sig
D6 Fuel +V
D7 O2a SGND
D8 O2a Signal
D9
D10
D11 CANH
D12 CANL
D13
D14 Transmission Signal
D15
D16
D17
D18
D19 “starting system” Most Likely NSS signal
D20 CC +
D21 CC -
D22 CC recall
D23 Brake Sw
D24 CC off
E Pin Num
E1 INJ5
E2 INJ6
E3
E4 VVT
E5
E6
E7
E8
E9
E10 Air Pump Switchover Valve
E11
E12 Intake Flap
E13 INJ3
E14 INJ4
E15
E16
E17 Oil Level Switch
E18
E19
E20
E21
E22 MAP (+)
E23 MAP Sig
E24 MAP (-)
E25 INJ1
E26 INJ2
E27
E28 CLT GND
E29 CLT Signal
E30
E31 TPS1 signal
E32 TPS GND
E33 TPS +5V
E34 TPS2 signal
E35
E36
E37 CKP-
E38 CKP+
E39 CAM-
E40 CAM+
E41 Knock 1 GND
E42 Knock 1 Sig
E43 Knock 2 GND
E44 Knock 2 Sig
E45 IAT Signal
E46 5V Supply
E47 MAF Signal
E48 Signal GND
F Pin Num
F1 ETB-
F2 ETB+
F3
F4
F5
F6 IGN2, Cyl 3,4
F7
F8 GND
F9
F10
F11
F12
F13 IGN1, Cyl 2,5
F14
F15 GND
F16
F17
F18
F19
F20 IGN3, Cyl 1,6
F21
User avatar
AndreyB
Site Admin
Posts: 12215
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Hellen128 on a Mercedes E320 W210 M104

Post by AndreyB »

What model year is this E320 W210?
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239
augenblick
Posts: 13
Joined: Fri Jan 15, 2021 10:48 pm

Re: Hellen128 on a Mercedes E320 W210 M104

Post by augenblick »

97(?) I think, the build date is July 96. The biggest change in the M104 210s is the antitheft system changed in June(?) 96, and then again some time in 97. This car has had the ECM replaced atleast once. It uses the same ME2.0/2.1 A-F plug arrangement, so it should just be a matter of adding the appropriate transistors, and putting the extra channels on the tune.
W210ECM.png
W210ECM.png (341.5 KiB) Viewed 948 times
W210Engine.jpg
W210Engine.jpg (1.31 MiB) Viewed 948 times
User avatar
AndreyB
Site Admin
Posts: 12215
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Hellen128 on a Mercedes E320 W210 M104 probably 1996 or 1997

Post by AndreyB »

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239
augenblick
Posts: 13
Joined: Fri Jan 15, 2021 10:48 pm

Re: Hellen128 on a Mercedes E320 W210 M104 probably 1996 or 1997

Post by augenblick »

I haven't dived into the in depth part of the schematic, but I assume if the components work on M111, they'll work on M104. The list below should be the pinouts missing or different on Hellen128. I haven't checked the features Hellen128 supports that I don't have/don't think I have.
  • The Hellen128 schematic looks like it only has provisions for 1 knock sensor. M104 has a 2nd knock sensor on E43(GND)/E44(Signal).
  • The S320 pinout I had has Air Pump Relay on C28, looks like Hellen128 has it on C28 as well, this 97 E320 schematic has it on E27, I think if other motors are running with it on C28, the E320 schematic might be wrong. I think I can just repin it on the connector side, I'm not too worried either way.
  • M104 uses LSS for Air Pump Switchover & Intake Flap on E10/E12, these appear to be No Connection Pins on Hellen128
  • I'm not exactly sure if the O2 matches up to the schematic or the Hellen128, but I'm probably going with the onboard WBO2 eventually anyway, so I'm not concerned; my list has D7 O2a SGND/D8 O2a Signal and C31 O2b SGND/C32 O2b Signal for the other O2 sensor;
99 E320 is an entirely different Engine, ~98 is the breakpoint for the switchover to the M112/M113 V6/V8family, which use a LOT more Ignition channels to support twinspark.
User avatar
AndreyB
Site Admin
Posts: 12215
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Hellen128 on a Mercedes E320 W210 M104 probably 1996 or 1997

Post by AndreyB »

Do we care about Air Pump Relay? How would we control it and why?

Do we care about Air Pump Switchover? How would we control it and why?

https://github.com/rusefi/hellen128merc-issues/issues/17 created for second knock

https://github.com/rusefi/hellen128merc-issues/issues/18 created for intake flap
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239
augenblick
Posts: 13
Joined: Fri Jan 15, 2021 10:48 pm

Re: Hellen128 on a Mercedes E320 W210 M104 probably 1996 or 1997

Post by augenblick »

Both Air Pump Relay and the Switchover valve are emissions controls. I believe the air pump is mostly active when you first start the engine to get the catalytic converter up to temp faster. Both of them are LSS, I'm not sure the current requirements on the switchover valve, but I don't expect it to be very high. This isn't really a high priority issue, more of a by the way, these components are there; on my 95 E320 the air pump is generally off within a few minutes of starting the car.
augenblick
Posts: 13
Joined: Fri Jan 15, 2021 10:48 pm

Re: Hellen128 on a Mercedes E320 W210 M104 probably 1996 or 1997

Post by augenblick »

Status as of 1 OCT 2021:

1997 E320 M104.995 / 722.6 5spd AT.
  • Engine Starts and Runs; Holds idle at ~700 RPM with crank offset of 60 BDTC. target is ~900 RPM
  • Per EPC has 1110300712 flex plate with 60/2 trigger wheel
    Measured offset on 1110300712 is 60 BTDC for M104 Engine
  • Running Auto Generated VE table, and stock O2 sensor
  • Cylinder Number given in parentheses)
    INJ channels on E1 (5) E2 (6) E13 (3) E14 (4) E25 (1) E26 (2)
    IGN channels on F6 (3/4), F13 (2/5), F20 (1/6); Fault in ignition between CPU and Coil for F6 (3/4), test LED on board lights. V3040D transistors on pads Q1, Q3, Q5
  • Matched Dwell curve to md_sanci, Crank angle offset tested at various angles between 60 BDTC and 95 BTDC, no other settings altered from preloaded tune
  • F4 Fuse appears blown.
https://rusefi.com/online/view.php?msq=662

https://photos.app.goo.gl/tECcbru3E8gUpJu47
https://photos.app.goo.gl/Cq4S7gfQq9Qta3Qw6
augenblick
Posts: 13
Joined: Fri Jan 15, 2021 10:48 pm

Re: Hellen128 on a Mercedes E320 W210 M104 probably 1996 or 1997

Post by augenblick »

Progress as of 15 OCT 2021;

Reinstalled repaired Hellen128 (Fuse on ign3/4 replaced with 250V 5A fuse, firmware updated to snapshot as of 13 OCT 2021). Idle is much smoother, still is not completely stable, particularly before engine reaches operating temp ~80 deg. I have done almost no tuning. Engine knocks slightly at low engine speed with high load, again I have done nothing to correct this. I believe the default tune was based off of Jimmy's M111k, and still has some settings related to that which I have not yet corrected. CANBUS dash was not enabled; MB dashes after ~1996 use CANBUS messaging, I have enabled the setting for W202, this appears to work suitably for W210 (and should work for R129 SLs, W208 CLKs, R170 SLKs, and possibly early 2000s dashes as well).

Engine is operating roughly as I expect. I've driven it approximately 8-10 miles, all in transmission limp mode. I believe I am going to make a modified case in order to run a USB cable into the cabin and run logs while driving. Speedometer previously was not working. I have not tested it after enabling CANBUS dash. I'm referring to https://github.com/rnd-ash/ultimate-nag52-fw/blob/main/lib/egs52_ecus/can_data.txt to manually decode some CAN frames seen by the ECM.

Below is a snippet of the CAN log viewed through RE console. An interesting aside, enabling custom Rusefi CANBUS makes the dash go absolutely bonkers, cycling through error messages constantly. I will get a log of that some time in the next few days to see if it reveals anything interesting.

I 211015 183550.416 [communication executor1] MessagesCentral - postMessage EngineState: CAN_rx 180 384 8 27 64 80 FF A8 0 2 80
I 211015 183550.416 [communication executor1] MessagesCentral - postMessage EngineState: CAN_rx 410 1040 2 1 FF 0 0 0 0 0 0
I 211015 183550.416 [communication executor1] MessagesCentral - postMessage EngineState: CAN_rx 180 384 8 27 64 80 FF A8 0 2 80
I 211015 183550.416 [communication executor1] MessagesCentral - postMessage EngineState: CAN_rx 218 536 6 FE 2A 88 48 FF 90 0 0
I 211015 183550.416 [communication executor1] MessagesCentral - postMessage EngineState: CAN_rx 408 1032 7 1F 19 82 0 0 0 0 0
I 211015 183550.416 [communication executor1] MessagesCentral - postMessage EngineState: Sending CAN message: SID 308/8 8 3 5 0 0 0 0 0
I 211015 183550.416 [communication executor1] MessagesCentral - postMessage EngineState: Sending CAN message: SID 608/8 81 3D 63 41 0 5 50 0
I 211015 183550.416 [communication executor1] MessagesCentral - postMessage EngineState: Sending CAN message: SID 0/2 8C 1 0 0 0 0 0 0

408h appears to be various body sensor states, as well as the fuel gauge.
218h appears to be the status of the EGS51 TCM
410h appears to be HVAC related.

This leaves the ABS/ETS module, and 180h. I will test if disconnecting the ABS/ETS module ends broadcast of that frame. At present, I am trying to determine what data and PIDs the TCM expects in order to function properly.

Also, I took the car to a local auto parts store to try to get it code scanned. Results were predictable.
User avatar
AndreyB
Site Admin
Posts: 12215
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Hellen128 on a Mercedes E320 W210 M104 probably 1996 or 1997

Post by AndreyB »

Sneaky option: smaller IGBT is the way to reduce soldering pain :) Those are either unavailable NGD8201AN or more available ISL9V3040D3ST?

Also reference M104 image
image.png
image.png (236.51 KiB) Viewed 399 times
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239
Post Reply