Whole vehicle mass estimation method and system, vehicle and storage medium

Through the double extended Kalman filter algorithm and longitudinal dynamics model, the accuracy problem of vehicle mass estimation under rapid acceleration or deceleration conditions is solved, and high-precision and high-real-time vehicle mass estimation is achieved, adapting to diversified driving. conditions to ensure the stability and reliability of the algorithm.

CN118701078APending Publication Date: 2024-09-27辰致汽车科技集团有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410983104.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing vehicle mass estimation technology estimates are too large under rapid acceleration or deceleration conditions, affecting accuracy, and the real-time performance of neural networks in embedded systems is difficult to guarantee. Traditional methods have limited scope of application under diverse driving conditions and are difficult to satisfy. Immediacy and reliability requirements.

Method used

Design a double extended Kalman filter algorithm to establish a longitudinal dynamics model through vehicle speed, mass, slope, and acceleration. EKF1 and EKF2 are used for mass estimation. Different initial state values ​​are set to quickly stabilize, reduce the impact of noise, and eliminate braking conditions. Quality estimation to ensure algorithm adaptability.

Benefits of technology

It achieves an accurate estimation of the vehicle mass with an accuracy of 1%, improves the real-time and stability of the estimation, can quickly converge to a stable value, adapts to diverse driving conditions, and ensures the continuity and reliability of the algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118701078A
    Figure CN118701078A
Patent Text Reader

Abstract

The invention relates to a whole vehicle mass estimation method and system, a vehicle and a storage medium. The method comprises the following steps that 1, whole vehicle parameters are obtained; step 2, establishing a vehicle longitudinal dynamic model according to the whole vehicle parameters; step 3, constructing an extended Kalman filter EKF1 and an extended Kalman filter EKF2 according to the vehicle longitudinal dynamics model; 4, estimating the quality of the whole vehicle according to the parameters of the whole vehicle, the extended Kalman filter EKF1 and the extended Kalman filter EKF2, and judging that the quality estimation of the whole vehicle is stable when the difference between the posteriori estimation values of the quality of the whole vehicle of the extended Kalman filter EKF1 and the extended Kalman filter EKF2 is smaller than a preset threshold value; and step 5, after the quality estimation value is stable, reducing the corresponding quality noise values in the process noise matrixes of the extended Kalman filter EKF1 and the extended Kalman filter EKF2. According to the invention, the mass of the whole vehicle can be accurately estimated, and the estimation precision of the mass of the whole vehicle can reach 1%.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle mass estimation method, system, vehicle and storage medium. Background Art

[0002] For example, patent document CN114750769A discloses a joint estimation method and system for vehicle mass and road slope, which realizes dynamic estimation of key parameters by constructing a physical model including vehicle mass, road slope and longitudinal acceleration. However, its limitation is that it ignores the important role of rotational inertia in the vehicle acceleration process, which may lead to an overestimation of the estimated vehicle mass under rapid acceleration or deceleration conditions, affecting the estimation accuracy. In addition, relying solely on longitudinal vehicle speed as an observation also limits the system's ability to obtain information, which may affect the stability and response speed of the estimation.

[0003] Another example is the vehicle mass online estimation method based on fuzzy logic and weighted least squares disclosed in patent document CN115743146A. This method uses fuzzy logic to process the influence of slope on acceleration and attempts to improve the accuracy of estimation. However, despite taking slope correction into account, this method is still insufficient in processing the specific influence of slope on the actual collected acceleration signal, which may lead to inaccurate estimation results under complex and changeable road conditions.

[0004] Another example is a vehicle mass estimation method based on an adaptive extended Kalman filter disclosed in patent document CN115271040A. This method optimizes the performance of the Kalman filter through the self-learning ability of the neural network, thereby improving the estimation accuracy of the vehicle mass. However, the challenge lies in the difficulty of implementing neural networks in embedded control systems, especially in a resource-constrained environment. How to ensure the real-time and high efficiency of the algorithm has become a major problem.

[0005] In summary, the current estimation techniques for vehicle mass mainly include: least squares method, Kalman filter and its improved version, and neural network model. However, all of the above methods have shortcomings. First, although the neural network model has a strong data fitting ability, it is difficult to directly apply it in automotive embedded systems with strict real-time requirements due to its high computational complexity, and there is no need to introduce high-cost high-performance computing units for this purpose. This limits the direct application of neural networks in real-time estimation of vehicle mass. Secondly, considering the complex nonlinear characteristics and multi-parameter influence of the longitudinal dynamics of the vehicle, the traditional recursive least squares method can provide a relatively accurate estimation under specific working conditions (such as known road slope), but its scope of application is relatively limited and it is difficult to meet the needs of diversified driving conditions. As for the extended Kalman filter, it linearizes the nonlinear system through Taylor series expansion, thereby realizing the approximate processing of the longitudinal dynamics model. However, this method mainly relies on the observation of a single variable (such as longitudinal vehicle speed), and when the true mass of the vehicle is unknown, it may take a long time to reach a stable and accurate mass estimation value. This affects the immediacy and reliability of the estimation to a certain extent.

[0006] Therefore, it is necessary to develop a new vehicle mass estimation method, system, vehicle and storage medium. Summary of the invention

[0007] The object of the present invention is to provide a vehicle mass estimation method, system, vehicle and storage medium, which can accurately estimate the vehicle mass, and the estimation accuracy of the vehicle mass can reach 1%.

[0008] In a first aspect, a vehicle mass estimation method according to the present invention comprises the following steps:

[0009] Step 1. Obtaining vehicle parameters, wherein the vehicle parameters include multiple ones of power source output torque, vehicle center of mass longitudinal speed, vehicle longitudinal acceleration, accelerator pedal signal, brake pedal signal, steering wheel angle signal, lateral acceleration signal and yaw rate signal;

[0010] Step 2. Establishing a vehicle longitudinal dynamics model according to the vehicle parameters;

[0011] Step 3. construct an extended Kalman filter EKF1 and an extended Kalman filter EKF2 according to the vehicle longitudinal dynamics model, wherein the extended Kalman filter EKF1 and the extended Kalman filter EKF2 have the same values ​​for other model parameters except that the initial mass setting in the state parameter is different;

[0012] Step 4. Estimate the vehicle mass according to the vehicle parameters obtained in step 1 and the extended Kalman filter EKF1 and the extended Kalman filter EKF2 constructed in step 3. When the difference between the posterior estimated values ​​of the vehicle mass of the extended Kalman filter EKF1 and the extended Kalman filter EKF2 is less than a preset threshold, it is determined that the vehicle mass estimation is stable.

[0013] Step 5. When the quality estimation value is stable, reduce the corresponding quality noise value in the process noise matrix of the extended Kalman filter EKF1 and the extended Kalman filter EKF2 to reduce the noise impact of the observation and further improve the accuracy and stability of the quality estimation.

[0014] Optionally, the initial state value of the extended Kalman filter EKF1 is set to:

[0015]

[0016] Among them, χ0 is the initial state value of the extended Kalman filter EKF1, m max The fully laden mass designed for the vehicle;

[0017] The initial state value of the extended Kalman filter EKF2 is set to:

[0018]

[0019] Among them, χ ’ 0 is the initial state value of the extended Kalman filter EKF2, m min The present invention sets different initial values ​​for the mass state parameters in the double extended Kalman at the beginning of the algorithm, wherein the mass state parameter of one extended Kalman is defined as the fully loaded mass of the vehicle, and the mass state parameter of the other extended Kalman is defined as the unloaded mass of the vehicle, and the characteristic that the mass of the whole vehicle remains unchanged in a driving cycle is cleverly utilized to conveniently and stably determine whether the mass estimation reaches a stable state.

[0020] Optionally, when it is detected that the brake pedal is depressed, and the steering wheel angle is large or the yaw angular velocity is too large or the lateral acceleration of the vehicle is too large, the extended Kalman filter algorithm is suspended. In the present invention, only the mass estimation under the braking condition is eliminated to maintain the previous state (because the braking force is difficult to obtain accurately), but the road slope estimation is not affected, ensuring that the algorithm can adapt to more conditions and ensure the continuity of the algorithm.

[0021] Optionally, when the absolute value of the difference estimated by the extended Kalman filter EKF1 and the extended Kalman filter EKF2 is less than 20 kg and lasts for a preset time, it is considered that the extended Kalman filter EKF1 and the extended Kalman filter EKF2 have converged to the vicinity of the true value.

[0022] Optionally, the step 2 is specifically:

[0023] The vehicle longitudinal dynamics model is established according to the power source output torque, the longitudinal speed of the vehicle center of mass and the longitudinal acceleration. The specific expression is:

[0024]

[0025] Where, T tq is the power source output torque, F t is the wheel end driving force, i g is the transmission ratio, i o is the final drive ratio, η T is the mechanical efficiency of the transmission chain, r is the wheel rolling radius, C D is the air resistance coefficient, ρ is the air density, A is the frontal area, u x is the longitudinal velocity of the vehicle center of mass, m is the vehicle mass, m J is the equivalent mass of the rotational inertia of the power source rotating parts, the transmission system rotating parts and the tires, g is the acceleration of gravity, θ is the road slope, f is the rolling resistance coefficient, and a x is the absolute longitudinal acceleration of the vehicle.

[0026] Optionally, the step 3 is specifically:

[0027] According to the vehicle longitudinal dynamics model, a state equation is established, and the state equation is as follows:

[0028]

[0029] in, is u x The first derivative of ; is the first-order derivative of Acc, where Acc is the product of the road slope gsin(θ) and the vehicle’s absolute longitudinal acceleration a x The synthetic acceleration signal of is the first-order derivative of m, is the first derivative of θ;

[0030] Assume that the state variable at time k is χ k , then:

[0031]

[0032] The state equation is discretized using the forward Euler method to obtain the discretized difference equation

[0033]

[0034] Then the extended Kalman system state equation is obtained as:

[0035] χk =f(χ k-1 )+Q k-1 (5)

[0036] in, is the longitudinal velocity of the vehicle’s center of mass at time k, m k is the mass of the vehicle at time k, θ k is the road slope at time k, Acc k is the composite acceleration signal of the road slope and the longitudinal absolute acceleration at time k, ΔT is the sampling period during system calculation, is the longitudinal velocity of the vehicle's center of mass at time k-1, α k-1 is the longitudinal acceleration of the vehicle at time k-1, m k-1 is the mass of the vehicle at time k-1, θ k-1 is the road slope at time k-1;

[0037] Introducing measurement noise, the system measurement equation is obtained as follows:

[0038]

[0039] Among them, Z k is the measured value, Q k-1 is the process noise matrix, R k is the measurement noise matrix, Q k-1 and R k are independent Gaussian white noises with a mean of 0;

[0040] According to equations (5) and (6), the state space expression of the system is obtained, which is:

[0041]

[0042] Where H is the measurement matrix.

[0043] In a second aspect, a vehicle mass estimation system described in the present invention includes a memory and a controller, wherein the memory stores a computer-readable program, and when the computer-readable program is called by the controller, it can execute the steps of the vehicle mass estimation method described in the present invention.

[0044] In a third aspect, a vehicle described in the present invention adopts the vehicle mass estimation system described in the present invention.

[0045] In a fourth aspect, a storage medium according to the present invention stores a computer-readable program therein, and when the computer-readable program is called, the steps of the vehicle mass estimation method according to the present invention can be executed.

[0046] Beneficial effects of the present invention:

[0047] 1. The present invention designs a double extended Kalman filter algorithm, establishes a longitudinal dynamic model with vehicle speed, mass, slope, and acceleration as states, and considers the influence of the rotational inertia of the transmission system on the acceleration performance. The longitudinal vehicle speed, longitudinal acceleration and other collected signals are used as observation quantities to accurately estimate the vehicle mass, road slope, and vehicle absolute acceleration, vehicle speed and other information, wherein the vehicle mass estimation accuracy can reach 1%.

[0048] 2. The present invention sets different initial values ​​for the mass state parameters in the double extended Kalman at the beginning of the algorithm, wherein the mass state parameter of one extended Kalman is defined as the fully loaded mass of the vehicle, and the mass state parameter of the other extended Kalman is defined as the unloaded mass of the vehicle, ingeniously utilizing the characteristic that the mass of the entire vehicle remains unchanged in a driving cycle, so as to conveniently and stably determine whether the mass estimation has reached a stable state.

[0049] 3. The present invention uses EKF1 and EKF2 to estimate the vehicle mass. When the difference between the posterior estimation values ​​of the two filters is less than a preset threshold, the vehicle mass estimation is judged to be stable. This dual filter design can effectively avoid the estimation deviation of a single filter due to improper initial value setting or noise interference. When the mass estimation value is stable, the corresponding mass noise value in EKF1 and EKF2 is reduced to reduce the influence of the noise of the observed quantity on the estimation result. This step can further improve the accuracy and stability of mass estimation.

[0050] 4. In the present invention, only the mass estimation under braking condition is eliminated to maintain the previous state (because the braking force is difficult to obtain accurately), but the road slope estimation is not affected, which ensures that the algorithm can adapt to more conditions and ensures the continuity of the algorithm.

[0051] 5. The present invention can quickly converge to a stable value, improve the real-time performance of the estimation, and can achieve rapid convergence to a stable value within about 100 seconds.

[0052] 6. The present invention has the advantage of high estimation accuracy because the vehicle speed signal and acceleration signal are used in the observation matrix. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 is a flow chart of an embodiment of the present application;

[0054] Figure 2 is a schematic diagram of estimating the mass of a vehicle in an embodiment of the present application;

[0055] Figure 3 It is a principle block diagram of the system in the embodiment of the present application. DETAILED DESCRIPTION

[0056] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0057] like Figure 1 As shown, in an embodiment of the present application, a vehicle mass estimation method is applicable to online real-time calculation of a real vehicle, and the method comprises the following steps:

[0058] Step 1. Obtain vehicle parameters, including multiple parameters of power source output torque, vehicle center of mass longitudinal speed, vehicle longitudinal acceleration, accelerator pedal signal, brake pedal signal, steering wheel angle signal, lateral acceleration signal and yaw rate signal. This step is the process of data collection, including multiple parameters such as power source output torque, vehicle center of mass longitudinal speed, longitudinal acceleration, accelerator pedal signal, brake pedal signal, steering wheel angle signal, lateral acceleration signal and yaw rate signal. These parameters provide basic data for subsequent vehicle dynamics modeling and mass estimation.

[0059] Step 2. Establish a vehicle longitudinal dynamics model based on the vehicle parameters. This vehicle longitudinal dynamics model is used to describe the physical relationship of the vehicle during longitudinal motion and is the basis for subsequent extended Kalman filter design and mass estimation.

[0060] Step 3. Construct an extended Kalman filter EKF1 and an extended Kalman filter EKF2 according to the vehicle longitudinal dynamics model, wherein the extended Kalman filter EKF1 and the extended Kalman filter EKF2 have the same model parameters except for the initial mass setting in the state parameters. Design two extended Kalman filters (EKF1 and EKF2), whose state parameters have different initial mass settings (one is set to the full load mass m max , and the other is set to the unloaded mass m min ), all other model parameters are the same. This design allows the algorithm to search a wide range of quality states at the beginning, thus finding a stable quality estimate more quickly.

[0061] Step 4. Estimate the vehicle mass based on the vehicle parameters obtained in step 1 and the extended Kalman filter EKF1 and extended Kalman filter EKF2 constructed in step 3. When the difference between the posterior estimates of the vehicle mass of the extended Kalman filter EKF1 and the extended Kalman filter EKF2 is less than the preset threshold, it is judged that the vehicle mass estimate is stable. Use EKF1 and EKF2 to estimate the vehicle mass. When the difference between the posterior estimates of the two extended Kalman filters is less than the preset threshold (such as 20kg), it is judged that the vehicle mass estimate is stable. This dual extended Kalman filter design can effectively avoid the estimation deviation of a single filter that may be caused by improper initial value setting or noise interference.

[0062] Step 5. When the quality estimation value is stable, reduce the corresponding quality noise value in the process noise matrix of the extended Kalman filter EKF1 and the extended Kalman filter EKF2 to reduce the influence of the observed noise on the estimation result. This step can further improve the accuracy and stability of the quality estimation.

[0063] The vehicle mass estimation method of the present invention realizes accurate and stable estimation of the vehicle mass through the design of a double extended Kalman filter, reasonable initial value setting and noise adjustment strategy.

[0064] In a possible embodiment, the step 2 is specifically as follows:

[0065] The vehicle longitudinal dynamics model is established according to the power source output torque, the longitudinal speed of the vehicle center of mass and the longitudinal acceleration. The specific expression is:

[0066]

[0067] Where, T tq is the power source output torque, F t is the wheel end driving force, i g is the transmission ratio, i o is the final drive ratio, η T is the mechanical efficiency of the transmission chain, r is the wheel rolling radius, C D is the air resistance coefficient, ρ is the air density, A is the frontal area, u x is the longitudinal velocity of the vehicle center of mass, m is the vehicle mass, m J is the equivalent mass of the rotational inertia of the power source rotating parts, the transmission system rotating parts and the tires, g is the acceleration of gravity, θ is the road slope, f is the rolling resistance coefficient, and a x is the absolute longitudinal acceleration of the vehicle.

[0068] In a possible embodiment, step 3 is specifically as follows:

[0069] According to the vehicle longitudinal dynamics model, the state equation is established, and the state equation is as follows:

[0070]

[0071] in, is u x The first derivative of ; is the first-order derivative of Acc, where Acc is the product of the road slope gsin(θ) and the vehicle’s absolute longitudinal acceleration a x The synthetic acceleration signal of is the first-order derivative of m, is the first derivative of θ;

[0072] Assume that the state variable at time k is χ k , then:

[0073]

[0074] in, is the longitudinal velocity of the vehicle’s center of mass at time k, m k is the mass of the vehicle at time k, θ k is the road slope at time k, Acc k It is the composite acceleration signal of the road slope and the longitudinal absolute acceleration at time k.

[0075] From formula (3), it can be seen that in addition to estimating the vehicle mass, this method can also simultaneously estimate other state variables, such as road slope, vehicle speed, and longitudinal absolute acceleration. This multi-state joint estimation can provide more comprehensive vehicle state information and provide a more reliable basis for vehicle control and decision-making.

[0076] The state equation is discretized using the forward Euler method to obtain the discretized difference equation:

[0077]

[0078] Where ΔT is the sampling period of the system calculation, is the longitudinal velocity of the vehicle's center of mass at time k-1, α k-1 is the longitudinal acceleration of the vehicle at time k-1, m k-1 is the mass of the vehicle at time k-1, θ k-1 is the road slope at time k-1;

[0079] Then the extended Kalman system state equation is obtained as:

[0080] χ k =f(χ k-1 )+Q k-1 (5)

[0081] Introducing measurement noise, the system measurement equation is obtained as follows:

[0082]

[0083] Among them, Z k is the measured value, Q k-1 is the process noise matrix (including the noise values ​​of vehicle speed, mass, slope, and acceleration), R k is the measurement noise matrix, Q k-1 and R k are independent Gaussian white noises with a mean of 0;

[0084] According to equations (5) and (6), the state space expression of the system is obtained, which is:

[0085]

[0086] Where H is the measurement matrix.

[0087] The Jacobian matrix obtained by taking partial derivatives of the vector function f of the discretized difference equation (4) with respect to the state variables is:

[0088]

[0089] Among them, J f It represents the Jacobian matrix obtained by taking the first-order partial derivative of the driving equation with respect to the state quantity.

[0090] According to equations (4) to (8), the prediction equation and update equation of the extended Kalman filter are obtained.

[0091] The prediction equation is:

[0092]

[0093] In the formula, is the optimal estimate of the state quantity at the previous moment, P k-1 is the error covariance matrix at the previous moment, is the prior estimate of the state quantity, is the matrix of prior estimates of the error covariance matrix.

[0094] The update equation is:

[0095]

[0096] In the formula, K k is the Kalman gain, P is the posterior estimate of the state quantity. k represents the posterior estimate matrix of the covariance of the error, and I represents the identity matrix.

[0097] In a possible embodiment, the initial state value of the extended Kalman filter EKF1 is set to:

[0098]

[0099] Among them, χ0 is the initial state value of the extended Kalman filter EKF1, m max The fully laden mass designed for the vehicle.

[0100] The initial state value of the extended Kalman filter EKF2 is set to:

[0101]

[0102] Among them, χ ’ 0 is the initial state value of the extended Kalman filter EKF2, m min The present invention sets different initial values ​​for the mass state parameters in the double extended Kalman at the beginning of the algorithm, wherein the mass state parameter of one extended Kalman is defined as the fully loaded mass of the vehicle, and the mass state parameter of the other extended Kalman is defined as the unloaded mass of the vehicle, and the characteristic that the mass of the whole vehicle remains unchanged in a driving cycle is cleverly utilized to conveniently and stably determine whether the mass estimation reaches a stable state.

[0103] like Figure 2 The figure shows a schematic diagram of the vehicle mass estimated by using the vehicle mass estimation method.

[0104] Accurate estimation of vehicle mass and road slope plays a vital role in drive control. It can not only significantly improve the stability of the vehicle when starting on a slope and effectively prevent the phenomenon of rolling down the slope, but also dynamically adjust the energy recovery strategy of pure electric vehicles according to the real-time changes in vehicle mass (taking into account the possible differences in each driving cycle) and slope conditions, thereby maximizing the driving range. In the field of braking control, this estimation capability helps to enhance braking efficiency and improve safety under emergency braking. Furthermore, in intelligent driving or cruise control systems, accurate vehicle mass and slope information can optimize the accuracy of vehicle speed control and make driving smoother. For distributed drive systems, accurate estimation of each wheel load and slope changes can significantly improve the control accuracy of each wheel drive / braking torque, thereby enhancing the effectiveness of body stability control and providing passengers with a safer and more comfortable driving experience.

[0105] In a possible embodiment, when it is detected that the brake pedal is depressed, and the steering wheel angle is large or the yaw angular velocity is too large or the lateral acceleration of the vehicle is too large, the extended Kalman filter algorithm is suspended. Under braking conditions, since the braking force is difficult to obtain accurately, this method strategically eliminates the real-time estimation of mass and maintains the mass estimation value of the previous state to ensure the stability of the algorithm. This process does not affect the estimation of the road slope, ensuring that the algorithm can adapt to more conditions, while ensuring the stability and reliability of the algorithm in continuous operation.

[0106] In a possible embodiment, as the vehicle is running, when the absolute value of the difference between the estimated values ​​of the extended Kalman filter EKF1 and the extended Kalman filter EKF2 is less than 20kg and lasts for a preset time, it is considered that the extended Kalman filter EKF1 and the extended Kalman filter EKF2 have converged to the vicinity of the true value. In the embodiment of the present application, a double extended Kalman filter is designed, and different initial values ​​are set. The estimated difference between the double extended Kalman filters is used to judge the stability. Compared with other methods, this method can judge the true value more quickly, simply and stably.

[0107] like Figure 3 As shown, in an embodiment of the present application, a vehicle mass estimation system includes a memory and a controller, wherein the memory stores a computer-readable program, and when the computer-readable program is called by the controller, it can execute the steps of the vehicle mass estimation method described in the embodiment of the present application.

[0108] In an embodiment of the present application, a vehicle adopts the vehicle mass estimation system as described in the embodiment of the present application.

[0109] In an embodiment of the present application, a storage medium stores a computer-readable program, and when the computer-readable program is called, it can execute the steps of the vehicle mass estimation method as described in the embodiment of the present application.

[0110] In an embodiment of the present application, the storage medium may be a tangible storage medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. The storage medium may be a machine-readable signal medium or a machine-readable storage medium. The storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0111] The above-mentioned embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above-mentioned embodiments. Any other changes, modifications, substitutions, combinations and simplifications made without departing from the spirit and principle of the present invention shall be equivalent replacement modes and shall be included in the protection scope of the present invention.

Claims

1. A vehicle mass estimation method, characterized in that: The following steps are involved: Step 1. Obtaining vehicle parameters, wherein the vehicle parameters include multiple ones of power source output torque, vehicle center of mass longitudinal speed, vehicle longitudinal acceleration, accelerator pedal signal, brake pedal signal, steering wheel angle signal, lateral acceleration signal and yaw rate signal; Step 2. Establishing a vehicle longitudinal dynamics model according to the vehicle parameters; Step 3. construct an extended Kalman filter EKF1 and an extended Kalman filter EKF2 according to the vehicle longitudinal dynamics model, wherein the extended Kalman filter EKF1 and the extended Kalman filter EKF2 have the same values ​​for other model parameters except that the initial mass setting in the state parameter is different; Step 4. Estimate the vehicle mass according to the vehicle parameters obtained in step 1 and the extended Kalman filter EKF1 and the extended Kalman filter EKF2 constructed in step 3. When the difference between the posterior estimated values ​​of the vehicle mass of the extended Kalman filter EKF1 and the extended Kalman filter EKF2 is less than a preset threshold, it is determined that the vehicle mass estimation is stable. Step 5. When the quality estimation value is stable, reduce the corresponding quality noise value in the process noise matrix of the extended Kalman filter EKF1 and the extended Kalman filter EKF2.

2. The vehicle mass estimation method according to claim 1, characterized in that: The initial state value of the extended Kalman filter EKF1 is set to: Among them, χ0 is the initial state value of the extended Kalman filter EKF1, m max The fully laden mass designed for the vehicle; The initial state value of the extended Kalman filter EKF2 is set to: Among them, χ'0 is the initial state value of the extended Kalman filter EKF2, m min The unladen mass designed for the vehicle.

3. The vehicle mass estimation method according to claim 1, characterized in that: When it is detected that the brake pedal is pressed, and the steering wheel angle is large, the yaw rate is too large, or the lateral acceleration of the vehicle is too large, the extended Kalman filter algorithm is suspended.

4. The vehicle mass estimation method according to claim 1, characterized in that: When the absolute value of the difference estimated by the extended Kalman filter EKF1 and the extended Kalman filter EKF2 is less than 20 kg and lasts for a preset time, it is considered that the extended Kalman filter EKF1 and the extended Kalman filter EKF2 have converged to the vicinity of the true value.

5. The vehicle mass estimation method according to claim 1, characterized in that: The step 2 is specifically as follows: The vehicle longitudinal dynamics model is established according to the power source output torque, the longitudinal speed of the vehicle center of mass and the longitudinal acceleration. The specific expression is: Where Ttq is the output torque of the power source, Ft is the wheel end driving force, ig is the transmission ratio, io is the main reducer ratio, η T is the mechanical efficiency of the transmission chain, r is the wheel rolling radius, C D is the air resistance coefficient, ρ is the air density, A is the frontal area, ux is the longitudinal velocity of the vehicle's center of mass, m is the vehicle's mass, m J is the equivalent mass of the rotational inertia of the power source rotating parts, the transmission system rotating parts and the tires, g is the acceleration of gravity, θ is the road slope, f is the rolling resistance coefficient, and a x is the absolute longitudinal acceleration of the vehicle.

6. The vehicle mass estimation method according to claim 5, characterized in that: The step 3 is specifically as follows: According to the vehicle longitudinal dynamics model, a state equation is established, and the state equation is as follows: in, is the first derivative of ux; is the first-order derivative of Acc, where Acc is the resultant acceleration signal of the road slope gsin(θ) and the vehicle longitudinal absolute acceleration ax; is the first-order derivative of m, is the first derivative of θ; Assume that the state variable at time k is χk, then: The state equation is discretized using the forward Euler method to obtain the discretized difference equation Then the extended Kalman system state equation is obtained as: Xk=f(Xk-1)+Qk-1(5) in, is the longitudinal velocity of the vehicle center of mass at time k, mk is the vehicle mass at time k, θk is the road slope at time k, Acc k is the composite acceleration signal of the road slope and the longitudinal absolute acceleration at time k, ΔT is the sampling period during system calculation, is the longitudinal velocity of the vehicle center of mass at time k-1, αk-1 is the longitudinal acceleration of the vehicle at time k-1, mk-1 is the vehicle mass at time k-1, θk -1 is the road slope at time k-1; Introducing measurement noise, the system measurement equation is obtained as follows: Among them, Z k is the measured value, Q k-1 is the process noise matrix, R k is the measurement noise matrix, Q k-1 and R k are independent Gaussian white noises with a mean of 0; According to equations (5) and (6), the state space expression of the system is obtained, which is: Where H is the measurement matrix.

7. A vehicle mass estimation system, characterized in that: It comprises a memory and a controller, wherein the memory stores a computer-readable program, and when the computer-readable program is called by the controller, it can execute the steps of the vehicle mass estimation method as claimed in any one of claims 1 to 6.

8. A vehicle, characterized in that: The vehicle mass estimation system as claimed in claim 7 is adopted.

9. A storage medium, characterized in that: A computer-readable program is stored therein, and when the computer-readable program is called, the steps of the vehicle mass estimation method as described in any one of claims 1 to 6 can be executed.