Next Article in Journal
The Concept of Carbon Accounting in Manufacturing Systems and Supply Chains
Previous Article in Journal
Exploring the Effects of Voltage Variation and Load on the Electrical and Thermal Performance of Permanent-Magnet Synchronous Motors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Application of Neural Network Feedforward in Fuzzy PI Controller for Electric Vehicle Thermal Management System: Modeling and Simulation Studies

School of Automotive Studies, Tongji University, Shanghai 201800, China
*
Author to whom correspondence should be addressed.
Energies 2024, 17(1), 9; https://doi.org/10.3390/en17010009
Submission received: 5 November 2023 / Revised: 8 December 2023 / Accepted: 15 December 2023 / Published: 19 December 2023

Abstract

:
The electric vehicle thermal management system (EVTMS) plays a crucial role in ensuring battery efficiency, driving range, and passenger comfort. However, EVTMSs still face unresolved challenges, such as accurate modeling, compensating for temperature variations, and achieving efficient control strategies. Addressing these issues is crucial for enhancing the performance, reliability, and energy efficiency of electric vehicles. Therefore, this study presents a cooling EVTMS model, considering both the battery pack temperature and the cabin comfort, and utilizes the prediction of neural network as a feedforward in a fuzzy PI controller to compensate for the model temperature variations. The simulation results reveal that, compared with PI controller and MPC, the neural network fuzzy PI (NN-Fuzzy PI) controller can well predict and compensate for the system’s nonlinear characteristics as well as the time-delay caused by heat transfer, achieving superior control performance and reducing energy consumption. The battery pack temperature and PMV fluctuations are effectively constrained within [−0.5, 0.5] and [−0.1, 0.1], reducing up to 150% and 164%, and the energy consumption of the pump and compressor are reduced by up to 0.23 and 100.1 KJ , with ranges of 18% and 2.68%. Meanwhile, the neural network feedforward also works effectively in different controllers. The findings of this research can provide valuable insights for TMS engineers to select advanced control strategies.

1. Introduction

Lithium-ion batteries are considered the primary power source for electric vehicles (EVs) due to advantages such as long cycle life, low self-discharge rate, and environmental friendliness [1,2,3,4]. To save space, battery packs are often tightly arranged, leading to heat accumulation during charging and discharging, resulting in temperature rise. Meanwhile, the battery pack characteristics are greatly affected by temperature, as excessive temperature will cause decomposition of internal materials, leading to reduced battery life and even hazardous situations, such as spontaneous combustion. Considering factors such as safety, lifespan, and energy efficiency, it is necessary to limit the battery temperature to 15–35 °C [5,6,7]. Therefore, an effective thermal management system (TMS) is crucial for regulating battery temperature while extending the driving range and ensuring cabin comfort.
So far, many scholars have correlated more subsystems in EVs to form an integrated TMS to control overall variables in the system, which are more representative and can achieve better control performance. References [8,9,10,11,12,13] developed integrated EVTMSs that could not only effectively predict system parameters but also match the most efficient operating modes under different conditions to save energy. Sanket Shah et al. [14] integrated a battery electrochemical model into a battery TMS to predict the battery pack’s cycling and aging. References [15,16,17] developed a TMS for plug-in hybrid electric vehicles (PHEVs) based on environmental and target temperature, which ensured system performance and achieved energy savings. Wang et al. [18] proposed a new control structure for an EVTMS based on refrigerants, aiming to reduce the uneven distribution of refrigerants in the battery cooling plate channels during the heating process.
In the research on TMS control strategies, the finite state machine (FSM) is widely used, which regulates valve switches, fan speeds, and compressor speeds by defining several typical scenarios. Although the FSM is simple, it cannot cover all operating conditions, thereby failing to meet the requirements of high energy efficiency and cabin comfort.
Many scholars have utilized Proportional-Integral-Derivative (PID) control and Fuzzy Control (FC) to seek more efficient control strategies and optimal outcomes. Cen et al. [19] implemented a PID controller to adjust the expansion valve and thermostat of the cooling system to maintain the battery temperature difference within 2 °C. References [20,21] designed TMS control strategies based on Dynamic Programming (DP), which showed that DP controllers were capable of tracking reference temperatures with less power consumption compared with PID controllers; however, due to the lack of feedback, DP controllers also had lower robustness and required more computational time. References [22,23] implemented FC strategies to reduce temperature fluctuations, lifespan degradation, and energy consumption of EV batteries. Sefkat et al. [24] utilized FC strategies to regulate fuel cell temperatures, resulting in energy savings ranging from 15% to 58.74%.
Currently, the application of PID and FC in the TMS is extensively explored. However, due to their rule-based nature that often relies on empirical knowledge, they may not achieve satisfactory control performance when faced with limited empirical data. Therefore, more advanced control strategies are proposed. Wang et al. [25] proposed a hysteresis control method for the TMS, which effectively reduced battery temperature rise and inconsistencies; however, frequent switching in this method might lead to potential damage to devices. Bauer et al. [26] utilized Pontryagin’s maximum principle to determine the optimal battery temperature, considering the trade-off between maximum expected lifespan and minimal energy consumption. Zhang et al. [27] optimized a multistage charging control strategy by using genetic algorithms, which reduced energy consumption by 11.61% and improved charging efficiency by 1.2%. Xie et al. [28] introduced a self-learning intelligent control strategy that improved passenger comfort and reduced energy consumption.
Model Predictive Control (MPC) has also gradually been applied in the TMS due to its superior dynamic control performance and high system robustness. References [29,30] utilized MPC to regulate battery temperature, which proved that the allocation theory effectively enhanced the TMS performance. Tao et al. [31,32] designed a compressor MPC controller which exhibited the excellent performance of MPC in temperature tracking and energy consumption reduction.
Lopez-Sanz et al. [33,34] implemented Nonlinear Model Predictive Control (NMPC) for a TMS, which enabled rapid battery preheating and resulted in a 30% cost reduction. Hua et al. [35] utilized Particle Swarm Optimization (PSO) algorithms to design a nonlinear TMS strategy, which outperformed PID controllers in terms of reducing battery temperature deviations and inconsistencies. References [36,37] used neural networks to control the TMS, which successfully reduced battery temperature inconsistencies, improved energy efficiency, and demonstrated the effectiveness of neural networks for the control of nonlinear and time-varying TMS.
Current research indicates that compared with FSM, control strategies such as PID, FC, and MPC can achieve better control and energy-saving effects in the TMS. However, the complex, nonlinear, time-varying TMS and time delay caused by heat transfer make it challenging to establish an efficient control model. For instance, during the cooling process, the battery temperature may continue to fluctuate even after reaching the target value due to the inherent time delay caused by heat transfer, and it is difficult and unpractical to build an accurate mathematical model of this time delay because of the complexity of TMS. Traditional control methods struggle to effectively respond to such characteristics, resulting in increased energy consumption and more unstable operating conditions. However, there is currently no effective way to solve this problem, which is the focus of this work. We hope to design a new and efficient controller whose structure is different from those widely used at present. In the face of complex nonlinear systems such as EVTMS, it can not only effectively compensate for the time delay caused by heat transfer but also has sufficient robustness to resist unmeasured external interference, thus reducing the control overshoot, further reducing energy consumption and improving driving range.
Based on the above motivations, this study utilizes the strong nonlinear mapping and adaptive capability of backpropagation (BP) neural networks to predict future temperature variations in the EVTMS. The prediction is then used as a feedforward in a Fuzzy-PI control loop to form a neural network fuzzy PI (NN-Fuzzy PI) controller, aiming to reduce control fluctuations. Finally, the EVTMS combined with PI, MPC and NN-Fuzzy PI controllers is simulated under the WLTC condition to evaluate the control performance. The results demonstrate the reduced temperature fluctuations and energy consumption by the NN-Fuzzy PI controller, and meanwhile, the neural network feedforward also performs well in different controllers, which can provide a useful guideline of controller design for EVTMS engineers so as to reduce emissions, save energy and protect the environment.
Meanwhile, in order to obtain effective conclusions, the EVTMS in this paper is integrated with multiple subsystems and thermal comfort models instead of only one single system, which can simultaneously control cabin comfort and battery temperature under summer conditions. The model structure and parameters, as well as the black-box model calibration process of EVTMS, can be used as a reference for engineers and scholars.
The content of this paper is as follows: Section 2: TMS physical model; Section 3: TMS controller; Section 4: simulation results and analysis; Section 5: conclusions.

2. Physical Model

The proposed EVTMS in this study, including a battery cooling circuit and an air-conditioning (AC) circuit, is illustrated in Figure 1. It mainly consists of a compressor, expansion valve, condenser, chiller, battery pack, cabin model, pump, water tank, accumulator, fan, and battery cooling valve. The whole TMS is built based on the commercial software GT-Suite, and the specific parameters of each component are obtained by investigation or the reference value in GT-Suite Library, which is further obtained through test bench and thus can represent the components in real world effectively. Some information about the key components is given below.

2.1. Cabin AC Circuit Model

2.1.1. Compressor Model

The compressor refrigerant mass flow rate q m , enthalpy change h i n c and power consumption P c o m p are calculated according to Equations (1)–(3):
q m = ρ n η V V c o m p
h i n c = Δ h · η i s e
P c o m p = q m h i n c
where V c o m p represents the compressor displacement;   ρ represents the refrigerant density; η V represents the volumetric efficiency; n represents the compressor speed; η i s e represents the isentropic efficiency.

2.1.2. Expansion Valve Model

In this study, the electronic expansion valve model is adopted, and the opening amplitude of the spool is positively correlated with the refrigerant flow. Its structural parameters are shown in Table 1 below.
The refrigerant mass flow q m in circulation is calculated by Equation (4):
q m = C m A m a x 2 ρ i n p i n p o u t
where C m represents the refrigerant flow coefficient;   A m a x represents the maximum cross-sectional area; ρ i n represents refrigerant density at the expansion valve inlet; p i n , p o u t represent the expansion valve inlet and outlet pressure.

2.1.3. Heat Exchanger Model

R134a is selected as the refrigerant for the AC circuit. The temperature in the heat exchanger is calculated by the balance of the heat transfer rate between the master and slave fluids, as shown in Equation (5):
d T w a l l d t = Q m + Q s ρ V C p = h A Δ T 2 k A Δ T w t p m + h A Δ T 2 k A Δ T w t p s ρ V p C p
where Q m represents the heat transfer of refrigerant; Q s represents the heat transfer of slave fluid; h represents the convective heat transfer coefficient; A represents the effective heat transfer area; k represents the thermal conductivity of the wall material, Δ T w is the temperature difference between the fluid and the wall; t p represents the pipe thickness; ρ represents the wall material density; V p represents the wall material volume; C p represents the specific heat capacity of the wall material at constant pressure.
The shell-and-tube heat exchanger is used for the condenser and evaporator in the AC circuit, while the disc heat exchanger is used for chiller in the battery cooling circuit. The parameters are shown in Table 2.
The convection heat transfer coefficient h c o n d in condenser is the calculated using the Tube, Shah, 1979 model, as shown in Equations (6)–(8). The applicable fluid conditions of this calculation model are: 0.002 < P r < 0.44 ,   0 < m a < 1 ,   10.8 < q < 1599   kg / m 2 s ,   R e l > 350 ,   P r l > 0.5 ; where P r represents the Prandtl number, m a represents the mass, q represents the mass flow rate, R e l , P r l represent the Reynolds number and Prandtl number of the liquid phase.
N u l = 0.023 R e l 0.8 P r l 0.4
p r d = p p c r
h c o n d = N u l 1 x 0.8 + 3.8 x 0.76 1 x 0.04 p r d 0.4 k D
where, N u l represents the Nusselt number of the liquid phase; p ,   p c r represent the pressure and critical pressure; k represents the heat conductivity coefficient; D represents the characteristic diameter.
Convection heat transfer coefficient h e v a p in evaporator is calculated using Tube, Shah, 1982 model, as shown in Equations (9) and (10). The applicable fluid conditions of this calculation model are 0.7 < P r < 160 ,   R e > 10 , 000 .
h e v a p = 0.023 R e 0.8 P r 0.3 k D   h e a t i n g
h e v a p = 0.023 R e 0.8 P r 0.4 k D   c o o l i n g
Egl-5050 is selected as the coolant of the battery cooling circuit, so the chiller is liquid–liquid heat transfer, which is regarded as a fully developed fluid L / D > 10 . Thus, the Dittus–Boelter method is used to calculate the heat transfer coefficient in the chiller, and the calculation equations are the same as Equations (9) and (10).

2.1.4. Cabin PMV Model

In order to simplify the cabin model, only the main parameters of the cabin are selected here, as shown in Table 3.
The comfort level in the cabin is defined by the evaluation index Predicted Mean Vote ( P M V ) [38], which indicates that in an environment divided into seven thermal grades, the average value is extracted from the comfort level survey of a certain number of target test population, ranging from −3 to +3, and can be calculated by Equations (11)–(18). Table 4 shows the relationship between P M V and the level of thermal sensation or physiological stress level.
P M V = T S M W Φ 1 Φ 2 Φ 3 Φ 4 Φ 5 Φ 6
T S = 0.303 e 0.036 M + 0.028
Φ 1 = 3.05 × 10 3 × 5733 6.99 M W P a i r
Φ 2 = 0.42 M W 58.15     f o r   M W > 0   0                                         f o r   M W 0
Φ 3 = 1.7 × 10 5 M 5867 P a i r
Φ 4 = 1.4 × 10 3 M 34 T a
Φ 5 = 3.96 × 10 8 f c l T c l + 273 4 T r + 273 4
Φ 6 = f c l h c T c l T a
where:
T c l = 35.7 0.028 M W I c l Φ 5 + Φ 6
h c = 2.38 T c l T a 0.25     f o r     2.38 T c l T a 0.25 > 12.1 v a 12.1 v a                     f o r     2.38 T c l T a 0.25 12.1 v a
f c l = 1.00 + 1.290 I c l     f o r   I c l 0.078   m 2   ° C / W 1.05 + 0.645 I c l     f o r   I c l > 0.078   m 2   ° C / W
where M represents the metabolic rate; W represents external absorbed work; P a i r represents relative humidity; T a represents the air temperature; f c l represents the ratio of the surface area when the person is clothed to the surface area when the person is naked; I c l represents the clothing thermal resistance; T c l represents the clothing surface temperature; T r represents the average radiation temperature; h c represents the convective heat transfer coefficient between passenger and cabin; v a represents the wind speed near the passenger.
According to references [39,40,41,42], the cabin air temperature T a is considered to be the sole variable in this study. Thus, the driver’s M is set at 1 m e t ; I c l is set at 0.5 c l o during summer; W is set to 0. The fan speed in the cabin remains constant at 2400 rpm , resulting in an approximate v a of 0.2 m / s . P a i r is maintained at a constant value of 50 % . Since measuring the average T r is challenging, it is assumed to be equal to T a . Based on Equations (11)–(18), when P M V is equal to zero, the driver experiences the highest comfort level, the corresponding comfortable temperature T c o m f o r t can be determined using Equation (19), which is also used as the reference cabin temperature for the AC circuit controller.
T c o m f o r t = Φ 1 + Φ 2 + Φ 3 + Φ 5 M + 47.6 × 10 3 M + f c l h c T c l 1.4 × 10 3 M + f c l h c

2.2. Battery Cooling Circuit Model

2.2.1. Battery Pack Model

This study focuses on the overall thermal performance of the lithium iron phosphate (LiFePO4) battery pack. Therefore, detailed considerations of single battery cell thermal conduction and arrangement are not included. The main focus is on setting the circuit cycle parameters and heat transfer model. The specific parameter values are listed in Table 5.
In this battery pack model, heat is primarily generated through three mechanisms, including ohmic and reaction losses q r e s , coulombic losses q c , and reversible losses q r e v .
q r e s is defined as the total dissipation of resistances in the circuit and can be expressed as Equation (20):
q r e s = I V O C V T
q c is defined as the power across the current source representing the coulombic efficiency current and can be expressed as Equation (21):
q c = I C V T
q r e v is defined as the heat generation due to entropic changes in the cathode and anode, using the temperature coefficient C T to be calculated and can be expressed as Equation (22):
q r e v = I O C C T T
The total heat dissipation is defined as the sum of the three heat losses, as shown in Equation (23):
q t o t a l = q r e s + q c + q r e v
The battery current I is calculated based on the external power demand P r e q , battery resistance R , and open-circuit voltage V O C , and can be expressed as Equation (24):
I = V O C ± V O C 2 4 R P r e q 2 R
Instantaneous current I O C through the open-circuit voltage is integrated over time to calculate a change in capacity during the simulation. This change in capacity is subtracted from the initial capacity to calculate an instantaneous capacity. The battery’s state of charge ( S O C ) is then defined as the ratio of instantaneous capacity to maximum capacity, as shown in Equation (25).
S O C = C a p t C a p m a x = S O C i n i t C a p m a x 0 t I O C d t C a p m a x
where C a p t represents the instantaneous battery capacity; C a p m a x represents the maximum battery capacity; S O C i n i t represents the initial S O C value.
In this study, V O C and R in Equation (24) are calibrated using a contour map based on the battery discharge experiments, as shown in Figure 2.

2.2.2. Pump Model

The pump operation process is simulated using a contour map that includes the input parameters of pump speed, volumetric flow rate, head, and overall efficiency, as shown in Figure 3.
The pump power consumption P p u m p during operation is calculated using Equation (26).
P p u m p = Δ p q i n η p u m p
where, Δ p represents the static pressure difference between the pump inlet and outlet;   q i n represents the pump volumetric flow rate; η p u m p represents the pump efficiency.

2.2.3. Battery Cooling Valve

The battery cooling valve used in this study is a proportional valve with a diameter of 8 mm. When T b is below 30 ° C , the valve remains closed, and the chiller in the battery cooling circuit does not need to be coupled with the AC circuit. When T b exceeds 30 ° C , the valve gradually opens to couple the battery cooling circuit with the AC circuit for heat exchange. The relationship between T b and the battery cooling valve lift l v is shown in Figure 4.

2.3. Vehicle Dynamic Model

The vehicle dynamic model consists primarily of the electric motor, transmission, differential, and vehicle model, which are all built by the reference model and then combined in GT-Suite. Since the entire vehicle dynamic model is very complex and the research focus of this work is the EVTMS control, we do not describe the whole dynamic model in detail but give the motor model, which is important to calculate the required power provided by the battery. The required power P r e q of the electric motor is calculated using Equations (27)–(29):
T q b = P b ω
T q i = T q b + T q f
P r e q = T q i ω E ω , T q b
where, P b represents the braking or acceleration power demand; T q b represents the braking or acceleration torque; T q f represents the braking friction torque; E ω , T q b represents the electromechanical conversion efficiency.
Other vehicle model parameters used in this paper are shown in Table 6.
The model proposed above is built and combined in GT-Suite, and the final EVTMS is shown in Figure 5.

2.4. Discrete Fluid Model

The fluid variables in the whole EVTMS are mainly solved by 1-dimensional Navier–Stokes equations, including mass, energy, enthalpy and momentum equations as Equations (30)–(33) below.
Mass equation:
d m d t = b o u n d a r i e s m ˙
Energy equation:
d m e d t = p d V d t + b o u n d a r i e s m ˙ H h A s T f l u i d T w a l l
Enthalpy equation:
d ρ H V d t = V d p d t + b o u n d a r i e s m ˙ H h A s T f l u i d T w a l l
Momentum equation:
d m ˙ d t = d p A + b o u n d a r i e s m ˙ u 4 C f ρ u u 2 d x A D K p A ρ u u 2 d x
where, m ˙ is the mass flow rate at the boundary m ˙ = ρ A u ; m is mass; V is volume; p is pressure; ρ is density; A is the cross section area; A s is the heat transfer surface area; e is the total internal energy; H is the enthalpy; h is the heat transfer coefficient; T f l u i d is the temperature of fluid; T w a l l is the temperature of wall; u is the velocity on the boundary layer; C f is the friction coefficient; K p is the pressure loss coefficient; D is the equivalent diameter; d x is the length of the mass unit in the direction of flow; d p is the pressure difference on d x .
The governing equations in the EVTMS are mainly solved by the implicit discrete method based on the principle of virtual work, which is suitable for the pressure pulsation involved in the cooling system and the long-term fluid simulation conditions and has a faster calculation speed, so it will involve the calculation of large time steps. The simulation in this paper ignores the unnecessary pressure pulsation, and the flow calculation time step is solved by Equation (34):
Δ t V A e c
where, V is the flow volume; A e is the flow area; c is the velocity of sound.

2.5. Equilibrium Points

In this work, the selected ambient temperature in summer is 40 ° C , so the initial temperature of all components in the EVTMS is 40 ° C . We also consider the external cabin solar flux input (as shown in Table 3), so when there is no control input and power load, the cabin temperature will slowly rise, which is much closer to the real case.

3. Control Model

The input–output diagram of the control system is shown in Figure 6. Considering the economic and safety factors, the reference battery temperature T b r is set to 35 ° C and the reference cabin temperature T c r is set to the T c o m f o r t in Equation (19). The manipulated variables are the pump speed n b a t and the compressor speed n c o m p . The main input variables include battery pack temperature T b , cabin temperature T c , vehicle speed v , evaporator inlet and outlet temperatures T e i n ,   T e o u t , chiller inlet and outlet temperatures T c h i n ,   T c h o u t , and battery cooling valve lift l v . The range of the manipulated variables is set as follows:
0 n b a t 2000 ;               0 n c o m p 6000
500 Δ n b a t 500 ;   1000 Δ n c o m p 1000

3.1. PI Controller

The advantage of proportional (P) controller is timely and rapid, but it will produce residual errors, while the integral (I) controller can eliminate residual errors, but it is not timely. Therefore, this study adds I controller on the basis of P controller to form an incremental parallel PI controller, as shown in Figure 7. However, it should be noted that in this work, two similar PI controllers are used separately, where the first is used for controlling the battery temperature, and the second is used for controlling cabin comfort. The controlled values are the increment of n b a t and n c o m p and the control inputs are the deviations of T b and T c from the reference value T b r , T c r , respectively. The control principle is Equations (35)–(37), where K p ,   K i are proportional coefficient and integral coefficient.
e t = r t y t
Δ u t = K p e t e t 1 + K i e t
u t = u t 1 + Δ u t

3.2. Model Predictive Control (MPC)

Model Predictive Control (MPC) has strong robustness and can effectively address issues such as uncertainty and nonlinearity. The control logic diagram is illustrated in Figure 8. MPC consists of three main elements: Prediction Model, Rolling Optimization, and Feedback Control.
  • Prediction Model: Based on the current information of the system and future control inputs, the prediction model forecasts the system’s future output;
  • Rolling Optimization: This refers to the continuous forward movement in a finite time horizon, where the optimization problem is repeatedly solved;
  • Feedback Correction: At each step of rolling optimization, the current system output is compared with the predicted output within the prediction horizon. The error is calculated, and the feedback difference is used for correction.
For each control time step k , MPC aims to determine m control increments Δ u , so that the predicted value of the controlled object in the future p steps under its action is as close as possible to the reference value r , and meanwhile Δ u is not too drastic. The objective function is as Equation (38).
min J k = i = 1 p r k + i | k y ˜ k + i | k q i 2 + j = 1 m Δ u k + j | k q j 2
where: k represents the current time step; k + i represents the future i step; q i represents the weight matrix of the tracking error and q i = 100 · I in this paper ( I represents the identity matrix); q j represents the weight matrix of the control variable and q j = 0.06 · I in this paper; p represents the prediction time horizon; m represents the control time horizon; r represents the reference value; Δ u represents the change in the manipulated variable.

3.2.1. System Identification Simulation

Black-box model is adopted for system identification for the EVTMS built in Section 2. Compared with grey-box model, black-box model is able to build the state-space function through test data without using much more complex equations of each component, so, in order to obtain useful data for system identification, it is necessary to calibrate the EVTMS through test cycle, as presented in Table 7.
The calibration test condition is divided into four stages: 0–300 s, 300–800 s, 800–2600 s and 2600–6200 s, which are mainly used to get the EVTMS performance under different power load and control input. Throughout the calibration test, the pump and compressor speed increased uniformly from the lower limit to the upper limit. Meanwhile, we also give sufficient duration time when the control input changes to allow the system to have sufficient response time. The entire test condition included three WLTC cycles to ensure sufficient external power load. Therefore, these four calibration stages basically include all the operating conditions of the actual EVTMS, which can better reflect the overall characteristics of the system, so as to improve the accuracy of the black-box model. The simulation results are then used to identify the state-space model of the EVTMS.

3.2.2. State-Space Model

The state-space model adopted in this paper is as follows:
x k + 1 = A x k + B u u k + B d v k y k = C x k
where, x k represents the state variables; u k represents the input variables; v k represents the measurable disturbances; y k represents the output variables; A represents the state matrix; B u represents the input matrix; B d represents the measurable disturbance matrix; C represents the output matrix, and the discrete time step is 1 s. It should be noted that the time delay of the EVTMS does not appear in the state-space function as it is difficult to accurately calculate or build the mathematic model of the time delay because of the inherently complex process of the heat transfer, and this issue can be somewhat solved by a method introduced in Section 3.3 below.
In the system identification process, we can freely choose the order of the system state variable x k to achieve more accurate identification performance. Therefore, x k has no practical significance. For the battery cooling circuit, the input variable is n b a t , the output variable is T b , and the measurable disturbances are T c h i n ,   T c h o u t , v ,   l v . For the cabin AC circuit, the input variable is n c o m p , the output variable is T c , and the measurable disturbances are T e i n , T e o u t , v . The simulation result of Section 3.2.1 is used to identify 4-order state-space models using the N4SID method, shown as follows:
Battery cooling circuit:
x 1 k + 1 x 2 k + 1 x 3 k + 1 x 4 k + 1 = A 1 x 1 k x 2 k x 3 k x 4 k + B u 1 n b a t k + B d 1 T c h i n k T c h o u t k v k l v k
T b k = C 1 x 1 k x 2 k x 3 k x 4 k
A 1 = 0.999 5.67 e 4     8.31 e 4 9.55 e 4 8.54 e 3 0.930           0.0783 0.0882 0.0276 0.340     0.0356 0.648 0.0214 0.0563     0.919 0.250
B u 1 = 4.72 e 8 1.18 e 6 7.91 e 5 9.63 e 7   B d 1 = 4.08 e 4 5.80 e 5     9.18 e 6 0.0168 0.0312 1.12 e 3     4.34 e 4 1.04 0.346 0.0383     5.79 e 3 14.9 0.371 0.0200     5.84 e 3 14.6
C 1 = 49.1 0.129 8.49 e 3 9.04 e 3
AC circuit:
x 1 k + 1 x 2 k + 1 x 3 k + 1 x 4 k + 1 = A 2 x 1 k x 2 k x 3 k x 4 k + B u 1 n comp k + B d 2 T ein k T eout k v k
T c k = C 2 x 1 k x 2 k x 3 k x 4 k
A 2 = 0.996 7.44 e 3     2.78 e 4 4.56 e 4 4.00 e 3 0.976     0.0955 0.0113 0.0139 0.0947     0.286 0.816 0.0141 0.0474     0.857 0.161
B u 2 = 3.47 e 8 1.85 e 6 4.00 e 5 6.29 e 5   B d 2 = 1.36 e 5 6.14 e 6 8.84 e 7 1.50 e 3 6.16 e 4 3.60 e 5 3.70 e 3 1.81 e 3 2.21 e 4 0.0195 8.68 e 3 7.06 e 4
C 2 = 322 1.15 0.145 0.0852

3.3. NN-Fuzzy PI Controller

The optimization of the PI controller built in Section 3.1 is performed by incorporating a BP neural network to predict the system variable change at time k + x , where x is the prediction time point. The prediction is then used as a feedforward correction in the control loop to mitigate the issues arising from the nonlinearity of the EVTMS and time delay caused by heat transfer. Additionally, a fuzzy controller is also introduced to determine the required K p , K i values for the PI controller under different output errors. Therefore, the proposed neural network fuzzy PI (NN-Fuzzy PI) controller is illustrated in Figure 9.

3.3.1. BP Neural Network Model

A three-layer BP neural network is employed in this study, as shown in Figure 10. It should be noted that two different BP neural networks with the same structure are used for battery temperature prediction and cabin temperature prediction, respectively. For the battery cooling circuit, n b a t ,   T c h i n ,   T c h o u t , v ,   l v at time k are input layer variables, and the battery temperature change Δ T b ˜ at time k + x is output layer variable. For the AC circuit, n c o m p ,   T e i n , T e o u t ,   v at time k are input layer variables, while the cabin temperature change Δ T c ˜ at time k + x is output layer variable. Neural networks of both battery cooling circuit and AC circuit have 10 neurons in the hidden layer, and the prediction time point is set to x = 10   s . The number of hidden layer neurons is the ideal value obtained through trial and error, which can prevent the neural network from underfitting or overfitting.
This study performs multiple simulations of the PI controller established in Section 3.1, and the simulation results are used as training samples for neural networks. The training diagram is shown in Figure 11. The training is conducted using the Bayesian regularization method, where the total number of samples is 39,380, with the training set, validation set, and testing set comprising 70%, 15%, and 15%, respectively. The training results are shown in Figure 12, Figure 13 and Figure 14.

3.3.2. Fuzzy PI Controller

Fuzzy control is suitable for solving nonlinear, strong coupling, time-varying and hysteresis problems because it does not need the exact mathematical model and has strong robustness and high tolerance. Thus, it is widely used in industrial applications, such as liquid level, dryer speed and energy storage control [43,44,45].
This study adopts a fuzzy controller combined with the PI controller to form a Fuzzy PI controller, aiming to reduce system oscillations when the deviations are small and ensure sufficient system adjustments when the deviations are large. The input variables of the Fuzzy PI controller are the temperature deviation e between the reference temperature T r e f and the actual temperature T and its change rate e c . e and e c are defined as Equations (39) and (40):
e = T r e f T
e c = d e d t
The membership functions of e and e c are set up according to references [46,47]. The symmetrical triangular membership functions shown in Figure 15 are applied to the input and output variables to increase the calculation efficiency.
In the figures, the basic domain and fuzzy domain for e are both set as [−3, 3]. The basic domain and fuzzy domain for e c are both set as [−0.1, 0.1]. Beyond this range, it is treated as a boundary value. Five fuzzy subsets are defined for e and e c , with linguistic variables being (NB, NS, ZO, PS, PB). For the output, the basic domain and fuzzy domain for K p are set as [0, 3000] and [0, 1], respectively. The basic domain and fuzzy domain for K i are set as [0, 0.01] and [0, 1]. Three fuzzy subsets are defined for the K p , K i , with linguistic variables being (NB, NS, ZO).
This paper adopts the same fuzzy control rules for both K p and K i , as shown in Table 8. In the control process, the controller queries the control rules according to e and e c . After removing fuzziness, the fuzzy logic system sends the K p , K i values to the PI controller. This realizes self-adaptation of the PI parameters.

3.4. Controller Parameters

The controller parameters ( K p ,   K i , control domain m , prediction domain p , weight coefficient, fuzzy control rules, neural network structure, prediction point, etc.) in Section 3.1, Section 3.2 and Section 3.3 are determined by trial and error. It is relatively simple and does not take much time, which is commonly used in the industry. We first obtain a series of simulation groups by changing controller parameters through the control variable method, and then, compare the simulation results of each control parameter, and finally, summarize the results of the most representative parameters in Section 4.

4. Result and Analysis

The EVTMS built in Section 2, combined with the controllers built in Section 3, including PI, MPC, and NN-Fuzzy PI controllers, is simulated through a WLTC condition (as shown in Figure 16). Controller parameters are varied to observe their performance. The temperature root-mean-square error (RMSE) ( S ) and its change magnitude ( Δ S ) are calculated using Equations (41) and (42).
S = 1 N i = 1 N T i T r e f 2
Δ S = S S N N F u z z y P I
where, N represents the target calculation time; T i represents the temperature at time i ; T r e f represents the reference temperature; S N N F u z z y P I represents the S value of NN-Fuzzy PI controller.

4.1. Battery Pack Temperature Control Effect

Figure 17 shows the control effect of different K p values on the battery pack temperature T b and the corresponding pump speed n b a t under PI controller. When K p is relatively small (i.e., the blue line in Figure 17a), the system response is slower, and temperature fluctuations are more pronounced. On the other hand, when K p is too large, although the fluctuations of T b decrease, the corresponding n b a t increases (i.e., the green line in Figure 17b). Excessive n b a t changes may lead to a shortened lifespan of the pump. Therefore, an ideal control scenario for PI controller lies around a K p value of −300.
Figure 18 shows the control effect of different control and prediction horizons on T b and the corresponding n b a t under MPC. Higher control and prediction horizons can result in better T b performance at the cost of more pronounced n b a t variations (i.e., the green line in Figure 18). The ideal control and prediction horizons are m = 10   s and p = 20   s among the three cases. For lower control and prediction horizons, the T b performance is poorer because the state-space model cannot accurately predict the future temperature variations of this complex nonlinear system.
Figure 19 shows the control effect on T b , e T b , and corresponding n b a t under PI controller, MPC, and NN-Fuzzy PI controller. Compared to PI controller, MPC does not exhibit obvious advantages in terms of T b performance, such as the blue and red lines in the black zoomed-in box area near 100–400 s in Figure 19a.
Although both PI controller and MPC can maintain the e T b within the range of [−1, 1], they have limitations in effectively reducing temperature fluctuations after reaching the target value due to the inherent limitations of the PI and MPC models in describing complex nonlinear systems and the time delay caused by heat transfer. However, by introducing the neural network prediction as feedforward to compensate for the future T b changes, the T b fluctuations under NN-Fuzzy PI controller are significantly reduced (i.e., the green line in Figure 19a,b), along with a decrease in the variation amplitude of n b a t . The NN-Fuzzy PI controller also enables temperature adjustments by preemptively activating or deactivating the pump in response to overshoot caused by the time delay caused by heat transfer in the battery cooling circuit. For example, in Figure 19c,   n b a t is reduced before t reaching 90 s to prevent excessive battery cooling (i.e., t1 < t2 < t3 in the black zoomed-in box area near 80–120 s), and n b a t is relatively lower and more steady in the interval of 800–1200 s instead of a sudden increase (i.e., the yellow box area), resulting in smaller overshoot in the control of T b after reaching the reference temperature.
Meanwhile, it should be noted that MPC, in principle, should have the best performance with its capability of optimization. However, it is based on the prerequisite of grey-box model instead of the black-box model adopted in this work. So, even though we can freely choose the dimensions of the state-space functions, there are still errors between the established black-box model in MPC and the real one, while the NN-Fuzzy PI controller is directly based on the output of the plant, which is the main reason why MPC does not perform as well as NN-Fuzzy PI controller in this work.
Table 9 shows the S T b values between T b and T b r after 100 s as well as the pump energy consumptions W p u m p under different controllers. It is obvious that the NN-Fuzzy PI controller reaches the lowest S T b and W p u m p among all cases. Compared to PI controller, the NN-Fuzzy PI controller reduces S T b by 70% to 150% and W p u m p by 17% to 22%; compared to MPC, it reduces S T b by 106% to 173% and W p u m p by 13% to 18%.

4.2. PMV Control Effect

Figure 20 shows the control effect of different K p values on P M V and the corresponding compressor speed n c o m p under PI controller. In comparison to its control on T b (i.e., Figure 17a), the PI controller cannot achieve an ideal performance on P M V , which is mainly because the cabin model has the external solar flux inputs (the solar flux value in Table 3). And PI controllers cannot accurately capture the influence of unmeasurable external inputs, resulting in P M V only being confined to the range of [−1, 1]. As K p increases, the system becomes more sensitive to P M V fluctuations, leading to faster attainment of local peaks in P M V and n c o m p troughs. For example, the peak arrival times follow the order t 1 < t 2 < t 3 in the black zoomed-in box area near 700–800 s in Figure 20b. Meanwhile, a higher K p value will also cause larger P M V fluctuations according to Figure 21a. An ideal control scenario for PI control lies around a K p value of −150.
Figure 21 shows the control effect of different control horizons and prediction horizons on P M V and the corresponding n c o m p under MPC. MPC can confine P M V within the range of [−0.25, 0.25], providing a comfortable experience for the driver, and meanwhile adjust n c o m p reasonably based on the current P M V value. However, due to unmeasurable disturbances such as the solar flux, MPC still struggles to effectively reduce the fluctuations after reaching the reference P M V . Although increasing the prediction horizon can slightly reduce the fluctuations, it also leads to significant and frequent changes in n c o m p (i.e., the green line in Figure 21). Therefore, the ideal control and prediction horizons are m = 10   s and p = 20   s among the three cases, taking both P M V fluctuation reduction and avoiding excessive and frequent changes in n c o m p into consideration.
Figure 22 shows the control effect on P M V , e P M V , and corresponding n c o m p under PI controller, MPC, and NN-Fuzzy PI controller. It is obvious that MPC can reduce P M V fluctuations compared to PI controller (i.e., the blue and red lines in Figure 22a,b). However, due to their limitations in describing complex nonlinear systems, MPC and PI controllers can only limit e P M V to the range [−0.3, 0.3]. On the other hand, by incorporating a predictive feedforward of T c , the NN-Fuzzy PI controller can significantly reduce the e P M V to a range of [−0.1, 0.1] (i.e., the green line in Figure 22a,b), where the driver can hardly perceive any temperature changes.
Furthermore, by comparing the changes in n c o m p , it can be seen that the NN-Fuzzy PI controller effectively anticipates the time delay caused by heat transfer and reduces the overshoot by lowering n c o m p before reaching the reference P M V . For instance, in the interval of 1600–1800 s (i.e., the yellow box area in Figure 22c), n c o m p of the PI controller exhibits only one low peak (i.e., the blue line in Figure 22c), while MPC maintains n c o m p around 3000 RPM (i.e., the red line in Figure 22c), and the NN-Fuzzy PI controller varies n c o m p between 2000 and 5000 RPM to compensate for the fluctuations in P M V (i.e., the green line in Figure 22c).
Table 10 presents the values of S P M V after 600 s as well as the compressor energy consumptions W c o m p under different controllers. MPC outperforms PI controller in terms of S P M V and W c o m p and NN-Fuzzy PI controller exhibits the lowest S P M V and W c o m p among all the cases. Compared to the PI controller, the NN-Fuzzy PI controller reduces S P M V by 107% to 164% and W p u m p by 2.58% to 3.16%; compared to MPC, it reduces S P M V by 43% to 58% and W p u m p by 1.98% to 2.68%.

4.3. Performance of Neural Network Feedforward

The effectiveness of neural network feedforward (NN feedforward) in the Fuzzy PI controller has been proved in Section 4.1 and Section 4.2. To further explore its performance in different controllers, we add it to the MPC controller to form neural network-MPC (NN-MPC), as shown in Figure 23, where the NNs are the same as the NNs used in the NN-Fuzzy PI controller.
Figure 24 shows the control effect of T b and P M V as well as corresponding pump and compressor speed under the NN-MPC, MPC and NN-Fuzzy PI controller. It is obvious that compared with MPC (i.e., the red line in Figure 24), after adding the NN prediction as feedforward, T b and P M V fluctuations are significantly reduced (i.e., the blue line in Figure 24). Although there is a gap of T b with the reference value in the range of 700–1000 s, the overall performance and the pump speed curve are much closer to those of the NN-Fuzzy PI controller. Meanwhile, P M V fluctuations of NN-MPC are even lower than the NN-Fuzzy PI controller, which proves the effectiveness of neural network feedforward in MPC.
Table 11 presents the S T b values after 100 s and pump energy consumption W p u m p under MPC, NN-MPC and NN-Fuzzy PI controller. Compared with MPC, S T b and W p u m p of NN-MPC are significantly reduced by 40.8% and 9.2%, respectively, but they are still higher than those of NN-Fuzzy PI controller. Table 12 presents the S P M V values after 600 s and compressor energy consumption W c o m p . NN-MPC can achieve the same or even better control performance of P M V than NN-Fuzzy PI controller. Compared with MPC, S P M V and W c o m p can even be reduced by 44.9% and 2.1%, respectively, by NN-MPC.
Meanwhile, the neural networks’ predicted temperature deviations Δ T b ˜ and Δ T c ˜ compared to the actual simulation output Δ T b and Δ T c are shown in Figure 25. It can be seen that the neural networks can accurately capture the temperature trends. Although there are some areas with larger prediction errors (i.e., the yellow box areas in Figure 25), indicating the effect of neural networks is limited within this range (i.e., the ultra-high-speed segment in WLTC), S Δ T b and S Δ T c are 0.1133 ° C and 0.0718 ° C , respectively, which are small enough to provide effective feedforward compensation for the control of T b and T c .
According to the above analysis, the effectiveness of neural network feedforward in MPC is verified. Therefore, the neural network feedforward plays a crucial role in improving the performance of different controllers and reducing energy consumption.

5. Conclusions

This study presents a one-dimensional EVTMS simulation model under summer conditions, considering both the battery pack temperature and the cabin comfort, and eventually, the performance of different controllers on this model is compared. The following conclusions are drawn:
Compared to MPC, PI controller shows weaker performance in controlling the AC circuit because of the unmeasurable external disturbances;
1.
Under WLTC condition, the NN-Fuzzy PI controller can accurately predict the nonlinear and time delay characteristics of the EVTMS and provide advanced feedforward to the system, resulting in better control performance and lower energy consumption compared to PI controller and MPC;
2.
The T b fluctuations under NN-Fuzzy PI controller are within the range of [−0.5, 0.5], while the P M V fluctuations are within the range of [−0.1, 0.1];
3.
Compared to PI controller, the NN-Fuzzy PI controller reduces S T b by 70% to 150% and W p u m p by 17% to 22%; compared to MPC, it reduces S T b by 106% to 173% and W p u m p by 13% to 18%;
4.
Compared to PI controller, the NN-Fuzzy PI model reduces S P M V by 107% to 164% and W c o m p by 2.58% to 3.16%; compared to MPC, it reduces S P M V by 43% to 58% and W c o m p by 1.98% to 2.68%;
5.
When NN feedforward is added to MPC, S T b , S P M V and the energy consumption are also significantly reduced, which indicates the effectiveness of NN feedforward in different controllers.
Furthermore, due to the adaptive capabilities of neural networks, the dynamic prediction performance can become more accurate with increased training data. However, this study also has limitations and optimization space:
  • Factors that may affect the EVTMS performance, such as the battery arrangement and consistency, are not considered, which can be further studied by CFD simulation to establish a more accurate battery model;
  • Some algorithms, such as nonlinear model predictive control (NMPC), genetic algorithms (Gas) and particle swarm optimization (PSO), can be used to control all variables inside EVTMS instead of only pump and compressor speed;
  • Parameters and hyperparameters in the controllers can be further optimized;
  • The robustness and performance of controllers under heating conditions in the winter can be further tested.
Future research can be carried out according to the above aspects. It is hoped that the conclusions of this study can assist TMS engineers in choosing better control strategies and building advanced EVTMS.

Author Contributions

Conceptualization, F.F. and D.W.; methodology, F.F.; software, F.F.; validation, F.F.; formal analysis, D.W.; investigation, F.F.; resources, D.W.; data curation, F.F.; writing—original draft preparation, F.F.; writing—review and editing, D.W.; visualization, F.F.; supervision, D.W.; project administration, D.W.; funding acquisition, D.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data available on request due to restrictions eg privacy or ethical.

Acknowledgments

The authors would like to acknowledge Gamma technologies, LLC., Pittsburgh, PA, USA and ATIC-China Co., Ltd. Shanghai, China for providing GT-SUITE software version 2023.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

A Effective heat transfer area ( m 2 ) S Root-mean-square error
A m a x Maximum cross-sectional area ( m 2 ) S N N F u z z y P I Root-mean-square error of NN-Fuzzy PI controller
C m Refrigerant flow coefficient S T b Root-mean-square error of battery temperature ( ° C )
C p Constant pressure specific heat capacity ( J / kg   K ) S P M V Root-mean-square error of P M V
C a p Battery capacity S O C State of charge
C a p m a x Maximum battery capacity S O C i n i t Initial state of charge
D Characteristic diameter ( m ) T Temperature ( ° C )
e Difference T a Air temperature ( ° C )
e c Difference change rate T b Battery pack temperature ( ° C )
E ω , T q b Electromechanical conversion efficiency T b r Reference battery pack temperature ( ° C )
f c l Ratio of the surface area T c h i n Chiller inlet temperature ( ° C )
h Convective heat transfer coefficient ( W / m 2   K ) T c h o u t Chiller outlet temperature ( ° C )
h c o n d Condenser convection heat transfer coefficient ( W / m 2   K ) T c o m f o r t Comfortable temperature ( ° C )
h e v a p Evaporator convection heat transfer coefficient ( W / m 2   K ) T c r Reference cabin temperature ( ° C )
h c Cabin convective heat transfer coefficient ( W / m 2   K ) T c l Clothes surface temperature ( ° C )
h i n c Refrigerant enthalpy change J / K T e i n Evaporator inlet temperature ( ° C )
I Battery current ( A ) T e o u t Evaporator outlet temperature ( ° C )
I O C Instantaneous current ( A ) T r Average radiation temperature ( ° C )
I c l Thermal resistance of clothes ( c l o ) T r e f Reference temperature ( ° C )
K i Integral coefficient T w Wall temperature ( ° C )
K p Proportional coefficient T q b Braking or acceleration torque ( N   m )
k Heat conductivity coefficient ( W / m   K ) T q f Braking friction torque ( N   m )
L Characteristic length ( m ) t p Thickness of the heat exchanger pipe ( m )
l v Battery cooling valve lift ( mm ) u Manipulated variable
M Metabolic rate ( m e t ) V O C Open-circuit voltage ( V )
m a Mass ( kg ) V c o m p Compressor displacement ( m 3 )
m Control time horizon ( s ) V p Wall material volume ( m 3 )
N u Nusselt number v Vehicle speed ( m / s )
n b a t Pump speed ( rpm ) v a Wind speed ( m / s )
n c o m p Compressor speed ( rpm ) W External absorbed work ( W / m 2 )
P c o m p Compressor power consumption ( W ) W c o m p Compressor energy consumption ( KJ )
P p u m p Pump power consumption ( W ) W p u m p Pump energy consumption ( KJ )
P a i r Relative humidity x Prediction time point ( s )
P b Braking or acceleration power demand ( W ) y Output value
P r e q Required power demand ( W ) η Efficiency
P M V Predicted mean vote ρ i n Refrigerant density at the expansion valve inlet kg / m 3
P r Prandtl numberSubscripts and acronyms
p Prediction time horizon ( s )
p c r Critical pressure ( Pa )ACAir conditioning
p i n Expansion valve inlet pressure ( Pa )EVElectric vehicle
p o u t Expansion valve outlet pressure ( Pa )DPDynamic programming
Q m Heat transfer of refrigerant W FSMFinite state machine
Q s Heat transfer of slave fluid W FCFuzzy control
q Mass flow rate ( kg / s )NNNeural network
q c Coulombic losses W NN-Fuzzy PINeural network fuzzy proportional-integral
q r e v Reversible losses W PIProportional-Integral
q r e s Ohmic and reaction lossesPIDProportional-Integral-Derivative
q i n Pump volumetric flow rate ( L / min )PHEVPlug-in hybrid electric vehicle
q m Refrigerant mass flow rate ( kg / s )PSOParticle Swarm Optimization
q i Weight matrix of the tracking error variableTMSThermal management system
q j Weight matrix of the control variableWLTCWorld light vehicle test cycle
R Battery resistance Ω Greek symbols
R e Reynolds number
r Reference value Δ Difference

References

  1. Lu, L.; Han, X.; Li, J.; Hua, J.; Ouyang, M. A review on the key issues for lithium-ion battery management in electric vehicles. J. Power Sources 2013, 226, 272–288. [Google Scholar] [CrossRef]
  2. Hosen, M.S.; Youssef, R.; Kalogiannis, T.; Van Mierlo, J.; Berecibar, M. Battery cycle life study through relaxation and forecasting the lifetime via machine learning. J. Energy Storage 2021, 40, 102726. [Google Scholar] [CrossRef]
  3. Sun, P.; Bisschop, R.; Niu, H.; Huang, X. A Review of Battery Fires in Electric Vehicles. Fire Technol. 2020, 56, 1411. [Google Scholar] [CrossRef]
  4. Yang, T.; Yang, N.; Zhang, X.; Li, G. Investigation of the thermal performance of axial-flow air cooling for the lithium-ion battery pack. Int. J. Therm. Sci. 2016, 108, 132–144. [Google Scholar] [CrossRef]
  5. Bandhauer, T.M.; Garimella, S.; Fuller, T.F. A Critical Review of Thermal Issues in Lithium-Ion Batteries. J. Electrochem. Soc. 2011, 158, R1–R25. [Google Scholar] [CrossRef]
  6. Liu, H.; Wei, Z.; He, W.; Zhao, J. Thermal issues about Li-ion batteries and recent progress in battery thermal management systems: A review. Energy Convers. Manag. 2017, 150, 304–330. [Google Scholar] [CrossRef]
  7. Wang, Q.; Jiang, B.; Li, B.; Yan, Y. A critical review of thermal management models and solutions of lithium-ion batteries for the development of pure electric vehicles. Renew. Sustain. Energy Rev. 2016, 64, 106–128. [Google Scholar] [CrossRef]
  8. Yokoyama, A.; Osaka, T.; Imanishi, Y.; Sekiya, S. Thermal Management System for Electric Vehicles. SAE Int. J. Mater. Manuf 2011, 4, 1277–1285. [Google Scholar] [CrossRef]
  9. Kiss, T.; Chaney, L.; Meyer, J. A New Automotive Air Conditioning System Simulation Tool Developed in MATLAB/Simulink. SAE Int. J. Passeng. Cars-Mech. Syst. 2013, 6, 826–840. [Google Scholar] [CrossRef]
  10. Kiss, T.; Lustbader, J. Comparison of the Accuracy and Speed of Transient Mobile A/C System Simulation Models. SAE Int. J. Passeng. Cars-Mech. Syst. 2014, 7, 739–754. [Google Scholar] [CrossRef]
  11. Kiss, T.; Lustbader, J.; Leighton, D. Modeling of an Electric Vehicle Thermal Management System in MATLAB/Simulink. In Proceedings of the SAE 2015 World Congress & Exhibition, Detroit, MI, USA, 21–23 April 2015. [Google Scholar]
  12. Lee, S.; Chung, Y.; Kim, S.; Jeong, Y.; Kim, M.S. Investigation on the performance enhancement of electric vehicle thermal management system utilizing floating loop with finite heat exchanger size. Energy Convers. Manag. 2022, 255, 115265. [Google Scholar] [CrossRef]
  13. Yang, Q.; Zeng, T.; Zhang, C.; Zhou, W.; Xu, L.; Zhou, J.; Jiang, P.; Jiang, S. Modeling and simulation of vehicle integrated thermal management system for a fuel cell hybrid vehicle. Energy Convers. Manag. 2023, 278, 116745. [Google Scholar] [CrossRef]
  14. Shah, S.; Vijay, D.; Lehocky, M. Thermal Management of Electrified Vehicle by Means of System Simulation. In Proceedings of the Thermal Management Systems Conference 2020, Berlin, Germany, 21–22 January 2020. [Google Scholar]
  15. Dong, Y.Q.; Wu, H.; Zhou, J.; Ding, Y.; Wang, X.; Xu, S. Designing and Evaluating the Integrated Thermal Management System of a Plug-in Parallel Hybrid Electric Vehicle. In Proceedings of the SAE 2020 Vehicle Electrification and Autonomous Vehicle Technology Forum, Shanghai, China, 3–4 December 2020. [Google Scholar]
  16. Deng, L.; Li, S.; Tang, X.; Yang, K.; Lin, X. Battery thermal- and cabin comfort-aware collaborative energy management for plug-in fuel cell electric vehicles based on the soft actor-critic algorithm. Energy Convers. Manag. 2023, 283, 116889. [Google Scholar] [CrossRef]
  17. Asef, A.; Chitsaz, I.; Madan, N. Modeling and total cost optimization of battery thermal management system in a hybrid electric vehicle. J. Energy Storage 2022, 52 Pt A, 104844. [Google Scholar] [CrossRef]
  18. Wang, Z.R.; Huang, L.P.; He, F. Design and analysis of electric vehicle thermal management system based on refrigerant-direct cooling and heating batteries. J. Energy Storage 2022, 51, 104318. [Google Scholar] [CrossRef]
  19. Cen, J.; Jiang, F. Li-ion power battery temperature control by a battery thermal management and vehicle cabin air conditioning integrated system. Energy Sustain. Dev. 2020, 57, 141–148. [Google Scholar] [CrossRef]
  20. Yasaman, M.; Ahmad, M.; Nasser, L.A. Battery Thermal Management of Electric Vehicles: An Optimal Control Approach. In Proceedings of the ASME 2015 Dynamic Systems and Control Conference, Columbus, OH, USA, 28–30 October 2015. [Google Scholar]
  21. Chong, Z.; Fei, L.; Hua, Z.; Jing, S.; Chris, M.C. A Real-Time Battery Thermal Management Strategy for Connected and Automated Hybrid Electric Vehicles (CAHEVs) Based on Iterative Dynamic Programming. IEEE Trans. Veh. Technol. 2018, 67, 8077–8084. [Google Scholar]
  22. Min, H.; Zhang, Z.; Sun, W.; Min, Z.; Yu, Y.; Wang, B. A thermal management system control strategy for electric vehicles under low-temperature driving conditions considering battery lifetime. Appl. Therm. Eng. 2020, 181, 115944. [Google Scholar] [CrossRef]
  23. Shen, W.; Wang, N. Simulation and Control of Battery Thermal Management System for Electric Vehicle. In Proceedings of the Vehicle Electrification and Powertrain Diversification Technology Forum, Beijing, China, 23–24 August 2022. [Google Scholar]
  24. Şefkat, G.; Özel, M.A. Experimental and numerical study of energy and thermal management system for a hydrogen fuel cell-battery hybrid electric vehicle. Energy 2022, 238, 121794. [Google Scholar] [CrossRef]
  25. Wang, H.; He, F.; Ma, L. Experimental and modeling study of controller-based thermal management of battery modules under dynamic loads. Int. J. Heat Mass Transf. 2016, 103, 154–164. [Google Scholar] [CrossRef]
  26. Bauer, S.; Suchaneck, A.; León, F.P. Thermal and energy battery management optimization in electric vehicles using Pontryagin’s maximum principle. J. Power Sources 2014, 246, 808–818. [Google Scholar] [CrossRef]
  27. Zhang, Z.; Min, H.; Yu, Y.; Cao, Q.; Li, M.; Yan, K. An optimal thermal management system heating control strategy for electric vehicles under low-temperature fast charging conditions. Appl. Therm. Eng. 2022, 207, 118123. [Google Scholar] [CrossRef]
  28. Xie, Y.; Liu, Z.; Liu, J.; Li, K.; Zhang, Y.; Wu, C.; Wang, P.; Wang, X. A Self-learning intelligent passenger vehicle comfort cooling system control strategy. Appl. Therm. Eng. 2020, 166, 114646. [Google Scholar] [CrossRef]
  29. Yasaman, M.; Nasser, L.A. MPC-based battery thermal management controller for Plug-in hybrid electric vehicles. In Proceedings of the IEEE 2017 American Control Conference (ACC), Seattle, WA, USA, 24–26 May 2017. [Google Scholar]
  30. Vermillion, C.; Jing Sun Butts, K. Predictive Control Allocation for a Thermal Management System Based on an Inner Loop Reference Model—Design, Analysis, and Experimental Results. IEEE 2011, 19, 772–781. [Google Scholar] [CrossRef]
  31. Tao, X.W.; Wagner, J. Cooling Air Temperature and Mass Flow Rate Control for Hybrid Electric Vehicle Battery Thermal Management. In Proceedings of the ASME 2014 Dynamic Systems and Control Conference, San Antonio, TX, USA, 22–24 October 2014. [Google Scholar]
  32. Tao, X.; Zhou, K.; Ivanco, A.; Wagner, J.R.; Hofmann, H.; Filipi, Z. A Hybrid Electric Vehicle Thermal Management System—Nonlinear Controller Design. In Proceedings of the SAE 2015 World Congress & Exhibition, Detroit, MI, USA, 21–23 April 2015. [Google Scholar]
  33. Lopez-Sanz, J.; Ocampo-Martinez, C.; Alvarez-Florez, J.; Moreno-Eguilaz, M.; Ruiz-Mansilla, R.; Kalmus, J.; Graeber, M.; Lux, G. Nonlinear Model Predictive Control for Thermal Management in Plug-in Hybrid Electric Vehicles. IEEE Trans. Veh. Technol. 2015, 66, 3632–3644. [Google Scholar] [CrossRef]
  34. Lopez-Sanz, J.; Ocampo-Martinez, C.; Alvarez-Florez, J.; Moreno-Eguilaz, M.; Ruiz-Mansilla, R.; Kalmus, J.; Graeber, M.; Lux, G. Thermal Management in Plug-In Hybrid Electric Vehicles: A Real-Time Nonlinear Model Predictive Control Implementation. IEEE Trans. Veh. Technol. 2016, 66, 7751–7760. [Google Scholar] [CrossRef]
  35. Ma, Y.; Ding, H.; Mou, H.; Gao, J. Battery thermal management strategy for electric vehicles based on nonlinear model predictive control. Measurement 2021, 186, 110115. [Google Scholar] [CrossRef]
  36. Liu, Y.; Zhang, J. Self-adapting J-type air-based battery thermal management system via model predictive control. Appl. Energy 2020, 263, 114640. [Google Scholar] [CrossRef]
  37. García-Morales, J.; Cervantes-Bobadilla, M.; Hernández-Pérez, J.A.; Saavedra-Benítez, Y.I.; Adam-Medina, M.; Guerrero-Ramírez, G.V. Inverse artificial neural network control design for a double tube heat exchanger. Case Stud. Therm. Eng. 2022, 34, 102075. [Google Scholar] [CrossRef]
  38. Fanger, P.O. Thermal Comfort; Danish Technical Press: Copenhagen, Denmark, 1970. [Google Scholar]
  39. Farzaneh, Y.; Tootoonchi, A.A. Controlling automobile thermal comfort using optimized fuzzy controller. Appl. Therm. Eng. 2008, 28, 1906–1917. [Google Scholar] [CrossRef]
  40. Jang, M.S.; Koh, C.D.; Moon, I.S. Review of thermal comfort design based on PMV/PPD in cabins of Korean maritime patrol vessels. Build. Environ. 2007, 42, 55–61. [Google Scholar] [CrossRef]
  41. Toftum, J.; Jorgensen, A.S.; Fanger, P.O. Upper limits for indoor air humidity to avoid uncomfortably humid skin. Energy Build. 1998, 28, 1–13. [Google Scholar] [CrossRef]
  42. Atmaca, I.; Yigit, A. Predicting the effect of relative humidity on skin temperature and skin wittedness. J. Therm. Biol. 2006, 31, 442–452. [Google Scholar] [CrossRef]
  43. Euzébio, T.A.M.; Ramirez, M.A.P.; Reinecke, S.F.; Hampel, U. Energy Price as an Input to Fuzzy Wastewater Level Control in Pump Storage Operation. IEEE Access 2023, 11, 93701–93712. [Google Scholar] [CrossRef]
  44. Júnior, M.P.; da Silva, M.T.; Guimarães, F.G.; Euzébio, T.A.M. Energy savings in a rotary dryer due to a fuzzy multivariable control application. Dry. Technol. 2022, 40, 1196–1209. [Google Scholar] [CrossRef]
  45. Gopi, B.; Ramesh, G.; Logeshwaran, J. The Fuzzy Logical Controller Based Energy Storage and Conservation Model to Achieve Maximum Energy Efficiency In Modern 5G Communication. ICTACT J. Commun. Technol. 2022, 13, 2774–2779. [Google Scholar]
  46. Mann, G.K.I.; Hu, B.-G.; Gosine, R.G. Analysis of direct action fuzzy PID controller structures. IEEE Trans. Syst. Man Cybern. Part B 1999, 29, 371–388. [Google Scholar] [CrossRef]
  47. Wang, Y.; Jin, Q.; Zhang, R. Improved fuzzy PID controller design using predictive functional control structure. ISA Trans. 2017, 71 Pt 2, 354–363. [Google Scholar] [CrossRef]
Figure 1. Battery cooling circuit and cabin AC circuit.
Figure 1. Battery cooling circuit and cabin AC circuit.
Energies 17 00009 g001
Figure 2. Contours of S O C , T b and battery parameters (a) open voltage; (b) internal resistance.
Figure 2. Contours of S O C , T b and battery parameters (a) open voltage; (b) internal resistance.
Energies 17 00009 g002
Figure 3. Contours of head, volumetric flow rate and pump parameters (a) speed; (b) efficiency.
Figure 3. Contours of head, volumetric flow rate and pump parameters (a) speed; (b) efficiency.
Energies 17 00009 g003
Figure 4. T b vs. l v .
Figure 4. T b vs. l v .
Energies 17 00009 g004
Figure 5. Electric vehicle thermal management system.
Figure 5. Electric vehicle thermal management system.
Energies 17 00009 g005
Figure 6. Input and output of the control system.
Figure 6. Input and output of the control system.
Energies 17 00009 g006
Figure 7. PI controller structure.
Figure 7. PI controller structure.
Energies 17 00009 g007
Figure 8. MPC structure.
Figure 8. MPC structure.
Energies 17 00009 g008
Figure 9. NN-Fuzzy PI controller structure.
Figure 9. NN-Fuzzy PI controller structure.
Energies 17 00009 g009
Figure 10. BP neural network structure.
Figure 10. BP neural network structure.
Energies 17 00009 g010
Figure 11. Neural network training diagram.
Figure 11. Neural network training diagram.
Energies 17 00009 g011
Figure 12. Error histogram (a) Δ T b ; (b) Δ T c .
Figure 12. Error histogram (a) Δ T b ; (b) Δ T c .
Energies 17 00009 g012
Figure 13. NN results for the complete dataset (a) Δ T b ; (b) Δ T c .
Figure 13. NN results for the complete dataset (a) Δ T b ; (b) Δ T c .
Energies 17 00009 g013
Figure 14. Epoch graphic (a) Δ T b ; (b) Δ T c .
Figure 14. Epoch graphic (a) Δ T b ; (b) Δ T c .
Energies 17 00009 g014
Figure 15. Membership functions of e, ec and output.
Figure 15. Membership functions of e, ec and output.
Energies 17 00009 g015
Figure 16. WLTC condition.
Figure 16. WLTC condition.
Energies 17 00009 g016
Figure 17. PI controller results (a) T b ; (b) n b t .
Figure 17. PI controller results (a) T b ; (b) n b t .
Energies 17 00009 g017
Figure 18. MPC results (a) T b ; (b) n b a t .
Figure 18. MPC results (a) T b ; (b) n b a t .
Energies 17 00009 g018
Figure 19. Results of PI controller, MPC, NN-Fuzzy PI controller (a) T b ; (b) e T b ; (c) n b a t .
Figure 19. Results of PI controller, MPC, NN-Fuzzy PI controller (a) T b ; (b) e T b ; (c) n b a t .
Energies 17 00009 g019
Figure 20. PI controller results (a) P M V ; (b) n c o m p .
Figure 20. PI controller results (a) P M V ; (b) n c o m p .
Energies 17 00009 g020
Figure 21. MPC results (a) P M V ; (b) n c o m p .
Figure 21. MPC results (a) P M V ; (b) n c o m p .
Energies 17 00009 g021
Figure 22. Results of PI controller, MPC, NN-Fuzzy PI controller (a) P M V ; (b) e P M V ; (c) n c o m p .
Figure 22. Results of PI controller, MPC, NN-Fuzzy PI controller (a) P M V ; (b) e P M V ; (c) n c o m p .
Energies 17 00009 g022
Figure 23. NN-MPC structure.
Figure 23. NN-MPC structure.
Energies 17 00009 g023
Figure 24. Results of NN-MPC, MPC, NN-Fuzzy PI controller (a) T b ; (b) P M V ; (c) n b a t ; (d) n c o m p .
Figure 24. Results of NN-MPC, MPC, NN-Fuzzy PI controller (a) T b ; (b) P M V ; (c) n b a t ; (d) n c o m p .
Energies 17 00009 g024
Figure 25. Neural network output and actual simulation output (a) Δ T b ; (b) Δ T c .
Figure 25. Neural network output and actual simulation output (a) Δ T b ; (b) Δ T c .
Energies 17 00009 g025
Table 1. Electronic expansion valve parameters.
Table 1. Electronic expansion valve parameters.
ParameterValue
Maximum flow cross-sectional area ( mm 2 )3.28
Minimum flow cross-sectional area ( mm 2 )0.27
Time constant (s)3
Pressure drop coefficient2
Target superheat ( K )3
Table 2. Condenser, evaporator and chiller parameters.
Table 2. Condenser, evaporator and chiller parameters.
ParametersCondenserEvaporatorChiller
Length (mm)375.522085
Width (mm)64019061
Thickness (mm)263453
Connection diameter (mm)112016
Dry mass (kg)10.91
MaterialAluminum
Table 3. Cabin parameters.
Table 3. Cabin parameters.
ParameterValue
Cabin air volume (L)2800
External   heat   transfer   coefficient   ( W / m 2 K )26.9
Internal   heat   transfer   coefficient   ( W / m 2 K )14.5
Solar   flux   on   vehicle   ( W / m 2 ) 1000
Table 4. Relationship between P M V and thermal sensation adapted from Fanger et al. [38].
Table 4. Relationship between P M V and thermal sensation adapted from Fanger et al. [38].
P M V Thermal Sensation
, 3 Very cold
3 , 2 Cold
2 , 1 Cool
1 ,   0 Slightly cool
0 Comfortable
0 ,   1 Slightly warm
1 ,   2 Warm
2 ,   3 Hot
3 , + Very hot
Table 5. Battery pack parameters.
Table 5. Battery pack parameters.
ParameterValue
Cell capacitance (A/h)57
Initial   state   of   charge   ( S O C )0.8
Number of series cells96
Number of parallel cells3
Battery load typePower request
Heat   transfer   area   ( m 2 )1
MaterialAluminum
Table 6. Vehicle model parameters.
Table 6. Vehicle model parameters.
ParameterValue
Curb   weight   ( kg )1929
Full   load   mass   ( kg )2335
Wind drag coefficient0.23
Rolling resistance coefficient0.01
Orthographic   area   ( m 2 )3.4
Length · Width · Height ( mm )4750 · 1921 · 1624
Wheelbase   ( mm )2890
Wheel   tread   ( mm )1636
Table 7. Calibration test.
Table 7. Calibration test.
Time (s)Speed (km/h) * n b a t (RPM) n c o m p (RPM)
0–300000
300–4004001000
400–5008002000
500–60012003000
600–70016004000
700–80020005000
800–26003 * WLTC00
2600–33204001000
3320–40408002000
4040–476012003000
4760–548016004000
5480–620020005000
* Notice: The vehicle speed is 0 between 0 and 800 s and goes through 3 WLTCs between 800 and 6200 s.
Table 8. Control rules of K p , K i .
Table 8. Control rules of K p , K i .
e ecNBNSZOPSPB
NBPBPBPBPBPS
NSPBPSPSPSZO
ZOPSZOZOZOPS
PSZOPSPSPSPB
PBPSPBPBPBPB
Table 9. RMSE between T b and T b r and the pump energy consumption W p u m p .
Table 9. RMSE between T b and T b r and the pump energy consumption W p u m p .
Controller S T b Δ S T b Δ (%) W p u m p KJ Δ W p u m p KJ Δ (%)
PI Controller ( K p = 150 ,   K i = 0.01 ) 0.58450.3589159.11.2250.18217.45
PI Controller ( K p = 300 ,   K i = 0.01 ) 0.38730.161771.681.2380.19518.70
PI Controller ( K p = 600 ,   K i = 0.01 ) 0.42640.200889.011.2740.23122.15
MPC m = 5 ,   p = 10 0.61580.3902173.01.2370.19418.60
MPC m = 10 ,   p = 20 0.45710.2315102.61.1810.13813.23
MPC m = 20 ,   p = 40 0.46470.2391106.01.2330.19018.22
NN-Fuzzy PI Controller0.2256001.04300
Table 10. RMSE between P M V and P M V r and the compressor energy consumption W c o m p .
Table 10. RMSE between P M V and P M V r and the compressor energy consumption W c o m p .
Controller S P M V Δ S P M V Δ (%) W c o m p KJ Δ W c o m p KJ Δ (%)
PI Controller ( K p = 75 ,   K i = 0.01 ) 0.21350.1287151.83251.981.82.580
PI Controller ( K p = 150 ,   K i = 0.01 ) 0.17600.0912107.63269.599.43.136
PI Controller ( K p = 300 ,   K i = 0.01 ) 0.22390.1391164.03270.2100.13.158
MPC m = 5 ,   p = 10 0.13430.049558.43245.375.22.372
MPC m = 10 ,   p = 20 0.12000.035241.53232.962.81.981
MPC m = 20 ,   p = 40 0.12210.037343.93253.983.82.643
NN-Fuzzy PI Controller0.0848003170.100
Table 11. RMSE between T b and T b r and the pump energy consumption W p u m p .
Table 11. RMSE between T b and T b r and the pump energy consumption W p u m p .
Controller S T b Δ S T b Δ (%) W p u m p KJ Δ W p u m p KJ Δ (%)
MPC m = 10 ,   p = 20 0.45710.2315102.61.1810.13813.23
NN-MPC m = 10 ,   p = 20 0.36510.139561.81.0850.0424.03
NN-Fuzzy PI Controller0.2256001.04300
Table 12. RMSE between P M V and P M V r and the compressor energy consumption W p u m p .
Table 12. RMSE between P M V and P M V r and the compressor energy consumption W p u m p .
Controller S P M V Δ S P M V Δ (%) W c o m p KJ Δ W c o m p KJ Δ (%)
MPC m = 10 ,   p = 20 0.12000.035241.53232.962.81.981
NN-MPC m = 10 ,   p = 20 0.0819−0.0029−3.43166.7−3.4−0.107
NN-Fuzzy PI Controller0.0848003170.100
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Fei, F.; Wang, D. Application of Neural Network Feedforward in Fuzzy PI Controller for Electric Vehicle Thermal Management System: Modeling and Simulation Studies. Energies 2024, 17, 9. https://doi.org/10.3390/en17010009

AMA Style

Fei F, Wang D. Application of Neural Network Feedforward in Fuzzy PI Controller for Electric Vehicle Thermal Management System: Modeling and Simulation Studies. Energies. 2024; 17(1):9. https://doi.org/10.3390/en17010009

Chicago/Turabian Style

Fei, Fan, and Dong Wang. 2024. "Application of Neural Network Feedforward in Fuzzy PI Controller for Electric Vehicle Thermal Management System: Modeling and Simulation Studies" Energies 17, no. 1: 9. https://doi.org/10.3390/en17010009

APA Style

Fei, F., & Wang, D. (2024). Application of Neural Network Feedforward in Fuzzy PI Controller for Electric Vehicle Thermal Management System: Modeling and Simulation Studies. Energies, 17(1), 9. https://doi.org/10.3390/en17010009

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop