Motor torque control method, device, storage medium and motor controller
By obtaining driving parameters and calculating target torque in new energy vehicles and adjusting the motor output torque, the mechanical structure abnormal noise caused by motor torque fluctuations is solved, and the user's riding experience is improved.
Patent Information
- Application Number
- CN202111210791.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-18
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-10-18
AI Technical Summary
When a new energy vehicle passes through a concave and convex road, the motor torque fluctuates, causing abnormal noise in the mechanical structure, reducing the user's ride experience.
By obtaining vehicle driving parameters, determining working conditions, and calculating the target maximum torque and minimum torque available based on the actual speed and reference speed, adjusting the motor output torque to make it stable within the target range and avoiding torque fluctuations.
Effectively eliminate motor torque fluctuations, avoid abnormal mechanical structure noise, and improve user experience of riding.
Smart Images

Figure CN115042634B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of new energy vehicles, and in particular to a motor torque control method, device, storage medium and motor controller. Background Art
[0002] With the promotion of new energy vehicles, more and more users choose to buy new energy vehicles. The so-called new energy vehicles can be simply understood as vehicles that use motors to drive the wheels. Since the motors are directly connected to the wheels, when new energy vehicles drive over uneven roads (such as speed bumps), the mechanical structure inside the vehicle will make abnormal noises, reducing the user's riding experience.
[0003] Therefore, how to prevent new energy vehicles from making unusual noises when driving on uneven roads has become an urgent problem to be solved in the field of new energy vehicles. Summary of the invention
[0004] The applicant discovered that when new energy vehicles are driving on uneven roads, the wheels will leave the ground due to bumps, causing the motor load to be reduced (the wheels leave the ground and the friction is reduced), and the motor speed will change differently, resulting in obvious torque fluctuations, causing the mechanical structures inside the vehicle connected to the motor (such as gearboxes, limit blocks and other structures) to produce abnormal noises. To this end, it is only necessary to eliminate the torque fluctuations of the motor to avoid the mechanical structures connected to the motor from producing abnormal noises.
[0005] The present application provides a motor torque control method, device, storage medium and motor controller, the purpose of which is to avoid abnormal noise when a new energy vehicle is driving on a bumpy road, so as to improve the user's riding experience.
[0006] In order to achieve the above objectives, this application provides the following technical solutions:
[0007] A motor torque control method, comprising:
[0008] Acquiring driving parameters of the vehicle, and determining the working condition of the vehicle according to the driving parameters; the driving parameters include the actual speed of the motor;
[0009] When it is determined that the operating condition indicates that the vehicle has passed through an uneven road surface, obtaining a motor reference speed, an available maximum torque, and an available minimum torque corresponding to the driving parameters;
[0010] Based on the actual speed and the motor reference speed, determining an upper speed mode coefficient and a lower speed mode coefficient;
[0011] calculating a product of the upper speed limit mode coefficient and the available maximum torque to obtain a target available maximum torque;
[0012] Calculating the product of the lower speed limit mode coefficient and the available minimum torque to obtain a target available minimum torque;
[0013] The output torque of the motor is adjusted so that the output torque is greater than the target available minimum torque and less than the target available maximum torque.
[0014] Optionally, the driving parameters further include vehicle speed, road slope change per unit time, accelerator depth, brake pedal depth, and steering wheel angle; the operating condition includes a first operating condition and a second operating condition; the first operating condition is used to indicate that the vehicle accelerates when passing through an uneven road surface; the second operating condition is used to indicate that the vehicle decelerates when passing through an uneven road surface;
[0015] Determining the operating condition of the vehicle according to the driving parameter includes:
[0016] In the case where it is detected that the vehicle speed is greater than a preset vehicle speed threshold, the road slope change within the unit time is greater than a slope change threshold, and the throttle depth is greater than a first preset depth threshold, it is determined that the operating condition of the vehicle is the first operating condition, or,
[0017] When it is detected that the vehicle speed is not greater than the preset vehicle speed threshold, the road slope change in the unit time is greater than the slope change threshold, and the brake pedal depth is greater than a second preset depth threshold, the operating condition of the vehicle is determined to be the second operating condition.
[0018] Optionally, the motor reference speed includes an upper limit reference speed and a lower limit reference speed;
[0019] The step of obtaining a motor reference speed, an available maximum torque, and an available minimum torque corresponding to the driving parameters when determining that the operating condition indicates that the vehicle has passed through an uneven road surface includes:
[0020] When it is determined that the operating condition is the first operating condition, an upper limit reference speed, an available maximum torque, and an available minimum torque corresponding to the vehicle speed, the throttle depth, the road slope change within the unit time, and the steering wheel angle are obtained, or,
[0021] When it is determined that the operating condition is the second operating condition, obtain the lower limit reference speed, the available maximum torque and the available minimum torque corresponding to the vehicle speed, the brake pedal depth, the road slope change per unit time, and the steering wheel angle.
[0022] Optionally, determining an upper speed limit mode coefficient and a lower speed limit mode coefficient based on the actual speed and the motor reference speed includes:
[0023] When it is determined that the operating condition is the first operating condition, calculating a ratio of the upper limit reference speed to the actual speed to obtain a first value;
[0024] Selecting a minimum value from the first value and the first preset value as the upper limit speed sliding mode ratio;
[0025] An upper speed mode coefficient corresponding to the upper speed sliding mode ratio is obtained by querying from the first data table, and the second preset value is identified as a lower speed mode coefficient.
[0026] Optionally, determining an upper speed limit mode coefficient and a lower speed limit mode coefficient based on the actual speed and the motor reference speed includes:
[0027] When it is determined that the operating condition is the second operating condition, calculating a ratio of the lower limit reference speed to the actual speed to obtain a second value;
[0028] Selecting a minimum value from the second value and the third preset value as the lower limit speed sliding mode ratio;
[0029] A lower speed limit mode coefficient corresponding to the lower speed limit sliding mode ratio is obtained by querying from the second data table, and the fourth preset value is identified as the upper speed limit mode coefficient.
[0030] A motor torque control device, comprising:
[0031] A working condition determination unit, used to obtain driving parameters of the vehicle and determine the working condition of the vehicle according to the driving parameters; the driving parameters include an actual speed of the motor;
[0032] a parameter acquisition unit, configured to acquire a motor reference speed, an available maximum torque, and an available minimum torque corresponding to the driving parameters when it is determined that the operating condition indicates that the vehicle has passed through an uneven road surface;
[0033] A coefficient determination unit, configured to determine an upper speed limit mode coefficient and a lower speed limit mode coefficient based on the actual speed and the motor reference speed;
[0034] a first calculation unit, configured to calculate a product of the upper speed limit mode coefficient and the available maximum torque to obtain a target available maximum torque;
[0035] a second calculation unit, configured to calculate a product of the lower speed limit mode coefficient and the available minimum torque to obtain a target available minimum torque;
[0036] The torque adjustment unit is used to adjust the output torque of the motor so that the output torque is greater than the target available minimum torque and less than the target available maximum torque.
[0037] Optionally, the driving parameters further include vehicle speed, road slope change per unit time, accelerator depth, brake pedal depth, and steering wheel angle; the operating condition includes a first operating condition and a second operating condition; the first operating condition is used to indicate that the vehicle accelerates when passing through an uneven road surface; the second operating condition is used to indicate that the vehicle decelerates when passing through an uneven road surface;
[0038] The operating condition determination unit is specifically used for:
[0039] In the case where it is detected that the vehicle speed is greater than a preset vehicle speed threshold, the road slope change within the unit time is greater than a slope change threshold, and the throttle depth is greater than a first preset depth threshold, it is determined that the operating condition of the vehicle is the first operating condition, or,
[0040] When it is detected that the vehicle speed is not greater than the preset vehicle speed threshold, the road slope change in the unit time is greater than the slope change threshold, and the brake pedal depth is greater than a second preset depth threshold, the operating condition of the vehicle is determined to be the second operating condition.
[0041] Optionally, the motor reference speed includes an upper limit reference speed and a lower limit reference speed;
[0042] The parameter acquisition unit is specifically used for:
[0043] When it is determined that the operating condition is the first operating condition, an upper limit reference speed, an available maximum torque, and an available minimum torque corresponding to the vehicle speed, the throttle depth, the road slope change within the unit time, and the steering wheel angle are obtained, or,
[0044] When it is determined that the operating condition is the second operating condition, obtain the lower limit reference speed, the available maximum torque and the available minimum torque corresponding to the vehicle speed, the brake pedal depth, the road slope change per unit time, and the steering wheel angle.
[0045] A computer-readable storage medium includes a stored program, wherein the program executes the motor torque control method.
[0046] A motor controller comprises: a processor, a memory and a bus; the processor and the memory are connected via the bus;
[0047] The memory is used to store a program, and the processor is used to run the program, wherein the motor torque control method is executed when the program is run.
[0048] The technical solution provided by the present application obtains the driving parameters of the vehicle and determines the working condition of the vehicle based on the driving parameters. When it is determined that the working condition indicates that the vehicle passes through a bumpy road, the motor reference speed, the available maximum torque and the available minimum torque corresponding to the driving parameters are obtained. Based on the actual speed and the motor reference speed, the upper speed mode coefficient and the lower speed mode coefficient are determined. The product of the upper speed mode coefficient and the available maximum torque is calculated to obtain the target available maximum torque. The product of the lower speed mode coefficient and the available minimum torque is calculated to obtain the target available minimum torque. The output torque of the motor is adjusted so that the output torque is greater than the target available minimum torque and less than the target available maximum torque. When it is determined that the working condition of the vehicle indicates that the vehicle passes through a bumpy road, by adjusting the output torque of the motor so that the output torque is greater than the target available minimum torque and less than the target available maximum torque, the torque fluctuation of the motor can be effectively eliminated, and the mechanical structure connected to the motor can be avoided from generating abnormal noise. It can be seen that the scheme shown in the present application can effectively avoid abnormal noise when new energy vehicles are driving over bumpy roads, so as to improve the user's riding experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 A schematic diagram of a flow chart of a motor torque control method provided in an embodiment of the present application;
[0051] Figure 2 A schematic flow chart of another motor torque control method provided in an embodiment of the present application;
[0052] Figure 3 A schematic diagram of the architecture of a motor torque control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0054] like Figure 1 FIG. 1 is a flow chart of a motor torque control method provided in an embodiment of the present application, comprising the following steps:
[0055] S101: Acquire driving parameters of a vehicle, and determine the working condition of the vehicle according to the driving parameters.
[0056] Among them, driving parameters include vehicle speed, change in road slope per unit time, accelerator depth, brake pedal depth, steering wheel angle, and actual motor speed.
[0057] When it is detected that the vehicle speed is greater than a preset vehicle speed threshold, the road slope change per unit time is greater than a slope change threshold, and the throttle depth is greater than a first preset depth threshold, the vehicle operating condition is determined to be the first operating condition.
[0058] Generally speaking, when the road slope change per unit time is greater than the slope change threshold, it indicates that the vehicle is traveling over an uneven road surface (including but not limited to speed bumps).
[0059] When it is detected that the vehicle speed is not greater than the preset vehicle speed threshold, the road slope change per unit time is greater than the slope change threshold, and the brake pedal depth is greater than a second preset depth threshold, the vehicle operating condition is determined to be the second operating condition.
[0060] In the embodiment of the present application, the first operating condition is used to indicate that the vehicle accelerates when passing through an uneven road surface, and the second operating condition is used to indicate that the vehicle decelerates when passing through an uneven road surface.
[0061] S102: When it is determined that the operating condition of the vehicle is the first operating condition, obtain the upper limit reference speed, the available maximum torque and the available minimum torque corresponding to the vehicle speed, the throttle depth, the road slope change per unit time, and the steering wheel angle.
[0062] The so-called upper reference speed is the upper limit of the motor reference speed. The so-called available maximum torque is the maximum torque currently available to the motor. The so-called available minimum torque is the minimum torque currently available to the motor.
[0063] S103: Calculate the ratio of the upper limit reference speed to the actual speed to obtain a first value.
[0064] S104: Selecting a minimum value from the first value and the first preset value as the upper limit rotation speed sliding mode ratio.
[0065] The first preset value may be specifically set to 1.
[0066] S105: Obtain an upper speed mode coefficient corresponding to the upper speed sliding mode ratio from the first data table, and identify the second preset value as the lower speed mode coefficient.
[0067] The second preset value may be specifically set to 1.
[0068] Specifically, the first data table can be seen in Table 1 below.
[0069] Table 1
[0070]
[0071] It should be noted that the contents shown in Table 1 above are only for illustration.
[0072] S106: Calculate the product of the available maximum torque and the upper limit speed mode coefficient to obtain a first available maximum torque.
[0073] S107: Calculate the product of the available minimum torque and the lower speed limit mode coefficient to obtain a first available minimum torque.
[0074] S108: Adjust the output torque of the motor so that the output torque is greater than the first available minimum torque and less than the first available maximum torque.
[0075] Among them, when the vehicle accelerates over a bumpy road, the output torque of the motor is adjusted so that the output torque is greater than the first available minimum torque and less than the first available maximum torque. This can actively narrow the range of variation of the motor speed and effectively eliminate the torque fluctuation of the motor, thereby avoiding abnormal noise from the mechanical structure connected to the motor.
[0076] S109: When it is determined that the vehicle's operating condition is the second operating condition, obtain the lower limit reference speed, the available maximum torque, and the available minimum torque corresponding to the vehicle speed, the brake pedal depth, the road slope change per unit time, and the steering wheel angle.
[0077] The so-called lower limit reference speed is the lower limit of the motor reference speed.
[0078] S110: Acquire the actual rotation speed of the motor, and calculate the ratio of the lower limit reference rotation speed to the actual rotation speed to obtain a second value.
[0079] S111: Selecting a minimum value from the second value and the third preset value as the lower limit speed sliding mode ratio.
[0080] Among them, the third preset value can be specifically set to 1.
[0081] S112: Obtain a lower speed limit mode coefficient corresponding to the lower speed limit sliding mode ratio from the second data table, and identify the fourth preset value as the upper speed limit mode coefficient.
[0082] Among them, the fourth preset value can be specifically set to 1.
[0083] Specifically, the second data table can be seen in Table 2 below.
[0084] Table 2
[0085]
[0086] It should be noted that the contents shown in Table 2 above are only for illustration.
[0087] S113: Calculate the product of the available maximum torque and the upper limit speed mode coefficient to obtain a second available maximum torque.
[0088] S114: Calculate the product of the available minimum torque and the lower speed limit mode coefficient to obtain a second available minimum torque.
[0089] S115: Adjust the output torque of the motor so that the output torque is greater than the second available minimum torque and less than the second available maximum torque.
[0090] Among them, when the vehicle decelerates and passes over an uneven road surface, the output torque of the motor is adjusted so that the output torque is greater than the second available minimum torque and less than the second available maximum torque. This can effectively eliminate the torque fluctuation of the motor and avoid abnormal noise from the mechanical structure connected to the motor.
[0091] In this embodiment, when it is determined that the working condition of the vehicle indicates that the vehicle passes through an uneven road surface, the upper speed mode coefficient and the lower speed mode coefficient of the vehicle are determined based on the driving parameters of the vehicle, and the available maximum torque is corrected according to the upper speed mode coefficient to obtain the target available maximum torque (the first available maximum torque and the second available maximum torque mentioned above are both a specific expression of the target available maximum torque), and the available minimum torque is corrected according to the lower speed mode coefficient to obtain the target available minimum torque (the first available minimum torque and the second available minimum torque mentioned above are both a specific expression of the target available minimum torque), and finally, based on the target available maximum torque and the target available minimum torque, the output torque of the motor is adjusted, thereby effectively eliminating the torque fluctuation of the motor and avoiding abnormal noise from the mechanical structure connected to the motor. It can be seen that the scheme shown in this embodiment can effectively avoid abnormal noise when the new energy vehicle passes through an uneven road surface, so as to improve the user's riding experience.
[0092] It should be noted that S108 mentioned in the above embodiment is an optional implementation of the motor torque control method described in this application. In addition, S115 mentioned in the above embodiment is also an optional implementation of the motor torque control method described in this application. To this end, the process mentioned in the above embodiment can be summarized as follows: Figure 2 The method shown.
[0093] like Figure 2 FIG. 1 is a flow chart of another motor torque control method provided in an embodiment of the present application, comprising the following steps:
[0094] S201: Acquire driving parameters of the vehicle, and determine the working condition of the vehicle according to the driving parameters.
[0095] The driving parameters include the actual rotation speed of the motor.
[0096] S202: When it is determined that the operating condition indicates that the vehicle has passed through an uneven road surface, a motor reference speed, an available maximum torque, and an available minimum torque corresponding to the driving parameters are obtained.
[0097] S203: Determine an upper speed limit mode coefficient and a lower speed limit mode coefficient based on the actual speed and the motor reference speed.
[0098] S204: Calculate the product of the upper limit speed mode coefficient and the available maximum torque to obtain the target available maximum torque.
[0099] S205: Calculate the product of the lower speed limit mode coefficient and the available minimum torque to obtain the target available minimum torque.
[0100] S206: Adjust the output torque of the motor so that the output torque is greater than the target minimum available torque and less than the target maximum available torque.
[0101] In this embodiment, when it is determined that the vehicle's operating condition indicates that the vehicle is passing through an uneven road surface, the output torque of the motor is adjusted so that the output torque is greater than the target available minimum torque and less than the target available maximum torque, thereby effectively eliminating the torque fluctuation of the motor and avoiding abnormal noise from the mechanical structure connected to the motor. It can be seen that the scheme shown in this embodiment can effectively avoid abnormal noise when the new energy vehicle is driving over an uneven road surface, thereby improving the user's riding experience.
[0102] Corresponding to the motor torque control method provided in the above-mentioned embodiment of the present application, the embodiment of the present application also provides a motor torque control device.
[0103] like Figure 3 FIG. 1 is a schematic diagram of the structure of a motor torque control device provided in an embodiment of the present application, including:
[0104] The operating condition determination unit 100 is used to obtain driving parameters of the vehicle and determine the operating condition of the vehicle according to the driving parameters; the driving parameters include the actual speed of the motor.
[0105] Among them, the driving parameters also include vehicle speed, road slope change per unit time, throttle depth, brake pedal depth, and steering wheel angle; the operating conditions include a first operating condition and a second operating condition; the first operating condition is used to indicate that the vehicle accelerates when passing through an uneven road surface; the second operating condition is used to indicate that the vehicle decelerates when passing through an uneven road surface.
[0106] The operating condition determination unit 100 is specifically used to: determine that the vehicle's operating condition is the first operating condition when it is detected that the vehicle speed is greater than a preset vehicle speed threshold, the road slope change per unit time is greater than a slope change threshold, and the throttle depth is greater than a first preset depth threshold, or determine that the vehicle's operating condition is the second operating condition when it is detected that the vehicle speed is not greater than the preset vehicle speed threshold, the road slope change per unit time is greater than the slope change threshold, and the brake pedal depth is greater than a second preset depth threshold.
[0107] The parameter acquisition unit 200 is used to acquire the motor reference speed, available maximum torque and available minimum torque corresponding to the driving parameters when it is determined that the working condition indicates that the vehicle passes through an uneven road surface.
[0108] The motor reference speed includes an upper limit reference speed and a lower limit reference speed.
[0109] The parameter acquisition unit 200 is specifically used for: when it is determined that the operating condition is the first operating condition, obtaining the upper limit reference speed, the available maximum torque and the available minimum torque corresponding to the vehicle speed, the throttle depth, the road slope change per unit time, and the steering wheel angle; or, when it is determined that the operating condition is the second operating condition, obtaining the lower limit reference speed, the available maximum torque and the available minimum torque corresponding to the vehicle speed, the brake pedal depth, the road slope change per unit time, and the steering wheel angle.
[0110] The coefficient determination unit 300 is used to determine an upper speed limit mode coefficient and a lower speed limit mode coefficient based on an actual speed and a motor reference speed.
[0111] Among them, the coefficient determination unit 300 is specifically used for: when the operating condition is determined to be the first operating condition, calculating the ratio of the upper limit reference speed to the actual speed to obtain a first value; selecting the minimum value from the first value and the first preset value as the upper limit speed sliding mode ratio; querying from the first data table to obtain the upper limit speed mode coefficient corresponding to the upper limit speed sliding mode ratio, and identifying the second preset value as the lower limit speed mode coefficient.
[0112] The coefficient determination unit 300 is specifically used for: when the operating condition is determined to be the second operating condition, calculating the ratio of the lower limit reference speed to the actual speed to obtain a second value; selecting the minimum value from the second value and the third preset value as the lower limit speed sliding mode ratio; obtaining the lower limit speed mode coefficient corresponding to the lower limit speed sliding mode ratio from the second data table, and identifying the fourth preset value as the upper limit speed mode coefficient.
[0113] The first calculation unit 400 is used to calculate the product of the upper limit speed mode coefficient and the available maximum torque to obtain the target available maximum torque.
[0114] The second calculation unit 500 is used to calculate the product of the lower speed limit mode coefficient and the available minimum torque to obtain the target available minimum torque.
[0115] The torque adjustment unit 600 is used to adjust the output torque of the motor so that the output torque is greater than the target minimum available torque and less than the target maximum available torque.
[0116] In this embodiment, when it is determined that the vehicle's operating condition indicates that the vehicle is passing through an uneven road surface, based on the vehicle's driving parameters, by adjusting the output torque of the motor so that the output torque is greater than the target available minimum torque and less than the target available maximum torque, the torque fluctuation of the motor can be effectively eliminated, and abnormal noise can be avoided from the mechanical structure connected to the motor. It can be seen that the scheme shown in this embodiment can effectively avoid abnormal noise when the new energy vehicle is driving through an uneven road surface, thereby improving the user's riding experience.
[0117] The present application also provides a computer-readable storage medium, which includes a stored program, wherein the program executes the motor torque control method provided by the present application.
[0118] The present application also provides a motor controller, including: a processor, a memory and a bus. The processor and the memory are connected via a bus, the memory is used to store programs, and the processor is used to run the programs, wherein when the programs are run, the motor torque control method provided by the present application is executed, including the following steps:
[0119] Acquiring driving parameters of the vehicle, and determining the working condition of the vehicle according to the driving parameters; the driving parameters include the actual speed of the motor;
[0120] When it is determined that the operating condition indicates that the vehicle has passed through an uneven road surface, obtaining a motor reference speed, an available maximum torque, and an available minimum torque corresponding to the driving parameters;
[0121] Based on the actual speed and the motor reference speed, determining an upper speed mode coefficient and a lower speed mode coefficient;
[0122] calculating a product of the upper speed limit mode coefficient and the available maximum torque to obtain a target available maximum torque;
[0123] Calculating the product of the lower speed limit mode coefficient and the available minimum torque to obtain a target available minimum torque;
[0124] The output torque of the motor is adjusted so that the output torque is greater than the target available minimum torque and less than the target available maximum torque.
[0125] Specifically, based on the above embodiment, the driving parameters further include vehicle speed, road slope change per unit time, accelerator depth, brake pedal depth, and steering wheel angle; the operating condition includes a first operating condition and a second operating condition; the first operating condition is used to indicate that the vehicle accelerates when passing through an uneven road surface; the second operating condition is used to indicate that the vehicle decelerates when passing through an uneven road surface;
[0126] Determining the operating condition of the vehicle according to the driving parameter includes:
[0127] In the case where it is detected that the vehicle speed is greater than a preset vehicle speed threshold, the road slope change within the unit time is greater than a slope change threshold, and the throttle depth is greater than a first preset depth threshold, it is determined that the operating condition of the vehicle is the first operating condition, or,
[0128] When it is detected that the vehicle speed is not greater than the preset vehicle speed threshold, the road slope change per unit time is greater than the slope change threshold, and the brake pedal depth is greater than a second preset depth threshold, the operating condition of the vehicle is determined to be the second operating condition.
[0129] Specifically, based on the above embodiment, the motor reference speed includes an upper limit reference speed and a lower limit reference speed;
[0130] The step of obtaining a motor reference speed, an available maximum torque, and an available minimum torque corresponding to the driving parameters when determining that the operating condition indicates that the vehicle has passed through an uneven road surface includes:
[0131] When it is determined that the operating condition is the first operating condition, an upper limit reference speed, an available maximum torque, and an available minimum torque corresponding to the vehicle speed, the throttle depth, the road slope change within the unit time, and the steering wheel angle are obtained, or,
[0132] When it is determined that the operating condition is the second operating condition, obtain the lower limit reference speed, the available maximum torque and the available minimum torque corresponding to the vehicle speed, the brake pedal depth, the road slope change per unit time, and the steering wheel angle.
[0133] Specifically, based on the above embodiment, determining the upper speed mode coefficient and the lower speed mode coefficient based on the actual speed and the motor reference speed includes:
[0134] When it is determined that the operating condition is the first operating condition, calculating a ratio of the upper limit reference speed to the actual speed to obtain a first value;
[0135] Selecting a minimum value from the first value and the first preset value as the upper limit speed sliding mode ratio;
[0136] An upper speed mode coefficient corresponding to the upper speed sliding mode ratio is obtained by querying from the first data table, and the second preset value is identified as a lower speed mode coefficient.
[0137] Specifically, based on the above embodiment, determining the upper speed mode coefficient and the lower speed mode coefficient based on the actual speed and the motor reference speed includes:
[0138] When it is determined that the operating condition is the second operating condition, calculating a ratio of the lower limit reference speed to the actual speed to obtain a second value;
[0139] Selecting a minimum value from the second value and the third preset value as the lower limit speed sliding mode ratio;
[0140] A lower speed limit mode coefficient corresponding to the lower speed limit sliding mode ratio is obtained by querying from the second data table, and the fourth preset value is identified as the upper speed limit mode coefficient.
[0141] If the functions described in the method of the embodiment of the present application are implemented in the form of software functional units and sold or used as independent products, they can be stored in a storage medium readable by a computing device. Based on this understanding, the part of the embodiment of the present application that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a computing device (which can be a personal computer, server, mobile computing device or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0142] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0143] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A motor torque control method, characterized in that: include: Acquiring driving parameters of a vehicle, and determining an operating condition of the vehicle according to the driving parameters; The driving parameters include the actual speed of the motor; When it is determined that the operating condition indicates that the vehicle has passed through an uneven road surface, obtaining a motor reference speed, an available maximum torque, and an available minimum torque corresponding to the driving parameters; Based on the actual speed and the motor reference speed, determining an upper speed mode coefficient and a lower speed mode coefficient; calculating a product of the upper speed limit mode coefficient and the available maximum torque to obtain a target available maximum torque; Calculating the product of the lower speed limit mode coefficient and the available minimum torque to obtain a target available minimum torque; The output torque of the motor is adjusted so that the output torque is greater than the target available minimum torque and less than the target available maximum torque.
2. The method according to claim 1, characterized in that The driving parameters also include vehicle speed, road slope change per unit time, accelerator depth, brake pedal depth, and steering wheel angle; the operating conditions include a first operating condition and a second operating condition; the first operating condition is used to indicate that the vehicle accelerates over a bumpy road surface; The second operating condition is used to indicate that the vehicle decelerates when passing through an uneven road surface; Determining the operating condition of the vehicle according to the driving parameter includes: In the case where it is detected that the vehicle speed is greater than a preset vehicle speed threshold, the road slope change within the unit time is greater than a slope change threshold, and the throttle depth is greater than a first preset depth threshold, it is determined that the operating condition of the vehicle is the first operating condition, or, When it is detected that the vehicle speed is not greater than the preset vehicle speed threshold, the road slope change in the unit time is greater than the slope change threshold, and the brake pedal depth is greater than a second preset depth threshold, the operating condition of the vehicle is determined to be the second operating condition.
3. The method according to claim 2, characterized in that The motor reference speed includes an upper limit reference speed and a lower limit reference speed; The step of obtaining a motor reference speed, an available maximum torque, and an available minimum torque corresponding to the driving parameters when determining that the operating condition indicates that the vehicle has passed through an uneven road surface includes: When it is determined that the operating condition is the first operating condition, an upper limit reference speed, an available maximum torque, and an available minimum torque corresponding to the vehicle speed, the throttle depth, the road slope change within the unit time, and the steering wheel angle are obtained, or, When it is determined that the operating condition is the second operating condition, obtain the lower limit reference speed, the available maximum torque and the available minimum torque corresponding to the vehicle speed, the brake pedal depth, the road slope change per unit time, and the steering wheel angle.
4. The method according to claim 3, characterized in that The step of determining an upper speed limit mode coefficient and a lower speed limit mode coefficient based on the actual speed and the motor reference speed includes: When it is determined that the operating condition is the first operating condition, calculating a ratio of the upper limit reference speed to the actual speed to obtain a first value; Selecting a minimum value from the first value and the first preset value as the upper limit speed sliding mode ratio; An upper speed mode coefficient corresponding to the upper speed sliding mode ratio is obtained by querying from the first data table, and the second preset value is identified as a lower speed mode coefficient.
5. The method according to claim 3, characterized in that: The step of determining an upper speed limit mode coefficient and a lower speed limit mode coefficient based on the actual speed and the motor reference speed includes: When it is determined that the operating condition is the second operating condition, calculating a ratio of the lower limit reference speed to the actual speed to obtain a second value; Selecting a minimum value from the second value and the third preset value as the lower limit speed sliding mode ratio; A lower speed limit mode coefficient corresponding to the lower speed limit sliding mode ratio is obtained by querying from the second data table, and the fourth preset value is identified as the upper speed limit mode coefficient.
6. A motor torque control device, characterized in that: include: A working condition determination unit, used for acquiring driving parameters of a vehicle and determining the working condition of the vehicle according to the driving parameters; The driving parameters include the actual speed of the motor; a parameter acquisition unit, configured to acquire a motor reference speed, an available maximum torque, and an available minimum torque corresponding to the driving parameters when it is determined that the operating condition indicates that the vehicle has passed through an uneven road surface; A coefficient determination unit, configured to determine an upper speed limit mode coefficient and a lower speed limit mode coefficient based on the actual speed and the motor reference speed; a first calculation unit, configured to calculate a product of the upper speed limit mode coefficient and the available maximum torque to obtain a target available maximum torque; a second calculation unit, configured to calculate a product of the lower speed limit mode coefficient and the available minimum torque to obtain a target available minimum torque; The torque adjustment unit is used to adjust the output torque of the motor so that the output torque is greater than the target available minimum torque and less than the target available maximum torque.
7. The device according to claim 6, characterized in that The driving parameters also include vehicle speed, road slope change per unit time, throttle depth, brake pedal depth, and steering wheel angle; the operating conditions include a first operating condition and a second operating condition; the first operating condition is used to indicate that the vehicle accelerates when passing through an uneven road surface; the second operating condition is used to indicate that the vehicle decelerates when passing through an uneven road surface; The operating condition determination unit is specifically used for: In the case where it is detected that the vehicle speed is greater than a preset vehicle speed threshold, the road slope change within the unit time is greater than a slope change threshold, and the throttle depth is greater than a first preset depth threshold, it is determined that the operating condition of the vehicle is the first operating condition, or, When it is detected that the vehicle speed is not greater than the preset vehicle speed threshold, the road slope change in the unit time is greater than the slope change threshold, and the brake pedal depth is greater than a second preset depth threshold, the operating condition of the vehicle is determined to be the second operating condition.
8. The device according to claim 7, characterized in that The motor reference speed includes an upper limit reference speed and a lower limit reference speed; The parameter acquisition unit is specifically used for: When it is determined that the operating condition is the first operating condition, an upper limit reference speed, an available maximum torque, and an available minimum torque corresponding to the vehicle speed, the throttle depth, the road slope change within the unit time, and the steering wheel angle are obtained, or, When it is determined that the operating condition is the second operating condition, obtain the lower limit reference speed, the available maximum torque and the available minimum torque corresponding to the vehicle speed, the brake pedal depth, the road slope change per unit time, and the steering wheel angle.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the motor torque control method according to any one of claims 1-5.
10. A motor controller, characterized in that: include: processor, memory, and bus; The processor is connected to the memory via the bus; The memory is used to store programs, and the processor is used to run programs, wherein the motor torque control method according to any one of claims 1 to 5 is executed when the program is run.
