Vehicle mass estimation method and device, vehicle, and computer-readable storage medium
By constructing dynamic equations and low-pass filtering, a vehicle mass estimation model is established, which solves the problems of high cost and complexity of vehicle quality monitoring in traditional methods, achieves accurate and stable estimation of vehicle mass, and improves robustness.
Patent Information
- Application Number
- CN202410704433.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-05-31
AI Technical Summary
Traditional vehicle quality monitoring methods rely on sensors, which results in increased system costs, complicated hardware structures, and limited measurement range.
By constructing the dynamic equation of the speed change rate, using low-pass filtering to construct the state equation of the intermediate vector, a vehicle mass estimation model is established, and the vehicle mass is indirectly estimated based on the driving force and speed information.
It achieves accurate and stable estimation of vehicle mass, reduces system cost, avoids hardware complexity, and improves the robustness and accuracy of the estimation method.
Smart Images

Figure CN118289012B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular to a vehicle mass estimation method and device, a vehicle, and a computer-readable storage medium. Background Art
[0002] With the emergence of intelligent driving or assisted intelligent driving technology, if the real-time quality of a vehicle can be known, relatively precise control of the vehicle can be carried out to achieve stable operation of the vehicle and improve the economy of vehicle operation.
[0003] In traditional vehicle control, gravity sensors are usually installed to monitor vehicle mass. However, the use of sensors will increase the cost of the entire vehicle system and complicate the hardware structure, which greatly restricts the reduction of vehicle costs. Summary of the invention
[0004] The present disclosure provides a vehicle mass estimation method and device, a vehicle, and a computer-readable storage medium.
[0005] According to one aspect of the present disclosure, a vehicle mass estimation method is provided, including: constructing a dynamic equation of the speed change rate using the vehicle's driving force, speed change rate and mass, wherein the dynamic equation includes an estimation vector related to the mass; constructing a state equation of an intermediate vector using low-pass filtering according to the dynamic equation, wherein the intermediate vector is the output of the low-pass filtering; constructing a vehicle mass estimation model using the intermediate vector and the state equation of the intermediate vector; and estimating the mass of the vehicle to be estimated based on the driving force and speed information of the vehicle to be estimated using the mass estimation model.
[0006] In some embodiments, constructing a dynamic equation of the speed change rate using the vehicle's driving force, speed change rate and mass includes: constructing a longitudinal dynamic model of the vehicle using the relationship between the vehicle's driving force, rolling resistance, air resistance, speed change rate and mass; expressing the speed change rate in the longitudinal dynamic model as a form of multiplication of the estimated vector with other vectors to determine the dynamic equation of the speed change rate, wherein the other vectors include information on the vehicle's driving force, air resistance and rolling resistance.
[0007] In some embodiments, constructing a dynamic equation of the speed change rate using the vehicle's driving force, speed change rate, and mass includes: constructing a longitudinal dynamic model of the vehicle using the relationship between the vehicle's driving force, rolling resistance, air resistance, gravity, speed change rate, and mass; expressing the speed change rate in the longitudinal dynamic model as a form of multiplication of the estimated vector with other vectors to determine the dynamic equation of the speed change rate, wherein the other vectors include information on the vehicle's driving force, air resistance, rolling resistance, and gravity.
[0008] In some embodiments, the intermediate vector includes a first intermediate vector and a second intermediate vector. According to the dynamic equation, a state equation of the intermediate vector is constructed using low-pass filtering, including: linearizing the dynamic equation to determine a linear equation about the estimated vector; low-pass filtering related terms of the velocity change rate in the linear equation to determine the first intermediate vector; low-pass filtering the coefficients of the estimated vector in the linear equation to determine the second intermediate vector; determining the state equation of the first intermediate vector based on the first intermediate vector and the first low-pass filtering model; determining the state equation of the second intermediate vector based on the second intermediate vector and the second low-pass filtering model.
[0009] In some embodiments, the state equation of the intermediate vector includes a filter coefficient of the low-pass filtering process, and the filter coefficient represents the ratio of the difference between the input and output of the low-pass filtering at the current moment to the rate of change of the intermediate vector.
[0010] In some embodiments, based on the first intermediate vector and the first low-pass filter model, determining the state equation of the first intermediate vector includes: performing a Laplace transform on the related terms of the velocity change rate in the linear equation; using the Laplace transformed terms as the input of the first low-pass filter model; and performing an inverse Laplace transform on the output of the first low-pass filter model to determine the state equation of the first intermediate vector.
[0011] In some embodiments, based on the second intermediate vector and the second low-pass filtering model, the coefficients of the estimated vector in the linear equation are Laplace transformed; the Laplace transformed terms are used as inputs to the second low-pass filtering model; and the output of the second low-pass filtering model is inversely Laplace transformed to determine the state equation of the second intermediate vector.
[0012] In some embodiments, constructing a vehicle mass estimation model using the intermediate vector and the state equation of the intermediate vector includes: determining an asymptotic variable based on the estimated vector, the first intermediate vector, and the second intermediate vector, the asymptotic variable representing the difference between the estimated mass and the actual mass; determining the state equation of the estimated vector based on the relationship between the asymptotic variable and the estimated vector, and the state equation of the first intermediate vector and the second intermediate vector; constructing a vehicle mass estimation model based on the asymptotic variable and the state equation of the estimated vector.
[0013] In some embodiments, the asymptotic variable is positively correlated with the estimation vector and the second intermediate vector, and negatively correlated with the first intermediate vector.
[0014] In some embodiments, determining the asymptotic variable according to the estimated vector, the first intermediate vector, and the second intermediate vector includes: calculating the asymptotic variable according to the difference between the first intermediate vector and the product of the second intermediate vector and the estimated vector.
[0015] In some embodiments, the state equation of the estimation vector includes an asymptotic parameter, which characterizes the ratio between the expected rate of change of the asymptotic variable and the value of the asymptotic variable at a current moment, and the asymptotic parameter is configured to be adjusted according to the asymptotic speed of the model.
[0016] In some embodiments, using the mass estimation model, estimating the mass of the vehicle to be estimated according to the driving force and speed information of the vehicle to be estimated includes: i) calculating the values of the first intermediate vector and the second intermediate vector at the current moment according to the driving force and speed information of the vehicle to be estimated using the state equations of the first intermediate vector and the second intermediate vector; ii) calculating the value of the asymptotic variable at the current moment according to the values of the first intermediate vector, the second intermediate vector and the estimated vector at the current moment; iii) calculating the rate of change of the estimated vector at the current moment according to the values of the first intermediate vector, the second intermediate vector, the estimated vector and the asymptotic variable at the current moment using the state equation of the estimated vector; iv) calculating the amount of change of the estimated vector within a specified time interval according to the rate of change of the estimated vector at the current moment, and calculating the value of the estimated vector at the next moment according to the amount of change; v) repeating steps i)-iv) according to the value of the estimated vector at the next moment until a cutoff condition is met; vi) determining the mass of the vehicle to be estimated according to the value of the estimated vector when the cutoff condition is met.
[0017] In some embodiments, the cutoff condition includes at least one of the following: the asymptotic variable is less than a first threshold; the duration of the estimation process reaches a preset value; the number of iterations of the estimation vector reaches a second threshold.
[0018] In some embodiments, using the mass estimation model, estimating the mass of the vehicle to be estimated according to the driving force and speed information of the vehicle to be estimated includes: determining the driving force of the vehicle to be estimated according to the driving torque read by the first sensor; determining the speed information of the vehicle to be estimated according to the motor speed read by the second sensor.
[0019] According to another aspect of the present disclosure, there is provided a vehicle mass estimation device, comprising:
[0020] A first construction module, wherein the first construction module constructs a dynamic equation of the speed change rate using a driving force, a speed change rate and a mass of the vehicle, wherein the dynamic equation includes an estimation vector related to the mass;
[0021] A second construction module, wherein the second construction module constructs a state equation of an intermediate vector according to the dynamic equation by low-pass filtering, wherein the intermediate vector is an output of the low-pass filtering;
[0022] a third building module, wherein the third building module uses the intermediate vector and the state equation of the intermediate vector to build a mass estimation model of the vehicle;
[0023] An estimation module estimates the mass of the vehicle to be estimated according to the driving force and speed information of the vehicle to be estimated by using the mass estimation model.
[0024] According to another aspect of the present disclosure, there is provided a vehicle mass estimation device, comprising:
[0025] Memory; and
[0026] A processor coupled to the memory, the processor being used to execute the vehicle mass estimation method as described in the aforementioned technical solution based on instructions stored in the memory.
[0027] According to yet another aspect of the present disclosure, a vehicle is provided, comprising the vehicle mass estimation device described in the aforementioned technical solution.
[0028] According to another aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the vehicle mass estimation method as described in the aforementioned technical solution is implemented.
[0029] According to another aspect of the present disclosure, a computer program product is provided, wherein the computer program product stores computer instructions, and when the instructions are executed by a processor, the vehicle mass estimation method as described in the above technical solution is implemented.
[0030] The vehicle mass estimation method disclosed in the present invention combines the vehicle's dynamic equations to analyze and establish a vehicle mass estimation model, which can estimate a wide mass range with good accuracy and stability. At the same time, the vehicle mass estimation method disclosed in the present invention introduces a low-pass filtering link to enhance the robustness of the vehicle mass estimation method.
[0031] Other features and advantages of the present disclosure will become apparent from the following detailed description of embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0033] Figure 1 A flowchart of a vehicle mass estimation method according to some embodiments of the present disclosure is shown.
[0034] Figure 2 A flowchart for constructing a kinetic equation according to some embodiments of the present disclosure is shown.
[0035] Figure 3 A flowchart of constructing a state equation of an intermediate vector according to some embodiments of the present disclosure is shown.
[0036] Figure 4 A flowchart of building a quality estimation model according to some embodiments of the present disclosure is shown.
[0037] Figure 5 A flowchart of using a mass estimation model to estimate vehicle mass according to some embodiments of the present disclosure is shown.
[0038] Figure 6a A graph showing estimated quality in a quality estimation process of a quality estimation method according to some embodiments of the present disclosure is shown.
[0039] Figure 6b A graph showing mass error in a mass estimation process of a mass estimation method according to some embodiments of the present disclosure is shown.
[0040] Figure 7 A block diagram of a vehicle mass estimation device according to some embodiments of the present disclosure is shown.
[0041] Figure 8 A block diagram of a vehicle mass estimation device according to some other embodiments of the present disclosure is shown.
[0042] Fig. 9is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present disclosure and its application or use. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0044] In conventional vehicle control related technologies, the method of directly using sensors to measure vehicle mass has high manufacturing costs and structural manufacturing difficulties, and generally, the range of vehicle mass that can be directly measured by sensors is limited. In view of this, the embodiments of the present disclosure provide a vehicle mass estimation method that can indirectly measure vehicle mass, and the method has good stability and accuracy.
[0045] First combine Figure 1 Some embodiments of the method of vehicle mass estimation disclosed herein are described.
[0046] Figure 1 FIG. 1 is a flow chart showing a method for estimating vehicle mass according to some embodiments of the present disclosure. Figure 1 As shown, the vehicle mass estimation method includes: step S1, using the vehicle's driving force, speed change rate and mass to construct a dynamic equation of the speed change rate, wherein the dynamic equation includes an estimation vector related to the mass; step S2, based on the dynamic equation, using low-pass filtering processing, constructing a state equation of an intermediate vector, wherein the intermediate vector is the output of the low-pass filtering processing; step S3, using the intermediate vector and the state equation of the intermediate vector to construct a vehicle mass estimation model; step S4, using the mass estimation model, according to the driving force and speed information of the vehicle to be estimated, to estimate the mass of the vehicle to be estimated.
[0047] In step S1, a force analysis is performed on the vehicle to determine the relationship between the forces acting on the vehicle, including the force analysis in the direction of the vehicle's driving force. The relationship between the above forces and the rate of change of the vehicle's speed and mass is determined using relevant dynamic laws (such as Newton's second law), where the above forces include the vehicle's driving force. The mass is replaced by an estimated vector, and the expression of the estimated vector is:
[0048] .
[0049] The estimated vector includes information about mass. According to the relationship between the force, velocity change rate and mass and the estimated vector, a dynamic equation of velocity change rate is constructed.
[0050] In step S2, a state equation of an intermediate vector is determined by performing low-pass filtering on one end or a part of one end of the equation in the dynamic equation and according to the formula of the low-pass filtering, wherein the intermediate vector is the output of the low-pass filtering.
[0051] In step S3, the relationship between the intermediate vector and the estimated vector can be determined according to the equation in the dynamic equation, and the relationship between the rate of change of the intermediate vector and the estimated vector can be obtained by using the state equation of the intermediate vector through a derivative operation. According to the above relationship, a vehicle mass estimation model can be constructed.
[0052] In step S4, the driving force and speed information of the vehicle to be estimated are substituted into the mass estimation model, and the values of the coefficients of the mass estimation model are calculated. By using these specific values, the value of the intermediate vector in the mass estimation model is calculated, and the rate of change of the estimated vector is calculated according to the relationship between the intermediate vector included in the mass estimation model and the rate of change of the estimated vector. According to the calculated rate of change, the estimated vector is iterated so that the vehicle mass determined according to the estimated vector is closer and closer to the true value, thereby estimating the vehicle mass.
[0053] Based on the above Figure 1 The following describes the basic quality estimation method flow given in some embodiments of the present disclosure. Figures 2 to 5 Steps S1-S4 are further described respectively.
[0054] Figure 2 A flowchart of constructing a kinetic equation in some embodiments of the present disclosure is shown, and an embodiment of step S1 is further described.
[0055] like Figure 2 As shown, in some embodiments of the present disclosure, step S1 of the vehicle mass estimation method includes: S11, constructing a longitudinal dynamic model of the vehicle using the relationship between the vehicle's driving force, rolling resistance, air resistance, speed change rate and mass; S12, expressing the speed change rate in the longitudinal dynamic model as a form of multiplication of an estimated vector and other vectors, and determining a dynamic equation for the speed change rate.
[0056] In step S11, by analyzing the force conditions of the vehicle when it is traveling on flat ground, it can be concluded that the forces that affect the operation of the vehicle in its traveling direction mainly include the driving force, rolling resistance, and air resistance of the vehicle. Therefore, according to the laws of dynamics, the relationship between the acceleration and mass of the vehicle in the traveling direction and the above forces can be obtained, thereby constructing a longitudinal dynamic model of the vehicle, wherein the longitudinal dynamic model refers to the dynamic model of the vehicle in the traveling direction.
[0057] In step S12, the expression in the longitudinal dynamics model is sorted out with reference to the form of the above-mentioned expression of the estimated vector to obtain the dynamic equation of the speed change rate, wherein the speed change rate is expressed in the form of multiplication of the estimated vector and other vectors, which include information on the vehicle's driving force, air resistance, and rolling resistance.
[0058] The above steps S11-S12 are analyses of the operation of the vehicle on flat ground, and the road environment in which the vehicle is located may be further considered, for example, the vehicle is on a sloped road rather than a flat road. In some embodiments, step S1 may also include: constructing a longitudinal dynamics model of the vehicle according to the road environment in which the vehicle is located, using the relationship between the vehicle's driving force, rolling resistance, air resistance, gravity, velocity change rate and mass; expressing the velocity change rate in the longitudinal dynamics model in the form of multiplication of an estimated vector with other vectors, and determining a dynamics equation of the velocity change rate, wherein the other vectors include information on the vehicle's driving force, air resistance, rolling resistance and gravity.
[0059] In some embodiments, the longitudinal dynamic model is expressed as:
[0060] .
[0061] in, Indicates the driving force of the vehicle; Indicates the air resistance of the vehicle; It represents the component of vehicle gravity along the longitudinal slope; Indicates the rolling resistance of the vehicle; Represents the rotational inertia of the vehicle; Indicates the mass of the vehicle; Indicates the rate of change of vehicle speed.
[0062] The specific expressions of the above-mentioned gravity component along the longitudinal slope, rolling resistance, and air resistance can be:
[0063] .
[0064] in, represents the rolling resistance coefficient of the vehicle to be estimated; Indicates the slope of the road on which the vehicle is located; represents the air resistance coefficient; represents the frontal area of the vehicle to be estimated; Represents the acceleration due to gravity.
[0065] Based on the above longitudinal dynamics model, the expression of the rearranged dynamics equation is:
[0066] .
[0067] in,
[0068] .
[0069] Figure 3 A flowchart of constructing a state equation of an intermediate vector in some embodiments of the present disclosure is shown, and possible embodiments of step S2 are further described.
[0070] like Figure 3 As shown, in some embodiments of the present disclosure, step S2 of the vehicle mass estimation method includes: step S21, linearizing the dynamic equation to determine the linear equation about the estimated vector; step S22, low-pass filtering the related terms of the velocity change rate in the linear equation to determine the first intermediate vector; step S23, low-pass filtering the coefficients of the estimated vector in the linear equation to determine the second intermediate vector; step S24, determining the state equation of the first intermediate vector based on the first intermediate vector and the first low-pass filter model; in step S25, determining the state equation of the second intermediate vector based on the second intermediate vector and the second low-pass filter model.
[0071] In step S21, the linearization process is to remove the estimated vector Two items , Specifically, for the dynamic equation including the velocity change rate of the estimation vector, the linearization of the equation can be achieved by multiplying both ends of the equation by the same vector.
[0072] In some embodiments, the above linearization process can be expressed as:
[0073] .
[0074] in, is the kinetic equation, is the processed linear equation, K represents the coefficient vector in the dynamic equation multiplied by the estimated vector, for example, K can be included in the dynamic equation above The above linearization process is to multiply both ends of the equation by , which is the transposed matrix of K.
[0075] In step S22, the related term of the speed change rate in the linear equation can be, for example, In step S23, the coefficients of the estimated vector in the linear equation can be, for example, .
[0076] In steps S24-S25, the low-pass filter model is a model that characterizes the relationship between the input and output of the low-pass filter, including but not limited to a first-order low-pass filter model.
[0077] The process of step S2 is further described above, and the specific calculation process of the state equation of the intermediate vector will be illustrated below in conjunction with some embodiments.
[0078] Step S24 may include: performing Laplace transform on the related items; performing low-pass filtering on the items after Laplace transform as filter input; and performing inverse Laplace transform on the filter output of the low-pass filtering according to the low-pass filtering model to determine the state equation of the first intermediate vector.
[0079] In some embodiments, a Laplace transform is first performed:
[0080] .
[0081] Where (t) means that the function is a function of t, (s) means that the function is a function of s, and s is the complex variable of the Laplace transform.
[0082] Then according to the first-order low-pass filter model,
[0083] .
[0084] in, represents the output of the low-pass filter, represents the input of the low-pass filter, R represents the first intermediate vector, represents the cut-off frequency of the low-pass filter. The first filter coefficient corresponding to the first filter model Substituting in and rearranging the equation,
[0085] .
[0086] By performing an inverse Laplace transform on the above, that is, transforming the variables of the equation from Laplace's complex variable s back to the time variable t, we can obtain:
[0087] .
[0088] That is, the state equation of the first intermediate vector R, where .
[0089] Similarly, step S25 may include: performing Laplace transform on the coefficients; performing low-pass filtering on the Laplace transformed items as filter inputs; and performing inverse Laplace transform on the filter output of the low-pass filtering according to the low-pass filtering model to determine the state equation of the second intermediate vector.
[0090] In some embodiments, referring to the above steps of obtaining the state equation of the first intermediate vector R, it can be concluded that:
[0091] .
[0092] That is, the state equation of the second intermediate vector P, where , Represents the second filter coefficient corresponding to the second filter model.
[0093] In the above embodiments, the vehicle mass estimation method disclosed in the present invention enhances the robustness of the vehicle mass estimation method through a first-order low-pass filtering link on the basis of relatively simple filtering processing, has better resistance to noise in the input data, and thus improves the stability and accuracy of the method.
[0094] Figure 4 A flowchart of building a quality estimation model in some embodiments of the present disclosure is shown, and an embodiment of step S3 is further described.
[0095] like Figure 4 As shown, in some embodiments of the present disclosure, step S3 of the vehicle mass estimation method includes: step S31, determining the asymptotic variable according to the estimation vector, the first intermediate vector, and the second intermediate vector; step S32, determining the state equation of the estimation vector according to the relationship between the asymptotic variable and the estimation vector, and the state equation of the first intermediate vector and the second intermediate vector; in step S33, constructing the vehicle mass estimation model according to the asymptotic variable and the state equation of the estimation vector.
[0096] In step S31, the asymptotic variable represents the difference between the estimated mass and the actual mass, and the relationship between the asymptotic variable and the estimated vector, the first intermediate vector, and the second intermediate vector is determined according to the above dynamic equation. Specifically, the asymptotic variable is positively correlated with the estimated vector and the second intermediate vector, and negatively correlated with the first intermediate vector.
[0097] In some embodiments, the expression of the asymptotic variable is:
[0098] .
[0099] Where M represents the asymptotic variable, and M is calculated based on the difference between the product of the second intermediate vector and the estimated vector and the first intermediate vector. Therefore, when the estimated vector When the mass value contained in is the real mass of the vehicle, according to the linear equation obtained by the dynamic equation, the value of the asymptotic variable M should be 0, and when the estimated vector The greater the difference between the mass value contained in and the real mass of the vehicle, the greater the absolute value of the asymptotic variable M. Therefore, the asymptotic variable M represents the difference between the estimated mass (the mass value in the estimation vector) and the real mass.
[0100] In step S32, the state equation of the estimated vector is obtained by deriving the relationship between the asymptotic variable and the estimated vector and substituting the state equations of the first intermediate vector and the second intermediate vector into the derivatives.
[0101] In some embodiments, the state equation of the estimation vector includes an asymptotic parameter, the asymptotic parameter represents the ratio between the expected rate of change of the asymptotic variable and the value of the asymptotic variable at the current moment, and the asymptotic parameter is configured to be adjusted according to the asymptotic speed of the model. For example, the expression of the asymptotic parameter can be:
[0102] .
[0103] Where L represents the asymptotic parameter.
[0104] In the above embodiment, the asymptotic parameter can be adjusted according to the estimation result to achieve adaptive control. For example, when the estimation result is not accurate enough, the asymptotic parameter can be reduced to slow down the asymptotic speed and perform more operations to achieve more accurate estimation.
[0105] The above further describes the process of step S3, and the following will show the specific calculation process of the state equation of the estimation vector in some embodiments.
[0106] First, by differentiating the above expression of asymptotic variables,
[0107] .
[0108] Sort it out,
[0109] .
[0110] By substituting the state equation of the first intermediate vector R, the second intermediate vector P and the asymptotic parameter L into the above formula, we can obtain:
[0111] .
[0112] in, , Respectively represent the above-mentioned first filter coefficient and second filter coefficient, wherein the first filter coefficient and the second filter coefficient can be the same or different, by multiplying the inverse matrix at both ends at the same time, and considering the time interval to be estimated, finally get,
[0113] .
[0114] That is, the state equation of the estimation vector, where the estimation variables exist The initial value of time is ,and,
[0115] .
[0116] in, represents the inverse matrix of the second intermediate vector P, interval is the estimated time interval.
[0117] Based on the state equation of the estimated vector calculated above, the expression of the constructed vehicle mass estimation model is:
[0118] .
[0119] In some embodiments, the above-mentioned filtering parameters can be adjusted according to the estimation results to achieve adaptive control. For example, when the estimation results fluctuate greatly, it can be judged that the noise in the data is large. By reducing the filtering parameters, in other words, lowering the cutoff frequency, the filtering effect of the low-pass filter is enhanced, thereby achieving a more stable estimation.
[0120] Figure 5 A flowchart of using a mass estimation model to estimate vehicle mass in some embodiments of the present disclosure is shown, and an embodiment of step S4 is further described.
[0121] like Figure 5As shown, in some embodiments of the present disclosure, step S4 of the vehicle mass estimation method includes: step S41, according to the driving force and speed information of the vehicle to be estimated, using the state equation of the first intermediate vector and the second intermediate vector, calculate the value of the first intermediate vector and the second intermediate vector at the current moment; step S42, according to the values of the first intermediate vector, the second intermediate vector, and the estimated vector at the current moment, calculate the value of the asymptotic variable at the current moment; step S43, according to the values of the first intermediate vector, the second intermediate vector, the estimated vector, and the asymptotic variable at the current moment, using the state equation of the estimated vector, calculate the rate of change of the estimated vector at the current moment; step S44, according to the rate of change of the estimated vector at the current moment, calculate the change of the estimated vector within a specified time interval, and calculate the value of the estimated vector at the next moment based on the change; step S45, according to the value of the estimated vector at the next moment, repeat steps S41-S44 until the cutoff condition is met; in step S46, determine the mass of the vehicle to be estimated based on the value of the estimated vector when the cutoff condition is met.
[0122] In step S41, the driving force of the vehicle to be estimated is determined according to the driving torque read by the first sensor; and the speed information of the vehicle to be estimated is determined according to the motor speed read by the second sensor.
[0123] In some embodiments, by
[0124]
[0125] calculate , , thereby calculating the above coefficient vector K, substituting it into the state equation of the intermediate vector, and calculating the values of the first intermediate vector and the second intermediate vector respectively.
[0126] In step S42, by Compute the value of an asymptotic variable at the current time instant.
[0127] In step S43, by Calculate the rate of change of the estimated vector at the current moment.
[0128] In step S44, the specified time interval is the time interval between each iteration in the iterative process, which can be set in advance by the quality estimation model. To specify a time interval, you can use Calculate the change in the estimated vector and pass Calculate the value of the estimate vector at the next time step.
[0129] In step S45, after calculating the value of the estimated vector at the next moment, the values of all remaining quantities are updated to the next moment, including the first intermediate vector, the second intermediate vector, the speed change rate, etc., and steps S41-S44 are repeated through the values of the next moment.
[0130] Specifically, in some embodiments, step S45 can be expressed as:
[0131] according to , , , Wait, calculate , and calculate ;
[0132] according to , , , Wait, calculate , and calculate ;
[0133]
[0134] according to , , , Wait, calculate , and calculate .
[0135] In some embodiments, the cutoff condition in step S45 includes at least one of the following: the asymptotic variable is less than a first threshold; the duration of the estimation process reaches a preset value; the number of iterations of the estimation vector reaches a second threshold.
[0136] In step S46, according to the definition of the estimation vector, it can be seen that the reciprocal of the value of the first row in the estimation vector is the mass value of the vehicle, that is, .
[0137] In the above-mentioned embodiment, the vehicle mass estimation method disclosed in the present invention combines the vehicle's dynamic equations to analyze and establish a vehicle mass estimation model, and indirectly estimates the vehicle mass without directly using a mass sensor, thereby avoiding an increase in the cost of the entire vehicle system and a complication of the hardware structure. At the same time, the vehicle mass estimation method disclosed in the present invention can estimate a wide mass range with good accuracy and stability. In addition, the vehicle mass estimation method disclosed in the present invention only introduces two input variables (the vehicle's driving force and the vehicle's speed information), so there are no uncertain factors of other variables, and it has the advantages of simple implementation and fast convergence speed, and can be easily applied to vehicle control systems.
[0138] The above describes the various steps of the vehicle mass estimation method disclosed in the present invention. Figure 6a-6b Specific embodiments of the present disclosure are described.
[0139] According to a specific embodiment of the present disclosure, the low-pass filter model used in the quality estimation method is a first-order low-pass filter model. The dynamic equation is:
[0140] .
[0141] in,
[0142] .
[0143] The state equation of the intermediate vector is:
[0144] .
[0145] The first filter coefficient is the same as the second filter coefficient. , the quality estimation model is:
[0146] .
[0147] Figure 6a FIG. 1 shows a curve diagram of the estimated quality during the quality estimation process of the quality estimation method according to this embodiment, wherein the figure is a partial enlarged diagram of the curve. Figure 6a The curve in the figure represents the estimated value of the quality, and the dotted line represents the actual quality value. The quality value estimated by the quality estimation method of this embodiment is calculated by repeatedly iterating the estimation vector in step S4 above. First line The inverse of , which asymptotically approaches the actual mass value in a relatively short time and remains relatively stable.
[0148] Figure 6b A curve diagram of mass error during the mass estimation process of the mass estimation method according to this embodiment is shown, wherein the data used includes random noise, and the figure is a local enlarged diagram of the curve. Figure 6b The curve in the figure represents the mass error value, which is obtained by calculating the difference between the estimated mass value and the actual mass value. Figure 6b The data used in the mass estimation process includes random noise, and the error value of the calculated mass eventually converges while also remaining relatively stable.
[0149] Therefore, it can be seen from the above specific embodiments that the mass estimation method disclosed in the present invention can accurately and stably perform indirect measurement of vehicle mass, and at the same time has the advantages of simple implementation and fast convergence speed, and can be conveniently applied to vehicle control systems.
[0150] like Figure 7 As shown, some embodiments of the present disclosure provide a vehicle mass estimation device 7, comprising:
[0151] A first construction module 71, the first construction module 71 uses the driving force, speed change rate and mass of the vehicle to construct a dynamic equation of the speed change rate, wherein the dynamic equation includes an estimation vector related to the mass;
[0152] A second construction module 72, the second construction module 72 constructs a state equation of an intermediate vector according to the dynamic equation by low-pass filtering, wherein the intermediate vector is an output of the low-pass filtering;
[0153] A third construction module 73, the third construction module 73 uses the intermediate vector and the state equation of the intermediate vector to construct a vehicle mass estimation model;
[0154] The estimation module 74 estimates the mass of the vehicle to be estimated according to the driving force and speed information of the vehicle to be estimated by using a mass estimation model.
[0155] The first building block 71 of the vehicle mass estimation device 7 can be used to perform Figure 1 The second building block 72 of the vehicle mass estimation device 7 can be used to perform Figure 1 The third building block 73 of the vehicle mass estimation device 7 can be used to perform Figure 1 The estimation module 74 of the vehicle mass estimation device 7 can be used to perform Figure 1 Step S4.
[0156] In the above embodiment, similar to the above vehicle mass estimation method, the vehicle mass estimation device of the present invention combines the vehicle's dynamic equations to analyze and establish a vehicle mass estimation model, and the estimable mass range is relatively wide, showing good accuracy and stability; at the same time, the vehicle mass estimation method of the present invention introduces a low-pass filtering link to enhance the robustness of the vehicle mass estimation method; in addition, the vehicle mass estimation method of the present invention only introduces two input variables, so there are no uncertainty factors of other variables, and it has the advantages of simple implementation and fast convergence speed, and can be easily applied to vehicle control systems.
[0157] like Figure 8 As shown, some embodiments of the present disclosure provide a vehicle mass estimation device 7, comprising:
[0158] Memory 81; and
[0159] A processor 82 coupled to the memory, the processor 82 is configured to execute the vehicle mass estimation method according to any of the above embodiments based on instructions stored in the memory.
[0160] The memory 81 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, a database, and other programs.
[0161] It should be understood that each step in the aforementioned vehicle steering control method can be implemented by the processor 82, and can be implemented by any means of software, hardware, firmware or a combination thereof.
[0162] Fig. 9 is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure.
[0163] like Fig. 9 As shown, the computer system 9 may be in the form of a general-purpose computing device. The computer system 9 includes a memory 81, a processor 82, and a bus 90 connecting different system components.
[0164] The memory 81 may be a computer-readable storage medium in various forms, such as a system memory, a non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader (BootLoader), and other programs. The system memory may include a volatile storage medium, such as a random access memory (RAM) and / or a cache memory. The non-volatile storage medium may store, for example, instructions for executing the corresponding embodiment of the vehicle mass estimation method. The non-volatile storage medium includes, but is not limited to, a disk memory, an optical memory, a flash memory, etc.
[0165] The processor 82 may be implemented by a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gates or transistors, and other discrete hardware components. Accordingly, each module may be implemented by a central processing unit (CPU) running instructions in a memory that execute corresponding steps, or by a dedicated circuit that executes corresponding steps.
[0166] The bus 90 may use any of a variety of bus architectures, including, but not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, and a Peripheral Component Interconnect (PCI) bus.
[0167] The computer system 9 may further include an input / output interface 93, a network interface 94, a storage interface 95, etc. The input / output interface 93, the network interface 94, the storage interface 95, the memory 81, and the processor 82 may be connected via a bus 90. The input / output interface 93 may provide a connection interface for input / output devices such as a display, a mouse, and a keyboard. The network interface 94 may provide a connection interface for various networked devices. The storage interface 95 may provide a connection interface for external storage devices such as a floppy disk, a USB flash drive, and an SD card.
[0168] According to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which, when executed on a computer, enables the computer to implement the vehicle mass estimation method described in any of the aforementioned embodiments. The computer program product includes a computer program carried on a computer-readable medium, the computer program including a program code for executing the method shown in the flowchart.
[0169] The disclosed embodiment also provides a vehicle, including the vehicle mass estimation device of any of the above embodiments. As before, the vehicle mass can be accurately and stably indirectly measured, thereby avoiding the increase in the cost of the entire vehicle system and the complication of the hardware structure caused by using a mass sensor for mass measurement.
[0170] The specific type of the vehicle in the embodiments of the present disclosure is not limited, for example, it can be a sedan, an SUV, a van, a sports car or a special-purpose vehicle, etc.
[0171] So far, various embodiments of the present disclosure have been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed here.
[0172] Although some specific embodiments of the present disclosure have been described in detail by way of examples, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified or some technical features may be replaced by equivalents without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims
1. A vehicle mass estimation method, comprising: The longitudinal dynamics model of the vehicle is constructed by using the relationship between the vehicle's driving force, rolling resistance, air resistance, speed change rate and mass; Expressing the speed change rate in the longitudinal dynamics model in the form of multiplying an estimation vector by other vectors to determine a dynamic equation of the speed change rate, wherein the estimation vector is related to the mass and the other vectors include information on the driving force, air resistance, and rolling resistance of the vehicle; Linearizing the dynamic equation to determine a linear equation about the estimated vector; Performing low-pass filtering on items related to the speed change rate in the linear equation to determine a first intermediate vector, and performing low-pass filtering on coefficients of the estimated vector in the linear equation to determine a second intermediate vector; Determine a state equation of the first intermediate vector according to the first intermediate vector and the first low-pass filter model, and determine a state equation of the second intermediate vector according to the second intermediate vector and the second low-pass filter model; Constructing a vehicle mass estimation model using the first intermediate vector, the second intermediate vector, a state equation of the first intermediate vector, and a state equation of the second intermediate vector; The mass estimation model is used to estimate the mass of the vehicle to be estimated according to the driving force and speed information of the vehicle to be estimated.
2. The vehicle mass estimation method according to claim 1, wherein: The other vectors include information about the vehicle's driving force, air resistance, rolling resistance, and gravity. Using the relationship between the vehicle's driving force, rolling resistance, air resistance, velocity change rate, and mass, constructing the vehicle's longitudinal dynamics model includes: based on the vehicle's road environment, using the relationship between the vehicle's driving force, rolling resistance, air resistance, gravity, velocity change rate, and mass, constructing the vehicle's longitudinal dynamics model.
3. The vehicle mass estimation method according to claim 1, wherein: The state equation of the first intermediate vector and the state equation of the second intermediate vector include filter coefficients of the low-pass filtering process, and the filter coefficients represent the ratio of the difference between the input and output of the low-pass filtering at the current moment to the rate of change of the intermediate vector.
4. The vehicle mass estimation method according to claim 3, wherein: Determining the state equation of the first intermediate vector according to the first intermediate vector and the first low-pass filtering model includes: Performing Laplace transformation on the related terms of the velocity change rate in the linear equation; Using the Laplace transformed item as the input of the first low-pass filtering model; Perform an inverse Laplace transform on the output of the first low-pass filter model to determine a state equation of the first intermediate vector.
5. The vehicle mass estimation method according to claim 3, wherein: Determining the state equation of the second intermediate vector according to the second intermediate vector and the second low-pass filter model includes: performing Laplace transform on coefficients of the estimation vector in the linear equation; Using the Laplace transformed item as the input of the second low-pass filtering model; Perform an inverse Laplace transform on the output of the second low-pass filter model to determine a state equation of the second intermediate vector.
6. The vehicle mass estimation method according to claim 3, wherein: Using the first intermediate vector, the second intermediate vector, the state equation of the first intermediate vector, and the state equation of the second intermediate vector to construct a vehicle mass estimation model includes: Determine an asymptotic variable according to the estimated vector, the first intermediate vector, and the second intermediate vector, wherein the asymptotic variable represents a difference between the estimated quality and the actual quality; Determine a state equation of the estimated vector according to a relationship between the asymptotic variable and the estimated vector, and state equations of the first intermediate vector and the second intermediate vector; A vehicle mass estimation model is constructed according to the asymptotic variables and the state equation of the estimation vector.
7. The vehicle mass estimation method according to claim 6, wherein: The asymptotic variable is positively correlated with the estimation vector and the second intermediate vector, and negatively correlated with the first intermediate vector.
8. The vehicle mass estimation method according to claim 6, wherein: Determining an asymptotic variable according to the estimated vector, the first intermediate vector, and the second intermediate vector comprises: The asymptotic variable is calculated according to a difference between the first intermediate vector and a product of the second intermediate vector and the estimated vector.
9. The vehicle mass estimation method according to claim 8, wherein: The state equation of the estimation vector includes an asymptotic parameter, which characterizes a ratio between an expected rate of change of the asymptotic variable and a value of the asymptotic variable at a current moment, and the asymptotic parameter is configured to be adjusted according to an asymptotic speed of the quality estimation model.
10. The vehicle mass estimation method according to claim 6, wherein: Using the mass estimation model and according to the driving force and speed information of the vehicle to be estimated, estimating the mass of the vehicle to be estimated includes: i) calculating the values of the first intermediate vector and the second intermediate vector at the current moment using the state equations of the first intermediate vector and the second intermediate vector according to the driving force and speed information of the vehicle to be estimated; ii) calculating the value of the asymptotic variable at the current moment according to the values of the first intermediate vector, the second intermediate vector, and the estimated vector at the current moment; iii) calculating the rate of change of the estimated vector at the current moment according to the first intermediate vector, the second intermediate vector, the estimated vector, and the value of the asymptotic variable at the current moment, using the state equation of the estimated vector; iv) calculating the amount of change of the estimated vector within a specified time interval according to the rate of change of the estimated vector at the current moment, and calculating the value of the estimated vector at the next moment according to the amount of change; v) repeating steps i)-iv) according to the value of the estimated vector at the next moment until a cutoff condition is met; vi) determining the mass of the vehicle to be estimated according to the value of the estimation vector when the cut-off condition is met.
11. The vehicle mass estimation method according to claim 10, wherein: The cut-off condition includes at least one of the following: The asymptotic variable is less than a first threshold; The duration of the estimation process reaches the preset value; The iteration number of the estimation vector reaches a second threshold.
12. The vehicle mass estimation method according to claim 1, wherein: Using the mass estimation model and according to the driving force and speed information of the vehicle to be estimated, estimating the mass of the vehicle to be estimated includes: determining the driving force of the vehicle to be estimated according to the driving torque read by the first sensor; The speed information of the vehicle to be estimated is determined according to the motor speed read by the second sensor.
13. A vehicle mass estimation device, comprising: A first construction module constructs a longitudinal dynamics model of the vehicle using the relationship between the driving force, rolling resistance, air resistance, speed change rate and mass of the vehicle; the speed change rate in the longitudinal dynamics model is expressed in the form of multiplication of an estimated vector and other vectors to determine a dynamic equation of the speed change rate, wherein the estimated vector is related to the mass and the other vectors include information on the driving force, air resistance and rolling resistance of the vehicle; The second construction module linearizes the dynamic equation to determine a linear equation about the estimated vector; performs low-pass filtering on items related to the velocity change rate in the linear equation to determine a first intermediate vector; performs low-pass filtering on coefficients of the estimated vector in the linear equation to determine a second intermediate vector; determines a state equation of the first intermediate vector based on the first intermediate vector and a first low-pass filtering model, and determines a state equation of the second intermediate vector based on the second intermediate vector and a second low-pass filtering model; A third construction module constructs a vehicle mass estimation model using the first intermediate vector, the second intermediate vector, the state equation of the first intermediate vector, and the state equation of the second intermediate vector; The estimation module estimates the mass of the vehicle to be estimated according to the driving force and speed information of the vehicle to be estimated by using the mass estimation model.
14. A vehicle mass estimation device, comprising: Memory; and A processor coupled to the memory, the processor being configured to execute the vehicle mass estimation method according to any one of claims 1 to 12 based on instructions stored in the memory.
15. A vehicle, comprising the vehicle mass estimation device according to claim 13 or 14.
16. A computer-readable storage medium, wherein: The computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the vehicle mass estimation method according to any one of claims 1 to 12 is implemented.
17. A computer program product, wherein: The computer program product stores computer instructions, and when the instructions are executed by a processor, the vehicle mass estimation method according to any one of claims 1 to 12 is implemented.
Citation Information
Patent Citations
Vehicle braking method and device based on vehicle weight and gradient self-adaption and medium
CN112896164A
Vehicle mass estimation method based on adaptive extended Kalman filtering
CN115271040A
Self-adaptive box weight control method for intelligent transfer trolley in harbor
CN116360253A
Vehicle mass and road gradient online estimation method, device and equipment
CN116834756A
Train load measuring system and method thereof
US20110276309A1
