| CPC B61L 27/20 (2022.01) [B61L 25/021 (2013.01); G05B 13/042 (2013.01)] | 20 Claims |

|
1. A controller for a vehicle, the controller comprising:
a processor configured to repeatedly perform, at each control iteration among a plurality of control iterations along a path of the vehicle from a start location to a target location, operations including
based on a current state of the vehicle, generating a travel plan for a remainder of the path from a current position of the vehicle to the target location, by solving an optimization problem, and
controlling a motoring and braking system of the vehicle to execute the generated travel plan until a next control iteration among the plurality of control iterations, wherein the processor is further configured to solve the optimization problem based on the current state of the vehicle, at least one control objective, and at least one constraint,
the at least one constraint comprises a first brake constraint and a second brake constraint, the second brake constraint corresponding to a harder brake operation than the first brake constraint,
the processor is further configured to
solve the optimization problem constrained by the first brake constraint,
in response to a determination that the optimization problem constrained by the first brake constraint is feasible, control the motoring and braking system of the vehicle based on a solution of the optimization problem, and
in response to a determination that the optimization problem constrained by the first brake constraint is infeasible, solve the optimization problem constrained by the second brake constraint corresponding to the harder brake operation.
|