Ecm BMW 540i 1997 E39 User Guide
[x] Cancel search | Manufacturer: BMW, Model Year: 1997, Model line: 540i, Model: BMW 540i 1997 E39Pages: 1002
Page 358 of 1002
Downloaded from www.Manualslib.com manuals search engine
.-
ignition System
Disabling ignition system
The ignition system operates in a lethal voltage range and
should be disabled any time engine service or repair work is
being done that requires the ignition to be switched on.
The engine management system can be disabled by remov-
ing the DME main relay. The relay is located in the electronics
box (E-box) in the left rear of the engine
compartment, be.
neath the interior microfilter housing.
CAUTION- Relay locations may
vary. Use care when identifying relays.
See
610 Electrical Component Locations.
Checking for spark
CAUTION-
If
a spark test is done incorrecth damage to the Engine Con-
trol Module
(ECM) or the ignition coils may result.
NOTE-
Spark plug replacement is covered in 020 Maintenance.
Check~ng for spark is d~fflcult on englnes wlth d~str~butorless
ignition systems.
Try removing the spark plugs and inspecting for differences between them.
A poor-firing plug may be wet with fuel and/or ~. - ~
black and sooty, but not always. If a coil is not operating, the
engine management system will electrically disable the fuel
injector to that cylinder. The key is to look for differences be-
tween cylinders.
Ignition coil assembly, testing and
replacing
C4 UTION-
Use a digital multimeter for the following tests. I
- Remove plastic engine cover from top of valve cover by pry-
ing off bolt covers and removing cover mounting bolts.
- Raise car slowly while constantly checking position of jack
and car.
- Disconnect harness connector from coil. Connect multimeter
between terminal 15
(+) in connector and ground.
4 Terminal identification are typically molded into connector. In
photo, terminals are from left to right: 1,
4a, 15.
Page 359 of 1002
Downloaded from www.Manualslib.com manuals search engine
Ignition System
- Turn ignition on and check for battery voltage,
If battery voltage is not present,
checlt wire between termi-
nal
15 and the unloader relay. See ELE Electrical Wiring
Diagrams.
- Turn ignition off.
Remove coil and inspect coil housing for hairline
cracks or
leaking casting material. Replace any
cracked or leaking coil.
NOTE-
A leaky coil may indicate a faulty Engine Control Module
(ECM). Check ECM before installing a new coil.
CAUTION-
Note location of coilground straps before coil removal; rein-
stall in the same location.
Use a multimeter to test:
Coil primary resistance at coil terminals.
Sparlt plug connector resistance.
* Compare results to specification in Table c. lgnition coil
resistance.
Table c. Ignition coil resistance
Coil secondary
resistance
Spark plug connector:
Bosch 1 .O I( ohm t 20%
1.8 ir ohm t 20%
Component
Co~l prlmary
resistance
- Replace ignition coil or sparlt plug connector if resistance
readings do not meet specifications.
4 Remove ignition coil to be tested.
Install
BMW special tool 12 7 030 (A) on coil to be tested.
Connect ground jumper between coil mounting point
(B)
and engine ground point (C).
Clip scope high pick-up lead (D) around ignition lead.
Start engine.
Compare scope pattern with diagrams in Oscilloscope
di-
agnostic diagrams.
NOTE-
When replacing ignition coils, ensure that the replacements
Terminal
1 (-) and 15 (+)
are
from the same manufacturer with the same partlcode
numbers. If individual coils with the correct specifications are
not available. all coils should be
re~laced.
Resistance
0.8 ohms
Page 360 of 1002
Downloaded from www.Manualslib.com manuals search engine
120-1 2
ignition System
Crankshaftspeedsensor
Crankshaft speed sensor, replacing (M52, M52 TU and
M54 engines)
4 Crankshaft speed sensor for 6-cylinder engine is mounted in
the left rear side of the cylinder block below the starter (ar-
row). The sensor reads a toothed pulse wheel mounted to
the end of the crankshaft.
- if the Engine Control Module (ECM) does not receive a signal
from the crankshaft speed sensor during cranking, the en-
gine will not start.
- If the OBD II svstem misfire detection ~rotocol detects a cat- - - ~~
alysr oarnagin; faLlt oJe to a ma I-nclion in crandshafi speeo
sensor components. Ine Check Engine
lignr (Malfuncrion In-
dicator Light or MIL) will be illuminated.
NOTE-
If the crankshaft speed sensor pulse wheel is damaged, the
engine will have to be disassembled down to the crankshaft
to
reolace the wheel.
- Make certain ignition has been turned off.
- Raise car and support in a safe manner.
WARNING -
Make sure the car is stable and well supported at all times.
Use a professional automotive lift orjacltstands designed for
the ouroose.
A floor iaclc is not adequate support.
- Remove under engine splash guard
4 Working underneath starter:
Cut off wire tie securing crankshaft speed sensor harness
connector (arrow) to sensor.
* Disconnect harness connector.
4 Remove sensor mounting fastener (arrow) and remove sen-
sor from cylinder block.
- Installation is reverse of removal, noting the following:
Use a new O-ring when installing sensor.
Be sure wiring is routed in same orientation.
Secure sensor using new wire ties.
Use scan tool to read out and clear ECM fault memory.
Page 361 of 1002
Downloaded from www.Manualslib.com manuals search engine
ignition System
Crankshaft speed sensor, replacing (M62 and M62TU
engines)
The crankshaft speed sensor reads a toothed pulse wheel
mounted on the flywheel.
If the Engine Control Module(ECM)
does not receive an impulse signal from the crankshaft speed
sensor during
cranking, the engine will not start. If the OBD II
system misfire detection protocol detects a catalyst damag-
ing fault due to a malfunction in the crankshaft speed sensor
components, the Check Engine light (Malfunction
Indicator
Light or MIL) will be Illuminated.
4 The crankshaft speed sensor (arrow) is mounted in the right
lower side of the bell housing.
- Remove speed sensor by disconnecting electrical harness
connector and unbolting sensor from bell housing. Do not
discard shims, if present.
- Installation is the reverse of removal. Clean mounting surface
before installing new sensor, and install shims, if present.
< If the flywheel was replaced, the speed sensor must be
checked for correct installation depth.
* Crank engine in direction of rotation using crankshaft bolt
until a full pulse tooth is centered in the opening for the re-
moved speed sensor.
Measure depth ro top of tooth from speed sensor p~lse
generator mounting s~rface on transmission.
4 Measure length of pulse generator from mounting surface to
end (A).
- Subtract length of pulse generator (A) from distance to pulse
tooth from mounting area on transmission. This measure-
ment is the gap between the pulse sensor and flywheel. Use
shims available from BMW to increase gap as needed to
reach specification.
Pulse sensor
gap
End of sensor to flywheel teeth 0.55 + 0.2 rnrn
(0.0217 t 0.008 in)
Page 362 of 1002
Downloaded from www.Manualslib.com manuals search engine
I Ignition System
Camshaft position sensors
The camshaft position sensors are used by the englne man-
agement system for VANOS control, sequential fuel injection
and knock control.
Intake camshaft position sensor, replacing
(M52,M52 TU
and M54 engines)
- Make certain ignition has been turned off.
- Remove plastic cover from above fuel injectors by prying off
bolt covers and removing cover mounting bolts.
Remove complete air filter housing:
Disconnect electrical harness connector on mass air flow
sensor
(A).
Detach vacuum line at intake boot (B).
Loosen hose clamp at intake boot and detach air duct con-
nections
(C).
* Disconnect cold air duct tube (D).
Remove filter housing mounting screws (E).
- Disconnect harness connector from VANOS solenoid and
unscrew solenoid from VANOS control unit. Be prepared with
shop rags to catch oil released from VANOS unit.
Remove camshaft sensor (arrow) from
left front of cyl~nder
head, next to top of oil filter housing.
Disconnect camshaft sensor harness from under intake
manifold. Prior to removal, attach a stiff piece of wire to the
harness connector end to preserve proper routing of harness
for reinstallation.
Installation is reverse of removal, noting the following:
Use new O-rings when installing sensor and solenoid.
Be sure wiring is rerouted in same orientation.
Use scan tool to read out and clear
ECM fault memory
Tightening torques
-
Intake camshaft sensor to cylinder head 10 Nrn (7 ft-lb)
VANOS solenoid to VANOS control unit 30 Nm (22 ft-lb)
Page 363 of 1002
Downloaded from www.Manualslib.com manuals search engine
120-15
Ignition system1
Exhaust camshaft position sensor, replacing
(M52 TU and M54 engines)
- Make sure ignition has been turned off.
4 Working at front of engine on exhaust (right) side, detach ex-
haust camshaft position sensor electrical harness connector
(arrow) and remove sensor.
- Installation is reverse of removal, noting the following:
Use a new O-ring when installing sensor.
- Use scan tool to read out and clear ECM fault memory.
Tightening torque
Exhaust camshaft sensor
to cylinder head 10 Nm (7 ft-lb)
Intake camshaft position sensor, replacing
(M62 and M62 TU engines)
- Make sure ignition has been turned off
4 Remove top engine cover by releasing quick release fasten-
ers (arrows) by pressing down.
4 Remove air filter housing and mass air flow sensor:
Disconnect mass air flow sensor and
intalte air tempera-
ture sensor electrical harnesses
(A and B).
Remove air filter housing mounting fastener (arrow).
Loosen hose clamps
(C and D).
Remove hose at idle air stabilizer.
Remove air filter housing with mass air flow sensor.
- Remove intalte hose from throttle body.
Page 364 of 1002
Downloaded from www.Manualslib.com manuals search engine
120-1 6
Ignition System
Remove camshaft sensor (arrow) from front of right cylinder
head.
Disconnect camshaft sensor harness from cable duct above
right cylinder head.
Installation is reverse of removal, noting the following:
Use new O-ring when installing sensor.
Be sure wiring is rerouted in same orientation.
Use scan tool to read out and clear ECM fault memory.
Tightening torque Intake camshaft sensor to timing chain 5 Nm
(3.5 ft-lb)
cover
Knock sensors
Knock sensors, replacing (M52, M52 TU and M54
engines)
The knock sensors are bolted to the left side of the cylinder
block under the intake manifold.
- Remove intalte manifold as described in 113 Cylinder Head
Removal and Installation.
D~sconnect knock sensor electrical harness connector (A) on
left side of engine cylinder block.
Remove knock sensor
mount~ng bolts (arrows) on side of
cyllnder block. Remove sensors.
Note the installed angle of the
lnocl~ sensor on the bloc/( be-
fore removing it. Reinstall the sensor
in the same position. Be
sure to use a torque wrench when tightening the sensor
mounting bolt.
< Clean lknock sensor contact surface on engine bloclc and
sensor (arrows) before installing
ltnock sensor.
Tightening torque
Knock sensor to head 20 Nm (15 ft-lb)
- Use scan tool to read out and clear ECM fault memory.
Knock sensors, replacing
(M62 and M62 TU engines)
The
knock sensors are bolted to the side of the cylinder block
under the
intake manifold.
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 370 of 1002
Downloaded from www.Manualslib.com manuals search engine
.-. .
Battery, Starter, Alternator
Warnings and cautions
WARNING -
Wear goggles, rubber gloves, and a rubber apron when
working around the battery or battery acid (electrolyte).
Battery acid contains sulfuric acid and can cause skin
irritation and burning.
If acid is spilled on your skin or
clothing, flush the area at once with large quantities of
water. If electrolyte gets into your eyes, flush them with
large quantities of clean water for several minutes and
call a physician.
Batteries that are being charged or are fully charged
give off explosive hydrogen gas. Keep sparks and open
flames away. Do not
smoke.
CA UTIOI\C
Only use a digital multimeter when testing automotive elec-
trical components.
. If a repair procedure specifies disconnecting the bat-
tery, follow the instruction for safety reasons.
Prior to disconnecting the battery, read the battery dis-
connection cautions in
001 General Cautions and
Warnings.
Models with MS43 engine management: Allow at least
3 minutes to elapse after turning ignition ley to OFFpo-
sition before disconnecting battery. This willallow sum-
cient tinie to complete the DMJL (fuel tank pressure)
test
* Disconnecting the battery cables may erase fault codes
stored in ECM memory.
Always disconnect the negative
(-) battery cable first
and reconnect it last. Cover the battery post with an in-
sulating material whenever the cable is removed.
Do not disconnect battery, alternator or starter wires
while the engine is running.
0 Never reverse the battery cables. Even a momentary
wrong connection can damage the alternator or other
electrical components.
Do not depend on the color of insulation to tell battery
positive and negative cables apart. Label cables before
removing.
The slide-tilt sunroof may fail to function properly
after
disconnecting and reconnecting the battery. Reinitial-
ize sunroof as described in 540 Sunroof.
Page 377 of 1002
Downloaded from www.Manualslib.com manuals search engine
121-11
Battery, Starter, ~lternatorl
Alternator 1997 - 98 5281 1997 540i
/-- -----,
I'
-----------
F15 / 7.5A/ :
&.. .... , 30 1 Xi0015
Battery
Hol in run 61 E (D+) Alternator
and stsrt
lBL
(Generator)
1 .--------,charge , . I , indicator I xGoli i
I <"9,7,a,T
Alternator, basic
On 1997-1 998 6-cylinderand 1997 V-8 models, the charging
system indicator light is supplied voltage
(+) to one side of the
light bulb, and the other side of the bulb is connected to the
voltage regulator.
With the engine off and the key in the run position, voltage
from the ignition switch flows through the regulator to ground,
completing the circuit and illuminating the charge indicator
bulb.
When the vehicle is started and the alternator begins to pro-
duce voltage, the output of the diode trio increases and the
light is turned off.
Alternator with multi-function control
(MFR)
Alternator with multi-function control
(MFR)
The multi-function controlled alternator is used on:
* 1999-2002 6-cylinder models
* 1998-2002 V-8 models
4 On cars with multi-function control alternator, the charge in-
dicator lamp is activated by means of an electronic switch in-
tegrated in the alternator controller. This switch receives its
voltage supply from terminal
15 on the 3-pin connector at the
rear of the alternator. The controller measures internally the
voltage difference between terminal 30 and terminal
15 and
signals the DME ECM to turn the charge indicator lamp on.
The controller features integrated fault detection. The battery
charge indicator lamp will come on in the event of:
* Failure of belt drive
No charge due to an
electrical/electronic fault
Interruption in excitation circuit
Over-voltage due to a defective controller output stage Fault or break in charge line
No charge due to alternator fault