A crankshaft position sensor tells the engine control unit where the crankshaft is in its rotation and how quickly it is turning. The ECU uses this information to coordinate important engine-management functions, particularly fuel injection.
So, how do crankshaft sensors work? The sensor monitors a rotating reference or trigger wheel connected to the crankshaft. As the wheel passes the sensor, changes in a magnetic field are converted into an electrical signal. The engine control unit interprets the signal to calculate crankshaft position and engine speed.
If that signal becomes inaccurate or disappears, a diesel engine may become difficult to start, run poorly, lose power or fail to start altogether.
What Is a Crankshaft Position Sensor?
The crankshaft position sensor, often abbreviated as the CKP sensor, is an electronic engine-management sensor.
Its job is to monitor two important pieces of information:
- crankshaft position — where the crankshaft is within its rotation; and
- crankshaft speed — how quickly it is rotating, normally expressed as revolutions per minute or RPM.
The crankshaft itself converts the pistons’ up-and-down movement into rotational force. You can learn more about this relationship in our guide explaining how a truck engine works.
Knowing the precise crankshaft position helps the ECU determine what is happening inside each cylinder during the engine cycle.
How Does a Crankshaft Position Sensor Work?
A crankshaft sensor normally operates together with a reluctor wheel, trigger wheel or another patterned rotating reference connected to the crankshaft, pulley or flywheel.
The wheel contains teeth, slots or magnetic targets.
As the crankshaft rotates, these features pass close to the sensor. The changing pattern creates an electrical signal that corresponds with crankshaft movement.
The ECU reads that repeating signal and calculates:
- how fast the crankshaft is rotating;
- its rotational position; and
- the position of the pistons relative to the engine cycle.
Many trigger wheels also contain a distinctive reference feature, such as a missing tooth. This gives the ECU a known reference point rather than simply a sequence of identical pulses.
Combined with information from other engine sensors, the ECU can then manage fuel delivery accurately.
What Does the ECU Use the Crankshaft Sensor Signal For?
The crankshaft position signal is fundamental to electronic engine management.
Depending on the engine design, the ECU can use it when controlling or calculating:
- fuel injection timing;
- engine speed;
- injection sequence;
- starting strategy;
- engine misfire monitoring;
- engine synchronisation; and
- other timing-dependent functions.
On a diesel engine, accurate injection timing is particularly important because diesel combustion depends on fuel being injected into highly compressed, hot air at the appropriate point in the cycle.
A missing crankshaft signal can therefore prevent the ECU from determining when fuel should be injected.
What Are the Main Types of Crankshaft Sensors?
Two common crankshaft position sensor technologies are inductive sensors and Hall effect sensors.
Although both measure crankshaft movement, they generate their signals differently.
Inductive Crankshaft Sensors
An inductive sensor, sometimes called a variable-reluctance sensor, contains a permanent magnet and coil.
As the teeth of a ferromagnetic trigger wheel pass the sensor tip, they alter the magnetic field. The changing magnetic field induces an alternating voltage in the sensor coil.
The ECU interprets the resulting waveform to determine crankshaft movement.
Signal voltage generally changes with rotational speed. At very low speeds, such as during engine cranking, the signal is weaker than when the engine is running at higher RPM.
Inductive sensors commonly have two signal connections, although designs can vary and shielding may introduce additional wiring.
Hall Effect Crankshaft Sensors
A Hall effect sensor uses electronics to detect changes in a magnetic field as the trigger wheel or magnetic target passes the sensor.
Unlike a basic inductive sensor, it requires an electrical power supply.
Its electronic circuitry produces a defined switching signal that the ECU can interpret as the crankshaft rotates.
Hall effect sensors commonly use three connections for:
- power supply;
- ground; and
- signal.
However, connector pin count alone should never be used to identify a sensor. Vehicle specifications and wiring diagrams should be checked.
Crankshaft Sensor vs Camshaft Sensor: What Is the Difference?
Crankshaft and camshaft position sensors perform related but different jobs.
The crankshaft sensor primarily identifies crankshaft rotational speed and position.
The camshaft position sensor monitors camshaft position, helping the ECU identify which cylinder is at a particular stage of the four-stroke cycle.
Together, these signals can provide the ECU with accurate engine synchronisation information.
Because crankshaft and camshaft sensor symptoms sometimes overlap, technicians should diagnose the signal rather than assume which sensor has failed.
What Are the Symptoms of a Bad Crankshaft Sensor?
A failing crankshaft position sensor can produce several symptoms depending on the engine-management strategy and whether the signal is intermittent or completely absent.
Common symptoms include:
- engine cranks but does not start;
- intermittent starting problems;
- unexpected engine stalling;
- rough running;
- engine misfires;
- reduced engine performance;
- uneven acceleration;
- engine warning light;
- incorrect or missing RPM information during cranking; and
- diagnostic trouble codes relating to crankshaft position or synchronisation.
A complete loss of crankshaft position information can prevent some engines from starting because the ECU no longer has the information required to coordinate fuel injection.
However, these symptoms are not exclusive to the crankshaft sensor.
Fuel-system faults, wiring problems, low compression and other truck engine parts can produce similar behaviour.
What Causes a Crankshaft Sensor to Fail?
The sensor itself is only one possible source of a crankshaft signal problem.
Common causes include:
Heat and Age
Crankshaft sensors operate in a harsh environment where repeated heating and cooling can eventually damage internal electronics or insulation.
Wiring or Connector Damage
Broken wires, loose terminals, corrosion and damaged connectors can interrupt the sensor signal even if the sensor itself remains functional.
Physical Damage
Incorrect installation, contact with nearby components or damage to the sensor tip can affect operation.
Trigger Wheel Problems
A damaged, contaminated, loose or incorrectly positioned reluctor wheel can generate an abnormal signal.
Incorrect Sensor Gap
Some designs require a specified distance between the sensor and trigger wheel. Incorrect positioning can weaken or distort the signal.
Good diesel engine maintenance should therefore include attention to electrical connectors, wiring and developing engine faults rather than focusing only on oil and filters.
How Is a Crankshaft Position Sensor Tested?
A diagnostic scan should usually be the starting point when a crankshaft sensor problem is suspected.
A technician may check:
- stored diagnostic trouble codes;
- engine RPM while cranking;
- sensor power and ground where applicable;
- wiring continuity;
- connector condition;
- resistance where appropriate for the sensor type;
- sensor-to-trigger-wheel clearance; and
- the actual sensor waveform.
An oscilloscope is particularly useful because it allows the technician to view the electrical waveform generated while the crankshaft rotates.
Inductive and Hall effect sensors produce different types of signals, so the correct testing procedure must be used.
Simply replacing a sensor because a crankshaft-related fault code is present can result in an unnecessary repair if the real problem is damaged wiring or the trigger wheel.
Can a Truck Run With a Bad Crankshaft Sensor?
Possibly, but it depends on how the sensor fails and how the engine management system is designed.
An intermittent signal may initially cause occasional hesitation, stalling or starting difficulties. A completely missing crankshaft position signal may prevent the engine from starting at all.
A commercial vehicle with recurring stalling or crankshaft sensor faults should therefore be inspected promptly. Unexpected engine shutdown creates both operational downtime and potential safety concerns.
Replacing a Crankshaft Position Sensor
Once testing confirms sensor failure, replacement is usually more straightforward than repairing the sensor itself.
However, the correct replacement part must match the engine application.
Check information such as:
- vehicle make and model;
- engine model;
- OE part number;
- electrical connector;
- sensor technology;
- mounting arrangement; and
- manufacturer application data.
Technicians should also inspect the connector, wiring and trigger wheel before fitting the new component. Replacing the sensor without correcting an underlying wiring or mechanical problem may leave the original fault unresolved.
Crankshaft Sensors Provide Essential Engine Position Data
The crankshaft position sensor is a relatively small component with an important role in modern diesel engine management.
By monitoring crankshaft position and rotational speed, it provides the ECU with information required to coordinate fuel injection and other engine functions. Hall effect and inductive sensors achieve this using different electrical principles, but both ultimately provide the ECU with a representation of crankshaft movement.
When a truck develops intermittent starting, stalling, misfires or a no-start condition, the crankshaft sensor is one possible cause—but diagnosis should also include its wiring, connector and trigger wheel.
For related sensors, control modules and other truck electrical components, see our electrical-system guide.
If you need help identifying a crankshaft position sensor or related engine component, contact our sales team with the vehicle model, engine details or OE part number.
You can also visit commercial vehicle spare parts to explore replacement parts available online.

