Automobile motor control method, computer device and storage medium
By detecting the real-time speed and torque of the car motor and dynamically limiting the torque output, the problem of power supply interruption when the electric car is blocked is solved, the motor overheating and safety risks are reduced, and the possibility of emergency avoidance is ensured.
Patent Information
- Application Number
- CN202411030710.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-30
AI Technical Summary
Existing automotive motor control methods can easily cause the electric vehicle to lose power supply when a stall is detected, increasing the risk of emergency avoidance actions.
By detecting the real-time speed and torque of the car motor, setting the speed and torque thresholds to determine the stalled status, and executing timing when stalled to dynamically limit the torque output to avoid motor overheating.
Effectively cope with stalled rotor conditions, reduce the risk of motor heating, and ensure the power supply and driving safety of electric vehicles.
Smart Images

Figure CN118769925A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile technology, and in particular to an automobile motor control method, a computer device and a storage medium. Background Art
[0002] Electric vehicles (including pure electric vehicles and hybrid electric vehicles) use motors to convert the electrical energy output by the power battery into mechanical energy, thereby driving the entire electric vehicle. Due to the complex working environment of electric vehicles, the motor of electric vehicles may be blocked. Stalling means that after the motor is powered on, due to certain reasons (such as the electric vehicle is blocked by an obstacle, the load of the electric vehicle exceeds the rated range, the axle is stuck by foreign objects, etc.), the motor rotor cannot rotate. At this time, the motor still tries to output torque, but the speed is very low or even zero. If the motor is blocked, it will heat up violently due to the large current flowing through the motor, resulting in a decrease in motor power, burning the motor, and even damaging the electric vehicle or occupants. Therefore, it is necessary to detect and prevent motor stalling in a timely and effective manner.
[0003] Since the motor will heat up sharply when it is blocked, some current related technologies install temperature sensors on the motor to detect the working temperature of the motor, and judge whether the motor is blocked by the working temperature of the motor. After detecting that the motor is blocked, the motor is cooled by cutting off the power supply. However, the related technology can easily cause the electric vehicle to lose power supply and make it difficult to take emergency avoidance actions, which faces certain risks. Summary of the invention
[0004] In view of the technical problems that current automobile technology easily causes electric vehicles to lose power supply and is difficult to take emergency avoidance actions, facing certain risks, etc., the purpose of the present invention is to provide an automobile motor control method, a computer device and a storage medium.
[0005] In one aspect, an embodiment of the present invention includes a method for controlling a motor of an automobile, the method comprising the following steps:
[0006] Detect the working condition of automobile motors;
[0007] When it is detected that the automobile motor is in a stalled condition, timing is executed to obtain a timing value;
[0008] According to the timing value, the torque output of the vehicle motor is limited.
[0009] Furthermore, the detection of the working condition of the automobile motor includes:
[0010] Detecting the real-time speed and real-time torque of the automobile motor;
[0011] Set speed threshold and torque threshold;
[0012] When the real-time rotation speed is less than the rotation speed threshold and the real-time torque is greater than the torque threshold, it is determined that the automobile motor is in a stalled condition.
[0013] Furthermore, the detection of the working condition of the automobile motor includes:
[0014] Position the car and obtain positioning information;
[0015] determining a driving scenario according to the positioning information;
[0016] When the driving scenario is in a preset scenario list, it is determined that the automobile motor is in a non-locked rotor condition.
[0017] Further, the executing timing to obtain the timing value includes:
[0018] When it is detected that the automobile motor is switched from a non-locked rotor condition to a locked rotor condition, calling a timer to start timing;
[0019] The actual timing of the timer is used as the timing value.
[0020] Further, the executing timing to obtain the timing value includes:
[0021] When it is detected that the automobile motor is switched from a non-locked rotor condition to a locked rotor condition, calling a timer to start timing;
[0022] Determining an equivalent timing according to the actual timing of the timer;
[0023] The equivalent timing is used as the timing value.
[0024] Further, determining the equivalent timing according to the actual timing of the timer includes:
[0025] Detecting the real-time speed and real-time torque of the automobile motor;
[0026] Set speed threshold and torque threshold;
[0027] determining an equivalent coefficient according to the real-time speed, the real-time torque, the speed threshold and the torque threshold; the equivalent coefficient is positively correlated with the speed threshold and the real-time torque, and negatively correlated with the real-time speed and the torque threshold;
[0028] The equivalent timing is determined according to the actual timing and the equivalent coefficient; the equivalent timing is positively correlated with the actual timing and the equivalent coefficient.
[0029] Furthermore, limiting the torque output of the automobile motor according to the timing value includes:
[0030] Setting multiple time periods; each of the time periods corresponds to a corresponding torque value, and the torque value is negatively correlated with the size of the endpoint of the corresponding time period;
[0031] Determine the time period in which the timing value falls;
[0032] According to the time period in which the timing value is located, determining a corresponding torque value as a maximum torque;
[0033] The maximum torque output of the vehicle motor is determined according to the maximum torque.
[0034] Furthermore, the setting of multiple time periods includes:
[0035] Get the driving task information of the car;
[0036] determining torque demand information according to the driving task information;
[0037] determining at least one torque value according to the torque demand information;
[0038] Keep the products corresponding to each of the torque values 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, an embodiment of the present invention further includes a computer device, including a memory and a processor, wherein the memory is used to store at least one program, and the processor is used to load at least one program to execute the automobile motor control method in the embodiment.
[0040] On the other hand, an embodiment of the present invention further includes a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to execute the automobile motor control method in the embodiment.
[0041] The beneficial effects of the present invention are as follows: through the automobile motor control method in the embodiment, it is possible to dynamically limit the torque output of the automobile motor from the moment the automobile motor is stalled according to a timing value, i.e., the duration of the automobile motor stalling; by limiting the torque output of the automobile motor, it is possible to effectively cope with the stalling condition, reduce the heating of the automobile motor, thereby reducing the risk of burning the motor or even damaging the electric vehicle or personal safety, and ensuring the safety of life and property; by dynamically limiting the torque output of the automobile motor, it is possible to avoid the automobile motor from losing torque output instantly, so that the electric vehicle can still obtain the power supply of the motor in a short time, thereby providing the possibility of taking emergency risk avoidance actions and ensuring driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1A schematic diagram of the structure of a vehicle system to which the automobile motor control method can be applied in the embodiment;
[0043] Figure 2 A schematic diagram of the steps of the automobile motor control method in the embodiment;
[0044] Figure 3 Schematic diagram of the process of steps S301-S304 in the embodiment;
[0045] Figure 4 Schematic diagram of the corresponding relationship between time period and torque value in the embodiment;
[0046] Figure 5 It is a schematic diagram of the principle of determining the torque value and the duration of the time period in the embodiment. DETAILED DESCRIPTION
[0047] In this embodiment, the automobile motor control method can be applied to Figure 1 In the vehicle system shown.
[0048] Reference Figure 1 The vehicle system to which the automobile motor control method can be applied includes a control module, a motor drive module, a motor, a speed sensor, a temperature sensor, a torque calculation module and a positioning module. Among them, the control module is a component with functions such as data acquisition, data processing, data output and control, and can be specifically an electronic control unit (ECU); the motor drive module receives the control instruction of the control module, receives the electric energy output by the power battery, and transmits the electric energy to the motor according to the control instruction; the motor converts the electric energy output by the motor drive module into mechanical energy for driving the electric vehicle, and the motor drive module controls the motor by changing the parameters of the electric energy transmitted to the motor; the speed sensor detects the spindle speed when the motor is working, the temperature sensor detects the temperature when the motor is working, the torque calculation module detects the working current and other parameters of the motor, and determines the torque output by the motor by looking up a table and other methods according to the corresponding relationship between the working current and other parameters and the torque; the positioning module detects the location of the electric vehicle through satellite positioning technology.
[0049] In this embodiment, refer to Figure 2 , the automobile motor control method comprises the following steps:
[0050] S1. Detect the working condition of the automobile motor;
[0051] S2. When it is detected that the motor of the automobile is in a stalled condition, the timing is executed to obtain the timing value;
[0052] S3. Limit the torque output of the vehicle motor according to the timing value.
[0053] Each step in the automobile motor control method can be executed by a control module installed in the automobile.
[0054] An electric car may be equipped with multiple motors. When a motor is mentioned in this embodiment, unless otherwise specified, it may refer to one of the motors. It only needs to execute steps S1-S3 for each motor separately to achieve control of multiple motors.
[0055] In step S1, the control module can call the speed sensor and the torque calculation module to detect the working condition of the automobile motor. Step S1 is to detect whether the motor is in a stalled condition, that is, the result of executing step S1 may be that the motor is detected to be in a stalled condition, or that the motor is detected to be in a non-stalled condition. Among them, the stalled condition means that the motor is stalled, and the non-stalled condition is a condition other than the stalled condition, indicating that the motor is not stalled.
[0056] When the control module executes step S1 and detects that the motor of the vehicle is in a stalled condition, the control module executes step S2 to execute timing to obtain a timing value.
[0057] Specifically, when executing step S2, the control module may call its own integrated timer to perform timing and obtain a timing value.
[0058] Specifically, the control module may clear the timer before executing step S2, so that the timer starts timing from zero when executing step S2. The timing value obtained by the timer can be expressed in units such as seconds or milliseconds, indicating the time length from the start of step S2 to the present.
[0059] Step S3 is executed after step S2, and step S3 may not be executed at a fixed time, but may be executed at multiple different times. Thus, each time step S3 is executed, a corresponding timing value is obtained, and the control module limits the torque output of the automobile motor according to the timing value obtained by the current execution of step S3. As time passes, the timing value is updated each time step S3 is executed, so that the control module can dynamically limit the torque output of the automobile motor.
[0060] In this embodiment, after executing step S2, as long as it is not detected that the vehicle motor is in a non-stalled condition, it is assumed that the vehicle motor is in a stalled condition, and the control module continues timing through a timer, that is, the timing value represents the duration of the vehicle motor being stalled.
[0061] In this embodiment, after executing step S2, if it is detected that the motor of the vehicle is in a non-locked rotor condition, the control module may reset the timer and re-execute step S1.
[0062] In this embodiment, when executing step S3, the control module determines the maximum torque of the vehicle motor based on the timing value obtained by the current execution of step S3, and the control module adjusts the working 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 within a certain range, so that the torque output by the motor does not exceed the maximum torque determined by the current execution of step S3.
[0063] The manner in which the motor drive module controls the torque of the motor is determined by the product characteristics of the motor. For example, the torque output by some motors is proportional to the product of the voltage and current output by the motor drive module to the motor, so that the motor drive module can determine the torque output by the motor by controlling the working voltage and working current of the motor, and limit the torque output by the motor to the maximum torque range determined by the current execution of step S3.
[0064] In this embodiment, by executing steps S1-S3, it is possible to dynamically limit the torque output of the automobile motor from the moment the automobile motor is stalled according to the timing value, that is, the duration of the stall of the automobile motor; by limiting the torque output of the automobile motor, it is possible to effectively cope with the stall condition and reduce the heating of the automobile motor, thereby reducing the risk of burning the motor or even damaging the electric vehicle or personal safety, thereby ensuring the safety of life and property; by dynamically limiting the torque output of the automobile motor, it is possible to avoid the automobile motor from losing torque output instantly, so that the electric vehicle can still obtain the power supply of the motor in a short time, thereby providing the possibility of taking emergency risk avoidance actions and ensuring driving safety.
[0065] In this embodiment, when the control module executes step S1, that is, the step of detecting the working condition of the automobile motor, the control module may specifically execute the following steps:
[0066] S101. Detecting the real-time speed and real-time torque of the automobile motor;
[0067] S102. Setting a speed threshold and a torque threshold;
[0068] S103. When the real-time rotation speed is less than the rotation speed threshold and the real-time torque is greater than the torque threshold, it is determined that the vehicle motor is in a stalled condition.
[0069] In step S101, the control module calls the speed sensor to detect the real-time speed of the automobile motor; the control module calls the torque calculation module to detect the real-time torque of the automobile motor.
[0070] In step S102, the control module sets a speed threshold and a torque threshold. The speed threshold can measure the relative size of the real-time speed. For example, if the real-time speed is greater than the speed threshold, then the real-time speed can be determined to be large, and if the real-time speed is less than the speed threshold, then the real-time speed can be determined to be small; the torque threshold can measure the relative size of the real-time torque. For example, if the real-time torque is greater than the torque threshold, then the real-time torque can be determined to be large, and if the real-time torque is less than the torque threshold, then the real-time torque can be determined to be small.
[0071] In step S103 , the control module compares the real-time rotational speed with the rotational speed threshold, and compares 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, the real-time speed is small and the real-time torque is large, then the control module can determine that the vehicle motor is in a stalled condition, that is, the vehicle motor is stalled.
[0073] In this embodiment, the principle of executing steps S101-S103 is that in steps S101-S103, the two parameters of real-time speed and real-time torque are used to determine whether the automobile motor is in a stalled condition, and there is no need to determine whether the automobile motor is in a stalled condition based on the operating temperature of the automobile motor; the delay of the temperature sensor is generally large, and the thermal inertia of the motor is strong. Therefore, judging whether the automobile motor is in a stalled condition based on the operating temperature of the automobile motor has the disadvantages of poor real-time performance of 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, that is, the step of detecting the working condition of the automobile motor, the control module may specifically execute the following steps:
[0075] S105. Position the car and obtain positioning information;
[0076] S106. Determine the driving scenario according to the positioning information;
[0077] S107. When the driving scenario is in the preset scenario list, determine that the vehicle motor is in a non-stalled rotor condition.
[0078] In step S105, the control module can call the positioning module to position the car and obtain positioning information. The positioning information indicates the current location of the car.
[0079] In step S106, the driving scene can be determined according to the positioning information, such as urban roads, highways, underground garages or unpaved roads, etc. According to the positioning information, the driving scene such as the slope of the vehicle's location and whether there are obstacles can also be determined.
[0080] In step S107, a scene list may be preset. The scene list includes some specific driving scenes, in which the motor of the vehicle is likely to be under a large load, that is, in these driving scenes, it is considered normal for the motor of the vehicle to be in a stalled state. For example, the scene list may include unpaved roads, off-road fields, specific locations with large slopes, etc.
[0081] In step S107, it can be queried whether the scene list includes the driving scene obtained in step S106. If the driving scene obtained in step S106 is included in the scene list, it indicates that the car is currently in these specific driving scenes, and it is normal for the car's motor to be in a stalled condition. At this time, the control module determines that the car's motor is in a non-stalled condition, and the control module does not execute step S3, that is, does not limit the torque output of the car's motor, so that the car's motor can output torque without being restricted by the control module, so that the car can perform the driving task in the specific driving scene.
[0082] By executing steps S105-S107, the flexibility of the automobile motor control method and the adaptability to different driving scenarios can be improved.
[0083] In this embodiment, when the control module executes step S2, that is, the step of executing timing to obtain a timing value, the control module may specifically execute the following steps:
[0084] S201A. When it is detected that the automobile motor is switched from a non-locked rotor condition to a locked rotor condition, the timer is called to start timing;
[0085] S202A. Use the actual timing of the timer as the timing value.
[0086] Steps S201A-S202A are the first execution mode of step S2.
[0087] In steps S201A-S202A, starting from the moment when the automobile motor is switched from a non-locked rotor condition to a locked rotor condition, the control module calls the timer to start timing, and uses the actual timing 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 vehicle motor stalling.
[0089] In this embodiment, when the control module executes step S2, that is, the step of executing timing to obtain a timing value, the control module may specifically execute the following steps:
[0090] S201B. When it is detected that the motor of the vehicle is switched from a non-locked rotor condition to a locked rotor condition, the timer is called to start timing;
[0091] S202B. Determine the equivalent timing according to the actual timing of the timer;
[0092] S203B. Use equivalent timing as the timing value.
[0093] Steps S201B-S203B are a second execution method of step S2.
[0094] The principle of step S201B is the same as that of step S201A, and the actual timing of the timer can be obtained.
[0095] In steps S202B-S203B, the actual timing of the timer is not directly used as the timing value, but an equivalent timing is calculated according to the actual timing of the timer, and then the equivalent timing is used as the timing value.
[0096] In this embodiment, when the control module executes step S202B, that is, the step of determining the equivalent timing according to the actual timing of the timer, the control module may specifically execute the following steps:
[0097] S20201. Detect the real-time speed and real-time torque of the automobile motor;
[0098] S20202. Set the speed threshold and torque threshold;
[0099] S20203. Determine an equivalent coefficient according to the real-time speed, the real-time torque, the speed threshold and the torque threshold;
[0100] S20204. Determine equivalent timing based on actual timing and equivalent coefficient.
[0101] The principles of steps S20201-S20202 are the same as those of steps S101-S102.
[0102] In step S20203, an equivalent coefficient is calculated according to the real-time speed, the real-time torque, the speed threshold and the torque threshold, wherein the equivalent coefficient is positively correlated with the speed threshold and the real-time torque, and negatively correlated with the real-time speed and the torque threshold.
[0103] For example, the equivalence coefficient can be calculated according to the following formula:
[0104]
[0105] Since the speed threshold and the torque threshold are generally constants, the calculated equivalent coefficient is negatively correlated with the real-time speed and positively correlated with the real-time torque.
[0106] In step S20204, equivalent timing is calculated according to the actual timing and the equivalent coefficient, wherein the equivalent timing is positively correlated with the actual timing and the equivalent coefficient.
[0107] For example, the equivalent timing can be calculated according to the following formula:
[0108] Equivalent timing = actual timing × equivalent coefficient
[0109] The equivalent timing calculated by steps S20201-S20204 is used as the timing value obtained in step S2, and is used to limit the torque output of the vehicle motor when executing step S3.
[0110] In this embodiment, the principle of executing steps S20201-S20204 is that the equivalent coefficient is positively correlated with the speed threshold and the real-time torque, and negatively correlated with the real-time speed and torque threshold, and the equivalent timing is positively correlated with the actual timing and the equivalent coefficient, then the calculated equivalent timing is positively correlated with the speed threshold and the real-time torque, and negatively correlated with the real-time speed and torque threshold; therefore, the stronger the degree of stalling, the relatively smaller the real-time speed and the relatively larger the real-time torque will be, the greater the expansion degree of the equivalent timing relative to the actual timing, which can shorten the time required for executing step S3 to limit the torque output of the automobile motor, and the stronger the degree of stalling, the faster the process of limiting the torque output of the automobile motor, thereby effectively responding to the motor stalling that has occurred and reducing the danger caused by the motor stalling.
[0111] In this embodiment, when the control module executes step S3, that is, the step of limiting the torque output of the automobile motor according to the timing value, the control module may specifically execute the following steps:
[0112] S301. Set multiple time periods;
[0113] S302. Determine the time period of the timing value;
[0114] S303. Determine the corresponding torque value as the maximum torque according to the time period of the timing value;
[0115] S304. Determine the maximum torque output of the vehicle motor according to the maximum torque.
[0116] The process of steps S301-S304 is as follows: Figure 3 shown.
[0117] Reference Figure 3When executing steps S1-S2, a speed indicating signal Stall speed fig and a torque indicating signal Stall Torquerq fig can be set. If it is judged that the real-time speed speed is less than the speed threshold (for example, 150rpm, corresponding to the driving speed of the car is 2km / h), then the speed indicating signal Stall speed fig is set to 1, that is, Stall speedfig=1. If on the contrary, for example, it is judged that the real-time speed speed is greater than 170rpm> the speed threshold, then the speed indicating signal Stall speed fig is set to 0, that is, Stall speed fig=0; if it is judged that the real-time torque TORQUERQ is greater than the torque threshold (for example, 100rpm), then the torque indicating signal Stall Torquerq fig is set to 1, that is, Stall Torquerq fig=1. If on the contrary, for example, it is judged that the real-time torque TORQUERQ is less than 80Nm< the torque threshold, then the torque indicating signal StallTorquerq fig is set to 0, that is, Stall Torquerq fig=0.
[0118] Reference Figure 3 When executing steps S1-S2, if the speed indicating signal Stall speed fig=1 and the torque indicating signal Stall Torquerq fig=1 are established at the same time, it indicates that the automobile motor is in a stalled condition, and step S2 is executed to call the timer for timing, obtain the timing value Stall Cntl, and start executing steps S301-S304; otherwise, it indicates that the automobile motor is in a non-stalled condition, the control module clears the timing value Stall Cntl, and releases the restriction 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 endpoint size of the corresponding time period.
[0120] For example, the corresponding relationship between the time period and the torque value in Table 1 is expressed as Figure 4 From the curve graph shown, it can be seen that 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), and [40s, ∞) increase successively, while their corresponding torque values decrease successively.
[0121] Reference Figure 3As shown in Table 1, in step S302, it is determined in which time period the timing value Stall Cntl is located.
[0122] Table 1
[0123] Serial number The time period in which the timing value falls 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 it is determined that the timing value Stall Cntl is within the time period numbered 2 in Table 1, ie, [3s, 15s).
[0125] In step S303, the control module determines the corresponding torque value as the maximum torque according to the time period of the timing value. For example, if the timing value Stall Cntl = 4s, the control module finds the torque value 180Nm according to Table 1, that is, the maximum torque is determined to be 180Nm.
[0126] In step S304, the control module determines the maximum torque output of the vehicle motor according to the maximum torque. For example, if the timing value Stall Cntl = 4s, 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, it is possible to gradually limit the maximum torque output of the automobile motor as the timing value increases, so that the torque output of the automobile motor does not drop sharply, but decreases more smoothly, thereby providing the necessary torque for the automobile 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 temperature EMSTATOR of the motor and set a temperature threshold (for example, 105°C) to determine the size of the temperature EMSTATOR of the motor. For example, if the temperature EMSTATOR of the motor is greater than the temperature threshold, it is determined that the temperature EMSTATOR of the motor is too high. If the temperature EMSTATOR of the motor is less than the temperature threshold, it is determined that the temperature EMSTATOR of the motor is normal.
[0129] Reference Figure 3The control module compares the motor temperature EMSTATOR with the temperature threshold. If the motor temperature EMSTATOR is greater than the temperature threshold of 105°C, that is, the motor temperature EMSTATOR is determined to be too high, then steps S301-S304 are executed to limit the torque output of the motor according to the size of the timing value Stall Cntl; if the motor temperature EMSTATOR is less than the temperature threshold of 105°C, that is, the motor temperature EMSTATOR is determined to be normal, then the control module does not execute steps S301-S304, thereby not limiting the torque output of the motor, or when steps S301-S304 have been executed, the restriction on the motor's torque output is released so that the motor's torque output is not restricted.
[0130] When the torque output limit of the motor is lifted, the control module can respond to any torque output command within the rated working range of the motor. For example, assuming that the rated working range of the motor allows the output torque to be 200Nm, when the torque output of the motor is limited, refer to Figure 3 According to the size of the timing value StallCntl, the torque output of the motor is limited to no more than 180Nm, 160Nm, 140Nm, 80Nm and other maximum values. Even if the control module receives a torque output instruction of 200Nm, it controls the motor to output a torque not exceeding the above maximum value; and when the restriction on the torque output of the motor is lifted, if the control module receives a torque output instruction of 200Nm, the control module calls 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 it is detected that the motor temperature is lower than the threshold, the motor's performance can be brought into play while ensuring the safe use of the motor, thereby ensuring the realization of vehicle performance.
[0132] In this embodiment, when executing step S301, that is, the step of setting multiple time periods, each time period may be set to be of equal length.
[0133] In this embodiment, when executing step S301, that is, the step of setting multiple time periods, the following steps may be specifically performed:
[0134] S30101. Obtain the driving task information of the car;
[0135] S30102. Determine torque demand information according to driving task information;
[0136] S30103. Determine at least one torque value according to the torque demand information;
[0137] S30104. Keep the products corresponding to each torque value equal, and set the length of the corresponding time period according to the torque value.
[0138] In step S30101, the control module can determine the driving task information of the vehicle according to the driving scene obtained in step S106, wherein the driving task information indicates that the electric vehicle needs to complete operations such as off-road driving, highway driving, or steep road driving.
[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 to be provided by the motor in order to complete the driving task indicated by the driving task information in a future period of time.
[0140] In step S30103, refer to Figure 5 The torque demand information indicates that the maximum torque required is M1, M2, M3, M4, M5, etc.
[0141] In step S30104, refer to Figure 5 , assuming that the time period corresponding to the torque value of M1 is T1 (indicating that within the time period of T1, the maximum torque output of the motor is limited to M1), the time period corresponding to the torque value of M2 is T2, the time period corresponding to the torque value of M3 is T3, the time period corresponding to the torque value of M4 is T4, and the time period corresponding to the torque value of M5 is T5, then the products corresponding to these torque values are: 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, S1=S2=S3=S4=S5 is maintained, so that the values of T1, T2, T3, T4, T5, etc. are calculated respectively.
[0143] In this embodiment, the principle of executing steps S30101-S30104 is: by setting each torque value and the duration of the corresponding time period in a manner to keep the corresponding area equal, each torque value can be made inversely proportional to the duration of the corresponding time period, that is, the larger the torque value, the shorter the corresponding duration, thereby reducing the duration of the motor's high torque output on the basis of providing torque, thereby ensuring the working safety of the motor in a stalled state.
[0144] A computer program for executing the automobile motor control method in this embodiment can be written and written into a computer device or a storage medium. When the computer program is read out and run, the automobile motor control method in this embodiment is executed, thereby achieving the same technical effect as the automobile motor control method in the embodiment.
[0145] It should be noted that, unless otherwise specified, when a feature is referred to as being "fixed" or "connected" to another feature, it may be directly fixed or connected to the other feature, or it may be indirectly fixed or connected to the other feature. In addition, the descriptions of up, down, left, right, etc. used in the present disclosure are only relative to the relative positional relationship of the components of the present disclosure in the accompanying drawings. The singular forms of "a", "" and "the" used in the present disclosure are also intended to include the plural forms, unless the context clearly indicates other meanings. In addition, unless otherwise defined, all technical and scientific terms used in this embodiment have the same meaning as those generally understood by those skilled in the art. The terms used in the specification of this embodiment are only for describing specific embodiments and are not intended to limit the present invention. The term "and / or" used in this embodiment includes any combination of one or more related listed items.
[0146] It should be understood that, although the term first, second, third etc. may be adopted to describe various elements in the present disclosure, these elements should not be limited to these terms. These terms are only used to distinguish the same type of elements from each other. For example, without departing from the scope of the present disclosure, the first element may also be referred to as the second element, and similarly, the second element may also be referred to as the first element. The use of any and all examples or exemplary language ("for example", "such as" etc.) provided by the present embodiment is only intended to better illustrate embodiments of the present invention, and unless otherwise required, the scope of the present invention will not be limited.
[0147] It should be appreciated that embodiments of the present invention may be implemented or enforced by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable memory. The method may be implemented in a computer program using standard programming techniques - including a non-transitory computer-readable storage medium configured with a computer program, wherein the storage medium so configured causes the computer to operate in a specific and predefined manner - according to the methods and drawings described in the specific embodiments. Each program may be implemented in a high-level procedural or object-oriented programming language to communicate with a computer system. However, if desired, the program may be implemented in assembly or machine language. In any case, the language may be a compiled or interpreted language. In addition, the program may be run on a programmed dedicated integrated circuit for this purpose.
[0148] In addition, the operations of the process described in this embodiment may be performed in any suitable order, unless otherwise indicated in this embodiment or otherwise clearly contradicted by the context. The process described in this embodiment (or variations and / or combinations thereof) may be performed under the control of one or more computer systems configured with executable instructions, and may be implemented as a code (e.g., executable instructions, one or more computer programs, or one or more applications) executed on one or more processors in common, by hardware or a combination thereof. A computer program includes a plurality of instructions that may be executed by one or more processors.
[0149] Further, the method can be implemented in any type of computing platform that is operably connected to a suitable computer, including but not limited to a personal computer, a minicomputer, a mainframe, a workstation, a network or distributed computing environment, a separate or integrated computer platform, or in communication with a charged particle tool or other imaging device, etc. Various aspects of the present invention can be implemented in 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, an optical read and / or write storage medium, a RAM, a ROM, etc., so that it can be read 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 process described herein. In addition, the machine-readable code, or part thereof, can be transmitted via a wired or wireless network. When such media includes instructions or programs that implement the above steps in conjunction with a microprocessor or other data processor, the invention of this embodiment includes these and other different types of non-transitory computer-readable storage media. When programmed according to the methods and techniques of the present invention, the present invention also includes the computer itself.
[0150] The computer program can be applied to input data to perform the functions of the present embodiment, thereby converting the input data to generate output data stored in a 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 present invention, the converted data represents a physical and tangible object, including a specific visual depiction of the physical and tangible object produced on the display.
[0151] The above are only preferred embodiments of the present invention. The present invention is not limited to the above embodiments. As long as the technical effects of the present invention are achieved by the same means, any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the scope of protection of the present invention. Within the scope of protection of the present invention, its technical solutions and / or implementation methods may have various modifications and changes.
Claims
1. A method for controlling an automobile motor, characterized in that: The automobile motor control method comprises: Detect the working condition of automobile motors; When it is detected that the automobile motor is in a stalled condition, timing is executed to obtain a timing value; According to the timing value, the torque output of the vehicle motor is limited.
2. The automobile motor control method according to claim 1, characterized in that: The detecting of the working condition of the automobile motor includes: Detecting the real-time speed and real-time torque of the automobile motor; Set speed threshold and torque threshold; When the real-time rotation speed is less than the rotation speed threshold and the real-time torque is greater than the torque threshold, it is determined that the automobile motor is in a stalled condition.
3. The automobile motor control method according to claim 1, characterized in that: The detecting of the working condition of the automobile motor includes: Position the car and obtain positioning information; determining a driving scenario according to the positioning information; When the driving scenario is in a preset scenario list, it is determined that the automobile motor is in a non-locked rotor condition.
4. The automobile motor control method according to claim 1, characterized in that: The executing timing to obtain the timing value includes: When it is detected that the automobile motor is switched from a non-locked rotor condition to a locked rotor condition, calling a timer to start timing; The actual timing of the timer is used as the timing value.
5. The automobile motor control method according to claim 1, characterized in that: The executing timing to obtain the timing value includes: When it is detected that the automobile motor is switched from a non-locked rotor condition to a locked rotor condition, calling a timer to start timing; Determining an equivalent timing according to the actual timing of the timer; The equivalent timing is used as the timing value.
6. The automobile motor control method according to claim 5, characterized in that: The determining of equivalent timing according to actual timing of the timer comprises: Detecting the real-time speed and real-time torque of the automobile motor; Set speed threshold and torque threshold; determining an equivalent coefficient according to the real-time speed, the real-time torque, the speed threshold and the torque threshold; the equivalent coefficient is positively correlated with the speed threshold and the real-time torque, and negatively correlated with the real-time speed and the torque threshold; The equivalent timing is determined according to the actual timing and the equivalent coefficient; the equivalent timing is positively correlated with the actual timing and the equivalent coefficient.
7. The automobile motor control method according to any one of claims 1 to 6, characterized in that: The step of limiting the torque output of the automobile motor according to the timing value comprises: Setting multiple time periods; each of the time periods corresponds to a corresponding torque value, and the torque value is negatively correlated with the size of the endpoint of the corresponding time period; Determine the time period in which the timing value falls; According to the time period in which the timing value is located, determining a corresponding torque value as a maximum torque; The maximum torque output of the vehicle motor is determined according to the maximum torque.
8. The automobile motor control method according to claim 7, characterized in that: The setting of multiple time periods includes: Get the driving task information of the car; determining torque demand information according to the driving task information; determining at least one torque value according to the torque demand information; Keep the products corresponding to each of the torque values 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.
9. A computer device, characterized in that: The invention comprises a memory and a processor, wherein the memory is used to store at least one program, and the processor is used to load at least one program to execute the automobile motor control method according to any one of claims 1 to 8.
10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The program executable by the processor is used to execute the automobile motor control method described in any one of claims 1 to 8 when executed by the processor.
Citation Information
Patent Citations
Motor locked-rotor fault judgement method, motor controller and new energy automobile
CN106828109A
Vehicle starting method and device
CN109969161A
Electric vehicle locked-rotor fault detection method, device and equipment, and storage medium
CN111572349A
Automobile motor heating control method, computer device and storage medium
CN116639022A
Vehicle control method, storage medium, and vehicle
WO2024139048A1
Cited By
Motor control method and device and electronic equipment
CN120517222A
Control method and device for suppressing stalling of traction motor of mining storage battery loader
CN121268585A
