The ignition coils have 3x pins however they do not have an internal igniter. The igniter is internal to the OEM ECU, so an external igniter such as the Haltech HPI6 is recommended for this application.
Throttle Position Sensor
OEM Wiring
| Haltech Wiring
|
1
| Signal Ground
|
2
| Signal (Spare AVI)
|
3
| 5V+
|
MAP Sensor
These engines do not come with a MAP sensor.
Use the internal MAP sensor that comes with your ECU. For higher boost levels an external MAP sensor should be used instead, connected to a spare AVI.
Variable Cam
TU Models
These models have a switched cam control that BMW calls VANOS (variable nockenwellen steuerung) that is simply turned on or off with the inlet cam only. When engaged will advance the inlet cam 25deg. This will use the Cam Control Switched function. It will be off at idle, on at low RPM and open throttle, and turns off above ~4000 to 5000 rpm.
Idle Valve
3-pin BAC valve. Middle pin is 12V+ and output pins will go to 2x spare outputs.
Coolant Temperature
M50B20 Coolant Temperature Sensor
Wiring is not polarity sensitive
Pin
| Haltech Connection
|
1
| Any Spare AVI*
|
2
| Signal Ground
|
An AVI with a selectable Pullup should be used. If not and external 1k pullup to 5V should be connected.
Air Temp
The M50 engine comes with an intake air temperature sensor.
Wiring is not polarity sensitive
Pin
| Haltech Connection
|
1
| Any Spare AVI*
|
2
| Signal Ground
|
An AVI with a selectable Pullup should be used. If not and external 1k pullup to 5V should be connected.
Knock Sensor
The M50 has 2x knock sensors.
Recommended Knock Sensor. Haltech HT-011100
O2 Sensor
Adding a Haltech Wideband Kit (highly recommended)
For correct operation a Haltech WB1 kit is highly recommended for this application, with the provided 4.9 sensors replacing the pre-cat sensor. Sensors use a 22mm socket or spanner to remove and replace.
MAF Sensor
The M50 engine has a MAF. Although most Haltech installation will delete the MAF it can be used if the tuner prefers.
WiringPin | Function | Haltech Wiring
|
1
| Chassis Ground | --- |
2
| Signal Ground | Signal Ground (Black/White)
|
3
| 12V+ Switched | --- |
4 | MAF Signal | Spare AVI |
Injector Data
Flow
The injector flow rate is measured with the injectors held wide open at 100% duty. For fuel systems with a fixed regulator pressure (often returnless systems) that is not referenced to manifold pressure the flow needs to be mapped over Manifold Pressure for accurate tuning.
Dead Time
When an injector is commanded to open for a certain amount of time, the dead time is the amount of time the injector is not actually open during this period. It covers the time to energise the solenoid and begin to open and the time to close as well. There are also transient periods during which the injector is opening and closing where fuel flow is not at full capacity so this lost peak flow period is also taken into account.
M50B20 ECU
M50B20TU use MS40.1
ECU Pinout
MS40.1 ECU Pinout