A method for automatically estimating vehicular mass in real time for a vehicle in motion for vehicular control, comprising:
- obtaining a vehicle acceleration signal from an accelerometer;
- obtaining a vehicle speed signal and signals representing vehicle propulsive force from the vehicle speed sensors and from the vehicle propulsion and torque sensors;
- adjusting, the vehicle acceleration signal when the vehicle is in motion for accelerometric disturbances due to the vehicle dynamic pitch and for accelerometric components due to the vehicle lateral dynamics wherein the lateral dynamics are introduced in an estimator compensation block using bike model and on-target parameters;
- inputting the adjusted vehicle acceleration signal for the vehicle to a recursive least square function with a forgetting factor tied to the compensated acceleration signal wherein the forgetting factor minimizes prediction error according to quadratic principles, and reduces recursive least squares problems regarding progressive decay of algorithm reactivity with sampling aging, and
- generating automatically in real time the vehicle mass signals corresponding to variances for each gear based on a the vehicle mass estimated for each gear while minimizing uncertainties on the propulsive/resistive torque signals due to gear efficiency and rolling resistance;
- and automatically controlling the vehicle based on the real time vehicle mass signals.