Research Article  Open Access
Hanbing Wei, Yao Chen, Zhiyuan Peng, "Costate Estimation of PMPBased Control Strategy for PHEV Using Legendre Pseudospectral Method", Mathematical Problems in Engineering, vol. 2016, Article ID 9019450, 9 pages, 2016. https://doi.org/10.1155/2016/9019450
Costate Estimation of PMPBased Control Strategy for PHEV Using Legendre Pseudospectral Method
Abstract
Costate value plays a significant role in the application of PMPbased control strategy for PHEV. It is critical for terminal SOC of battery at destination and corresponding equivalent fuel consumption. However, it is not convenient to choose the approximate costate in real driving condition. In the paper, the optimal control problem of PHEV based on PMP has been converted to nonlinear programming problem. By means of KKT condition costate can be approximated as KKT multipliers of NLP divided by the LGL weights. A kind of general costate estimation approach is proposed for predefined driving condition in this way. Dynamic model has been established in Matlab/Simulink in order to prove the effectiveness of the method. Simulation results demonstrate that the method presented in the paper can deduce the closer value of global optimal value than constant initial costate value. This approach can be used for initial costate and jump condition estimation of PMPbased control strategy for PHEV.
1. Introduction
A lot of approaches based on PMP (Pontryagin’s minimum principle) theory have been applied to the energy management optimal control for HEVs (hybrid electric vehicle) [1, 2]. Intrinsically, it realizes the minimization of the Hamilton function. For its simple enough instantaneous optimization compared with the Dynamic Programming (DP) method, the PMPbased optimal control strategy has more potential to be implemented in realtime application. Moreover, not only fuel consumption but also emission can been optimized comprehensively by PMP method. In [3], the author integrated the simplified threeway catalytic converter model into the simulation. So the exhaust emission from the catalyst outlet can be included in Hamilton function. In [4], the author extended the PMPbased supervisory control for HEV with a new state reflecting the thermal state of the engine. The power losses due to low engine coolant temperature are therefore taken into account in the optimal control of HEV.
The prominent difficulty of successful application of PMP is the appropriate assignment of initial costate. It is the derivatives of Lagrangian multiplier for variation of calculus substantially [5]. As practical meanings of the tradeoff between the fuel consumption and battery depletion, the costate value plays a critical role in the control strategy of HEV. How to choose initial costate decides the operation mode of PHEV significantly [6]. If is chosen as , PHEV will operate in blended mode, which means the battery will be depleted at the end of the driving cycle. Alternatively, if is designated as , the EMS (energy management system) will try to deplete the battery as soon as possible. Both the engine and the motor will operate cooperatively. Accordingly, the inferior optimal control strategy will be achieved because of the poor efficiency of battery when SOC reach . Unfortunately, it is not convenient to designate the exact costate in real driving condition until now despite its significance. Iterative simulation using shooting method for specific driving cycle has been restricted in the offline optimization [7]. In addition, driving patterns prediction in prior [8, 9], traffic condition from the external traffic information like ITS or GPS has been dedicated to development of the control strategy of HEV [10–15].
Different from HEV, plugin hybrid electric vehicle (PHEV) is always willing to discharge the battery at the end of the trip, not only for the Charge Depletion/Charge Sustaining but also for blended control strategy. The battery in PHEV has more opportunity to trigger the bottom of SOC consequently [16]. Therefore, handling inequality constraints in PMP requires more attention because the constraints possibly produce ambiguity, which is frequently called a jump condition. When the jump condition of costate was considered, the optimal control of PHEV turns to be more complicated. In [6], the authors propose the mathematical derivation of an additional condition necessary for the inequality state constraints and deduce the necessity of the different costate for the jump condition before and after. Nevertheless, the paper only contributes to understanding the physical definition of the costate for jump condition, still failing to produce the costate directly.
In the paper, the optimal control problem (OCP) of PHEV based on PMP has been converted to nonlinear programming problem (NLP). Costate can be approximated as Lagrange multipliers of NLP divided by the LGL weights. A kind of general costate estimation approach is proposed for specific driving condition in this way. The outline of the paper is organized as follows. Section 2 introduces the schematic and characteristic of the vehicle researched. Section 3 describes the control strategy of PMP for PHEV. Section 4 presents the general approach of estimating the costate using Legendre Pseudospectral Method. The method mentioned above has been applied to predefined circumstance and some discussion has been presented in Section 5. Final conclusions are drawn in Section 6.
2. Vehicle Model
The configuration investigated in this paper is a twoclutch singleshaft parallel PHEV as shown in Figure 1. The release or engagement of the wettype multiplate clutch decides the operation mode of the vehicle. The oneway clutch is used to assure that the revolution speed of motor never falls behind that of engine when engine cranked. In this way, excessive friction of the clutch can be refrained from the speed discrepancy between motor and engine. Besides that, energy conversion from electric energy to mechanical energy or vice versa is implemented by the control strategy, by which the energy conversion loss decreases the overall efficiency. Therefore, an appropriate optimal control is needed to distribute output between different power sources and reduce the fuel consumption, drivability, and exhaust emission [17]. Further, optimized strategy to deplete state of charge of the battery at destination is an essential issue for PHEV control.
The relationship between the speed and power delivered by the power source can be expressed aswhere and are the power delivered by the engine and motor. are the driving power requested from wheel. , , and are the revolution speed of the engine, motor, and wheel, respectively.
2.1. Engine Model
The aim of the optimal control strategy of PHEV is to minimize the fuel consumption and deplete the battery capacity over a driving cycle. Fuel consumption of diesel engine is generally modeled as a map for every possible combination of speed and torque. Obviously, the map can only be represented as nonlinear high order function. For simplicity, appropriate Willans line model is usually used to express the function of the engine power and speed. From the characteristic of Willans line model, we can say that the efficiency of the energy conversion device can be modeled by representing the input power as an affine function of the output power and losses.
At any given speed, the engine power can be represented as an affine function of the fuel power . The gradient and intercept of each Willans line can be expressed as polynomial functions normally depending on engine speed, bywhere are the variable coefficient of the fitted Willans model, as shown in Figures 2 and 3. , , , , , and are the constants of fitting. The final fitted Willans model is compared with original fuel map in Figure 4.
2.2. Battery Model
Traditionally, the battery SOC is appropriate for defining the rate change of power energy stored in the battery. The simplified model of battery can be expressed in (3) according to internal resistance model:where is the discharge current of battery; is the power of battery; is the open voltage of battery; is the internal resistance of battery.
The total electric power loss over the battery resistance is Assuming the power loss of battery as constant, the power loss can be approximated by formula of expanded Taylor series around , yielding
Except for SOC, another significant battery state SOE has been accepted extensively [18]. It is more convenient in formulating the theorem and its proof from control design point of view. The battery SOE is defined as the amount of energy stored in battery, divided by the maximum energy capacity of it. The definition of SOE can be written aswhere is the charge or discharge efficiency of battery and is the maximum capacity.
3. Pontryagin’s Minimum Principle
It is well known that calculus of variations is restricted to only solve the optimal control problem whose control variable is not constrained. However, the control vector is always under certain constraints in actual engineering system. As a result, classical method of calculus of variations is ineffective in dealing with the problem. On the basis of calculus of variations, PMP proposed by mathematician Pontryagin has become one of the powerful solutions for solving optimal control problem with control vector constrained.
In point of view of optimal control, the control strategy of PHEV for specific driving condition can be regarded as the twopoint boundary value problem. The initial and terminal time and state are fixed as prior condition. According to PMP, the necessary condition of the optimality for the optimal control is listed below.
Without loss of generality, the performance index with constraints of the terminal state is as shown in (7). The state function can be expressed as (8):
The constraint of the control variable is given by
For PHEV control strategy, (8) represents battery SOE state function expressed by (6). The physical meanings of symbols , , , and are battery SOE, power of battery, instant fuel consumption rate of engine, and terminal state requirement expression, respectively.
The Hamilton function deduced by (7) and (8) can be formulated as
The state function can be expressed as
The costate can be expressed as
The minimal condition of PMP is
Initial and terminal state conditions, inner constrains, and transversal condition are formulated as (14)–(16) separately:where physical expression of is the constraint of the SOE state variable; that is, .
An issue that needs to be paid attention to is that the PMP provides only the necessary condition of optimality instead of sufficient condition. It turned out that several results which meet with the optimality requirements can be worked out with different initial value of costate from the above equations. Previously research has proved that there is only one theatrical globally optimal control strategy for specific driving condition [19]. Decision of the initial value of costate properly becomes the critical step of optimal control of PHEV.
4. Costate Estimation Based on Legendre Pseudospectral Method
Proper application of PMP is vulnerable with the initial costate variable. For control strategy of PHEV, the initial costate depends on the driving condition which is difficult to be predicted as described in proceeding. In addition, the optimum of Hamilton function is easy to converge partially for nonlinear singular optimal control problem. Different from PMP which calculate the OCP indirectly, Legendre Pseudospectral Method belongs to the direct OCP calculation method as shooting method. Legendre Pseudospectral Method discretizes the state and control variables at LGL nodes. The variables can be approximated by Lagrange polynomial. Then, the differential equation of state variable and integration equation of cost function can be converted into algebraic operation. Finally, the OCP can be transformed to NLP with control and state variables optimized at LGL nodes. The general framework of costate estimation based on Legendre Pseudospectral Method will be shown as follows.
4.1. Time Interval Transformation
The OCP presented in (7)–(10) is formulated over the time interval . The LGL nodes lie in the interval . For the interval of Legendre polynomial, the following transformation is necessary to express the problem for :
4.2. Legendre Collocation at LGL Nodes
Collocation of Legendre Pseudospectral Method is searching the zero of firstorder derivative of degree Legendre polynomial on the interval. Let be the LGL nodes. The control and state variables will be discretized in terms of their values at the LGL nodes approximately. Therefore, () discretized state variables and () discretized control variables will be achieved. The continuous variables can be approximated by degree polynomials of the formwhere, for ,are the order Lagrange polynomials. Another characteristic equation of the Lagrange polynomials can be obtained:
4.3. Transformation of State Equation
Using the discretization processing, the time derivative of the approximated state vector can be approximated by derivative of Lagrange polynomials at the LGL nodes. It can be written aswhere ; are entries of the order differentiation matrix, representing the differentiation of Lagrange polynomials at LGL nodes:
Similarly, the state equation (10) can be converted to () constraint equations by collocating at the LGL nodes:
4.4. Transformation of Cost Function
The integral portion of the cost function can be calculated by GaussLobatto integration method. The converted cost function iswhere the weighting factor can be expressed as
4.5. Converting OCP into NLP
Substituting the discretized equations (18), (23), and (24) into (8)–(10), the OCP can be converted into appropriate NLP, with control and state variables optimized at LGL nodes:
Further analysis shows that the total number of optimized variables is the sum of discretized control and state number multiplied by . Excellent solver such as Matlabfmincon and GPOPS can be utilized for the high dimension sparse matrix of NLP.
4.6. Costate Estimation
As introduced in part 1, there is no existing convenient approach of designating the proper costate in real driving condition except for iterative mathematical method. Intuitively firstorder necessary optimality conditions can be used to deduce correlation between KKT (KarushKuhnTucker) multiplier and OCP discretized costate [20]. Specific energy management optimization of PHEV which includes initial and terminal constraints, state equation constraints, will be investigated to justify the correlation.
The costate variable equation of Hamilton function can be approximated as
Imposing the partial derivative of Hamilton function with state variable onto the upper equation, we can deduceLagrange function of NLP can be expressed as where , , and are the KKT multiplier of NLP. From the KKT condition, we can deduce the next equation:For the first equation, we can getwherefor Therefore, we can find thatThe equation demonstrates the correlation between and . When is 0 or , the effect of and should be considered to calculate and :asTherefore, we can deduce A similar calculation of partial derivative to isFor another transverse condition,We can deduce the correlation when or :
As brief summary, the correlation between KKT multiplier of NLP and costate matrix of OCP can be established from (34) and (40). Intuitively, we can use the correlation to estimate the costate of PMPbased control strategy of PHEV.
5. Simulation Results and Discussion
To illustrate the effectiveness of method presented in preceding sections, we establish the longitudinal dynamic model in Matlab/Simulink and implement the costate estimation of PMP based on Pseudospectral Method (CEPMP for abbreviation) in the model. The model has been simulated in userdefined driving cycle which is composed of 3 FHDS. The driving profile is long enough for the PHEV to deplete the battery at the end of the simulation. Initial and terminal state variables SOE are designated as 0.75 and 0.2, respectively. The specification of the vehicle is described in Table 1. For distinct comparison, the representative global optimal indirect resolver DP has been used to calculate the theoretic optimal values. Moreover, in order to decide the proper initial costate value, shooting method has been adopted in this paper. The main idea of shooting method is looking for the proper initial value by iteration in order to keep the terminal SOE at the when driving cycle finished.

Figure 5 shows the historic plot of vehicle speed with time, respectively. The outstanding accordance can be found in the results between CEPMP and DP. Figure 6 shows the historic plot of control variable with time, respectively. Figure 7 represents the time historic graph of costate variable. The marks in the plot mean the LGL allocate nodes, where triangle symbol represents numerous circular LGL nodes. Obviously, the accurateness of calculation achieved can be improved by the increase of LGL nodes. Burden of computational resource is more stringent consequently. From the zoom figure we can see that “tiny” jump condition occurred and the CEPMP can capture the jump if LGL nodes are allocated sufficiently. The jump is “tiny” because the terminal SOE state almost arrives at lower limit exactly at the end of the trip. By comparison, the battery SOE will trigger the lower limit in advance if costate is designated as constant and the violent jump condition occurred. In this case, the inferior optimal rather than global optimal control strategy can be deduced. Proof of this assumption can be found in [6].
Figure 8 shows us the historic plot of SOE state variable. Simulation results for different initial constant costate are plotted in the same figure for easier contrast. Separately, Figures 9 and 10 show the integrated and instant fuel consumption for different costate in comparison to the CEEMP. From the results, we can find that the method presented in the paper can deduce the closer value of global optimal value than constant initial costate value. With consideration of the heavy burden of computation, the advantage of the method is that it can provide guidance for the initial costate guess and jump condition approximation for PMP realtime application.
Eventually, we listed the results of different number of LGL nodes compared with DP results in Table 2. Five cases represent 2, 3, 4, 6, and 8 nodes per second, respectively (the time period of the 3 FUDS driving cycle is 3061 s). Legendre Pseudospectral Method can converge to the approximated minimum of DP results by at least 4 LGL nodes per second. Moreover, computation time rises enormously with increase of number of LGL nodes.

6. Conclusion
In the paper, the OCP problem of PHEV has been converted to NLP problem with Legendre Pseudospectral Method. From the discretized optimization, estimated costate can be approximated as the Lagrange multipliers of NLP divided by the LGL weights. Simulation results indicate that the costate estimated by our method is closer to those obtained by DP method than constant costate. The paper proposes a kind of general approach of costate estimation for predefined driving condition. Moreover, the method can provide guidance for the initial costate guess and jump condition approximation for PMP application.
Competing Interests
The authors declare that there are no competing interests regarding the publication of this paper.
Acknowledgments
This work was supported by the National Natural Science Foundation of China (Grant no. 51305472), the Natural Science Foundation Project of the Chongqing Municipal Science and Technology Commission (Grant no. cstc2014jcyjA60005), and the Scientific and Technological Research Program of Chongqing Education Commission (Grant no. KJ1400312).
References
 S. Delprat, T. M. Guerra, and J. Rimaux, “Control strategies for hybrid vehicles: optimal control,” in Proceedings of the IEEE 56th Vehicular Technology Conference, pp. 1681–1685, Vancouver, Canada, September 2002. View at: Google Scholar
 S. Delprat, T. M. Guerra, J. Rimaux, and J. Lauber, “Control of a parallel hybrid powertrain: optimal control,” IEEE Transactions on Vehicular Technology, vol. 53, no. 3, pp. 872–881, 2004. View at: Publisher Site  Google Scholar
 A. Chasse, G. Corde, A. Del Mastro, and F. Perez, “Online optimal control of a parallel hybrid with aftertreatment constraint integration,” in Proceedings of the IEEE Vehicle Power & Propulsion Conference (VPPC '10), pp. 1–6, IEEE, Lille, France, September 2010. View at: Publisher Site  Google Scholar
 J. Lescot, “On the integration of optimal energy management and thermal management of hybrid electric vehicles,” in Proceedings of the IEEE Vehicle Power and Propulsion Conference (VPPC '10), pp. 1–6, Lille, France, September 2010. View at: Publisher Site  Google Scholar
 D. E. Kirk, Optimal Control Theory: An Introduction, Dover Publications, 2004.
 N. Kim, A. Rousseau, and D. Lee, “A jump condition of PMPbased control for PHEVs,” Journal of Power Sources, vol. 196, no. 23, pp. 10380–10386, 2011. View at: Publisher Site  Google Scholar
 N. W. Kim, D. H. Lee, C. Zheng, C. Shin, H. Seo, and S. W. Cha, “Realization of pmpbased control for hybrid electric vehicles in a backwardlooking simulation,” International Journal of Automotive Technology, vol. 15, no. 4, pp. 625–635, 2014. View at: Publisher Site  Google Scholar
 C.C. Lin, S. Jeon, H. Peng, and J. M. Lee, “Driving pattern recognition for control of hybrid electric trucks,” Vehicle System Dynamics, vol. 42, no. 12, pp. 41–58, 2004. View at: Publisher Site  Google Scholar
 C. Musardo, G. Rizzoni, and B. Staccia, “AECMS: an adaptive algorithm for hybrid electric vehicle energy management,” in Proceedings of the 44th IEEE Conference on Decision and Control, and the European Control Conference (CDCECC '05), pp. 1816–1823, December 2005. View at: Publisher Site  Google Scholar
 D. Lee, S. W. Cha, A. Rousseau, N. Kim, and D. Karbowski, “Optimal control strategy for PHEVs using prediction of future driving schedule,” in Proceedings of the 26th Electric Vehicle Symposium (EVS '12), Los Angeles, Calif, USA, May 2012. View at: Google Scholar
 R. Langari and J.S. Won, “Intelligent energy management agent for a parallel hybrid vehicle—part I: system architecture and design of the driving situation identification process,” IEEE Transactions on Vehicular Technology, vol. 54, no. 3, pp. 925–934, 2005. View at: Publisher Site  Google Scholar
 R. Langari and J.S. Won, “Intelligent energy management agent for a parallel hybrid vehicle—part II: torque distribution, charge sustenance strategies, and performance results,” IEEE Transactions on Vehicular Technology, vol. 54, no. 3, pp. 935–953, 2005. View at: Publisher Site  Google Scholar
 Y. L. Murphey, J. Park, Z. 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 Transactions on Vehicular Technology, vol. 61, no. 8, pp. 3519–3530, 2012. View at: Publisher Site  Google Scholar
 Y. L. Murphey, J. Park, L. Kiliaris et al., “Intelligent hybrid vehicle power controlPart II: online intelligent energy management,” IEEE Transactions on Vehicular Technology, vol. 62, no. 1, pp. 69–79, 2013. View at: Publisher Site  Google Scholar
 C. Zhang and A. Vahidi, “Route preview in energy management of plugin hybrid vehicles,” IEEE Transactions on Control Systems Technology, vol. 20, no. 2, pp. 546–553, 2012. View at: Publisher Site  Google Scholar
 P. Tulpule, V. Marano, and G. Rizzoni, “Effects of different PHEV control strategies on vehicle performance,” in Proceedings of the American Control Conference (ACC '09), pp. 3950–3955, St. Louis, Mo, USA, June 2009. View at: Publisher Site  Google Scholar
 D. F. Opila, X. Wang, R. McGee, R. B. Gillespie, J. A. Cook, and J. W. Grizzle, “An energy management controller to optimally trade off fuel economy and drivability for hybrid vehicles,” IEEE Transactions on Control Systems Technology, vol. 20, no. 6, pp. 1490–1505, 2012. View at: Publisher Site  Google Scholar
 S. Stockar, V. Marano, G. Rizzoni, and L. Guzzella, “Optimal control for plugin hybrid electric vehicle applications,” in Proceedings of the American Control Conference (ACC '10), pp. 5024–5030, Baltimore, Md, USA, July 2010. View at: Google Scholar
 N. Kim, S. Cha, and H. Peng, “Optimal control of hybrid electric vehicles based on Pontryagin's minimum principle,” IEEE Transactions on Control Systems Technology, vol. 19, no. 5, pp. 1279–1287, 2011. View at: Publisher Site  Google Scholar
 F. Fahrooa and I. Ross, “Costate estimation by a Legendre pseudospectral method,” Journal of Guidance Control Dynamics, vol. 24, no. 2, pp. 270–277, 1998. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2016 Hanbing Wei 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.