Urban autonomous vehicles on city roads are subject to various constraints when changing lanes, and commonly used trajectory planning methods struggle to describe these conditions accurately and directly. Therefore, generating accurate and adaptable trajectories is crucial for safer and more efficient trajectory planning. This study proposes an optimal control model for local path planning that integrates dynamic vehicle constraints and boundary conditions into the optimization problem’s constraint set. Using the lane-changing scenario as a basis, this study establishes environmental and collision avoidance constraints during driving and develops a performance metric that optimizes both time and turning angle. The study employs the Gauss pseudo-spectral method to continuously discretize the state and control variables, converting the optimal control problem into a nonlinear programming problem. Using numerical solutions, variable control and state trajectories that satisfy multiple constraint conditions while optimizing the performance metric are generated. The study employs two weights in the experiment to evaluate the method’s performance, and the findings demonstrate that the proposed method guarantees safe obstacle avoidance, is stable, and is computationally efficient at various interpolation points compared to the Legendre pseudo-spectral method (LPM) and the Shooting method.
With the development of the brake-by-wire system, more and more advanced driver assistance systems have been applied to automobiles. The brake-by-wire system can collect the driver’s braking intention through the displacement sensor and thus realize accurate braking by the motor. Based on the brake-by-wire system, we design an algorithm that can realize the vehicle Comfort Stop Technology (CST) in this paper. The CST can control the drop and rise of brake fluid pressure during the braking stop of the vehicle, and therefore reduce the sharp feeling of front and back pitching during the braking stop. Finally, through real car verification, the functional algorithm designed in this paper can improve the nodding feeling of the vehicle by reducing the deceleration of the vehicle during braking.
The algorithm function designed in this paper can make a car maintain stability during automatic vehicle hold through the model input of multi-level target fluid pressure combined with slope judgment modules of different levels after the automatic vehicle hold software works. At the same time, a complete parking function module is designed, which can monitor the whole parking process in real time. Through the design of this function, the functional diversity of the electro-hydraulic braking system can be increased. When judging that the driver intends to start, the automatic vehicle hold system will automatically release the fluid pressure according to the opening of the accelerator pedal pressed by the driver so that the vehicle does not happen to brake when the vehicle starts in the slippery slope condition. Finally, real vehicle verification proves that the function can effectively meet the parking requirements and start on the flat and on a ramp. Also, it can effectively control the vehicle according to the driver’s driving intention.