Torque control method and device and vehicle

By using historical and current torque to determine the connection torque in the vehicle controller of electric vehicles and gradually transitioning to the target torque, the vehicle power loss and stability problems are solved, and safety and response speed are improved.

CN119078543APending Publication Date: 2024-12-06GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411374378.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

With the increase in the functions of electric vehicles, the probability of abnormal reset of the vehicle controller increases, resulting in loss of vehicle power, which may cause safety accidents. After abnormal reset, the sudden change in the motor output torque affects the stability of the vehicle.

Method used

After the vehicle controller is abnormally reset, the connection torque is determined through the historical torque and the current torque, and gradually transition to the target torque after controlling the motor outputting the connection torque to ensure power supply and stability.

Benefits of technology

It reduces the risk of vehicle out of control, improves safety and stability, reduces sudden torque changes, and improves the response speed of the VCU after abnormal reset and the stability of the vehicle driving at high and low speeds.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119078543A_ABST
    Figure CN119078543A_ABST
Patent Text Reader

Abstract

The invention provides a torque control method and device and a vehicle, and is applied to the technical field of vehicles. The method comprises the following steps: after the vehicle control unit is abnormally reset, firstly determining a historical torque output by a motor before the vehicle control unit is abnormally reset and a current torque actually output by the motor at present, determining a connection torque according to the historical torque and the current torque, and then controlling the motor to output the connection torque after the motor is controlled to output the connection torque. And controlling the motor to operate through the target torque output by the vehicle request motor. Thus, after the vehicle control unit abnormally resets, the motor is controlled to output the connection torque temporarily, power supply of the vehicle can be guaranteed, the out-of-control risk of the vehicle can be reduced, and the safety 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 technology, and more specifically, to a torque control method, device and vehicle in the field of vehicle technology. Background Art

[0002] As the functions of electric vehicles (hereinafter referred to as vehicles) increase, the hardware circuits and software control logic of vehicles become more and more complex, resulting in an increasing probability of abnormal reset of the vehicle control unit (VCU). When the vehicle control unit is abnormally reset, the relay of the battery pack will automatically disconnect, causing the vehicle to lose power. If the user does not respond in time, the vehicle may lose control and cause a safety accident. Summary of the invention

[0003] The present application provides a torque control method, device and vehicle, which can improve the safety of the vehicle.

[0004] In a first aspect, a torque control method is provided, the method being applied to a vehicle controller in a vehicle, the method comprising:

[0005] In the case where the abnormal reset of the vehicle controller is detected, the engagement torque is determined according to the historical torque and current torque of the motor; wherein the historical torque is the torque output by the motor before the abnormal reset of the vehicle controller, and the current torque is the torque actually output by the motor at present;

[0006] Controlling the motor to output the engagement torque;

[0007] After controlling the motor to output the connection torque, the motor is controlled to output a target torque; wherein the target torque is the torque that the vehicle requests the motor to output.

[0008] In the embodiment of the present application, after the abnormal reset of the vehicle controller occurs, the historical torque output by the motor before the abnormal reset of the vehicle controller and the current torque actually output by the motor are first determined, and the connection torque is determined based on the historical torque and the current torque. After that, after the motor is controlled to output the connection torque, the motor operation is controlled by the target torque output by the vehicle requesting the motor. In this way, after the abnormal reset of the vehicle controller, the motor is controlled to output the connection torque briefly, which can ensure the power supply of the vehicle, thereby reducing the risk of vehicle loss of control and improving the safety of the vehicle. Moreover, the connection torque is close to or equal to the torque of the motor before the vehicle controller is reset, so the possible torque mutation can be reduced or even eliminated, thereby improving the stability of the vehicle.

[0009] In combination with the first aspect, in some possible implementations, after controlling the motor to output the engagement torque, controlling the motor to output the target torque includes:

[0010] After controlling the motor to output the connection torque, if the difference between the target torque and the connection torque reaches or falls below a preset difference, controlling the motor to output the target torque;

[0011] Alternatively, after controlling the motor to output the connection torque for a preset period of time, if the difference between the target torque and the connection torque reaches or falls below the preset difference, the motor is controlled to output the target torque.

[0012] In an embodiment of the present application, when the difference between the connection torque and the target torque does not reach below the preset difference, but the connection time reaches the third target time, the torque output by the motor is controlled to change from the connection torque to the target torque. This can make the torque output by the motor quickly match the state of the vehicle, and avoid the situation where the torque output by the motor does not match the state of the vehicle.

[0013] In combination with the first aspect, in some possible implementations, the preset difference includes a first preset difference and a second preset difference, and if the difference between the target torque and the engagement torque reaches less than the preset difference, controlling the motor to output the target torque includes:

[0014] When the current speed of the vehicle is greater than the preset speed, if the difference is less than the first preset difference, controlling the motor to output the target torque;

[0015] Alternatively, when the vehicle speed is less than or equal to the preset vehicle speed, if the difference reaches below the second preset difference, the motor is controlled to output the target torque; wherein the second preset difference is greater than the first preset difference.

[0016] In an embodiment of the present application, when the current vehicle speed is greater than the preset speed and the difference is less than a first preset difference, the motor is controlled to output the target torque; or, when the vehicle speed is less than or equal to the preset speed and the difference is less than a second preset difference, the motor is controlled to output the target torque. This can not only improve the stability of the vehicle when driving at high speeds, but also improve the response speed of the VCU to user operations after an abnormal reset.

[0017] In combination with the first aspect, in some possible implementations, if the difference between the target torque and the engagement torque reaches or is smaller than a preset difference, controlling the motor to output the target torque includes:

[0018] When the difference reaches below the preset difference, determining the current speed of the vehicle;

[0019] If the vehicle speed is greater than the preset vehicle speed and the connection time reaches the first target time, the motor is controlled to output the target torque; wherein the connection time is the time for controlling the motor to output the connection torque;

[0020] Alternatively, if the vehicle speed is less than or equal to the preset vehicle speed and the connection time reaches a second target time, the motor is controlled to output the target torque; wherein the first target time is greater than the second target time.

[0021] In an embodiment of the present application, when the current vehicle speed is greater than the preset speed and the difference is less than a first preset difference, the motor is controlled to output the target torque; or, when the vehicle speed is less than or equal to the preset speed and the difference is less than a second preset difference, the motor is controlled to output the target torque. This can not only improve the stability of the vehicle when driving at high speeds, but also improve the response speed of the VCU to user operations after an abnormal reset when the vehicle is driving at low speeds.

[0022] In combination with the first aspect, in some possible implementations, after controlling the motor to output the engagement torque, the method further includes:

[0023] When it is detected that the accelerator pedal of the vehicle is depressed, determining the duration reduction according to the pedal opening of the accelerator pedal;

[0024] The first target duration and the second target duration are reduced according to the duration reduction.

[0025] In the embodiment of the present application, after controlling the motor to output the connection torque, the first target duration and the second target duration are adjusted by the opening of the accelerator pedal, so that the VCU can quickly respond to the user's control of the vehicle after the abnormality is reset.

[0026] In combination with the first aspect, in some possible implementations, the method further includes: when the difference does not reach below the preset difference, determining a connection time length for controlling the motor to output the connection torque;

[0027] If the connection time reaches a third target time, the motor is controlled to output the target torque.

[0028] In an embodiment of the present application, when the difference between the connection torque and the target torque does not reach below the preset difference, but the connection time reaches the third target time, the torque output by the motor is controlled to change from the connection torque to the target torque. This can make the torque output by the motor quickly match the state of the vehicle, and avoid the situation where the torque output by the motor does not match the state of the vehicle.

[0029] In combination with the first aspect, in some possible implementations, determining the engagement torque according to the historical torque and current torque of the motor includes:

[0030] Determining a raw torque corresponding to a current vehicle speed and a pedal opening of the vehicle;

[0031] removing abnormal torque from the original torque, the historical torque and the current torque to obtain a residual torque;

[0032] The engagement torque is determined based on the residual torque.

[0033] In an embodiment of the present application, the connection torque is determined based on the historical torque, current torque and original torque, so that the connection torque that accurately matches the current state of the motor can be determined, and the motor output connection torque can be controlled to reduce the probability of a sudden torque change in the motor.

[0034] In combination with the first aspect, in some possible implementations, the original torque, the historical torque, and the current torque have different priorities, and determining the connection torque according to the residual torque includes:

[0035] In a case where there are a plurality of the remaining torques, the engagement torque is determined from among the plurality of the remaining torques according to a priority of each of the remaining torques.

[0036] In the embodiment of the present application, when there are multiple residual torques, the connection torque is determined according to the priorities of the multiple residual torques and the multiple residual torques, so that a connection torque that is more closely matched with the current state of the motor can be obtained, thereby reducing the probability of a sudden torque change in the motor.

[0037] In a second aspect, a torque control device is provided, which is arranged in a vehicle controller in a vehicle, and the device comprises:

[0038] A determination module, configured to determine the engagement torque according to the historical torque and current torque of the motor when the abnormal reset of the vehicle controller is detected; wherein the historical torque is the torque output by the motor before the abnormal reset of the vehicle controller, and the current torque is the torque actually output by the motor at present;

[0039] A control module, used for controlling the motor to output the engagement torque;

[0040] The control module is further configured to control the motor to output a target torque after controlling the motor to output the connection torque; wherein the target torque is the torque that the vehicle requests the motor to output.

[0041] In a third aspect, a vehicle is provided, the vehicle comprising:

[0042] A memory for storing executable program codes;

[0043] A processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in any possible implementation of the first aspect above.

[0044] In a fourth aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is run on a computer, the computer executes the method in any possible implementation manner of the above-mentioned first aspect.

[0045] In a fifth aspect, a readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 is a flowchart of the steps of a torque control method provided in an embodiment of the present application;

[0047] Figure 2 is a structural schematic diagram of a torque control device provided in an embodiment of the present application;

[0048] Figure 3 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0050] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0051] As vehicle functions increase, the vehicle's hardware circuits and software control logic become more and more complex, resulting in an increasing probability of abnormal VCU reset. When the VCU is abnormally reset, the battery pack relay will automatically disconnect, causing the vehicle to lose power. If the user does not respond in time, the vehicle may lose control and cause a safety accident. Moreover, after the VCU is abnormally reset, even if the user responds quickly and restores the vehicle's status quickly, the VCU needs to recalculate the torque that the motor needs to output, which may cause a large mutation in the torque output by the motor, which may cause the vehicle to stall and affect the stability of the vehicle.

[0052] An embodiment of the present application provides a torque control method, in which, after an abnormal reset occurs in the VCU, the historical torque output by the motor before the abnormal reset of the VCU and the current torque actually output by the motor are first determined, and the connection torque is determined based on the historical torque and the current torque. After that, after the motor is controlled to output the connection torque, the motor operation is controlled by the target torque output by the vehicle requesting the motor. In this way, after the abnormal reset of the vehicle controller, the motor is controlled to output the connection torque briefly, which can ensure the power supply of the vehicle, thereby reducing the risk of vehicle loss of control and improving the safety of the vehicle. Moreover, the connection torque is close to or equal to the torque of the motor before the vehicle controller is reset, so that the possible torque mutation can be reduced or even eliminated, thereby improving the stability of the vehicle.

[0053] See also Figure 1 , Figure 1 is a flowchart of the steps of a torque control method provided in an embodiment of the present application. The method is applied to a VCU in a vehicle, such as Figure 1 As shown, the method may include the following steps:

[0054] Step 101: When an abnormal reset of the vehicle controller is detected, the engagement torque is determined according to the historical torque and current torque of the motor.

[0055] The historical torque is the torque output by the motor before the vehicle controller is abnormally reset, and the current torque is the torque actually output by the motor.

[0056] Exemplarily, the VCU can monitor itself during operation to monitor whether an abnormal reset occurs to itself. For example, a status register can be set in the VCU. When the VCU is abnormally reset, the data in the status register is set to a preset value. During operation, the VCU can monitor the status register in real time. If it is detected that the data in the status register is set to a preset value, it is determined that the VCU has been abnormally reset. For another example, after the VCU is reset, it will jump to a specific address in the interrupt vector table to execute the reset processing code. If the VCU does not run as planned during operation and suddenly jumps to a specific address in the interrupt vector table, it is determined that the VCU has been abnormally reset. The above are only exemplary examples, and the method for the VCU to monitor whether an abnormal reset occurs to itself may include but is not limited to the above examples.

[0057] In this embodiment, the VCU can periodically obtain and store the torque output by the motor during the operation of the vehicle. After determining that the VCU sends an abnormal reset, the pre-stored torque of the motor at a time point adjacent to the current moment can be obtained as the historical torque. At the same time, the VCU is connected to the motor controller (Motor Control Unit, MCU) in the vehicle in communication. After determining that the VCU has an abnormal reset, the VCU can send a data request to the MCU. Correspondingly, after receiving the data request, the MCU can determine the current actual output torque of the motor to obtain the current torque and send the current torque to the VCU. Among them, a torque meter can be set in the vehicle, and the MCU is connected to the torque meter in communication, and the torque currently output by the motor can be detected by the torque meter to obtain the current torque. Alternatively, the MCU can monitor the state parameters of the motor and calculate and determine the current torque of the motor based on the state parameters. It should be understood that the method for the MCU to obtain the current torque may include but is not limited to the above examples.

[0058] Exemplarily, after obtaining the current torque and the historical torque, the VCU can determine whether the current torque and the historical torque are abnormal. For example, the VCU can obtain the pre-recorded historical speed of the vehicle before the VCU abnormal reset. If the historical speed is large and exceeds the first preset threshold, but the historical torque is small, the historical torque can be determined to be an abnormal torque. On the contrary, if the historical speed is large and the historical torque is also large, the historical torque can be determined to be a normal torque. Similarly, if the historical speed is low, lower than the second preset threshold, but the historical torque is large, the historical torque can also be determined to be an abnormal torque. On the contrary, if the historical speed is low and the historical torque is also low, the historical torque can be determined to be a normal torque. And, for the current torque, if the current torque exceeds the maximum torque or minimum torque during the operation of the vehicle, the current torque can be determined to be an abnormal torque, otherwise the current torque is determined to be a normal torque value.

[0059] When it is determined that both the current torque and the historical torque are normal torques, one of the current torque and the historical torque can be selected as the connection torque. Alternatively, the average value of the current torque and the historical torque can be calculated and the average value can be used as the connection torque. Alternatively, the weighted average value of the current torque and the historical torque can be calculated and the average value can be used as the connection torque. It should be understood that the method of determining the connection torque based on the current torque and the historical torque can include but is not limited to the above examples.

[0060] Step 102: Control the motor to output the connection torque.

[0061] For example, after determining the connection torque, the VCU sends the connection torque to the MCU. After receiving the connection torque, the MCU can control the motor to run and output the connection torque, and the vehicle runs under the drive of the connection torque.

[0062] Step 103: After controlling the motor to output the connection torque, control the motor to output the target torque.

[0063] The target torque is the torque that the vehicle requests the motor to output. It can also be understood that the target torque is the torque used to control the motor operation calculated by the VCU according to the conventional torque calculation procedure during normal operation, that is, the target torque is the torque that the VCU instructs the motor to output during normal operation.

[0064] For example, the torque that the motor needs to output under different vehicle speeds and different pedal openings can be determined in advance through experiments. This torque corresponds to the vehicle speed and pedal opening, and can be called the original torque. The VCU can determine the target torque based on the original torque. The original torque determined by the experiment can be stored in a table. After the abnormality is reset, the VCU can obtain the current speed of the vehicle and the pedal opening of the accelerator pedal, and then find the corresponding original torque from the table based on the vehicle speed and pedal opening. After that, the VCU can run a conventional torque calculation program to process the original torque. For example, the original torque can be coordinated, distributed, filtered, etc. to obtain the target torque. It should be noted that the method for the VCU to determine the original torque and the target torque may include but is not limited to the above examples.

[0065] After controlling the motor to output the connection torque, the VCU can control the motor to output the target torque when the preset condition is reached, that is, switch the motor torque from the connection torque to the target torque, so that the motor outputs the target torque according to the conventional motor control process. For example, the preset condition can be a preset duration, and after controlling the motor to output the connection torque, the VCU can start timing, and when the timing duration reaches the preset duration, the target torque can be sent to the MCU, so that the MCU controls the motor to output the target torque.

[0066] Among them, when the VCU is abnormally reset, the VCU starts to determine the target torque again, and the target torque will drop significantly, which is quite different from the torque actually required by the vehicle. The connection torque is determined based on the historical torque and the current torque, which is close to the torque output by the motor before the VCU is abnormally reset. Therefore, after the VCU is abnormally reset, the motor output connection torque is controlled first to avoid a large torque mutation in the motor.

[0067] In the embodiment of the present application, after the abnormal reset of the vehicle controller occurs, the historical torque output by the motor before the abnormal reset of the vehicle controller and the current torque actually output by the motor are first determined, and the connection torque is determined based on the historical torque and the current torque. After that, after the motor is controlled to output the connection torque, the motor operation is controlled by the target torque output by the vehicle requesting the motor. In this way, after the abnormal reset of the vehicle controller, the motor is controlled to output the connection torque briefly, which can ensure the power supply of the vehicle, thereby reducing the risk of vehicle loss of control and improving the safety of the vehicle. Moreover, the connection torque is close to or equal to the torque of the motor before the vehicle controller is reset, so the possible torque mutation can be reduced or even eliminated, thereby improving the stability of the vehicle.

[0068] Optionally, after controlling the motor to output the connection torque, controlling the motor to output the target torque includes:

[0069] After the motor is controlled to output the connection torque, if the difference between the target torque and the connection torque reaches or falls below a preset difference, the motor is controlled to output the target torque;

[0070] Alternatively, after the motor is controlled to output the connection torque for a preset period of time, if the difference between the target torque and the connection torque reaches or falls below a preset difference, the motor is controlled to output the target torque.

[0071] In one embodiment, after starting to control the motor to output the connection torque, the VCU can monitor the vehicle speed in real time, determine the pedal opening of the accelerator pedal, determine the original torque based on the acquired vehicle speed and pedal opening, and determine the target torque based on the original torque. Afterwards, the difference between the target torque and the connection torque can be calculated. When the difference is less than the preset difference, it is determined that the target torque is close to or equal to the connection torque, indicating that the target torque can meet the current operating state of the vehicle. At this time, the connection torque can be discarded, and the motor can be controlled to output the target torque so that the vehicle runs under the drive of the target torque, that is, at this time, the VCU controls the motor operation according to the normal motor control process.

[0072] In another embodiment, after starting to control the motor to output the connection torque, the VCU may start timing, and the timing duration, that is, the duration of controlling the motor to output the connection torque, may be referred to as the connection duration. At the same time, the VCU may determine the target torque, and after the timing duration reaches a preset duration, if the difference between the connection torque and the target torque is less than the preset difference, the motor may be controlled to output the target torque, so that the vehicle is driven by the target torque.

[0073] In the example of the present application, when the difference between the target torque and the connection torque reaches below the preset difference, the motor is controlled to output the target torque, so that the vehicle can smoothly transition from the connection torque to the target torque that satisfies the vehicle's operating state, avoiding the vehicle from stalling, thereby improving the stability of the vehicle. Also, after controlling the motor to output the connection torque for a preset period of time, when the difference between the target torque and the connection torque reaches below the preset difference, the motor is controlled to output the target torque, which can ensure that the motor has a longer time to transition from the connection torque to the target torque, thereby reducing the probability of a torque mutation in the motor, thereby improving the stability of the vehicle.

[0074] Optionally, the method may further include:

[0075] When the difference value does not reach below the preset difference value, determining the connection time length of the control motor output connection torque;

[0076] If the connection time reaches the third target time, the motor is controlled to output the target torque.

[0077] In one embodiment, after starting to control the motor to output the connection torque, the VCU can start timing to obtain the connection duration, and can determine the target torque based on the vehicle's current speed and pedal opening. After the timing duration reaches the third target duration, if the difference between the connection torque and the target torque has not yet reached below the preset difference, the motor can be controlled to output the target torque so that the vehicle runs under the drive of the target torque.

[0078] Optionally, in the process of controlling the motor to output the target torque, the torque of the motor can be controlled to change from the connection torque gradient to the target torque. For example, the torque change rate can be preset and stored in the VCU. When the difference does not reach below the preset difference and the connection duration reaches the third target duration, if the connection torque is greater than the target torque, the torque of the motor can be controlled to decrease at a preset torque change rate, from the connection torque gradient to the target torque. Alternatively, if the connection torque is less than the target torque, the torque of the motor can be controlled to increase at a preset torque change rate, from the connection torque gradient to the target torque.

[0079] Among them, the third target duration can be a longer duration. When the connection duration reaches the third preset duration, it means that the motor outputs the connection torque for a long time. At this time, if the difference between the connection torque and the target torque has not reached below the preset difference, it means that after the VCU abnormal reset, the state of the vehicle has changed significantly, and there is no need to continue using the connection torque to control the motor.

[0080] In an embodiment of the present application, when the difference between the connection torque and the target torque does not reach below the preset difference, but the connection time reaches the third target time, the torque output by the motor is controlled to change from the connection torque to the target torque. This can make the torque output by the motor quickly match the state of the vehicle, and avoid the situation where the torque output by the motor does not match the state of the vehicle.

[0081] Optionally, the preset difference includes a first preset difference and a second preset difference, and if the difference between the target torque and the connection torque reaches below the preset difference, controlling the motor to output the target torque includes:

[0082] When the current speed of the vehicle is greater than the preset speed, if the difference is less than a first preset difference, the motor is controlled to output the target torque;

[0083] Alternatively, when the vehicle speed is less than or equal to the preset vehicle speed, if the difference reaches below a second preset difference, the motor is controlled to output the target torque;

[0084] The second preset difference is greater than the first preset difference. When the vehicle speed is greater than the preset vehicle speed, it indicates that the vehicle is traveling at a faster speed.

[0085] For example, after controlling the motor to output the connection torque, the VCU may periodically detect the vehicle speed, determine the target torque, and calculate the difference between the target torque and the connection torque. When the vehicle speed is greater than the preset speed, it is determined that the vehicle is traveling at a faster speed. If it is determined that the difference between the connection torque and the target torque is less than the first preset difference, the motor may be controlled to output the target torque.

[0086] In practical applications, the preset vehicle speed may be a relatively large vehicle speed, and the first preset difference may be a relatively small difference. When the vehicle speed is greater than the preset vehicle speed and the difference is less than the first preset threshold, the torque of the motor is switched from the connection torque to the target torque. When the vehicle speed is relatively fast and the difference between the connection torque and the target torque is relatively small and close, the torque of the motor is switched from the connection torque to the target torque. In this way, when the vehicle is traveling at high speed, it is possible to avoid switching the motor from the connection torque to the target torque when the difference between the connection torque and the target torque is relatively large, thereby avoiding a large mutation in the torque of the motor when the vehicle is traveling at high speed, and further improving the stability of the vehicle when traveling at high speed.

[0087] Furthermore, when the vehicle speed is less than or equal to the preset vehicle speed, it can be determined that the vehicle is traveling at a slow speed. If it is determined at the same time that the difference between the connection torque and the target torque is less than a second preset threshold, the motor can be controlled to output the target torque.

[0088] In actual applications, the second preset difference can be a larger difference. When the vehicle speed is less than or equal to the preset vehicle speed and the difference is less than the second preset threshold, the torque of the motor is switched from the engagement torque to the target torque. When the vehicle speed is slow and the difference between the engagement torque and the target torque is large, the torque of the motor is switched from the engagement torque to the target torque. In this way, when the vehicle speed is low, the motor can be quickly switched from the engagement torque to the target torque, shortening the time the motor runs at the engagement torque, so that the torque output by the motor can quickly correspond to the user's operation of the vehicle, thereby improving the response speed of the VCU to the user's operation after the abnormal reset.

[0089] In an embodiment of the present application, when the current vehicle speed is greater than the preset speed and the difference is less than a first preset difference, the motor is controlled to output the target torque; or, when the vehicle speed is less than or equal to the preset speed and the difference is less than a second preset difference, the motor is controlled to output the target torque. This can not only improve the stability of the vehicle when driving at high speeds, but also improve the response speed of the VCU to user operations after an abnormal reset.

[0090] Optionally, if the difference between the target torque and the connection torque reaches or falls below a preset difference, controlling the motor to output the target torque includes:

[0091] When the difference reaches below a preset difference, determining a current speed of the vehicle;

[0092] If the vehicle speed is greater than the preset vehicle speed and the connection time reaches the first target time, the motor is controlled to output the target torque; wherein the connection time is the time for controlling the motor to output the connection torque;

[0093] Alternatively, if the vehicle speed is less than or equal to the preset vehicle speed and the connection time reaches the second target time, the motor is controlled to output the target torque; wherein the first target time is greater than the second target time.

[0094] In some embodiments, the first target duration can be a larger preset value. After starting to control the motor to output the connection torque, the VCU starts timing to obtain the connection duration. At the same time, the target torque can be determined based on the current vehicle speed and pedal opening, and the difference between the target torque and the connection torque can be calculated. When the difference drops below the preset difference, the current speed of the vehicle can be compared with the preset speed. When the current speed of the vehicle is greater than the preset speed, the connection duration and the first target duration can be compared. If the connection duration is greater than or equal to the preset first target duration, the connection torque is switched to the target torque, and the motor is controlled to output the target torque.

[0095] In actual applications, when the vehicle speed is greater than the preset speed, it can be determined that the vehicle speed is relatively fast, and the preset first target duration corresponds to the state of the vehicle driving at high speed. When the vehicle is driving at a relatively fast speed, when the engagement torque is close to the target torque and the engagement duration reaches the larger first target duration, the motor is controlled to switch from the engagement torque to the target torque, which can avoid switching the motor from the engagement torque to the target torque too quickly, thereby improving the stability of the vehicle at high speeds.

[0096] And, the second target duration can be a smaller preset value. After starting to control the motor to output the connection torque, the VCU starts timing to obtain the connection duration. At the same time, the target torque can be determined based on the current vehicle speed and pedal opening, and the difference between the target torque and the connection torque can be calculated. When the difference drops below the preset difference, the current speed of the vehicle can be compared with the preset speed. When the current speed of the vehicle is less than or equal to the preset speed, the connection duration and the second target duration can be compared. If the connection duration is greater than or equal to the preset second target duration, the connection torque is switched to the target torque, and the motor is controlled to output the target torque.

[0097] In actual applications, when the vehicle speed is less than or equal to the preset vehicle speed, it can be determined that the vehicle speed is slow, and the preset second target duration corresponds to the state where the vehicle is traveling at a lower speed. When the vehicle is traveling at a slow speed, when the engagement torque is close to the target torque and the engagement duration reaches the larger second target duration, the control motor switches from the engagement torque to the target torque, so that the motor can run at the engagement torque for a shorter time when the vehicle is traveling at a low speed, thereby improving the response speed of the VCU to user operations after abnormal reset.

[0098] In an embodiment of the present application, when the current vehicle speed is greater than the preset speed and the difference is less than a first preset difference, the motor is controlled to output the target torque; or, when the vehicle speed is less than or equal to the preset speed and the difference is less than a second preset difference, the motor is controlled to output the target torque. This can not only improve the stability of the vehicle when driving at high speeds, but also improve the response speed of the VCU to user operations after an abnormal reset when the vehicle is driving at low speeds.

[0099] Optionally, after controlling the motor to output the engagement torque, the method may further include:

[0100] When it is detected that the accelerator pedal of the vehicle is depressed, the duration reduction is determined according to the pedal opening of the accelerator pedal;

[0101] Reduce the first target duration and the second target duration according to the duration reduction.

[0102] Exemplarily, the pedal opening can be set to be positively correlated with the duration reduction, and the larger the pedal opening, the larger the duration reduction. Specifically, the duration reduction can be set to 0 when the pedal opening is 0, and the duration reduction increases by Δt for every 5% increase in the pedal opening. After controlling the motor to output the connection torque, the VCU can detect whether the accelerator pedal is stepped on by the user, and obtain the pedal opening of the accelerator pedal after the accelerator pedal is stepped on. If the pedal opening is 4%, the duration reduction is determined to be 0; if the pedal opening is 6%, the duration reduction is determined to be Δt; if the pedal opening is 10%, the duration reduction is determined to be (2×Δt). By analogy, the duration reduction corresponding to each pedal opening can be determined.

[0103] After the motor is controlled to output the connection torque, if it is detected that the accelerator pedal of the vehicle is stepped on, the duration reduction corresponding to the pedal opening can be determined, and the initial first target duration can be reduced by the duration reduction to obtain a new first target duration for the first target duration. After obtaining the new first target duration, the motor can be controlled to output the target torque when the difference reaches or falls below the preset difference, the vehicle speed is greater than the preset vehicle speed, and the connection duration reaches the new first target duration.

[0104] Similarly, after the motor is controlled to output the connection torque, if it is detected that the accelerator pedal of the vehicle is stepped on, the duration reduction corresponding to the pedal opening can be determined, and the initial second target duration can be reduced by the duration reduction to obtain a new second target duration for the second target duration. After obtaining the new second target duration, the motor can be controlled to output the target torque when the difference reaches less than the preset difference, the vehicle speed is less than or equal to the preset vehicle speed, and the connection duration reaches the new second target duration.

[0105] Optionally, after controlling the motor to output the connection torque, if it is detected that the accelerator pedal is stepped on by the user, the motor can be directly controlled to switch from the connection torque to the target torque. In the process of controlling the motor to switch from the connection torque to the target torque, the torque output by the motor can be controlled to change from the connection torque gradient to the target torque.

[0106] In the embodiment of the present application, after controlling the motor to output the connection torque, the first target duration and the second target duration are adjusted by the opening of the accelerator pedal, so that the VCU can quickly respond to the user's control of the vehicle after the abnormality is reset.

[0107] Optionally, the engagement torque is determined according to the historical torque and the current torque of the motor, including:

[0108] Determine the raw torque corresponding to the current vehicle speed and pedal opening;

[0109] Removing abnormal torque from original torque, historical torque and current torque to obtain residual torque;

[0110] Determine the engagement torque based on the residual torque.

[0111] In one embodiment, in the process of determining the connection torque, while obtaining the current torque and the actual torque, the original torque corresponding to the current vehicle speed and pedal opening can be determined. Afterwards, the abnormal torque can be removed from the original torque, the historical torque and the current torque, and the other torques are the residual torque. For example, if the historical torque is determined to be the abnormal torque, the residual torque includes the original torque and the current torque. In the case where the residual torque is one, the residual torque can be directly used as the connection torque. In the case where the residual torque is multiple, the average of the multiple residual torques can be calculated and the average value can be used as the connection torque. Alternatively, one of the multiple residual torques can be selected as the connection torque.

[0112] In an embodiment of the present application, the connection torque is determined based on the historical torque, current torque and original torque, so that the connection torque that accurately matches the current state of the motor can be determined, and the motor output connection torque can be controlled to reduce the probability of a sudden torque change in the motor.

[0113] Optionally, the original torque, the historical torque and the current torque have different priorities, and the connection torque is determined according to the remaining torque, including:

[0114] When there are a plurality of remaining torques, the engaging torque is determined from among the plurality of remaining torques according to the priority of each remaining torque.

[0115] For example, the priority of the original torque can be set higher than the priority of the historical torque, and the priority of the historical torque can be set higher than the priority of the current torque. When the remaining torque includes the original torque and the historical torque, the original torque can be used as the connection torque. Alternatively, the weighted average of the original torque and the historical torque is used as the connection torque, and the weight of the original torque is greater than the weight of the historical torque, that is, the higher the priority, the greater the corresponding weight.

[0116] In practical applications, different priorities can be set in sequence according to the accuracy of the historical torque, the original torque, and the current torque. The method of determining the connection torque according to the priorities of the plurality of residual torques may include but is not limited to the above examples.

[0117] In the embodiment of the present application, when there are multiple residual torques, the connection torque is determined according to the priorities of the multiple residual torques and the multiple residual torques, so that a connection torque that is more closely matched with the current state of the motor can be obtained, thereby reducing the probability of a sudden torque change in the motor.

[0118] See also Figure 2 , Figure 2 It is a structural schematic diagram of a torque control device provided in an embodiment of the present application.

[0119] like Figure 2As shown, the torque control device 200 is disposed in a vehicle controller in a vehicle and may include:

[0120] The determination module 201 is used to determine the connection torque according to the historical torque and current torque of the motor when the abnormal reset of the vehicle controller is detected; wherein the historical torque is the torque output by the motor before the abnormal reset of the vehicle controller, and the current torque is the torque actually output by the motor at present;

[0121] A control module 202, used for controlling the motor to output the engagement torque;

[0122] The control module 202 is further configured to control the motor to output a target torque after controlling the motor to output the connection torque; wherein the target torque is the torque that the vehicle requests the motor to output.

[0123] Optionally, the control module 202 is specifically used to control the motor to output the target torque if the difference between the target torque and the connection torque reaches below a preset difference after controlling the motor to output the connection torque; or, after controlling the motor to output the connection torque for a preset period of time, if the difference between the target torque and the connection torque reaches below the preset difference, control the motor to output the target torque.

[0124] Optionally, the preset difference includes a first preset difference and a second preset difference, and the control module 202 is specifically used to control the motor to output the target torque if the difference reaches below the first preset difference when the current vehicle speed is greater than the preset speed; or to control the motor to output the target torque if the difference reaches below the second preset difference when the vehicle speed is less than or equal to the preset speed; wherein the second preset difference is greater than the first preset difference.

[0125] Optionally, the control module 202 is specifically used to determine the current speed of the vehicle when the difference reaches below the preset difference; if the vehicle speed is greater than the preset speed and the connection time reaches a first target time, control the motor to output the target torque; wherein the connection time is the time for controlling the motor to output the connection torque; or, if the vehicle speed is less than or equal to the preset speed and the connection time reaches a second target time, control the motor to output the target torque; wherein the first target time is greater than the second target time.

[0126] Optionally, the control module 202 is also used to determine a duration reduction according to a pedal opening of the accelerator pedal when it is detected that the accelerator pedal of the vehicle is pressed after controlling the motor to output the connection torque; and reduce the first target duration and the second target duration according to the duration reduction.

[0127] Optionally, the control module 202 is further used to determine a connection time for controlling the motor to output the connection torque when the difference does not reach below the preset difference; if the connection time reaches a third target time, control the motor to output the target torque.

[0128] Optionally, the determination module 201 is specifically used to determine the original torque corresponding to the current vehicle speed and pedal opening of the vehicle; remove abnormal torque from the original torque, the historical torque and the current torque to obtain the residual torque; and determine the connection torque based on the residual torque.

[0129] Optionally, the original torque, the historical torque and the current torque have different priorities, and the determination module 201 is specifically used to determine the connection torque from the multiple residual torques according to the priority of each of the residual torques when there are multiple residual torques.

[0130] See also Figure 3 , Figure 3 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0131] For example, Figure 3 As shown, the vehicle 300 includes: a memory 301 and a processor 302, wherein the memory 301 stores an executable program code 3011, and the processor 302 is used to call and execute the executable program code 3011 to perform a torque control method.

[0132] In addition, an embodiment of the present application also protects a torque control device, which may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to execute a torque control method provided by an embodiment of the present application.

[0133] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0134] In the case of dividing each functional module according to each function, the device may also include a determination module and a control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0135] It should be understood that the device provided in this embodiment is used to execute the above-mentioned torque control method, and thus can achieve the same effect as the above-mentioned implementation method.

[0136] In the case of an integrated unit, the device may include a determination module and an adjustment module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing relevant program codes, etc.

[0137] The processing module may be a processor or a vehicle body setting module, which may implement or execute various exemplary logic blocks, modules and circuits shown in combination with the contents disclosed in this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0138] This embodiment also provides a readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a torque control method provided by the above-mentioned embodiment.

[0139] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a torque control method provided by the above embodiment.

[0140] Among them, the device, readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0141] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned 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.

[0142] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0143] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A torque control method, It is characterized in that A vehicle controller applied to a vehicle, the method comprising: In the case where the abnormal reset of the vehicle controller is detected, the engagement torque is determined according to the historical torque and current torque of the motor; wherein the historical torque is the torque output by the motor before the abnormal reset of the vehicle controller, and the current torque is the torque actually output by the motor at present; Controlling the motor to output the engagement torque; After controlling the motor to output the connection torque, the motor is controlled to output a target torque; wherein the target torque is the torque that the vehicle requests the motor to output.

2. The method according to claim 1, It is characterized in that After controlling the motor to output the engagement torque, controlling the motor to output a target torque comprises: After controlling the motor to output the connection torque, if the difference between the target torque and the connection torque reaches or falls below a preset difference, controlling the motor to output the target torque; Alternatively, after controlling the motor to output the connection torque for a preset period of time, if the difference between the target torque and the connection torque reaches or falls below the preset difference, the motor is controlled to output the target torque.

3. The method according to claim 2, It is characterized in that The preset difference includes a first preset difference and a second preset difference, and if the difference between the target torque and the engagement torque reaches or falls below the preset difference, controlling the motor to output the target torque includes: When the current speed of the vehicle is greater than the preset speed, if the difference is less than the first preset difference, controlling the motor to output the target torque; Alternatively, when the vehicle speed is less than or equal to the preset vehicle speed, if the difference reaches below the second preset difference, the motor is controlled to output the target torque; wherein the second preset difference is greater than the first preset difference.

4. The method according to claim 2, It is characterized in that If the difference between the target torque and the engagement torque reaches or is smaller than a preset difference, controlling the motor to output the target torque comprises: When the difference reaches below the preset difference, determining the current speed of the vehicle; If the vehicle speed is greater than the preset vehicle speed and the connection time reaches the first target time, the motor is controlled to output the target torque; wherein the connection time is the time for controlling the motor to output the connection torque; Alternatively, if the vehicle speed is less than or equal to the preset vehicle speed and the connection time reaches a second target time, the motor is controlled to output the target torque; wherein the first target time is greater than the second target time.

5. The method according to claim 4, It is characterized in that After controlling the motor to output the engagement torque, the method further includes: When it is detected that the accelerator pedal of the vehicle is depressed, determining the duration reduction according to the pedal opening of the accelerator pedal; The first target duration and the second target duration are reduced according to the duration reduction.

6. The method according to claim 2, It is characterized in that The method further comprises: When the difference is less than the preset difference, determining a connection time for controlling the motor to output the connection torque; If the connection time reaches a third target time, the motor is controlled to output the target torque.

7. The method according to any one of claims 1 to 6, It is characterized in that The step of determining the connection torque according to the historical torque and the current torque of the motor includes: Determining a raw torque corresponding to a current vehicle speed and a pedal opening of the vehicle; removing abnormal torque from the original torque, the historical torque and the current torque to obtain a residual torque; The engagement torque is determined based on the residual torque.

8. The method according to claim 7, It is characterized in that The original torque, the historical torque, and the current torque have different priorities, and determining the connection torque according to the residual torque includes: In a case where there are a plurality of the remaining torques, the engagement torque is determined from among the plurality of the remaining torques according to a priority of each of the remaining torques.

9. A torque control device, It is characterized in that A vehicle controller arranged in a vehicle, the device comprising: A determination module, configured to determine the engagement torque according to the historical torque and current torque of the motor when the abnormal reset of the vehicle controller is detected; wherein the historical torque is the torque output by the motor before the abnormal reset of the vehicle controller, and the current torque is the torque actually output by the motor at present; A control module, used for controlling the motor to output the engagement torque; The control module is further configured to control the motor to output a target torque after controlling the motor to output the connection torque; wherein the target torque is the torque that the vehicle requests the motor to output.

10. A vehicle, It is characterized in that The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 8.