Temperature regulation method, device, equipment and vehicle of motor controller and medium

By acquiring various driving conditions and ambient temperatures, and combining the parameters of the cooling system and motor controller, a temperature regulation command is generated, which solves the problem of low accuracy in temperature regulation of motor controllers in the prior art, and achieves more accurate temperature control, ensuring the normal operation of the motor controller and vehicle safety.

CN122507199APending Publication Date: 2026-08-04ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZHEJIANG GEELY HLDG GRP CO LTD
Filing Date
2026-04-23
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

In existing technologies, the need for temperature regulation of the motor controller is determined solely by temperature, resulting in low regulation accuracy.

Method used

By acquiring cooling system parameters, motor controller parameters, driving time corresponding to various driving conditions, and current ambient temperature, the target temperature difference threshold and target current threshold are determined. Combined with bus current, controller temperature, temperature difference, power consumption, etc., temperature adjustment commands are generated to control the cooling system and drive motor.

Benefits of technology

This improves the accuracy of motor controller temperature regulation, ensuring the normal operation of the motor controller under high-temperature conditions and enhancing vehicle safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122507199A_ABST
    Figure CN122507199A_ABST
Patent Text Reader

Abstract

The application provides a temperature regulation method, device and equipment of a motor controller, a vehicle and a medium. In the method, a target temperature difference threshold and a target current threshold are determined according to the obtained driving time of multiple driving conditions and the current environment temperature, and then the controller temperature, the controller temperature difference, the controller power consumption and the temperature to be regulated of the motor controller are determined according to the cooling system parameters and the motor controller parameters, and then the temperature regulation instruction is determined in combination with the bus current, the target temperature difference threshold, the target current threshold, and the obtained target temperature threshold and target power consumption threshold, and finally at least one of the cooling system and the driving motor is controlled according to the temperature regulation instruction. According to the bus current, the controller temperature, the controller temperature difference and the controller power consumption, the cooling system and the driving motor are controlled, the temperature regulation of the motor controller is realized, and the regulation accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and in particular to a method, apparatus, equipment, vehicle, and medium for temperature regulation of a motor controller. Background Technology

[0002] With the increasing number of new energy vehicles, vehicle safety has become a major concern. The motor controller is a crucial component in a vehicle, controlling the torque, speed, and direction of rotation of the drive motor. To prevent the motor controller from malfunctioning due to overheating and thus affecting vehicle safety, temperature regulation of the motor controller is necessary.

[0003] In the prior art, temperature control of motor controllers typically involves installing a temperature sensor on the motor controller. When the temperature obtained by the temperature sensor exceeds a threshold, the flow rate of the coolant in the cooling system is increased to reduce the temperature of the motor controller.

[0004] In summary, the existing technology determines whether temperature adjustment is needed solely based on temperature, resulting in low adjustment accuracy. Summary of the Invention

[0005] The temperature regulation method, apparatus, equipment, vehicle, and medium for motor controllers provided in this application are used to solve the problem of low regulation accuracy caused by determining whether temperature regulation is needed solely based on temperature in the prior art.

[0006] In a first aspect, embodiments of this application provide a method for temperature regulation of a motor controller, comprising:

[0007] The system acquires cooling system parameters, motor controller parameters, driving time for various driving conditions, current ambient temperature, target temperature threshold, and target power consumption threshold. The motor controller parameters include bus current.

[0008] Based on the driving time corresponding to the various driving conditions and the current ambient temperature, determine the target temperature difference threshold and the target current threshold;

[0009] Based on the cooling system parameters and the motor controller parameters, determine the motor controller temperature, controller temperature difference, controller power consumption, and the temperature to be adjusted.

[0010] A temperature adjustment command is determined based on the bus current, the controller temperature, the controller temperature difference, the controller power consumption, the target current threshold, the target temperature threshold, the target temperature difference threshold, the target power consumption threshold, and the temperature to be adjusted.

[0011] According to the temperature adjustment command, at least one of the cooling system and the drive motor is controlled.

[0012] In one possible implementation, the cooling system parameters include radiator inlet temperature and coolant flow rate, and the motor controller parameters also include bus voltage, thermal resistance, initial temperature, duty cycle, switching loss, switching frequency, test voltage, and test current.

[0013] The step of determining the controller temperature, controller temperature difference, controller power consumption, and temperature to be adjusted of the motor controller based on the cooling system parameters and the motor controller parameters includes:

[0014] The power consumption of the controller is determined based on the bus current, the duty cycle, the switching loss, the switching frequency, the test voltage, and the test current.

[0015] Calculate the first candidate temperature based on the thermal resistance value, the initial temperature, and the controller power consumption;

[0016] The second candidate temperature is determined based on the radiator inlet temperature, the coolant flow rate, the bus voltage, and the bus current.

[0017] The temperature to be adjusted and the controller temperature are determined based on the first candidate temperature, the second candidate temperature, and whether the motor controller parameters include the temperature collected by the temperature sensor.

[0018] The temperature difference of the controller is calculated based on the controller temperature and the radiator inlet temperature.

[0019] In one possible implementation, determining the controller power consumption based on the bus current, the duty cycle, the switching loss, the switching frequency, the test voltage, and the test current includes:

[0020] Obtain the amplification factor corresponding to both the bus current and the duty cycle;

[0021] The power consumption of the controller is calculated based on the switching loss, the switching frequency, the bus voltage, the bus current, the test voltage, the test current, and the amplification factor.

[0022] In one possible implementation, determining the second candidate temperature based on the radiator inlet temperature, the coolant flow rate, the bus voltage, and the bus current includes:

[0023] Obtain a first relationship coefficient between the radiator inlet temperature and the coolant flow rate. The first relationship coefficient is used to characterize the relationship between current and temperature.

[0024] Based on the bus voltage, the first relationship coefficient is corrected to obtain the second relationship coefficient;

[0025] The product of the bus current and the second relationship coefficient is used as the second candidate temperature.

[0026] In one possible implementation, determining the temperature to be adjusted and the controller temperature based on the first candidate temperature, the second candidate temperature, and whether the motor controller parameters include the temperature collected by the temperature sensor, includes:

[0027] If the motor controller parameters include the collected temperature, then the collected temperature is used as the controller temperature, and the maximum value among the collected temperature, the first candidate temperature, and the second candidate temperature is used as the temperature to be adjusted.

[0028] If the collected temperature is not included in the parameters of the motor controller, then the maximum value of the first candidate temperature and the second candidate temperature shall be used as the temperature to be adjusted and the controller temperature.

[0029] In one possible implementation, determining the temperature adjustment command based on the bus current, the controller temperature, the controller temperature difference, the controller power consumption, the target current threshold, the target temperature threshold, the target temperature difference threshold, the target power consumption threshold, and the temperature to be adjusted includes:

[0030] The current count value is determined based on the bus current and the target current threshold.

[0031] The temperature count value is determined based on the controller temperature and the target temperature threshold;

[0032] The temperature difference count value is determined based on the controller temperature difference and the target temperature difference threshold.

[0033] The power consumption count value is determined based on the controller power consumption and the target power consumption threshold;

[0034] The sum of the current count value, the temperature count value, the temperature difference count value, and the power consumption count value is used as the target count value;

[0035] A temperature adjustment command is determined based on the temperature count value, the target count value, and the temperature to be adjusted.

[0036] In one possible implementation, the temperature regulation command includes a cooling system command, or includes a cooling system command and a drive motor stop command, or includes a cooling system command and a drive motor torque limiting command.

[0037] The step of determining a temperature adjustment command based on the temperature count value, the target count value, and the temperature to be adjusted includes:

[0038] If the temperature count value is 1, a stop command for the drive motor is generated, and a cooling system command is determined based on the temperature to be adjusted.

[0039] If the temperature count value is 0 and the target count value is greater than 0, then the cooling system command is determined according to the temperature to be adjusted and the preset boost coefficient, and whether to generate the drive motor torque limiting command or the drive motor stop command is determined according to the target count value.

[0040] If the temperature count value is 0 and the target count value is equal to 0, then the cooling system command is determined based on the temperature to be adjusted.

[0041] In one possible implementation, determining the target temperature difference threshold and the target current threshold based on the driving time corresponding to the various driving conditions and the current ambient temperature includes:

[0042] The difference between the preset temperature threshold and the current ambient temperature is used as the reference temperature difference;

[0043] The product of the reference temperature difference and the first preset safety factor is used as the target temperature difference threshold.

[0044] The first current value is determined based on the driving time corresponding to the various driving conditions.

[0045] The smaller value between the first current value and the preset current threshold is used as the second current value;

[0046] The product of the second current value and the second preset safety factor is used as the target current threshold.

[0047] Secondly, embodiments of this application provide a temperature regulation device for a motor controller, comprising:

[0048] The acquisition module is used to acquire cooling system parameters, motor controller parameters, driving time corresponding to various driving conditions, current ambient temperature, target temperature threshold and target power consumption threshold, wherein the motor controller parameters include bus current;

[0049] Processing module, used for:

[0050] Based on the driving time corresponding to the various driving conditions and the current ambient temperature, determine the target temperature difference threshold and the target current threshold;

[0051] Based on the cooling system parameters and the motor controller parameters, determine the motor controller temperature, controller temperature difference, controller power consumption, and the temperature to be adjusted.

[0052] A temperature adjustment command is determined based on the bus current, the controller temperature, the controller temperature difference, the controller power consumption, the target current threshold, the target temperature threshold, the target temperature difference threshold, the target power consumption threshold, and the temperature to be adjusted.

[0053] The adjustment module is used to control at least one of the cooling system and the drive motor according to the temperature adjustment command.

[0054] Thirdly, embodiments of this application provide an electronic device, including:

[0055] Processor, memory, communication interface;

[0056] The memory is used to store the executable instructions of the processor;

[0057] The processor is configured to execute the temperature regulation method of the motor controller according to any one of the first aspects by executing the executable instructions.

[0058] Fourthly, embodiments of this application provide a vehicle, including a vehicle controller;

[0059] The vehicle controller is used to execute the temperature regulation method of the motor controller described in any of the first aspects above.

[0060] Fifthly, embodiments of this application provide a readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the temperature regulation method of the motor controller described in any one of the first aspects.

[0061] In a sixth aspect, embodiments of this application provide a computer program product, including a computer program, which, when executed by a processor, is used to implement the temperature regulation method of the motor controller described in any one of the first aspects.

[0062] The temperature regulation method, apparatus, device, vehicle, and medium for a motor controller provided in this application determine target temperature difference thresholds and target current thresholds based on the driving time and current ambient temperature corresponding to various driving conditions. Then, based on the cooling system parameters and motor controller parameters, the controller temperature, controller temperature difference, controller power consumption, and the temperature to be adjusted for the motor controller are determined. Furthermore, by combining the bus current, target temperature difference threshold, target current threshold, and the obtained target temperature and target power consumption thresholds, a temperature regulation command is determined. Finally, at least one of the cooling system and the drive motor is controlled according to the temperature regulation command. This solution controls the cooling system and drive motor through bus current, controller temperature, controller temperature difference, and controller power consumption, achieving temperature regulation of the motor controller and improving regulation accuracy. Attached Figure Description

[0063] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0064] Figure 1 A schematic diagram of the architecture of the motor controller provided in this application;

[0065] Figure 2 This is a schematic diagram of the cooling system architecture provided in this application;

[0066] Figure 3 A schematic flowchart of an embodiment of the temperature regulation method for the motor controller provided in this application;

[0067] Figure 4 A schematic flowchart of Embodiment 2 of the temperature regulation method for the motor controller provided in this application;

[0068] Figure 5 A schematic diagram illustrating the connection relationship of the motor controller provided in this application;

[0069] Figure 6 A schematic diagram of the structure of an embodiment of the temperature regulation device for the motor controller provided in this application;

[0070] Figure 7 This is a schematic diagram of the structure of an electronic device provided in this application.

[0071] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0072] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0073] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0074] The motor controller plays a crucial role in a vehicle, controlling the torque, speed, and direction of rotation of the drive motor. To prevent the motor controller from failing due to overheating and thus affecting vehicle safety, temperature regulation of the motor controller is necessary.

[0075] In existing technologies, temperature control of motor controllers typically involves installing a temperature sensor on the controller. When the temperature detected by the sensor exceeds a threshold, the flow rate of the coolant in the cooling system is increased to lower the motor controller's temperature. However, relying solely on temperature to determine whether temperature adjustment is needed leads to relatively low accuracy in the adjustment process.

[0076] For example, Figure 1 A schematic diagram of the architecture of the motor controller provided in this application is shown below. Figure 1 As shown, the motor controller includes six insulated-gate bipolar transistors (IGBTs), one capacitor, and one control chip.

[0077] For example, Figure 2 A schematic diagram of the cooling system architecture provided in this application is shown below. Figure 2 As shown, the cooling system includes a radiator, a water pump, a pressure relief valve, an electronic component cooling circuit, a drive motor cooling circuit, a motor controller cooling circuit, and an expansion tank. The radiator's inlet is connected to the outlet of the motor controller cooling circuit via a pipe, the radiator's outlet is connected to the water pump's inlet via a pipe, and the water pump's outlet is connected sequentially via pipes to the pressure relief valve, the electronic component cooling circuit, the drive motor cooling circuit, and the motor controller cooling circuit.

[0078] The expansion tank is connected to the pressure relief valve to regulate the volume of coolant, balance the pressure in the circuit, achieve gas-liquid separation, and protect the circuit for safe operation through the pressure relief valve.

[0079] The electronic component cooling circuit is used to cool electronic components such as the on-board charger (OBC), the drive motor cooling circuit is used to cool the drive motor, and the motor controller cooling circuit is used to cool the motor controller.

[0080] The pipeline contains coolant. After the water pump starts, the coolant carries the heat from the electronic components, drive motor, and motor controller to the radiator for release, thus achieving cooling.

[0081] To address the problems existing in the prior art, the inventors, during their research on the temperature regulation method for motor controllers, discovered that, in order to improve regulation accuracy, adjustment can be made based on the motor controller's temperature, bus current, power consumption, and the temperature difference between the motor controller and the radiator inlet temperature in the cooling system. Based on the driving time corresponding to various driving conditions and the current ambient temperature, target temperature difference thresholds and target current thresholds are determined. Then, based on the cooling system parameters and motor controller parameters, the controller temperature, controller temperature difference, controller power consumption, and the temperature to be adjusted are determined. Furthermore, combining the bus current, target temperature difference threshold, target current threshold, and the obtained target temperature threshold and target power consumption threshold, a temperature regulation command is determined. Finally, based on the temperature regulation command, at least one of the cooling system and the drive motor is controlled to achieve temperature regulation of the motor controller, thus improving regulation accuracy. Based on the above inventive concept, the temperature regulation scheme for the motor controller in this application was designed.

[0082] The subject executing the temperature regulation method of the motor controller in this application can be the vehicle controller in the vehicle, or it can be an on-board terminal, computer, server, etc. This application does not limit it. The following description takes the vehicle controller as an example.

[0083] The following provides an example illustrating the application scenarios of the temperature regulation method for the motor controller provided in this application.

[0084] For example, in this application scenario, a user drives a vehicle on the road, and the vehicle controller in the vehicle adjusts the temperature of the motor controller to prevent the motor controller from failing due to high temperature.

[0085] The vehicle controller acquires cooling system parameters, motor controller parameters, driving time for various driving conditions, current ambient temperature, target temperature threshold, and target power consumption threshold. Motor controller parameters include bus current.

[0086] Then, based on the driving time and current ambient temperature corresponding to various driving conditions, the target temperature difference threshold and target current threshold are determined; based on the cooling system parameters and motor controller parameters, the controller temperature, controller temperature difference, controller power consumption, and temperature to be adjusted of the motor controller are determined.

[0087] Based on the bus current, controller temperature, controller temperature difference, controller power consumption, target current threshold, target temperature threshold, target temperature difference threshold, target power consumption threshold, and the temperature to be adjusted, a temperature regulation command is determined. Based on the temperature regulation command, at least one of the cooling system and the drive motor is controlled.

[0088] By controlling the cooling system and drive motor, the temperature of the motor controller can be reduced, ensuring the normal operation of the motor controller.

[0089] It should be noted that the above scenario is only a schematic diagram of an application scenario provided by the embodiments of this application. The embodiments of this application do not limit the actual form of the various devices included in the scenario, nor do they limit the interaction method between devices. In the specific application of the solution, it can be set according to actual needs.

[0090] The technical solution of this application will now be described in detail through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0091] Figure 3 This is a flowchart illustrating an embodiment of the motor controller temperature regulation method provided in this application. This embodiment describes how, after the vehicle controller determines the motor controller temperature, controller temperature difference, controller power consumption, and the temperature to be adjusted, the temperature of the motor controller is regulated in conjunction with the bus current. The method in this embodiment can be implemented through software, hardware, or a combination of both. Figure 3 As shown, the temperature regulation method of this motor controller specifically includes the following steps:

[0092] S301: Obtain cooling system parameters, motor controller parameters, driving time for various driving conditions, current ambient temperature, target temperature threshold, and target power consumption threshold.

[0093] During the operation of the motor controller, the vehicle controller will repeatedly adjust its temperature, and will immediately perform the next adjustment after each adjustment.

[0094] In this step, when the vehicle controller performs this temperature adjustment, it first obtains the cooling system parameters, motor controller parameters, driving time corresponding to various driving conditions, current ambient temperature, target temperature threshold, and target power consumption threshold.

[0095] The cooling system parameters include radiator inlet temperature and coolant flow rate, while the motor controller parameters include bus current, bus voltage, thermal resistance, initial temperature, duty cycle, switching loss, switching frequency, test voltage, and test current.

[0096] It should be noted that the vehicle controller can obtain the target temperature threshold and the target power consumption threshold in several ways: First, the operator stores the target temperature threshold and the target power consumption threshold in the vehicle controller, which then retrieves them from the stored data. Second, the vehicle controller stores preset temperature thresholds and preset power consumption thresholds, and the vehicle calculates the target temperature threshold and the target power consumption threshold based on these preset thresholds. This application does not limit the method by which the vehicle controller obtains the target temperature threshold and the target power consumption threshold; the method can be determined based on the actual situation.

[0097] The vehicle calculates the target temperature threshold and target power consumption threshold based on the preset temperature threshold and preset power consumption threshold as follows: the product of the preset temperature threshold and the third preset safety factor is used as the target temperature threshold; the product of the preset power consumption threshold and the fourth preset safety factor is used as the target power consumption threshold.

[0098] It should be noted that the preset temperature threshold can be 130 degrees Celsius, 150 degrees Celsius, 180 degrees Celsius, 200 degrees Celsius, 230 degrees Celsius, etc.; the preset power consumption threshold can be 30 watts, 50 watts, 70 watts, etc.; the third preset safety factor and the fourth preset safety factor are less than or equal to 1, and can be 70%, 80%, 90%, etc. This application does not limit the preset temperature threshold, preset power consumption threshold, third preset safety factor, and fourth preset safety factor, and they can be determined according to actual conditions.

[0099] S302: Determine the target temperature difference threshold and target current threshold based on the driving time and current ambient temperature corresponding to various driving conditions.

[0100] In this step, after the vehicle controller obtains the driving time and current ambient temperature corresponding to various driving conditions, in order to determine how to adjust the temperature of the motor controller, it is necessary to determine the target temperature difference threshold and the target current threshold based on the driving time and current ambient temperature corresponding to various driving conditions.

[0101] Specifically, the difference between the preset temperature threshold and the current ambient temperature is used as the reference temperature difference.

[0102] The product of the reference temperature difference and the first preset safety factor is used as the target temperature difference threshold.

[0103] The first current value is determined based on the driving time corresponding to various driving conditions.

[0104] The smaller value between the first current value and the preset current threshold is used as the second current value.

[0105] The product of the second current value and the second preset safety factor is used as the target current threshold.

[0106] It should be noted that the preset current threshold can be 90A, 100A, 120A, 150A, 200A, 300A, etc.; the first preset safety factor and the second preset safety factor are less than or equal to 1, and can be 70%, 80%, 90%, etc. This application does not limit the preset current threshold, the first preset safety factor, and the second preset safety factor; they can be determined according to actual conditions.

[0107] The method for determining the first current value based on the driving time corresponding to various driving conditions is as follows: The driving time corresponding to each driving condition is normalized to obtain a weight for each driving condition. Based on a preset correspondence between driving conditions and current, the operating current for each driving condition is determined. The weights and operating currents for each driving condition are then weighted and summed to obtain the first current value.

[0108] The driving conditions can be constant speed driving conditions, acceleration driving conditions, deceleration driving conditions, climbing driving conditions, etc. This application embodiment does not limit the driving conditions, nor does it limit the number of driving conditions, which can be determined according to the actual situation.

[0109] For example, the current corresponding to constant speed driving is 80A, the current corresponding to acceleration driving is 200A, the current corresponding to deceleration driving is 70A, and the current corresponding to climbing driving is 180A. This application does not limit the preset correspondence between driving conditions and current; it can be determined according to actual conditions.

[0110] The first current value is determined by the driving time corresponding to various driving conditions, and then the target current threshold is determined by combining the preset current threshold. This not only ensures that the preset current threshold matches the actual driving conditions of the vehicle, but also improves the accuracy of the target current threshold and enhances the safety of the motor controller.

[0111] S303: Based on the cooling system parameters and motor controller parameters, determine the motor controller temperature, controller temperature difference, controller power consumption, and the temperature to be adjusted.

[0112] In this step, after the vehicle controller obtains the cooling system parameters and the motor controller parameters, in order to determine how to adjust the temperature of the motor controller, the controller temperature, controller temperature difference, controller power consumption, and the temperature to be adjusted of the motor controller are determined based on the cooling system parameters and the motor controller parameters.

[0113] It should be noted that if this temperature adjustment is the first adjustment after the motor controller has started operating, the initial temperature of the motor controller is the current ambient temperature. If this temperature adjustment is not the first adjustment after the motor controller has started operating, the initial temperature of the motor controller is the controller temperature determined during the previous temperature adjustment.

[0114] It should be noted that the execution order of steps S302 and S303 can be: step S302 is executed first, then step S303. Alternatively, step S303 is executed first, then step S302. Or, steps S302 and S303 are executed simultaneously. This embodiment does not limit the execution order of steps S302 and S303; it can be determined according to the actual situation.

[0115] S304: Determine the temperature regulation command based on the bus current, controller temperature, controller temperature difference, controller power consumption, target current threshold, target temperature threshold, target temperature difference threshold, target power consumption threshold, and the temperature to be adjusted.

[0116] In this step, the vehicle controller determines the target temperature difference threshold, target current threshold, controller temperature, controller temperature difference, controller power consumption, and the temperature to be adjusted. Then, in conjunction with the bus current, target temperature threshold, and target power consumption threshold, it determines the temperature adjustment command.

[0117] Specifically, the current count value is determined based on the bus current and the target current threshold. If the bus current is greater than the target current threshold, it indicates that the controller temperature has risen and cooling is required, so the current count value is set to 1; if the bus current is less than or equal to the target current threshold, the current count value is set to 0.

[0118] The temperature count value is determined based on the controller temperature and the target temperature threshold. If the controller temperature is greater than the target temperature threshold, it indicates that the controller temperature has risen and cooling is required, so the temperature count value is set to 1; if the controller temperature is less than or equal to the target temperature threshold, the temperature count value is set to 0.

[0119] The temperature difference count is determined based on the controller temperature difference and the target temperature difference threshold. If the controller temperature difference is greater than the target temperature difference threshold, it indicates that the controller temperature has risen and cooling is required, so the temperature difference count is set to 1; if the controller temperature difference is less than or equal to the target temperature difference threshold, the temperature difference count is set to 0.

[0120] The power consumption count is determined based on the controller power consumption and the target power consumption threshold. If the controller power consumption is greater than the target power consumption threshold, it indicates that the controller temperature has increased and cooling is required, so the power consumption count is set to 1; if the controller power consumption is less than or equal to the target power consumption threshold, the power consumption count is set to 0.

[0121] The sum of the current count, temperature count, temperature difference count, and power consumption count is used as the target count value.

[0122] Based on the temperature count value, the target count value, and the temperature to be adjusted, the temperature adjustment command is determined. The temperature adjustment command includes a cooling system command, or a cooling system command and a drive motor stop command, or a cooling system command and a drive motor torque limiting command.

[0123] If the temperature count value is 1, it indicates that the motor controller temperature is too high and the drive motor needs to be stopped. Therefore, a drive motor stop command is generated, and the cooling system command is determined according to the temperature to be adjusted.

[0124] If the temperature count value is 0 and the target count value is greater than 0, it indicates that the motor controller temperature has risen and needs to be cooled. Based on the temperature to be adjusted and the preset boost coefficient, the cooling system command is determined, and based on the target count value, it is determined whether to generate a drive motor torque limiting command or a drive motor stop command.

[0125] For example, when the target count value is 1, neither a drive motor torque limiting command nor a drive motor stop command is generated. When the target count value is 2, a drive motor torque limiting command is generated, but no drive motor stop command is generated. When the target count value is 3, neither a drive motor torque limiting command is generated, but a drive motor stop command is generated. This application does not limit the method for determining whether to generate a drive motor torque limiting command or a drive motor stop command based on the target count value; it can be determined according to the actual situation.

[0126] If the temperature count value is 0 and the target count value is also 0, it means that the motor controller temperature has not risen and normal cooling is sufficient. Therefore, the cooling system command is determined based on the temperature to be adjusted.

[0127] The cooling system command includes the target speed of the water pump. The cooling system command is determined based on the temperature to be adjusted by the following method: the vehicle controller obtains the temperature of the electronic components and the temperature of the drive motor, and then takes the maximum value among the temperature to be adjusted, the temperature of the electronic components and the temperature of the drive motor as the target temperature; then, based on the preset correspondence between temperature and speed, the target speed corresponding to the target temperature is determined, and the cooling system command is generated based on the target speed.

[0128] The method for determining the cooling system command based on the temperature to be adjusted and the preset boost coefficient is as follows: The vehicle controller multiplies the temperature to be adjusted by the preset boost coefficient as the correction temperature; the vehicle controller obtains the temperature of the electronic components and the temperature of the drive motor, and then takes the maximum value among the correction temperature, the temperature of the electronic components and the temperature of the drive motor as the target temperature; then, based on the preset correspondence between temperature and speed, the target speed corresponding to the target temperature is determined, and the cooling system command is generated based on the target speed.

[0129] It should be noted that the preset boosting factor is greater than 1, and can be 1.1, 1.3, 1.5, 1.8, etc. This application embodiment does not limit the preset boosting factor, and it can be determined according to the actual situation.

[0130] For example, a temperature of 50 degrees Celsius corresponds to a rotation speed of 1000 RPM; a temperature of 70 degrees Celsius corresponds to a rotation speed of 3000 RPM; a temperature of 85 degrees Celsius corresponds to a rotation speed of 5000 RPM; and a temperature of 95 degrees Celsius corresponds to a rotation speed of 6000 RPM. This application does not limit the preset correspondence between temperature and rotation speed; it can be determined according to actual conditions.

[0131] When the temperature count value is 0 and the target count value is also 0, the motor controller temperature does not rise, and the cooling system can perform normal cooling. Therefore, the cooling system command is determined based on the temperature to be adjusted. When the temperature count value is 1, the drive motor will stop, the motor controller will no longer generate heat, and the cooling system can perform normal cooling. Therefore, the cooling system command is determined based on the temperature to be adjusted.

[0132] When the temperature count is 0 and the target count is greater than 0, the motor controller needs to cool down. This requires increasing the flow rate of the coolant in the cooling system, which means increasing the speed of the water pump. This necessitates determining the cooling system command based on the temperature to be adjusted and the preset boost factor. The preset boost factor is used to increase the temperature to be adjusted, raising it to the corrected temperature, thereby increasing the flow rate of the coolant in the cooling system.

[0133] S305: Control at least one of the cooling system and drive motor according to the temperature regulation command.

[0134] In this step, after the vehicle controller determines the temperature adjustment command, it controls at least one of the cooling system and the drive motor according to the temperature adjustment command.

[0135] When the temperature regulation command includes a cooling system command, the vehicle controller sends the cooling system command to the water pump controller in the cooling system. The water pump controller controls the water pump to operate according to the target speed in the cooling system command.

[0136] When the temperature regulation command includes both a cooling system command and a drive motor stop command, the vehicle controller sends the cooling system command to the water pump controller in the cooling system. The water pump controller then controls the water pump to operate according to the target speed specified in the cooling system command. Furthermore, the vehicle controller controls the output current to zero according to the drive motor stop command, thus stopping the drive motor.

[0137] When the temperature regulation command includes both a cooling system command and a drive motor torque limiting command, the vehicle controller sends the cooling system command to the water pump controller in the cooling system. The water pump controller then controls the water pump to operate according to the target speed specified in the cooling system command. Furthermore, the vehicle controller stores a preset torque limiting ratio. Based on the drive motor torque limiting command, it multiplies the current drive motor torque by the preset torque limiting ratio to obtain the target torque, and then controls the drive motor to operate according to the target torque.

[0138] It should be noted that the preset torque limit ratio can be 60%, 70%, 80%, etc. This application embodiment does not limit the preset torque limit ratio, and it can be determined according to the actual situation.

[0139] Stopping the drive motor reduces the output current of the motor controller to zero, eliminating heat generation and thus lowering its temperature. Limiting the torque of the drive motor further reduces the output current of the motor controller, decreasing internal heat generation and achieving cooling. Therefore, by controlling the cooling system and the drive motor, the temperature of the motor controller can be regulated.

[0140] It should be noted that when the target count value is greater than 0, the vehicle controller can issue a high temperature warning to improve the safety of the motor controller.

[0141] It should be noted that if the vehicle controller generates a torque limiting command for the drive motor, the radiator in the cooling system is equipped with a fan, which can be turned on to speed up heat dissipation.

[0142] It should be noted that after this temperature adjustment, the vehicle controller sets the current count, temperature count, temperature difference count, power consumption count, and target count to 0 to ensure the normal operation of the next temperature adjustment.

[0143] The motor controller temperature regulation method provided in this embodiment determines target temperature difference thresholds and target current thresholds based on the driving time and current ambient temperature corresponding to various driving conditions. Then, based on the cooling system parameters and motor controller parameters, it determines the controller temperature, controller temperature difference, controller power consumption, and the temperature to be adjusted. Finally, combining the bus current, target temperature difference threshold, target current threshold, and the obtained target temperature and target power consumption thresholds, it determines a temperature regulation command. Finally, based on the temperature regulation command, it controls at least one of the cooling system and the drive motor. This solution controls the cooling system and drive motor through bus current, controller temperature, controller temperature difference, and controller power consumption, achieving temperature regulation of the motor controller and improving regulation accuracy.

[0144] Figure 4This is a flowchart illustrating a second embodiment of the motor controller temperature regulation method provided in this application. Based on the above embodiments, this application describes how the vehicle controller determines the motor controller temperature, controller temperature difference, controller power consumption, and the temperature to be adjusted based on cooling system parameters and motor controller parameters. Figure 4 As shown, the temperature regulation method of this motor controller specifically includes the following steps:

[0145] S401: Determine the controller power consumption based on bus current, duty cycle, switching loss, switching frequency, test voltage, and test current.

[0146] In this step, after the vehicle controller obtains the cooling system parameters and the motor controller parameters, in order to determine how to adjust the temperature, it first determines the controller power consumption based on the bus current, duty cycle, switching loss, switching frequency, test voltage, and test current.

[0147] Specifically, the amplification factor corresponding to both the bus current and the duty cycle is obtained. That is, based on the correspondence between current, duty cycle, and amplification factor, the amplification factor corresponding to both the bus current and the duty cycle is determined. The amplification factor is used to characterize the relationship between controller power consumption and switching losses.

[0148] Calculate the controller power consumption based on switching losses, switching frequency, bus voltage, bus current, test voltage, test current, and amplification factor.

[0149] According to the formula Calculate the controller power consumption, where P represents the controller power consumption. F represents switching losses, V represents the switching frequency, and I represents the bus voltage and bus current. Indicates the test voltage. B represents the test current, and B represents the amplification factor.

[0150] For example, Figure 5 This is a schematic diagram of the connection relationship of the motor controller provided in this application, as shown below. Figure 5 As shown, the motor controller is connected to the power supply and the drive motor respectively. The power supply provides DC power to the motor controller, and the motor controller provides drive voltage and drive current to the drive motor. The cooling system is connected to the motor controller and can cool the motor controller.

[0151] Before temperature adjustment, operators can acquire multiple sets of initial fitting data with the bus current and duty cycle fixed. Each set includes the voltage and current of the power supply, the voltage and current of the drive motor, the flow rate, specific heat capacity, and inlet / outlet temperature difference of the cooling system, and switching losses. For each set of initial fitting data, the input power is calculated based on the power supply voltage and current, the output power is calculated based on the drive motor voltage and current, and the heat exchange power is calculated based on the cooling system flow rate, specific heat capacity, and inlet / outlet temperature difference. The input power is then subtracted from the output power and the heat exchange power to obtain the controller power consumption to be fitted for that initial fitting data. A linear fit is then performed based on the controller power consumption to be fitted for each initial fitting data set, as well as the switching power consumption within each initial fitting data set, to obtain a fitting formula. The slope in the fitting formula represents the amplification factor. The bus current and duty cycle are then correlated with the amplification factor and stored. This process is repeated to reset the bus current and duty cycle, determine the amplification factor again, and store the correlation. This process is repeated to obtain the correlation between current, duty cycle, and amplification factor.

[0152] S402: Calculate the first candidate temperature based on the thermal resistance, initial temperature, and controller power consumption.

[0153] In this step, after the vehicle controller determines the power consumption, in order to determine the temperature to be adjusted and the controller temperature, it is necessary to first calculate the first candidate temperature based on the thermal resistance value, the initial temperature and the controller power consumption.

[0154] According to the formula Calculate the first candidate temperature, where T represents the first candidate temperature. This represents the initial temperature, and P represents the controller power consumption. This indicates the thermal resistance value.

[0155] S403: Determine the second candidate temperature based on the radiator inlet temperature, coolant flow rate, bus voltage, and bus current.

[0156] In this step, after the vehicle controller determines the controller power consumption, in order to determine the temperature to be adjusted and the controller temperature, it is also necessary to determine the second candidate temperature based on the radiator inlet temperature, coolant flow rate, bus voltage and bus current.

[0157] Specifically, the first relationship coefficient between the radiator inlet temperature and the coolant flow rate is obtained. This first relationship coefficient characterizes the relationship between current and temperature. In other words, the first relationship coefficient between the radiator inlet temperature and the coolant flow rate is determined based on the correspondence between temperature, flow rate, and the relationship coefficient.

[0158] Furthermore, to improve the accuracy of the relationship coefficients, the first relationship coefficient is corrected based on the bus voltage to obtain the second relationship coefficient. That is, based on the preset correspondence between voltage and correction coefficient, the target correction coefficient corresponding to the target voltage is determined, and the first relationship coefficient is multiplied by the correction coefficient to obtain the second relationship coefficient.

[0159] In the preset correspondence between voltage and correction factor, the voltage is directly proportional to the correction factor. For example, a voltage of 200V corresponds to a correction factor of 0.8; a voltage of 280V corresponds to a correction factor of 1.1; and a voltage of 360V corresponds to a correction factor of 1.3. This application does not limit the preset correspondence between voltage and correction factor; it can be determined according to actual circumstances.

[0160] The product of the bus current and the second relationship coefficient is then used as the second candidate temperature.

[0161] Before adjusting the temperature, operators can obtain multiple sets of second-fit data with the radiator inlet temperature and coolant flow rate fixed. Each set of second-fit data includes bus current and controller temperature. Linear fitting is performed on each set of second-fit data to obtain a fitting formula. The slope in the fitting formula represents the relationship coefficient. The bus current and controller temperature are then correlated with the relationship coefficient and stored. This process is repeated, resetting the bus current and controller temperature, determining the relationship coefficient again, and storing the correlation. This process is repeated to obtain the correspondence between temperature, flow rate, and the relationship coefficient.

[0162] S404: Determine the temperature to be adjusted and the controller temperature based on the first candidate temperature, the second candidate temperature, and whether the motor controller parameters include the temperature collected by the temperature sensor.

[0163] In this step, after the vehicle controller obtains the first and second candidate temperatures, it determines the temperature to be adjusted and the controller temperature by considering whether the motor controller parameters include the temperature collected by the temperature sensor.

[0164] Specifically, if the motor controller parameters include the sampled temperature, then the sampled temperature is used as the controller temperature, and the maximum value among the sampled temperature, the first candidate temperature, and the second candidate temperature is used as the temperature to be adjusted.

[0165] If the motor controller parameters do not include the collected temperature, then the maximum value between the first candidate temperature and the second candidate temperature will be used as the temperature to be adjusted and the controller temperature.

[0166] It should be noted that if the vehicle is equipped with a temperature sensor capable of detecting the motor controller's temperature, the motor controller parameters will include the measured temperature. If the vehicle is not equipped with a temperature sensor capable of detecting the motor controller's temperature, the motor controller parameters will not include the measured temperature.

[0167] Therefore, regardless of whether the vehicle is equipped with a temperature sensor capable of detecting the temperature of the motor controller, this solution can determine the temperature to be adjusted and the controller temperature, thus improving the applicability of the solution.

[0168] S405: Calculate the controller temperature difference based on the controller temperature and the radiator inlet temperature.

[0169] In this step, after the vehicle controller obtains the controller temperature, it calculates the controller temperature difference based on the controller temperature and the radiator inlet temperature. In other words, the absolute value of the difference between the controller temperature and the radiator inlet temperature is taken as the controller temperature difference.

[0170] The motor controller temperature regulation method provided in this embodiment determines the controller temperature, controller temperature difference, controller power consumption, and the temperature to be adjusted by using cooling system parameters and motor controller parameters. This improves the accuracy of these parameters. Furthermore, it can determine the temperature to be adjusted and the controller temperature even when a temperature sensor capable of detecting the motor controller temperature is not installed in the vehicle. The method for determining the temperature to be adjusted and the controller temperature is also simpler, and the data is easier to obtain.

[0171] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.

[0172] Figure 6 This is a schematic diagram of the structure of an embodiment of the temperature regulation device for the motor controller provided in this application. Figure 6 As shown, the temperature regulation device 60 of the motor controller includes:

[0173] The acquisition module 61 is used to acquire cooling system parameters, motor controller parameters, driving time corresponding to various driving conditions, current ambient temperature, target temperature threshold and target power consumption threshold. The motor controller parameters include bus current.

[0174] Processing module 62 is used for:

[0175] Based on the driving time and current ambient temperature corresponding to various driving conditions, determine the target temperature difference threshold and the target current threshold.

[0176] Based on the cooling system parameters and motor controller parameters, determine the motor controller temperature, controller temperature difference, controller power consumption, and the temperature to be adjusted.

[0177] The temperature regulation command is determined based on the bus current, controller temperature, controller temperature difference, controller power consumption, target current threshold, target temperature threshold, target temperature difference threshold, target power consumption threshold, and the temperature to be adjusted.

[0178] The regulating module 63 is used to control at least one of the cooling system and the drive motor according to the temperature regulating command.

[0179] Furthermore, the cooling system parameters include the radiator inlet temperature and coolant flow rate, and the motor controller parameters include bus voltage, thermal resistance, initial temperature, duty cycle, switching losses, switching frequency, test voltage, and test current; the processing module 62 is specifically used for:

[0180] Based on the cooling system parameters and motor controller parameters, determine the motor controller temperature, controller temperature difference, controller power consumption, and the temperature to be adjusted, including:

[0181] The controller power consumption is determined based on the bus current, duty cycle, switching loss, switching frequency, test voltage, and test current.

[0182] Calculate the first candidate temperature based on the thermal resistance, initial temperature, and controller power consumption;

[0183] The second candidate temperature is determined based on the radiator inlet temperature, coolant flow rate, bus voltage, and bus current.

[0184] Based on the first candidate temperature, the second candidate temperature, and whether the motor controller parameters include the temperature collected by the temperature sensor, determine the temperature to be adjusted and the controller temperature.

[0185] Calculate the controller temperature difference based on the controller temperature and the radiator inlet temperature.

[0186] Furthermore, the processing module 62 is specifically used for:

[0187] Obtain the amplification factor corresponding to both bus current and duty cycle;

[0188] Calculate the controller power consumption based on switching losses, switching frequency, bus voltage, bus current, test voltage, test current, and amplification factor.

[0189] Furthermore, the processing module 62 is specifically used for:

[0190] Obtain the first relationship coefficient between the radiator inlet temperature and the coolant flow rate. The first relationship coefficient is used to characterize the relationship between current and temperature.

[0191] Based on the bus voltage, the first relationship coefficient is corrected to obtain the second relationship coefficient;

[0192] The product of the bus current and the second relationship coefficient is used as the second candidate temperature.

[0193] Furthermore, the processing module 62 is specifically used for:

[0194] If the motor controller parameters include the sampled temperature, then the sampled temperature will be used as the controller temperature, and the maximum value among the sampled temperature, the first candidate temperature, and the second candidate temperature will be used as the temperature to be adjusted.

[0195] If the motor controller parameters do not include the collected temperature, then the maximum value between the first candidate temperature and the second candidate temperature will be used as the temperature to be adjusted and the controller temperature.

[0196] Furthermore, the processing module 62 is specifically used for:

[0197] The current count value is determined based on the bus current and the target current threshold.

[0198] The temperature count value is determined based on the controller temperature and the target temperature threshold;

[0199] The temperature difference count value is determined based on the controller temperature difference and the target temperature difference threshold.

[0200] The power consumption count value is determined based on the controller power consumption and the target power consumption threshold;

[0201] The sum of the current count, temperature count, temperature difference count, and power consumption count is used as the target count value.

[0202] The temperature adjustment command is determined based on the temperature count value, the target count value, and the temperature to be adjusted.

[0203] Furthermore, the temperature regulation command includes a cooling system command, or a cooling system command and a drive motor stop command, or a cooling system command and a drive motor torque limiting command; the processing module 62 is specifically used for:

[0204] Based on the temperature count value, the target count value, and the temperature to be adjusted, determine the temperature adjustment command, including:

[0205] If the temperature count value is 1, a drive motor stop command is generated, and a cooling system command is determined based on the temperature to be adjusted.

[0206] If the temperature count value is 0 and the target count value is greater than 0, then the cooling system command is determined according to the temperature to be adjusted and the preset boost coefficient, and the drive motor torque limiting command or drive motor stop command is determined according to the target count value.

[0207] If the temperature count value is 0 and the target count value is also 0, then the cooling system command is determined based on the temperature to be adjusted.

[0208] Furthermore, the processing module 62 is specifically used for:

[0209] The difference between the preset temperature threshold and the current ambient temperature is used as the reference temperature difference;

[0210] The product of the reference temperature difference and the first preset safety factor is used as the target temperature difference threshold.

[0211] The first current value is determined based on the driving time corresponding to various driving conditions;

[0212] The smaller value between the first current value and the preset current threshold is used as the second current value;

[0213] The product of the second current value and the second preset safety factor is used as the target current threshold.

[0214] The temperature regulation device for the motor controller provided in this embodiment is used to execute the technical solution in any of the aforementioned method embodiments. Its implementation principle and technical effect are similar, and will not be described again here.

[0215] Figure 7 This is a schematic diagram of the structure of an electronic device provided in this application. Figure 7 As shown, the electronic device 70 includes:

[0216] Processor 71, memory 72, and communication interface 73;

[0217] Memory 72 is used to store executable instructions of processor 71;

[0218] The processor 71 is configured to execute the technical solutions in any of the foregoing method embodiments by executing executable instructions.

[0219] Optionally, the memory 72 can be either standalone or integrated with the processor 71.

[0220] Optionally, when the memory 72 is a device independent of the processor 71, the electronic device 70 may further include:

[0221] Bus 74, memory 72 and communication interface 73 are connected to processor 71 through bus 74 and complete communication with each other. Communication interface 73 is used to communicate with other devices.

[0222] Optionally, the communication interface 73 can be implemented using a transceiver. The communication interface is used to enable communication between the database access device and other devices (e.g., clients, read-write databases, and read-only databases). The memory may include random access memory (RAM) and may also include non-volatile memory, such as at least one disk drive.

[0223] Bus 74 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, only one thick line is used in the diagram, but this does not indicate that there is only one bus or one type of bus.

[0224] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0225] The electronic device is used to execute the technical solutions in any of the foregoing method embodiments. Its implementation principle and technical effect are similar, and will not be described again here.

[0226] This application also provides a vehicle, which includes a vehicle controller.

[0227] The vehicle controller is used to execute the technical solutions in any of the aforementioned method embodiments. Its implementation principle and technical effect are similar, and will not be described again here.

[0228] This application also provides a readable storage medium storing a computer program thereon, which, when executed by a processor, implements the technical solutions provided in any of the foregoing method embodiments.

[0229] This application also provides a computer program product, including a computer program, which, when executed by a processor, is used to implement the technical solutions provided in any of the foregoing method embodiments.

[0230] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0231] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A method for temperature regulation of a motor controller, characterized in that, include: The system acquires cooling system parameters, motor controller parameters, driving time for various driving conditions, current ambient temperature, target temperature threshold, and target power consumption threshold. The motor controller parameters include bus current. Based on the driving time corresponding to the various driving conditions and the current ambient temperature, determine the target temperature difference threshold and the target current threshold; Based on the cooling system parameters and the motor controller parameters, determine the motor controller temperature, controller temperature difference, controller power consumption, and the temperature to be adjusted. A temperature adjustment command is determined based on the bus current, the controller temperature, the controller temperature difference, the controller power consumption, the target current threshold, the target temperature threshold, the target temperature difference threshold, the target power consumption threshold, and the temperature to be adjusted. According to the temperature adjustment command, at least one of the cooling system and the drive motor is controlled.

2. The method according to claim 1, characterized in that, The cooling system parameters include radiator inlet temperature and coolant flow rate, and the motor controller parameters include bus voltage, thermal resistance, initial temperature, duty cycle, switching loss, switching frequency, test voltage, and test current. The step of determining the controller temperature, controller temperature difference, controller power consumption, and temperature to be adjusted of the motor controller based on the cooling system parameters and the motor controller parameters includes: The power consumption of the controller is determined based on the bus current, the duty cycle, the switching loss, the switching frequency, the test voltage, and the test current. Calculate the first candidate temperature based on the thermal resistance value, the initial temperature, and the controller power consumption; The second candidate temperature is determined based on the radiator inlet temperature, the coolant flow rate, the bus voltage, and the bus current. The temperature to be adjusted and the controller temperature are determined based on the first candidate temperature, the second candidate temperature, and whether the motor controller parameters include the temperature collected by the temperature sensor. The temperature difference of the controller is calculated based on the controller temperature and the radiator inlet temperature.

3. The method according to claim 2, characterized in that, The step of determining the controller power consumption based on the bus current, the duty cycle, the switching loss, the switching frequency, the test voltage, and the test current includes: Obtain the amplification factor corresponding to both the bus current and the duty cycle; The power consumption of the controller is calculated based on the switching loss, the switching frequency, the bus voltage, the bus current, the test voltage, the test current, and the amplification factor.

4. The method according to claim 2, characterized in that, The step of determining the second candidate temperature based on the radiator inlet temperature, the coolant flow rate, the bus voltage, and the bus current includes: Obtain a first relationship coefficient between the radiator inlet temperature and the coolant flow rate. The first relationship coefficient is used to characterize the relationship between current and temperature. Based on the bus voltage, the first relationship coefficient is corrected to obtain the second relationship coefficient; The product of the bus current and the second relationship coefficient is used as the second candidate temperature.

5. The method according to claim 2, characterized in that, Determining the temperature to be adjusted and the controller temperature based on the first candidate temperature, the second candidate temperature, and whether the motor controller parameters include the temperature collected by the temperature sensor, includes: If the motor controller parameters include the collected temperature, then the collected temperature is used as the controller temperature, and the maximum value among the collected temperature, the first candidate temperature, and the second candidate temperature is used as the temperature to be adjusted. If the collected temperature is not included in the parameters of the motor controller, then the maximum value of the first candidate temperature and the second candidate temperature shall be used as the temperature to be adjusted and the controller temperature.

6. The method according to claim 1, characterized in that, The step of determining a temperature adjustment command based on the bus current, the controller temperature, the controller temperature difference, the controller power consumption, the target current threshold, the target temperature threshold, the target temperature difference threshold, the target power consumption threshold, and the temperature to be adjusted includes: The current count value is determined based on the bus current and the target current threshold. The temperature count value is determined based on the controller temperature and the target temperature threshold; The temperature difference count value is determined based on the controller temperature difference and the target temperature difference threshold. The power consumption count value is determined based on the controller power consumption and the target power consumption threshold; The sum of the current count value, the temperature count value, the temperature difference count value, and the power consumption count value is used as the target count value; A temperature adjustment command is determined based on the temperature count value, the target count value, and the temperature to be adjusted.

7. The method according to claim 6, characterized in that, The temperature regulation command includes a cooling system command, or a cooling system command and a drive motor stop command, or a cooling system command and a drive motor torque limiting command. The step of determining a temperature adjustment command based on the temperature count value, the target count value, and the temperature to be adjusted includes: If the temperature count value is 1, a stop command for the drive motor is generated, and a cooling system command is determined based on the temperature to be adjusted. If the temperature count value is 0 and the target count value is greater than 0, then the cooling system command is determined according to the temperature to be adjusted and the preset boost coefficient, and whether to generate the drive motor torque limiting command or the drive motor stop command is determined according to the target count value. If the temperature count value is 0 and the target count value is equal to 0, then the cooling system command is determined based on the temperature to be adjusted.

8. The method according to any one of claims 1 to 7, characterized in that, The step of determining the target temperature difference threshold and the target current threshold based on the driving time corresponding to the various driving conditions and the current ambient temperature includes: The difference between the preset temperature threshold and the current ambient temperature is used as the reference temperature difference; The product of the reference temperature difference and the first preset safety factor is used as the target temperature difference threshold. The first current value is determined based on the driving time corresponding to the various driving conditions. The smaller value between the first current value and the preset current threshold is used as the second current value; The product of the second current value and the second preset safety factor is used as the target current threshold.

9. A temperature regulating device for a motor controller, characterized in that, include: The acquisition module is used to acquire cooling system parameters, motor controller parameters, driving time corresponding to various driving conditions, current ambient temperature, target temperature threshold and target power consumption threshold, wherein the motor controller parameters include bus current; Processing module, used for: Based on the driving time corresponding to the various driving conditions and the current ambient temperature, determine the target temperature difference threshold and the target current threshold; Based on the cooling system parameters and the motor controller parameters, determine the motor controller temperature, controller temperature difference, controller power consumption, and the temperature to be adjusted. A temperature adjustment command is determined based on the bus current, the controller temperature, the controller temperature difference, the controller power consumption, the target current threshold, the target temperature threshold, the target temperature difference threshold, the target power consumption threshold, and the temperature to be adjusted. The adjustment module is used to control at least one of the cooling system and the drive motor according to the temperature adjustment command.

10. An electronic device, characterized in that, include: Processor, memory, communication interface; The memory is used to store the executable instructions of the processor; The processor is configured to execute the temperature regulation method of the motor controller according to any one of claims 1 to 8 by executing the executable instructions.

11. A vehicle, characterized in that, Including the vehicle controller; The vehicle controller is used to execute the temperature regulation method of the motor controller according to any one of claims 1 to 8.

12. A readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the temperature regulation method of the motor controller according to any one of claims 1 to 8.

13. A computer program product, characterized in that, Includes a computer program, which, when executed by a processor, is used to implement the temperature regulation method of the motor controller according to any one of claims 1 to 8.