Slope detection method, device and vehicle

By correcting the change in gravity acceleration and using parameters such as vehicle acceleration and angular velocity, combined with preset models and correspondence, the accuracy of slope detection is improved, and the problem of inaccurate slope detection results in the prior art is solved.

CN115503726BActive Publication Date: 2024-11-19SUOTE TRANSMISSION EQUIP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211268756.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-17
Publication Date
2024-11-19
Estimated Expiration
2042-10-17

AI Technical Summary

Technical Problem

The existing slope detection methods cannot guarantee the accuracy of slope detection results, mainly because of the high requirements for the accuracy of key parameters of the vehicle, resulting in a great impact on the detection results.

Method used

By determining the first slope value of the vehicle's driving road at the current moment, correcting based on the change of gravity acceleration, combining the vehicle's acceleration and angular velocity, the target slope value is determined using a preset model and corresponding relationship, thereby improving the accuracy of slope detection.

Benefits of technology

The influence of parameter values ​​on slope detection results is effectively avoided, the accuracy and efficiency of slope detection results are improved, and the impact of inaccuracy of the number of parameters on detection results is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115503726B_ABST
    Figure CN115503726B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of vehicles, and provides a slope detection method, device and vehicle, the method comprising: determining a first slope value of a driving road of a vehicle at the current moment; determining a change amount of the gravity acceleration in the direction of the driving road based on a first component of the gravity acceleration in the direction of the driving road under the first slope value, and a second component of the gravity acceleration in the direction of the driving road under a slope detection value at a previous moment on the driving road; determining a change rate threshold of the gravity acceleration in the direction of the driving road, and if the change amount does not meet the change rate threshold, correcting the first slope value based on the change rate threshold to obtain a correction result of the first slope value; determining a target slope value based on the first slope value or the correction result of the first slope value, and determining a slope detection value of the driving road at the current moment based on the target slope value. The present invention can effectively improve the accuracy of the slope detection result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a slope detection method, device and vehicle. Background Art

[0002] Slope, as an important component of vehicle driving state parameters, is of great significance to vehicle driving safety, especially for commercial vehicles such as construction machinery, which need to work in an environment with a large slope. The accuracy of slope detection results is particularly important for vehicle safety control.

[0003] The existing slope detection method usually obtains the values ​​of various parameters of the vehicle at the current moment through the vehicle's CAN bus, and estimates the longitudinal slope of the road based on the longitudinal dynamics model of the vehicle using methods such as model parameter identification and Kalman filtering. However, this method requires detailed determination of key parameters such as the entire vehicle, and the accuracy of the parameter values ​​has a significant impact on the slope detection results, thus failing to guarantee the accuracy of the slope detection results. Summary of the invention

[0004] The present invention provides a slope detection method, device and vehicle, which are used to solve the defect that the accuracy of the slope detection result cannot be guaranteed in the prior art, and effectively improve the accuracy of the slope detection result.

[0005] The present invention provides a slope detection method, comprising:

[0006] Determine a first slope value of a road on which the vehicle is traveling at a current moment;

[0007] determining a change amount of the gravity acceleration in the direction of the driving road based on a first component of the gravity acceleration in the direction of the driving road at the first slope value and a second component of the gravity acceleration in the direction of the driving road at a slope detection value at a previous moment on the driving road;

[0008] determining a change rate threshold of the gravity acceleration in the direction of the driving road, and if the change does not meet the change rate threshold, correcting the first slope value based on the change rate threshold to obtain a correction result of the first slope value;

[0009] A target gradient value is determined based on the first gradient value or a correction result of the first gradient value, and a gradient detection value of the traveling road at a current moment is determined based on the target gradient value.

[0010] According to the slope detection method provided by the present invention, the step of determining a first slope value of a road on which the vehicle is traveling at the current moment includes:

[0011] Determining a second slope value of the driving road based on a current acceleration detection value of the vehicle, a current actual acceleration value, and a preset slope estimation model; wherein the current actual acceleration value is determined based on a driving speed of the vehicle;

[0012] determining a third slope value of the driving road based on an integration result of the angular velocity of the vehicle from the previous moment to the current moment and the slope detection value at the previous moment;

[0013] The first slope value is determined based on the second slope value and the third slope value.

[0014] According to the slope detection method provided by the present invention, the step of determining the threshold value of the rate of change of the gravity acceleration in the direction of the driving road comprises:

[0015] The change rate threshold of the gravitational acceleration in the direction of the driving road is determined based on the current driving speed of the vehicle and the slope detection value at the last moment.

[0016] According to the slope detection method provided by the present invention, determining the change rate threshold of the gravity acceleration in the direction of the driving road based on the current driving speed of the vehicle and the slope detection value at the previous moment includes:

[0017] Based on a preset first corresponding relationship, the current driving speed and the slope detection value at the previous moment, a change rate threshold corresponding to the current driving speed and the slope detection value at the previous moment is determined as the change rate threshold of the gravity acceleration in the direction of the driving road; wherein the first corresponding relationship is used to characterize the correspondence between the current driving speed, the slope detection value at the previous moment and the change rate threshold.

[0018] According to the slope detection method provided by the present invention, determining the slope detection value of the driving road at the current moment based on the target slope value includes:

[0019] Determining a weight coefficient of the target slope value based on the current driving speed of the vehicle and the slope detection value at the previous moment;

[0020] The target slope value and the slope detection value at the previous moment are weighted and summed based on the weight coefficient to obtain the slope detection value of the driving road at the current moment.

[0021] According to the slope detection method provided by the present invention, the weight coefficient of the target slope value is determined based on the current driving speed of the vehicle and the slope detection value at the previous moment, including:

[0022] Based on a preset second corresponding relationship, the current driving speed and the slope detection value at the previous moment, the weight coefficient corresponding to the current driving speed and the slope detection value at the previous moment is determined as the weight coefficient of the target slope value; wherein the second corresponding relationship is used to characterize the corresponding relationship between the current driving speed, the slope detection value at the previous moment and the weight coefficient.

[0023] The present invention also provides a slope detection device, comprising:

[0024] A first calculation module, used to determine a first slope value of a driving road of the vehicle at a current moment;

[0025] a second calculation module, configured to determine a change amount of the gravity acceleration in the direction of the driving road based on a first component of the gravity acceleration in the direction of the driving road at the first slope value and a second component of the gravity acceleration in the direction of the driving road at a slope detection value at a previous moment on the driving road;

[0026] a third calculation module, configured to determine a change rate threshold of the gravity acceleration in the direction of the driving road, and if the change does not meet the change rate threshold, correct the first slope value based on the change rate threshold to obtain a correction result of the first slope value;

[0027] A fourth calculation module is used to determine a target slope value based on the first slope value or a correction result of the first slope value, and to determine a slope detection value of the driving road at a current moment based on the target slope value.

[0028] The present invention also provides a vehicle, comprising the slope detection device as described above.

[0029] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the slope detection method as described above is implemented.

[0030] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the slope detection method as described in any one of the above is implemented.

[0031] The slope detection method, device and vehicle provided by the present invention determine the first slope value of the vehicle's driving road at the current moment, determine the change of gravity acceleration in the direction of the driving road based on the first component of gravity acceleration in the direction of the driving road under the first slope value, and the second component of gravity acceleration in the direction of the driving road under the slope detection value at a previous moment on the driving road, if the change does not meet the change rate threshold, correct the first slope value based on the change rate threshold to obtain the correction result of the first slope value, and determine the target slope value based on the first slope value or the correction result of the first slope value, and determine the slope detection value of the driving road at the current moment based on the target slope value, which can effectively avoid the influence of the accuracy of the parameter value on the slope detection result, and improve the accuracy of the slope detection result. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0033] Figure 1 It is a schematic flow chart of the slope detection method provided by the present invention;

[0034] Figure 2 It is a schematic diagram of a process for determining a first slope value of a driving road of a vehicle at a current moment provided by the present invention;

[0035] Figure 3 It is a schematic diagram of a flow chart of determining a slope detection value of a driving road at a current moment based on a target slope value provided by the present invention;

[0036] Figure 4 It is a structural schematic diagram of the slope detection device provided by the present invention;

[0037] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] Combine the following Figures 1 to 3The slope detection method of the present invention is described. The slope detection method of the present invention is executed by an electronic device such as a controller or the hardware and / or software therein. The controller can be set on the vehicle or on a remote application end. When the controller is set on the vehicle, the vehicle's own controller can be used, such as a vehicle controller. Figure 1 As shown, the slope detection method of the present invention includes:

[0040] S101. Determine a first slope value of a road on which a vehicle is traveling at a current moment.

[0041] Specifically, the first slope value of the road on which the vehicle is traveling at the current moment is an estimated value of the slope at the location of the vehicle at the current moment during the vehicle's driving process. The specific method for determining the first slope value of the road on which the vehicle is traveling at the current moment can be set according to actual needs. For example, the first slope value can be calculated based on the value of the vehicle's driving parameter at the current moment and / or the value of the vehicle's driving parameter in the time period corresponding to the previous moment to the current moment.

[0042] S102. Determine a change in the direction of the driving road based on a first component of the gravity acceleration in the direction of the driving road at the first slope value and a second component of the gravity acceleration in the direction of the driving road at the slope detection value at a previous moment on the driving road.

[0043] Specifically, the first component of the gravitational acceleration in the direction of the driving road under the first slope value, that is, when the slope of the driving road is the first slope value, is decomposed in the direction of the driving road and in the vertical direction of the driving road, and based on the decomposition result, the value of the gravitational acceleration in the direction of the driving road is taken as the first component.

[0044] The second component of the gravity acceleration in the direction of the driving road under the slope detection value of the driving road at the previous moment, that is, when the slope of the driving road is the slope detection value of the previous moment, the gravity acceleration in the direction of the driving road and the vertical direction of the driving road are decomposed, and according to the decomposition result, the value of the gravity acceleration in the direction of the driving road is taken as the second component. It can be understood that if the current moment is the initial moment, the slope detection value of the previous moment is assumed to be 0 degrees.

[0045] The direction of the traveling road is the direction of the slope of the traveling road at the current position of the vehicle. The vertical direction of the traveling road is the direction perpendicular to the road surface at the current position of the vehicle.

[0046] After the first component and the second component are determined, the first component and the second component may be differentiated to obtain a change in the gravitational acceleration in the direction of the driving road.

[0047] S103, determining a threshold value of the rate of change of the gravity acceleration in the direction of the driving road, and if the change does not meet the rate of change threshold, correcting the first slope value based on the rate of change threshold to obtain a correction result of the first slope value.

[0048] Specifically, the threshold value of the rate of change of gravity acceleration in the direction of the driving road includes an upper limit value and a lower limit value of the rate of change of gravity acceleration in the direction of the driving road. The specific method of determining the threshold value of the rate of change of gravity acceleration in the direction of the driving road can be set according to actual needs. For example, the threshold value of the rate of change of gravity acceleration in the direction of the driving road can be determined by table lookup or calculation based on part or all of the data of the vehicle's driving speed, acceleration, angular velocity change at the current moment, and the slope detection value at the previous moment.

[0049] After determining the change rate threshold, it can be determined whether the change in the gravity acceleration in the direction of the driving road meets the change rate threshold. For example, the time difference between the current moment and the previous moment can be calculated, and the ratio of the change in the gravity acceleration in the direction of the driving road to the time difference can be calculated, and the ratio is compared with the change rate threshold. If the ratio is within the range determined by the change rate threshold, the change in the gravity acceleration in the direction of the driving road meets the change rate threshold; otherwise, it does not meet the change rate threshold.

[0050] If the amount of change of gravity acceleration in the direction of the driving road does not meet the change rate threshold, the first slope threshold is corrected based on the change rate threshold to obtain the correction result of the first slope value. For example, the value range of the slope value of the driving road of the vehicle at the current moment can be determined if the change rate threshold is met, and the correction result of the first slope value is determined based on the value range of the slope value. As an optional implementation, based on the comparison result of the ratio and the change rate threshold, if the ratio is greater than the upper limit value in the change rate threshold, the slope value corresponding to the upper limit value is used as the correction result of the first slope value, and if the ratio is less than the lower limit value in the change rate threshold, the slope value corresponding to the lower limit value is used as the correction result of the first slope value, so as to ensure that the correction result of the first slope value is within the effective range.

[0051] If the change in gravity acceleration in the direction of the driving road satisfies the change rate threshold, it indicates that the first slope value is within a valid range, and there is no need to correct the first slope value based on the change rate threshold.

[0052] S104: Determine a target slope value based on the first slope value or a correction result of the first slope value, and determine a slope detection value of the driving road at a current moment based on the target slope value.

[0053] Specifically, the target slope value can be one of the first slope value and the correction value of the first slope value. For example, if the change in the gravity acceleration in the direction of the driving road satisfies the change rate threshold, the first slope value is used as the target slope value; otherwise, the correction result of the first slope value is used as the target slope value.

[0054] After the target slope value is determined, the slope detection value of the driving road at the current moment can be determined based on the target slope value. For example, the target slope value can be directly used as the slope detection value at the current moment, or the target slope value can be processed as the slope detection value at the current moment, for example, by filtering, so as to effectively improve the accuracy of the slope detection value at the current moment.

[0055] The existing slope detection method usually obtains the values ​​of various parameters of the vehicle at the current moment through the vehicle's CAN bus, and estimates the longitudinal slope of the road based on the longitudinal dynamics model of the vehicle using methods such as model parameter identification and Kalman filtering. However, this method requires detailed determination of key parameters such as the entire vehicle, and the accuracy of the parameter values ​​has a significant impact on the slope detection results, thus failing to guarantee the accuracy of the slope detection results.

[0056] The embodiment of the present invention determines a first slope value of a driving road of a vehicle at a current moment, determines a change in the direction of the driving road based on a first component of the gravitational acceleration in the direction of the driving road at the first slope value, and a second component of the gravitational acceleration in the direction of the driving road at a slope detection value at a previous moment on the driving road; if the change does not satisfy a change rate threshold, the first slope value is corrected based on the change rate threshold to obtain a correction result of the first slope value; and a target slope value is determined based on the first slope value or the correction result of the first slope value; and the slope detection value of the driving road at the current moment is determined based on the target slope value, which can effectively avoid the influence of the accuracy of the parameter value on the slope detection result, thereby improving the accuracy of the slope detection result.

[0057] Based on the above embodiments, Figure 2 As shown, the determining of the first slope value of the road on which the vehicle is traveling at the current moment includes:

[0058] S201. Determine a second slope value of the driving road based on a current acceleration detection value of the vehicle, a current actual acceleration value, and a preset slope estimation model; wherein the current actual acceleration value is determined based on a driving speed of the vehicle.

[0059] S202. Determine a third slope value of the driving road based on an integration result of the angular velocity of the vehicle from the previous moment to the current moment and a slope detection value at the previous moment.

[0060] S203: Determine the first slope value based on the second slope value and the third slope value.

[0061] Specifically, the order of step S201 and step S202 is not specifically limited here. Step S201 can be executed first and then step S202, or step S202 can be executed first and then step S201, or step S201 and step S202 can be executed simultaneously.

[0062] The current acceleration detection value of the vehicle, that is, the acceleration detection value of the vehicle at the current moment, can be acquired by, for example, an acceleration sensor built into a TCU (Transmission Control Unit, automatic transmission control unit).

[0063] The current actual value of the vehicle's acceleration, i.e., the actual value of the vehicle's acceleration at the current moment, can be, for example, the differential value of the vehicle's driving speed at the current moment as the current actual value of the vehicle's acceleration. The vehicle's driving speed can be determined by the wheel speed collected by the wheel speed sensor.

[0064] The preset slope estimation model is used to characterize the correspondence between the current acceleration detection value, the current actual acceleration value and the slope. By inputting the current acceleration detection value and the current actual acceleration value into the preset slope estimation model, the slope value corresponding to the current acceleration detection value and the current actual acceleration value can be obtained as the second slope value of the driving road. The slope estimation model can be: ax_sensor = a_veh + gsinθ, where ax_sensor and a_veh are the current acceleration detection value and the current actual acceleration value, respectively; g is the gravitational acceleration, and θ is the slope.

[0065] The angular velocity of the vehicle, i.e. the speed of change of the angle between the vehicle and the horizontal direction, can be acquired by the angular velocity sensor built into the TCU. Based on the integral result of the angular velocity of the vehicle from the last moment to the current moment, the change of the angle between the vehicle and the horizontal direction from the last moment to the current moment can be obtained. The change of the angle is summed with the slope detection value at the last moment to obtain the third slope value of the driving road.

[0066] After obtaining the second slope value and the third slope value, the first slope value may be determined based on the second slope value and the third slope value. For example, the second slope value and the third slope value may be averaged to obtain the first slope value, or the second slope value and the third slope value may be weighted and summed, and the weighted sum of the second slope value and the third slope value may be used as the first slope value. As an optional implementation, the specific implementation method of determining the first slope value based on the second slope value and the third slope value may include:

[0067] Determine a weighting coefficient for weighted summing of the second slope value and the third slope value; for example, based on the correspondence between the operating condition and the weighting coefficient, determine the weighting coefficient corresponding to the current operating condition and use it as the weighting coefficient for weighted summing of the second slope value and the third slope value.

[0068] The second slope value and the third slope value are weighted and summed based on the weighting coefficient to obtain the first slope value; for example, θ1=λθ2+(1-λ)θ3, wherein θ1, θ2 and θ3 are the first slope value, the second slope value and the third slope value respectively, λ is the weighting coefficient, 0≤λ≤1.

[0069] It can be understood that, for the original acceleration signal collected by the acceleration sensor built into the TCU, and the original angular velocity signal collected by the angular velocity sensor built into the TCU, corresponding signal processing can be performed first, for example, low-pass filtering processing, zero drift correction processing, and the second slope value is determined based on the acceleration signal after signal processing, and the third slope value is determined based on the angular velocity signal after signal processing, so as to avoid the influence of environmental factors, sensor's own errors and TCU installation position on the accuracy of the data collected by the acceleration sensor and the angular velocity sensor, thereby improving the accuracy of the determination results of the second slope value and the third slope value.

[0070] The embodiment of the present invention determines a second slope value of the driving road based on the vehicle's current acceleration detection value, current actual acceleration value and a preset slope estimation model, and determines a third slope value of the driving road based on an integral result of the vehicle's angular velocity from the previous moment to the current moment and the slope detection value at the previous moment, so as to determine the first slope value based on the second slope value and the third slope value. This can effectively reduce the influence of the inaccuracy of the vehicle's current acceleration detection value, current actual acceleration value and angular velocity of the vehicle on the accuracy of the first slope value, and effectively improve the accuracy of the determination result of the first slope value, thereby improving the accuracy of the slope detection value at the current moment. Since there is no need to correct the first slope value by a change rate threshold when the first slope value is within a valid range, the efficiency of slope detection is improved.

[0071] At the same time, in the process of determining the first slope value of the embodiment of the present invention, it is only necessary to detect the acceleration, angular velocity and driving speed of the vehicle. Compared with the traditional method of estimating the longitudinal slope of the road based on the longitudinal dynamics model of the vehicle, the number of parameters used is effectively reduced, thereby reducing the risk of the inaccurate parameters affecting the slope detection results, thereby achieving further improvement in the accuracy of the slope detection results.

[0072] Based on any of the above embodiments, determining the threshold value of the rate of change of the gravity acceleration in the direction of the driving road includes:

[0073] The change rate threshold of the gravitational acceleration in the direction of the driving road is determined based on the current driving speed of the vehicle and the slope detection value at the last moment.

[0074] Specifically, the current driving speed of the vehicle is the driving speed of the vehicle at the current moment. The specific method of determining the threshold value of the rate of change of the gravity acceleration in the direction of the driving road based on the current driving speed of the vehicle and the slope detection value at the previous moment can be set according to actual needs. For example, the current driving speed of the vehicle and the slope detection value at the previous moment can be matched based on the preset first corresponding relationship to obtain the threshold value of the rate of change corresponding to the current driving speed of the vehicle and the slope detection value at the previous moment. The threshold value of the rate of change of the gravity acceleration in the direction of the driving road can also be calculated based on the current driving speed and the slope detection value at the previous moment.

[0075] The embodiment of the present invention determines the change rate threshold of gravity acceleration in the direction of the driving road based on the current driving speed of the vehicle and the slope detection value at the previous moment, so that the change rate threshold can change with the driving speed of the vehicle and the slope detection value at the previous moment, thereby ensuring the validity of the determination result of the change rate threshold and further improving the accuracy of the slope detection value.

[0076] Based on any of the above embodiments, determining the threshold value of the rate of change of the gravity acceleration in the direction of the driving road based on the current driving speed of the vehicle and the slope detection value at the previous moment includes:

[0077] Based on a preset first corresponding relationship, the current driving speed and the slope detection value at the previous moment, a change rate threshold corresponding to the current driving speed and the slope detection value at the previous moment is determined as the change rate threshold of the gravity acceleration in the direction of the driving road; wherein the first corresponding relationship is used to characterize the correspondence between the current driving speed, the slope detection value at the previous moment and the change rate threshold.

[0078] Specifically, the first corresponding relationship is used to characterize the corresponding relationship between the current driving speed, the slope detection value at the previous moment, and the change rate threshold. The first corresponding relationship can be determined in advance through testing and stored in the form of a mapping table or a curve chart, so that the first corresponding relationship can be called at any time when determining the change rate threshold of the gravity acceleration in the direction of the driving road, without the need for related calculations, which greatly improves the slope detection efficiency and ensures the real-time nature of the slope detection results. Furthermore, the vehicle can be controlled in real time according to the slope detection results, thereby improving the vehicle's response speed to changes in the slope of the driving road.

[0079] Based on any of the above embodiments, Figure 3As shown, the step of determining the slope detection value of the driving road at the current moment based on the target slope value includes:

[0080] S301. Determine a weight coefficient of the target slope value based on the current driving speed of the vehicle and the slope detection value at the previous moment.

[0081] S302. Perform weighted summation of the target slope value and the slope detection value at the previous moment based on the weight coefficient to obtain the slope detection value of the driving road at the current moment.

[0082] Specifically, the weight coefficient of the target slope value is used to characterize the proportion of the target slope value when the target slope value and the slope detection value at the last moment are weighted and summed. The specific method of determining the weight coefficient of the target slope value based on the current driving speed of the vehicle and the slope detection value at the last moment can be set according to actual needs. For example, the current driving speed of the vehicle and the slope detection value at the last moment can be matched based on the preset second corresponding relationship to obtain the weight coefficient corresponding to the current driving speed of the vehicle and the slope detection value at the last moment. The weight coefficient of the target slope value can also be calculated based on the current driving speed and the slope detection value at the last moment. By determining the weight coefficient of the target slope value based on the current driving speed of the vehicle and the slope detection value at the last moment, the weight coefficient of the target slope value can be changed with the driving speed of the vehicle and the slope detection value at the last moment, so as to ensure the validity of the determination result of the weight coefficient of the target slope value, thereby improving the accuracy of the slope detection value.

[0083] After determining the weight coefficient of the target slope value, the target slope value and the slope detection value at the previous moment are weighted and summed based on the weight coefficient of the target slope value to obtain the slope detection value of the driving road at the current moment. 当前 =Kθ 目标 +(1-K)θ 上一时刻 , where θ 当前 ,θ 上一时刻 and θ 目标 are the slope detection value at the current moment, the slope detection value at the previous moment, and the target slope value, respectively. K is the weight coefficient of the target slope value, 0≤K≤1. By weighted summing the target slope value and the slope detection value at the previous moment, the fluctuation range of the slope detection value of the driving road can be effectively reduced, and the accuracy of the slope detection value at the current moment can be further improved.

[0084] Based on any of the above embodiments, determining the weight coefficient of the target slope value based on the current driving speed of the vehicle and the slope detection value at the previous moment includes:

[0085] Based on a preset second corresponding relationship, the current driving speed and the slope detection value at the previous moment, the weight coefficient corresponding to the current driving speed and the slope detection value at the previous moment is determined as the weight coefficient of the target slope value; wherein the second corresponding relationship is used to characterize the corresponding relationship between the current driving speed, the slope detection value at the previous moment and the weight coefficient.

[0086] Specifically, the second corresponding relationship is used to characterize the corresponding relationship between the current driving speed, the slope detection value at the previous moment and the weight coefficient. The second corresponding relationship can be determined in advance through testing and stored in the form of a mapping table or a curve chart, so that the second corresponding relationship can be called at any time when determining the weight coefficient of the target slope value without performing related calculations, which greatly improves the slope detection efficiency and ensures the real-time nature of the slope detection results. The vehicle can then be controlled in real time based on the slope detection results, thereby improving the vehicle's response speed to changes in the slope of the road.

[0087] The slope detection device provided by the present invention is described below. The slope detection device described below and the slope detection method described above can be referred to in correspondence with each other. Figure 4 As shown, the slope detection device of the present invention comprises:

[0088] A first calculation module 401 is used to determine a first slope value of a driving road of the vehicle at a current moment;

[0089] A second calculation module 402 is used to determine a change amount of the gravity acceleration in the direction of the driving road based on a first component of the gravity acceleration in the direction of the driving road at the first slope value and a second component of the gravity acceleration in the direction of the driving road at a slope detection value at a previous moment on the driving road;

[0090] A third calculation module 403 is used to determine a change rate threshold of the gravity acceleration in the direction of the driving road, and if the change does not meet the change rate threshold, correct the first slope value based on the change rate threshold to obtain a correction result of the first slope value;

[0091] The fourth calculation module 404 is used to determine a target slope value based on the first slope value or a correction result of the first slope value, and to determine a slope detection value of the driving road at a current moment based on the target slope value.

[0092] Based on the above embodiment, the first calculation module 401 is specifically used for:

[0093] Determining a second slope value of the driving road based on a current acceleration detection value of the vehicle, a current actual acceleration value, and a preset slope estimation model; wherein the current actual acceleration value is determined based on a driving speed of the vehicle;

[0094] determining a third slope value of the driving road based on an integration result of the angular velocity of the vehicle from the previous moment to the current moment and the slope detection value at the previous moment;

[0095] The first slope value is determined based on the second slope value and the third slope value.

[0096] Based on any of the above embodiments, the third calculation module 403 is specifically used for:

[0097] The change rate threshold of the gravitational acceleration in the direction of the driving road is determined based on the current driving speed of the vehicle and the slope detection value at the last moment.

[0098] Based on any of the above embodiments, the third calculation module 403 is specifically used for:

[0099] Based on a preset first corresponding relationship, the current driving speed and the slope detection value at the previous moment, a change rate threshold corresponding to the current driving speed and the slope detection value at the previous moment is determined as the change rate threshold of the gravity acceleration in the direction of the driving road; wherein the first corresponding relationship is used to characterize the correspondence between the current driving speed, the slope detection value at the previous moment and the change rate threshold.

[0100] Based on any of the above embodiments, the fourth calculation module 404 is specifically used for:

[0101] Determining a weight coefficient of the target slope value based on the current driving speed of the vehicle and the slope detection value at the previous moment;

[0102] The target slope value and the slope detection value at the previous moment are weighted and summed based on the weight coefficient to obtain the slope detection value of the driving road at the current moment.

[0103] Based on any of the above embodiments, the fourth calculation module 404 is specifically used for:

[0104] Based on a preset second corresponding relationship, the current driving speed and the slope detection value at the previous moment, the weight coefficient corresponding to the current driving speed and the slope detection value at the previous moment is determined as the weight coefficient of the target slope value; wherein the second corresponding relationship is used to characterize the corresponding relationship between the current driving speed, the slope detection value at the previous moment and the weight coefficient.

[0105] An embodiment of the present invention further provides a vehicle, comprising the slope detection device as described in any of the above embodiments.

[0106] Specifically, the vehicle is such as a commercial vehicle, a passenger car, etc., and the commercial vehicle is such as a construction machine, for example, an excavator, a crane, and a loader.

[0107] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502 and the memory 503 communicate with each other via the communication bus 504. The processor 501 may call the logic instructions in the memory 503 to execute the slope detection method, which includes: determining a first slope value of a driving road of the vehicle at the current moment;

[0108] determining a change amount of the gravity acceleration in the direction of the driving road based on a first component of the gravity acceleration in the direction of the driving road at the first slope value and a second component of the gravity acceleration in the direction of the driving road at a slope detection value at a previous moment on the driving road;

[0109] determining a change rate threshold of the gravity acceleration in the direction of the driving road, and if the change does not meet the change rate threshold, correcting the first slope value based on the change rate threshold to obtain a correction result of the first slope value;

[0110] A target gradient value is determined based on the first gradient value or a correction result of the first gradient value, and a gradient detection value of the traveling road at a current moment is determined based on the target gradient value.

[0111] In addition, the logic instructions in the above-mentioned memory 503 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0112] On the other hand, the present invention further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer can execute the slope detection method provided by the above methods, the method comprising: determining a first slope value of a driving road of a vehicle at a current moment;

[0113] determining a change amount of the gravity acceleration in the direction of the driving road based on a first component of the gravity acceleration in the direction of the driving road at the first slope value and a second component of the gravity acceleration in the direction of the driving road at a slope detection value at a previous moment on the driving road;

[0114] determining a change rate threshold of the gravity acceleration in the direction of the driving road, and if the change does not meet the change rate threshold, correcting the first slope value based on the change rate threshold to obtain a correction result of the first slope value;

[0115] A target gradient value is determined based on the first gradient value or a correction result of the first gradient value, and a gradient detection value of the traveling road at a current moment is determined based on the target gradient value.

[0116] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, the computer program being implemented when executed by a processor to perform the above-mentioned slope detection method, the method comprising: determining a first slope value of a driving road of a vehicle at a current moment;

[0117] determining a change amount of the gravity acceleration in the direction of the driving road based on a first component of the gravity acceleration in the direction of the driving road at the first slope value and a second component of the gravity acceleration in the direction of the driving road at a slope detection value at a previous moment on the driving road;

[0118] determining a change rate threshold of the gravity acceleration in the direction of the driving road, and if the change does not meet the change rate threshold, correcting the first slope value based on the change rate threshold to obtain a correction result of the first slope value;

[0119] A target gradient value is determined based on the first gradient value or a correction result of the first gradient value, and a gradient detection value of the traveling road at a current moment is determined based on the target gradient value.

[0120] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0121] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0122] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A slope detection method, It is characterized in that include: Determine a first slope value of a road on which the vehicle is traveling at a current moment; determining a change amount of the gravity acceleration in the direction of the driving road based on a first component of the gravity acceleration in the direction of the driving road at the first slope value and a second component of the gravity acceleration in the direction of the driving road at the slope detection value of the driving road at a previous moment; determining a change rate threshold of the gravity acceleration in the direction of the driving road, and if the change does not meet the change rate threshold, correcting the first slope value based on the change rate threshold to obtain a correction result of the first slope value; determining a target slope value based on the first slope value or a correction result of the first slope value, and determining a slope detection value of the driving road at a current moment based on the target slope value; The determining of a threshold value of a rate of change of the gravity acceleration in the direction of the driving road comprises: Based on a preset first corresponding relationship, the current driving speed and the slope detection value at the previous moment, a change rate threshold corresponding to the current driving speed and the slope detection value at the previous moment is determined as the change rate threshold of the gravity acceleration in the direction of the driving road; wherein the first corresponding relationship is used to characterize the correspondence between the current driving speed, the slope detection value at the previous moment and the change rate threshold.

2. The slope detection method according to claim 1, It is characterized in that The step of determining a first slope value of a road on which the vehicle is traveling at a current moment includes: Determining a second slope value of the driving road based on a current acceleration detection value of the vehicle, a current actual acceleration value, and a preset slope estimation model; wherein the current actual acceleration value is determined based on a driving speed of the vehicle; determining a third slope value of the driving road based on an integration result of the angular velocity of the vehicle from the previous moment to the current moment and the slope detection value at the previous moment; The first slope value is determined based on the second slope value and the third slope value.

3. The slope detection method according to claim 1 or 2, It is characterized in that The step of determining the slope detection value of the driving road at the current moment based on the target slope value includes: Determining a weight coefficient of the target slope value based on the current driving speed of the vehicle and the slope detection value at the previous moment; The target slope value and the slope detection value at the previous moment are weighted and summed based on the weight coefficient to obtain the slope detection value of the driving road at the current moment.

4. The slope detection method according to claim 3, It is characterized in that The step of determining the weight coefficient of the target slope value based on the current driving speed of the vehicle and the slope detection value at the previous moment includes: Based on a preset second corresponding relationship, the current driving speed and the slope detection value at the previous moment, the weight coefficient corresponding to the current driving speed and the slope detection value at the previous moment is determined as the weight coefficient of the target slope value; wherein the second corresponding relationship is used to characterize the corresponding relationship between the current driving speed, the slope detection value at the previous moment and the weight coefficient.

5. A slope detection device, It is characterized in that The method for implementing the slope detection method according to claim 1 comprises: A first calculation module, used to determine a first slope value of a driving road of the vehicle at a current moment; a second calculation module, configured to determine a change amount of the gravity acceleration in the direction of the driving road based on a first component of the gravity acceleration in the direction of the driving road at the first slope value and a second component of the gravity acceleration in the direction of the driving road at a slope detection value of the driving road at a previous moment; a third calculation module, configured to determine a change rate threshold of the gravity acceleration in the direction of the driving road, and if the change does not meet the change rate threshold, correct the first slope value based on the change rate threshold to obtain a correction result of the first slope value; A fourth calculation module is used to determine a target slope value based on the first slope value or a correction result of the first slope value, and to determine a slope detection value of the driving road at a current moment based on the target slope value.

6. A vehicle, It is characterized in that include: The slope detection device as claimed in claim 5.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the slope detection method according to any one of claims 1 to 4 is implemented.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the slope detection method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Road grade estimation method and device, terminal equipment and computer readable storage medium

    CN107933564A

  • Slope estimation method and device, electronic equipment and storage medium

    CN113792265A