MEG 405 · Principles of Automotive Engineering
Our notes
3 min readThe engine control unit (ECU)
A small computer (microcontroller) that reads sensors, compares them with stored data and drives actuators many times a second. It replaced mechanical and vacuum controls from the 1980s and is now essential to meet emission and economy standards.
Inside
Microprocessor, memory (programme and calibration maps), analogue-to-digital converters for sensor signals, driver circuits for injectors, coils and motors, and communication (the CAN bus linking the ECU to other units: gearbox, ABS, dashboard).
Sensors (inputs)
| Sensor | Measures |
|---|---|
| Crankshaft position (inductive or Hall) | speed and piston position |
| Camshaft position | which stroke a cylinder is on |
| Mass air flow / manifold pressure | engine load (air) |
| Throttle position (or accelerator pedal) | driver demand |
| Coolant and intake air temperature | warm-up and density corrections |
| Oxygen (lambda) sensor | mixture (closed loop) |
| Knock sensor (piezoelectric) | knock vibration |
| Vehicle speed, battery voltage, others |
Actuators (outputs)
Fuel injectors, ignition coils, electronic throttle ("drive-by-wire"), idle air control, EGR valve, variable valve timing, turbocharger wastegate or vanes, fuel pump relay, cooling fan, glow plugs (diesel), common-rail pressure valve.
How the ECU decides: maps
- Base values (injection pulse width, ignition advance) are stored in look-up tables against speed and load, set during engine development (calibration).
- Corrections for temperature, battery voltage and altitude are added.
- Closed-loop corrections (lambda, knock, idle speed) adjust in real time.
- Example: at 3,000 rpm and medium load the map may give 25° advance; if the knock sensor detects knock, the ECU retards that cylinder by a few degrees, then slowly advances again.
Emission control functions
- Three-way catalytic converter with λ = 1 control (petrol).
- Exhaust gas recirculation (EGR): returning some exhaust to the intake to lower flame temperature and NOₓ.
- Evaporative emission control: a charcoal canister stores fuel vapour from the tank and the ECU purges it into the engine.
- Diesel after-treatment: particulate filter regeneration and urea dosing for SCR.
- Emission limits (for example the Euro standards) drive these systems; many vehicles imported into Nigeria are used cars built to such standards, and their catalysts and sensors need proper fuel and maintenance.
Other functions
Idle speed control, cold-start enrichment, rev limiting, cylinder deactivation, start-stop, immobiliser (anti-theft), cruise control, and torque management with the automatic gearbox and traction control.
On-board diagnostics (OBD)
- The ECU monitors sensors and systems and stores diagnostic trouble codes (DTCs) when faults occur, lighting the "check engine" lamp.
- OBD-II (standard since the 1990s in many markets) has a standard 16-pin connector; a scan tool reads codes (for example P0300: random misfire) and live data.
- Diagnosis still needs thinking: a code points to a circuit or symptom, not always to the failed part.
Hybrids and electric drives
Electronics also control hybrid systems (engine plus electric motor) and fully electric vehicles (battery management, motor inverters). These are growing worldwide and beginning in Nigeria (2020s), alongside CNG conversions promoted by the government since 2023.
Exams usually ask
- Describe the structure and functions of an engine management system.
- List sensors and actuators and their roles.
- Explain closed-loop control, knock control and OBD.
Common mistake
Clearing fault codes and calling the car fixed. If the cause is not repaired, the code returns; record the code and freeze-frame data first.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Engine control unit
(opens en.wikipedia.org in a new tab)
Wikipedia, Engine control unit, CC BY-SA 4.0 · licence
-
Electronic control unit
(opens en.wikipedia.org in a new tab)
Wikipedia, Electronic control unit, CC BY-SA 4.0 · licence
-
On-board diagnostics
(opens en.wikipedia.org in a new tab)
Wikipedia, On-board diagnostics, CC BY-SA 4.0 · licence
Watch
-
Best pick EVERY ENGINE SENSOR EXPLAINED - MAF, MAP, IAT, TPS, 02, NOx, EGT - How it works, location, OBD2 code
26 min · ≈ 117 MB · about ₦66
(opens youtube.com in a new tab)
-
Every Sensor Used in Car | CPS, MAF, MAP, TPS, IAT, NOx, TPMS & More Explained
29 min · ≈ 131 MB · about ₦74
(opens youtube.com in a new tab)
-
How Engine Control Unit (ECU) Works - Full Explained
6 min · ≈ 27 MB · about ₦15
(opens youtube.com in a new tab)
-
How ECU works in Automotive System |Electronics Control Unit | ECU in car | ECU Desin | ECU working
12 min · ≈ 54 MB · about ₦30
(opens youtube.com in a new tab)
-
#25 Engine Emissions | Part 01 | Fundamentals of Automotive Systems
32 min · ≈ 144 MB · about ₦81
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.