DTC P0340-Camshaft Position Sensor Circuit Malfuction - Diagnosis

1. Overview of a Computerized Engine Management System

For a computerized engine to operate efficiently, the ECU (Engine Control Unit) must be able to tell which cylinder is in the Compression Stroke and ignite a spark at the right time to such cylinder in order to produce maximum combustion. The ECU must also be able to tell which cylinder is in the Intake Stroke so as to be able inject fuel to such cylinder at the right time (and with the aid of other sensors, the right amount of fuel).

This is made possible through the combination of the Crankshaft Position Sensor (CKPS) and the Camshaft Position Sensor (CMPS). The CKPS monitors the angular position of the Crankshaft and sends signal to the ECU which enable it to determine the position of the piston in each cylinder. The CMPS, on the other hand, monitors the position of the Camshaft (or in effect, the position of the valves) and sends this information to the ECU. Through these two signals the ECU is able to tell which cylinder is in the Compression Stroke and which one is in the Intake Stroke. This is, of course, under the presumption that the timing marks of the Crankshaft and that of the Camshaft are properly set.

Fig. 1 shows typical waveforms from a magnetic CKPS and a hall CMPS on an engine with properly set timing marks. Note that the trigger signal from the CMPS occurs at a specific angle (around 48 degrees) before TDC. If the CMPS timing mark (or valve timing) is erroneously set too early or too late, DTC P0340 will be generated.

Another instance DTC P0340 is generated is when there is a problem in the CMPS Electronic Circuit itself. The CMPS Electronic Circuit consists of the Camshaft Position Sensor, wiring harness, and the ECU. The problem could be a defective CMPS, open or shorted wire, or defective ECU.

2. Symptoms of DTC P0340

The symptoms of DTC P0340 can include the following:

1) engine hard to start or won’t start at all

2) engine lacks power

3) misfiring or rough engine operation

3. Diagnosis

For ease of understanding, I categorize that part of the engine management system that monitors a particular subsystem of the engine as the Electronic Circuit, and that subsystem that is being monitored by the Electronic Circuit as the Mechanical Circuit.

The Camshaft Position Circuit is an electronic circuit consisting of the Camshaft Position Sensor, wiring harness, and the ECU (Engine Control Unit) or PCM (Power Control Module). It monitors a mechanical circuit (red zone in Fig.2) consisting of the Camshaft, Timing Chain and/or belt. Problems with the mechanical circuit and/or the electronic circuit can cause a DTC P0340. A related trouble code DTC P0341 (Camshaft Position Circuit Range/Performance) may also be reported. Two other related trouble codes may also be reported, but they are usually caused by problems in the electronic circuit only. These are DTC P0341 (Camshaft Position Circuit Low) and DTC P0342 (Camshaft Positon Circuit High).

3.1 The Electronic Circuit (Camshaft Position Sensor Circuit)

The Camshaft Position Sensor used in Kia Rio 2010 is the hall-effect type. It is mounted at the end of the Intake Camshaft (See Fig. 2). When the Camshaft Timing pin comes close to the sensor head, the voltage at the signal wire drops to zero. It rises back to 12 volts when the pin leaves the sensor head. The Camshaft Position Sensor sends this signal to the PCM via the signal wire in the wiring harness (See Fig. 3).

Using the signals of the Crankshaft Position Sensor and that of the Camshaft Position Sensor the ECU can tell which piston is in the Power Stroke and which one is in the Intake Stroke. In conjunction with the signals from other sensors like the MAP Sensor, Throttle Position Sensor, Engine Coolant Temperature Sensor it knows exactly when to ignite a spark and when to inject the right amount of fuel to the right cylinders.

3.2 The Mechanical Circuit

The Cam Mechanical Circuit spans from the Intake Camshaft, to the Camshaft Timing Chain, to the Exhaust Camshaft, to the Camshaft Sprocket. This is inside the red zone in Fig. 2. The Crank Mechanical Circuit (blue zone) spans from the Crankshaft Position Sensor, to the Crankshaft, the Timing Belt, and to the Camshaft Sprocket.

3.3 Diagnosis Chart

Fig. 4 shows a Diagnosis Chart you can use to resolve DTC P0340 problem. Inside each box is a diagnostic procedure which is described in the following paragraphs under the same title. Just follow the flow of the chart, performing the procedures that need to be done.

3.3.1 Visual Inspection

Things to remember when conducting a visual inspection:

1. Check if the Camshaft-Position-Sensor connector is fully inserted into the sensor.

2. Check the wiring harness for possible damage (broken or shorted wires).

3. The wiring harness should be routed away from the high-tension cable to prevent interference.

3.3.2 Functionality Test

This procedure will determine if the Camshaft Position Sensor is able to send signal to the ECU. This is done by measuring the voltage across the signal and ground wires of the sensor. Follow these steps in sequence:

  1. Make sure the ignition switch is off.

  2. Locate the Signal and Ground wires. In Kia Rio, these wires are as shown in Fig. 5.

  3. Set your DVM (digital voltmeter) to 'DC voltage measurement' function and connect the positive probe to the Signal wire and the negative prove to the Ground wire.

  4. Turn on the ignition switch. Most of the time the DVM reading should be around 12-volts.

  5. Manually turn the Crankshaft clockwise and observe the DVM reading. Every other time that the Crankshaft approaches the TDC mark (top dead center), the DVM reading should drop from 12-volts to 0-volt. This is the time when the Camshaft Timing Pin is opposite the Camshaft Position Sensor head. As you continue to rotate the Crankshaft, the DVM reading should rise back to 12-volts as the Timing Pin moves past the Sensor head (See Fig. 3). Turn the ignition switch off.

    If the DVM readings are as described above, the Camshaft Electronic Circuit is functioning.

3.3.3 Mechanical Circuit Inspection

Check the ignition timing and the valve timing. Make sure that the timing marks are properly aligned. In my Kia Rio the timing marks are as shown in Fig. 6

3.3.4 Voltage Test

The purpose of this test is to check the condition of the wire harness.

In this case it could be possible that the power supply to the Camshaft Position Sensor is out, maybe because of a broken wire. Follow the following steps.

  1. Make sure the ignition is turned off.
  2. Pull out the sensor connector. WARNING! – Always hold the connector shroud when pulling the connector out, do not grab the wire harness. You may break the wires.
  3. Turn on the ignition switch.
  4. Measure the voltage at the terminals to ground. The voltages should be as follows: Power terminal = 12-volts; Signal terminal = 12-volts; Ground terminal = 0-volt. WARNING! - Never short the Power terminal to ground, this could damage your ECU.
  5. Turn off the ignition switch.

If the voltages are as specified, replace the Camshaft Position Sensor with a known good sensor and test. Otherwise, check the condition of the wire harness.

3.3.5 Continuity and Short Test

The purpose of this test is to check the condition of the wires connected to the sensor. Refer to Fig. 7 and do the following procedure.

  1. Make sure the ignition is off

  2. Disconnect the negative terminal of the battery

  3. Disconnect the connector at the ECU

  4. Pull out main relay

  5. Check the continuity of the wires connecting points 1 and 4, 2 and 41, 3 and 48. See Fig. 7. If there is a broken wire, fix it.

  6. Check also the resistance between terminals 1 and 2, 2 and 3, and 1 and 3. The resistances should be infinity, if not, the wires are shorted.

Replacing the ECU

Always disconnect the negative terminal of the battery when replacing the ECU. Power glitch could damage the ECU. Furthermore, never touch the pins of the ECU connector. ESD (electrostatic discharge) could flow from your fingers to the pins, down to the internal circuitry of the ECU. This can cause serious damage to the ECU.

4. Summary

By following the procedures in the Diagnosis Chart (Fig. 4), hopefully you should be able to solve problems related to DTC P0340. Just remember that problems could lie in the monitoring system (in this case the Camshaft Position Sensor Circuit) or in the system being monitored (the Camshaft Mechanical Circuit).

More by this Author

No comments yet.

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.

    Click to Rate This Article