In order to deal with many influence factors of electric vehicles in driving under complex conditions, this paper establishes the system state equation based on the longitudinal dynamics equation of vehicle. Combined with the improved Sage–Husa adaptive Kalman filter algorithm, the road slope estimation model is established. After the driving speed and rough slope observation are input into the slope estimation model, the accurate road slope estimation at the current time can be obtained. The road slope estimation method is compared with the original Sage–Husa adaptive Kalman filter road slope estimation method through three groups of road tests in different slope ranges, and the accuracy and stability advantages of the proposed algorithm in road conditions with large slopes are verified.
In this paper, to maximize the net output power and realize better performance optimization and control of the oxygen excess ratio, a complete dynamic model of the proton-exchange membrane fuel cell system is developed and an active disturbance rejection control strategy is proposed. The active disturbance rejection control drives the uncertainties and perturbations of the system to an extended state, which is predicted and eliminated by real-time input–output data. The simulation results indicate that, compared with the proportion–integral–differential and fuzzy proportion–integral–differential control, the active disturbance rejection control strategy can effectively improve the control performance with a lower control cost and less wear on the compressor, and the integral absolute error of the oxygen excess ratio control is reduced by up to 50%. In addition, the output voltage is improved and the power generation efficiency of the proton-exchange membrane fuel cell under the active disturbance rejection-based oxygen excess ratio control is 1.84% and 0.95% higher than that of the proportion–integral–differential and fuzzy proportion–integral–differential control, respectively. Moreover, the proposed optimal-reference control strategy increases the net power by up to 1.85% compared with the fixed-reference control strategy.