A small computer in a sealed box: a microcontroller, memory for its program and settings, a power supply and driver circuits strong enough to switch motors, valves and lamps. It runs the same loop all the time: read the sensors, calculate, command. It has to survive water, vibration and temperatures from about −40 °C to well over 100 °C.
The car's senses. They turn temperature, pressure, speed, position, acceleration, the oxygen in the exhaust or the light outside into electrical signals a control unit can read. A modern car often has more than a hundred. Many are now smart: they send ready digital values over a bus instead of a raw voltage.
The muscles: everything a control unit can move or switch. Electric motors for windows, seats and the throttle, valves in the brakes and gearbox, injectors, relays, pumps and fans. A well-equipped car has dozens of small electric motors, a luxury one can have more than a hundred.
The main network of almost every car since the 1990s, developed by Bosch in the 1980s. Two twisted wires carry short messages that every unit on the bus hears. Each message has a priority, so an urgent one from the brakes always gets through first. Classic CAN carries up to 1 Mbit/s and the newer CAN FD several times more: slow by computer standards, but extremely reliable.
A cheap, simple network on a single wire for jobs that do not need speed: window switches, mirrors, seat motors, rain and light sensors, wiper motors. One master unit asks and the others answer, at up to about 20 kbit/s. It saves wiring and money where CAN would be overkill.
The fast lane: the same idea as the network in an office, but on a single pair of thin twisted wires that cope with the car's electrical noise. Cameras, large screens, driver assistance and the links between domain or zone controllers need 100 Mbit/s to several Gbit/s, far beyond CAN. Its share grows with every new generation of cars.
The junction where the networks meet. It passes messages between the CAN, LIN and Ethernet networks, translates between them and decides what may go where: a message from the infotainment system should never be able to reach the brakes. It is also the entry point for diagnostics and software updates, so it plays a key part in protecting the car.
OBD-II port and fault codes
A 16-pin socket under the dashboard, required in the USA since 1996 and in the EU since 2001 for petrol cars and 2004 for diesels. A scanner plugged into it reads the fault codes that control units store when something goes wrong, often at the moment a warning light comes on. P0300, for example, means misfires. The first letter shows where: P powertrain, C chassis, B body, U network.
A modern car runs on tens of millions of lines of code, far more than the space shuttle did. Over-the-air (OTA) updates deliver new versions through the car's mobile connection without a visit to the workshop: fixes, new features, sometimes even more range or power. The update downloads in the background, is checked, and installs while the car is parked.
A connected car can be attacked like any computer, so its defences come in layers: the gateway keeps the networks apart, a firewall filters the traffic, important messages are signed so a fake one is rejected, and updates must carry the maker's digital signature. Since July 2024 every new car registered in the EU must meet the UN rules R155 on cybersecurity and R156 on software updates.