Q: What Is an ECU and What Does It Do?

asked by on December 01, 2015

What is an ECU and what does it do?

The electronic control unit (ECU) used in today’s cars and trucks is used to control the engine and other components’ functions. An ECU is a computer with internal pre-programmed and programmable computer chips that is not much different from a home computer or laptop. The vehicle’s engine computer ECU is used to operate the engine by using input sensors and output components to control all engine functions.

The ECU needs inputs from vehicle sensors like the crankshaft sensor and camshaft sensors to compute the information using a program that has been stored in the ECU on a programmable memory chip. The ECU program will use the inputted sensor information to compute the needed output like the amount of fuel injected and when to spark the coil in order to start the engine.

There are different ECUs used for different systems on the vehicle. The different ECUs used can be for the transmission, traction control or ABS, AC, body functions and lighting control, engine, air bags, or any other system a vehicle may have. Some vehicles may incorporate more than one ECU into a single unit called a powertrain control module (PCM). These units can be an advantage by having more modules in one location but may be a disadvantage by adding longer wires to reach the component it operates.

Most newer vehicles have started using a communication line between different modules on a vehicle so they can share information and redundant sensors do not have to be used. For instance, a speed sensor at a wheel detects the wheel speed and will be an input to the anti-lock brake module (ABS) ECU. Instead of sending many wires from the one sensor to other ECUs, the ABS ECU will share the information on the network communication lines to all the ECUs that use the information, like a transmission for its shifting of gears, the speedometer to show the speed of the vehicle, or the suspension system to control the suspension as needed.

The use of sharing input sensors throughout the vehicle using only two data lines between ECUs has cut the amount of wiring used in the vehicles. Sharing information between modules also means they need a common language between them so they can operate as a group. When one computer goes down or does not share information due to an error, then it may affect other modules if they need the sensor input from the failed module.

The engine ECU in most vehicles is connected to the onboard diagnostic connector and will relay all diagnostic information on this line to all the other modules or ECUs. This reduces the amount of wire needed and you do not need to go to each ECU when wanting to test them.

The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details

Get an instant quote for your car

Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Fair and transparent pricing


Experienced Mechanic?

Earn up to $70/hr

What others are asking

My car is losing oil.
The first thing to have checked is if the engine has any oil leaks that could be the cause of the oil loss. The most likely problem is that the engine oil is being consumed in the engine and going...
How do I turn on the parking lights?
To turn on the parking lights, first locate the turn signal lever, which protrudes from the left side of the steering column. Then, turn the Light switch to the headlights position. This will turn on the parking lights, as well...
Intermittent heat, door motor moves hit and miss. I got anew motor, but this one does not move. I'm assuming there's no electricity to the door motor.
Hello, thanks for writing in. In order to access the heater switch in the dash you will have to disassemble the vehicle's dashboard and center console. Once the appropriate interior trim components are removed the switch can be accessed. I...
My 2007 Grand Caravan hard detonation problem
As you know, a misfire can be caused by many different reasons such as bad spark plugs (https://www.yourmechanic.com/services/spark-plugs-replacement), spark plug wires (https://www.yourmechanic.com/services/ignition-cable-spark-plug-wires-replacement), faulty fuel injectors (https://www.yourmechanic.com/services/fuel-injector-replacement), lack of voltage to fuel injectors, incorrect fuel pressure, an air intake leak and...
Car sputtering and dies
Hi There, It sounds like you may have a dirty or failing idle air control valve causing your engine idle to fluctuate and eventually stall. The idle air control valve (https://www.yourmechanic.com/services/idle-control-valve-replacement) is a small valve on the engine's intake system...
300,000 miles too much for a Cummins?
Hello there. Any mechanic that knows diesel engines would tell you that without inspecting the vehicle onsite, it's nearly impossible to give you an estimate on how long this engine would last. I've seen some Cummins diesel engines have difficulty...
Engine stalls under braking
What you are describing sounds like possibly a faulty MAP sensor as the vehicle responds adversely to a load put on the motor (i.e. putting it in gear, turning on AC or engaging the brakes). The Manifold Absolute Pressure (MAP)...
How much it cost to fix a electronic throttle control for a 2007 dodge charger
Hi there. In order to receive a price estimate to have one of our mobile mechanics come to your location and complete a throttle control replacement, please click this link to be directed to the service page (https://www.yourmechanic.com/services/throttle-controller-replacement). Once there,...

Related articles

How Long Does a Coolant Level Sensor Last?
The The coolant level sensor uses a moveable float device and a reed switch that senses when the radiator has low coolant. Once the sensor detects low coolant, the driver is alerted by a light illuminated on the dashboard. The...
How Long Does a Mass Airflow Sensor Last?
The The right amount of air and fuel in your engine is a vital component in keeping the engine running as it should. Making sure that all of the vital components of the air and fuel system are running at...
I Have No Idea What's Wrong With My Car - Where Do I Begin?
Any driver can use their senses to diagnose a car problem. Use your sense of smell, touch, and hearing to figure out what's causing the issue.