Vehicle speed estimation method and device, vehicle and storage medium

By judging the wheel status and combining it with Kalman filter and slope correction, the error problem of vehicle speed estimation under complex road conditions is solved, the accuracy and efficiency of vehicle speed estimation are improved, CPU resource requirements are reduced, and the safety of vehicle control is improved. .

CN118770246AActive Publication Date: 2024-10-15GUANGZHOU AUTOMOBILE GROUP CO LTD

Patent Information

Application Number
CN202410832064.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-10-15
Estimated Expiration
2044-06-25

AI Technical Summary

Technical Problem

The vehicle speed estimation method in the existing technology has large errors under complex road conditions, which affects vehicle control safety. The Kalman filter algorithm has large errors for nonlinear systems and consumes too much CPU resources, causing systemic problems.

Method used

By judging the status of each wheel, if all wheels are in an abnormal state, the vehicle speed at historical moments is used to estimate the current vehicle speed; if any wheel is in a normal state, the vehicle speed is estimated based on the wheel speed in the normal state, and the Kalman filter is used. Corrected to correct vehicle speed to take slope into account to improve accuracy.

Benefits of technology

It reduces vehicle speed estimation errors, improves estimation accuracy and efficiency, reduces CPU resource requirements, realizes real-time vehicle speed estimation and self-identification correction, and reduces system costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118770246A_ABST
    Figure CN118770246A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicles, in particular to a vehicle speed estimation method and device, a vehicle and a storage medium, and the method comprises the steps that the state of each wheel at the current moment is acquired, and the states comprise the first state and the second state; if the states of all the wheels are the first state, acquiring the speed of the vehicle at the historical moment before all the wheels enter the second state, and estimating the speed of the vehicle at the current moment according to the speed of the vehicle at the historical moment; otherwise, estimating the speed of the vehicle at the current moment according to the wheel speed of the wheel in the second state. Therefore, the problems of low accuracy, large estimation error and the like of vehicle speed estimation in related technologies are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle speed estimation method, device, vehicle and storage medium. Background Art

[0002] A four-wheel drive vehicle has four front and rear wheels that all output driving force to drive the vehicle. When the vehicle is driving on good road conditions, none of the four wheels will slip, and the vehicle speed can be obtained based on the data from the vehicle's wheel speed sensor. However, under complex road conditions, the status of the four wheels may be different, and one or all wheels may slip. At this time, the vehicle speed calculated by the wheel speed will have a large error, and the speed error will cause problems with vehicle control, which will affect the vehicle's driving safety.

[0003] In the related technology, the vehicle longitudinal dynamics model and vehicle acceleration information are used as inputs, and the ordinary Kalman filter, extended Kalman filter or unscented Kalman filter are used to estimate the vehicle speed, wherein the inputs involved usually include vehicle driving torque, vehicle driving resistance, vehicle weight and ramp information, etc. However, when the vehicle longitudinal dynamics model is used, more input information is required. When performing state estimation, the Kalman filter will accumulate errors, resulting in a certain error in the obtained vehicle speed. In addition, the ordinary Kalman filter estimation has a large error for nonlinear systems. If the extended Kalman filter and the unscented Kalman filter are used, more CPU (Central Processing Unit) resources are occupied, which will cause the program to run longer, and then lead to other systemic problems. Summary of the invention

[0004] The present application provides a vehicle speed estimation method, device, vehicle and storage medium to solve the problems of low accuracy and large estimation error in vehicle speed estimation in related technologies.

[0005] The first aspect of the present application provides a vehicle speed estimation method, comprising the following steps: obtaining the state of each wheel at the current moment, wherein the state includes a first state and a second state; if the state of all wheels is the first state, obtaining the speed of the vehicle at a historical moment before all wheels enter the second state, and estimating the speed of the vehicle at the current moment based on the speed of the vehicle at the historical moment; otherwise estimating the speed of the vehicle at the current moment based on the wheel speed of the wheel in the second state.

[0006] Optionally, estimating the vehicle speed at the current moment according to the vehicle speed at the historical moment includes: inputting the vehicle speed at the historical moment into a first Kalman filter, and the first Kalman filter outputs the vehicle speed at the current moment.

[0007] Optionally, the calculation formula of the first Kalman filter is:

[0008]

[0009] Among them, vx is the longitudinal velocity of the vehicle, vy is the lateral velocity of the vehicle, ax is the longitudinal acceleration of the vehicle, ay is the lateral acceleration of the vehicle, sinθ is the sine of the longitudinal pitch angle, is the sine of the lateral roll angle, Δt is the time period, g is the gravity acceleration, γ is the yaw angular velocity, G is the process noise parameter matrix, w is the process noise, and V is the observation noise.

[0010] Optionally, after estimating the vehicle speed at the current moment, the method further includes: obtaining the slope of the road section where the vehicle is currently located; and correcting the vehicle speed at the current moment according to the slope.

[0011] Optionally, obtaining the slope of the road section where the vehicle is currently located includes: obtaining the average slope of the slope where the vehicle is currently located; inputting the average slope into a second Kalman filter, and the second Kalman filter outputs the slope value of the vehicle's current slope.

[0012] Optionally, the calculation formula of the second Kalman filter is:

[0013]

[0014] Among them, vx is the longitudinal velocity of the vehicle, ax is the longitudinal acceleration of the vehicle, sinθ is the sine of the longitudinal pitch angle, Δt is the time period, g is the acceleration of gravity, is the process noise parameter matrix, w is the process noise, and V is the observation noise.

[0015] Optionally, obtaining the state of each wheel at the current moment includes: obtaining the wheel speed of each wheel at the current moment; calculating the wheel end acceleration of each wheel according to the wheel speed of each wheel, and calculating the wheel speed difference between the wheel speed of each wheel and the wheel speed reference value; determining the wheel state of each wheel according to the wheel end acceleration and the wheel speed difference.

[0016] The second aspect of the present application provides a vehicle speed estimation device, including: an acquisition module, used to obtain the state of each wheel at a current moment, wherein the state includes a first state and a second state; a first estimation module, used to obtain the speed of the vehicle at a historical moment before all wheels entered the second state if the state of all wheels is the first state, and estimate the speed of the vehicle at a current moment based on the speed of the vehicle at the historical moment; a second estimation module, used to estimate the speed of the vehicle at a current moment based on the wheel speed of the wheel in the second state otherwise.

[0017] Optionally, the first estimation module is further used to: input the speed of the vehicle at a historical moment into a first Kalman filter, and the first Kalman filter outputs the speed of the vehicle at a current moment.

[0018] Optionally, the calculation formula of the first Kalman filter is:

[0019]

[0020] Among them, vx is the longitudinal velocity of the vehicle, vy is the lateral velocity of the vehicle, ax is the longitudinal acceleration of the vehicle, ay is the lateral acceleration of the vehicle, sinθ is the sine of the longitudinal pitch angle, is the sine of the lateral roll angle, Δt is the time period, g is the gravity acceleration, γ is the yaw angular velocity, G is the process noise parameter matrix, w is the process noise, and V is the observation noise.

[0021] Optionally, it also includes: a correction module, which is used to obtain the slope of the road section where the vehicle is currently located after estimating the vehicle's current speed; and correct the vehicle's current speed according to the slope.

[0022] Optionally, the correction module is further used to: obtain the average slope of the current slope of the vehicle; input the average slope into a second Kalman filter, and the second Kalman filter outputs the slope value of the current slope of the vehicle.

[0023] Optionally, the calculation formula of the second Kalman filter is:

[0024]

[0025] Among them, vx is the longitudinal velocity of the vehicle, ax is the longitudinal acceleration of the vehicle, sinθ is the sine of the longitudinal pitch angle, Δt is the time period, g is the acceleration of gravity, is the process noise parameter matrix, w is the process noise, and V is the observation noise.

[0026] Optionally, the acquisition module is further used to: obtain the wheel speed of each wheel at the current moment; calculate the wheel end acceleration of each wheel according to the wheel speed of each wheel, and calculate the wheel speed difference between the wheel speed of each wheel and the wheel speed reference value; determine the wheel state of each wheel according to the wheel end acceleration and the wheel speed difference.

[0027] A third aspect of the present application provides a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to perform the vehicle speed estimation method as described in the above embodiment.

[0028] The fourth aspect of the present application provides a computer-readable storage medium on which a computer program or instruction is stored. When the computer program or instruction is executed by a processor, the vehicle speed estimation method as described in the above embodiment is executed.

[0029] Therefore, this application has at least the following beneficial effects:

[0030] The first state and the second state in the embodiment of the present application represent different states. The first state represents an abnormal state such as wheel slipping and braking, and the second state represents that the vehicle is in a normal state. The embodiment of the present application can calculate the vehicle speed in different ways in combination with different states of the vehicle. When any wheel is in a normal state, the wheel speed can accurately represent the vehicle state, so the vehicle speed can be estimated based on the wheel speed. When all wheels are in an abnormal state, the wheel speed in the abnormal state cannot accurately represent the current vehicle situation. Therefore, the embodiment of the present application can estimate the vehicle speed at the current moment based on the normal state vehicle speed at the historical moment before all wheels enter the abnormal state. On this basis, accurate estimation of the vehicle at the current moment can be achieved, thereby reducing the error in vehicle speed estimation. Thus, the technical problems of low accuracy and large estimation error in the related art for vehicle speed estimation are solved.

[0031] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0033] Figure 1 A flow chart of a vehicle speed estimation method provided according to an embodiment of the present application;

[0034] Figure 2 A flowchart of wheel state judgment based on acceleration provided according to an embodiment of the present application;

[0035] Figure 3 A flowchart of wheel state judgment based on wheel speed difference according to an embodiment of the present application;

[0036] Figure 4 A flow chart of estimating vehicle speed by Kalman filtering according to an embodiment of the present application;

[0037] Figure 5 A calculation flow chart of slope correction provided according to an embodiment of the present application;

[0038] Figure 6 A flowchart of wheel state judgment based on acceleration in slope estimation provided in an embodiment of the present application;

[0039] Figure 7 A flowchart of wheel state judgment based on wheel speed difference in slope estimation according to an embodiment of the present application;

[0040] Figure 8 A flowchart of vehicle speed estimation provided according to an embodiment of the present application;

[0041] Fig. 9 This is an example diagram of a vehicle speed estimation device provided according to an embodiment of the present application;

[0042] Fig.10 It is a schematic diagram of the structure of a vehicle provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0043] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0044] Before describing the vehicle speed estimation method of the present application, the vehicle speed estimation method of the current related art is first introduced.

[0045] Related technology 1 proposes a method for estimating the longitudinal speed of an all-wheel drive vehicle, which includes the following steps: first, based on the acceleration sensor and the gyroscope data are collected, the Kalman filter algorithm is used to realize multi-sensor data fusion, and an estimate of the slope of the current road on which the vehicle is traveling is obtained; then, based on the kinematic speed estimation method, the longitudinal speed of the vehicle is estimated according to the slope estimation result and the acceleration sensor data; finally, the integral error caused by the noise in the acceleration data is eliminated, and the speed estimation result is corrected according to the wheel speed feedback of each wheel.

[0046] Related technology 2 provides a vehicle state parameter estimation method and device, the method comprising: obtaining driving state data, a first process state x and a first process covariance Q of the vehicle. Determining a second process covariance Q(k) and a first measurement covariance R(k) based on the driving state data of the vehicle. Obtaining a first measurement value yh of a vehicle sensor. Determining a vehicle state parameter of the vehicle based on the first measurement value yh, the first process state x, the first process covariance Q, the second process covariance Q(k) and the first measurement covariance R(k). In the process of estimating the vehicle state parameters, the process covariance and the measurement covariance are adaptively adjusted based on the driving state data, and then the adjusted process covariance and measurement covariance are used for vehicle state estimation, which can improve the estimation accuracy of the vehicle state parameters.

[0047] But there are the following problems:

[0048] 1. When using the vehicle longitudinal dynamics model, a lot of input information is required: (1) Driving torque information is usually an internally calculated signal or obtained by a torque sensor. There is a certain phase difference between the torque and the acceleration collected by the vehicle's actual acceleration sensor, and this phase difference will change with the vehicle's state. Therefore, there will be a certain error in converting the vehicle's longitudinal acceleration from the torque; (2) The vehicle's driving resistance. This resistance is usually obtained by the resistance calculation formula, and the resistance coefficient is usually a fixed value. Under different working conditions, there will inevitably be a large error; (3) Vehicle weight. In the absence of a weight sensor, the vehicle weight information is usually difficult to obtain. If it is obtained through vehicle weight state estimation, there will also be a large error in the vehicle weight. Combined with the errors of the above (1), (2), and (3) inputs, when performing state estimation, especially continuous state estimation, the Kalman filter will accumulate errors, resulting in a certain error in the obtained vehicle speed, resulting in poor accuracy in vehicle speed estimation.

[0049] 2. When using Kalman filtering for vehicle speed estimation, (1) ordinary Kalman filtering estimation has large errors for nonlinear systems; (2) extended Kalman filtering and unscented Kalman filtering have good estimation capabilities for nonlinear systems, but they require more CPU computing power and occupy more CPU resources, which will cause the program to run longer. In vehicle power control software, the operating cycle is usually 10ms, and hardware resources usually need to be guaranteed to be less than a certain load rate. The real-time operation of extended Kalman filtering and unscented Kalman filtering may cause the software to fail to run within 10ms, which in turn leads to other systemic problems.

[0050] 3. Once the vehicle speed estimation error is large, it will be impossible to self-identify and correct; and using a gyroscope or GPS to estimate or correct the vehicle speed will require more vehicle manufacturing costs.

[0051] The following describes the vehicle speed estimation method, device, vehicle and storage medium of the embodiment of the present application with reference to the accompanying drawings. In view of the vehicle acceleration information collected by the vehicle longitudinal dynamics model and the vehicle acceleration sensor as input mentioned in the above background technology, the vehicle speed is estimated by using ordinary Kalman filter, extended Kalman filter or unscented Kalman filter, wherein the input involved usually includes vehicle driving torque, vehicle driving resistance, vehicle weight and ramp information, etc., and the problem of inaccurate vehicle speed estimation caused by more input information exists, the present application provides a vehicle speed estimation method, in which the state of each wheel can be judged, and when all wheels are in the first state, the vehicle speed at the historical moment before all wheels enter the second state is further estimated based on the vehicle speed at the historical moment, otherwise the vehicle speed at the current moment is directly estimated based on the wheel speed of the second state wheel. Thus, the problem of low accuracy and large estimation error in the related technology for vehicle speed estimation is solved.

[0052] Specifically, Figure 1 A schematic flow chart of a vehicle speed estimation method provided in an embodiment of the present application.

[0053] like Figure 1 As shown, the vehicle speed estimation method includes the following steps:

[0054] In step S101, the state of each wheel at the current moment is obtained, wherein the state includes a first state and a second state.

[0055] Among them, the first state can be an abnormal state, including slipping, braking, etc. Braking means that the vehicle is in a braking and slipping state, and the second state is a normal state, that is, the wheels are not in a slipping and braking state.

[0056] In an embodiment of the present application, the state of each wheel at the current moment is obtained, including: obtaining the wheel speed of each wheel at the current moment; calculating the wheel end acceleration of each wheel according to the wheel speed of each wheel, and calculating the wheel speed difference between the wheel speed of each wheel and the wheel speed reference value; determining the wheel state of each wheel according to the wheel end acceleration and the wheel speed difference.

[0057] Among them, the wheel speed can be obtained through a sensor.

[0058] It can be understood that the embodiments of the present application can calculate the wheel end acceleration of each wheel based on the wheel speed of each wheel, and calculate the wheel speed difference between the wheel speed of each wheel and the wheel speed reference value, and comprehensively determine the wheel state of each wheel based on the wheel end acceleration and the wheel speed difference.

[0059] The following specifically describes how to judge the wheel state (hereinafter referred to as wheel state), which is mainly divided into two parts: wheel state judgment based on wheel end acceleration (hereinafter referred to as acceleration) and wheel state judgment based on wheel speed difference.

[0060] 1. Wheel state judgment based on acceleration, the process is as follows Figure 2 shown.

[0061] 1.1 First determine whether it is necessary to exit the wheel state, the method can be to take the or of the following conditions:

[0062] (1) All wheel speeds are less than the first preset value v1 and acceleration is less than the first preset acceleration a1, and the maintenance time is greater than the first preset time t1; v1 and a1 should be close to 0, covering the zero drift of the sensor, indicating that the vehicle is in a stopped state.

[0063] (2) All wheel speeds < v1 and acceleration > a1, maintained for > t1; v1 should be close to 0, covering the zero drift of the sensor, a1 should be greater than the zero drift of the acceleration sensor, and the second preset time t2 should be greater than t1. This indicates that the vehicle is stopped but stays on the slope.

[0064] (3) The difference between all wheel speeds is ≤ the second preset value v2 and the wheel speed is > v1, and the maintenance time is > the third preset time t3; v2 should be close to 0, indicating that the four wheel speeds of the vehicle are very close during driving, and the probability of slipping or braking is extremely low at this time.

[0065] (4) If the vehicle speed valid flag is 1, indicating that the vehicle speed is invalid at this time, the wheel status judgment of all wheels will be exited.

[0066] 1.2 Calculate the acceleration of the wheel end speed according to the wheel speed. The acceleration calculation can be the speed change within the first preset cycle N1 divided by the time of the N1 cycle. The obtained acceleration can be added with a low-pass filter (optional).

[0067] 1.3 The wheel state is determined according to the acceleration obtained in 1.2. When the acceleration is ≥ the first preset acceleration DA1, the rising edge is triggered and the wheel enters the slipping state. When the acceleration is ≤ the second preset deceleration DA3, the rising edge is triggered and the wheel enters the braking state.

[0068] 1.4 When the wheel is in slipping state, when the acceleration is ≤ the first preset deceleration DA2 falling edge trigger, it is determined whether the absolute value of the difference between the wheel speed and the wheel speed reference value is < the first preset difference DV0. When the condition is met, the slipping state is exited and returned to the normal state.

[0069] 1.5 When the wheel is in braking state, when the acceleration ≥ the second preset acceleration DA4 falling edge trigger, it is determined whether the absolute value of the difference between the wheel speed and the wheel speed reference value is <DV0. When the condition is met, the braking state is exited and returned to the normal state.

[0070] 1.6DA1 and DA4 are positive numbers, indicating wheel-end acceleration thresholds, i.e., the first preset acceleration and the second preset acceleration; DA2 and DA3 are negative numbers, indicating wheel-end deceleration thresholds, i.e., the first preset deceleration and the second preset deceleration. DA1 can be the maximum value of the actual vehicle acceleration, where DA1> the absolute value of DA2, i.e., the vehicle is more likely to exit the skidding state after entering the skidding state. DA3 can be the maximum value of the time vehicle deceleration, where the absolute value of DA3> DA4, i.e., the vehicle is more likely to exit the braking state after entering the braking state. DA1 and DA4 can also be obtained by looking up the table of the accelerator pedal opening signal. DA2 and DA3 can also be obtained by looking up the table of the brake pedal depth or the TCS (Traction Control System) state or the kinetic energy recovery torque.

[0071] 1.7 Update the wheel status based on the above judgment results.

[0072] 2. Wheel state judgment based on wheel speed difference, the process is as follows Figure 3 shown.

[0073] 2.1 Collect all the wheel states mentioned above and extract the wheel speed set whose wheel states are normal and whose wheel speed signals have no faults.

[0074] 2.2 Determine whether the vehicle is in a braking state. The determination method is that the brake pedal depression depth is greater than the pedal depth threshold Pbth, or the TCS function is triggered, or the vehicle energy recovery torque is greater than the recovery threshold TqRth.

[0075] 2.3 Calculate the reference wheel speed based on the information in 2.1 and 2.2. When the vehicle is in a braking state, the reference wheel speed = the maximum value of the wheel speed set in 2.1. When the vehicle is in a non-braking state, the reference wheel speed = the minimum value of the wheel speed set in 2.1.

[0076] 2.4 Calculate the reference wheel speeds of other wheels based on the reference wheel speeds in 2.3; the wheel speed reference values ​​are calculated based on vehicle structural parameters and vehicle steering angles, etc. The reference wheel speed is converted to the vehicle center of mass speed, and then the speeds of other wheels are calculated using the center of mass speed, which is the wheel speed reference value.

[0077] 2.5 Calculate the difference between each wheel speed and the wheel speed reference value in 2.4.

[0078] 2.6 Determine the wheel state according to the wheel speed difference in 2.5: when the speed difference is greater than the second preset difference DV1, the vehicle enters the slipping state; when the speed difference is less than the fourth preset difference DV3, the vehicle enters the braking state; in the slipping state, if the speed difference is less than the third preset difference DV2, the vehicle enters the exiting slipping state; in the braking state, if the speed difference is greater than the fifth preset difference DV4, the vehicle enters the exiting braking state.

[0079] 2.7DV1 and DV2 are both positive numbers, and DV1>DV2, DV4 and DV3 are both negative numbers, and the absolute value of DV3>the absolute value of DV4. This threshold needs to be obtained through calibration.

[0080] 2.8 Update the wheel status based on the above judgment results.

[0081] In step S102, if the state of all wheels is the first state, the speed of the vehicle at a historical moment before all wheels enter the second state is obtained, and the speed of the vehicle at the current moment is estimated based on the speed of the vehicle at the historical moment.

[0082] The historical moment may be N2 cycles before all wheels enter the second state, N2 may be obtained through calibration, and the specific historical moment may be set according to specific circumstances.

[0083] It can be understood that the embodiment of the present application can obtain the vehicle speed at a historical moment before all wheels enter the second state when all wheels are in the first state, and estimate the vehicle speed at the current moment based on the vehicle speed at the historical moment. The vehicle speed at the current moment can be estimated using less information, and the vehicle speed at the historical moment is taken into account in the speed estimation, thereby improving the accuracy of the speed estimation.

[0084] In an embodiment of the present application, the speed of the vehicle at the current moment is estimated based on the speed of the vehicle at the historical moment, including: inputting the speed of the vehicle at the historical moment into a first Kalman filter, and the first Kalman filter outputs the speed of the vehicle at the current moment.

[0085] It can be understood that the embodiment of the present application can input the vehicle speed at a historical moment into the first Kalman filter, and the first Kalman filter outputs the vehicle speed at the current moment. The specific calculation formula of the first Kalman filter is as follows.

[0086] The calculation formula of the first Kalman filter is:

[0087]

[0088] Among them, vx is the longitudinal velocity of the vehicle, vy is the lateral velocity of the vehicle, ax is the longitudinal acceleration of the vehicle, ay is the lateral acceleration of the vehicle, sinθ is the sine of the longitudinal pitch angle, is the sine of the lateral roll angle, Δt is the time period, g is the gravity acceleration, γ is the yaw angular velocity, G is the process noise parameter matrix, w is the process noise, and V is the observation noise.

[0089] In step S103, otherwise, the vehicle speed at the current moment is estimated according to the wheel speed of the wheel in the second state.

[0090] It can be understood that, in the embodiment of the present application, when any one of all the wheels is in the second state, the vehicle speed at the current moment is estimated based on the wheel speed of the wheel in the second state to improve the accuracy of the vehicle speed estimation.

[0091] In an embodiment of the present application, after estimating the vehicle's current speed, it also includes: obtaining the slope of the road section on which the vehicle is currently located; and correcting the vehicle's current speed according to the slope.

[0092] It can be understood that the embodiment of the present application takes into account the influence of the slope on the estimation result during the vehicle speed estimation process. Therefore, the embodiment of the present application can correct the vehicle speed at the current moment according to the current slope of the vehicle to improve the accuracy of the vehicle speed estimation.

[0093] Specifically, the process of whether to use Kalman filtering to estimate the vehicle speed in the embodiment of the present application is as follows: Figure 4 shown.

[0094] 1. Get the final wheel status result and determine whether there is a normal wheel among the four wheels. If so, enter the slope correction calculation. If not, it means that all wheels are slipping or braking. Reset the Kalman filter and then enter the vehicle speed estimation.

[0095] 2. When resetting the Kalman filter, it is necessary to add normal vehicle speed and slope corrections.

[0096] (1) Normal state speed: The normal state speed is the speed of the vehicle in the first N2 cycles when all wheels enter the abnormal state. N2 can be obtained through calibration;

[0097] (2) The slope correction calculation process is as follows.

[0098] In an embodiment of the present application, obtaining the slope of the road section on which the vehicle is currently located includes: obtaining the average slope of the slope on which the vehicle is currently located; inputting the average slope into a second Kalman filter, and the second Kalman filter outputs the slope value of the vehicle's current slope.

[0099] It can be understood that the embodiment of the present application can obtain the average slope of the current slope of the vehicle, input the average slope into the second Kalman filter, and the second Kalman filter outputs the slope value of the current slope of the vehicle. The specific calculation formula of the second Kalman filter is as follows.

[0100] The calculation formula of the second Kalman filter is:

[0101]

[0102] Among them, vx is the longitudinal velocity of the vehicle, ax is the longitudinal acceleration of the vehicle, sinθ is the sine of the longitudinal pitch angle, Δt is the time period, s is the acceleration of gravity, is the process noise parameter matrix, w is the process noise, and V is the observation noise.

[0103] Specifically, the slope correction in the embodiment of the present application is the input of the vehicle speed estimation when all wheels of the vehicle enter an abnormal state, and the calculation process is as follows: Figure 5 shown.

[0104] 1. Average slope calculation: The average slope calculation uses the average value of the theoretical slope within the tslope time. The theoretical slope calculation formula is:

[0105] Sinθ=(ax-avx) / ;

[0106] Where Sinθ is the sine of the slope, ax is the longitudinal acceleration collected by the vehicle sensor, and avx is the longitudinal acceleration obtained by calculating the vehicle speed.

[0107] This average slope serves as the initial input parameter for slope estimation.

[0108] 2. Whether the slope estimation conditions are met.

[0109] The slope is used as the input for vehicle speed estimation, and the slope estimation needs to be performed before the vehicle speed estimation. Therefore, it is necessary to determine whether all wheels of the vehicle have a tendency to slip or brake; the method for determining the tendency to slip or brake is the same as the above wheel state determination method, but the threshold parameters are different (such as Figure 6 and Figure 7 When all wheels are in an abnormal state, it indicates that the vehicle has a tendency to slip or brake, and then the slope Kalman filter estimation is entered.

[0110] Specific threshold parameter requirements:

[0111] DAT1 and DAT4 are positive numbers, indicating wheel-end acceleration thresholds, which are the third preset acceleration and the fourth preset acceleration, respectively. DAT2 and DAT3 are negative numbers, indicating wheel-end deceleration thresholds, which are the third preset deceleration and the fourth preset deceleration, respectively. DAT1 can be the maximum value of the actual vehicle acceleration, where DAT1>the absolute value of DAT2, i.e., it is easier for the vehicle to exit the slipping state after entering the slipping state. DAT3 can be the maximum value of the time vehicle deceleration, where the absolute value of DAT3>DAT4, i.e., it is easier for the vehicle to exit the braking state after entering the braking state. DAT1 and DAT4 can also be obtained by looking up the acceleration pedal opening signal. DAT2 and DAT3 can also be obtained by looking up the brake pedal depth, TCS status, or kinetic energy recovery torque.

[0112] The sixth preset difference DVT1 and the seventh preset difference DVT2 are both positive numbers, and DVT1>DVT2, the eighth preset difference DVT3 and the ninth preset difference DVT4 are both negative numbers, and the absolute value of DVT3>the absolute value of DVT4, and the threshold needs to be obtained through calibration.

[0113] The absolute values ​​of DAT1-DAT4 are respectively smaller than the absolute values ​​of DA1-DA4; the absolute values ​​of DVT0-DVT4 are respectively smaller than the absolute values ​​of DV0-DV4;

[0114] 3. Slope Kalman filter estimation.

[0115] The state equation and observation equation of slope Kalman filter estimation are as follows:

[0116]

[0117] Among them, vx is the vehicle longitudinal velocity, ax is the vehicle longitudinal acceleration, sin is the sine of the longitudinal pitch angle, Δt is the time period, g is the gravity acceleration, G is the process noise parameter matrix, w is the process noise, V is the observation noise, and ax is obtained through the vehicle acceleration sensor.

[0118] Kalman filter process:

[0119]

[0120]

[0121] (1) is the state transfer equation (prediction equation), is the predicted value (priori estimate), F is the state transfer matrix, B is the input parameter matrix, G is the process noise parameter matrix, w is the process noise; Q is the covariance matrix of the process noise (Q = E[ww T ]);

[0122] (2) K is the Kalman gain;

[0123] (3) is the estimated value (posterior estimate), through The estimated value is corrected, H is the observation transformation matrix, D is the observation input parameter matrix, v is the observation noise, and R is the covariance matrix of the observation noise (R = E[vv T ]);

[0124] (4)P t Estimation error The covariance matrix of , (5) is the prediction error The covariance matrix of t is the true value;

[0125] 4.4 Slope limit and update slope correction: The slope is set to a maximum of 100% slope for both uphill and downhill slopes. The estimated slope is now within this range. If it exceeds the range, the range boundary value is taken. Finally, the slope correction is input into the vehicle speed Kalman filter estimation.

[0126] Kalman filter estimates vehicle speed or calculates vehicle speed, such as Figure 4 shown.

[0127] 1. When there are wheels in normal state, the wheel speed of the wheels in normal state is converted to the vehicle center of mass speed and the average value is used for output;

[0128] 2. When vehicle speed Kalman filter estimation is required, the classic Kalman filter estimation is used, and the state equation and observation equation are as follows:

[0129]

[0130] Among them, vx is the longitudinal velocity of the vehicle, vy is the lateral velocity of the vehicle, ax is the longitudinal acceleration of the vehicle, ay is the lateral acceleration of the vehicle, sinθ is the sine of the longitudinal pitch angle, is the sine of the lateral roll angle, Δt is the time period, g is the gravity acceleration, γ is the yaw angular velocity, G is the process noise parameter matrix, w is the process noise, and V is the observation noise.

[0131] The embodiment of the present application further determines whether the vehicle speed estimation result is valid after the vehicle speed estimation is completed.

[0132] Determine the vehicle speed status and update the vehicle speed and the valid speed flag.

[0133] 1. The judgment conditions for invalid vehicle speed estimation are as follows: or.

[0134] 1.1 The difference between all wheel speeds is ≤ the third preset value v3 and the wheel speed is > v1, and the difference between the vehicle center of mass speed obtained by the wheel speed calculation and the current vehicle speed is > the fourth preset value v4; the maintenance time is > the fourth preset time t4, and v4 should be greater than v3, indicating that the four wheel speeds of the vehicle are very close during driving, but the numerical differences between the current vehicle speed and the four wheel speeds are large, indicating that there may be a very large error in the vehicle speed at this time.

[0135] 1.2 The vehicle speed rises or falls and touches the rising or falling boundary for a period greater than the fifth preset time t5; this indicates that the vehicle speed rises or falls too quickly, indicating that there may be a very large error in the vehicle speed at this time. Vehicle speed rising boundary: the maximum value of the speed change during the acceleration process and the maximum value of the vehicle speed, that is, the vehicle speed during the acceleration process should be less than the maximum value of the vehicle speed, and the speed change should be less than the maximum value of the speed change. Vehicle speed falling boundary: the maximum value of the speed change during the deceleration process and the minimum value of the vehicle speed, that is, the vehicle speed during the deceleration process should be greater than the minimum value of the vehicle speed, and the speed change should be less than the maximum value of the speed change.

[0136] 1.3 Acceleration sensor signal failure.

[0137] 2. Based on the above results, determine whether the vehicle speed estimation is valid. When the vehicle speed is valid, update the vehicle speed and set the speed valid flag to 1. When the vehicle speed is invalid, the vehicle speed uses the valid value of the wheel speed at the previous moment until the vehicle speed is valid, and then update it, and the speed valid flag is set to 0.

[0138] In summary, compared with the prior art, the vehicle speed estimation method of the present application requires less input information during the vehicle speed estimation process, and can effectively avoid errors in vehicle speed estimation caused by errors in input information such as driving torque, driving resistance and vehicle weight. At the same time, the use of time-divided Kalman filter estimation reduces the cumulative error of the estimation and improves the efficiency and accuracy of vehicle speed estimation; the use of time-divided Kalman filter for vehicle speed estimation reduces the demand for CPU computing power, making the system cost lower, the software running speed faster, the efficiency higher, and the system more stable; the effectiveness of the vehicle speed estimation can be judged in real time, and self-identification and correction can be performed when estimation errors may occur.

[0139] The following is a specific example to illustrate the process of vehicle speed estimation of the present application. Figure 8 As shown, including:

[0140] 1. Wheel state judgment based on acceleration.

[0141] The acceleration threshold for judging the wheel state through acceleration, and the threshold parameters of speed, acceleration and time for exiting the wheel state judgment.

[0142] 2. Wheel status judgment based on wheel speed difference.

[0143] 3. Whether to use Kalman filtering to estimate vehicle speed.

[0144] 4. Kalman filter estimates vehicle speed or calculates vehicle speed.

[0145] Adds slope correction to vehicle speed estimation.

[0146] 5. Determine the vehicle speed status and update the vehicle speed and valid speed flag.

[0147] According to the vehicle speed estimation method proposed in the embodiment of the present application, the first state and the second state represent different states. The first state represents abnormal states such as wheel slippage and braking, and the second state represents that the vehicle is in a normal state. The vehicle speed can be calculated in different ways in combination with different states of the vehicle. When any wheel is in a normal state, the wheel speed can accurately represent the vehicle state, and therefore the vehicle speed can be estimated based on the wheel speed. When all wheels are in an abnormal state, the wheel speed in the abnormal state cannot accurately represent the current vehicle condition. Therefore, the vehicle speed at the current moment can be estimated based on the vehicle speed in the normal state at the historical moment before all wheels entered the abnormal state. On this basis, accurate estimation of the vehicle at the current moment can be achieved, thereby reducing the vehicle speed estimation error.

[0148] Next, the vehicle speed estimation device proposed according to the embodiment of the present application is described with reference to the accompanying drawings.

[0149] Fig. 9 is a block diagram of a vehicle speed estimation device according to an embodiment of the present application.

[0150] like Fig. 9 As shown, the vehicle speed estimation device 10 includes: an acquisition module 100 , a first estimation module 200 and a second estimation module 300 .

[0151] Among them, the acquisition module 100 is used to obtain the state of each wheel at the current moment, wherein the state includes a first state and a second state; the first estimation module 200 is used to obtain the speed of the vehicle at a historical moment before all wheels entered the second state if the state of all wheels is the first state, and estimate the speed of the vehicle at the current moment based on the speed of the vehicle at the historical moment; the second estimation module 300 is used to estimate the speed of the vehicle at the current moment based on the wheel speed of the wheel in the second state otherwise.

[0152] In the embodiment of the present application, the first estimation module 300 is further used to: input the speed of the vehicle at a historical moment into a first Kalman filter, and the first Kalman filter outputs the speed of the vehicle at a current moment.

[0153] In the embodiment of the present application, the calculation formula of the first Kalman filter is:

[0154]

[0155] Among them, vx is the longitudinal velocity of the vehicle, vy is the lateral velocity of the vehicle, ax is the longitudinal acceleration of the vehicle, ay is the lateral acceleration of the vehicle, sinθ is the sine of the longitudinal pitch angle, is the sine of the lateral roll angle, Δt is the time period, g is the gravity acceleration, γ is the yaw angular velocity, G is the process noise parameter matrix, w is the process noise, and V is the observation noise.

[0156] In the embodiment of the present application, the device 10 of the embodiment of the present application further includes: a correction module.

[0157] Among them, the correction module is used to obtain the slope of the current road section where the vehicle is located after estimating the current vehicle speed; and correct the current vehicle speed according to the slope.

[0158] In an embodiment of the present application, the correction module is further used to: obtain the average slope of the slope on which the vehicle is currently located; input the average slope into the second Kalman filter, and the second Kalman filter outputs the slope value of the current slope of the vehicle.

[0159] In the embodiment of the present application, the calculation formula of the second Kalman filter is:

[0160]

[0161] Among them, vx is the longitudinal velocity of the vehicle, ax is the longitudinal acceleration of the vehicle, sinθ is the sine of the longitudinal pitch angle, Δt is the time period, g is the acceleration of gravity, is the process noise parameter matrix, w is the process noise, and V is the observation noise.

[0162] In an embodiment of the present application, the acquisition module 100 is further used to: obtain the wheel speed of each wheel at the current moment; calculate the wheel end acceleration of each wheel according to the wheel speed of each wheel, and calculate the wheel speed difference between the wheel speed of each wheel and the wheel speed reference value; determine the wheel state of each wheel according to the wheel end acceleration and the wheel speed difference.

[0163] It should be noted that the above explanations of the vehicle speed estimation method embodiment are also applicable to the vehicle speed estimation device of this embodiment, and will not be repeated here.

[0164] According to the vehicle speed estimation device proposed in the embodiment of the present application, the first state and the second state represent different states. The first state represents abnormal states such as wheel slippage and braking, and the second state represents that the vehicle is in a normal state. The vehicle speed can be calculated in different ways in combination with different states of the vehicle. When any wheel is in a normal state, the wheel speed can accurately represent the vehicle state, and therefore the vehicle speed can be estimated based on the wheel speed. When all wheels are in an abnormal state, the wheel speed in the abnormal state cannot accurately represent the current vehicle condition. Therefore, the vehicle speed at the current moment can be estimated based on the vehicle speed in the normal state at the historical moment before all wheels entered the abnormal state. On this basis, accurate estimation of the vehicle at the current moment can be achieved, thereby reducing the error in vehicle speed estimation.

[0165] Fig.10 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:

[0166] A memory 1001 , a processor 1002 , and a computer program stored in the memory 1001 and executable on the processor 1002 .

[0167] When the processor 1002 executes the program, the vehicle speed estimation method provided in the above embodiment is implemented.

[0168] Furthermore, the vehicle also includes:

[0169] The communication interface 1003 is used for communication between the memory 1001 and the processor 1002 .

[0170] The memory 1001 is used to store computer programs that can be executed on the processor 1002 .

[0171] The memory 1001 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0172] If the memory 1001, the processor 1002 and the communication interface 1003 are implemented independently, the communication interface 1003, the memory 1001 and the processor 1002 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0173] Optionally, in a specific implementation, if the memory 1001, the processor 1002 and the communication interface 1003 are integrated on a chip, the memory 1001, the processor 1002 and the communication interface 1003 can communicate with each other through an internal interface.

[0174] The processor 1002 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0175] An embodiment of the present application also provides a computer-readable storage medium on which a computer program or instruction is stored. When the computer program or instruction is executed by a processor, the above vehicle speed estimation method is implemented.

[0176] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0177] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0178] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0179] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of multiple of the following technologies known in the art: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0180] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

Claims

1. A vehicle speed estimation method, characterized in that: The following steps are involved: Obtaining the state of each wheel at the current moment, wherein the state includes a first state and a second state; If the state of all wheels is the first state, then obtaining the speed of the vehicle at a historical moment before all wheels enter the second state, and estimating the speed of the vehicle at the current moment according to the speed of the vehicle at the historical moment; Otherwise, the vehicle speed at the current moment is estimated according to the wheel speed of the wheel in the second state.

2. The vehicle speed estimation method according to claim 1, characterized in that: The estimating the vehicle speed at the current moment according to the vehicle speed at the historical moment includes: The speed of the vehicle at the historical moment is input into a first Kalman filter, and the first Kalman filter outputs the speed of the vehicle at the current moment.

3. The vehicle speed estimation method according to claim 2, characterized in that: The calculation formula of the first Kalman filter is: Among them, vx is the longitudinal velocity of the vehicle, vy is the lateral velocity of the vehicle, αx is the longitudinal acceleration of the vehicle, ay is the lateral acceleration of the vehicle, sinθ is the sine of the longitudinal pitch angle, is the sine of the lateral roll angle, Δt is the time period, g is the gravity acceleration, γ is the yaw angular velocity, G is the process noise parameter matrix, w is the process noise, and V is the observation noise.

4. The vehicle speed estimation method according to claim 1, characterized in that: After estimating the vehicle's speed at the current moment, it also includes: Obtaining the slope of the road section where the vehicle is currently located; The current vehicle speed is corrected according to the slope.

5. The vehicle speed estimation method according to claim 4, characterized in that: The obtaining the slope of the road section where the vehicle is currently located comprises: Obtaining the average slope of the slope currently located by the vehicle; The average slope is input into a second Kalman filter, and the second Kalman filter outputs a slope value of the current slope of the vehicle.

6. The vehicle speed estimation method according to claim 5, characterized in that: The calculation formula of the second Kalman filter is: Among them, vx is the longitudinal velocity of the vehicle, ax is the longitudinal acceleration of the vehicle, sinθ is the sine of the longitudinal pitch angle, Δt is the time period, g is the acceleration of gravity, G is the process noise parameter matrix, w is the process noise, and V is the observation noise.

7. The vehicle speed estimation method according to claim 1, characterized in that: The obtaining of the state of each wheel at the current moment includes: Obtaining the wheel speed of each wheel at the current moment; Calculating the wheel end acceleration of each wheel according to the wheel speed of each wheel, and calculating the wheel speed difference between the wheel speed of each wheel and the wheel speed reference value; The wheel state of each wheel is determined according to the wheel end acceleration and the wheel speed difference.

8. A vehicle speed estimation device, characterized in that: include: An acquisition module, used to acquire the state of each wheel at a current moment, wherein the state includes a first state and a second state; A first estimation module, configured to obtain the vehicle speed at a historical moment before all wheels enter the second state if the state of all wheels is the first state, and estimate the vehicle speed at a current moment according to the vehicle speed at the historical moment; The second estimation module is used to estimate the vehicle speed at the current moment according to the wheel speed of the wheel in the second state.

9. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle speed estimation method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed by a processor, it is used to implement the vehicle speed estimation method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Method for estimating longitudinal speed of vehicle

    CN111845755A

  • Longitudinal vehicle speed estimation method and device

    CN112660143A

  • Vehicle speed calculation method and system for pure electric vehicle

    CN117962906A

  • Vehicle speed estimation method, system and equipment of non-all-wheel drive vehicle and medium

    CN118124592A

  • Motor vehicle e.g. four-wheel drive vehicle, longitudinal speed estimating method for e.g. wheel anti-blocking system, involves estimating speed of any non sliding wheels when wheels do not slide

    FR2922026A3

Cited By

  • Longitudinal vehicle speed estimation method, device, equipment and medium

    CN119261918A