Electric vehicle anti-shake control method, device and equipment and readable storage medium

The least squares method calculates the fitted slope and historical angular velocity of the motor angular velocity, and calculates the compensation coefficient to adjust the compensation torque, which solves the problem of inaccurate judgment of anti-shake torque compensation timing in electric vehicles, improves the stability of power output and the vehicle Anti-shake performance.

CN118906840APending Publication Date: 2024-11-08ZHIXIN CONTROL SYST CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411071975.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The prior art determines the timing of anti-shake torque compensation in electric vehicles in an inaccurate way, which affects real-time power output, especially in vehicles with complex power output such as multi-speed plug-in hybrid models, which may affect shifting and series-parallel switching.

Method used

The least squares method is used to calculate the fitted slope of the motor angular velocity to obtain real-time angular acceleration. By updating the historical angular velocity collection and segmented angular acceleration, the compensation coefficient is calculated to adjust the compensation torque, ensuring that jitter is accurately compensated when needed and avoid unnecessary Torque output.

Benefits of technology

By accurately identifying vehicle jitter, avoiding the output of large compensation torque in normal acceleration and deceleration and stable road sections, ensuring the stability of power output, and improving the anti-shake control effect of electric vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118906840A_ABST
    Figure CN118906840A_ABST
Patent Text Reader

Abstract

The invention provides an electric vehicle anti-shake control method, device and equipment and a readable storage medium, and the method comprises the steps: in each control period, calculating the fitting slope of the latest n motor angular speeds according to a least square method, and obtaining the real-time angular acceleration; in every x control periods, the historical angular velocity set is updated, fitting slopes of the historical angular velocity set and the k historical angular velocity subsets are calculated according to a least square method, an overall angular acceleration and k segmented angular accelerations are obtained, and a compensation coefficient is obtained through calculation according to a first calibration constant, the overall angular acceleration and the k segmented angular accelerations; and in each control period, calculating the product of the compensation coefficient and the target angular acceleration to obtain a compensation torque. By means of the method and device, when the whole vehicle is started in an anti-shake mode, real shake can be correctly recognized, and it is avoided that when normal acceleration and deceleration are conducted and a stable road section outputs large compensation torque to prevent shake, and normal power output is affected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle control technology, and in particular to an anti-shake control method, device, equipment and readable storage medium for an electric vehicle. Background Art

[0002] Vehicle jitter greatly affects the driving and riding experience. Traditional gasoline vehicles cannot accurately control torque and can only solve the problem of vehicle jitter in mechanical structure. Electric vehicles can implement anti-shake strategies by accurately adjusting torque in real time. Due to the mechanical structure, clearance, and road conditions of the vehicle, there will be sudden changes in vehicle speed, which will be manifested as vehicle jitter in external experience. If it cannot be improved through mechanical adjustment, the jitter encountered can be filtered out in real time by controlling the motor torque.

[0003] The basic process of anti-shake control includes: calculating the motor angular acceleration based on multiple motor angular velocities, calculating the compensation torque based on the angular acceleration, and superimposing the compensation torque on the requested torque to control the motor torque. However, when performing anti-shake torque compensation, the existing technology does not accurately judge the timing of torque compensation. Torque compensation is also performed when the vehicle is running smoothly, affecting the real-time power output. For vehicles with complex power output, such as multi-speed plug-in hybrid models, it may affect their gear shifting and series-parallel switching. Summary of the invention

[0004] The present application provides an electric vehicle anti-shake control method, device, equipment and readable storage medium, which can solve the technical problem of inaccurate judgment on the timing of torque compensation in the prior art.

[0005] In a first aspect, an embodiment of the present application provides an anti-shake control method for an electric vehicle, the anti-shake control method for an electric vehicle comprising:

[0006] In each control cycle, the fitting slope of the latest n motor angular velocities is calculated according to the least square method to obtain the real-time angular acceleration, where n>1;

[0007] In every x control cycles, the historical angular velocity collection is updated, and the fitting slopes of the historical angular velocity collection and k historical angular velocity subsets are calculated respectively according to the least square method to obtain the overall angular acceleration and k segmented angular accelerations. The compensation coefficient is calculated according to the first calibration constant, the overall angular acceleration and the k segmented angular accelerations, wherein 1≤x≤n, k>1, the historical angular velocity collection is divided into k historical angular velocity subsets, and each historical angular velocity subset contains n consecutive motor angular velocities;

[0008] In each control cycle, the product of the compensation coefficient and the target angular acceleration is calculated to obtain the compensation torque, wherein the target angular acceleration is equal to the real-time angular acceleration, or the sum of the real-time angular acceleration and the second calibration constant, or the difference between the overall angular acceleration and the real-time angular acceleration, and the compensation torque is used to superimpose the requested torque to control the motor torque.

[0009] Furthermore, in one embodiment, the step of updating the historical angular velocity collection every x control cycles includes:

[0010] In every n control cycles, the n latest motor angular velocities are added to the historical angular velocity collection, and the earliest n motor angular velocities are deleted from the historical angular velocity collection to obtain a new historical angular velocity collection.

[0011] Furthermore, in one embodiment, the step of updating the historical angular velocity collection every x control cycles includes:

[0012] In each control cycle, the latest motor angular velocity is added to the historical angular velocity collection, and the earliest motor angular velocity is deleted from the historical angular velocity collection to obtain a new historical angular velocity collection.

[0013] Furthermore, in one embodiment, the step of calculating the compensation coefficient according to the first calibration constant, the overall angular acceleration and the k segmented angular accelerations comprises:

[0014] The compensation coefficient is calculated according to the first formula, which is:

[0015]

[0016] Among them, ξ is the compensation coefficient, A is the first calibration constant, α a is the overall angular acceleration, α i is the angular acceleration of the i-th segment, sign represents the sign, and abs represents the absolute value.

[0017] Furthermore, in one embodiment, the step of calculating the compensation coefficient according to the first calibration constant, the overall angular acceleration and the k segmented angular accelerations comprises:

[0018] The compensation coefficient is calculated according to the second formula, which is:

[0019]

[0020] Among them, ξ is the compensation coefficient, A is the first calibration constant, α a is the overall angular acceleration, α i is the angular acceleration of the i-th segment, sign represents the sign, and abs represents the absolute value.

[0021] In a second aspect, an embodiment of the present application further provides an anti-shake control device for an electric vehicle, the anti-shake control device for an electric vehicle comprising:

[0022] The real-time angular acceleration calculation module 10 is used to calculate the fitting slope of the latest n motor angular velocities according to the least square method in each control cycle to obtain the real-time angular acceleration, wherein n>1;

[0023] The compensation coefficient calculation module 20 updates the historical angular velocity collection every x control cycles, calculates the fitting slopes of the historical angular velocity collection and k historical angular velocity subsets respectively according to the least square method, obtains the overall angular acceleration and k segmented angular accelerations, and calculates the compensation coefficient according to the first calibration constant, the overall angular acceleration and the k segmented angular accelerations, wherein 1≤x≤n, k>1, the historical angular velocity collection is divided into k historical angular velocity subsets, and each historical angular velocity subset contains n consecutive motor angular velocities;

[0024] The compensation torque calculation module 30 is used to calculate the product of the compensation coefficient and the target angular acceleration in each control cycle to obtain the compensation torque, wherein the target angular acceleration is equal to the real-time angular acceleration, or the sum of the real-time angular acceleration and the second calibration constant, or the difference between the overall angular acceleration and the real-time angular acceleration, and the compensation torque is used to superimpose the requested torque to control the motor torque.

[0025] Furthermore, in one embodiment, the compensation coefficient calculation module 20 is used to:

[0026] In every n control cycles, the n latest motor angular velocities are added to the historical angular velocity collection, and the earliest n motor angular velocities are deleted from the historical angular velocity collection to obtain a new historical angular velocity collection.

[0027] Furthermore, in one embodiment, the compensation coefficient calculation module 20 is used to:

[0028] The compensation coefficient is calculated according to the first formula, which is:

[0029]

[0030] Among them, ξ is the compensation coefficient, A is the first calibration constant, α a is the overall angular acceleration, α i is the angular acceleration of the i-th segment, sign represents the sign, and abs represents the absolute value.

[0031] In a third aspect, an embodiment of the present application further provides an electric vehicle anti-shake control device, which includes a processor, a memory, and an electric vehicle anti-shake control program stored in the memory and executable by the processor, wherein when the electric vehicle anti-shake control program is executed by the processor, the steps of the above-mentioned electric vehicle anti-shake control method are implemented.

[0032] In a fourth aspect, an embodiment of the present application further provides a readable storage medium, on which an electric vehicle anti-shake control program is stored, wherein when the electric vehicle anti-shake control program is executed by a processor, the steps of the above-mentioned electric vehicle anti-shake control method are implemented.

[0033] In this application, the real-time angular acceleration is calculated based on the latest n motor angular velocities in each control cycle, and the overall angular acceleration and k segmented angular accelerations are calculated based on the latest kn motor angular velocities at that time in each x control cycle. The angular accelerations are all fitted slopes calculated based on the least squares method to ensure accuracy. The overall angular acceleration and segmented angular acceleration can characterize the overall and local volatility of the motor angular velocity in the corresponding time period, so as to calculate the compensation coefficient that conforms to the motor rotation trend, so as to correctly adjust the compensation torque and avoid outputting a large compensation torque when torque compensation is not needed. Through this application, when the vehicle anti-shake is turned on, the real shake can be correctly identified to avoid outputting a large compensation torque to prevent shake during normal acceleration and deceleration and smooth sections, which affects the normal power output. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 This is a flow chart of an anti-shake control method for an electric vehicle in one embodiment of the present application;

[0035] Figure 2 This is a schematic diagram of the relationship between the real-time angular acceleration, the overall angular acceleration and the segmented angular acceleration in one embodiment of the present application;

[0036] Figure 3 This is a schematic diagram showing the comparison of the historical angular velocity collection before and after updating in one embodiment of the present application;

[0037] Figure 4 This is a schematic diagram of the functional modules of an anti-shake control device for an electric vehicle in one embodiment of the present application;

[0038] Figure 5 This is a schematic diagram of the hardware structure of the electric vehicle anti-shake control device involved in the embodiment of the present application. DETAILED DESCRIPTION

[0039] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings 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.

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

[0041] In a first aspect, an embodiment of the present application provides an anti-shake control method for an electric vehicle.

[0042] Figure 1 A flow chart of an anti-shake control method for an electric vehicle in one embodiment of the present application is shown.

[0043] Reference Figure 1 In one embodiment, the anti-shake control method for an electric vehicle comprises the following steps:

[0044] S11. In each control cycle, the fitting slopes of the latest n motor angular velocities are calculated according to the least square method to obtain the real-time angular acceleration, where n>1.

[0045] The motor angular velocity is equivalent to the motor speed, and is converted by angular velocity = speed × 2π / 60.

[0046] The least squares method is a numerical approximation technique and parameter estimation method widely used in statistics, mathematics, engineering, and economics. Its core idea is to find the best fit line or model parameters by minimizing the sum of squared errors to achieve the best fit to the data. It can be understood that when time is the horizontal coordinate and angular velocity is the vertical coordinate, the slope of the fitting curve is equivalent to angular acceleration. In this step, the fitting slopes of the latest n motor angular velocities are updated synchronously with the motor angular velocity in each control cycle, which can be regarded as real-time angular acceleration.

[0047] Specifically, the calculation formula of the simulated slope of the motor angular velocity is:

[0048]

[0049] Where ω is the motor angular velocity and t is the sampling time.

[0050] S12. In every x control cycles, the historical angular velocity collection is updated, and the fitting slopes of the historical angular velocity collection and k historical angular velocity subsets are calculated respectively according to the least squares method to obtain the overall angular acceleration and k segmented angular accelerations. The compensation coefficient is calculated according to the first calibration constant, the overall angular acceleration and the k segmented angular accelerations, wherein 1≤x≤n, k>1, the historical angular velocity collection is divided into k historical angular velocity subsets, and each historical angular velocity subset contains n consecutive motor angular velocities.

[0051] In this step, the historical angular velocity collection is updated once every x control cycles. The fitting slope of the historical angular velocity collection is used to represent the overall angular acceleration during the kn motor angular velocity sampling periods, reflecting the overall volatility of the motor angular velocity. The fitting slope of the historical angular velocity subset is used to represent the segmented angular acceleration during the corresponding n motor angular velocity sampling periods, reflecting the local volatility of the motor angular velocity. The compensation coefficient calculated based on the overall angular acceleration and the segmented angular acceleration is in line with the motor rotation trend, and a smaller compensation coefficient is output during normal acceleration and deceleration and smooth sections, and a larger compensation coefficient is output during jitter, thereby correctly adjusting the compensation torque.

[0052] Among them, the first calibration constant needs to be set according to the vehicle parameters, the compensation coefficient calculation method and the compensation torque calculation method. The update period of the historical angular velocity collection is set to 1≤x≤n to ensure that the historical angular velocity collection has an intersection with the latest n motor angular velocities, thereby ensuring the timeliness of the overall angular acceleration and the segmented angular acceleration.

[0053] Figure 2 A schematic diagram showing the relationship between real-time angular acceleration, overall angular acceleration and segmented angular acceleration in one embodiment of the present application is shown.

[0054] Reference Figure 2 , α a is the overall angular acceleration, α1, α2, ..., α k is the segmented angular acceleration, α r is the real-time angular acceleration. α1, α a The motor angular velocity used in the calculation is the same as α r The motor angular velocities used in the calculation have intersections.

[0055] S13. In each control cycle, the product of the compensation coefficient and the target angular acceleration is calculated to obtain the compensation torque, wherein the target angular acceleration is equal to the real-time angular acceleration, or the sum of the real-time angular acceleration and the second calibration constant, or the difference between the overall angular acceleration and the real-time angular acceleration, and the compensation torque is used to superimpose the requested torque to control the motor torque.

[0056] Specifically, three methods for calculating the compensation torque are provided, and the difference lies in the calculation method of the target angular acceleration multiplied by the compensation coefficient. The first is that the target angular acceleration is equal to the real-time angular acceleration, and the second is that the target angular acceleration is equal to the sum of the real-time angular acceleration and the second calibration constant. Since the measurement of the motor angular velocity usually carries a certain noise, the more angular velocities are used in calculating the angular acceleration (the larger n is), the more accurate the calculation result will be, but this will cause time lag and compensation lag. The second calibration constant is used to reduce the influence of time lag and compensation lag. The third is that the target angular acceleration is equal to the difference between the overall angular acceleration and the real-time angular acceleration. The first two calculation methods focus more on the absolute size of the real-time angular acceleration, and the third calculation method focuses more on the relative size of the overall angular acceleration and the real-time angular acceleration.

[0057] In this embodiment, the real-time angular acceleration is calculated based on the latest n motor angular velocities in each control cycle, and the overall angular acceleration and k segmented angular accelerations are calculated based on the latest kn motor angular velocities at that time in each x control cycle. The angular accelerations are all fitted slopes calculated based on the least squares method to ensure accuracy. The overall angular acceleration and the segmented angular acceleration can characterize the overall and local volatility of the motor angular velocity in the corresponding time period, so as to calculate the compensation coefficient that conforms to the motor rotation trend, thereby correctly adjusting the compensation torque to avoid outputting a large compensation torque when torque compensation is not needed. Through this embodiment, when the vehicle anti-shake is turned on, the real shake can be correctly identified to avoid outputting a large compensation torque to prevent shake during normal acceleration and deceleration and smooth sections, which affects the normal power output.

[0058] Furthermore, in one embodiment, the step of updating the historical angular velocity collection every x control cycles includes:

[0059] In every n control cycles, the n latest motor angular velocities are added to the historical angular velocity collection, and the earliest n motor angular velocities are deleted from the historical angular velocity collection to obtain a new historical angular velocity collection.

[0060] In this embodiment, x=n, and the update period of the historical angular velocity collection is n control periods. Thus, only a new overall angular acceleration and a new segmented angular acceleration need to be recalculated after each update, thereby reducing the amount of real-time calculation of the software.

[0061] Figure 3 A schematic diagram showing the comparison of the historical angular velocity collection before and after updating in one embodiment of the present application is shown.

[0062] Reference Figure 3 , α a is the overall angular acceleration, α1, α2, ..., α k is the segmented angular acceleration, α ris the real-time angular acceleration, and the updated α2, α3, ..., α k Compared with α1, α2, ..., α before the update k-1 One-to-one correspondence, no need to recalculate, only α1 and α a .

[0063] Furthermore, in one embodiment, the step of updating the historical angular velocity collection every x control cycles includes:

[0064] In each control cycle, the latest motor angular velocity is added to the historical angular velocity collection, and the earliest motor angular velocity is deleted from the historical angular velocity collection to obtain a new historical angular velocity collection.

[0065] In this embodiment, x=1, the historical angular velocity collection is updated in each control cycle, and the overall angular acceleration and the segmented angular acceleration have the best timeliness. Correspondingly, the software real-time calculation amount is also the highest.

[0066] Regarding the calculation method of the compensation coefficient, this application provides two optional implementations.

[0067] As an optional implementation, the step of calculating the compensation coefficient according to the first calibration constant, the overall angular acceleration and the k segmented angular accelerations includes:

[0068] The compensation coefficient is calculated according to the first formula, which is:

[0069]

[0070] Among them, ξ is the compensation coefficient, A is the first calibration constant, α a is the overall angular acceleration, α i is the angular acceleration of the i-th segment, sign represents the sign, and abs represents the absolute value.

[0071] As another optional implementation, the step of calculating the compensation coefficient according to the first calibration constant, the overall angular acceleration and the k segmented angular accelerations includes:

[0072] The compensation coefficient is calculated according to the second formula, which is:

[0073]

[0074] Among them, ξ is the compensation coefficient, A is the first calibration constant, α a is the overall angular acceleration, α i is the angular acceleration of the i-th segment, sign represents the sign, and abs represents the absolute value.

[0075] The first calculation method focuses more on the absolute size of the segmented angular acceleration, while the second algorithm focuses more on the relative size of the segmented angular acceleration and the overall angular acceleration.

[0076] In a second aspect, an embodiment of the present application also provides an anti-shake control device for an electric vehicle.

[0077] Figure 4 A schematic diagram of the functional modules of an anti-shake control device for an electric vehicle in one embodiment of the present application is shown.

[0078] Reference Figure 4 In one embodiment, the anti-shake control device for an electric vehicle includes:

[0079] The real-time angular acceleration calculation module 10 is used to calculate the fitting slope of the latest n motor angular velocities according to the least square method in each control cycle to obtain the real-time angular acceleration, wherein n>1;

[0080] The compensation coefficient calculation module 20 updates the historical angular velocity collection every x control cycles, calculates the fitting slopes of the historical angular velocity collection and k historical angular velocity subsets respectively according to the least square method, obtains the overall angular acceleration and k segmented angular accelerations, and calculates the compensation coefficient according to the first calibration constant, the overall angular acceleration and the k segmented angular accelerations, wherein 1≤x≤n, k>1, the historical angular velocity collection is divided into k historical angular velocity subsets, and each historical angular velocity subset contains n consecutive motor angular velocities;

[0081] The compensation torque calculation module 30 is used to calculate the product of the compensation coefficient and the target angular acceleration in each control cycle to obtain the compensation torque, wherein the target angular acceleration is equal to the real-time angular acceleration, or the sum of the real-time angular acceleration and the second calibration constant, or the difference between the overall angular acceleration and the real-time angular acceleration, and the compensation torque is used to superimpose the requested torque to control the motor torque.

[0082] Furthermore, in one embodiment, the compensation coefficient calculation module 20 is used to:

[0083] In every n control cycles, the n latest motor angular velocities are added to the historical angular velocity collection, and the earliest n motor angular velocities are deleted from the historical angular velocity collection to obtain a new historical angular velocity collection.

[0084] Furthermore, in one embodiment, the compensation coefficient calculation module 20 is used to:

[0085] In each control cycle, the latest motor angular velocity is added to the historical angular velocity collection, and the earliest motor angular velocity is deleted from the historical angular velocity collection to obtain a new historical angular velocity collection.

[0086] Furthermore, in one embodiment, the compensation coefficient calculation module 20 is used to:

[0087] The compensation coefficient is calculated according to the first formula, which is:

[0088]

[0089] Among them, ξ is the compensation coefficient, A is the first calibration constant, α a is the overall angular acceleration, α i is the angular acceleration of the i-th segment, sign represents the sign, and abs represents the absolute value.

[0090] Furthermore, in one embodiment, the compensation coefficient calculation module 20 is used to:

[0091] The compensation coefficient is calculated according to the second formula, which is:

[0092]

[0093] Among them, ξ is the compensation coefficient, A is the first calibration constant, α a is the overall angular acceleration, α i is the angular acceleration of the i-th segment, sign represents the sign, and abs represents the absolute value.

[0094] Among them, the functional implementation of each module in the above-mentioned electric vehicle anti-shake control device corresponds to the various steps in the above-mentioned electric vehicle anti-shake control method embodiment, and its functions and implementation processes are no longer repeated here.

[0095] In a third aspect, an embodiment of the present application provides an anti-shake control device for an electric vehicle, which may be a personal computer (PC), a laptop computer, a server, or other device with a data processing function.

[0096] Figure 5 A schematic diagram of the hardware structure of an electric vehicle anti-shake control device involved in an embodiment of the present application is shown.

[0097] Reference Figure 5 In an embodiment of the present application, an anti-shake control device for an electric vehicle may include a processor, a memory, a communication interface, and a communication bus.

[0098] The communication bus may be of any type and is used to interconnect the processor, the memory, and the communication interface.

[0099] The communication interface includes input / output (I / O) interface, physical interface and logical interface, etc., which are used to realize the interconnection of devices inside the anti-shake control device of electric vehicles, and the interface used to realize the interconnection of the anti-shake control device of electric vehicles with other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, a fiber optic interface, an ATM interface, etc.; the user device can be a display (Display), a keyboard (Keyboard), etc.

[0100] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0101] The processor may be a general-purpose processor, which may call the electric vehicle anti-shake control program stored in the memory and execute the electric vehicle anti-shake control method provided in the embodiment of the present application. For example, the general-purpose processor may be a central processing unit (CPU). The method executed when the electric vehicle anti-shake control program is called may refer to the various embodiments of the electric vehicle anti-shake control method of the present application, which will not be described in detail here.

[0102] Those skilled in the art will understand that Figure 5 The hardware structure shown in the figure does not constitute a limitation on the present application, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0103] In a fourth aspect, an embodiment of the present application also provides a readable storage medium.

[0104] The readable storage medium of the present application stores an anti-shake control program for an electric vehicle, wherein when the anti-shake control program for the electric vehicle is executed by a processor, the steps of the anti-shake control method for an electric vehicle as described above are implemented.

[0105] Among them, the method implemented when the electric vehicle anti-shake control program is executed can refer to the various embodiments of the electric vehicle anti-shake control method of the present application, and will not be repeated here.

[0106] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.

[0107] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.

[0108] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.

[0109] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, 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” refers to two or more than two.

[0110] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.

[0111] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.

[0112] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. An anti-shake control method for an electric vehicle, characterized in that: The electric vehicle anti-shake control method comprises: In each control cycle, the fitting slope of the latest n motor angular velocities is calculated according to the least square method to obtain the real-time angular acceleration, where n>1; In every x control cycles, the historical angular velocity collection is updated, and the fitting slopes of the historical angular velocity collection and k historical angular velocity subsets are calculated respectively according to the least square method to obtain the overall angular acceleration and k segmented angular accelerations. The compensation coefficient is calculated according to the first calibration constant, the overall angular acceleration and the k segmented angular accelerations, wherein 1≤x≤n, k>1, the historical angular velocity collection is divided into k historical angular velocity subsets, and each historical angular velocity subset contains n consecutive motor angular velocities; In each control cycle, the product of the compensation coefficient and the target angular acceleration is calculated to obtain the compensation torque, wherein the target angular acceleration is equal to the real-time angular acceleration, or the sum of the real-time angular acceleration and the second calibration constant, or the difference between the overall angular acceleration and the real-time angular acceleration, and the compensation torque is used to superimpose the requested torque to control the motor torque.

2. The anti-shake control method for an electric vehicle according to claim 1, characterized in that: The step of updating the historical angular velocity collection every x control cycles includes: In every n control cycles, the n latest motor angular velocities are added to the historical angular velocity collection, and the earliest n motor angular velocities are deleted from the historical angular velocity collection to obtain a new historical angular velocity collection.

3. The anti-shake control method for an electric vehicle as claimed in claim 1, characterized in that: The step of updating the historical angular velocity collection every x control cycles includes: In each control cycle, the latest motor angular velocity is added to the historical angular velocity collection, and the earliest motor angular velocity is deleted from the historical angular velocity collection to obtain a new historical angular velocity collection.

4. The anti-shake control method for an electric vehicle according to claim 1, characterized in that: The step of calculating the compensation coefficient according to the first calibration constant, the overall angular acceleration and the k segmented angular accelerations comprises: The compensation coefficient is calculated according to the first formula, which is: Among them, ξ is the compensation coefficient, A is the first calibration constant, α a is the overall angular acceleration, α i is the angular acceleration of the i-th segment, sign represents the sign, and abs represents the absolute value.

5. The anti-shake control method for an electric vehicle as claimed in claim 1, characterized in that: The step of calculating the compensation coefficient according to the first calibration constant, the overall angular acceleration and the k segmented angular accelerations comprises: The compensation coefficient is calculated according to the second formula, which is: Among them, ξ is the compensation coefficient, A is the first calibration constant, α a is the overall angular acceleration, α i is the angular acceleration of the i-th segment, sign represents the sign, and abs represents the absolute value.

6. An anti-shake control device for an electric vehicle, characterized in that: The anti-shake control device for an electric vehicle comprises: The real-time angular acceleration calculation module is used to calculate the fitting slope of the latest n motor angular velocities according to the least square method in each control cycle to obtain the real-time angular acceleration, where n>1; A compensation coefficient calculation module updates the historical angular velocity collection every x control cycles, calculates the fitting slopes of the historical angular velocity collection and k historical angular velocity subsets respectively according to the least square method, obtains the overall angular acceleration and k segmented angular accelerations, and calculates the compensation coefficient according to the first calibration constant, the overall angular acceleration and the k segmented angular accelerations, wherein 1≤x≤n, k>1, the historical angular velocity collection is divided into k historical angular velocity subsets, and each historical angular velocity subset contains n consecutive motor angular velocities; The compensation torque calculation module is used to calculate the product of the compensation coefficient and the target angular acceleration in each control cycle to obtain the compensation torque, wherein the target angular acceleration is equal to the real-time angular acceleration, or the sum of the real-time angular acceleration and the second calibration constant, or the difference between the overall angular acceleration and the real-time angular acceleration, and the compensation torque is used to superimpose the requested torque to control the motor torque.

7. The anti-shake control device for an electric vehicle as claimed in claim 1, characterized in that: The compensation coefficient calculation module is used for: In every n control cycles, the n latest motor angular velocities are added to the historical angular velocity collection, and the earliest n motor angular velocities are deleted from the historical angular velocity collection to obtain a new historical angular velocity collection.

8. The anti-shake control device for an electric vehicle as claimed in claim 1, characterized in that: The compensation coefficient calculation module is used for: The compensation coefficient is calculated according to the first formula, which is: Among them, ξ is the compensation coefficient, A is the first calibration constant, α a is the overall angular acceleration, α i is the angular acceleration of the i-th segment, sign represents the sign, and abs represents the absolute value.

9. An anti-shake control device for an electric vehicle, characterized in that: The electric vehicle anti-shake control device includes a processor, a memory, and an electric vehicle anti-shake control program stored in the memory and executable by the processor, wherein when the electric vehicle anti-shake control program is executed by the processor, the steps of the electric vehicle anti-shake control method as described in any one of claims 1 to 5 are implemented.

10. A readable storage medium, characterized in that: The readable storage medium stores an electric vehicle anti-shake control program, wherein when the electric vehicle anti-shake control program is executed by a processor, the steps of the electric vehicle anti-shake control method according to any one of claims 1 to 5 are implemented.

Citation Information

Cited By

  • Torque compensation method, device and equipment for electric screw driver and storage medium

    CN120222900A