Hellen128 on a Mercedes E320 W210 M104 probably 1996 or 1997

Your chance to introduce yourself and your vehicle
Post Reply
augenblick
Posts: 26
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: 14292
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?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
augenblick
Posts: 26
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 11129 times
W210Engine.jpg
W210Engine.jpg (1.31 MiB) Viewed 11129 times
User avatar
AndreyB
Site Admin
Posts: 14292
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 »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
augenblick
Posts: 26
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: 14292
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
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
augenblick
Posts: 26
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: 26
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: 26
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: 14292
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 10580 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
augenblick
Posts: 26
Joined: Fri Jan 15, 2021 10:48 pm

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

Post by augenblick »

Now that spring semester is over, I can get back to making my cars actively worse.

I've replaced the TCM with NAG52. I've done a quick test drive around the block, but I'm planning to take a longer drive after traffic clears up and see if I can't get some D A T A.
duhafnusa4
contributor
contributor
Posts: 140
Joined: Tue Mar 31, 2020 7:18 pm
Location: USA Kentucky
Github Username: duhafnusa4
Slack: Jimmy *un*el

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

Post by duhafnusa4 »

augenblick wrote:
Mon May 09, 2022 6:38 pm
Now that spring semester is over, I can get back to making my cars actively worse.

I've replaced the TCM with NAG52. I've done a quick test drive around the block, but I'm planning to take a longer drive after traffic clears up and see if I can't get some D A T A.
Where did you buy the NAG52? Id like one
augenblick
Posts: 26
Joined: Fri Jan 15, 2021 10:48 pm

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

Post by augenblick »

I filled out a survey form and went through a process he was doing for the early beta testers. I think if you just emailed Ashcon directly, he'd work something out. https://github.com/rnd-ash has most of his contacts. Total aside to Rusefi, but you have to do a shifter mod to convert 96-99 shifters to output CAN in order to communicate with the TCM. Also for swaps he encourages people to use other standalones, not sure what chassis you're planning on putting this in.
duhafnusa4
contributor
contributor
Posts: 140
Joined: Tue Mar 31, 2020 7:18 pm
Location: USA Kentucky
Github Username: duhafnusa4
Slack: Jimmy *un*el

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

Post by duhafnusa4 »

augenblick wrote:
Wed May 11, 2022 4:34 pm
I filled out a survey form and went through a process he was doing for the early beta testers. I think if you just emailed Ashcon directly, he'd work something out. https://github.com/rnd-ash has most of his contacts. Total aside to Rusefi, but you have to do a shifter mod to convert 96-99 shifters to output CAN in order to communicate with the TCM. Also for swaps he encourages people to use other standalones, not sure what chassis you're planning on putting this in.
Thanks for the info.

Not sure yet, its for the OM606 I have that will be connected to the 722.6 probably in an R129 Mercedes 300SL or SL320 (same thing different years).
Assiergv
Posts: 1
Joined: Sun Jul 17, 2022 9:01 pm

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

Post by Assiergv »

Excuse me, how did you wire the idle valve? I have wired the throttle potentiometer but don't know how to wire the other 3 isc cables.
Thanks you
augenblick
Posts: 26
Joined: Fri Jan 15, 2021 10:48 pm

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

Post by augenblick »

What platform are you doing this on? Hellen128 is specifically late run 96/97 model year W210/W202/W140/R129 with one singular ME2.0/1 unit. If you're replacing 93-95 units out of W124/W202/W140/R129 with the multi-unit HFM & ISC module, it's a bit more complicated, and as far as I know, RUSEFI doesn't support that throttle body. If you're running it on a 90-92 car, it's even more involved.
User avatar
AndreyB
Site Admin
Posts: 14292
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 »

augenblick wrote:
Mon May 09, 2022 6:38 pm
Now that spring semester is over, I can get back to making my cars actively worse.

I've replaced the TCM with NAG52. I've done a quick test drive around the block, but I'm planning to take a longer drive after traffic clears up and see if I can't get some D A T A.
In light of nag52 release time for a status update!!!
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
augenblick
Posts: 26
Joined: Fri Jan 15, 2021 10:48 pm

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

Post by augenblick »

It runs? Tbh I've been caught up in other projects and stuff to do much with it. It still needs tuning, it's running ancient firmware, and the car itself is mega-dodgy.

Shift quality is medium ok. I never got around to trying to implement TQ requests in lua. NAG52 sends out the requests, and RE blissfully ignores them. I'm still running a beta board with an Arduino to convert the shifter. Occasionally when driving the engine either misses or doesn't hold the throttle correctly, I'm generally not logging as much as I should, so I don't know the cause. It very well could be the PPS. The idle is terrible, I still haven't done anything about it.

Overall the Hardware/SW seems to work ok, it's issues with tuning and/or the car itself.
Post Reply