Matching method and device for hardware interface of domain controller, vehicle and readable storage medium
By automatically identifying and mapping the hardware interface function types of domain controllers, the problem of low manual matching efficiency in the prior art is solved, and the automatic adaptation of hardware interfaces and application-level software is realized. It is suitable for multiple models and hardware configurations, reducing development costs.
Patent Information
- Application Number
- CN202510666194.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2025-08-15
AI Technical Summary
In the prior art, the matching of the hardware interface of the domain controller with the application layer software requires manual intervention, resulting in low efficiency and prone to errors, making it difficult to adapt to multiple models and multi-hardware configurations.
By identifying the category of the target hardware interface, controlling the operation of the thermal management system, obtaining feedback data, analyzing changes in physical state, deriving the function types of the hardware interface, and automatically mapping them to the application layer software logic, realizing automatic adaptation of the interface and software.
Improve matching efficiency, avoid subjective errors in manually defining pin functions, and are suitable for multi-car models and multi-hardware configurations, reducing development costs and improving adaptability.
Smart Images

Figure CN120492388A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hardware matching of a vehicle thermal management system, and in particular to a method and device for matching the hardware interface of a domain controller, a vehicle, and a readable storage medium. Background Art
[0002] The vehicle's thermal management system's application layer software is integrated into the domain controller. Because the domain controller's hardware interface adopts a platform solution, the specific interfaces used by different vehicle models need to be determined based on the specific thermal management system solution.
[0003] In related technologies, the matching of the hardware interface of the domain controller of a thermal management system with the application layer software is done manually. Because the number and type of pins required for the domain controller hardware interface vary significantly across vehicle models, the manual matching process is complex and inefficient, and is prone to interface mismatching. Summary of the Invention
[0004] The purpose of the present invention is to provide a method and device for matching the hardware interface of a domain controller, a vehicle, and a readable storage medium to solve the problem in the prior art that the hardware interface of the domain controller and the application layer software need to be manually matched, which is inefficient and prone to matching errors.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0006] In some embodiments, a method for matching the hardware interface of a domain controller is provided, which is applied to a thermal management system of a vehicle. The matching method includes: controlling the operation of the thermal management system according to the category of the target hardware interface to be identified; determining the functional type of the target hardware interface according to feedback data from the thermal management system; and matching the application layer software according to the functional type of the target hardware interface.
[0007] The matching method for a domain controller's hardware interface, provided in an embodiment of the present disclosure, is applied to a vehicle's thermal management system. The domain controller of the thermal management system includes multiple hardware interfaces whose categories are defined. However, the physical meaning of each hardware interface category is uncertain. This disclosure determines the operating parameters of the thermal management system by identifying the physical characteristics of the target hardware interface category during application, and controls the thermal management system's operation according to the determined operating parameters. After the thermal management system is started, feedback data is obtained and, by analyzing the physical state changes in the feedback data, the functional type of the target hardware interface is derived. This mapping of the interface functional type to the application-layer software logic enables automatic adaptation of the interface and software without manual intervention. The matching method of this disclosure enables automatic matching of the hardware interface and application-layer software, improving matching efficiency, avoiding the subjective errors associated with manually defining pin functions, and enhancing matching accuracy. Furthermore, the matching method of this disclosure is applicable to multiple vehicle models and hardware configurations, eliminating the need for secondary development of application-layer software specific to the domain controller's hardware interface, reducing development costs and improving adaptability.
[0008] Optionally, the categories of the hardware interfaces include a PWM (Pulse Width Modulation) control interface, a low-side driver interface, and a pressure sensor interface, and the category of the target hardware interface to be identified is a pressure sensor interface; the step of controlling the operation of the thermal management system includes: sending a control signal to the PWM control interface, the low-side driver interface maintaining a non-control state, opening a shutoff valve to open an electronic expansion valve, starting the compressor, and running at a minimum speed; and the step of determining the functional type of the target hardware interface based on feedback data from the thermal management system includes: obtaining a valid pressure value fed back by the pressure sensor interface;
[0009] The interface with a pressure value greater than the pressure reference value is determined as the high-pressure pressure sensor interface; the interface with a pressure value less than the pressure reference value is determined as the low-pressure pressure sensor interface.
[0010] In this embodiment, the pressure sensor interface is identified and matched. A control signal is sent to the PWM control interface, causing the low-side driver interface to maintain the shutoff valve open by default in the non-controlled state, open the electronic expansion valve, and start the compressor at the minimum speed. The collected pressure value is compared with a pressure reference value to determine the high-pressure and low-pressure sensor interfaces.
[0011] Optionally, the hardware interface category also includes a temperature sensor interface, and the target hardware interface to be identified is a temperature sensor interface. The step of controlling the operation of the thermal management system includes: controlling the minimum operating speed of the compressor, and controlling the alternating closing of the thermal management system's shutoff valve and electronic expansion valve. The step of determining the functional type of the target hardware interface based on feedback data from the thermal management system includes: determining, during a preset cycle, based on feedback data from the temperature sensor interface, an evaporator temperature sensor interface, a battery water temperature sensor interface, and a low-pressure temperature sensor interface.
[0012] In this embodiment, temperature sensor interfaces are identified and matched. By alternately closing the shutoff valve and the electronic expansion valve, local temperature changes are triggered. Based on the temperature changes, the interface's functional type is determined, improving the accuracy of the determination.
[0013] Optionally, the category of the target hardware interface to be identified is a PWM control interface, and the steps of controlling the operation of the thermal management system include: sending a control signal to the PWM control interface, the low-side driver interface remains in a non-control state, the shut-off valve is opened to open the electronic expansion valve, the compressor is started and runs at the lowest speed; the control signal value of the PWM control interface is reduced in turn, and maintained for a set time.
[0014] Optionally, based on the feedback data of the thermal management system, the step of determining the functional type of the target hardware interface includes: obtaining the high pressure feedback from the high-pressure pressure sensor; and determining the PWM control interface corresponding to the increase in high pressure pressure as the control interface of the cooling fan.
[0015] In this embodiment, a 90% duty cycle signal is sent to all PWM interfaces to match the PWM control interface, starting the compressor at its lowest speed. The PWM duty cycle is then gradually reduced and maintained for a set duration, observing changes in high-pressure pressure. Because reduced fan speed significantly impacts high-pressure pressure, the cooling fan's PWM control interface can be identified based on changes in high-pressure pressure. By gradually reducing the duty cycle, pressure mutation points can be accurately captured, avoiding misjudgments caused by transient interference.
[0016] Optionally, the matching method also includes: controlling the cooling fan to run at the maximum wind speed through the cooling fan control interface, that is, the fan runs at full speed, and controlling the battery water pump and the electric water pump to be in a shutdown state through other valid PWM control interfaces, closing the stop valve and opening the electronic expansion valve, starting the compressor and running at the lowest speed; then sending a control signal to other valid PWM control interfaces to control the operation of the battery water pump or the electric water pump to obtain the battery water temperature of the thermal management system; according to the battery water temperature, determining the control interface of the battery water pump and the control interface of the electric water pump in the PWM control interface.
[0017] In this embodiment, after determining the cooling fan control interface, the battery water pump control interface and the electric drive water pump control interface are further identified. The cooling fan control interface is used to control the cooling fan to its maximum speed, i.e., full speed. Simultaneously, other valid PWM control interfaces are used to shut down the battery water pump and the electric drive water pump, closing the shutoff valve and opening the electronic expansion valve to maintain low compressor speed. This prevents the battery and electric drive system from circulating coolant to dissipate heat, leading to elevated battery and electric drive water temperatures. A control signal is then sent to the other valid PWM control interfaces to control the battery water pump or the electric drive water pump and monitor changes in battery water temperature. If the water temperature drops significantly, this indicates that the thermal management system is affecting the battery water temperature, indicating that the current control target is the battery water pump, and the corresponding interface is the battery water pump control interface. Interfaces with no change in water temperature are the electric drive water pump control interfaces. In other words, the impact of battery water pump startup on coolant circulation is used to accurately distinguish functional types.
[0018] Optionally, the matching method also includes: using the determined cooling fan control interface to control the cooling fan to reduce the speed until the high-pressure pressure value is greater than or equal to the pressure threshold; obtaining feedback data of the currently remaining temperature sensor type interfaces; and determining the interface corresponding to the maximum temperature value in the feedback temperature values as the interface of the high-pressure temperature sensor.
[0019] In this embodiment, the cooling fan control interface identified is used to reduce its speed until the high-pressure value is greater than or equal to the pressure threshold. The values of the remaining temperature sensor interfaces are recorded, and the interface with the highest temperature value is selected as the high-pressure temperature sensor. By increasing the high-pressure pressure, the high-pressure side temperature is significantly higher than that at other locations, allowing the interface to be quickly located through extreme value screening.
[0020] Optionally, the matching method also includes: sending a control signal to the control interface of the cooling fan and running it for a first set time; obtaining feedback data from the remaining temperature sensor type interfaces; and determining the interface of the electric drive temperature sensor based on the feedback data.
[0021] In this embodiment, when the cooling fan is running at full speed, the cooling effect of the electric drive coolant is improved, thereby reducing the electric drive water temperature, and then the interface of the electric drive temperature sensor can be identified based on the temperature change of the feedback data.
[0022] Optionally, the matching method also includes: sending a control signal to the control interface of the cooling fan, controlling the shut-off valve to open, closing the electronic expansion valve, and controlling the compressor to run for a second period of time; obtaining feedback data from the remaining temperature sensor interfaces; and determining the interface of the in-vehicle temperature sensor and the interface of the ambient temperature sensor based on the feedback data.
[0023] In this embodiment, the interior and ambient temperature sensor interfaces are distinguished through compressor operation and valve control. The electronic expansion valve is closed, the shutoff valve is opened, and the compressor is operated for a second duration to lower the passenger compartment temperature. Feedback data from temperature sensor interfaces is obtained, and interfaces with significantly lower temperatures are selected as interior temperature sensor interfaces, while the remaining interfaces are ambient temperature sensor interfaces.
[0024] In some embodiments, a hardware interface matching device is provided, which is applied to a thermal management system of a vehicle, and the matching device includes: a processor and a memory storing program instructions, and the processor is configured to execute the hardware interface matching method described in any of the above embodiments when running the program instructions.
[0025] In some embodiments, a vehicle is provided, comprising: a thermal management system; and a matching device for the hardware interface as described in any of the above embodiments, connected to the thermal management system.
[0026] In some embodiments, a readable storage medium is provided, storing program instructions, which, when executed, enable a computer to execute the hardware interface matching method described in any of the above embodiments.
[0027] Beneficial effects of the present invention:
[0028] (1) Mapping interface function types to application layer software logic enables automatic adaptation of interfaces and software without manual intervention. The disclosed matching method achieves automatic matching of hardware interfaces and application layer software, improving matching efficiency and avoiding subjective errors in manually defining pin functions, thereby increasing matching accuracy.
[0029] (2) The matching method disclosed in the present invention can be applied to multiple vehicle models and multiple hardware configurations, so that the application layer software does not need to be secondary developed for the hardware interface of the domain controller, thereby reducing development costs and improving adaptability. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A flowchart of a method for matching a hardware interface of a domain controller provided by one embodiment of the present invention;
[0031] Figure 2 A flowchart of a method for matching a hardware interface of a domain controller provided in yet another embodiment of the present invention;
[0032] Figure 3 A flowchart of a method for matching a hardware interface of a domain controller provided in yet another embodiment of the present invention;
[0033] Figure 4A flowchart of a method for matching a hardware interface of a domain controller provided in yet another embodiment of the present invention;
[0034] Figure 5 A flowchart of a method for matching a hardware interface of a domain controller provided in yet another embodiment of the present invention;
[0035] Figure 6 A schematic diagram of a matching device for a hardware interface of a domain controller provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0036] The following describes the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art will readily appreciate the other advantages and benefits of the present invention from the disclosure herein. The present invention may also be implemented or applied through various other specific embodiments, and the various details in this specification may be modified or altered based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are intended only to illustrate the present invention and are not intended to limit the scope of protection of the present invention.
[0037] It should be noted that the illustrations provided in the following embodiments are merely schematic illustrations of the basic concept of the present invention. Therefore, the illustrations only show components related to the present invention and are not drawn according to the number, shape, and size of components in actual implementation. In actual implementation, the type, quantity, and proportion of each component may be changed arbitrarily, and the component layout may also be more complex.
[0038] In some embodiments, the vehicle is equipped with a thermal management system. This includes passenger compartment thermal management, electric drive thermal management, and battery thermal management. Passenger compartment thermal management is used to manage the thermal conditions within the vehicle, including cooling, heating, or ventilation. Electric drive thermal management is used to dissipate heat from the vehicle's electric drive system, including the drive motor and engine. Battery thermal management is used to dissipate heat from the vehicle's battery system.
[0039] The sensors involved include temperature sensors and pressure sensors.
[0040] The temperature sensors include an in-vehicle temperature sensor, an out-vehicle temperature sensor, an evaporator temperature sensor, a motor water temperature sensor, a battery water temperature sensor, a high-pressure temperature sensor, and a low-pressure temperature sensor. The in-vehicle temperature sensor is set inside the vehicle to detect the temperature of the space inside the vehicle. The out-vehicle temperature sensor is set outside the vehicle body to detect the ambient temperature. The evaporator temperature sensor is set on the surface of the evaporator to detect the surface temperature of the evaporator. The motor water temperature sensor is set at the inlet end of the motor coolant flow channel to detect the temperature of the coolant that exchanges heat with the motor. The battery water temperature sensor is set at the inlet of the circulation flow path for cooling the battery to detect the temperature of the coolant that exchanges heat with the battery. The high-pressure temperature sensor is set at the air outlet of the compressor to detect the air outlet temperature of the compressor. The low-pressure temperature sensor is set at the inlet of the compressor to detect the inlet temperature.
[0041] The pressure sensor includes a high-pressure pressure sensor and a low-pressure pressure sensor. The high-pressure pressure sensor is set at the air outlet of the compressor to detect the pressure at the air outlet of the compressor. The low-pressure pressure sensor is set at the inlet of the compressor to detect the inlet pressure.
[0042] The hardware involved includes PWM control hardware and low-side driver hardware. The PWM control hardware includes an electric water pump, a battery water pump, and a cooling fan. The electric water pump is used to drive the circulation of coolant in the electric drive cooling circuit. The battery water pump is used to drive the circulation of coolant in the battery cooling circuit. The cooling fan is used to dissipate heat from the vehicle's radiator. The low-side driver hardware includes a shut-off valve, which is located at the inlet of the evaporator and is used to control whether the refrigerant enters the evaporator.
[0043] The domain controller's interface types include: temperature sensor interface, pressure sensor interface, PWM control interface, and low-side driver interface. The temperature sensor interface is used to connect to the aforementioned temperature sensor. The pressure sensor interface is used to connect to the aforementioned pressure sensor. The PWM control interface is used to connect to the aforementioned PWM control hardware. The low-side driver interface is used to connect to the aforementioned low-side driver hardware.
[0044] Other components involved in the thermal management system include but are not limited to compressors, electronic expansion valves, heaters, etc. Most of them are controlled by CAN (Controller Area Network) or LIN (Local Interconnect Network), so there is no need for interface matching, and other interfaces can be matched based on existing determined components.
[0045] Since the hardware interface of the domain controller adopts a platform solution, the specific interfaces used by different car models need to be determined in combination with the specific thermal management system solution. In the related art, after the hardware interface of the domain controller is connected to the hardware and sensors. The matching of the hardware interface and the application layer software requires manual matching. Affected by the vehicle model, there are differences in the number, type and counterpart components of the hardware interface, which increases the difficulty of manual matching and is prone to interface matching errors. Based on this, in order to solve the matching problem between the hardware interface of the domain controller of the thermal management system and the application layer software, the present disclosure provides a matching method for the hardware interface of the domain controller, which realizes automatic matching between the hardware interface and the application layer software, improves matching efficiency and accuracy, and can be applied to the domain controllers of respective vehicle models, thereby improving applicability.
[0046] In some embodiments, combined Figure 1 As shown, a matching method for the hardware interface of a domain controller is provided, which is applied to a vehicle thermal management system. The matching method includes:
[0047] S102, controlling the operation of the thermal management system according to the type of the target hardware interface to be identified;
[0048] S104, determining the functional type of the target hardware interface based on feedback data from the thermal management system;
[0049] S106, matching the application layer software according to the function type of the target hardware interface.
[0050] The matching method of the hardware interface of the domain controller provided by the present disclosure determines the operating parameters of the thermal management system by the physical characteristics that can be reflected in the application process of the category of the target hardware interface to be identified, and controls the operation of the thermal management system according to the determined operating parameters. After the thermal management system is started, feedback data is obtained, and the functional type of the target hardware interface is deduced by analyzing the physical state changes of the feedback data. In this way, the interface function type is mapped to the application layer software logic to achieve automatic adaptation of the interface and software without manual intervention. The matching method of the present disclosure is adopted to achieve automatic matching between the hardware interface and the application layer software, improve matching efficiency, avoid subjective errors in manually defining pin functions, and improve matching accuracy. In addition, the matching method of the present disclosure can be applied to multiple vehicle models and multiple hardware configurations, so that the application layer software does not need to be secondary developed for the hardware interface of the domain controller, which reduces development costs and improves adaptability.
[0051] In some embodiments, combined Figure 2As shown, a matching method for the hardware interface of a domain controller is provided, which is applied to the thermal management system of a vehicle. The categories of hardware interfaces include PWM control interfaces, low-side driver interfaces, and pressure sensor interfaces. The category of the target hardware interface to be identified is a pressure sensor interface. The matching method includes:
[0052] S202, sending a control signal to the PWM control interface, the low-side driver interface remains in a non-control state, the shut-off valve is opened by default, the electronic expansion valve is opened, the compressor is started and runs at the minimum speed;
[0053] S204, obtaining a pressure value fed back by a valid pressure sensor interface;
[0054] S206, determining the interface whose pressure value is greater than the pressure reference value as a high-pressure pressure sensor interface;
[0055] S208: Determine the interface whose pressure value is less than the pressure reference value as a low-pressure pressure sensor interface.
[0056] S210 , matching the high-pressure sensor interface and the low-pressure sensor interface with the application layer software respectively.
[0057] In this embodiment, the pressure sensor interface is identified and matched. A control signal is sent to the PWM control interface, and the low-side driver interface keeps the shut-off valve open by default in the non-control state, and opens the electronic expansion valve, starts the compressor and runs at the lowest speed. By comparing the collected pressure value with the pressure reference value, the interface of the high-pressure pressure sensor and the interface of the low-pressure pressure sensor are determined. Among them, the low-side driver interface keeps the shut-off valve open by default in the non-control state, and the shut-off valve is closed when the low-side driver interface is in the control state. When the shut-off valve is in the open state, the refrigerant flows into the evaporator, and the surface temperature of the evaporator decreases. When the shut-off valve is in the closed state, the refrigerant flow path is cut off, the refrigerant in the evaporator is reduced, and the surface temperature of the evaporator increases.
[0058] In some embodiments, combined Figure 3 As shown, a matching method for the hardware interface of a domain controller is provided, which is applied to the thermal management system of a vehicle. The hardware interface categories include PWM control interface, low-side driver interface and temperature sensor interface. The matching method includes:
[0059] S302, sending a control signal to the PWM control interface to control the compressor to run at a minimum speed, and to control the shutoff valve and the electronic expansion valve of the thermal management system to be alternately closed.
[0060] S304 , in a preset cycle, according to feedback data from the temperature sensor interface, determine the evaporator temperature sensor interface, the battery water temperature sensor interface, and the low-pressure temperature sensor interface.
[0061] S306 , matching the evaporator temperature sensor interface, the battery water temperature sensor interface, and the low-voltage temperature sensor interface with the application layer software respectively.
[0062] In this embodiment, temperature sensor interfaces are identified and matched. Local temperature changes are triggered by alternately closing the shutoff valve and the electronic expansion valve. Based on the temperature changes, the functional type of the interface is determined, improving the accuracy of the determination. Specifically, the preset cycle period ranges from 30 to 40 seconds, with specific values including but not limited to 30, 35, or 40 seconds. By running for a period of time, the physical state of the device corresponding to the thermal management system can change, thereby improving the accuracy of the determination.
[0063] When the shutoff valve is open, the compressor continues to operate, and refrigerant flows through the evaporator, causing the evaporator surface temperature to decrease. However, when the shutoff valve is closed, refrigerant cannot enter the evaporator, and the amount of refrigerant in the evaporator gradually decreases, causing the evaporator surface temperature to rise. Thus, the interface where the temperature value in the feedback data rises after the shutoff valve is closed is identified as the interface of the evaporator temperature sensor.
[0064] The electronic expansion valve is located in the battery cooling circuit. Closing the valve interrupts coolant circulation, causing the battery water temperature to rise. The interface where the temperature value in the feedback data increases after the valve is closed is identified as the battery water temperature sensor interface.
[0065] In some embodiments, combined Figure 4 As shown, a matching method for the hardware interface of a domain controller is provided, which is applied to a vehicle thermal management system. The categories of the hardware interfaces include PWM control interfaces and low-side driver interfaces. The category of the target hardware interface to be identified is a PWM control interface. The matching method includes:
[0066] S402, sending a control signal to the PWM control interface, the low-side driver interface remains in a non-control state, the stop valve is opened to open the electronic expansion valve, and the compressor is started and runs at the minimum speed;
[0067] S404: Lower the control signal values of the PWM control interface in sequence and maintain them for a set time.
[0068] S406, obtaining the high pressure fed back by the high pressure sensor;
[0069] S408 : Determine the PWM control interface corresponding to the high-pressure increase as the control interface of the cooling fan.
[0070] In this embodiment, a 90% duty cycle signal is sent to all PWM interfaces to match the PWM control interface, starting the compressor at its lowest speed. The PWM duty cycle is then gradually reduced and maintained for a set duration, observing changes in high-pressure pressure. Because reduced fan speed significantly impacts high-pressure pressure, the cooling fan's PWM control interface can be identified based on changes in high-pressure pressure. By gradually reducing the duty cycle, pressure mutation points can be accurately captured, avoiding misjudgments caused by transient interference.
[0071] Before sending control signals to the PWM control interfaces, all PWM control interfaces are checked for default or fault conditions. Default or faulty interfaces are shielded. In this embodiment, a control signal with a duty cycle of 100% is sent to all valid PWM control interfaces to drive the thermal management system.
[0072] Taking the example of three PWM control interfaces, which are labeled OPL1, OPL2, and OPL3, the duty cycles of the control signals of OPL1, OPL2, and OPL3 are reduced in turn and maintained for a set duration. Specifically, first reduce the control duty cycle of OPL1, for example, to 10%. The set duration range is 30 seconds to 50 seconds, and in this example, it is maintained for 30 seconds. Observe the changes in high-pressure pressure. If there is no obvious fluctuation in the high-pressure pressure, it is determined that the current interface has not responded to the above adjustment and is not the control interface of the cooling fan. Then, the control duty cycle of the next interface, OPL2, is reduced and the high-pressure pressure is detected. If the high-pressure pressure suddenly rises, OPL1 is determined to be the control interface of the cooling fan. The same steps are repeated. If there is no pressure response after OPL1 is adjusted, if the high-pressure pressure rises after adjusting OPL2, OPL2 is determined to be the control interface of the cooling fan. If the high-pressure pressure does not respond, the control duty cycle of OPL3 is reduced and the high-pressure pressure is monitored. Because the cooling fan is used to dissipate heat from the radiator, if the control duty cycle is reduced, the speed of the cooling fan will decrease, which will lead to worse heat dissipation effect of the radiator and increase the high pressure. By using this change in physical state, the above-mentioned matching process is set to realize automatic identification of the control interface of the cooling fan.
[0073] Optionally, the matching method also includes: controlling the cooling fan to run at the maximum wind speed through the cooling fan control interface, and controlling the battery water pump and the electric water pump to be in a shutdown state through other valid PWM control interfaces, closing the stop valve and opening the electronic expansion valve, starting the compressor and running at the lowest speed; then sending a control signal to other valid PWM control interfaces to control the operation of the battery water pump or the electric water pump to obtain the battery water temperature of the thermal management system; according to the battery water temperature, determining the control interface of the battery water pump and the control interface of the electric water pump in the PWM control interface.
[0074] In this embodiment, after determining the cooling fan control interface, the battery water pump control interface and the electric water pump control interface are further identified. The cooling fan control interface is used to control the cooling fan to its maximum speed, i.e., full speed. Simultaneously, other valid PWM control interfaces are used to shut down the battery water pump and the electric water pump, closing the shutoff valve and opening the electronic expansion valve to maintain low compressor speed. This means that the battery and electric drive systems are not dissipating coolant through circulating coolant, which in turn causes the battery and electric drive water temperatures to rise. Then, control signals are sent to other valid PWM control interfaces to control the battery water pump or the electric water pump and monitor changes in battery water temperature. A significant drop in water temperature indicates that the thermal management system is affecting the battery water temperature, indicating that the current control target is the battery water pump, and therefore the corresponding interface is the battery water pump control interface. Interfaces with no change in water temperature are the electric water pump control interfaces. In other words, the impact of battery water pump startup on coolant circulation is used to accurately distinguish functional types.
[0075] Optionally, a control signal with a 90% duty cycle is sent to the cooling fan control interface to control the cooling fan to operate at the maximum wind speed gear. A control signal with a first duty cycle (10%) is sent to other valid PWM control interfaces to control the battery water pump and the electric drive water pump to be in a shutdown state. The shutoff valve is closed and the electronic expansion valve is opened, and the compressor is started and operated at the lowest speed. After running for a certain period of time, the operating time here can be set as needed. It should not be too short or too long, and should be set based on the ability of the battery water temperature and the electric drive water temperature to increase. A control signal with a second duty cycle is then sent to one of the other valid PWM control interfaces. The second duty cycle has a value of 30% to 35%. Specific values include, but are not limited to, 30%, 33%, or 35% to control the operation of the battery water pump or the electric drive water pump. The first duty cycle is smaller than the second duty cycle.
[0076] In this embodiment, after determining the cooling fan control interface, the battery water pump control interface and the electric drive water pump control interface are further identified. A control signal with a 90% duty cycle is sent to the cooling fan control interface, while the remaining two PWM control interfaces send control signals with a first duty cycle (10%), closing the shutoff valve, opening the electronic expansion valve, and maintaining low compressor speed. This causes the battery water pump and the electric drive water pump to be in a shutdown state, meaning that the battery and electric drive systems are not dissipating heat through circulating coolant, which in turn causes the battery and electric drive water temperatures to rise. Next, a duty cycle signal with a second duty cycle is sent to one of the remaining two PWM control interfaces to monitor changes in the battery water temperature. If the control signal is sent to the battery water pump control interface, the battery water pump operates, thereby cooling the battery water temperature, resulting in a significant drop in the battery water temperature. This indicates that the current control target is the battery water pump, and the corresponding interface is the battery water pump control interface. If the control signal is sent to the electric drive water pump control interface, the battery water temperature remains unchanged, meaning that the interface is the electric drive water pump control interface. That is, the battery water pump is used to start the coolant circulation and the impact on the battery water temperature to accurately distinguish the functional type.
[0077] Optionally, the matching method also includes: using the determined cooling fan control interface to control the cooling fan to reduce the speed until the high-pressure pressure value is greater than or equal to the pressure threshold; obtaining feedback data of the currently remaining temperature sensor type interfaces; and determining the interface corresponding to the maximum temperature value in the feedback temperature values as the interface of the high-pressure temperature sensor.
[0078] In this embodiment, the cooling fan control interface identified is used to control the cooling fan to reduce its speed until the high-pressure value is greater than or equal to the pressure threshold. The values of the remaining temperature sensor interfaces are recorded, and the interface corresponding to the highest temperature value is selected as the high-pressure temperature sensor. By reducing the cooling fan speed, the heat dissipation effect of the radiator is reduced, which in turn causes the pressure on the high-pressure side of the thermal management system to increase. This, in turn, causes the temperature on the high-pressure side to be significantly higher than that at other locations. The interface is quickly located through extreme value screening.
[0079] Optionally, the pressure threshold value is 20 bar to 25 bar, and specific values include but are not limited to 20 bar, 23 bar or 25 bar.
[0080] Alternatively, the fan control output can be reduced by 10% using the specified cooling fan control interface until the high pressure reaches above 25 bar. This gradual reduction in cooling fan speed provides a buffer time for the thermal management system and reduces system losses.
[0081] Optionally, the matching method also includes: sending a control signal to the control interface of the cooling fan and running it for a first set time; obtaining feedback data from the remaining temperature sensor type interfaces; and determining the interface of the electric drive temperature sensor based on the feedback data.
[0082] In this embodiment, the control interface of the cooling fan sends a control signal with a duty cycle of 90%, so that the cooling fan is in a full-speed operation state, thereby improving the cooling effect of the electric drive coolant, thereby reducing the electric drive water temperature, and then being able to identify the interface of the electric drive temperature sensor based on the feedback of the change in the electric drive water temperature.
[0083] Optionally, the first duration ranges from 3 minutes to 5 minutes. Specific values include but are not limited to 3 minutes, 4 minutes, or 5 minutes. The specific values can be set according to specific parameters of the thermal management system and are not described in detail here.
[0084] Optionally, the matching method also includes: sending a control signal to the control interface of the cooling fan, controlling the shut-off valve to open, closing the electronic expansion valve, and controlling the compressor to run for a second period of time; obtaining feedback data from the remaining temperature sensor interfaces; and determining the interface of the in-vehicle temperature sensor and the interface of the ambient temperature sensor based on the feedback data.
[0085] In this embodiment, the interior and ambient temperature sensor interfaces are distinguished by compressor operation and shutoff valve control. Closing the electronic expansion valve, opening the shutoff valve, and running the compressor for a second duration can lower the passenger compartment temperature. The compressor operation and the open shutoff valve lower the interior temperature. Feedback data from the remaining temperature sensor interfaces is then collected, and interfaces with significantly lower temperatures are selected as interior temperature sensor interfaces, while the remaining interfaces are designated as ambient temperature sensor interfaces.
[0086] Optionally, the second duration ranges from 5 minutes to 10 minutes. Specific values include but are not limited to 5 minutes, 7 minutes, or 10 minutes. The specific values can be set according to specific parameters of the thermal management system and are not described in detail here.
[0087] In some examples, combined Figure 5 As shown, a matching method for the hardware interface of a domain controller is provided, which is applied to the thermal management system of a vehicle. The domain controller includes 12 temperature sensor interfaces, which are numbered as TAN1, TAN2, ..., TAN12; 4 pressure sensor interfaces, which are numbered as PAN1, PAN2, ..., PAN4; 4 PWM control interfaces, which are numbered as OPL1, OPL2, ..., OPL4; and 6 low-side driver interfaces, which are numbered as ODL1, ODL2, ..., ODL6. The matching method includes:
[0088] In the initialization processing stage S502, valid temperature sensor interfaces and PWM control interfaces are screened out.
[0089] The specific steps include:
[0090] When the system is powered on, read the feedback values of all temperature sensor interfaces (TAN1, TAN2, ... TAN12). Interfaces that are not connected to the counterpart will return a default value, and the interfaces with the default value will be blocked.
[0091] The maximum and minimum values in the feedback values are deleted, the average value of the remaining feedback values is calculated, and the average value is used as the ambient temperature reference value.
[0092] Send a 90% duty cycle signal to all PWM control interfaces (OPL1, OPL2...OPL4) to detect whether the interface responds normally and shield the interface with connector failure or disconnection.
[0093] S504, interface function identification stage.
[0094] S5042, stage 1, identifying the functional type of the pressure sensor interface.
[0095] Sends a 90% duty cycle control signal to an active PWM control class interface.
[0096] The front evaporator shutoff valve is opened by default through the low-side driver interfaces (ODL1...ODL6). When the low-side driver interfaces are in the uncontrolled state, the front evaporator shutoff valve is opened by default. By controlling the power on or off of the low-side driver interfaces, the effect of the shutoff valve's open / closed state on the evaporator's surface temperature is monitored, and the corresponding low-side driver interface for the evaporator shutoff valve is determined.
[0097] Open the electronic expansion valve, start the compressor and set the minimum speed.
[0098] Get the feedback pressure values of all pressure sensor interfaces (PAN1, PAN2, ... PAN4). The interfaces that provide default feedback are shielded.
[0099] The pressure reference value is determined by converting the ambient temperature reference value.
[0100] The interface whose fed-back pressure value is greater than the pressure reference value is determined as the interface of the high-pressure pressure sensor.
[0101] The interface whose feedback pressure value is smaller than the pressure reference value is determined as the interface of the low-pressure pressure sensor.
[0102] The low-pressure temperature is calculated based on the low-pressure value fed back by the low-pressure pressure sensor.
[0103] S5044, stage 2, identifying the functional type of the temperature sensor interface.
[0104] Maintain the other hardware states of the thermal management system unchanged, and alternately close the shut-off valve and the electronic expansion valve every preset cycle.
[0105] Before closing the stop valve, the evaporator temperature is in a decreasing state due to the continuous cooling of the compressor, and then the evaporator temperature rises again due to the closing of the stop valve.
[0106] When the electronic expansion valve is closed, the battery water temperature stops rising due to coolant circulation.
[0107] According to the collected temperature changes, the interface where the temperature rises significantly after closing the stop valve is determined to be the interface of the evaporator temperature sensor; the interface where the temperature continues to rise after closing the electronic expansion valve is determined to be the interface of the battery water temperature sensor; the interface where the temperature is stable and close to the low-pressure temperature is determined to be the interface of the low-pressure temperature sensor.
[0108] The compressor's operation causes the evaporator temperature, battery water temperature, and low-pressure temperature to drop rapidly. The closure of the shutoff valve reduces the amount of refrigerant in the evaporator, causing the evaporator temperature to rise. The closure of the electronic expansion valve halts the circulation of coolant in the battery cooling circuit, causing the battery water temperature to rise.
[0109] S5046, stage three, identifying the function type of the PWM control interface.
[0110] Send a 90% duty cycle signal to all valid PWM control interfaces, close the electronic expansion valve, start the compressor, and run at the minimum speed.
[0111] Reduce the duty cycle of each PWM control interface in turn, for example, by 10% each time and maintain it for 30 seconds.
[0112] After the duty cycle is reduced, if the high pressure rises significantly to above 25 bar, the corresponding interface is marked as the cooling fan control interface.
[0113] Send a 90% duty cycle control signal to the cooling fan control interface, and send a 10% duty cycle control signal to other valid PWM control interfaces, close the stop valve and open the electronic expansion valve, start the compressor and run it at the minimum speed;
[0114] Sends a 30% duty cycle signal to an undetermined other valid PWM control class interface.
[0115] Monitor battery water temperature changes: The interface where the water temperature drops significantly is the battery water pump control interface. The interface where the water temperature remains unchanged is the electric drive water pump control interface.
[0116] S5048, stage 4, identifying the functional types of other temperature sensor interfaces.
[0117] Send a 10% duty cycle signal to the cooling fan interface and continue running until the high pressure is ≥ 25 bar.
[0118] Monitor the feedback data of the remaining temperature sensor interfaces. Among the remaining temperature sensor interfaces, the one with the highest temperature is the high-voltage temperature sensor interface.
[0119] Send a 90% duty cycle signal to the cooling fan interface to maintain full rotation of the cooling fan. Run for 5 minutes to stabilize the coolant circulation.
[0120] Monitor the feedback data of the remaining temperature sensor interfaces. If the temperature drops, identify it as the interface of the electric drive temperature sensor.
[0121] Close the electronic expansion valve, open the stop valve, and run the compressor at full speed for 10 minutes.
[0122] Get feedback data from the remaining temperature sensor interfaces. If the temperature drops, identify it as the interface of the in-vehicle temperature sensor.
[0123] The interface where the temperature does not change or changes slowly is the interface of the ambient temperature sensor.
[0124] In this embodiment, during the initialization phase, all temperature sensor interfaces and PWM control interfaces are screened for validity. Interfaces in default states and faulty interfaces are shielded to prevent invalid data interference. Next comes the interface function identification phase, which is divided into four stages. It should be noted that the order of identifying pressure sensor interfaces and temperature sensor interfaces can be interchanged and is not limited to the order shown. Prioritizing the identification of pressure sensor interfaces and temperature sensor interfaces allows for data collection during subsequent interface identification. This allows for phased functional identification of different interfaces based on their physical characteristics during operation, improving the efficiency of functional interface identification. Specifically, stage one processes the pressure sensor, distinguishing between high and low pressure and converting a pressure reference value based on ambient temperature to improve pressure sensor identification accuracy. Stage two identifies the temperature sensor type. Temperature changes are observed by alternately closing the shutoff valve and the electronic expansion valve. For example, if closing the shutoff valve causes the evaporator temperature to rise, the evaporator temperature sensor is identified. Closing the electronic expansion valve causes the battery water temperature to rise, identifying the battery water temperature sensor. Interfaces with stable temperatures close to the low-pressure temperature are identified as low-pressure temperature sensors. In the third stage, the PWM control interface is identified, and the high-pressure pressure change is observed by adjusting the duty cycle to determine the cooling fan interface. And the control interface of the battery water pump and the control interface of the electric drive water pump are distinguished by adjusting the duty cycle to monitor the battery water temperature change. In the fourth stage, the remaining temperature sensor interface identification is processed, and the temperature change is observed by controlling the thermal management system to run different operation strategies (such as high-pressure operation, full speed of the cooling fan), thereby distinguishing the high-pressure temperature, electric drive temperature, in-vehicle temperature and ambient temperature sensors. The sensor type is accurately classified by the temperature response under different working conditions. By adopting the interface matching method provided by the present invention, the identified hardware interface is bound to the corresponding function of the application layer software, thereby realizing the automatic matching of the hardware interface and the application layer software, reducing the need for manual configuration, and improving the efficiency and accuracy of the interface matching.
[0125] Combine Figure 6 As shown, an embodiment of the present disclosure provides a matching device 60 for a hardware interface of a domain controller, comprising a processor 600 and a memory 601. Optionally, the device 60 may further comprise a communication interface 602 and a bus 603. The processor 600, the communication interface 602, and the memory 601 may communicate with each other via the bus 603. The communication interface 602 may be used for information transmission. The processor 600 may call the logic instructions in the memory 601 to execute the hardware interface matching method of the above embodiment.
[0126] In addition, the logic instructions in the memory 601 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0127] Memory 601, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present disclosure. Processor 600 executes the program instructions / modules stored in memory 601 to execute functional applications and data processing, thereby implementing the hardware interface matching method in the above-mentioned embodiments.
[0128] The memory 601 may include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function; the data storage area may store data generated based on the use of the terminal device. Furthermore, the memory 601 may include a high-speed random access memory and a non-volatile memory.
[0129] The embodiment of the present disclosure provides a vehicle, comprising: a thermal management system and the aforementioned hardware interface matching device. The hardware interface matching device is connected to the thermal management system.
[0130] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned hardware interface matching method.
[0131] The technical solutions of the embodiments of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present disclosure. The aforementioned storage medium may be a non-transitory storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, among other media capable of storing program code.
[0132] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible variations. Unless explicitly required, individual components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to also include plural forms. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variations "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups of these. In the absence of further restrictions, an element defined by the sentence "comprising a..." does not exclude the presence of other identical elements in the process, method or device that includes the element. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments can be referenced to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can be found in the description of the method part.
[0133] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. The technicians will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0134] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units can be merely a logical functional division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, and can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected to implement this embodiment according to actual needs. In addition, the functional units in the embodiments of the present disclosure may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0135] The flowcharts and block diagrams in the accompanying drawings show the possible implementation architectures, functions and operations of the systems, methods and computer program products according to the embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment or part of the code, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical functions. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, which can depend on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in an order different from that disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified function or action, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for matching a hardware interface of a domain controller, characterized in that: For thermal management systems used in vehicles, matching methods include: Controlling the operation of the thermal management system according to the category of the target hardware interface to be identified; Determine the functional type of the target hardware interface based on the feedback data from the thermal management system; Match the application layer software according to the function type of the target hardware interface.
2. The matching method according to claim 1, wherein: The hardware interface categories include PWM control interface, low-side driver interface, and pressure sensor interface. The target hardware interface to be identified is a pressure sensor interface. The steps of controlling the operation of the thermal management system include: sending a control signal to the PWM control interface, the low-side driver interface remains in a non-control state, the shut-off valve is opened to open the electronic expansion valve, and the compressor is started and runs at the minimum speed; Based on the feedback data from the thermal management system, the steps to determine the functional type of the target hardware interface include: Get the pressure value fed back by the effective pressure sensor interface; An interface whose pressure value is greater than the pressure reference value is determined as a high-pressure pressure sensor interface; The interface whose pressure value is lower than the pressure reference value is determined as the low-pressure pressure sensor interface.
3. The matching method according to claim 1, wherein: The category of hardware interfaces also includes temperature sensor interfaces, and the category of the target hardware interface to be identified is a temperature sensor interface; The steps of controlling the operation of the thermal management system include: controlling the minimum operating speed of the compressor, and controlling the shutoff valve and the electronic expansion valve of the thermal management system to be alternately closed; The step of determining the functional type of the target hardware interface based on the feedback data of the thermal management system includes: in a preset cycle period, determining the evaporator temperature sensor interface, the battery water temperature sensor interface and the low-pressure temperature sensor interface based on the feedback data of the temperature sensor class interface.
4. The matching method according to claim 2, characterized in that: The target hardware interface to be identified is a PWM control interface. The steps for controlling the operation of the thermal management system include: A control signal is sent to the PWM control interface, the low-side driver interface remains in a non-control state, the stop valve opens, and the electronic expansion valve is opened, the compressor is started, and it runs at the minimum speed; Reduce the duty cycle of the control signal of the PWM control interface in sequence and maintain the set duration.
5. The matching method according to claim 4, characterized in that: Based on the feedback data from the thermal management system, the steps to determine the functional type of the target hardware interface include: Obtaining high pressure feedback from a high pressure sensor; The PWM control interface corresponding to the situation where the high pressure rises is determined as the control interface of the cooling fan.
6. The matching method according to claim 5, characterized in that: Also includes: The cooling fan control interface is used to control the cooling fan to run at the maximum wind speed, and other valid PWM control interfaces are used to control the battery water pump and the electric drive water pump to be in the shutdown state, close the stop valve and open the electronic expansion valve, start the compressor and run at the minimum speed; Then send control signals to other valid PWM control interfaces to control the operation of the battery water pump or electric drive water pump to obtain the battery water temperature of the thermal management system; According to the battery water temperature, the control interface of the battery water pump and the control interface of the electric drive water pump in the PWM control interface are determined.
7. The matching method according to claim 5, characterized in that: Also includes: Using the determined control interface of the cooling fan, control the cooling fan to reduce its speed until the high pressure value is greater than or equal to the pressure threshold; Get the feedback data of the remaining temperature sensor interfaces; The interface corresponding to the maximum temperature value among the fed-back temperature values is determined as the interface of the high-pressure temperature sensor.
8. The matching method according to claim 5, characterized in that: Also includes: Sending a control signal to a control interface of the cooling fan and running the cooling fan for a first set time; Get feedback data from the remaining temperature sensor interfaces; Determine the interface of the electric drive temperature sensor based on the feedback data.
9. The matching method according to claim 5, characterized in that: Also includes: Sending a control signal to the control interface of the cooling fan to control the shut-off valve to open, close the electronic expansion valve, and control the compressor to run for a second time; Get feedback data from the remaining temperature sensor interfaces; According to the feedback data, the interface of the in-vehicle temperature sensor and the interface of the ambient temperature sensor are determined.
10. A matching device for a hardware interface of a domain controller, characterized in that: A matching device applied to a thermal management system of a vehicle includes: a processor and a memory storing program instructions, wherein the processor is configured to execute the matching method of the hardware interface of the domain controller according to any one of claims 1 to 9 when running the program instructions.
11. A vehicle, characterized in that: include: Thermal management system; The matching device for the hardware interface of the domain controller as claimed in claim 10 is connected to a thermal management system.
12. A readable storage medium storing program instructions, characterized in that: When the program instructions are executed, the computer is configured to execute the method for matching the hardware interface of the domain controller according to any one of claims 1 to 9.