Control method and device for cooling fan of motor controller and motor controller

By comprehensively collecting and judging IGBT temperature, current value and status flags, the start-stop logic of the motor controller cooling fan is optimized, which solves the IGBT temperature delay and noise problems in the existing technology and improves the safety and acoustic comfort of the motor controller.

CN121604353APending Publication Date: 2026-03-03SAIC GM WULING AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511860890.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-10
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

Existing motor controller cooling fan control methods rely on IGBT temperature thresholds, which have delay characteristics and noise problems, affecting the safety and acoustic comfort of electric vehicles.

Method used

The system collects temperature values ​​from IGBT temperature sensors, effective values ​​of phase current from motor controllers, cooling fan status, and the operating status and status flags of motor controllers. It then comprehensively determines and controls the start and stop of the cooling fan, including the motor stall status, the status of IGBT temperature sensors, and phase current values, and optimizes the fan start and stop logic.

Benefits of technology

It improves the safety of the motor controller and the acoustic comfort of the vehicle interior, reduces the malfunction rate of the cooling fan, optimizes NVH performance, and extends the service life of the fan.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121604353A_ABST
    Figure CN121604353A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a control method and device for a cooling fan of a motor controller and the motor controller. The method comprises the steps of collecting a temperature value of an IGBT temperature sensor, a phase current effective value of a motor controller, a cooling fan state of the motor controller, a working state of the motor controller, a state flag of the IGBT temperature sensor and a motor stalling state flag; and based on the state of the cooling fan, controlling the cooling fan according to the motor stalling state flag, the working state of the motor controller, the temperature value of the IGBT temperature sensor, the state flag of the IGBT temperature sensor and the phase current effective value of the motor controller. According to the technical scheme provided by the embodiment of the invention, the safety of the motor controller can be improved, and the acoustic comfort in the vehicle is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle technology, and more particularly to a method, apparatus, and motor controller for controlling the cooling fan of a motor controller. Background Technology

[0002] With the rapid development of electric vehicles, the motor controller, as a core component of the drive system, directly affects the performance and safety of the entire vehicle. The power module within the motor controller generates a significant amount of heat during high-load operation; insufficient heat dissipation will cause the power module temperature to rise sharply, potentially leading to thermal failure. The cooling fan, as a core component of active cooling, can force airflow to lower the internal temperature of the motor controller.

[0003] The cooling fan control method is based solely on the temperature threshold of the Insulated Gate Bipolar Transistor (IGBT) as the start / stop criterion. When the IGBT temperature exceeds a fixed threshold, the cooling fan is activated to quickly dissipate heat from the power module. When the temperature of the Negative Temperature Coefficient (NTC) thermistor falls below a certain fixed threshold, the cooling fan is deactivated.

[0004] If only the temperature of the IGBT temperature sensor is monitored, the temperature value returned by the IGBT temperature sensor has a certain delay characteristic. When the returned temperature value reaches the fan activation threshold, the IGET may have already experienced thermal runaway, resulting in low safety. When the vehicle is stationary, at low speed, or idling, if the temperature value is greater than the fan shutdown threshold, the cooling fan will still be running. The aerodynamic noise generated by the cooling fan (especially blade frequency noise) is the main source of noise from the vehicle's accessories, seriously affecting the acoustic comfort inside the vehicle. Summary of the Invention

[0005] In view of this, embodiments of the present invention provide a method, apparatus and motor controller for controlling the cooling fan of a motor controller, so as to improve the safety of the motor controller and improve the acoustic comfort inside the vehicle.

[0006] On one hand, embodiments of the present invention provide a method for controlling a cooling fan of a motor controller, comprising: The system collects the temperature value from the IGBT temperature sensor, the effective value of the phase current of the motor controller, the status of the cooling fan of the motor controller, the operating status of the motor controller, the status flag of the IGBT temperature sensor, and the stall status flag of the motor. Based on the cooling fan status, the cooling fan is controlled according to the motor stall status flag, the operating status of the motor controller, the temperature value of the IGBT temperature sensor, the status flag of the IGBT temperature sensor, and the effective value of the phase current of the motor controller.

[0007] Optionally, when the cooling fan is in the off state, the cooling fan is controlled according to the motor stall status flag, the operating state of the motor controller, the temperature value of the IGBT temperature sensor, the status flag of the IGBT temperature sensor, and the effective value of the phase current of the motor controller, including: Determine whether the motor stall status flag is in a normal state or a stall state; If the motor stall status flag is determined to be in a normal state, determine whether the working state of the motor controller is in a ready state. If the motor controller is determined to be in a ready-to-work state, the status flag of the IGBT temperature sensor is determined to be either a normal flag or a fault flag. If the status flag of the IGBT temperature sensor is determined to be normal, determine whether the effective value of the phase current of the motor controller is greater than the first phase current threshold. If it is determined that the effective value of the phase current of the motor controller is greater than the first phase current threshold, the cooling fan is controlled to turn on.

[0008] Optionally, it also includes: If the status flag of the IGBT temperature sensor is determined to be a fault flag, determine whether the effective value of the phase current of the motor controller is greater than the second phase current threshold, and whether the temperature value of the IGBT temperature sensor is greater than the first temperature threshold. If it is determined that the effective value of the phase current of the motor controller is greater than the second phase current threshold, and the temperature value of the IGBT temperature sensor is greater than the first temperature threshold, the cooling fan is controlled to turn on; or, If the status flag of the IGBT temperature sensor is determined to be a fault flag, determine whether the effective value of the phase current of the motor controller is greater than the first phase current threshold and whether the temperature value of the IGBT temperature sensor is greater than the second temperature threshold. If it is determined that the effective value of the phase current of the motor controller is greater than the first phase current threshold, and the temperature value of the IGBT temperature sensor is greater than the second temperature threshold, the cooling fan is controlled to turn on; or, If the status flag of the IGBT temperature sensor is determined to be a fault flag, determine whether the temperature value of the IGBT temperature sensor is greater than the third temperature threshold. If the temperature value of the IGBT temperature sensor is determined to be greater than the third temperature threshold, the cooling fan is controlled to turn on. Wherein, the second phase current threshold is greater than the first phase current threshold, the first temperature threshold is less than the second temperature threshold, and the second temperature threshold is less than the third temperature threshold.

[0009] Optionally, it also includes: If it is determined that the effective value of the phase current of the motor controller is less than or equal to the first phase current threshold, the cooling fan is kept off.

[0010] Optionally, when the cooling fan is in the on state, controlling the cooling fan based on the motor stall status flag, the operating state of the motor controller, the temperature value of the IGBT temperature sensor, the status flag of the IGBT temperature sensor, and the effective value of the phase current of the motor controller includes: Determine whether the motor stall status flag is in a normal state or a stall state; If the motor stall status flag is determined to be in a normal state, determine whether the working state of the motor controller is in a ready state or a high voltage self-test passed state. If it is determined that the working state of the motor controller is either ready or high-voltage self-test passed, the running time of the cooling fan is obtained. When the running time of the cooling fan is greater than the set time threshold, it is determined whether the status flag of the IGBT temperature sensor is a normal flag or a fault flag, and whether the temperature value of the IGBT temperature sensor is less than the fourth temperature threshold. If it is determined that the status flag of the IGBT temperature sensor is a fault flag or the temperature value of the IGBT temperature sensor is less than the fourth temperature threshold, determine whether the effective value of the phase current of the motor controller is less than the first phase current threshold. If it is determined that the effective value of the phase current of the motor controller is less than the first phase current threshold, the cooling fan is controlled to shut down.

[0011] Optionally, it also includes: If the status flag of the IGBT temperature sensor is determined to be normal and the temperature value of the IGBT temperature sensor is greater than the fourth temperature threshold, the cooling fan is kept on.

[0012] Optionally, it also includes: If it is determined that the effective value of the phase current of the motor controller is greater than or equal to the first phase current threshold, the cooling fan is kept on.

[0013] On the other hand, embodiments of the present invention provide a control device for a cooling fan of a motor controller, comprising: The data acquisition module is used to acquire the temperature value of the IGBT temperature sensor, the effective value of the phase current of the motor controller, the status of the cooling fan of the motor controller, the operating status of the motor controller, the status flag of the IGBT temperature sensor, and the stall status flag of the motor. The judgment module is used to control the cooling fan based on the cooling fan status, according to the motor stall status flag, the operating status of the motor controller, the temperature value of the IGBT temperature sensor, the status flag of the IGBT temperature sensor, and the effective value of the phase current of the motor controller.

[0014] On the other hand, embodiments of the present invention provide a storage medium including a stored program, wherein the program controls the device where the storage medium is located to execute the control method of the cooling fan of the motor controller described above when the program is running.

[0015] On the other hand, embodiments of the present invention provide a motor controller, including a memory and a processor. The memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions. When the program instructions are loaded and executed by the processor, the steps of the above-described motor controller cooling fan control method are implemented.

[0016] The technical solution provided in this invention collects the temperature value of the IGBT temperature sensor, the effective value of the phase current of the motor controller, the status of the cooling fan of the motor controller, the operating status of the motor controller, the status flag of the IGBT temperature sensor, and the motor stall status flag. Based on the cooling fan status, the cooling fan is controlled according to the motor stall status flag, the operating status of the motor controller, the temperature value of the IGBT temperature sensor, the status flag of the IGBT temperature sensor, and the effective value of the phase current of the motor controller. The technical solution provided in this invention can improve the safety of the motor controller and enhance the acoustic comfort inside the vehicle. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 A flowchart illustrating a method for controlling a cooling fan of a motor controller, as provided in an embodiment of the present invention; Figure 2 A flowchart of a method for controlling the cooling fan of a motor controller when the cooling fan is in a closed state, provided in an embodiment of the present invention; Figure 3 A flowchart of a method for controlling the cooling fan of a motor controller when the cooling fan is in the on state, provided as an embodiment of the present invention; Figure 4 A schematic diagram of a control device for a cooling fan of a motor controller provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of a motor controller provided in an embodiment of the present invention. Detailed Implementation

[0019] To better understand the technical solution of the present invention, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0020] It should be understood that the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0021] The terminology used in the embodiments of this invention is for the purpose of describing particular embodiments only and is not intended to limit the invention. The singular forms “a,” “the,” and “the” as used in the embodiments of this invention and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0022] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0023] One embodiment of the present invention provides a control method for the cooling fan of a motor controller. Figure 1 A flowchart illustrating a control method for a cooling fan of a motor controller according to an embodiment of the present invention is shown below. Figure 1 As shown, the method includes: Step 102: Collect the temperature value of the IGBT temperature sensor, the effective value of the phase current of the motor controller, the status of the cooling fan of the motor controller, the working status of the motor controller, the status flag of the IGBT temperature sensor, and the motor stall status flag.

[0024] In this embodiment of the invention, each step can be executed by a motor controller.

[0025] In this embodiment of the invention, the following data can be collected periodically: the temperature value T_igbt (°C) of the IGBT temperature sensor, the effective value of the phase current I_phase (A) of the motor controller, the cooling fan status F_sts (0: off; 1: on; 2: fault) of the motor controller, the operating status M_sts (1: low voltage self-test passed; 2: high voltage self-test passed; 3: ready), the status flag Flt_igbt (0: normal; 1: fault) of the IGBT temperature sensor, and the stall status flag Stall_flag (0: normal; 1: stall).

[0026] Step 104: Based on the cooling fan status, control the cooling fan according to the motor stall status flag, the motor controller's operating status, the IGBT temperature sensor's temperature value, the IGBT temperature sensor's status flag, and the motor controller's effective phase current value.

[0027] In this embodiment of the invention, the cooling fan status may include a closed state, an open state, or a fault state.

[0028] Figure 2 A flowchart of a method for controlling the cooling fan of a motor controller when the cooling fan is in a closed state, as provided in an embodiment of the present invention, is shown below. Figure 2 As shown, step 104 includes: Step A1: When the cooling fan is in the off state, determine whether the motor stall status indicator is in the normal state or the stall state. If the motor stall status indicator is in the normal state, proceed to step A2; if the motor stall status indicator is in the stall state, proceed to step A5.

[0029] In this embodiment of the invention, if the motor stall status flag is determined to be in a normal state (Stall_flag==0), it indicates that the temperature rise of the motor controller is controllable, and there is no need to immediately turn on the cooling fan, so step A2 is executed; if the motor stall status flag is determined to be in a stall state (Stall_flag==1), it indicates that the temperature rise condition of the motor controller is very severe, which is the highest priority condition for turning on the cooling fan, and the cooling fan startup process needs to be entered directly, so step A5 is executed.

[0030] Step A2: Determine whether the motor controller is in the ready state. If yes, proceed to step A3; otherwise, proceed to step A7.

[0031] In this embodiment of the invention, if the working state of the motor controller is determined to be in the ready state (M_sts==3), it means that the vehicle is in the ready state at this time, and step A3 is executed; if the working state of the motor controller is determined to be not in the ready state (M_sts!=3), it means that the vehicle is in the non-ready state at this time, the driver has no intention of using the vehicle, the cooling fan of the motor controller should remain off, and step A7 is executed.

[0032] Step A3: Determine whether the status flag of the IGBT temperature sensor is normal or faulty. If the status flag of the IGBT temperature sensor is normal, proceed to step A4; if the status flag of the IGBT temperature sensor is faulty, proceed to step A6.

[0033] In this embodiment of the invention, if the status flag of the IGBT temperature sensor is determined to be a normal flag (Flt_igbt==0), the process of starting the sensorless cooling fan is initiated, and step A4 is executed; if the status flag of the IGBT temperature sensor is determined to be a fault flag (Flt_igbt==1), the process of starting the sensor-activated cooling fan is initiated, and step A6 is executed.

[0034] Step A4: Determine whether the effective value of the phase current of the motor controller is greater than the first phase current threshold. If yes, proceed to step A5; otherwise, proceed to step A7.

[0035] In this embodiment of the invention, the temperature value of the IGBT temperature sensor cannot be detected in real time in step A4, which poses a high risk of thermal runaway. It is necessary to determine whether to turn on the fan based on the effective value of the phase current of the motor controller. If the effective value of the phase current (I_phase) of the motor controller is greater than the first phase current threshold (I_phase1), the cooling fan is turned on and step A5 is executed. Otherwise, the cooling fan is kept off and step A7 is executed.

[0036] Step A5: Turn on the cooling fan. The process is now complete.

[0037] Step A6: The cooling fan is started in coordination with the temperature value of the IGBT temperature sensor and the effective value of the phase current of the motor controller, and the process ends.

[0038] Specifically, it can be determined whether the effective value of the phase current of the motor controller is greater than the second phase current threshold and whether the temperature value of the IGBT temperature sensor is greater than the first temperature threshold; if it is determined that the effective value of the phase current of the motor controller is greater than the second phase current threshold and the temperature value of the IGBT temperature sensor is greater than the first temperature threshold, the cooling fan is controlled to turn on; or, it can be determined whether the effective value of the phase current of the motor controller is greater than the first phase current threshold and whether the temperature value of the IGBT temperature sensor is greater than the second temperature threshold; if it is determined that the effective value of the phase current of the motor controller is greater than the first phase current threshold and the temperature value of the IGBT temperature sensor is greater than the second temperature threshold, the cooling fan is controlled to turn on; or, it can be determined whether the temperature value of the IGBT temperature sensor is greater than the third temperature threshold; if it is determined that the temperature value of the IGBT temperature sensor is greater than the third temperature threshold, the cooling fan is controlled to turn on, wherein the second phase current threshold is greater than the first phase current threshold, the first temperature threshold is less than the second temperature threshold, the second temperature threshold is less than the third temperature threshold, and the process ends.

[0039] In this embodiment of the invention, step A6 can normally detect the temperature value of the IGBT temperature sensor. The starting of the cooling fan needs to be controlled collaboratively based on the temperature value of the IGBT temperature sensor and the effective value of the phase current of the motor controller. When the effective value of the phase current of the motor controller (I_phase) > the second phase current threshold (I_phase2) (I_phase2 > I_phase1) and the temperature value of the IGBT temperature sensor (T_igbt) > the first temperature threshold (T_igbt1), or I_phase > I_phase1 and T_igbt > the second temperature threshold (T_igbt2) (T_igbt2 > T_igbt1), or T_igbt > the third temperature threshold (T_igbt3) (T_igbt3 > T_igbt2), the cooling fan is controlled to turn on; otherwise, the cooling fan remains off.

[0040] In this embodiment of the invention, the first phase current threshold (I_phase1) can be measured experimentally. It is the motor phase current corresponding to the torque limit after stall condition to prevent thermal runaway, or it can be 0.2 times the peak current. The second phase current threshold (I_phase2) can generally be 2 times I_phase1. T_igbt3, T_igbt2, and T_igbt1 can be measured experimentally using a calibration method. With 30℃ as the base value and 5℃ as the calibration step, the temperature is gradually increased, the cooling fan is turned on, and the motor controller is controlled to increase the current to the peak at a certain slope. When the calibration reaches the point where the motor controller experiences thermal runaway, the temperature value of the corresponding IGBT temperature sensor minus 5℃ is T_igbt3. With 30℃ as the base value and 5℃ as the calibration step, the temperature is gradually increased, and the motor controller is controlled to increase the current to the peak at a certain slope. The cooling fan is turned on at I_phase1. When the calibration reaches the point where the motor controller experiences thermal runaway, the temperature value of the corresponding IGBT temperature sensor minus 5℃ is T_igbt2. Using 30℃ as the base value and 5℃ as the calibration step, the temperature is gradually increased, and the motor controller is controlled to increase the current to the peak value at a certain slope. The cooling fan is turned on at I_phase2. When the calibration reaches the point where the motor controller experiences thermal runaway, the temperature value of the corresponding IGBT temperature sensor minus 5℃ is T_igbt1.

[0041] In this embodiment of the invention, the first phase current threshold, the second phase current threshold, the first temperature threshold, the second temperature threshold, and the third temperature threshold have fully taken into account the performance of the power module and various dynamic operating conditions, which can minimize the malfunction rate of the cooling fan.

[0042] Step A7: Keep the cooling fan off.

[0043] Figure 3 A flowchart of a method for controlling the cooling fan of a motor controller when the cooling fan is in the on state, as provided in an embodiment of the present invention, is shown below. Figure 3 As shown, the method includes: Step B1: When the cooling fan is on, determine whether the motor stall status indicator is in normal or stalled state. If the motor stall status indicator is in normal state, proceed to step B2; if the motor stall status indicator is in stalled state, proceed to step B7.

[0044] In this embodiment of the invention, it is determined whether the motor is in a stalled state. Stalled state is the highest priority condition for starting the cooling fan. If the motor stalled state flag is determined to be in a stalled state, the fan is kept on and step B7 is executed. If the motor stalled state flag is determined to be in a normal state, step B2 is executed.

[0045] Step B2: Determine whether the motor controller is in a ready state or a high-voltage self-test passed state. If yes, proceed to step B3; otherwise, proceed to step B6.

[0046] In this embodiment of the invention, when the motor controller is in a low-voltage self-test passed state (M_sts==1) (not completed state or high-voltage self-test passed state), it indicates that the electric drive system is in a low-voltage non-high-voltage operating state, and the vehicle is also in a state where it is not powered by high voltage. The power module is not working and does not generate heat accumulation. At this time, the cooling fan can be directly controlled to shut down, and step B6 can be executed to allow the motor controller to cool down naturally, avoiding unnecessary noise and energy loss. When the motor controller is in a ready-to-work state (M_sts==3) or a high-voltage self-test passed state (M_sts==2), it indicates that the motor controller is in a high-voltage state, and the power module is in a working or ready-to-work state, and step B3 can be executed.

[0047] Step B3: Obtain the running time of the cooling fan.

[0048] In this embodiment of the invention, when the status flag A of the cooling fan is 1 (on state), the following formula is used: Calculate the cooling fan's running time Tfan. Where Tclock is the clock signal when the cooling fan's status flag A == 1.

[0049] In this embodiment of the invention, the running time of the cooling fan can be counted to obtain the cooling fan running time count Cfan, and a counting threshold Ts can be set. When the accumulated value of Cfan reaches Ts, the next logical judgment is triggered; otherwise, the cooling fan remains on.

[0050] Step B4: When the cooling fan runs for longer than the set time threshold, determine whether the IGBT temperature sensor is in normal or fault condition, and whether the temperature value of the IGBT temperature sensor is less than the fourth temperature threshold.

[0051] In this embodiment of the invention, a time threshold can be set according to the actual situation, for example, the time threshold can be set to 10 seconds.

[0052] In this embodiment of the invention, the cooling fan's running time is timed from the start. When the cooling fan's running time Tfan is less than or equal to 10 seconds, the cooling fan remains on. 10 seconds is the hysteresis time from fan start-up to shutdown, preventing the cooling fan from frequently starting and stopping when the user is near the cooling fan's start-stop threshold, effectively suppressing noise and increasing service life. When the cooling fan's running time Tfan is greater than 10 seconds, the status flag of the IGBT temperature sensor is determined to be either normal or faulty, and the temperature value of the IGBT temperature sensor is checked against a fourth temperature threshold.

[0053] In this embodiment of the invention, a fourth temperature threshold can be set according to the actual situation. For example, the fourth temperature threshold can be the difference between the first temperature threshold and 5, i.e., T_igbt1-5.

[0054] In this embodiment of the invention, when the temperature value (T_igbt) of the IGBT temperature sensor is greater than or equal to the fourth temperature threshold (T_igbt1-5) and the status flag of the IGBT temperature sensor is a normal flag (Flt_IGBT==0), the IGBT temperature is high, and the cooling fan should be kept on. When the temperature value of the IGBT temperature sensor is less than the fourth temperature threshold (T_igbt1-5) or the status flag of the IGBT temperature sensor is a fault flag (Flt_IGBT==1), the IGBT temperature is low or the IGBT temperature sensor is faulty, and step B5 is executed.

[0055] Step B5: If the IGBT temperature sensor status flag is a fault flag or the temperature value of the IGBT temperature sensor is less than the fourth temperature threshold, determine whether the effective value of the phase current of the motor controller is less than the first phase current threshold. If yes, proceed to step B6; otherwise, proceed to step B7.

[0056] In this embodiment of the invention, when the effective value of the phase current (I_phase) is less than the first phase current threshold (I_phase 1), it indicates that the current driving condition is not severe and the temperature rise is controllable. In this case, the cooling fan is turned off and step B6 is executed. Otherwise, the cooling fan is kept on and step B7 is executed.

[0057] Step B6: Turn off the cooling fan. The process ends.

[0058] Step B7: Keep the cooling fan on.

[0059] The technical solution provided in this invention collects the temperature value of the IGBT temperature sensor, the effective value of the phase current of the motor controller, the status of the cooling fan of the motor controller, the operating status of the motor controller, the status flag of the IGBT temperature sensor, and the motor stall status flag. Based on the cooling fan status, the cooling fan is controlled according to the motor stall status flag, the operating status of the motor controller, the temperature value of the IGBT temperature sensor, the status flag of the IGBT temperature sensor, and the effective value of the phase current of the motor controller. The technical solution provided in this invention can improve the safety of the motor controller and enhance the acoustic comfort inside the vehicle.

[0060] The technical solution provided by the embodiments of the present invention significantly improves the reliability of IGBT thermal protection under the stall condition of the forced air-cooled motor controller. Without increasing costs, it achieves performance optimization of vehicle noise, vibration, and harshness (NVH), effectively reduces system energy consumption, and increases the service life of the cooling fan.

[0061] One embodiment of the present invention provides a control device for the cooling fan of a motor controller. Figure 4 This is a schematic diagram of a control device for a cooling fan of a motor controller according to an embodiment of the present invention, as shown below. Figure 4 As shown, the device includes a data acquisition module 11 and a fan execution module 12.

[0062] The data acquisition module 11 is used to acquire the temperature value of the IGBT temperature sensor, the effective value of the phase current of the motor controller, the status of the cooling fan of the motor controller, the working status of the motor controller, the status flag of the IGBT temperature sensor, and the motor stall status flag.

[0063] The fan execution module 12 is used to control the cooling fan based on the cooling fan status, according to the motor stall status flag, the operating status of the motor controller, the temperature value of the IGBT temperature sensor, the status flag of the IGBT temperature sensor, and the effective value of the phase current of the motor controller.

[0064] In this embodiment of the invention, the device further includes a judgment module 13.

[0065] When the cooling fan is in the off state, the judgment module 13 is specifically used to determine whether the motor stall status flag is in a normal state or a stall state; if the motor stall status flag is determined to be in a normal state, it determines whether the motor controller's working state is in a ready state; if the motor controller's working state is determined to be in a ready state, it determines whether the IGBT temperature sensor's status flag is a normal flag or a fault flag; if the IGBT temperature sensor's status flag is determined to be in a normal state, it determines whether the effective value of the phase current of the motor controller is greater than the first phase current threshold; if the effective value of the phase current of the motor controller is determined to be greater than the first phase current threshold, it controls the cooling fan to turn on.

[0066] In this embodiment of the invention, the determination module 13 is specifically used to: if the status flag of the IGBT temperature sensor is determined to be a fault flag, determine whether the effective value of the phase current of the motor controller is greater than a second phase current threshold, and whether the temperature value of the IGBT temperature sensor is greater than a first temperature threshold; if the effective value of the phase current of the motor controller is greater than the second phase current threshold, and the temperature value of the IGBT temperature sensor is greater than the first temperature threshold, control the cooling fan to turn on; or, if the status flag of the IGBT temperature sensor is determined to be a fault flag, determine whether the effective value of the phase current of the motor controller is greater than the first phase current threshold, and whether .... The system checks whether the temperature value is greater than a second temperature threshold. If it is determined that the effective value of the phase current of the motor controller is greater than the first phase current threshold, and the temperature value of the IGBT temperature sensor is greater than the second temperature threshold, the system controls the cooling fan to turn on. Alternatively, if it is determined that the status flag of the IGBT temperature sensor is a fault flag, the system checks whether the temperature value of the IGBT temperature sensor is greater than a third temperature threshold. If it is determined that the temperature value of the IGBT temperature sensor is greater than the third temperature threshold, the system controls the cooling fan to turn on. Wherein, the second phase current threshold is greater than the first phase current threshold, the first temperature threshold is less than the second temperature threshold, and the second temperature threshold is less than the third temperature threshold.

[0067] In this embodiment of the invention, the judgment module 13 is specifically used to keep the cooling fan off if it is determined that the effective value of the phase current of the motor controller is less than or equal to the first phase current threshold.

[0068] In this embodiment of the invention, when the cooling fan is in the on state, the judgment module 13 is specifically used to determine whether the motor stall status flag is in a normal state or a stall state; if the motor stall status flag is determined to be in a normal state, the module determines whether the motor controller's operating state is in a ready state or a high-voltage self-test passed state; if the motor controller's operating state is determined to be in a ready state or a high-voltage self-test passed state, the module obtains the cooling fan's running time; when the cooling fan's running time is greater than a set time threshold, the module determines whether the IGBT temperature sensor's status flag is a normal flag or a fault flag, and whether the IGBT temperature sensor's temperature value is less than a fourth temperature threshold; if the IGBT temperature sensor's status flag is a fault flag or the IGBT temperature sensor's temperature value is less than the fourth temperature threshold, the module determines whether the effective value of the motor controller's phase current is less than a first phase current threshold; if the effective value of the motor controller's phase current is determined to be less than the first phase current threshold, the module controls the cooling fan to shut down.

[0069] In this embodiment of the invention, the judgment module 13 is specifically used to keep the cooling fan on if it is determined that the status flag of the IGBT temperature sensor is a normal flag and the temperature value of the IGBT temperature sensor is greater than the fourth temperature threshold.

[0070] In this embodiment of the invention, the judgment module 13 is specifically used to keep the cooling fan on if it is determined that the effective value of the phase current of the motor controller is greater than or equal to the first phase current threshold.

[0071] The technical solution provided in this invention collects the temperature value of the IGBT temperature sensor, the effective value of the phase current of the motor controller, the status of the cooling fan of the motor controller, the operating status of the motor controller, the status flag of the IGBT temperature sensor, and the motor stall status flag. Based on the cooling fan status, the cooling fan is controlled according to the motor stall status flag, the operating status of the motor controller, the temperature value of the IGBT temperature sensor, the status flag of the IGBT temperature sensor, and the effective value of the phase current of the motor controller. The technical solution provided in this invention can improve the safety of the motor controller and enhance the acoustic comfort inside the vehicle.

[0072] The control device for the cooling fan of the motor controller provided in this embodiment of the invention can be used to achieve the above. Figure 1 The control method for the cooling fan of the motor controller is described in detail in the embodiments of the control method for the cooling fan of the motor controller described above, and will not be repeated here.

[0073] This invention provides a storage medium that includes a stored program. When the program runs, it controls the device where the storage medium is located to execute the steps of the control method for the cooling fan of the motor controller described above. For a detailed description, please refer to the embodiments of the control method for the cooling fan of the motor controller described above.

[0074] This invention provides a motor controller, including a memory and a processor. The memory stores information including program instructions, and the processor controls the execution of the program instructions. When the program instructions are loaded and executed by the processor, they implement the steps of the embodiment of the control method for the cooling fan of the motor controller described above. For a detailed description, please refer to the embodiment of the control method for the cooling fan of the motor controller described above.

[0075] Figure 5 This is a schematic diagram of a motor controller provided as an embodiment of the present invention. Figure 5As shown, the motor controller 20 of this embodiment includes a processor 21, a memory 22, and a computer program 23 stored in the memory 22 and executable on the processor 21. When the processor 21 executes the computer program 23, it implements the control method for the cooling fan of the motor controller in this embodiment. To avoid repetition, these methods will not be described in detail here. Alternatively, when the processor 21 executes the computer program, it implements the functions of each model / unit in the control device for the cooling fan of the motor controller in this embodiment. To avoid repetition, these functions will not be described in detail here.

[0076] The motor controller 20 includes, but is not limited to, a processor 21 and a memory 22. Those skilled in the art will understand that... Figure 5 This is merely an example of motor controller 20 and does not constitute a limitation on motor controller 20. It may include more or fewer components than shown, or combine certain components, or different components. For example, motor controller may also include input / output devices, network access devices, buses, etc.

[0077] The processor 21 may be a Central Processing Unit (CPU), or other general-purpose processors, 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, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0078] The memory 22 can be an internal storage unit of the motor controller 20, such as a hard drive or RAM of the motor controller 20. The memory 22 can also be an external storage device of the motor controller 20, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the motor controller 20. Furthermore, the memory 22 can include both internal storage units and external storage devices of the motor controller 20. The memory 22 is used to store computer programs and other programs and data required by the motor controller. The memory 22 can also be used to temporarily store data that has been output or will be output.

[0079] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0080] In the embodiments provided by this invention, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices or units through some interfaces, and may be electrical, mechanical, or other forms.

[0081] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0082] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0083] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0084] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for controlling a cooling fan of a motor controller, characterized in that, include: The system collects the temperature value from the IGBT temperature sensor, the effective value of the phase current of the motor controller, the status of the cooling fan of the motor controller, the operating status of the motor controller, the status flag of the IGBT temperature sensor, and the stall status flag of the motor. Based on the cooling fan status, the cooling fan is controlled according to the motor stall status flag, the operating status of the motor controller, the temperature value of the IGBT temperature sensor, the status flag of the IGBT temperature sensor, and the effective value of the phase current of the motor controller.

2. The method according to claim 1, characterized in that, When the cooling fan is in the off state, the cooling fan is controlled according to the motor stall status flag, the operating status of the motor controller, the temperature value of the IGBT temperature sensor, the status flag of the IGBT temperature sensor, and the effective value of the phase current of the motor controller, including: Determine whether the motor stall status flag is in a normal state or a stall state; If the motor stall status flag is determined to be in a normal state, determine whether the working state of the motor controller is in a ready state. If the motor controller is determined to be in a ready-to-work state, the status flag of the IGBT temperature sensor is determined to be either a normal flag or a fault flag. If the status flag of the IGBT temperature sensor is determined to be normal, determine whether the effective value of the phase current of the motor controller is greater than the first phase current threshold. If it is determined that the effective value of the phase current of the motor controller is greater than the first phase current threshold, the cooling fan is controlled to turn on.

3. The method according to claim 2, characterized in that, Also includes: If the status flag of the IGBT temperature sensor is determined to be a fault flag, determine whether the effective value of the phase current of the motor controller is greater than the second phase current threshold, and whether the temperature value of the IGBT temperature sensor is greater than the first temperature threshold. If it is determined that the effective value of the phase current of the motor controller is greater than the second phase current threshold and the temperature value of the IGBT temperature sensor is greater than the first temperature threshold, the cooling fan is controlled to turn on. or, If the status flag of the IGBT temperature sensor is determined to be a fault flag, determine whether the effective value of the phase current of the motor controller is greater than the first phase current threshold and whether the temperature value of the IGBT temperature sensor is greater than the second temperature threshold. If it is determined that the effective value of the phase current of the motor controller is greater than the first phase current threshold and the temperature value of the IGBT temperature sensor is greater than the second temperature threshold, the cooling fan is controlled to turn on. or, If the status flag of the IGBT temperature sensor is determined to be a fault flag, determine whether the temperature value of the IGBT temperature sensor is greater than the third temperature threshold. If the temperature value of the IGBT temperature sensor is determined to be greater than the third temperature threshold, the cooling fan is controlled to turn on. Wherein, the second phase current threshold is greater than the first phase current threshold, the first temperature threshold is less than the second temperature threshold, and the second temperature threshold is less than the third temperature threshold.

4. The method according to claim 2, characterized in that, Also includes: If it is determined that the effective value of the phase current of the motor controller is less than or equal to the first phase current threshold, the cooling fan is kept off.

5. The method according to claim 1, characterized in that, When the cooling fan is in the on state, controlling the cooling fan based on the motor stall status flag, the operating state of the motor controller, the temperature value of the IGBT temperature sensor, the status flag of the IGBT temperature sensor, and the effective value of the phase current of the motor controller includes: Determine whether the motor stall status flag is in a normal state or a stall state; If the motor stall status flag is determined to be in a normal state, determine whether the working state of the motor controller is in a ready state or a high voltage self-test passed state. If it is determined that the working state of the motor controller is either ready or high-voltage self-test passed, the running time of the cooling fan is obtained. When the running time of the cooling fan is greater than the set time threshold, it is determined whether the status flag of the IGBT temperature sensor is a normal flag or a fault flag, and whether the temperature value of the IGBT temperature sensor is less than the fourth temperature threshold. If it is determined that the status flag of the IGBT temperature sensor is a fault flag or the temperature value of the IGBT temperature sensor is less than the fourth temperature threshold, determine whether the effective value of the phase current of the motor controller is less than the first phase current threshold. If it is determined that the effective value of the phase current of the motor controller is less than the first phase current threshold, the cooling fan is controlled to shut down.

6. The method according to claim 5, characterized in that, Also includes: If the status flag of the IGBT temperature sensor is determined to be normal and the temperature value of the IGBT temperature sensor is greater than the fourth temperature threshold, the cooling fan is kept on.

7. The method according to claim 5, characterized in that, Also includes: If it is determined that the effective value of the phase current of the motor controller is greater than or equal to the first phase current threshold, the cooling fan is kept on.

8. A control device for a cooling fan of a motor controller, characterized in that, include: The data acquisition module is used to acquire the temperature value of the IGBT temperature sensor, the effective value of the phase current of the motor controller, the status of the cooling fan of the motor controller, the operating status of the motor controller, the status flag of the IGBT temperature sensor, and the stall status flag of the motor. The judgment module is used to control the cooling fan based on the cooling fan status, according to the motor stall status flag, the operating status of the motor controller, the temperature value of the IGBT temperature sensor, the status flag of the IGBT temperature sensor, and the effective value of the phase current of the motor controller.

9. A storage medium, characterized in that, The storage medium includes a stored program, wherein, when the program is executed, it controls the device containing the storage medium to perform the control method for the cooling fan of the motor controller according to any one of claims 1 to 7.

10. A motor controller, comprising a memory and a processor, wherein the memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions, characterized in that, When the program instructions are loaded and executed by the processor, they implement the steps of the control method for the cooling fan of the motor controller according to any one of claims 1 to 7.