What is an engine control unit (ECU) in a car?

Car ECU Meaning

The abbreviation ECU is widely used to refer to an engine control unit in a car. Although ECU can also be used to represent any electronic control unit.

You might also find that people refer to the control module that manages a car’s engine as an ECM, for engine control module. This is particularly common outside of the UK, particularly in parts of North America.

If a car has a control module responsible for managing both the engine and the transmission system, this is typically referred to as a powertrain control module (PCM). For the purposes of this article, we will discuss the ECU as an engine control unit.

In short, an engine control unit (ECU) in a car can be defined as the electronic module responsible for overseeing all aspects of the engine’s operation. Its main purpose is to keep the engine running efficiently and reliably. The ECU must also work in tandem with the majority of the various other electrical systems found in a car to deliver smooth and seamless operation.

Car ECU explained: What does it do?

Fundamentally, the engine ECU controls the injection of the fuel, and in petrol engines, the timing of the spark to ignite it. The ECU determines the position and speed of the crankshaft using a crankshaft position sensor, allowing for precisely timed fuel injection and ignition. Although this function was something that was controlled mechanically, modern engines now require much more precise and adaptable control.

An internal combustion engine can be thought of as a large air pump that’s powered by burning fuel. As air is drawn in, a sufficient amount of fuel has to be added to it in order to generate enough power to sustain the engine’s operation. This combination of air and fuel is typically called a ‘mixture’ and the amount of mixture determines how much power the engine is able to produce.

Not only is the amount of mixture important, but the ratio of that mixture has to be correct. A rich mixture (too much fuel or too little oxygen), and the combustion is dirty and wasteful. A lean mixture (too little fuel or too much oxygen) makes the combustion slow and weak.

Engines used to have the quantity and ratio of the mixture controlled by a mechanical metering device called a carburettor. A carburettor used the engine’s airflow to draw fuel through calibrated jets before mixing it with incoming air. However, with modern vehicle demands geared towards better fuel efficiency and lower emissions, the mixture must be more tightly controlled.

The most effective way to meet these strict requirements is to hand over control of the engine to an ECU, the engine control unit. The ECU has the capability of controlling fuel injection, ignition and ancillaries of the engine using digitally stored equations and numeric tables, rather than by analogue means.

Car ECU MeaningCar ECU Meaning

Car ECU explained: How does it work?

An ECU is often referred to as the ‘brain’ of the engine. It is essentially a computer, a switching system and power management system in a very small case. To perform even on a basic level, the ECU’s operation can be divided into four areas.

Input
This typically includes temperature and pressure sensors, on/off signals and data from other modules within the vehicle and it’s how an ECU collects the information it needs to make decisions.

An example of an input is a coolant temperature sensor, or an accelerator pedal position sensor. Requests from other control modules may also be considered, such as from the ABS module for the application of traction control.

Processing
Once data has been collected by the ECU, the processor must determine output specifications, such as fuel injector pulse width, as directed by the software stored within the unit.

The processor not only reads the software to decide the appropriate output, it also records its own information, such as learned adaptations and other operating data.

Output
The ECU then performs an engine-related action based on the data it has just processed by outputting an electrical signal. This could involve controlling the fuel injector pulse width, exact timing of the ignition system, opening of an electronic throttle body or the activation of a radiator cooling fan.

Power management
The ECU has many internal power requirements for its hundreds of internal components to function correctly. In addition, for many sensors and actuators to work, the correct voltage has to be supplied to them, either directly from the ECU or via ECU-controlled electrical switching. The amount of voltage supplied by the ECU varies greatly, for example some sensor circuits will be supplied 5 volts, while some fuel injector circuits can be supplied over 200 volts.

This makes thermal management another key consideration in car engine ECU design, as some of its outputs can be required to handle more than 30 amps.

 

Car ECU explained: What happens inside?

The first stage of ECU operation is in fact power management. This is where the ECU’s various internal voltages are generated and regulated, and its power-up sequence is managed. Most ECUs require sophisticated power management because of the varied electrical requirements of the components they support. For example, some ECUs are required to generate or regulate 1.8V, 2.6V, 3.3V, 5V, 30V and even 250V in some cases, all from the car’s 10-15V supply. The power management system also allows the ECU to have full control over when it powers itself down, i.e. not necessarily when you turn off the ignition switch.

Once the correct voltages are supplied, the ECU’s microprocessors begin to boot up. The main processor reads software in memory and performs a series of self-checks. It then reads data from numerous engine-related sensors and converts their signals into useful information. This is usually then shared over the CAN bus (one of your car’s internal communication networks) with other electronic control modules. 

Once the main microprocessor has interpreted this information, it utilises numeric tables, algorithms and formulae within the software to determine the required response and activate the appropriate outputs.

For example, if the crankshaft and camshaft position sensors indicate the engine is about to reach maximum compression on a cylinder, the ECU then controls a transistor for the relevant ignition coil. The aforementioned formula and tables stored within the ECU allow it to understand that the activation of this transistor needs to be delayed or brought forward based on readings from other engine-related sensors (such as for throttle position, coolant temperature, air temperature, EGR operation, and lambda feedback).

In many ECU designs, the operation of the main processor inside the ECU and the activation of many safety-critical outputs is overseen by a monitoring microprocessor. This is essentially a second computer that makes sure the main computer is operating correctly. If the monitoring microprocessor detects an issue, it can reset the system, disable particular outputs or put the ECU into a fail-safe state.

 

Car ECU explained: Precise fuel management

The car’s ECU has to account for many variables when deciding how much fuel the engine requires and at what ratio of air to fuel – just some of these variables include:

  • Engine demand
  • Engine/coolant temperature
  • Air temperature
  • Fuel temperature
  • Fuel quality
  • Varying filter restriction
  • Air pressure
  • Engine pumping efficiency

Many of these variables are measured by various sensors, which the ECU processes in order to continuously adapt fuelling, ignition and other aspects of engine performance to suit ever-changing conditions.  

For example, an increase in engine demand, such as while accelerating, requires an increase in the quantity of mixture. This can also prompt a change in the ratio of the mixture. As the accelerator pedal is depressed, the throttle body opens to allow the engine to intake a greater amount of air. This change in airflow is often measured by the MAF (mass airflow) sensor and relayed to the car’s ECU so it can adapt fuel injection accordingly. Some vehicles utilise a MAP (manifold absolute pressure) sensor instead or in addition to a MAF sensor. 

As well as calculating fuelling based on engine load, the car’s ECU must also consider temperature. Petrol is injected as a liquid but it must vaporise sufficiently to mix with the air and burn efficiently. In a hot engine, this is easy to manage. In a cold engine, fuel vaporises less readily and so the ECU may command the delivery of additional fuel during starting and warm-up to ensure a combustible mixture reaches the cylinders.

Before cars were fitted with an engine ECU, this function was managed by a ‘choke’ on the carburettor. The choke was designed to restrict airflow into the carburettor, increasing the vacuum and creating a richer mixture. However, this method was often inaccurate, problematic and required regular adjustment.

 

Car ECU explained: Perfecting combustion

Since a car’s engine spends most of its time at part throttle, the ECU concentrates on maximum efficiency in this area. The ideal mixture, where all particles of air and fuel are used in combustion, is 14.7 parts air to 1 part of fuel. This ratio is known as ‘stoichiometric’, or sometimes as ‘Lambda’. This is because a stoichiometric mixture has a lambda (λ) value of 1.0. 

In order for the car’s engine ECU to monitor the strength of the mixture, it relies on an exhaust gas oxygen sensor (sometimes referred to as a lambda, O2, oxygen or HEGO sensor). This sensor measures the amount of oxygen left over after combustion, which allows the engine ECU to understand how close the mixture is to lambda 1.0 (a stoichiometric mix). 

This measurement enables the ECU to constantly adjust fuel injection in order to keep the mixture as close as possible to lambda 1.0. This is known as ‘closed-loop’ operation, and is a major contribution to the advanced efficiency that comes from using engine ECUs.

As a result of strict modern emissions regulations, there are now many engine features designed to help reduce fuel consumption and harmful emissions. Some of these include:

  • Exhaust gas recirculation (EGR)
  • Catalytic converter
  • Exhaust air injection reaction (AIR)
  • Diesel particulate filters (DPF)
  • Fuel stratification
  • Exhaust additive injection (such as AdBlue)
  • Evaporative emissions control (EVAP)
  • Turbocharging and supercharging
  • Hybrid powertrain systems
  • Variable valvetrain control (such as VTEC or MultiAir)
  • Variable intake control

Many of these systems interact closely with engine operation and are typically controlled wholly or partly by the car’s ECU. 

 

Car ECU explained: Further roles of the engine control module

Electronic Throttle Control
Until the 1980s, throttle and accelerator control was mostly managed with a cable from the pedal to the carburettor. The idle speed was set by simply adjusting a screw to keep the throttle flap open slightly until the engine idled correctly. This simple method required regular adjustments and was prone to deviation when an engine was cold, or as various parts wore out.

With the mainstream introduction of ECUs, electronic idle air control valves were introduced which solved many of these issues. This gave the ECU control over airflow at idle, while the main throttle opening was still mechanically controlled by the accelerator pedal.

The introduction of electronic throttle control took the ECU’s command over engine operation a step further. This removed the need for a separate idle air control valve, allowing the ECU to dictate engine airflow under different operating conditions.

An important advantage of electronic throttle control is that the accelerator pedal position no longer has to correspond directly with a particular throttle angle. While the pedal’s position represents the driver’s request for engine torque, the ECU is able to calculate the appropriate throttle angle while also considering other variables such as fuelling and ignition timing. This allows the ECU to coordinate airflow with other aspects of engine operation, helping to improve efficiency and overall driveability. 

Adaptations
Modern vehicles are built to much tighter tolerances than those of the past, however they are still susceptible to manufacturing variation, component wear and changing operating conditions. Therefore, an important role of your car’s engine ECU is to learn and store adaptations that allow it to make slight adjustments to engine operation and achieve greater efficiency.

For example, during closed-loop operation the ECU might repeatedly need to make small alterations to the amount of fuel being injected in order to achieve the desired air to fuel ratio. Rather than having to relearn these unique parameters from scratch every time the engine is started, the ECU stores learned correction values for use during future operation.

These adaptations allow the ECU to compensate for gradual changes to the engine and its components over time. This contributes to improved efficiency, fuel economy and overall driving experience.

 

Car ECU explained: How are faults detected?

The complexity of implementing all of this control requires the ECU to possess extensive self-diagnostic capabilities. The ECU continuously monitors many of its inputs and outputs to ensure they’re within expected tolerance ranges which are set out in its software. If a monitored value falls outside of its expected parameters for a predetermined period of time, a fault is registered and a DTC (diagnostic trouble code) is stored.

Depending on the logged fault, the ECU may continue operating normally or disable certain functions in order to mitigate damage. This is often when an ECU fault becomes apparent to the driver, as vehicle performance is restricted (such as entering limp mode) and dashboard warning lights are often illuminated. 

In this case, one of the first diagnostic steps to take is to scan the car’s ECU with a compatible diagnostic tool. This allows you to access any DTC stored in the control module’s memory, provided diagnostic communication is still possible. In modern control modules, DTCs typically begin with one of four alphanumeric characters: B (Body), C (Chassis), P (Powertrain), or a U (Network).

In addition to accessing stored fault codes, technicians can also observe live data from the ECU while the vehicle is operating. This allows individual sensor readings to be accessed, making it easier to determine whether the root cause of the fault stems from a sensor, the wiring, a control module or an underlying mechanical problem.

 

How to diagnose a faulty ECU with no communications:

Dreaded P0606 fault code - is it really caused by your ECU?

 

The evolution of the car ECU

1970s

Electronic engine control began appearing in vehicles throughout the 1970s with limited and varied functionality. Some ECUs started by simply controlling a couple of solenoids on carburettors to alter the air-fuel mixture at idle.

1980s

As electronic fuel injection became more widespread and sophisticated, the ECU began being used more heavily in fuel and ignition management of petrol engines. Closed-loop operation became increasingly sophisticated, paving the way for a new era of engine efficiency.

1990s

The ECU became more integrated with other vehicle systems, such as throttle control and vehicle security. Electronic engine management also became increasingly widespread on diesel engines, contributing to the success of turbodiesel engines of the next couple of decades.

2000s

Drive-by-wire throttle and turbocharger control via the ECU became commonplace in new cars. As did various emission control systems such as particulate filter regeneration and EGR advancements. 

2010s and beyond

Modern car ECUs now have extensive control over fuel injection, engine airflow, emissions systems and general engine performance. They’re now as sophisticated as ever and can have hundreds of individual inputs and outputs. 

Nowadays, the engine ECU is one of many interconnected electronic control modules found on a car. Each of which maintains regular communication with one another via the vehicle’s CAN bus.