Methods, devices and storage media for controlling motor torque

By judging the changes in motor speed and torque in real time, calculating the compensation torque, and using a PID controller to adjust the motor torque, the vibration problem in pure electric and hybrid vehicles during driving is solved, and the driving comfort of the vehicle is improved.

CN119017951BActive Publication Date: 2025-10-31CHERY AUTOMOBILE CO LTD

Patent Information

Application Number
CN202411445395.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-16
Publication Date
2025-10-31
Estimated Expiration
2044-10-16

AI Technical Summary

Technical Problem

Pure electric vehicles and hybrid electric vehicles are prone to vehicle vibration during driving, especially during vehicle start-up, rapid acceleration, rapid deceleration, and acceleration conditions. The vibration caused by changes in motor torque and the underdamped characteristics of the transmission system affects the driver's riding experience.

Method used

By acquiring the current and previous speed and torque of the motor, it is determined whether the vehicle meets the trigger conditions for the anti-shake mode. The compensation torque is calculated based on the difference between the anti-shake angular velocity and the speed, and the target torque is updated in real time to suppress shaking. The motor torque is adjusted using a PID controller to improve vehicle comfort.

Benefits of technology

It effectively suppresses vehicle vibration and improves driving comfort. By adjusting torque control in real time, it reduces motor speed fluctuations and enhances the driving experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119017951B_ABST
    Figure CN119017951B_ABST
Patent Text Reader

Abstract

This application discloses a method, device, and storage medium for controlling motor torque, belonging to the field of vehicle control technology. The method includes: determining whether the vehicle meets a first trigger condition corresponding to an anti-vibration mode based on the motor's current first rotational speed and the previous second rotational speed; if the first trigger condition is met, determining the compensation torque for the next moment based on the first rotational speed and the anti-vibration angular velocity at the current moment; updating the current torque based on the compensation torque to obtain the target torque for the next moment. Thus, motor speed fluctuations can be effectively suppressed in real time only when the trigger condition is met, thereby suppressing vehicle vibration and improving driving comfort.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle control technology, and in particular to a method, device and storage medium for controlling motor torque. Background Technology

[0002] With the rapid development of the automotive industry, pure electric vehicles and hybrid vehicles have been widely used.

[0003] On the one hand, because the motor of a pure electric vehicle or hybrid vehicle is directly connected to the wheel through a single-stage transmission without a shifting structure, this physical characteristic makes the vehicle prone to insufficient damping during driving, which further causes vehicle vibration. On the other hand, the motor torque often changes frequently and significantly with driving conditions, and there is a switching of transmission gear surfaces caused by changes in torque direction. The underdamped characteristics caused by the relatively simple transmission system make the vehicle prone to vibration during conditions such as starting, rapid acceleration, rapid deceleration, transition from driving to energy recovery during acceleration, and exiting energy recovery, thus affecting the driver's riding experience.

[0004] Therefore, how to improve the vehicle vibration phenomenon that occurs during driving of pure electric vehicles and hybrid vehicles has become an urgent problem to be solved. Summary of the Invention

[0005] This application provides a method and apparatus for controlling motor torque, which can reduce vehicle vibration during operation, thereby improving the driver's riding experience. The technical solution is as follows:

[0006] On the one hand, a method for controlling motor torque is provided, the method comprising:

[0007] Get the motor's first speed at the current moment, the second speed at the previous moment, and the current torque;

[0008] Based on the first speed and the second speed, determine whether the vehicle meets the first trigger condition corresponding to the anti-shake mode;

[0009] If the vehicle meets the first triggering condition, the compensation torque for the next moment is determined based on the first rotational speed and the anti-shaking angular velocity at the current moment. The anti-shaking angular velocity is determined based on the anti-shaking angular velocity at the previous moment and the compensation torque at the current moment.

[0010] Based on the compensated torque, the current torque is updated to obtain the target torque for the next moment. Optionally, determining whether the vehicle meets the first trigger condition corresponding to the anti-shake mode includes:

[0011] The maximum value between the first anti-jitter speed and the preset second anti-jitter speed is determined as the target anti-jitter speed, and the first anti-jitter speed is a preset multiple of the first speed;

[0012] If the absolute value of the difference between the first speed and the second speed is greater than the target anti-shaking speed, then the vehicle is determined to meet the first triggering condition.

[0013] Optionally, determining the compensation torque for the next moment based on the first rotational speed and the anti-jitter angular velocity at the current moment includes:

[0014] Determine the anti-jitter rotation speed corresponding to the anti-jitter angular velocity at the current moment;

[0015] The compensated speed is obtained based on the anti-jitter speed and the first speed adjustment PID controller;

[0016] The compensation torque is determined based on the compensation rotational speed.

[0017] Optionally, determining the compensation torque based on the compensation speed includes:

[0018] The initial torque is determined based on the compensated rotational speed;

[0019] The initial torque is filtered.

[0020] Based on a preset torque range, a threshold limit is applied to the initial torque after filtering to obtain the compensation torque, so that the compensation torque is within the preset torque range.

[0021] Optionally, the step of determining the anti-jitter angular velocity at the current moment includes:

[0022] The moment of inertia, the compensation torque at the current moment, the anti-jitter angular velocity at the previous moment, and the preset time interval are obtained, where the preset time interval is the time difference between the current moment and the previous moment.

[0023] Based on the compensation torque and the moment of inertia at the current moment, determine the anti-jitter angular acceleration at the current moment;

[0024] The anti-jitter angular velocity at the current moment is determined based on the anti-jitter angular acceleration at the previous moment, the anti-jitter angular velocity at the previous moment, and the preset time interval.

[0025] Optionally, obtaining the first rotational speed of the motor at the current moment includes:

[0026] The first rotational speed of the motor is calculated based on the rotation angle and rotation time of the motor.

[0027] On the other hand, a motor torque control device is provided, the device comprising:

[0028] The first acquisition module is used to acquire the motor's first speed at the current moment, the second speed at the previous moment, and the current torque;

[0029] The judgment module is used to determine whether the vehicle meets the first trigger condition corresponding to the anti-shake mode based on the first speed and the second speed.

[0030] The first determining module is used to determine the compensation torque at the next moment based on the first rotational speed and the anti-shaking angular velocity at the current moment if the vehicle meets the first triggering condition. The anti-shaking angular velocity is determined based on the anti-shaking angular velocity at the previous moment and the compensation torque at the current moment.

[0031] An update module is used to update the current torque based on the compensated torque to obtain the target torque at the next moment.

[0032] Optionally, the determination module includes:

[0033] The first determining submodule is used to determine the maximum value between the first anti-jitter speed and the preset second anti-jitter speed as the target anti-jitter speed, wherein the first anti-jitter speed is a preset multiple of the first speed;

[0034] The second determining submodule is used to determine that the vehicle meets the first triggering condition if the absolute value of the difference between the first speed and the second speed is greater than the target anti-shaking speed.

[0035] Optionally, the first determining module includes:

[0036] The third determining submodule is used to determine the anti-jitter rotation speed corresponding to the anti-jitter angular velocity at the current moment;

[0037] The first calculation submodule is used to adjust the PID controller based on the anti-jitter speed and the first speed to obtain the compensated speed;

[0038] The fourth determining submodule is used to determine the compensation torque based on the compensation speed.

[0039] Optionally, the fourth determining submodule is configured to: obtain an initial torque based on the compensation speed; filter the initial torque; and apply a threshold limit to the filtered initial torque based on a preset torque range to obtain the compensation torque, so that the compensation torque is within the preset torque range.

[0040] Optionally, the device further includes:

[0041] The second acquisition module is used to acquire the moment of inertia, the compensation torque at the current moment, the anti-jitter angular velocity at the previous moment, and a preset time interval, wherein the preset time interval is the time difference between the current moment and the previous moment.

[0042] The second determining module is used to determine the anti-jitter angular acceleration at the current moment based on the compensation torque and the moment of inertia at the current moment.

[0043] The third determining module determines the anti-jitter angular velocity at the current moment based on the anti-jitter angular acceleration at the previous moment, the anti-jitter angular velocity at the previous moment, and the preset time interval.

[0044] Optionally, the first acquisition module includes:

[0045] The second calculation submodule is used to calculate the first speed of the motor based on the rotation angle and rotation time of the motor.

[0046] On the other hand, a computer device is provided, the computer device including one or more processors and one or more memories, the one or more memories storing at least one instruction, the instruction being loaded and executed by the one or more processors to implement the operation performed by the motor torque control method described above.

[0047] On the other hand, a storage medium is provided that stores at least one instruction, which is loaded and executed by a processor to implement the operation performed by the motor torque control method described above.

[0048] The beneficial effects of the technical solution provided in this application include at least the following:

[0049] This application provides a method for controlling motor torque. By using the motor's current first speed and the previous second speed, it is determined whether the vehicle meets the first trigger condition corresponding to the anti-vibration mode. If the first trigger condition is met, the compensation torque for the next moment is determined based on the first speed and the anti-vibration angular velocity at the current moment. Based on the compensation torque, the current torque is updated to obtain the target torque for the next moment. In this way, the motor speed fluctuation is effectively suppressed in real time only when the trigger condition is met, thereby suppressing vehicle vibration and improving vehicle ride comfort. Attached Figure Description

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

[0051] Figure 1 This is a flowchart of a method for controlling motor torque according to an embodiment of this application;

[0052] Figure 2 This is a flowchart of another method for controlling motor torque provided in an embodiment of this application;

[0053] Figure 3 This is a flowchart of the steps for determining the anti-jitter angular velocity at the current moment, as provided in an embodiment of this application.

[0054] Figure 4 This is a schematic diagram of the structure of a motor torque control device provided in an embodiment of this application. Detailed Implementation

[0055] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0056] Electric vehicles can include pure electric vehicles and hybrid vehicles. Electric vehicles are powered by an onboard power source, using an electric motor to drive the wheels. Because the motor in pure electric vehicles or hybrid vehicles is directly connected to the wheels via a single-stage transmission without a gear shift mechanism, this physical characteristic makes the vehicle prone to insufficient damping during operation, further causing vehicle vibration. On the other hand, the motor torque often changes frequently and significantly with driving conditions, and there is transmission gear surface switching caused by changes in torque direction. The relatively simple transmission system results in underdamped characteristics, making the vehicle prone to vibration during conditions such as starting, rapid acceleration, rapid deceleration, transitions between driving and energy recovery during acceleration, and disengagement from energy recovery.

[0057] Based on this, the embodiments of this application provide a method for controlling motor torque, which effectively suppresses motor vibration in automobiles and improves driving comfort.

[0058] Figure 1 This is a flowchart illustrating a method for controlling motor torque according to an embodiment of this application. This method can be applied to the vehicle controller in an electric vehicle. See also... Figure 1 The method includes the following steps.

[0059] Step 101: Obtain the motor's first speed at the current moment, the second speed at the previous moment, and the current torque.

[0060] Step 102: Based on the first speed and the second speed, determine whether the vehicle meets the first trigger condition corresponding to the anti-shake mode.

[0061] Step 103: If the vehicle meets the first trigger condition, determine the compensation torque for the next moment based on the first rotational speed and the anti-shaking angular velocity at the current moment.

[0062] The anti-shake angular velocity is determined based on the anti-shake angular velocity of the previous moment and the compensation torque of the current moment.

[0063] Step 104: Based on the compensation torque, update the current torque to obtain the target torque for the next moment.

[0064] This application provides a method for controlling motor torque. By using the motor's current first speed and the previous second speed, it is determined whether the vehicle meets the first trigger condition corresponding to the anti-vibration mode. When the first trigger condition is met, it indicates that the vehicle is vibrating under the current operating conditions. Only then is the compensation torque for the next moment determined based on the first speed and the anti-vibration angular velocity at the current moment. Based on the compensation torque, the current torque is updated to obtain the target torque for the next moment. In this way, under specific conditions, the motor speed fluctuation can be effectively suppressed in real time, thereby suppressing vehicle vibration and improving vehicle ride comfort.

[0065] Figure 2 This is a flowchart of another method for controlling motor torque provided in an embodiment of this application. This method can be applied to the vehicle controller in an electric vehicle. See also... Figure 2 The method includes the following steps.

[0066] Step 201: Obtain the motor's first speed at the current moment, the second speed at the previous moment, and the current torque.

[0067] The first rotational speed of the motor at the current moment can be the real-time rotational speed of the motor calculated in real time. In this embodiment, the first rotational speed of the motor can be calculated based on the rotation angle and rotation time of the motor. The rotation angle of the motor is the rotation angle from the previous moment to the current moment, and the rotation time is the time between the previous moment and the current moment. Specifically, the first rotational speed is obtained by dividing the rotation angle by the rotation time.

[0068] In this embodiment, the second rotational speed at the previous moment is obtained by dividing the rotation angle from the moment before the previous moment to the previous moment by the time corresponding to that rotation angle.

[0069] In this embodiment, the current torque is determined by a control signal that provides a certain output torque value based on the current state of the vehicle.

[0070] Step 202: Determine the maximum value between the first anti-shake speed and the preset second anti-shake speed as the target anti-shake speed.

[0071] The first anti-shaking speed is a preset multiple of the first speed; in this embodiment of the application, the preset multiple can be any one of 1% to 1.5%.

[0072] The preset second anti-jitter speed is set in advance according to different situations. In the embodiments of this application, the preset second anti-jitter speed can be the minimum value of the motor speed difference or a preset speed value.

[0073] In this embodiment, a first anti-jitter speed and a preset second anti-jitter speed are compared, and the maximum value of the two is taken as the target anti-jitter speed. If the first anti-jitter speed is greater than the preset second anti-jitter speed, the first anti-jitter speed is taken as the target anti-jitter speed; if the first anti-jitter speed is less than the preset second anti-jitter speed, the second anti-jitter speed is taken as the target anti-jitter speed. If the first anti-jitter speed is equal to the preset second anti-jitter speed, either one of the two is taken as the target anti-jitter speed.

[0074] Step 203: If the absolute value of the difference between the first speed and the second speed is greater than the target anti-shaking speed, then the vehicle is determined to meet the first trigger condition.

[0075] It should be noted that in this embodiment of the application, the compensation torque calculated in the anti-shake mode is used to supplement the current torque provided by the vehicle motor control system, thereby improving the vehicle's vibration. Therefore, vehicle vibration can only be suppressed when the vehicle enters anti-shake mode. Entering anti-shake mode requires meeting a first trigger condition. If the vehicle does not meet the first trigger condition, it indicates that the vehicle is not currently experiencing vibration or the overall vibration level is low. Therefore, there is no need to control the vehicle motor, and no compensation torque is output.

[0076] Step 204: Determine the anti-jitter speed corresponding to the anti-jitter angular velocity at the current moment.

[0077] The anti-shake angular velocity is determined based on the anti-shake angular velocity of the previous moment and the compensation torque of the current moment.

[0078] In the embodiments of this application, such as Figure 3 As shown, the steps for determining the anti-jitter angular velocity at the current moment include the following steps 2041-2043:

[0079] Step 2041: Obtain the moment of inertia, the compensation torque at the current moment, the anti-jitter angular velocity at the previous moment, and the preset time interval.

[0080] The preset time interval is the time difference between the current moment and the previous moment.

[0081] In this embodiment, the moment of inertia is related to the vehicle's mass, the differential ratio of the motor to the wheel shaft, and the wheel radius.

[0082] The moment of inertia is determined using Formula 1, which is as follows:

[0083]

[0084] Where J is the moment of inertia, m is the mass of the vehicle, R1 is the differential ratio of the motor to the wheel, and R2 is the wheel radius.

[0085] In this embodiment of the application, the method for determining the compensation torque at the current moment is the same as the method for determining the compensation torque at the next moment for compensating the current torque in steps 204-206. The next moment is moment K+1. The only difference is that the moment corresponding to the compensation torque is different. The compensation torque at the current moment can be the compensation torque corresponding to moment K. By replacing K+1 with K, the compensation torque corresponding to moment K can be calculated based on steps 204-206.

[0086] In this embodiment of the application, the anti-jitter angular velocity at the previous moment is determined by Formula 2, which is as follows:

[0087]

[0088] Where ω(k-1) is the anti-jitter angular velocity at the previous moment, ω(k-2) is the anti-jitter angular velocity corresponding to the two moments before the current moment, T(k-1) is the compensation torque at the previous moment, J is the moment of inertia, and Δt is the preset time interval.

[0089] It should be noted that the anti-jitter angular velocity of the previous moment and the anti-jitter angular velocity of the two moments before the current moment can be determined by referring to the method for determining the anti-jitter angular velocity of the current moment. By replacing K with K-1, the anti-jitter angular velocity corresponding to moment K-1 can be calculated based on steps 2041-2043. By replacing K with K-2, the anti-jitter angular velocity corresponding to moment K-2 can be calculated based on steps 2041-2043.

[0090] Step 2042: Determine the anti-shaking angular acceleration at the current moment based on the compensation torque and moment of inertia at the current moment.

[0091] In this embodiment, based on the compensation torque and moment of inertia at the current moment, the anti-jitter angular acceleration at the current moment is determined using Formula 3, which is as follows:

[0092]

[0093] Where a(k) is the anti-jitter angular acceleration at the current moment, T(k) is the compensation torque at the current moment, and J is the moment of inertia.

[0094] Step 2043: Determine the anti-jitter angular velocity at the current moment based on the anti-jitter angular acceleration of the previous moment, the anti-jitter angular velocity of the previous moment, and the preset time interval.

[0095] In this embodiment of the application, the anti-jitter angular acceleration at the previous moment, the anti-jitter angular velocity at the previous moment, and the preset time interval are used to determine the current anti-jitter angular velocity using Formula 4, which is as follows:

[0096] Formula 4: ω(k)=ω(k-1)+a(k)·Δt

[0097] Where ω(k-1) is the anti-jitter angular velocity at the previous moment, ω(k) is the anti-jitter angular velocity at the current moment, a(k) is the anti-jitter angular acceleration at the current moment, and Δt is the preset time interval.

[0098] In this embodiment of the application, the anti-jitter rotation speed corresponding to the current anti-jitter angular velocity is determined by Formula 5, which is as follows:

[0099]

[0100] Where n(k) is the anti-jitter speed at the current moment, ω(k) is the anti-jitter angular velocity at the current moment, and π is pi. The unit of ω(k) is rad / s, and the unit of n(k) is r / min.

[0101] It should be noted that if the first trigger condition is triggered at the current moment, which is the initial moment of entering anti-jitter mode, then the values ​​of the parameters corresponding to moments before the current moment are assumed to be initial values. For example, the anti-jitter angular velocity and the compensation torque at the previous moment are initial values, which can be zero. If the current moment is not the initial moment of entering anti-jitter mode, the anti-jitter angular velocity and the compensation torque at the previous moment are calculated as described above.

[0102] Step 205: Adjust the PID controller based on the anti-jitter speed and the first speed to obtain the compensated speed.

[0103] In this embodiment, the anti-vibration speed and the first speed at the current moment are input into the PID controller. Based on the speed difference between the anti-vibration speed and the first speed at the current moment, the PID controller determines the adjustment parameters of the PID controller corresponding to the difference by looking up a table. The adjustment parameters include proportional adjustment parameters, integral adjustment parameters, and derivative adjustment parameters. By adjusting the PID controller according to the proportional adjustment parameters, integral adjustment parameters, and derivative parameters, the compensation torque can be calculated from the determined adjustment parameters of the PID controller, thereby obtaining the compensation torque for adjusting and suppressing vehicle vibration.

[0104] The table consulted when determining the PID controller adjustment parameters is a one-dimensional table showing the correspondence between the speed difference and the proportional, integral, and derivative adjustment parameters. In other words, after determining the speed difference of the motor's current speed, a proportional adjustment parameter, an integral adjustment parameter, and a derivative adjustment parameter can be obtained by looking up the table.

[0105] Step 206: Determine the compensation torque based on the compensation speed.

[0106] In this embodiment of the application, determining the compensation torque based on the compensation speed includes:

[0107] The initial torque is obtained based on the compensation speed; the initial torque is filtered; based on a preset torque range, the filtered initial torque is thresholded to obtain the compensation torque, so that the compensation torque is within the preset torque range.

[0108] In this embodiment of the application, obtaining the initial torque based on the compensated rotational speed includes: multiplying the rate of change of the compensated rotational speed at the current moment by the moment of inertia to obtain the initial torque at the next moment. The rate of change of the compensated rotational speed at the current moment is obtained by dividing the difference between the compensated rotational speed at the current moment and the compensated rotational speed at the previous moment by a preset time interval.

[0109] It should be noted that the compensation speed, initial torque, and compensation torque in step 206 are all data corresponding to the next moment, so that the current torque can be updated according to the compensation torque at the next moment.

[0110] In this embodiment, filtering the initial torque includes performing a low-pass filter on the initial torque to obtain a filtered initial torque. The filtered initial torque can suppress high-frequency noise and improve the stability and reliability of the initial torque.

[0111] In this embodiment of the application, based on a preset torque range, a threshold limit is applied to the initial torque after filtering to obtain a compensation torque, including: comparing the magnitude relationship between the initial torque after filtering and the preset torque range, determining whether the initial torque after filtering is within the torque range, and if so, using the initial torque after filtering as the compensation torque; otherwise, using any torque value within the torque range as the compensation torque.

[0112] Specifically, when the initial torque after filtering is not within the torque range, the upper and lower limits of the preset torque range can be determined, and the limit closest to the initial torque after filtering between the upper and lower limits can be used as the compensation torque.

[0113] Step 207: Based on the compensation torque, update the current torque to obtain the target torque for the next moment.

[0114] In this embodiment, the compensation torque is added to the current torque to obtain the target torque. After obtaining the target torque, the motor is controlled to rotate according to the target torque.

[0115] This application provides a method for controlling motor torque. By using the motor's current first speed and the previous second speed, it is determined whether the vehicle meets the first trigger condition corresponding to the anti-vibration mode. When the first trigger condition is met, it indicates that the vehicle is vibrating under the current operating conditions. Only then is the compensation torque for the next moment determined based on the first speed and the anti-vibration angular velocity at the current moment. Based on the compensation torque, the current torque is updated to obtain the target torque for the next moment. In this way, under specific conditions, the motor speed fluctuation can be effectively suppressed in real time, thereby suppressing vehicle vibration and improving vehicle ride comfort.

[0116] Figure 4 This is a schematic diagram of the structure of a motor torque control device provided in an embodiment of this application. See also... Figure 4 The control device includes:

[0117] The first acquisition module 401 is used to acquire the first speed of the motor at the current moment, the second speed at the previous moment, and the current torque;

[0118] The judgment module 402 is used to determine whether the vehicle meets the first trigger condition corresponding to the anti-shake mode based on the first speed and the second speed.

[0119] The first determining module 403 is used to determine the compensation torque for the next moment based on the first rotational speed and the anti-shaking angular velocity at the current moment if the vehicle meets the first triggering condition. The anti-shaking angular velocity is determined based on the anti-shaking angular velocity at the previous moment and the compensation torque at the current moment.

[0120] The update module 404 is used to update the current torque based on the compensation torque to obtain the target torque for the next moment.

[0121] Optionally, the judgment module 402 includes:

[0122] The first determining submodule is used to determine the maximum value between the first anti-shake speed and the preset second anti-shake speed as the target anti-shake speed, wherein the first anti-shake speed is a preset multiple of the first speed;

[0123] The second determining submodule is used to determine that the vehicle meets the first triggering condition if the absolute value of the difference between the first speed and the second speed is greater than the target anti-shaking speed.

[0124] Optionally, the first determining module 403 includes:

[0125] The third determining submodule is used to determine the anti-jitter speed corresponding to the anti-jitter angular velocity at the current moment;

[0126] The first calculation submodule is used to adjust the PID controller based on the anti-jitter speed and the first speed to obtain the compensated speed;

[0127] The fourth determination submodule is used to determine the compensation torque based on the compensation speed.

[0128] Optionally, the fourth determining submodule is used to: obtain the initial torque based on the compensation speed; filter the initial torque; and limit the filtered initial torque to a threshold based on a preset torque range to obtain the compensation torque, so that the compensation torque is within the preset torque range.

[0129] Optionally, the device also includes:

[0130] The second acquisition module is used to acquire the moment of inertia, the compensation torque at the current moment, the anti-jitter angular velocity at the previous moment, and the preset time interval, which is the time difference between the current moment and the previous moment.

[0131] The second determining module is used to determine the anti-jitter angular acceleration at the current moment based on the compensation torque and moment of inertia at the current moment.

[0132] The third determining module uses the anti-jitter angular acceleration based on the previous time step, the anti-jitter angular velocity based on the previous time step, and the preset time interval to determine the anti-jitter angular velocity at the current time step.

[0133] Optionally, the first acquisition module includes:

[0134] The second calculation submodule is used to calculate the first speed of the motor based on the motor's rotation angle and rotation time.

[0135] This application provides a motor torque control device. By using the motor's current first speed and the previous second speed, it determines whether the vehicle meets the first trigger condition corresponding to the anti-vibration mode. When the first trigger condition is met, it indicates that the vehicle is vibrating under the current operating conditions. Only then is the compensation torque for the next moment determined based on the first speed and the anti-vibration angular velocity at the current moment. Based on the compensation torque, the current torque is updated to obtain the target torque for the next moment. In this way, under specific conditions, the motor speed fluctuation can be effectively suppressed in real time, thereby suppressing vehicle vibration and improving vehicle ride comfort.

[0136] It is understood that the motor torque control device provided in the above embodiments is only an example of the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0137] Furthermore, the embodiments of the motor torque control device and motor torque control method provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.

[0138] This application also provides a computer device, which includes one or more processors and one or more memories. The one or more memories store at least one instruction, which is loaded and executed by the one or more processors to perform the operation of the motor torque control method in the above method embodiments.

[0139] This application embodiment also provides a storage medium storing at least one instruction, which is loaded and executed by a processor to implement the operation performed by the motor torque control method in the above method embodiment.

[0140] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0141] The above are merely exemplary embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application shall be included within the protection scope of this application.

Claims

1. A method for controlling motor torque, the method comprising: Get the motor's first speed at the current moment, the second speed at the previous moment, and the current torque; Based on the first speed and the second speed, determine whether the vehicle meets the first trigger condition corresponding to the anti-shake mode; If the vehicle meets the first triggering condition, the compensation torque for the next moment is determined based on the first rotational speed and the anti-shaking angular velocity at the current moment. The anti-shaking angular velocity is determined based on the anti-shaking angular velocity at the previous moment and the compensation torque at the current moment. Based on the compensation torque, the current torque is updated to obtain the target torque for the next moment; The determination of whether the vehicle meets the first trigger condition corresponding to the anti-shake mode includes: The maximum value between the first anti-jitter speed and the preset second anti-jitter speed is determined as the target anti-jitter speed, and the first anti-jitter speed is a preset multiple of the first speed; If the absolute value of the difference between the first speed and the second speed is greater than the target anti-shaking speed, then the vehicle is determined to meet the first triggering condition. The steps for determining the anti-jitter angular velocity at the current moment include: The moment of inertia, the compensation torque at the current moment, the anti-jitter angular velocity at the previous moment, and the preset time interval are obtained, where the preset time interval is the time difference between the current moment and the previous moment. Based on the compensation torque and the moment of inertia at the current moment, determine the anti-jitter angular acceleration at the current moment; The anti-jitter angular velocity at the current moment is determined based on the anti-jitter angular acceleration at the current moment, the anti-jitter angular velocity at the previous moment, and the preset time interval.

2. The method according to claim 1, characterized in that, The step of determining the compensation torque for the next moment based on the first rotational speed and the anti-jitter angular velocity at the current moment includes: Determine the anti-jitter rotation speed corresponding to the anti-jitter angular velocity at the current moment; The compensated speed is obtained based on the anti-jitter speed and the first speed adjustment PID controller; The compensation torque is determined based on the compensation rotational speed.

3. The method according to claim 2, characterized in that, The determination of the compensation torque based on the compensation speed includes: The initial torque is obtained based on the compensated rotational speed; The initial torque is filtered. Based on a preset torque range, a threshold limit is applied to the initial torque after filtering to obtain the compensation torque, so that the compensation torque is within the preset torque range.

4. The method according to claim 1, characterized in that, Obtaining the first rotational speed of the motor at the current moment includes: The first rotational speed of the motor is calculated based on the rotation angle and rotation time of the motor.

5. A motor torque control device, characterized in that, The device includes: The first acquisition module is used to acquire the motor's first speed at the current moment, the second speed at the previous moment, and the current torque; The judgment module is used to determine whether the vehicle meets the first trigger condition corresponding to the anti-shake mode based on the first speed and the second speed. The first determining module is used to determine the compensation torque at the next moment based on the first rotational speed and the anti-shaking angular velocity at the current moment if the vehicle meets the first triggering condition. The anti-shaking angular velocity is determined based on the anti-shaking angular velocity at the previous moment and the compensation torque at the current moment. An update module is used to update the current torque based on the compensated torque to obtain the target torque at the next moment; The judgment module includes: The first determining submodule is used to determine the maximum value between the first anti-jitter speed and the preset second anti-jitter speed as the target anti-jitter speed, wherein the first anti-jitter speed is a preset multiple of the first speed; The second determining submodule is used to determine that the vehicle meets the first triggering condition if the absolute value of the difference between the first speed and the second speed is greater than the target anti-shaking speed. The device further includes: The second acquisition module is used to acquire the moment of inertia, the compensation torque at the current moment, the anti-jitter angular velocity at the previous moment, and a preset time interval, wherein the preset time interval is the time difference between the current moment and the previous moment. The second determining module is used to determine the anti-jitter angular acceleration at the current moment based on the compensation torque and the moment of inertia at the current moment. The third determining module is used to determine the anti-jitter angular velocity at the current moment based on the anti-jitter angular acceleration at the current moment, the anti-jitter angular velocity at the previous moment, and the preset time interval.

6. A computer device, characterized in that, The computer device includes one or more processors and one or more memories, wherein at least one instruction is stored in the one or more memories, the instruction being loaded and executed by the one or more processors to perform the operation performed by the motor torque control method as described in any one of claims 1 to 4.

7. A storage medium, characterized in that, The storage medium stores at least one instruction, which is loaded and executed by a processor to perform the operation of the motor torque control method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Vehicle anti-shake method, device, storage medium and system

    CN112977395A

  • Vehicle active anti-shake method, anti-shake system, storage medium and vehicle

    CN116278804A

Cited By

  • Motor torque control method and apparatus, and storage medium

    WO2026081641A1