sensor BMW 528i 1997 E39 Repair Manual
Page 365 of 1002
Downloaded from www.Manualslib.com manuals search engine 
Ignition System 
Remove intake manifold  as described in 113 Cylinder Head 
Remaval and  Installation. 
Remove  knock sensor mounting bolts  (arrows) on side  of 
cylinder  block. Remove  sensors. 
I CAUTION- I 
Note the installedangle  of the  knock sensors  on the bloclt be- 
fore  removalit.  Reinstall the sensors  in the  same  position.  Be 
sure  to use 
a torque  wrench  when  tightening the sensor 
mounting  bolts. 
Clean 
lknoclc sensor contact  surfaces on engine bloclc and 
sensors before installing. 
Tightening  torque 
Knock  sensor  to engine 
bloclc 20 Nm (15 ft-lb) 
- Use scan tool  to read  out and  clear ECM fault memory. 
- Installation is  reverse of removal.    
Page 379 of 1002
Downloaded from www.Manualslib.com manuals search engine 
Battery, Starter, ~lternatorl 
Charging system quick-check 
Use a digital multimeter to measure voltage across  the bat- 
tery terminals with key  off and  then again with engine running. 
Battery voltage  should be about 12.6 volts with key  off and be- 
tween  13.5 and 14.5 volts with engine running. 
NOTE- 
The regulated  voltage (engine running) should be between 
13.2 and 14.5, depending on  temperature andoperating  con- 
ditions. 
If the  voltage  is higher  than 14.8, the voltage regula- 
tor  or 
mulitfunction controller  is most likely faulty 
Check for clean  and tight battery cables. Check ground cable 
running  from negative 
(-) battery  terminal  to chassis  and 
ground cable  running from engine  to chassis. Check alterna- 
tor  drive  belt condition and tension. 
Charging system, checking 
CAUTIOI\C 
* Do not  disconnect  the battery  while the  engine is running. 
Damage  to the  alternator  and/or engine electronic  systems 
may  result. 
Only use  a digital multimeter  when testing  charging 
system  components. 
--7 
4 Turn ignition  key on. Check that  battery  warning light comes 
on. 
NOTE- 
If  the warning  light does  not come  on, repair  bulb or wiring 
faults  before  continuing to  checlc the charging  system. 
/ Charge indicator 
502820805 
4 6-cylinder  engines  only, remove complete air filter housing: 
Loosen 
intake duct  hose clamp (A) at  throttle  assembly. 
Loosen clamp  and remove idle control  hose from intake 
duct 
(B) and  disconnect idle speed control  valve electrical 
harness connector. 
Disconnect electrical harness connector 
(C) from mass  air 
flow  sensor. 
Remove  air filter housing  mounting screw 
(D). 
Disconnect  vent tube (E). 
Loosen air intake duct clamp (F). 
Carefully  lift air filter  housing out  of engine  bay.    
Page 381 of 1002
Downloaded from www.Manualslib.com manuals search engine 
Battery, Starter, ~lternatorl 
Alternator,  removing and installing 
(6-cylinder  engine) 
A replacement alternator should have  the same rating as the 
original. Alternator  manufacturer and ampere rating  are nor- 
mally marked on  the alternator housing. 
- Disconnect negative (-) battery cable. 
CAUTION- 
Prior to disconnecting  the batteg read the battery  discon- 
nection cautions given 
in 001 General Warnings  and Cau- 
I tions. 
Remove complete  air filter  housing: 
Loosen intake duct  hose clamp 
(A) at  throttle  assembly. 
Loosen  clamp and remove idle control hose from  intake 
duct 
(B) and  disconnect idle  speed control valve electrical 
harness  connector. 
Disconnect electrical harness connector 
(C) from  mass air 
flow  sensor. 
* Remove air filter  housing mounting screw (D), 
Disconnect vent tube (E). 
Loosen air intake duct clamp (F). 
Carefully  lifl air filter  housing out  of engine  bay. 
Remove alternator drive belt.  See belt removal procedures  in 
020 Maintenance. 
- Remove radiator cooling fan  and fan shroud. See 170 Radi- 
ator  and Cooling  System. 
NOTE- 
The radiator  cooling fan nut (32 mm  wrench)  has left-hand 
threads. 
- Unbolt power steering fluid reservoir and bracket. Suspend  to 
one  side  without  detaching fluid hoses. 
- Disconnect alternator  air cooling tube. 
- Disconnect  wiring from  rear  of alternator. 
'4 Remove  upper and lower mounting bolts (arrows) and lift 
alternator. 
If  idler  pulley  for belt  interferes,  remove pulley cover and 
retaining  bolt to remove  pulley.  out    
Page 386 of 1002
Downloaded from www.Manualslib.com manuals search engine 
I Battery, Starter, Alternator 
- Check for battery  voltage  at terminal 50 of starter motor with 
key  in start position.  If voltage is not present,  check wiring be- 
tween ignition switch and starter  terminal.  Check the EWS 
system and other inputs that disrupt terminal 
56 to  the  start- 
er.  See  ELE  Electrical 
Wiring Diagrams.  If voltage is 
present  and no other visible wiring  faults can be found, prob- 
lem  is most likely in starter  motor. 
Starter, removing  and  installing 
(6-cylinder  engine) 
The starter is removed  from below.  Access  to starter bolts is 
difficult. Be sure  to have the proper tools on hand before pro- 
ceeding. 
NOTE- 
Access  to the  starter  wiring is very  limited.  Forbetteraccess, 
it  may  be necessary  to remove  the intake manifold. 
- Disconnect negative (-) battery  cable. 
CAUTIOI\C 
Prior to disconnecting the battern read  the baltery  discon- 
nection  cautions 
in OOlGeneral Cautions and  Warnings. 
Remove complete air filter hous~ng: 
Loosen intake duct hose  clamp (A) at throttle  assembly. 
Loosen clamp and  remove idle control hose from  intake 
duct 
(B) and disconnect idle  speed control  valve electrical 
harness  connector. 
Disconnect electrical harness connector 
(C) from mass air 
flow  sensor. 
Remove  air filter housing mounting  screw (D) 
Disconnect  vent tube 
(E). 
Loosen air intake duct  clamp (F). 
Carefully lift air filter housing  out of engine  bay. 
Disconnect throttle cable. 
Raise vehicle and support  safely. 
WARNING- 
Make sure the car is stable  and well supported  at all times. 
Use  a professional  automotive 
lift orjack stands designed  for 
the purpose.  A 
floorjaclc is not  adequate  support 
- Working underneath  car, remove  engine splash shield 
- Disconnect fuel lines and harness connectors  from retaining 
brackets, as  necessary.    
Page 388 of 1002
Downloaded from www.Manualslib.com manuals search engine 
- 
Battery, Starter, Alternator 
- Working underneath  car, remove engine  splash shield. 
- Remove  heat shield  from starter. 
Remove starter  wire mounting nuts (arrows).  Disconnect 
wires from  starter terminals  and retaining  clip. 
Disconnect  main positive cable and bracket from suspen- 
sion. 
If  necessary  for access, remove right  side oxygen sensor 
harness  connector from  retaining clip. 
Working  from end  of transmission,  use suitable extensions 
and universal joint  to remove  starter mounting bolts  (arrows) 
at  transmission  bellhousing. 
- Remove  starter from  below. 
- Check starter pinion  gear and flywheel teeth  for damage. 
- Installation is reverse  of removal 
Tightening torques  Starter 
to engine  47 Nrn (35 
ft-lb) 
Wire  terminals  to starter 
M5 5 Nrn  (44 in-ib) 
M6 7 Nm (62 in-ib) 
ME 13 Nrn  (10 ft-lb)    
Page 391 of 1002
Downloaded from www.Manualslib.com manuals search engine 
130-1 
130 Fuel injection 
General ........................... .I3 0.2 
Tools and test equipment .............. .I3 0.3 
Warnings and cautions ................ .I3 0.5 
Fuel Supply ....................... .I3 0.6 
Relieving system  fuel pressure .......... .I3 0.6 
Siemens MS  41 . 1. ................... 1 30-7 
ECM relay.  testing .................... .I3 0.7 
Mass air flow (MAF)  sensor. 
checking and replacing 
................ .I3 0.9 
Engine coolant temperature (ECT) sensor. 
testing and replacing 
.................. 130-10 
Intake  air temperature  (IAT) sensor. 
testing and replacing 
................. .I3 0.1  1 
Throttle position  sensor (TPS). 
testing and replacing 
.................. 130-1 2 
ldle speed control  valve. 
checking and replacing 
............... .I3 0.1 3 
Fuel injectors. checking and  replacing .... 130-15 
Evaporative emissions. overview ....... .I3 0.1 6 
Secondary  air  injection. overview ....... .I3 0-17 
Engine control  module (ECM). 
removing and installing 
................ 130-18 
Siemens MS 41.1 ECM  pin assignments . .I3 0.19 
Siemens MS 42.0  and MS 43.0. ..... .I3 0.23 
ECM relay. testing ................... .I3 0.27 
Mass air flow  (MAF)  sensor. 
checking and replacing 
............... .I3 0.28 
Engine coolant  temperature (ECT) sensor. 
testing and replacing 
................. .I3 0.30 
Intake air temperature  (IAT) sensor. 
testing and replacing 
................. .I3 0.31 
MS 42.0 throttle  valve assembly.  replacing . 130-32 
MS 43.0 throttle valve assembly.  replacing . 130-35 
Throttle cable. adjusting (MS 42.0) ...... .I3 0.38 
ldle speed control  valve. checking 
and replacing 
....................... .I3 0.38 
Evaporative  emissions control diagrams . . 130- 39 
Evaporative emissions control. 
(MS 
42.0 and MS 43.0). .............. .I3 0.39 
Engine control  module (ECM). 
removing and installing 
................ 130-40 
Siemens  MS 42.0 and MS 43.0 
ECM pin  assignments ................. 130-41 
Bosch M5.2 (M62  up to 911997) 
BOSC~ M5.2.1  (M62 911997 to 911998) 130-46 
M5.2 system features ................. 130-47 
M5.2.1 system features ............... 130-47 
ECM relay.  testing ................... 130-49 
Oxygen sensors. checking ............. 130-51 
Fuel injectors. checking and  replacing .... 130-52 
Mass air flow (MAF) sensor. replacing .... 130-53 
ldle  speed control valve.  testing 
and replacing 
....................... 130-54 
Throttle position  sensor (TPS). 
testing and replacing 
................. 130-55 
Engine  coolant temperature  (ECT) sensor. 
testing and replacing 
................. 130-55 
Intake  air temperature (IAT) sensor. 
testing and replacing 
................. 130-57 
Auxiliary throttle valve (ADS)  (M62  and 
M62 TU engine).  replacing ..... 130-57 
Evaporative system pressure 
leak diagnosis. overview 
(5.2.1 only) ..... 130-58 
Bosch 5.2 ECM  pin assignments 
(M62 UP to 911 997) ................... 130-59 
~osch 5.2.1 ECM  pin assignments 
(M62 911 997 to 911 998) ............... 130-62 
BOSC~ ME  7.2 ..................... 1 30-66 
ME 7.2 system overview ............... 130-67 
EDK  adaptation ..................... 130-69 
ECM  relay. checking .................. 130-69 
Engine coolant temperature 
(ECT)  sensor.  testing 
................. 130-71 
Engine coolant temperature 
(ECT) sensor.  replacing 
............... 130-71 
Oxygen sensors. replacing ............. 130-72 
Fuel injectors. removing  and installing .... 130-72 
Mass air flow (MAF) sensor. 
removing  and installing 
................ 130-73 
Evaporative system pressure 
leak  diagnosis. overview 
............... 130-74 
Secondary air  injection. overview ........ 130-75 
Bosch ME 7.2 ECM pin assignments .... 130-76    
Page 392 of 1002
Downloaded from www.Manualslib.com manuals search engine 
130-2 
/Fuel Injection 
This repair  group covers service and repair  of the Bosch  and 
Siemens engine management systems  used on 
1997 
through 2002 E39 models. Additional engine management 
service  and repair  information  may also be found  in the  fol- 
lowing  repair groups: 
0 020 Maintenance 
120 Ignition  System 
160 Fuel Tank  and Fuel  Pump 
610 Electrical  Component Locations 
OBD  On Board  Diagnostics 
NOTE- 
Camshaft  position sensor, crankshaft speed sensor  and 
knoclc sensors  are covered in 120 Ignition  System. 
Table  a. Engine  management  system applications 
- - ~ ~ 
1 ~odellmodel year / Engine IDME system I - I 
5281, 1997-1 998 IM52. 2.8 liter ISiemens MS  41 .I I 1 
528i. 1999ZO00 1~52 TU, 2.8 liter ]siemens MS 42.0 I I 
5251, 2001-2002 1~54, 2.5 liter 1 Siemens  MS 43.0 I I 
530i, 2001-2002 1~54, 3.0 liter ISiemens MS 43.0 
5401 1999-2001 1~62 TU, 4.4 liter l~osch ME  7.2 
I 
OBI) II software and hardware is incorporated  in the engine 
management control systems.  The 
OED II system monitors 
components that influence  exhaust and evaporative emis- 
sions.  If a  problem  is detected, the 
OED I1 system stores the 
associated  fault code and  condition. 
540i. 1997 
4 If vehicle emission  levels exceed 1.5 times  Federally  mandat- 
ed  criteria,  the 
OED II system illuminates  a malfunction  indi- 
cator light 
(MIL) in  the instrument  cluster. 
For  the 
E39 cars covered  by this manual,  three  different 
MIL symbols were used,  depending  on year  and model. 
See  illustration. 
When faults  arise, or if the malfunction indicator lamp  (MIL) is 
illuminated,  begin troubleshooting by connecting  BMW ser- 
vice tester 
DISplus, MoDiC, GTl or  equivalent  scan tool. The 
capabilities  of OBD 
II software  has the potential  to save hours 
540i. 1998 IM62, 4.4  liter /Bosch M5.2.1 
M62, 4.4 liter Bosch M5.2    
Page 395 of 1002
Downloaded from www.Manualslib.com manuals search engine 
Fuel Injection 
Warnings and cautions 
For  personal  safety, as well  as the  protection  of sensitive 
electronic  components,  adhere to the  warnings  and cautions 
on  the  following  pages. 
WARNING- 
Gasoline is highly  flammable and its  vapors are explosive. 
Do  not  smoke  or  work  on a car  near  heaters  or  other fire 
hazards when diagnosing  and repairing  fuel system  prob- 
lems.  Have a fire  extinguisher available  in case  of an  emer- 
gency 
Renew fuel  system hoses, clamps  and O-rings any 
time they  are removed. 
When  working  on an open fuel system,  wear suitable 
hand  protection,  as prolonged contact 
with fuel  can 
cause illnesses  and skin disorders. 
* The ignition  system produces  high voltages  that can be 
fatal.  Avoid  contact  with exposed  terminals.  Use ex- 
treme caution  when 
working on a car with the ignition 
switched on  or the engine  running. 
CAUTION- 
- Disconnecting  the battery  may erase fault code($ storedin 
memory  Check  for  fault  codes prior  to disconnecting  the 
battery cables.  Read the battery disconnection cautions  in 
001 General Warnings  and Cautions. 
a Connect  and disconnect  the DME system wiring and 
1 test equipment leads  only when the ignition  is switched 
off. 
Wait  at least 1 minute  after turning  off the ignition be- 
fore  removing the  engine control module  (ECM) con- 
nector.  If the  connector  is removed  before this  time, 
residualpower  in the system  relay may damage  the 
control  module. 
Fuel  system cleaners and  other chemical additives oth- 
er  than those specifically  recommended by BMW  may 
damage the catalytic  converter, the oxygen sensor  or 
other fuel supply components. 
* Do not connect any test equipment that delivers  a 12- 
volt power supply to terminal 15 (+) of the ignition  coil. 
The  current  flow may  damage the  ECM. In general, 
connect  test equipment  only as specified  by  BMW or 
the  equipment  maker. 
Only use  a digital 
multirneter for electrical  tests. Only 
use  an LED  test light  for 
quiclc tests.    
Page 399 of 1002
Downloaded from www.Manualslib.com manuals search engine 
Fuel Injection I 
Mass  air flow (MAF)  sensor, 
checking and replacing 
4 The hot film  mass air flow  (MAF) sensor  (arrow) sends a 
varying voltage (approx. 
0.5 - 4.5 vdc)  to the ECM  represent- 
ing  the measured intake  air. The air mass input signal  is pro- 
duced electronically  by the 
MAFsensorusing a heated  metal 
film  in the  air flow stream. 
The  ECM  relay provides the operating voltage to the  MAF 
sensor.  As air flows through the MAF sensor, the film  is 
- 
cooled. To maintain  the film at a constant temperature, addi- 
tional heating current is necessary. It is  this additional  current 
that is  the basis  for the  input  signal. 
If  there  is no output signal  from the MAF sensor, the  ECM op- 
erates the engine using throttle position and engine  rpm in- 
puts.  A faulty  MAF sensor illuminates the  MIL. 
A  faulty  MAF sensor can produce the following  problems: 
Difficult  to restart  when engine is hot. 
Engine  starts then  stalls. 
Engine starts and runs  only with accelerator pedal  de- 
pressed. 
Disconnect electrical harness connector  from MAF  sensor 
(arrow). 
- Turn  ignition on  and check for voltage  and ground  at connec- 
tor. 
There should  be ground at pin 
1 and battery  voltage at pin 
3. 
If any faults  are found, check  for wiring breaks  between 
MAF sensor and  ECM and between MAF  sensor and ECM 
relay. 
NOTE- 
Visually  inspect the sensor  for damage,  missing or blocked 
screens.  The screens affect  air flow calibration. Also inspect 
the  sealing O-rings  where the sensor inserts  into the air 
filter 
housing  and intake boot. Ensure  the pin  connections are 
clean  and tight. 
4 Connect a  BMW-compatible scan  tool or an  OBD II generic 
scan  tool. Check  air mass  signal (load signal) with  the engine 
at  idle.  Raise idle speed and  check that load signal changes 
with  rpm. 
CA UTIOI\C 
Be sure ignition  is OFFbefore disconnecting  or reconnecting r 
1 DME svstem components. 1    
Page 400 of 1002
Downloaded from www.Manualslib.com manuals search engine 
130-1 0 
Fuel Injection 
Remove  MAF sensor: 
Release clips  from air filter housing 
(A). 
Disconnect harness connector (B). 
Loosen intake boot clamp (C) and remove  MAF sensor. 
Note large sealing O-rings. 
Installation  is reverse  of removal. 
No  adjustment to  MAF sensor  is possible. 
Check  intake hoses  for cracks and vacuum leaks. 
Engine coolant temperature (ECT)  sensor, 
testing and replacing 
R 
1 -4 The ECT sensor is located  below cylinder 1 intake port 
The ECT sensor is  a dual temperature sensor. One circuit 
provides coolant temperature information to the  ECM while 
the other circuit provides coolant temperature information to 
the instrument cluster. 
The  ECM  determines the correct ignition timing  and 
airlfuel 
mixture required for the engine by monitoring an applied volt- 
age 
(5 vdc) to  the sensor.  The voltage  drop across  the sensor 
varies  as the  coolant  temperature  (sensor resistance) chang- 
es. 
NOTE- 
The  ECT  sensor  is an  NTC  (negative temperature  coeffi- 
cient)  type sensor.  in other  words,  as the temperature rises, 
resistance through the sensor  decreases. 
If the ETC sensor input is faulty  or non-plausible, the MIL is  il- 
luminated when 
OED II fault criteria are exceeded. The ECM 
assumes  asubstitute  value 
(80°C1 176°F) to maintainengine 
operation.  The ignition timing is  set to a 
conse~ativelsafe ba- 
sic  setting. 
- Check ECT sensor resistance using  a multimeter at sensor 
terminals. 
- 
WARNING - 
Due  to risk  of personal  injury, be sure  the engine  is cold  be- 
fore  disconnecting  or reconnecting  ECT sensor. 
ECT sensor  resistance @ 20" C (68°F) 2.2 - 2.7 
Temperature gauge sensor  resistance @ 20°C (~B"F)( 6.7 k