ECU

Electronic Control Units run everything from engines to windows. Learn ECU hardware (microcontroller, power supply, input conditioning, drivers, communication), the harsh 12 V automotive environment (load dump, reverse polarity, EMC, temperature), watchdogs, and the shift to domain and zonal controllers.

A modern car contains 70–150 ECUs. Each is a small embedded computer: it reads sensors, runs control software, drives actuators and talks to other ECUs over networks.

Automotive electronics must survive −40 to +125 °C, vibration, moisture, electrical transients and 15+ years of service — while being cheap and safe.

An analogy

ECUs are like the organs of the car's nervous system: each handles its own job (engine, brakes, doors) but constantly exchanges messages with the others.

Inside an ECU

Power supply (regulators, protection), microcontroller (flash, RAM, timers, ADC, CAN/LIN/Ethernet controllers), input conditioning (filters, dividers, clamps), output drivers (high/low-side switches, H-bridges, injector drivers), transceivers and connectors in a sealed housing.

The automotive electrical environment

12 V nominal but 6 V during cold crank and up to ~40 V (clamped) during load dump; reverse polarity from jump starts; ISO 7637/16750 transients; EMC emissions and immunity (CISPR 25); temperature and humidity. Protection: TVS diodes, reverse-polarity MOSFETs, filters, conformal coating.

Reliability and safety features

Watchdogs reset stuck software; lock-step cores detect CPU faults; memory ECC; brown-out detection; limp-home modes; non-volatile storage of fault codes. AEC-Q100/Q200 qualified components are used.

Architecture evolution

Distributed ECUs → domain controllers (powertrain, chassis, body, ADAS, infotainment) → zonal controllers wired by location plus central high-performance compute. This cuts wiring (a car harness can weigh 40–60 kg) and enables software-defined vehicles with OTA updates.

Formulas

Worked example: Battery voltage measurement

Given: Max battery voltage to measure 16 V; ADC 12-bit, 5 V reference; Divider R₁ = 22 kΩ, R₂ = 10 kΩ

Find: ADC input at 16 V and resolution.

Answer: 5.0 V at 16 V; ≈ 3.9 mV per count

Worked example: Quiescent current budget

Given: 60 ECUs × 80 µA sleep current; 70 Ah battery, must still crank after 30 days

Find: Charge drained in 30 days.

Answer: ≈ 3.5 Ah — acceptable; a single ECU failing to sleep (e.g. 100 mA) would drain 72 Ah!

Common mistakes

Applications

Key takeaways

Going further