Software architecture of commercial vehicle battery swap station thermal management system
By designing a software architecture for the thermal management system of a commercial vehicle battery swap station, using the SIMULINK simulation model and INCA debugging interface, the problems of insufficient thermal management control accuracy, lack of collaborative control, low transparency in debugging and maintenance, complex fault diagnosis, dispersed software architecture functions, and poor hardware compatibility in the existing technology are solved, and precise control and efficient operation of the thermal management system are achieved.
Patent Information
- Application Number
- CN202411660664.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-03-11
AI Technical Summary
The existing commercial vehicle battery swap station thermal management system is not accurate enough in the control of key parameters such as temperature and air volume, lacks collaborative control, has low transparency in debugging and maintenance, complex fault diagnosis, dispersed software architecture functions, poor hardware compatibility, and has not fully considered the impact of environmental changes on the thermal management system.
Design a software architecture for the thermal management system of a commercial vehicle battery swap station, adopting the SIMULINK simulation model as the application layer, the intermediate calibration transmission layer and the underlying layer, and providing debugging tools and parameter calibration platforms through the INCA debugging interface and data interaction to achieve precise control of the thermal management system, and make the software compatible with different hardware devices through a variety of communication drivers and sensor acquisition drivers.
It realizes precise control of the thermal management system of commercial vehicle battery swap stations, improves thermal management efficiency, extends equipment life, simplifies the R&D and debugging process, reduces the complexity of fault diagnosis, improves the hardware compatibility and scalability of the system, and adapts to different working conditions and environmental changes.
Smart Images

Figure CN119597625A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of thermal management of a commercial vehicle battery swap station, and in particular to a software architecture of a thermal management system of a commercial vehicle battery swap station. Background Art
[0002] Fixed charging and swapping stations for commercial vehicles are designed to solve the difficulty of "refueling" new energy commercial electric vehicles. The innovatively developed equipment is automatic, fast and easy to replace batteries. It solves the difficulties of short driving range, difficulty in charging and long charging time of electric vehicles, extends the service life of batteries, and achieves the purpose of "refueling" electric vehicles by replacing batteries, accelerates the promotion and popularization of electric vehicles, and truly achieves energy saving and zero emissions of vehicles.
[0003] At a time when commercial vehicle electrification is developing rapidly, battery swap stations are key infrastructure to ensure the continuous operation of vehicles. The performance of their thermal management systems is crucial. In actual operation, the following problems may arise:
[0004] 1. The existing technology is not precise enough in the control of key parameters such as temperature and air volume in the thermal management system of commercial vehicle battery swap stations. Due to the lack of accurate models and algorithms, it is impossible to adjust the control strategy in real time according to the complex changes in actual working conditions, resulting in the operating temperature of batteries and equipment often deviating from the optimal range, affecting the overall efficiency of thermal management; the synergy between the subsystems is poor, for example, the cooling of the charging cabinet and the thermal management of the battery pack are not effectively jointly controlled. The control logic of different devices is relatively independent, and resources cannot be uniformly allocated according to the overall heat load situation, which is prone to local overheating or overcooling, increasing energy consumption and reducing equipment life;
[0005] 2. During the R&D and debugging stages, it is difficult for developers to fully understand the internal operating status of the thermal management system. Existing technologies do not provide effective debugging tools and data monitoring mechanisms, which prevents developers from obtaining the values of various variables in real time, and makes it difficult to locate and solve problems that arise in the collaborative work of software and hardware, resulting in long R&D cycles and high costs. When a system failure occurs, it is difficult for operation and maintenance personnel to quickly and accurately determine the cause and location of the failure. Due to the lack of a complete fault diagnosis mechanism and alarm system, for complex thermal management systems, it may take a lot of time to check various equipment and lines, and effective repair measures cannot be taken in a timely manner, affecting the normal operation of the battery swap station.
[0006] 3. The functions of the thermal management system software are scattered in multiple different modules or programs, and do not form an organic whole. For example, the correlation between functions such as temperature control, air volume control, and equipment monitoring is not strong, and data interaction is difficult, resulting in low operating efficiency and inconvenient management of the entire system; the existing software architecture is difficult to be compatible with various types and protocols of hardware devices. With the development of technology, new hardware devices continue to emerge, but the software cannot be flexibly adapted to them, which limits the upgrade and expansion of the system and cannot meet the thermal management needs of commercial vehicle battery swap stations of different sizes and configurations;
[0007] 4. When designing the thermal management system, the thermal management requirements of commercial vehicle battery swap stations under various operating conditions such as different seasons, different charging powers, and different vehicle replacement frequencies were not fully considered. The system may perform well under certain specific conditions, but it cannot operate normally under other conditions, resulting in reduced overall reliability; the impact of external factors such as ambient temperature and humidity on the thermal management system was not considered enough, and there was no corresponding compensation mechanism and adaptive control strategy, which greatly reduced the performance of the system under harsh environmental conditions. Summary of the invention
[0008] In order to overcome the above-mentioned defects of the prior art, the inventors conducted in-depth research and completed the present invention after paying a lot of creative work.
[0009] Specifically, the technical problem to be solved by the present invention is: to provide a software architecture for a thermal management system of a commercial vehicle battery swap station to solve the technical problems of insufficient thermal management control accuracy of current battery swap stations, lack of collaborative control, low transparency of debugging and maintenance systems, complex fault diagnosis systems, fragmented software architecture functions, poor hardware compatibility, incomplete consideration of environmental changes by charging stations, and large impact of environmental changes on charging stations.
[0010] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0011] A software architecture of a thermal management system for a commercial vehicle battery swap station, the thermal management system for the commercial vehicle battery swap station comprising a SIMULINK simulation model as an application layer, an intermediate calibration transmission layer and a bottom layer, the application layer and the intermediate layer are bidirectionally connected in data, and the intermediate layer and the bottom layer are bidirectionally connected in data;
[0012] The application layer includes demand management, loop calculation and load control logic. The demand management is bidirectionally connected to the loop calculation, the demand management is bidirectionally connected to the complex control logic, and the loop calculation is bidirectionally connected to the load control logic.
[0013] As an improved technical solution, the middle layer includes an INCA debugging interface and INCA data interaction. The INCA debugging interface includes calibration of control parameters, calibration of temperature and pressure underlying parameters, and the feedback value of device execution parameters and generation curves of control parameters, underlying parameters, and device parameters can be viewed with the help of the INCA interface. The INCA data interaction includes an application layer device control parameter module and an underlying drive device collection module.
[0014] As an improved technical solution, the middle layer includes an INCA debugging interface and INCA data interaction. The INCA debugging interface includes calibration of control parameters, calibration of temperature and pressure underlying parameters, viewing of feedback values of device execution parameters, and curve generation of control parameter underlying parameter device parameters. The INCA data interaction includes an application layer device control parameter module and an underlying drive device collection module.
[0015] As an improved technical solution, the application layer device control parameter module and the bottom layer data are transmitted unidirectionally, and the bottom layer drive device collection module and the application layer data are transmitted unidirectionally.
[0016] As an improved technical solution, the bottom layer includes 485 signal, LIM signal, pressure temperature, fan two-way valve and other device alarm feedback, 485 signal, LIN signal and voltage and current signal.
[0017] As an improved technical solution, the 485 signal includes a compressor, an evaporation water pump, a condensation water pump and a control room water pump, the LIN signal includes a battery two-way valve, a unit two-way valve, a unit four-way valve and a dry cooler two-way valve, and the voltage and current signals include a temperature sensor, a humidity sensor, a pressure sensor and a liquid level sensor.
[0018] After adopting the above technical solution, the beneficial effects of the present invention are:
[0019] 1. Through precise simulation and real-time data feedback, the software architecture of the present invention can realize precise control of the thermal management system of commercial vehicle battery swap stations, ensure that batteries and other key equipment are always in the optimal operating temperature range, significantly improve thermal management efficiency, and effectively extend equipment life.
[0020] 2. The present invention provides developers with convenient and efficient debugging tools and parameter calibration platforms through the INCA function of the middle layer, which greatly shortens the system development cycle and reduces the R&D cost. At the same time, it is also convenient to quickly locate and solve problems during system operation.
[0021] 3. The present invention enables the software to be perfectly compatible with various hardware devices through the underlying multiple communication drivers and sensor acquisition drivers, facilitates the expansion and upgrade of the system, and easily adapts to the thermal management system requirements of commercial vehicle battery swap stations of different sizes and configurations.
[0022] 4. The present invention helps operation and maintenance personnel to intuitively and clearly understand system performance through the generation of performance curves of intermediate-layer units, discover potential problems in advance, and thus formulate scientific and reasonable maintenance plans to improve the overall operational efficiency and reliability of the battery swap station. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:
[0024] Figure 1 It is a schematic diagram of the overall structure of the software architecture of the thermal management system of the commercial vehicle battery swap station of the present invention.
[0025] Figure 2 The schematic diagram of the application layer structure of the software architecture of the thermal management system of the commercial vehicle battery swap station of the present invention.
[0026] Figure 3 It is a schematic diagram of the middle layer structure of the software architecture of the thermal management system of the commercial vehicle battery swap station of the present invention.
[0027] Figure 4 It is a schematic diagram of the underlying structure of the software architecture of the thermal management system of the commercial vehicle battery swap station of the present invention. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0030] At the same time, the meaning of "and / or" or "and / or" appearing in the full text includes three options. Taking "A and / or B" as an example, it includes option A, or option B, or a option in which both A and B are satisfied.
[0031] In addition, in the present invention, descriptions such as "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0032] like Figure 1 and Figure 2 As shown together, this embodiment provides a software architecture of a thermal management system for a commercial vehicle battery swap station. The software architecture of the thermal management system for a commercial vehicle battery swap station includes a SIMULINK simulation model as an application layer, an intermediate calibration transmission layer and a bottom layer. The application layer and the intermediate layer are bidirectionally connected in data, and the intermediate layer and the bottom layer are bidirectionally connected in data.
[0033] The application layer includes demand management, loop calculation and load control logic. There is a two-way data connection between demand management and loop calculation, a two-way data connection between demand management and complex control logic, and a two-way data connection between loop calculation and load control logic.
[0034] The demand management, loop calculation and load control logic within the application layer constitute the SIMULINK simulation model.
[0035] like Figure 1 and Figure 2 As shown together, demand management includes system power demand, control room demand, battery compartment demand, battery demand and charging cabinet demand; loop calculation includes control room loop calculation, battery compartment loop calculation, battery loop calculation and charging cabinet cooling loop calculation; load control logic includes start-up loop quantity confirmation, AC loop control, water loop control, warehouse control, charging cabinet cooling control and device fault handling.
[0036] like Figure 1 and Figure 3 As shown together, the middle layer includes INCA debugging interface and INCA data interaction. The INCA debugging interface includes calibration of control parameters, calibration of temperature and pressure underlying parameters. With the help of INCA interface, the feedback value of device execution parameters and generation curves of control parameters, underlying parameters and device parameters can be viewed. INCA data interaction includes application layer device control parameter module and underlying drive device collection module.
[0037] like Figure 1 and Figure 3 As shown together, the application layer device control parameter module and the bottom layer data are transmitted unidirectionally, and the bottom layer drive device collection module and the application layer data are transmitted unidirectionally.
[0038] like Figure 1 and Figure 4 As shown together, the bottom layer includes 485 signals, LIM signals, pressure and temperature, fan two-way valve and other device alarm feedback, 485 signals, LIN signals and voltage and current signals.
[0039] like Figure 1 and Figure 4 As shown in the figure, 485 signals include compressor, evaporation water pump, condensation water pump and control room water pump, LIN signals include battery two-way valve, unit two-way valve, unit four-way valve and dry cooler two-way valve, voltage and current signals include temperature sensor, humidity sensor, pressure sensor and liquid level sensor.
[0040] When the thermal management system of the commercial vehicle battery swap station is started, the underlying hardware driver is first fully initialized, carefully checking the connection status of the 485 communication interface, LIN communication interface and pressure and temperature sensors to ensure that all hardware devices are connected normally. Then the communication thread is started and sensor data is continuously received. At the same time, the INCA layer of the middle layer is started and quickly establishes a stable communication link with the bottom layer, preparing to receive data and process application layer instructions. The SIMULINK simulation model of the application layer loads the pre-set model parameters and initial state to prepare for system operation; the pressure and temperature sensor acquisition driver of the bottom layer collects sensor data at a specific sampling frequency. These data cover key information such as the temperature at different positions of the battery pack, the pressure and temperature in the cooling pipe, and the temperature of key parts inside the charging cabinet. The collected data is quickly transmitted to the INCA layer through the communication interface between the bottom layer and the middle layer. The bottom layer software performs preliminary processing on the received data, including filtering, calibration and other operations, effectively removing noise and outliers, and then stores the processed data in the local database for subsequent in-depth analysis on the one hand, and transmits the data to the SIMULINK model of the application layer through the INCA transmission layer on the other hand. The SIMULINK model of the application layer performs real-time simulation logic operation based on the actual data received. Based on the current system status and the preset control strategy, the desired control parameters are accurately calculated, such as the speed of the cooling water pump, the air volume of the ventilation equipment, the opening of the two-way valve, the three-way valve, and the fluorine-circuit electronic expansion valve. These control parameters are transmitted to the underlying driver through the interface with the intermediate INCA layer. The INCA layer transmits these control parameters to the underlying layer, and the underlying 485 communication driver or LIN communication driver accurately sends them to the corresponding hardware devices to achieve precise control of the thermal management system. At the same time, the 485 and LIN signals and the temperature and pressure signals are also transmitted to the application layer through the intermediate layer for real-time feedback. In the early R&D process and subsequent use, the calibration personnel will use the INCA layer interface to carry out parameter calibration based on the actual operating data of different environmental parameters and the simulation results of the application layer. For example, when the calibration personnel find that the battery pack temperature deviates from the optimal range under specific working conditions, the calibration personnel adjust the temperature control parameters and save the performance parameters in the memory. When the model encounters the same environment and working conditions later, the application layer model will call this parameter to guide the unit action. At the same time, R&D personnel can use the debugging function of the INCA layer to monitor system variables in real time. Once an abnormal situation occurs or the cause of abnormal operation is unknown, the debugging tool can be used to quickly find the root cause of the problem and view the real-time simulation data to make targeted adjustments to the software or hardware. When the unit has an operating logic failure or error, the INCA layer interface tool can be used to observe the continuous data during the system operation process, and the performance curve of the unit running for a period of time can also be generated to observe whether its long-term operating logic is normal.These curves can be displayed intuitively in the cloud server of the battery swap station. The operation and maintenance personnel can analyze the performance curves to fully understand the performance of the thermal management system under different working conditions, such as the cooling efficiency during high-load charging, the trend of battery temperature over time, the matching of the air volume of the charging cabinet and the charging power, and the stability of the temperature and humidity of the environmental chamber. When an abnormality is found in the performance curve, the operation and maintenance personnel can take timely measures to maintain and optimize the system. The SIMULINK simulation model of the application layer maintains close data interaction with the INCA layer of the middle layer. The application layer transmits its own operating status, prediction results and other information to the INCA layer, and receives the underlying data parameters and feedback instructions from the INCA layer to the simulation model for the next action prediction. This two-way interaction mechanism enables the SIMULINK simulation model to be continuously updated and optimized according to the actual situation, thereby more accurately reflecting the actual operating status of the thermal management system.
[0041] It should be understood that the purpose of these embodiments is only to illustrate the present invention and is not intended to limit the protection scope of the present invention. In addition, it should also be understood that after reading the technical content of the present invention, those skilled in the art can make various changes, modifications and / or variations to the present invention, and all of these equivalent forms also fall within the protection scope defined by the appended claims of this application.
Claims
1. A software architecture for a thermal management system for a commercial vehicle battery swap station, characterized in that: The commercial vehicle battery swap station thermal management system includes a SIMULINK simulation model as an application layer, an intermediate calibration transmission layer and a bottom layer, the application layer is bidirectionally connected to the middle layer, and the middle layer is bidirectionally connected to the bottom layer; The application layer includes demand management, loop calculation and load control logic. The demand management is bidirectionally connected to the loop calculation, the demand management is bidirectionally connected to the complex control logic, and the loop calculation is bidirectionally connected to the load control logic.
2. The software architecture of the thermal management system of the commercial vehicle battery swap station according to claim 1 is characterized by: The demand management includes system power demand, control room demand, battery compartment demand, battery demand and charging cabinet demand. The loop calculation includes control room loop calculation, battery compartment loop calculation, battery loop calculation and charging cabinet cooling loop calculation. The load control logic includes start-up loop quantity confirmation, AC loop control, water loop control, warehouse control, charging cabinet cooling control and device fault handling.
3. The software architecture of the thermal management system of the commercial vehicle battery swap station according to claim 1 is characterized by: The middle layer includes INCA debugging interface and INCA data interaction. The INCA debugging interface includes calibration of control parameters, calibration of temperature and pressure underlying parameters, and the feedback value of device execution parameters and generation curves of control parameters, underlying parameters, and device parameters can be viewed with the help of INCA interface. The INCA data interaction includes application layer device control parameter module and underlying drive device collection module.
4. The software architecture of the thermal management system of the commercial vehicle battery swap station according to claim 3 is characterized by: The application layer device control parameter module and the bottom layer data are transmitted in one direction, and the bottom layer drive device collection module and the application layer data are transmitted in one direction.
5. The software architecture of the thermal management system of the commercial vehicle battery swap station according to claim 1 is characterized by: The bottom layer includes 485 signal, LIM signal, pressure temperature, fan two-way valve and other device alarm feedback, 485 signal, LIN signal and voltage and current signal.
6. The software architecture of the thermal management system of the commercial vehicle battery swap station according to claim 5 is characterized by: The 485 signal includes the compressor, evaporation water pump, condensation water pump and control room water pump, the LIN signal includes the battery two-way valve, the unit two-way valve, the unit four-way valve and the dry cooler two-way valve, and the voltage and current signal includes the temperature sensor, humidity sensor, pressure sensor and liquid level sensor.