Fault processing method and device for temperature sensor of motor controller
By switching to the current time limit protection algorithm when the motor controller temperature sensor fails, the current output time is controlled, and the power output weakening problem caused by the temperature sensor failure is solved, and the power output stability and the safety of the motor controller are achieved in the non-real overtemperature situation.
Patent Information
- Application Number
- CN202411997408.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-02
AI Technical Summary
When the temperature sensor of the motor controller fails, the vehicle needs to derating the rating, resulting in weakening of the power output and returning to the service station to replace or repair.
When the temperature sensor fails, determine whether there is a real overtemperature situation. If not, switch to the current time limit protection algorithm to control the output time of the target phase current to perform current output.
In the case of non-real overtemperature, the motor controller can still maintain power output, avoid power weakening caused by false overtemperature, and prevent the motor controller from being truly overtemperature.
Smart Images

Figure CN119921628A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a fault handling method and device for a motor controller temperature sensor. Background Art
[0002] In order to ensure the safe and stable operation of the motor controller and prevent the motor controller from overheating due to the heat generated during operation, the motor controller usually sets a temperature sensor circuit for temperature sampling. When the temperature sensor circuit of the motor controller has problems such as poor contact, disconnection, short circuit, and poor soldering of components, the temperature sensor fault will be triggered. According to the fault diagnosis strategy, when the temperature sensor fault is triggered, the vehicle needs to be derated. At this time, the vehicle needs to be returned to the service station to replace the motor controller or repair it to eliminate the fault and return to normal. Summary of the invention
[0003] In view of this, the present application provides a fault handling method and device for a motor controller temperature sensor, which can enable the motor controller to maintain power output in a non-real over-temperature situation.
[0004] In a first aspect, an embodiment of the present invention provides a method for handling a fault of a temperature sensor of a motor controller, the method comprising:
[0005] When a temperature sensor failure of the motor controller is detected, determining whether there is an over-temperature condition in which the temperature data is greater than or equal to the over-temperature threshold before the temperature sensor failure;
[0006] If there is no over-temperature, determine whether there is a fault in the vehicle cooling system or whether there is a stall fault in the motor;
[0007] If no faults exist, the target phase current is determined according to the driver's requested torque;
[0008] The current output is performed by controlling the output time of the target phase current.
[0009] In some embodiments, the current output is performed by controlling the output time of the target phase current, including:
[0010] Preset a number of current classification thresholds, and different current classification thresholds correspond to different output times;
[0011] Determine a target classification threshold corresponding to the target phase current among the plurality of current classification thresholds, the output time corresponding to the target classification threshold being the target output time;
[0012] After the target output time is output according to the target phase current, the output is performed according to the rated minimum continuous current of the motor controller.
[0013] In some embodiments, the preset current classification thresholds include:
[0014] Determining the plurality of current classification thresholds between the minimum continuous current rated by the motor controller and the peak current allowed by the motor controller;
[0015] The overtemperature of the motor controller is controlled by controlling the output time of the target phase current under different current classification thresholds.
[0016] In some embodiments, determining a target classification threshold corresponding to the target phase current among the plurality of current classification thresholds includes:
[0017] According to the order of the several current classification thresholds from small to large, the target classification threshold corresponding to the target phase current is determined by step-by-step judgment.
[0018] In some embodiments, the current output is performed by controlling the output time of the target phase current, including:
[0019] If the target phase current is less than or equal to the rated minimum continuous current of the motor controller, the output is continued according to the target phase current.
[0020] In some embodiments, the current output is performed by controlling the output time of the target phase current, including:
[0021] If the target phase current is greater than the peak current allowed by the motor controller, the output is performed according to the peak current for a set time, and then the output is performed according to the rated minimum continuous current of the motor controller.
[0022] In some embodiments, the method further comprises: determining a motor controller target temperature value according to the driver request torque;
[0023] The motor controller target temperature value is sent to the vehicle controller to control the coolant flow output according to the motor controller target temperature value.
[0024] In a second aspect, an embodiment of the present invention provides a fault handling device for a temperature sensor of a motor controller, comprising:
[0025] A detection module, used to detect a temperature sensor failure of a motor controller;
[0026] A judgment module, for judging whether there is an over-temperature condition in which the temperature data is greater than or equal to the over-temperature threshold before the temperature sensor fails when the detection module detects a fault in the temperature sensor of the motor controller; and for judging whether there is a fault in the vehicle cooling system or a stall fault in the motor in response to the absence of an over-temperature condition;
[0027] a determination module, configured to determine a target phase current according to a driver request torque in response to no fault in a cooling system of the vehicle or no stall fault in the motor;
[0028] The output module is used to output the current by controlling the output time of the target phase current.
[0029] In a third aspect, an embodiment of the present invention provides a fault handling device for a motor controller temperature sensor, comprising: a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, the device executes the method described in the first aspect or any one of the first aspects.
[0030] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the method described in the first aspect or any one of the first aspects.
[0031] The motor controller temperature sensor fault handling method and device provided by the embodiment of the present invention have at least the following beneficial effects:
[0032] In an embodiment of the present invention, when the motor controller detects a temperature sensor failure, the temperature sensor failure is first shielded; and it is determined whether the motor controller has a real overtemperature, whether the vehicle cooling system has a fault, or whether the motor has a stall fault. If the motor controller does not have a real overtemperature, the vehicle cooling system does not have a fault, and the motor does not have a stall fault, it switches to the current time limit protection algorithm. Under the current time limit protection algorithm, the motor controller outputs current by controlling the output time of the target phase current. By controlling the output time of the target phase current for current output, on the one hand, the motor controller can still maintain power output in the case of non-real overtemperature, and on the other hand, it can prevent the motor controller from having a real overtemperature during operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A flow chart of a method for troubleshooting a temperature sensor of a motor controller provided by an embodiment of the present invention;
[0034] Figure 2 A flow chart of a method for troubleshooting a temperature sensor of a motor controller provided by an embodiment of the present invention;
[0035] Figure 3 A flow chart of a method for outputting a target phase current provided by an embodiment of the present invention;
[0036] Figure 4A schematic diagram of the structure of a fault handling device for a temperature sensor of a motor controller provided by an embodiment of the present invention;
[0037] Figure 5 A schematic structural diagram of a fault handling device for a temperature sensor of a motor controller provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0039] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0040] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0041] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0042] The motor controller is one of the key components in electric vehicles. It is used to convert the electric energy stored in the power battery into the electric energy required to drive the motor according to instructions such as gear position, accelerator, and brake, so as to control the starting operation, forward and backward speed, climbing intensity and other driving conditions of the electric vehicle.
[0043] The motor controller releases a lot of heat during operation. To ensure that the motor controller works safely and stably and to prevent overheating due to heat accumulation, the motor controller usually sets a temperature sensor circuit for temperature sampling. When the temperature sensor of the motor controller fails, the motor controller controls the vehicle to operate at a reduced rating according to the fault diagnosis strategy. The vehicle needs to be returned to the service station to replace the motor controller or repair it before the fault can be eliminated and restored to normal.
[0044] In order to reduce the failure rate of the motor controller temperature sensor and improve the user experience, the current mainstream practices in the industry include: selecting connectors with high vibration resistance for the temperature sensor, and designing two circuits to sample the temperature sensor, that is, dual backup redundancy. This design in the related art will not only increase the hardware cost but also increase the size and weight of the motor controller.
[0045] In order to solve the above technical problems, an embodiment of the present invention provides a method for handling the fault of a motor controller temperature sensor. In this method, when the temperature sensor of the motor controller fails, the software algorithm of the motor controller is switched to identify whether the motor controller is actually overheated through the software algorithm. If the motor controller is not actually overheated, the limit operation is not performed, and the current time limit method of current*time integral is switched to perform diagnostic protection, so that the vehicle can still maintain normal power output when the motor controller is not actually overheated, without affecting the normal use of the user, and without the need to repair or replace parts.
[0046] See also Figure 1 , is a flow chart of a fault handling method for a motor controller temperature sensor provided in an embodiment of the present invention. Figure 1 The execution subject of the method shown is the motor controller, which is connected to the temperature sensor through a sampling loop. When the temperature sensor is not faulty, the motor controller samples the temperature data at a certain time interval through the sampling loop. When the temperature sensor fails, the motor controller switches to the software algorithm. Figure 1 As shown, the specific processing steps of the method include:
[0047] 101, when the motor controller detects a temperature sensor failure, it is determined whether there is an over-temperature situation in which the temperature data is greater than or equal to the over-temperature threshold before the temperature sensor fails. If not, it means that the motor controller does not have a real over-temperature situation, and continue to execute step 102. If before the temperature sensor fails, the temperature data collected by the temperature sensor of the motor controller is greater than or equal to the over-temperature threshold, it means that the motor controller has a real over-temperature situation, and the motor controller works according to the preset fault strategy limit.
[0048] 102, the motor controller determines whether there is a fault in the vehicle cooling system. If there is no fault in the vehicle cooling system, step 103 is executed; if there is a fault in the vehicle cooling system, the motor controller works according to the preset fault strategy limit.
[0049] 103, the motor controller determines whether the motor has a stall fault. If the motor does not have a stall fault, step 104 is executed; if the motor has a stall fault, the motor controller operates according to a preset fault strategy limit.
[0050] In an embodiment of the present invention, when the motor controller temperature sensor fails, if there is no actual overtemperature of the motor controller, vehicle cooling system failure, or motor stall failure, the motor controller temperature sensor failure can be shielded and the current time limit algorithm can be switched to perform current output.
[0051] 104 , determining a target phase current according to the driver's requested torque.
[0052] 105, current output is performed by controlling the output time of the target phase current.
[0053] In the embodiment of the present invention, the temperature sensor failure of the motor controller includes: an open circuit or short circuit failure of the temperature sensor, or an intermittent short circuit failure, etc.
[0054] In an embodiment of the present invention, when the motor controller detects a temperature sensor failure, it first shields the temperature sensor failure; then it determines whether there is an overtemperature condition, whether there is a fault in the vehicle cooling system, or whether there is a stall fault in the motor before the temperature sensor fails. If there is no overtemperature condition before the temperature sensor fails, the vehicle cooling system does not fail, and the motor does not have a stall fault, it switches to the current time limit protection algorithm. Under the current time limit protection algorithm, the motor controller outputs current by controlling the output time of the target phase current. By controlling the output time of the target phase current for current output, on the one hand, the motor controller can still maintain power output in a non-real overtemperature condition, and on the other hand, it can prevent the motor controller from having a real overtemperature during operation.
[0055] Among them, under the current time limit protection algorithm, the current output is performed by controlling the output time of the target phase current, specifically including: presetting a number of current classification thresholds, each current classification threshold corresponds to a corresponding output time. Determine the target classification threshold corresponding to the target phase current among the several current classification thresholds, and use the output time corresponding to the target classification threshold as the target output time. Output is performed according to the target phase current, and after the output time reaches the target output time, output is performed according to the rated minimum continuous current of the motor controller. According to this method, the motor controller can continue to operate for a long time under non-real over-temperature conditions, and the motor over-temperature damage problem will not occur, thereby achieving the protection purpose.
[0056] See also Figure 2 , is a flow chart of a method for troubleshooting a temperature sensor of a motor controller provided by an embodiment of the present invention. Figure 2 As shown, the execution subject of the method is a motor controller, and the processing steps include:
[0057] 201. After the vehicle is powered on, the motor controller performs self-checking.
[0058] 202, determine whether the motor controller temperature sensor is faulty. If so, execute step 203; if not, adopt real-time temperature detection and diagnosis protection strategy.
[0059] 203, determine whether there is an over-temperature condition before the temperature sensor fails. The over-temperature condition includes: the temperature data of the motor controller temperature sensor is greater than or equal to the over-temperature threshold. If there is no over-temperature condition, execute step 204; if there is an over-temperature condition, work according to the preset fault strategy limit.
[0060] 204, determine whether the vehicle cooling system is faulty. If not, execute step 205. If faulty, operate according to the preset fault strategy limit.
[0061] 205, determine whether the motor has a stall fault. If there is no stall fault, execute step 206. If there is a stall fault, operate according to the preset fault strategy limit.
[0062] When the motor controller temperature sensor fails, if there is no real over-temperature of the motor controller, no fault in the vehicle cooling system, and no stall fault in the motor, the motor controller temperature sensor fault can be shielded and the current time limit algorithm can be switched to perform current output. In the current time limit algorithm, multiple current classification thresholds can be preset, and each current classification threshold corresponds to a corresponding output time. For the specific execution process, see steps 206-210.
[0063] 206, determining a target phase current according to the driver's requested torque. Optionally, the target phase current corresponding to the driver's requested torque may be determined by looking up a table. Optionally, the motor controller target temperature value may also be determined by looking up a table according to the driver's requested torque. Thereafter, the motor controller target temperature value is sent to the vehicle controller, and the vehicle controller controls the coolant flow output according to the motor controller target temperature value.
[0064] 207 , according to the preset multiple current classification thresholds in ascending order, determine the target classification threshold corresponding to the target phase current by step-by-step judgment, and the target classification threshold corresponds to the corresponding target output time.
[0065] 208, outputting current according to the target phase current.
[0066] 209, determine whether the time for outputting according to the target phase current reaches the target output time. If it reaches, execute step 210; if not, continue to output according to the target phase current.
[0067] 210, output according to the minimum continuous current rated by the motor controller.
[0068] In the embodiment of the present invention, the target grading threshold corresponding to the target phase current is determined by judging the current grading threshold from small to large step by step, and then the target phase current is outputted for a limited time according to the target output time corresponding to the target grading threshold, and then the output is outputted according to the rated minimum continuous current of the motor controller after the target output time is reached. According to this method, the motor controller can be operated continuously for a long time in a non-real over-temperature situation, and the motor over-temperature damage problem will not occur, thereby achieving the protection purpose.
[0069] The preset multiple current classification thresholds include: the minimum continuous current I0 rated by the motor controller and the peak current I allowed by the motor controller p A plurality of current classification thresholds are determined, and different current classification thresholds correspond to different output times. The overtemperature of the motor controller is controlled by controlling the output time of the target phase current under different current classification thresholds.
[0070] See also Figure 3 , is a flow chart of a method for outputting control of a target phase current provided by an embodiment of the present invention. Figure 3 In the example given, the minimum continuous current I0 rated by the motor controller and the peak current I allowed by the motor controller p The determined current classification thresholds include: a first classification threshold I1, a second classification threshold I2, an nth classification threshold I n , where I0 <I1<I2<I n p , I1, I2, I n ,I p The corresponding output times are t1, t2, t3 and t n .
[0071] like Figure 3 As shown, according to the current classification threshold I0 <I1<I2<I n p The target classification threshold corresponding to the target phase current is determined by step-by-step judgment in order from small to large, and the target phase current is output according to the corresponding target output time corresponding to the target classification threshold, including:
[0072] 301 , determine whether the target phase current is less than or equal to the rated minimum continuous current I0 of the motor controller; if so, execute step 302 ; if not, execute step 303 .
[0073] 302, continuously output according to the target phase current.
[0074] 303 , determine whether the target phase current is less than or equal to the first classification threshold I1 ; if so, execute step 304 ; if not, execute step 306 .
[0075] 304 , output according to the target phase current and time the output time.
[0076] 305, determine whether the time for outputting according to the target phase current is greater than or equal to the output time t1. If so, continue to output according to the minimum continuous current I0. If not, continue to output according to the target phase current.
[0077] 306 , determining whether the target phase current is less than or equal to the second classification threshold value I2 ; if so, executing step 307 ; if not, executing step 309 .
[0078] 307 , output according to the target phase current and time the output time.
[0079] 308, determine whether the time for outputting according to the target phase current is greater than or equal to the output time t2. If yes, continue to output according to the minimum continuous current I0; if not, continue to output according to the target phase current.
[0080] 309, determine whether the target phase current is less than or equal to the nth classification threshold I n ; If so, execute step 310; if not, execute step 312.
[0081] 310, output according to the target phase current and time the output time.
[0082] 311, determine whether the time for outputting according to the target phase current is greater than or equal to the output time t3. If yes, continue to output according to the minimum continuous current I0; if not, continue to output according to the target phase current.
[0083] 312, determine whether the target phase current is less than or equal to the peak current I p ; If so, execute step 313; if not, execute step 315.
[0084] 313, output according to the target phase current and time the output time.
[0085] 314, determine whether the time for outputting according to the target phase current is greater than or equal to the output time t n If yes, the output is continued according to the minimum continuous current I0; if no, the output is continued according to the target phase current.
[0086] 315, according to the peak current I p Output is performed and the output time is timed.
[0087] 316, determine whether the time for outputting according to the peak current is greater than or equal to the output time t pIf yes, the output is continued according to the minimum continuous current I0; if no, the output is continued according to the peak current.
[0088] Corresponding to the above method, an embodiment of the present invention provides a fault handling device for a temperature sensor of a motor controller, such as Figure 4 As shown, the device comprises:
[0089] A detection module 401 is used to detect a temperature sensor failure of a motor controller;
[0090] The judgment module 402 is used to judge whether there is an over-temperature situation in which the temperature data is greater than or equal to the over-temperature threshold before the temperature sensor fails when the detection module detects that the temperature sensor of the motor controller fails; and is also used to judge whether there is a fault in the vehicle cooling system or whether there is a stall fault in the motor in response to the absence of the over-temperature situation;
[0091] A determination module 403 is used to determine a target phase current according to a driver's request torque in response to the vehicle cooling system not having a fault or the motor not having a stall fault;
[0092] The output module 404 is used to output the current by controlling the output time of the target phase current.
[0093] The fault handling device of the motor controller temperature sensor of the embodiment of the present invention can execute the fault handling method of the motor controller temperature sensor of the embodiment shown above. For the part not described in detail in the embodiment of the present invention, reference can be made to the relevant description of the method embodiment. The execution process and technical effects of the technical solution can be referred to the description in the method embodiment, which will not be repeated here.
[0094] See also Figure 5 , is a schematic diagram of a structure of a fault handling device for a motor controller temperature sensor provided by an embodiment of the present invention. The fault handling device for the motor controller temperature sensor may be, for example, a motor controller. Figure 5 As shown, the fault processing device 500 of the motor controller temperature sensor may include: a processor 501, a memory 502 and a communication unit 503. These components communicate through one or more buses. Those skilled in the art can understand that the structure of the fault processing device of the motor controller temperature sensor shown in the figure does not constitute a limitation on the embodiment of the present application. It can be a bus structure or a star structure, and can also include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0095] The communication unit 503 is used to establish a communication channel so that the fault handling device of the motor controller temperature sensor can communicate with other devices, receive user data sent by other devices or send user data to other devices.
[0096] The processor 501 is the control center of the fault handling device of the motor controller temperature sensor. It uses various interfaces and lines to connect various parts of the entire fault handling device. It runs or executes software programs, instructions, and / or modules stored in the memory 502, and calls the data stored in the memory to perform various functions and / or process data of the fault handling device of the motor controller temperature sensor. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of a plurality of packaged ICs with the same or different functions. For example, the processor 501 may include a central processing unit (CPU), a microcontroller unit (MCU), etc.
[0097] The memory 502 is used to store the execution instructions of the processor 501. The memory 502 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0098] When the execution instruction in the memory 502 is executed by the processor 501 , the fault handling device 500 for the motor controller temperature sensor can execute the fault handling method for the motor controller temperature sensor in the embodiment of the present invention.
[0099] In a specific implementation, the present application further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the fault handling method of the motor controller temperature sensor provided in the present application. The storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0100] In a specific implementation, the present application also provides a computer program product, wherein the computer program product includes executable instructions, and when the executable instructions are executed on a computer, the computer executes part or all of the steps in each embodiment of the fault handling method for the motor controller temperature sensor provided in the present application.
[0101] An embodiment of the present application also provides a non-temporary computer-readable storage medium, which stores computer instructions. The computer instructions enable the computer to execute the fault handling method for the motor controller temperature sensor provided in the embodiment of the present application.
[0102] The above-mentioned non-temporary computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (Read Only Memory; hereinafter referred to as: ROM), an erasable programmable read-only memory (ErasableProgrammable Read Only Memory; hereinafter referred to as: EPROM) or flash memory, optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0103] Those skilled in the art can clearly understand that the technology in the embodiments of the present application can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0104] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
Claims
1. A method for troubleshooting a temperature sensor of a motor controller, characterized in that: The method comprises: When a temperature sensor failure of the motor controller is detected, determining whether there is an over-temperature condition in which the temperature data is greater than or equal to the over-temperature threshold before the temperature sensor failure; If there is no over-temperature, determine whether there is a fault in the vehicle cooling system or whether there is a stall fault in the motor; If no faults exist, the target phase current is determined according to the driver's requested torque; The current output is performed by controlling the output time of the target phase current.
2. The method according to claim 1, characterized in that: The current output is performed by controlling the output time of the target phase current, comprising: Preset a number of current classification thresholds, and different current classification thresholds correspond to different output times; Determine a target classification threshold corresponding to the target phase current among the plurality of current classification thresholds, the output time corresponding to the target classification threshold being the target output time; After the target output time is output according to the target phase current, the output is performed according to the rated minimum continuous current of the motor controller.
3. The method according to claim 2, characterized in that The preset current classification thresholds include: Determining the plurality of current classification thresholds between the minimum continuous current rated by the motor controller and the peak current allowed by the motor controller; The overtemperature of the motor controller is controlled by controlling the output time of the target phase current under different current classification thresholds.
4. The method according to claim 2, characterized in that: The step of determining a target classification threshold corresponding to the target phase current among the plurality of current classification thresholds includes: According to the order of the several current classification thresholds from small to large, the target classification threshold corresponding to the target phase current is determined by step-by-step judgment.
5. The method according to any one of claims 2 to 4, characterized in that: The current output is performed by controlling the output time of the target phase current, comprising: If the target phase current is less than or equal to the rated minimum continuous current of the motor controller, the output is continued according to the target phase current.
6. The method according to any one of claims 2 to 4, characterized in that: The current output is performed by controlling the output time of the target phase current, comprising: If the target phase current is greater than the peak current allowed by the motor controller, the output is performed according to the peak current for a set time, and then the output is performed according to the rated minimum continuous current of the motor controller.
7. The method according to claim 1, characterized in that The method further includes: determining a motor controller target temperature value based on the driver request torque; The motor controller target temperature value is sent to the vehicle controller to control the coolant flow output according to the motor controller target temperature value.
8. A fault handling device for a motor controller temperature sensor, characterized in that: include: A detection module, used to detect a temperature sensor failure of a motor controller; A judgment module, for judging whether there is an over-temperature condition in which the temperature data is greater than or equal to the over-temperature threshold before the temperature sensor fails when the detection module detects a fault in the temperature sensor of the motor controller; and for judging whether there is a fault in the vehicle cooling system or a stall fault in the motor in response to the absence of an over-temperature condition; a determination module, configured to determine a target phase current according to a driver request torque in response to no fault in a cooling system of the vehicle or no stall fault in the motor; The output module is used to output the current by controlling the output time of the target phase current.
9. A fault handling device for a motor controller temperature sensor, characterized in that: include: A memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device where they are located executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.