Automotive motor control methods, computer devices and storage media

By detecting the real-time speed and torque of the motor and dynamically limiting the motor torque output, the problem of overheating and safety hazards caused by stalling in electric vehicles is solved, ensuring that power support can still be provided in stalled situations and improving emergency avoidance capabilities.

CN118769925BActive Publication Date: 2026-05-26GAC HONDA AUTOMOBILE CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GAC HONDA AUTOMOBILE CO LTD
Filing Date
2024-07-30
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Electric vehicles are prone to overheating due to the large current flowing through the motor when stalled, which can lead to a decrease in motor power or damage. Furthermore, current technology is insufficient to effectively detect and address stalling, causing electric vehicles to lose power and posing a safety hazard.

Method used

By detecting the real-time speed and torque of the motor, the stall state is determined, and the torque output is dynamically limited by a timer after stalling. Torque values ​​for multiple time periods are set to reduce the risk of overheating, and the control is optimized by combining driving scenarios and temperature sensors.

Benefits of technology

Effectively address motor stalling, reduce the risk of overheating, ensure the safety of motors and electric vehicles, ensure power support is still provided in stalled situations, and improve emergency response capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118769925B_ABST
    Figure CN118769925B_ABST
Patent Text Reader

Abstract

This invention discloses an automotive motor control method, a computer device, and a storage medium. The automotive motor control method includes steps such as, when a stalled condition is detected in the automotive motor, executing a timing function to obtain a timing value, and limiting the torque output of the automotive motor based on the timing value. This invention enables dynamic limitation of the automotive motor's torque output from the moment the motor stalls, based on the timing value (i.e., the duration of the stall). By dynamically limiting the motor's torque output, it effectively addresses stalled conditions, reduces motor heat generation, lowers the risk of motor burnout or damage to the electric vehicle or personal safety, and protects life and property. It also prevents the motor from momentarily losing torque output, allowing the electric vehicle to continue receiving power from the motor for a short period, providing the possibility for emergency avoidance maneuvers and ensuring driving safety. This invention has wide applications in the automotive technology field.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automotive technology, and in particular to an automotive motor control method, computer device, and storage medium. Background Technology

[0002] Electric vehicles (including pure electric vehicles and hybrid electric vehicles) use electric motors to convert the electrical energy output from the battery into mechanical energy, thereby driving the vehicle. Due to the complex operating environment of electric vehicles, motors may stall. Stalling occurs when, after being energized, the motor rotor cannot rotate due to various reasons (such as the electric vehicle being blocked by an obstacle, the load exceeding the rated range, or the axle being jammed by a foreign object). In this state, the motor still attempts to output torque, but the speed is very low or even zero. If a motor stalls, the large current flowing through it will cause it to overheat, resulting in reduced motor power, motor burnout, or even damage to the electric vehicle or its occupants. Therefore, timely and effective detection of motor stalling is necessary.

[0003] Because an electric motor experiences a dramatic temperature increase when it stalls, some current technologies use temperature sensors to detect its operating temperature and determine if a stall has occurred. If a stall is detected, methods such as cutting off power to the motor are used to cool it down. However, these technologies can easily cause electric vehicles to lose power, making it difficult for them to take emergency evasive action and posing a certain degree of danger. Summary of the Invention

[0004] In view of the technical problems of current automotive technology, such as the difficulty for electric vehicles to make emergency avoidance maneuvers when they lose power, and the resulting danger, the purpose of this invention is to provide an automotive motor control method, computer device, and storage medium.

[0005] On one hand, embodiments of the present invention include an automotive motor control method, the automotive motor control method comprising the following steps:

[0006] Test the operating condition of the car's motor;

[0007] When the vehicle motor is detected to be in a stalled state, a timing function is executed to obtain a timing value;

[0008] Based on the timing value, the torque output of the vehicle motor is limited.

[0009] Furthermore, the detection of the operating condition of the automotive motor includes:

[0010] Detect the real-time speed and real-time torque of the vehicle's motor;

[0011] Set the speed threshold and torque threshold;

[0012] When the real-time rotational speed is less than the rotational speed threshold and the real-time torque is greater than the torque threshold, it is determined that the vehicle motor is in a stalled state.

[0013] Furthermore, the detection of the operating condition of the automotive motor includes:

[0014] The car is located to obtain its location information;

[0015] The driving scenario is determined based on the location information;

[0016] When the driving scenario is in the preset scenario list, it is determined that the car motor is in a non-stalled operating condition.

[0017] Further, the process of obtaining a timing value during execution includes:

[0018] When the vehicle motor is detected to switch from a non-stalled state to a stalled state, a timer is started.

[0019] The actual time taken by the timer is used as the timing value.

[0020] Further, the process of obtaining a timing value during execution includes:

[0021] When the vehicle motor is detected to switch from a non-stalled state to a stalled state, a timer is started.

[0022] The equivalent timing is determined based on the actual timing of the timer;

[0023] The equivalent timing is used as the timing value.

[0024] Further, determining the equivalent timing based on the actual timing of the timer includes:

[0025] Detect the real-time speed and real-time torque of the vehicle's motor;

[0026] Set the speed threshold and torque threshold;

[0027] An equivalent coefficient is determined based on the real-time rotational speed, the real-time torque, the rotational speed threshold, and the torque threshold; the equivalent coefficient is positively correlated with the rotational speed threshold and the real-time torque, and negatively correlated with the real-time rotational speed and the torque threshold.

[0028] The equivalent time is determined based on the actual time and the equivalent coefficient; the equivalent time is positively correlated with the actual time and the equivalent coefficient.

[0029] Furthermore, limiting the torque output of the vehicle motor based on the timing value includes:

[0030] Multiple time periods are defined; each time period corresponds to a corresponding torque value, and the torque value is negatively correlated with the magnitude of the endpoint of the corresponding time period.

[0031] Determine the time period in which the timing value falls;

[0032] Based on the time period in which the timing value is located, the corresponding torque value is determined as the maximum torque;

[0033] The maximum torque output of the vehicle motor is determined based on the maximum torque.

[0034] Furthermore, the setting of multiple time periods includes:

[0035] Obtain information about the vehicle's driving tasks;

[0036] Based on the driving task information, determine the torque requirement information;

[0037] Based on the torque demand information, at least one torque value is determined;

[0038] Keep the products corresponding to each torque value equal, and set the duration of the corresponding time period according to the torque value; wherein, the product corresponding to the torque value is the product of the torque value and the duration of the corresponding time period.

[0039] On the other hand, embodiments of the present invention also include a computer device, including a memory and a processor, the memory for storing at least one program, and the processor for loading at least one program to execute the automotive motor control method of the embodiments.

[0040] On the other hand, embodiments of the present invention also include a computer-readable storage medium storing a processor-executable program, which, when executed by a processor, is used to perform the automotive motor control method in the embodiments.

[0041] The beneficial effects of this invention are as follows: The automotive motor control method described in the embodiments enables dynamic limitation of the motor's torque output from the moment the motor stalls, based on a timing value representing the duration of the stall. By limiting the motor's torque output, stall conditions can be effectively addressed, reducing motor heat generation and thus lowering the risk of motor burnout, damage to the electric vehicle, or personal injury, thereby ensuring the safety of life and property. Furthermore, dynamically limiting the motor's torque output prevents the motor from instantly losing its torque output, allowing the electric vehicle to continue receiving power for a short period, thus providing the possibility for emergency avoidance maneuvers and ensuring driving safety. Attached Figure Description

[0042] Figure 1This is a schematic diagram of the vehicle system structure for which the automotive motor control method can be applied in the embodiment;

[0043] Figure 2 This is a schematic diagram of the steps of the automobile motor control method in the embodiment;

[0044] Figure 3 This is a flowchart illustrating steps S301-S304 in the embodiment;

[0045] Figure 4 This is a schematic diagram illustrating the correspondence between time periods and torque values ​​in the embodiment.

[0046] Figure 5 This is a schematic diagram illustrating the principle of determining the torque value and the duration of the time period in the embodiment. Detailed Implementation

[0047] In this embodiment, the automotive motor control method can be applied to... Figure 1 The vehicle infotainment system shown.

[0048] Reference Figure 1 A vehicle infotainment system that can apply automotive motor control methods includes a control module, a motor drive module, a motor, a speed sensor, a temperature sensor, a torque calculation module, and a positioning module. The control module is a component with functions such as data acquisition, data processing, data output, and control; specifically, it can be an Electronic Control Unit (ECU). The motor drive module receives control commands from the control module and electrical energy from the power battery, and delivers electrical energy to the motor according to the control commands. The motor converts the electrical energy output from the motor drive module into mechanical energy to drive the electric vehicle. The motor drive module controls the motor by changing the parameters of the electrical energy delivered to it. The speed sensor detects the spindle speed of the motor during operation, the temperature sensor detects the temperature of the motor during operation, the torque calculation module determines the output torque of the motor by detecting parameters such as the motor's operating current and, based on the correspondence between these parameters and torque, by looking up tables, etc., the positioning module detects the location of the electric vehicle using satellite positioning technology.

[0049] In this embodiment, refer to Figure 2 The automotive motor control method includes the following steps:

[0050] S1. Inspect the operating condition of the car's motor;

[0051] S2. When the vehicle motor is detected to be in a stalled state, a timing function is executed to obtain the timing value;

[0052] S3. Limit the torque output of the car motor based on the timing value.

[0053] Each step in the automotive motor control method can be executed by a control module installed on the vehicle.

[0054] An electric vehicle may be equipped with multiple motors. In this embodiment, when referring to a motor, unless otherwise specified, it can refer to one of the motors. By performing steps S1-S3 on each motor separately, control of multiple motors can be achieved.

[0055] In step S1, the control module can call the speed sensor and torque calculation module to detect the operating condition of the vehicle motor. Step S1 is to detect whether the motor is in a stalled state; that is, the result of executing step S1 may be that the motor is detected to be in a stalled state or in a non-stalled state. A stalled state indicates that the motor has stalled, while a non-stalled state is any operating condition other than a stalled state, indicating that the motor is not stalled.

[0056] When the control module detects that the car motor is in a stalled state during step S1, the control module executes step S2 to perform timing and obtain timing values.

[0057] Specifically, when the control module executes step S2, it can call its integrated timer to perform timing and obtain timing values.

[0058] Specifically, before executing step S2, the control module can reset the timer to zero, so that the timer starts counting from zero when step S2 is executed. The time value obtained by the timer can be expressed in units such as seconds or milliseconds, representing the duration from the start of step S2 to the present.

[0059] Step S3 is executed after step S2, and it can be executed at multiple different times, not fixed at certain times. Each execution of step S3 generates a timing value, which the control module uses to limit the torque output of the vehicle's motor. As time progresses, the timing value is updated with each execution of step S3, allowing the control module to dynamically limit the torque output of the vehicle's motor.

[0060] In this embodiment, after executing step S2, as long as the vehicle motor is not detected to be in a non-stalled state, it is assumed that the vehicle motor is in a stalled state. The control module continuously counts the time through a timer, that is, the time value represents the duration of the vehicle motor stalling.

[0061] In this embodiment, after executing step S2, if it is detected that the car motor is in a non-stalled state, the control module can clear the timer and re-execute step S1.

[0062] In this embodiment, when executing step S3, the control module determines the maximum torque of the car motor based on the timing value obtained in the current execution step S3. The control module adjusts the operating parameters of the motor drive module so that the voltage, current and other parameters output by the motor drive module to the motor are limited to a certain range, so that the torque output by the motor will not exceed the maximum torque determined in the current execution step S3.

[0063] The method by which the motor drive module controls the motor's torque is determined by the motor's product characteristics. For example, the torque output of some motors is proportional to the product of the voltage and current output by the motor drive module. In this way, the motor drive module can determine the motor's output torque by controlling the motor's operating voltage and current, and limit the motor's output torque to the maximum torque range determined in the current execution step S3.

[0064] In this embodiment, by executing steps S1-S3, the torque output of the vehicle motor can be dynamically limited from the moment the vehicle motor stalls, based on the timing value, i.e., the duration of the stall. By limiting the torque output of the vehicle motor, the stall condition can be effectively addressed, reducing the heat generated by the vehicle motor and thus lowering the risk of motor burnout, damage to the electric vehicle, or personal safety, thereby ensuring the safety of life and property. By dynamically limiting the torque output of the vehicle motor, the instantaneous loss of torque output by the vehicle motor can be avoided, allowing the electric vehicle to still receive power from the motor for a short period of time, thereby providing the possibility of making emergency avoidance actions and ensuring driving safety.

[0065] In this embodiment, when the control module executes step S1, which is to detect the operating condition of the car motor, it can specifically perform the following steps:

[0066] S101. Detect the real-time speed and real-time torque of the car's motor;

[0067] S102. Set the speed threshold and torque threshold;

[0068] S103. When the real-time speed is less than the speed threshold and the real-time torque is greater than the torque threshold, the vehicle motor is determined to be in a stall condition.

[0069] In step S101, the control module calls the speed sensor to detect the real-time speed of the car motor; the control module calls the torque calculation module to detect the real-time torque of the car motor.

[0070] In step S102, the control module sets a speed threshold and a torque threshold. The speed threshold measures the relative magnitude of the real-time speed; for example, if the real-time speed is greater than the speed threshold, it can be determined that the real-time speed is relatively high, and if the real-time speed is less than the speed threshold, it can be determined that the real-time speed is relatively low. The torque threshold measures the relative magnitude of the real-time torque; for example, if the real-time torque is greater than the torque threshold, it can be determined that the real-time torque is relatively high, and if the real-time torque is less than the torque threshold, it can be determined that the real-time torque is relatively low.

[0071] In step S103, the control module compares the real-time rotational speed with the rotational speed threshold and the real-time torque with the torque threshold.

[0072] If the control module determines that the real-time speed is less than the speed threshold and the real-time torque is greater than the torque threshold, that is, if the real-time speed is low and the real-time torque is high, then the control module can determine that the car motor is in a stalled state, that is, the car motor is stalled.

[0073] In this embodiment, the principle of executing steps S101-S103 is as follows: In steps S101-S103, the real-time speed and real-time torque are used to determine whether the vehicle motor is in a stall condition, without needing to determine whether the vehicle motor is in a stall condition based on the operating temperature of the vehicle motor. Temperature sensors generally have a large delay, and motors have strong thermal inertia. Therefore, determining whether the vehicle motor is in a stall condition based on the operating temperature of the vehicle motor has disadvantages such as poor real-time stall detection. Executing steps S101-S103 can improve the real-time performance of stall detection.

[0074] In this embodiment, when the control module executes step S1, which is to detect the operating condition of the car motor, it can specifically perform the following steps:

[0075] S105. Locate the vehicle and obtain location information;

[0076] S106. Determine the driving scenario based on the location information;

[0077] S107. When the driving scenario is in the preset scenario list, determine that the car motor is in a non-stalled operating condition.

[0078] In step S105, the control module can call the positioning module to locate the vehicle and obtain positioning information. The positioning information indicates the current location of the vehicle.

[0079] In step S106, the driving scenario can be determined based on the location information, such as urban roads, highways, underground parking garages, or unpaved roads. The location information can also be used to determine the slope of the vehicle's location and whether there are obstacles, among other driving scenarios.

[0080] In step S107, a scenario list can be preset. The scenario list includes specific driving scenarios in which the vehicle's motor is likely to be under high load; that is, in these driving scenarios, the vehicle's motor being in a stalled state is considered normal. For example, the scenario list may include unpaved roads, off-road tracks, and specific steep slope locations.

[0081] In step S107, it can be checked whether the driving scenario obtained in step S106 is included in the scenario list. If the driving scenario obtained in step S106 is included in the scenario list, it indicates that the car is currently in these specific driving scenarios, and it is normal for the car's motor to be in a stalled state. At this time, the control module determines that the car's motor is in a non-stalled state, and the control module will not execute step S3, that is, it will not limit the torque output of the car's motor. This allows the car's motor to output torque without being limited by the control module, enabling the car to perform driving tasks in specific driving scenarios.

[0082] By executing steps S105-S107, the flexibility of the automotive motor control method and its adaptability to different driving scenarios can be improved.

[0083] In this embodiment, when the control module executes step S2, which is the step of obtaining the timing value, it can specifically perform the following steps:

[0084] S201A. When the vehicle motor is detected to switch from a non-stalled state to a stalled state, the timer is activated to start timing;

[0085] S202A. Use the actual time of the timer as the timing value.

[0086] Steps S201A-S202A are the first execution method of step S2.

[0087] In steps S201A-S202A, starting from the moment the car motor switches from a non-stalled state to a stalled state, the control module calls the timer to start timing, and uses the actual time of the timer as the timing value used in step S3.

[0088] Through steps S201A-S202A, the actual timing of the timer can be used as the timing value, that is, the timing value used in step S3 is the duration of the stall of the car motor.

[0089] In this embodiment, when the control module executes step S2, which is the step of obtaining the timing value, it can specifically perform the following steps:

[0090] S201B. When the vehicle motor is detected to switch from a non-stalled state to a stalled state, a timer is invoked to start timing;

[0091] S202B. Determine the equivalent timing based on the actual timing of the timer;

[0092] S203B. Use equivalent timing as the timing value.

[0093] Steps S201B-S203B are the second execution method of step S2.

[0094] The principle of step S201B is the same as that of step S201A, and it can obtain the actual timing of the timer.

[0095] In steps S202B-S203B, the actual time of the timer is not directly used as the timing value. Instead, an equivalent time is calculated based on the actual time of the timer, and then the equivalent time is used as the timing value.

[0096] In this embodiment, when the control module executes step S202B, which is the step of determining the equivalent time based on the actual time of the timer, it can specifically perform the following steps:

[0097] S20201. Detect the real-time speed and real-time torque of the car's motor;

[0098] S20202. Set the speed threshold and torque threshold;

[0099] S20203. Determine the equivalent coefficients based on real-time speed, real-time torque, speed threshold, and torque threshold;

[0100] S20204. Determine the equivalent time based on the actual time and the equivalent coefficient.

[0101] The principle of steps S20201-S20202 is the same as that of steps S101-S102.

[0102] In step S20203, equivalent coefficients are calculated based on real-time speed, real-time torque, speed threshold, and torque threshold. The equivalent coefficients are positively correlated with the speed threshold and real-time torque, and negatively correlated with the real-time speed and torque threshold.

[0103] For example, the equivalent coefficient can be calculated using the following formula:

[0104]

[0105] Since the speed threshold and torque threshold are generally constants, the calculated equivalent coefficients are negatively correlated with the real-time speed and positively correlated with the real-time torque.

[0106] In step S20204, the equivalent time is calculated based on the actual time and the equivalent coefficient. The equivalent time is positively correlated with both the actual time and the equivalent coefficient.

[0107] For example, equivalent timing can be calculated using the following formula:

[0108] Equivalent time = Actual time × Equivalent coefficient

[0109] The equivalent timing calculated through steps S20201-S20204 is used as the timing value obtained in step S2, and is used to limit the torque output of the car motor when executing step S3.

[0110] In this embodiment, the principle of executing steps S20201-S20204 is as follows: the equivalent coefficient is positively correlated with the speed threshold and real-time torque, and negatively correlated with the real-time speed and torque threshold. Furthermore, the equivalent time is positively correlated with the actual time and the equivalent coefficient. Therefore, the calculated equivalent time is positively correlated with the speed threshold and real-time torque, and negatively correlated with the real-time speed and torque threshold. Thus, the stronger the stall condition, the smaller the real-time speed and the larger the real-time torque will be. Consequently, the greater the expansion of the equivalent time relative to the actual time, the shorter the time required to execute step S3 to limit the torque output of the vehicle motor. Moreover, the stronger the stall condition, the faster the process of limiting the torque output of the vehicle motor will be, thereby effectively dealing with the already occurred motor stall condition and reducing the danger caused by motor stall.

[0111] In this embodiment, when the control module executes step S3, which is to limit the torque output of the car motor based on the timing value, it can specifically perform the following steps:

[0112] S301. Set multiple time periods;

[0113] S302. Determine the time period in which the timing value is located;

[0114] S303. Determine the corresponding torque value as the maximum torque based on the time period in which the timing value is located;

[0115] S304. Determine the maximum torque output of the automotive motor based on the maximum torque.

[0116] The process of steps S301-S304 is as follows: Figure 3 As shown.

[0117] Reference Figure 3When performing steps S1-S2, a speed indicator signal Stall speedfig and a torque indicator signal Stall Torquerqfig can be set. If the real-time speed speed is less than the speed threshold (e.g., 150 rpm, corresponding to a vehicle speed of 2 km / h), then the speed indicator signal Stall speedfig is set to 1, i.e., Stall speedfig = 1. Conversely, if the real-time speed speed is greater than 170 rpm and greater than the speed threshold, then the speed indicator signal Stall speedfig is set to 0, i.e., Stall speedfig = 0. If the real-time torque TORQUERQ is greater than the torque threshold (e.g., 100 rpm), then the torque indicator signal Stall Torquerqfig is set to 1, i.e., Stall Torquerqfig = 1. Conversely, if the real-time torque TORQUERQ is less than 80 Nm and less than the torque threshold, then the torque indicator signal Stall Torquerqfig is set to 0, i.e., Stall Torquerqfig = 0.

[0118] Reference Figure 3 When executing steps S1-S2, if the speed indicator signal Stall speed fig = 1 and the torque indicator signal Stall Torquerq fig = 1 are both true, it indicates that the vehicle motor is in a stalled state. Step S2 is executed to call the timer to obtain the timing value Stall Cntl, and steps S301-S304 are then executed. Otherwise, it indicates that the vehicle motor is in a non-stalled state. The control module clears the timing value Stall Cntl to zero and removes the limitation on the motor torque output.

[0119] Reference Figure 3 As shown in Table 1, in step S301, multiple time periods can be set, such as [0, 3s), [3s, 15s), [15s, 25s), [25s, 40s), [40s, ∞). Each time period has a corresponding torque value, and the torque value is negatively correlated with the magnitude of the endpoints of the corresponding time period.

[0120] For example, the correspondence between the time periods and torque values ​​in Table 1 can be expressed as follows: Figure 4 As shown in the graph, each time period has a corresponding torque value; moreover, the left endpoints (or right endpoints) of multiple time periods such as [0, 3s), [3s, 15s), [15s, 25s), [25s, 40s), [40s, ∞) increase sequentially, while their corresponding torque values ​​decrease sequentially.

[0121] Reference Figure 3According to Table 1, in step S302, it is determined which time period the timing value Stall Cntl falls within.

[0122] Table 1

[0123] Serial Number The time period in which the timing value is located Torque value 1 [0,3s) >180Nm 2 [3s, 15s) 180Nm 3 [15s, 25s] 160Nm 4 [25s, 40s] 140Nm 5 [40s,∞) 80Nm

[0124] For example, if the timing value Stall Cntl = 4s, then the timing value Stall Cntl is determined to be within the time period [3s, 15s] of the sequence number 2 in Table 1.

[0125] In step S303, the control module determines the corresponding torque value as the maximum torque based on the time period in which the timing value falls. For example, if the timing value Stall Cntl = 4s, then the control module finds the torque value in Table 1 to be 180Nm, thus determining the maximum torque as 180Nm.

[0126] In step S304, the control module determines the maximum torque output of the vehicle motor based on the maximum torque. For example, if the timing value Stall Cntl = 4s, then the control module limits the torque output of the vehicle motor to less than or equal to 180Nm.

[0127] In this embodiment, by executing steps S301-S304, the maximum torque output of the car motor can be gradually limited as the timing value increases, so that the torque output of the car motor will not drop sharply, but will drop more smoothly, thereby providing the necessary torque for the car to make emergency avoidance actions and ensuring driving safety.

[0128] In this embodiment, refer to Figure 3 The control module can call the temperature sensor to detect the motor temperature EMSTATOR and set a temperature threshold (e.g., 105℃) to judge the magnitude of the motor temperature EMSTATOR. For example, if the motor temperature EMSTATOR is greater than the temperature threshold, it is determined that the motor temperature EMSTATOR is too high; if the motor temperature EMSTATOR is less than the temperature threshold, it is determined that the motor temperature EMSTATOR is normal.

[0129] Reference Figure 3The control module compares the motor's temperature EMSTATOR with a temperature threshold. If the motor's temperature EMSTATOR is greater than the temperature threshold of 105°C, it is determined that the motor's temperature EMSTATOR is too high. In this case, steps S301-S304 are executed to limit the motor's torque output based on the value of the timing value Stall Cntl. If the motor's temperature EMSTATOR is less than the temperature threshold of 105°C, it is determined that the motor's temperature EMSTATOR is normal. In this case, the control module does not execute steps S301-S304, thus not limiting the motor's torque output. Alternatively, if steps S301-S304 have already been executed, the limitation on the motor's torque output is lifted, allowing the motor's torque output to be unrestricted.

[0130] With the limitation on the motor's torque output removed, the control module can respond to any torque output command within the motor's rated operating range. For example, assuming the motor's rated operating range allows for a torque output of 200 Nm, when the motor's torque output is limited, refer to... Figure 3 Based on the value of StallCntl, the motor's torque output is limited to a maximum value of 180Nm, 160Nm, 140Nm, 80Nm, etc. Even if the control module receives a torque output command of 200Nm, it will control the motor to output torque not exceeding the above maximum values. However, when the limitation on the motor's torque output is lifted, if the control module receives a torque output command of 200Nm, it will call the motor drive module to drive the motor to output a torque of 200Nm.

[0131] By removing the torque output limit on the motor when the detected motor temperature is below a threshold, the motor's performance can be maximized while ensuring safe operation, thereby guaranteeing the vehicle's performance.

[0132] In this embodiment, when performing step S301, which is to set multiple time periods, each time period can be set to be of equal length.

[0133] In this embodiment, when performing step S301, which is the step of setting multiple time periods, the following steps can be performed:

[0134] S30101. Obtain vehicle driving task information;

[0135] S30102. Determine torque requirement information based on driving task information;

[0136] S30103. Determine at least one torque value based on the torque requirement information;

[0137] S30104. Keep the product of each torque value equal, and set the duration of the corresponding time period according to the torque value.

[0138] In step S30101, the control module can determine the vehicle's driving task information based on the driving scenario obtained in step S106. The driving task information indicates that the electric vehicle needs to perform operations such as off-road driving, highway driving, or driving on steep inclines.

[0139] In step S30102, the control module can determine the torque requirement information based on the driving task information. The torque requirement information indicates the torque required from the motor to complete the driving task indicated by the driving task information in the future.

[0140] In step S30103, refer to Figure 5 The torque requirement information indicates that the maximum torque required is M1, M2, M3, M4, M5, etc.

[0141] In step S30104, refer to Figure 5 Assuming the duration of the time period corresponding to a torque value of size M1 is T1 (meaning that the maximum torque output of the motor is limited to M1 within the time period of duration T1), the duration of the time period corresponding to a torque value of size M2 is T2, the duration of the time period corresponding to a torque value of size M3 is T3, the duration of the time period corresponding to a torque value of size M4 is T4, and the duration of the time period corresponding to a torque value of size M5 is T5, then the products corresponding to these torque values ​​are as follows: M1 corresponds to S1 = M1 × T1, M2 corresponds to S2 = M2 × T2, M3 corresponds to S3 = M3 × T3, M4 corresponds to S4 = M4 × T4, and M5 corresponds to S5 = M5 × T5.

[0142] In step S30104, keep S1=S2=S3=S4=S5, and calculate the values ​​of T1, T2, T3, T4, and T5 respectively.

[0143] In this embodiment, the principle of executing steps S30101-S30104 is as follows: by setting the duration of each torque value and the corresponding time period in a way that keeps the corresponding area equal, the duration of each torque value and the corresponding time period can be inversely proportional, that is, the larger the torque value, the shorter the duration. In this way, while providing torque, the duration of the motor's large torque output is reduced, ensuring the motor's safe operation in a stalled state.

[0144] A computer program for executing the automotive motor control method in this embodiment can be written into a computer device or storage medium. When the computer program is read out and run, the automotive motor control method in this embodiment is executed, thereby achieving the same technical effect as the automotive motor control method in the embodiment.

[0145] It should be noted that, unless otherwise specified, when a feature is referred to as "fixed" or "connected" to another feature, it can be directly fixed or connected to the other feature, or indirectly fixed or connected to the other feature. Furthermore, the descriptions of "upper," "lower," "left," and "right" used in this disclosure are only relative to the relative positional relationships of the components of this disclosure in the accompanying drawings. The singular forms "a," "an," and "the" used in this disclosure are also intended to include the plural forms, unless the context clearly indicates otherwise. Moreover, unless otherwise defined, all technical and scientific terms used in this embodiment have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this embodiment specification is only for describing particular embodiments and is not intended to limit the invention. The term "and / or" as used in this embodiment includes any combination of one or more of the associated listed items.

[0146] It should be understood that although the terms first, second, third, etc., may be used to describe various elements in this disclosure, these elements should not be limited to these terms. These terms are only used to distinguish elements of the same type from each other. For example, a first element may also be referred to as a second element without departing from the scope of this disclosure, and similarly, a second element may also be referred to as a first element. The use of any and all instances or exemplary language (“e.g.,” “such as,” etc.) provided in this embodiment is intended only to better illustrate embodiments of the invention and, unless otherwise required, does not impose a limitation on the scope of the invention.

[0147] It should be recognized that embodiments of the present invention can be implemented or carried out by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable storage medium. The method can be implemented using standard programming techniques—including a non-transitory computer-readable storage medium configured with a computer program, wherein such a storage medium causes the computer to operate in a specific and predefined manner—according to the methods and drawings described in the specific embodiments. Each program can be implemented in a high-level procedural or object-oriented programming language to communicate with the computer system. However, if desired, the program can be implemented in assembly or machine language. In any case, the language can be a compiled or interpreted language. Furthermore, for this purpose, the program can run on a programmed application-specific integrated circuit (ASIC).

[0148] Furthermore, the procedures described in this embodiment can be performed in any suitable order unless otherwise indicated by this embodiment or clearly contradicted by the context. The procedures (or variations and / or combinations thereof) described in this embodiment can be executed under the control of one or more computer systems configured with executable instructions, and can be implemented by hardware or a combination thereof as code (e.g., executable instructions, one or more computer programs, or one or more applications) that commonly executes on one or more processors. A computer program includes multiple instructions executable by one or more processors.

[0149] Furthermore, the method can be implemented in any suitable type of computing platform, including but not limited to personal computers, minicomputers, mainframes, workstations, networked or distributed computing environments, standalone or integrated computer platforms, or in communication with charged particle tools or other imaging devices, etc. Aspects of the invention can be implemented as machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optical read and / or write storage medium, RAM, ROM, etc., such that it is readable by a programmable computer, and when the storage medium or device is read by the computer, it can be used to configure and operate the computer to perform the processes described herein. Furthermore, the machine-readable code, or portions thereof, can be transmitted via wired or wireless networks. The invention of this embodiment includes these and other different types of non-transitory computer-readable storage media when such media comprises instructions or programs that implement the steps above in conjunction with a microprocessor or other data processor. When programmed according to the methods and techniques of the invention, the invention also includes the computer itself.

[0150] A computer program can be applied to input data to perform the functions of this embodiment, thereby transforming the input data to generate output data stored in non-volatile memory. The output information can also be applied to one or more output devices, such as a display. In a preferred embodiment of the invention, the transformed data represents physical and tangible objects, including specific visual depictions of physical and tangible objects generated on the display.

[0151] The above are merely preferred embodiments of the present invention. The present invention is not limited to the above-described embodiments. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention, as long as they achieve the technical effects of the present invention by the same means, should be included within the scope of protection of the present invention. Within the scope of protection of the present invention, the technical solutions and / or implementation methods can have various modifications and variations.

Claims

1. A method for controlling an automotive motor, characterized in that, The automobile motor control method includes: Test the operating condition of the car's motor; When the vehicle motor is detected to be in a stalled state, a timing function is executed to obtain a timing value; Multiple time periods are defined; each time period corresponds to a corresponding torque value, and the torque value is negatively correlated with the magnitude of the endpoint of the corresponding time period. Determine the time period in which the timing value falls; Based on the time period in which the timing value is located, the corresponding torque value is determined as the maximum torque; The maximum torque output of the vehicle motor is determined based on the maximum torque.

2. The automotive motor control method according to claim 1, characterized in that, The detection of the operating condition of the automotive motor includes: Detect the real-time speed and real-time torque of the vehicle's motor; Set the speed threshold and torque threshold; When the real-time rotational speed is less than the rotational speed threshold and the real-time torque is greater than the torque threshold, it is determined that the vehicle motor is in a stalled state.

3. The automotive motor control method according to claim 1, characterized in that, The detection of the operating condition of the automotive motor includes: The car is located to obtain its location information; The driving scenario is determined based on the location information; When the driving scenario is in the preset scenario list, it is determined that the car motor is in a non-stalled operating condition.

4. The automotive motor control method according to claim 1, characterized in that, The execution of timing to obtain timing values ​​includes: When the vehicle motor is detected to switch from a non-stalled state to a stalled state, a timer is started. The actual time taken by the timer is used as the timing value.

5. The automotive motor control method according to claim 1, characterized in that, The execution of timing to obtain timing values ​​includes: When the vehicle motor is detected to switch from a non-stalled state to a stalled state, a timer is started. The equivalent timing is determined based on the actual timing of the timer; The equivalent timing is used as the timing value.

6. The automotive motor control method according to claim 5, characterized in that, The step of determining the equivalent timing based on the actual timing of the timer includes: Detect the real-time speed and real-time torque of the vehicle's motor; Set the speed threshold and torque threshold; An equivalent coefficient is determined based on the real-time rotational speed, the real-time torque, the rotational speed threshold, and the torque threshold; the equivalent coefficient is positively correlated with the rotational speed threshold and the real-time torque, and negatively correlated with the real-time rotational speed and the torque threshold. The equivalent time is determined based on the actual time and the equivalent coefficient; the equivalent time is positively correlated with the actual time and the equivalent coefficient.

7. The automotive motor control method according to claim 1, characterized in that, The setting of multiple time periods includes: Obtain information about the vehicle's driving tasks; Based on the driving task information, determine the torque requirement information; Based on the torque demand information, at least one torque value is determined; Keep the products corresponding to each torque value equal, and set the duration of the corresponding time period according to the torque value; wherein, the product corresponding to the torque value is the product of the torque value and the duration of the corresponding time period.

8. A computer device, characterized in that, It includes a memory and a processor, the memory being used to store at least one program, and the processor being used to load at least one program to execute the automotive motor control method according to any one of claims 1-7.

9. A computer-readable storage medium storing a processor-executable program, characterized in that, The processor-executable program, when executed by the processor, is used to perform the automotive motor control method according to any one of claims 1-7.