Hub motor torque positive and negative switching control method and controller

By calculating the theoretical output target torque of the hub motor and the duration of the continuous zero target torque, the zero torque maintenance of torque during switching is achieved, which solves the transmission collision and reliability problems caused by torque switching of the hub motor, and improves the reliability of the vehicle sex.

CN119078544AActive Publication Date: 2024-12-06DONGFENG MOTOR GRP
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411398615.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2024-12-06
Estimated Expiration
2044-10-09

AI Technical Summary

Technical Problem

During the positive and negative torque switching process, the hub motor can easily lead to collision damage or reduced reliability of the internal transmission device.

Method used

By calculating the theoretical output target torque, positive and negative states and the switching state of the same and different numbers of the hub motor, combined with the length of time that the target torque lasts zero, the zero torque retaining of the torque during switching is achieved to avoid direct collision or friction.

Benefits of technology

Improve the coordination and reliability of the internal transmission device of the hub motor to prevent structural damage and reduced working life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119078544A_ABST
    Figure CN119078544A_ABST
Patent Text Reader

Abstract

The invention provides a hub motor torque positive and negative switching control method and a controller, and the method comprises the steps: distributing an obtained target torque and a torque change step length based on the target torque of a hub motor at the last moment and the driving intention of the hub motor, calculating the theoretical output target torque of the hub motor and the positive and negative states of the theoretical output target torque of the hub motor; on the basis of the positive and negative torque states of the hub motor before zero torque and the positive and negative theoretical output target torque states of the hub motor, the same and different signal switching state of the theoretical output target torque of the hub motor is calculated; the target torque of the hub motor at the current moment is calculated based on the same and different signal switching state of the theoretical output target torque of the hub motor, the theoretical output target torque of the hub motor and the time duration of the hub motor for continuing the zero target torque at the previous moment; and based on the target torque of the hub motor at the current moment, the torque positive and negative states of the hub motor before the zero torque at the current moment and the time duration of the hub motor for continuing the zero target torque at the current moment are calculated respectively.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of wheel hub motor control, and in particular relates to a wheel hub motor torque positive and negative switching control method and a controller. Background Art

[0002] With the emergence of intelligent chassis, wheel hub motors can improve vehicle control and increase available space by integrating motors, reducers, and brakes inside the wheels. However, the control of wheel hub motor vehicles is also more complicated. In particular, when the torque of each wheel hub motor switches between positive and negative, it is easy to cause a direct reverse switch between positive and negative torques, and the internal transmission device of the reducer inside each wheel hub may be damaged by collision or have reduced reliability. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a method and a controller for controlling the positive and negative torque switching of a hub motor, which can improve the coordination of the transmission device inside the hub and improve reliability.

[0004] The technical solution adopted by the present invention to solve the above technical problems is: a method for controlling the positive and negative torque switching of a hub motor, comprising:

[0005] The theoretical output target torque of the hub motor is calculated based on the target torque of the hub motor at the previous moment, the target torque obtained by the hub motor driving intention distribution, and the torque change step size;

[0006] Based on the wheel hub motor theoretical output target torque, calculating the positive and negative states of the wheel hub motor theoretical output target torque;

[0007] Based on the positive and negative states of the torque before the wheel hub motor has zero torque and the positive and negative states of the theoretical output target torque of the wheel hub motor, calculating the same-sign switching state of the theoretical output target torque of the wheel hub motor;

[0008] Calculate the target torque of the hub motor at the current moment based on the same-sign switching state of the hub motor theoretical output target torque, the hub motor theoretical output target torque and the length of time the hub motor maintained zero target torque at the previous moment;

[0009] Based on the target torque of the wheel hub motor at the current moment, the positive and negative states of the torque before the wheel hub motor has zero torque at the current moment and the length of time the wheel hub motor maintains zero target torque at the current moment are calculated respectively.

[0010] According to the above method, in the initial state, each torque parameter of the hub motor is initialized respectively, and each torque parameter includes the target torque of the hub motor at the last moment, the positive and negative state of the torque before the hub motor has zero torque, and the length of time when the hub motor has maintained zero target torque at the last moment.

[0011] According to the above method, the calculated target torque of the hub motor at the current moment and the length of time the hub motor maintains zero target torque at the current moment are respectively assigned to the target torque of the hub motor at the previous moment and the length of time the hub motor maintains zero target torque at the previous moment, and the switching control is performed in a cycle.

[0012] According to the above method, during initialization, the target torque of the hub motor at the last moment and the duration of the last moment of the zero target torque of the hub motor are both 0, and the positive and negative states of the torque before the zero torque of the hub motor are both positive torque.

[0013] According to the above method, the theoretical output target torque of the wheel hub motor is obtained in the following way:

[0014] If the target torque obtained by the hub motor driving intention distribution is less than or equal to the hub motor's target torque at the previous moment, the hub motor's theoretical output target torque is equal to the larger value of the difference between the hub motor's target torque at the previous moment minus the torque change step and the target torque obtained by the hub motor driving intention distribution;

[0015] If the target torque obtained by the hub motor driving intention distribution is greater than the hub motor target torque at the previous moment, the hub motor theoretical output target torque is equal to the smaller value of the difference between the hub motor target torque at the previous moment plus the torque change step and the target torque obtained by the hub motor driving intention distribution;

[0016] The target torque obtained by the wheel hub motor driving intention distribution is obtained based on the accelerator pedal opening, the brake pedal opening and the vehicle torque distribution rule; the torque change step is a preset value.

[0017] According to the above method, the positive and negative states of the theoretical output target torque of the hub motor are calculated based on the theoretical output target torque of the hub motor, specifically:

[0018] If the theoretical output target torque of the hub motor is greater than 0, the positive and negative states of the theoretical output target torque of the hub motor are 1;

[0019] If the theoretical output target torque of the hub motor is equal to 0, the positive and negative states of the theoretical output target torque of the hub motor are 0;

[0020] If the theoretical output target torque of the hub motor is less than 0, the positive and negative states of the theoretical output target torque of the hub motor are -1.

[0021] According to the above method, the positive and negative states of the torque before the hub motor has zero torque and the positive and negative states of the hub motor's theoretical output target torque are used to calculate the same-sign switching state of the hub motor's theoretical output target torque, specifically:

[0022] The same or different sign switching state of the theoretical output target torque of the hub motor is equal to the positive or negative state of the torque before the hub motor has zero torque multiplied by the positive or negative state of the theoretical output target torque of the hub motor;

[0023] Among them, in the positive and negative torque states of the hub motor before zero torque, the positive torque is set to 1, the negative torque is set to -1, and the zero torque is set to 0.

[0024] According to the above method, the target torque of the hub motor at the current moment is calculated based on the same-sign switching state of the hub motor theoretical output target torque, the hub motor theoretical output target torque and the length of time when the hub motor maintained zero target torque at the previous moment, specifically:

[0025] If the wheel hub motor theoretical output target torque same-sign switching state is 1, the wheel hub motor current target torque is equal to the wheel hub motor theoretical output target torque;

[0026] If the wheel hub motor theoretical output target torque same sign switching state is 0, then the wheel hub motor current target torque is equal to 0;

[0027] If the wheel hub motor theoretical output target torque is switched to -1 and the length of time the wheel hub motor lasted for zero target torque is less than the zero target torque time threshold, the wheel hub motor’s target torque at the current moment is equal to 0;

[0028] If the sign switching state of the theoretical output target torque of the hub motor is equal to -1 and the length of time for which the hub motor has sustained zero target torque at the previous moment is greater than or equal to the continuous zero target torque time threshold, then the target torque of the hub motor at the current moment is equal to the theoretical output target torque of the hub motor.

[0029] According to the above method, the positive and negative state of the torque of the hub motor before zero torque at the current moment is obtained specifically by the following method:

[0030] If the target torque of the hub motor at the current moment is greater than zero, the positive and negative state of the torque of the hub motor before the zero torque at the current moment is 1;

[0031] If the target torque of the hub motor at the current moment is less than zero, the positive and negative state of the torque of the hub motor before the zero torque at the current moment is -1;

[0032] If the target torque of the hub motor at the current moment is equal to zero, the positive and negative states of the torque of the hub motor before the zero torque at the current moment remain unchanged.

[0033] According to the above method, the length of time that the wheel hub motor maintains zero target torque at the current moment is specifically obtained by the following method:

[0034] If the target torque of the hub motor at the current moment is equal to zero, then the duration of the hub motor's continuous zero target torque at the current moment is equal to the duration of the hub motor's continuous zero target torque at the previous moment plus the smaller value between the task execution cycle acquisition value and the continuous zero target torque time threshold;

[0035] If the target torque of the hub motor at the current moment is not equal to zero, then the length of time that the hub motor maintains zero target torque at the current moment is equal to 0.

[0036] According to the above method, the hub motor includes at least one of the left front hub motor, the left rear hub motor, the right front hub motor and the right rear hub motor, and the parameters of the hub motors involved all correspond to the hub motors.

[0037] As a second aspect of the present invention, the present invention further provides a hub motor controller, comprising a memory, a processor, and a processor program stored in the memory and executable on the processor, wherein the method is implemented when the processor executes the processor program.

[0038] The beneficial effects of the present invention are as follows: by setting the length of time that the wheel hub motor maintains zero target torque at the current moment, when the wheel hub motor's current target torque switches between positive and negative torques, it will be maintained at zero torque for a period of time, thereby avoiding direct collision or severe friction between the internal mechanisms of the reduction transmission mechanism caused by switching between the torques of the motor, resulting in structural damage or reduced service life, thereby improving the reliability of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a method flow chart of an embodiment of the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0041] Glossary:

[0042] Hub motor: Suitable for new energy vehicles, this motor is designed to integrate the power system, transmission system, and brake system, and is installed in the wheel hub.

[0043] Target torque: refers to the torque value directly used to output the control motor. Torque is defined in physics as the product of force (N) and lever arm distance (m).

[0044] Target torque obtained by driving intention distribution: The torque value required by the motor in the corresponding state is obtained based on the signals of the accelerator pedal and brake pedal based on the driver's intention recognition and the vehicle torque distribution rules.

[0045] The present invention provides a method for controlling the positive and negative torque switching of a hub motor, which is applicable to four hub motors, such as Figure 1 As shown, including:

[0046] S1. Calculate the theoretical output target torque of the hub motor based on the target torque of the hub motor at the previous moment, the target torque obtained by the hub motor driving intention distribution, and the torque change step. Specifically:

[0047] If the target torque obtained by the hub motor driving intention distribution is less than or equal to the target torque of the hub motor at the previous moment, the hub motor theoretical output target torque is equal to the larger value of the difference between the target torque of the hub motor at the previous moment minus the torque change step and the target torque obtained by the hub motor driving intention distribution.

[0048] If the target torque obtained by the hub motor driving intention distribution is greater than the target torque of the hub motor at the previous moment, the hub motor theoretical output target torque is equal to the smaller value of the difference between the target torque of the hub motor at the previous moment plus the torque change step and the target torque obtained by the hub motor driving intention distribution.

[0049] The target torque obtained by the wheel hub motor driving intention distribution is obtained based on the accelerator pedal opening, the brake pedal opening and the vehicle torque distribution rule; the torque change step is a preset value.

[0050] The hub motors include a left front hub motor, a left rear hub motor, a right front hub motor and a right rear hub motor, and the control logic of each hub motor is the same.

[0051] The above logic is expressed by the following formula:

[0052]

[0053] Among them: T1(K) fl The theoretical output target torque of the left front wheel hub motor; T1(K) fr The theoretical output target torque of the right front wheel hub motor; T1(K) rl The theoretical output target torque of the left rear wheel hub motor; T1(K) rr Td is the theoretical output target torque of the right rear wheel hub motor; fl The target torque obtained by the driving intention distribution of the left front wheel hub motor; Td fr The target torque obtained by the driving intention distribution of the left rear wheel hub motor; Td rl The target torque obtained by the driving intention distribution of the left rear wheel hub motor; Tdrr The target torque obtained by allocating the driving intention of the right rear wheel hub motor; ΔT is the torque change step, which is a preset value.

[0054] Further, it is explained that: Td fl , Td fr , Td rl , Td rr It is obtained based on the accelerator pedal opening, brake pedal opening and vehicle torque distribution rules.

[0055] S2. Based on the theoretical output target torque of the hub motor, calculate the positive and negative states of the theoretical output target torque of the hub motor. Specifically: if the theoretical output target torque of the hub motor is greater than 0, the positive and negative states of the theoretical output target torque of the hub motor are 1; if the theoretical output target torque of the hub motor is equal to 0, the positive and negative states of the theoretical output target torque of the hub motor are 0; if the theoretical output target torque of the hub motor is less than 0, the positive and negative states of the theoretical output target torque of the hub motor are -1. The calculation formulas for the positive and negative states of the theoretical output target torques of each hub motor are:

[0056]

[0057] Among them: TS1 fl TS1 is the positive and negative state of the theoretical output target torque of the left front wheel hub motor; fr TS1 is the positive and negative state of the theoretical output target torque of the right front wheel hub motor; rl TS1 is the positive and negative state of the theoretical output target torque of the left rear wheel hub motor; rr It is the positive and negative state of the theoretical output target torque of the right rear wheel hub motor.

[0058] S3, based on the positive and negative state of the torque before the wheel hub motor has zero torque and the positive and negative state of the wheel hub motor's theoretical output target torque, calculate the same-sign switching state of the wheel hub motor's theoretical output target torque. Specifically:

[0059] The same or different sign switching state of the theoretical output target torque of the hub motor is equal to the positive or negative state of the torque before the zero torque of the hub motor multiplied by the positive or negative state of the theoretical output target torque of the hub motor. Among them, in the positive or negative state of the torque before the zero torque of the hub motor, the positive torque is set to 1, the negative torque is set to -1, and the zero torque is set to 0. The same or different sign switching state of the theoretical output target torque of each hub motor is equal to the positive or negative state of the torque before the zero torque of the hub motor multiplied by the positive or negative state of the theoretical output target torque of the hub motor. The calculation formula of the same or different sign switching state of the theoretical output target torque of each hub motor is:

[0060]

[0061] Among them: TS2 fl TS2 is the same or different sign switching state of the theoretical output target torque of the left front wheel hub motor;fr TS2 is the same or different sign switching state of the theoretical output target torque of the right front wheel hub motor; rl TS2 is the same or different sign switching state of the theoretical output target torque of the left rear wheel hub motor; rr It is the same-sign switching state of the theoretical output target torque of the right rear wheel hub motor.

[0062] S4, based on the same-different-sign switching state of the theoretical output target torque of the hub motor, the theoretical output target torque of the hub motor and the length of time when the hub motor maintained zero target torque at the previous moment, calculate the target torque of the hub motor at the current moment; specifically:

[0063] If the sign switching state of the theoretical output target torque of the hub motor is 1, the target torque of the hub motor at the current moment is equal to the theoretical output target torque of the hub motor; if the sign switching state of the theoretical output target torque of the hub motor is 0, the target torque of the hub motor at the current moment is equal to 0; if the sign switching state of the theoretical output target torque of the hub motor is -1 and the length of time when the hub motor continued to have zero target torque at the previous moment is less than the continuous zero target torque time threshold, the target torque of the hub motor at the current moment is equal to 0; if the sign switching state of the theoretical output target torque of the hub motor is equal to -1 and the length of time when the hub motor continued to have zero target torque at the previous moment is greater than or equal to the continuous zero target torque time threshold, the target torque of the hub motor at the current moment is equal to the theoretical output target torque of the hub motor.

[0064] The calculation formula of the target torque of each wheel hub motor at the current moment is:

[0065]

[0066] Where: T(K) fl is the target torque of the left front wheel hub motor at the current moment; T(K) fr is the target torque of the right front wheel hub motor at the current moment; T(K) rl is the target torque of the left rear wheel hub motor at the current moment; T(K) rr is the target torque of the right rear wheel hub motor at the current moment; Time_last fl Time_last is the length of time the left front wheel hub motor maintained zero target torque at the last moment; fr Time_last is the length of time that the right front wheel hub motor maintained zero target torque at the last moment; rl Time_last is the length of time that the left rear wheel hub motor maintained zero target torque at the last moment; rr It is the length of time that the right rear wheel hub motor maintained zero target torque at the last moment; Time1 is the time threshold for continuous zero target torque, which can be calibrated or empirically valued.

[0067] S5. Based on the target torque of the wheel hub motor at the current moment, respectively calculate the positive and negative states of the torque of the wheel hub motor before the zero torque at the current moment and the length of time the wheel hub motor maintains the zero target torque at the current moment.

[0068] Specifically, if the target torque of the hub motor at the current moment is greater than zero, the positive and negative state of the torque of the hub motor before the zero torque at the current moment is 1; if the target torque of the hub motor at the current moment is less than zero, the positive and negative state of the torque of the hub motor before the zero torque at the current moment is -1; if the target torque of the hub motor at the current moment is equal to zero, the positive and negative state of the torque of the hub motor before the zero torque at the current moment remains unchanged. The calculation formula of the positive and negative state of the torque of the hub motor before zero torque is:

[0069]

[0070] To be more specific, if the target torque of the wheel hub motor at the current moment is equal to zero, then the length of time that the wheel hub motor continues to have zero target torque at the current moment is equal to the length of time that the wheel hub motor continues to have zero target torque at the previous moment plus the smaller value between the task execution cycle acquisition value and the continuous zero target torque time threshold; if the target torque of the wheel hub motor at the current moment is not equal to zero, then the length of time that the wheel hub motor continues to have zero target torque at the current moment is equal to 0. The calculation formula for the length of time that each wheel hub motor continues to have zero target torque at the current moment is:

[0071]

[0072] Where: Time fl Time is the length of time that the left front wheel hub motor maintains zero target torque at the current moment; fr Time is the length of time that the right front wheel hub motor maintains zero target torque at the current moment; rl Time is the length of time that the left rear wheel hub motor maintains zero target torque at the current moment; rr is the duration of the right rear wheel hub motor maintaining zero target torque at the current moment; Δtime is the task execution cycle.

[0073] The current target torque of the left front wheel hub motor, the current target torque of the right front wheel hub motor, the current target torque of the left rear wheel hub motor, and the current target torque of the right rear wheel hub motor in the entire logic process are sent to the motor for execution. When the torque of the left front wheel hub motor, the current target torque of the right front wheel hub motor, the current target torque of the left rear wheel hub motor, and the current target torque of the right rear wheel hub motor are switched between positive and negative, they will be kept at zero torque for a period of time as the continuous zero target torque time threshold to avoid switching between the torques of the motors, resulting in direct collision or severe friction between the internal mechanisms (such as gears) of the reduction transmission mechanism, resulting in structural damage or reduced service life, thereby improving the reliability of the vehicle.

[0074] Since the present invention belongs to an iterative solution. Therefore, before the S1, S0 can be added: in the initial state, each torque parameter of the hub motor needs to be initialized respectively, and each torque parameter includes the target torque of the hub motor at the last moment, the positive and negative states of the torque before the zero torque of the hub motor at the last moment, and the length of time when the hub motor continued to have zero target torque at the last moment. In this embodiment, during initialization, the target torque of the hub motor at the last moment and the length of time when the hub motor continued to have zero target torque at the last moment are both 0, and the positive and negative states of the torque before the zero torque of the hub motor at the last moment are both positive torque, represented by 1. It is expressed as follows by the formula:

[0075] T(K-1) fl =0

[0076] T(K-1) fr =0

[0077] T(K-1) rl =0

[0078] T(K-1) rr =0

[0079]

[0080] TS fl =1

[0081] TS fr =1

[0082] TS rl =1

[0083] TS rr =1

[0084] In which: T(K-1) fl is the target torque of the left front wheel hub motor at the previous moment; T(K-1) fr is the target torque of the right front wheel hub motor at the last moment; T(K-1) rl is the target torque of the left rear wheel hub motor at the previous moment; T(K-1) rr TS is the target torque of the right rear wheel hub motor at the last moment; fl TS is the positive and negative state of the torque before the left front wheel hub motor has zero torque; fr TS is the positive and negative state of the torque before the right front wheel hub motor has zero torque; rl TS is the positive and negative state of the torque before the left rear wheel hub motor has zero torque; rr It is the positive and negative state of the torque of the right rear hub motor before zero torque.

[0085] In some embodiments, iteration may be performed in the following manner:

[0086] In S4, the calculated target torque of the wheel hub motor at the current moment is assigned to the target torque of the wheel hub motor at the previous moment. Specifically, the target torque of the left front wheel hub motor at the previous moment, the target torque of the right front wheel hub motor at the previous moment, the target torque of the left rear wheel hub motor at the previous moment, and the target torque of the right rear wheel hub motor at the previous moment are updated to the target torque of the left front wheel hub motor at the current moment, the target torque of the right front wheel hub motor at the current moment, the target torque of the left rear wheel hub motor at the current moment, and the target torque of the right rear wheel hub motor at the current moment. The update formula is:

[0087]

[0088] In S5, the duration of the continuous zero target torque of the wheel hub motor at the current moment is assigned to the duration of the continuous zero target torque of the wheel hub motor at the previous moment, and the update formula is:

[0089]

[0090] Then jump to S1, and execute the switching control in a loop, such as Figure 1 shown.

[0091] As a second aspect of the present invention, the present invention further provides a wheel hub motor controller, comprising a memory, a processor, and a processor program stored in the memory and executable on the processor, wherein the processor implements the method when executing the processor program. The wheel hub motor controller can be connected to the wheel hub motor to control the wheel hub motor to achieve the target torque of the wheel hub motor at the current moment and the length of time for continuous zero target torque.

[0092] By adopting the method of the present invention, when the torque is switched between positive and negative, it will be kept at zero torque for a period of time as a continuous zero target torque time threshold, thereby avoiding switching between the torques of the motor, causing direct collision or severe friction between the internal mechanisms (such as gears) of the reduction transmission mechanism, resulting in structural damage or reduced service life, improving the coordination of the internal transmission device of the wheel hub, and thereby improving the reliability of the vehicle.

[0093] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.

Claims

1. A method for controlling the torque of a hub motor to be switched between positive and negative, characterized in that: include: The theoretical output target torque of the hub motor is calculated based on the target torque of the hub motor at the previous moment, the target torque obtained by the hub motor driving intention distribution, and the torque change step size; Based on the wheel hub motor theoretical output target torque, calculating the positive and negative states of the wheel hub motor theoretical output target torque; Based on the positive and negative states of the torque before the wheel hub motor has zero torque and the positive and negative states of the theoretical output target torque of the wheel hub motor, calculating the same-sign switching state of the theoretical output target torque of the wheel hub motor; Calculate the target torque of the hub motor at the current moment based on the same-sign switching state of the hub motor theoretical output target torque, the hub motor theoretical output target torque and the length of time when the hub motor maintained zero target torque at the previous moment; Based on the target torque of the wheel hub motor at the current moment, the positive and negative states of the torque before the wheel hub motor has zero torque at the current moment and the length of time the wheel hub motor maintains zero target torque at the current moment are calculated respectively.

2. The method for controlling the positive and negative torque switching of a hub motor according to claim 1, characterized in that: In the initial state, each torque parameter of the hub motor is initialized respectively, and each torque parameter includes the target torque of the hub motor at the last moment, the positive and negative state of the torque before the hub motor has zero torque, and the length of time when the hub motor has zero target torque at the last moment.

3. The method for controlling the positive and negative torque switching of a hub motor according to claim 1 or 2, characterized in that: The calculated target torque of the hub motor at the current moment and the length of time the hub motor maintains zero target torque at the current moment are respectively assigned to the target torque of the hub motor at the previous moment and the length of time the hub motor maintains zero target torque at the previous moment, and the switching control is performed cyclically.

4. The method for controlling the positive and negative torque switching of a hub motor according to claim 2, characterized in that: During initialization, the target torque of the hub motor at the last moment and the duration of the last moment of the zero target torque of the hub motor are both 0, and the positive and negative states of the torque before the zero torque of the hub motor are both positive torque.

5. The method for controlling the positive and negative torque switching of a hub motor according to claim 1, characterized in that: The theoretical output target torque of the wheel hub motor is obtained in the following way: If the target torque obtained by the hub motor driving intention distribution is less than or equal to the hub motor's target torque at the previous moment, the hub motor's theoretical output target torque is equal to the larger value of the difference between the hub motor's target torque at the previous moment minus the torque change step and the target torque obtained by the hub motor driving intention distribution; If the target torque obtained by the hub motor driving intention distribution is greater than the hub motor target torque at the previous moment, the hub motor theoretical output target torque is equal to the smaller value of the difference between the hub motor target torque at the previous moment plus the torque change step and the target torque obtained by the hub motor driving intention distribution; The target torque obtained by the wheel hub motor driving intention distribution is obtained based on the accelerator pedal opening, the brake pedal opening and the vehicle torque distribution rule; the torque change step is a preset value.

6. The method for controlling the positive and negative torque switching of a hub motor according to claim 1, characterized in that: The calculation of the positive and negative states of the theoretical output target torque of the hub motor based on the theoretical output target torque of the hub motor is specifically as follows: If the theoretical output target torque of the hub motor is greater than 0, the positive and negative states of the theoretical output target torque of the hub motor are 1; If the theoretical output target torque of the hub motor is equal to 0, the positive and negative states of the theoretical output target torque of the hub motor are 0; If the theoretical output target torque of the hub motor is less than 0, the positive and negative states of the theoretical output target torque of the hub motor are -1.

7. The method for controlling the positive and negative torque switching of a hub motor according to claim 1, characterized in that: The calculation of the same-sign switching state of the theoretical output target torque of the hub motor based on the positive and negative state of the torque before the hub motor has zero torque and the positive and negative state of the theoretical output target torque of the hub motor is specifically as follows: The same or different sign switching state of the theoretical output target torque of the hub motor is equal to the positive or negative state of the torque before the hub motor has zero torque multiplied by the positive or negative state of the theoretical output target torque of the hub motor; Among them, in the positive and negative torque states of the hub motor before zero torque, the positive torque is set to 1, the negative torque is set to -1, and the zero torque is set to 0.

8. The method for controlling the positive and negative torque switching of a hub motor according to claim 1, characterized in that: The target torque of the hub motor at the current moment is calculated based on the same-sign switching state of the hub motor theoretical output target torque, the hub motor theoretical output target torque and the length of time when the hub motor maintained zero target torque at the previous moment, specifically: If the wheel hub motor theoretical output target torque same-sign switching state is 1, the wheel hub motor current target torque is equal to the wheel hub motor theoretical output target torque; If the wheel hub motor theoretical output target torque same sign switching state is 0, then the wheel hub motor current target torque is equal to 0; If the wheel hub motor theoretical output target torque is switched to -1 and the length of time the wheel hub motor lasted for zero target torque is less than the zero target torque time threshold, the wheel hub motor’s target torque at the current moment is equal to 0; If the sign switching state of the theoretical output target torque of the hub motor is equal to -1 and the length of time for which the hub motor has sustained zero target torque at the previous moment is greater than or equal to the continuous zero target torque time threshold, then the target torque of the hub motor at the current moment is equal to the theoretical output target torque of the hub motor.

9. The method for controlling the positive and negative torque switching of a hub motor according to claim 1, characterized in that: The positive and negative states of the torque of the hub motor before zero torque at the current moment are obtained specifically in the following manner: If the target torque of the hub motor at the current moment is greater than zero, the positive and negative state of the torque of the hub motor before the zero torque at the current moment is 1; If the target torque of the hub motor at the current moment is less than zero, the positive and negative state of the torque of the hub motor before the zero torque at the current moment is -1; If the target torque of the hub motor at the current moment is equal to zero, the positive and negative states of the torque of the hub motor before the zero torque at the current moment remain unchanged.

10. The method for controlling the torque of a hub motor to be switched between positive and negative according to claim 1, characterized in that: The length of time that the wheel hub motor maintains zero target torque at the current moment is specifically obtained by the following method: If the target torque of the hub motor at the current moment is equal to zero, then the duration of the hub motor's continuous zero target torque at the current moment is equal to the duration of the hub motor's continuous zero target torque at the previous moment plus the smaller value between the task execution cycle acquisition value and the continuous zero target torque time threshold; If the target torque of the hub motor at the current moment is not equal to zero, then the length of time that the hub motor maintains zero target torque at the current moment is equal to 0.

11. The method for controlling the positive and negative torque switching of a hub motor according to claim 1, characterized in that: The hub motor includes at least one of a left front hub motor, a left rear hub motor, a right front hub motor and a right rear hub motor, and the parameters of the hub motors involved all correspond to the hub motors.

12. A hub motor controller, comprising a memory, a processor, and a processor program stored in the memory and executable on the processor, characterized in that: When the processor executes the processor program, the method according to any one of claims 1 to 11 is implemented.

Citation Information

Patent Citations

  • Motor control method and device of electric vehicle, storage medium and vehicle control unit

    CN113263923A

  • Active anti-shake control method for electric vehicle

    CN115648965A

  • Torsional vibration torque control method and device, electronic equipment, storage medium and vehicle

    CN116811837A

  • Zero-crossing control method for motor torque of new energy passenger car

    CN117400749A

  • Vehicle control method and device and controller

    CN118386862A