Journal of Sensors

Journal of Sensors / 2021 / Article
Special Issue

Multidimensional Sensing and Big Data-Aided Intelligent Maintenance

View this Special Issue

Research Article | Open Access

Volume 2021 |Article ID 9985063 | https://doi.org/10.1155/2021/9985063

Weiwei Xin, Weiguang Zheng, Jirong Qin, Shangjun Wei, Chunyu Ji, "Energy Management of Fuel Cell Vehicles Based on Model Prediction Control Using Radial Basis Functions", Journal of Sensors, vol. 2021, Article ID 9985063, 8 pages, 2021. https://doi.org/10.1155/2021/9985063

Energy Management of Fuel Cell Vehicles Based on Model Prediction Control Using Radial Basis Functions

Academic Editor: Aijun Yin
Received18 Mar 2021
Revised28 Apr 2021
Accepted05 May 2021
Published24 May 2021

Abstract

Energy management strategies can improve fuel cell hybrid electric vehicles’ dynamic and fuel economy, and the strategies based on model prediction control show great advantages in optimizing the power split effect and in real time. In this paper, the influence of prediction horizon on prediction error, fuel consumption, and real time was studied in detail. The framework of energy management strategy was proposed in terms of the model prediction control theory. The radial basis function neural network was presented as the predictor to obtain the short-term velocity in the future. A dynamic programming algorithm was applied to obtain optimized control laws in the prediction horizon. Considering the onboard controller’s real-time performance, we established a simple fuel cell vehicle mathematical model for simulation. Different prediction horizons were adopted on UDDS and HWFET to test the influence on prediction and energy management strategy. Simulation results showed the strategy performed well in fuel economy and real-time performance, and the prediction horizon of around 20 s was appropriate for this strategy.

1. Introduction

The transportation industry is one of the primary sources of energy consumption and exhaust emissions. Many technologies on NEVs (new energy vehicles) have high fuel efficiency and fewer emissions. As one of the most popular NEVs, FCVs (fuel cell vehicles) have huge development space in transportation, depending on their zero emission and high efficiency.

The vehicle with fuel cell stack as the single energy source has a poor dynamic response, and the practical solution is to add a short-term storage system to assemble a hybrid vehicle, thus improving the vehicle’s drivability and dynamic. The most common short-term storage systems include battery and supercapacitor—the former can store more electricity due to its higher specific energy, and the latter has high power density. The hybrid vehicle’s dynamic performance and fuel economy are related to the architecture, the components, and the energy management strategy of the vehicle [1]. The work focused on the optimization of fuel economy for FCV with an energy management strategy.

The vehicle propulsion system’s power split is optimized by the energy management strategy when the dynamic vehicle performance is satisfied. Depending on the control method, energy management strategies include optimization-based and rule-based ones.

Current energy management strategies are mostly based on certain/fuzzy logic rules. Certain rule-based strategies are first presented to solve the power split for hybrid electric vehicles, and these strategies have been extensively applied to real vehicles such as Toyota’s Mirai and Hyundai’s Nexo. Fuzzy logic-based strategies, relying on the fuzzy processing of control variables and the threshold value, are more robust and adaptive than those based on specific rules.

Buntin et al. first proposed a switching logic control system for hybrid vehicles [2]. For the fuel cell/battery FCV configuration, Liu et al. designed a control strategy to realize the vehicle’s cold start in terms of meeting the dynamic performance requirements [3]. Hemi et al. analysed the performance of FCV’s three configurations in the unknown driving cycle and real-time driving conditions [4]. However, the formulation of rule-based strategies relies on engineering experience, different from practical solutions.

Optimization-based strategies can be decided into instantaneous optimization, global optimization, and MPC-based (model-predictive-control-based) ones. The most popular instantaneous optimization strategy is ECMS (equivalent consumption minimization strategy), wherein the equivalent consumption of hydrogen in the fuel cell is changed into that of fuel in the battery, and the strategy is used to minimize the equivalent fuel consumption at each sampling time [5, 6]. Global optimization strategy, adopting the optimization algorithms such as DP (dynamic programming) [7, 8], Pontryagin’s minimum principle [9], and pseudospectral method [10], can obtain the global optimal control laws following the certain drive cycle. And in addition to that, Lü et al. present a review of energy management system of fuel cell hybrid vehicle from the perspective of heuristic algorithm [11]. In a sense, the MPC-based strategy can be regarded as a compromise between instantaneous optimization and global optimization ones. In this strategy, the vehicle’s short-term future demanded velocity is predicted by the constructed model, and the controller optimizes the control laws in the prediction horizons [1214].

In this paper, a MPC-based energy management strategy for fuel cell vehicles was proposed, and the influence of prediction horizon was studied in detail. In the built MPC framework, a radial basis function (RBF) neural network was adopt as predictor to obtain the prediction speed, dynamic programming algorithm was employed as the solver to get the optimal trajectory of SOC, and different prediction horizons were tested in terms of prediction error, fuel consumption, and real-time performance. This work is based on fuel cell vehicles, but the method is applicable to other vehicles with two energy sources.

The remainder of this paper is organized as follows. The fuel cell vehicle power system’s mathematical model is established in Section 2. The MPC-based energy management strategy is presented in Section 3, and Section 4 shows the simulation results. Section 5 shows the conclusion.

2. FCV Mathematical Model

2.1. Vehicle and Drivetrain

Figure 1 shows the studied vehicle structure. A vehicle propulsion system contains the fuel cell system and battery, which provide power to the motor during the vehicle operation. The bus voltage is provided by connecting the battery to the bus, and a unidirectional DC-DC converter is used to connect the fuel cell system to the bus. The vehicle operates with the kinetic energy provided by the DC motor.

When the impacts of lateral dynamics and rotating mass are ignored, the traction force can be calculated by where is the vehicle’s total mass, is the vehicle’s current velocity, is the air density, is the frontal area, is the aerodynamic drag’s coefficient, is the rolling resistance coefficient, and is the road’s inclination angle. Table 1 shows the parameters of the fuel cell vehicle.


ParametersValue

Vehicle total mass (kg)1380
Air density (kg/m3)1.2
Aerodynamic drag coefficient0.335
Vehicle frontal area (m2)2
Wheel radius (m)0.282
Gear ratio6.67
Transmission efficiency (%)0.95
Rolling resistance coefficient

With the calculated traction force and velocity, the torque and the speed of wheels are given by where is the rolling radius of the wheel. When the wheel torque is positive, the motor exports kinetic energy to drive the vehicle; when it is negative, the vehicle is in the braking energy recycling, and the motor converts the braking energy into electricity to charge the battery. With the wheel torque and wheel speed, the torque , the speed , and the power demand of the motor are as follows. wherein and are the efficiency and gear ratio of the final drive, respectively. The efficiency of the motor can be looked up in the motor’s efficiency map.

It is defined that the motor power demand is positive during the traction phase and negative during the breaking phase. The fuel cell net power is positive all the time, and the battery power is positive when discharging and negative when charging. The relationship of three variables is written as

2.2. Fuel Cell System

A 50 kW fuel cell system is chosen as the primary energy source of the vehicle. A complete onboard fuel cell system [15] contains a fuel cell stack and other auxiliary equipment such as a hydrogen storage system, hydrogen circuit, air circuit, water circuit, and coolant circuit. The complete model can obtain the fuel cell system’s detailed internal dynamic responses, but cost more time. In this work, a simplified model is adopted to obtain a rapid response. The net power can be divided into the stack power and the auxiliary power as

The hydrogen consumption rate can be written as the function of the stack current : where is the number of cells, is the molar mass of hydrogen, is the Faraday constant, and is the number of electrons lost in electrochemical reactions.

The net power is a function of the stack current, and the hydrogen consumption rate can be described as a function of the net power. Figure 2 shows the relationship between them.

The efficiency of a fuel cell system is defined as a function of the net power and the power provided by hydrogen: where LHV is the low heating value of hydrogen.

2.3. Battery

Figure 3 shows a typical physical model of battery. In this model, the battery can be denoted by an ideal voltage source in series with internal resistance. The output power of the battery can be written as where , , and are the open-circuit voltage, the terminal current, and the internal resistance of the battery, respectively.

The open-circuit voltage and the internal resistance are the functions of the SOC and the temperature. The test can be used to obtain internal resistance and the relationship between the open-circuit voltage and SOC (see Figure 4). The battery temperature is assumed to be constant in this work.

The change rate of SOC is defined as the ratio of the terminal current and the battery capacity: where is the change rate of SOC and is the battery capacity. With formulas (11) and (12), the change rate of SOC is calculated by

Every single battery has a capacity of 6 Ah and a peak voltage of 3.8 V. A battery pack is constituted with 87 cells in series and three battery packs formed by the parallel connection for simulation.

3. MPC-Based Energy Management Strategy

3.1. Structure of MPC-Based Energy Management Strategy

With the transformation of global optimization into a series of suboptimizations, MPC can obtain the optimal local control laws based on model prediction, rolling optimization, and feedback correction. In Figure 5, the typical MPC-based energy management strategy consists of three steps [16].

Step 1. Predict the vehicle’s future short-term velocity through the constructed prediction model.

Step 2. Obtain the optimal control rules in the short-term drive cycle by minimizing the cost function.

Step 3. Apply the optimal control rules in the first time step of the prediction horizon to vehicles’ control system. Repeat the above steps until the drive cycle ends.

The whole system is discretized into constrained optimization problems in the finite time domain, and DP algorithm [17, 18] is employed as the solution algorithm. The power split factor and SOC are selected as the control variable and state variable, respectively. Therefore, the system function at each prediction step is described as where is the battery’s SOC, is the power split factor, is the prediction velocity, and is the length of drive cycle.

The fuel consumption is employed as the cost function: where is the fuel consumption per step and is the rolling step length (1 s).

For the structure of fuel cell vehicle, a terminal constraint is implemented to the SOC at every control horizon where is the terminal target SOC of every control horizon and is the length of the prediction horizon.

Other parameters under constraints are shown in equation (17).

3.2. Velocity Prediction with Neural Network

The neural networks can respond to the nonlinear relationship between inputs and outputs through training the black-box model. In this work, a neural network of the radial basis function is trained to predict the velocity.

In Figure 6, the neural network inputs are the historical velocity sequence []; the outputs are the prediction velocity sequence [] in the future; is the sampling horizon length; is the length of prediction horizon. The Gaussian function is selected as the activation function of the hidden layer, which is formulated as where is the neural network center, is the input vector, and is the maximum width between selected centers.

Here, a RBF-neural network with the structure of 10-50- is constructed to predict the velocity. Seven standard drive cycles (ARB-02, LA92, NYCC, REP05, SC03, UNIF01, and US06), including urban, suburban, and highway conditions, are used for the network training; 70% of the data are employed as the training dataset and 30% as the test dataset. In addition, untrained drive cycle (UDDS) and highway fuel economy test (HWFET) are used as the validate dataset.

4. Simulation Results and Discussion

The simulation was performed at MATLAB 2018b on a laptop with the configurations of Inter Core i3-3227U CPU @ 1.90 GHz. Seven drive cycles were used to train the network, the other two was used to test the performance of the network and the MPC-based energy management strategy. It was defined that the sampling time was 10 s, and the prediction time was 5 s to 25 s. The initial SOC of the battery was 0.6, and the terminal target SOC per prediction horizon was set as the same value of initial SOC. The upper and lower boundaries of SOC were 0.5 and 0.7, respectively. Also, the average root mean squared error (RMSE) was employed to assess the network performance, formulated as where is the RMSE of prediction for the prediction horizon (from seconds to seconds) at step , is the global average RMSE of prediction, and is the length of the drive cycle.

In fact, with the structure of MPC, the final SOC for the global time horizon is practically impossible to have . SOC deviation is converting into equivalent hydrogen consumption to eliminate the impact above.

To evaluate the performance of the constructed controllers, DP-based energy management strategy is employed as the benchmark of the simulation. It should be noted that unlike the DP algorithm mentioned in Section 3.1, the DP-based energy management strategy selected there is a global optimization strategy, aiming to obtain the optimal control rules and the hydrogen consumption at the whole drive cycle.

Different prediction horizons are tested in this work to explore the effect of the prediction horizon on fuel economy. Figure 7 shows the results of UDDS in prediction horizons are 10 s, 15 s, and 20 s. The prediction results of three prediction horizons reflect the changing trend of velocity without exception; however, with the increasing reduction horizon, the predicted velocity is further different from the actual velocity, which means the prediction error increases. Figure 8 presents the results of HWFET in the prediction horizons are 10 s, 15 s, and 20 s, and it shows the same trends as the results of UDDS; however, it is obvious that the prediction results of HWFET are more close to the actual velocity trajectory compared with UDDS.

Figures 9 and 10 show the SOC trajectories for UDDS and HWFET, respectively. Each figure includes 4 SOC trajectories, 3 of which are obtained with three predictors (the prediction horizons are 10 s, 15 s, and 20 s, respectively) and the other one is obtained with DP-based energy management strategy. In these two figures, the SOC trajectory of DP is different from these trajectories of MPC; this is related to the optimization horizons of the two algorithms. Benefiting from global optimization, the SOC trajectory planned by the DP algorithm is optimal for the specific drive cycle, whereas the MPC-based energy management strategy obtains a locally optimal SOC trajectory at every prediction horizon. And for the MPC-based energy management strategy, with the same constraints in the final SOC, the battery’s power split capacity can be improved by increasing the prediction horizon.

To explore the relationship between prediction error, prediction horizon, and fuel consumption, the hydrogen consumption at different prediction horizons for UDDS and HWFET is shown in Tables 2 and 3, respectively. In these tables, the calculated time of MPC is the optimized time of each prediction horizon, and for the DP, it is the entire drive cycle. For the UDDS, it should be noted that with the increasing of prediction horizon , the prediction accuracy decreases, and the fuel economy improves. The subsequent problem is that the calculated time increases; while for the HWFET, with the increasing of prediction horizon, the fuel economy improves first and then decreases, and the best fuel consumption could be obtained at . These trends are shown in Figure 11 obviously.


(s) (s)SOC (N) (s) (g)

1052.12790.6020.071140.95
10103.93200.6040.120119.14
10156.01220.6040.168111.39
10207.59980.6040.213110.34
10259.02850.6040.267109.58


(s) (s)SOC (N) (s) (g)

1051.32590.60350.073130.66
10102.42450.60630.127129.58
10154.10040.60990.169126.99
10205.72720.60980.207122.86
10257.32550.61020.247125.77

As an onboard controller, the real-time performance of strategy should also be considered. The simulation time at laptop is 0.213 s with the prediction horizon 20 s; this data shows that the MPC-based energy management strategy has a real-time basis. In this work, considering the requirements of energy management strategy on fuel consumption and real-time performance, the prediction horizon is selected to be 20 s. The following analysis is established in the selected horizon. Table 4 shows the comparison between MPC-based and DP-based energy management strategy. In terms of fuel economy, the strategy’s effect based on model predictive control (with 20 s as the prediction horizon’s length) can reach 87.42% of DP-based in UDDS, while in HWFET, benefiting from a smaller forecast error, this data can rise to 90.09%.


Type (s)SOC (N) (s) (g)Normalized average (%)

UDDS-MPC200.60460.2132110.3487.42
UDDS-DP0.6113.6098.01100
HWFET-MPC200.60980.207122.8690.09
HWFET-DP0.665.44111.79100

5. Conclusions

Based on the simple vehicle model, the RBF-based predictor, and the DP-based solving algorithm, the work presented an MPC-based energy management strategy on a fuel cell vehicle. Models with different prediction horizons were built to study the influence of the prediction time steps.

Simulation results showed that the fuel economy performed best with 25 s as the prediction horizon for UDDS, while for HWFET the best fuel economy appeared at 20 s. In addition, large prediction horizon led to the longer optimizing time. In fact, to a real vehicle, in addition for energy management strategy, the onboard controller also needs to process a lot of real-time data from other components, which may result in much greater actual processing time than simulation. With this in mind, the prediction horizon of around 20 s is appropriate for the onboard MPC-based energy management strategy.

Although the structure of MPC-based energy management strategy is studied in this work, the results are based on the single prediction model with RBF neural network as the frame. In the future, prediction models with multiple algorithms will be studied to obtain the batter predictor.

Data Availability

The dataset and codes of this paper for the simulation are available from the corresponding author if requested.

Conflicts of Interest

The authors declare that there is no conflict of interest regarding the publication of this paper.

Acknowledgments

The study was supported by the Innovation-Driven Development Special Fund Project of Guangxi (Guike AA18242033), Liuzhou Science Research and Planning Development Project (2020GAAA0403 and 2019AD10203), Liudong Science and Technology Project (20200108), and Innovation Project of Guet Graduate Education (2019YCXS008).

References

  1. Y. L. Murphey, Jungme Park, Zhihang Chen, M. L. Kuang, M. A. Masrur, and A. M. Phillips, “Intelligent hybrid vehicle power control—part I: machine learning of optimal vehicle power,” IEEE Transaction on Vehicular Technology, vol. 61, no. 8, pp. 3519–3530, 2012. View at: Publisher Site | Google Scholar
  2. D. L. Buntin and J. W. Howze, “A switching logic controller for a hybrid electric/ICE vehicle,” in American Control Conference, pp. 1169-–11175, Seattle, Washington, 1995. View at: Google Scholar
  3. L. Danwei and L. Hui, “Dynamic modeling and control design for bi-directional DC-DC converter for fuel cell vehicle with battery as energy storage element,” in Industry Applications Conference, pp. 1632–1635, Kowloon, Hong Kong, China, 2005. View at: Google Scholar
  4. H. Hemi, J. Ghouili, and A. Cheriti, “A real time fuzzy logic power management strategy for a fuel cell vehicle,” Energy Conversion and Management, vol. 80, pp. 63–70, 2014. View at: Publisher Site | Google Scholar
  5. G. Paganelli, S. Delpra, T. M. Guerra, J. Rimaux, and J. J. Santin, “Equivalent consumption minimization strategy for parallel hybrid powertrains,” in Vehicular Technology Conference. IEEE 55th Vehicular Technology Conference. VTC Spring 2002, pp. 2076–2081, Birmingham, AL, USA, 2002. View at: Google Scholar
  6. W. Zhang, J. Li, L. Xu, and M. Ouyang, “Optimization for a fuel cell/battery/capacity tram with equivalent consumption minimization strategy,” Energy Conversion and Management, vol. 134, pp. 59–69, 2017. View at: Publisher Site | Google Scholar
  7. W. Zhou, L. Yang, Y. Cai, and T. Ying, “Dynamic programming for new energy vehicles based on their work modes part II: fuel cell electric vehicles,” Journal of Power Sources, vol. 407, pp. 92–104, 2018. View at: Publisher Site | Google Scholar
  8. D. Fares, R. Chedid, F. Panik, S. Karaki, and R. Jabr, “Dynamic programming technique for optimizing fuel cell hybrid vehicles,” International Journal of Hydrogen Energy, vol. 40, no. 24, pp. 7777–7790, 2015. View at: Publisher Site | Google Scholar
  9. Y. Kim, M. Figueroa-Santos, N. Prakash, S. Baek, J. B. Siegel, and D. M. Rizzo, “Co-optimization of speed trajectory and power management for a fuel- cell/battery electric vehicle,” Applied Energy, vol. 260, article 114254, 2020. View at: Publisher Site | Google Scholar
  10. W. Zhou, C. Zhang, J. Li, and H. K. Fathy, “A pseudospectral strategy for optimal power management in series hybrid electric powertrains,” IEEE Transactions on Vehicular Technology, vol. 65, pp. 4813–4825, 2016. View at: Publisher Site | Google Scholar
  11. X. Lü, Y. Wu, J. Lian et al., “Energy management of hybrid electric vehicles: a review of energy optimization of fuel cell hybrid power system based on genetic algorithm,” Energy Conversion and Management, vol. 205, article 112474, 2020. View at: Publisher Site | Google Scholar
  12. S. di Cairano, D. Bernardini, A. Bemporad, and I. V. Kolmanovsky, “Stochastic MPC with learning for driver-predictive vehicle control and its application to HEV energy management,” IEEE Transactions on Control System Technology, vol. 22, no. 3, pp. 1018–1031, 2014. View at: Publisher Site | Google Scholar
  13. C. Sun, F. Sun, and H. He, “Investigating adaptive-ECMS with velocity forecast ability for hybrid electric vehicles,” Applied Energy, vol. 185, pp. 1644–1653, 2017. View at: Publisher Site | Google Scholar
  14. D. F. Pereira, F. D. C. Lopes, and E. H. Watanabe, “Nonlinear model predictive control for the energy management of fuel cell hybrid electric vehicles in real time,” IEEE Transactions on Industrial Electronics, vol. 68, pp. 3213–3223, 2020. View at: Publisher Site | Google Scholar
  15. L. Guzzella and A. Sciarretta, Vehicle Propulsion Systems Introduction to Modeling and Optimization, Springer, 2nd Ed edition, 2013.
  16. Y. Huang, H. Wang, A. Khajepour, H. He, and J. Ji, “Model predictive control power management strategies for HEVs: a review,” Journal of Power Sources, vol. 341, pp. 91–106, 2016. View at: Publisher Site | Google Scholar
  17. O. Sundstrom and L. Guzzella, “A generic dynamic programming Matlab function,” in 18th IEEE Multi-Conference on System and control, pp. 1625–1630, St. Petersburg, Russia, 2009. View at: Publisher Site | Google Scholar
  18. O. Sundström, D. Ambühl, and L. Guzzella, “On implementation of dynamic programming for optimal control problems with final state constraints,” Oil & Gas Science and Technology–Revue de l’Institut Français du Pétrole, vol. 65, no. 1, pp. 91–102, 2010. View at: Publisher Site | Google Scholar

Copyright © 2021 Weiwei Xin et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Related articles

No related content is available yet for this article.
 PDF Download Citation Citation
 Download other formatsMore
 Order printed copiesOrder
Views818
Downloads555
Citations

Related articles

No related content is available yet for this article.

Article of the Year Award: Outstanding research contributions of 2021, as selected by our Chief Editors. Read the winning articles.