Motor torque control method and device and storage medium

By judging the changes in motor speed and torque, and determining the compensation torque to suppress vehicle jitter, the jitter problem of pure electric vehicles and hybrid vehicles under different working conditions is solved, and the driving experience is improved.

CN119017951AActive Publication Date: 2024-11-26CHERY AUTOMOBILE CO LTD

Patent Information

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

AI Technical Summary

Technical Problem

Pure electric vehicles and hybrid vehicles are prone to vehicle jitter problems during driving, which affects the driver's riding experience, mainly due to the frequent changes in motor torque under different driving conditions and the underdamping characteristics of the transmission system.

Method used

By obtaining the current and previous moment of the motor, it is determined whether the triggering conditions of the reverse jitter mode are met, the compensation torque is determined based on the reverse jitter angular velocity and rotation speed, and the target torque is updated to suppress motor speed fluctuations and vehicle jitters.

Benefits of technology

Effectively suppress vehicle shaking, improve driving comfort, adjust torque in real time to adapt to different driving conditions, and reduce motor speed fluctuations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119017951A_ABST
    Figure CN119017951A_ABST
Patent Text Reader

Abstract

The invention discloses a motor torque control method and device and a storage medium, and belongs to the technical field of vehicle control. The method comprises the steps that whether the vehicle meets a first triggering condition corresponding to an anti-jitter mode or not is judged based on the first rotating speed of a motor at the current moment and the second rotating speed of a motor at the last moment; when the first triggering condition is met, the compensation torque of the next moment is determined based on the first rotating speed and the anti-jitter angular speed of the current moment, and the current torque is updated based on the compensation torque to obtain the target torque of the next moment, so that the rotating speed fluctuation of the motor can be effectively inhibited in real time when the triggering condition is met, and the stability of the motor is improved. Therefore, the shaking condition of the vehicle is restrained, and the driving comfort of the vehicle is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

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

[0003] On the one hand, since the motor of a pure electric vehicle or a hybrid vehicle is directly connected to the wheels through a single-stage transmission and has no shifting structure, this physical characteristic makes it easy for the vehicle to have insufficient damping during driving, which further causes vehicle shaking. On the other hand, the motor torque often changes frequently and drastically with the driving conditions during driving, and there is transmission tooth surface switching caused by changes in torque direction. The under-damping characteristics caused by the relatively simple transmission system make the vehicle prone to vehicle shaking when starting, quickly accelerating, quickly decelerating, accelerating from drive to energy recovery, and exiting energy recovery. This affects the driver's riding experience.

[0004] Based on this, how to improve the vehicle shaking phenomenon that occurs during driving of pure electric vehicles and hybrid electric vehicles has become an urgent problem to be solved. Summary of the invention

[0005] The present application provides a method and device for controlling motor torque, which can reduce the problem of vehicle shaking during driving, thereby improving the driver's riding experience. The technical solution is as follows:

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

[0007] Obtain the first speed of the motor at the current moment, the second speed of the motor at the previous moment, and the current torque;

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

[0009] If the vehicle satisfies the first trigger condition, determining a compensation torque at a next moment based on the first speed and an anti-jitter angular velocity at a current moment, wherein the anti-jitter angular velocity is determined based on the anti-jitter angular velocity at a previous moment and the compensation torque at the current moment;

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

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

[0012] If the absolute value of the difference between the first speed and the second speed is greater than the target anti-shudder speed, it is determined that the vehicle meets the first trigger condition.

[0013] Optionally, determining the compensation torque at the next moment based on the first rotation 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] Adjusting a PID controller based on the anti-jitter speed and the first speed to obtain a compensation speed;

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

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

[0018] determining an initial torque based on the compensated speed;

[0019] Performing filtering processing on the initial torque;

[0020] Based on a preset torque range, a threshold limit is performed on 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] Obtaining the moment of inertia, the compensation torque at the current moment, the anti-shake 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;

[0023] Determining the anti-jitter angular acceleration at the current moment based on the compensation torque at the current moment and the moment of inertia;

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

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

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

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

[0028] A first acquisition module is used to acquire a first speed of the motor at a current moment, a second speed of the motor at a previous moment, and a current torque;

[0029] a judging module, configured to judge whether the vehicle satisfies a first triggering condition corresponding to an anti-shake mode based on the first speed and the second speed;

[0030] a first determination module, configured to determine a compensation torque at a next moment based on the first speed and an anti-jitter angular velocity at a current moment if the vehicle satisfies the first trigger condition, wherein the anti-jitter angular velocity is determined based on the anti-jitter angular velocity at a previous moment and the compensation torque at the current moment;

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

[0032] Optionally, the judging module includes:

[0033] A first determination submodule, configured to determine a maximum value between a first anti-jitter rotation speed and a preset second anti-jitter rotation speed as a target anti-jitter rotation speed, wherein the first anti-jitter rotation speed is a preset multiple of the first rotation speed;

[0034] The second determination submodule is configured to determine that the vehicle satisfies the first trigger condition if an absolute value of a difference between the first rotational speed and the second rotational speed is greater than the target anti-jitter rotational speed.

[0035] Optionally, the first determining module includes:

[0036] A third determination submodule, used to determine the anti-jitter rotation speed corresponding to the anti-jitter angular velocity at the current moment;

[0037] A first calculation submodule, configured to adjust a PID controller based on the anti-jitter speed and the first speed to obtain a compensation speed;

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

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

[0040] Optionally, the device further comprises:

[0041] A second acquisition module, used to acquire the moment of inertia, the compensation torque at the current moment, the anti-shake 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] A second determination module, configured to determine the anti-jitter angular acceleration at the current moment based on the compensation torque at the current moment and the moment of inertia;

[0043] The third determination module determines the anti-shake angular velocity at the current moment based on the anti-shake angular acceleration at the previous moment, the anti-shake 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 rotation 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, which includes one or more processors and one or more memories, wherein at least one instruction is stored in the one or more memories, and the instruction is loaded and executed by the one or more processors to implement the operations performed by the motor torque control method described in the above aspects.

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

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

[0049] The present application provides a method for controlling the torque of a motor, which determines whether a vehicle satisfies a first trigger condition corresponding to an anti-jitter mode by using a first speed of the motor at a current moment and a second speed of the motor at a previous moment; when the first trigger condition is met, the compensation torque at the next moment is determined based on the first speed and the anti-jitter angular velocity at the current moment, and the current torque is updated based on the compensation torque to obtain a target torque at the next moment. In this way, the fluctuation of the motor speed can be effectively suppressed in real time only when the trigger condition is met, thereby suppressing the jitter of the vehicle and improving the driving comfort of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0051] Figure 1 is a flow chart of a method for controlling motor torque provided in an embodiment of the present application;

[0052] Figure 2 is a flow chart of another motor torque control method provided in an embodiment of the present application;

[0053] Figure 3 is a flow chart of the steps for determining the anti-jitter angular velocity at the current moment provided by an embodiment of the present application;

[0054] Figure 4 It is a structural schematic diagram of a motor torque control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0056] Electric vehicles can include: pure electric vehicles and hybrid vehicles. Electric vehicles are vehicles that are powered by an onboard power supply and use an electric motor to drive the wheels. Since the motor of a pure electric vehicle or a hybrid vehicle is directly connected to the wheels through a single-stage transmission and has no shifting structure, this physical characteristic makes it easy for the vehicle to have insufficient damping during driving, which further causes vehicle shaking. On the other hand, the motor torque often changes frequently and drastically with the driving conditions during driving, and there is a transmission tooth surface switching caused by the change in torque direction. The under-damping characteristics caused by the relatively simple transmission system make the vehicle prone to vehicle shaking problems when the vehicle starts, quickly accelerates, quickly decelerates, accelerates from drive to energy recovery, and exits energy recovery.

[0057] Based on this, an embodiment of the present application provides a method for controlling motor torque, which effectively suppresses the motor vibration of a car and improves the driving comfort of the vehicle.

[0058] Figure 1 is a flow chart of a motor torque control method provided in an embodiment of the present application, which can be applied to a vehicle controller in an electric vehicle. Figure 1 , the method comprises the following steps.

[0059] Step 101, obtaining a first speed of the motor at a current moment, a second speed at a previous moment, and a current torque.

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

[0061] Step 103: If the vehicle meets the first trigger condition, the compensation torque at the next moment is determined based on the first rotation speed and the anti-jitter angular velocity at the current moment.

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

[0063] Step 104: Based on the compensation torque, the current torque is updated to obtain the target torque at the next moment.

[0064] The present application provides a method for controlling the torque of a motor, which determines whether a vehicle satisfies a first trigger condition corresponding to an anti-jitter mode by using a first speed of the motor at a current moment and a second speed of the motor at a previous moment; when the first trigger condition is met, it indicates that the vehicle is shaking under the current working condition, and the compensation torque at the next moment is determined based on the first speed and the anti-jitter angular velocity at the current moment, and the current torque is updated based on the compensation torque to obtain a target torque at the next moment, so that the motor speed fluctuation can be effectively suppressed in real time only when specific conditions are met, thereby suppressing the shaking of the vehicle and improving the driving comfort of the vehicle.

[0065] Figure 2 is a flow chart of another motor torque control method provided by an embodiment of the present application, which can be applied to a vehicle controller in an electric vehicle. Figure 2 , the method comprises the following steps.

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

[0067] Among them, the first speed of the motor at the current moment can be the real-time speed of the motor calculated in real time. In an embodiment of the present application, the first 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 rotated from the previous moment to the current moment, and the rotation time is the time from the previous moment to the current moment. Specifically, the first speed is obtained by dividing the rotation angle by the rotation time.

[0068] In the embodiment of the present application, the second rotation 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 the rotation angle.

[0069] In the embodiment of the present application, the current torque is determined by a control signal providing a certain output torque value according to the current state of the vehicle.

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

[0071] The first anti-jitter rotation speed is a preset multiple of the first rotation speed; in the embodiment of the present application, the preset multiple may be any one of 1%-1.5%.

[0072] The preset second anti-jitter speed is pre-set according to different situations. In the embodiment of the present application, the preset second anti-jitter speed can be the minimum value of the motor speed difference, or it can be a pre-set speed value.

[0073] In the embodiment of the present application, the first anti-jitter speed is compared with the preset second anti-jitter speed, and the maximum value of the two is used 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 used 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 used as the target anti-jitter speed. If the first anti-jitter speed is equal to the preset second anti-jitter speed, either of the two is used 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-jitter speed, it is determined that the vehicle meets the first trigger condition.

[0075] It should be noted that the embodiment of the present application is in anti-shake mode, and the output torque is supplemented on the basis of the current torque provided by the vehicle motor control system by the compensation torque calculated in the anti-shake mode, so that the output target torque can improve the vehicle shaking phenomenon. Therefore, only when the vehicle enters the anti-shake mode can the vehicle shaking phenomenon be suppressed. The vehicle enters the anti-shake mode and needs to meet the first trigger condition. When the vehicle does not meet the first trigger condition, it means that the vehicle is not shaking at present or the degree of shaking of the whole vehicle is low. Therefore, there is no need to control the vehicle motor, and the compensation torque will not be output.

[0076] Step 204: Determine the anti-jitter rotation 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 at the previous moment and the compensation torque at the current moment.

[0078] In the embodiments of the present application, 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, obtaining the moment of inertia, the compensation torque at the current moment, the anti-shake 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 the embodiment of the present application, the moment of inertia is related to the mass of the vehicle, the shaft differential ratio from the motor to the wheel, and the wheel radius.

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

[0083]

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

[0085] In the embodiment of the present application, the method for determining the compensation torque at the current moment is consistent with 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, but the moment corresponding to the determination of the compensation torque is different. The compensation torque at the current moment may be the compensation torque corresponding to moment K. K+1 is replaced by K, and the compensation torque corresponding to moment K can be calculated based on steps 204-206.

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

[0087]

[0088] Among them, ω(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 corresponding to 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 the K-1 moment can be calculated based on steps 2041-2043. By replacing K with K-2, the anti-jitter angular velocity corresponding to the K-2 moment can be calculated based on steps 2041-2043.

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

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

[0092]

[0093] Wherein, a(k) is the anti-shake 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-shake angular velocity at the current moment based on the anti-shake angular acceleration at the previous moment, the anti-shake angular velocity at the previous moment, and the preset time interval.

[0095] In the embodiment of the present application, 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, the anti-jitter angular velocity at the current moment is determined by formula 4, and the formula 4 is as follows:

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

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

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

[0099]

[0100] Wherein, n(k) is the anti-shake rotation speed at the current moment, ω(k) is the anti-shake angular velocity at the current moment, and π is the circumference of a circle. 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 just triggered at the current moment, and the current moment is the initial moment of entering the anti-shake mode, then the value of the parameter corresponding to the moment before the current moment defaults to the initial value, for example: the anti-shake angular velocity and the compensation torque of the previous moment are the initial values, and the initial value can be zero. If the current moment is not the initial moment of entering the anti-shake mode, the anti-shake angular velocity and the compensation torque of the previous moment are calculated in the above manner.

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

[0103] In an embodiment of the present application, the anti-jitter speed at the current moment and the first speed at the current moment are input into the PID controller, and based on the speed difference between the anti-jitter speed at the current moment and the first speed at the current moment, the adjustment parameters of the PID controller corresponding to the difference are determined through a PID controller query table, and the adjustment parameters include proportional adjustment parameters, integral adjustment parameters and differential adjustment parameters, so that the PID controller is adjusted according to the proportional adjustment parameters, integral adjustment parameters and differential parameters, and the compensation torque can be calculated from the determined adjustment parameters of the PID controller, thereby obtaining the compensation torque for adjusting and suppressing the jitter of the entire vehicle.

[0104] Among them, the table queried when determining the PID controller adjustment parameters is a one-dimensional table of the corresponding relationship between the speed difference and the proportional adjustment parameter, integral adjustment parameter and differential adjustment parameter. That is to say, after the speed difference of the current motor speed is determined, a proportional adjustment parameter, an integral adjustment parameter and a differential adjustment parameter can be obtained by looking up the table.

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

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

[0107] An initial torque is obtained based on the compensation speed; the initial torque is filtered; and based on a preset torque range, a threshold value is limited to the filtered initial torque to obtain a compensation torque so that the compensation torque is within the preset torque range.

[0108] In an embodiment of the present application, obtaining the initial torque based on the compensation speed includes: multiplying the speed change rate corresponding to the compensation speed at the current moment by the moment of inertia to obtain the initial torque at the next moment, and the speed change rate corresponding to the compensation speed at the current moment is obtained by dividing the difference between the compensation speed at the current moment and the compensation 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 the embodiment of the present application, filtering the initial torque includes: performing low-pass filtering on the initial torque to obtain the filtered initial torque. The filtered initial torque can suppress high-frequency noise and improve the stability and reliability of the initial torque.

[0111] In an embodiment of the present application, based on a preset torque range, a threshold limit is imposed on the initial torque after filtering to obtain a compensation torque, including: comparing the size relationship between the initial torque after filtering and the preset torque range, and determining whether the initial torque after filtering is within the torque range. If so, the initial torque after filtering is used as the compensation torque; if not, any torque value within the torque range is used as the compensation torque.

[0112] Specifically, when the filtered initial torque is not within the torque range, the upper limit and lower limit corresponding to the preset torque range can be determined, and the limit value closest to the filtered initial torque is used as the compensation torque.

[0113] Step 207: Based on the compensation torque, the current torque is updated to obtain the target torque at the next moment.

[0114] In the embodiment of the present application, the target torque is obtained by adding the compensation torque to the current torque. After the target torque is obtained, the motor is controlled to rotate according to the target torque.

[0115] The present application provides a method for controlling the torque of a motor, which determines whether a vehicle satisfies a first trigger condition corresponding to an anti-jitter mode by using a first speed of the motor at a current moment and a second speed of the motor at a previous moment; when the first trigger condition is met, it indicates that the vehicle is shaking under the current working condition, and the compensation torque at the next moment is determined based on the first speed and the anti-jitter angular velocity at the current moment, and the current torque is updated based on the compensation torque to obtain a target torque at the next moment, so that the motor speed fluctuation can be effectively suppressed in real time only when specific conditions are met, thereby suppressing the shaking of the vehicle and improving the driving comfort of the vehicle.

[0116] Figure 4 is a schematic diagram of the structure of a motor torque control device provided in an embodiment of the present application. Figure 4 , the control device comprises:

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

[0118] A determination module 402, configured to determine whether the vehicle satisfies a first trigger condition corresponding to an anti-shake mode based on a first rotation speed and a second rotation speed;

[0119] A first determination module 403, configured to determine a compensation torque at a next moment based on the first rotation speed and the anti-jitter angular velocity at a current moment if the vehicle meets a first trigger condition, wherein the anti-jitter angular velocity is determined based on the anti-jitter angular velocity at a previous moment and the compensation torque at a current moment;

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

[0121] Optionally, the determination module 402 includes:

[0122] A first determination submodule, used to determine a maximum value between a first anti-jitter rotation speed and a preset second anti-jitter rotation speed as a target anti-jitter rotation speed, wherein the first anti-jitter rotation speed is a preset multiple of the first rotation speed;

[0123] The second determination submodule is configured to determine that the vehicle meets a first trigger condition if an absolute value of a difference between the first rotation speed and the second rotation speed is greater than a target anti-jitter rotation speed.

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

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

[0126] A first calculation submodule, used for adjusting the PID controller based on the anti-jitter speed and the first speed to obtain a compensation speed;

[0127] The fourth determining submodule is configured to determine the compensation torque based on the compensation rotational speed.

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

[0129] Optionally, the device further comprises:

[0130] A second acquisition module is used to acquire the moment of inertia, the compensation torque at the current moment, the anti-shake angular velocity at the previous moment, and a preset time interval, where the preset time interval is the time difference between the current moment and the previous moment;

[0131] A second determination module, configured 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;

[0132] The third determination module determines the anti-shake angular velocity at the current moment based on the anti-shake angular acceleration at the previous moment, the anti-shake angular velocity at the last moment and a preset time interval.

[0133] Optionally, the first acquisition module includes:

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

[0135] The present application provides a control device for motor torque, which determines whether a vehicle satisfies a first trigger condition corresponding to an anti-jitter mode through a first speed of the motor at a current moment and a second speed of the motor at a previous moment; when the first trigger condition is met, it indicates that the vehicle is shaking under the current working condition, and then the compensation torque at the next moment is determined based on the first speed and the anti-jitter angular velocity at the current moment, and the current torque is updated based on the compensation torque to obtain the target torque at the next moment. In this way, the motor speed fluctuation can be effectively suppressed in real time only when specific conditions are met, thereby suppressing the shaking of the vehicle and improving the driving comfort of the vehicle.

[0136] It can be understood that the motor torque control device provided in the above embodiment is only illustrated by 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] In addition, the embodiments of the motor torque control device and the motor torque control method provided in the above embodiments belong to the same concept, and their specific implementation processes are detailed in the method embodiments, which will not be repeated here.

[0138] An embodiment of the present application also provides a computer device, which includes one or more processors and one or more memories, wherein the one or more memories store at least one instruction, and the instruction is loaded and executed by the one or more processors to implement the operations performed by the motor torque control method in the above-mentioned method embodiment.

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

[0140] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

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

Claims

1. A method for controlling motor torque, the method comprising: Obtain the first speed of the motor at the current moment, the second speed of the motor at the previous moment, and the current torque; Based on the first speed and the second speed, determining whether the vehicle meets a first trigger condition corresponding to an anti-shake mode; If the vehicle satisfies the first trigger condition, determining a compensation torque at a next moment based on the first speed and an anti-jitter angular velocity at a current moment, wherein the anti-jitter angular velocity is determined based on the anti-jitter angular velocity at a 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 at the next moment.

2. The method according to claim 1, characterized in that The determining whether the vehicle satisfies a first trigger condition corresponding to the anti-shake mode includes: Determine a maximum value between a first anti-jitter rotation speed and a preset second anti-jitter rotation speed as a target anti-jitter rotation speed, wherein the first anti-jitter rotation speed is a preset multiple of the first rotation speed; If the absolute value of the difference between the first speed and the second speed is greater than the target anti-shudder speed, it is determined that the vehicle meets the first trigger condition.

3. The method according to claim 1, characterized in that: The determining the compensation torque at the next moment based on the first 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; Adjusting a PID controller based on the anti-jitter speed and the first speed to obtain a compensation speed; The compensation torque is determined based on a compensation rotational speed.

4. The method according to claim 3, characterized in that The determining the compensation torque based on the compensation speed includes: Obtaining an initial torque based on the compensated speed; Performing filtering processing on the initial torque; Based on a preset torque range, a threshold limit is performed on the initial torque after filtering to obtain the compensation torque, so that the compensation torque is within the preset torque range.

5. The method according to claim 1, characterized in that The step of determining the anti-jitter angular velocity at the current moment comprises: Obtaining the moment of inertia, the compensation torque at the current moment, the anti-shake 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; Determining the anti-jitter angular acceleration at the current moment based on the compensation torque at the current moment and the moment of inertia; The anti-shake angular velocity at the current moment is determined based on the anti-shake angular acceleration at the previous moment, the anti-shake angular velocity at the last moment, and the preset time interval.

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

7. A motor torque control device, characterized in that: The device comprises: A first acquisition module is used to acquire a first speed of the motor at a current moment, a second speed of the motor at a previous moment, and a current torque; a judging module, configured to judge whether the vehicle satisfies a first triggering condition corresponding to an anti-shake mode based on the first speed and the second speed; a first determination module, configured to determine a compensation torque at a next moment based on the first speed and an anti-jitter angular velocity at a current moment if the vehicle satisfies the first trigger condition, wherein the anti-jitter angular velocity is determined based on the anti-jitter angular velocity at a previous moment and the compensation torque at the current moment; An updating module is used to update the current torque based on the compensation torque to obtain a target torque at a next moment.

8. The device according to claim 7, characterized in that The judging module comprises: A first determination submodule, configured to determine a maximum value between a first anti-jitter rotation speed and a preset second anti-jitter rotation speed as a target anti-jitter rotation speed, wherein the first anti-jitter rotation speed is a preset multiple of the first rotation speed; The second determination submodule is configured to determine that the vehicle satisfies the first trigger condition if an absolute value of a difference between the first rotational speed and the second rotational speed is greater than the target anti-jitter rotational speed.

9. A computer device, characterized in that: The computer device includes one or more processors and one or more memories, wherein the one or more memories store at least one instruction, and the instruction is loaded and executed by the one or more processors to implement the operations performed by the motor torque control method as described in any one of claims 1 to 6.

10. A storage medium, characterized in that: The storage medium stores at least one instruction, which is loaded and executed by the processor to implement the operation performed by the motor torque control method according to any one of claims 1 to 6.

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

  • Control method and device of driving motor and hybrid vehicle

    CN117302180A

  • Vehicle shake suppression method, device and equipment and storage medium

    CN118082544A

  • Device and method for controlling vibration suppression in vehicle system

    JP2023136976A

Cited By

  • Motor torque control method and apparatus, and storage medium

    WO2026081641A1