원시데이터 수집 시스템
선정목록으로

Integrated Thermal Management of Electric Vehicles Based on Model Predictive Control With Approximated Value Function

간접 관련 모빌리티 소재 · (3) 자동차 인테리어 소재 (4) 카시트 모듈

기본 정보

저자
  1. Youyi Chen — Mechanical Engineering, University of Michigan–Dearborn, Dearborn, MI, USA
  2. Kyoung Hyun Kwak — Mechanical Engineering, University of Michigan–Dearborn, Dearborn, MI, USA
  3. Jaewoong Kim — Hyundai-Kia Motor Company, Hwaseong-si, Gyeonggi-do, South Korea
  4. Dohoy Jung — Mechanical Engineering, University of Michigan–Dearborn, Dearborn, MI, USA
  5. Youngki Kim — Mechanical Engineering, University of Michigan–Dearborn, Dearborn, MI, USA
DOI
10.1109/access.2024.3393409
저널
IEEE Access
발행년도
2024
발행기관
Institute of Electrical and Electronics Engineers
피인용수
1
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2024.3393409
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4395069519

평가 내용

관련도
간접 관련
사업분야
모빌리티 소재 · (3) 자동차 인테리어 소재
부 분야
(4) 카시트 모듈
R&D 측면
부품·응용 설계
확신도
0.80
근거 용어
thermal management system, electric vehicles, HVAC, battery thermal regulation, model predictive control
판단 근거
본 논문은 전기차의 에너지 효율을 높이기 위한 통합 열관리 시스템(TMS)의 제어 알고리즘(MPC)을 다루고 있습니다. 이는 코오롱인더스트리의 직접적인 소재 연구는 아니나, 자동차 인테리어 및 카시트 모듈(3, 4) 등 모빌리티 부품이 적용되는 상위 시스템의 열관리 및 에너지 최적화 설계 원리와 관련이 있습니다.
R&D 활용 포인트
전기차용 모빌리티 소재 개발 시, 차량 내부 온도 제어 및 배터리 열관리 시스템의 요구 조건(열적 안정성, 에너지 효율)을 고려한 소재 설계 및 성능 평가 가이드라인으로 활용 가능합니다.
평가 입력
본문 96,560자 중 30,032자 발췌

초록

The thermal management system (TMS) in electric vehicles (EVs), including climate control and battery thermal regulation, consumes more energy than any other auxiliary components. Therefore, optimizing TMS control is crucial for enhancing EV driving range. However, the complexity of the TMS, described by a differential algebraic system, poses challenges for real-time optimal control. This study proposes model predictive control (MPC)-based solutions for integrated TMS operation in EVs. An optimal thermal management problem is formulated using economic nonlinear MPC (NMPC), and its performance is evaluated. To reduce computational load, an approximated value function (VF) is introduced based on the economic NMPC results. A linear-time-varying MPC (LTV-MPC) with the approximated VF is proposed for real-time implementation using quadratic programming, and through simulations it is compared with the baseline NMPC controller and a rule-based (RB) controller. Results reveal that the LTV-MPC with an approximated VF performs similarly to NMPC while offering slightly compromised cooling performance. It also significantly reduces the computational time by a factor of 10 <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">4</sup> compared with NMPC owing to the short prediction horizon enabled by the approximated VF. Furthermore, when compared with the RB controller, the proposed LTV-MPC achieves energy savings in the range of 22.3% to 29.8%.

본문 96,560자

본문 펼치기
Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000. _Digital Object Identifier 10.1109/ACCESS.2017.DOI_ ## Integrated Thermal Management of Electric Vehicles Based on Model Predictive Control with Approximated Value Function YOUYI CHEN <sup>1</sup> , KYOUNG HYUN KWAK <sup>1</sup> , JAEWOONG KIM <sup>2</sup> , DEWEY DOHOY JUNG <sup>1</sup> , and YOUNGKI KIM <sup>1</sup> (Senior Member, IEEE). 1Mechanical Engineering, University of Michigan-Dearborn, Dearborn, MI 48128, USA (e-mail: {youyic, khkwak, dohoy, youngki}@umich.edu). 2Hyundai-kia Motor Company, Hwaseong-si, Geyonggi-do 18280, Korea (e-mail: neo@hyundai.com) Corresponding author: Youngki Kim (e-mail: youngki@umich.edu). The authors from the University of Michigan-Dearborn would like to acknowledge the technical and financial support of the Hyundai-Kia Motor Company. ABSTRACT The thermal management system (TMS) in electric vehicles (EVs), including climate control and battery thermal regulation, consumes more energy than any other auxiliary components. Therefore, optimizing TMS control is crucial for enhancing EV driving range. However, the complexity of the TMS, described by a differential algebraic system, poses challenges for real-time optimal control. This study proposes model predictive control (MPC)-based solutions for integrated TMS operation in EVs. An optimal thermal management problem is formulated using economic nonlinear MPC (NMPC), and its performance is evaluated. To reduce computational load, an approximated value function (VF) is introduced based on the economic NMPC results. A linear-time-varying MPC (LTV-MPC) with the approximated VF is proposed for real-time implementation using quadratic programming, and through simulations it is compared with the baseline NMPC controller and a rule-based (RB) controller. Results reveal that the LTV-MPC with an approximated VF performs similarly to NMPC while offering slightly compromised cooling performance. It also significantly reduces the computational time by a factor of 10 <sup>4</sup> compared with NMPC owing to the short prediction horizon enabled by the approximated VF. Furthermore, when compared with the RB controller, the proposed LTV-MPC achieves energy savings in the range of 22.3% to 29.8%. INDEX TERMS Electric vehicle; thermal management; model predictive control; heating, ventilation, and air-conditioning control. Nomenclature Symbols ∆ _ω_ Absolute humidity difference (inlet - outlet) _m_ ˙ Mass flow rate [kg/s] _Q_ ˙ Heat transfer rate [W] _ϵ_ Heat exchanger effectiveness _V_ ˆ Approximated Value function _ω_ Weighing factor _τ_ Time constant _A_ Surface area [m <sup>2</sup> ] _C_ Heat capacity [J/K] _cp_ Specific heat capacity [J/kg-K] _Dh_ Hydraulic diameter of coolant channel [m] _h_ Specific enthalpy [J/kg] _Ibat_ Battery current [A] _J_ Cost function _kc_ Thermal conductivity [W/m-K] _kdoor_ Ratio of the air mass flow rate of inner condenser to the total flow rate _L_ Stage cost function _m_ Mass [kg] _Np_ Number of prediction steps _Nu_ Nusselt number _Pbat_ Battery power [W] _Rbat_ Internal resistance [Ω] _T_ Temperature [°C] _t_ Time [s] _U_ Overall heat transfer coefficient [W/m <sup>2</sup> -K] _Uoc, Ubat_ Open circuit voltage, terminal voltage [V] _V_ Value function _vveh_ Vehicle speed [km/h] _x, u, d_ State, control, disturbance Subscripts/Superscripts _a, c, r_ Air, coolant, refrigerant _amb_ Ambient _bat_ Battery _blwr_ Blower _cab_ Cabin air _chlr_ Chiller _comp_ Compressor _cond, c_ Condenser _evap, e_ Evaporator _ewp_ Electric water pump _fan_ Fan _htr_ Electric heater _ic_ Inner condenser _in, out_ Inlet, outlet _int_ Interior _lb, ub_ Lower bound, upper bound _solar_ Solar heat load _str_ Cabin structure I. INTRODUCTION _A._ _BACKGROUND_ HE market share of electric vehicles (EVs) has been growing rapidly during the past five years and is pro# T jected to be up to 25% in 2030, according to a report by the International Energy Agency (IEA) [1]. Although EVs are nowadays familiar to and accepted by customers, the driving range remains one of the concerns for EV buyers [2]. As pointed out by Khoury _et_ _al._ [3], the thermal management system (TMS) of EVs, including the heating, ventilation, and air-conditioning (HVAC) system and the battery TMS, accounts for the most significant energy consumption among all auxiliary components. According to a study by Bellocchi _et al._ [4], the energy consumed by the HVAC system can decrease the driving range of EVs by up to 30–40%, especially in hot weather conditions. On the other hand, the efficiency and lifespan of the battery system are highly dependent on the operating temperature, with the ideal range being around 25–40 °C [5]. Depending on the type of EV, the battery TMS has various configurations, including air-based and liquid-based types [6]. With the increasing size of modern EV batteries, a liquidbased battery TMS becomes necessary to provide much higher heat capacity and thermal conductivity. Compared with an air-based battery TMS, a liquid-based battery TMS can be up to 3500 times more efficient [6]. However, a liquidbased structure is more complicated, especially when the thermal dynamics of a liquid coolant are coupled with the refrigerant circuit of an HVAC system. Considering the high energy consumption of the HVAC system, the temperature sensitivity of the battery system, and the highly coupled thermal dynamics between them, it is essential to develop energy-efficient management strategies that consider both the HVAC and battery cooling systems. This holistic approach is crucial for achieving optimal vehicle thermal management and maximizing driving range performance. On the other hand, model predictive control (MPC) has been gaining popularity for EV controllers, especially with the advancement of connected and autonomous vehicle (CAV) technology enabled by vehicle-to-infrastructure (V2I) and vehicle-to-vehicle (V2V) communications [7], [8]. With these communications, the ego vehicle is aware of the driving environment and the travel plans of other vehicles on the road. Taking that information into consideration, the ego vehicle can decide its optimal travel plan, including the speed profile and energy management. Therefore, the speed profile and the corresponding thermal load of the EV TMS can be predicted with decent accuracy, which makes predictive control algorithms realistic. Economic MPC has especially been drawing much attention for the energy-efficient optimal control of thermal systems [9]–[11]. In the operation of an economic MPC controller for a thermal system, optimal control is achieved by minimizing an economic or performance cost by exploring states and controls within a prediction horizon, where the cost function evaluates energy consumption and thermal regulation. Considering the various driving conditions and the corresponding varying thermal management demands, it is necessary to have a real-time-implementable optimal control methodology for the EV TMS. However, performing such an optimization process in real time is still challenging, especially for the highly nonlinear EV TMS. Therefore, adequately reducing the computational cost of the MPC algorithms is essential. _B._ _LITERATURE REVIEW_ Several studies have proposed approaches to reducing the computational burden of MPC algorithms for vehicle thermal management applications. Some of them focused on the HVAC system. Wang _et al._ [12], [13] developed a nonlinear model predictive control (NMPC) algorithm for vehicle thermal management by utilizing setpoints of the A/C system as control inputs. The algorithm is based on a phenomenological model and serves as a high-level controller to determine the control settings of the HVAC control panel. However, the algorithm does not account for the optimal control of the refrigerant cycle components. Glos _et_ _al._ [14] proposed an NMPC for an EV HVAC system. In their MPC algorithm, the heat transfer rate from the refrigerant cycle is considered as a control input, which significantly reduces the computational load as it avoids the need to compute the two-phase flow heat transfer. However, similar to the controllers mentioned earlier [12], [13], this NMPC has a limitation in that it does not optimize the control of individual A/C components such as the compressor and the fan. Kibalama _et al._ [15] developed an NMPC controller for the HVAC system of EVs that reduces the computational demand by neglecting the cabin model. The refrigerant circuit is modeled by refrigerant pressures only, and the computational burden is further reduced by 2 VOLUME 4 2016 shortening the prediction horizon with an approximated value function. While these MPC approaches effectively reduce the computational cost, it is important to note that they focus solely on the HVAC system and do not consider other components of the vehicle thermal management system. Indeed, the MPC methodology has been applied to liquidcooled battery TMS as well. Lopez-Sanz _et_ _al._ [16] developed an NMPC algorithm for battery thermal management based on a comprehensive physical model of the system. However, solving the nonlinear optimal control problem with ten state variables is computationally demanding and not suitable for real-time applications. Zhu _et al._ [17] developed an iterative algorithm that combines dynamic programming (DP) and MPC for an EV battery TMS. This algorithm considers the cooling of the battery using both cold air and liquid coolant. The control inputs in this approach are the inlet air and coolant temperature set-points, which require other control algorithms for regulation. Park and Ahn [18] developed a stochastic MPC for an EV battery TMS. In this controller, the refrigerant dynamics are determined by the compressor only, while the impact of the condenser fan is neglected. Consequently, the operational range of the refrigerant system is constrained within the prediction horizon of the MPC. Piao _et_ _al._ [19] proposed a hierarchical MPC approach for an EV battery TMS. The algorithm uses the rate of heat transfer by the refrigerant system as the sole control variable while neglecting the refrigerant dynamics. Thus, additional control algorithms are required for regulating individual components. It is important to note that these studies have not considered the coupling between the HVAC and battery TMS, which is a crucial aspect to consider in the development of a comprehensive control strategy. Compared with real-time MPC algorithms that focus solely on either HVAC systems or battery TMS, there are fewer published works on applications involving the integration of both systems. Glos _et al._ [20] developed a hybrid MPC approach for an EV TMS. For simplicity, the refrigerant system was simplified to a coefficient of performance model that considers the refrigerant temperature. However, the overall system remains complicated and the developed MPC algorithm focuses on mode selection only. In the work by Zhao _et al._ [21], a real-time hierarchical MPC approach is proposed for an integrated TMS that includes an HVAC system and an air-based battery TMS. Despite the hierarchical structure of the controller, the lower-level controller still uses setpoints of the A/C system as control inputs. Consequently, additional controllers are required to regulate the fan and compressor operations. Furthermore, the air-cooled battery cooling structure is designed for hybrid electric vehicles (HEVs) with relatively small battery sizes. As mentioned earlier, this type of cooling system may not be sufficient for battery EVs that have large battery packs. Amini _et_ _al._ [22] developed a real-time hierarchical MPC approach for an integrated TMS that includes an HVAC system and an air-liquidbased battery TMS. Similar to the work by Zhao _et al._ [21], this approach uses setpoints of the A/C system as control inputs and incorporates the overall heat rejection rate of the battery TMS as an additional control input. It should be noted that when controlling components based on temperature or energy levels in a hierarchical manner, additional controllers are needed, potentially resulting in compromised optimality. Considering the complexity of an integrated EV TMS, an NMPC controller with a reduced model can still be computationally expensive for real-time applications. Besides model reduction, several techniques have been studied in the literature for faster computations. One technique is using linear MPC with a quadratic cost function, which can accelerate the computation through quadratic programming (QP), as many fast QP solvers have been developed for online implementation [23], [24]. Typically, a highly nonlinear vehicle TM model is converted into a linear model via linearization around a fixed point [25]–[28]. In HVAC applications, linear MPCs show comparable temperature tracking and energysaving performance against NMPCs, while reducing computational time by up to 10 to 15 times [25]. However, in the previously published studies [25]–[28], linearized models remain the same within the prediction horizon, referred to as linear-time-invariant (LTI) MPC. In transient cases where state and control trajectories vary significantly, the prediction accuracy can be compromised [29]. Therefore, a linear-timevarying (LTV) MPC based on successive online linearizations within the prediction horizon can be used to enhance the quality of the prediction and the performance of QP-based algorithms. To the best of the authors’ knowledge, there have been relatively few applications of LTV-MPC in the field of TMS, especially when considering complex refrigerant circuits and their physics. In our previous work, we demonstrated the efficacy of physics-based modeling of various EV TMS problems utilizing an ideal vapor compression cycle in both NMPC and LTV-MPC [30]–[32]. In [33] we expanded these works and developed a physics-based control-oriented model of HVAC and battery cooling systems. Besides linearization, the approximation of a cost-to-go function has been proven effective in accelerating MPC computation. In the studies by Park and Ahn [18] and Kibalama _et_ _al._ [15], the cost-to-go values obtained from the DP solutions are approximated to a data-driven function of state variables and disturbances, which allows for a significant reduction in the prediction horizon. However, this approach is applied to HVAC-only systems or battery-only systems and remains to be validated in more complicated integrated TMS applications. _C._ _RESEARCH SCOPE AND CONTRIBUTIONS_ Summarizing the aforementioned literature, real-time energy-efficient thermal management for an integrated EV TMS remains a challenge, and the existing literature has the following two limitations: (i) there is a lack of a controller design considering both an HVAC system and a liquidbased battery cooling system; (ii) the thermal dynamics of the refrigerant system, especially of the two-phase heat exchangers, are typically omitted. To tackle this challenge, this VOLUME 4 2016 3 RMSE=5.40 kJ/kg R <sup>2</sup> =0.8951 ℎ?,??????? Comp ??? <u>?ሶ</u> <u>????</u> ~~+?~~ <sup>ሶ</sup> ?? <u>ℎ</u> ~~?,????~~ ??? ሶ??,??? ???? <u>??,???????</u> <u>?,???????</u> <u>??,????</u> <u>??,???????</u> TXV <u>EXV</u> <mark>?</mark> ሶ ?,???? Chiller Pump Blend door Battery pack ~~?~~ ሶ ???? To the cabin Refrigerant flow (high/low pressure) Coolant flow Air flow ሶ ℎ?,?????? ℎ?,??????? ሶ??ℎ?? ሶ??ℎ?? FIGURE 1: A schematic diagram of the considered thermal management system paper proposes MPC-based control approaches, including an NMPC and an LTV-MPC with an approximated value function. Particularly, the integrated system encompasses an HVAC system and a liquid-based battery TMS, and these control approaches are designed to minimize the energy consumption of the integrated TMS while simultaneously regulating the battery temperature and the evaporator outlet air temperature. The main contribution of this paper is twofold: 1) An economic NMPC controller and a QP-based LTVMPC controller are proposed based on the nonlinear physics-based EV TMS model developed in our previous work [33]. 2) An approximated value function is developed based on the calibrated economic NMPC and implemented in the LTV-MPC controller, allowing for the use of a short prediction horizon, which leads to a significant reduction in computation. _D._ _OUTLINE OF SUBSEQUENT SECTIONS_ The rest of the paper is organized as follows: Section II details the modeling of the integrated thermal management system of the considered EV. Section III presents the development of the economic NMPC and LTV-MPC controllers, including the development of the cost function and constraints as well as the tuning weights. In addition, the development of the approximated value function is provided in this section. Section IV discusses the comparison of the simulation results between the long-horizon economic NMPC, the short-horizon LTV-MPC, and the RB controller under three different driving cycles. Finally, concluding remarks and discussion on future directions are given in Section V. II. THERMAL MANAGEMENT SYSTEM MODELING This section presents the modeling approaches used to capture the dynamic behavior of the integrated TMS, which is adopted from our previous work [33], for the purpose of MPC design. The EV considered in this study is equipped with a Enthalpy (kJ/kg) (a) (b) FIGURE 2: (a) Ideal vapor-compression cycle and (b) ∆ _hcomp_ regression 150 kW traction motor and a 64 kWh Li-ion battery pack. Figure 1 illustrates the schematic diagram of the integrated TMS, consisting of a refrigerant circuit and a battery coolant circuit. The system includes four heat exchangers: an evaporator, an inner condenser, an outdoor condenser, and a battery chiller. This TMS enables a battery cooling mode, a cabin cooling mode with reheating <sup>1</sup>, and a heat pump mode in cold weather conditions [34]. In this specific refrigerant circuit structure, the inner condenser and the outdoor condenser are arranged in series, while the battery chiller and the evaporator are arranged in parallel. For this study, the focus lies on a scenario where the TMS performs cabin cooling and battery cooling simultaneously. The cooled air from the evaporator is delivered to the cabin by a blower. Since the A/C system is kept running to regulate the evaporator at a low temperature for odor avoidance, an electric heater is utilized to warm up the cooled air and prevent cabin overcooling. The cabin air is re-circulated to the evaporator, and its rate is controlled by a re-circulation door. The modeling details of the studied TMS are discussed in the following subsections. It is noted that the unknown parameters of the control-oriented model are identified by using a high-fidelity MATLAB/Simulink <sup>®</sup> plant model that was developed based on the previous studies [35], [36] as a virtual testbed. _A._ _REFRIGERANT CIRCUIT MODEL_ The control-oriented model of the refrigerant system is derived based on an ideal vapor-compression (VC) cycle, as shown in Fig. 2 (a). Its effectiveness was demonstrated in our previous works [30]–[33]. This cycle describes the refrigerant at the condenser outlet and the evaporator/chiller outlet as a fully saturated liquid and a fully saturated vapor, respectively. This ideal VC cycle assumption simplifies the modeling process while still capturing the essential dynamics of the refrigerant system. The static equations for the refrig 1The reheating process is enabled by the inner condenser and the positive temperature coefficient (PTC) heater 4 VOLUME 4 2016 erant circuit are shown below: _m_ ˙ _r,comp_ ( _h_ <sup>_out_</sup> <sup>_out_</sup> _r,comp_ <sup>_−_</sup> <sup>_hout_</sup> _r,cond_ <sup>_out_</sup> <sup>) =</sup> <sup>_Q_</sup> <sup>˙</sup> <sup>_cond_</sup> <sup>+</sup> <sup>_Q_</sup> <sup>˙</sup> <sup>_ic,_</sup> (1) _B._ _BATTERY COOLANT CIRCUIT MODEL_ The battery coolant circuit consists of a battery pack, a battery chiller, and an electric pump for the liquid coolant <sup>2</sup> . In the considered working scenario, heat is generated by the battery pack and then rejected through the battery chiller to the refrigerant flow. To reduce the computational burden, the battery thermal dynamics are modeled using the lumpedmass method as follows: _m_ ˙ _r,evap_ ( _h_ <sup>_in_</sup> <sup>_in_</sup> _r,evap_ <sup>_−_</sup> <sup>_hout_</sup> <sup>_in_</sup> _r,chlr_ <sup>_−_</sup> <sup>_h_</sup> _r,chlr_ <sup>_out_</sup> _m_ ˙ _r,chlr_ ( _h_ <sup>_in_</sup> _r,evap_ <sup>_out_</sup> <sup>) =</sup> <sup>_Q_</sup> <sup>˙</sup> <sup>_evap,_</sup> (2) _r,chlr_ <sup>_out_</sup> <sup>) =</sup> <sup>_Q_</sup> <sup>˙</sup> <sup>_chlr,_</sup> (3) _m_ ˙ _r,comp_ = _m_ ˙ _r,evap_ + _m_ ˙ _r,chlr,_ (4) where _h_ <sup>_in_</sup> _h_ <sup>_in_</sup> _r,evap_ <sup>and</sup> <sup>_hout_</sup> _r,evap_ <sup>_out_</sup> _r,evap_ <sup>are</sup> <sup>assumed</sup> <sup>to</sup> <sup>equal</sup> <sup>_hin_</sup> where _h_ <sup>_in_</sup> _r,evap_ <sup>and</sup> <sup>_hout_</sup> _r,evap_ <sup>are</sup> <sup>assumed</sup> <sup>to</sup> <sup>equal</sup> <sup>_hin_</sup> _r,chlr_ <sup>and</sup> _h_ <sup>_out_</sup> _r,chlr_ <sup>, respectively, at static conditions because of the paral-</sup> lel configuration. Additionally, _h_ <sup>_out_</sup> _r,cond_ <sup>equals</sup> <sup>_h_</sup> _r,evap_ <sup>_in_</sup> <sup>under</sup> the adiabatic expansion valve assumption. The specific enthalpy of the refrigerant flow at the compressor outlet, _h_ <sup>_out_</sup> _r,comp_ <sup>,</sup> <sup>is</sup> <sup>calculated</sup> <sup>by</sup> <sup>_hout_</sup> _r,evap_ <sup>and</sup> <sup>the</sup> enthalpy rise at the compressor, ∆ _hr,comp_, as shown in (5). To avoid iterations by the recursive relationship with _Tr,c_ and _Tr,e_, a ∆ _hr,comp_ is regressed to a function of _Tr,c−Tr,e_ under the operating range of the ideal vapor-compression cycle. The performance of the regression model is shown in Fig. 2 (b), and the equations are shown below: _Q_ ˙ _bat_ = _RbatIbat_ <sup>2</sup> <sup>_−_</sup> <sup>_IbatTbat_</sup> _,_ (15) _<u>dTbat</u>_ = _Q_ <sup>˙</sup> _bat −_ _Q_ <sup>˙</sup> _bat_ 2 _c,_ (14) _dt_ <sup>_out_</sup> _r,cond_ <sup>equals</sup> <sup>_hin_</sup> _mbatcp,bat_ <sup>_out_</sup> _r,comp_ <sup>,</sup> <sup>is</sup> <sup>calculated</sup> <sup>by</sup> <sup>_hout_</sup> where _Tbat_ is the average temperature of the battery pack; _mbat_ and _cp,bat_ are the total mass and mass-averaged heat capacity, respectively, of the battery pack, estimated based on the battery cell information. Both reversible and irreversible heat generations are considered in _Q_ <sup>˙</sup> _bat_ . _Q_ <sup>˙</sup> _bat_ 2 _c_ is the heat transfer rate from the battery to the internal coolant flow. _Q_ <sup>˙</sup> _bat_ and _Q_ <sup>˙</sup> _bat_ 2 _c_ are expressed as follows: _<u>dUoc</u>_ _dTbat_ - _Uoc_ <sup>2</sup> _−_ 4 _PbatRbat_ 2 _Rbat_ (16) <sup>_out_</sup> _r,comp_ <sup>=</sup> <sup>_h_</sup> _r,evap_ <sup>_out_</sup> _h_ <sup>_out_</sup> _r,evap_ <sup>_out_</sup> <sup>+ ∆</sup> <sup>_hr,comp,_</sup> (5) _Ibat_ = _Uoc_ _−_ ∆ _hr,comp_ = _f_ ( _Tr,c −_ _Tr,e,_ _m_ ˙ _r,comp_ ) _._ (6) Meanwhile, the heat transfer rates can also be formulated by the heat transfer rate at the air/coolant side with the effectiveness of the heat exchangers: _Q_ ˙ _bat_ 2 _c_ = _UbatAbat_ ( _Tbat −_ _Tc,eff_ ) _,_ (17) _Ubat_ = <sup><u>Nu</u></sup> <sup>_<u>batkc</u>_</sup> _Dh,bat_ _,_ (18) <sup>_out_</sup> _c,bat_ <sup>)</sup> <sup>_,_</sup> (19) _Q_ ˙ _ic_ = _ϵickdoorm_ ˙ _a,blwrcp,a_ ( _Tr,comp_ <sup>_out_</sup> _r,comp_ <sup>_out_</sup> <sup>_−_</sup> <sup>_T out_</sup> _a,e_ _Q_ ˙ _ic_ = _ϵickdoorm_ ˙ _a,blwrcp,a_ ( _Tr,comp_ <sup>_out_</sup> <sup>_−_</sup> <sup>_T out_</sup> _a,e_ <sup>)</sup> <sup>_,_</sup> (7) _Q_ ˙ _cond_ = _ϵcondm_ ˙ _a,fancp,a_ ( _Tr,c −_ _Tamb_ ) _,_ (8) _Q_ ˙ _evap_ = _ϵevapm_ ˙ _a,blwrcp,a_ ( _Ta,blwr_ <sup>_out_</sup> <sup>_−_</sup> <sup>_Tr,e_</sup> <sup>)</sup> _Tc,eff_ = <sup><u>1</u></sup> 2 <sup><u>1</u></sup> 2 <sup>(</sup> <sup>_T in_</sup> _c,bat_ <sup>+</sup> <sup>_T out_</sup> _c,bat_ _a,blwr_ <sup>_out_</sup> <sup>_−_</sup> <sup>_Tr,e_</sup> <sup>)</sup> (9) + _m_ ˙ _a,blwr_ ∆ _ωhw,fg,_ where _Uoc_, _Rbat_, and _Pbat_ are the open-circuit voltage, the internal resistance, and the power of the battery, respectively; _Ubat_, _kc_, and Nu _bat_ are the overall heat transfer coefficient, the thermal conductivity, and the Nusselt number of the coolant flow, respectively; _Abat_ and _Dh,bat_ are the surface area and the hydraulic diameter of the battery coolant channel, respectively; _Tc,eff_ is the effective temperature of the coolant inside the battery channel, which is calculated as the average of _Tc,bat_ <sup>_in_</sup> <sup>and</sup> <sup>_T out_</sup> _c,bat_ <sup>,</sup> <sup>the</sup> <sup>coolant</sup> <sup>temperature</sup> <sup>at</sup> the battery channel inlet and outlet. With _Q_ <sup>˙</sup> _bat_ 2 _c_ calculated with (17), the coolant temperature at the battery outlet is calculated as follows: _Q_ ˙ _chlr_ = _ϵchlrm_ ˙ _c,ewpcp,c_ ( _Tc,bat_ <sup>_out_</sup> <sup>_−_</sup> <sup>_Tr,e_</sup> <sup>)</sup> <sup>_._</sup> (10) It is noted that _ϵevap_ is evaluated based on dry air conditions to capture the sensible heat transfer rate only in the first half of (9). The latent heat transfer rate, resulting from the water condensing at the evaporator, is captured by the absolute humidity change in the second half of (9). The air temperatures are calculated using _Q_ <sup>˙</sup> _ic_ and _Q_ <sup>˙</sup> _evap_ in (7) and (9), as follows: <sup>_in_</sup> _c,bat_ <sup>+</sup> _<u>Q</u>_ ˙ _<u>bat</u>_ <u>2</u> _<u>c</u>_ _m_ ˙ _c,ewpcp,c_ _._ (20) _Tc,bat_ <sup>_out_</sup> _Ta,ic_ <sup>_out_</sup> _a,ic_ <sup>_out_</sup> <sup>=</sup> <sup>_T out_</sup> _a,e_ <sup>_out_</sup> _a,e_ <sup>+</sup> _,_ (11) _<u>Q</u>_ ˙ _<u>ic</u>_ _kdoorm_ ˙ _r,blwrcp,a_ _c,bat_ <sup>_out_</sup> <sup>=</sup> <sup>_T in_</sup> _c,bat_ _Ta,e_ <sup>_out_</sup> _a,e_ <sup>_out_</sup> <sup>=</sup> <sup>_T out_</sup> _a,blwr_ <sup>_out_</sup> _a,blwr_ <sup>_−_</sup> _,_ (12) _<u>Q</u>_ ˙ _<u>evap</u>_ _m_ ˙ _a,blwrcp,a_ Given _Q_ <sup>˙</sup> _chlr_, the heat transfer rate at the battery chiller is calculated with (10), the coolant temperature at the chiller outlet is calculated with a steady-state equation as follows: _T_ <sup>_out_</sup> _a,vent_ <sup>_out_</sup> <sup>=</sup> <sup>_kdoorT out_</sup> _a,ic_ <sup>_out_</sup> _a,ic_ <sup>+ (1</sup> <sup>_−_</sup> <sup>_kdoor_</sup> <sup>)</sup> <sup>_T out_</sup> _a,e_ <sup>_out_</sup> _a,e_ <sup>+</sup> _<u>Q</u>_ ˙ _<u>htr</u>_ _m_ ˙ _a,blwrcp,a_ _._ _Tc,chlr_ <sup>_out_</sup> <sup>_out_</sup> _c,bat_ <sup>+</sup> _<u>Q</u>_ ˙ _<u>chlr</u>_ _._ (21) _m_ ˙ _c,ewpcp,c_ (13) It should be noted that when the battery temperature is below its target temperature, the expansion valve for the chiller is closed. As a result, there is no heat transfer in the battery chiller. In this situation, the refrigerant circuit operates as a normal A/C system. _c,chlr_ <sup>_out_</sup> <sup>=</sup> <sup>_T out_</sup> _c,bat_ The development of the state evolution prediction model based on these energy balance equations is discussed in subsection II-E. 2In the considered system, 50/50 ethylene glycol solution is used as the coolant. VOLUME 4 2016 5 _C._ _CABIN MODEL_ The thermal dynamics of the vehicle cabin are modeled using a lumped parameter method. The cabin air and a pseudo vehicle component, the interior structure, are treated as lumped thermal masses. The interior structure involves heat transfer with the solar radiation ( _Q_ <sup>˙</sup> _solar_ ), the ambient air convection ( _Q_ <sup>˙</sup> _amb_ ), and the interior cabin air convection ( _Q_ <sup>˙</sup> _int_ ). The lumped interior cabin air has heat transfer with the cold air from the evaporator, which is reheated before entering the cabin. The thermal dynamics of the cabin air temperature _Tcab_ and the interior structure temperature _Tstr_ are formulated as follows: _,_ RMSE=415.5 W R <sup>2</sup> =0.9515 FIGURE 3: _Pcomp_ regression model fitted to data generated from a high fidelity compressor model The compressor power consumption is modeled as a static component [37]. The compressor power consumption is expressed as a function of the refrigerant temperature difference between the compressor and evaporator ( _Tr,c_ _−_ _Tr,e_, indicating the pressure ratio) and the refrigerant mass flow rate _m_ ˙ _comp_ . It is noted that a quadratic power consumption term is highly desired for implementing quadratic programming to solve an MPC problem. The function form used in the regression model of the compressor power consumption is shown as follows: <u>1</u> _T_ ˙ _cab_ = _mcabcp,a_ _Q_ ˙ _int_ + _m_ ˙ _a,blwrcp,a_ ( _Ta,vent_ <sup>_out_</sup> _a,vent_ <sup>_out_</sup> <sup>_−_</sup> <sup>_Tcab_</sup> <sup>)</sup> (22) _,_ (23) <u>1</u> _T_ ˙ _str_ = _Cstr_ _Q_ ˙ _solar_ + _Q_ ˙ _amb −_ _Q_ ˙ _int_ _Q_ ˙ _amb_ = ( _a_ 1 _vveh_ + _a_ 2)( _Tamb −_ _Tstr_ ) _,_ (24) _Q_ ˙ _int_ = ( _a_ 3 _m_ ˙ _a,blwr_ + _a_ 4)( _Tstr −_ _Tcab_ ) _,_ (25) where _Ta,vent_ <sup>_out_</sup> <sup>is</sup> <sup>the</sup> <sup>air</sup> <sup>temperature</sup> <sup>at</sup> <sup>the</sup> <sup>vent</sup> <sup>outlet</sup> <sup>com-</sup> puted by (13); _Tamb_ is the ambient temperature; _Q_ <sup>˙</sup> _htr_ is the heat transfer rate from the electric heater to the evaporator outlet airflow; _m_ ˙ _blwr_ is the air mass flow rate of the blower. The mass of the cabin air, the specific heat capacity for the air, and the heat capacity of the structure are denoted by _mcab_, _cp,a_, and _Cstr_, respectively, and _Q_ <sup>˙</sup> _amb_ and _Q_ <sup>˙</sup> _int_, which are functions of the vehicle speed _v_ and the blower air mass flow rate _m_ ˙ _blwr_, respectively, are calculated with the overall thermal conductance. It is noted that _Q_ <sup>˙</sup> _solar_ is considered a constant value in this study. _D._ _POWER CONSUMPTION MODELS_ In this study, three actuators in the EV TMS, which are the compressor, the fan, and the electric coolant pump, are controlled. The power consumption model of each actuator is developed and used in the cost function of the MPC to minimize the energy consumption of the TMS. On the other hand, the blower, the electric heater, and the inner condenser blend door are controlled by RB controllers instead of the MPC. This control scheme is due to the fact that the vent outlet airflow is often manually adjusted by a driver or passengers. Therefore, their power consumption is not considered in the MPC formulation. For the development of the power consumption regression models, datasets covering a wide range of operating conditions are obtained from the high-fidelity MATLAB/Simulink <sup>®</sup> components models. The models are developed based on experimental component performance data provided by the manufacturer. These datasets include various refrigerant inlet and outlet conditions under the ideal vapor-compression cycle assumption for the compressor, the entire speed range under different vehicle speeds for the fan, and the entire speed range with different coolant temperatures for the pump. _Pcomp_ = _a_ 1 _,_ 0( _Tr,c −_ _Tr,e_ ) + _a_ 0 _,_ 1 _m_ ˙ _r,comp_ <sup>2</sup> _r,comp_ <sup>_,_</sup> <sup>(26)</sup> + _a_ 1 _,_ 1 _m_ ˙ _r,comp_ ( _Tr,c −_ _Tr,e_ ) + _a_ 0 _,_ 2 _m_ ˙ <sup>2</sup> where _a_ 1 _,_ 0 = 1 _._ 952, _a_ 0 _,_ 1 = _−_ 3813, _a_ 1 _,_ 1 = 918, and _a_ 0 _,_ 2 = _−_ 1 _._ 337 _×_ 10 <sup>4</sup> . The overall shape of the compressor power consumption dataset is well captured by the model, as shown in Fig. 3. The root mean squared error (RMSE) is 415.5 W, and the normalized RMSE (compared with the maximum power) is 7.49%. Considering that this power consumption model is used only in the MPC, the model shows acceptable performance in obtaining an optimal energy-saving control sequence. Similar to the compressor case, regression models to capture power consumption are developed for the fan and the electric coolant pump based on the datasets covering the entire operating range. To accommodate the implementation of quadratic programming, quadratic equation forms are used for the fan and the pump power consumption, as follows: _Pfan_ = _αfan_ ( ˙ _ma,fan −_ _m_ ˙ <sup>_lb_</sup> _a,fan_ <sup>)2</sup> <sup>_,_</sup> (27) _Pewp_ = _αewpm_ ˙ <sup>2</sup> _c,ewp_ <sup>+</sup> <sup>_βewpm_</sup> <sup>˙</sup> <sup>_c,ewp,_</sup> (28) where _αfan_ is a coefficient expressed as a function of vehicle speed and _m_ ˙ <sup>_lb_</sup> _fan_ <sup>is</sup> <sup>the</sup> <sup>lower</sup> <sup>bound</sup> <sup>of</sup> <sup>the</sup> <sup>fan</sup> <sup>airflow</sup> <sup>rate</sup> with consideration of the ram air effect, both of which are functions of vehicle speed; _αewp_ and _βewp_ are coefficients expressed as functions of liquid coolant temperature. Both fan and coolant pump power consumption models show normalized RMSEs of less than 10% when compared with the dataset. 6 VOLUME 4 2016 _E._ _NONLINEAR PREDICTION MODEL FOR MPC DESIGN_ Combining the equations discussed in the previous subsections, a reduced-order model of the integrated TMS is constructed in the discrete-time domain, serving as the prediction model in the proposed MPC-based controllers, which are further discussed in the following section. The reduced model comprises four state variables _x_ = [ _Tr,c, Tr,e, Tbat, Tc,bat_ <sup>_out_</sup> <sup>]</sup> <sup>_T_</sup> and three control variables _u_ = [ _m_ ˙ _comp,_ _m_ ˙ _fan,_ _m_ ˙ _c,ewp,_ ] <sup>_T_</sup> . In the state equations for _Tr,c_, _Tr,e_, and _Tc,bat_ <sup>_out_</sup> <sup>,</sup> <sup>first-order</sup> filters are applied to capture any unmodeled dynamics. It is worth noting that the effectiveness of introducing a first-order filter was demonstrated in our previous work [30]–[32]. The state equations are then expressed as described in (29) to (32). III. MPC CONTROLLER DEVELOPMENT This section discusses the development of two controllers for the EV TMS: an economic NMPC-based controller and an LTV-MPC-based controller with an approximated value function. The steps of the controller development are covered in the following order: (i) the development of the economic NMPC controller, including the cost function and constraints, is discussed in subsection III-A; (ii) the economic NMPC controller with a long prediction horizon is considered as a baseline and tuned through a parametric study in subsection III-B; (iii) the simulation results of the baseline economic NMPC are analyzed to obtain an approximated value function in subsection III-C; and (iv) the LTV-MPC structure is developed using the approximated value function and expressed in a QP form in subsection III-D. _A._ _ECONOMIC NMPC-BASED CONTROLLER DESIGN_ The integrated EV TMS optimal control problem is formulated as a nonlinear optimization problem, stated as follows: min _k_ =0 <sup>(</sup> <sup>_Pcomp,k_</sup> <sup>+</sup> <sup>_Pfan,k_</sup> <sup>+</sup> <sup>_Pewp,k_</sup> _u_ 0 _,...,uNp−_ 1 <sup>_J_</sup> <sup>= Σ</sup> <sup>_Np−_</sup> <sup>1</sup> II, as expressed with (29)–(32); ∆ _t_ is the step size of the discrete prediction model. The inequality equations are the constraints of the state variables and control variables. The cost function _J_ consists of three power consumption terms, one temperature tracking term, two soft constraint terms, and three penalty terms on the control oscillations. The power consumption terms, _Pcomp,k_, _Pfan,k_, and _Pewp,k_, function as the economic performance costs for the economic MPC and are developed in Section II-D, as shown in (26), (27), and (28). The temperature tracking term _wT aeo_ ( _Ta,e,k_ <sup>_out_</sup> <sup>_−_</sup> _a,e,target_ <sup>_out_</sup> <sup>)2</sup> <sup>regulates</sup> <sup>_T out_</sup> _a,e,k_ <sup>2</sup> _bat,k_ <sup>and</sup> <sup>_wfanϵ_</sup> <sup>2</sup> _a,e,k_ <sup>_out_</sup> <sup>_−_</sup> <sup>_T out_</sup> + _wT aeo_ ( _Ta,e,k_ <sup>_out_</sup> <sup>_out_</sup> _a,e,target_ <sup>)2</sup> <sup>2</sup> _bat,k_ <sup>+</sup> <sup>_wfanϵ_</sup> <sup>2</sup> + _wT batϵ_ <sup>2</sup> _fan,k_ + _w_ ∆ _comp_ ∆˙ _m_ <sup>2</sup> _comp,k_ _comp,k_ + _w_ ∆ _fan_ ∆˙ _m_ <sup>2</sup> _fan,k_ <sup>+</sup> _ewp,k_ <sup>2</sup> <sup>)</sup> <sup>_,_</sup> <sup>2</sup> _fan,k_ <sup>+</sup> <sup>_w_</sup> <sup>∆</sup> <sup>_ewp_</sup> <sup>∆˙</sup> <sup>_m_</sup> <sup>2</sup> s.t. _xk_ +1 = _xk_ + ∆ _t · f_ ( _xk, uk, dk_ ) _,_ _Tbat,k_ _≤_ _Tbat,target_ + _ϵbat,k,_ _m_ ˙ <sup>_lb_</sup> <sup>_lb_</sup> _fan,k_ <sup>_−_</sup> <sup>_ϵfan,k_</sup> <sup>_≤_</sup> <sup>_Tbat,k_</sup> <sup>_≤_</sup> <sup>_m_</sup> <sup>˙</sup> <sup>_ub_</sup> <sup>_ub_</sup> _fan,k_ <sup>+</sup> <sup>_ϵfan,k,_</sup> _Ezoneuk_ _≤_ _Fzone,_ _u_ <sup>_lb_</sup> _k_ <sup>_lb_</sup> _k_ <sup>_≤_</sup> <sup>_uk_</sup> <sup>_≤_</sup> <sup>_uub_</sup> _k_ <sup>_ub_</sup> _k_ <sup>_,_</sup> ∆ _u_ <sup>_lb_</sup> _k_ <sup>_lb_</sup> _k_ <sup>_≤_</sup> <sup>∆</sup> <sup>_uk_</sup> <sup>_≤_</sup> <sup>∆</sup> <sup>_uub_</sup> _k_ <sup>_ub_</sup> _k_ <sup>_,_</sup> where _J_ is the cost function; _Np_ is the number of prediction steps; _xk_ = [ _Tr,c,k, Tr,e,k, Tbat,k, Tc,bat,k_ <sup>_out_</sup> <sup>]</sup> <sup>_T_</sup> <sup>is</sup> <sup>the</sup> <sup>system</sup> state vector; _uk_ = [ ˙ _mcomp,k,_ _m_ ˙ _fan,k,_ _m_ ˙ _ewp,k, ϵfan,k, ϵbat,k_ ] <sup>_T_</sup> is the system control input vector; ∆ _u_ is the system control input increment vector; _dk_ = [ _Tamb, Ta,blwr_ <sup>_out_</sup> <sup>_,_</sup> <sup>_m_</sup> <sup>˙</sup> <sup>_blwr,_</sup> <sup>∆</sup> <sup>_ω,_</sup> _kdoor,_ _Q_ <sup>˙</sup> _htr, vveh, Pbat_ ] <sup>_T_</sup>, is the disturbance vector; _f_ ( _xk, uk,_ _dk_ ) is the nonlinear prediction model developed in Section (27), and (28). The temperature tracking term _wT aeo_ ( _Ta,e,k_ <sup>_out_</sup> <sup>_−_</sup> _Ta,e,target_ <sup>_out_</sup> <sup>)2</sup> <sup>regulates</sup> <sup>_T out_</sup> _a,e,k_ <sup>to its target value. The two soft</sup> constraint terms, _wT batϵ_ <sup>2</sup> _bat,k_ <sup>and</sup> <sup>_wfanϵ_</sup> _fan,k_ <sup>2</sup> <sup>,</sup> <sup>penalize</sup> <sup>the</sup> slack variables of the soft constraints for _Tbat,k_ and _m_ ˙ _fan,k_ . The final three terms penalize the control variable increments to suppress oscillations. It is noted that the same cost function is used for the LTV-MPC developed in subsection III-D, which utilizes an augmented linearized prediction model using control variable increments as control inputs. Therefore, the cost terms penalizing control increments are necessary to ensure a positive definite Hessian matrix for the LTV-MPC. The constraints of the economic NMPC include two soft constraints, a control operation zone, and the lower and upper bounds for the control variables and their increments. The battery temperature is subjected to an upper-bound soft constraint; that is, the battery is controlled below the target temperature. Considering the ram air effect by the vehicle’s frontal structure, the fan’s upper and lower bounds are calculated based on the vehicle speed. A soft constraint is applied to the fan’s bounds to avoid numerical feasibility issues resulting from dramatic changes in vehicle speed. The control operation zone constructs linear constraints that ensure that the refrigerant system operates under the ideal vapor-compression cycle, similar to the approach used in our previous work [30]–[32]. A wide range of refrigerant circuit operation data is generated based on the high-fidelity MATLAB/Simulink component model. The boundaries of the operation zone are represented by five linear equations. The ideal vapor-compression cycle operation zone constraint is expressed in matrix formulation as follows: _Azonem_ ˙ _comp_ + _Bzonem_ ˙ _fan_ + _Czonekdoorm_ ˙ _blwr_ + _Dzone_ _≤_ 0 (33) Finally, the upper and lower bounds of the remaining control variables and their increments are applied to prevent violations of the physical limitations of the system components. It is noted that all the constraints mentioned above are linear inequality constraints and are used in the LTV-MPC controller developed in subsection III-D. _B._ _A PARAMETRIC STUDY OF THE ECONOMIC NMPC_ The economic NMPC controller developed in the preceding subsection has been implemented in a closed-loop simulation. The simulation results of the economic NMPC controller serve as a baseline controller for the LTV-MPC and are analyzed to obtain an approximated value function. To VOLUME 4 2016 7 _τref_ = �1 _−_ <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> - _Tr,c,k_ + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> <u>1</u> _τref_ _τref_ _ϵc,km_ ˙ _fan,kcp,a_ + _m_ ˙ _comp,ka_ 1 - _ϵc,km_ ˙ _fan,kcp,aTamb_ + _m_ ˙ _comp,k_ ( _h_ <sup>_out_</sup> _comp,k_ <sup>_−_</sup> <sup>_b_</sup> 1 <sup>)</sup> _Tr,c,k_ +1 = �1 _−_ <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> _τref_ - _Tr,c,k_ + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> <sup>_out_</sup> _comp,k_ <sup>_−_</sup> <sup>_b_</sup> 1 <sup>)</sup> _−_ _ϵic,kkdoorm_ ˙ _blwrcp,a_ ( _T_ <sup>_out_</sup> _r,comp,k_ <sup>_out_</sup> <sup>_−_</sup> <sup>_T_</sup> _a,e,k_ <sup>_out_</sup> _,_ _a,e,k_ <sup>_out_</sup> <sup>)</sup> _τref_ = �1 _−_ <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> - _Tr,e,k_ + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> <u>1</u> _τref_ _τref_ _ϵe,km_ ˙ _blwrcp,a_ + _m_ ˙ _comp,ka_ 2 + _ϵchlr,km_ ˙ _c,kcp,c_ - _ϵe,km_ ˙ _blwrcp,aTa,blwr_ <sup>_out_</sup> <sup>+</sup> <sup>_m_</sup> <sup>˙</sup> _comp,k_ <sup>(</sup> <sup>_a_</sup> 1 <sup>_T_</sup> _r,c,k_ <sup>+</sup> <sup>_b_</sup> 1 <sup>_−_</sup> <sup>_b_</sup> 2 <sup>)</sup> (29) (30) _Tr,e,k_ +1 = �1 _−_ <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> _τref_ - _Tr,e,k_ + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> _a,blwr_ <sup>_out_</sup> <sup>+</sup> <sup>_m_</sup> <sup>˙</sup> _comp,k_ <sup>(</sup> <sup>_a_</sup> 1 <sup>_T_</sup> _r,c,k_ <sup>+</sup> <sup>_b_</sup> 1 <sup>_−_</sup> <sup>_b_</sup> 2 <sup>)</sup> _a,e,k_ <sup>_out_</sup> <sup>+</sup> <sup>_b_</sup> 3 <sup>) +</sup> <sup>_ϵ_</sup> _chlr,k_ <sup>_m_</sup> <sup>˙</sup> _c,k_ <sup>_c_</sup> _p,c_ <sup>_T_</sup> _c,bat,k_ <sup>_out_</sup> _,_ + _m_ ˙ _blwr_ ∆ _ω_ ( _a_ 3 _Ta,e,k_ <sup>_out_</sup> _c,bat,k_ <u>∆</u> _<u>t</u>_ _Tbat,k_ +1 = _Tbat,k_ + _Mbatcp,bat_ - _Q_ ˙ _bat,k −_ _Ubat,kAbat_ _Tbat,k −_ <sup><u>1</u></sup> 2 2 <sup><u>1</u></sup> <sup>(</sup> <sup>_T_</sup> _c,chlr,k_ <sup>_out_</sup> <sup>+</sup> <sup>_T_</sup> _c,bat,k_ <sup>_out_</sup> - <sup>�</sup> _,_ (31) _c,bat,k_ <sup>_out_</sup> <sup>)</sup> _τbat_ _T_ <sup>_out_</sup> <sup>=</sup> �1 _−_ <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> - _Tc,bat,k_ <sup>_out_</sup> <sup>+</sup> <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> <u>1</u> _τbat_ _τbat_ 2 _m_ ˙ _c,kcp,c_ + _Ubat,kAbat_ �(2 _m_ ˙ _c,kcp,c −_ _Ubat,kAbat_ ) _Tc,chlr,k_ <sup>_out_</sup> <sup>+ 2</sup> <sup>_U_</sup> _bat,k_ <sup>_A_</sup> _bat_ <sup>_T_</sup> _bat,k_ _c,bat,k_ <sup>_out_</sup> +1 <sup>=</sup> �1 _−_ <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> _τbat_ - _T_ <sup>_out_</sup> _c,bat,k_ <sup>_out_</sup> <sup>+</sup> <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> _,_ (32) _c,chlr,k_ <sup>_out_</sup> <sup>+ 2</sup> <sup>_U_</sup> _bat,k_ <sup>_A_</sup> _bat_ <sup>_T_</sup> _bat,k_ where _k_ indicates the timestamp; ∆ _t_ is the discretized time step; _τref_ is the time constant of a first-order low-pass filter applied to _Tr,c_ and _Tr,e_ ; _τbat_ is the time constant of a first-order low-pass filter applied to _Tc,bat_ <sup>_out_</sup> <sup>to</sup> <sup>model</sup> <sup>the</sup> <sup>thermal</sup> <sup>inertia</sup> <sup>of</sup> <sup>the</sup> coolant. determine the optimal weighting factors for the economic NMPC cost function and to evaluate the performance of the economic NMPC controller, a parametric study needs to be conducted. The outlined parametric study aims to identify the optimal combination of the weighting factors for _wT eao_ and _wT bat_, which affect the trade-off in temperature regulation between the refrigerant circuit and the battery coolant circuit. The simulation cases are generated by a full factorial combination of _wT eao_ and _wT bat_ : _wT eao_ _∈{_ 10 _,_ 10 <sup>2</sup> _,_ 2 _._ 5 _×_ 10 <sup>2</sup> _,_ 5 _×_ 10 <sup>2</sup> _,_ 7 _._ 5 _×_ 10 <sup>2</sup> _,_ 1 _×_ 10 <sup>3</sup> _,_ 10 <sup>4</sup> _,_ 10 <sup>5</sup> _},_ _wT bat_ _∈{_ 10 _,_ 10 <sup>2</sup> _,_ 10 <sup>3</sup> _,_ 10 <sup>4</sup> _,_ 10 <sup>5</sup> _}._ In this study, the following parameters of the economic NMPC controller are kept constant for all simulations: _•_ The prediction horizon, _Np_, is 500 s. _•_ The NMPC sampling time, ∆ _t_, is 1 s. _•_ The NMPC update time, ∆ _tup_, is 1 s. _•_ The weighting factor for the slack variable on the fan bounds, _αfan_, is 1 _×_ 10 <sup>9</sup> . _•_ The weighting factors, _α_ ∆ _comp_, _α_ ∆ _fan_, and _α_ ∆ _ewp_, are set at 100, resulting in relatively small values of the corresponding cost function terms compared with the power consumption and temperature tracking terms. _•_ _Ta,e,target_ <sup>_out_</sup> <sup>is set at 6 °C to prevent unpleasant odor from</sup> the evaporator. _•_ _Tbat,target_ is set at 36 °C for the reliable and safe operation of the battery pack. It is noted that the economic NMPC controller is configured with the longest possible prediction horizon given the computational limitations. This baseline controller serves as the basis for the approximated value function and the LTVMPC controller. The parametric study was conducted using (a) ??,???? cooldown time (b) ???? cooldown time (c) Average ?????? (d) ?????? standard deviation FIGURE 4: Influence of weighting factors on cooling performance with UDDS cycle at _Tamb_ of 38 °C both the Urban Dynamometer Driving Schedule (UDDS) driving cycle and the EPA Highway Fuel Economy Test (HWFET) cycle, considering both urban and highway driving conditions. Meanwhile, the vehicle was assumed to be fully soaked at an ambient temperature of 38 °C. As mentioned in Section I, the advancement in CAV technologies enables the prediction of the ego vehicle’s future speed. Therefore, this future speed profile and the corresponding battery heat generation profile of the driving cycle were assumed to be known disturbances in the MPC design. Additionally, the vehicle was assumed to start with the ambient temperature at the initial time of the simulations. For the construction of the economic NMPC controller, MPCTools [38] [39] was used, and the optimal control was solved using the nonlinear 8 VOLUME 4 2016 (a) ??,???? cooldown time (b) ???? cooldown time (c) Average ?????? (d) ?????? standard deviation FIGURE 5: Influence of weighting factors on cooling performance with HWFET cycle at _Tamb_ of 38 °C (a) Total energy consumption (b) Compressor energy consumption (c) Fan energy consumption (d) Pump energy consumption FIGURE 6: Influence of weighting factors on energy consumption with UDDS cycle at _Tamb_ of 38 °C solver “Ipopt” [40] on a desktop computer with a 3.6 GHz processor. The results of the parametric study are presented in the following heat maps. Figures 4(a)–(d) and Figures 5(a)–(d) illustrate the _Ta,e_ <sup>_out_</sup> <sup>cooldown</sup> <sup>time</sup> <sup>(the</sup> <sup>time</sup> <sup>step</sup> <sup>when</sup> <sup>the</sup> _Ta,e_ <sup>_out_</sup> <sup>variation</sup> <sup>is</sup> <sup>below</sup> <sup>0.5</sup> <sup>°C</sup> <sup>for</sup> <sup>the</sup> <sup>following</sup> <sup>100</sup> <sup>s),</sup> the _Tbat_ cooldown time (the time step when _Tbat_ reaches _Tbat,target_ and the expansion valve is closed), the average _Ta,e_ <sup>_out_</sup> <sup>after</sup> <sup>the</sup> <sup>_T out_</sup> _a,e_ <sup>cooldown</sup> <sup>time,</sup> <sup>and</sup> <sup>the</sup> <sup>standard</sup> <sup>devi-</sup> ation of _Ta,e_ <sup>_out_</sup> <sup>after</sup> <sup>the</sup> <sup>_T out_</sup> _a,e_ <sup>cooldown</sup> <sup>time</sup> <sup>in</sup> <sup>two</sup> <sup>driving</sup> cycles. Figures 6(a)–(d) and Figures 7(a)–(d) illustrate the total energy consumption of all three actuators. the energy consumption of the compressor, the energy consumption of the fan, and the energy consumption of the coolant pump. From the heat maps, one can observe that the impact of the (a) Total energy consumption (b) Compressor energy consumption (c) Fan energy consumption (d) Pump energy consumption FIGURE 7: Influence of weighting factors on energy consumption with HWFET cycle at _Tamb_ of 38 °C weighting factor combinations is similar between the two driving cycles in the cooling performance and the energy consumption. As shown in the heat maps, a higher _wT eao_ leads to better temperature tracking performance for _Ta,e_ <sup>_out_</sup> <sup>,</sup> <sup>including</sup> <sup>the</sup> average _Ta,e_ <sup>_out_</sup> <sup>value</sup> <sup>closer</sup> <sup>to</sup> <sup>the</sup> <sup>target</sup> <sup>and</sup> <sup>a</sup> <sup>faster</sup> <sup>_T out_</sup> _a,e_ cooldown time except for the UDDS cycle cases that have _wT eao_ = 10 (too small to reach the _Ta,e_ <sup>_out_</sup> <sup>target). However, a</sup> _a,e_ <sup>_out_</sup> <sup>value</sup> <sup>closer</sup> <sup>to</sup> <sup>the</sup> <sup>target</sup> <sup>and</sup> <sup>a</sup> <sup>faster</sup> <sup>_T out_</sup> _a,e_ _wT eao_ = 10 (too small to reach the _Ta,e_ <sup>_out_</sup> <sup>target). However, a</sup> higher _wT eao_ also results in higher total energy consumption due to increased usage of the compressor and fan. The standard deviation of _Ta,e_ <sup>_out_</sup> <sup>does</sup> <sup>not</sup> <sup>change</sup> <sup>significantly</sup> <sup>unless</sup> _wT eao_ is too small, when _Ta,e_ <sup>_out_</sup> <sup>is</sup> <sup>not</sup> <sup>adequately</sup> <sup>controlled</sup> _wT eao_ is too small, when _Ta,e_ <sup>_out_</sup> <sup>is</sup> <sup>not</sup> <sup>adequately</sup> <sup>controlled</sup> to the target temperature. It is also observed that the usage of the coolant pump is not sensitive to the changes in _wT eao_ . On the other hand, a higher _wT bat_ brings a faster _Tbat_ cooldown time, although the difference is not as significant as _Ta,e_ <sup>_out_</sup> <sup>due</sup> <sup>to</sup> <sup>the</sup> <sup>large</sup> <sup>thermal</sup> <sup>mass</sup> <sup>of</sup> <sup>the</sup> <sup>battery</sup> <sup>pack.</sup> The faster _Tbat_ cooldown time is achieved mainly by a more intense operation of the refrigerant circuit (compressor and fan operation). The coolant pump operation does not change much unless _wT bat_ is as large as 10 <sup>5</sup> . Because of the high usage of the refrigerant circuit by large _wT bat_, the temperature tracking performance is also better with a larger _wT bat_ . On the other hand, a higher _wT bat_ brings a faster _Tbat_ cooldown time, although the difference is not as significant as _Ta,e_ <sup>_out_</sup> <sup>due</sup> <sup>to</sup> <sup>the</sup> <sup>large</sup> <sup>thermal</sup> <sup>mass</sup> <sup>of</sup> <sup>the</sup> <sup>battery</sup> <sup>pack.</sup> _a,e_ <sup>_out_</sup> <sup>after</sup> <sup>the</sup> <sup>_T out_</sup> _a,e_ _a,e_ <sup>_out_</sup> <sup>after</sup> <sup>the</sup> <sup>_T out_</sup> _a,e_ In consideration of the cooling performance of _Ta,e_ <sup>_out_</sup> <sup>and</sup> _Tbat_, as well as the energy consumption with the two driving cycles, the combination of _wT aeo_ = 5 _×_ 10 <sup>2</sup> and _wT bat_ = 10 <sup>3</sup> is selected for the baseline economic NMPC. The selected combination is highlighted with a red box in the heat maps. _C._ _APPROXIMATED VALUE FUNCTION_ In this subsection, the development of a modified approximated value function is discussed. As mentioned in Section I, the approximated cost-to-go method, or the approximated value function, has been proven effective in solving MPC VOLUME 4 2016 9 problems quickly by reducing the prediction horizon. The concept of the approximated value function is based on Bellman’s principle of optimality [41] [42] [43]. In an optimal control problem, the global optimal control sequence for a given time and an initial state is solved via the following equation: Steady state Steady state ??,? −??,?,?????? at 5s (°?) ??,? −???? at 5s (°?) (a) (b) min _u_ <sup>Σ</sup> _k_ <sup>_t_</sup> <sup>+</sup> = <sup>_t_</sup> _t_ <sup>_f_</sup> min _k_ <sup>_t_</sup> <sup>+</sup> = <sup>_t_</sup> _t_ <sup>_f_</sup> <sup>_L_</sup> <sup>(</sup> <sup>_x, u, d, k_</sup> <sup>)</sup> ???? Σ <sup>_t_</sup> _k_ <sup>+</sup> = <sup>_t_</sup> _t_ <sup>_H_</sup> <sup>_t_</sup> _k_ <sup>+</sup> = <sup>_t_</sup> _t_ <sup>_f_</sup> + _tH_ +1 <sup>_L_</sup> <sup>(</sup> <sup>_x, u, d, k_</sup> <sup>)</sup> = min _u_ = min <sup>_t_</sup> _k_ <sup>+</sup> = <sup>_t_</sup> _t_ <sup>_H_</sup> <sup>_L_</sup> <sup>(</sup> <sup>_x, u, d, k_</sup> <sup>) + Σ</sup> <sup>_t_</sup> _k_ <sup>+</sup> = <sup>_t_</sup> _t_ <sup>_f_</sup> (34) where _t_ is the given time step; _tf_ is the length of the entire cycle; _tH_ is the length of the prediction horizon; _L_ is the stage cost function; _x, u, d, k_ are the state vector, control vector, disturbances vector, and the time step, respectively. According to the definition of the cost-to-go, (34) is equivalent to the following equation: Σ <sup>_t_</sup> _k_ <sup>+</sup> = <sup>_t_</sup> _t_ <sup>_H_</sup> FIGURE 8: Trajectories of cost-to-go values obtained over the prediction horizon from 5 s to 500 s with respect to (a) _Tr,e −_ _Tr,e_ <sup>_target_</sup> and (b) _Tr,c −_ _Tamb_ at every 5 seconds in the prediction horizon battery temperatures and combinations of initial refrigerant temperatures, as follows: _Tbat,_ 0 = _Tamb_ _∈{_ 24 _,_ 32 _,_ 34 _,_ 36 _,_ 37 _,_ 38 _,_ 39 _,_ 40 _,_ 42 _},_ [ _Tr,c,_ 0 _, Tr,e,_ 0] _∈{_ [20 _, −_ 10] _,_ [20 _,_ 20] _,_ [40 _, −_ 10] _,_ [40 _,_ 20] _,_ [40 _,_ 40] _,_ [60 _, −_ 10] _,_ [60 _,_ 20] _,_ [60 _,_ 40] _,_ [80 _, −_ 10] _,_ [80 _,_ 20] _,_ [80 _,_ 40] _}._ Based on the simulation results, a value function has been developed to approximate the cost-to-go of the economic NMPC from 5 s to 500 s in the prediction horizon. After analyzing the cost-to-go data, three variables were found to have a large impact on the cost-to-go value: _Tr,c_, _Tr,e_, and _NEXV_, the latter representing the closing time step of the electric expansion valve to shut down the battery chiller when _Tbat_ drops below its target. Figures 8(a) and (b) show the trajectories of the costto-go values of the 99 cases (obtained over the prediction horizon from 5 s to 500 s) over the entire simulation with respect to _Tr,c_ and _Tr,e_, respectively, at every 5 seconds in the prediction horizon. It is observed that the cost-to-go value decreases as both _Tr,c_ and _Tr,e_ approach their steady-state temperatures. At steady state, _Tr,c_ has a close relationship with the ambient temperature _Tamb_, while _Tr,e_ reaches its target. On the other hand, the cost-to-go value decreases as _NEXV_ decreases. This is because when _Tbat_ reaches its target at _NEXV_, the cost terms associated with _Tbat_ become zero for the rest of the prediction. It is important to note that, since the approximated value function cannot utilize the MPC model for long-horizon _Tbat_ predictions, _NEXV_ has to be estimated by _Tbat_ projections. The future trajectory of _Tbat_ is first computed based on the averaged gradient derived from data stored over the past 30 seconds. The estimated closing time step, _N_ <sup>˜</sup> _EXV_, is determined as the point at which the future _Tbat_ reaches the target temperature. It is noted that _N_ <sup>˜</sup> _EXV_ is limited between 0 s and 500 s, considering that the prediction horizon of the baseline economic NMPC controller is 500 s. Since _NEXV_ affects the chiller operation and subsequently _Tr,e_, a term involving _N_ <sup>˜</sup> _EXV_ is used as a multiplier for the _Tr,e_ term in the data-driven function. Additionally, this _N_ <sup>˜</sup> _EXV_ -related multiplier should remain positive throughout the entire simulation. Since the approxi min _u_ min <sup>_t_</sup> _k_ <sup>+</sup> = <sup>_t_</sup> _t_ <sup>_H_</sup> <sup>_L_</sup> <sup>(</sup> <sup>_x, u, d, k_</sup> <sup>) +</sup> <sup>_V_</sup> <sup>(</sup> <sup>_x_</sup> <sup>(</sup> <sup>_t_</sup> <sup>+</sup> <sup>_tH_</sup> <sup>+ 1)</sup> <sup>_, t_</sup> <sup>+</sup> <sup>_tH_</sup> <sup>+ 1)</sup> (35) where _V_ is a function of the terminal state (with respect to the prediction horizon) and its time step (with respect to the entire cycle), which needs to consider the entire cycle. By having a value function _V_ <sup>ˆ</sup> approximating _V_, the previous equation becomes a sub-optimal formulation: Σ <sup>_t_</sup> _k_ <sup>+</sup> = <sup>_t_</sup> _t_ <sup>_H_</sup> (36) min _u_ min <sup>_t_</sup> _k_ <sup>+</sup> = <sup>_t_</sup> _t_ <sup>_H_</sup> <sup>_L_</sup> <sup>(</sup> <sup>_x, u, d, k_</sup> <sup>) +</sup> <sup>_V_</sup> <sup>ˆ (</sup> <sup>_x_</sup> <sup>(</sup> <sup>_t_</sup> <sup>+</sup> <sup>_tH_</sup> <sup>+ 1))</sup> where _V_ <sup>ˆ</sup> serves as a terminal cost term that considers only the terminal state. As a result, the computation duration is reduced from the entire cycle to the prediction horizon. Typically, the approximated value function is developed based on the DP solution, which provides a global optimal control sequence. Park and Ahn [18] and Kibalama _et_ _al._ [15] both developed data-driven functions to approximate the cost-to-go values of the DP solution in the batterycooling-only or HVAC-only operation scenarios. While DP computation is feasible in the HVAC-only or battery-coolingonly scenarios due to the limited number of state variables, it becomes too intensive for the integrated TMS studied in this paper. Therefore, instead of the solution from DP, the solution from the economic NMPC controller with a sufficiently long prediction horizon is used, as suggested in [44]. The economic NMPC controller described in Section III-A, with the weighting factors tuned in Section III-B, was implemented in simulations with different initial conditions. In each simulation, the stage cost at each prediction step of each NMPC computation was recorded and analyzed. A total of 99 cases were considered, each with different initial 10 VOLUME 4 2016 ???? Normalized Error (%) (a) (b) FIGURE 9: (a) the approximated value function and (b) the histogram of normalized error against collected data mated value function is included as a terminal cost function in a QP problem, a quadratic equation form is used. The developed data-driven approximated value function is shown below: _V_ ˆ = _p_ 1( _Tr,c −_ _Tamb −_ _p_ 2) <sup>2</sup> + _p_ 3( _N_ <sup>˜</sup> _EXV_ + _γ_ )( _Tr,e −_ _Tr,e_ <sup>_target_</sup> ) <sup>2</sup> + _p_ 4 (37) where the calibrated parameters are _p_ 1 = 1096, _p_ 2 = 4 _._ 82, _p_ 3 = 149 _._ 98, and _p_ 4 = 8 _._ 4925 _×_ 10 <sup>5</sup> . Here, _γ_ is introduced to ensure a positive multiplier for the _Tr,e_ term when _N_ <sup>˜</sup> _EXV_ = 0. For simplicity, _γ_ = 1 is used in this study. The cost-to-go value from the data-driven function (37) and its normalized error against data gathered from the simulations are presented in Fig. 9(a) and (b), respectively. The normalized error is calculated using the scale of the maximum cost-to-go value gathered in the simulations. As shown in Fig. 9 (b), the majority of the errors fall between 0 and 2.5%, indicating the effectiveness of (37) and its potential in reducing the prediction horizon. Besides the 99 cases, an additional 44 cases were considered as supplemental simulation data to examine the impact of high initial battery temperatures under relatively low ambient temperature circumstances (e.g., the vehicle is launched after fast charging). The initial temperatures for these simulations are shown as follows: _Tamb_ = 32 _, Tbat,_ 0 _∈{_ 38 _,_ 39 _,_ 40 _,_ 42 _},_ [ _Tr,c,_ 0 _, Tr,e,_ 0] _∈{_ [20 _, −_ 10] _,_ [20 _,_ 20] _,_ [40 _, −_ 10] _,_ [40 _,_ 20] _,_ [40 _,_ 40] _,_ [60 _, −_ 10] _,_ [60 _,_ 20] _,_ [60 _,_ 40] _,_ [80 _, −_ 10] _,_ [80 _,_ 20] _,_ [80 _,_ 40] _}._ TABLE 1: Calibrated parameters of the approximated value function Data set _p_ 1 _p_ 2 _p_ 3 _p_ 4 99 cases 1096 4.64 149.98 8 _._ 4925 _×_ 10 <sup>5</sup> 99 cases with 1453 4.82 145.33 7 _._ 9993 _×_ 10 <sup>5</sup> 44 supplemental cases The calibrated parameters of (37) using the additional data set are provided in Table 1. The error levels of both calibrations are shown to be similar. By incorporating the supplemental simulation data, the parameter _p_ 2, which serves as the target of _Tr,c_, closely aligns with the parameter calibrated from the original data set. Because of the relatively higher battery cooling demand in the supplemental cases, the multipliers _p_ 1 and _p_ 3 need to be adjusted, but they still remain similar to the parameters derived from the original data set. This consistency in calibration denotes that the control target is not sensitive to the difference between the battery temperature and the ambient temperature, indicating that the function form in (37) possibly addresses varying initial battery temperature conditions. _D._ _LTV-MPC DEVELOPMENT AND ITS QP FORM_ In this subsection, the development of the LTV-MPC controller is explained. The key process of the LTV-MPC development is the linearization of the nonlinear model, which will be explained in detail. As the cost function and constraints of the economic NMPC remain the same in the LTV-MPC controller, they are not covered in this subsection. The QP formulation of the LTV-MPC will be presented at the end of this subsection. The nonlinear model discussed in Section II is linearized for the LTV-MPC. At an operating point, ( _xl, ul, dl_ ), in the prediction horizon, the nonlinear model is linearized as follows: _xk_ +1 = _xk_ + ∆ _t_ <sup>_<u>∂f</u>_</sup> _∂xk_ ����( _xl,ul,dl_ ) ( _xk −_ _xl_ ) + ∆ _t_ <sup>_<u>∂f</u>_</sup> _∂uk_ ����( _xl,ul,dl_ ) ( _uk −_ _ul_ ) (38) + ∆ _t · f_ ( _xl, ul, dl_ ) _,_ A sequence of linearization points, _{_ ( _x_ 0 _,k, u_ 0 _,k, d_ 0 _,k_ ) _, . . .,_ ( _xNp−_ 1 _,_ 1 _, uNp−_ 1 _,k, dNp−_ 1 _,k_ ) _}_, is needed when the nonlinear model is linearized by (38). The steps to obtain this sequence of linearization points are summarized as follows: (i) an estimated control trajectory for the _k_ -th step is obtained by shifting the optimal control trajectory at the ( _k −_ 1)th step, _{u_ 0 _,k−_ 1 _, u_ 1 _,k−_ 1 _, . . ., uNp−_ 1 _,k−_ 1 _}_, one step forward to _{u_ 1 _,k−_ 1 _, u_ 2 _,k−_ 1 _, . . ., uNp−_ 1 _,k−_ 1 _, uNp−_ 1 _,k−_ 1 _}_ ; (ii) an estimated states sequence, _{x_ 1 _,k, x_ 2 _,k, . . ., xNp,k}_, is obtained by applying the estimated control trajectory at the _k_ -th step to the _k_ -th states, _x_ 0 _,k_, with the nonlinear model and the updated disturbances; (iii) the estimated state sequence and the estimated control trajectory at the _k_ -th step are combined to form the sequence of linearization points. Since the LTV-MPC shares the same cost function and constraints with the economic NMPC, cost terms and constraints on the rate of control input are included. In the economic NMPC controller structure, the rates of the control inputs are handled by the interface of MPCTools. However, in the QP problem, the rates of the control inputs need to be included to form matrices. Therefore, the system is augmented VOLUME 4 2016 11 to a velocity form by substituting _uk_ with _uk_ = _vk−_ 1 + ∆ _uk_ as follows: _vk−_ 1 = [ ˙ _mcomp,k−_ 1 _,_ _m_ ˙ _fan,k−_ 1 _,_ _m_ ˙ _ewp,k−_ 1 _,_ 0 _,_ 0] <sup>_T_</sup> _,_ ∆ _uk_ = [∆˙ _mcomp,k,_ ∆˙ _mfan,k,_ _m_ ˙ _ewp,k, ϵfan,k, ϵbat,k_ ] <sup>_T_</sup> _._ (39) By replacing _vk−_ 1 with a three-dimensional vector _νk−_ 1 = [ _m_ ˙ _comp,k−_ 1 _,_ _m_ ˙ _fan,k−_ 1 _,_ _m_ ˙ _ewp,k−_ 1] <sup>_T_</sup>, one can eliminate the redundant 0s in _vk−_ 1. Then, the linearization point ( _xl, ul, dl_ ) becomes ( _xl, vl−_ 1 + ∆ _ul, dl_ ), and the linearized original system is expressed as follows: _xk_ +1 = _Akxk_ + _B_ <sup>¯</sup> _kνk−_ 1 + _Bk_ ∆ _uk_ + _δk,_ (40) with with - _T_ _,_ _θ_ = _µ_ = Φ = - _ξ_ 1 _ξ_ 2 _. . ._ _ξNp_ - _D_ 0 _D_ 1 _. . ._ _DNp−_ 1 �∆ _u_ 0 ∆ _u_ 1 _. . ._ ∆ _uNp−_ 1 - _T_ _,_ (44) - _T_ _,_ _Ak_ = ∆ _t_ <sup>_<u>∂f</u>_</sup> _∂xk_ _Ak_ = ∆ _t_ <sup>_<u>∂f</u>_</sup> _Bk_ = ∆ _t_ <sup>_<u>∂f</u>_</sup> _∂uk_ _Bk_ = ∆ _t_ <sup>_<u>∂f</u>_</sup> _B_ ¯ _k_ = ∆ _t_ <sup>_<u>∂f</u>_</sup> _∂νk_ _B_ ¯ _k_ = ∆ _t_ <sup>_<u>∂f</u>_</sup> ����( _xl,ul,dl_ ) ����( _xl,ul,dl_ ) ����( _xl,νl,dl_ ) + _I_ 4 _×_ 4 _,_ _,_ _,_ ����( _xl,ul,dl_ ) _xl_ _δk_ = _−_ ∆ _t_ - _∂u∂fk_ ����( _xl,ul,dl_ ) _ul_ + <sup>_<u>∂f</u>_</sup> _∂xk_ + ∆ _t · f_ ( _xl, ul, dl_ ) _._ By introducing an augmented state vector _ξk_ = [ _xk, νk−_ 1] <sup>_T_</sup>, the augmented system is expressed as follows: _ξk_ +1 = _Aaug,kξk_ + _Baug,k_ ∆ _uk_ + _Dk,_ (41) with - _Bk_ _I_ 3 _×_ 3 03 _×_ 2 _, Dk_ = - _δk_ 03 _×_ 1 _._ where matrices _S_, _M_, and Γ are derived from the LTV prediction model in (40). IV. SIMULATION RESULTS AND DISCUSSION This section presents the performance of the LTV-MPC controller with the approximated value function under four driving cycles: the UDDS, the HWFET, the Worldwide Harmonized Light Vehicles Test Cycle (WLTC), and the US06 Supplemental Federal Test Procedure. It is noted that the UDDS and HWFET cycles were used to calibrate weighting factors as well as to develop the approximated value function, considering both urban and highway driving conditions. Thus, for additional performance validations, the WLTC and US06 cycles were incorporated. Specifically, the WLTC cycle was employed since it was designed to closely simulate real-road driving conditions, accommodating both low and high vehicle speed circumstances. The US06 cycle was used to supplement for aggressive driving conditions. Besides the four driving cycles, two temperature conditions were considered in the evaluation: (i) the vehicle was soaked entirely at an ambient temperature of 38 °C; (ii) the vehicle was exposed to an ambient temperature of 32 °C while the battery temperature was at 38 °C. Combining the four driving cycles and two temperature conditions, a total of eight driving conditions were considered for the controller performance evaluation. The LTV-MPC controller is compared with the baseline economic NMPC controller developed in Section III-A and an RB controller. The LTV-MPC problem is solved by using qpOASES [45]. For a fair computation time comparison between the LTV-MPC and the economic NMPC, both optimal control problems are solved on the same desktop computer with a 3.6 GHz processor. The RB controller is responsible for controlling the compressor speed to meet the desired _Ta,e_ <sup>_out_</sup> <sup>.</sup> <sup>Meanwhile,</sup> <sup>the</sup> <sup>fan</sup> is controlled by a pre-calibrated rule based on the refrigerant pressure at the condenser and on the vehicle speed. The blower operation is adjusted to achieve the desired cabin cooling power in response to thermal loads. Lastly, the inner condenser vent door is controlled to adjust the vent outlet temperature and avoid excessively cold vent outlet air. Figure 10 shows the cooling performance of three controllers under eight different driving conditions. The LTVMPC exhibits a relatively shorter _Ta,e_ <sup>_out_</sup> <sup>but</sup> <sup>a</sup> <sup>longer</sup> <sup>_Tbat_</sup> cooldown time than the economic NMPC, the differences ranging from 10 to 40 s and from 10 to 15 s, respectively. Meanwhile, the LTV-MPC demonstrates a slightly compromised average _Ta,e_ <sup>_out_</sup> <sup>and a slightly higher standard deviation</sup> of _Ta,e_ <sup>_out_</sup> <sup>compared</sup> <sup>with</sup> <sup>the</sup> <sup>economic</sup> <sup>NMPC.</sup> <sup>The</sup> <sup>average</sup> _Ta,e_ <sup>_out_</sup> <sup>by the LTV-MPC ranges from 6.35 to 6.47 °C, deviating</sup> approximately 0.3 to 0.4 °C more from the target value than _Aaug,k_ = - _Ak_ _B_ ¯ _k_ _, Baug,k_ = 03 _×_ 3 _I_ 3 _×_ 3 The linearized augmented system in (41), along with the quadratic cost function and linear inequality constraints, is assembled into the matrices to a QP problem for the LTVMPC: min _U_ ˆ _J_ = _θ_ <sup>_T_</sup> _Qθ_ <sup>˜</sup> + _µ_ <sup>_T_</sup> _Rµ_ <sup>˜</sup> + ˜ _qξθ_ = <sup><u>1</u></sup> 2 <sup>(</sup> <sup>_µT Hµ_</sup> <sup>+ 2</sup> <sup>_qT µ_</sup> <sup>+ ˆ</sup> <sup>_c_</sup> <sup>)</sup> <sup>_,_</sup> s.t. _Gµ ≤_ _W_ + _Eξ_ 0 _,_ (42) where _θ_ and _µ_ are the stacked state vector and control vector; the matrices _Q_ <sup>˜</sup>, _R_ <sup>˜</sup>, and _q_ ˜ are constructed with the weighting factors and parameters from the cost function. By expressing _θ_ with _µ_ as given by (43), the original equation is transformed into a quadratic equation in terms of _µ_ only, with matrices _H_, _q_, and _c_ ˆ. Particularly, _H_ is the Hessian matrix of the QP problem. Similarly, all the linear inequality constraints are stacked and expressed using _µ_ with matrices _G_, _W_, and _E_ . The equation to express _θ_ with _µ_ is given below: _θ_ = _Sµ_ + _Mξ_ 0 + ΓΦ _,_ (43) 12 VOLUME 4 2016 HWFET WLTC 32 ℃ 32 ℃ WLTC US06 32 ℃ 32 ℃ HWFET WLTC 32 ℃ 32 ℃ WLTC US06 32 ℃ 32 ℃ UDDS HWFET WLTC 38 ℃ 38 ℃ WLTC US06 38 ℃ 38 ℃ US06 UDDS 38 ℃ 32 ℃ UDDS HWFET 32 ℃ 32 ℃ UDDS UDDS HWFET 38 ℃ 38 ℃ HWFET WLTC 38 ℃ 38 ℃ WLTC US06 38 ℃ 38 ℃ US06 UDDS 38 ℃ 32 ℃ UDDS HWFET 32 ℃ 32 ℃ 32 ℃ UDDS HWFET 38 ℃ 38 ℃ 32 ℃ (a) ???? Cooldown Time (b) ??,???? Cooldown Time HWFET WLTC 32 ℃ 32 ℃ WLTC US06 32 ℃ 32 ℃ HWFET WLTC 32 ℃ 32 ℃ WLTC US06 32 ℃ 32 ℃ UDDS HWFET WLTC 38 ℃ 38 ℃ WLTC US06 38 ℃ 38 ℃ US06 UDDS 38 ℃ 32 ℃ UDDS HWFET 32 ℃ 32 ℃ UDDS UDDS HWFET 38 ℃ 38 ℃ HWFET WLTC 38 ℃ 38 ℃ WLTC US06 38 ℃ 38 ℃ US06 UDDS 38 ℃ 32 ℃ UDDS HWFET 32 ℃ 32 ℃ 32 ℃ UDDS HWFET 38 ℃ 38 ℃ 32 ℃ (c) Averaged ??,???? (d) ??,???? Standard Deviation FIGURE 10: Simulation results: cooling performance of LTV-MPC-VF, economic NMPC, and RB controller at _Tamb_ of 38 °C and 32 °C HWFET WLTC 32 ℃ 32 ℃ WLTC US06 32 ℃ 32 ℃ HWFET WLTC 32 ℃ 32 ℃ WLTC US06 32 ℃ 32 ℃ UDDS HWFET WLTC 38 ℃ 38 ℃ WLTC US06 38 ℃ 38 ℃ US06 UDDS 38 ℃ 32 ℃ UDDS HWFET 32 ℃ 32 ℃ UDDS UDDS HWFET 38 ℃ 38 ℃ HWFET WLTC 38 ℃ 38 ℃ WLTC US06 38 ℃ 38 ℃ US06 UDDS 38 ℃ 32 ℃ UDDS HWFET 32 ℃ 32 ℃ 32 ℃ UDDS HWFET 38 ℃ 38 ℃ 32 ℃ (a) Total Energy Consumption (b) Compressor Energy Consumption HWFET WLTC 32 ℃ 32 ℃ WLTC US06 32 ℃ 32 ℃ HWFET WLTC 32 ℃ 32 ℃ WLTC US06 32 ℃ 32 ℃ UDDS HWFET WLTC 38 ℃ 38 ℃ WLTC US06 38 ℃ 38 ℃ US06 UDDS 38 ℃ 32 ℃ UDDS HWFET 32 ℃ 32 ℃ UDDS UDDS HWFET 38 ℃ 38 ℃ HWFET WLTC 38 ℃ 38 ℃ WLTC US06 38 ℃ 38 ℃ US06 UDDS 38 ℃ 32 ℃ UDDS HWFET 32 ℃ 32 ℃ 32 ℃ UDDS HWFET 38 ℃ 38 ℃ 32 ℃ (c) Fan Energy Consumption (d) Coolant Pump Energy Consumption FIGURE 11: Simulation results: energy consumption of LTV-MPC-VF, economic NMPC, and RB controller at _Tamb_ of 38 °C and 32 °C the NMPC. The _Ta,e_ <sup>_out_</sup> <sup>standard</sup> <sup>deviation</sup> <sup>by</sup> <sup>the</sup> <sup>LTV-MPC</sup> is around 0.6 _∼_ 0.88 °C, which is slightly higher than the economic NMPC results (0.5 _∼_ 0.7 °C). The temperature tracking performance of the LTV-MPC is slightly affected by linearization and the shortened prediction horizon. However, the LTV-MPC consistently exhibits similar temperature tracking performance to the economic NMPC across all eight driving conditions, significantly outperforming the RB controller. Figure 11 shows the energy consumption performance of the controllers under eight driving conditions. Regarding the total energy consumption of all three controlled actuators, both the LTV-MPC and the economic NMPC consistently achieve significant energy savings in all driving conditions compared with the RB controller. The LTV-MPC exhibits total energy savings ranging from 23.1% to 32.9% compared with the RB controller, and the economic NMPC achieves total energy savings of 17.9% to 27.3% compared with the RB controller. Due to the slightly compromised cooling performance, the LTV-MPC saves more energy than the economic NMPC. When comparing the energy consumption by the individual components of the two MPC controllers, it is observed that the LTV-MPC uses the compressor less but the fan more than the economic NMPC. This difference VOLUME 4 2016 13 <u>6 °C Target</u> <u>Fan bounds</u> <u>(a)</u> 36 °C Target <u>(b)</u> (c) (d) Time (s) (e) <u>(f)</u> <u>(g)</u> (h) <u>(i)</u> Time (s) (j) FIGURE 12: Comparison between LTV-MPC-VF, economic NMPC, and RB controller under the UDDS cycle at _Tamb_ of 38 °C and 32 °C <u>6 °C Target</u> Fan bounds <u>(a)</u> 36 °C Target <u>(b)</u> (c) (d) Time (s) (e) <u>(f)</u> <u>(g)</u> (h) (i) Time (s) (j) FIGURE 13: Comparison between LTV-MPC-VF, economic NMPC, and RB controller under the WLTC cycle at _Tamb_ of 38 °C and 32 °C in component usage is attributed to the shortened prediction horizon of the LTV-MPC. Although the approximated value function is able to estimate the cost value over the long prediction horizon, it does not fully capture the vehiclevelocity-dependent fan operation constraints, which affects the fan operation and condenser heat transfer. Therefore, suboptimal fan operation is observed in the LTV-MPC simulations. However, the LTV-MPC and economic NMPC show very similar coolant pump energy consumption. Figures 12 and 13 provide a comparison of the three controllers under four driving conditions as examples: the UDDS cycle with a _Tamb_ of 38 °C, the UDDS cycle with a _Tamb_ of 32 °C, the WLTC cycle with a _Tamb_ of 38 °C, the WLTC cycle with a _Tamb_ of 32 °C. Similar performance comparisons are observed under the HWFET and the US06 driving cycles. In Figures 12 and 13, the time-series tra jectories of _Ta,e_ <sup>_out_</sup> jectories of _Ta,e_ <sup>_out_</sup> <sup>,</sup> <sup>_Tbat_</sup> <sup>,</sup> <sup>and</sup> <sup>the</sup> <sup>three</sup> <sup>controlled</sup> <sup>actuators</sup> are presented through subplots (a)–(j). It is observed that the LTV-MPC exhibits a very similar _Ta,e_ <sup>_out_</sup> <sup>trajectory</sup> <sup>to</sup> <sup>the</sup> economic NMPC. Although the LTV-MPC cools down _Ta,e_ <sup>_out_</sup> to a relatively steady temperature slightly earlier than the economic NMPC, the LTV-MPC does not control the _Ta,e_ <sup>_out_</sup> as close to the target as the economic NMPC does when _Tbat_ has not reached _Tbat,target_ . This is because the parameter _p_ 2 in the approximated value function, which serves as the target of _Tr,c_, is calibrated with the steady state of the entire driving cycle when _Tbat_ has already reached its target. However, when the battery is cooled down shortly after the evaporator, the LTV-MPC achieves a steady state _Ta,e_ <sup>_out_</sup> <sup>close to the target</sup> as well as the economic NMPC does for the rest of the driving cycle. On the other hand, the RB controller experiences an overshoot of _Ta,e_ <sup>_out_</sup> <sup>, which leads to larger energy consumption</sup> _a,e_ <sup>_out_</sup> <sup>, which leads to larger energy consumption</sup> 14 VOLUME 4 2016 and an oscillating steady state _Ta,e_ <sup>_out_</sup> <sup>with around a 1 °C offset</sup> from the target. Regarding _Tbat_, all three controllers exhibit very similar trajectories because of the large thermal mass of the battery. The difference in _Tbat_ cooldown time among the controllers is less than 10 seconds. Because of the prediction horizon difference, the LTVMPC shows distinct compressor and fan control trajectories. As discussed before, the approximated value function does not resolve the fan operation constraint issue caused by the short prediction horizon. Therefore, a suboptimal fan operation trajectory is observed in the LTV-MPC. This suboptimal fan operation then affects the compressor control, especially during the first 200 s period when the compressor power demand is very high. As a result, the compromised compressor and fan control in the LTV-MPC also leads to a slightly reduced cooling performance. The coolant flow is not sensitive to the cooling performance evaluated by the selected weighting factor combination, and hence both MPC controllers refer to using the minimum allowed coolant flow. On the other hand, the RB controller, which does not consider energy consumption, tends to use the compressor more aggressively before the battery is adequately cooled down. Similarly, the coolant pump is utilized more aggressively, despite the limited battery cooling gain. Moreover, the RB controller does not account for the varying fan operation range due to vehicle speed variation, leading it to maintain a relatively steady fan duty at steady states. This, in turn, results in varying airflow at the condenser. The combination of varying air flow and slightly higher compressor operation at steady state causes an oscillating _Ta,e_ <sup>_out_</sup> <sup>with</sup> <sup>an</sup> <sup>offset</sup> <sup>of</sup> around 1 °C from the target. It is noted that a very short prediction horizon is intentionally used for the LTV-MPC in this study to evaluate the effectiveness of the method. In real practice, the cooling performance of the LTV-MPC can be further improved by utilizing a longer prediction horizon and the corresponding approximated value function based on the available computational power. In summary, all three controllers are able to cool down the battery temperature and stabilize the evaporator air temperature at a reasonable level. However, the economic NMPC and the LTV-MPC show better performance in temperature tracking and energy saving. Comparing the two MPC controllers, it is found that the LTV-MPC has slightly compromised but similar cooling performance compared with the economic NMPC: the difference in _Ta,e_ <sup>_out_</sup> <sup>cooldown</sup> <sup>time</sup> <sup>is</sup> <sup>less</sup> <sup>than</sup> 40 s; the difference in _Tbat_ cooldown time is less than TABLE 2: Comparison of Computational Time of economic NMPC and LTV-MPC Controller Prediction model Prediction horizon Computational time Economic NMPC Nonlinear 500 steps 5.83 s Economic NMPC Nonlinear 5 steps 62.73 ms LTV-MPC Linear 5 steps 0.58 ms 15s; the difference in average _Ta,e_ <sup>_out_</sup> <sup>is</sup> <sup>less</sup> <sup>than</sup> <sup>0.4</sup> <sup>°C;</sup> <sup>the</sup> difference in _Ta,e_ <sup>_out_</sup> <sup>standard</sup> <sup>deviation</sup> <sup>is</sup> <sup>less</sup> <sup>than</sup> <sup>0.88</sup> <sup>°C.</sup> The overall energy-saving difference is less than 6.37%. Notably, compared with the economic NMPC, the LTVMPC significantly improves computational performance, as presented in Table 2. This table shows that the approximated value function significantly reduces the prediction horizon, resulting in approximately 10 <sup>2</sup> times faster computation. The linear prediction model of the LTV-MPC allows for the use of QP, which also accelerates the computation speed by a factor of 10 <sup>2</sup> . Because of these two factors, the average computation time of the LTV-MPC per MPC update can be reduced to 0.58 ms, which is much faster than that of the baseline economic NMPC, 5.83 s. In conclusion, the LTV-MPC with the approximated value function performs comparably to the economic NMPC while reducing the computation time on average by a factor of 10 <sup>4</sup> . V. CONCLUSION This paper proposes an MPC-based control design for an integrated TMS of an EV, including HVAC control and battery TMS control. The first step involves developing a nonlinear model of the integrated EV TMS, as described in our previous work [33]. Based on this nonlinear system model, an economic NMPC with a long prediction horizon is developed and tuned through a parametric study. For real-time implementation, a short-horizon LTV-MPC structure is developed. The prediction horizon of the LTV-MPC is reduced by introducing an approximated value function based on the long-prediction economic NMPC. As a result, the MPC computation is significantly accelerated by converting the original large-dimensional nonlinear optimization problem into a small-dimensional quadratic programming problem. The performance of the LTV-MPC with the approximated value function is evaluated against the baseline economic NMPC and the RB controller. The LTV-MPC demonstrates slightly compromised but similar cooling performance and better energy consumption compared with the baseline economic NMPC. Additionally, the LTV-MPC significantly reduces computational time by approximately 10 <sup>4</sup> times on average, while delivering performance comparable to the baseline economic NMPC. Compared with the RB controller, the LTV-MPC controller achieves energy savings in the range of 23.1 to 32.9%. In this work, we considered four driving cycles and two ambient temperatures in controller development and evaluation. For a more generalized and comprehensive investigation, we plan to include datasets with additional driving cycles and ambient temperatures in our future work. While a static driving environment was considered in this study, in reality, the performance of the EV TMS could be affected by complex and varying environmental conditions. Therefore, we intend in our future work to investigate the impact of variations in environmental factors such as humidity, wind speed, and solar radiation. Additionally, this study assumes that the vehicle speed profile is perfectly known. In future VOLUME 4 2016 15 research, we will explore the influence of speed prediction accuracy on the control performance. Another direction for future research will involve data-driven MPC applications in a comprehensive integrated EV TMS. ACKNOWLEDGMENT The authors from the University of Michigan-Dearborn would like to acknowledge the technical and financial support of the Hyundai-Kia Motor Company. REFERENCES [1] International Energy Agency (IEA), “Global climate change: Vital signs of the planet. https://www.iea.org/data-and-statistics/data-tools/global-evdata-explorer.” [2] D. Pevec, J. Babic, A. Carvalho, Y. Ghiassi-Farrokhfal, W. Ketter, and V. Podobnik, “A survey-based assessment of how existing and potential electric vehicle owners perceive range anxiety,” Journal of Cleaner Production, vol. 276, p. 122779, 2020. [3] G. E. Khoury and D. Clodic, “Method of Test and Measurements of Fuel Consumption Due to Air Conditioning Operation on the New Prius II Hybrid Vehicle,” in SAE Technical Paper 2005-01-2049, pp. 2005–01– 2049, May 2005. [4] S. Bellocchi, G. Leo Guizzi, M. Manno, M. Salvatori, and A. Zaccagnini, “Reversible heat pump hvac system with regenerative heat exchanger for electric vehicles: Analysis of its impact on driving range,” Applied Thermal Engineering, vol. 129, pp. 290–305, 2018. [5] T. M. Bandhauer, S. Garimella, and T. F. Fuller, “A Critical Review of Thermal Issues in Lithium-Ion Batteries,” Journal of The Electrochemical Society, vol. 158, no. 3, pp. R1–R25, 2011. [6] G. Xia, L. Cao, and G. Bi, “A review on battery thermal management in electric vehicle application,” Journal of Power Sources, vol. 367, pp. 90– 105, 2017. [7] E. Hyeon, J. Han, D. Shen, D. Karbowski, N. Kim, and A. Rousseau, “Potential energy saving of v2v-connected vehicles in large-scale traffic,” IFAC-PapersOnLine, vol. 55, no. 24, pp. 78–83, 2022. 10th IFAC Symposium on Advances in Automotive Control AAC 2022. [8] T. Ard, L. Guo, J. Han, Y. Jia, A. Vahidi, and D. Karbowski, “Energy efficient driving in connected corridors via minimum principle control: Vehicle-in-the-loop experimental verification in mixed fleets,” IEEE Transactions on Intelligent Vehicles, vol. 8, no. 2, pp. 1279–1291, 2023. [9] X. Kong, M. A. Abdelbaky, X. Liu, and K. Y. Lee, “Stable feedback linearization-based economic mpc scheme for thermal power plant,” Energy, vol. 268, p. 126658, 2023. [10] T. Rasku, T. Lastusilta, A. Hasan, R. Ramesh, and J. Kiviluoma, “Eco nomic model-predictive control of building heating systems using backbone energy system modelling framework,” Buildings, vol. 13, no. 12, 2023. [11] J. Borja-Conde, J. Nadales, J. Ordonez, F. Fele, and D. Limon, “Efficient management of hvac systems through coordinated operation of parallel chiller units: An economic predictive control approach,” Energy and Buildings, vol. 304, p. 113879, 2024. [12] H. Wang, M. R. Amini, Q. Hu, I. Kolmanovsky, and J. Sun, “Eco-cooling control strategy for automotive air-conditioning system: Design and experimental validation,” IEEE Transactions on Control Systems Technology, pp. 1–12, 2020. [13] H. Wang, Y. Meng, Q. Zhang, M. R. Amini, I. Kolmanovsky, J. Sun, and M. Jennings, “Mpc-based precision cooling strategy (pcs) for efficient thermal management of automotive air conditioning system,” in 2019 IEEE Conference on Control Technology and Applications (CCTA), pp. 573–578, 2019. [14] J. Glos, L. Otava, and P. Václavek, “Non-Linear Model Predictive Control of Cabin Temperature and Air Quality in Fully Electric Vehicles,” IEEE Transactions on Vehicular Technology, vol. 70, no. 2, pp. 1216–1229, 2021. [15] D. Kibalama, Y. Liu, S. Stockar, and M. Canova, “Model predictive control for automotive climate control systems via value function approximation,” IEEE Control Systems Letters, vol. 6, pp. 1820–1825, 2022. [16] J. Lopez-Sanz, C. Ocampo-Martinez, J. Álvarez Flórez, M. Moreno Eguilaz, R. Ruiz-Mansilla, J. Kalmus, M. Gräeber, and G. Lux, “Thermal management in plug-in hybrid electric vehicles: A real-time nmiscar model predictive control implementation,” IEEE Transactions on Vehicular Technology, vol. 66, no. 9, pp. 7751–7760, 2017. [17] C. Zhu, F. Lu, H. Zhang, J. Sun, and C. C. Mi, “A Real-Time Battery Thermal Management Strategy for Connected and Automated Hybrid Electric Vehicles (CAHEVs) Based on Iterative Dynamic Programming,” IEEE Transactions on Vehicular Technology, vol. 67, no. 9, pp. 8077– 8084, 2018. [18] S. Park and C. Ahn, “Model Predictive Control With Stochastically Ap proximated Cost-to-Go for Battery Cooling System of Electric Vehicles,” IEEE Transactions on Vehicular Technology, vol. 70, pp. 4312–4323, May 2021. [19] X. Piao, X. Wang, and K. Han, “Hierarchical model predictive control for optimization of vehicle speed and battery thermal using vehicle connectivity,” IEEE Access, vol. 9, pp. 141378–141388, 2021. [20] J. Glos, F. Solc, L. Otava, and P. Vaclavek, “Hybrid Model Predictive Control for Fully Electric Vehicle Thermal Management System Optimal Mode Selection,” in IECON 2020 The 46th Annual Conference of the IEEE Industrial Electronics Society, pp. 2036–2043, 2020. [21] S. Zhao, A. M. Reza, S. Jing, and M. Chunting, “A Two-Layer Real Time Optimization Control Strategy for Integrated Battery Thermal Management and HVAC System in Connected and Automated HEVs,” IEEE Transactions on Vehicular Technology, vol. 70, no. 7, pp. 6567–6576, 2021. [22] M. R. Amini, I. Kolmanovsky, and J. Sun, “Hierarchical MPC for Robust Eco-Cooling of Connected and Automated Vehicles and Its Application to Electric Vehicle Battery Thermal Management,” IEEE Transactions on Control Systems Technology, vol. 29, no. 1, pp. 316–328, 2021. [23] Y. Wang and S. Boyd, “Fast Model Predictive Control Using misc Op timization,” IEEE Transactions on Control Systems Technology, vol. 18, pp. 267–278, Mar. 2010. [24] A. Bemporad, “A Numerically Stable Solver for Positive Semidefinite Quadratic Programs Based on Nonnegative Least Squares,” IEEE Transactions on Automatic Control, vol. 63, no. 2, pp. 525–531, 2018. [25] S. Schaut and O. Sawodny, “Thermal management for the cabin of a bat tery electric vehicle considering passengers’ comfort,” IEEE Transactions on Control Systems Technology, vol. 28, no. 4, pp. 1476–1492, 2020. [26] D. J. Docimo, H. C. Pangborn, and A. G. Alleyne, “Hierarchical Control for Electro-Thermal Power Management of an Electric Vehicle Powertrain,” in ASME Dynamic Systems and Control Conference, p. V002T19A010, Sept. 2018. [27] Y. Xie, Z. Liu, K. Li, J. Liu, Y. Zhang, D. Dan, C. Wu, P. Wang, and X. Wang, “An improved intelligent model predictive controller for cooling system of electric vehicle,” Applied Thermal Engineering, vol. 182, p. 116084, 2021. [28] J. Prášek, P. Trnka, V. Havlena, and P. McGahan, “Range control MPC with application to Vapor Compression Cycles,” Control Engineering Practice, vol. 96, p. 104309, 2020. [29] M. Pˇcolka, E. Žáˇceková, R. Robinett, S. Celikovský, <sup>ˇ</sup> and M. Sebek, “From Linear to Nmiscar Model Predictive Control of a Building,” IFAC Proceedings Volumes, vol. 47, no. 3, pp. 587–592, 2014. [30] K. H. Kwak, J. Kim, Y. Chen, Y. Kim, and D. Jung, “Economic model pre dictive control of hvac system in electric vehicles,” IFAC-PapersOnLine, vol. 54, no. 20, pp. 852–857, 2021. [31] Y. Chen, K. H. Kwak, J. Kim, Y. Kim, and D. Jung, “Energy-efficient cabin climate control of electric vehicles using linear time-varying model predictive control,” Optimal Control Applications and Methods, vol. 44, no. 2, pp. 773–797, 2023. [32] K. H. Kwak, Y. Chen, J. Kim, Y. Kim, and D. D. Jung, “Thermal comfort conscious eco-climate control for electric vehicles using model predictive control,” Control Engineering Practice, vol. 136, p. 105527, 2023. [33] Y. Chen, K. H. Kwak, J. Kim, D. D. Jung, and Y. Kim, “Control-oriented model of hvac and battery cooling systems in electric vehicles,” IFACPapersOnLine, vol. 55, no. 37, pp. 44–49, 2022. [34] J. Meyer, N. Agathocleous, H. Youmans, H. Williams, T. Vespa, J. Rugh, J. Lustbader, and E. Titov, “Advanced Climate System for EV Extended Range,” Tech. Rep. DOE-Hanon-EE0006445, Hanon Systems, Daejeon (South Korea), Dec. 2017. [35] J. Kim, A Study on Development of Simulation Model and Model-based Predictive Control Algorithm for Electric Vehicle Thermal Management System. Ph.D. Dissertation, Department of Mechanical Engineering, Sejong University, South Korea, July 2019. [36] J. Kim, R. Rodriguez, K. H. Kwak, D. Jung, and Y. Kim, “The Effect of Driver’s Behavior and Environmental Conditions on Thermal Management of Electric Vehicles,” in SAE Technical Paper, 2020. No. 2020-01-1382. 16 VOLUME 4 2016 [37] T. H. Lim, Y. Shin, S. Kim, and C. Kwon, “Predictive control of car refrig eration cycle with an electric compressor,” Applied Thermal Engineering, vol. 127, pp. 1223–1232, 2017. [38] J. A. E. Andersson, J. Gillis, G. Horn, J. B. Rawlings, and M. Diehl, “CasADi - A software framework for nmiscar optimization and optimal control,” Mathematical Programming Computation, vol. 11, pp. 1–36, 2019. [39] M. Risbeck and J. Rawlings, “Mpctools: Nmiscar model predictive control tools for casadi (octave interface).,” 2016. https://bitbucket.org/rawlingsgroup/octave-mpctools. [40] A. Wächter and L. T. Biegler, “On the implementation of an interior point filter line-search algorithm for large-scale nmiscar programming,” Mathematical Programming, vol. 106, no. 1, pp. 25–57, 2006. [41] D. P. Bertsekas, Dynamic programming and optimal control. Belmont, Mass: Athena Scientific, 1995. [42] H. P. Geering, Optimal Control with Engineering Applications. Berlin, Heidelberg: Springer Berlin Heidelberg, 2007. [43] J. B. Rawlings, D. Q. Mayne, and M. Diehl, Model predictive control: the ory, computation, and design. Madison, Wisconsin: Nob Hill Publishing, 2nd edition ed., 2017. [44] D. P. Bertsekas, Reinforcement learning and optimal control. Belmont, Massachusetts: Athena Scientific, 2nd printing (includes editorial revisions) ed., 2019. [45] H. Ferreau, C. Kirches, A. Potschka, H. Bock, and M. Diehl, “qpOASES: A parametric active-set algorithm for quadratic programming,” Mathematical Programming Computation, vol. 6, no. 4, pp. 327–363, 2014. YOUYI CHEN received his B.S. degree from Xi’an Jiaotong University, Xi’an, Shaanxi, China, in 2018, and his M.S. degree in mechanical engineering from the University of MichiganDearborn (UM-Dearborn), Dearborn, MI, USA, in 2020. He is currently pursuing his Ph.D. degree in mechanical engineering at UM-Dearborn. His research interests include optimization and control of vehicular systems, particularly focusing on optimal thermal management for electric vehicles. KYOUNG HYUN KWAK received his B.S. degree from Seoul National University, Korea, in 2008 and the M.S.E and the Ph.D. degrees in mechanical engineering from the University of Michigan, Ann Arbor, MI USA, in 2011 and 2014, respectively. Dr. Kwak is currently an Assistant Research Scientist with the Department of Mechanical Engineering at the University of Michigan-Dearborn. His research interest focuses on thermodynamic systems and their applications in vehicles. In particular, he is interested in looking into modeling and control of vehicle thermal and energy management systems of electric vehicles and internal combustion (IC) engines including cabin climate control, thermal comfort, regenerative braking, cooling systems and IC engine combustion modeling. JAEWOONG KIM received his B.S. and M.S. degrees in automotive engineering from Ulsan University, South Korea, in 2000 and 2003, respectively, and his Ph.D. degree in mechanical engineering from Sejong University, South Korea, in 2020. Currently, he serves in the R&D division as a Global Master at Hyundai-Kia Motor Company. Since 2003, He has been involved in researching and developing optimal control algorithms and a vehicle thermal management system, including HVAC, PE and HV batteries. His research interests include model-based thermal systems, the development of optimal control algorithms, and their application to Software-Defined Vehicle. DEWEY JUNG is a Professor of Mechanical Engineering Department at the University of Michigan-Dearborn. He has over 30 years of academic and professional experiences in mechanical and automotive engineering. He received his Ph.D. degree from the University of Michigan (Ann Arbor campus) in 2001, and B.S. and M.S. degrees from Seoul National University in Korea in 1989 and 1991, respectively. Dr. Jung is the recipient of the Distinguished Research Award from the University of Michigan-Dearborn (2012). His research interests are focused on thermal and fluid sciences and their applications to advanced energy conversion systems in automotive applications including internal combustion engine processes and systems, hybrid/electric powertrain systems, fuel cell systems, vehicle thermal and energy management, solar energy systems, and integration, modeling and simulation of vehicle systems. During his academic career, he has developed over 340 funded grants and contracts with an accumulated budget exceeding 4 million dollars. Additionally, he has authored and co-authored over 60 peer-reviewed journal and conference papers. YOUNGKI KIM (SM’22-) received his B.S. and M.S. degrees from Seoul National University, South Korea, in 2001 and 2003, respectively, and his Ph.D. degree from the University of Michigan, Ann Arbor, MI, USA, in 2014, all in mechanical engineering. He is currently an Associate Professor in the Department of Mechanical Engineering at the University of Michigan-Dearborn (UM-Dearborn), Dearborn, MI, USA. Prior to joining UMDearborn, he held the position of research engineer at the Ann Arbor Technical Center of the Southwest Research Institute from 2015 to 2017. Between 2003 and 2008, he served as a research engineer at Hyundai-Kia Motor Company. His research interests include modeling and estimation/control of electrified powertrain systems, connected and automated vehicles, and energy storage systems. He is an Associate Editor of IEEE Transactions on Transportation Electrification. Dr. Kim is the recipient of the SAE Russell S. Springer award (2019) from SAE International. VOLUME 4 2016 17

섹션 본문 111문단 · 59,477자

(제목 없음)

1The thermal management system (TMS) in electric vehicles (EVs), including climate control and battery thermal regulation, consumes more energy than any other auxiliary components.Therefore, optimizing TMS control is crucial for enhancing EV driving range.However, the complexity of the TMS, described by a differential algebraic system, poses challenges for real-time optimal control.This study proposes model predictive control (MPC)-based solutions for integrated TMS operation in EVs.An optimal thermal management problem is formulated using economic nonlinear MPC (NMPC), and its performance is evaluated.To reduce computational load, an approximated value function (VF) is introduced based on the economic NMPC results.A linear-time-varying MPC (LTV-MPC) with the approximated VF is proposed for real-time implementation using quadratic programming, and through simulations it is compared with the baseline NMPC controller and a rule-based (RB) controller.Results reveal that the LTV-MPC with an approximated VF performs similarly to NMPC while offering slightly compromised cooling performance.It also significantly reduces the computational time by a factor of 10 4 compared with NMPC owing to the short prediction horizon enabled by the approximated VF.Furthermore, when compared with the RB controller, the proposed LTV-MPC achieves energy savings in the range of 22.3% to 29.8%.

2The market share of electric vehicles (EVs) has been growing rapidly during the past five years and is projected to be up to 25% in 2030, according to a report by the International Energy Agency (IEA) [1].Although EVs are nowadays familiar to and accepted by customers, the driving range remains one of the concerns for EV buyers [2].

3As pointed out by Khoury and Clodic [3], the thermal management system (TMS) of EVs, including the heating, ventilation, and air-conditioning (HVAC) system and the battery TMS, accounts for the most significant energy consumption among all auxiliary components.According to a study by Bellocchi et al. [4], the energy consumed by the HVAC system can decrease the driving range of EVs by up to 30-40%, especially in hot weather conditions.On the other hand, the efficiency and lifespan of the battery system are highly dependent on the operating temperature, with the ideal range being around 25-40 • C [5].

4Depending on the type of EV, the battery TMS has various configurations, including air-based and liquid-based types [6].With the increasing size of modern EV batteries, a liquid-based battery TMS becomes necessary to provide much higher heat capacity and thermal conductivity.Compared with an air-based battery TMS, a liquid-based battery TMS can be up to 3500 times more efficient [6].However, a liquid-based structure is more complicated, especially when the thermal dynamics of a liquid coolant are coupled with the refrigerant circuit of an HVAC system.Considering the high energy consumption of the HVAC system, the temperature sensitivity of the battery system, and the highly coupled thermal dynamics between them, it is essential to develop energy-efficient management strategies that consider both the HVAC and battery cooling systems.This holistic approach is crucial for achieving optimal vehicle thermal management and maximizing driving range performance.

5On the other hand, model predictive control (MPC) has been gaining popularity for EV controllers, especially with the advancement of connected and autonomous vehicle (CAV) technology enabled by vehicle-to-infrastructure (V2I) and vehicle-to-vehicle (V2V) communications [7], [8].With these communications, the ego vehicle is aware of the driving environment and the travel plans of other vehicles on the road.Taking that information into consideration, the ego vehicle can decide its optimal travel plan, including the speed profile and energy management.Therefore, the speed profile and the corresponding thermal load of the EV TMS can be predicted with decent accuracy, which makes predictive control algorithms realistic.Economic MPC has especially been drawing much attention for the energy-efficient optimal control of thermal systems [9], [10], [11].In the operation of an economic MPC controller for a thermal system, optimal control is achieved by minimizing an economic or performance cost by exploring states and controls within a prediction horizon, where the cost function evaluates energy consumption and thermal regulation.Considering the various driving conditions and the corresponding varying thermal management demands, it is necessary to have a real-time-implementable optimal control methodology for the EV TMS.However, performing such an optimization process in real time is still challenging, especially for the highly nonlinear EV TMS.Therefore, adequately reducing the computational cost of the MPC algorithms is essential.

B. LITERATURE REVIEW

6Several studies have proposed approaches to reducing the computational burden of MPC algorithms for vehicle thermal management applications.Some of them focused on the HVAC system.Wang et al. [12], [13] developed a nonlinear model predictive control (NMPC) algorithm for vehicle thermal management by utilizing setpoints of the A/C system as control inputs.The algorithm is based on a phenomenological model and serves as a high-level controller to determine the control settings of the HVAC control panel.However, the algorithm does not account for the optimal control of the refrigerant cycle components.Glos et al. [14] proposed an NMPC for an EV HVAC system.In their MPC algorithm, the heat transfer rate from the refrigerant cycle is considered as a control input, which significantly reduces the computational load as it avoids the need to compute the two-phase flow heat transfer.However, similar to the controllers mentioned earlier [12], [13], this NMPC has a limitation in that it does not optimize the control of individual A/C components such as the compressor and the fan.Kibalama et al. [15] developed an NMPC controller for the HVAC system of EVs that reduces the computational demand by neglecting the cabin model.The refrigerant circuit is modeled by refrigerant pressures only, and the computational burden is further reduced by shortening the prediction horizon with an approximated value function.While these MPC approaches effectively reduce the computational cost, it is important to note that they focus solely on the HVAC system and do not consider other components of the vehicle thermal management system.

7Indeed, the MPC methodology has been applied to liquid-cooled battery TMS as well.Lopez-Sanz et al. [16] developed an NMPC algorithm for battery thermal management based on a comprehensive physical model of the system.However, solving the nonlinear optimal control problem with ten state variables is computationally demanding and not suitable for real-time applications.Zhu et al. [17] developed an iterative algorithm that combines dynamic programming (DP) and MPC for an EV battery TMS.This algorithm considers the cooling of the battery using both cold air and liquid coolant.The control inputs in this approach are the inlet air and coolant temperature set-points, which require other control algorithms for regulation.Park and Ahn [18] developed a stochastic MPC for an EV battery TMS.In this controller, the refrigerant dynamics are determined by the compressor only, while the impact of the condenser fan is neglected.Consequently, the operational range of the refrigerant system is constrained within the prediction horizon of the MPC.Piao et al. [19] proposed a hierarchical MPC approach for an EV battery TMS.The algorithm uses the rate of heat transfer by the refrigerant system as the sole control variable while neglecting the refrigerant dynamics.Thus, additional control algorithms are required for regulating individual components.It is important to note that these studies have not considered the coupling between the HVAC and battery TMS, which is a crucial aspect to consider in the development of a comprehensive control strategy.

8Compared with real-time MPC algorithms that focus solely on either HVAC systems or battery TMS, there are fewer published works on applications involving the integration of both systems.Glos et al. [20] developed a hybrid MPC approach for an EV TMS.For simplicity, the refrigerant system was simplified to a coefficient of performance model that considers the refrigerant temperature.However, the overall system remains complicated and the developed MPC algorithm focuses on mode selection only.In the work by Zhao et al. [21], a real-time hierarchical MPC approach is proposed for an integrated TMS that includes an HVAC system and an air-based battery TMS.Despite the hierarchical structure of the controller, the lower-level controller still uses setpoints of the A/C system as control inputs.Consequently, additional controllers are required to regulate the fan and compressor operations.Furthermore, the air-cooled battery cooling structure is designed for hybrid electric vehicles (HEVs) with relatively small battery sizes.As mentioned earlier, this type of cooling system may not be sufficient for battery EVs that have large battery packs.Amini et al. [22] developed a real-time hierarchical MPC approach for an integrated TMS that includes an HVAC system and an air-liquid-based battery TMS.Similar to the work by Zhao et al. [21], this approach uses setpoints of the A/C system as control inputs and incorporates the overall heat rejection rate of the battery TMS as an additional control input.It should be noted that when controlling components based on temperature or energy levels in a hierarchical manner, additional controllers are needed, potentially resulting in compromised optimality.

9Considering the complexity of an integrated EV TMS, an NMPC controller with a reduced model can still be computationally expensive for real-time applications.Besides model reduction, several techniques have been studied in the literature for faster computations.One technique is using linear MPC with a quadratic cost function, which can accelerate the computation through quadratic programming (QP), as many fast QP solvers have been developed for online implementation [23], [24].Typically, a highly nonlinear vehicle TM model is converted into a linear model via linearization around a fixed point [25], [26], [27], [28].In HVAC applications, linear MPCs show comparable temperature tracking and energy-saving performance against NMPCs, while reducing computational time by up to 10 to 15 times [25].However, in the previously published studies [25], [26], [27], [28], linearized models remain the same within the prediction horizon, referred to as lineartime-invariant (LTI) MPC.In transient cases where state and control trajectories vary significantly, the prediction accuracy can be compromised [29].Therefore, a linear-time-varying (LTV) MPC based on successive online linearizations within the prediction horizon can be used to enhance the quality of the prediction and the performance of QP-based algorithms.To the best of the authors' knowledge, there have been relatively few applications of LTV-MPC in the field of TMS, especially when considering complex refrigerant circuits and their physics.In our previous work, we demonstrated the efficacy of physics-based modeling of various EV TMS problems utilizing an ideal vapor compression cycle in both NMPC and LTV-MPC [30], [31], [32].In [33] we expanded these works and developed a physics-based control-oriented model of HVAC and battery cooling systems.

10Besides linearization, the approximation of a cost-to-go function has been proven effective in accelerating MPC computation.In the studies by Park and Ahn [18] and Kibalama et al. [15], the cost-to-go values obtained from the DP solutions are approximated to a data-driven function of state variables and disturbances, which allows for a significant reduction in the prediction horizon.However, this approach is applied to HVAC-only systems or battery-only systems and remains to be validated in more complicated integrated TMS applications.

C. RESEARCH SCOPE AND CONTRIBUTIONS

11Summarizing the aforementioned literature, real-time energy-efficient thermal management for an integrated EV TMS remains a challenge, and the existing literature has the following two limitations: (i) there is a lack of a controller design considering both an HVAC system and a liquid-based battery cooling system; (ii) the thermal dynamics of the refrigerant system, especially of the two-phase heat exchangers, are typically omitted.To tackle this challenge, this paper proposes MPC-based control approaches, including an NMPC and an LTV-MPC with an approximated value function.Particularly, the integrated system encompasses an HVAC system and a liquid-based battery TMS, and these control approaches are designed to minimize the energy consumption of the integrated TMS while simultaneously regulating the battery temperature and the evaporator outlet air temperature.The main contribution of this paper is twofold:

121) An economic NMPC controller and a QP-based LTV-MPC controller are proposed based on the nonlinear physics-based EV TMS model developed in our previous work [33].2) An approximated value function is developed based on the calibrated economic NMPC and implemented in the LTV-MPC controller, allowing for the use of a short prediction horizon, which leads to a significant reduction in computation.

D. OUTLINE OF SUBSEQUENT SECTIONS

13The rest of the paper is organized as follows: Section II details the modeling of the integrated thermal management system of the considered EV.Section III presents the development of the economic NMPC and LTV-MPC controllers, including the development of the cost function and constraints as well as the tuning weights.In addition, the development of the approximated value function is provided in this section.Section IV discusses the comparison of the simulation results between the long-horizon economic NMPC, the short-horizon LTV-MPC, and the RB controller under three different driving cycles.Finally, concluding remarks and discussion on future directions are given in Section V.

II. THERMAL MANAGEMENT SYSTEM MODELING

14This section presents the modeling approaches used to capture the dynamic behavior of the integrated TMS, which is adopted from our previous work [33], for the purpose of MPC design.The EV considered in this study is equipped with a 150 kW traction motor and a 64 kWh Li-ion battery pack.Figure 1 illustrates the schematic diagram of the integrated TMS, consisting of a refrigerant circuit and a battery coolant circuit.The system includes four heat exchangers: an evaporator, an inner condenser, an outdoor condenser, and a battery chiller.This TMS enables a battery cooling mode, a cabin cooling mode with reheating, 1 and a heat pump mode in cold weather conditions [34].In this specific refrigerant circuit structure, the inner condenser and the outdoor condenser are arranged in series, while the battery chiller and the evaporator are arranged in parallel.For this study, the focus lies on a scenario where the TMS performs cabin cooling and battery cooling simultaneously.The cooled air from the evaporator is delivered to the cabin by a blower.Since the A/C system is kept running to regulate the evaporator at a low temperature for odor avoidance, an electric heater is utilized to warm up the cooled air and prevent cabin overcooling.The cabin air is re-circulated to the evaporator, and its rate is controlled by a re-circulation door.The modeling details of the studied TMS are discussed in the following subsections.It is noted that the unknown parameters of the control-oriented model are identified by using a high-fidelity MATLAB/Simulink ® plant model that was developed based on the previous studies [35], [36] as a virtual testbed.

A. REFRIGERANT CIRCUIT MODEL

15The control-oriented model of the refrigerant system is derived based on an ideal vapor-compression (VC) cycle, as shown in Fig. 2 (a).Its effectiveness was demonstrated in our previous works [30], [31], [32], [33].This cycle describes the refrigerant at the condenser outlet and the evaporator/chiller outlet as a fully saturated liquid and a fully saturated vapor, respectively.This ideal VC cycle assumption simplifies the modeling process while still capturing the essential dynamics of the refrigerant system.The static equations for the refrigerant circuit are shown below:

16ṁr,comp = ṁr,evap + ṁr,chlr ,

17where h in r,evap and h out r,evap are assumed to equal h in r,chlr and h out r,chlr , respectively, at static conditions because of the parallel configuration.Additionally, h out r,cond equals h in r,evap under the adiabatic expansion valve assumption.

18The specific enthalpy of the refrigerant flow at the compressor outlet, h out r,comp , is calculated by h out r,evap and the enthalpy rise at the compressor, h r,comp , as shown in (5).To avoid iterations by the recursive relationship with T r,c and T r,e , a h r,comp is regressed to a function of T r,c − T r,e under the operating range of the ideal vapor-compression cycle.The performance of the regression model is shown in Fig. 2 (b), and the equations are shown below:

19Meanwhile, the heat transfer rates can also be formulated by the heat transfer rate at the air/coolant side with the effectiveness of the heat exchangers:

20Qevap = ϵ evap ṁa,blwr c p,a (T out a,blwr − T r,e ) + ṁa,blwr ωh w,fg ,

21It is noted that ϵ evap is evaluated based on dry air conditions to capture the sensible heat transfer rate only in the first half of ( 9).The latent heat transfer rate, resulting from the water condensing at the evaporator, is captured by the absolute humidity change in the second half of ( 9).The air temperatures are calculated using Qic and Qevap in ( 7) and ( 9), as follows:

22It should be noted that when the battery temperature is below its target temperature, the expansion valve for the chiller is closed.As a result, there is no heat transfer in the battery chiller.In this situation, the refrigerant circuit operates as a normal A/C system.

B. BATTERY COOLANT CIRCUIT MODEL

23The battery coolant circuit consists of a battery pack, a battery chiller, and an electric pump for the liquid coolant. 2n the considered working scenario, heat is generated by the battery pack and then rejected through the battery chiller to the refrigerant flow.To reduce the computational burden, the battery thermal dynamics are modeled using the lumped-mass method as follows:

24where T bat is the average temperature of the battery pack; m bat and c p,bat are the total mass and mass-averaged heat capacity, respectively, of the battery pack, estimated based on the battery cell information.Both reversible and irreversible heat generations are considered in Qbat .Qbat2c is the heat transfer rate from the battery to the internal coolant flow.Qbat and Qbat2c are expressed as follows:

25where U oc , R bat , and P bat are the open-circuit voltage, the internal resistance, and the power of the battery, respectively; U bat , k c , and Nu bat are the overall heat transfer coefficient, the thermal conductivity, and the Nusselt number of the coolant flow, respectively; A bat and D h,bat are the surface area and the hydraulic diameter of the battery coolant channel, respectively; T c,eff is the effective temperature of the coolant inside the battery channel, which is calculated as the average of T in c,bat and T out c,bat , the coolant temperature at the battery channel inlet and outlet.With Qbat2c calculated with (17), the coolant temperature at the battery outlet is calculated as follows:

26Given Qchlr , the heat transfer rate at the battery chiller is calculated with (10), the coolant temperature at the chiller outlet is calculated with a steady-state equation as follows:

27Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

28The development of the state evolution prediction model based on these energy balance equations is discussed in subsection II-E.

C. CABIN MODEL

29The thermal dynamics of the vehicle cabin are modeled using a lumped parameter method.The cabin air and a pseudo vehicle component, the interior structure, are treated as lumped thermal masses.The interior structure involves heat transfer with the solar radiation ( Qsolar ), the ambient air convection ( Qamb ), and the interior cabin air convection ( Qint ).The lumped interior cabin air has heat transfer with the cold air from the evaporator, which is reheated before entering the cabin.The thermal dynamics of the cabin air temperature T cab and the interior structure temperature T str are formulated as follows:

30where T out a,vent is the air temperature at the vent outlet computed by (13); T amb is the ambient temperature; Qhtr is the heat transfer rate from the electric heater to the evaporator outlet airflow; ṁblwr is the air mass flow rate of the blower.The mass of the cabin air, the specific heat capacity for the air, and the heat capacity of the structure are denoted by m cab , c p,a , and C str , respectively, and Qamb and Qint , which are functions of the vehicle speed v and the blower air mass flow rate ṁblwr , respectively, are calculated with the overall thermal conductance.It is noted that Qsolar is considered a constant value in this study.

D. POWER CONSUMPTION MODELS

31In this study, three actuators in the EV TMS, which are the compressor, the fan, and the electric coolant pump, are controlled.The power consumption model of each actuator is developed and used in the cost function of the MPC to minimize the energy consumption of the TMS.On the other hand, the blower, the electric heater, and the inner condenser blend door are controlled by RB controllers instead of the MPC.This control scheme is due to the fact that the vent outlet airflow is often manually adjusted by a driver or passengers.Therefore, their power consumption is not considered in the MPC formulation.

32For the development of the power consumption regression models, datasets covering a wide range of operating conditions are obtained from the high-fidelity MATLAB/Simulink ® components models.The models are developed based on experimental component performance data provided by the manufacturer.These datasets include various refrigerant inlet and outlet conditions under the ideal vapor-compression cycle assumption for the compressor, the entire speed range under different vehicle speeds for the fan, and the entire speed range with different coolant temperatures for the pump.

33The compressor power consumption is modeled as a static component [37].The compressor power consumption is expressed as a function of the refrigerant temperature difference between the compressor and evaporator (T r,c − T r,e , indicating the pressure ratio) and the refrigerant mass flow rate ṁcomp .It is noted that a quadratic power consumption term is highly desired for implementing quadratic programming to solve an MPC problem.The function form used in the regression model of the compressor power consumption is shown as follows:

34where a 1,0 = 1.952, a 0,1 = −3813, a 1,1 = 918, and a 0,2 = −1.337× 10 4 .The overall shape of the compressor power consumption dataset is well captured by the model, as shown in Fig. 3.The root mean squared error (RMSE) is 415.5 W, and the normalized RMSE (compared with the maximum power) is 7.49%.Considering that this power consumption model is used only in the MPC, the model shows acceptable performance in obtaining an optimal energy-saving control sequence.Similar to the compressor case, regression models to capture power consumption are developed for the fan and the electric coolant pump based on the datasets covering the entire operating range.To accommodate the implementation of quadratic programming, quadratic equation forms are used for the fan and the pump power consumption, as follows:

35where α fan is a coefficient expressed as a function of vehicle speed and ṁlb fan is the lower bound of the fan airflow rate with consideration of the ram air effect, both of which are functions of vehicle speed; α ewp and β ewp are coefficients expressed as functions of liquid coolant temperature.Both fan and coolant pump power consumption models show normalized RMSEs of less than 10% when compared with the dataset.In the state equations for T r,c , T r,e , and T out c,bat , first-order filters are applied to capture any unmodeled dynamics.It is worth noting that the effectiveness of introducing a first-order filter was demonstrated in our previous work [30], [31], [32].The state equations are then expressed as described in (29) to (32), as shown at the bottom of the next page, where k indicates the timestamp; t is the discretized time step; τ ref is the time constant of a first-order low-pass filter applied to T r,c and T r,e ; τ bat is the time constant of a first-order lowpass filter applied to T out c,bat to model the thermal inertia of the coolant.

III. MPC CONTROLLER DEVELOPMENT

36This section discusses the development of two controllers for the EV TMS: an economic NMPC-based controller and an LTV-MPC-based controller with an approximated value function.The steps of the controller development are covered in the following order: (i) the development of the economic NMPC controller, including the cost function and constraints, is discussed in subsection III-A; (ii) the economic NMPC controller with a long prediction horizon is considered as a baseline and tuned through a parametric study in subsection III-B; (iii) the simulation results of the baseline economic NMPC are analyzed to obtain an approximated value function in subsection III-C; and (iv) the LTV-MPC structure is developed using the approximated value function and expressed in a QP form in subsection III-D.

A. ECONOMIC NMPC-BASED CONTROLLER DESIGN

37The integrated EV TMS optimal control problem is formulated as a nonlinear optimization problem, stated as follows:

38where J is the cost function; N p is the number of prediction steps; x k = [T r,c,k , T r,e,k , T bat,k , T out c,bat,k ] T is the system state vector; u k = [ ṁcomp,k , ṁfan,k , ṁewp,k , ϵ fan,k , ϵ bat,k ] T is the system control input vector; u is the system control input increment vector; d k = [T amb , T out a,blwr , ṁblwr , ω, k door , Qhtr , v veh , P bat ] T , is the disturbance vector; f (x k , u k , d k ) is the nonlinear prediction model developed in Section II, as expressed with ( 29)- (32); t is the step size of the discrete prediction model.The inequality equations are the constraints of the state variables and control variables.

39The cost function J consists of three power consumption terms, one temperature tracking term, two soft constraint terms, and three penalty terms on the control oscillations.The power consumption terms, P comp,k , P fan,k , and P ewp,k , function as the economic performance costs for the economic MPC and are developed in Section II-D, as shown in ( 26), (27), and (28).The temperature tracking term w Taeo (T out a,e,k − T out a,e,target ) 2 regulates T out a,e,k to its target value.The two soft constraint terms, w Tbat ϵ 2 bat,k and w fan ϵ 2 fan,k , penalize the slack variables of the soft constraints for T bat,k and ṁfan,k .The final three terms penalize the control variable increments to suppress oscillations.It is noted that the same cost function is used for the LTV-MPC developed in subsection III-D, which utilizes an augmented linearized prediction model using control variable increments as control inputs.Therefore, the cost terms penalizing control increments are necessary to ensure a positive definite Hessian matrix for the LTV-MPC.

40The constraints of the economic NMPC include two soft constraints, a control operation zone, and the lower and upper bounds for the control variables and their increments.The battery temperature is subjected to an upper-bound soft constraint; that is, the battery is controlled below the target temperature.Considering the ram air effect by the vehicle's frontal structure, the fan's upper and lower bounds are calculated based on the vehicle speed.A soft constraint is applied to the fan's bounds to avoid numerical feasibility issues resulting from dramatic changes in vehicle speed.The control operation zone constructs linear constraints that ensure that the refrigerant system operates under the ideal vapor-compression cycle, similar to the approach used in our previous work [30], [31], [32].A wide range of refrigerant circuit operation data is generated based on the high-fidelity MATLAB/Simulink component model.The boundaries of the operation zone are represented by five linear equations.

The ideal vapor-compression cycle operation zone constraint is expressed in matrix formulation as follows:

41A zone ṁcomp + B zone ṁfan + C zone k door ṁblwr + D zone ≤ 0 (33) Finally, the upper and lower bounds of the remaining control variables and their increments are applied to prevent violations of the physical limitations of the system 58904 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

42components.It is noted that all the constraints mentioned above are linear inequality constraints and are used in the LTV-MPC controller developed in subsection III-D.

B. A PARAMETRIC STUDY OF THE ECONOMIC NMPC

43The economic NMPC controller developed in the preceding subsection has been implemented in a closed-loop simulation.The simulation results of the economic NMPC controller serve as a baseline controller for the LTV-MPC and are analyzed to obtain an approximated value function.To determine the optimal weighting factors for the economic NMPC cost function and to evaluate the performance of the economic NMPC controller, a parametric study needs to be conducted.

44The outlined parametric study aims to identify the optimal combination of the weighting factors for w Teao and w Tbat , which affect the trade-off in temperature regulation between the refrigerant circuit and the battery coolant circuit.The simulation cases are generated by a full factorial combination of w Teao and w Tbat : }.

45In this study, the following parameters of the economic NMPC controller are kept constant for all simulations:

46• The prediction horizon, N p , is 500 s.

47• The NMPC sampling time, t, is 1 s.

48• The NMPC update time, t up , is 1 s.

49• The weighting factor for the slack variable on the fan bounds, α fan , is 1 × 10 9 .

50• The weighting factors, α comp , α fan , and α ewp , are set at 100, resulting in relatively small values of the corresponding cost function terms compared with the power consumption and temperature tracking terms.• T out a,e,target is set at 6 • C to prevent unpleasant odor from the evaporator.

51• T bat,target is set at 36 • C for the reliable and safe operation of the battery pack.It is noted that the economic NMPC controller is configured with the longest possible prediction horizon given the computational limitations.This baseline controller serves as the basis for the approximated value function and the LTV-MPC controller.The parametric study was conducted using both the Urban Dynamometer Driving Schedule (UDDS) driving cycle and the EPA Highway Fuel Economy Test (HWFET) cycle, considering both urban and highway driving conditions.Meanwhile, the vehicle was assumed to be fully soaked at an ambient temperature of 38 • C. As mentioned in Section I, the advancement in CAV technologies enables the prediction of the ego vehicle's future speed.Therefore, this future speed profile and the corresponding battery heat generation profile of the driving cycle were assumed to be known disturbances in the MPC design.Additionally, the vehicle was assumed to start with the ambient temperature at the initial time of the simulations.

52For the construction of the economic NMPC controller, MPCTools [38], [39] was used, and the optimal control was solved using the nonlinear solver ''Ipopt'' [40] on a desktop computer with a 3.6 GHz processor.

53The results of the parametric study are presented in the following heat maps.Figures 4(a consumption of the compressor, the energy consumption of the fan, and the energy consumption of the coolant pump.From the heat maps, one can observe that the impact of the weighting factor combinations is similar between the two driving cycles in the cooling performance and the energy consumption.

54As shown in the heat maps, a higher w Teao leads to better temperature tracking performance for T out a,e , including the average T out a,e value closer to the target and a faster T out a,e cooldown time except for the UDDS cycle cases that have w Teao = 10 (too small to reach the T out a,e target).However, a higher w Teao also results in higher total energy consumption due to increased usage of the compressor and fan.The standard deviation of T out a,e does not change significantly unless w Teao is too small, when T out a,e is not adequately controlled to the target temperature.It is also observed that the usage of the coolant pump is not sensitive to the changes in w Teao .

55On the other hand, a higher w Tbat brings a faster T bat cooldown time, although the difference is not as significant as T out a,e due to the large thermal mass of the battery pack.The faster T bat cooldown time is achieved mainly by a more intense operation of the refrigerant circuit (compressor and fan operation).The coolant pump operation does not change much unless w Tbat is as large as 10 5 .Because of the high usage of the refrigerant circuit by large w Tbat , the temperature tracking performance is also better with a larger w Tbat .

56In consideration of the cooling performance of T out a,e and T bat , as well as the energy consumption with the two driving cycles, the combination of w Taeo = 5 × 10 2 and w Tbat = 10 3 is selected for the baseline economic NMPC.The selected combination is highlighted with a red box in the heat maps.

C. APPROXIMATED VALUE FUNCTION

57In this subsection, the development of a modified approximated value function is discussed.As mentioned in Section I, 58906 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

58the approximated cost-to-go method, or the approximated value function, has been proven effective in solving MPC problems quickly by reducing the prediction horizon.The concept of the approximated value function is based on Bellman's principle of optimality [41], [42], [43].In an optimal control problem, the global optimal control sequence for a given time and an initial is solved via the following equation:

59where t is the given time step; t f is the length of the entire cycle; t H is the length of the prediction horizon; L is the stage cost function; x, u, d, k are the state vector, control vector, disturbances vector, and the time step, respectively.According to the definition of the cost-to-go, ( 34) is equivalent to the following equation:

60where V is a function of the terminal state (with respect to the prediction horizon) and its time step (with respect to the entire cycle), which needs to consider the entire cycle.By having a value function V approximating V , the previous equation becomes a sub-optimal formulation:

61where V serves as a terminal cost term that considers only the terminal state.As a result, the computation duration is reduced from the entire cycle to the prediction horizon.Typically, the approximated value function is developed based on the DP solution, which provides a global optimal control sequence.Park and Ahn [18] and Kibalama et al. [15] both developed data-driven functions to approximate the costto-go values of the DP solution in the battery-cooling-only or HVAC-only operation scenarios.While DP computation is feasible in the HVAC-only or battery-cooling-only scenarios due to the limited number of state variables, it becomes too intensive for the integrated TMS studied in this paper.Therefore, instead of the solution from DP, the solution from the economic NMPC controller with a sufficiently long prediction horizon is used, as suggested in [44].

62The economic NMPC controller described in Section III-A, with the weighting factors tuned in Section III-B, was implemented in simulations with different initial conditions.In each simulation, the stage cost at each prediction step of each NMPC computation was recorded and analyzed.A total of 99 cases were considered, each with different initial battery temperatures and combinations of initial refrigerant Based on the simulation results, a value function has been developed to approximate the cost-to-go of the economic NMPC from 5 s to 500 s in the prediction horizon.After analyzing the cost-to-go data, three variables were found to have a large impact on the cost-to-go value: T r,c , T r,e , and N EXV , the latter representing the closing time step of the electric expansion valve to shut down the battery chiller when T bat drops below its target.

63Figures 8(a) and (b) show the trajectories of the costto-go values of the 99 cases (obtained over the prediction horizon from 5 s to 500 s) over the entire simulation with respect to T r,c and T r,e , respectively, at every 5 seconds in the prediction horizon.It is observed that the cost-to-go value decreases as both T r,c and T r,e approach their steady-state temperatures.At steady state, T r,c has a close relationship with the ambient temperature T amb , while T r,e reaches its target.On the other hand, the cost-to-go value decreases as N EXV decreases.This is because when T bat reaches its target at N EXV , the cost terms associated with T bat become zero for the rest of the prediction.It is important to note that, since the approximated value function cannot utilize the MPC model for long-horizon T bat predictions, N EXV has to be estimated by T bat projections.The future trajectory of T bat is first computed based on the averaged gradient derived from data stored over the past 30 seconds.The estimated closing time step, ÑEXV , is determined as the point at which the future T bat reaches the target temperature.It is noted that ÑEXV is limited between 0 s and 500 s, considering that the prediction horizon of the baseline economic NMPC controller is 500 s.Since N EXV affects the chiller operation and subsequently T r,e , a term involving ÑEXV is used as a multiplier for the T r,e term in the data-driven function.Additionally, this ÑEXV -related multiplier should remain positive throughout the entire simulation.Since the approximated value function is included as a terminal cost function in a QP problem, a quadratic equation form is used.The developed data-driven approximated value function is shown below:

64where the calibrated parameters are p 1 = 1096, p 2 = 4.82, p 3 = 149.98,and p 4 = 8.4925×10 5 .Here, γ is introduced to ensure a positive multiplier for the T r,e term when ÑEXV = 0.For simplicity, γ = 1 is used in this study.The cost-to-go value from the data-driven function (37) and its normalized error against data gathered from the simulations are presented in Fig. 9(a) and (b), respectively.The normalized error is calculated using the scale of the maximum cost-to-go value gathered in the simulations.As shown in Fig. 9 (b), the majority of the errors fall between 0 and 2.5%, indicating the effectiveness of (37) and its potential in reducing the prediction horizon.Besides the 99 cases, an additional 44 cases were considered as supplemental simulation data to examine the impact of high initial battery temperatures under relatively low ambient temperature circumstances (e.g., the vehicle is launched after fast charging).The initial temperatures for these simulations are shown as follows: The calibrated parameters of (37) using the additional data set are provided in Table 1.The error levels of both calibrations are shown to be similar.By incorporating the supplemental simulation data, the parameter p 2 , which serves as the target of T r,c , closely aligns with the parameter calibrated from the original data set.Because of the relatively higher battery cooling demand in the supplemental cases, the multipliers p 1 and p 3 need to be adjusted, but they still remain similar to the parameters derived from the original data set.This consistency in calibration denotes that the control target is not sensitive to the difference between the battery temperature and the ambient temperature, indicating that the function form in (37) possibly addresses varying initial battery temperature conditions.

D. LTV-MPC DEVELOPMENT AND ITS QP FORM

65In this subsection, the development of the LTV-MPC controller is explained.The key process of the LTV-MPC development is the linearization of the nonlinear model, which will be explained in detail.As the cost function and constraints of the economic NMPC remain the same in the LTV-MPC controller, they are not covered in this subsection.The QP formulation of the LTV-MPC will be presented at the end of this subsection.

66The nonlinear model discussed in Section II is linearized for the LTV-MPC.At an operating point, (x l , u l , d l ), in the prediction horizon, the nonlinear model is linearized as follows:

67A sequence of linearization points, {(x 0,k , u 0,k , d 0,k ), . . .,

68, is needed when the nonlinear model is linearized by (38).The steps to obtain this sequence of linearization points are summarized as follows:

69(i) an estimated control trajectory for the k-th step is obtained by shifting the optimal control trajectory at the (k − 1)-th step, {u 0,k−1 , u 1,k−1 , . . .,

70(ii) an estimated states sequence, {x 1,k , x 2,k , . . ., x N p ,k }, is obtained by applying the estimated control trajectory at the k-th step to the k-th states, x 0,k , with the nonlinear model and the updated disturbances; (iii) the estimated state sequence and the estimated control trajectory at the k-th step are combined to form the sequence of linearization points.Since the LTV-MPC shares the same cost function and constraints with the economic NMPC, cost terms and constraints on the rate of control input are included.In the economic NMPC controller structure, the rates of the control inputs are handled by the interface of MPCTools.However, in the QP problem, the rates of the control inputs need to be included to form matrices.Therefore, the system is augmented to a velocity form by substituting u k with u k = v k−1 + u k as follows:

71By replacing v k−1 with a three-dimensional vector ν k−1 = [ ṁcomp,k−1 , ṁfan,k−1 , ṁewp,k−1 ] T , one can eliminate the redundant 0s in v k−1 .Then, the linearization point (x l , u l , d l ) 58908 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

72becomes (x l , v l−1 + u l , d l ), and the linearized original system is expressed as follows:

73with

74By introducing an augmented state vector ξ k = [x k , ν k−1 ] T , the augmented system is expressed as follows:

75with

76.

77The linearized augmented system in (41), along with the quadratic cost function and linear inequality constraints, is assembled into the matrices to a QP problem for the LTV-MPC:

78where θ and µ are the stacked state vector and control vector; the matrices Q, R, and q are constructed with the weighting factors and parameters from the cost function.By expressing θ with µ as given by ( 43), the original equation is transformed into a quadratic equation in terms of µ only, with matrices H , q, and ĉ.Particularly, H is the Hessian matrix of the QP problem.Similarly, all the linear inequality constraints are stacked and expressed using µ with matrices G, W , and E. The equation to express θ with µ is given below:

79with

80where matrices S, M , and are derived from the LTV prediction model in (40).

IV. SIMULATION RESULTS AND DISCUSSION

81This section presents the performance of the LTV-MPC controller with the approximated value function under four driving cycles: the UDDS, the HWFET, the Worldwide Harmonized Light Vehicles Test Cycle (WLTC), and the US06 Supplemental Federal Test Procedure.It is noted that the UDDS and HWFET cycles were used to calibrate weighting factors as well as to develop the approximated value function, considering both urban and highway driving conditions.Thus, for additional performance validations, the WLTC and US06 cycles were incorporated.Specifically, the WLTC cycle was employed since it was designed to closely simulate real-road driving conditions, accommodating both low and high vehicle speed circumstances.The US06 cycle was used to supplement for aggressive driving conditions.Besides the four driving cycles, two temperature conditions were considered in the evaluation: (i) the vehicle was soaked entirely at an ambient temperature of 38 • C; (ii) the vehicle was exposed to an ambient temperature of 32 • C while the battery temperature was at 38 • C. Combining the four driving cycles and two temperature conditions, a total of eight driving conditions were considered for the controller performance evaluation.The LTV-MPC controller is compared with the baseline economic NMPC controller developed in Section III-A and an RB controller.The LTV-MPC problem is solved by using qpOASES [45].For a fair computation time comparison between the LTV-MPC and the economic NMPC, both optimal control problems are solved on the same desktop computer with a 3.6 GHz processor.

82The RB controller is responsible for controlling the compressor speed to meet the desired T out a,e .Meanwhile, the fan is controlled by a pre-calibrated rule based on the refrigerant pressure at the condenser and on the vehicle speed.The blower operation is adjusted to achieve the desired cabin cooling power in response to thermal loads.Lastly, the inner condenser vent door is controlled to adjust the vent outlet temperature and avoid excessively cold vent outlet air.

83Figure 10 shows the cooling performance of three controllers under eight different driving conditions.The LTV-MPC exhibits a relatively shorter T out a,e but a longer T bat cooldown time than the economic NMPC, the differences ranging from 10 to 40 s and from 10 to 15 s, respectively.Meanwhile, the LTV-MPC demonstrates a slightly compromised average T out a,e and a slightly higher standard deviation of T out a,e compared with the economic NMPC.The average T out a,e by the LTV-MPC ranges from 6.35 to 6.47 • C, deviating approximately 0.3 to 0.4 • C more from the target value than the NMPC.The T out a,e standard deviation by the LTV-MPC is around 0.6 ∼ 0.88 • C, which is slightly higher than the economic NMPC results (0.5 ∼ 0.7 • C).The temperature tracking performance of the LTV-MPC is slightly affected by linearization and the shortened prediction horizon.However, the LTV-MPC consistently exhibits similar temperature tracking performance to the economic NMPC across all Figure 11 shows the energy consumption performance of the controllers under eight driving conditions.Regarding the total energy consumption of all three controlled actuators, both the LTV-MPC and the economic NMPC consistently achieve significant energy savings in all driving conditions compared with the RB controller.The LTV-MPC exhibits total energy savings ranging from 23.1% to 32.9% compared with the RB controller, and the economic NMPC achieves total energy savings of 17.9% to 27.3% compared with the RB controller.Due to the slightly compromised cooling performance, the LTV-MPC saves more energy than the economic NMPC.When comparing the energy consumption by the individual components of the two MPC controllers, it is observed that the LTV-MPC uses the compressor less but the fan more than the economic NMPC.This difference in component usage is attributed to the shortened prediction horizon of the LTV-MPC.Although the approximated value function is able to estimate the cost value over the long prediction horizon, it does not fully capture the vehiclevelocity-dependent fan operation constraints, which affects the fan operation and condenser heat transfer.Therefore, suboptimal fan operation is observed in the LTV-MPC simulations.However, the LTV-MPC and economic NMPC show very similar coolant pump energy consumption.a,e to a relatively steady temperature slightly earlier than the economic NMPC, the LTV-MPC does not control the T out a,e as close to the target as the economic NMPC does when T bat has not reached T bat,target .This is because the parameter p 2 in the approximated value function, which serves as the target of T r,c , is calibrated with the steady state of the entire driving cycle when T bat has already reached its target.However, when the battery is cooled down shortly after the evaporator, the LTV-MPC achieves a steady state T out a,e close to the target as well as the economic NMPC does for the rest of the driving cycle.On the other hand, the RB controller experiences an overshoot of T out a,e , which leads to larger energy consumption and an oscillating steady state T out a,e with around a 1 • C offset from the target.Regarding T bat , all three controllers exhibit very similar trajectories because of the large thermal mass of the battery.The difference in T bat cooldown time among the controllers is less than 10 seconds.

84Because of the prediction horizon difference, the LTV-MPC shows distinct compressor and fan control trajectories.As discussed before, the approximated value function does not resolve the fan operation constraint issue caused by the short prediction horizon.Therefore, a suboptimal fan operation trajectory is observed in the LTV-MPC.This suboptimal fan operation then affects the compressor control, especially during the first 200 s period when the compressor power demand is very high.As a result, the compromised compressor and fan control in the LTV-MPC also leads to a slightly reduced cooling performance.The coolant flow is not sensitive to the cooling performance evaluated by the selected weighting factor combination, and hence both MPC controllers refer to using the minimum allowed coolant flow.On the other hand, the RB controller, which does not consider energy consumption, tends to use the compressor more aggressively before the battery is adequately cooled down.Similarly, the coolant pump is utilized more aggressively, despite the limited battery cooling gain.Moreover, the RB controller does not account for the varying fan operation range due to vehicle speed variation, leading it to maintain a relatively steady fan duty at steady states.This, in turn, results in varying airflow at the condenser.The combination of varying air flow and slightly higher compressor operation at steady state causes an oscillating T out a,e with an offset of around 1 • C from the target.

85It is noted that a very short prediction horizon is intentionally used for the LTV-MPC in this study to evaluate the effectiveness of the method.In real practice, the cooling performance of the LTV-MPC can be further improved by utilizing a longer prediction horizon and the corresponding approximated value function based on the available computational power.

86In summary, all three controllers are able to cool down the battery temperature and stabilize the evaporator air temperature at a reasonable level.However, the economic NMPC and the LTV-MPC show better performance in temperature tracking and energy saving.Comparing the two MPC controllers, it is found that the LTV-MPC has slightly compromised but similar cooling performance compared with the economic NMPC: the difference in T out a,e cooldown time is less than 40 s; the difference in T bat cooldown time is less than 15s; the difference in average T out a,e is less than 0.4 • C; the difference in T out a,e standard deviation is less than 0.88 • C. The overall energy-saving difference is less than 6.37%.Notably, compared with the economic NMPC, the LTV-MPC significantly improves computational performance, as presented in Table 2.This table shows that the approximated value function significantly reduces the prediction horizon, resulting in approximately 10 2 times faster computation.The linear prediction model of the LTV-MPC allows for the use of QP, which also accelerates the computation speed by a factor of 10 2 .Because of these two factors, the average computation time of the LTV-MPC per MPC update can be reduced to 0.58 ms, which is much faster than that of the baseline economic NMPC, 5.83 s.In conclusion, the LTV-MPC with the approximated value function performs comparably to the economic NMPC while reducing the computation time on average by a factor of 10 4 .

V. CONCLUSION

87This paper proposes an MPC-based control design for an integrated TMS of an EV, including HVAC control and battery TMS control.The first step involves developing a nonlinear model of the integrated EV TMS, as described in our previous work [33].Based on this nonlinear system model, an economic NMPC with a long prediction horizon is developed and tuned through a parametric study.For real-time implementation, a short-horizon LTV-MPC structure is developed.The prediction horizon of the LTV-MPC is reduced by introducing an approximated value function based on the long-prediction economic NMPC.As a result, the MPC computation is significantly accelerated by converting the original large-dimensional nonlinear optimization problem into a small-dimensional quadratic programming problem.The performance of the LTV-MPC with the approximated value function is evaluated against the baseline economic NMPC and the RB controller.The LTV-MPC demonstrates slightly compromised but similar cooling performance and better energy consumption compared with the baseline economic NMPC.Additionally, the LTV-MPC significantly reduces computational time by approximately 10 4 times on average, while delivering performance comparable to the baseline economic NMPC.Compared with the RB controller, the LTV-MPC controller achieves energy savings in the range of 23.1 to 32.9%.

88In this work, we considered four driving cycles and two ambient temperatures in controller development and evaluation.For a more generalized and comprehensive investigation, we plan to include datasets with additional driving cycles and ambient temperatures in our future work.While a static driving environment was considered in this study, in reality, the performance of the EV TMS could be affected by complex and varying environmental conditions.Therefore, we intend in our future work to investigate the impact of variations in environmental factors such as humidity, altitude, wind speed, and solar radiation.Additionally, this study assumes that the vehicle speed profile is perfectly known.In future research, we will explore the influence of speed prediction accuracy on the control performance.Another direction for future research will involve data-driven MPC applications in a comprehensive integrated EV TMS.

FIGURE 1 .

89FIGURE 1.A schematic diagram of the considered thermal management system.

FIGURE 2 .

90FIGURE 2. (a) Ideal vapor-compression cycle and (b) h comp regression.

FIGURE 3 .

91FIGURE 3. P comp regression model fitted to data generated from a high fidelity compressor model.

92E. NONLINEAR PREDICTION MODEL FOR MPC DESIGN Combining the equations discussed in the previous subsections, a reduced-order model of the integrated TMS is constructed in the discrete-time domain, serving as the prediction model in the proposed MPC-based controllers, which are further discussed in the following section.The reduced model comprises four state variables x = [T r,c , T r,e , T bat , T out c,bat ] T and three control variables u = [ ṁcomp , ṁfan , ṁc,ewp , ] T .

9310 2 , 2.5 × 10 2 , 5 × 10 2 , 7.5 × 10 2 , 1 × 10 3 , 10 4 , 10 5 }, w Tbat ∈ {10, 10 2 , 10 3 , 10 4 , 10 5

FIGURE 4 .

94FIGURE 4. Influence of weighting factors on cooling performance with UDDS cycle at T amb of 38 • C.

FIGURE 5 .

95FIGURE 5. Influence of weighting factors on cooling performance with HWFET cycle at T amb of 38 • C.

FIGURE 6 .

96FIGURE 6. Influence of weighting factors on energy consumption with UDDS cycle at T amb of 38 • C.

97)-(d) and Figures 5(a)-(d) illustrate the T out a,e cooldown time (the time step when the T out a,e variation is below 0.5 • C for the following 100 s), the T bat cooldown time (the time step when T bat reaches T bat,target and the expansion valve is closed), the average T out a,e after the T out a,e cooldown time, and the standard deviation of T out a,e after the T out a,e cooldown time in two driving cycles.Figures 6(a)-(d) and Figures 7(a)-(d) illustrate the total energy consumption of all three actuators.the energy

FIGURE 7 .

98FIGURE 7. Influence of weighting factors on energy consumption with HWFET cycle at T amb of 38 • C.

FIGURE 8 .

99FIGURE 8. Trajectories of cost-to-go values obtained over the prediction horizon from 5 s to 500 s with respect to (a) T r ,e − T target r ,e and (b) T r ,c − T amb at every 5 seconds in the prediction horizon.

FIGURE 9 .

100FIGURE 9. (a) the approximated value function and (b) the histogram of normalized error against collected data.

10139, 40, 42}, [T r,c,0 , T r,e,0 ] ∈ {[20, −10], [20, 20], [40, −10], [40, 20], [40, 40], [60, −10], [60, 20], [60, 40], [80, −10], [80, 20], [80, 40]}.

FIGURE 10 .

102FIGURE 10.Simulation results: cooling performance of LTV-MPC-VF, economic NMPC, and RB controller at T amb of 38 • C and 32 • C.

FIGURE 11 .

103FIGURE 11.Simulation results: energy consumption of LTV-MPC-VF, economic NMPC, and RB controller at T amb of 38 • C and 32 • C.

FIGURE 12 .

104FIGURE 12.Comparison between LTV-MPC-VF, economic NMPC, and RB controller under the UDDS cycle at T amb of 38 • C and 32 • C.

FIGURE 13 .

105FIGURE 13.Comparison between LTV-MPC-VF, economic NMPC, and RB controller under the WLTC cycle at T amb of 38 • C and 32 • C.

Figures 12 and 13

106Figures 12 and 13 provide a comparison of the three controllers under four driving conditions as examples: the UDDS cycle with a T amb of 38 • C, the UDDS cycle with a T amb of 32 • C, the WLTC cycle with a T amb of 38 • C, the WLTC cycle with a T amb of 32 • C. Similar performance comparisons are observed under the HWFET and the US06 driving cycles.In Figures 12 and 13, the time-series trajectories of T out a,e , T bat , and the three controlled actuators are presented through subplots (a)-(j).It is observed that the LTV-MPC exhibits a very similar T out a,e trajectory to the economic NMPC.Although the LTV-MPC cools down T outa,e to a relatively steady temperature slightly earlier than the economic NMPC, the LTV-MPC does not control the T out a,e as close to the target as the economic NMPC does when T bat has not reached T bat,target .This is because the parameter p 2 in the approximated value function, which serves as the target of T r,c , is calibrated with the steady state of the entire driving

107Figures 12 and 13 provide a comparison of the three controllers under four driving conditions as examples: the UDDS cycle with a T amb of 38 • C, the UDDS cycle with a T amb of 32 • C, the WLTC cycle with a T amb of 38 • C, the WLTC cycle with a T amb of 32 • C. Similar performance comparisons are observed under the HWFET and the US06 driving cycles.In Figures 12 and 13, the time-series trajectories of T out a,e , T bat , and the three controlled actuators are presented through subplots (a)-(j).It is observed that the LTV-MPC exhibits a very similar T out a,e trajectory to the economic NMPC.Although the LTV-MPC cools down T outa,e to a relatively steady temperature slightly earlier than the economic NMPC, the LTV-MPC does not control the T out a,e as close to the target as the economic NMPC does when T bat has not reached T bat,target .This is because the parameter p 2 in the approximated value function, which serves as the target of T r,c , is calibrated with the steady state of the entire driving

ω

108Absolute humidity difference (inlet -outlet).U oc , U bat Open circuit voltage, terminal voltage [V].

109C Heat capacity [J/K].The associate editor coordinating the review of this manuscript and approving it for publication was Jiajie Fan .bat Internal resistance [ ]. T Temperature [°C].t Time [s].U Overall heat transfer coefficient [W/m 2 -K].I. INTRODUCTION A. BACKGROUND

TABLE 1 .

110parameters of the approximated value function.

TABLE 2 .

111Comparison of computational time of economic NMPC and LTV-MPC.

참고문헌 40건

  1. Method of Test and Measurements of Fuel Consumption Due to Air Conditioning Operation on the New Prius II Hybrid Vehicle SAE technical papers on CD-ROM/SAE technical paper series · 2005 10.4271/2005-01-2049
  2. qpOASES: a parametric active-set algorithm for quadratic programming Mathematical Programming Computation · Springer Science+Business Media · 2014 10.1007/s12532-014-0071-1
  3. Dynamic Programming and Optimal Control 1995
  4. A Critical Review of Thermal Issues in Lithium-Ion Batteries Journal of The Electrochemical Society · Institute of Physics · 2011 10.1149/1.3515880
  5. Fast Model Predictive Control Using Online Optimization IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2009 10.1109/tcst.2009.2017934
  6. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming Mathematical Programming · Springer Science+Business Media · 2005 10.1007/s10107-004-0559-y
  7. From Linear to Nonlinear Model Predictive Control of a Building IFAC Proceedings Volumes · Elsevier BV · 2014 10.3182/20140824-6-za-1003.02783
  8. Thermal Management in Plug-In Hybrid Electric Vehicles: A Real-Time Nonlinear Model Predictive Control Implementation IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2017 10.1109/tvt.2017.2678921
  9. A Numerically Stable Solver for Positive Semidefinite Quadratic Programs Based on Nonnegative Least Squares IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 2017 10.1109/tac.2017.2735938
  10. Predictive control of car refrigeration cycle with an electric compressor Applied Thermal Engineering · Elsevier BV · 2017 10.1016/j.applthermaleng.2017.08.125
  11. Reversible heat pump HVAC system with regenerative heat exchanger for electric vehicles: Analysis of its impact on driving range Applied Thermal Engineering · Elsevier BV · 2017 10.1016/j.applthermaleng.2017.10.020
  12. A review on battery thermal management in electric vehicle application Journal of Power Sources · Elsevier BV · 2017 10.1016/j.jpowsour.2017.09.046
  13. A Real-Time Battery Thermal Management Strategy for Connected and Automated Hybrid Electric Vehicles (CAHEVs) Based on Iterative Dynamic Programming IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2018 10.1109/tvt.2018.2844368
  14. CasADi: a software framework for nonlinear optimization and optimal control Mathematical Programming Computation · Springer Science+Business Media · 2018 10.1007/s12532-018-0139-4
  15. Hierarchical Control for Electro-Thermal Power Management of an Electric Vehicle Powertrain 2018 10.1115/dscc2018-9215
  16. Advanced Climate System for EV Extended Range 2017 10.2172/1413671
  17. Thermal Management for the Cabin of a Battery Electric Vehicle Considering Passengers’ Comfort IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2019 10.1109/tcst.2019.2914888
  18. MPC-based Precision Cooling Strategy (PCS) for Efficient Thermal Management of Automotive Air Conditioning System 2021 IEEE Conference on Control Technology and Applications (CCTA) · 2019 10.1109/ccta.2019.8920526
  19. The Effect of Driver's Behavior and Environmental Conditions on Thermal Management of Electric Vehicles SAE technical papers on CD-ROM/SAE technical paper series · 2020 10.4271/2020-01-1382
  20. Range control MPC with application to Vapor Compression Cycles Control Engineering Practice · Elsevier BV · 2020 10.1016/j.conengprac.2020.104309
  21. Hierarchical MPC for Robust Eco-Cooling of Connected and Automated Vehicles and Its Application to Electric Vehicle Battery Thermal Management IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2020 10.1109/tcst.2020.2975464
  22. A survey-based assessment of how existing and potential electric vehicle owners perceive range anxiety Journal of Cleaner Production · Elsevier BV · 2020 10.1016/j.jclepro.2020.122779
  23. An improved intelligent model predictive controller for cooling system of electric vehicle Applied Thermal Engineering · Elsevier BV · 2020 10.1016/j.applthermaleng.2020.116084
  24. Hybrid Model Predictive Control for Fully Electric Vehicle Thermal Management System Optimal Mode Selection IECON 2020 The 46th Annual Conference of the IEEE Industrial Electronics Society · 2020 10.1109/iecon43393.2020.9254286
  25. Eco-Cooling Control Strategy for Automotive Air-Conditioning System: Design and Experimental Validation IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2020 10.1109/tcst.2020.3038746
  26. Non-Linear Model Predictive Control of Cabin Temperature and Air Quality in Fully Electric Vehicles IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2021 10.1109/tvt.2021.3054170
  27. Model Predictive Control With Stochastically Approximated Cost-to-Go for Battery Cooling System of Electric Vehicles IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2021 10.1109/tvt.2021.3073126
  28. A Two-Layer Real-Time Optimization Control Strategy for Integrated Battery Thermal Management and HVAC System in Connected and Automated HEVs IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2021 10.1109/tvt.2021.3085938
  29. Model Predictive Control for Automotive Climate Control Systems via Value Function Approximation IEEE Control Systems Letters · Institute of Electrical and Electronics Engineers · 2021 10.1109/lcsys.2021.3134199
  30. Hierarchical Model Predictive Control for Optimization of Vehicle Speed and Battery Thermal Using Vehicle Connectivity IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3120406
  31. Energy‐efficient cabin climate control of electric vehicles using linear time‐varying model predictive control Optimal Control Applications and Methods · Wiley · 2021 10.1002/oca.2816
  32. Economic Model Predictive Control of HVAC System in Electric Vehicles IFAC-PapersOnLine · Elsevier BV · 2021 10.1016/j.ifacol.2021.11.278
  33. Control-oriented Model of HVAC and Battery Cooling Systems in Electric Vehicles IFAC-PapersOnLine · Elsevier BV · 2022 10.1016/j.ifacol.2022.11.159
  34. Potential Energy Saving of V2V-Connected Vehicles in Large-Scale Traffic IFAC-PapersOnLine · Elsevier BV · 2022 10.1016/j.ifacol.2022.10.265
  35. Energy-Efficient Driving in Connected Corridors via Minimum Principle Control: Vehicle-in-the-Loop Experimental Verification in Mixed Fleets IEEE Transactions on Intelligent Vehicles · Institute of Electrical and Electronics Engineers · 2023 10.1109/tiv.2023.3234261
  36. Stable feedback linearization-based economic MPC scheme for thermal power plant Energy · Elsevier BV · 2023 10.1016/j.energy.2023.126658
  37. Thermal comfort-conscious eco-climate control for electric vehicles using model predictive control Control Engineering Practice · Elsevier BV · 2023 10.1016/j.conengprac.2023.105527
  38. Economic Model-Predictive Control of Building Heating Systems Using Backbone Energy System Modelling Framework Buildings · Multidisciplinary Digital Publishing Institute · 2023 10.3390/buildings13123089
  39. Efficient management of HVAC systems through coordinated operation of parallel chiller units: An economic predictive control approach Energy and Buildings · Elsevier BV · 2024 10.1016/j.enbuild.2023.113879
  40. Optimal Control with Engineering Applications Springer eBooks · Springer Nature · 2007 10.1007/978-3-540-69438-0