Vehicle mass estimation method, device and equipment and storage medium
By obtaining the operating parameters of the vehicle and using the recursive least squares model, the vehicle quality is estimated in real time and multiple verification is carried out, the problem of inability to accurately estimate the vehicle quality in the prior art is solved, and the reliability and fuel economy of vehicle control are improved.
Patent Information
- Application Number
- CN202411178193.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2024-11-15
AI Technical Summary
Vehicle quality cannot be estimated in real time and accurately in the prior art, affecting the performance and fuel economy of the vehicle's active safety system.
By obtaining the vehicle's operating parameters, such as speed, drive torque, drive resistance torque, slope, main reducer transmission ratio and transmission efficiency, the first acceleration of the vehicle is calculated, and the estimated mass of the vehicle is determined using the recursive least squares model, and the vehicle is estimated, Torque matching verification, acceleration matching verification and shift matching verification ensure the accuracy of estimated quality.
Real-time and accurate estimation of vehicle quality is achieved, the reliability and fuel economy of vehicle control are improved, and the safety of vehicle is enhanced.
Smart Images

Figure CN118953379A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile control technology, and in particular to a method, device, equipment and storage medium for estimating vehicle mass. Background Art
[0002] For vehicle dynamics models, real-time estimation of vehicle mass is the basis of vehicle control. Accurate and real-time estimation of vehicle mass can effectively improve the performance of vehicle active safety systems. For example, the electronic stability control system (ESP) relies on vehicle mass to calculate the center of mass side slip angle and yaw angle in real time, thereby achieving control of the vehicle's lateral slip.
[0003] At the same time, studies have shown that adjusting the shift schedule according to the real-time changes in vehicle mass can save about 2.62%-4.86% of fuel for the car. Therefore, accurately estimating vehicle mass parameters is of great significance for improving vehicle safety and fuel economy. However, the relevant technology does not provide a real-time and accurate method for estimating vehicle mass. Summary of the invention
[0004] In view of this, embodiments of the present application provide a method, apparatus, device and storage medium for estimating vehicle mass, aiming to solve the problem of being unable to estimate vehicle mass in real time and accurately.
[0005] In a first aspect, an embodiment of the present application provides a method for estimating vehicle mass, comprising:
[0006] Acquiring operating parameters of the vehicle, the operating parameters including speed, driving torque, driving resistance torque, slope, final reducer transmission ratio, transmission efficiency and transmission ratio;
[0007] determining a first acceleration of the vehicle based on the speed;
[0008] determining an estimated mass of the vehicle based on the first acceleration and the operating parameter;
[0009] Performing arbitration verification on the estimated mass, the arbitration verification including torque matching verification, acceleration matching verification and gear shift matching verification;
[0010] If the arbitration verification passes, the estimated mass is output as the mass of the vehicle.
[0011] In a possible implementation manner, the performing arbitration verification on the estimated quality includes:
[0012] Performing torque matching verification according to the tracking error, if the tracking error is less than or equal to a first preset value, the torque matching verification is passed;
[0013] Calculating a second acceleration according to the estimated mass, and if a difference between the first acceleration and the second acceleration is less than or equal to a second preset value, the acceleration matching verification is passed;
[0014] A gear shift matching verification is performed based on the driving resistance, the first acceleration and the estimated mass. If the difference between the driving resistance and the product of the first acceleration and the estimated mass is less than or equal to a third preset value, the gear shift matching verification is passed; the driving resistance includes air resistance, rolling resistance, and slope resistance.
[0015] In a possible implementation manner, determining the first acceleration of the vehicle according to the speed includes:
[0016] The first acceleration is obtained by differential velocity:
[0017]
[0018] Among them, a x is the first acceleration, is the speed of the vehicle at time k, is the speed of the vehicle at time k-1.
[0019] In a possible implementation, determining the estimated mass of the vehicle based on the first acceleration and the operating parameter includes:
[0020] Determine the driving force based on the driving torque, the driving resistance torque, the final drive ratio, the transmission efficiency and the transmission ratio:
[0021]
[0022] Among them, F tq is the driving force, T t is the driving torque, T f is the driving resistance torque, i0 is the transmission ratio of the main reducer, η T is the transmission efficiency, i g is the transmission ratio of the transmission;
[0023] Determine the air resistance based on the speed:
[0024]
[0025] Among them, F w is the air resistance, v x is the speed, C D is the air resistance coefficient, A is the windward area;
[0026] Determine the rolling resistance of the vehicle:
[0027] FG = Gf;
[0028] Among them, F G is the rolling resistance, G is the gravity on the vehicle, and f is the rolling resistance coefficient;
[0029] Determine the slope resistance based on the slope:
[0030] F r =G sinα;
[0031] Among them, F r is the slope resistance, G is the gravity on the vehicle, and sinα is the slope resistance acceleration;
[0032] determining an estimated mass of the vehicle based on a recursive least squares model;
[0033] The recursive least squares model is:
[0034] F tq =F G +F w +F r +ma+e k ω;
[0035] Where m is the estimated mass, e k is the tracking error at the current moment, and ω is the interference adaptation term.
[0036] In a possible implementation, determining the estimated mass of the vehicle based on a recursive least squares model includes:
[0037] The partial derivative of the estimated mass with respect to the driving force is determined, and the tracking error is calculated:
[0038]
[0039] in, is the partial derivative, T represents the transpose, is the estimated mass at the previous moment, e k-1 is the tracking error at the previous moment, is the estimated mass at the current moment, y k is the driving force at the current moment minus the air resistance, y k =[F tq -F w ];
[0040] Determine the gain coefficient of the recursive least squares model:
[0041]
[0042] Among them, K k is the gain coefficient at the current moment, P k-1 is the error covariance matrix of the previous moment;
[0043] Determine the error covariance matrix:
[0044]
[0045] Among them, P k is the error covariance matrix at the current moment;
[0046] Use the estimated mass at the previous moment to correct the estimated mass at the current moment:
[0047]
[0048] In a possible implementation, the method further includes:
[0049] The gain coefficient of the recursive least squares model is modified according to the first acceleration and the driving force:
[0050]
[0051] In a possible implementation, after obtaining the operating parameters of the vehicle, the method further includes:
[0052] The operating parameters are preprocessed, and the preprocessing includes unit conversion, limit filtering, rate of change filtering and low-pass filtering.
[0053] In a second aspect, an embodiment of the present application provides a vehicle mass estimation device, comprising:
[0054] An acquisition module, used for acquiring operating parameters of the vehicle, wherein the operating parameters include speed, driving torque, driving resistance torque, slope, final reducer transmission ratio, transmission efficiency and transmission ratio of the transmission;
[0055] A first determination module, configured to determine a first acceleration of the vehicle according to the speed;
[0056] a second determination module configured to determine an estimated mass of the vehicle based on the first acceleration and the operating parameter;
[0057] A verification module, configured to perform arbitration verification on the estimated mass, wherein the arbitration verification includes torque matching verification, acceleration matching verification and gear shift matching verification;
[0058] An output module is configured to output the estimated mass as the mass of the vehicle if the arbitration verification passes.
[0059] In a possible implementation, the verification module is specifically used to:
[0060] Performing torque matching verification according to the tracking error, if the tracking error is less than or equal to a first preset value, the torque matching verification is passed;
[0061] Calculating a second acceleration according to the estimated mass, and if a difference between the first acceleration and the second acceleration is less than or equal to a second preset value, the acceleration matching verification is passed;
[0062] A gear shift matching verification is performed based on the driving resistance, the first acceleration and the estimated mass. If the difference between the driving resistance and the product of the first acceleration and the estimated mass is less than or equal to a third preset value, the gear shift matching verification is passed; the driving resistance includes air resistance, rolling resistance, and slope resistance.
[0063] In a possible implementation manner, the first determining module is specifically configured to:
[0064] The first acceleration is obtained by differential velocity:
[0065]
[0066] Among them, a x is the first acceleration, is the speed of the vehicle at time k, is the speed of the vehicle at time k-1.
[0067] In a possible implementation manner, the second determining module is specifically configured to:
[0068] Determine the driving force based on the driving torque, the driving resistance torque, the final drive ratio, the transmission efficiency and the transmission ratio:
[0069]
[0070] Among them, F tq is the driving force, T t is the driving torque, T f is the driving resistance torque, i0 is the transmission ratio of the main reducer, η T is the transmission efficiency, i g is the transmission ratio of the transmission;
[0071] Determine the air resistance based on the speed:
[0072]
[0073] Among them, F w is the air resistance, v xis the speed, C D is the air resistance coefficient, A is the windward area;
[0074] Determine the rolling resistance of the vehicle:
[0075] F G =Gf;
[0076] Among them, F G is the rolling resistance, G is the gravity on the vehicle, and f is the rolling resistance coefficient;
[0077] Determine the slope resistance based on the slope:
[0078] F r =G sinα;
[0079] Among them, F r is the slope resistance, G is the gravity on the vehicle, and sinα is the slope resistance acceleration;
[0080] determining an estimated mass of the vehicle based on a recursive least squares model;
[0081] The recursive least squares model is:
[0082] F tq =F G +F w +F r +ma+e k ω;
[0083] Where m is the estimated mass, e k is the tracking error at the current moment, and ω is the interference adaptation term.
[0084] In a possible implementation manner, the second determining module is specifically configured to:
[0085] The partial derivative of the estimated mass with respect to the driving force is determined, and the tracking error is calculated:
[0086]
[0087] in, is the partial derivative, T represents the transpose, is the estimated mass at the previous moment, e k-1 is the tracking error at the previous moment, is the estimated mass at the current moment, y k is the driving force at the current moment minus the air resistance, y k =[F tq -F w ];
[0088] Determine the gain coefficient of the recursive least squares model:
[0089]
[0090] Among them, K k is the gain coefficient at the current moment, P k-1 is the error covariance matrix of the previous moment;
[0091] Determine the error covariance matrix:
[0092]
[0093] Among them, P k is the error covariance matrix at the current moment;
[0094] Use the estimated mass at the previous moment to correct the estimated mass at the current moment:
[0095]
[0096] In a possible implementation manner, the device further includes a correction module, and the correction module is used to:
[0097] The gain coefficient of the recursive least squares model is modified according to the first acceleration and the driving force:
[0098]
[0099] In a possible implementation, the device further includes a filtering module, and the filtering module is used to preprocess the operating parameters, and the preprocessing includes unit conversion, limiting filtering, rate of change filtering, and low-pass filtering.
[0100] In a third aspect, an embodiment of the present application provides a device, comprising a memory and a processor, wherein the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes so that the device performs the vehicle mass estimation method described in any one of the first aspects above.
[0101] In a fourth aspect, an embodiment of the present application provides a computer storage medium having codes stored therein. When the codes are executed, a device executing the codes implements the vehicle mass estimation method described in any one of the aforementioned first aspects.
[0102] The embodiments of the present application provide a method, device, equipment and storage medium for estimating vehicle mass. First, by obtaining operating parameters such as the vehicle's speed, driving torque, driving resistance torque, slope, main reducer transmission ratio, transmission efficiency and transmission ratio. Then calculate the first acceleration of the vehicle according to the speed. Next, determine the estimated mass of the vehicle using the first acceleration and the operating parameters. Perform torque matching verification, acceleration matching verification and gear shift matching verification on the estimated mass. If the arbitration verification passes, the estimated mass is output as the mass of the vehicle. Through the above method, the mass can be estimated in real time in combination with the vehicle's operating parameters, and the estimated mass can be verified multiple times to improve the reliability of the estimated mass, providing an important reference for vehicle control. BRIEF DESCRIPTION OF THE DRAWINGS
[0103] In order to more clearly illustrate the technical solutions in this embodiment or 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.
[0104] Figure 1 A flowchart of a vehicle mass estimation method provided in an embodiment of the present application;
[0105] Figure 2 A schematic diagram of an operating parameter preprocessing provided in an embodiment of the present application;
[0106] Figure 3 A schematic diagram of processing an operating parameter provided in an embodiment of the present application;
[0107] Figure 4 A schematic diagram of a vehicle measuring slope provided in an embodiment of the present application;
[0108] Figure 5 A schematic diagram of arbitration verification provided in an embodiment of the present application;
[0109] Figure 6 A flowchart of another method for estimating vehicle mass provided in an embodiment of the present application;
[0110] Figure 7 A schematic diagram of the structure of a vehicle mass estimation device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0111] Obviously, the embodiments described in this application are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0112] See also Figure 1 , Figure 1 A flow chart of a vehicle mass estimation method provided in an embodiment of the present application includes:
[0113] S101: Obtaining vehicle operating parameters.
[0114] The operating parameters are used to describe the relevant parameters of the vehicle during driving. The operating parameters include speed v x , driving torque T t , driving resistance torque T f , slope α, main reducer transmission ratio i0, transmission efficiency η T and the transmission ratio i g .
[0115] In the embodiment of the present application, a sensor is used to collect the speed v x ; Output the slope a, the final reducer transmission ratio i0, and the transmission efficiency η through the transmission control unit (TCU) T and the transmission ratio i g ; Collect driving torque T through the engine t and driving resistance torque T f .
[0116] In one possible implementation, Figure 2 As shown, Figure 2 A schematic diagram of an operating parameter preprocessing provided in an embodiment of the present application. After obtaining the operating parameters of the vehicle, it also includes:
[0117] The operating parameters are preprocessed, and the preprocessing includes unit conversion, limit filtering, rate of change filtering and low-pass filtering.
[0118] When obtaining the above parameters, the above operating parameters can be obtained in the form of signals through CAN bus communication. Since the signal may have mutations, abnormal change rates and noise interference, it will cause jitter and deviation of the estimation results. Therefore, limit filtering, change rate filtering and low-pass filtering are performed on the operating parameters to ensure data accuracy. In addition, considering the mismatch of CAN bus signal transmission units, this module will standardize the signal units to provide a data basis for acceleration and force calculation.
[0119] When the signal changes suddenly, the value of the operating parameter will be abnormal. At this time, the abnormal value can be filtered out by limiting the filter. Limiting filter sets a threshold range and limits the value beyond the range to within the range, thereby filtering out the abnormal value.
[0120] When the signal jumps and has strong discreteness, the rate of change filter can be used to smooth the operating parameters. The rate of change filter calculates the slope or rate of change between adjacent sampling points and smoothes the data points whose rate of change exceeds the set threshold to reduce the impact of abnormal changes on the operating parameters.
[0121] If the collected signal has noise, you can use low-pass filtering to filter out the impact of high-frequency noise on the operating parameters. Low-pass filtering allows low-frequency signals to pass through, while suppressing high-frequency signals, thereby smoothing the operating parameters and reducing the interference of noise on them.
[0122] By preprocessing the operating parameters, abnormal signals and noise can be effectively handled, and the stability and accuracy of the operating parameters can be improved.
[0123] S102: Determine a first acceleration of the vehicle according to the speed.
[0124] In the embodiments of the present application, Figure 3 As shown, Figure 3 A schematic diagram of processing an operating parameter provided in an embodiment of the present application can obtain a first acceleration by differential velocity:
[0125]
[0126] Among them, a x is the first acceleration, is the speed of the vehicle at time k, is the speed of the vehicle at time k-1. The speed may also be the speed after the limit filter removes abnormal values.
[0127] During the data analysis, it was found that there was a large difference between the acceleration collected by the sensor and the acceleration calculated using the speed differential. Considering that the confidence level of the vehicle speed collection was higher, the acceleration calculated using the speed differential was selected as the first acceleration in step S102.
[0128] S103: Determine an estimated mass of the vehicle based on the first acceleration and the operating parameter.
[0129] In the embodiment of the present application, the driving force and driving resistance of the vehicle can be determined first, and then the estimated mass can be determined in combination with the first acceleration. The driving resistance includes rolling resistance, air resistance and slope resistance. Figure 3 As shown:
[0130] In a possible implementation, the driving force may be determined based on the driving torque, the driving resistance torque, the final reducer transmission ratio, the transmission efficiency, and the transmission ratio of the transmission:
[0131]
[0132] Among them, F tq is the driving force, T t is the driving torque, T f is the driving resistance torque, i0 is the transmission ratio of the main reducer, η T is the transmission efficiency, i g is the transmission ratio.
[0133] In the embodiment of the present application, the transmission ratio i g It can be a value after the rate of change filter.
[0134] In one possible implementation, air resistance can be determined based on velocity:
[0135]
[0136] Among them, F w is the air resistance, v x is the speed, C D is the air resistance coefficient, and A is the windward area.
[0137] In one possible implementation, the rolling resistance of a vehicle may be determined:
[0138] F G =Gf;
[0139] Among them, F G is the rolling resistance, G is the gravity acting on the vehicle, and f is the rolling resistance coefficient.
[0140] In one possible implementation, the slope resistance may be determined based on the slope:
[0141] F r =G sinα;
[0142] Among them, F r is the slope resistance, G is the gravity acting on the vehicle, and α is the slope.
[0143] During vehicle driving, the accuracy of operating parameters is affected by sensor measurement errors, system interference and noise. Figure 4 As shown, Figure 4 A schematic diagram of a vehicle measuring slope provided in an embodiment of the present application. The accuracy of the operating parameters will affect the estimated mass obtained using the vehicle driving equation, so the estimated mass needs to be regressed so that the estimated mass gradually converges to the true value with subsequent working conditions.
[0144] Commonly used algorithms for regression processing include recursive least squares and Kalman filtering. Since the recursive least squares (RLS) model is simple and fast in response, it is suitable for real vehicle observation. Therefore, in the embodiment of the present application, the recursive least squares method is selected to observe the driving force, complete the estimation of mass and driving force, and calculate the acceleration and estimation error to determine the validity of the estimated mass.
[0145] In the embodiment of the present application, the mass of the entire vehicle is used as an estimated quantity, and the driving force F tq As the tracking quantity, the recursive least squares method is used to calculate and regress the estimated mass. For the vehicle driving equation, since observation and model disturbances cannot be avoided, the driving equation cannot reflect the actual driving conditions of the vehicle, and the mass estimation result will have a large deviation; therefore, the embodiment of the present application adds the interference adaptive term ω to the vehicle driving equation, and at the same time, in order to improve the convergence speed and estimation accuracy, the tracking error e in the recursive least squares method is added k , reduce the impact of input signal jumps, and build a recursive least squares model.
[0146] In one possible implementation, the estimated mass of the vehicle may be determined based on a recursive least squares model.
[0147] The recursive least squares model is:
[0148] F tq =F G +F w +F r +ma+e k ω;
[0149] Where m is the estimated mass, e k is the tracking error at the current moment, and ω is the interference adaptation term.
[0150] In the embodiment of the present application, the process of solving the recursive least squares model to determine the estimated mass of the vehicle may be:
[0151] (1) Determine the partial derivative of the estimated mass with respect to the driving force and calculate the tracking error:
[0152]
[0153] in, is the partial derivative, T represents the transpose, is the estimated mass at the previous moment, e k-1 is the tracking error at the previous moment, is the estimated mass at the current moment, y k is the driving force at the current moment minus the air resistance, y k =[Ftq -F w ].
[0154] (2) Determine the gain coefficient of the recursive least squares model:
[0155]
[0156] Among them, K k is the gain coefficient at the current moment, P k-1 is the error covariance matrix of the previous moment.
[0157] (3) Determine the error covariance matrix:
[0158]
[0159] Among them, P k is the error covariance matrix at the current moment; the error covariance matrix continues to converge during the iteration process.
[0160] (4) Use the estimated mass at the previous moment to correct the estimated mass at the current moment:
[0161]
[0162] During the regression update process, the recursive least squares model uses the optimal value calculated at the previous moment Add the correction value K calculated by the observation equation at the current moment k e k , get the estimated quality at the current moment
[0163] During the debugging process, it was found that when the vehicle is in a deceleration state or a state with a small driving torque, the estimated quality obtained by using the above recursive least squares model has a certain error. Therefore, in the embodiment of the present application, the confidence of the operating parameters in such a state can be actively reduced, thereby improving the convergence of the estimation results. The confidence level can be adjusted by adjusting K k Realization, K k The larger the value, the less trust is placed on the estimated quality m, the greater the trust is placed on the input, and the slower the convergence. k The smaller the value, the opposite is true.
[0164] In the embodiment of the present application, the gain coefficient K of the recursive least squares model can be corrected according to the first acceleration and the driving force. k :
[0165]
[0166] When the first acceleration a x Less than or equal to 0, or the driving force F tqWhen the absolute value of is less than or equal to 1000, K k Pick
[0167] When the first acceleration a x is greater than 0, and the driving force F tq When the absolute value of K is greater than 1000, k Pick
[0168] S104: Perform arbitration verification on the estimated quality.
[0169] The accuracy of the estimated mass obtained by the recursive least squares model is affected by the amount of input data. In the early stage of estimation, the amount of data is small, the recursive least squares model will have a greater confidence in the input data, the convergence of the estimated mass is poor and there is a large overshoot. For this type of data, arbitration verification is required. If the overshoot is large, it needs to be actively filtered out to avoid obtaining an estimated mass with a large error, which affects vehicle control. Arbitration verification includes torque matching verification, acceleration matching verification, and gear shift matching verification.
[0170] In one possible implementation, the process of performing moment matching verification on the estimated mass is:
[0171] The torque matching verification is performed according to the tracking error. If the tracking error is less than or equal to a first preset value, the torque matching verification is passed.
[0172]
[0173] Tracking Error k The size of can intuitively represent the convergence degree of the estimation quality. If the tracking error e k Being less than or equal to the first preset value 1000, it can be indicated that the estimated torque calculated by using the estimated mass can track the observed torque well, the estimated mass m is relatively accurate, the error is small, and the torque matching verification is passed.
[0174] In one possible implementation, the process of performing acceleration matching verification on the estimated mass is:
[0175] A second acceleration is calculated according to the estimated mass, and if a difference between the first acceleration and the second acceleration is less than or equal to a second preset value, the acceleration matching verification is passed.
[0176] e v = abs(a x -(F tq -F G -F w -F r -e k ω) / m)≤0.1;
[0177] Among them, e v is the absolute value of the difference between the first acceleration and the second acceleration, that is, the error value of the acceleration matching verification.
[0178] The second acceleration is calculated using the estimated mass m, and then the difference is calculated with the first acceleration obtained in step S102. The first acceleration is obtained by differentiating the vehicle speed. Since the speed directly detected by the sensor has a high confidence, the first acceleration is used as a reference value. If the absolute value of the difference between the first acceleration and the second acceleration is less than or equal to the second preset value 0.1, it indicates that the second acceleration calculated using the estimated mass m is more accurate, so the estimated mass m is also more accurate, with a smaller error, and the acceleration matching verification is passed.
[0179] In a possible implementation, the process of performing shift matching verification on the estimated mass is as follows:
[0180] The gear shift matching verification is performed based on the driving resistance, the first acceleration and the estimated mass. If the error between the driving resistance and the product of the first acceleration and the estimated mass is less than or equal to a third preset value, the gear shift matching verification is passed; the driving resistance includes air resistance, rolling resistance, and slope resistance.
[0181] e s =abs((F G +F w +F r +e k ω)-ma x )≤100;
[0182] Among them, e s is the absolute value of the error between the acceleration resistance and the driving resistance of the vehicle in neutral or shifting state, that is, the error value of the shift matching verification; the acceleration resistance is the difference between the estimated mass m and the first acceleration a x The product of .
[0183] During the vehicle shifting process or coasting in neutral, the clutch is disconnected, and the engine driving torque does not act on the vehicle at this time. Therefore, it can be considered that the acceleration resistance of the vehicle is equal to the driving resistance of the vehicle. When the absolute value of the error between the acceleration resistance and the driving resistance of the vehicle is less than or equal to the third preset value 100, it indicates that the estimated mass m is relatively accurate, the error is small, and the shift matching verification is passed.
[0184] S105: If the arbitration verification passes, the estimated mass is output as the mass of the vehicle.
[0185] like Figure 5 , Figure 5A schematic diagram of an arbitration verification provided in an embodiment of the present application. When the above-mentioned torque matching verification, acceleration matching verification and gear shift matching verification are all passed, the arbitration verification is passed, and the estimated mass m is output as the mass of the vehicle, and then the vehicle is controlled according to the mass. In addition, the estimated mass m will participate in the next estimation calculation, that is, the estimated mass at the previous moment in the above-mentioned step (4) "Use the estimated mass at the previous moment to correct the estimated mass at the current moment".
[0186] If at least one of the above-mentioned torque matching verification, acceleration matching verification and gear shift matching verification fails, it indicates that the error of the estimated mass m obtained this time is large. In this case, the estimated mass m obtained this time is discarded, and the previous estimated mass is used in the next estimation calculation until the estimated mass passes the arbitration verification and then the mass of the vehicle is output.
[0187] An embodiment of the present application provides a method for estimating vehicle mass. First, by obtaining operating parameters such as the vehicle's speed, driving torque, driving resistance torque, slope, main reducer transmission ratio, transmission efficiency and transmission ratio. Then calculate the first acceleration of the vehicle according to the speed. Next, determine the estimated mass of the vehicle using the first acceleration and the operating parameters. Perform torque matching verification, acceleration matching verification and gear shift matching verification on the estimated mass. If the arbitration verification passes, the estimated mass is output as the mass of the vehicle. Through the above method, the mass can be estimated in real time in combination with the vehicle's operating parameters, and the estimated mass can be verified multiple times, thereby improving the reliability of the estimated mass and providing an important reference for vehicle control.
[0188] Combine the following Figure 6 The method flow chart shown in the figure introduces the method provided by the embodiment of the present application. Figure 6 As shown. First, the operating parameters of the vehicle (speed, slope, driving torque, transmission efficiency, driving resistance torque, main reducer transmission ratio and transmission ratio) are obtained. After preprocessing the operating parameters (unit conversion, limiting filtering, low-pass filtering and rate of change filtering), the first acceleration, driving force and driving resistance (air resistance, rolling resistance and slope resistance) are determined. Then, the mass is estimated by combining the first acceleration, driving force and driving resistance to obtain the estimated mass. Finally, the estimated mass is arbitrated and verified (torque matching verification, acceleration matching verification and gear shift matching verification) in combination with the first acceleration, driving force, driving resistance, estimated mass and tracking error. When the arbitration verification passes, the estimated mass is output as the mass of the vehicle.
[0189] The above are some specific implementations of the vehicle mass estimation method provided in the embodiments of the present application. Based on this, the present application also provides a corresponding device. The device provided in the embodiments of the present application will be introduced from the perspective of functional modularization.
[0190] See also Figure 7 The structure diagram of the vehicle mass estimation device 700 is shown, and the device 700 includes an acquisition module 701, a first determination module 702, a second determination module 703, a verification module 704 and an output module 705.
[0191] An acquisition module 701 is used to acquire operating parameters of the vehicle, wherein the operating parameters include speed, driving torque, driving resistance torque, slope, final reducer transmission ratio, transmission efficiency and transmission ratio of the transmission;
[0192] A first determination module 702, configured to determine a first acceleration of the vehicle according to the speed;
[0193] A second determination module 703, configured to determine an estimated mass of the vehicle based on the first acceleration and the operating parameter;
[0194] A verification module 704, configured to perform arbitration verification on the estimated mass, wherein the arbitration verification includes torque matching verification, acceleration matching verification and gear shift matching verification;
[0195] The output module 705 is configured to output the estimated mass as the mass of the vehicle if the arbitration verification passes.
[0196] An embodiment of the present application provides a device for estimating vehicle mass. First, by obtaining operating parameters such as the vehicle's speed, driving torque, driving resistance torque, slope, main reducer transmission ratio, transmission efficiency and transmission ratio. Then calculate the first acceleration of the vehicle according to the speed. Next, determine the estimated mass of the vehicle using the first acceleration and the operating parameters. Perform torque matching verification, acceleration matching verification and gear shift matching verification on the estimated mass. If the arbitration verification passes, the estimated mass is output as the mass of the vehicle. Through the above device, the mass can be estimated in real time in combination with the vehicle's operating parameters, and the estimated mass can be verified multiple times to improve the reliability of the estimated mass, providing an important reference for vehicle control.
[0197] In a possible implementation, the verification module 705 is specifically used to:
[0198] Performing torque matching verification according to the tracking error, if the tracking error is less than or equal to a first preset value, the torque matching verification is passed;
[0199] Calculating a second acceleration according to the estimated mass, and if a difference between the first acceleration and the second acceleration is less than or equal to a second preset value, the acceleration matching verification is passed;
[0200] A gear shift matching verification is performed based on the driving resistance, the first acceleration and the estimated mass. If the difference between the driving resistance and the product of the first acceleration and the estimated mass is less than or equal to a third preset value, the gear shift matching verification is passed; the driving resistance includes air resistance, rolling resistance, and slope resistance.
[0201] In a possible implementation manner, the first determining module 702 is specifically configured to:
[0202] The first acceleration is obtained by differential velocity:
[0203]
[0204] Among them, a x is the first acceleration, is the speed of the vehicle at time k, is the speed of the vehicle at time k-1.
[0205] In a possible implementation manner, the second determining module 703 is specifically configured to:
[0206] Determine the driving force based on the driving torque, the driving resistance torque, the final drive ratio, the transmission efficiency and the transmission ratio:
[0207]
[0208] Among them, F tq is the driving force, T t is the driving torque, T f is the driving resistance torque, i0 is the transmission ratio of the main reducer, η T is the transmission efficiency, i g is the transmission ratio of the transmission;
[0209] Determine the air resistance based on the speed:
[0210]
[0211] Among them, F w is the air resistance, v x is the speed, C D is the air resistance coefficient, A is the windward area;
[0212] Determine the rolling resistance of the vehicle:
[0213] F G =Gf;
[0214] Among them, F G is the rolling resistance, G is the gravity on the vehicle, and f is the rolling resistance coefficient;
[0215] Determine the slope resistance based on the slope:
[0216] F r =G sinα;
[0217] Among them, F r is the slope resistance, G is the gravity on the vehicle, and sin α is the slope resistance acceleration;
[0218] determining an estimated mass of the vehicle based on a recursive least squares model;
[0219] The recursive least squares model is:
[0220] F tq =F G +F w +F r +ma+e k ω;
[0221] Where m is the estimated mass, e k is the tracking error at the current moment, and ω is the interference adaptation term.
[0222] In a possible implementation manner, the second determining module 702 is specifically configured to:
[0223] The partial derivative of the estimated mass with respect to the driving force is determined, and the tracking error is calculated:
[0224]
[0225] in, is the partial derivative, T represents the transpose, is the estimated mass at the previous moment, e k-1 is the tracking error at the previous moment, is the estimated mass at the current moment, y k is the driving force at the current moment minus the air resistance, y k =[F tq -F w ];
[0226] Determine the gain coefficient of the recursive least squares model:
[0227]
[0228] Among them, K k is the gain coefficient at the current moment, P k-1 is the error covariance matrix of the previous moment;
[0229] Determine the error covariance matrix:
[0230]
[0231] Among them, P k is the error covariance matrix at the current moment;
[0232] Use the estimated mass at the previous moment to correct the estimated mass at the current moment:
[0233]
[0234] In a possible implementation manner, the apparatus 700 further includes a correction module, and the correction module is configured to:
[0235] The gain coefficient of the recursive least squares model is modified according to the first acceleration and the driving force:
[0236]
[0237] In a possible implementation, the device 700 further includes a filtering module, and the filtering module is used to preprocess the operating parameters, and the preprocessing includes unit conversion, limiting filtering, rate of change filtering, and low-pass filtering.
[0238] The embodiments of the present application also provide corresponding devices and computer storage media for implementing the solutions provided by the embodiments of the present application.
[0239] The device includes a memory and a processor, the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes so that the device executes the vehicle mass estimation method described in any embodiment of the present application.
[0240] The computer storage medium stores codes, and when the codes are executed, the device executing the codes implements the vehicle mass estimation method described in any embodiment of the present application.
[0241] The "first" and "second" in the names such as "first" and "second" (if any) mentioned in the embodiments of the present application are only used as name identifiers and do not represent the first or second in order.
[0242] Through the description of the above implementation methods, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0243] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.
[0244] The above description is merely an exemplary embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. A method for estimating vehicle mass, characterized in that: include: Acquiring operating parameters of the vehicle, the operating parameters including speed, driving torque, driving resistance torque, slope, final reducer transmission ratio, transmission efficiency and transmission ratio; determining a first acceleration of the vehicle based on the speed; determining an estimated mass of the vehicle based on the first acceleration and the operating parameter; Performing arbitration verification on the estimated mass, the arbitration verification including torque matching verification, acceleration matching verification and gear shift matching verification; If the arbitration verification passes, the estimated mass is output as the mass of the vehicle.
2. The method according to claim 1, characterized in that The performing arbitration verification on the estimated quality comprises: Performing torque matching verification according to the tracking error, if the tracking error is less than or equal to a first preset value, the torque matching verification is passed; Calculating a second acceleration according to the estimated mass, and if a difference between the first acceleration and the second acceleration is less than or equal to a second preset value, the acceleration matching verification is passed; A gear shift matching verification is performed based on the driving resistance, the first acceleration and the estimated mass. If the difference between the driving resistance and the product of the first acceleration and the estimated mass is less than or equal to a third preset value, the gear shift matching verification is passed; the driving resistance includes air resistance, rolling resistance, and slope resistance.
3. The method according to claim 1, characterized in that Determining a first acceleration of the vehicle according to the speed includes: The first acceleration is obtained by differential velocity: Among them, a x is the first acceleration, is the speed of the vehicle at time k, is the speed of the vehicle at time k-1.
4. The method according to claim 1, characterized in that The determining an estimated mass of the vehicle based on the first acceleration and the operating parameter comprises: Determine the driving force based on the driving torque, the driving resistance torque, the final drive ratio, the transmission efficiency and the transmission ratio: Among them, F tq is the driving force, T t is the driving torque, T f is the driving resistance torque, i0 is the transmission ratio of the main reducer, η T is the transmission efficiency, i g is the transmission ratio of the transmission; Determine the air resistance based on the speed: Among them, F w is the air resistance, v x is the speed, C D is the air resistance coefficient, A is the windward area; Determine the rolling resistance of the vehicle: FG = Gf; Among them, F G is the rolling resistance, G is the gravity on the vehicle, and f is the rolling resistance coefficient; Determine the slope resistance based on the slope: F r =G sinα; Among them, F r is the slope resistance, G is the gravity on the vehicle, and α is the slope; determining an estimated mass of the vehicle based on a recursive least squares model; The recursive least squares model is: F tq =F G +F w +F r +in+e k ω; Where m is the estimated mass, e k is the tracking error at the current moment, and ω is the interference adaptation term.
5. The method according to claim 4, characterized in that The determining the estimated mass of the vehicle based on a recursive least squares model includes: The partial derivative of the estimated mass with respect to the driving force is determined, and the tracking error is calculated: in, is the partial derivative, T represents the transpose, is the estimated mass at the previous moment, e k-1 is the tracking error at the previous moment, is the estimated mass at the current moment, y k is the driving force at the current moment minus the air resistance, y k =[F tq -T w ]; Determine the gain coefficient of the recursive least squares model: Among them, K k is the gain coefficient at the current moment, P k-1 is the error covariance matrix of the previous moment; Determine the error covariance matrix: Among them, P k is the error covariance matrix at the current moment; Use the estimated mass at the previous moment to correct the estimated mass at the current moment:
6. The method according to claim 5, characterized in that The method further comprises: The gain coefficient of the recursive least squares model is modified according to the first acceleration and the driving force:
7. The method according to any one of claims 1 to 6, characterized in that: After obtaining the operating parameters of the vehicle, the method further includes: The operating parameters are preprocessed, and the preprocessing includes unit conversion, limit filtering, rate of change filtering and low-pass filtering.
8. A vehicle mass estimation device, characterized in that: include: An acquisition module, used for acquiring operating parameters of the vehicle, wherein the operating parameters include speed, driving torque, driving resistance torque, slope, final reducer transmission ratio, transmission efficiency and transmission ratio of the transmission; A first determination module, configured to determine a first acceleration of the vehicle according to the speed; a second determination module configured to determine an estimated mass of the vehicle based on the first acceleration and the operating parameter; A verification module, configured to perform arbitration verification on the estimated mass, wherein the arbitration verification includes torque matching verification, acceleration matching verification and gear shift matching verification; An output module is configured to output the estimated mass as the mass of the vehicle if the arbitration verification passes.
9. A computer device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the vehicle mass estimation method according to any one of claims 1 to 7 is implemented.
10. A computer storage medium, characterized in that: The computer storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device executes the vehicle mass estimation method as described in any one of claims 1-7.
