The IMU can be right and the controller still gets the road grade wrong
Why a parking car stalls on an incline, and where θ in m·g·sin θ really comes from.
The IMU can be perfectly correct. And the controller can still infer the wrong road grade.
In my previous Production ADAS post, I explained why a vehicle can get stuck while climbing an incline. The controller needs an additional force:
The harder question in production: where does the vehicle get θ from?
An IMU mounted on the chassis measures vehicle-body motion and orientation. Suspension compression and longitudinal load transfer change body pitch even when the road grade has not changed.
So engineers generally use two routes.
- The first is sensor-based, using accelerometer and gyro pitch-rate information.
- The second is force-based, using applied torque, vehicle speed, acceleration and resistance models.
Neither estimate is perfect on its own. A state observer, often an Extended Kalman Filter or a similar estimator, combines both to produce a more reliable road-grade estimate.
That estimate goes into:
One line of control law. An entire estimation system behind the variable.
In the original post, I explain the problem using a Hot Wheels car.
First published on LinkedIn · 41 reactions · 6 comments · join the conversation there
Read on LinkedIn ↗