Thermal management control method and system
By dividing the electric vehicle thermal management system into independent intelligent agents and adopting PPO reinforcement learning, energy consumption optimization and comfort improvement under complex operating conditions are achieved. This solves the problems of insufficient adaptability and limited multi-objective coordination ability in traditional methods, and enhances the system's self-adaptation and fault detection capabilities.
Patent Information
- Application Number
- CN202611496028.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-24
- Publication Date
- 2026-11-20
AI Technical Summary
Existing thermal management control methods for electric vehicles are not adaptable enough to changes in the external environment, differences in driving style, fluctuations in road conditions, and component aging. They have limited multi-objective coordination capabilities, struggle to handle nonlinear and coupling characteristics, and perform poorly under extreme conditions, resulting in control lag, increased energy consumption, and decreased comfort.
The architecture adopts a multi-agent collaboration + PPO reinforcement learning + vehicle-cloud collaborative update, dividing the vehicle thermal management system into independent agents. Through cloud training and online strategy updates, it can identify sensor drift and faults in real time and achieve dynamic optimal trade-offs for multiple objectives.
It improves the energy consumption optimization, temperature safety control and ride comfort of electric vehicles under complex operating conditions, and enhances the system's adaptability and fault detection capabilities.
Smart Images

Figure CN123129663A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of new energy vehicle control technology, and in particular to thermal management control and systems. Background Technology
[0002] With the rapid popularization of electric vehicles, driving range, power performance, safety, and ride comfort have become key indicators affecting user experience and market competitiveness. As an important component of electric vehicles, the thermal management system directly affects the operating temperature of the power battery, the thermal stability of the motor and electronic control system, the load on the air conditioning system, and the overall vehicle energy consumption.
[0003] Most existing thermal management control methods for electric vehicles employ rule-based or model-based control approaches. For example, they control the start / stop of the cooling pump, the opening of the electronic expansion valve, the speed of the cooling fan, the compressor frequency, and the operating status of the PTC heater by setting preset temperature thresholds. These methods have advantages such as simplicity of implementation and strong engineering feasibility, but they still have the following shortcomings: Insufficient adaptability: Traditional rule-based control usually relies on expert experience and calibration tables. When faced with changes in external ambient temperature, differences in driving style, fluctuations in road conditions, and aging of components, it is difficult to adjust the strategy in real time, which can easily lead to control lag or increased energy consumption.
[0004] Limited multi-objective coordination capability: Electric vehicle thermal management typically involves multiple objectives, including battery temperature safety, motor and electronic control system heat dissipation, passenger cabin comfort, and overall vehicle energy consumption. Traditional methods often break down these objectives into separate controls, lacking the ability to coordinate and optimize across subsystems, resulting in low overall system efficiency.
[0005] Nonlinearity and coupling characteristics are difficult to handle: The battery system, electric drive system, refrigeration circuit, cooling circuit, and environmental boundaries exhibit significant nonlinear and time-varying coupling characteristics. It is difficult to accurately cover all operating scenarios using fixed rules or simplified models.
[0006] Poor performance under extreme conditions: Under conditions such as high temperature, extreme cold, rapid acceleration, continuous high-speed operation, and fast charging, the heat load changes drastically, and traditional control logic may result in large temperature fluctuations, high energy consumption, reduced comfort, or untimely component protection. Summary of the Invention
[0007] The purpose of this invention is to provide a thermal management control method and system that can achieve energy consumption optimization, temperature safety control, and improved ride comfort under complex working conditions and dynamic environmental conditions.
[0008] This invention provides the following solution: According to one aspect of the present invention, a thermal management control method is provided, the thermal management control method comprising: The cloud platform divides the vehicle's thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment, and engine into independent intelligent agents, and designs state space, dynamic space, and reward function for each intelligent agent. The cloud-based PPO algorithm is used to train a multi-agent collaborative strategy, with temperature control accuracy, energy consumption, comfort, and safety as comprehensive rewards. It continuously learns and iterates online to achieve a dynamic optimal trade-off between multiple objectives. The cloud continuously gathers massive amounts of real road conditions and multi-vehicle thermal management data to incrementally train the multi-agent PPO strategy, and regularly distributes the optimized strategy to the vehicle via OTA. The vehicle-side system relies on the state observation of each intelligent agent and the PPO prediction residual to identify faults such as sensor drift, actuator failure, pipeline abnormalities, and precursors to thermal runaway in real time.
[0009] Optionally, the cloud will divide the vehicle thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment, and engine into independent intelligent agents, and design state space, dynamic space, and reward function for each intelligent agent, including: Set the state space for each agent; The state space of the crew cabin intelligent agent includes: crew cabin temperature parameters, ambient temperature, and temperature parameters at other locations. The state space of the battery agent includes: battery temperature parameters, battery voltage, and battery current; The state space of the engine agent includes: engine temperature parameters, engine speed, engine torque, and engine power; The state space of the energy management agent includes: remaining battery charge percentage, power demand parameters, fuel consumption, and electricity consumption; The state space of the driving management agent includes: torque parameters and temperature parameters; The state space of the environmental prediction agent includes: measured environmental parameters and predicted environmental parameters; The state space of the vehicle thermal management agent includes the state spaces of other agents.
[0010] Optionally, the cloud will divide the vehicle thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment, and engine into independent intelligent agents, and design state space, dynamic space, and reward function for each intelligent agent, including: Configure the action space for each intelligent agent; The action space of the crew cabin intelligent agent includes: engine power and compressor operating parameters; The action space of the battery-powered intelligent agent includes: water pump speed, compressor speed, and fan speed; The action space of the engine agent includes: engine power and fan speed; The operational space of the energy management agent includes: pure electric drive and hybrid drive; The action space of the drive management intelligent agent includes: pure electric drive, hybrid drive, accelerator pedal opening, and brake pedal opening; The action space of the environmental prediction agent includes: charging location and refueling location; The action space of the vehicle thermal management agent includes the action space of other agents.
[0011] Optionally, the cloud will divide the vehicle thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment, and engine into independent intelligent agents, and design state space, dynamic space, and reward function for each intelligent agent, including: Set the reward function for each agent; The design goal of the reward function for the crew cabin intelligent agent is to reduce the reward when the temperature difference and power increase, and increase the reward when the temperature difference and power decrease. The design goal of the battery agent reward function is that the more stable the temperature, the higher the reward; the more power the heat dissipation system consumes, the greater the penalty; and if the temperature exceeds the limit, the penalty is severe. The design goal of the engine agent reward function is that the more stable the temperature, the higher the reward; the more power the cooling system consumes, the greater the penalty; and if the temperature exceeds the limit, the penalty is severe. The design goal of the reward function for the energy management agent is that, when operating on pure electric power, the lower the power consumption, the slower the SOH decreases and the higher the reward; the higher the power consumption, the faster the SOH decreases and the lower the reward; and when the power consumption exceeds the limit, the reward increases exponentially. The design goal of the reward function for the driving management agent is that the more stable the temperature, the higher the reward; the more power the cooling system consumes, the greater the penalty; and if the temperature exceeds the limit, the penalty is severe. The design goal of the reward function for the environmental prediction and management agent is that the smaller the error between the predicted value and the actual value, the higher the reward; the larger the error, the less stable the agent, and the greater the penalty; when the error exceeds the limit, the penalty is severe. The design goal of the reward function of the vehicle thermal management agent is to receive the thermal demand and load instructions of the other six sub-agents, and to uniformly control the water pump, electric fan, multi-way reversing valve, and heat exchanger, and coordinate the flow distribution of the vehicle's multi-way cooling circuit.
[0012] Optionally, the PPO algorithm is used in the cloud to train a multi-agent cooperative strategy, with temperature control accuracy, energy consumption, comfort, and safety as comprehensive rewards. This strategy is continuously learned and iterated online to achieve a dynamic optimal trade-off among multiple objectives, including: Initialize the network parameters and algorithm hyperparameters for each agent; Calculate the old policy, state value, action value, and current reward for each agent; Use the value network to calculate the GAE function and the cumulative discounted return; Optimize the total loss function; With fixed sampling data, optimize the total loss in batches and multiple rounds, and update the policy network and value network; After training converges, freeze all network parameters and turn off gradient calculation.
[0013] Optionally, the cloud continuously aggregates massive amounts of real-world road condition and multi-vehicle thermal management data, utilizes powerful computing capabilities to incrementally train multi-agent PPO strategies, and periodically distributes the optimized strategies to the vehicle via OTA, including: Continuously record upstream and downstream data for each inference process to form complete data that can be used for PPO training; Simulation data is updated using a standard online strategy; Real road data, after being corrected using offline strategies, is mixed into training with a low learning rate; Each driver can choose a different strategy via OTA (Over-The-Air) updates.
[0014] Optionally, the vehicle-side system, relying on the state observations of each intelligent agent and the PPO prediction residuals, can identify faults in real time, including sensor drift, actuator failure, pipeline abnormalities, and precursors to thermal runaway, such as: Under normal operating conditions and full load across the entire vehicle temperature range, time-series data of σ and motion entropy H of each moving component and state quantity are collected. The standard deviation of Gaussian distribution and motion distribution entropy under normal operating conditions are statistically analyzed, and fault warning thresholds are set. Take a time window of length W steps, and calculate the standard deviation of the Gaussian distribution and the mean of the action distribution entropy within that window; Set up hierarchical fault determination rules; Perform fault determination according to the set hierarchical fault determination rules.
[0015] Optionally, the vehicle-side system, relying on the state observations of each intelligent agent and the PPO prediction residuals, can identify faults in real time, such as sensor drift, actuator failure, pipeline abnormalities, and precursors to thermal runaway. This also includes: The mean standard deviation of the Gaussian distribution and the mean entropy of the motion distribution increase slightly over short periods of transient conditions, but this increase cannot be sustained for multiple windows and will not trigger a fault alarm.
[0016] Optionally, the vehicle-side system, relying on the state observations of each intelligent agent and the PPO prediction residuals, can identify faults in real time, including sensor drift, actuator failure, pipeline abnormalities, and precursors to thermal runaway, such as: Obtain the theoretical output value of the control variable or state variable; Obtain the actual output value of the control variable or state variable; Calculate the residual between the actual output value and the theoretical output value; Based on the residual size, perform fault determination.
[0017] According to two aspects of the present invention, a thermal management control system is provided, the thermal management control system comprising: The thermal management control system includes a cloud platform and a vehicle-mounted platform. The cloud platform has a built-in partitioning module, a training module, and an optimization module. The vehicle-mounted platform has a built-in recognition module. The partitioning module is used to divide the vehicle thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment and engine into independent intelligent agents, and to design state space, dynamic space and reward function for each intelligent agent. The training module is used to train a multi-agent cooperative strategy using the PPO algorithm, with temperature control accuracy, energy consumption, comfort, and safety as comprehensive rewards, and continuously learns and iterates online to achieve a dynamic optimal trade-off between multiple objectives. The optimization module is used to continuously collect massive amounts of real road conditions and multi-vehicle thermal management data, incrementally train the multi-agent PPO strategy, and periodically send the optimized strategy to the vehicle via OTA. The identification module is used to identify faults such as sensor drift, actuator failure, pipeline abnormalities, and precursors of thermal runaway in real time, based on the state observation of each agent and the PPO prediction residual.
[0018] The above solution achieves the following beneficial technical effects: This method adopts an integrated architecture of multi-agent collaboration + PPO reinforcement learning + vehicle-cloud collaborative updates + intelligent fault detection. Compared with traditional PID, logic threshold and single agent control, it has significant advantages in the thermal management scenario of strong coupling between range extender-battery-passenger compartment. Attached Figure Description
[0019] Figure 1 This is a flowchart of a dual-threshold snapshot compression method provided in one or more embodiments of the present invention; Figure 2 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention; Figure 3 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention; Figure 4 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention; Figure 5 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention; Figure 6 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention; Figure 7This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention; Figure 8 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention; Figure 9 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention; Figure 10 This is a structural diagram of a thermal management control system provided in one or more embodiments of the present invention. Detailed Implementation
[0020] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] Figure 1 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention. See also... Figure 1 Thermal management control methods include: In S11, the cloud-based system divides the vehicle's thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment, and engine into independent intelligent entities.
[0022] S12 uses the PPO algorithm in the cloud to train a multi-agent collaborative strategy, with temperature control accuracy, energy consumption, comfort, and safety as comprehensive rewards. It continuously learns and iterates online to achieve a dynamic optimal balance of multiple objectives.
[0023] S13 continuously gathers massive amounts of real-world road conditions and multi-vehicle thermal management data in the cloud, uses powerful computing capabilities to incrementally train multi-agent PPO strategies, and regularly distributes the optimized strategies to the vehicle via OTA.
[0024] S14: The vehicle-side system relies on the state observation of each intelligent agent and the PPO prediction residual to identify faults such as sensor drift, actuator failure, pipeline abnormality, and signs of thermal runaway in real time.
[0025] In view of the above-mentioned problems in the thermal management of new energy vehicles in the prior art, this embodiment provides a technical solution for thermal management using reinforcement learning, which can effectively overcome the many problems in the thermal management process described above.
[0026] First, the technical solution provided in this embodiment divides the thermal management chain of new energy vehicles into several entities. Each independently divided entity corresponds to an intelligent agent. Within each intelligent agent, its own policy network and value network are applied, thereby completing the overall thermal management of the new energy vehicle through the interaction between the various intelligent agents.
[0027] In this embodiment, the entire thermal management chain is divided into: passenger compartment intelligent agent, battery intelligent agent, engine intelligent agent, energy management intelligent agent, drive management intelligent agent, environmental prediction intelligent agent, and vehicle thermal management control intelligent agent.
[0028] The role of the intelligent agent in the passenger compartment is to collect signals related to the passenger compartment, handle the heat load of the passenger compartment separately, coordinate the recovery of waste heat for heating, and balance the comfort of the passengers with the energy consumption (electricity consumption and fuel consumption) of the whole vehicle.
[0029] The role of the battery intelligent agent is to independently manage the battery cooling / heating circuit requirements, ensuring the core objective of battery safety and lifespan.
[0030] The role of the engine intelligence agent is to independently control the engine's operating status, and based on the collected information, to control the engine's start-stop strategy, power generation range, waste heat recovery and distribution, etc.
[0031] The role of the energy management agent is to collect the vehicle's power signal, complete the vehicle's energy distribution, balance energy consumption and heat dissipation system energy consumption, and reduce the heat dissipation burden from the energy source.
[0032] The role of the drive management intelligent agent is to rationally allocate the torque of the entire vehicle, coordinate the drive power and cooling requirements, and prevent the motor from overheating and limiting the torque.
[0033] The role of the environmental prediction agent is to classify the vehicle's driving environment, such as extreme cold, high temperature, fast charging, and normal driving scenarios; and to make control strategies according to different scenarios to meet the thermal management needs of different scenarios, as well as the needs of different drivers.
[0034] The role of the vehicle thermal management control intelligent agent is to receive thermal demand and load commands from the other six sub-intelligent agents, uniformly control water pumps, electric fans, multi-way reversing valves, heat exchangers, etc., and coordinate the flow distribution of multiple cooling circuits in the vehicle. It undertakes cross-loop conflict mediation and is the sole decision-making unit at the thermal system execution layer.
[0035] The intelligent agent for vehicle thermal management control has the following advantages: 1. Distributed and domain-specific perception reduces information redundancy and interference: Each intelligent agent only collects data from its own business dimension, eliminating the need for unified processing of massive sensor signals from across the vehicle. For example, the battery intelligent agent focuses only on cell thermal data, and the passenger cabin intelligent agent only processes cabin environmental signals. This lightweight data processing enhances onboard real-time performance and avoids the decrease in control accuracy caused by mixed multi-target data.
[0036] II. Layered Local Decision-Making, Prioritizing Core Objectives: Each sub-agent first completes locally optimal decisions: the battery agent prioritizes thermal safety, the passenger compartment agent prioritizes comfort, and the engine (range extender) agent prioritizes power generation efficiency. After local decisions are completed, the vehicle thermal management agent performs dynamic control, significantly simplifying the difficulty of global optimization.
[0037] III. Multi-Agent Collaboration to Resolve Conflicting Goals: Different agents naturally have conflicting needs: for example, cabin heating in winter requires residual heat from the range extender, while the battery also needs heating due to its low temperature, leading to competition for residual heat resources; during high-speed climbing, the motor, battery, and range extender generate heat simultaneously, resulting in insufficient cooling flow. The vehicle thermal management agent dynamically weights and allocates cooling resources based on the heat demands output by each agent, dynamically resolving multiple conflicting goals.
[0038] IV. Domain-Specific Response to Different Operating Conditions: In scenarios such as low-temperature cold start, city cruising, high-speed fast charging, and long-distance range extender power generation, each intelligent agent automatically adjusts its output weight: the battery intelligent agent has the highest weight during fast charging; the heating needs of the passenger compartment and battery are prioritized during winter commuting; and the cooling priority of the range extender is increased during high-speed power generation. Relying on distributed and divide-and-conquer architecture, a single architecture can adaptively match the multiple differentiated goals of the entire vehicle in all scenarios.
[0039] After dividing the agents into their respective roles, the PPO algorithm is used to train multiple agents. In deep reinforcement learning, the PPO algorithm falls under policy learning, and the policy model used is the Actor-Critic Policy. This policy selects the appropriate action based on the current state, evaluates the value of the action, and calculates the probability of the action being selected, also known as the policy function. The agent performs the action according to the policy, acting as an actor, while the value function evaluates the action, acting as a critic.
[0040] As can be seen, the PPO algorithm requires the construction of a policy network and a value network to fit the policy function and value function. The policy network takes the current policy and a given state as input, and outputs an action. The value network also takes the current state as input and outputs the expected reward of the selected action. Both the policy network and the value network are represented using neural networks. The structure of the policy network includes: a feature extractor (convolutional neural network), a multilayer perceptron, and an action probability distribution network. The structure of the value network includes: a feature extractor (convolutional neural network), a multilayer perceptron, and a value estimation network. Furthermore, the policy network and the value network share a single feature extractor; this aims to reduce model complexity while improving model performance and learning efficiency.
[0041] After the feature extractor extracts features from the state, both the policy network and the value network use a multilayer perceptron to further process these features. The goal is to obtain more concise and meaningful expressions, providing suitable inputs for the policy and value networks. A multilayer perceptron is a neural network composed of fully connected layers, where each layer is fully connected to the layer below, without any convolutional or recurrent networks in between.
[0042] The result of executing the PPO algorithm is that each agent in the thermal management link has its own corresponding strategy. Essentially, the execution of the PPO algorithm initializes the thermal management link. In other words, each agent in the thermal management link can obtain a preliminary strategy based on the execution result of the PPO algorithm and perform corresponding thermal management control according to this initialized strategy.
[0043] The purpose of the PPO algorithm is to achieve a dynamic optimal trade-off between multiple objectives through continuous online learning and iteration.
[0044] The next step in executing the PPO algorithm is incremental training.
[0045] It is important to note that the training data used in the incremental training step is actual data collected from the vehicle. The reason for using actual data for incremental training is primarily to ensure that the control processes of each agent more closely reflect real-world control needs.
[0046] After incremental training is completed, the strategies applied by each agent in the thermal management chain are incrementally updated compared to before the incremental training was performed.
[0047] The policy increment applied to the agent compared to before incremental training precisely reflects the change in the applied policy during the incremental training process. In other words, the policy increment reflects the adjustments made by the policy to the real vehicle data.
[0048] After completing the incremental training using real vehicle data, the cloud will distribute the optimized strategy obtained from the incremental training to the vehicle.
[0049] After receiving the optimized strategy from the cloud, the vehicle uses the optimized strategy to complete thermal management control. Specifically, it relies on the state observation of each intelligent agent and the PPO prediction residual to identify faults such as sensor drift, actuator failure, pipeline abnormalities, and signs of impending thermal runaway in real time.
[0050] Figure 2 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention. See also... Figure 2 The thermal management control method includes the following operational steps: S21 divides the vehicle thermal management chain into multiple intelligent agents, namely: passenger compartment intelligent agent, battery intelligent agent, engine intelligent agent, energy management intelligent agent, drive management intelligent agent, environmental prediction intelligent agent, and vehicle thermal management control intelligent agent.
[0051] The S22 uses the PPO algorithm in the cloud to train a multi-agent collaborative strategy, with temperature control accuracy, energy consumption, comfort, and safety as comprehensive rewards. It continuously learns and iterates online to achieve a dynamic optimal trade-off between multiple objectives.
[0052] S23 continuously gathers massive amounts of real-world road conditions and multi-vehicle thermal management data in the cloud, uses powerful computing to incrementally train multi-agent PPO strategies, and regularly distributes the optimized strategies to the vehicle via OTA.
[0053] S24, relying on the state observation of each intelligent agent and the PPO prediction residual, the vehicle end can identify faults such as sensor drift, actuator failure, pipeline abnormality, and signs of thermal runaway in real time.
[0054] In this embodiment, the process of establishing each intelligent agent is based on the logical division of the vehicle thermal management link.
[0055] Logically, the vehicle's thermal management chain is divided into: passenger compartment intelligent agent, battery intelligent agent, engine intelligent agent, energy management intelligent agent, drive management intelligent agent, environmental prediction intelligent agent, and vehicle thermal management control intelligent agent.
[0056] The above division is based on the functional division of each part in the thermal management chain. For example, the battery is an independent entity in the overall vehicle thermal management chain. Therefore, in the process of dividing the intelligent agents, the battery is treated as a separate thermal management entity and divided into intelligent agents separately.
[0057] Figure 3 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention. See also... Figure 3 The thermal management control method includes the following operational steps: S31, set the state space and action space for each intelligent agent.
[0058] The S32 uses the PPO algorithm in the cloud to train a multi-agent collaborative strategy, with temperature control accuracy, energy consumption, comfort, and safety as comprehensive rewards. It continuously learns and iterates online to achieve a dynamic optimal trade-off between multiple objectives.
[0059] S33 continuously gathers massive amounts of real-world road conditions and multi-vehicle thermal management data in the cloud, uses powerful computing capabilities to incrementally train multi-agent PPO strategies, and regularly distributes the optimized strategies to the vehicle via OTA.
[0060] S34, relying on the state observation of each intelligent agent and the PPO prediction residual, identifies in real time faults such as sensor drift, actuator failure, pipeline abnormality, and signs of thermal runaway.
[0061] In this embodiment, the construction of each agent first requires establishing its corresponding state space and action space for each individual agent.
[0062] For the intelligent agent in the crew cabin, its corresponding state space is: S_chengyuancang=[T11, deteT12, TV1, V, TE, T13, T14, deteT12, TENG, T15, T16, T17] In the above formula, T11 is the passenger compartment temperature, deteT12 is the passenger compartment temperature error, TV1 is the passenger compartment temperature change rate, V is the current vehicle speed, TE is the ambient temperature, T13 is the evaporator surface temperature, T14 is the evaporator surface temperature difference, deteT12 is the evaporator surface temperature change rate, TENG is the engine coolant temperature, T15 is the PTC1 temperature, T16 is the passenger compartment target temperature, and T17 is the evaporator surface target temperature.
[0063] The action space corresponding to the intelligent agent in the crew cabin is: A_chengyuancang=[P11, P12, N11, P13, D11, E11, N12] In the above formula, P11 is the heating power of PTC1, P12 is the engine power, N11 is the compressor speed, P13 is the compressor power, D11 is the air outlet switch position of the air conditioning panel, E11 is the opening degree of EXV1, and N12 is the fan speed of fan 1.
[0064] For a battery-based intelligent agent, its corresponding state space is: S_dianchi=[T21, T22, T23, T24, T25, TV2, T26, T27, T28, V21, I21, T29] In the above formula, T21 is the highest temperature of a single battery cell, T22 is the lowest temperature of a single battery cell, T23 is the average temperature of the battery, T24 is the target temperature of the battery, T25 is the battery temperature error, TV2 is the battery temperature change rate, T26 is the battery inlet water temperature, T27 is the battery outlet water temperature, T28 is the target inlet water temperature of the battery, V21 is the battery voltage, I21 is the battery current, and T29 is the PTC2 temperature.
[0065] The action space corresponding to the battery agent is: Battery A = [N21, P21, N22, E21, N23] In the above formula, N21 is the speed of water pump 1, P21 is the power of PTC2, N22 is the speed of compressor, E21 is the opening degree of EXV2, and N23 is the speed of fan 1.
[0066] For the engine agent, its corresponding state space is: S_engine=[T31, T32, T33, T34, T35, T36, T37, P31, V31, T38] In the above formula, T31 is the engine temperature, T32 is the engine coolant temperature, T33 is the engine coolant target temperature, T34 is the engine coolant temperature error, T35 is the engine coolant temperature change rate, T36 is the engine speed, T37 is the engine torque, P31 is the engine power, V31 is the vehicle speed, and T38 is the ambient temperature.
[0067] The action space of the engine agent is: A_engine=[N31, P31, N31, P32] In the above formula, N31 is the engine water pump speed, P31 is the engine power, N31 is the fan speed, and P32 is the fuel injection quantity.
[0068] For an energy management agent, its state space is: S_negliang=[SOC, SOH, P41, P42, P43, P44, P45, V41, T38, U41, E41] In the above formula, SOC is the remaining battery charge percentage, SOH is the battery health status, P41 is the vehicle power requirement, P42 is the engine power requirement, P43 is the range extender power requirement, P44 is the front axle motor power requirement, P45 is the rear axle motor power requirement, V41 is the vehicle speed, T38 is the ambient temperature, U41 is the fuel consumption, and E41 is the electricity consumption.
[0069] Its corresponding action space is: A_nengliang = [Q41, Q42, Q43, Q44, Q45, Q46] In the above formula, Q41 is a pure electric front-wheel drive, Q42 is a pure electric four-wheel drive, Q43 is a pure electric rear-wheel drive, Q44 is a hybrid front-wheel drive, Q45 is a hybrid four-wheel drive, and Q46 is a hybrid rear-wheel drive.
[0070] For the driving and managing agent, its state space is: S_qudong=[N51, N52, N53, N53, N55, V31, T38, T51, T52, T53, T54, T55, T56, T57, T58, H51] In the above formula, N51 is the torque required by the driver, N52 is the actual torque of the whole vehicle, N53 is the front axle torque, N53 is the rear axle torque, N55 is the engine torque, V31 is the vehicle speed, T38 is the ambient temperature, T51 is the front axle temperature, T52 is the rear axle temperature, T53 is the combined temperature, T54 is the generator temperature, T55 is the main circuit coolant temperature, T56 is the generator circuit coolant temperature, T57 is the front axle motor circuit coolant temperature, T58 is the rear axle motor circuit coolant temperature, and H51 is the coolant level in the expansion tank.
[0071] The action space corresponding to the driving and managing intelligent agent is: A_ qudong =[Q51, Q52, Q53, Q54, Q55, Q56, Q57, Q58, N56, N57, D51, D52] In the above formula, Q51 is pure electric front-wheel drive, Q52 is pure electric four-wheel drive, Q53 is pure electric rear-wheel drive, Q54 is hybrid front-wheel drive, Q55 is hybrid four-wheel drive, Q56 is hybrid rear-wheel drive, Q57 is accelerator pedal opening, Q58 is brake pedal opening, N56 is water pump 2 speed, N57 is fan 1 speed, D51 is three-way proportional valve 1 opening, and D52 is three-way proportional valve 2 opening.
[0072] For an environmental prediction and management agent, its state space is: S_huanjing=[T61, T38, T62, T63, T64, T65, T66, T67, T68, T69, T610, T611, T612, T613, T614, T615] In the above formula, T61 is the altitude of the vehicle's location, T38 is the ambient temperature, T62 is the wind speed, T63 is the humidity, T64 is the slope, T65 is the light intensity, T66 is the distance to the charging station, T67 is the distance to the gas station, T68 is the predicted altitude, T69 is the predicted ambient temperature, T610 is the predicted wind speed, T611 is the predicted humidity, T612 is the predicted slope, T613 is the predicted light intensity, T614 is the predicted distance to the charging station, and T615 is the predicted distance to the gas station.
[0073] The action space corresponding to the environmental prediction and management agent is: A_huanjing = [C61, C62] In the above formula, C61 is the charging position and C62 is the refueling position.
[0074] For the vehicle thermal management agent, its corresponding state space is: S_car=[S_chengyuancang、S_dianchi、S_engine、S_nengliang、S_niuju、S_huanjing] The action space of the vehicle thermal management intelligent agent is: A_ car = [A_ chengyuancang, A_ dianchi, A_ engine, A_ nengliang, A_ niuju, A_ huanjing] The meanings of the symbols used in the state space and action space of the vehicle thermal management intelligent agent are the same as those in the previous text.
[0075] Figure 4 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention. See also... Figure 4 The thermal management control method includes the following operational steps: S41, set the state space and action space for each agent.
[0076] S42, set the reward function for each agent.
[0077] The S43 uses the PPO algorithm in the cloud to train a multi-agent collaborative strategy, with temperature control accuracy, energy consumption, comfort, and safety as comprehensive rewards. It continuously learns and iterates online to achieve a dynamic optimal trade-off between multiple objectives.
[0078] S44 continuously gathers massive amounts of real-world road conditions and multi-vehicle thermal management data in the cloud, uses powerful computing capabilities to incrementally train multi-agent PPO strategies, and regularly distributes the optimized strategies to the vehicle via OTA.
[0079] The S45, relying on the state observation of each intelligent agent and the PPO prediction residual, identifies faults such as sensor drift, actuator failure, pipeline abnormality, and signs of thermal runaway in real time.
[0080] In addition to setting up state and action spaces for each agent, it is also necessary to set up reward functions for each agent.
[0081] For the crew cabin agent, the corresponding reward function is: R_chengyuancang=f(T11, deteT12, TV1, V, TE, T13, T14, deteT12, TENG, T15, T16, T17, P11, P12, N11, P13, D11, E11, N12) The overall meaning of the above function is that when the temperature difference is large and the power is large, the reward is smaller; when the temperature difference is small and the power is small, the reward is larger.
[0082] The reward function is a nonlinear function. In practical engineering, linear systems do not exist. If a linear system is used to describe a vehicle's thermal management system, errors will occur. For example, when the temperature of a component is about to reach its physical limit, the reward (penalty) for a 1°C increase in the signal is different from the reward (penalty) for a 1°C increase when the component is operating at its normal operating temperature. When the temperature changes within a small range within the component's normal operating temperature range, the relationship between temperature and reward is approximately linear. When the temperature is about to reach the component's physical limit, the relationship between temperature and reward becomes nonlinear. To ensure vehicle safety, this invention designs the reward function as a nonlinear function, and the same applies to the subsequent intelligent agent, which will not be discussed further.
[0083] For the battery agent, the corresponding reward function is: R_dianchi=f(T21, T22, T23, T24, T25, TV2, T26, T27, T28, V21, I21, T29, N21, P21, N22, E21, N23) The overall meaning of the above function is that the more stable the temperature, the higher the reward; the more power the cooling system consumes, the greater the penalty; and exceeding the temperature limit results in a severe penalty.
[0084] For the engine agent, the corresponding reward function is: R_engine=f(T31, T32, T33, T34, T35, T36, T37, P31, V31, T38, N31, P31, N31, P32) The overall meaning of the above function is that the more stable the temperature, the higher the reward; the more power the cooling system consumes, the greater the penalty; and exceeding the temperature limit results in a severe penalty.
[0085] For an energy management agent, the corresponding reward function is: R_nengliang =f(SOC,SOH,P41,P42,P43,P44,P45,V41,T38,U41,E41,Q41,Q42,Q43,Q44,Q45,Q46) The overall meaning of the above function is that when operating on pure electric power, the lower the power consumption, the slower the SOH decreases and the higher the reward; the higher the power consumption, the faster the SOH decreases and the lower the reward. When the power consumption exceeds the limit, the reward increases exponentially.
[0086] In hybrid mode, the better the State of Charge (SOC) is maintained, the lower the fuel consumption and the higher the reward; the worse the SOC is maintained, the higher the fuel consumption and the lower the reward. When the fuel consumption exceeds the limit, the reward (penalty) increases exponentially.
[0087] For the driving management agent, the corresponding reward function is: R_ qudong =f (N51, N52, N53, N53, N55, V31, T38, T51, T52, T53, T54, T55, T56, T57, T58, H51, Q51, Q52, Q53, Q54, Q55, Q56, Q57, Q58, N56, N57, D51, D52) The overall meaning of the above function is that the more stable the temperature, the higher the reward; the more power the cooling system consumes, the greater the penalty; and exceeding the temperature limit results in a severe penalty.
[0088] For an environmental prediction and management agent, the corresponding reward function is: R_huanjing =f(T61, T38, T62, T63, T64, T65, T66, T67, T68, T69, T610, T611, T612, T613, T614, T615, C61, C62) The overall meaning of the above function is that the smaller the error between the predicted value and the actual value, the more stable the value and the higher the reward; the larger the error, the more unstable the value and the greater the penalty; when the error exceeds the limit, the penalty is severe.
[0089] By predicting information such as altitude, vehicle speed, traffic congestion, atmospheric temperature, atmospheric humidity, solar radiation intensity, charging stations, and gas stations, the system obtains information that enables forward-looking and holistic control of the electric vehicle thermal management system. Through the predictive information from the environmental predictive agent, the system can make smarter, more energy-efficient, and more predictive control decisions.
[0090] For the vehicle thermal management agent, the corresponding reward function is: R_car=f(R_chengyuancang、R_dianchi、R_engine、R_nengliang、R_niuju、R_huanjing) First, the parameters of the aforementioned intelligent agent are categorized into four levels: safety, battery temperature, comfort, energy consumption, and economy. Safety indicators mainly refer to the temperature limits of each component and the action limits of each actuator (in control, these limits are inviolable red lines). Battery temperature mainly refers to the battery's operating temperature, typically between 20°C and 35°C; comfort mainly refers to the control of the passenger compartment and drive system; energy consumption mainly refers to the energy consumed by thermal management components; and economy mainly refers to the overall energy consumption of the vehicle, such as electricity or fuel consumption.
[0091] The reward function is as follows:
[0092] In the formula: For safety indicators; This refers to battery temperature indicators. For comfort indicators; Energy consumption indicators for thermal management components; For economic indicators; For the total reward; The value is 1 if all safety indicators are met, otherwise it is 0. The value is 1 when the battery temperature is within its operating range, and 0 otherwise. The value is 1 when the comfort index meets the requirements, and 0 otherwise.
[0093]
[0094] The adaptive update of the Lagrange multipliers is expressed by the following formula:
[0095] In the formula: The learning rate is typically set to (0.01~0.1). The above formula illustrates that when the safety index exceeds its limit, the Lagrange multipliers increase exponentially, and the penalty for exceeding the limit tightens exponentially; when the safety index does not exceed its limit, The corresponding safety indicators This indicates that the vehicle's thermal management system poses no safety risks, and subsequent reward calculations can proceed.
[0096] in The calculation formula is as follows: All hard constraints are written uniformly as... For crossing the boundary, To ensure that the boundary has not been crossed, the form is as follows:
[0097] In the formula: This is the maximum temperature of a single battery cell. This is the maximum limit for the temperature of a single unit at the store location. It is the minimum limit value for the temperature of a single battery cell. It is the minimum temperature of a single battery cell. It is the rate of change of battery temperature. This is the limiting value for the rate of change of battery temperature. It refers to the compressor speed. This is the maximum limit value for the compressor speed. The number of safety indicators.
[0098] Calculation of the reward function for the powertrain system (battery and engine):
[0099] In the formula: These are weighting coefficients. It refers to the temperature of the power system (the current highest temperature of a single battery cell, the lowest temperature of a single battery cell, the evaluation temperature, the inlet temperature of the coolant, the outlet temperature of the coolant, etc.). This represents the target temperature for the corresponding power system.
[0100] Calculation of reward functions for the crew cabin and electric drive system:
[0101]
[0102]
[0103]
[0104] In the formula: Crew cabin weighting factor Weighting coefficients for temperature at various locations in the crew cabin. It is the temperature coefficient at various locations in the electric drive system. It is a weighting factor for the temperature at various locations in the electric drive system. It refers to the temperature in various parts of the crew cabin. These are the target temperatures for various locations in the crew cabin. It refers to the temperature at various points in the electric drive system. These are the target temperatures at various locations within the electric drive system. It is the temperature difference between various locations in the crew cabin and the target temperature. The average temperature difference between various locations in the electric drive system and the target temperature. This updates the step size, setting it to 0.01. It is the coefficient at time t+1. It is the coefficient at time t+1. It is the coefficient at time t. It is the coefficient at time t.
[0105] Once the battery temperature reaches a reasonable operating range, an adaptive Lagrange operator is introduced when calculating rewards for the crew cabin and electric drive system, enabling the crew cabin and electric drive system to adaptively adjust weights for control.
[0106] Once the temperatures of the engine, battery, motor, and passenger compartment are all within reasonable ranges, energy consumption and fuel economy optimization are considered. In thermal management control, the energy consumption of thermal management components is prioritized, with the optimization goal of ensuring that these components meet the vehicle's temperature control requirements with the lowest possible energy consumption. Only after this condition is met are fuel economy optimizations performed. It's important to note that this is not absolute; it simply means prioritizing the energy consumption of thermal management components before considering fuel economy (electricity and fuel consumption). Therefore, adaptive coefficients must be introduced when optimizing thermal management energy consumption and fuel economy; the algorithm cannot be entirely left to find its own weights.
[0107] Calculation of energy consumption of thermal management system and vehicle economic reward function:
[0108]
[0109]
[0110]
[0111] In the formula: It is the Lagrange multiplier of the power of the thermal management components. It is a weighting factor for the power of each component in the thermal management system. It is the Lagrange coefficient of the vehicle's drive system. It is a weighting coefficient for the power of each component in the vehicle's drive system. It refers to the power of each component in the thermal management system. It refers to the power of each component in the vehicle's drive system. It is the average power of all components in the thermal management system. It is the average power of all components in the vehicle's drive system. This updates the step size, setting it to 0.01. It is the coefficient at time t+1. It is the coefficient at time t+1. It is the coefficient at time t. It is the coefficient at time t. This is the original thermal management weighting factor, with a value of 0.1. It is a weighting factor for the original vehicle drive system power, with a value of 0.08.
[0112] In summary, the reward function is as follows:
[0113] This paper selects the PPO algorithm for reinforcement learning. Compared with DQN and SAC algorithms, the PPO algorithm has the following advantages: Compared with DQN: it supports continuous actions, has no Q-value overestimation, and is more stable in high-dimensional states, making it an alternative to continuous control; Compared with SAC: it is extremely stable in training, simple in parameter tuning, lightweight in network, low in deployment cost, and has good real-time performance, making it the best overall algorithm for industrial applications and vehicle control scenarios; Overall positioning: it is the preferred algorithm for engineering applications, leading the other two in terms of stability, ease of use, and deployment cost, and is currently the most widely used RL algorithm in robotics, vehicle control, and industrial process control.
[0114] Figure 5 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention. See also... Figure 5 The thermal management control method includes the following operational steps: In S51, the cloud classifies the vehicle's thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment, and engine into independent intelligent agents, and designs state space, dynamic space, and reward function for each intelligent agent.
[0115] S52 initializes the network parameters and algorithm hyperparameters for each agent.
[0116] S53 calculates the old policy, state value, action value, and current reward for each agent.
[0117] S54 uses a value network to calculate the GAE function and the cumulative discounted return.
[0118] S55 optimizes the total loss function.
[0119] S56 uses fixed sampling data to optimize the total loss in batches and multiple rounds, updating the policy network and value network.
[0120] S57. After training converges, freeze all network parameters and turn off gradient calculation.
[0121] S58 continuously gathers massive amounts of real-world road conditions and multi-vehicle thermal management data in the cloud, incrementally trains the multi-agent PPO strategy, and regularly distributes the optimized strategy to the vehicle via OTA.
[0122] The S59, relying on the state observation of each intelligent agent and the PPO prediction residual, identifies faults such as sensor drift, actuator failure, pipeline abnormality, and signs of thermal runaway in real time.
[0123] This embodiment is based on the foregoing embodiments of the present invention, and further provides the process of applying the PPO algorithm for reinforcement learning.
[0124] See Figure 5 The thermal management control method begins the reinforcement learning process after the division of independent intelligent agents.
[0125] Generally speaking, the reinforcement learning process can be divided into several steps: parameter initialization, fixing the old policy, interacting with the environment to collect samples, calculating the advantage function, calculating the pruning agent loss, updating the actor-critic network, and fixing the policy.
[0126] First, the pre-defined agents need to be initialized. The parameters to be initialized fall into two categories: network parameters and algorithm hyperparameters.
[0127] Next, calculate the old policy, state value, action value, and current reward for each agent.
[0128] Next, using the value network, we will calculate the GAE function and the cumulative discount return.
[0129] Estimating the value of the current and next time-step states using a value network:
[0130]
[0131] The timing difference error is given by the following formula:
[0132]
[0133]
[0134]
[0135] In the formula: It is the deviation between the single-step return and the predicted value, when An equal value of 1 indicates the end, and future value... It equals 0. This is the GAE advantage function. If it is greater than 0, it means that the current action needs to be strengthened because of the average action; if it is less than 0, it means that the current action is inferior to the average action and needs to be weakened. It is the cumulative discount return starting from time t. yes Standardization yes The mean, yes variance It is a constant value, and this time we take... .
[0136] Next, the total loss function will be optimized.
[0137] The total loss function consists of three parts: pruning strategy loss + value loss + entropy regularization term. The optimization objective is to minimize the total loss. The formula is as follows:
[0138] The objective function is as follows:
[0139]
[0140] when A value greater than 0 indicates that this is a "good move," and we want to increase its probability (i.e., we hope...). If left unchecked, the optimizer will grow indefinitely. This might lead to a particular action being highly praised in a certain situation, but from a global perspective, it might not be a good action. Therefore, we need to... The changes are restricted. When hour, Cut off as This limits certain unforeseen circumstances, causing the strategy to develop in a negative direction. That is, even with a good strategy, the increase is only slight each time.
[0141] when A value less than 0 indicates that this is a "bad action," and we want to reduce its probability (i.e., we want to...). If left unchecked, the optimizer will shrink indefinitely. This might lead to a particular action receiving a negative evaluation in certain situations, but from a global perspective, it's not necessarily a bad action. Therefore, we need to... The changes are restricted. When hour, Cut off as This limits certain unforeseen circumstances, preventing the strategy from developing in a negative direction. That is, even if it's a bad strategy, the reduction is only slight each time.
[0142] The essence of the above truncation is to force the difference between the old and new strategies to not exceed the limit, thus completely solving the problems of uncontrolled gradient step size and training collapse in traditional strategies.
[0143] Value function loss LVF ( )
[0144] Policy entropy regularization term S(θ) The entropy of the probability distribution; the higher the entropy, the stronger the policy's exploratory nature, thus preventing premature convergence. S(θ) = E[H(πθ( ∣st))] H( ) represents information entropy.
[0145]
[0146] In the formula: Information entropy. The higher the entropy, the more random the policy, which helps to explore the unknown state-action space and also avoids premature convergence: preventing the policy from becoming deterministic too early and getting trapped in local optima. In addition, high-entropy policies are more robust to changes in the environment and initial conditions.
[0147] Next, with fixed sampling data, the total loss is optimized in batches and multiple rounds, and then updated. The updated version Assign to Then, change the strategy to the old strategy for the next round of sampling, repeat step two to step five, and enter the next loop.
[0148] After training converges, all network parameters are frozen, gradient calculation is turned off, and only the policy network is used for real-time control. The thermal management system is a continuous action, and randomness is removed during deployment. The mean value is directly output as the final control variable.
[0149] Figure 6 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention. See also... Figure 6 The thermal management control method includes the following operational steps: In S61, the cloud classifies the vehicle's thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment, and engine into independent intelligent agents, and designs state space, dynamic space, and reward function for each intelligent agent.
[0150] The S62 uses the PPO algorithm in the cloud to train a multi-agent collaborative strategy, with temperature control accuracy, energy consumption, comfort, and safety as comprehensive rewards. It continuously learns and iterates online to achieve a dynamic optimal trade-off between multiple objectives.
[0151] S63 continuously records upstream and downstream data for each inference process, forming complete data that can be used for PPO training.
[0152] S64, simulation data is updated using a standard online strategy.
[0153] S65 uses real road data, which is corrected using an offline strategy and then mixed into the training with a low learning rate.
[0154] The S66 allows each driver to choose different strategies via OTA (Over-The-Air).
[0155] The S67, relying on the state observation of each intelligent agent and the PPO prediction residual, identifies faults such as sensor drift, actuator failure, pipeline abnormality, and signs of thermal runaway in real time.
[0156] This embodiment is based on the foregoing embodiments of the present invention and further provides an incremental training process.
[0157] In practical engineering, the continuous online exploration and update method using PPO on the vehicle side is currently impossible to implement due to the limitations of the vehicle chip. The main difficulties are exploration hazards, long update time, insufficient real-time performance, hardware inability to support a complete training cycle, and lack of security certification.
[0158] Furthermore, the standard PPO algorithm is a typical on-policy algorithm, which has strict limitations on the use of "historical data." Unlike DQN or SAC, it cannot directly mix experiences generated from multiple past policies. The objective function and update mechanism of the PPO algorithm are based on importance sampling, and the importance weights are extremely sensitive to policy differences. In the calculation of the probability ratio between the old and new policies, πθold in the denominator must strictly be the policy used when generating this batch of data. If earlier historical data (from πθold) is used... (old), the denominator will become unstable, causing it to completely exceed the PPO's cutting range 1 ε, 1+ε.
[0159] To ensure that the policy π can be updated in real time and generate more preferred policy πs for each user, the following method is adopted: the entire PPO training process is deployed on a cloud server, and the vehicle only receives and runs the optimized policy π. The data collected by the vehicle is anonymized and then transmitted back to the cloud, forming a "data closed loop," which can balance intelligent evolution and security.
[0160] The complete and cumbersome training process of PPO is removed from the vehicle side, while lightweight inference is retained; at the same time, through data feedback, the cloud-based strategy continues to evolve on more diverse and up-to-date real data.
[0161] Vehicle-side: Execution and data collection Execute – Run the frozen policy network The trained PPO policy network πθ is compressed (pruned, quantized, and distilled) and transformed into a format optimized for vehicle-side chips, enabling it to execute actions more accurately in the actual vehicle based on the current state.
[0162] Data Acquisition – Implicit Collection of Training Samples The system continuously records upstream and downstream data for each inference process in the background, forming complete data that can be used for PPO training: [st,at,logπθold,rt,st+1,donet] Cloud-based training, update, and optimization strategies (π) Because cloud data comes from different vehicles and different versions of policies, it is typical off-policy data. Since PPO requires strictly on-policy data, we can use different methods when optimizing older on-vehicle policies: For example, based on the historical data of the same car, we can customize a personalized driving strategy according to individual driving habits and car usage habits to achieve a personalized customized strategy. Historical data for all vehicles, originating from different old policies, cannot be directly applied. A direct hybrid training method can be used: 1. Simulation data is updated using standard PPO on-policy; 2. A small amount of high-quality real-world road data, after off-policy correction, is mixed into the training with a small learning rate as a "fine-tuning" signal to improve generalization ability. The resulting optimized policy is based on the fundamental data for that vehicle model and can be applied to all vehicles.
[0163] renew The OTA (Over-The-Air) method allows each driver to choose different strategies.
[0164] Fault diagnosis is a mechanism designed to improve the operational reliability of a thermal management system. It determines the presence of potential faults by monitoring the output parameters of each agent. The implementation process of the fault diagnosis method is described in detail below with reference to specific embodiments, and may include the following: Based on the trained agent, fault diagnosis of thermal management components can also be performed. In terms of fault diagnosis, the PPO algorithm has the following advantages: 1. PPO naturally has the ability to output σ, which is an inherent advantage in fault detection; 2. Continuous control of PPO must adopt a Gaussian random strategy, and σ is an inherent learnable parameter of the policy network, without the need to add an additional network or additional sensors; 3. σ directly represents the agent's control confidence in the current operating condition, with clear physical meaning and no dimensional interference; 4. No retraining is required. After the component is trained normally, the forward output σ of each layer can be directly read for online fault diagnosis, making it lightweight and adaptable to vehicle controllers.
[0165] Figure 7 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention. See also... Figure 7 The thermal management control method includes the following operational steps: In S71, the cloud divides the vehicle's thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment, and engine into independent intelligent agents, and designs state space, dynamic space, and reward function for each intelligent agent.
[0166] The S72 uses the PPO algorithm in the cloud to train a multi-agent collaborative strategy, with temperature control accuracy, energy consumption, comfort, and safety as comprehensive rewards. It continuously learns and iterates online to achieve a dynamic optimal trade-off between multiple objectives.
[0167] The S73 continuously gathers massive amounts of real-world road conditions and multi-vehicle thermal management data in the cloud, incrementally trains the multi-agent PPO strategy, and regularly distributes the optimized strategy to the vehicle via OTA.
[0168] S74 collects time-series data of σ and motion entropy H of each moving component and state quantity under normal operating conditions across the entire temperature range and under full load of the vehicle, statistically analyzes the standard deviation of the Gaussian distribution and the motion distribution entropy under normal operating conditions, and sets fault warning thresholds.
[0169] S75, take the time window length W steps, and calculate the mean of the Gaussian distribution standard deviation and the action distribution entropy under this window.
[0170] S76, set the hierarchical fault determination rules.
[0171] S77 performs fault determination according to the set hierarchical fault determination rules.
[0172] This embodiment is based on the foregoing embodiments of the present invention, and further provides an implementation method for performing fault determination using a reinforcement learning model.
[0173] After each component's independent PPO agent fully converges under normal operating conditions, the Actor network learns the unique and stable optimal control strategy for that component: given the same thermal management observation state (battery temperature, cabin temperature, power consumption, flow rate, etc.), the agent will output an almost fixed optimal execution command (compressor frequency, water pump speed, fan duty cycle, etc.).
[0174] When components experience hardware failure, pipeline blockage, sensor drift, or other malfunctions, permanent abrupt changes occur in environmental dynamics. Under the same observed input, the actual thermal response of the component deviates from all the normal samples seen during the agent's training. The policy cannot determine a unique and reliable control quantity, and the uncertainty of the policy output increases significantly, which is intuitively manifested as follows: The standard deviation σ of the Gaussian distribution output by the Actor continuously increases; The action distribution entropy H increases significantly; The control commands oscillate back and forth within a continuous time sequence, exhibiting frequent and significant fluctuations.
[0175] The steps are as follows: Step 1: Offline calibration of the normal operating condition reference range Under normal operating conditions and full temperature range of the whole vehicle, time-series data of σ and motion entropy H of each moving component and state quantity are collected, σbasemax and Hbasemax under normal operating conditions are statistically analyzed, and fault warning thresholds are set. Part Two: Online Real-Time Sliding Window Statistics Take a timing window length of W steps (the thermal management system has a large thermal inertia, so W should not be too small; normally it should be 20 to 50 steps), and calculate the mean value within this window.
[0176]
[0177] The third step is to set up hierarchical fault determination rules. 1. Level 1 warning (minor component aging, sensor drift, etc.) and Greater than the first eigenvalue; 2. Level II faults (component damage, pipeline blockage, actuator failure, etc.) and Greater than the second eigenvalue; 3. Eliminate fluctuations in normal operating conditions Transient operating conditions (rapid acceleration, fast charging, thermal shock) for short periods of time and The increase is slight, but it cannot be sustained for multiple windows and will not trigger a fault alarm.
[0178] Troubleshooting: When a Level 1 warning or a minor aging warning appears, the vehicle will alert the driver via the instrument panel or sound. The driver should stop the vehicle to inspect and repair the vehicle if conditions permit. When a Level 2 fault or a confirmed component fault appears, the vehicle will alert the driver via the instrument panel or sound. The driver should stop the vehicle immediately to inspect and maintain the vehicle.
[0179] This fault diagnosis and handling process prevents potential mechanical damage or other malfunctions by halting further adjustments to the faulty component. This not only improves vehicle reliability but also ensures driving safety, especially during critical moments when the thermal management system needs to operate under heavy load.
[0180] Figure 8 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention. See also... Figure 8 The thermal management control method includes the following operational steps: In S81, the cloud classifies the vehicle's thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment, and engine into independent intelligent agents, and designs state space, dynamic space, and reward function for each intelligent agent.
[0181] The S82 uses the PPO algorithm in the cloud to train a multi-agent collaborative strategy, with temperature control accuracy, energy consumption, comfort, and safety as comprehensive rewards. It continuously learns and iterates online to achieve a dynamic optimal trade-off between multiple objectives.
[0182] S83 continuously gathers massive amounts of real-world road conditions and multi-vehicle thermal management data in the cloud, incrementally trains the multi-agent PPO strategy, and regularly distributes the optimized strategy to the vehicle via OTA.
[0183] S84 collects time-series data of σ and motion entropy H of each moving component and state quantity under normal operating conditions across the entire temperature range and under full load of the vehicle. It also statistically analyzes the standard deviation of the Gaussian distribution and the motion distribution entropy under normal operating conditions and sets fault warning thresholds.
[0184] S85, take the time window length W steps, and calculate the mean of the Gaussian distribution standard deviation and the action distribution entropy under this window.
[0185] S86, set the hierarchical fault determination rules.
[0186] S87 performs fault determination according to the set hierarchical fault determination rules.
[0187] S88: The mean standard deviation of the Gaussian distribution and the mean entropy of the motion distribution increase slightly over a short period of time during transient conditions, but this increase cannot be sustained for multiple windows and will not trigger a fault alarm.
[0188] In addition to the fault determination methods given in the foregoing embodiments of the present invention, if the transient condition is only a short-term event... and If the increase is small and cannot be sustained for more than a few windows, then no alarm needs to be issued.
[0189] Figure 9 This is a flowchart of a thermal management control method provided in one or more embodiments of the present invention. See also... Figure 9 The thermal management control method includes the following operational steps: In S91, the cloud divides the vehicle's thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment, and engine into independent intelligent agents, and designs state space, dynamic space, and reward function for each intelligent agent.
[0190] The S92 uses the PPO algorithm in the cloud to train a multi-agent collaborative strategy, with temperature control accuracy, energy consumption, comfort, and safety as comprehensive rewards. It continuously learns and iterates online to achieve a dynamic optimal trade-off between multiple objectives.
[0191] The S93 continuously gathers massive amounts of real-world road conditions and multi-vehicle thermal management data in the cloud, incrementally trains the multi-agent PPO strategy, and regularly distributes the optimized strategy to the vehicle via OTA.
[0192] S94 retrieves the theoretical output value of the control variable or state variable.
[0193] S95 retrieves the actual output value of the control variable or state variable.
[0194] S96 calculates the residual between the actual output value and the theoretical output value.
[0195] S97, perform fault determination based on the residual size.
[0196] The trained agents described above, including state and control variables, have a one-to-one correspondence between their control actions at time t and their states at time t+1. The state at time t+1 is determined by the agent's understanding of the relationship between the actions and responses of each component. Therefore, to ensure the components reach the preset state at time t+1, the agent performs a fixed action at time t. In other words, the trained agent knows both the actual and theoretical output values of a component. Thus, the difference between the two can be used as a basis for fault diagnosis.
[0197] ε can be used to represent the difference between the two.
[0198] Residual ε=∣uagent ureal∣ Under normal, fault-free conditions, the residual ε remains stable within the minimum threshold εth. However, when components jam, motors fail, pipelines become blocked, or the drive board malfunctions, the actual output cannot follow the action commands, causing the residual to continuously exceed the limit. In reality, many algorithms and residual ε can be used for fault diagnosis. This article uses threshold and period as examples, as follows: Short-term over-limit: ε>εth for 5 consecutive steps → Mild aging warning Prolonged over-limit: ε>εth,high 20 consecutive steps → Confirm component failure Figure 10 This is a structural diagram of a thermal management control system provided in one or more embodiments of the present invention. See also... Figure 10 The thermal management control system includes: The thermal management control system includes a cloud platform 101 and a vehicle terminal 102. The cloud platform has a built-in partitioning module 1011, a training module 1012 and an optimization module 1013. The vehicle terminal has a built-in recognition module 1021.
[0199] The partitioning module 1011 is used to divide the vehicle thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment and engine into independent intelligent agents, and to design state space, dynamic space and reward function for each intelligent agent.
[0200] The training module 1012 is used to train a multi-agent cooperative strategy using the PPO algorithm, with temperature control accuracy, energy consumption, comfort, and safety as comprehensive rewards, and continuously learns and iterates online to achieve a dynamic optimal trade-off between multiple objectives.
[0201] The optimization module 1013 is used to continuously collect massive amounts of real road conditions and multi-vehicle thermal management data, incrementally train the multi-agent PPO strategy, and periodically send the optimized strategy to the vehicle via OTA.
[0202] The identification module 1021 is used to identify faults such as sensor drift, actuator failure, pipeline abnormality, and precursors of thermal runaway in real time based on the state observation of each intelligent agent and the PPO prediction residual.
[0203] It is worth noting that although only some basic functional modules are disclosed in the embodiments of this invention, it does not mean that the composition of this system is limited to the above-mentioned basic functional modules. On the contrary, what this embodiment intends to express is that, based on the above-mentioned basic functional modules, those skilled in the art can arbitrarily add one or more functional modules in combination with existing technology to form an infinite number of embodiments or technical solutions. That is to say, this system is open rather than closed. The fact that this embodiment only discloses a few basic functional modules should not be considered as the scope of protection of the claims of this invention being limited to the disclosed basic functional modules. At the same time, for the convenience of description, the above device is described separately according to its functions as various units and modules. Of course, in implementing this invention, the functions of each unit and module can be implemented in one or more software and / or hardware.
[0204] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A thermal management control method, characterized in that, include: The cloud platform divides the vehicle's thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment, and engine into independent intelligent agents, and designs state space, dynamic space, and reward function for each intelligent agent. The cloud-based PPO algorithm is used to train a multi-agent collaborative strategy, with temperature control accuracy, energy consumption, comfort, and safety as comprehensive rewards. It continuously learns and iterates online to achieve a dynamic optimal trade-off between multiple objectives. The cloud continuously gathers massive amounts of real road conditions and multi-vehicle thermal management data to incrementally train the multi-agent PPO strategy, and regularly distributes the optimized strategy to the vehicle via OTA. The vehicle-side system relies on the state observation of each intelligent agent and the PPO prediction residual to identify faults such as sensor drift, actuator failure, pipeline abnormalities, and precursors to thermal runaway in real time.
2. The method according to claim 1, characterized in that, The cloud platform divides vehicle thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment, and engine into independent intelligent agents, and designs state space, dynamic space, and reward function for each agent, including: Configure the state space for each agent; The state space of the crew cabin intelligent agent includes: crew cabin temperature parameters, ambient temperature, and temperature parameters at other locations. The state space of the battery agent includes: battery temperature parameters, battery voltage, and battery current; The state space of the engine agent includes: engine temperature parameters, engine speed, engine torque, and engine power; The state space of the energy management agent includes: remaining battery charge percentage, power demand parameters, fuel consumption, and electricity consumption; The state space of the driving management agent includes: torque parameters and temperature parameters; The state space of the environmental prediction agent includes: measured environmental parameters and predicted environmental parameters; The state space of the vehicle thermal management agent includes the state spaces of other agents.
3. The method according to claim 1, characterized in that, The cloud platform divides vehicle thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment, and engine into independent intelligent agents, and designs state space, dynamic space, and reward function for each agent. It also includes: Configure the action space for each intelligent agent; The action space of the crew cabin intelligent agent includes: engine power and compressor operating parameters; The action space of the battery-powered intelligent agent includes: water pump speed, compressor speed, and fan speed; The action space of the engine agent includes: engine power and fan speed; The operational space of the energy management agent includes: pure electric drive and hybrid drive; The action space of the drive management intelligent agent includes: pure electric drive, hybrid drive, accelerator pedal opening, and brake pedal opening; The action space of the environmental prediction agent includes: charging location and refueling location; The action space of the vehicle thermal management agent includes the action space of other agents.
4. The method according to claim 1, characterized in that, The cloud platform divides vehicle thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment, and engine into independent intelligent agents, and designs state space, dynamic space, and reward function for each agent. It also includes: Set the reward function for each agent; The design goal of the reward function for the crew cabin intelligent agent is to reduce the reward when the temperature difference and power increase, and increase the reward when the temperature difference and power decrease. The design goal of the battery agent reward function is that the more stable the temperature, the higher the reward; the more power the heat dissipation system consumes, the greater the penalty; and if the temperature exceeds the limit, the penalty is severe. The design goal of the engine agent reward function is that the more stable the temperature, the higher the reward; the more power the cooling system consumes, the greater the penalty; and if the temperature exceeds the limit, the penalty is severe. The design goal of the reward function for the energy management agent is that, when operating on pure electric power, the lower the power consumption, the slower the SOH decreases and the higher the reward; the higher the power consumption, the faster the SOH decreases and the lower the reward; and when the power consumption exceeds the limit, the reward increases exponentially. The design goal of the reward function for the driving management agent is that the more stable the temperature, the higher the reward; the more power the cooling system consumes, the greater the penalty; and if the temperature exceeds the limit, the penalty is severe. The design goal of the reward function for the environmental prediction and management agent is that the smaller the error between the predicted value and the actual value, the higher the reward; the larger the error, the less stable the agent, and the greater the penalty; when the error exceeds the limit, the penalty is severe. The design goal of the reward function of the vehicle thermal management agent is to receive the thermal demand and load instructions of the other six sub-agents, and to uniformly control the water pump, electric fan, multi-way reversing valve, and heat exchanger, and coordinate the flow distribution of the vehicle's multi-way cooling circuit.
5. The method according to claim 1, characterized in that, The cloud-based PPO algorithm is used to train a multi-agent cooperative strategy, with temperature control accuracy, energy consumption, comfort, and safety as comprehensive rewards. It continuously learns and iterates online to achieve a dynamic optimal trade-off among multiple objectives, including: Initialize the network parameters and algorithm hyperparameters for each agent; Calculate the old policy, state value, action value, and current reward for each agent; Use the value network to calculate the GAE function and the cumulative discounted return; Optimize the total loss function; With fixed sampling data, optimize the total loss in batches and multiple rounds, and update the policy network and value network; After training converges, freeze all network parameters and turn off gradient calculation.
6. The method according to claim 1, characterized in that, The cloud continuously aggregates massive amounts of real-world road condition and multi-vehicle thermal management data to incrementally train multi-agent PPO strategies, and the optimized strategies are periodically deployed to the vehicle via OTA, including: Continuously record upstream and downstream data for each inference process to form complete data that can be used for PPO training; Simulation data is updated using a standard online strategy; Real road data, after being corrected using offline strategies, is mixed into training with a low learning rate; Each driver can choose a different strategy via OTA (Over-The-Air) updates.
7. The method according to claim 1, characterized in that, The vehicle-side system relies on the state observations of each intelligent agent and the PPO prediction residuals to identify faults in real time, including sensor drift, actuator failure, pipeline abnormalities, and precursors to thermal runaway. Under normal operating conditions and full load across the entire vehicle temperature range, time-series data of σ and motion entropy H of each moving component and state quantity are collected. The standard deviation of Gaussian distribution and motion distribution entropy under normal operating conditions are statistically analyzed, and fault warning thresholds are set. Take a time window of length W steps, and calculate the standard deviation of the Gaussian distribution and the mean of the action distribution entropy within that window; Set up hierarchical fault determination rules; Perform fault determination according to the set hierarchical fault determination rules.
8. The method according to claim 7, characterized in that, The vehicle-side system relies on the state observations of each intelligent agent and the PPO prediction residuals to identify faults in real time, such as sensor drift, actuator failure, pipeline abnormalities, and precursors to thermal runaway. It also includes: The mean standard deviation of the Gaussian distribution and the mean entropy of the motion distribution increase slightly over short periods of transient conditions, but this increase cannot be sustained for multiple windows and will not trigger a fault alarm.
9. The method according to claim 1, characterized in that, The vehicle-side system relies on the state observations of each intelligent agent and the PPO prediction residuals to identify faults in real time, including sensor drift, actuator failure, pipeline abnormalities, and precursors to thermal runaway. Obtain the theoretical output value of the control variable or state variable; Obtain the actual output value of the control variable or state variable; Calculate the residual between the actual output value and the theoretical output value; Based on the residual size, perform fault determination.
10. A thermal management control system, characterized in that, include: The thermal management control system includes a cloud platform and a vehicle-mounted platform. The cloud platform has a built-in partitioning module, a training module, and an optimization module. The vehicle-mounted platform has a built-in recognition module. The partitioning module is used to divide the vehicle thermal management, environmental prediction, drive management, energy management, battery management, passenger compartment and engine into independent intelligent agents, and to design state space, dynamic space and reward function for each intelligent agent. The training module is used to train a multi-agent cooperative strategy using the PPO algorithm, with temperature control accuracy, energy consumption, comfort, and safety as comprehensive rewards, and continuously learns and iterates online to achieve a dynamic optimal trade-off between multiple objectives. The optimization module is used to continuously collect massive amounts of real road conditions and multi-vehicle thermal management data, incrementally train the multi-agent PPO strategy, and periodically send the optimized strategy to the vehicle via OTA. The identification module is used to identify faults such as sensor drift, actuator failure, pipeline abnormalities, and precursors of thermal runaway in real time, based on the state observation of each agent and the PPO prediction residual.
