There are a few ways. The most common currently is that each wheel has a sensor that measures how fast it it rotating. One of the control modules receives these signals and averages the rotation speed of the driven wheels. The module will have been configured with its tyres’ rolling circumference when it was built. The module multiplies this circumference by the rotation speed to calculate the vehicle speed. Some signal processing will be done to filter or any noise on the calculation.
Latest Answers