The car’s onboard computer is continually measuring the speed of rotation of each individual wheel. When the car detects that one (or more) wheels is moving slower or faster than the other wheels (and/or slower or faster than the car expects the wheels to be turning given the overall speed of the vehicle and driver inputs such as braking and acceleration) the car will decrease or increase power until it senses the wheels are “balanced” again.
The full version is obviously a lot more complicated, but that’s the ELI5 version.
Latest Answers