🎁 New account: buy your first 10 credits, get 10 more free.Avg. 25–45 min turnaround · Files written on your original readCreate free account

Every sensor reading, injection pulse and map value in an engine ECU depends on one thing that is easy to forget: clean, stable power. When the supply, the grounds or the internal sensor references go wrong, the ECU can show a strange mix of fault codes, refuse to start the engine or stop responding to a diagnostic or tuning tool. This article explains how an ECU is powered, what the main relay and the 5 V sensor references do, and how this knowledge helps with diagnosis and safe ECU reading and writing on cars, trucks, tractors and motorcycles.

Simplified diagram of ECU power supply: battery KL30, ignition KL15 or CAN wake-up, ECU-controlled main relay, separate fuses, power and sensor grounds, and after-run behaviour after key-off
ECU power supply and main relay layout (original diagram)

Permanent supply, switched supply and wake-up

Most automotive wiring uses the DIN terminal names. KL30 is permanent battery positive, KL15 is the ignition-switched feed, KL31 is ground and KL87 is the output of a relay. A typical engine ECU has a small permanent feed from KL30, so it can keep some memory alive and react to a wake-up, and one or more main supply pins that carry the working current.

The ECU wakes up when it sees KL15, or on many newer vehicles when a wake-up message or signal arrives over the network. It then switches on the main relay, and the relay output feeds the ECU’s main supply pins and often the injectors, coils, sensors and other actuators through separate fuses. On cars the system runs on 12 V, while most heavy trucks and many large tractors use 24 V, so the ECU, relays and tools must match the vehicle.

Why the ECU controls its own main relay

When the key is turned off, many ECUs do not switch off immediately. They keep the main relay energised for a period called after-run. During this time the ECU can save adaptation values and fault memory, run the cooling fan, move the throttle or flaps through a self-test and close down in an ordered way. Only then does it release the relay and go to sleep.

This is why disconnecting the battery, or opening a truck battery isolator, straight after key-off is a bad habit. The ECU may lose learned values and log a code such as P2610. On trucks and agricultural machines with a battery master switch, follow the maker’s instruction about how long to wait before switching it off.

Many smaller motorcycles do not use an ECU-controlled main relay. Power comes through the key switch, the engine stop switch and sometimes the side-stand and clutch circuits, so a fault in those switches can look like a dead ECU.

Grounds: power and signal

An ECU usually has several ground pins. Power grounds carry the large currents from injector, coil and actuator drivers. Sensor grounds are separate returns that run back into the ECU, so the sensor signal is measured against a clean reference instead of the engine block, which may have a few tenths of a volt of noise on it. A loose or corroded engine ground strap can therefore cause effects that look like sensor faults, misfires or communication errors.

The 5 V sensor reference circuits

Most pressure and position sensors, such as MAP, rail pressure, throttle and pedal sensors, need a stable supply to produce a ratiometric signal. The ECU produces regulated 5 V reference supplies internally. These are protected against short circuits and monitored by the ECU, and they are usually labelled “A”, “B” and “C” in fault code descriptions.

Concept diagram of a shared 5 V sensor reference feeding MAP, rail pressure and pedal sensors, showing how one shorted sensor pulls the reference down and causes several codes
Shared 5 V sensor reference concept (original diagram)

The important detail for diagnosis is that one reference often feeds several sensors. If one sensor develops an internal short, or a chafed wire touches ground, the whole reference is pulled down. Suddenly the MAP, rail pressure and one pedal track all read wrong at the same moment, and the ECU stores a reference voltage code plus a list of plausibility codes. Safety-related sensors with two tracks, like the accelerator pedal, normally take their two tracks from different references, so a single fault does not remove both.

Diagnosing supply and reference faults

When several unrelated sensors fail together, think about what they share before replacing parts. A good order is:

  1. Read codes in all modules and note which sensors fail together.
  2. Check the battery and charging system at rest, while cranking and while running.
  3. Check the fuses and the main relay, then measure the relay output at the ECU connector.
  4. Do a voltage drop test on supply and ground circuits under load. A meter reading at rest can look perfect on a circuit that collapses when current flows.
  5. Measure the 5 V reference at a sensor connector. If it is low, unplug the sensors on that circuit one at a time. When the voltage returns, you have found the sensor or the branch with the short.
  6. Inspect connectors and harnesses for water, corrosion, chafing and badly made add-on wiring.

Back-probe connectors carefully and avoid piercing the insulation, because pierced wires let moisture in and cause a new fault later.

Seven-step check order for ECU supply and sensor reference faults, from reading codes and testing the battery to main relay checks, voltage drop tests, 5 V reference measurement and stable power for flashing
ECU supply fault check order (original diagram)

Why power matters for ECU reading and writing

Reading or writing an ECU can take several minutes, and the ECU and tool both need stable voltage the whole time. A tired battery, a battery charger that is not suitable for flashing, or a loose clamp can let the voltage drop in the middle of a write. That is one of the most common reasons for a failed ECU write. Connect a stable power supply designed for programming, switch off unnecessary consumers and make a full backup before any write. On the bench, supply the ECU exactly as the tool’s wiring diagram shows, including any wake-up or main relay pins.

Supply problems also explain why an ECU sometimes “does not respond” to a tool even though nothing is wrong with the calibration. Check power, ground and wake-up first, then the communication lines.

Related fault codes (DTCs)

The generic codes below are the ones most often linked to ECU supply, relay and reference problems. Trucks and agricultural machines on J1939 report similar faults with SPN and FMI numbers instead.

CodeMeaningTypical causes
P0560System voltage malfunctionWeak or failing battery, charging fault, poor battery terminals, high resistance in the ECU supply wiring
P0562System voltage lowDischarged battery, alternator not charging, corroded supply or ground connections, voltage drop on a fuse or relay contact
P0563System voltage highFaulty voltage regulator, wrong charger or jump-start voltage, poor ground causing false high readings
P0641Sensor reference voltage “A” circuit/openA sensor or wire shorting the shared 5 V reference, water in a connector, damaged harness, internal ECU fault
P0651Sensor reference voltage “B” circuit/openSame as above on the second reference circuit; often stored with pedal, pressure or position sensor codes
P0697Sensor reference voltage “C” circuit/openSame as above on the third reference circuit; find which sensors share it in the wiring diagram
P0685ECM/PCM power relay control circuit/openOpen relay coil or control wire, missing relay, corroded relay socket, ECU driver fault
P0686ECM/PCM power relay control circuit lowControl wire shorted to ground, faulty relay coil
P0687ECM/PCM power relay control circuit highControl wire shorted to battery voltage, wrong relay fitted, relay coil fault
P0688ECM/PCM power relay sense circuit/openRelay contacts burnt, blown fuse after the relay, open wire from relay output to the ECU
P2610ECM/PCM internal engine off timer performanceECU powered down too early (battery disconnected or isolator switched off during after-run), supply interruptions, internal ECU fault
U0100Lost communication with ECM/PCM “A”Engine ECU without power or ground, blown fuse, main relay fault, CAN wiring problem

Generic SAE meanings shown. Manufacturer-specific codes and test values vary, so check the service data for your vehicle.

Have a clean original read from a car, truck, tractor or bike? Upload it to the tuning file service at ECUFileMarket for a file built for your exact ECU software.

Leave a Reply

Your email address will not be published. Required fields are marked *

⚡ New Free Workshop Resource: Hybrid & EV Powertrain Engineering & ECU Diagnostics Training (8 Free PDF Manuals) →