BMW M5 Forum and M6 Forums banner

Replacing the left-hand side intake camshaft position sensor on E39 M5 S62B50

86K views 36 replies 24 participants last post by  Aazkin  
#1 · (Edited)
(This text is also available as a Word doc file as an attachment at the end of this post.)

NOTE: There are a lot of images on this page. If all the images don´t show up properly, try reloading the page a few times. (this will pull the images into the browser cache) If that does not help, open the word file attached and click on the image links in that document.

Replacing the left-hand side intake camshaft position sensor on E39 M5 S62B50.

Symptoms:

Very unstable idle, rattling sounds, poor torque (especially at low RPMs).

Checked OBD fault-codes and found P0345 Camshaft position sensor Cylinder 5-8 bank 2 Intake.
(Peak code table 18 code 08 should be the equivalent, I think.)

Oh no, that is the left-hand side (US driver´s side) (cylinder bank 2, cylinders 5-8) intake camshaft position sensor, which is supposed to be extremely difficult to change yourself.

Well, it is. Here is how we did it. (Or actually, how we would do it if we ever have to do it again…)

By using this procedure you agree to assume the full risks arising from following this proceure. I shall not be held liable for any damage direct or indirect arising from using this procedure. The description of the procedure is a historical record of how I and my GF replaced the sensor. It is provided for your amusement. Like any other historical record, following it may not be the optimal thing to do, and following it may not lead to the desired result.

I strongly suggest not to attempt this alone. Having another person around to help reach in the really tight places, and to holding things and as a moral support is very useful.

If the other person has small hands, it will help a lot, especially when it comes to loosening the screws, and when it comes to reassembly of the bracket.

When it comes to me, I am certain I would not have managed this on my own.

If you get stuck, take a break. Relax, tidy up the work place, wash your hands, have a snack and think things through. Rest yourself, and then try again. Do not use excessive force.

Changing the left hand side intake camshaft position sensor (aka CPS) would have been a very easy job if it were not for three hoses with engine coolant going to the passenger compartment heater. These hoses pass through the bulkhead at the exactly wrong place from a CPS replacement standpoint.

To make the job easy I think there are three options:

1. Drain engine coolant and remove the hoses. (and make sure to get it properly watertight against pressurized hot engine coolant afterwards)

2. Pull the engine and voilá, the CPS replacment becomes a very easy engine-out job.

3. Get smaller hands, and a mirror inspection tool.

I used method three. A word of caution. You will hurt yourself during this DIY. You will cut yourself, and you will bruise yourself, and your back will hurt, and probably your knees and legs too from leaning forward against the car for a number of hours.

I suggest to plan for this to take a whole day, and take frequent brakes doing other things inbetween, before losing your patience, concentration, spirit, humor or temper.

This is not something you want to do when under time-pressure. You need to take it slow and easy. I´m not joking, due to the extremely confined work area, and a lot of sharp stuff in the wrong places, it takes more time and more pain than you would imagine from the work description.

There is also a serious risk of wound infection, so when you inevitably do cut yourself, take time out to clean the wound properly and cover with band aid. If you do not understand the medical risks involved from even small wounds, do not attempt this DIY procedure, instead leave the job to a professional auto mechanic with proper BMW training and experience.

Parts needed:

1. Intake camshaft sensor BMW P/N 12 14 7 539 173

Image


(To the right is the new BMW part. It replaces 12 14 1 438 082 (to the left) which looks a bit different. If your car has the old part, don´t worry, the new part will fit although it looks as if it would not.)

2. Gasket 17x3 mm BMW P/N 12 14 1 748 398

3. Small quantity of engine oil for lubricating gasket.

Tools you will need:

Image


¼” square ratchet

¼” 10mm socket

¼” short extender

¼” sqare to ¼” hexagonal bit adapter

5mm allen bit

5mm allen key with long shaft

small ¼” hexagonal bit ratchet driver, such as Teng Tools 1400 B

¼” hexagonal to ¼” square adapter (to attach a socket to the hexagonal bit ratchet driver)

Stubby (very short) screwdriver with a wide flat blade

small mirror inspection tool with built-in lamp

Magnetic pick-up tool (for when you drop something)

1 pair of woman hands (glove size 6 or smaller)

Band-Aid (I used 4, and GF used 2 or 3, I think…)

You may also find a small magnetic tray useful for keeping all the small tools and hardware in place.

The procedure:

1. Make sure the engine is cold enough to be comfortable to work with. Leaving the car to cool down overnight is a good idea. Forget using gloves for this job. You will need all the tactile info you can get.

2. Remove the left-side passenger air duct clamp. There are three locking devices on the top. Then push the clamp down to release the underside from the passenger air filter.

Image


3. Twist the air duct upwards to release it from the bulkhead.

4. Remove the left-side passenger air filter locking clamp

Image


the air filter lid
Image


and the air filter bottom

Before removing the air filter bottom, pay close attention to how it fits to the surrounding plastic parts, and to the drain.
Image

Image

Image


5. Find the location of the bank 2 intake camshaft position sensor.

Image



The sensor is located near the rear end of the camshaft. The camshaft is most easily located by looking at the left-side Vanos unit. The intake camshaft is located at the center of the part of the vanos that is towards the center of the engine.

Then imagine a line going backwards to the other end of the engine. That is where the intake CPS is.

6. The intake CPS is behind a metal bracket.

Image

Image

Image



7. Look around the area with the mirror to familiarize yourself. Feel around the metal bracket to learn to navigate the area using touch only.

You need to spend enough time doing this to get a really good spatial and tactile understanding of the area.

8. Find the two 10mm hexagonal head screws holding the metal bracket. These screws also hold another metal bracket that is holding the fuel lines.

9. Loosen the screws using the abovementioned tools. You will need to assemble a 10mm socket and driver combination that fits between the engine and the coolant hoses.

10. Do not remove the screws until both screws are loosened. (If you can not loosen both screws, you will need to retighten the screws and let the pros have a go at the job)

11. Remove spark-plug cover. There are two 10mm nuts holding it in place. The nuts have a washer and a rubber gasket each. Those will often be stuck to the nuts, or may come apart.

Image


12. Once the 10mm nuts are removed, pull the spark-plug cover away from the engine as far as the tubing wil allow, then gently wriggle it forward-outward to remove it from the engine. No force is needed, just careful wriggling to ease it clear of the tubing and Vanos unit.

13. Look at the gasket that is located around the periphery of the spark-plug well, and look at the rubber boot that surrounds the spark-plug-coil-wires. You will need to get these in place later.

Image


14. Pull on the metal locking bracket for the cylinder 5 (the rearmost cylinder of bank 2) ignition coil connector. This will eject the connector into the rubber boot.

Image


15. Pull rubber boot upwards-outwards to release it from the spark-plug well.

16. Locate the plastic box at the rear of the engine into which the ignition cables run.

17. Remove knock sensor connector from the plastic box. (picture) This connector simply pulls out of its friction lock.

Image

Image


18. Use the mirror to locate the two metal posts protruding from the metal bracket. Take the stubby screwdriver with the wide flat blade and use it to carefully pry the plastic box loose from the metal posts of the bracket.

Image


Alternately pry near each of the posts until the plastic box comes loose.

19. Remove the (10mm head) screws you previously loosened.

20. Remove the metal bracket.

21. Remove the intake CPS connector. It has two locking tabs located vertically on the top and bottom of the connector. Push the tabs towards each other while pulling on the connector.

Image

Image


22. Use the allen key to loosen the screw holding the sensor.

Image


23. Use the bit racket to unscrew the screw.
Image


24. Twist on the sensor to loosen it. Then twist and pull to slowly remove it from the engine.

Image


25. There is a gasket around the sensor. The gasket may follow the sensor or it may remain in the engine. If it does not follow the sensor you will need to check with the mirror that it is properly in place.

If the gasket does not look OK you need to replace it. If so, remove the old gasket. Put a small amount of new engine oil onto the new gasket and put it onto the sensor.

Image

Image


26. Insert and twist new sensor in place.

27. Align hole (check with mirror) and insert and gently tighten the allen head screw.

Image


28. Attach connector to the CPS.
Image


29. Insert metal bracket. It goes between the bottom of the fuel line bracket and the engine.
Image


30. Insert one of the screws, and turn it a little into the engine.

31. Insert the other screw. Tighten both screws.

32. Align plastic box with the tabs protruding from the metal bracket. Use mirror to check alignment. Gently push box in place.

33. Insert the knock sensor connector.

34. Put the ignition coil connector in place.

35. Put the rubber boot in place.

36. Put the spark plug well gasket in place.

37. Put the spark plug well cover in place.

38. Put the nuts in place, and tighten.

39. Put the passenger compartment air filter in place. Put the lid in place.

Image

Image

Image

Image


40. Put the locking clamp in place.

Image


41. Put the bonnet (engine hood) switch connector in place.

Image


42. Put the passenger compartment air duct in place. This takes patience and gentle force. Too much of the latter and the plastic nabs that secure the air duct bayonet to the bulkhead will break.

Image


David
 

Attachments

#3 · (Edited)
WOW now THAT is an excellent write up - - great work, thank you for the effort...

It makes me want to run out and buy new sensors...

uh, but get someone else to change them - ha




...just noticed - - David, long time since we've seen you, glad to see you are up to your usual comprehensive, interesting, and expert information...:cheers:
 
#4 · (Edited)
Another good write-up..

Thanks David :cheers:

All in all, how long did it take you for this (Bank 2/cyl# 5-8) intake CPS job.

Based on the information I've read so far, the order of difficulties would be:

1. Bank 2 (cyl #5-8) intake CPS - water valve hoses in the way + metal bracket
2. Bank 1 (cyl #1-4) intake CPS - metal bracket in the way
3. Bank 2 (cyl #5-8) exhaust CPS - water vale hoses in the way
4. Bank 1 (cyl #1-4) exhaust CPS - nothing in the way

Regardz,

J Irwan
 
#5 ·
Thank you David. This document is done very well.
 
#6 ·
Thanks

Thanks David. :applause:I used your great write-up to tackle both the intake and exhaust CPS on bank 2 last Sunday. The SES light is now off and she's running great once again. :M5launch:

I ended up removing the center water hose to help with accessing the sensors. I'd also recommend plugging in the new sensors before inserting them into position.
 
#7 · (Edited)
Great writeup and short cut

Great write-up. I was able to do this with large hand and without taking off the spark plug cover. It does require some good finger dexterity. Also, for the one bracket bold that is hard to reach with a socket, I used a ratcheting wrench that had a slight angle on the head.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com<img src=" /><o:p></o:p>
<o:p></o:p>
Thanks again for documenting!<o:p></o:p>
 
#10 · (Edited)
What is this 3rd screw?

I needed to clean the intake sensor in bank 1 before replacing it. So while removing the metal bracket, I removed one screw by the intake sensor. Then I removed a second screw but it the metal bracket did not come out. Then I removed a 3rd screw which was shorter than the first two and the metal bracket came out. I'm guessing this 3rd screw is located by the outlet sensor.

First, I almost don't want to put back the metal bracket because it is a pain to get the screws back in. What is it for?

Second, what is the 3rd screw? I could have sworn I heard something light fall while I tried to reinstall the metal bracket. Oddly, nothing fell when I took out the screw. Again, this is bank 1 (US passenger side).
 

Attachments

#17 ·
Where is Bank 2 Again?

I needed to clean the intake sensor in bank 1 before replacing it... Again, this is bank 1 (US passenger side).
ok, I can't think straight right now and need a sanity check; US spec bank 2 is located on the driver side right? I need to replace the bank 2 inlet.

My interpretation of DavidS instruction is, bank 2 is US driver side. Then again, I believe I replaced bank 1 inlet CPS last year. But for some reason I remember myself messing around with the driver side. Thus my confusion :confused3.
 
#11 ·
3rd Bolt Possibly = Radiator Drain Plug

I was able to fix the CPS sensor by cleaning it. So far it's OK, but the light might come back - as it often comes and goes.

Also, as I tried to reinstall the metal bracket some kind of fluid started to spew. I thought I broke a fuel line while trying to reinstall the bracket. The 3rd screw appears to be part #22.

I started the car up and green radiator fluid leaked. I'm not sure I found the leak but I stuck my 13GB hard drive in there as a mirror to find the leak and I think it came from the plug where the 3rd screw came from. I screwed it back in and the leak seems to have stopped. Whew...I was a little worried for a second.

I don't think I will reinstall the metal bracket as it seem like a useless part meant to shield the CPS cables from harmless flying air particles. Also, I can't seem to find the part number on realoem.com, which is a pain.
 

Attachments

#14 ·
Oil on sensor and harness plug

My sensor just started acting up intermittenly and when I removed the plug from the sensor I can see oil on the male sensor terminals (3 terminals), as well as a small amount of oil on the female terminals in the plug. I assume this is the cause of the malfunction...has anyone else noticed oil on theirs?
 
#16 ·
Yep...it was a pain but he's right. Getting at it from underneath was the solution. Damn those 5mm hex head bolts..
 
#19 ·
Ok maybe I'm crazy, a little slow, or possibly both. But I'm confused. So far, based on the write ups,

I see people replacing the:

1) intake camshaft sensor (passenger side) - part # 1214753917
2) exhaust camshaft sensor (driver's side) - part # 13627796054

So according to the OEM parts website, I see 2 quantities for both sides so 4 total. However, in the DIY guides and in the diagram, I only see people replacing 1 on each side.

Am I missing something?

RealOEM.com   BMW E39 M5 Cylinder Head Attached Parts

Thanks and my apologies if this is a stupid question.
 
#21 ·
There are 2 intake and 2 exhaust -- each CPS sold separately. Those DIYs in the Guidepost sticky may give you a sense of how to do only one side, just like the valve cover gasket DIY does. Who is to know except for you whether you need/want to do both sides. It's certainly not a stupid question if you don't know the answer.
 
#25 ·
RealOEM does that to you every now and again. ;)
 
#28 ·
That's an awesome pic...thanks for sharing!
 
#30 ·
Great write up... Just wanted to add, as I'd reviewed many many posts with conflicting info in terms of parts and locations of parts etc... was it the inlet or out let? Look at BMW OEM diagrams now makes sense when you think your only looking at one of the cylinder heads - RealOEM.com - Online BMW Parts Catalog

I'd re-occuring P0345, fairly persistent!! I'd clear it the car would run ok, it'd reoccur and the car would run but would have lost it's mojo. Sometimes, it's have problems after a short run starting.. Anyway, Replaced the CPS under the bracket, what a pain!! Just removed the bracket and the CPS.. BMW Part # - 12147539173 (inlet camshaft position sensor). This is the one on the right hand side when you look at the car from the front - UK Model!! I believe this is the same for the US version as well. 10 quid off eBay - bargin! Nice - BMW 5 Series, Z8 Camshaft Position Sensor - Brand NEW | eBay

So far so good... Alignment of the bracket was a blood nightmare and took ages so take your time and don't drop anything!! A tip, put your bolt in the socket firmly with some paper towel so that it doesn't drop out of the socket!!
 
#31 ·
Did this today. Honestly didn't think it was too bad, although it did take me 4 hours start to finish since I did all 4 sensors. Couple of questions...

Did anyone else remove their original CPS to find there was no o-ring? My bank 1 exhaust sensor had no o-ring on it and it was the original sensor installed at the factory. It's possible it fell off while I removed the sensor but I looked all over for it afterwards and didn't find it. There was also a small amount of oil in the connector for that sensor, but no real oil leak (the sensor itself was sealed against the head and not leaking).

Also, what is this clip supposed to be attached to? Noticed it was not secured to anything while I was doing bank 2.

Image


Tips for anyone else doing this. As a few others have mentioned, it's easiest to remove the bracket bolts from below. An open ended ratcheting 10mm wrench is helpful. I found it easiest to attack each sensor as follows.

Bank 1 intake - unplug from above, r&r from below
Bank 1 exhaust - unplug and r&r from below
Bank 2 intake - unplug and r&r from above
Bank 2 exhaust - unplug and r&r from below

This tool was also very helpful for actually replacing the sensors, although a standard allen wrench will get the job done (at least for removal, the new screws are Torx). I found this on the shelf at Sears earlier in the week.

Image